~ubuntu-dev/ubuntu/lucid/dovecot/lucid-201002101901

« back to all changes in this revision

Viewing changes to libsieve/configure

  • Committer: Chuck Short
  • Date: 2010-01-21 20:21:25 UTC
  • mfrom: (4.1.11 squeeze)
  • Revision ID: zulcss@ubuntu.com-20100121202125-pme73o491kfwj5nc
* Merge from debian testing, remaining changes:
  + Add new binary pkg dovecot-postfix that integrates postfix and dovecot
    automatically: (LP: #164837)
  + debian/control:
    - add new binary with short description
    - set Architecture all for dovecot-postfix (LP: #329878)
  + debian/dovecot-postfix.postinst:
    - create initial certificate symlinks to snakeoil.
    - set up postfix with postconf to:
      - use Maildir/ as the default mailbox.
      - use dovecot as the sasl authentication server.
      - use dovecot LDA (deliver).
      - use tls for smtp{d} services.
    - fix certificates paths in postfix' main.cf
    - add reject_unauth_destination to postfix' recipient restrictions
    - add reject_unknown_sender_domain to postfix' sender restriction
    - rename configuration name on remove, delete on purge
    - restart dovecot after linking certificates
    - handle use case when postfix is unconfigurated
  + debian/dovecot-postfix.dirs: create backup directory for postfix's config
    configuration
  + restart postfix and dovecot.
  + debian/dovecot-postfix.postrm:
    - remove all dovecot related configuration from postfix.
    - restart postfix and dovecot.
  + debian/dovecot-common.init:
    - check if /etc/dovecot/dovecot-postfix.conf exists and use it
      as the configuration file if so.
  + debian/patches/warning-ubuntu-postfix.dpatch
    - add warning about dovecot-postfix.conf in dovecot default
      configuration file
  + debian/patches/dovecot-postfix.conf.diff:
    - Ubuntu server custom changes to the default dovecot configuration for
      better interfation with postfix.
    - enable sieve plugin.
    - Ubuntu server custom changes to the default dovecot configuration for
      better integration with postfix:
      - enable imap, pop3, imaps, pop3s and managesieve by default.
      - enable dovecot LDA (deliver).
      - enable SASL auth socket in postfix private directory
   + debian/rules:
     - copy, patch and install dovecot-postfix.conf in /etc/dovecot/.
     - build architecure independent packages too
   + Use Snakeoil SSL certificates by default.
     - debian/control: Depend on ssl-cert.
     - debian/patches/ssl-cert-snakeoil.dpatch: Change default SSL cert
       paths to snakeoil.
     - debian/dovecot-common.postinst: Relax grep for SSL_* a bit.
   + Add autopkgtest to debian/tests/*.
   + Fast TearDown: Update the lsb init header to not stop in level 6.
   + Add ufw integration:
     - Created debian/dovecot-common.ufw.profile.
     - debian/rules: install profile.
     - debian/control: suggest ufw.
   + debian/{control,rules}: enable PIE hardening.
   + dovecot-imapd, dovecot-pop3: Replaces dovecot-common (<< 1:1.1). (LP: #254721)
   + debian/control: Update Vcs-* headers.
   + Add SMTP-AUTH support for Outlook (login auth mechanism)
* New upstream release.
* debian/patches/gold-fix.patch: Removed. Fixed upstream.
* Moved libexec to lib corrections in dovecot-managesieve.patch and
  dovecot-managesieve-dist.patch to dovecot-example.patch
* debian/patches/dovecot-mboxlocking.patch: Regenerated to avoid FTBFS
  when quilt isn't installed.
* debian/patches/quota-mountpoint.patch: Removed. Not needed anymore.
* debian/patches/dovecot-quota.patch: Removed. Quotas aren't properly
  enabled unless mail_plugins = quota imap_quota.
* debian/patches/gold-fix.patch: Fixed configure script to build even
  with binutils-gold or --no-add-needed linker flag (Closes: #554306)
* debian/dovecot-common.init: fixed LSB headers. Thanks to Pascal Volk.
  (Closes: #558040)
* debian/changelog: added CVE references to previous changelog entry.
* debian/rules: checked up the build system. It's not fragile anymore.
  (Closes: 493803)
* debian/dovecot-common.postinst: Now invoking dpkg-reconfigure
  on dovecot-common is enough to generate new certificates
  if the previous ones were removed. (Closes: #545582)
* debian/rules: No longer install convert-tool in /usr/bin.
  It isn't an user utility and it should stay in /usr/lib/dovecot
  like all other similar tool.
* New upstream release. (Closes: #557601)
* [SECURITY] Fixes local information disclosure and denial of service.
  (see: http://www.dovecot.org/list/dovecot-news/2009-November/000143.html
  and CVE-2009-3897)
* Added myself to uploaders.
* Switched to the new source format "3.0 (quilt)":
  - removed dpatch from build-depends
  - removed debian/README.source because now we use only standard
    dpkg features
  - regenerated all patches
* Prepared to switch to multi-origin source:
  - recreated dovecot-libsieve.patch and dovecot-managesieve-dist.patch
    starting from the upstream tarball
  - removed all autotools related build-depends and build-conflict
  - renamed dovecot-libsieve and dovecot-managesieve directories
    to libsieve and managesieve.
* debian/rules: Moved the configuration of libsieve and managesieve from
  the build phase to the configuration phase
* Added dovecot-dbg package  with debugging symbols.  Thanks Stephan Bosch.
  (Closes: #554710)
* Fixed some stray libexec'isms in the default configuration.
* New upstream release.
* debian/dovecot-common.init:
  - use $CONF when starting the daemon. (Closes: #549944)
  - always output start/stop messages. (Closes: #523810)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
# Guess values for system-dependent variables and create Makefiles.
 
3
# Generated by GNU Autoconf 2.63 for Dovecot Sieve 0.1.13.
 
4
#
 
5
# Report bugs to <dovecot@dovecot.org>.
 
6
#
 
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
8
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
9
# This configure script is free software; the Free Software Foundation
 
10
# gives unlimited permission to copy, distribute and modify it.
 
11
## --------------------- ##
 
12
## M4sh Initialization.  ##
 
13
## --------------------- ##
 
14
 
 
15
# Be more Bourne compatible
 
16
DUALCASE=1; export DUALCASE # for MKS sh
 
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
18
  emulate sh
 
19
  NULLCMD=:
 
20
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
21
  # is contrary to our usage.  Disable this feature.
 
22
  alias -g '${1+"$@"}'='"$@"'
 
23
  setopt NO_GLOB_SUBST
 
24
else
 
25
  case `(set -o) 2>/dev/null` in
 
26
  *posix*) set -o posix ;;
 
27
esac
 
28
 
 
29
fi
 
30
 
 
31
 
 
32
 
 
33
 
 
34
# PATH needs CR
 
35
# Avoid depending upon Character Ranges.
 
36
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
37
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
38
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
39
as_cr_digits='0123456789'
 
40
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
41
 
 
42
as_nl='
 
43
'
 
44
export as_nl
 
45
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
46
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
47
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
48
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
49
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
50
  as_echo='printf %s\n'
 
51
  as_echo_n='printf %s'
 
52
else
 
53
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
54
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
55
    as_echo_n='/usr/ucb/echo -n'
 
56
  else
 
57
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
58
    as_echo_n_body='eval
 
59
      arg=$1;
 
60
      case $arg in
 
61
      *"$as_nl"*)
 
62
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
63
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
64
      esac;
 
65
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
66
    '
 
67
    export as_echo_n_body
 
68
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
69
  fi
 
70
  export as_echo_body
 
71
  as_echo='sh -c $as_echo_body as_echo'
 
72
fi
 
73
 
 
74
# The user is always right.
 
75
if test "${PATH_SEPARATOR+set}" != set; then
 
76
  PATH_SEPARATOR=:
 
77
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
78
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
79
      PATH_SEPARATOR=';'
 
80
  }
 
81
fi
 
82
 
 
83
# Support unset when possible.
 
84
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
85
  as_unset=unset
 
86
else
 
87
  as_unset=false
 
88
fi
 
89
 
 
90
 
 
91
# IFS
 
92
# We need space, tab and new line, in precisely that order.  Quoting is
 
93
# there to prevent editors from complaining about space-tab.
 
94
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
95
# splitting by setting IFS to empty value.)
 
96
IFS=" ""        $as_nl"
 
97
 
 
98
# Find who we are.  Look in the path if we contain no directory separator.
 
99
case $0 in
 
100
  *[\\/]* ) as_myself=$0 ;;
 
101
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
102
for as_dir in $PATH
 
103
do
 
104
  IFS=$as_save_IFS
 
105
  test -z "$as_dir" && as_dir=.
 
106
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
107
done
 
108
IFS=$as_save_IFS
 
109
 
 
110
     ;;
 
111
esac
 
112
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
113
# in which case we are not to be found in the path.
 
114
if test "x$as_myself" = x; then
 
115
  as_myself=$0
 
116
fi
 
117
if test ! -f "$as_myself"; then
 
118
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
119
  { (exit 1); exit 1; }
 
120
fi
 
121
 
 
122
# Work around bugs in pre-3.0 UWIN ksh.
 
123
for as_var in ENV MAIL MAILPATH
 
124
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
125
done
 
126
PS1='$ '
 
127
PS2='> '
 
128
PS4='+ '
 
129
 
 
130
# NLS nuisances.
 
131
LC_ALL=C
 
132
export LC_ALL
 
133
LANGUAGE=C
 
134
export LANGUAGE
 
135
 
 
136
# Required to use basename.
 
137
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
138
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
139
  as_expr=expr
 
140
else
 
141
  as_expr=false
 
142
fi
 
143
 
 
144
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
145
  as_basename=basename
 
146
else
 
147
  as_basename=false
 
148
fi
 
149
 
 
150
 
 
151
# Name of the executable.
 
152
as_me=`$as_basename -- "$0" ||
 
153
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
154
         X"$0" : 'X\(//\)$' \| \
 
155
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
156
$as_echo X/"$0" |
 
157
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
158
            s//\1/
 
159
            q
 
160
          }
 
161
          /^X\/\(\/\/\)$/{
 
162
            s//\1/
 
163
            q
 
164
          }
 
165
          /^X\/\(\/\).*/{
 
166
            s//\1/
 
167
            q
 
168
          }
 
169
          s/.*/./; q'`
 
170
 
 
171
# CDPATH.
 
172
$as_unset CDPATH
 
173
 
 
174
 
 
175
if test "x$CONFIG_SHELL" = x; then
 
176
  if (eval ":") 2>/dev/null; then
 
177
  as_have_required=yes
 
178
else
 
179
  as_have_required=no
 
180
fi
 
181
 
 
182
  if test $as_have_required = yes &&     (eval ":
 
183
(as_func_return () {
 
184
  (exit \$1)
 
185
}
 
186
as_func_success () {
 
187
  as_func_return 0
 
188
}
 
189
as_func_failure () {
 
190
  as_func_return 1
 
191
}
 
192
as_func_ret_success () {
 
193
  return 0
 
194
}
 
195
as_func_ret_failure () {
 
196
  return 1
 
197
}
 
198
 
 
199
exitcode=0
 
200
if as_func_success; then
 
201
  :
 
202
else
 
203
  exitcode=1
 
204
  echo as_func_success failed.
 
205
fi
 
206
 
 
207
if as_func_failure; then
 
208
  exitcode=1
 
209
  echo as_func_failure succeeded.
 
210
fi
 
211
 
 
212
if as_func_ret_success; then
 
213
  :
 
214
else
 
215
  exitcode=1
 
216
  echo as_func_ret_success failed.
 
217
fi
 
218
 
 
219
if as_func_ret_failure; then
 
220
  exitcode=1
 
221
  echo as_func_ret_failure succeeded.
 
222
fi
 
223
 
 
224
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
225
  :
 
226
else
 
227
  exitcode=1
 
228
  echo positional parameters were not saved.
 
229
fi
 
230
 
 
231
test \$exitcode = 0) || { (exit 1); exit 1; }
 
232
 
 
233
(
 
234
  as_lineno_1=\$LINENO
 
235
  as_lineno_2=\$LINENO
 
236
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
 
237
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
 
238
") 2> /dev/null; then
 
239
  :
 
240
else
 
241
  as_candidate_shells=
 
242
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
243
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
244
do
 
245
  IFS=$as_save_IFS
 
246
  test -z "$as_dir" && as_dir=.
 
247
  case $as_dir in
 
248
         /*)
 
249
           for as_base in sh bash ksh sh5; do
 
250
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
251
           done;;
 
252
       esac
 
253
done
 
254
IFS=$as_save_IFS
 
255
 
 
256
 
 
257
      for as_shell in $as_candidate_shells $SHELL; do
 
258
         # Try only shells that exist, to save several forks.
 
259
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
260
                { ("$as_shell") 2> /dev/null <<\_ASEOF
 
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
262
  emulate sh
 
263
  NULLCMD=:
 
264
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
265
  # is contrary to our usage.  Disable this feature.
 
266
  alias -g '${1+"$@"}'='"$@"'
 
267
  setopt NO_GLOB_SUBST
 
268
else
 
269
  case `(set -o) 2>/dev/null` in
 
270
  *posix*) set -o posix ;;
 
271
esac
 
272
 
 
273
fi
 
274
 
 
275
 
 
276
:
 
277
_ASEOF
 
278
}; then
 
279
  CONFIG_SHELL=$as_shell
 
280
               as_have_required=yes
 
281
               if { "$as_shell" 2> /dev/null <<\_ASEOF
 
282
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
283
  emulate sh
 
284
  NULLCMD=:
 
285
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
286
  # is contrary to our usage.  Disable this feature.
 
287
  alias -g '${1+"$@"}'='"$@"'
 
288
  setopt NO_GLOB_SUBST
 
289
else
 
290
  case `(set -o) 2>/dev/null` in
 
291
  *posix*) set -o posix ;;
 
292
esac
 
293
 
 
294
fi
 
295
 
 
296
 
 
297
:
 
298
(as_func_return () {
 
299
  (exit $1)
 
300
}
 
301
as_func_success () {
 
302
  as_func_return 0
 
303
}
 
304
as_func_failure () {
 
305
  as_func_return 1
 
306
}
 
307
as_func_ret_success () {
 
308
  return 0
 
309
}
 
310
as_func_ret_failure () {
 
311
  return 1
 
312
}
 
313
 
 
314
exitcode=0
 
315
if as_func_success; then
 
316
  :
 
317
else
 
318
  exitcode=1
 
319
  echo as_func_success failed.
 
320
fi
 
321
 
 
322
if as_func_failure; then
 
323
  exitcode=1
 
324
  echo as_func_failure succeeded.
 
325
fi
 
326
 
 
327
if as_func_ret_success; then
 
328
  :
 
329
else
 
330
  exitcode=1
 
331
  echo as_func_ret_success failed.
 
332
fi
 
333
 
 
334
if as_func_ret_failure; then
 
335
  exitcode=1
 
336
  echo as_func_ret_failure succeeded.
 
337
fi
 
338
 
 
339
if ( set x; as_func_ret_success y && test x = "$1" ); then
 
340
  :
 
341
else
 
342
  exitcode=1
 
343
  echo positional parameters were not saved.
 
344
fi
 
345
 
 
346
test $exitcode = 0) || { (exit 1); exit 1; }
 
347
 
 
348
(
 
349
  as_lineno_1=$LINENO
 
350
  as_lineno_2=$LINENO
 
351
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
352
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
 
353
 
 
354
_ASEOF
 
355
}; then
 
356
  break
 
357
fi
 
358
 
 
359
fi
 
360
 
 
361
      done
 
362
 
 
363
      if test "x$CONFIG_SHELL" != x; then
 
364
  for as_var in BASH_ENV ENV
 
365
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
366
        done
 
367
        export CONFIG_SHELL
 
368
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
369
fi
 
370
 
 
371
 
 
372
    if test $as_have_required = no; then
 
373
  echo This script requires a shell more modern than all the
 
374
      echo shells that I found on your system.  Please install a
 
375
      echo modern shell, or manually run the script under such a
 
376
      echo shell if you do have one.
 
377
      { (exit 1); exit 1; }
 
378
fi
 
379
 
 
380
 
 
381
fi
 
382
 
 
383
fi
 
384
 
 
385
 
 
386
 
 
387
(eval "as_func_return () {
 
388
  (exit \$1)
 
389
}
 
390
as_func_success () {
 
391
  as_func_return 0
 
392
}
 
393
as_func_failure () {
 
394
  as_func_return 1
 
395
}
 
396
as_func_ret_success () {
 
397
  return 0
 
398
}
 
399
as_func_ret_failure () {
 
400
  return 1
 
401
}
 
402
 
 
403
exitcode=0
 
404
if as_func_success; then
 
405
  :
 
406
else
 
407
  exitcode=1
 
408
  echo as_func_success failed.
 
409
fi
 
410
 
 
411
if as_func_failure; then
 
412
  exitcode=1
 
413
  echo as_func_failure succeeded.
 
414
fi
 
415
 
 
416
if as_func_ret_success; then
 
417
  :
 
418
else
 
419
  exitcode=1
 
420
  echo as_func_ret_success failed.
 
421
fi
 
422
 
 
423
if as_func_ret_failure; then
 
424
  exitcode=1
 
425
  echo as_func_ret_failure succeeded.
 
426
fi
 
427
 
 
428
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
429
  :
 
430
else
 
431
  exitcode=1
 
432
  echo positional parameters were not saved.
 
433
fi
 
434
 
 
435
test \$exitcode = 0") || {
 
436
  echo No shell found that supports shell functions.
 
437
  echo Please tell bug-autoconf@gnu.org about your system,
 
438
  echo including any error possibly output before this message.
 
439
  echo This can help us improve future autoconf versions.
 
440
  echo Configuration will now proceed without shell functions.
 
441
}
 
442
 
 
443
 
 
444
 
 
445
  as_lineno_1=$LINENO
 
446
  as_lineno_2=$LINENO
 
447
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
448
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
 
449
 
 
450
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 
451
  # uniformly replaced by the line number.  The first 'sed' inserts a
 
452
  # line-number line after each line using $LINENO; the second 'sed'
 
453
  # does the real work.  The second script uses 'N' to pair each
 
454
  # line-number line with the line containing $LINENO, and appends
 
455
  # trailing '-' during substitution so that $LINENO is not a special
 
456
  # case at line end.
 
457
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 
458
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
459
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
460
  sed -n '
 
461
    p
 
462
    /[$]LINENO/=
 
463
  ' <$as_myself |
 
464
    sed '
 
465
      s/[$]LINENO.*/&-/
 
466
      t lineno
 
467
      b
 
468
      :lineno
 
469
      N
 
470
      :loop
 
471
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
472
      t loop
 
473
      s/-\n.*//
 
474
    ' >$as_me.lineno &&
 
475
  chmod +x "$as_me.lineno" ||
 
476
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
477
   { (exit 1); exit 1; }; }
 
478
 
 
479
  # Don't try to exec as it changes $[0], causing all sort of problems
 
480
  # (the dirname of $[0] is not the place where we might find the
 
481
  # original and so on.  Autoconf is especially sensitive to this).
 
482
  . "./$as_me.lineno"
 
483
  # Exit status is that of the last command.
 
484
  exit
 
485
}
 
486
 
 
487
 
 
488
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
489
  as_dirname=dirname
 
490
else
 
491
  as_dirname=false
 
492
fi
 
493
 
 
494
ECHO_C= ECHO_N= ECHO_T=
 
495
case `echo -n x` in
 
496
-n*)
 
497
  case `echo 'x\c'` in
 
498
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
499
  *)   ECHO_C='\c';;
 
500
  esac;;
 
501
*)
 
502
  ECHO_N='-n';;
 
503
esac
 
504
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
505
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
506
  as_expr=expr
 
507
else
 
508
  as_expr=false
 
509
fi
 
510
 
 
511
rm -f conf$$ conf$$.exe conf$$.file
 
512
if test -d conf$$.dir; then
 
513
  rm -f conf$$.dir/conf$$.file
 
514
else
 
515
  rm -f conf$$.dir
 
516
  mkdir conf$$.dir 2>/dev/null
 
517
fi
 
518
if (echo >conf$$.file) 2>/dev/null; then
 
519
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
520
    as_ln_s='ln -s'
 
521
    # ... but there are two gotchas:
 
522
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
523
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
524
    # In both cases, we have to default to `cp -p'.
 
525
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
526
      as_ln_s='cp -p'
 
527
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
528
    as_ln_s=ln
 
529
  else
 
530
    as_ln_s='cp -p'
 
531
  fi
 
532
else
 
533
  as_ln_s='cp -p'
 
534
fi
 
535
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
536
rmdir conf$$.dir 2>/dev/null
 
537
 
 
538
if mkdir -p . 2>/dev/null; then
 
539
  as_mkdir_p=:
 
540
else
 
541
  test -d ./-p && rmdir ./-p
 
542
  as_mkdir_p=false
 
543
fi
 
544
 
 
545
if test -x / >/dev/null 2>&1; then
 
546
  as_test_x='test -x'
 
547
else
 
548
  if ls -dL / >/dev/null 2>&1; then
 
549
    as_ls_L_option=L
 
550
  else
 
551
    as_ls_L_option=
 
552
  fi
 
553
  as_test_x='
 
554
    eval sh -c '\''
 
555
      if test -d "$1"; then
 
556
        test -d "$1/.";
 
557
      else
 
558
        case $1 in
 
559
        -*)set "./$1";;
 
560
        esac;
 
561
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
562
        ???[sx]*):;;*)false;;esac;fi
 
563
    '\'' sh
 
564
  '
 
565
fi
 
566
as_executable_p=$as_test_x
 
567
 
 
568
# Sed expression to map a string onto a valid CPP name.
 
569
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
570
 
 
571
# Sed expression to map a string onto a valid variable name.
 
572
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
573
 
 
574
 
 
575
 
 
576
 
 
577
# Check that we are running under the correct shell.
 
578
SHELL=${CONFIG_SHELL-/bin/sh}
 
579
 
 
580
case X$lt_ECHO in
 
581
X*--fallback-echo)
 
582
  # Remove one level of quotation (which was required for Make).
 
583
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
 
584
  ;;
 
585
esac
 
586
 
 
587
ECHO=${lt_ECHO-echo}
 
588
if test "X$1" = X--no-reexec; then
 
589
  # Discard the --no-reexec flag, and continue.
 
590
  shift
 
591
elif test "X$1" = X--fallback-echo; then
 
592
  # Avoid inline document here, it may be left over
 
593
  :
 
594
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
 
595
  # Yippee, $ECHO works!
 
596
  :
 
597
else
 
598
  # Restart under the correct shell.
 
599
  exec $SHELL "$0" --no-reexec ${1+"$@"}
 
600
fi
 
601
 
 
602
if test "X$1" = X--fallback-echo; then
 
603
  # used as fallback echo
 
604
  shift
 
605
  cat <<_LT_EOF
 
606
$*
 
607
_LT_EOF
 
608
  exit 0
 
609
fi
 
610
 
 
611
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
612
# if CDPATH is set.
 
613
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
614
 
 
615
if test -z "$lt_ECHO"; then
 
616
  if test "X${echo_test_string+set}" != Xset; then
 
617
    # find a string as large as possible, as long as the shell can cope with it
 
618
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
 
619
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
 
620
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
 
621
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
 
622
      then
 
623
        break
 
624
      fi
 
625
    done
 
626
  fi
 
627
 
 
628
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
629
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
630
     test "X$echo_testing_string" = "X$echo_test_string"; then
 
631
    :
 
632
  else
 
633
    # The Solaris, AIX, and Digital Unix default echo programs unquote
 
634
    # backslashes.  This makes it impossible to quote backslashes using
 
635
    #   echo "$something" | sed 's/\\/\\\\/g'
 
636
    #
 
637
    # So, first we look for a working echo in the user's PATH.
 
638
 
 
639
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
640
    for dir in $PATH /usr/ucb; do
 
641
      IFS="$lt_save_ifs"
 
642
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
 
643
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
 
644
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
 
645
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
646
        ECHO="$dir/echo"
 
647
        break
 
648
      fi
 
649
    done
 
650
    IFS="$lt_save_ifs"
 
651
 
 
652
    if test "X$ECHO" = Xecho; then
 
653
      # We didn't find a better echo, so look for alternatives.
 
654
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
 
655
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
 
656
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
657
        # This shell has a builtin print -r that does the trick.
 
658
        ECHO='print -r'
 
659
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
 
660
           test "X$CONFIG_SHELL" != X/bin/ksh; then
 
661
        # If we have ksh, try running configure again with it.
 
662
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
 
663
        export ORIGINAL_CONFIG_SHELL
 
664
        CONFIG_SHELL=/bin/ksh
 
665
        export CONFIG_SHELL
 
666
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
 
667
      else
 
668
        # Try using printf.
 
669
        ECHO='printf %s\n'
 
670
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
671
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
672
           test "X$echo_testing_string" = "X$echo_test_string"; then
 
673
          # Cool, printf works
 
674
          :
 
675
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
676
             test "X$echo_testing_string" = 'X\t' &&
 
677
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
678
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
679
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
 
680
          export CONFIG_SHELL
 
681
          SHELL="$CONFIG_SHELL"
 
682
          export SHELL
 
683
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
684
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
685
             test "X$echo_testing_string" = 'X\t' &&
 
686
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
687
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
688
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
689
        else
 
690
          # maybe with a smaller string...
 
691
          prev=:
 
692
 
 
693
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
 
694
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
 
695
            then
 
696
              break
 
697
            fi
 
698
            prev="$cmd"
 
699
          done
 
700
 
 
701
          if test "$prev" != 'sed 50q "$0"'; then
 
702
            echo_test_string=`eval $prev`
 
703
            export echo_test_string
 
704
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
 
705
          else
 
706
            # Oops.  We lost completely, so just stick with echo.
 
707
            ECHO=echo
 
708
          fi
 
709
        fi
 
710
      fi
 
711
    fi
 
712
  fi
 
713
fi
 
714
 
 
715
# Copy echo and quote the copy suitably for passing to libtool from
 
716
# the Makefile, instead of quoting the original, which is used later.
 
717
lt_ECHO=$ECHO
 
718
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
 
719
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
 
720
fi
 
721
 
 
722
 
 
723
 
 
724
 
 
725
exec 7<&0 </dev/null 6>&1
 
726
 
 
727
# Name of the host.
 
728
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
729
# so uname gets run too.
 
730
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 
731
 
 
732
#
 
733
# Initializations.
 
734
#
 
735
ac_default_prefix=/usr/local
 
736
ac_clean_files=
 
737
ac_config_libobj_dir=.
 
738
LIBOBJS=
 
739
cross_compiling=no
 
740
subdirs=
 
741
MFLAGS=
 
742
MAKEFLAGS=
 
743
SHELL=${CONFIG_SHELL-/bin/sh}
 
744
 
 
745
# Identity of this package.
 
746
PACKAGE_NAME='Dovecot Sieve'
 
747
PACKAGE_TARNAME='dovecot-1.2-sieve'
 
748
PACKAGE_VERSION='0.1.13'
 
749
PACKAGE_STRING='Dovecot Sieve 0.1.13'
 
750
PACKAGE_BUGREPORT='dovecot@dovecot.org'
 
751
 
 
752
ac_unique_file="src"
 
753
# Factoring default headers for most tests.
 
754
ac_includes_default="\
 
755
#include <stdio.h>
 
756
#ifdef HAVE_SYS_TYPES_H
 
757
# include <sys/types.h>
 
758
#endif
 
759
#ifdef HAVE_SYS_STAT_H
 
760
# include <sys/stat.h>
 
761
#endif
 
762
#ifdef STDC_HEADERS
 
763
# include <stdlib.h>
 
764
# include <stddef.h>
 
765
#else
 
766
# ifdef HAVE_STDLIB_H
 
767
#  include <stdlib.h>
 
768
# endif
 
769
#endif
 
770
#ifdef HAVE_STRING_H
 
771
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
 
772
#  include <memory.h>
 
773
# endif
 
774
# include <string.h>
 
775
#endif
 
776
#ifdef HAVE_STRINGS_H
 
777
# include <strings.h>
 
778
#endif
 
779
#ifdef HAVE_INTTYPES_H
 
780
# include <inttypes.h>
 
781
#endif
 
782
#ifdef HAVE_STDINT_H
 
783
# include <stdint.h>
 
784
#endif
 
785
#ifdef HAVE_UNISTD_H
 
786
# include <unistd.h>
 
787
#endif"
 
788
 
 
789
ac_subst_vars='LTLIBOBJS
 
790
LIBOBJS
 
791
moduledir
 
792
dovecot_incdir
 
793
MODULE_LIBS
 
794
RAND_LIBS
 
795
LIBICONV
 
796
STORAGE_LIBS
 
797
TESTSUITE_VALGRIND_FALSE
 
798
TESTSUITE_VALGRIND_TRUE
 
799
BUILD_UNFINISHED_FALSE
 
800
BUILD_UNFINISHED_TRUE
 
801
HAVE_DOVECOT_LIBS_FALSE
 
802
HAVE_DOVECOT_LIBS_TRUE
 
803
dovecotdir
 
804
OTOOL64
 
805
OTOOL
 
806
LIPO
 
807
NMEDIT
 
808
DSYMUTIL
 
809
lt_ECHO
 
810
RANLIB
 
811
AR
 
812
OBJDUMP
 
813
LN_S
 
814
NM
 
815
ac_ct_DUMPBIN
 
816
DUMPBIN
 
817
LD
 
818
FGREP
 
819
EGREP
 
820
GREP
 
821
SED
 
822
host_os
 
823
host_vendor
 
824
host_cpu
 
825
host
 
826
build_os
 
827
build_vendor
 
828
build_cpu
 
829
build
 
830
LIBTOOL
 
831
CPP
 
832
am__fastdepCC_FALSE
 
833
am__fastdepCC_TRUE
 
834
CCDEPMODE
 
835
AMDEPBACKSLASH
 
836
AMDEP_FALSE
 
837
AMDEP_TRUE
 
838
am__quote
 
839
am__include
 
840
DEPDIR
 
841
OBJEXT
 
842
EXEEXT
 
843
ac_ct_CC
 
844
CPPFLAGS
 
845
LDFLAGS
 
846
CFLAGS
 
847
CC
 
848
MAINT
 
849
MAINTAINER_MODE_FALSE
 
850
MAINTAINER_MODE_TRUE
 
851
am__untar
 
852
am__tar
 
853
AMTAR
 
854
am__leading_dot
 
855
SET_MAKE
 
856
AWK
 
857
mkdir_p
 
858
MKDIR_P
 
859
INSTALL_STRIP_PROGRAM
 
860
STRIP
 
861
install_sh
 
862
MAKEINFO
 
863
AUTOHEADER
 
864
AUTOMAKE
 
865
AUTOCONF
 
866
ACLOCAL
 
867
VERSION
 
868
PACKAGE
 
869
CYGPATH_W
 
870
am__isrc
 
871
INSTALL_DATA
 
872
INSTALL_SCRIPT
 
873
INSTALL_PROGRAM
 
874
target_alias
 
875
host_alias
 
876
build_alias
 
877
LIBS
 
878
ECHO_T
 
879
ECHO_N
 
880
ECHO_C
 
881
DEFS
 
882
mandir
 
883
localedir
 
884
libdir
 
885
psdir
 
886
pdfdir
 
887
dvidir
 
888
htmldir
 
889
infodir
 
890
docdir
 
891
oldincludedir
 
892
includedir
 
893
localstatedir
 
894
sharedstatedir
 
895
sysconfdir
 
896
datadir
 
897
datarootdir
 
898
libexecdir
 
899
sbindir
 
900
bindir
 
901
program_transform_name
 
902
prefix
 
903
exec_prefix
 
904
PACKAGE_BUGREPORT
 
905
PACKAGE_STRING
 
906
PACKAGE_VERSION
 
907
PACKAGE_TARNAME
 
908
PACKAGE_NAME
 
909
PATH_SEPARATOR
 
910
SHELL'
 
911
ac_subst_files=''
 
912
ac_user_opts='
 
913
enable_option_checking
 
914
enable_maintainer_mode
 
915
enable_dependency_tracking
 
916
enable_shared
 
917
enable_static
 
918
with_pic
 
919
enable_fast_install
 
920
with_gnu_ld
 
921
enable_libtool_lock
 
922
with_dovecot
 
923
with_unfinished_features
 
924
enable_valgrind
 
925
'
 
926
      ac_precious_vars='build_alias
 
927
host_alias
 
928
target_alias
 
929
CC
 
930
CFLAGS
 
931
LDFLAGS
 
932
LIBS
 
933
CPPFLAGS
 
934
CPP'
 
935
 
 
936
 
 
937
# Initialize some variables set by options.
 
938
ac_init_help=
 
939
ac_init_version=false
 
940
ac_unrecognized_opts=
 
941
ac_unrecognized_sep=
 
942
# The variables have the same names as the options, with
 
943
# dashes changed to underlines.
 
944
cache_file=/dev/null
 
945
exec_prefix=NONE
 
946
no_create=
 
947
no_recursion=
 
948
prefix=NONE
 
949
program_prefix=NONE
 
950
program_suffix=NONE
 
951
program_transform_name=s,x,x,
 
952
silent=
 
953
site=
 
954
srcdir=
 
955
verbose=
 
956
x_includes=NONE
 
957
x_libraries=NONE
 
958
 
 
959
# Installation directory options.
 
960
# These are left unexpanded so users can "make install exec_prefix=/foo"
 
961
# and all the variables that are supposed to be based on exec_prefix
 
962
# by default will actually change.
 
963
# Use braces instead of parens because sh, perl, etc. also accept them.
 
964
# (The list follows the same order as the GNU Coding Standards.)
 
965
bindir='${exec_prefix}/bin'
 
966
sbindir='${exec_prefix}/sbin'
 
967
libexecdir='${exec_prefix}/libexec'
 
968
datarootdir='${prefix}/share'
 
969
datadir='${datarootdir}'
 
970
sysconfdir='${prefix}/etc'
 
971
sharedstatedir='${prefix}/com'
 
972
localstatedir='${prefix}/var'
 
973
includedir='${prefix}/include'
 
974
oldincludedir='/usr/include'
 
975
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
976
infodir='${datarootdir}/info'
 
977
htmldir='${docdir}'
 
978
dvidir='${docdir}'
 
979
pdfdir='${docdir}'
 
980
psdir='${docdir}'
 
981
libdir='${exec_prefix}/lib'
 
982
localedir='${datarootdir}/locale'
 
983
mandir='${datarootdir}/man'
 
984
 
 
985
ac_prev=
 
986
ac_dashdash=
 
987
for ac_option
 
988
do
 
989
  # If the previous option needs an argument, assign it.
 
990
  if test -n "$ac_prev"; then
 
991
    eval $ac_prev=\$ac_option
 
992
    ac_prev=
 
993
    continue
 
994
  fi
 
995
 
 
996
  case $ac_option in
 
997
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
998
  *)    ac_optarg=yes ;;
 
999
  esac
 
1000
 
 
1001
  # Accept the important Cygnus configure options, so we can diagnose typos.
 
1002
 
 
1003
  case $ac_dashdash$ac_option in
 
1004
  --)
 
1005
    ac_dashdash=yes ;;
 
1006
 
 
1007
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
 
1008
    ac_prev=bindir ;;
 
1009
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 
1010
    bindir=$ac_optarg ;;
 
1011
 
 
1012
  -build | --build | --buil | --bui | --bu)
 
1013
    ac_prev=build_alias ;;
 
1014
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 
1015
    build_alias=$ac_optarg ;;
 
1016
 
 
1017
  -cache-file | --cache-file | --cache-fil | --cache-fi \
 
1018
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 
1019
    ac_prev=cache_file ;;
 
1020
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
1021
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 
1022
    cache_file=$ac_optarg ;;
 
1023
 
 
1024
  --config-cache | -C)
 
1025
    cache_file=config.cache ;;
 
1026
 
 
1027
  -datadir | --datadir | --datadi | --datad)
 
1028
    ac_prev=datadir ;;
 
1029
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
 
1030
    datadir=$ac_optarg ;;
 
1031
 
 
1032
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
1033
  | --dataroo | --dataro | --datar)
 
1034
    ac_prev=datarootdir ;;
 
1035
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
1036
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
1037
    datarootdir=$ac_optarg ;;
 
1038
 
 
1039
  -disable-* | --disable-*)
 
1040
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
1041
    # Reject names that are not valid shell variable names.
 
1042
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1043
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
 
1044
   { (exit 1); exit 1; }; }
 
1045
    ac_useropt_orig=$ac_useropt
 
1046
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1047
    case $ac_user_opts in
 
1048
      *"
 
1049
"enable_$ac_useropt"
 
1050
"*) ;;
 
1051
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
1052
         ac_unrecognized_sep=', ';;
 
1053
    esac
 
1054
    eval enable_$ac_useropt=no ;;
 
1055
 
 
1056
  -docdir | --docdir | --docdi | --doc | --do)
 
1057
    ac_prev=docdir ;;
 
1058
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
1059
    docdir=$ac_optarg ;;
 
1060
 
 
1061
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
1062
    ac_prev=dvidir ;;
 
1063
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1064
    dvidir=$ac_optarg ;;
 
1065
 
 
1066
  -enable-* | --enable-*)
 
1067
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
1068
    # Reject names that are not valid shell variable names.
 
1069
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1070
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
 
1071
   { (exit 1); exit 1; }; }
 
1072
    ac_useropt_orig=$ac_useropt
 
1073
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1074
    case $ac_user_opts in
 
1075
      *"
 
1076
"enable_$ac_useropt"
 
1077
"*) ;;
 
1078
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
1079
         ac_unrecognized_sep=', ';;
 
1080
    esac
 
1081
    eval enable_$ac_useropt=\$ac_optarg ;;
 
1082
 
 
1083
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 
1084
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 
1085
  | --exec | --exe | --ex)
 
1086
    ac_prev=exec_prefix ;;
 
1087
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 
1088
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 
1089
  | --exec=* | --exe=* | --ex=*)
 
1090
    exec_prefix=$ac_optarg ;;
 
1091
 
 
1092
  -gas | --gas | --ga | --g)
 
1093
    # Obsolete; use --with-gas.
 
1094
    with_gas=yes ;;
 
1095
 
 
1096
  -help | --help | --hel | --he | -h)
 
1097
    ac_init_help=long ;;
 
1098
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 
1099
    ac_init_help=recursive ;;
 
1100
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 
1101
    ac_init_help=short ;;
 
1102
 
 
1103
  -host | --host | --hos | --ho)
 
1104
    ac_prev=host_alias ;;
 
1105
  -host=* | --host=* | --hos=* | --ho=*)
 
1106
    host_alias=$ac_optarg ;;
 
1107
 
 
1108
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1109
    ac_prev=htmldir ;;
 
1110
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1111
  | --ht=*)
 
1112
    htmldir=$ac_optarg ;;
 
1113
 
 
1114
  -includedir | --includedir | --includedi | --included | --include \
 
1115
  | --includ | --inclu | --incl | --inc)
 
1116
    ac_prev=includedir ;;
 
1117
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 
1118
  | --includ=* | --inclu=* | --incl=* | --inc=*)
 
1119
    includedir=$ac_optarg ;;
 
1120
 
 
1121
  -infodir | --infodir | --infodi | --infod | --info | --inf)
 
1122
    ac_prev=infodir ;;
 
1123
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 
1124
    infodir=$ac_optarg ;;
 
1125
 
 
1126
  -libdir | --libdir | --libdi | --libd)
 
1127
    ac_prev=libdir ;;
 
1128
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 
1129
    libdir=$ac_optarg ;;
 
1130
 
 
1131
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 
1132
  | --libexe | --libex | --libe)
 
1133
    ac_prev=libexecdir ;;
 
1134
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 
1135
  | --libexe=* | --libex=* | --libe=*)
 
1136
    libexecdir=$ac_optarg ;;
 
1137
 
 
1138
  -localedir | --localedir | --localedi | --localed | --locale)
 
1139
    ac_prev=localedir ;;
 
1140
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1141
    localedir=$ac_optarg ;;
 
1142
 
 
1143
  -localstatedir | --localstatedir | --localstatedi | --localstated \
 
1144
  | --localstate | --localstat | --localsta | --localst | --locals)
 
1145
    ac_prev=localstatedir ;;
 
1146
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 
1147
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 
1148
    localstatedir=$ac_optarg ;;
 
1149
 
 
1150
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 
1151
    ac_prev=mandir ;;
 
1152
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 
1153
    mandir=$ac_optarg ;;
 
1154
 
 
1155
  -nfp | --nfp | --nf)
 
1156
    # Obsolete; use --without-fp.
 
1157
    with_fp=no ;;
 
1158
 
 
1159
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
1160
  | --no-cr | --no-c | -n)
 
1161
    no_create=yes ;;
 
1162
 
 
1163
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
1164
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 
1165
    no_recursion=yes ;;
 
1166
 
 
1167
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 
1168
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 
1169
  | --oldin | --oldi | --old | --ol | --o)
 
1170
    ac_prev=oldincludedir ;;
 
1171
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 
1172
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 
1173
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 
1174
    oldincludedir=$ac_optarg ;;
 
1175
 
 
1176
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 
1177
    ac_prev=prefix ;;
 
1178
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 
1179
    prefix=$ac_optarg ;;
 
1180
 
 
1181
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
 
1182
  | --program-pre | --program-pr | --program-p)
 
1183
    ac_prev=program_prefix ;;
 
1184
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
 
1185
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 
1186
    program_prefix=$ac_optarg ;;
 
1187
 
 
1188
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
 
1189
  | --program-suf | --program-su | --program-s)
 
1190
    ac_prev=program_suffix ;;
 
1191
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
 
1192
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 
1193
    program_suffix=$ac_optarg ;;
 
1194
 
 
1195
  -program-transform-name | --program-transform-name \
 
1196
  | --program-transform-nam | --program-transform-na \
 
1197
  | --program-transform-n | --program-transform- \
 
1198
  | --program-transform | --program-transfor \
 
1199
  | --program-transfo | --program-transf \
 
1200
  | --program-trans | --program-tran \
 
1201
  | --progr-tra | --program-tr | --program-t)
 
1202
    ac_prev=program_transform_name ;;
 
1203
  -program-transform-name=* | --program-transform-name=* \
 
1204
  | --program-transform-nam=* | --program-transform-na=* \
 
1205
  | --program-transform-n=* | --program-transform-=* \
 
1206
  | --program-transform=* | --program-transfor=* \
 
1207
  | --program-transfo=* | --program-transf=* \
 
1208
  | --program-trans=* | --program-tran=* \
 
1209
  | --progr-tra=* | --program-tr=* | --program-t=*)
 
1210
    program_transform_name=$ac_optarg ;;
 
1211
 
 
1212
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1213
    ac_prev=pdfdir ;;
 
1214
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1215
    pdfdir=$ac_optarg ;;
 
1216
 
 
1217
  -psdir | --psdir | --psdi | --psd | --ps)
 
1218
    ac_prev=psdir ;;
 
1219
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1220
    psdir=$ac_optarg ;;
 
1221
 
 
1222
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1223
  | -silent | --silent | --silen | --sile | --sil)
 
1224
    silent=yes ;;
 
1225
 
 
1226
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 
1227
    ac_prev=sbindir ;;
 
1228
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
1229
  | --sbi=* | --sb=*)
 
1230
    sbindir=$ac_optarg ;;
 
1231
 
 
1232
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
1233
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
1234
  | --sharedst | --shareds | --shared | --share | --shar \
 
1235
  | --sha | --sh)
 
1236
    ac_prev=sharedstatedir ;;
 
1237
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
1238
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
1239
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
1240
  | --sha=* | --sh=*)
 
1241
    sharedstatedir=$ac_optarg ;;
 
1242
 
 
1243
  -site | --site | --sit)
 
1244
    ac_prev=site ;;
 
1245
  -site=* | --site=* | --sit=*)
 
1246
    site=$ac_optarg ;;
 
1247
 
 
1248
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
1249
    ac_prev=srcdir ;;
 
1250
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
1251
    srcdir=$ac_optarg ;;
 
1252
 
 
1253
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 
1254
  | --syscon | --sysco | --sysc | --sys | --sy)
 
1255
    ac_prev=sysconfdir ;;
 
1256
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 
1257
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 
1258
    sysconfdir=$ac_optarg ;;
 
1259
 
 
1260
  -target | --target | --targe | --targ | --tar | --ta | --t)
 
1261
    ac_prev=target_alias ;;
 
1262
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 
1263
    target_alias=$ac_optarg ;;
 
1264
 
 
1265
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 
1266
    verbose=yes ;;
 
1267
 
 
1268
  -version | --version | --versio | --versi | --vers | -V)
 
1269
    ac_init_version=: ;;
 
1270
 
 
1271
  -with-* | --with-*)
 
1272
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1273
    # Reject names that are not valid shell variable names.
 
1274
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1275
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
 
1276
   { (exit 1); exit 1; }; }
 
1277
    ac_useropt_orig=$ac_useropt
 
1278
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1279
    case $ac_user_opts in
 
1280
      *"
 
1281
"with_$ac_useropt"
 
1282
"*) ;;
 
1283
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1284
         ac_unrecognized_sep=', ';;
 
1285
    esac
 
1286
    eval with_$ac_useropt=\$ac_optarg ;;
 
1287
 
 
1288
  -without-* | --without-*)
 
1289
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1290
    # Reject names that are not valid shell variable names.
 
1291
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1292
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
 
1293
   { (exit 1); exit 1; }; }
 
1294
    ac_useropt_orig=$ac_useropt
 
1295
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1296
    case $ac_user_opts in
 
1297
      *"
 
1298
"with_$ac_useropt"
 
1299
"*) ;;
 
1300
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1301
         ac_unrecognized_sep=', ';;
 
1302
    esac
 
1303
    eval with_$ac_useropt=no ;;
 
1304
 
 
1305
  --x)
 
1306
    # Obsolete; use --with-x.
 
1307
    with_x=yes ;;
 
1308
 
 
1309
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 
1310
  | --x-incl | --x-inc | --x-in | --x-i)
 
1311
    ac_prev=x_includes ;;
 
1312
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 
1313
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 
1314
    x_includes=$ac_optarg ;;
 
1315
 
 
1316
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
 
1317
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 
1318
    ac_prev=x_libraries ;;
 
1319
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 
1320
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 
1321
    x_libraries=$ac_optarg ;;
 
1322
 
 
1323
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
 
1324
Try \`$0 --help' for more information." >&2
 
1325
   { (exit 1); exit 1; }; }
 
1326
    ;;
 
1327
 
 
1328
  *=*)
 
1329
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 
1330
    # Reject names that are not valid shell variable names.
 
1331
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
 
1332
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 
1333
   { (exit 1); exit 1; }; }
 
1334
    eval $ac_envvar=\$ac_optarg
 
1335
    export $ac_envvar ;;
 
1336
 
 
1337
  *)
 
1338
    # FIXME: should be removed in autoconf 3.0.
 
1339
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1340
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
1341
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1342
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1343
    ;;
 
1344
 
 
1345
  esac
 
1346
done
 
1347
 
 
1348
if test -n "$ac_prev"; then
 
1349
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 
1350
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
 
1351
   { (exit 1); exit 1; }; }
 
1352
fi
 
1353
 
 
1354
if test -n "$ac_unrecognized_opts"; then
 
1355
  case $enable_option_checking in
 
1356
    no) ;;
 
1357
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
 
1358
   { (exit 1); exit 1; }; } ;;
 
1359
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1360
  esac
 
1361
fi
 
1362
 
 
1363
# Check all directory arguments for consistency.
 
1364
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1365
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1366
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1367
                libdir localedir mandir
 
1368
do
 
1369
  eval ac_val=\$$ac_var
 
1370
  # Remove trailing slashes.
 
1371
  case $ac_val in
 
1372
    */ )
 
1373
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1374
      eval $ac_var=\$ac_val;;
 
1375
  esac
 
1376
  # Be sure to have absolute directory names.
 
1377
  case $ac_val in
 
1378
    [\\/$]* | ?:[\\/]* )  continue;;
 
1379
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1380
  esac
 
1381
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1382
   { (exit 1); exit 1; }; }
 
1383
done
 
1384
 
 
1385
# There might be people who depend on the old broken behavior: `$host'
 
1386
# used to hold the argument of --host etc.
 
1387
# FIXME: To remove some day.
 
1388
build=$build_alias
 
1389
host=$host_alias
 
1390
target=$target_alias
 
1391
 
 
1392
# FIXME: To remove some day.
 
1393
if test "x$host_alias" != x; then
 
1394
  if test "x$build_alias" = x; then
 
1395
    cross_compiling=maybe
 
1396
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1397
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1398
  elif test "x$build_alias" != "x$host_alias"; then
 
1399
    cross_compiling=yes
 
1400
  fi
 
1401
fi
 
1402
 
 
1403
ac_tool_prefix=
 
1404
test -n "$host_alias" && ac_tool_prefix=$host_alias-
 
1405
 
 
1406
test "$silent" = yes && exec 6>/dev/null
 
1407
 
 
1408
 
 
1409
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1410
ac_ls_di=`ls -di .` &&
 
1411
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1412
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
 
1413
   { (exit 1); exit 1; }; }
 
1414
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1415
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
 
1416
   { (exit 1); exit 1; }; }
 
1417
 
 
1418
 
 
1419
# Find the source files, if location was not specified.
 
1420
if test -z "$srcdir"; then
 
1421
  ac_srcdir_defaulted=yes
 
1422
  # Try the directory containing this script, then the parent directory.
 
1423
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1424
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1425
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1426
         X"$as_myself" : 'X\(//\)$' \| \
 
1427
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1428
$as_echo X"$as_myself" |
 
1429
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1430
            s//\1/
 
1431
            q
 
1432
          }
 
1433
          /^X\(\/\/\)[^/].*/{
 
1434
            s//\1/
 
1435
            q
 
1436
          }
 
1437
          /^X\(\/\/\)$/{
 
1438
            s//\1/
 
1439
            q
 
1440
          }
 
1441
          /^X\(\/\).*/{
 
1442
            s//\1/
 
1443
            q
 
1444
          }
 
1445
          s/.*/./; q'`
 
1446
  srcdir=$ac_confdir
 
1447
  if test ! -r "$srcdir/$ac_unique_file"; then
 
1448
    srcdir=..
 
1449
  fi
 
1450
else
 
1451
  ac_srcdir_defaulted=no
 
1452
fi
 
1453
if test ! -r "$srcdir/$ac_unique_file"; then
 
1454
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1455
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1456
   { (exit 1); exit 1; }; }
 
1457
fi
 
1458
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1459
ac_abs_confdir=`(
 
1460
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
 
1461
   { (exit 1); exit 1; }; }
 
1462
        pwd)`
 
1463
# When building in place, set srcdir=.
 
1464
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1465
  srcdir=.
 
1466
fi
 
1467
# Remove unnecessary trailing slashes from srcdir.
 
1468
# Double slashes in file names in object file debugging info
 
1469
# mess up M-x gdb in Emacs.
 
1470
case $srcdir in
 
1471
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1472
esac
 
1473
for ac_var in $ac_precious_vars; do
 
1474
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1475
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1476
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1477
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1478
done
 
1479
 
 
1480
#
 
1481
# Report the --help message.
 
1482
#
 
1483
if test "$ac_init_help" = "long"; then
 
1484
  # Omit some internal or obsolete options to make the list less imposing.
 
1485
  # This message is too long to be a string in the A/UX 3.1 sh.
 
1486
  cat <<_ACEOF
 
1487
\`configure' configures Dovecot Sieve 0.1.13 to adapt to many kinds of systems.
 
1488
 
 
1489
Usage: $0 [OPTION]... [VAR=VALUE]...
 
1490
 
 
1491
To assign environment variables (e.g., CC, CFLAGS...), specify them as
 
1492
VAR=VALUE.  See below for descriptions of some of the useful variables.
 
1493
 
 
1494
Defaults for the options are specified in brackets.
 
1495
 
 
1496
Configuration:
 
1497
  -h, --help              display this help and exit
 
1498
      --help=short        display options specific to this package
 
1499
      --help=recursive    display the short help of all the included packages
 
1500
  -V, --version           display version information and exit
 
1501
  -q, --quiet, --silent   do not print \`checking...' messages
 
1502
      --cache-file=FILE   cache test results in FILE [disabled]
 
1503
  -C, --config-cache      alias for \`--cache-file=config.cache'
 
1504
  -n, --no-create         do not create output files
 
1505
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 
1506
 
 
1507
Installation directories:
 
1508
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
1509
                          [$ac_default_prefix]
 
1510
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
1511
                          [PREFIX]
 
1512
 
 
1513
By default, \`make install' will install all the files in
 
1514
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 
1515
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 
1516
for instance \`--prefix=\$HOME'.
 
1517
 
 
1518
For better control, use the options below.
 
1519
 
 
1520
Fine tuning of the installation directories:
 
1521
  --bindir=DIR            user executables [EPREFIX/bin]
 
1522
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1523
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1524
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1525
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1526
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1527
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1528
  --includedir=DIR        C header files [PREFIX/include]
 
1529
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1530
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1531
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1532
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1533
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1534
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1535
  --docdir=DIR            documentation root
 
1536
                          [DATAROOTDIR/doc/dovecot-1.2-sieve]
 
1537
  --htmldir=DIR           html documentation [DOCDIR]
 
1538
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1539
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1540
  --psdir=DIR             ps documentation [DOCDIR]
 
1541
_ACEOF
 
1542
 
 
1543
  cat <<\_ACEOF
 
1544
 
 
1545
Program names:
 
1546
  --program-prefix=PREFIX            prepend PREFIX to installed program names
 
1547
  --program-suffix=SUFFIX            append SUFFIX to installed program names
 
1548
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 
1549
 
 
1550
System types:
 
1551
  --build=BUILD     configure for building on BUILD [guessed]
 
1552
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 
1553
_ACEOF
 
1554
fi
 
1555
 
 
1556
if test -n "$ac_init_help"; then
 
1557
  case $ac_init_help in
 
1558
     short | recursive ) echo "Configuration of Dovecot Sieve 0.1.13:";;
 
1559
   esac
 
1560
  cat <<\_ACEOF
 
1561
 
 
1562
Optional Features:
 
1563
  --disable-option-checking  ignore unrecognized --enable/--with options
 
1564
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 
1565
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
1566
  --enable-maintainer-mode  enable make rules and dependencies not useful
 
1567
                          (and sometimes confusing) to the casual installer
 
1568
  --disable-dependency-tracking  speeds up one-time build
 
1569
  --enable-dependency-tracking   do not reject slow dependency extractors
 
1570
  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
1571
  --enable-static[=PKGS]  build static libraries [default=yes]
 
1572
  --enable-fast-install[=PKGS]
 
1573
                          optimize for fast installation [default=yes]
 
1574
  --disable-libtool-lock  avoid locking (might break parallel builds)
 
1575
  --enable-valgrind       Enable Valgrind memory leak checks in testsuite
 
1576
                          [default=no]
 
1577
 
 
1578
Optional Packages:
 
1579
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 
1580
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
1581
  --with-pic              try to use only PIC/non-PIC objects [default=use
 
1582
                          both]
 
1583
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1584
  --with-dovecot=DIR      Dovecot base directory [../dovecot]
 
1585
  --with-unfinished-features
 
1586
                          Build unfinished new features/extensions
 
1587
                          [default=no]
 
1588
 
 
1589
Some influential environment variables:
 
1590
  CC          C compiler command
 
1591
  CFLAGS      C compiler flags
 
1592
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 
1593
              nonstandard directory <lib dir>
 
1594
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1595
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1596
              you have headers in a nonstandard directory <include dir>
 
1597
  CPP         C preprocessor
 
1598
 
 
1599
Use these variables to override the choices made by `configure' or to help
 
1600
it to find libraries and programs with nonstandard names/locations.
 
1601
 
 
1602
Report bugs to <dovecot@dovecot.org>.
 
1603
_ACEOF
 
1604
ac_status=$?
 
1605
fi
 
1606
 
 
1607
if test "$ac_init_help" = "recursive"; then
 
1608
  # If there are subdirs, report their specific --help.
 
1609
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
1610
    test -d "$ac_dir" ||
 
1611
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1612
      continue
 
1613
    ac_builddir=.
 
1614
 
 
1615
case "$ac_dir" in
 
1616
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1617
*)
 
1618
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
1619
  # A ".." for each directory in $ac_dir_suffix.
 
1620
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
1621
  case $ac_top_builddir_sub in
 
1622
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1623
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1624
  esac ;;
 
1625
esac
 
1626
ac_abs_top_builddir=$ac_pwd
 
1627
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1628
# for backward compatibility:
 
1629
ac_top_builddir=$ac_top_build_prefix
 
1630
 
 
1631
case $srcdir in
 
1632
  .)  # We are building in place.
 
1633
    ac_srcdir=.
 
1634
    ac_top_srcdir=$ac_top_builddir_sub
 
1635
    ac_abs_top_srcdir=$ac_pwd ;;
 
1636
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
1637
    ac_srcdir=$srcdir$ac_dir_suffix;
 
1638
    ac_top_srcdir=$srcdir
 
1639
    ac_abs_top_srcdir=$srcdir ;;
 
1640
  *) # Relative name.
 
1641
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1642
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1643
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1644
esac
 
1645
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1646
 
 
1647
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1648
    # Check for guested configure.
 
1649
    if test -f "$ac_srcdir/configure.gnu"; then
 
1650
      echo &&
 
1651
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1652
    elif test -f "$ac_srcdir/configure"; then
 
1653
      echo &&
 
1654
      $SHELL "$ac_srcdir/configure" --help=recursive
 
1655
    else
 
1656
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1657
    fi || ac_status=$?
 
1658
    cd "$ac_pwd" || { ac_status=$?; break; }
 
1659
  done
 
1660
fi
 
1661
 
 
1662
test -n "$ac_init_help" && exit $ac_status
 
1663
if $ac_init_version; then
 
1664
  cat <<\_ACEOF
 
1665
Dovecot Sieve configure 0.1.13
 
1666
generated by GNU Autoconf 2.63
 
1667
 
 
1668
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1669
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
1670
This configure script is free software; the Free Software Foundation
 
1671
gives unlimited permission to copy, distribute and modify it.
 
1672
_ACEOF
 
1673
  exit
 
1674
fi
 
1675
cat >config.log <<_ACEOF
 
1676
This file contains any messages produced by compilers while
 
1677
running configure, to aid debugging if configure makes a mistake.
 
1678
 
 
1679
It was created by Dovecot Sieve $as_me 0.1.13, which was
 
1680
generated by GNU Autoconf 2.63.  Invocation command line was
 
1681
 
 
1682
  $ $0 $@
 
1683
 
 
1684
_ACEOF
 
1685
exec 5>>config.log
 
1686
{
 
1687
cat <<_ASUNAME
 
1688
## --------- ##
 
1689
## Platform. ##
 
1690
## --------- ##
 
1691
 
 
1692
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 
1693
uname -m = `(uname -m) 2>/dev/null || echo unknown`
 
1694
uname -r = `(uname -r) 2>/dev/null || echo unknown`
 
1695
uname -s = `(uname -s) 2>/dev/null || echo unknown`
 
1696
uname -v = `(uname -v) 2>/dev/null || echo unknown`
 
1697
 
 
1698
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 
1699
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 
1700
 
 
1701
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 
1702
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 
1703
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 
1704
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 
1705
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 
1706
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 
1707
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 
1708
 
 
1709
_ASUNAME
 
1710
 
 
1711
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1712
for as_dir in $PATH
 
1713
do
 
1714
  IFS=$as_save_IFS
 
1715
  test -z "$as_dir" && as_dir=.
 
1716
  $as_echo "PATH: $as_dir"
 
1717
done
 
1718
IFS=$as_save_IFS
 
1719
 
 
1720
} >&5
 
1721
 
 
1722
cat >&5 <<_ACEOF
 
1723
 
 
1724
 
 
1725
## ----------- ##
 
1726
## Core tests. ##
 
1727
## ----------- ##
 
1728
 
 
1729
_ACEOF
 
1730
 
 
1731
 
 
1732
# Keep a trace of the command line.
 
1733
# Strip out --no-create and --no-recursion so they do not pile up.
 
1734
# Strip out --silent because we don't want to record it for future runs.
 
1735
# Also quote any args containing shell meta-characters.
 
1736
# Make two passes to allow for proper duplicate-argument suppression.
 
1737
ac_configure_args=
 
1738
ac_configure_args0=
 
1739
ac_configure_args1=
 
1740
ac_must_keep_next=false
 
1741
for ac_pass in 1 2
 
1742
do
 
1743
  for ac_arg
 
1744
  do
 
1745
    case $ac_arg in
 
1746
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
1747
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1748
    | -silent | --silent | --silen | --sile | --sil)
 
1749
      continue ;;
 
1750
    *\'*)
 
1751
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1752
    esac
 
1753
    case $ac_pass in
 
1754
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
1755
    2)
 
1756
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
1757
      if test $ac_must_keep_next = true; then
 
1758
        ac_must_keep_next=false # Got value, back to normal.
 
1759
      else
 
1760
        case $ac_arg in
 
1761
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
1762
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
1763
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
1764
          | -with-* | --with-* | -without-* | --without-* | --x)
 
1765
            case "$ac_configure_args0 " in
 
1766
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
1767
            esac
 
1768
            ;;
 
1769
          -* ) ac_must_keep_next=true ;;
 
1770
        esac
 
1771
      fi
 
1772
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
1773
      ;;
 
1774
    esac
 
1775
  done
 
1776
done
 
1777
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
 
1778
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
1779
 
 
1780
# When interrupted or exit'd, cleanup temporary files, and complete
 
1781
# config.log.  We remove comments because anyway the quotes in there
 
1782
# would cause problems or look ugly.
 
1783
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1784
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 
1785
trap 'exit_status=$?
 
1786
  # Save into config.log some information that might help in debugging.
 
1787
  {
 
1788
    echo
 
1789
 
 
1790
    cat <<\_ASBOX
 
1791
## ---------------- ##
 
1792
## Cache variables. ##
 
1793
## ---------------- ##
 
1794
_ASBOX
 
1795
    echo
 
1796
    # The following way of writing the cache mishandles newlines in values,
 
1797
(
 
1798
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1799
    eval ac_val=\$$ac_var
 
1800
    case $ac_val in #(
 
1801
    *${as_nl}*)
 
1802
      case $ac_var in #(
 
1803
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
1804
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
1805
      esac
 
1806
      case $ac_var in #(
 
1807
      _ | IFS | as_nl) ;; #(
 
1808
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
1809
      *) $as_unset $ac_var ;;
 
1810
      esac ;;
 
1811
    esac
 
1812
  done
 
1813
  (set) 2>&1 |
 
1814
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1815
    *${as_nl}ac_space=\ *)
 
1816
      sed -n \
 
1817
        "s/'\''/'\''\\\\'\'''\''/g;
 
1818
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1819
      ;; #(
 
1820
    *)
 
1821
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
1822
      ;;
 
1823
    esac |
 
1824
    sort
 
1825
)
 
1826
    echo
 
1827
 
 
1828
    cat <<\_ASBOX
 
1829
## ----------------- ##
 
1830
## Output variables. ##
 
1831
## ----------------- ##
 
1832
_ASBOX
 
1833
    echo
 
1834
    for ac_var in $ac_subst_vars
 
1835
    do
 
1836
      eval ac_val=\$$ac_var
 
1837
      case $ac_val in
 
1838
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1839
      esac
 
1840
      $as_echo "$ac_var='\''$ac_val'\''"
 
1841
    done | sort
 
1842
    echo
 
1843
 
 
1844
    if test -n "$ac_subst_files"; then
 
1845
      cat <<\_ASBOX
 
1846
## ------------------- ##
 
1847
## File substitutions. ##
 
1848
## ------------------- ##
 
1849
_ASBOX
 
1850
      echo
 
1851
      for ac_var in $ac_subst_files
 
1852
      do
 
1853
        eval ac_val=\$$ac_var
 
1854
        case $ac_val in
 
1855
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1856
        esac
 
1857
        $as_echo "$ac_var='\''$ac_val'\''"
 
1858
      done | sort
 
1859
      echo
 
1860
    fi
 
1861
 
 
1862
    if test -s confdefs.h; then
 
1863
      cat <<\_ASBOX
 
1864
## ----------- ##
 
1865
## confdefs.h. ##
 
1866
## ----------- ##
 
1867
_ASBOX
 
1868
      echo
 
1869
      cat confdefs.h
 
1870
      echo
 
1871
    fi
 
1872
    test "$ac_signal" != 0 &&
 
1873
      $as_echo "$as_me: caught signal $ac_signal"
 
1874
    $as_echo "$as_me: exit $exit_status"
 
1875
  } >&5
 
1876
  rm -f core *.core core.conftest.* &&
 
1877
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 
1878
    exit $exit_status
 
1879
' 0
 
1880
for ac_signal in 1 2 13 15; do
 
1881
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
1882
done
 
1883
ac_signal=0
 
1884
 
 
1885
# confdefs.h avoids OS command line length limits that DEFS can exceed.
 
1886
rm -f -r conftest* confdefs.h
 
1887
 
 
1888
# Predefined preprocessor variables.
 
1889
 
 
1890
cat >>confdefs.h <<_ACEOF
 
1891
#define PACKAGE_NAME "$PACKAGE_NAME"
 
1892
_ACEOF
 
1893
 
 
1894
 
 
1895
cat >>confdefs.h <<_ACEOF
 
1896
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
1897
_ACEOF
 
1898
 
 
1899
 
 
1900
cat >>confdefs.h <<_ACEOF
 
1901
#define PACKAGE_VERSION "$PACKAGE_VERSION"
 
1902
_ACEOF
 
1903
 
 
1904
 
 
1905
cat >>confdefs.h <<_ACEOF
 
1906
#define PACKAGE_STRING "$PACKAGE_STRING"
 
1907
_ACEOF
 
1908
 
 
1909
 
 
1910
cat >>confdefs.h <<_ACEOF
 
1911
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
1912
_ACEOF
 
1913
 
 
1914
 
 
1915
# Let the site file select an alternate cache file if it wants to.
 
1916
# Prefer an explicitly selected file to automatically selected ones.
 
1917
ac_site_file1=NONE
 
1918
ac_site_file2=NONE
 
1919
if test -n "$CONFIG_SITE"; then
 
1920
  ac_site_file1=$CONFIG_SITE
 
1921
elif test "x$prefix" != xNONE; then
 
1922
  ac_site_file1=$prefix/share/config.site
 
1923
  ac_site_file2=$prefix/etc/config.site
 
1924
else
 
1925
  ac_site_file1=$ac_default_prefix/share/config.site
 
1926
  ac_site_file2=$ac_default_prefix/etc/config.site
 
1927
fi
 
1928
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 
1929
do
 
1930
  test "x$ac_site_file" = xNONE && continue
 
1931
  if test -r "$ac_site_file"; then
 
1932
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
1933
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
 
1934
    sed 's/^/| /' "$ac_site_file" >&5
 
1935
    . "$ac_site_file"
 
1936
  fi
 
1937
done
 
1938
 
 
1939
if test -r "$cache_file"; then
 
1940
  # Some versions of bash will fail to source /dev/null (special
 
1941
  # files actually), so we avoid doing that.
 
1942
  if test -f "$cache_file"; then
 
1943
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
1944
$as_echo "$as_me: loading cache $cache_file" >&6;}
 
1945
    case $cache_file in
 
1946
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
1947
      *)                      . "./$cache_file";;
 
1948
    esac
 
1949
  fi
 
1950
else
 
1951
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
1952
$as_echo "$as_me: creating cache $cache_file" >&6;}
 
1953
  >$cache_file
 
1954
fi
 
1955
 
 
1956
# Check that the precious variables saved in the cache have kept the same
 
1957
# value.
 
1958
ac_cache_corrupted=false
 
1959
for ac_var in $ac_precious_vars; do
 
1960
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 
1961
  eval ac_new_set=\$ac_env_${ac_var}_set
 
1962
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
1963
  eval ac_new_val=\$ac_env_${ac_var}_value
 
1964
  case $ac_old_set,$ac_new_set in
 
1965
    set,)
 
1966
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
1967
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
1968
      ac_cache_corrupted=: ;;
 
1969
    ,set)
 
1970
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
1971
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
1972
      ac_cache_corrupted=: ;;
 
1973
    ,);;
 
1974
    *)
 
1975
      if test "x$ac_old_val" != "x$ac_new_val"; then
 
1976
        # differences in whitespace do not lead to failure.
 
1977
        ac_old_val_w=`echo x $ac_old_val`
 
1978
        ac_new_val_w=`echo x $ac_new_val`
 
1979
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
1980
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1981
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
1982
          ac_cache_corrupted=:
 
1983
        else
 
1984
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
1985
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
1986
          eval $ac_var=\$ac_old_val
 
1987
        fi
 
1988
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
1989
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
1990
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
1991
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 
1992
      fi;;
 
1993
  esac
 
1994
  # Pass precious variables to config.status.
 
1995
  if test "$ac_new_set" = set; then
 
1996
    case $ac_new_val in
 
1997
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1998
    *) ac_arg=$ac_var=$ac_new_val ;;
 
1999
    esac
 
2000
    case " $ac_configure_args " in
 
2001
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 
2002
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2003
    esac
 
2004
  fi
 
2005
done
 
2006
if $ac_cache_corrupted; then
 
2007
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2008
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2009
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2010
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2011
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 
2012
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 
2013
   { (exit 1); exit 1; }; }
 
2014
fi
 
2015
 
 
2016
 
 
2017
 
 
2018
 
 
2019
 
 
2020
 
 
2021
 
 
2022
 
 
2023
 
 
2024
 
 
2025
 
 
2026
 
 
2027
 
 
2028
 
 
2029
 
 
2030
 
 
2031
 
 
2032
 
 
2033
 
 
2034
 
 
2035
 
 
2036
 
 
2037
 
 
2038
 
 
2039
 
 
2040
ac_ext=c
 
2041
ac_cpp='$CPP $CPPFLAGS'
 
2042
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2043
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2044
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2045
 
 
2046
 
 
2047
 
 
2048
 
 
2049
# Autoheader is not needed and does more harm than good for this package. However, it is
 
2050
# tightly integrated in autoconf/automake and therefore it is difficult not to use it. As
 
2051
# a workaround we give autoheader a dummy config header to chew on and we handle the
 
2052
# real config header ourselves.
 
2053
ac_config_headers="$ac_config_headers dummy-config.h dsieve-config.h"
 
2054
 
 
2055
 
 
2056
 
 
2057
cat >>confdefs.h <<_ACEOF
 
2058
#define SIEVE_NAME "$PACKAGE_NAME"
 
2059
_ACEOF
 
2060
 
 
2061
 
 
2062
cat >>confdefs.h <<_ACEOF
 
2063
#define SIEVE_VERSION "$PACKAGE_VERSION"
 
2064
_ACEOF
 
2065
 
 
2066
 
 
2067
am__api_version='1.10'
 
2068
 
 
2069
ac_aux_dir=
 
2070
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
2071
  if test -f "$ac_dir/install-sh"; then
 
2072
    ac_aux_dir=$ac_dir
 
2073
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
2074
    break
 
2075
  elif test -f "$ac_dir/install.sh"; then
 
2076
    ac_aux_dir=$ac_dir
 
2077
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
2078
    break
 
2079
  elif test -f "$ac_dir/shtool"; then
 
2080
    ac_aux_dir=$ac_dir
 
2081
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
2082
    break
 
2083
  fi
 
2084
done
 
2085
if test -z "$ac_aux_dir"; then
 
2086
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
2087
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
 
2088
   { (exit 1); exit 1; }; }
 
2089
fi
 
2090
 
 
2091
# These three variables are undocumented and unsupported,
 
2092
# and are intended to be withdrawn in a future Autoconf release.
 
2093
# They can cause serious problems if a builder's source tree is in a directory
 
2094
# whose full name contains unusual characters.
 
2095
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2096
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2097
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2098
 
 
2099
 
 
2100
# Find a good install program.  We prefer a C program (faster),
 
2101
# so one script is as good as another.  But avoid the broken or
 
2102
# incompatible versions:
 
2103
# SysV /etc/install, /usr/sbin/install
 
2104
# SunOS /usr/etc/install
 
2105
# IRIX /sbin/install
 
2106
# AIX /bin/install
 
2107
# AmigaOS /C/install, which installs bootblocks on floppy discs
 
2108
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
2109
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
2110
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
2111
# OS/2's system install, which has a completely different semantic
 
2112
# ./install, which can be erroneously created by make from ./install.sh.
 
2113
# Reject install programs that cannot install multiple files.
 
2114
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2115
$as_echo_n "checking for a BSD-compatible install... " >&6; }
 
2116
if test -z "$INSTALL"; then
 
2117
if test "${ac_cv_path_install+set}" = set; then
 
2118
  $as_echo_n "(cached) " >&6
 
2119
else
 
2120
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2121
for as_dir in $PATH
 
2122
do
 
2123
  IFS=$as_save_IFS
 
2124
  test -z "$as_dir" && as_dir=.
 
2125
  # Account for people who put trailing slashes in PATH elements.
 
2126
case $as_dir/ in
 
2127
  ./ | .// | /cC/* | \
 
2128
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
2129
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
2130
  /usr/ucb/* ) ;;
 
2131
  *)
 
2132
    # OSF1 and SCO ODT 3.0 have their own names for install.
 
2133
    # Don't use installbsd from OSF since it installs stuff as root
 
2134
    # by default.
 
2135
    for ac_prog in ginstall scoinst install; do
 
2136
      for ac_exec_ext in '' $ac_executable_extensions; do
 
2137
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
2138
          if test $ac_prog = install &&
 
2139
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2140
            # AIX install.  It has an incompatible calling convention.
 
2141
            :
 
2142
          elif test $ac_prog = install &&
 
2143
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2144
            # program-specific install script used by HP pwplus--don't use.
 
2145
            :
 
2146
          else
 
2147
            rm -rf conftest.one conftest.two conftest.dir
 
2148
            echo one > conftest.one
 
2149
            echo two > conftest.two
 
2150
            mkdir conftest.dir
 
2151
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2152
              test -s conftest.one && test -s conftest.two &&
 
2153
              test -s conftest.dir/conftest.one &&
 
2154
              test -s conftest.dir/conftest.two
 
2155
            then
 
2156
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2157
              break 3
 
2158
            fi
 
2159
          fi
 
2160
        fi
 
2161
      done
 
2162
    done
 
2163
    ;;
 
2164
esac
 
2165
 
 
2166
done
 
2167
IFS=$as_save_IFS
 
2168
 
 
2169
rm -rf conftest.one conftest.two conftest.dir
 
2170
 
 
2171
fi
 
2172
  if test "${ac_cv_path_install+set}" = set; then
 
2173
    INSTALL=$ac_cv_path_install
 
2174
  else
 
2175
    # As a last resort, use the slow shell script.  Don't cache a
 
2176
    # value for INSTALL within a source directory, because that will
 
2177
    # break other packages using the cache if that directory is
 
2178
    # removed, or if the value is a relative name.
 
2179
    INSTALL=$ac_install_sh
 
2180
  fi
 
2181
fi
 
2182
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2183
$as_echo "$INSTALL" >&6; }
 
2184
 
 
2185
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
2186
# It thinks the first close brace ends the variable substitution.
 
2187
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
2188
 
 
2189
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
2190
 
 
2191
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
2192
 
 
2193
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2194
$as_echo_n "checking whether build environment is sane... " >&6; }
 
2195
# Just in case
 
2196
sleep 1
 
2197
echo timestamp > conftest.file
 
2198
# Do `set' in a subshell so we don't clobber the current shell's
 
2199
# arguments.  Must try -L first in case configure is actually a
 
2200
# symlink; some systems play weird games with the mod time of symlinks
 
2201
# (eg FreeBSD returns the mod time of the symlink's containing
 
2202
# directory).
 
2203
if (
 
2204
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
2205
   if test "$*" = "X"; then
 
2206
      # -L didn't work.
 
2207
      set X `ls -t $srcdir/configure conftest.file`
 
2208
   fi
 
2209
   rm -f conftest.file
 
2210
   if test "$*" != "X $srcdir/configure conftest.file" \
 
2211
      && test "$*" != "X conftest.file $srcdir/configure"; then
 
2212
 
 
2213
      # If neither matched, then we have a broken ls.  This can happen
 
2214
      # if, for instance, CONFIG_SHELL is bash and it inherits a
 
2215
      # broken ls alias from the environment.  This has actually
 
2216
      # happened.  Such a system could not be considered "sane".
 
2217
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 
2218
alias in your environment" >&5
 
2219
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 
2220
alias in your environment" >&2;}
 
2221
   { (exit 1); exit 1; }; }
 
2222
   fi
 
2223
 
 
2224
   test "$2" = conftest.file
 
2225
   )
 
2226
then
 
2227
   # Ok.
 
2228
   :
 
2229
else
 
2230
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 
2231
Check your system clock" >&5
 
2232
$as_echo "$as_me: error: newly created file is older than distributed files!
 
2233
Check your system clock" >&2;}
 
2234
   { (exit 1); exit 1; }; }
 
2235
fi
 
2236
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2237
$as_echo "yes" >&6; }
 
2238
test "$program_prefix" != NONE &&
 
2239
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
 
2240
# Use a double $ so make ignores it.
 
2241
test "$program_suffix" != NONE &&
 
2242
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 
2243
# Double any \ or $.
 
2244
# By default was `s,x,x', remove it if useless.
 
2245
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2246
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 
2247
 
 
2248
# expand $ac_aux_dir to an absolute path
 
2249
am_aux_dir=`cd $ac_aux_dir && pwd`
 
2250
 
 
2251
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
2252
# Use eval to expand $SHELL
 
2253
if eval "$MISSING --run true"; then
 
2254
  am_missing_run="$MISSING --run "
 
2255
else
 
2256
  am_missing_run=
 
2257
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2258
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2259
fi
 
2260
 
 
2261
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2262
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 
2263
if test -z "$MKDIR_P"; then
 
2264
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2265
  $as_echo_n "(cached) " >&6
 
2266
else
 
2267
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2268
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2269
do
 
2270
  IFS=$as_save_IFS
 
2271
  test -z "$as_dir" && as_dir=.
 
2272
  for ac_prog in mkdir gmkdir; do
 
2273
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2274
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
2275
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
2276
             'mkdir (GNU coreutils) '* | \
 
2277
             'mkdir (coreutils) '* | \
 
2278
             'mkdir (fileutils) '4.1*)
 
2279
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
2280
               break 3;;
 
2281
           esac
 
2282
         done
 
2283
       done
 
2284
done
 
2285
IFS=$as_save_IFS
 
2286
 
 
2287
fi
 
2288
 
 
2289
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2290
    MKDIR_P="$ac_cv_path_mkdir -p"
 
2291
  else
 
2292
    # As a last resort, use the slow shell script.  Don't cache a
 
2293
    # value for MKDIR_P within a source directory, because that will
 
2294
    # break other packages using the cache if that directory is
 
2295
    # removed, or if the value is a relative name.
 
2296
    test -d ./--version && rmdir ./--version
 
2297
    MKDIR_P="$ac_install_sh -d"
 
2298
  fi
 
2299
fi
 
2300
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2301
$as_echo "$MKDIR_P" >&6; }
 
2302
 
 
2303
mkdir_p="$MKDIR_P"
 
2304
case $mkdir_p in
 
2305
  [\\/$]* | ?:[\\/]*) ;;
 
2306
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
2307
esac
 
2308
 
 
2309
for ac_prog in gawk mawk nawk awk
 
2310
do
 
2311
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
2312
set dummy $ac_prog; ac_word=$2
 
2313
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2314
$as_echo_n "checking for $ac_word... " >&6; }
 
2315
if test "${ac_cv_prog_AWK+set}" = set; then
 
2316
  $as_echo_n "(cached) " >&6
 
2317
else
 
2318
  if test -n "$AWK"; then
 
2319
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
2320
else
 
2321
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2322
for as_dir in $PATH
 
2323
do
 
2324
  IFS=$as_save_IFS
 
2325
  test -z "$as_dir" && as_dir=.
 
2326
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2327
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2328
    ac_cv_prog_AWK="$ac_prog"
 
2329
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2330
    break 2
 
2331
  fi
 
2332
done
 
2333
done
 
2334
IFS=$as_save_IFS
 
2335
 
 
2336
fi
 
2337
fi
 
2338
AWK=$ac_cv_prog_AWK
 
2339
if test -n "$AWK"; then
 
2340
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2341
$as_echo "$AWK" >&6; }
 
2342
else
 
2343
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2344
$as_echo "no" >&6; }
 
2345
fi
 
2346
 
 
2347
 
 
2348
  test -n "$AWK" && break
 
2349
done
 
2350
 
 
2351
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2352
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2353
set x ${MAKE-make}
 
2354
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2355
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
2356
  $as_echo_n "(cached) " >&6
 
2357
else
 
2358
  cat >conftest.make <<\_ACEOF
 
2359
SHELL = /bin/sh
 
2360
all:
 
2361
        @echo '@@@%%%=$(MAKE)=@@@%%%'
 
2362
_ACEOF
 
2363
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
2364
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2365
  *@@@%%%=?*=@@@%%%*)
 
2366
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2367
  *)
 
2368
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2369
esac
 
2370
rm -f conftest.make
 
2371
fi
 
2372
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2373
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2374
$as_echo "yes" >&6; }
 
2375
  SET_MAKE=
 
2376
else
 
2377
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2378
$as_echo "no" >&6; }
 
2379
  SET_MAKE="MAKE=${MAKE-make}"
 
2380
fi
 
2381
 
 
2382
rm -rf .tst 2>/dev/null
 
2383
mkdir .tst 2>/dev/null
 
2384
if test -d .tst; then
 
2385
  am__leading_dot=.
 
2386
else
 
2387
  am__leading_dot=_
 
2388
fi
 
2389
rmdir .tst 2>/dev/null
 
2390
 
 
2391
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
2392
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
2393
  # is not polluted with repeated "-I."
 
2394
  am__isrc=' -I$(srcdir)'
 
2395
  # test to see if srcdir already configured
 
2396
  if test -f $srcdir/config.status; then
 
2397
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
2398
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 
2399
   { (exit 1); exit 1; }; }
 
2400
  fi
 
2401
fi
 
2402
 
 
2403
# test whether we have cygpath
 
2404
if test -z "$CYGPATH_W"; then
 
2405
  if (cygpath --version) >/dev/null 2>/dev/null; then
 
2406
    CYGPATH_W='cygpath -w'
 
2407
  else
 
2408
    CYGPATH_W=echo
 
2409
  fi
 
2410
fi
 
2411
 
 
2412
 
 
2413
# Define the identity of the package.
 
2414
 PACKAGE='dovecot-1.2-sieve'
 
2415
 VERSION='0.1.13'
 
2416
 
 
2417
 
 
2418
# Some tools Automake needs.
 
2419
 
 
2420
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 
2421
 
 
2422
 
 
2423
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 
2424
 
 
2425
 
 
2426
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 
2427
 
 
2428
 
 
2429
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 
2430
 
 
2431
 
 
2432
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
2433
 
 
2434
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
 
2435
 
 
2436
# Installed binaries are usually stripped using `strip' when the user
 
2437
# run `make install-strip'.  However `strip' might not be the right
 
2438
# tool to use in cross-compilation environments, therefore Automake
 
2439
# will honor the `STRIP' environment variable to overrule this program.
 
2440
if test "$cross_compiling" != no; then
 
2441
  if test -n "$ac_tool_prefix"; then
 
2442
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2443
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2444
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2445
$as_echo_n "checking for $ac_word... " >&6; }
 
2446
if test "${ac_cv_prog_STRIP+set}" = set; then
 
2447
  $as_echo_n "(cached) " >&6
 
2448
else
 
2449
  if test -n "$STRIP"; then
 
2450
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2451
else
 
2452
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2453
for as_dir in $PATH
 
2454
do
 
2455
  IFS=$as_save_IFS
 
2456
  test -z "$as_dir" && as_dir=.
 
2457
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2458
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2459
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2460
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2461
    break 2
 
2462
  fi
 
2463
done
 
2464
done
 
2465
IFS=$as_save_IFS
 
2466
 
 
2467
fi
 
2468
fi
 
2469
STRIP=$ac_cv_prog_STRIP
 
2470
if test -n "$STRIP"; then
 
2471
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
2472
$as_echo "$STRIP" >&6; }
 
2473
else
 
2474
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2475
$as_echo "no" >&6; }
 
2476
fi
 
2477
 
 
2478
 
 
2479
fi
 
2480
if test -z "$ac_cv_prog_STRIP"; then
 
2481
  ac_ct_STRIP=$STRIP
 
2482
  # Extract the first word of "strip", so it can be a program name with args.
 
2483
set dummy strip; ac_word=$2
 
2484
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2485
$as_echo_n "checking for $ac_word... " >&6; }
 
2486
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
2487
  $as_echo_n "(cached) " >&6
 
2488
else
 
2489
  if test -n "$ac_ct_STRIP"; then
 
2490
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2491
else
 
2492
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2493
for as_dir in $PATH
 
2494
do
 
2495
  IFS=$as_save_IFS
 
2496
  test -z "$as_dir" && as_dir=.
 
2497
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2498
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2499
    ac_cv_prog_ac_ct_STRIP="strip"
 
2500
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2501
    break 2
 
2502
  fi
 
2503
done
 
2504
done
 
2505
IFS=$as_save_IFS
 
2506
 
 
2507
fi
 
2508
fi
 
2509
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2510
if test -n "$ac_ct_STRIP"; then
 
2511
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2512
$as_echo "$ac_ct_STRIP" >&6; }
 
2513
else
 
2514
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2515
$as_echo "no" >&6; }
 
2516
fi
 
2517
 
 
2518
  if test "x$ac_ct_STRIP" = x; then
 
2519
    STRIP=":"
 
2520
  else
 
2521
    case $cross_compiling:$ac_tool_warned in
 
2522
yes:)
 
2523
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2524
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2525
ac_tool_warned=yes ;;
 
2526
esac
 
2527
    STRIP=$ac_ct_STRIP
 
2528
  fi
 
2529
else
 
2530
  STRIP="$ac_cv_prog_STRIP"
 
2531
fi
 
2532
 
 
2533
fi
 
2534
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2535
 
 
2536
# We need awk for the "check" target.  The system "awk" is bad on
 
2537
# some platforms.
 
2538
# Always define AMTAR for backward compatibility.
 
2539
 
 
2540
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
2541
 
 
2542
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
2543
 
 
2544
 
 
2545
 
 
2546
 
 
2547
 
 
2548
 
 
2549
{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2550
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
 
2551
    # Check whether --enable-maintainer-mode was given.
 
2552
if test "${enable_maintainer_mode+set}" = set; then
 
2553
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
 
2554
else
 
2555
  USE_MAINTAINER_MODE=no
 
2556
fi
 
2557
 
 
2558
  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
2559
$as_echo "$USE_MAINTAINER_MODE" >&6; }
 
2560
   if test $USE_MAINTAINER_MODE = yes; then
 
2561
  MAINTAINER_MODE_TRUE=
 
2562
  MAINTAINER_MODE_FALSE='#'
 
2563
else
 
2564
  MAINTAINER_MODE_TRUE='#'
 
2565
  MAINTAINER_MODE_FALSE=
 
2566
fi
 
2567
 
 
2568
  MAINT=$MAINTAINER_MODE_TRUE
 
2569
 
 
2570
 
 
2571
 
 
2572
ac_ext=c
 
2573
ac_cpp='$CPP $CPPFLAGS'
 
2574
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2575
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2576
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2577
if test -n "$ac_tool_prefix"; then
 
2578
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
2579
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
2580
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2581
$as_echo_n "checking for $ac_word... " >&6; }
 
2582
if test "${ac_cv_prog_CC+set}" = set; then
 
2583
  $as_echo_n "(cached) " >&6
 
2584
else
 
2585
  if test -n "$CC"; then
 
2586
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
2587
else
 
2588
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2589
for as_dir in $PATH
 
2590
do
 
2591
  IFS=$as_save_IFS
 
2592
  test -z "$as_dir" && as_dir=.
 
2593
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2594
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2595
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
2596
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2597
    break 2
 
2598
  fi
 
2599
done
 
2600
done
 
2601
IFS=$as_save_IFS
 
2602
 
 
2603
fi
 
2604
fi
 
2605
CC=$ac_cv_prog_CC
 
2606
if test -n "$CC"; then
 
2607
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2608
$as_echo "$CC" >&6; }
 
2609
else
 
2610
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2611
$as_echo "no" >&6; }
 
2612
fi
 
2613
 
 
2614
 
 
2615
fi
 
2616
if test -z "$ac_cv_prog_CC"; then
 
2617
  ac_ct_CC=$CC
 
2618
  # Extract the first word of "gcc", so it can be a program name with args.
 
2619
set dummy gcc; ac_word=$2
 
2620
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2621
$as_echo_n "checking for $ac_word... " >&6; }
 
2622
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
2623
  $as_echo_n "(cached) " >&6
 
2624
else
 
2625
  if test -n "$ac_ct_CC"; then
 
2626
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
2627
else
 
2628
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2629
for as_dir in $PATH
 
2630
do
 
2631
  IFS=$as_save_IFS
 
2632
  test -z "$as_dir" && as_dir=.
 
2633
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2634
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2635
    ac_cv_prog_ac_ct_CC="gcc"
 
2636
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2637
    break 2
 
2638
  fi
 
2639
done
 
2640
done
 
2641
IFS=$as_save_IFS
 
2642
 
 
2643
fi
 
2644
fi
 
2645
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
2646
if test -n "$ac_ct_CC"; then
 
2647
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2648
$as_echo "$ac_ct_CC" >&6; }
 
2649
else
 
2650
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2651
$as_echo "no" >&6; }
 
2652
fi
 
2653
 
 
2654
  if test "x$ac_ct_CC" = x; then
 
2655
    CC=""
 
2656
  else
 
2657
    case $cross_compiling:$ac_tool_warned in
 
2658
yes:)
 
2659
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2660
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2661
ac_tool_warned=yes ;;
 
2662
esac
 
2663
    CC=$ac_ct_CC
 
2664
  fi
 
2665
else
 
2666
  CC="$ac_cv_prog_CC"
 
2667
fi
 
2668
 
 
2669
if test -z "$CC"; then
 
2670
          if test -n "$ac_tool_prefix"; then
 
2671
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2672
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
2673
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2674
$as_echo_n "checking for $ac_word... " >&6; }
 
2675
if test "${ac_cv_prog_CC+set}" = set; then
 
2676
  $as_echo_n "(cached) " >&6
 
2677
else
 
2678
  if test -n "$CC"; then
 
2679
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
2680
else
 
2681
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2682
for as_dir in $PATH
 
2683
do
 
2684
  IFS=$as_save_IFS
 
2685
  test -z "$as_dir" && as_dir=.
 
2686
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2687
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2688
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
2689
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2690
    break 2
 
2691
  fi
 
2692
done
 
2693
done
 
2694
IFS=$as_save_IFS
 
2695
 
 
2696
fi
 
2697
fi
 
2698
CC=$ac_cv_prog_CC
 
2699
if test -n "$CC"; then
 
2700
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2701
$as_echo "$CC" >&6; }
 
2702
else
 
2703
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2704
$as_echo "no" >&6; }
 
2705
fi
 
2706
 
 
2707
 
 
2708
  fi
 
2709
fi
 
2710
if test -z "$CC"; then
 
2711
  # Extract the first word of "cc", so it can be a program name with args.
 
2712
set dummy cc; ac_word=$2
 
2713
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2714
$as_echo_n "checking for $ac_word... " >&6; }
 
2715
if test "${ac_cv_prog_CC+set}" = set; then
 
2716
  $as_echo_n "(cached) " >&6
 
2717
else
 
2718
  if test -n "$CC"; then
 
2719
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
2720
else
 
2721
  ac_prog_rejected=no
 
2722
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2723
for as_dir in $PATH
 
2724
do
 
2725
  IFS=$as_save_IFS
 
2726
  test -z "$as_dir" && as_dir=.
 
2727
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2728
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2729
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
2730
       ac_prog_rejected=yes
 
2731
       continue
 
2732
     fi
 
2733
    ac_cv_prog_CC="cc"
 
2734
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2735
    break 2
 
2736
  fi
 
2737
done
 
2738
done
 
2739
IFS=$as_save_IFS
 
2740
 
 
2741
if test $ac_prog_rejected = yes; then
 
2742
  # We found a bogon in the path, so make sure we never use it.
 
2743
  set dummy $ac_cv_prog_CC
 
2744
  shift
 
2745
  if test $# != 0; then
 
2746
    # We chose a different compiler from the bogus one.
 
2747
    # However, it has the same basename, so the bogon will be chosen
 
2748
    # first if we set CC to just the basename; use the full file name.
 
2749
    shift
 
2750
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
2751
  fi
 
2752
fi
 
2753
fi
 
2754
fi
 
2755
CC=$ac_cv_prog_CC
 
2756
if test -n "$CC"; then
 
2757
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2758
$as_echo "$CC" >&6; }
 
2759
else
 
2760
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2761
$as_echo "no" >&6; }
 
2762
fi
 
2763
 
 
2764
 
 
2765
fi
 
2766
if test -z "$CC"; then
 
2767
  if test -n "$ac_tool_prefix"; then
 
2768
  for ac_prog in cl.exe
 
2769
  do
 
2770
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
2771
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
2772
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2773
$as_echo_n "checking for $ac_word... " >&6; }
 
2774
if test "${ac_cv_prog_CC+set}" = set; then
 
2775
  $as_echo_n "(cached) " >&6
 
2776
else
 
2777
  if test -n "$CC"; then
 
2778
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
2779
else
 
2780
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2781
for as_dir in $PATH
 
2782
do
 
2783
  IFS=$as_save_IFS
 
2784
  test -z "$as_dir" && as_dir=.
 
2785
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2786
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2787
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
2788
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2789
    break 2
 
2790
  fi
 
2791
done
 
2792
done
 
2793
IFS=$as_save_IFS
 
2794
 
 
2795
fi
 
2796
fi
 
2797
CC=$ac_cv_prog_CC
 
2798
if test -n "$CC"; then
 
2799
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2800
$as_echo "$CC" >&6; }
 
2801
else
 
2802
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2803
$as_echo "no" >&6; }
 
2804
fi
 
2805
 
 
2806
 
 
2807
    test -n "$CC" && break
 
2808
  done
 
2809
fi
 
2810
if test -z "$CC"; then
 
2811
  ac_ct_CC=$CC
 
2812
  for ac_prog in cl.exe
 
2813
do
 
2814
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
2815
set dummy $ac_prog; ac_word=$2
 
2816
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2817
$as_echo_n "checking for $ac_word... " >&6; }
 
2818
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
2819
  $as_echo_n "(cached) " >&6
 
2820
else
 
2821
  if test -n "$ac_ct_CC"; then
 
2822
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
2823
else
 
2824
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2825
for as_dir in $PATH
 
2826
do
 
2827
  IFS=$as_save_IFS
 
2828
  test -z "$as_dir" && as_dir=.
 
2829
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2830
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2831
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
2832
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2833
    break 2
 
2834
  fi
 
2835
done
 
2836
done
 
2837
IFS=$as_save_IFS
 
2838
 
 
2839
fi
 
2840
fi
 
2841
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
2842
if test -n "$ac_ct_CC"; then
 
2843
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2844
$as_echo "$ac_ct_CC" >&6; }
 
2845
else
 
2846
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2847
$as_echo "no" >&6; }
 
2848
fi
 
2849
 
 
2850
 
 
2851
  test -n "$ac_ct_CC" && break
 
2852
done
 
2853
 
 
2854
  if test "x$ac_ct_CC" = x; then
 
2855
    CC=""
 
2856
  else
 
2857
    case $cross_compiling:$ac_tool_warned in
 
2858
yes:)
 
2859
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2860
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2861
ac_tool_warned=yes ;;
 
2862
esac
 
2863
    CC=$ac_ct_CC
 
2864
  fi
 
2865
fi
 
2866
 
 
2867
fi
 
2868
 
 
2869
 
 
2870
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2871
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2872
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
2873
See \`config.log' for more details." >&5
 
2874
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
 
2875
See \`config.log' for more details." >&2;}
 
2876
   { (exit 1); exit 1; }; }; }
 
2877
 
 
2878
# Provide some information about the compiler.
 
2879
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
2880
set X $ac_compile
 
2881
ac_compiler=$2
 
2882
{ (ac_try="$ac_compiler --version >&5"
 
2883
case "(($ac_try" in
 
2884
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2885
  *) ac_try_echo=$ac_try;;
 
2886
esac
 
2887
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2888
$as_echo "$ac_try_echo") >&5
 
2889
  (eval "$ac_compiler --version >&5") 2>&5
 
2890
  ac_status=$?
 
2891
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2892
  (exit $ac_status); }
 
2893
{ (ac_try="$ac_compiler -v >&5"
 
2894
case "(($ac_try" in
 
2895
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2896
  *) ac_try_echo=$ac_try;;
 
2897
esac
 
2898
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2899
$as_echo "$ac_try_echo") >&5
 
2900
  (eval "$ac_compiler -v >&5") 2>&5
 
2901
  ac_status=$?
 
2902
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2903
  (exit $ac_status); }
 
2904
{ (ac_try="$ac_compiler -V >&5"
 
2905
case "(($ac_try" in
 
2906
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2907
  *) ac_try_echo=$ac_try;;
 
2908
esac
 
2909
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2910
$as_echo "$ac_try_echo") >&5
 
2911
  (eval "$ac_compiler -V >&5") 2>&5
 
2912
  ac_status=$?
 
2913
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2914
  (exit $ac_status); }
 
2915
 
 
2916
cat >conftest.$ac_ext <<_ACEOF
 
2917
/* confdefs.h.  */
 
2918
_ACEOF
 
2919
cat confdefs.h >>conftest.$ac_ext
 
2920
cat >>conftest.$ac_ext <<_ACEOF
 
2921
/* end confdefs.h.  */
 
2922
 
 
2923
int
 
2924
main ()
 
2925
{
 
2926
 
 
2927
  ;
 
2928
  return 0;
 
2929
}
 
2930
_ACEOF
 
2931
ac_clean_files_save=$ac_clean_files
 
2932
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 
2933
# Try to create an executable without -o first, disregard a.out.
 
2934
# It will help us diagnose broken compilers, and finding out an intuition
 
2935
# of exeext.
 
2936
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2937
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
2938
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
2939
 
 
2940
# The possible output files:
 
2941
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
2942
 
 
2943
ac_rmfiles=
 
2944
for ac_file in $ac_files
 
2945
do
 
2946
  case $ac_file in
 
2947
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
2948
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
2949
  esac
 
2950
done
 
2951
rm -f $ac_rmfiles
 
2952
 
 
2953
if { (ac_try="$ac_link_default"
 
2954
case "(($ac_try" in
 
2955
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2956
  *) ac_try_echo=$ac_try;;
 
2957
esac
 
2958
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2959
$as_echo "$ac_try_echo") >&5
 
2960
  (eval "$ac_link_default") 2>&5
 
2961
  ac_status=$?
 
2962
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2963
  (exit $ac_status); }; then
 
2964
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
2965
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
2966
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
2967
# so that the user can short-circuit this test for compilers unknown to
 
2968
# Autoconf.
 
2969
for ac_file in $ac_files ''
 
2970
do
 
2971
  test -f "$ac_file" || continue
 
2972
  case $ac_file in
 
2973
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 
2974
        ;;
 
2975
    [ab].out )
 
2976
        # We found the default executable, but exeext='' is most
 
2977
        # certainly right.
 
2978
        break;;
 
2979
    *.* )
 
2980
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
2981
        then :; else
 
2982
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2983
        fi
 
2984
        # We set ac_cv_exeext here because the later test for it is not
 
2985
        # safe: cross compilers may not add the suffix if given an `-o'
 
2986
        # argument, so we may need to know it at that point already.
 
2987
        # Even if this section looks crufty: it has the advantage of
 
2988
        # actually working.
 
2989
        break;;
 
2990
    * )
 
2991
        break;;
 
2992
  esac
 
2993
done
 
2994
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
2995
 
 
2996
else
 
2997
  ac_file=''
 
2998
fi
 
2999
 
 
3000
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3001
$as_echo "$ac_file" >&6; }
 
3002
if test -z "$ac_file"; then
 
3003
  $as_echo "$as_me: failed program was:" >&5
 
3004
sed 's/^/| /' conftest.$ac_ext >&5
 
3005
 
 
3006
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3007
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3008
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
 
3009
See \`config.log' for more details." >&5
 
3010
$as_echo "$as_me: error: C compiler cannot create executables
 
3011
See \`config.log' for more details." >&2;}
 
3012
   { (exit 77); exit 77; }; }; }
 
3013
fi
 
3014
 
 
3015
ac_exeext=$ac_cv_exeext
 
3016
 
 
3017
# Check that the compiler produces executables we can run.  If not, either
 
3018
# the compiler is broken, or we cross compile.
 
3019
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
3020
$as_echo_n "checking whether the C compiler works... " >&6; }
 
3021
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
 
3022
# If not cross compiling, check that we can run a simple program.
 
3023
if test "$cross_compiling" != yes; then
 
3024
  if { ac_try='./$ac_file'
 
3025
  { (case "(($ac_try" in
 
3026
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3027
  *) ac_try_echo=$ac_try;;
 
3028
esac
 
3029
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3030
$as_echo "$ac_try_echo") >&5
 
3031
  (eval "$ac_try") 2>&5
 
3032
  ac_status=$?
 
3033
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3034
  (exit $ac_status); }; }; then
 
3035
    cross_compiling=no
 
3036
  else
 
3037
    if test "$cross_compiling" = maybe; then
 
3038
        cross_compiling=yes
 
3039
    else
 
3040
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3041
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3042
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
 
3043
If you meant to cross compile, use \`--host'.
 
3044
See \`config.log' for more details." >&5
 
3045
$as_echo "$as_me: error: cannot run C compiled programs.
 
3046
If you meant to cross compile, use \`--host'.
 
3047
See \`config.log' for more details." >&2;}
 
3048
   { (exit 1); exit 1; }; }; }
 
3049
    fi
 
3050
  fi
 
3051
fi
 
3052
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
3053
$as_echo "yes" >&6; }
 
3054
 
 
3055
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 
3056
ac_clean_files=$ac_clean_files_save
 
3057
# Check that the compiler produces executables we can run.  If not, either
 
3058
# the compiler is broken, or we cross compile.
 
3059
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
3060
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3061
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
3062
$as_echo "$cross_compiling" >&6; }
 
3063
 
 
3064
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3065
$as_echo_n "checking for suffix of executables... " >&6; }
 
3066
if { (ac_try="$ac_link"
 
3067
case "(($ac_try" in
 
3068
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3069
  *) ac_try_echo=$ac_try;;
 
3070
esac
 
3071
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3072
$as_echo "$ac_try_echo") >&5
 
3073
  (eval "$ac_link") 2>&5
 
3074
  ac_status=$?
 
3075
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3076
  (exit $ac_status); }; then
 
3077
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 
3078
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 
3079
# work properly (i.e., refer to `conftest.exe'), while it won't with
 
3080
# `rm'.
 
3081
for ac_file in conftest.exe conftest conftest.*; do
 
3082
  test -f "$ac_file" || continue
 
3083
  case $ac_file in
 
3084
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3085
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3086
          break;;
 
3087
    * ) break;;
 
3088
  esac
 
3089
done
 
3090
else
 
3091
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3092
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3093
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
3094
See \`config.log' for more details." >&5
 
3095
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 
3096
See \`config.log' for more details." >&2;}
 
3097
   { (exit 1); exit 1; }; }; }
 
3098
fi
 
3099
 
 
3100
rm -f conftest$ac_cv_exeext
 
3101
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3102
$as_echo "$ac_cv_exeext" >&6; }
 
3103
 
 
3104
rm -f conftest.$ac_ext
 
3105
EXEEXT=$ac_cv_exeext
 
3106
ac_exeext=$EXEEXT
 
3107
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3108
$as_echo_n "checking for suffix of object files... " >&6; }
 
3109
if test "${ac_cv_objext+set}" = set; then
 
3110
  $as_echo_n "(cached) " >&6
 
3111
else
 
3112
  cat >conftest.$ac_ext <<_ACEOF
 
3113
/* confdefs.h.  */
 
3114
_ACEOF
 
3115
cat confdefs.h >>conftest.$ac_ext
 
3116
cat >>conftest.$ac_ext <<_ACEOF
 
3117
/* end confdefs.h.  */
 
3118
 
 
3119
int
 
3120
main ()
 
3121
{
 
3122
 
 
3123
  ;
 
3124
  return 0;
 
3125
}
 
3126
_ACEOF
 
3127
rm -f conftest.o conftest.obj
 
3128
if { (ac_try="$ac_compile"
 
3129
case "(($ac_try" in
 
3130
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3131
  *) ac_try_echo=$ac_try;;
 
3132
esac
 
3133
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3134
$as_echo "$ac_try_echo") >&5
 
3135
  (eval "$ac_compile") 2>&5
 
3136
  ac_status=$?
 
3137
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3138
  (exit $ac_status); }; then
 
3139
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3140
  test -f "$ac_file" || continue;
 
3141
  case $ac_file in
 
3142
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 
3143
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 
3144
       break;;
 
3145
  esac
 
3146
done
 
3147
else
 
3148
  $as_echo "$as_me: failed program was:" >&5
 
3149
sed 's/^/| /' conftest.$ac_ext >&5
 
3150
 
 
3151
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3152
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3153
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 
3154
See \`config.log' for more details." >&5
 
3155
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
 
3156
See \`config.log' for more details." >&2;}
 
3157
   { (exit 1); exit 1; }; }; }
 
3158
fi
 
3159
 
 
3160
rm -f conftest.$ac_cv_objext conftest.$ac_ext
 
3161
fi
 
3162
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3163
$as_echo "$ac_cv_objext" >&6; }
 
3164
OBJEXT=$ac_cv_objext
 
3165
ac_objext=$OBJEXT
 
3166
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3167
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
3168
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
3169
  $as_echo_n "(cached) " >&6
 
3170
else
 
3171
  cat >conftest.$ac_ext <<_ACEOF
 
3172
/* confdefs.h.  */
 
3173
_ACEOF
 
3174
cat confdefs.h >>conftest.$ac_ext
 
3175
cat >>conftest.$ac_ext <<_ACEOF
 
3176
/* end confdefs.h.  */
 
3177
 
 
3178
int
 
3179
main ()
 
3180
{
 
3181
#ifndef __GNUC__
 
3182
       choke me
 
3183
#endif
 
3184
 
 
3185
  ;
 
3186
  return 0;
 
3187
}
 
3188
_ACEOF
 
3189
rm -f conftest.$ac_objext
 
3190
if { (ac_try="$ac_compile"
 
3191
case "(($ac_try" in
 
3192
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3193
  *) ac_try_echo=$ac_try;;
 
3194
esac
 
3195
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3196
$as_echo "$ac_try_echo") >&5
 
3197
  (eval "$ac_compile") 2>conftest.er1
 
3198
  ac_status=$?
 
3199
  grep -v '^ *+' conftest.er1 >conftest.err
 
3200
  rm -f conftest.er1
 
3201
  cat conftest.err >&5
 
3202
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3203
  (exit $ac_status); } && {
 
3204
         test -z "$ac_c_werror_flag" ||
 
3205
         test ! -s conftest.err
 
3206
       } && test -s conftest.$ac_objext; then
 
3207
  ac_compiler_gnu=yes
 
3208
else
 
3209
  $as_echo "$as_me: failed program was:" >&5
 
3210
sed 's/^/| /' conftest.$ac_ext >&5
 
3211
 
 
3212
        ac_compiler_gnu=no
 
3213
fi
 
3214
 
 
3215
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3216
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
3217
 
 
3218
fi
 
3219
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3220
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3221
if test $ac_compiler_gnu = yes; then
 
3222
  GCC=yes
 
3223
else
 
3224
  GCC=
 
3225
fi
 
3226
ac_test_CFLAGS=${CFLAGS+set}
 
3227
ac_save_CFLAGS=$CFLAGS
 
3228
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3229
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
3230
if test "${ac_cv_prog_cc_g+set}" = set; then
 
3231
  $as_echo_n "(cached) " >&6
 
3232
else
 
3233
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3234
   ac_c_werror_flag=yes
 
3235
   ac_cv_prog_cc_g=no
 
3236
   CFLAGS="-g"
 
3237
   cat >conftest.$ac_ext <<_ACEOF
 
3238
/* confdefs.h.  */
 
3239
_ACEOF
 
3240
cat confdefs.h >>conftest.$ac_ext
 
3241
cat >>conftest.$ac_ext <<_ACEOF
 
3242
/* end confdefs.h.  */
 
3243
 
 
3244
int
 
3245
main ()
 
3246
{
 
3247
 
 
3248
  ;
 
3249
  return 0;
 
3250
}
 
3251
_ACEOF
 
3252
rm -f conftest.$ac_objext
 
3253
if { (ac_try="$ac_compile"
 
3254
case "(($ac_try" in
 
3255
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3256
  *) ac_try_echo=$ac_try;;
 
3257
esac
 
3258
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3259
$as_echo "$ac_try_echo") >&5
 
3260
  (eval "$ac_compile") 2>conftest.er1
 
3261
  ac_status=$?
 
3262
  grep -v '^ *+' conftest.er1 >conftest.err
 
3263
  rm -f conftest.er1
 
3264
  cat conftest.err >&5
 
3265
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3266
  (exit $ac_status); } && {
 
3267
         test -z "$ac_c_werror_flag" ||
 
3268
         test ! -s conftest.err
 
3269
       } && test -s conftest.$ac_objext; then
 
3270
  ac_cv_prog_cc_g=yes
 
3271
else
 
3272
  $as_echo "$as_me: failed program was:" >&5
 
3273
sed 's/^/| /' conftest.$ac_ext >&5
 
3274
 
 
3275
        CFLAGS=""
 
3276
      cat >conftest.$ac_ext <<_ACEOF
 
3277
/* confdefs.h.  */
 
3278
_ACEOF
 
3279
cat confdefs.h >>conftest.$ac_ext
 
3280
cat >>conftest.$ac_ext <<_ACEOF
 
3281
/* end confdefs.h.  */
 
3282
 
 
3283
int
 
3284
main ()
 
3285
{
 
3286
 
 
3287
  ;
 
3288
  return 0;
 
3289
}
 
3290
_ACEOF
 
3291
rm -f conftest.$ac_objext
 
3292
if { (ac_try="$ac_compile"
 
3293
case "(($ac_try" in
 
3294
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3295
  *) ac_try_echo=$ac_try;;
 
3296
esac
 
3297
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3298
$as_echo "$ac_try_echo") >&5
 
3299
  (eval "$ac_compile") 2>conftest.er1
 
3300
  ac_status=$?
 
3301
  grep -v '^ *+' conftest.er1 >conftest.err
 
3302
  rm -f conftest.er1
 
3303
  cat conftest.err >&5
 
3304
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3305
  (exit $ac_status); } && {
 
3306
         test -z "$ac_c_werror_flag" ||
 
3307
         test ! -s conftest.err
 
3308
       } && test -s conftest.$ac_objext; then
 
3309
  :
 
3310
else
 
3311
  $as_echo "$as_me: failed program was:" >&5
 
3312
sed 's/^/| /' conftest.$ac_ext >&5
 
3313
 
 
3314
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3315
         CFLAGS="-g"
 
3316
         cat >conftest.$ac_ext <<_ACEOF
 
3317
/* confdefs.h.  */
 
3318
_ACEOF
 
3319
cat confdefs.h >>conftest.$ac_ext
 
3320
cat >>conftest.$ac_ext <<_ACEOF
 
3321
/* end confdefs.h.  */
 
3322
 
 
3323
int
 
3324
main ()
 
3325
{
 
3326
 
 
3327
  ;
 
3328
  return 0;
 
3329
}
 
3330
_ACEOF
 
3331
rm -f conftest.$ac_objext
 
3332
if { (ac_try="$ac_compile"
 
3333
case "(($ac_try" in
 
3334
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3335
  *) ac_try_echo=$ac_try;;
 
3336
esac
 
3337
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3338
$as_echo "$ac_try_echo") >&5
 
3339
  (eval "$ac_compile") 2>conftest.er1
 
3340
  ac_status=$?
 
3341
  grep -v '^ *+' conftest.er1 >conftest.err
 
3342
  rm -f conftest.er1
 
3343
  cat conftest.err >&5
 
3344
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3345
  (exit $ac_status); } && {
 
3346
         test -z "$ac_c_werror_flag" ||
 
3347
         test ! -s conftest.err
 
3348
       } && test -s conftest.$ac_objext; then
 
3349
  ac_cv_prog_cc_g=yes
 
3350
else
 
3351
  $as_echo "$as_me: failed program was:" >&5
 
3352
sed 's/^/| /' conftest.$ac_ext >&5
 
3353
 
 
3354
 
 
3355
fi
 
3356
 
 
3357
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3358
fi
 
3359
 
 
3360
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3361
fi
 
3362
 
 
3363
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3364
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3365
fi
 
3366
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3367
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
3368
if test "$ac_test_CFLAGS" = set; then
 
3369
  CFLAGS=$ac_save_CFLAGS
 
3370
elif test $ac_cv_prog_cc_g = yes; then
 
3371
  if test "$GCC" = yes; then
 
3372
    CFLAGS="-g -O2"
 
3373
  else
 
3374
    CFLAGS="-g"
 
3375
  fi
 
3376
else
 
3377
  if test "$GCC" = yes; then
 
3378
    CFLAGS="-O2"
 
3379
  else
 
3380
    CFLAGS=
 
3381
  fi
 
3382
fi
 
3383
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3384
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
3385
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
3386
  $as_echo_n "(cached) " >&6
 
3387
else
 
3388
  ac_cv_prog_cc_c89=no
 
3389
ac_save_CC=$CC
 
3390
cat >conftest.$ac_ext <<_ACEOF
 
3391
/* confdefs.h.  */
 
3392
_ACEOF
 
3393
cat confdefs.h >>conftest.$ac_ext
 
3394
cat >>conftest.$ac_ext <<_ACEOF
 
3395
/* end confdefs.h.  */
 
3396
#include <stdarg.h>
 
3397
#include <stdio.h>
 
3398
#include <sys/types.h>
 
3399
#include <sys/stat.h>
 
3400
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
3401
struct buf { int x; };
 
3402
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
3403
static char *e (p, i)
 
3404
     char **p;
 
3405
     int i;
 
3406
{
 
3407
  return p[i];
 
3408
}
 
3409
static char *f (char * (*g) (char **, int), char **p, ...)
 
3410
{
 
3411
  char *s;
 
3412
  va_list v;
 
3413
  va_start (v,p);
 
3414
  s = g (p, va_arg (v,int));
 
3415
  va_end (v);
 
3416
  return s;
 
3417
}
 
3418
 
 
3419
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
3420
   function prototypes and stuff, but not '\xHH' hex character constants.
 
3421
   These don't provoke an error unfortunately, instead are silently treated
 
3422
   as 'x'.  The following induces an error, until -std is added to get
 
3423
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
3424
   array size at least.  It's necessary to write '\x00'==0 to get something
 
3425
   that's true only with -std.  */
 
3426
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
3427
 
 
3428
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3429
   inside strings and character constants.  */
 
3430
#define FOO(x) 'x'
 
3431
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3432
 
 
3433
int test (int i, double x);
 
3434
struct s1 {int (*f) (int a);};
 
3435
struct s2 {int (*f) (double a);};
 
3436
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
3437
int argc;
 
3438
char **argv;
 
3439
int
 
3440
main ()
 
3441
{
 
3442
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
3443
  ;
 
3444
  return 0;
 
3445
}
 
3446
_ACEOF
 
3447
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3448
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3449
do
 
3450
  CC="$ac_save_CC $ac_arg"
 
3451
  rm -f conftest.$ac_objext
 
3452
if { (ac_try="$ac_compile"
 
3453
case "(($ac_try" in
 
3454
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3455
  *) ac_try_echo=$ac_try;;
 
3456
esac
 
3457
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3458
$as_echo "$ac_try_echo") >&5
 
3459
  (eval "$ac_compile") 2>conftest.er1
 
3460
  ac_status=$?
 
3461
  grep -v '^ *+' conftest.er1 >conftest.err
 
3462
  rm -f conftest.er1
 
3463
  cat conftest.err >&5
 
3464
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3465
  (exit $ac_status); } && {
 
3466
         test -z "$ac_c_werror_flag" ||
 
3467
         test ! -s conftest.err
 
3468
       } && test -s conftest.$ac_objext; then
 
3469
  ac_cv_prog_cc_c89=$ac_arg
 
3470
else
 
3471
  $as_echo "$as_me: failed program was:" >&5
 
3472
sed 's/^/| /' conftest.$ac_ext >&5
 
3473
 
 
3474
 
 
3475
fi
 
3476
 
 
3477
rm -f core conftest.err conftest.$ac_objext
 
3478
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
3479
done
 
3480
rm -f conftest.$ac_ext
 
3481
CC=$ac_save_CC
 
3482
 
 
3483
fi
 
3484
# AC_CACHE_VAL
 
3485
case "x$ac_cv_prog_cc_c89" in
 
3486
  x)
 
3487
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3488
$as_echo "none needed" >&6; } ;;
 
3489
  xno)
 
3490
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3491
$as_echo "unsupported" >&6; } ;;
 
3492
  *)
 
3493
    CC="$CC $ac_cv_prog_cc_c89"
 
3494
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3495
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
3496
esac
 
3497
 
 
3498
 
 
3499
ac_ext=c
 
3500
ac_cpp='$CPP $CPPFLAGS'
 
3501
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3502
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3503
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3504
DEPDIR="${am__leading_dot}deps"
 
3505
 
 
3506
ac_config_commands="$ac_config_commands depfiles"
 
3507
 
 
3508
 
 
3509
am_make=${MAKE-make}
 
3510
cat > confinc << 'END'
 
3511
am__doit:
 
3512
        @echo done
 
3513
.PHONY: am__doit
 
3514
END
 
3515
# If we don't find an include directive, just comment out the code.
 
3516
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3517
$as_echo_n "checking for style of include used by $am_make... " >&6; }
 
3518
am__include="#"
 
3519
am__quote=
 
3520
_am_result=none
 
3521
# First try GNU make style include.
 
3522
echo "include confinc" > confmf
 
3523
# We grep out `Entering directory' and `Leaving directory'
 
3524
# messages which can occur if `w' ends up in MAKEFLAGS.
 
3525
# In particular we don't look at `^make:' because GNU make might
 
3526
# be invoked under some other name (usually "gmake"), in which
 
3527
# case it prints its new name instead of `make'.
 
3528
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
 
3529
   am__include=include
 
3530
   am__quote=
 
3531
   _am_result=GNU
 
3532
fi
 
3533
# Now try BSD make style include.
 
3534
if test "$am__include" = "#"; then
 
3535
   echo '.include "confinc"' > confmf
 
3536
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
 
3537
      am__include=.include
 
3538
      am__quote="\""
 
3539
      _am_result=BSD
 
3540
   fi
 
3541
fi
 
3542
 
 
3543
 
 
3544
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
3545
$as_echo "$_am_result" >&6; }
 
3546
rm -f confinc confmf
 
3547
 
 
3548
# Check whether --enable-dependency-tracking was given.
 
3549
if test "${enable_dependency_tracking+set}" = set; then
 
3550
  enableval=$enable_dependency_tracking;
 
3551
fi
 
3552
 
 
3553
if test "x$enable_dependency_tracking" != xno; then
 
3554
  am_depcomp="$ac_aux_dir/depcomp"
 
3555
  AMDEPBACKSLASH='\'
 
3556
fi
 
3557
 if test "x$enable_dependency_tracking" != xno; then
 
3558
  AMDEP_TRUE=
 
3559
  AMDEP_FALSE='#'
 
3560
else
 
3561
  AMDEP_TRUE='#'
 
3562
  AMDEP_FALSE=
 
3563
fi
 
3564
 
 
3565
 
 
3566
 
 
3567
depcc="$CC"   am_compiler_list=
 
3568
 
 
3569
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3570
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
3571
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
3572
  $as_echo_n "(cached) " >&6
 
3573
else
 
3574
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
3575
  # We make a subdir and do the tests there.  Otherwise we can end up
 
3576
  # making bogus files that we don't know about and never remove.  For
 
3577
  # instance it was reported that on HP-UX the gcc test will end up
 
3578
  # making a dummy file named `D' -- because `-MD' means `put the output
 
3579
  # in D'.
 
3580
  mkdir conftest.dir
 
3581
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
3582
  # using a relative directory.
 
3583
  cp "$am_depcomp" conftest.dir
 
3584
  cd conftest.dir
 
3585
  # We will build objects and dependencies in a subdirectory because
 
3586
  # it helps to detect inapplicable dependency modes.  For instance
 
3587
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
3588
  # side effect of compilation, but ICC will put the dependencies in
 
3589
  # the current directory while Tru64 will put them in the object
 
3590
  # directory.
 
3591
  mkdir sub
 
3592
 
 
3593
  am_cv_CC_dependencies_compiler_type=none
 
3594
  if test "$am_compiler_list" = ""; then
 
3595
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
3596
  fi
 
3597
  for depmode in $am_compiler_list; do
 
3598
    # Setup a source with many dependencies, because some compilers
 
3599
    # like to wrap large dependency lists on column 80 (with \), and
 
3600
    # we should not choose a depcomp mode which is confused by this.
 
3601
    #
 
3602
    # We need to recreate these files for each test, as the compiler may
 
3603
    # overwrite some of them when testing with obscure command lines.
 
3604
    # This happens at least with the AIX C compiler.
 
3605
    : > sub/conftest.c
 
3606
    for i in 1 2 3 4 5 6; do
 
3607
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
3608
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
3609
      # Solaris 8's {/usr,}/bin/sh.
 
3610
      touch sub/conftst$i.h
 
3611
    done
 
3612
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
3613
 
 
3614
    case $depmode in
 
3615
    nosideeffect)
 
3616
      # after this tag, mechanisms are not by side-effect, so they'll
 
3617
      # only be used when explicitly requested
 
3618
      if test "x$enable_dependency_tracking" = xyes; then
 
3619
        continue
 
3620
      else
 
3621
        break
 
3622
      fi
 
3623
      ;;
 
3624
    none) break ;;
 
3625
    esac
 
3626
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3627
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3628
    # handle `-M -o', and we need to detect this.
 
3629
    if depmode=$depmode \
 
3630
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
3631
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
3632
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
3633
         >/dev/null 2>conftest.err &&
 
3634
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
3635
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
3636
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
3637
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
3638
      # icc doesn't choke on unknown options, it will just issue warnings
 
3639
      # or remarks (even with -Werror).  So we grep stderr for any message
 
3640
      # that says an option was ignored or not supported.
 
3641
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
3642
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
3643
      # The diagnosis changed in icc 8.0:
 
3644
      #   icc: Command line remark: option '-MP' not supported
 
3645
      if (grep 'ignoring option' conftest.err ||
 
3646
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
3647
        am_cv_CC_dependencies_compiler_type=$depmode
 
3648
        break
 
3649
      fi
 
3650
    fi
 
3651
  done
 
3652
 
 
3653
  cd ..
 
3654
  rm -rf conftest.dir
 
3655
else
 
3656
  am_cv_CC_dependencies_compiler_type=none
 
3657
fi
 
3658
 
 
3659
fi
 
3660
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3661
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
3662
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
3663
 
 
3664
 if
 
3665
  test "x$enable_dependency_tracking" != xno \
 
3666
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
3667
  am__fastdepCC_TRUE=
 
3668
  am__fastdepCC_FALSE='#'
 
3669
else
 
3670
  am__fastdepCC_TRUE='#'
 
3671
  am__fastdepCC_FALSE=
 
3672
fi
 
3673
 
 
3674
 
 
3675
ac_ext=c
 
3676
ac_cpp='$CPP $CPPFLAGS'
 
3677
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3678
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3679
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3680
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
3681
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
3682
# On Suns, sometimes $CPP names a directory.
 
3683
if test -n "$CPP" && test -d "$CPP"; then
 
3684
  CPP=
 
3685
fi
 
3686
if test -z "$CPP"; then
 
3687
  if test "${ac_cv_prog_CPP+set}" = set; then
 
3688
  $as_echo_n "(cached) " >&6
 
3689
else
 
3690
      # Double quotes because CPP needs to be expanded
 
3691
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
3692
    do
 
3693
      ac_preproc_ok=false
 
3694
for ac_c_preproc_warn_flag in '' yes
 
3695
do
 
3696
  # Use a header file that comes with gcc, so configuring glibc
 
3697
  # with a fresh cross-compiler works.
 
3698
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
3699
  # <limits.h> exists even on freestanding compilers.
 
3700
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
3701
  # not just through cpp. "Syntax error" is here to catch this case.
 
3702
  cat >conftest.$ac_ext <<_ACEOF
 
3703
/* confdefs.h.  */
 
3704
_ACEOF
 
3705
cat confdefs.h >>conftest.$ac_ext
 
3706
cat >>conftest.$ac_ext <<_ACEOF
 
3707
/* end confdefs.h.  */
 
3708
#ifdef __STDC__
 
3709
# include <limits.h>
 
3710
#else
 
3711
# include <assert.h>
 
3712
#endif
 
3713
                     Syntax error
 
3714
_ACEOF
 
3715
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3716
case "(($ac_try" in
 
3717
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3718
  *) ac_try_echo=$ac_try;;
 
3719
esac
 
3720
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3721
$as_echo "$ac_try_echo") >&5
 
3722
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
3723
  ac_status=$?
 
3724
  grep -v '^ *+' conftest.er1 >conftest.err
 
3725
  rm -f conftest.er1
 
3726
  cat conftest.err >&5
 
3727
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3728
  (exit $ac_status); } >/dev/null && {
 
3729
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3730
         test ! -s conftest.err
 
3731
       }; then
 
3732
  :
 
3733
else
 
3734
  $as_echo "$as_me: failed program was:" >&5
 
3735
sed 's/^/| /' conftest.$ac_ext >&5
 
3736
 
 
3737
  # Broken: fails on valid input.
 
3738
continue
 
3739
fi
 
3740
 
 
3741
rm -f conftest.err conftest.$ac_ext
 
3742
 
 
3743
  # OK, works on sane cases.  Now check whether nonexistent headers
 
3744
  # can be detected and how.
 
3745
  cat >conftest.$ac_ext <<_ACEOF
 
3746
/* confdefs.h.  */
 
3747
_ACEOF
 
3748
cat confdefs.h >>conftest.$ac_ext
 
3749
cat >>conftest.$ac_ext <<_ACEOF
 
3750
/* end confdefs.h.  */
 
3751
#include <ac_nonexistent.h>
 
3752
_ACEOF
 
3753
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3754
case "(($ac_try" in
 
3755
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3756
  *) ac_try_echo=$ac_try;;
 
3757
esac
 
3758
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3759
$as_echo "$ac_try_echo") >&5
 
3760
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
3761
  ac_status=$?
 
3762
  grep -v '^ *+' conftest.er1 >conftest.err
 
3763
  rm -f conftest.er1
 
3764
  cat conftest.err >&5
 
3765
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3766
  (exit $ac_status); } >/dev/null && {
 
3767
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3768
         test ! -s conftest.err
 
3769
       }; then
 
3770
  # Broken: success on invalid input.
 
3771
continue
 
3772
else
 
3773
  $as_echo "$as_me: failed program was:" >&5
 
3774
sed 's/^/| /' conftest.$ac_ext >&5
 
3775
 
 
3776
  # Passes both tests.
 
3777
ac_preproc_ok=:
 
3778
break
 
3779
fi
 
3780
 
 
3781
rm -f conftest.err conftest.$ac_ext
 
3782
 
 
3783
done
 
3784
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
3785
rm -f conftest.err conftest.$ac_ext
 
3786
if $ac_preproc_ok; then
 
3787
  break
 
3788
fi
 
3789
 
 
3790
    done
 
3791
    ac_cv_prog_CPP=$CPP
 
3792
 
 
3793
fi
 
3794
  CPP=$ac_cv_prog_CPP
 
3795
else
 
3796
  ac_cv_prog_CPP=$CPP
 
3797
fi
 
3798
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
3799
$as_echo "$CPP" >&6; }
 
3800
ac_preproc_ok=false
 
3801
for ac_c_preproc_warn_flag in '' yes
 
3802
do
 
3803
  # Use a header file that comes with gcc, so configuring glibc
 
3804
  # with a fresh cross-compiler works.
 
3805
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
3806
  # <limits.h> exists even on freestanding compilers.
 
3807
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
3808
  # not just through cpp. "Syntax error" is here to catch this case.
 
3809
  cat >conftest.$ac_ext <<_ACEOF
 
3810
/* confdefs.h.  */
 
3811
_ACEOF
 
3812
cat confdefs.h >>conftest.$ac_ext
 
3813
cat >>conftest.$ac_ext <<_ACEOF
 
3814
/* end confdefs.h.  */
 
3815
#ifdef __STDC__
 
3816
# include <limits.h>
 
3817
#else
 
3818
# include <assert.h>
 
3819
#endif
 
3820
                     Syntax error
 
3821
_ACEOF
 
3822
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3823
case "(($ac_try" in
 
3824
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3825
  *) ac_try_echo=$ac_try;;
 
3826
esac
 
3827
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3828
$as_echo "$ac_try_echo") >&5
 
3829
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
3830
  ac_status=$?
 
3831
  grep -v '^ *+' conftest.er1 >conftest.err
 
3832
  rm -f conftest.er1
 
3833
  cat conftest.err >&5
 
3834
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3835
  (exit $ac_status); } >/dev/null && {
 
3836
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3837
         test ! -s conftest.err
 
3838
       }; then
 
3839
  :
 
3840
else
 
3841
  $as_echo "$as_me: failed program was:" >&5
 
3842
sed 's/^/| /' conftest.$ac_ext >&5
 
3843
 
 
3844
  # Broken: fails on valid input.
 
3845
continue
 
3846
fi
 
3847
 
 
3848
rm -f conftest.err conftest.$ac_ext
 
3849
 
 
3850
  # OK, works on sane cases.  Now check whether nonexistent headers
 
3851
  # can be detected and how.
 
3852
  cat >conftest.$ac_ext <<_ACEOF
 
3853
/* confdefs.h.  */
 
3854
_ACEOF
 
3855
cat confdefs.h >>conftest.$ac_ext
 
3856
cat >>conftest.$ac_ext <<_ACEOF
 
3857
/* end confdefs.h.  */
 
3858
#include <ac_nonexistent.h>
 
3859
_ACEOF
 
3860
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3861
case "(($ac_try" in
 
3862
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3863
  *) ac_try_echo=$ac_try;;
 
3864
esac
 
3865
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3866
$as_echo "$ac_try_echo") >&5
 
3867
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
3868
  ac_status=$?
 
3869
  grep -v '^ *+' conftest.er1 >conftest.err
 
3870
  rm -f conftest.er1
 
3871
  cat conftest.err >&5
 
3872
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3873
  (exit $ac_status); } >/dev/null && {
 
3874
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3875
         test ! -s conftest.err
 
3876
       }; then
 
3877
  # Broken: success on invalid input.
 
3878
continue
 
3879
else
 
3880
  $as_echo "$as_me: failed program was:" >&5
 
3881
sed 's/^/| /' conftest.$ac_ext >&5
 
3882
 
 
3883
  # Passes both tests.
 
3884
ac_preproc_ok=:
 
3885
break
 
3886
fi
 
3887
 
 
3888
rm -f conftest.err conftest.$ac_ext
 
3889
 
 
3890
done
 
3891
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
3892
rm -f conftest.err conftest.$ac_ext
 
3893
if $ac_preproc_ok; then
 
3894
  :
 
3895
else
 
3896
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3897
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3898
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
3899
See \`config.log' for more details." >&5
 
3900
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
3901
See \`config.log' for more details." >&2;}
 
3902
   { (exit 1); exit 1; }; }; }
 
3903
fi
 
3904
 
 
3905
ac_ext=c
 
3906
ac_cpp='$CPP $CPPFLAGS'
 
3907
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3908
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3909
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3910
 
 
3911
case `pwd` in
 
3912
  *\ * | *\     *)
 
3913
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
3914
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
3915
esac
 
3916
 
 
3917
 
 
3918
 
 
3919
macro_version='2.2.6'
 
3920
macro_revision='1.3012'
 
3921
 
 
3922
 
 
3923
 
 
3924
 
 
3925
 
 
3926
 
 
3927
 
 
3928
 
 
3929
 
 
3930
 
 
3931
 
 
3932
 
 
3933
 
 
3934
ltmain="$ac_aux_dir/ltmain.sh"
 
3935
 
 
3936
# Make sure we can run config.sub.
 
3937
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
3938
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
3939
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
 
3940
   { (exit 1); exit 1; }; }
 
3941
 
 
3942
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
3943
$as_echo_n "checking build system type... " >&6; }
 
3944
if test "${ac_cv_build+set}" = set; then
 
3945
  $as_echo_n "(cached) " >&6
 
3946
else
 
3947
  ac_build_alias=$build_alias
 
3948
test "x$ac_build_alias" = x &&
 
3949
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
3950
test "x$ac_build_alias" = x &&
 
3951
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 
3952
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 
3953
   { (exit 1); exit 1; }; }
 
3954
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
3955
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
3956
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
 
3957
   { (exit 1); exit 1; }; }
 
3958
 
 
3959
fi
 
3960
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
3961
$as_echo "$ac_cv_build" >&6; }
 
3962
case $ac_cv_build in
 
3963
*-*-*) ;;
 
3964
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
3965
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
 
3966
   { (exit 1); exit 1; }; };;
 
3967
esac
 
3968
build=$ac_cv_build
 
3969
ac_save_IFS=$IFS; IFS='-'
 
3970
set x $ac_cv_build
 
3971
shift
 
3972
build_cpu=$1
 
3973
build_vendor=$2
 
3974
shift; shift
 
3975
# Remember, the first character of IFS is used to create $*,
 
3976
# except with old shells:
 
3977
build_os=$*
 
3978
IFS=$ac_save_IFS
 
3979
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
3980
 
 
3981
 
 
3982
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
3983
$as_echo_n "checking host system type... " >&6; }
 
3984
if test "${ac_cv_host+set}" = set; then
 
3985
  $as_echo_n "(cached) " >&6
 
3986
else
 
3987
  if test "x$host_alias" = x; then
 
3988
  ac_cv_host=$ac_cv_build
 
3989
else
 
3990
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
3991
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
3992
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
 
3993
   { (exit 1); exit 1; }; }
 
3994
fi
 
3995
 
 
3996
fi
 
3997
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
3998
$as_echo "$ac_cv_host" >&6; }
 
3999
case $ac_cv_host in
 
4000
*-*-*) ;;
 
4001
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
4002
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
 
4003
   { (exit 1); exit 1; }; };;
 
4004
esac
 
4005
host=$ac_cv_host
 
4006
ac_save_IFS=$IFS; IFS='-'
 
4007
set x $ac_cv_host
 
4008
shift
 
4009
host_cpu=$1
 
4010
host_vendor=$2
 
4011
shift; shift
 
4012
# Remember, the first character of IFS is used to create $*,
 
4013
# except with old shells:
 
4014
host_os=$*
 
4015
IFS=$ac_save_IFS
 
4016
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
4017
 
 
4018
 
 
4019
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
4020
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
4021
if test "${ac_cv_path_SED+set}" = set; then
 
4022
  $as_echo_n "(cached) " >&6
 
4023
else
 
4024
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
4025
     for ac_i in 1 2 3 4 5 6 7; do
 
4026
       ac_script="$ac_script$as_nl$ac_script"
 
4027
     done
 
4028
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
4029
     $as_unset ac_script || ac_script=
 
4030
     if test -z "$SED"; then
 
4031
  ac_path_SED_found=false
 
4032
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4033
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4034
for as_dir in $PATH
 
4035
do
 
4036
  IFS=$as_save_IFS
 
4037
  test -z "$as_dir" && as_dir=.
 
4038
  for ac_prog in sed gsed; do
 
4039
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4040
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
4041
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
4042
# Check for GNU ac_path_SED and select it if it is found.
 
4043
  # Check for GNU $ac_path_SED
 
4044
case `"$ac_path_SED" --version 2>&1` in
 
4045
*GNU*)
 
4046
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
4047
*)
 
4048
  ac_count=0
 
4049
  $as_echo_n 0123456789 >"conftest.in"
 
4050
  while :
 
4051
  do
 
4052
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4053
    mv "conftest.tmp" "conftest.in"
 
4054
    cp "conftest.in" "conftest.nl"
 
4055
    $as_echo '' >> "conftest.nl"
 
4056
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4057
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4058
    ac_count=`expr $ac_count + 1`
 
4059
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
4060
      # Best one so far, save it but keep looking for a better one
 
4061
      ac_cv_path_SED="$ac_path_SED"
 
4062
      ac_path_SED_max=$ac_count
 
4063
    fi
 
4064
    # 10*(2^10) chars as input seems more than enough
 
4065
    test $ac_count -gt 10 && break
 
4066
  done
 
4067
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4068
esac
 
4069
 
 
4070
      $ac_path_SED_found && break 3
 
4071
    done
 
4072
  done
 
4073
done
 
4074
IFS=$as_save_IFS
 
4075
  if test -z "$ac_cv_path_SED"; then
 
4076
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
 
4077
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
 
4078
   { (exit 1); exit 1; }; }
 
4079
  fi
 
4080
else
 
4081
  ac_cv_path_SED=$SED
 
4082
fi
 
4083
 
 
4084
fi
 
4085
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
 
4086
$as_echo "$ac_cv_path_SED" >&6; }
 
4087
 SED="$ac_cv_path_SED"
 
4088
  rm -f conftest.sed
 
4089
 
 
4090
test -z "$SED" && SED=sed
 
4091
Xsed="$SED -e 1s/^X//"
 
4092
 
 
4093
 
 
4094
 
 
4095
 
 
4096
 
 
4097
 
 
4098
 
 
4099
 
 
4100
 
 
4101
 
 
4102
 
 
4103
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
4104
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
4105
if test "${ac_cv_path_GREP+set}" = set; then
 
4106
  $as_echo_n "(cached) " >&6
 
4107
else
 
4108
  if test -z "$GREP"; then
 
4109
  ac_path_GREP_found=false
 
4110
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4111
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4112
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4113
do
 
4114
  IFS=$as_save_IFS
 
4115
  test -z "$as_dir" && as_dir=.
 
4116
  for ac_prog in grep ggrep; do
 
4117
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4118
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
4119
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
4120
# Check for GNU ac_path_GREP and select it if it is found.
 
4121
  # Check for GNU $ac_path_GREP
 
4122
case `"$ac_path_GREP" --version 2>&1` in
 
4123
*GNU*)
 
4124
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
4125
*)
 
4126
  ac_count=0
 
4127
  $as_echo_n 0123456789 >"conftest.in"
 
4128
  while :
 
4129
  do
 
4130
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4131
    mv "conftest.tmp" "conftest.in"
 
4132
    cp "conftest.in" "conftest.nl"
 
4133
    $as_echo 'GREP' >> "conftest.nl"
 
4134
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4135
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4136
    ac_count=`expr $ac_count + 1`
 
4137
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
4138
      # Best one so far, save it but keep looking for a better one
 
4139
      ac_cv_path_GREP="$ac_path_GREP"
 
4140
      ac_path_GREP_max=$ac_count
 
4141
    fi
 
4142
    # 10*(2^10) chars as input seems more than enough
 
4143
    test $ac_count -gt 10 && break
 
4144
  done
 
4145
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4146
esac
 
4147
 
 
4148
      $ac_path_GREP_found && break 3
 
4149
    done
 
4150
  done
 
4151
done
 
4152
IFS=$as_save_IFS
 
4153
  if test -z "$ac_cv_path_GREP"; then
 
4154
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4155
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4156
   { (exit 1); exit 1; }; }
 
4157
  fi
 
4158
else
 
4159
  ac_cv_path_GREP=$GREP
 
4160
fi
 
4161
 
 
4162
fi
 
4163
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4164
$as_echo "$ac_cv_path_GREP" >&6; }
 
4165
 GREP="$ac_cv_path_GREP"
 
4166
 
 
4167
 
 
4168
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
4169
$as_echo_n "checking for egrep... " >&6; }
 
4170
if test "${ac_cv_path_EGREP+set}" = set; then
 
4171
  $as_echo_n "(cached) " >&6
 
4172
else
 
4173
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
4174
   then ac_cv_path_EGREP="$GREP -E"
 
4175
   else
 
4176
     if test -z "$EGREP"; then
 
4177
  ac_path_EGREP_found=false
 
4178
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4179
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4180
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4181
do
 
4182
  IFS=$as_save_IFS
 
4183
  test -z "$as_dir" && as_dir=.
 
4184
  for ac_prog in egrep; do
 
4185
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4186
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4187
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
4188
# Check for GNU ac_path_EGREP and select it if it is found.
 
4189
  # Check for GNU $ac_path_EGREP
 
4190
case `"$ac_path_EGREP" --version 2>&1` in
 
4191
*GNU*)
 
4192
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
4193
*)
 
4194
  ac_count=0
 
4195
  $as_echo_n 0123456789 >"conftest.in"
 
4196
  while :
 
4197
  do
 
4198
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4199
    mv "conftest.tmp" "conftest.in"
 
4200
    cp "conftest.in" "conftest.nl"
 
4201
    $as_echo 'EGREP' >> "conftest.nl"
 
4202
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4203
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4204
    ac_count=`expr $ac_count + 1`
 
4205
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
4206
      # Best one so far, save it but keep looking for a better one
 
4207
      ac_cv_path_EGREP="$ac_path_EGREP"
 
4208
      ac_path_EGREP_max=$ac_count
 
4209
    fi
 
4210
    # 10*(2^10) chars as input seems more than enough
 
4211
    test $ac_count -gt 10 && break
 
4212
  done
 
4213
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4214
esac
 
4215
 
 
4216
      $ac_path_EGREP_found && break 3
 
4217
    done
 
4218
  done
 
4219
done
 
4220
IFS=$as_save_IFS
 
4221
  if test -z "$ac_cv_path_EGREP"; then
 
4222
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4223
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4224
   { (exit 1); exit 1; }; }
 
4225
  fi
 
4226
else
 
4227
  ac_cv_path_EGREP=$EGREP
 
4228
fi
 
4229
 
 
4230
   fi
 
4231
fi
 
4232
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4233
$as_echo "$ac_cv_path_EGREP" >&6; }
 
4234
 EGREP="$ac_cv_path_EGREP"
 
4235
 
 
4236
 
 
4237
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
 
4238
$as_echo_n "checking for fgrep... " >&6; }
 
4239
if test "${ac_cv_path_FGREP+set}" = set; then
 
4240
  $as_echo_n "(cached) " >&6
 
4241
else
 
4242
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
4243
   then ac_cv_path_FGREP="$GREP -F"
 
4244
   else
 
4245
     if test -z "$FGREP"; then
 
4246
  ac_path_FGREP_found=false
 
4247
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4248
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4249
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4250
do
 
4251
  IFS=$as_save_IFS
 
4252
  test -z "$as_dir" && as_dir=.
 
4253
  for ac_prog in fgrep; do
 
4254
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4255
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4256
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
4257
# Check for GNU ac_path_FGREP and select it if it is found.
 
4258
  # Check for GNU $ac_path_FGREP
 
4259
case `"$ac_path_FGREP" --version 2>&1` in
 
4260
*GNU*)
 
4261
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
4262
*)
 
4263
  ac_count=0
 
4264
  $as_echo_n 0123456789 >"conftest.in"
 
4265
  while :
 
4266
  do
 
4267
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4268
    mv "conftest.tmp" "conftest.in"
 
4269
    cp "conftest.in" "conftest.nl"
 
4270
    $as_echo 'FGREP' >> "conftest.nl"
 
4271
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4272
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4273
    ac_count=`expr $ac_count + 1`
 
4274
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
4275
      # Best one so far, save it but keep looking for a better one
 
4276
      ac_cv_path_FGREP="$ac_path_FGREP"
 
4277
      ac_path_FGREP_max=$ac_count
 
4278
    fi
 
4279
    # 10*(2^10) chars as input seems more than enough
 
4280
    test $ac_count -gt 10 && break
 
4281
  done
 
4282
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4283
esac
 
4284
 
 
4285
      $ac_path_FGREP_found && break 3
 
4286
    done
 
4287
  done
 
4288
done
 
4289
IFS=$as_save_IFS
 
4290
  if test -z "$ac_cv_path_FGREP"; then
 
4291
    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4292
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4293
   { (exit 1); exit 1; }; }
 
4294
  fi
 
4295
else
 
4296
  ac_cv_path_FGREP=$FGREP
 
4297
fi
 
4298
 
 
4299
   fi
 
4300
fi
 
4301
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
 
4302
$as_echo "$ac_cv_path_FGREP" >&6; }
 
4303
 FGREP="$ac_cv_path_FGREP"
 
4304
 
 
4305
 
 
4306
test -z "$GREP" && GREP=grep
 
4307
 
 
4308
 
 
4309
 
 
4310
 
 
4311
 
 
4312
 
 
4313
 
 
4314
 
 
4315
 
 
4316
 
 
4317
 
 
4318
 
 
4319
 
 
4320
 
 
4321
 
 
4322
 
 
4323
 
 
4324
 
 
4325
 
 
4326
# Check whether --with-gnu-ld was given.
 
4327
if test "${with_gnu_ld+set}" = set; then
 
4328
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
4329
else
 
4330
  with_gnu_ld=no
 
4331
fi
 
4332
 
 
4333
ac_prog=ld
 
4334
if test "$GCC" = yes; then
 
4335
  # Check if gcc -print-prog-name=ld gives a path.
 
4336
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
4337
$as_echo_n "checking for ld used by $CC... " >&6; }
 
4338
  case $host in
 
4339
  *-*-mingw*)
 
4340
    # gcc leaves a trailing carriage return which upsets mingw
 
4341
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
4342
  *)
 
4343
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
4344
  esac
 
4345
  case $ac_prog in
 
4346
    # Accept absolute paths.
 
4347
    [\\/]* | ?:[\\/]*)
 
4348
      re_direlt='/[^/][^/]*/\.\./'
 
4349
      # Canonicalize the pathname of ld
 
4350
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
4351
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
4352
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 
4353
      done
 
4354
      test -z "$LD" && LD="$ac_prog"
 
4355
      ;;
 
4356
  "")
 
4357
    # If it fails, then pretend we aren't using GCC.
 
4358
    ac_prog=ld
 
4359
    ;;
 
4360
  *)
 
4361
    # If it is relative, then search for the first ld in PATH.
 
4362
    with_gnu_ld=unknown
 
4363
    ;;
 
4364
  esac
 
4365
elif test "$with_gnu_ld" = yes; then
 
4366
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
4367
$as_echo_n "checking for GNU ld... " >&6; }
 
4368
else
 
4369
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
4370
$as_echo_n "checking for non-GNU ld... " >&6; }
 
4371
fi
 
4372
if test "${lt_cv_path_LD+set}" = set; then
 
4373
  $as_echo_n "(cached) " >&6
 
4374
else
 
4375
  if test -z "$LD"; then
 
4376
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
4377
  for ac_dir in $PATH; do
 
4378
    IFS="$lt_save_ifs"
 
4379
    test -z "$ac_dir" && ac_dir=.
 
4380
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
4381
      lt_cv_path_LD="$ac_dir/$ac_prog"
 
4382
      # Check to see if the program is GNU ld.  I'd rather use --version,
 
4383
      # but apparently some variants of GNU ld only accept -v.
 
4384
      # Break only if it was the GNU/non-GNU ld that we prefer.
 
4385
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 
4386
      *GNU* | *'with BFD'*)
 
4387
        test "$with_gnu_ld" != no && break
 
4388
        ;;
 
4389
      *)
 
4390
        test "$with_gnu_ld" != yes && break
 
4391
        ;;
 
4392
      esac
 
4393
    fi
 
4394
  done
 
4395
  IFS="$lt_save_ifs"
 
4396
else
 
4397
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
4398
fi
 
4399
fi
 
4400
 
 
4401
LD="$lt_cv_path_LD"
 
4402
if test -n "$LD"; then
 
4403
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
4404
$as_echo "$LD" >&6; }
 
4405
else
 
4406
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4407
$as_echo "no" >&6; }
 
4408
fi
 
4409
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 
4410
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 
4411
   { (exit 1); exit 1; }; }
 
4412
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
4413
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
4414
if test "${lt_cv_prog_gnu_ld+set}" = set; then
 
4415
  $as_echo_n "(cached) " >&6
 
4416
else
 
4417
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
 
4418
case `$LD -v 2>&1 </dev/null` in
 
4419
*GNU* | *'with BFD'*)
 
4420
  lt_cv_prog_gnu_ld=yes
 
4421
  ;;
 
4422
*)
 
4423
  lt_cv_prog_gnu_ld=no
 
4424
  ;;
 
4425
esac
 
4426
fi
 
4427
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
4428
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
 
4429
with_gnu_ld=$lt_cv_prog_gnu_ld
 
4430
 
 
4431
 
 
4432
 
 
4433
 
 
4434
 
 
4435
 
 
4436
 
 
4437
 
 
4438
 
 
4439
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
 
4440
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 
4441
if test "${lt_cv_path_NM+set}" = set; then
 
4442
  $as_echo_n "(cached) " >&6
 
4443
else
 
4444
  if test -n "$NM"; then
 
4445
  # Let the user override the test.
 
4446
  lt_cv_path_NM="$NM"
 
4447
else
 
4448
  lt_nm_to_check="${ac_tool_prefix}nm"
 
4449
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 
4450
    lt_nm_to_check="$lt_nm_to_check nm"
 
4451
  fi
 
4452
  for lt_tmp_nm in $lt_nm_to_check; do
 
4453
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
4454
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 
4455
      IFS="$lt_save_ifs"
 
4456
      test -z "$ac_dir" && ac_dir=.
 
4457
      tmp_nm="$ac_dir/$lt_tmp_nm"
 
4458
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
4459
        # Check to see if the nm accepts a BSD-compat flag.
 
4460
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
4461
        #   nm: unknown option "B" ignored
 
4462
        # Tru64's nm complains that /dev/null is an invalid object file
 
4463
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 
4464
        */dev/null* | *'Invalid file or object type'*)
 
4465
          lt_cv_path_NM="$tmp_nm -B"
 
4466
          break
 
4467
          ;;
 
4468
        *)
 
4469
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
4470
          */dev/null*)
 
4471
            lt_cv_path_NM="$tmp_nm -p"
 
4472
            break
 
4473
            ;;
 
4474
          *)
 
4475
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
4476
            continue # so that we can try to find one that supports BSD flags
 
4477
            ;;
 
4478
          esac
 
4479
          ;;
 
4480
        esac
 
4481
      fi
 
4482
    done
 
4483
    IFS="$lt_save_ifs"
 
4484
  done
 
4485
  : ${lt_cv_path_NM=no}
 
4486
fi
 
4487
fi
 
4488
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
4489
$as_echo "$lt_cv_path_NM" >&6; }
 
4490
if test "$lt_cv_path_NM" != "no"; then
 
4491
  NM="$lt_cv_path_NM"
 
4492
else
 
4493
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
4494
  if test -n "$ac_tool_prefix"; then
 
4495
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4496
  do
 
4497
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
4498
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
4499
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4500
$as_echo_n "checking for $ac_word... " >&6; }
 
4501
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
 
4502
  $as_echo_n "(cached) " >&6
 
4503
else
 
4504
  if test -n "$DUMPBIN"; then
 
4505
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
4506
else
 
4507
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4508
for as_dir in $PATH
 
4509
do
 
4510
  IFS=$as_save_IFS
 
4511
  test -z "$as_dir" && as_dir=.
 
4512
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4513
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4514
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
4515
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4516
    break 2
 
4517
  fi
 
4518
done
 
4519
done
 
4520
IFS=$as_save_IFS
 
4521
 
 
4522
fi
 
4523
fi
 
4524
DUMPBIN=$ac_cv_prog_DUMPBIN
 
4525
if test -n "$DUMPBIN"; then
 
4526
  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
 
4527
$as_echo "$DUMPBIN" >&6; }
 
4528
else
 
4529
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4530
$as_echo "no" >&6; }
 
4531
fi
 
4532
 
 
4533
 
 
4534
    test -n "$DUMPBIN" && break
 
4535
  done
 
4536
fi
 
4537
if test -z "$DUMPBIN"; then
 
4538
  ac_ct_DUMPBIN=$DUMPBIN
 
4539
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4540
do
 
4541
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
4542
set dummy $ac_prog; ac_word=$2
 
4543
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4544
$as_echo_n "checking for $ac_word... " >&6; }
 
4545
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
 
4546
  $as_echo_n "(cached) " >&6
 
4547
else
 
4548
  if test -n "$ac_ct_DUMPBIN"; then
 
4549
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
4550
else
 
4551
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4552
for as_dir in $PATH
 
4553
do
 
4554
  IFS=$as_save_IFS
 
4555
  test -z "$as_dir" && as_dir=.
 
4556
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4557
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4558
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
4559
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4560
    break 2
 
4561
  fi
 
4562
done
 
4563
done
 
4564
IFS=$as_save_IFS
 
4565
 
 
4566
fi
 
4567
fi
 
4568
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
4569
if test -n "$ac_ct_DUMPBIN"; then
 
4570
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
 
4571
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
4572
else
 
4573
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4574
$as_echo "no" >&6; }
 
4575
fi
 
4576
 
 
4577
 
 
4578
  test -n "$ac_ct_DUMPBIN" && break
 
4579
done
 
4580
 
 
4581
  if test "x$ac_ct_DUMPBIN" = x; then
 
4582
    DUMPBIN=":"
 
4583
  else
 
4584
    case $cross_compiling:$ac_tool_warned in
 
4585
yes:)
 
4586
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4587
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4588
ac_tool_warned=yes ;;
 
4589
esac
 
4590
    DUMPBIN=$ac_ct_DUMPBIN
 
4591
  fi
 
4592
fi
 
4593
 
 
4594
 
 
4595
  if test "$DUMPBIN" != ":"; then
 
4596
    NM="$DUMPBIN"
 
4597
  fi
 
4598
fi
 
4599
test -z "$NM" && NM=nm
 
4600
 
 
4601
 
 
4602
 
 
4603
 
 
4604
 
 
4605
 
 
4606
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
 
4607
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
4608
if test "${lt_cv_nm_interface+set}" = set; then
 
4609
  $as_echo_n "(cached) " >&6
 
4610
else
 
4611
  lt_cv_nm_interface="BSD nm"
 
4612
  echo "int some_variable = 0;" > conftest.$ac_ext
 
4613
  (eval echo "\"\$as_me:4613: $ac_compile\"" >&5)
 
4614
  (eval "$ac_compile" 2>conftest.err)
 
4615
  cat conftest.err >&5
 
4616
  (eval echo "\"\$as_me:4616: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
4617
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
4618
  cat conftest.err >&5
 
4619
  (eval echo "\"\$as_me:4619: output\"" >&5)
 
4620
  cat conftest.out >&5
 
4621
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
4622
    lt_cv_nm_interface="MS dumpbin"
 
4623
  fi
 
4624
  rm -f conftest*
 
4625
fi
 
4626
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
 
4627
$as_echo "$lt_cv_nm_interface" >&6; }
 
4628
 
 
4629
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
4630
$as_echo_n "checking whether ln -s works... " >&6; }
 
4631
LN_S=$as_ln_s
 
4632
if test "$LN_S" = "ln -s"; then
 
4633
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
4634
$as_echo "yes" >&6; }
 
4635
else
 
4636
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
4637
$as_echo "no, using $LN_S" >&6; }
 
4638
fi
 
4639
 
 
4640
# find the maximum length of command line arguments
 
4641
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
4642
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
4643
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 
4644
  $as_echo_n "(cached) " >&6
 
4645
else
 
4646
    i=0
 
4647
  teststring="ABCD"
 
4648
 
 
4649
  case $build_os in
 
4650
  msdosdjgpp*)
 
4651
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
4652
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
4653
    # during glob expansion).  Even if it were fixed, the result of this
 
4654
    # check would be larger than it should be.
 
4655
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
4656
    ;;
 
4657
 
 
4658
  gnu*)
 
4659
    # Under GNU Hurd, this test is not required because there is
 
4660
    # no limit to the length of command line arguments.
 
4661
    # Libtool will interpret -1 as no limit whatsoever
 
4662
    lt_cv_sys_max_cmd_len=-1;
 
4663
    ;;
 
4664
 
 
4665
  cygwin* | mingw* | cegcc*)
 
4666
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
4667
    # about 5 minutes as the teststring grows exponentially.
 
4668
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
4669
    # you end up with a "frozen" computer, even though with patience
 
4670
    # the test eventually succeeds (with a max line length of 256k).
 
4671
    # Instead, let's just punt: use the minimum linelength reported by
 
4672
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
4673
    lt_cv_sys_max_cmd_len=8192;
 
4674
    ;;
 
4675
 
 
4676
  amigaos*)
 
4677
    # On AmigaOS with pdksh, this test takes hours, literally.
 
4678
    # So we just punt and use a minimum line length of 8192.
 
4679
    lt_cv_sys_max_cmd_len=8192;
 
4680
    ;;
 
4681
 
 
4682
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
4683
    # This has been around since 386BSD, at least.  Likely further.
 
4684
    if test -x /sbin/sysctl; then
 
4685
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
4686
    elif test -x /usr/sbin/sysctl; then
 
4687
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
4688
    else
 
4689
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
4690
    fi
 
4691
    # And add a safety zone
 
4692
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
4693
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
4694
    ;;
 
4695
 
 
4696
  interix*)
 
4697
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
4698
    lt_cv_sys_max_cmd_len=196608
 
4699
    ;;
 
4700
 
 
4701
  osf*)
 
4702
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
4703
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
4704
    # nice to cause kernel panics so lets avoid the loop below.
 
4705
    # First set a reasonable default.
 
4706
    lt_cv_sys_max_cmd_len=16384
 
4707
    #
 
4708
    if test -x /sbin/sysconfig; then
 
4709
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
4710
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
4711
      esac
 
4712
    fi
 
4713
    ;;
 
4714
  sco3.2v5*)
 
4715
    lt_cv_sys_max_cmd_len=102400
 
4716
    ;;
 
4717
  sysv5* | sco5v6* | sysv4.2uw2*)
 
4718
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
4719
    if test -n "$kargmax"; then
 
4720
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
4721
    else
 
4722
      lt_cv_sys_max_cmd_len=32768
 
4723
    fi
 
4724
    ;;
 
4725
  *)
 
4726
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
4727
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
4728
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
4729
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
4730
    else
 
4731
      # Make teststring a little bigger before we do anything with it.
 
4732
      # a 1K string should be a reasonable start.
 
4733
      for i in 1 2 3 4 5 6 7 8 ; do
 
4734
        teststring=$teststring$teststring
 
4735
      done
 
4736
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
4737
      # If test is not a shell built-in, we'll probably end up computing a
 
4738
      # maximum length that is only half of the actual maximum length, but
 
4739
      # we can't tell.
 
4740
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
 
4741
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
4742
              test $i != 17 # 1/2 MB should be enough
 
4743
      do
 
4744
        i=`expr $i + 1`
 
4745
        teststring=$teststring$teststring
 
4746
      done
 
4747
      # Only check the string length outside the loop.
 
4748
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
4749
      teststring=
 
4750
      # Add a significant safety factor because C++ compilers can tack on
 
4751
      # massive amounts of additional arguments before passing them to the
 
4752
      # linker.  It appears as though 1/2 is a usable value.
 
4753
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
4754
    fi
 
4755
    ;;
 
4756
  esac
 
4757
 
 
4758
fi
 
4759
 
 
4760
if test -n $lt_cv_sys_max_cmd_len ; then
 
4761
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
4762
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
4763
else
 
4764
  { $as_echo "$as_me:$LINENO: result: none" >&5
 
4765
$as_echo "none" >&6; }
 
4766
fi
 
4767
max_cmd_len=$lt_cv_sys_max_cmd_len
 
4768
 
 
4769
 
 
4770
 
 
4771
 
 
4772
 
 
4773
 
 
4774
: ${CP="cp -f"}
 
4775
: ${MV="mv -f"}
 
4776
: ${RM="rm -f"}
 
4777
 
 
4778
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
 
4779
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
4780
# Try some XSI features
 
4781
xsi_shell=no
 
4782
( _lt_dummy="a/b/c"
 
4783
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 
4784
      = c,a/b,, \
 
4785
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
4786
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
4787
  && xsi_shell=yes
 
4788
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
 
4789
$as_echo "$xsi_shell" >&6; }
 
4790
 
 
4791
 
 
4792
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
 
4793
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
4794
lt_shell_append=no
 
4795
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
4796
    >/dev/null 2>&1 \
 
4797
  && lt_shell_append=yes
 
4798
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
 
4799
$as_echo "$lt_shell_append" >&6; }
 
4800
 
 
4801
 
 
4802
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
4803
  lt_unset=unset
 
4804
else
 
4805
  lt_unset=false
 
4806
fi
 
4807
 
 
4808
 
 
4809
 
 
4810
 
 
4811
 
 
4812
# test EBCDIC or ASCII
 
4813
case `echo X|tr X '\101'` in
 
4814
 A) # ASCII based system
 
4815
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
4816
  lt_SP2NL='tr \040 \012'
 
4817
  lt_NL2SP='tr \015\012 \040\040'
 
4818
  ;;
 
4819
 *) # EBCDIC based system
 
4820
  lt_SP2NL='tr \100 \n'
 
4821
  lt_NL2SP='tr \r\n \100\100'
 
4822
  ;;
 
4823
esac
 
4824
 
 
4825
 
 
4826
 
 
4827
 
 
4828
 
 
4829
 
 
4830
 
 
4831
 
 
4832
 
 
4833
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
4834
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
4835
if test "${lt_cv_ld_reload_flag+set}" = set; then
 
4836
  $as_echo_n "(cached) " >&6
 
4837
else
 
4838
  lt_cv_ld_reload_flag='-r'
 
4839
fi
 
4840
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
4841
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
4842
reload_flag=$lt_cv_ld_reload_flag
 
4843
case $reload_flag in
 
4844
"" | " "*) ;;
 
4845
*) reload_flag=" $reload_flag" ;;
 
4846
esac
 
4847
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
4848
case $host_os in
 
4849
  darwin*)
 
4850
    if test "$GCC" = yes; then
 
4851
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
4852
    else
 
4853
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
4854
    fi
 
4855
    ;;
 
4856
esac
 
4857
 
 
4858
 
 
4859
 
 
4860
 
 
4861
 
 
4862
 
 
4863
 
 
4864
 
 
4865
 
 
4866
if test -n "$ac_tool_prefix"; then
 
4867
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
4868
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
4869
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4870
$as_echo_n "checking for $ac_word... " >&6; }
 
4871
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 
4872
  $as_echo_n "(cached) " >&6
 
4873
else
 
4874
  if test -n "$OBJDUMP"; then
 
4875
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
4876
else
 
4877
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4878
for as_dir in $PATH
 
4879
do
 
4880
  IFS=$as_save_IFS
 
4881
  test -z "$as_dir" && as_dir=.
 
4882
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4883
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4884
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
4885
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4886
    break 2
 
4887
  fi
 
4888
done
 
4889
done
 
4890
IFS=$as_save_IFS
 
4891
 
 
4892
fi
 
4893
fi
 
4894
OBJDUMP=$ac_cv_prog_OBJDUMP
 
4895
if test -n "$OBJDUMP"; then
 
4896
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
4897
$as_echo "$OBJDUMP" >&6; }
 
4898
else
 
4899
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4900
$as_echo "no" >&6; }
 
4901
fi
 
4902
 
 
4903
 
 
4904
fi
 
4905
if test -z "$ac_cv_prog_OBJDUMP"; then
 
4906
  ac_ct_OBJDUMP=$OBJDUMP
 
4907
  # Extract the first word of "objdump", so it can be a program name with args.
 
4908
set dummy objdump; ac_word=$2
 
4909
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4910
$as_echo_n "checking for $ac_word... " >&6; }
 
4911
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 
4912
  $as_echo_n "(cached) " >&6
 
4913
else
 
4914
  if test -n "$ac_ct_OBJDUMP"; then
 
4915
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
4916
else
 
4917
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4918
for as_dir in $PATH
 
4919
do
 
4920
  IFS=$as_save_IFS
 
4921
  test -z "$as_dir" && as_dir=.
 
4922
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4923
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4924
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
4925
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4926
    break 2
 
4927
  fi
 
4928
done
 
4929
done
 
4930
IFS=$as_save_IFS
 
4931
 
 
4932
fi
 
4933
fi
 
4934
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
4935
if test -n "$ac_ct_OBJDUMP"; then
 
4936
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
4937
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
4938
else
 
4939
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4940
$as_echo "no" >&6; }
 
4941
fi
 
4942
 
 
4943
  if test "x$ac_ct_OBJDUMP" = x; then
 
4944
    OBJDUMP="false"
 
4945
  else
 
4946
    case $cross_compiling:$ac_tool_warned in
 
4947
yes:)
 
4948
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4949
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4950
ac_tool_warned=yes ;;
 
4951
esac
 
4952
    OBJDUMP=$ac_ct_OBJDUMP
 
4953
  fi
 
4954
else
 
4955
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
4956
fi
 
4957
 
 
4958
test -z "$OBJDUMP" && OBJDUMP=objdump
 
4959
 
 
4960
 
 
4961
 
 
4962
 
 
4963
 
 
4964
 
 
4965
 
 
4966
 
 
4967
 
 
4968
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
4969
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
 
4970
if test "${lt_cv_deplibs_check_method+set}" = set; then
 
4971
  $as_echo_n "(cached) " >&6
 
4972
else
 
4973
  lt_cv_file_magic_cmd='$MAGIC_CMD'
 
4974
lt_cv_file_magic_test_file=
 
4975
lt_cv_deplibs_check_method='unknown'
 
4976
# Need to set the preceding variable on all platforms that support
 
4977
# interlibrary dependencies.
 
4978
# 'none' -- dependencies not supported.
 
4979
# `unknown' -- same as none, but documents that we really don't know.
 
4980
# 'pass_all' -- all dependencies passed with no checks.
 
4981
# 'test_compile' -- check by making test program.
 
4982
# 'file_magic [[regex]]' -- check by looking for files in library path
 
4983
# which responds to the $file_magic_cmd with a given extended regex.
 
4984
# If you have `file' or equivalent on your system and you're not sure
 
4985
# whether `pass_all' will *always* work, you probably want this one.
 
4986
 
 
4987
case $host_os in
 
4988
aix[4-9]*)
 
4989
  lt_cv_deplibs_check_method=pass_all
 
4990
  ;;
 
4991
 
 
4992
beos*)
 
4993
  lt_cv_deplibs_check_method=pass_all
 
4994
  ;;
 
4995
 
 
4996
bsdi[45]*)
 
4997
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 
4998
  lt_cv_file_magic_cmd='/usr/bin/file -L'
 
4999
  lt_cv_file_magic_test_file=/shlib/libc.so
 
5000
  ;;
 
5001
 
 
5002
cygwin*)
 
5003
  # func_win32_libid is a shell function defined in ltmain.sh
 
5004
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
5005
  lt_cv_file_magic_cmd='func_win32_libid'
 
5006
  ;;
 
5007
 
 
5008
mingw* | pw32*)
 
5009
  # Base MSYS/MinGW do not provide the 'file' command needed by
 
5010
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
5011
  # unless we find 'file', for example because we are cross-compiling.
 
5012
  if ( file / ) >/dev/null 2>&1; then
 
5013
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
5014
    lt_cv_file_magic_cmd='func_win32_libid'
 
5015
  else
 
5016
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
5017
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
5018
  fi
 
5019
  ;;
 
5020
 
 
5021
cegcc)
 
5022
  # use the weaker test based on 'objdump'. See mingw*.
 
5023
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
5024
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
5025
  ;;
 
5026
 
 
5027
darwin* | rhapsody*)
 
5028
  lt_cv_deplibs_check_method=pass_all
 
5029
  ;;
 
5030
 
 
5031
freebsd* | dragonfly*)
 
5032
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
5033
    case $host_cpu in
 
5034
    i*86 )
 
5035
      # Not sure whether the presence of OpenBSD here was a mistake.
 
5036
      # Let's accept both of them until this is cleared up.
 
5037
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
 
5038
      lt_cv_file_magic_cmd=/usr/bin/file
 
5039
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 
5040
      ;;
 
5041
    esac
 
5042
  else
 
5043
    lt_cv_deplibs_check_method=pass_all
 
5044
  fi
 
5045
  ;;
 
5046
 
 
5047
gnu*)
 
5048
  lt_cv_deplibs_check_method=pass_all
 
5049
  ;;
 
5050
 
 
5051
hpux10.20* | hpux11*)
 
5052
  lt_cv_file_magic_cmd=/usr/bin/file
 
5053
  case $host_cpu in
 
5054
  ia64*)
 
5055
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
 
5056
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 
5057
    ;;
 
5058
  hppa*64*)
 
5059
    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]'
 
5060
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 
5061
    ;;
 
5062
  *)
 
5063
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 
5064
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
 
5065
    ;;
 
5066
  esac
 
5067
  ;;
 
5068
 
 
5069
interix[3-9]*)
 
5070
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 
5071
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 
5072
  ;;
 
5073
 
 
5074
irix5* | irix6* | nonstopux*)
 
5075
  case $LD in
 
5076
  *-32|*"-32 ") libmagic=32-bit;;
 
5077
  *-n32|*"-n32 ") libmagic=N32;;
 
5078
  *-64|*"-64 ") libmagic=64-bit;;
 
5079
  *) libmagic=never-match;;
 
5080
  esac
 
5081
  lt_cv_deplibs_check_method=pass_all
 
5082
  ;;
 
5083
 
 
5084
# This must be Linux ELF.
 
5085
linux* | k*bsd*-gnu)
 
5086
  lt_cv_deplibs_check_method=pass_all
 
5087
  ;;
 
5088
 
 
5089
netbsd* | netbsdelf*-gnu)
 
5090
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
5091
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
5092
  else
 
5093
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
 
5094
  fi
 
5095
  ;;
 
5096
 
 
5097
newos6*)
 
5098
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
 
5099
  lt_cv_file_magic_cmd=/usr/bin/file
 
5100
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
 
5101
  ;;
 
5102
 
 
5103
*nto* | *qnx*)
 
5104
  lt_cv_deplibs_check_method=pass_all
 
5105
  ;;
 
5106
 
 
5107
openbsd*)
 
5108
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
5109
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
 
5110
  else
 
5111
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
5112
  fi
 
5113
  ;;
 
5114
 
 
5115
osf3* | osf4* | osf5*)
 
5116
  lt_cv_deplibs_check_method=pass_all
 
5117
  ;;
 
5118
 
 
5119
rdos*)
 
5120
  lt_cv_deplibs_check_method=pass_all
 
5121
  ;;
 
5122
 
 
5123
solaris*)
 
5124
  lt_cv_deplibs_check_method=pass_all
 
5125
  ;;
 
5126
 
 
5127
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
5128
  lt_cv_deplibs_check_method=pass_all
 
5129
  ;;
 
5130
 
 
5131
sysv4 | sysv4.3*)
 
5132
  case $host_vendor in
 
5133
  motorola)
 
5134
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
 
5135
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 
5136
    ;;
 
5137
  ncr)
 
5138
    lt_cv_deplibs_check_method=pass_all
 
5139
    ;;
 
5140
  sequent)
 
5141
    lt_cv_file_magic_cmd='/bin/file'
 
5142
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
 
5143
    ;;
 
5144
  sni)
 
5145
    lt_cv_file_magic_cmd='/bin/file'
 
5146
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
 
5147
    lt_cv_file_magic_test_file=/lib/libc.so
 
5148
    ;;
 
5149
  siemens)
 
5150
    lt_cv_deplibs_check_method=pass_all
 
5151
    ;;
 
5152
  pc)
 
5153
    lt_cv_deplibs_check_method=pass_all
 
5154
    ;;
 
5155
  esac
 
5156
  ;;
 
5157
 
 
5158
tpf*)
 
5159
  lt_cv_deplibs_check_method=pass_all
 
5160
  ;;
 
5161
esac
 
5162
 
 
5163
fi
 
5164
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
5165
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
5166
file_magic_cmd=$lt_cv_file_magic_cmd
 
5167
deplibs_check_method=$lt_cv_deplibs_check_method
 
5168
test -z "$deplibs_check_method" && deplibs_check_method=unknown
 
5169
 
 
5170
 
 
5171
 
 
5172
 
 
5173
 
 
5174
 
 
5175
 
 
5176
 
 
5177
 
 
5178
 
 
5179
 
 
5180
 
 
5181
if test -n "$ac_tool_prefix"; then
 
5182
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 
5183
set dummy ${ac_tool_prefix}ar; ac_word=$2
 
5184
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5185
$as_echo_n "checking for $ac_word... " >&6; }
 
5186
if test "${ac_cv_prog_AR+set}" = set; then
 
5187
  $as_echo_n "(cached) " >&6
 
5188
else
 
5189
  if test -n "$AR"; then
 
5190
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
5191
else
 
5192
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5193
for as_dir in $PATH
 
5194
do
 
5195
  IFS=$as_save_IFS
 
5196
  test -z "$as_dir" && as_dir=.
 
5197
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5198
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5199
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
5200
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5201
    break 2
 
5202
  fi
 
5203
done
 
5204
done
 
5205
IFS=$as_save_IFS
 
5206
 
 
5207
fi
 
5208
fi
 
5209
AR=$ac_cv_prog_AR
 
5210
if test -n "$AR"; then
 
5211
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
 
5212
$as_echo "$AR" >&6; }
 
5213
else
 
5214
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5215
$as_echo "no" >&6; }
 
5216
fi
 
5217
 
 
5218
 
 
5219
fi
 
5220
if test -z "$ac_cv_prog_AR"; then
 
5221
  ac_ct_AR=$AR
 
5222
  # Extract the first word of "ar", so it can be a program name with args.
 
5223
set dummy ar; ac_word=$2
 
5224
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5225
$as_echo_n "checking for $ac_word... " >&6; }
 
5226
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
5227
  $as_echo_n "(cached) " >&6
 
5228
else
 
5229
  if test -n "$ac_ct_AR"; then
 
5230
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
5231
else
 
5232
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5233
for as_dir in $PATH
 
5234
do
 
5235
  IFS=$as_save_IFS
 
5236
  test -z "$as_dir" && as_dir=.
 
5237
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5238
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5239
    ac_cv_prog_ac_ct_AR="ar"
 
5240
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5241
    break 2
 
5242
  fi
 
5243
done
 
5244
done
 
5245
IFS=$as_save_IFS
 
5246
 
 
5247
fi
 
5248
fi
 
5249
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
5250
if test -n "$ac_ct_AR"; then
 
5251
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
5252
$as_echo "$ac_ct_AR" >&6; }
 
5253
else
 
5254
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5255
$as_echo "no" >&6; }
 
5256
fi
 
5257
 
 
5258
  if test "x$ac_ct_AR" = x; then
 
5259
    AR="false"
 
5260
  else
 
5261
    case $cross_compiling:$ac_tool_warned in
 
5262
yes:)
 
5263
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5264
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5265
ac_tool_warned=yes ;;
 
5266
esac
 
5267
    AR=$ac_ct_AR
 
5268
  fi
 
5269
else
 
5270
  AR="$ac_cv_prog_AR"
 
5271
fi
 
5272
 
 
5273
test -z "$AR" && AR=ar
 
5274
test -z "$AR_FLAGS" && AR_FLAGS=cru
 
5275
 
 
5276
 
 
5277
 
 
5278
 
 
5279
 
 
5280
 
 
5281
 
 
5282
 
 
5283
 
 
5284
 
 
5285
 
 
5286
if test -n "$ac_tool_prefix"; then
 
5287
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
5288
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
5289
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5290
$as_echo_n "checking for $ac_word... " >&6; }
 
5291
if test "${ac_cv_prog_STRIP+set}" = set; then
 
5292
  $as_echo_n "(cached) " >&6
 
5293
else
 
5294
  if test -n "$STRIP"; then
 
5295
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
5296
else
 
5297
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5298
for as_dir in $PATH
 
5299
do
 
5300
  IFS=$as_save_IFS
 
5301
  test -z "$as_dir" && as_dir=.
 
5302
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5303
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5304
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
5305
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5306
    break 2
 
5307
  fi
 
5308
done
 
5309
done
 
5310
IFS=$as_save_IFS
 
5311
 
 
5312
fi
 
5313
fi
 
5314
STRIP=$ac_cv_prog_STRIP
 
5315
if test -n "$STRIP"; then
 
5316
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
5317
$as_echo "$STRIP" >&6; }
 
5318
else
 
5319
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5320
$as_echo "no" >&6; }
 
5321
fi
 
5322
 
 
5323
 
 
5324
fi
 
5325
if test -z "$ac_cv_prog_STRIP"; then
 
5326
  ac_ct_STRIP=$STRIP
 
5327
  # Extract the first word of "strip", so it can be a program name with args.
 
5328
set dummy strip; ac_word=$2
 
5329
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5330
$as_echo_n "checking for $ac_word... " >&6; }
 
5331
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
5332
  $as_echo_n "(cached) " >&6
 
5333
else
 
5334
  if test -n "$ac_ct_STRIP"; then
 
5335
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
5336
else
 
5337
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5338
for as_dir in $PATH
 
5339
do
 
5340
  IFS=$as_save_IFS
 
5341
  test -z "$as_dir" && as_dir=.
 
5342
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5343
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5344
    ac_cv_prog_ac_ct_STRIP="strip"
 
5345
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5346
    break 2
 
5347
  fi
 
5348
done
 
5349
done
 
5350
IFS=$as_save_IFS
 
5351
 
 
5352
fi
 
5353
fi
 
5354
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
5355
if test -n "$ac_ct_STRIP"; then
 
5356
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
5357
$as_echo "$ac_ct_STRIP" >&6; }
 
5358
else
 
5359
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5360
$as_echo "no" >&6; }
 
5361
fi
 
5362
 
 
5363
  if test "x$ac_ct_STRIP" = x; then
 
5364
    STRIP=":"
 
5365
  else
 
5366
    case $cross_compiling:$ac_tool_warned in
 
5367
yes:)
 
5368
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5369
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5370
ac_tool_warned=yes ;;
 
5371
esac
 
5372
    STRIP=$ac_ct_STRIP
 
5373
  fi
 
5374
else
 
5375
  STRIP="$ac_cv_prog_STRIP"
 
5376
fi
 
5377
 
 
5378
test -z "$STRIP" && STRIP=:
 
5379
 
 
5380
 
 
5381
 
 
5382
 
 
5383
 
 
5384
 
 
5385
if test -n "$ac_tool_prefix"; then
 
5386
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
5387
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
5388
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5389
$as_echo_n "checking for $ac_word... " >&6; }
 
5390
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
5391
  $as_echo_n "(cached) " >&6
 
5392
else
 
5393
  if test -n "$RANLIB"; then
 
5394
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
5395
else
 
5396
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5397
for as_dir in $PATH
 
5398
do
 
5399
  IFS=$as_save_IFS
 
5400
  test -z "$as_dir" && as_dir=.
 
5401
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5402
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5403
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
5404
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5405
    break 2
 
5406
  fi
 
5407
done
 
5408
done
 
5409
IFS=$as_save_IFS
 
5410
 
 
5411
fi
 
5412
fi
 
5413
RANLIB=$ac_cv_prog_RANLIB
 
5414
if test -n "$RANLIB"; then
 
5415
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
5416
$as_echo "$RANLIB" >&6; }
 
5417
else
 
5418
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5419
$as_echo "no" >&6; }
 
5420
fi
 
5421
 
 
5422
 
 
5423
fi
 
5424
if test -z "$ac_cv_prog_RANLIB"; then
 
5425
  ac_ct_RANLIB=$RANLIB
 
5426
  # Extract the first word of "ranlib", so it can be a program name with args.
 
5427
set dummy ranlib; ac_word=$2
 
5428
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5429
$as_echo_n "checking for $ac_word... " >&6; }
 
5430
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
5431
  $as_echo_n "(cached) " >&6
 
5432
else
 
5433
  if test -n "$ac_ct_RANLIB"; then
 
5434
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
5435
else
 
5436
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5437
for as_dir in $PATH
 
5438
do
 
5439
  IFS=$as_save_IFS
 
5440
  test -z "$as_dir" && as_dir=.
 
5441
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5442
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5443
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
5444
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5445
    break 2
 
5446
  fi
 
5447
done
 
5448
done
 
5449
IFS=$as_save_IFS
 
5450
 
 
5451
fi
 
5452
fi
 
5453
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
5454
if test -n "$ac_ct_RANLIB"; then
 
5455
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
5456
$as_echo "$ac_ct_RANLIB" >&6; }
 
5457
else
 
5458
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5459
$as_echo "no" >&6; }
 
5460
fi
 
5461
 
 
5462
  if test "x$ac_ct_RANLIB" = x; then
 
5463
    RANLIB=":"
 
5464
  else
 
5465
    case $cross_compiling:$ac_tool_warned in
 
5466
yes:)
 
5467
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5468
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5469
ac_tool_warned=yes ;;
 
5470
esac
 
5471
    RANLIB=$ac_ct_RANLIB
 
5472
  fi
 
5473
else
 
5474
  RANLIB="$ac_cv_prog_RANLIB"
 
5475
fi
 
5476
 
 
5477
test -z "$RANLIB" && RANLIB=:
 
5478
 
 
5479
 
 
5480
 
 
5481
 
 
5482
 
 
5483
 
 
5484
# Determine commands to create old-style static archives.
 
5485
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
5486
old_postinstall_cmds='chmod 644 $oldlib'
 
5487
old_postuninstall_cmds=
 
5488
 
 
5489
if test -n "$RANLIB"; then
 
5490
  case $host_os in
 
5491
  openbsd*)
 
5492
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
5493
    ;;
 
5494
  *)
 
5495
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
5496
    ;;
 
5497
  esac
 
5498
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
5499
fi
 
5500
 
 
5501
 
 
5502
 
 
5503
 
 
5504
 
 
5505
 
 
5506
 
 
5507
 
 
5508
 
 
5509
 
 
5510
 
 
5511
 
 
5512
 
 
5513
 
 
5514
 
 
5515
 
 
5516
 
 
5517
 
 
5518
 
 
5519
 
 
5520
 
 
5521
 
 
5522
 
 
5523
 
 
5524
 
 
5525
 
 
5526
 
 
5527
 
 
5528
 
 
5529
 
 
5530
 
 
5531
 
 
5532
 
 
5533
 
 
5534
# If no C compiler was specified, use CC.
 
5535
LTCC=${LTCC-"$CC"}
 
5536
 
 
5537
# If no C compiler flags were specified, use CFLAGS.
 
5538
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
5539
 
 
5540
# Allow CC to be a program name with arguments.
 
5541
compiler=$CC
 
5542
 
 
5543
 
 
5544
# Check for command to grab the raw symbol name followed by C symbol from nm.
 
5545
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
5546
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
 
5547
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
 
5548
  $as_echo_n "(cached) " >&6
 
5549
else
 
5550
 
 
5551
# These are sane defaults that work on at least a few old systems.
 
5552
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 
5553
 
 
5554
# Character class describing NM global symbol codes.
 
5555
symcode='[BCDEGRST]'
 
5556
 
 
5557
# Regexp to match symbols that can be accessed directly from C.
 
5558
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
 
5559
 
 
5560
# Define system-specific variables.
 
5561
case $host_os in
 
5562
aix*)
 
5563
  symcode='[BCDT]'
 
5564
  ;;
 
5565
cygwin* | mingw* | pw32* | cegcc*)
 
5566
  symcode='[ABCDGISTW]'
 
5567
  ;;
 
5568
hpux*)
 
5569
  if test "$host_cpu" = ia64; then
 
5570
    symcode='[ABCDEGRST]'
 
5571
  fi
 
5572
  ;;
 
5573
irix* | nonstopux*)
 
5574
  symcode='[BCDEGRST]'
 
5575
  ;;
 
5576
osf*)
 
5577
  symcode='[BCDEGQRST]'
 
5578
  ;;
 
5579
solaris*)
 
5580
  symcode='[BDRT]'
 
5581
  ;;
 
5582
sco3.2v5*)
 
5583
  symcode='[DT]'
 
5584
  ;;
 
5585
sysv4.2uw2*)
 
5586
  symcode='[DT]'
 
5587
  ;;
 
5588
sysv5* | sco5v6* | unixware* | OpenUNIX*)
 
5589
  symcode='[ABDT]'
 
5590
  ;;
 
5591
sysv4)
 
5592
  symcode='[DFNSTU]'
 
5593
  ;;
 
5594
esac
 
5595
 
 
5596
# If we're using GNU nm, then use its standard symbol codes.
 
5597
case `$NM -V 2>&1` in
 
5598
*GNU* | *'with BFD'*)
 
5599
  symcode='[ABCDGIRSTW]' ;;
 
5600
esac
 
5601
 
 
5602
# Transform an extracted symbol line into a proper C declaration.
 
5603
# Some systems (esp. on ia64) link data and code symbols differently,
 
5604
# so use this general approach.
 
5605
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
5606
 
 
5607
# Transform an extracted symbol line into symbol name and symbol address
 
5608
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
5609
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'"
 
5610
 
 
5611
# Handle CRLF in mingw tool chain
 
5612
opt_cr=
 
5613
case $build_os in
 
5614
mingw*)
 
5615
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
5616
  ;;
 
5617
esac
 
5618
 
 
5619
# Try without a prefix underscore, then with it.
 
5620
for ac_symprfx in "" "_"; do
 
5621
 
 
5622
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 
5623
  symxfrm="\\1 $ac_symprfx\\2 \\2"
 
5624
 
 
5625
  # Write the raw and C identifiers.
 
5626
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
5627
    # Fake it for dumpbin and say T for any non-static function
 
5628
    # and D for any global variable.
 
5629
    # Also find C++ and __fastcall symbols from MSVC++,
 
5630
    # which start with @ or ?.
 
5631
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
5632
"     {last_section=section; section=\$ 3};"\
 
5633
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
5634
"     \$ 0!~/External *\|/{next};"\
 
5635
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
5636
"     {if(hide[section]) next};"\
 
5637
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
5638
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
5639
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
5640
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
5641
"     ' prfx=^$ac_symprfx"
 
5642
  else
 
5643
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
5644
  fi
 
5645
 
 
5646
  # Check to see that the pipe works correctly.
 
5647
  pipe_works=no
 
5648
 
 
5649
  rm -f conftest*
 
5650
  cat > conftest.$ac_ext <<_LT_EOF
 
5651
#ifdef __cplusplus
 
5652
extern "C" {
 
5653
#endif
 
5654
char nm_test_var;
 
5655
void nm_test_func(void);
 
5656
void nm_test_func(void){}
 
5657
#ifdef __cplusplus
 
5658
}
 
5659
#endif
 
5660
int main(){nm_test_var='a';nm_test_func();return(0);}
 
5661
_LT_EOF
 
5662
 
 
5663
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5664
  (eval $ac_compile) 2>&5
 
5665
  ac_status=$?
 
5666
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5667
  (exit $ac_status); }; then
 
5668
    # Now try to grab the symbols.
 
5669
    nlist=conftest.nm
 
5670
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
 
5671
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
5672
  ac_status=$?
 
5673
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5674
  (exit $ac_status); } && test -s "$nlist"; then
 
5675
      # Try sorting and uniquifying the output.
 
5676
      if sort "$nlist" | uniq > "$nlist"T; then
 
5677
        mv -f "$nlist"T "$nlist"
 
5678
      else
 
5679
        rm -f "$nlist"T
 
5680
      fi
 
5681
 
 
5682
      # Make sure that we snagged all the symbols we need.
 
5683
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
5684
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
5685
          cat <<_LT_EOF > conftest.$ac_ext
 
5686
#ifdef __cplusplus
 
5687
extern "C" {
 
5688
#endif
 
5689
 
 
5690
_LT_EOF
 
5691
          # Now generate the symbol file.
 
5692
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
5693
 
 
5694
          cat <<_LT_EOF >> conftest.$ac_ext
 
5695
 
 
5696
/* The mapping between symbol names and symbols.  */
 
5697
const struct {
 
5698
  const char *name;
 
5699
  void       *address;
 
5700
}
 
5701
lt__PROGRAM__LTX_preloaded_symbols[] =
 
5702
{
 
5703
  { "@PROGRAM@", (void *) 0 },
 
5704
_LT_EOF
 
5705
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
5706
          cat <<\_LT_EOF >> conftest.$ac_ext
 
5707
  {0, (void *) 0}
 
5708
};
 
5709
 
 
5710
/* This works around a problem in FreeBSD linker */
 
5711
#ifdef FREEBSD_WORKAROUND
 
5712
static const void *lt_preloaded_setup() {
 
5713
  return lt__PROGRAM__LTX_preloaded_symbols;
 
5714
}
 
5715
#endif
 
5716
 
 
5717
#ifdef __cplusplus
 
5718
}
 
5719
#endif
 
5720
_LT_EOF
 
5721
          # Now try linking the two files.
 
5722
          mv conftest.$ac_objext conftstm.$ac_objext
 
5723
          lt_save_LIBS="$LIBS"
 
5724
          lt_save_CFLAGS="$CFLAGS"
 
5725
          LIBS="conftstm.$ac_objext"
 
5726
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
 
5727
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
5728
  (eval $ac_link) 2>&5
 
5729
  ac_status=$?
 
5730
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5731
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
 
5732
            pipe_works=yes
 
5733
          fi
 
5734
          LIBS="$lt_save_LIBS"
 
5735
          CFLAGS="$lt_save_CFLAGS"
 
5736
        else
 
5737
          echo "cannot find nm_test_func in $nlist" >&5
 
5738
        fi
 
5739
      else
 
5740
        echo "cannot find nm_test_var in $nlist" >&5
 
5741
      fi
 
5742
    else
 
5743
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
 
5744
    fi
 
5745
  else
 
5746
    echo "$progname: failed program was:" >&5
 
5747
    cat conftest.$ac_ext >&5
 
5748
  fi
 
5749
  rm -rf conftest* conftst*
 
5750
 
 
5751
  # Do not use the global_symbol_pipe unless it works.
 
5752
  if test "$pipe_works" = yes; then
 
5753
    break
 
5754
  else
 
5755
    lt_cv_sys_global_symbol_pipe=
 
5756
  fi
 
5757
done
 
5758
 
 
5759
fi
 
5760
 
 
5761
if test -z "$lt_cv_sys_global_symbol_pipe"; then
 
5762
  lt_cv_sys_global_symbol_to_cdecl=
 
5763
fi
 
5764
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
 
5765
  { $as_echo "$as_me:$LINENO: result: failed" >&5
 
5766
$as_echo "failed" >&6; }
 
5767
else
 
5768
  { $as_echo "$as_me:$LINENO: result: ok" >&5
 
5769
$as_echo "ok" >&6; }
 
5770
fi
 
5771
 
 
5772
 
 
5773
 
 
5774
 
 
5775
 
 
5776
 
 
5777
 
 
5778
 
 
5779
 
 
5780
 
 
5781
 
 
5782
 
 
5783
 
 
5784
 
 
5785
 
 
5786
 
 
5787
 
 
5788
 
 
5789
 
 
5790
 
 
5791
 
 
5792
 
 
5793
 
 
5794
# Check whether --enable-libtool-lock was given.
 
5795
if test "${enable_libtool_lock+set}" = set; then
 
5796
  enableval=$enable_libtool_lock;
 
5797
fi
 
5798
 
 
5799
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
5800
 
 
5801
# Some flags need to be propagated to the compiler or linker for good
 
5802
# libtool support.
 
5803
case $host in
 
5804
ia64-*-hpux*)
 
5805
  # Find out which ABI we are using.
 
5806
  echo 'int i;' > conftest.$ac_ext
 
5807
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5808
  (eval $ac_compile) 2>&5
 
5809
  ac_status=$?
 
5810
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5811
  (exit $ac_status); }; then
 
5812
    case `/usr/bin/file conftest.$ac_objext` in
 
5813
      *ELF-32*)
 
5814
        HPUX_IA64_MODE="32"
 
5815
        ;;
 
5816
      *ELF-64*)
 
5817
        HPUX_IA64_MODE="64"
 
5818
        ;;
 
5819
    esac
 
5820
  fi
 
5821
  rm -rf conftest*
 
5822
  ;;
 
5823
*-*-irix6*)
 
5824
  # Find out which ABI we are using.
 
5825
  echo '#line 5825 "configure"' > conftest.$ac_ext
 
5826
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5827
  (eval $ac_compile) 2>&5
 
5828
  ac_status=$?
 
5829
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5830
  (exit $ac_status); }; then
 
5831
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
5832
      case `/usr/bin/file conftest.$ac_objext` in
 
5833
        *32-bit*)
 
5834
          LD="${LD-ld} -melf32bsmip"
 
5835
          ;;
 
5836
        *N32*)
 
5837
          LD="${LD-ld} -melf32bmipn32"
 
5838
          ;;
 
5839
        *64-bit*)
 
5840
          LD="${LD-ld} -melf64bmip"
 
5841
        ;;
 
5842
      esac
 
5843
    else
 
5844
      case `/usr/bin/file conftest.$ac_objext` in
 
5845
        *32-bit*)
 
5846
          LD="${LD-ld} -32"
 
5847
          ;;
 
5848
        *N32*)
 
5849
          LD="${LD-ld} -n32"
 
5850
          ;;
 
5851
        *64-bit*)
 
5852
          LD="${LD-ld} -64"
 
5853
          ;;
 
5854
      esac
 
5855
    fi
 
5856
  fi
 
5857
  rm -rf conftest*
 
5858
  ;;
 
5859
 
 
5860
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
5861
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
5862
  # Find out which ABI we are using.
 
5863
  echo 'int i;' > conftest.$ac_ext
 
5864
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5865
  (eval $ac_compile) 2>&5
 
5866
  ac_status=$?
 
5867
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5868
  (exit $ac_status); }; then
 
5869
    case `/usr/bin/file conftest.o` in
 
5870
      *32-bit*)
 
5871
        case $host in
 
5872
          x86_64-*kfreebsd*-gnu)
 
5873
            LD="${LD-ld} -m elf_i386_fbsd"
 
5874
            ;;
 
5875
          x86_64-*linux*)
 
5876
            LD="${LD-ld} -m elf_i386"
 
5877
            ;;
 
5878
          ppc64-*linux*|powerpc64-*linux*)
 
5879
            LD="${LD-ld} -m elf32ppclinux"
 
5880
            ;;
 
5881
          s390x-*linux*)
 
5882
            LD="${LD-ld} -m elf_s390"
 
5883
            ;;
 
5884
          sparc64-*linux*)
 
5885
            LD="${LD-ld} -m elf32_sparc"
 
5886
            ;;
 
5887
        esac
 
5888
        ;;
 
5889
      *64-bit*)
 
5890
        case $host in
 
5891
          x86_64-*kfreebsd*-gnu)
 
5892
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
5893
            ;;
 
5894
          x86_64-*linux*)
 
5895
            LD="${LD-ld} -m elf_x86_64"
 
5896
            ;;
 
5897
          ppc*-*linux*|powerpc*-*linux*)
 
5898
            LD="${LD-ld} -m elf64ppc"
 
5899
            ;;
 
5900
          s390*-*linux*|s390*-*tpf*)
 
5901
            LD="${LD-ld} -m elf64_s390"
 
5902
            ;;
 
5903
          sparc*-*linux*)
 
5904
            LD="${LD-ld} -m elf64_sparc"
 
5905
            ;;
 
5906
        esac
 
5907
        ;;
 
5908
    esac
 
5909
  fi
 
5910
  rm -rf conftest*
 
5911
  ;;
 
5912
 
 
5913
*-*-sco3.2v5*)
 
5914
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
5915
  SAVE_CFLAGS="$CFLAGS"
 
5916
  CFLAGS="$CFLAGS -belf"
 
5917
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
5918
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
5919
if test "${lt_cv_cc_needs_belf+set}" = set; then
 
5920
  $as_echo_n "(cached) " >&6
 
5921
else
 
5922
  ac_ext=c
 
5923
ac_cpp='$CPP $CPPFLAGS'
 
5924
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5925
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5926
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
5927
 
 
5928
     cat >conftest.$ac_ext <<_ACEOF
 
5929
/* confdefs.h.  */
 
5930
_ACEOF
 
5931
cat confdefs.h >>conftest.$ac_ext
 
5932
cat >>conftest.$ac_ext <<_ACEOF
 
5933
/* end confdefs.h.  */
 
5934
 
 
5935
int
 
5936
main ()
 
5937
{
 
5938
 
 
5939
  ;
 
5940
  return 0;
 
5941
}
 
5942
_ACEOF
 
5943
rm -f conftest.$ac_objext conftest$ac_exeext
 
5944
if { (ac_try="$ac_link"
 
5945
case "(($ac_try" in
 
5946
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5947
  *) ac_try_echo=$ac_try;;
 
5948
esac
 
5949
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5950
$as_echo "$ac_try_echo") >&5
 
5951
  (eval "$ac_link") 2>conftest.er1
 
5952
  ac_status=$?
 
5953
  grep -v '^ *+' conftest.er1 >conftest.err
 
5954
  rm -f conftest.er1
 
5955
  cat conftest.err >&5
 
5956
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5957
  (exit $ac_status); } && {
 
5958
         test -z "$ac_c_werror_flag" ||
 
5959
         test ! -s conftest.err
 
5960
       } && test -s conftest$ac_exeext && {
 
5961
         test "$cross_compiling" = yes ||
 
5962
         $as_test_x conftest$ac_exeext
 
5963
       }; then
 
5964
  lt_cv_cc_needs_belf=yes
 
5965
else
 
5966
  $as_echo "$as_me: failed program was:" >&5
 
5967
sed 's/^/| /' conftest.$ac_ext >&5
 
5968
 
 
5969
        lt_cv_cc_needs_belf=no
 
5970
fi
 
5971
 
 
5972
rm -rf conftest.dSYM
 
5973
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
5974
      conftest$ac_exeext conftest.$ac_ext
 
5975
     ac_ext=c
 
5976
ac_cpp='$CPP $CPPFLAGS'
 
5977
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5978
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5979
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
5980
 
 
5981
fi
 
5982
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
5983
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
5984
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
5985
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
5986
    CFLAGS="$SAVE_CFLAGS"
 
5987
  fi
 
5988
  ;;
 
5989
sparc*-*solaris*)
 
5990
  # Find out which ABI we are using.
 
5991
  echo 'int i;' > conftest.$ac_ext
 
5992
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5993
  (eval $ac_compile) 2>&5
 
5994
  ac_status=$?
 
5995
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5996
  (exit $ac_status); }; then
 
5997
    case `/usr/bin/file conftest.o` in
 
5998
    *64-bit*)
 
5999
      case $lt_cv_prog_gnu_ld in
 
6000
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
6001
      *)
 
6002
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
6003
          LD="${LD-ld} -64"
 
6004
        fi
 
6005
        ;;
 
6006
      esac
 
6007
      ;;
 
6008
    esac
 
6009
  fi
 
6010
  rm -rf conftest*
 
6011
  ;;
 
6012
esac
 
6013
 
 
6014
need_locks="$enable_libtool_lock"
 
6015
 
 
6016
 
 
6017
  case $host_os in
 
6018
    rhapsody* | darwin*)
 
6019
    if test -n "$ac_tool_prefix"; then
 
6020
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
6021
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
6022
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6023
$as_echo_n "checking for $ac_word... " >&6; }
 
6024
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
 
6025
  $as_echo_n "(cached) " >&6
 
6026
else
 
6027
  if test -n "$DSYMUTIL"; then
 
6028
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
6029
else
 
6030
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6031
for as_dir in $PATH
 
6032
do
 
6033
  IFS=$as_save_IFS
 
6034
  test -z "$as_dir" && as_dir=.
 
6035
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6036
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6037
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
6038
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6039
    break 2
 
6040
  fi
 
6041
done
 
6042
done
 
6043
IFS=$as_save_IFS
 
6044
 
 
6045
fi
 
6046
fi
 
6047
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
6048
if test -n "$DSYMUTIL"; then
 
6049
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
6050
$as_echo "$DSYMUTIL" >&6; }
 
6051
else
 
6052
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6053
$as_echo "no" >&6; }
 
6054
fi
 
6055
 
 
6056
 
 
6057
fi
 
6058
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
6059
  ac_ct_DSYMUTIL=$DSYMUTIL
 
6060
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
6061
set dummy dsymutil; ac_word=$2
 
6062
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6063
$as_echo_n "checking for $ac_word... " >&6; }
 
6064
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
 
6065
  $as_echo_n "(cached) " >&6
 
6066
else
 
6067
  if test -n "$ac_ct_DSYMUTIL"; then
 
6068
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
6069
else
 
6070
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6071
for as_dir in $PATH
 
6072
do
 
6073
  IFS=$as_save_IFS
 
6074
  test -z "$as_dir" && as_dir=.
 
6075
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6076
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6077
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
6078
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6079
    break 2
 
6080
  fi
 
6081
done
 
6082
done
 
6083
IFS=$as_save_IFS
 
6084
 
 
6085
fi
 
6086
fi
 
6087
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
6088
if test -n "$ac_ct_DSYMUTIL"; then
 
6089
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
6090
$as_echo "$ac_ct_DSYMUTIL" >&6; }
 
6091
else
 
6092
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6093
$as_echo "no" >&6; }
 
6094
fi
 
6095
 
 
6096
  if test "x$ac_ct_DSYMUTIL" = x; then
 
6097
    DSYMUTIL=":"
 
6098
  else
 
6099
    case $cross_compiling:$ac_tool_warned in
 
6100
yes:)
 
6101
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6102
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6103
ac_tool_warned=yes ;;
 
6104
esac
 
6105
    DSYMUTIL=$ac_ct_DSYMUTIL
 
6106
  fi
 
6107
else
 
6108
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
6109
fi
 
6110
 
 
6111
    if test -n "$ac_tool_prefix"; then
 
6112
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
6113
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
6114
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6115
$as_echo_n "checking for $ac_word... " >&6; }
 
6116
if test "${ac_cv_prog_NMEDIT+set}" = set; then
 
6117
  $as_echo_n "(cached) " >&6
 
6118
else
 
6119
  if test -n "$NMEDIT"; then
 
6120
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
6121
else
 
6122
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6123
for as_dir in $PATH
 
6124
do
 
6125
  IFS=$as_save_IFS
 
6126
  test -z "$as_dir" && as_dir=.
 
6127
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6128
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6129
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
6130
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6131
    break 2
 
6132
  fi
 
6133
done
 
6134
done
 
6135
IFS=$as_save_IFS
 
6136
 
 
6137
fi
 
6138
fi
 
6139
NMEDIT=$ac_cv_prog_NMEDIT
 
6140
if test -n "$NMEDIT"; then
 
6141
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
6142
$as_echo "$NMEDIT" >&6; }
 
6143
else
 
6144
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6145
$as_echo "no" >&6; }
 
6146
fi
 
6147
 
 
6148
 
 
6149
fi
 
6150
if test -z "$ac_cv_prog_NMEDIT"; then
 
6151
  ac_ct_NMEDIT=$NMEDIT
 
6152
  # Extract the first word of "nmedit", so it can be a program name with args.
 
6153
set dummy nmedit; ac_word=$2
 
6154
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6155
$as_echo_n "checking for $ac_word... " >&6; }
 
6156
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
 
6157
  $as_echo_n "(cached) " >&6
 
6158
else
 
6159
  if test -n "$ac_ct_NMEDIT"; then
 
6160
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
6161
else
 
6162
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6163
for as_dir in $PATH
 
6164
do
 
6165
  IFS=$as_save_IFS
 
6166
  test -z "$as_dir" && as_dir=.
 
6167
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6168
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6169
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
6170
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6171
    break 2
 
6172
  fi
 
6173
done
 
6174
done
 
6175
IFS=$as_save_IFS
 
6176
 
 
6177
fi
 
6178
fi
 
6179
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
6180
if test -n "$ac_ct_NMEDIT"; then
 
6181
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
6182
$as_echo "$ac_ct_NMEDIT" >&6; }
 
6183
else
 
6184
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6185
$as_echo "no" >&6; }
 
6186
fi
 
6187
 
 
6188
  if test "x$ac_ct_NMEDIT" = x; then
 
6189
    NMEDIT=":"
 
6190
  else
 
6191
    case $cross_compiling:$ac_tool_warned in
 
6192
yes:)
 
6193
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6194
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6195
ac_tool_warned=yes ;;
 
6196
esac
 
6197
    NMEDIT=$ac_ct_NMEDIT
 
6198
  fi
 
6199
else
 
6200
  NMEDIT="$ac_cv_prog_NMEDIT"
 
6201
fi
 
6202
 
 
6203
    if test -n "$ac_tool_prefix"; then
 
6204
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
6205
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
6206
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6207
$as_echo_n "checking for $ac_word... " >&6; }
 
6208
if test "${ac_cv_prog_LIPO+set}" = set; then
 
6209
  $as_echo_n "(cached) " >&6
 
6210
else
 
6211
  if test -n "$LIPO"; then
 
6212
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
6213
else
 
6214
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6215
for as_dir in $PATH
 
6216
do
 
6217
  IFS=$as_save_IFS
 
6218
  test -z "$as_dir" && as_dir=.
 
6219
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6220
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6221
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
6222
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6223
    break 2
 
6224
  fi
 
6225
done
 
6226
done
 
6227
IFS=$as_save_IFS
 
6228
 
 
6229
fi
 
6230
fi
 
6231
LIPO=$ac_cv_prog_LIPO
 
6232
if test -n "$LIPO"; then
 
6233
  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
 
6234
$as_echo "$LIPO" >&6; }
 
6235
else
 
6236
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6237
$as_echo "no" >&6; }
 
6238
fi
 
6239
 
 
6240
 
 
6241
fi
 
6242
if test -z "$ac_cv_prog_LIPO"; then
 
6243
  ac_ct_LIPO=$LIPO
 
6244
  # Extract the first word of "lipo", so it can be a program name with args.
 
6245
set dummy lipo; ac_word=$2
 
6246
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6247
$as_echo_n "checking for $ac_word... " >&6; }
 
6248
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
 
6249
  $as_echo_n "(cached) " >&6
 
6250
else
 
6251
  if test -n "$ac_ct_LIPO"; then
 
6252
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
6253
else
 
6254
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6255
for as_dir in $PATH
 
6256
do
 
6257
  IFS=$as_save_IFS
 
6258
  test -z "$as_dir" && as_dir=.
 
6259
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6260
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6261
    ac_cv_prog_ac_ct_LIPO="lipo"
 
6262
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6263
    break 2
 
6264
  fi
 
6265
done
 
6266
done
 
6267
IFS=$as_save_IFS
 
6268
 
 
6269
fi
 
6270
fi
 
6271
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
6272
if test -n "$ac_ct_LIPO"; then
 
6273
  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
 
6274
$as_echo "$ac_ct_LIPO" >&6; }
 
6275
else
 
6276
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6277
$as_echo "no" >&6; }
 
6278
fi
 
6279
 
 
6280
  if test "x$ac_ct_LIPO" = x; then
 
6281
    LIPO=":"
 
6282
  else
 
6283
    case $cross_compiling:$ac_tool_warned in
 
6284
yes:)
 
6285
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6286
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6287
ac_tool_warned=yes ;;
 
6288
esac
 
6289
    LIPO=$ac_ct_LIPO
 
6290
  fi
 
6291
else
 
6292
  LIPO="$ac_cv_prog_LIPO"
 
6293
fi
 
6294
 
 
6295
    if test -n "$ac_tool_prefix"; then
 
6296
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
6297
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
6298
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6299
$as_echo_n "checking for $ac_word... " >&6; }
 
6300
if test "${ac_cv_prog_OTOOL+set}" = set; then
 
6301
  $as_echo_n "(cached) " >&6
 
6302
else
 
6303
  if test -n "$OTOOL"; then
 
6304
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
6305
else
 
6306
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6307
for as_dir in $PATH
 
6308
do
 
6309
  IFS=$as_save_IFS
 
6310
  test -z "$as_dir" && as_dir=.
 
6311
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6312
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6313
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
6314
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6315
    break 2
 
6316
  fi
 
6317
done
 
6318
done
 
6319
IFS=$as_save_IFS
 
6320
 
 
6321
fi
 
6322
fi
 
6323
OTOOL=$ac_cv_prog_OTOOL
 
6324
if test -n "$OTOOL"; then
 
6325
  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
 
6326
$as_echo "$OTOOL" >&6; }
 
6327
else
 
6328
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6329
$as_echo "no" >&6; }
 
6330
fi
 
6331
 
 
6332
 
 
6333
fi
 
6334
if test -z "$ac_cv_prog_OTOOL"; then
 
6335
  ac_ct_OTOOL=$OTOOL
 
6336
  # Extract the first word of "otool", so it can be a program name with args.
 
6337
set dummy otool; ac_word=$2
 
6338
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6339
$as_echo_n "checking for $ac_word... " >&6; }
 
6340
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
 
6341
  $as_echo_n "(cached) " >&6
 
6342
else
 
6343
  if test -n "$ac_ct_OTOOL"; then
 
6344
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
6345
else
 
6346
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6347
for as_dir in $PATH
 
6348
do
 
6349
  IFS=$as_save_IFS
 
6350
  test -z "$as_dir" && as_dir=.
 
6351
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6352
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6353
    ac_cv_prog_ac_ct_OTOOL="otool"
 
6354
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6355
    break 2
 
6356
  fi
 
6357
done
 
6358
done
 
6359
IFS=$as_save_IFS
 
6360
 
 
6361
fi
 
6362
fi
 
6363
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
6364
if test -n "$ac_ct_OTOOL"; then
 
6365
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
 
6366
$as_echo "$ac_ct_OTOOL" >&6; }
 
6367
else
 
6368
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6369
$as_echo "no" >&6; }
 
6370
fi
 
6371
 
 
6372
  if test "x$ac_ct_OTOOL" = x; then
 
6373
    OTOOL=":"
 
6374
  else
 
6375
    case $cross_compiling:$ac_tool_warned in
 
6376
yes:)
 
6377
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6378
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6379
ac_tool_warned=yes ;;
 
6380
esac
 
6381
    OTOOL=$ac_ct_OTOOL
 
6382
  fi
 
6383
else
 
6384
  OTOOL="$ac_cv_prog_OTOOL"
 
6385
fi
 
6386
 
 
6387
    if test -n "$ac_tool_prefix"; then
 
6388
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
6389
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
6390
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6391
$as_echo_n "checking for $ac_word... " >&6; }
 
6392
if test "${ac_cv_prog_OTOOL64+set}" = set; then
 
6393
  $as_echo_n "(cached) " >&6
 
6394
else
 
6395
  if test -n "$OTOOL64"; then
 
6396
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
6397
else
 
6398
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6399
for as_dir in $PATH
 
6400
do
 
6401
  IFS=$as_save_IFS
 
6402
  test -z "$as_dir" && as_dir=.
 
6403
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6404
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6405
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
6406
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6407
    break 2
 
6408
  fi
 
6409
done
 
6410
done
 
6411
IFS=$as_save_IFS
 
6412
 
 
6413
fi
 
6414
fi
 
6415
OTOOL64=$ac_cv_prog_OTOOL64
 
6416
if test -n "$OTOOL64"; then
 
6417
  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
 
6418
$as_echo "$OTOOL64" >&6; }
 
6419
else
 
6420
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6421
$as_echo "no" >&6; }
 
6422
fi
 
6423
 
 
6424
 
 
6425
fi
 
6426
if test -z "$ac_cv_prog_OTOOL64"; then
 
6427
  ac_ct_OTOOL64=$OTOOL64
 
6428
  # Extract the first word of "otool64", so it can be a program name with args.
 
6429
set dummy otool64; ac_word=$2
 
6430
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6431
$as_echo_n "checking for $ac_word... " >&6; }
 
6432
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
 
6433
  $as_echo_n "(cached) " >&6
 
6434
else
 
6435
  if test -n "$ac_ct_OTOOL64"; then
 
6436
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
6437
else
 
6438
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6439
for as_dir in $PATH
 
6440
do
 
6441
  IFS=$as_save_IFS
 
6442
  test -z "$as_dir" && as_dir=.
 
6443
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6444
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6445
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
6446
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6447
    break 2
 
6448
  fi
 
6449
done
 
6450
done
 
6451
IFS=$as_save_IFS
 
6452
 
 
6453
fi
 
6454
fi
 
6455
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
6456
if test -n "$ac_ct_OTOOL64"; then
 
6457
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
 
6458
$as_echo "$ac_ct_OTOOL64" >&6; }
 
6459
else
 
6460
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6461
$as_echo "no" >&6; }
 
6462
fi
 
6463
 
 
6464
  if test "x$ac_ct_OTOOL64" = x; then
 
6465
    OTOOL64=":"
 
6466
  else
 
6467
    case $cross_compiling:$ac_tool_warned in
 
6468
yes:)
 
6469
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6470
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6471
ac_tool_warned=yes ;;
 
6472
esac
 
6473
    OTOOL64=$ac_ct_OTOOL64
 
6474
  fi
 
6475
else
 
6476
  OTOOL64="$ac_cv_prog_OTOOL64"
 
6477
fi
 
6478
 
 
6479
 
 
6480
 
 
6481
 
 
6482
 
 
6483
 
 
6484
 
 
6485
 
 
6486
 
 
6487
 
 
6488
 
 
6489
 
 
6490
 
 
6491
 
 
6492
 
 
6493
 
 
6494
 
 
6495
 
 
6496
 
 
6497
 
 
6498
 
 
6499
 
 
6500
 
 
6501
 
 
6502
 
 
6503
 
 
6504
 
 
6505
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
6506
$as_echo_n "checking for -single_module linker flag... " >&6; }
 
6507
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 
6508
  $as_echo_n "(cached) " >&6
 
6509
else
 
6510
  lt_cv_apple_cc_single_mod=no
 
6511
      if test -z "${LT_MULTI_MODULE}"; then
 
6512
        # By default we will add the -single_module flag. You can override
 
6513
        # by either setting the environment variable LT_MULTI_MODULE
 
6514
        # non-empty at configure time, or by adding -multi_module to the
 
6515
        # link flags.
 
6516
        rm -rf libconftest.dylib*
 
6517
        echo "int foo(void){return 1;}" > conftest.c
 
6518
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
6519
-dynamiclib -Wl,-single_module conftest.c" >&5
 
6520
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
6521
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
6522
        _lt_result=$?
 
6523
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
6524
          lt_cv_apple_cc_single_mod=yes
 
6525
        else
 
6526
          cat conftest.err >&5
 
6527
        fi
 
6528
        rm -rf libconftest.dylib*
 
6529
        rm -f conftest.*
 
6530
      fi
 
6531
fi
 
6532
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
6533
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
6534
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
6535
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 
6536
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
 
6537
  $as_echo_n "(cached) " >&6
 
6538
else
 
6539
  lt_cv_ld_exported_symbols_list=no
 
6540
      save_LDFLAGS=$LDFLAGS
 
6541
      echo "_main" > conftest.sym
 
6542
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
6543
      cat >conftest.$ac_ext <<_ACEOF
 
6544
/* confdefs.h.  */
 
6545
_ACEOF
 
6546
cat confdefs.h >>conftest.$ac_ext
 
6547
cat >>conftest.$ac_ext <<_ACEOF
 
6548
/* end confdefs.h.  */
 
6549
 
 
6550
int
 
6551
main ()
 
6552
{
 
6553
 
 
6554
  ;
 
6555
  return 0;
 
6556
}
 
6557
_ACEOF
 
6558
rm -f conftest.$ac_objext conftest$ac_exeext
 
6559
if { (ac_try="$ac_link"
 
6560
case "(($ac_try" in
 
6561
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6562
  *) ac_try_echo=$ac_try;;
 
6563
esac
 
6564
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6565
$as_echo "$ac_try_echo") >&5
 
6566
  (eval "$ac_link") 2>conftest.er1
 
6567
  ac_status=$?
 
6568
  grep -v '^ *+' conftest.er1 >conftest.err
 
6569
  rm -f conftest.er1
 
6570
  cat conftest.err >&5
 
6571
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6572
  (exit $ac_status); } && {
 
6573
         test -z "$ac_c_werror_flag" ||
 
6574
         test ! -s conftest.err
 
6575
       } && test -s conftest$ac_exeext && {
 
6576
         test "$cross_compiling" = yes ||
 
6577
         $as_test_x conftest$ac_exeext
 
6578
       }; then
 
6579
  lt_cv_ld_exported_symbols_list=yes
 
6580
else
 
6581
  $as_echo "$as_me: failed program was:" >&5
 
6582
sed 's/^/| /' conftest.$ac_ext >&5
 
6583
 
 
6584
        lt_cv_ld_exported_symbols_list=no
 
6585
fi
 
6586
 
 
6587
rm -rf conftest.dSYM
 
6588
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
6589
      conftest$ac_exeext conftest.$ac_ext
 
6590
        LDFLAGS="$save_LDFLAGS"
 
6591
 
 
6592
fi
 
6593
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
6594
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
6595
    case $host_os in
 
6596
    rhapsody* | darwin1.[012])
 
6597
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
6598
    darwin1.*)
 
6599
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
6600
    darwin*) # darwin 5.x on
 
6601
      # if running on 10.5 or later, the deployment target defaults
 
6602
      # to the OS version, if on x86, and 10.4, the deployment
 
6603
      # target defaults to 10.4. Don't you love it?
 
6604
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
6605
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
6606
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
6607
        10.[012]*)
 
6608
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
6609
        10.*)
 
6610
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
6611
      esac
 
6612
    ;;
 
6613
  esac
 
6614
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
6615
      _lt_dar_single_mod='$single_module'
 
6616
    fi
 
6617
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
6618
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
6619
    else
 
6620
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
6621
    fi
 
6622
    if test "$DSYMUTIL" != ":"; then
 
6623
      _lt_dsymutil='~$DSYMUTIL $lib || :'
 
6624
    else
 
6625
      _lt_dsymutil=
 
6626
    fi
 
6627
    ;;
 
6628
  esac
 
6629
 
 
6630
 
 
6631
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
6632
$as_echo_n "checking for ANSI C header files... " >&6; }
 
6633
if test "${ac_cv_header_stdc+set}" = set; then
 
6634
  $as_echo_n "(cached) " >&6
 
6635
else
 
6636
  cat >conftest.$ac_ext <<_ACEOF
 
6637
/* confdefs.h.  */
 
6638
_ACEOF
 
6639
cat confdefs.h >>conftest.$ac_ext
 
6640
cat >>conftest.$ac_ext <<_ACEOF
 
6641
/* end confdefs.h.  */
 
6642
#include <stdlib.h>
 
6643
#include <stdarg.h>
 
6644
#include <string.h>
 
6645
#include <float.h>
 
6646
 
 
6647
int
 
6648
main ()
 
6649
{
 
6650
 
 
6651
  ;
 
6652
  return 0;
 
6653
}
 
6654
_ACEOF
 
6655
rm -f conftest.$ac_objext
 
6656
if { (ac_try="$ac_compile"
 
6657
case "(($ac_try" in
 
6658
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6659
  *) ac_try_echo=$ac_try;;
 
6660
esac
 
6661
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6662
$as_echo "$ac_try_echo") >&5
 
6663
  (eval "$ac_compile") 2>conftest.er1
 
6664
  ac_status=$?
 
6665
  grep -v '^ *+' conftest.er1 >conftest.err
 
6666
  rm -f conftest.er1
 
6667
  cat conftest.err >&5
 
6668
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6669
  (exit $ac_status); } && {
 
6670
         test -z "$ac_c_werror_flag" ||
 
6671
         test ! -s conftest.err
 
6672
       } && test -s conftest.$ac_objext; then
 
6673
  ac_cv_header_stdc=yes
 
6674
else
 
6675
  $as_echo "$as_me: failed program was:" >&5
 
6676
sed 's/^/| /' conftest.$ac_ext >&5
 
6677
 
 
6678
        ac_cv_header_stdc=no
 
6679
fi
 
6680
 
 
6681
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6682
 
 
6683
if test $ac_cv_header_stdc = yes; then
 
6684
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
6685
  cat >conftest.$ac_ext <<_ACEOF
 
6686
/* confdefs.h.  */
 
6687
_ACEOF
 
6688
cat confdefs.h >>conftest.$ac_ext
 
6689
cat >>conftest.$ac_ext <<_ACEOF
 
6690
/* end confdefs.h.  */
 
6691
#include <string.h>
 
6692
 
 
6693
_ACEOF
 
6694
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
6695
  $EGREP "memchr" >/dev/null 2>&1; then
 
6696
  :
 
6697
else
 
6698
  ac_cv_header_stdc=no
 
6699
fi
 
6700
rm -f conftest*
 
6701
 
 
6702
fi
 
6703
 
 
6704
if test $ac_cv_header_stdc = yes; then
 
6705
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
6706
  cat >conftest.$ac_ext <<_ACEOF
 
6707
/* confdefs.h.  */
 
6708
_ACEOF
 
6709
cat confdefs.h >>conftest.$ac_ext
 
6710
cat >>conftest.$ac_ext <<_ACEOF
 
6711
/* end confdefs.h.  */
 
6712
#include <stdlib.h>
 
6713
 
 
6714
_ACEOF
 
6715
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
6716
  $EGREP "free" >/dev/null 2>&1; then
 
6717
  :
 
6718
else
 
6719
  ac_cv_header_stdc=no
 
6720
fi
 
6721
rm -f conftest*
 
6722
 
 
6723
fi
 
6724
 
 
6725
if test $ac_cv_header_stdc = yes; then
 
6726
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
6727
  if test "$cross_compiling" = yes; then
 
6728
  :
 
6729
else
 
6730
  cat >conftest.$ac_ext <<_ACEOF
 
6731
/* confdefs.h.  */
 
6732
_ACEOF
 
6733
cat confdefs.h >>conftest.$ac_ext
 
6734
cat >>conftest.$ac_ext <<_ACEOF
 
6735
/* end confdefs.h.  */
 
6736
#include <ctype.h>
 
6737
#include <stdlib.h>
 
6738
#if ((' ' & 0x0FF) == 0x020)
 
6739
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
6740
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
6741
#else
 
6742
# define ISLOWER(c) \
 
6743
                   (('a' <= (c) && (c) <= 'i') \
 
6744
                     || ('j' <= (c) && (c) <= 'r') \
 
6745
                     || ('s' <= (c) && (c) <= 'z'))
 
6746
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
6747
#endif
 
6748
 
 
6749
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
6750
int
 
6751
main ()
 
6752
{
 
6753
  int i;
 
6754
  for (i = 0; i < 256; i++)
 
6755
    if (XOR (islower (i), ISLOWER (i))
 
6756
        || toupper (i) != TOUPPER (i))
 
6757
      return 2;
 
6758
  return 0;
 
6759
}
 
6760
_ACEOF
 
6761
rm -f conftest$ac_exeext
 
6762
if { (ac_try="$ac_link"
 
6763
case "(($ac_try" in
 
6764
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6765
  *) ac_try_echo=$ac_try;;
 
6766
esac
 
6767
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6768
$as_echo "$ac_try_echo") >&5
 
6769
  (eval "$ac_link") 2>&5
 
6770
  ac_status=$?
 
6771
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6772
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
6773
  { (case "(($ac_try" in
 
6774
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6775
  *) ac_try_echo=$ac_try;;
 
6776
esac
 
6777
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6778
$as_echo "$ac_try_echo") >&5
 
6779
  (eval "$ac_try") 2>&5
 
6780
  ac_status=$?
 
6781
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6782
  (exit $ac_status); }; }; then
 
6783
  :
 
6784
else
 
6785
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
6786
$as_echo "$as_me: failed program was:" >&5
 
6787
sed 's/^/| /' conftest.$ac_ext >&5
 
6788
 
 
6789
( exit $ac_status )
 
6790
ac_cv_header_stdc=no
 
6791
fi
 
6792
rm -rf conftest.dSYM
 
6793
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
6794
fi
 
6795
 
 
6796
 
 
6797
fi
 
6798
fi
 
6799
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
6800
$as_echo "$ac_cv_header_stdc" >&6; }
 
6801
if test $ac_cv_header_stdc = yes; then
 
6802
 
 
6803
cat >>confdefs.h <<\_ACEOF
 
6804
#define STDC_HEADERS 1
 
6805
_ACEOF
 
6806
 
 
6807
fi
 
6808
 
 
6809
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
6810
 
 
6811
 
 
6812
 
 
6813
 
 
6814
 
 
6815
 
 
6816
 
 
6817
 
 
6818
 
 
6819
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
6820
                  inttypes.h stdint.h unistd.h
 
6821
do
 
6822
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
6823
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
6824
$as_echo_n "checking for $ac_header... " >&6; }
 
6825
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
6826
  $as_echo_n "(cached) " >&6
 
6827
else
 
6828
  cat >conftest.$ac_ext <<_ACEOF
 
6829
/* confdefs.h.  */
 
6830
_ACEOF
 
6831
cat confdefs.h >>conftest.$ac_ext
 
6832
cat >>conftest.$ac_ext <<_ACEOF
 
6833
/* end confdefs.h.  */
 
6834
$ac_includes_default
 
6835
 
 
6836
#include <$ac_header>
 
6837
_ACEOF
 
6838
rm -f conftest.$ac_objext
 
6839
if { (ac_try="$ac_compile"
 
6840
case "(($ac_try" in
 
6841
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6842
  *) ac_try_echo=$ac_try;;
 
6843
esac
 
6844
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6845
$as_echo "$ac_try_echo") >&5
 
6846
  (eval "$ac_compile") 2>conftest.er1
 
6847
  ac_status=$?
 
6848
  grep -v '^ *+' conftest.er1 >conftest.err
 
6849
  rm -f conftest.er1
 
6850
  cat conftest.err >&5
 
6851
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6852
  (exit $ac_status); } && {
 
6853
         test -z "$ac_c_werror_flag" ||
 
6854
         test ! -s conftest.err
 
6855
       } && test -s conftest.$ac_objext; then
 
6856
  eval "$as_ac_Header=yes"
 
6857
else
 
6858
  $as_echo "$as_me: failed program was:" >&5
 
6859
sed 's/^/| /' conftest.$ac_ext >&5
 
6860
 
 
6861
        eval "$as_ac_Header=no"
 
6862
fi
 
6863
 
 
6864
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6865
fi
 
6866
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
6867
                 $as_echo "$as_val"'`
 
6868
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
6869
$as_echo "$ac_res" >&6; }
 
6870
as_val=`eval 'as_val=${'$as_ac_Header'}
 
6871
                 $as_echo "$as_val"'`
 
6872
   if test "x$as_val" = x""yes; then
 
6873
  cat >>confdefs.h <<_ACEOF
 
6874
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
6875
_ACEOF
 
6876
 
 
6877
fi
 
6878
 
 
6879
done
 
6880
 
 
6881
 
 
6882
 
 
6883
for ac_header in dlfcn.h
 
6884
do
 
6885
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
6886
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
6887
$as_echo_n "checking for $ac_header... " >&6; }
 
6888
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
6889
  $as_echo_n "(cached) " >&6
 
6890
else
 
6891
  cat >conftest.$ac_ext <<_ACEOF
 
6892
/* confdefs.h.  */
 
6893
_ACEOF
 
6894
cat confdefs.h >>conftest.$ac_ext
 
6895
cat >>conftest.$ac_ext <<_ACEOF
 
6896
/* end confdefs.h.  */
 
6897
$ac_includes_default
 
6898
 
 
6899
#include <$ac_header>
 
6900
_ACEOF
 
6901
rm -f conftest.$ac_objext
 
6902
if { (ac_try="$ac_compile"
 
6903
case "(($ac_try" in
 
6904
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6905
  *) ac_try_echo=$ac_try;;
 
6906
esac
 
6907
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6908
$as_echo "$ac_try_echo") >&5
 
6909
  (eval "$ac_compile") 2>conftest.er1
 
6910
  ac_status=$?
 
6911
  grep -v '^ *+' conftest.er1 >conftest.err
 
6912
  rm -f conftest.er1
 
6913
  cat conftest.err >&5
 
6914
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6915
  (exit $ac_status); } && {
 
6916
         test -z "$ac_c_werror_flag" ||
 
6917
         test ! -s conftest.err
 
6918
       } && test -s conftest.$ac_objext; then
 
6919
  eval "$as_ac_Header=yes"
 
6920
else
 
6921
  $as_echo "$as_me: failed program was:" >&5
 
6922
sed 's/^/| /' conftest.$ac_ext >&5
 
6923
 
 
6924
        eval "$as_ac_Header=no"
 
6925
fi
 
6926
 
 
6927
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6928
fi
 
6929
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
6930
                 $as_echo "$as_val"'`
 
6931
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
6932
$as_echo "$ac_res" >&6; }
 
6933
as_val=`eval 'as_val=${'$as_ac_Header'}
 
6934
                 $as_echo "$as_val"'`
 
6935
   if test "x$as_val" = x""yes; then
 
6936
  cat >>confdefs.h <<_ACEOF
 
6937
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
6938
_ACEOF
 
6939
 
 
6940
fi
 
6941
 
 
6942
done
 
6943
 
 
6944
 
 
6945
 
 
6946
# Set options
 
6947
 
 
6948
 
 
6949
 
 
6950
        enable_dlopen=no
 
6951
 
 
6952
 
 
6953
  enable_win32_dll=no
 
6954
 
 
6955
 
 
6956
            # Check whether --enable-shared was given.
 
6957
if test "${enable_shared+set}" = set; then
 
6958
  enableval=$enable_shared; p=${PACKAGE-default}
 
6959
    case $enableval in
 
6960
    yes) enable_shared=yes ;;
 
6961
    no) enable_shared=no ;;
 
6962
    *)
 
6963
      enable_shared=no
 
6964
      # Look at the argument we got.  We use all the common list separators.
 
6965
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
6966
      for pkg in $enableval; do
 
6967
        IFS="$lt_save_ifs"
 
6968
        if test "X$pkg" = "X$p"; then
 
6969
          enable_shared=yes
 
6970
        fi
 
6971
      done
 
6972
      IFS="$lt_save_ifs"
 
6973
      ;;
 
6974
    esac
 
6975
else
 
6976
  enable_shared=yes
 
6977
fi
 
6978
 
 
6979
 
 
6980
 
 
6981
 
 
6982
 
 
6983
 
 
6984
 
 
6985
 
 
6986
 
 
6987
  # Check whether --enable-static was given.
 
6988
if test "${enable_static+set}" = set; then
 
6989
  enableval=$enable_static; p=${PACKAGE-default}
 
6990
    case $enableval in
 
6991
    yes) enable_static=yes ;;
 
6992
    no) enable_static=no ;;
 
6993
    *)
 
6994
     enable_static=no
 
6995
      # Look at the argument we got.  We use all the common list separators.
 
6996
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
6997
      for pkg in $enableval; do
 
6998
        IFS="$lt_save_ifs"
 
6999
        if test "X$pkg" = "X$p"; then
 
7000
          enable_static=yes
 
7001
        fi
 
7002
      done
 
7003
      IFS="$lt_save_ifs"
 
7004
      ;;
 
7005
    esac
 
7006
else
 
7007
  enable_static=yes
 
7008
fi
 
7009
 
 
7010
 
 
7011
 
 
7012
 
 
7013
 
 
7014
 
 
7015
 
 
7016
 
 
7017
 
 
7018
 
 
7019
# Check whether --with-pic was given.
 
7020
if test "${with_pic+set}" = set; then
 
7021
  withval=$with_pic; pic_mode="$withval"
 
7022
else
 
7023
  pic_mode=default
 
7024
fi
 
7025
 
 
7026
 
 
7027
test -z "$pic_mode" && pic_mode=default
 
7028
 
 
7029
 
 
7030
 
 
7031
 
 
7032
 
 
7033
 
 
7034
 
 
7035
  # Check whether --enable-fast-install was given.
 
7036
if test "${enable_fast_install+set}" = set; then
 
7037
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
7038
    case $enableval in
 
7039
    yes) enable_fast_install=yes ;;
 
7040
    no) enable_fast_install=no ;;
 
7041
    *)
 
7042
      enable_fast_install=no
 
7043
      # Look at the argument we got.  We use all the common list separators.
 
7044
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7045
      for pkg in $enableval; do
 
7046
        IFS="$lt_save_ifs"
 
7047
        if test "X$pkg" = "X$p"; then
 
7048
          enable_fast_install=yes
 
7049
        fi
 
7050
      done
 
7051
      IFS="$lt_save_ifs"
 
7052
      ;;
 
7053
    esac
 
7054
else
 
7055
  enable_fast_install=yes
 
7056
fi
 
7057
 
 
7058
 
 
7059
 
 
7060
 
 
7061
 
 
7062
 
 
7063
 
 
7064
 
 
7065
 
 
7066
 
 
7067
 
 
7068
# This can be used to rebuild libtool when needed
 
7069
LIBTOOL_DEPS="$ltmain"
 
7070
 
 
7071
# Always use our own libtool.
 
7072
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
7073
 
 
7074
 
 
7075
 
 
7076
 
 
7077
 
 
7078
 
 
7079
 
 
7080
 
 
7081
 
 
7082
 
 
7083
 
 
7084
 
 
7085
 
 
7086
 
 
7087
 
 
7088
 
 
7089
 
 
7090
 
 
7091
 
 
7092
 
 
7093
 
 
7094
 
 
7095
 
 
7096
 
 
7097
 
 
7098
test -z "$LN_S" && LN_S="ln -s"
 
7099
 
 
7100
 
 
7101
 
 
7102
 
 
7103
 
 
7104
 
 
7105
 
 
7106
 
 
7107
 
 
7108
 
 
7109
 
 
7110
 
 
7111
 
 
7112
 
 
7113
if test -n "${ZSH_VERSION+set}" ; then
 
7114
   setopt NO_GLOB_SUBST
 
7115
fi
 
7116
 
 
7117
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
 
7118
$as_echo_n "checking for objdir... " >&6; }
 
7119
if test "${lt_cv_objdir+set}" = set; then
 
7120
  $as_echo_n "(cached) " >&6
 
7121
else
 
7122
  rm -f .libs 2>/dev/null
 
7123
mkdir .libs 2>/dev/null
 
7124
if test -d .libs; then
 
7125
  lt_cv_objdir=.libs
 
7126
else
 
7127
  # MS-DOS does not allow filenames that begin with a dot.
 
7128
  lt_cv_objdir=_libs
 
7129
fi
 
7130
rmdir .libs 2>/dev/null
 
7131
fi
 
7132
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
7133
$as_echo "$lt_cv_objdir" >&6; }
 
7134
objdir=$lt_cv_objdir
 
7135
 
 
7136
 
 
7137
 
 
7138
 
 
7139
 
 
7140
cat >>confdefs.h <<_ACEOF
 
7141
#define LT_OBJDIR "$lt_cv_objdir/"
 
7142
_ACEOF
 
7143
 
 
7144
 
 
7145
 
 
7146
 
 
7147
 
 
7148
 
 
7149
 
 
7150
 
 
7151
 
 
7152
 
 
7153
 
 
7154
 
 
7155
 
 
7156
 
 
7157
 
 
7158
 
 
7159
 
 
7160
case $host_os in
 
7161
aix3*)
 
7162
  # AIX sometimes has problems with the GCC collect2 program.  For some
 
7163
  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
7164
  # vanish in a puff of smoke.
 
7165
  if test "X${COLLECT_NAMES+set}" != Xset; then
 
7166
    COLLECT_NAMES=
 
7167
    export COLLECT_NAMES
 
7168
  fi
 
7169
  ;;
 
7170
esac
 
7171
 
 
7172
# Sed substitution that helps us do robust quoting.  It backslashifies
 
7173
# metacharacters that are still active within double-quoted strings.
 
7174
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
7175
 
 
7176
# Same as above, but do not quote variable references.
 
7177
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
7178
 
 
7179
# Sed substitution to delay expansion of an escaped shell variable in a
 
7180
# double_quote_subst'ed string.
 
7181
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
7182
 
 
7183
# Sed substitution to delay expansion of an escaped single quote.
 
7184
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
7185
 
 
7186
# Sed substitution to avoid accidental globbing in evaled expressions
 
7187
no_glob_subst='s/\*/\\\*/g'
 
7188
 
 
7189
# Global variables:
 
7190
ofile=libtool
 
7191
can_build_shared=yes
 
7192
 
 
7193
# All known linkers require a `.a' archive for static linking (except MSVC,
 
7194
# which needs '.lib').
 
7195
libext=a
 
7196
 
 
7197
with_gnu_ld="$lt_cv_prog_gnu_ld"
 
7198
 
 
7199
old_CC="$CC"
 
7200
old_CFLAGS="$CFLAGS"
 
7201
 
 
7202
# Set sane defaults for various variables
 
7203
test -z "$CC" && CC=cc
 
7204
test -z "$LTCC" && LTCC=$CC
 
7205
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
7206
test -z "$LD" && LD=ld
 
7207
test -z "$ac_objext" && ac_objext=o
 
7208
 
 
7209
for cc_temp in $compiler""; do
 
7210
  case $cc_temp in
 
7211
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
7212
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
7213
    \-*) ;;
 
7214
    *) break;;
 
7215
  esac
 
7216
done
 
7217
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
7218
 
 
7219
 
 
7220
# Only perform the check for file, if the check method requires it
 
7221
test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
7222
case $deplibs_check_method in
 
7223
file_magic*)
 
7224
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
7225
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
7226
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
7227
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
7228
  $as_echo_n "(cached) " >&6
 
7229
else
 
7230
  case $MAGIC_CMD in
 
7231
[\\/*] |  ?:[\\/]*)
 
7232
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
7233
  ;;
 
7234
*)
 
7235
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
7236
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
7237
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
7238
  for ac_dir in $ac_dummy; do
 
7239
    IFS="$lt_save_ifs"
 
7240
    test -z "$ac_dir" && ac_dir=.
 
7241
    if test -f $ac_dir/${ac_tool_prefix}file; then
 
7242
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
7243
      if test -n "$file_magic_test_file"; then
 
7244
        case $deplibs_check_method in
 
7245
        "file_magic "*)
 
7246
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
7247
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7248
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
7249
            $EGREP "$file_magic_regex" > /dev/null; then
 
7250
            :
 
7251
          else
 
7252
            cat <<_LT_EOF 1>&2
 
7253
 
 
7254
*** Warning: the command libtool uses to detect shared libraries,
 
7255
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
7256
*** The result is that libtool may fail to recognize shared libraries
 
7257
*** as such.  This will affect the creation of libtool libraries that
 
7258
*** depend on shared libraries, but programs linked with such libtool
 
7259
*** libraries will work regardless of this problem.  Nevertheless, you
 
7260
*** may want to report the problem to your system manager and/or to
 
7261
*** bug-libtool@gnu.org
 
7262
 
 
7263
_LT_EOF
 
7264
          fi ;;
 
7265
        esac
 
7266
      fi
 
7267
      break
 
7268
    fi
 
7269
  done
 
7270
  IFS="$lt_save_ifs"
 
7271
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
7272
  ;;
 
7273
esac
 
7274
fi
 
7275
 
 
7276
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7277
if test -n "$MAGIC_CMD"; then
 
7278
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7279
$as_echo "$MAGIC_CMD" >&6; }
 
7280
else
 
7281
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7282
$as_echo "no" >&6; }
 
7283
fi
 
7284
 
 
7285
 
 
7286
 
 
7287
 
 
7288
 
 
7289
if test -z "$lt_cv_path_MAGIC_CMD"; then
 
7290
  if test -n "$ac_tool_prefix"; then
 
7291
    { $as_echo "$as_me:$LINENO: checking for file" >&5
 
7292
$as_echo_n "checking for file... " >&6; }
 
7293
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
7294
  $as_echo_n "(cached) " >&6
 
7295
else
 
7296
  case $MAGIC_CMD in
 
7297
[\\/*] |  ?:[\\/]*)
 
7298
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
7299
  ;;
 
7300
*)
 
7301
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
7302
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
7303
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
7304
  for ac_dir in $ac_dummy; do
 
7305
    IFS="$lt_save_ifs"
 
7306
    test -z "$ac_dir" && ac_dir=.
 
7307
    if test -f $ac_dir/file; then
 
7308
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
7309
      if test -n "$file_magic_test_file"; then
 
7310
        case $deplibs_check_method in
 
7311
        "file_magic "*)
 
7312
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
7313
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7314
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
7315
            $EGREP "$file_magic_regex" > /dev/null; then
 
7316
            :
 
7317
          else
 
7318
            cat <<_LT_EOF 1>&2
 
7319
 
 
7320
*** Warning: the command libtool uses to detect shared libraries,
 
7321
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
7322
*** The result is that libtool may fail to recognize shared libraries
 
7323
*** as such.  This will affect the creation of libtool libraries that
 
7324
*** depend on shared libraries, but programs linked with such libtool
 
7325
*** libraries will work regardless of this problem.  Nevertheless, you
 
7326
*** may want to report the problem to your system manager and/or to
 
7327
*** bug-libtool@gnu.org
 
7328
 
 
7329
_LT_EOF
 
7330
          fi ;;
 
7331
        esac
 
7332
      fi
 
7333
      break
 
7334
    fi
 
7335
  done
 
7336
  IFS="$lt_save_ifs"
 
7337
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
7338
  ;;
 
7339
esac
 
7340
fi
 
7341
 
 
7342
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7343
if test -n "$MAGIC_CMD"; then
 
7344
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7345
$as_echo "$MAGIC_CMD" >&6; }
 
7346
else
 
7347
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7348
$as_echo "no" >&6; }
 
7349
fi
 
7350
 
 
7351
 
 
7352
  else
 
7353
    MAGIC_CMD=:
 
7354
  fi
 
7355
fi
 
7356
 
 
7357
  fi
 
7358
  ;;
 
7359
esac
 
7360
 
 
7361
# Use C for the default configuration in the libtool script
 
7362
 
 
7363
lt_save_CC="$CC"
 
7364
ac_ext=c
 
7365
ac_cpp='$CPP $CPPFLAGS'
 
7366
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7367
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7368
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7369
 
 
7370
 
 
7371
# Source file extension for C test sources.
 
7372
ac_ext=c
 
7373
 
 
7374
# Object file extension for compiled C test sources.
 
7375
objext=o
 
7376
objext=$objext
 
7377
 
 
7378
# Code to be used in simple compile tests
 
7379
lt_simple_compile_test_code="int some_variable = 0;"
 
7380
 
 
7381
# Code to be used in simple link tests
 
7382
lt_simple_link_test_code='int main(){return(0);}'
 
7383
 
 
7384
 
 
7385
 
 
7386
 
 
7387
 
 
7388
 
 
7389
 
 
7390
# If no C compiler was specified, use CC.
 
7391
LTCC=${LTCC-"$CC"}
 
7392
 
 
7393
# If no C compiler flags were specified, use CFLAGS.
 
7394
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
7395
 
 
7396
# Allow CC to be a program name with arguments.
 
7397
compiler=$CC
 
7398
 
 
7399
# Save the default compiler, since it gets overwritten when the other
 
7400
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
7401
compiler_DEFAULT=$CC
 
7402
 
 
7403
# save warnings/boilerplate of simple test code
 
7404
ac_outfile=conftest.$ac_objext
 
7405
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
7406
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
7407
_lt_compiler_boilerplate=`cat conftest.err`
 
7408
$RM conftest*
 
7409
 
 
7410
ac_outfile=conftest.$ac_objext
 
7411
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
7412
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
7413
_lt_linker_boilerplate=`cat conftest.err`
 
7414
$RM -r conftest*
 
7415
 
 
7416
 
 
7417
if test -n "$compiler"; then
 
7418
 
 
7419
lt_prog_compiler_no_builtin_flag=
 
7420
 
 
7421
if test "$GCC" = yes; then
 
7422
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 
7423
 
 
7424
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
7425
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 
7426
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
 
7427
  $as_echo_n "(cached) " >&6
 
7428
else
 
7429
  lt_cv_prog_compiler_rtti_exceptions=no
 
7430
   ac_outfile=conftest.$ac_objext
 
7431
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7432
   lt_compiler_flag="-fno-rtti -fno-exceptions"
 
7433
   # Insert the option either (1) after the last *FLAGS variable, or
 
7434
   # (2) before a word containing "conftest.", or (3) at the end.
 
7435
   # Note that $ac_compile itself does not contain backslashes and begins
 
7436
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
7437
   # The option is referenced via a variable to avoid confusing sed.
 
7438
   lt_compile=`echo "$ac_compile" | $SED \
 
7439
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
7440
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
7441
   -e 's:$: $lt_compiler_flag:'`
 
7442
   (eval echo "\"\$as_me:7442: $lt_compile\"" >&5)
 
7443
   (eval "$lt_compile" 2>conftest.err)
 
7444
   ac_status=$?
 
7445
   cat conftest.err >&5
 
7446
   echo "$as_me:7446: \$? = $ac_status" >&5
 
7447
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
7448
     # The compiler can only warn and ignore the option if not recognized
 
7449
     # So say no if there are warnings other than the usual output.
 
7450
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
7451
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
7452
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
7453
       lt_cv_prog_compiler_rtti_exceptions=yes
 
7454
     fi
 
7455
   fi
 
7456
   $RM conftest*
 
7457
 
 
7458
fi
 
7459
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
7460
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
7461
 
 
7462
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 
7463
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
 
7464
else
 
7465
    :
 
7466
fi
 
7467
 
 
7468
fi
 
7469
 
 
7470
 
 
7471
 
 
7472
 
 
7473
 
 
7474
 
 
7475
  lt_prog_compiler_wl=
 
7476
lt_prog_compiler_pic=
 
7477
lt_prog_compiler_static=
 
7478
 
 
7479
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
7480
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
7481
 
 
7482
  if test "$GCC" = yes; then
 
7483
    lt_prog_compiler_wl='-Wl,'
 
7484
    lt_prog_compiler_static='-static'
 
7485
 
 
7486
    case $host_os in
 
7487
      aix*)
 
7488
      # All AIX code is PIC.
 
7489
      if test "$host_cpu" = ia64; then
 
7490
        # AIX 5 now supports IA64 processor
 
7491
        lt_prog_compiler_static='-Bstatic'
 
7492
      fi
 
7493
      ;;
 
7494
 
 
7495
    amigaos*)
 
7496
      case $host_cpu in
 
7497
      powerpc)
 
7498
            # see comment about AmigaOS4 .so support
 
7499
            lt_prog_compiler_pic='-fPIC'
 
7500
        ;;
 
7501
      m68k)
 
7502
            # FIXME: we need at least 68020 code to build shared libraries, but
 
7503
            # adding the `-m68020' flag to GCC prevents building anything better,
 
7504
            # like `-m68040'.
 
7505
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
7506
        ;;
 
7507
      esac
 
7508
      ;;
 
7509
 
 
7510
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
7511
      # PIC is the default for these OSes.
 
7512
      ;;
 
7513
 
 
7514
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
7515
      # This hack is so that the source file can tell whether it is being
 
7516
      # built for inclusion in a dll (and should export symbols for example).
 
7517
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
7518
      # (--disable-auto-import) libraries
 
7519
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
7520
      ;;
 
7521
 
 
7522
    darwin* | rhapsody*)
 
7523
      # PIC is the default on this platform
 
7524
      # Common symbols not allowed in MH_DYLIB files
 
7525
      lt_prog_compiler_pic='-fno-common'
 
7526
      ;;
 
7527
 
 
7528
    hpux*)
 
7529
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
7530
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
7531
      # sets the default TLS model and affects inlining.
 
7532
      case $host_cpu in
 
7533
      hppa*64*)
 
7534
        # +Z the default
 
7535
        ;;
 
7536
      *)
 
7537
        lt_prog_compiler_pic='-fPIC'
 
7538
        ;;
 
7539
      esac
 
7540
      ;;
 
7541
 
 
7542
    interix[3-9]*)
 
7543
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
7544
      # Instead, we relocate shared libraries at runtime.
 
7545
      ;;
 
7546
 
 
7547
    msdosdjgpp*)
 
7548
      # Just because we use GCC doesn't mean we suddenly get shared libraries
 
7549
      # on systems that don't support them.
 
7550
      lt_prog_compiler_can_build_shared=no
 
7551
      enable_shared=no
 
7552
      ;;
 
7553
 
 
7554
    *nto* | *qnx*)
 
7555
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
7556
      # it will coredump.
 
7557
      lt_prog_compiler_pic='-fPIC -shared'
 
7558
      ;;
 
7559
 
 
7560
    sysv4*MP*)
 
7561
      if test -d /usr/nec; then
 
7562
        lt_prog_compiler_pic=-Kconform_pic
 
7563
      fi
 
7564
      ;;
 
7565
 
 
7566
    *)
 
7567
      lt_prog_compiler_pic='-fPIC'
 
7568
      ;;
 
7569
    esac
 
7570
  else
 
7571
    # PORTME Check for flag to pass linker flags through the system compiler.
 
7572
    case $host_os in
 
7573
    aix*)
 
7574
      lt_prog_compiler_wl='-Wl,'
 
7575
      if test "$host_cpu" = ia64; then
 
7576
        # AIX 5 now supports IA64 processor
 
7577
        lt_prog_compiler_static='-Bstatic'
 
7578
      else
 
7579
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
 
7580
      fi
 
7581
      ;;
 
7582
 
 
7583
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
7584
      # This hack is so that the source file can tell whether it is being
 
7585
      # built for inclusion in a dll (and should export symbols for example).
 
7586
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
7587
      ;;
 
7588
 
 
7589
    hpux9* | hpux10* | hpux11*)
 
7590
      lt_prog_compiler_wl='-Wl,'
 
7591
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
7592
      # not for PA HP-UX.
 
7593
      case $host_cpu in
 
7594
      hppa*64*|ia64*)
 
7595
        # +Z the default
 
7596
        ;;
 
7597
      *)
 
7598
        lt_prog_compiler_pic='+Z'
 
7599
        ;;
 
7600
      esac
 
7601
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
 
7602
      lt_prog_compiler_static='${wl}-a ${wl}archive'
 
7603
      ;;
 
7604
 
 
7605
    irix5* | irix6* | nonstopux*)
 
7606
      lt_prog_compiler_wl='-Wl,'
 
7607
      # PIC (with -KPIC) is the default.
 
7608
      lt_prog_compiler_static='-non_shared'
 
7609
      ;;
 
7610
 
 
7611
    linux* | k*bsd*-gnu)
 
7612
      case $cc_basename in
 
7613
      # old Intel for x86_64 which still supported -KPIC.
 
7614
      ecc*)
 
7615
        lt_prog_compiler_wl='-Wl,'
 
7616
        lt_prog_compiler_pic='-KPIC'
 
7617
        lt_prog_compiler_static='-static'
 
7618
        ;;
 
7619
      # icc used to be incompatible with GCC.
 
7620
      # ICC 10 doesn't accept -KPIC any more.
 
7621
      icc* | ifort*)
 
7622
        lt_prog_compiler_wl='-Wl,'
 
7623
        lt_prog_compiler_pic='-fPIC'
 
7624
        lt_prog_compiler_static='-static'
 
7625
        ;;
 
7626
      # Lahey Fortran 8.1.
 
7627
      lf95*)
 
7628
        lt_prog_compiler_wl='-Wl,'
 
7629
        lt_prog_compiler_pic='--shared'
 
7630
        lt_prog_compiler_static='--static'
 
7631
        ;;
 
7632
      pgcc* | pgf77* | pgf90* | pgf95*)
 
7633
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
7634
        # which looks to be a dead project)
 
7635
        lt_prog_compiler_wl='-Wl,'
 
7636
        lt_prog_compiler_pic='-fpic'
 
7637
        lt_prog_compiler_static='-Bstatic'
 
7638
        ;;
 
7639
      ccc*)
 
7640
        lt_prog_compiler_wl='-Wl,'
 
7641
        # All Alpha code is PIC.
 
7642
        lt_prog_compiler_static='-non_shared'
 
7643
        ;;
 
7644
      xl*)
 
7645
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
7646
        lt_prog_compiler_wl='-Wl,'
 
7647
        lt_prog_compiler_pic='-qpic'
 
7648
        lt_prog_compiler_static='-qstaticlink'
 
7649
        ;;
 
7650
      *)
 
7651
        case `$CC -V 2>&1 | sed 5q` in
 
7652
        *Sun\ C*)
 
7653
          # Sun C 5.9
 
7654
          lt_prog_compiler_pic='-KPIC'
 
7655
          lt_prog_compiler_static='-Bstatic'
 
7656
          lt_prog_compiler_wl='-Wl,'
 
7657
          ;;
 
7658
        *Sun\ F*)
 
7659
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
7660
          lt_prog_compiler_pic='-KPIC'
 
7661
          lt_prog_compiler_static='-Bstatic'
 
7662
          lt_prog_compiler_wl=''
 
7663
          ;;
 
7664
        esac
 
7665
        ;;
 
7666
      esac
 
7667
      ;;
 
7668
 
 
7669
    newsos6)
 
7670
      lt_prog_compiler_pic='-KPIC'
 
7671
      lt_prog_compiler_static='-Bstatic'
 
7672
      ;;
 
7673
 
 
7674
    *nto* | *qnx*)
 
7675
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
7676
      # it will coredump.
 
7677
      lt_prog_compiler_pic='-fPIC -shared'
 
7678
      ;;
 
7679
 
 
7680
    osf3* | osf4* | osf5*)
 
7681
      lt_prog_compiler_wl='-Wl,'
 
7682
      # All OSF/1 code is PIC.
 
7683
      lt_prog_compiler_static='-non_shared'
 
7684
      ;;
 
7685
 
 
7686
    rdos*)
 
7687
      lt_prog_compiler_static='-non_shared'
 
7688
      ;;
 
7689
 
 
7690
    solaris*)
 
7691
      lt_prog_compiler_pic='-KPIC'
 
7692
      lt_prog_compiler_static='-Bstatic'
 
7693
      case $cc_basename in
 
7694
      f77* | f90* | f95*)
 
7695
        lt_prog_compiler_wl='-Qoption ld ';;
 
7696
      *)
 
7697
        lt_prog_compiler_wl='-Wl,';;
 
7698
      esac
 
7699
      ;;
 
7700
 
 
7701
    sunos4*)
 
7702
      lt_prog_compiler_wl='-Qoption ld '
 
7703
      lt_prog_compiler_pic='-PIC'
 
7704
      lt_prog_compiler_static='-Bstatic'
 
7705
      ;;
 
7706
 
 
7707
    sysv4 | sysv4.2uw2* | sysv4.3*)
 
7708
      lt_prog_compiler_wl='-Wl,'
 
7709
      lt_prog_compiler_pic='-KPIC'
 
7710
      lt_prog_compiler_static='-Bstatic'
 
7711
      ;;
 
7712
 
 
7713
    sysv4*MP*)
 
7714
      if test -d /usr/nec ;then
 
7715
        lt_prog_compiler_pic='-Kconform_pic'
 
7716
        lt_prog_compiler_static='-Bstatic'
 
7717
      fi
 
7718
      ;;
 
7719
 
 
7720
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
7721
      lt_prog_compiler_wl='-Wl,'
 
7722
      lt_prog_compiler_pic='-KPIC'
 
7723
      lt_prog_compiler_static='-Bstatic'
 
7724
      ;;
 
7725
 
 
7726
    unicos*)
 
7727
      lt_prog_compiler_wl='-Wl,'
 
7728
      lt_prog_compiler_can_build_shared=no
 
7729
      ;;
 
7730
 
 
7731
    uts4*)
 
7732
      lt_prog_compiler_pic='-pic'
 
7733
      lt_prog_compiler_static='-Bstatic'
 
7734
      ;;
 
7735
 
 
7736
    *)
 
7737
      lt_prog_compiler_can_build_shared=no
 
7738
      ;;
 
7739
    esac
 
7740
  fi
 
7741
 
 
7742
case $host_os in
 
7743
  # For platforms which do not support PIC, -DPIC is meaningless:
 
7744
  *djgpp*)
 
7745
    lt_prog_compiler_pic=
 
7746
    ;;
 
7747
  *)
 
7748
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
7749
    ;;
 
7750
esac
 
7751
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
7752
$as_echo "$lt_prog_compiler_pic" >&6; }
 
7753
 
 
7754
 
 
7755
 
 
7756
 
 
7757
 
 
7758
 
 
7759
#
 
7760
# Check to make sure the PIC flag actually works.
 
7761
#
 
7762
if test -n "$lt_prog_compiler_pic"; then
 
7763
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
7764
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 
7765
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
 
7766
  $as_echo_n "(cached) " >&6
 
7767
else
 
7768
  lt_cv_prog_compiler_pic_works=no
 
7769
   ac_outfile=conftest.$ac_objext
 
7770
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7771
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
 
7772
   # Insert the option either (1) after the last *FLAGS variable, or
 
7773
   # (2) before a word containing "conftest.", or (3) at the end.
 
7774
   # Note that $ac_compile itself does not contain backslashes and begins
 
7775
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
7776
   # The option is referenced via a variable to avoid confusing sed.
 
7777
   lt_compile=`echo "$ac_compile" | $SED \
 
7778
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
7779
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
7780
   -e 's:$: $lt_compiler_flag:'`
 
7781
   (eval echo "\"\$as_me:7781: $lt_compile\"" >&5)
 
7782
   (eval "$lt_compile" 2>conftest.err)
 
7783
   ac_status=$?
 
7784
   cat conftest.err >&5
 
7785
   echo "$as_me:7785: \$? = $ac_status" >&5
 
7786
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
7787
     # The compiler can only warn and ignore the option if not recognized
 
7788
     # So say no if there are warnings other than the usual output.
 
7789
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
7790
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
7791
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
7792
       lt_cv_prog_compiler_pic_works=yes
 
7793
     fi
 
7794
   fi
 
7795
   $RM conftest*
 
7796
 
 
7797
fi
 
7798
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
7799
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
 
7800
 
 
7801
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
 
7802
    case $lt_prog_compiler_pic in
 
7803
     "" | " "*) ;;
 
7804
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
 
7805
     esac
 
7806
else
 
7807
    lt_prog_compiler_pic=
 
7808
     lt_prog_compiler_can_build_shared=no
 
7809
fi
 
7810
 
 
7811
fi
 
7812
 
 
7813
 
 
7814
 
 
7815
 
 
7816
 
 
7817
 
 
7818
#
 
7819
# Check to make sure the static flag actually works.
 
7820
#
 
7821
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 
7822
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
7823
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
7824
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
 
7825
  $as_echo_n "(cached) " >&6
 
7826
else
 
7827
  lt_cv_prog_compiler_static_works=no
 
7828
   save_LDFLAGS="$LDFLAGS"
 
7829
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
7830
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
7831
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
7832
     # The linker can only warn and ignore the option if not recognized
 
7833
     # So say no if there are warnings
 
7834
     if test -s conftest.err; then
 
7835
       # Append any errors to the config.log.
 
7836
       cat conftest.err 1>&5
 
7837
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
7838
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
7839
       if diff conftest.exp conftest.er2 >/dev/null; then
 
7840
         lt_cv_prog_compiler_static_works=yes
 
7841
       fi
 
7842
     else
 
7843
       lt_cv_prog_compiler_static_works=yes
 
7844
     fi
 
7845
   fi
 
7846
   $RM -r conftest*
 
7847
   LDFLAGS="$save_LDFLAGS"
 
7848
 
 
7849
fi
 
7850
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
7851
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
 
7852
 
 
7853
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
 
7854
    :
 
7855
else
 
7856
    lt_prog_compiler_static=
 
7857
fi
 
7858
 
 
7859
 
 
7860
 
 
7861
 
 
7862
 
 
7863
 
 
7864
 
 
7865
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
7866
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
7867
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
7868
  $as_echo_n "(cached) " >&6
 
7869
else
 
7870
  lt_cv_prog_compiler_c_o=no
 
7871
   $RM -r conftest 2>/dev/null
 
7872
   mkdir conftest
 
7873
   cd conftest
 
7874
   mkdir out
 
7875
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7876
 
 
7877
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
7878
   # Insert the option either (1) after the last *FLAGS variable, or
 
7879
   # (2) before a word containing "conftest.", or (3) at the end.
 
7880
   # Note that $ac_compile itself does not contain backslashes and begins
 
7881
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
7882
   lt_compile=`echo "$ac_compile" | $SED \
 
7883
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
7884
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
7885
   -e 's:$: $lt_compiler_flag:'`
 
7886
   (eval echo "\"\$as_me:7886: $lt_compile\"" >&5)
 
7887
   (eval "$lt_compile" 2>out/conftest.err)
 
7888
   ac_status=$?
 
7889
   cat out/conftest.err >&5
 
7890
   echo "$as_me:7890: \$? = $ac_status" >&5
 
7891
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
7892
   then
 
7893
     # The compiler can only warn and ignore the option if not recognized
 
7894
     # So say no if there are warnings
 
7895
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
7896
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
7897
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
7898
       lt_cv_prog_compiler_c_o=yes
 
7899
     fi
 
7900
   fi
 
7901
   chmod u+w . 2>&5
 
7902
   $RM conftest*
 
7903
   # SGI C++ compiler will create directory out/ii_files/ for
 
7904
   # template instantiation
 
7905
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
7906
   $RM out/* && rmdir out
 
7907
   cd ..
 
7908
   $RM -r conftest
 
7909
   $RM conftest*
 
7910
 
 
7911
fi
 
7912
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
7913
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
7914
 
 
7915
 
 
7916
 
 
7917
 
 
7918
 
 
7919
 
 
7920
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
7921
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
7922
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
7923
  $as_echo_n "(cached) " >&6
 
7924
else
 
7925
  lt_cv_prog_compiler_c_o=no
 
7926
   $RM -r conftest 2>/dev/null
 
7927
   mkdir conftest
 
7928
   cd conftest
 
7929
   mkdir out
 
7930
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7931
 
 
7932
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
7933
   # Insert the option either (1) after the last *FLAGS variable, or
 
7934
   # (2) before a word containing "conftest.", or (3) at the end.
 
7935
   # Note that $ac_compile itself does not contain backslashes and begins
 
7936
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
7937
   lt_compile=`echo "$ac_compile" | $SED \
 
7938
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
7939
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
7940
   -e 's:$: $lt_compiler_flag:'`
 
7941
   (eval echo "\"\$as_me:7941: $lt_compile\"" >&5)
 
7942
   (eval "$lt_compile" 2>out/conftest.err)
 
7943
   ac_status=$?
 
7944
   cat out/conftest.err >&5
 
7945
   echo "$as_me:7945: \$? = $ac_status" >&5
 
7946
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
7947
   then
 
7948
     # The compiler can only warn and ignore the option if not recognized
 
7949
     # So say no if there are warnings
 
7950
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
7951
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
7952
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
7953
       lt_cv_prog_compiler_c_o=yes
 
7954
     fi
 
7955
   fi
 
7956
   chmod u+w . 2>&5
 
7957
   $RM conftest*
 
7958
   # SGI C++ compiler will create directory out/ii_files/ for
 
7959
   # template instantiation
 
7960
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
7961
   $RM out/* && rmdir out
 
7962
   cd ..
 
7963
   $RM -r conftest
 
7964
   $RM conftest*
 
7965
 
 
7966
fi
 
7967
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
7968
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
7969
 
 
7970
 
 
7971
 
 
7972
 
 
7973
hard_links="nottested"
 
7974
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
 
7975
  # do not overwrite the value of need_locks provided by the user
 
7976
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
7977
$as_echo_n "checking if we can lock with hard links... " >&6; }
 
7978
  hard_links=yes
 
7979
  $RM conftest*
 
7980
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
7981
  touch conftest.a
 
7982
  ln conftest.a conftest.b 2>&5 || hard_links=no
 
7983
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
7984
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
7985
$as_echo "$hard_links" >&6; }
 
7986
  if test "$hard_links" = no; then
 
7987
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
7988
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
7989
    need_locks=warn
 
7990
  fi
 
7991
else
 
7992
  need_locks=no
 
7993
fi
 
7994
 
 
7995
 
 
7996
 
 
7997
 
 
7998
 
 
7999
 
 
8000
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
8001
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
8002
 
 
8003
  runpath_var=
 
8004
  allow_undefined_flag=
 
8005
  always_export_symbols=no
 
8006
  archive_cmds=
 
8007
  archive_expsym_cmds=
 
8008
  compiler_needs_object=no
 
8009
  enable_shared_with_static_runtimes=no
 
8010
  export_dynamic_flag_spec=
 
8011
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
8012
  hardcode_automatic=no
 
8013
  hardcode_direct=no
 
8014
  hardcode_direct_absolute=no
 
8015
  hardcode_libdir_flag_spec=
 
8016
  hardcode_libdir_flag_spec_ld=
 
8017
  hardcode_libdir_separator=
 
8018
  hardcode_minus_L=no
 
8019
  hardcode_shlibpath_var=unsupported
 
8020
  inherit_rpath=no
 
8021
  link_all_deplibs=unknown
 
8022
  module_cmds=
 
8023
  module_expsym_cmds=
 
8024
  old_archive_from_new_cmds=
 
8025
  old_archive_from_expsyms_cmds=
 
8026
  thread_safe_flag_spec=
 
8027
  whole_archive_flag_spec=
 
8028
  # include_expsyms should be a list of space-separated symbols to be *always*
 
8029
  # included in the symbol list
 
8030
  include_expsyms=
 
8031
  # exclude_expsyms can be an extended regexp of symbols to exclude
 
8032
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
 
8033
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 
8034
  # as well as any symbol that contains `d'.
 
8035
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 
8036
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 
8037
  # platforms (ab)use it in PIC code, but their linkers get confused if
 
8038
  # the symbol is explicitly referenced.  Since portable code cannot
 
8039
  # rely on this symbol name, it's probably fine to never include it in
 
8040
  # preloaded symbol tables.
 
8041
  # Exclude shared library initialization/finalization symbols.
 
8042
  extract_expsyms_cmds=
 
8043
 
 
8044
  case $host_os in
 
8045
  cygwin* | mingw* | pw32* | cegcc*)
 
8046
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
 
8047
    # When not using gcc, we currently assume that we are using
 
8048
    # Microsoft Visual C++.
 
8049
    if test "$GCC" != yes; then
 
8050
      with_gnu_ld=no
 
8051
    fi
 
8052
    ;;
 
8053
  interix*)
 
8054
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
8055
    with_gnu_ld=yes
 
8056
    ;;
 
8057
  openbsd*)
 
8058
    with_gnu_ld=no
 
8059
    ;;
 
8060
  esac
 
8061
 
 
8062
  ld_shlibs=yes
 
8063
  if test "$with_gnu_ld" = yes; then
 
8064
    # If archive_cmds runs LD, not CC, wlarc should be empty
 
8065
    wlarc='${wl}'
 
8066
 
 
8067
    # Set some defaults for GNU ld with shared library support. These
 
8068
    # are reset later if shared libraries are not supported. Putting them
 
8069
    # here allows them to be overridden if necessary.
 
8070
    runpath_var=LD_RUN_PATH
 
8071
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
8072
    export_dynamic_flag_spec='${wl}--export-dynamic'
 
8073
    # ancient GNU ld didn't support --whole-archive et. al.
 
8074
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
8075
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
8076
    else
 
8077
      whole_archive_flag_spec=
 
8078
    fi
 
8079
    supports_anon_versioning=no
 
8080
    case `$LD -v 2>&1` in
 
8081
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
8082
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
8083
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
8084
      *\ 2.11.*) ;; # other 2.11 versions
 
8085
      *) supports_anon_versioning=yes ;;
 
8086
    esac
 
8087
 
 
8088
    # See if GNU ld supports shared libraries.
 
8089
    case $host_os in
 
8090
    aix[3-9]*)
 
8091
      # On AIX/PPC, the GNU linker is very broken
 
8092
      if test "$host_cpu" != ia64; then
 
8093
        ld_shlibs=no
 
8094
        cat <<_LT_EOF 1>&2
 
8095
 
 
8096
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
8097
*** to be unable to reliably create shared libraries on AIX.
 
8098
*** Therefore, libtool is disabling shared libraries support.  If you
 
8099
*** really care for shared libraries, you may want to modify your PATH
 
8100
*** so that a non-GNU linker is found, and then restart.
 
8101
 
 
8102
_LT_EOF
 
8103
      fi
 
8104
      ;;
 
8105
 
 
8106
    amigaos*)
 
8107
      case $host_cpu in
 
8108
      powerpc)
 
8109
            # see comment about AmigaOS4 .so support
 
8110
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8111
            archive_expsym_cmds=''
 
8112
        ;;
 
8113
      m68k)
 
8114
            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
 
8115
            hardcode_libdir_flag_spec='-L$libdir'
 
8116
            hardcode_minus_L=yes
 
8117
        ;;
 
8118
      esac
 
8119
      ;;
 
8120
 
 
8121
    beos*)
 
8122
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
8123
        allow_undefined_flag=unsupported
 
8124
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
8125
        # support --undefined.  This deserves some investigation.  FIXME
 
8126
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8127
      else
 
8128
        ld_shlibs=no
 
8129
      fi
 
8130
      ;;
 
8131
 
 
8132
    cygwin* | mingw* | pw32* | cegcc*)
 
8133
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
8134
      # as there is no search path for DLLs.
 
8135
      hardcode_libdir_flag_spec='-L$libdir'
 
8136
      allow_undefined_flag=unsupported
 
8137
      always_export_symbols=no
 
8138
      enable_shared_with_static_runtimes=yes
 
8139
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
8140
 
 
8141
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
8142
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
8143
        # If the export-symbols file already is a .def file (1st line
 
8144
        # is EXPORTS), use it as is; otherwise, prepend...
 
8145
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
8146
          cp $export_symbols $output_objdir/$soname.def;
 
8147
        else
 
8148
          echo EXPORTS > $output_objdir/$soname.def;
 
8149
          cat $export_symbols >> $output_objdir/$soname.def;
 
8150
        fi~
 
8151
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
8152
      else
 
8153
        ld_shlibs=no
 
8154
      fi
 
8155
      ;;
 
8156
 
 
8157
    interix[3-9]*)
 
8158
      hardcode_direct=no
 
8159
      hardcode_shlibpath_var=no
 
8160
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
8161
      export_dynamic_flag_spec='${wl}-E'
 
8162
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
8163
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
8164
      # default) and relocated if they conflict, which is a slow very memory
 
8165
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
8166
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
8167
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
8168
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
8169
      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'
 
8170
      ;;
 
8171
 
 
8172
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
8173
      tmp_diet=no
 
8174
      if test "$host_os" = linux-dietlibc; then
 
8175
        case $cc_basename in
 
8176
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
8177
        esac
 
8178
      fi
 
8179
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
8180
         && test "$tmp_diet" = no
 
8181
      then
 
8182
        tmp_addflag=
 
8183
        tmp_sharedflag='-shared'
 
8184
        case $cc_basename,$host_cpu in
 
8185
        pgcc*)                          # Portland Group C compiler
 
8186
          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'
 
8187
          tmp_addflag=' $pic_flag'
 
8188
          ;;
 
8189
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
8190
          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'
 
8191
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
8192
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
 
8193
          tmp_addflag=' -i_dynamic' ;;
 
8194
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
8195
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
8196
        ifc* | ifort*)                  # Intel Fortran compiler
 
8197
          tmp_addflag=' -nofor_main' ;;
 
8198
        lf95*)                          # Lahey Fortran 8.1
 
8199
          whole_archive_flag_spec=
 
8200
          tmp_sharedflag='--shared' ;;
 
8201
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
8202
          tmp_sharedflag='-qmkshrobj'
 
8203
          tmp_addflag= ;;
 
8204
        esac
 
8205
        case `$CC -V 2>&1 | sed 5q` in
 
8206
        *Sun\ C*)                       # Sun C 5.9
 
8207
          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'
 
8208
          compiler_needs_object=yes
 
8209
          tmp_sharedflag='-G' ;;
 
8210
        *Sun\ F*)                       # Sun Fortran 8.3
 
8211
          tmp_sharedflag='-G' ;;
 
8212
        esac
 
8213
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8214
 
 
8215
        if test "x$supports_anon_versioning" = xyes; then
 
8216
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
8217
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
8218
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
8219
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
8220
        fi
 
8221
 
 
8222
        case $cc_basename in
 
8223
        xlf*)
 
8224
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
8225
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
8226
          hardcode_libdir_flag_spec=
 
8227
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
8228
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
8229
          if test "x$supports_anon_versioning" = xyes; then
 
8230
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
8231
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
8232
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
8233
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
8234
          fi
 
8235
          ;;
 
8236
        esac
 
8237
      else
 
8238
        ld_shlibs=no
 
8239
      fi
 
8240
      ;;
 
8241
 
 
8242
    netbsd* | netbsdelf*-gnu)
 
8243
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
8244
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 
8245
        wlarc=
 
8246
      else
 
8247
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8248
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8249
      fi
 
8250
      ;;
 
8251
 
 
8252
    solaris*)
 
8253
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
 
8254
        ld_shlibs=no
 
8255
        cat <<_LT_EOF 1>&2
 
8256
 
 
8257
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
 
8258
*** create shared libraries on Solaris systems.  Therefore, libtool
 
8259
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
8260
*** binutils to release 2.9.1 or newer.  Another option is to modify
 
8261
*** your PATH or compiler configuration so that the native linker is
 
8262
*** used, and then restart.
 
8263
 
 
8264
_LT_EOF
 
8265
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
8266
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8267
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8268
      else
 
8269
        ld_shlibs=no
 
8270
      fi
 
8271
      ;;
 
8272
 
 
8273
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
8274
      case `$LD -v 2>&1` in
 
8275
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
8276
        ld_shlibs=no
 
8277
        cat <<_LT_EOF 1>&2
 
8278
 
 
8279
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
8280
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
8281
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
8282
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
8283
*** your PATH or compiler configuration so that the native linker is
 
8284
*** used, and then restart.
 
8285
 
 
8286
_LT_EOF
 
8287
        ;;
 
8288
        *)
 
8289
          # For security reasons, it is highly recommended that you always
 
8290
          # use absolute paths for naming shared libraries, and exclude the
 
8291
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
8292
          # requires that you compile everything twice, which is a pain.
 
8293
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
8294
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
8295
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8296
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8297
          else
 
8298
            ld_shlibs=no
 
8299
          fi
 
8300
        ;;
 
8301
      esac
 
8302
      ;;
 
8303
 
 
8304
    sunos4*)
 
8305
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
8306
      wlarc=
 
8307
      hardcode_direct=yes
 
8308
      hardcode_shlibpath_var=no
 
8309
      ;;
 
8310
 
 
8311
    *)
 
8312
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
8313
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8314
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8315
      else
 
8316
        ld_shlibs=no
 
8317
      fi
 
8318
      ;;
 
8319
    esac
 
8320
 
 
8321
    if test "$ld_shlibs" = no; then
 
8322
      runpath_var=
 
8323
      hardcode_libdir_flag_spec=
 
8324
      export_dynamic_flag_spec=
 
8325
      whole_archive_flag_spec=
 
8326
    fi
 
8327
  else
 
8328
    # PORTME fill in a description of your system's linker (not GNU ld)
 
8329
    case $host_os in
 
8330
    aix3*)
 
8331
      allow_undefined_flag=unsupported
 
8332
      always_export_symbols=yes
 
8333
      archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
 
8334
      # Note: this linker hardcodes the directories in LIBPATH if there
 
8335
      # are no directories specified by -L.
 
8336
      hardcode_minus_L=yes
 
8337
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 
8338
        # Neither direct hardcoding nor static linking is supported with a
 
8339
        # broken collect2.
 
8340
        hardcode_direct=unsupported
 
8341
      fi
 
8342
      ;;
 
8343
 
 
8344
    aix[4-9]*)
 
8345
      if test "$host_cpu" = ia64; then
 
8346
        # On IA64, the linker does run time linking by default, so we don't
 
8347
        # have to do anything special.
 
8348
        aix_use_runtimelinking=no
 
8349
        exp_sym_flag='-Bexport'
 
8350
        no_entry_flag=""
 
8351
      else
 
8352
        # If we're using GNU nm, then we don't want the "-C" option.
 
8353
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
8354
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
8355
          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'
 
8356
        else
 
8357
          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'
 
8358
        fi
 
8359
        aix_use_runtimelinking=no
 
8360
 
 
8361
        # Test if we are trying to use run time linking or normal
 
8362
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
8363
        # need to do runtime linking.
 
8364
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 
8365
          for ld_flag in $LDFLAGS; do
 
8366
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
8367
            aix_use_runtimelinking=yes
 
8368
            break
 
8369
          fi
 
8370
          done
 
8371
          ;;
 
8372
        esac
 
8373
 
 
8374
        exp_sym_flag='-bexport'
 
8375
        no_entry_flag='-bnoentry'
 
8376
      fi
 
8377
 
 
8378
      # When large executables or shared objects are built, AIX ld can
 
8379
      # have problems creating the table of contents.  If linking a library
 
8380
      # or program results in "error TOC overflow" add -mminimal-toc to
 
8381
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
8382
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
8383
 
 
8384
      archive_cmds=''
 
8385
      hardcode_direct=yes
 
8386
      hardcode_direct_absolute=yes
 
8387
      hardcode_libdir_separator=':'
 
8388
      link_all_deplibs=yes
 
8389
      file_list_spec='${wl}-f,'
 
8390
 
 
8391
      if test "$GCC" = yes; then
 
8392
        case $host_os in aix4.[012]|aix4.[012].*)
 
8393
        # We only want to do this on AIX 4.2 and lower, the check
 
8394
        # below for broken collect2 doesn't work under 4.3+
 
8395
          collect2name=`${CC} -print-prog-name=collect2`
 
8396
          if test -f "$collect2name" &&
 
8397
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 
8398
          then
 
8399
          # We have reworked collect2
 
8400
          :
 
8401
          else
 
8402
          # We have old collect2
 
8403
          hardcode_direct=unsupported
 
8404
          # It fails to find uninstalled libraries when the uninstalled
 
8405
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
8406
          # to unsupported forces relinking
 
8407
          hardcode_minus_L=yes
 
8408
          hardcode_libdir_flag_spec='-L$libdir'
 
8409
          hardcode_libdir_separator=
 
8410
          fi
 
8411
          ;;
 
8412
        esac
 
8413
        shared_flag='-shared'
 
8414
        if test "$aix_use_runtimelinking" = yes; then
 
8415
          shared_flag="$shared_flag "'${wl}-G'
 
8416
        fi
 
8417
        link_all_deplibs=no
 
8418
      else
 
8419
        # not using gcc
 
8420
        if test "$host_cpu" = ia64; then
 
8421
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
8422
        # chokes on -Wl,-G. The following line is correct:
 
8423
          shared_flag='-G'
 
8424
        else
 
8425
          if test "$aix_use_runtimelinking" = yes; then
 
8426
            shared_flag='${wl}-G'
 
8427
          else
 
8428
            shared_flag='${wl}-bM:SRE'
 
8429
          fi
 
8430
        fi
 
8431
      fi
 
8432
 
 
8433
      export_dynamic_flag_spec='${wl}-bexpall'
 
8434
      # It seems that -bexpall does not export symbols beginning with
 
8435
      # underscore (_), so it is better to generate a list of symbols to export.
 
8436
      always_export_symbols=yes
 
8437
      if test "$aix_use_runtimelinking" = yes; then
 
8438
        # Warning - without using the other runtime loading flags (-brtl),
 
8439
        # -berok will link without error, but may produce a broken library.
 
8440
        allow_undefined_flag='-berok'
 
8441
        # Determine the default libpath from the value encoded in an
 
8442
        # empty executable.
 
8443
        cat >conftest.$ac_ext <<_ACEOF
 
8444
/* confdefs.h.  */
 
8445
_ACEOF
 
8446
cat confdefs.h >>conftest.$ac_ext
 
8447
cat >>conftest.$ac_ext <<_ACEOF
 
8448
/* end confdefs.h.  */
 
8449
 
 
8450
int
 
8451
main ()
 
8452
{
 
8453
 
 
8454
  ;
 
8455
  return 0;
 
8456
}
 
8457
_ACEOF
 
8458
rm -f conftest.$ac_objext conftest$ac_exeext
 
8459
if { (ac_try="$ac_link"
 
8460
case "(($ac_try" in
 
8461
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8462
  *) ac_try_echo=$ac_try;;
 
8463
esac
 
8464
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8465
$as_echo "$ac_try_echo") >&5
 
8466
  (eval "$ac_link") 2>conftest.er1
 
8467
  ac_status=$?
 
8468
  grep -v '^ *+' conftest.er1 >conftest.err
 
8469
  rm -f conftest.er1
 
8470
  cat conftest.err >&5
 
8471
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8472
  (exit $ac_status); } && {
 
8473
         test -z "$ac_c_werror_flag" ||
 
8474
         test ! -s conftest.err
 
8475
       } && test -s conftest$ac_exeext && {
 
8476
         test "$cross_compiling" = yes ||
 
8477
         $as_test_x conftest$ac_exeext
 
8478
       }; then
 
8479
 
 
8480
lt_aix_libpath_sed='
 
8481
    /Import File Strings/,/^$/ {
 
8482
        /^0/ {
 
8483
            s/^0  *\(.*\)$/\1/
 
8484
            p
 
8485
        }
 
8486
    }'
 
8487
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8488
# Check for a 64-bit object if we didn't find anything.
 
8489
if test -z "$aix_libpath"; then
 
8490
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8491
fi
 
8492
else
 
8493
  $as_echo "$as_me: failed program was:" >&5
 
8494
sed 's/^/| /' conftest.$ac_ext >&5
 
8495
 
 
8496
 
 
8497
fi
 
8498
 
 
8499
rm -rf conftest.dSYM
 
8500
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
8501
      conftest$ac_exeext conftest.$ac_ext
 
8502
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
8503
 
 
8504
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
8505
        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"
 
8506
      else
 
8507
        if test "$host_cpu" = ia64; then
 
8508
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
 
8509
          allow_undefined_flag="-z nodefs"
 
8510
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
 
8511
        else
 
8512
         # Determine the default libpath from the value encoded in an
 
8513
         # empty executable.
 
8514
         cat >conftest.$ac_ext <<_ACEOF
 
8515
/* confdefs.h.  */
 
8516
_ACEOF
 
8517
cat confdefs.h >>conftest.$ac_ext
 
8518
cat >>conftest.$ac_ext <<_ACEOF
 
8519
/* end confdefs.h.  */
 
8520
 
 
8521
int
 
8522
main ()
 
8523
{
 
8524
 
 
8525
  ;
 
8526
  return 0;
 
8527
}
 
8528
_ACEOF
 
8529
rm -f conftest.$ac_objext conftest$ac_exeext
 
8530
if { (ac_try="$ac_link"
 
8531
case "(($ac_try" in
 
8532
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8533
  *) ac_try_echo=$ac_try;;
 
8534
esac
 
8535
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8536
$as_echo "$ac_try_echo") >&5
 
8537
  (eval "$ac_link") 2>conftest.er1
 
8538
  ac_status=$?
 
8539
  grep -v '^ *+' conftest.er1 >conftest.err
 
8540
  rm -f conftest.er1
 
8541
  cat conftest.err >&5
 
8542
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8543
  (exit $ac_status); } && {
 
8544
         test -z "$ac_c_werror_flag" ||
 
8545
         test ! -s conftest.err
 
8546
       } && test -s conftest$ac_exeext && {
 
8547
         test "$cross_compiling" = yes ||
 
8548
         $as_test_x conftest$ac_exeext
 
8549
       }; then
 
8550
 
 
8551
lt_aix_libpath_sed='
 
8552
    /Import File Strings/,/^$/ {
 
8553
        /^0/ {
 
8554
            s/^0  *\(.*\)$/\1/
 
8555
            p
 
8556
        }
 
8557
    }'
 
8558
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8559
# Check for a 64-bit object if we didn't find anything.
 
8560
if test -z "$aix_libpath"; then
 
8561
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8562
fi
 
8563
else
 
8564
  $as_echo "$as_me: failed program was:" >&5
 
8565
sed 's/^/| /' conftest.$ac_ext >&5
 
8566
 
 
8567
 
 
8568
fi
 
8569
 
 
8570
rm -rf conftest.dSYM
 
8571
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
8572
      conftest$ac_exeext conftest.$ac_ext
 
8573
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
8574
 
 
8575
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
8576
          # Warning - without using the other run time loading flags,
 
8577
          # -berok will link without error, but may produce a broken library.
 
8578
          no_undefined_flag=' ${wl}-bernotok'
 
8579
          allow_undefined_flag=' ${wl}-berok'
 
8580
          # Exported symbols can be pulled into shared objects from archives
 
8581
          whole_archive_flag_spec='$convenience'
 
8582
          archive_cmds_need_lc=yes
 
8583
          # This is similar to how AIX traditionally builds its shared libraries.
 
8584
          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'
 
8585
        fi
 
8586
      fi
 
8587
      ;;
 
8588
 
 
8589
    amigaos*)
 
8590
      case $host_cpu in
 
8591
      powerpc)
 
8592
            # see comment about AmigaOS4 .so support
 
8593
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8594
            archive_expsym_cmds=''
 
8595
        ;;
 
8596
      m68k)
 
8597
            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
 
8598
            hardcode_libdir_flag_spec='-L$libdir'
 
8599
            hardcode_minus_L=yes
 
8600
        ;;
 
8601
      esac
 
8602
      ;;
 
8603
 
 
8604
    bsdi[45]*)
 
8605
      export_dynamic_flag_spec=-rdynamic
 
8606
      ;;
 
8607
 
 
8608
    cygwin* | mingw* | pw32* | cegcc*)
 
8609
      # When not using gcc, we currently assume that we are using
 
8610
      # Microsoft Visual C++.
 
8611
      # hardcode_libdir_flag_spec is actually meaningless, as there is
 
8612
      # no search path for DLLs.
 
8613
      hardcode_libdir_flag_spec=' '
 
8614
      allow_undefined_flag=unsupported
 
8615
      # Tell ltmain to make .lib files, not .a files.
 
8616
      libext=lib
 
8617
      # Tell ltmain to make .dll files, not .so files.
 
8618
      shrext_cmds=".dll"
 
8619
      # FIXME: Setting linknames here is a bad hack.
 
8620
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
8621
      # The linker will automatically build a .lib file if we build a DLL.
 
8622
      old_archive_from_new_cmds='true'
 
8623
      # FIXME: Should let the user specify the lib program.
 
8624
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
8625
      fix_srcfile_path='`cygpath -w "$srcfile"`'
 
8626
      enable_shared_with_static_runtimes=yes
 
8627
      ;;
 
8628
 
 
8629
    darwin* | rhapsody*)
 
8630
 
 
8631
 
 
8632
  archive_cmds_need_lc=no
 
8633
  hardcode_direct=no
 
8634
  hardcode_automatic=yes
 
8635
  hardcode_shlibpath_var=unsupported
 
8636
  whole_archive_flag_spec=''
 
8637
  link_all_deplibs=yes
 
8638
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
8639
  case $cc_basename in
 
8640
     ifort*) _lt_dar_can_shared=yes ;;
 
8641
     *) _lt_dar_can_shared=$GCC ;;
 
8642
  esac
 
8643
  if test "$_lt_dar_can_shared" = "yes"; then
 
8644
    output_verbose_link_cmd=echo
 
8645
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
8646
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
8647
    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}"
 
8648
    module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
 
8649
 
 
8650
  else
 
8651
  ld_shlibs=no
 
8652
  fi
 
8653
 
 
8654
      ;;
 
8655
 
 
8656
    dgux*)
 
8657
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
8658
      hardcode_libdir_flag_spec='-L$libdir'
 
8659
      hardcode_shlibpath_var=no
 
8660
      ;;
 
8661
 
 
8662
    freebsd1*)
 
8663
      ld_shlibs=no
 
8664
      ;;
 
8665
 
 
8666
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 
8667
    # support.  Future versions do this automatically, but an explicit c++rt0.o
 
8668
    # does not break anything, and helps significantly (at the cost of a little
 
8669
    # extra space).
 
8670
    freebsd2.2*)
 
8671
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 
8672
      hardcode_libdir_flag_spec='-R$libdir'
 
8673
      hardcode_direct=yes
 
8674
      hardcode_shlibpath_var=no
 
8675
      ;;
 
8676
 
 
8677
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 
8678
    freebsd2*)
 
8679
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
8680
      hardcode_direct=yes
 
8681
      hardcode_minus_L=yes
 
8682
      hardcode_shlibpath_var=no
 
8683
      ;;
 
8684
 
 
8685
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 
8686
    freebsd* | dragonfly*)
 
8687
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
8688
      hardcode_libdir_flag_spec='-R$libdir'
 
8689
      hardcode_direct=yes
 
8690
      hardcode_shlibpath_var=no
 
8691
      ;;
 
8692
 
 
8693
    hpux9*)
 
8694
      if test "$GCC" = yes; then
 
8695
        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'
 
8696
      else
 
8697
        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'
 
8698
      fi
 
8699
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
8700
      hardcode_libdir_separator=:
 
8701
      hardcode_direct=yes
 
8702
 
 
8703
      # hardcode_minus_L: Not really in the search PATH,
 
8704
      # but as the default location of the library.
 
8705
      hardcode_minus_L=yes
 
8706
      export_dynamic_flag_spec='${wl}-E'
 
8707
      ;;
 
8708
 
 
8709
    hpux10*)
 
8710
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
8711
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
8712
      else
 
8713
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
8714
      fi
 
8715
      if test "$with_gnu_ld" = no; then
 
8716
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
8717
        hardcode_libdir_flag_spec_ld='+b $libdir'
 
8718
        hardcode_libdir_separator=:
 
8719
        hardcode_direct=yes
 
8720
        hardcode_direct_absolute=yes
 
8721
        export_dynamic_flag_spec='${wl}-E'
 
8722
        # hardcode_minus_L: Not really in the search PATH,
 
8723
        # but as the default location of the library.
 
8724
        hardcode_minus_L=yes
 
8725
      fi
 
8726
      ;;
 
8727
 
 
8728
    hpux11*)
 
8729
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
8730
        case $host_cpu in
 
8731
        hppa*64*)
 
8732
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8733
          ;;
 
8734
        ia64*)
 
8735
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
8736
          ;;
 
8737
        *)
 
8738
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
8739
          ;;
 
8740
        esac
 
8741
      else
 
8742
        case $host_cpu in
 
8743
        hppa*64*)
 
8744
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8745
          ;;
 
8746
        ia64*)
 
8747
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
8748
          ;;
 
8749
        *)
 
8750
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
8751
          ;;
 
8752
        esac
 
8753
      fi
 
8754
      if test "$with_gnu_ld" = no; then
 
8755
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
8756
        hardcode_libdir_separator=:
 
8757
 
 
8758
        case $host_cpu in
 
8759
        hppa*64*|ia64*)
 
8760
          hardcode_direct=no
 
8761
          hardcode_shlibpath_var=no
 
8762
          ;;
 
8763
        *)
 
8764
          hardcode_direct=yes
 
8765
          hardcode_direct_absolute=yes
 
8766
          export_dynamic_flag_spec='${wl}-E'
 
8767
 
 
8768
          # hardcode_minus_L: Not really in the search PATH,
 
8769
          # but as the default location of the library.
 
8770
          hardcode_minus_L=yes
 
8771
          ;;
 
8772
        esac
 
8773
      fi
 
8774
      ;;
 
8775
 
 
8776
    irix5* | irix6* | nonstopux*)
 
8777
      if test "$GCC" = yes; then
 
8778
        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'
 
8779
        # Try to use the -exported_symbol ld option, if it does not
 
8780
        # work, assume that -exports_file does not work either and
 
8781
        # implicitly export all symbols.
 
8782
        save_LDFLAGS="$LDFLAGS"
 
8783
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
8784
        cat >conftest.$ac_ext <<_ACEOF
 
8785
int foo(void) {}
 
8786
_ACEOF
 
8787
rm -f conftest.$ac_objext conftest$ac_exeext
 
8788
if { (ac_try="$ac_link"
 
8789
case "(($ac_try" in
 
8790
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8791
  *) ac_try_echo=$ac_try;;
 
8792
esac
 
8793
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8794
$as_echo "$ac_try_echo") >&5
 
8795
  (eval "$ac_link") 2>conftest.er1
 
8796
  ac_status=$?
 
8797
  grep -v '^ *+' conftest.er1 >conftest.err
 
8798
  rm -f conftest.er1
 
8799
  cat conftest.err >&5
 
8800
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8801
  (exit $ac_status); } && {
 
8802
         test -z "$ac_c_werror_flag" ||
 
8803
         test ! -s conftest.err
 
8804
       } && test -s conftest$ac_exeext && {
 
8805
         test "$cross_compiling" = yes ||
 
8806
         $as_test_x conftest$ac_exeext
 
8807
       }; then
 
8808
  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'
 
8809
 
 
8810
else
 
8811
  $as_echo "$as_me: failed program was:" >&5
 
8812
sed 's/^/| /' conftest.$ac_ext >&5
 
8813
 
 
8814
 
 
8815
fi
 
8816
 
 
8817
rm -rf conftest.dSYM
 
8818
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
8819
      conftest$ac_exeext conftest.$ac_ext
 
8820
        LDFLAGS="$save_LDFLAGS"
 
8821
      else
 
8822
        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'
 
8823
        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'
 
8824
      fi
 
8825
      archive_cmds_need_lc='no'
 
8826
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
8827
      hardcode_libdir_separator=:
 
8828
      inherit_rpath=yes
 
8829
      link_all_deplibs=yes
 
8830
      ;;
 
8831
 
 
8832
    netbsd* | netbsdelf*-gnu)
 
8833
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
8834
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 
8835
      else
 
8836
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 
8837
      fi
 
8838
      hardcode_libdir_flag_spec='-R$libdir'
 
8839
      hardcode_direct=yes
 
8840
      hardcode_shlibpath_var=no
 
8841
      ;;
 
8842
 
 
8843
    newsos6)
 
8844
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
8845
      hardcode_direct=yes
 
8846
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
8847
      hardcode_libdir_separator=:
 
8848
      hardcode_shlibpath_var=no
 
8849
      ;;
 
8850
 
 
8851
    *nto* | *qnx*)
 
8852
      ;;
 
8853
 
 
8854
    openbsd*)
 
8855
      if test -f /usr/libexec/ld.so; then
 
8856
        hardcode_direct=yes
 
8857
        hardcode_shlibpath_var=no
 
8858
        hardcode_direct_absolute=yes
 
8859
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
8860
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
8861
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
8862
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
8863
          export_dynamic_flag_spec='${wl}-E'
 
8864
        else
 
8865
          case $host_os in
 
8866
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
8867
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
8868
             hardcode_libdir_flag_spec='-R$libdir'
 
8869
             ;;
 
8870
           *)
 
8871
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
8872
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
8873
             ;;
 
8874
          esac
 
8875
        fi
 
8876
      else
 
8877
        ld_shlibs=no
 
8878
      fi
 
8879
      ;;
 
8880
 
 
8881
    os2*)
 
8882
      hardcode_libdir_flag_spec='-L$libdir'
 
8883
      hardcode_minus_L=yes
 
8884
      allow_undefined_flag=unsupported
 
8885
      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'
 
8886
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
8887
      ;;
 
8888
 
 
8889
    osf3*)
 
8890
      if test "$GCC" = yes; then
 
8891
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
8892
        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'
 
8893
      else
 
8894
        allow_undefined_flag=' -expect_unresolved \*'
 
8895
        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'
 
8896
      fi
 
8897
      archive_cmds_need_lc='no'
 
8898
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
8899
      hardcode_libdir_separator=:
 
8900
      ;;
 
8901
 
 
8902
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
 
8903
      if test "$GCC" = yes; then
 
8904
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
8905
        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'
 
8906
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
8907
      else
 
8908
        allow_undefined_flag=' -expect_unresolved \*'
 
8909
        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'
 
8910
        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~
 
8911
        $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'
 
8912
 
 
8913
        # Both c and cxx compiler support -rpath directly
 
8914
        hardcode_libdir_flag_spec='-rpath $libdir'
 
8915
      fi
 
8916
      archive_cmds_need_lc='no'
 
8917
      hardcode_libdir_separator=:
 
8918
      ;;
 
8919
 
 
8920
    solaris*)
 
8921
      no_undefined_flag=' -z defs'
 
8922
      if test "$GCC" = yes; then
 
8923
        wlarc='${wl}'
 
8924
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8925
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
8926
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
8927
      else
 
8928
        case `$CC -V 2>&1` in
 
8929
        *"Compilers 5.0"*)
 
8930
          wlarc=''
 
8931
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
8932
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
8933
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
8934
          ;;
 
8935
        *)
 
8936
          wlarc='${wl}'
 
8937
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
8938
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
8939
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
8940
          ;;
 
8941
        esac
 
8942
      fi
 
8943
      hardcode_libdir_flag_spec='-R$libdir'
 
8944
      hardcode_shlibpath_var=no
 
8945
      case $host_os in
 
8946
      solaris2.[0-5] | solaris2.[0-5].*) ;;
 
8947
      *)
 
8948
        # The compiler driver will combine and reorder linker options,
 
8949
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
8950
        # but is careful enough not to reorder.
 
8951
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
8952
        if test "$GCC" = yes; then
 
8953
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
8954
        else
 
8955
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
8956
        fi
 
8957
        ;;
 
8958
      esac
 
8959
      link_all_deplibs=yes
 
8960
      ;;
 
8961
 
 
8962
    sunos4*)
 
8963
      if test "x$host_vendor" = xsequent; then
 
8964
        # Use $CC to link under sequent, because it throws in some extra .o
 
8965
        # files that make .init and .fini sections work.
 
8966
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
8967
      else
 
8968
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 
8969
      fi
 
8970
      hardcode_libdir_flag_spec='-L$libdir'
 
8971
      hardcode_direct=yes
 
8972
      hardcode_minus_L=yes
 
8973
      hardcode_shlibpath_var=no
 
8974
      ;;
 
8975
 
 
8976
    sysv4)
 
8977
      case $host_vendor in
 
8978
        sni)
 
8979
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
8980
          hardcode_direct=yes # is this really true???
 
8981
        ;;
 
8982
        siemens)
 
8983
          ## LD is ld it makes a PLAMLIB
 
8984
          ## CC just makes a GrossModule.
 
8985
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 
8986
          reload_cmds='$CC -r -o $output$reload_objs'
 
8987
          hardcode_direct=no
 
8988
        ;;
 
8989
        motorola)
 
8990
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
8991
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
 
8992
        ;;
 
8993
      esac
 
8994
      runpath_var='LD_RUN_PATH'
 
8995
      hardcode_shlibpath_var=no
 
8996
      ;;
 
8997
 
 
8998
    sysv4.3*)
 
8999
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9000
      hardcode_shlibpath_var=no
 
9001
      export_dynamic_flag_spec='-Bexport'
 
9002
      ;;
 
9003
 
 
9004
    sysv4*MP*)
 
9005
      if test -d /usr/nec; then
 
9006
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9007
        hardcode_shlibpath_var=no
 
9008
        runpath_var=LD_RUN_PATH
 
9009
        hardcode_runpath_var=yes
 
9010
        ld_shlibs=yes
 
9011
      fi
 
9012
      ;;
 
9013
 
 
9014
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
9015
      no_undefined_flag='${wl}-z,text'
 
9016
      archive_cmds_need_lc=no
 
9017
      hardcode_shlibpath_var=no
 
9018
      runpath_var='LD_RUN_PATH'
 
9019
 
 
9020
      if test "$GCC" = yes; then
 
9021
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9022
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9023
      else
 
9024
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9025
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9026
      fi
 
9027
      ;;
 
9028
 
 
9029
    sysv5* | sco3.2v5* | sco5v6*)
 
9030
      # Note: We can NOT use -z defs as we might desire, because we do not
 
9031
      # link with -lc, and that would cause any symbols used from libc to
 
9032
      # always be unresolved, which means just about no library would
 
9033
      # ever link correctly.  If we're not using GNU ld we use -z text
 
9034
      # though, which does catch some bad symbols but isn't as heavy-handed
 
9035
      # as -z defs.
 
9036
      no_undefined_flag='${wl}-z,text'
 
9037
      allow_undefined_flag='${wl}-z,nodefs'
 
9038
      archive_cmds_need_lc=no
 
9039
      hardcode_shlibpath_var=no
 
9040
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
 
9041
      hardcode_libdir_separator=':'
 
9042
      link_all_deplibs=yes
 
9043
      export_dynamic_flag_spec='${wl}-Bexport'
 
9044
      runpath_var='LD_RUN_PATH'
 
9045
 
 
9046
      if test "$GCC" = yes; then
 
9047
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9048
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9049
      else
 
9050
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9051
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9052
      fi
 
9053
      ;;
 
9054
 
 
9055
    uts4*)
 
9056
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9057
      hardcode_libdir_flag_spec='-L$libdir'
 
9058
      hardcode_shlibpath_var=no
 
9059
      ;;
 
9060
 
 
9061
    *)
 
9062
      ld_shlibs=no
 
9063
      ;;
 
9064
    esac
 
9065
 
 
9066
    if test x$host_vendor = xsni; then
 
9067
      case $host in
 
9068
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
9069
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
9070
        ;;
 
9071
      esac
 
9072
    fi
 
9073
  fi
 
9074
 
 
9075
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
9076
$as_echo "$ld_shlibs" >&6; }
 
9077
test "$ld_shlibs" = no && can_build_shared=no
 
9078
 
 
9079
with_gnu_ld=$with_gnu_ld
 
9080
 
 
9081
 
 
9082
 
 
9083
 
 
9084
 
 
9085
 
 
9086
 
 
9087
 
 
9088
 
 
9089
 
 
9090
 
 
9091
 
 
9092
 
 
9093
 
 
9094
 
 
9095
#
 
9096
# Do we need to explicitly link libc?
 
9097
#
 
9098
case "x$archive_cmds_need_lc" in
 
9099
x|xyes)
 
9100
  # Assume -lc should be added
 
9101
  archive_cmds_need_lc=yes
 
9102
 
 
9103
  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
9104
    case $archive_cmds in
 
9105
    *'~'*)
 
9106
      # FIXME: we may have to deal with multi-command sequences.
 
9107
      ;;
 
9108
    '$CC '*)
 
9109
      # Test whether the compiler implicitly links with -lc since on some
 
9110
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
9111
      # to ld, don't add -lc before -lgcc.
 
9112
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
9113
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
9114
      $RM conftest*
 
9115
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9116
 
 
9117
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
9118
  (eval $ac_compile) 2>&5
 
9119
  ac_status=$?
 
9120
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9121
  (exit $ac_status); } 2>conftest.err; then
 
9122
        soname=conftest
 
9123
        lib=conftest
 
9124
        libobjs=conftest.$ac_objext
 
9125
        deplibs=
 
9126
        wl=$lt_prog_compiler_wl
 
9127
        pic_flag=$lt_prog_compiler_pic
 
9128
        compiler_flags=-v
 
9129
        linker_flags=-v
 
9130
        verstring=
 
9131
        output_objdir=.
 
9132
        libname=conftest
 
9133
        lt_save_allow_undefined_flag=$allow_undefined_flag
 
9134
        allow_undefined_flag=
 
9135
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
9136
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
9137
  ac_status=$?
 
9138
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9139
  (exit $ac_status); }
 
9140
        then
 
9141
          archive_cmds_need_lc=no
 
9142
        else
 
9143
          archive_cmds_need_lc=yes
 
9144
        fi
 
9145
        allow_undefined_flag=$lt_save_allow_undefined_flag
 
9146
      else
 
9147
        cat conftest.err 1>&5
 
9148
      fi
 
9149
      $RM conftest*
 
9150
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
9151
$as_echo "$archive_cmds_need_lc" >&6; }
 
9152
      ;;
 
9153
    esac
 
9154
  fi
 
9155
  ;;
 
9156
esac
 
9157
 
 
9158
 
 
9159
 
 
9160
 
 
9161
 
 
9162
 
 
9163
 
 
9164
 
 
9165
 
 
9166
 
 
9167
 
 
9168
 
 
9169
 
 
9170
 
 
9171
 
 
9172
 
 
9173
 
 
9174
 
 
9175
 
 
9176
 
 
9177
 
 
9178
 
 
9179
 
 
9180
 
 
9181
 
 
9182
 
 
9183
 
 
9184
 
 
9185
 
 
9186
 
 
9187
 
 
9188
 
 
9189
 
 
9190
 
 
9191
 
 
9192
 
 
9193
 
 
9194
 
 
9195
 
 
9196
 
 
9197
 
 
9198
 
 
9199
 
 
9200
 
 
9201
 
 
9202
 
 
9203
 
 
9204
 
 
9205
 
 
9206
 
 
9207
 
 
9208
 
 
9209
 
 
9210
 
 
9211
 
 
9212
 
 
9213
 
 
9214
 
 
9215
 
 
9216
 
 
9217
 
 
9218
 
 
9219
 
 
9220
 
 
9221
 
 
9222
 
 
9223
 
 
9224
 
 
9225
 
 
9226
 
 
9227
 
 
9228
 
 
9229
 
 
9230
 
 
9231
 
 
9232
 
 
9233
 
 
9234
 
 
9235
 
 
9236
 
 
9237
 
 
9238
 
 
9239
 
 
9240
 
 
9241
 
 
9242
 
 
9243
 
 
9244
 
 
9245
 
 
9246
 
 
9247
 
 
9248
 
 
9249
 
 
9250
 
 
9251
 
 
9252
 
 
9253
 
 
9254
 
 
9255
 
 
9256
 
 
9257
 
 
9258
 
 
9259
 
 
9260
 
 
9261
 
 
9262
 
 
9263
 
 
9264
 
 
9265
 
 
9266
 
 
9267
 
 
9268
 
 
9269
 
 
9270
 
 
9271
 
 
9272
 
 
9273
 
 
9274
 
 
9275
 
 
9276
 
 
9277
 
 
9278
 
 
9279
 
 
9280
 
 
9281
 
 
9282
 
 
9283
 
 
9284
 
 
9285
 
 
9286
 
 
9287
 
 
9288
 
 
9289
 
 
9290
 
 
9291
 
 
9292
 
 
9293
 
 
9294
 
 
9295
 
 
9296
 
 
9297
 
 
9298
 
 
9299
 
 
9300
 
 
9301
 
 
9302
 
 
9303
 
 
9304
 
 
9305
 
 
9306
 
 
9307
 
 
9308
 
 
9309
 
 
9310
 
 
9311
 
 
9312
 
 
9313
 
 
9314
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
9315
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
9316
 
 
9317
if test "$GCC" = yes; then
 
9318
  case $host_os in
 
9319
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
9320
    *) lt_awk_arg="/^libraries:/" ;;
 
9321
  esac
 
9322
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
9323
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
9324
    # if the path contains ";" then we assume it to be the separator
 
9325
    # otherwise default to the standard path separator (i.e. ":") - it is
 
9326
    # assumed that no part of a normal pathname contains ";" but that should
 
9327
    # okay in the real world where ";" in dirpaths is itself problematic.
 
9328
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 
9329
  else
 
9330
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
9331
  fi
 
9332
  # Ok, now we have the path, separated by spaces, we can step through it
 
9333
  # and add multilib dir if necessary.
 
9334
  lt_tmp_lt_search_path_spec=
 
9335
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
9336
  for lt_sys_path in $lt_search_path_spec; do
 
9337
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
9338
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
9339
    else
 
9340
      test -d "$lt_sys_path" && \
 
9341
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
9342
    fi
 
9343
  done
 
9344
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
9345
BEGIN {RS=" "; FS="/|\n";} {
 
9346
  lt_foo="";
 
9347
  lt_count=0;
 
9348
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
9349
    if ($lt_i != "" && $lt_i != ".") {
 
9350
      if ($lt_i == "..") {
 
9351
        lt_count++;
 
9352
      } else {
 
9353
        if (lt_count == 0) {
 
9354
          lt_foo="/" $lt_i lt_foo;
 
9355
        } else {
 
9356
          lt_count--;
 
9357
        }
 
9358
      }
 
9359
    }
 
9360
  }
 
9361
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
9362
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
9363
}'`
 
9364
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
9365
else
 
9366
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
9367
fi
 
9368
library_names_spec=
 
9369
libname_spec='lib$name'
 
9370
soname_spec=
 
9371
shrext_cmds=".so"
 
9372
postinstall_cmds=
 
9373
postuninstall_cmds=
 
9374
finish_cmds=
 
9375
finish_eval=
 
9376
shlibpath_var=
 
9377
shlibpath_overrides_runpath=unknown
 
9378
version_type=none
 
9379
dynamic_linker="$host_os ld.so"
 
9380
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
9381
need_lib_prefix=unknown
 
9382
hardcode_into_libs=no
 
9383
 
 
9384
# when you set need_version to no, make sure it does not cause -set_version
 
9385
# flags to be left without arguments
 
9386
need_version=unknown
 
9387
 
 
9388
case $host_os in
 
9389
aix3*)
 
9390
  version_type=linux
 
9391
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
9392
  shlibpath_var=LIBPATH
 
9393
 
 
9394
  # AIX 3 has no versioning support, so we append a major version to the name.
 
9395
  soname_spec='${libname}${release}${shared_ext}$major'
 
9396
  ;;
 
9397
 
 
9398
aix[4-9]*)
 
9399
  version_type=linux
 
9400
  need_lib_prefix=no
 
9401
  need_version=no
 
9402
  hardcode_into_libs=yes
 
9403
  if test "$host_cpu" = ia64; then
 
9404
    # AIX 5 supports IA64
 
9405
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
9406
    shlibpath_var=LD_LIBRARY_PATH
 
9407
  else
 
9408
    # With GCC up to 2.95.x, collect2 would create an import file
 
9409
    # for dependence libraries.  The import file would start with
 
9410
    # the line `#! .'.  This would cause the generated library to
 
9411
    # depend on `.', always an invalid library.  This was fixed in
 
9412
    # development snapshots of GCC prior to 3.0.
 
9413
    case $host_os in
 
9414
      aix4 | aix4.[01] | aix4.[01].*)
 
9415
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
9416
           echo ' yes '
 
9417
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
 
9418
        :
 
9419
      else
 
9420
        can_build_shared=no
 
9421
      fi
 
9422
      ;;
 
9423
    esac
 
9424
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
9425
    # soname into executable. Probably we can add versioning support to
 
9426
    # collect2, so additional links can be useful in future.
 
9427
    if test "$aix_use_runtimelinking" = yes; then
 
9428
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
9429
      # instead of lib<name>.a to let people know that these are not
 
9430
      # typical AIX shared libraries.
 
9431
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9432
    else
 
9433
      # We preserve .a as extension for shared libraries through AIX4.2
 
9434
      # and later when we are not doing run time linking.
 
9435
      library_names_spec='${libname}${release}.a $libname.a'
 
9436
      soname_spec='${libname}${release}${shared_ext}$major'
 
9437
    fi
 
9438
    shlibpath_var=LIBPATH
 
9439
  fi
 
9440
  ;;
 
9441
 
 
9442
amigaos*)
 
9443
  case $host_cpu in
 
9444
  powerpc)
 
9445
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
9446
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
9447
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9448
    ;;
 
9449
  m68k)
 
9450
    library_names_spec='$libname.ixlibrary $libname.a'
 
9451
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
9452
    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'
 
9453
    ;;
 
9454
  esac
 
9455
  ;;
 
9456
 
 
9457
beos*)
 
9458
  library_names_spec='${libname}${shared_ext}'
 
9459
  dynamic_linker="$host_os ld.so"
 
9460
  shlibpath_var=LIBRARY_PATH
 
9461
  ;;
 
9462
 
 
9463
bsdi[45]*)
 
9464
  version_type=linux
 
9465
  need_version=no
 
9466
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9467
  soname_spec='${libname}${release}${shared_ext}$major'
 
9468
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
9469
  shlibpath_var=LD_LIBRARY_PATH
 
9470
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
9471
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
9472
  # the default ld.so.conf also contains /usr/contrib/lib and
 
9473
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
9474
  # libtool to hard-code these into programs
 
9475
  ;;
 
9476
 
 
9477
cygwin* | mingw* | pw32* | cegcc*)
 
9478
  version_type=windows
 
9479
  shrext_cmds=".dll"
 
9480
  need_version=no
 
9481
  need_lib_prefix=no
 
9482
 
 
9483
  case $GCC,$host_os in
 
9484
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
9485
    library_names_spec='$libname.dll.a'
 
9486
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
9487
    postinstall_cmds='base_file=`basename \${file}`~
 
9488
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
9489
      dldir=$destdir/`dirname \$dlpath`~
 
9490
      test -d \$dldir || mkdir -p \$dldir~
 
9491
      $install_prog $dir/$dlname \$dldir/$dlname~
 
9492
      chmod a+x \$dldir/$dlname~
 
9493
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
9494
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
9495
      fi'
 
9496
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
9497
      dlpath=$dir/\$dldll~
 
9498
       $RM \$dlpath'
 
9499
    shlibpath_overrides_runpath=yes
 
9500
 
 
9501
    case $host_os in
 
9502
    cygwin*)
 
9503
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
9504
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
9505
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
9506
      ;;
 
9507
    mingw* | cegcc*)
 
9508
      # MinGW DLLs use traditional 'lib' prefix
 
9509
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
9510
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
9511
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
9512
        # It is most probably a Windows format PATH printed by
 
9513
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
 
9514
        # path with ; separators, and with drive letters. We can handle the
 
9515
        # drive letters (cygwin fileutils understands them), so leave them,
 
9516
        # especially as we might pass files found there to a mingw objdump,
 
9517
        # which wouldn't understand a cygwinified path. Ahh.
 
9518
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
9519
      else
 
9520
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
9521
      fi
 
9522
      ;;
 
9523
    pw32*)
 
9524
      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
9525
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
9526
      ;;
 
9527
    esac
 
9528
    ;;
 
9529
 
 
9530
  *)
 
9531
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
9532
    ;;
 
9533
  esac
 
9534
  dynamic_linker='Win32 ld.exe'
 
9535
  # FIXME: first we should search . and the directory the executable is in
 
9536
  shlibpath_var=PATH
 
9537
  ;;
 
9538
 
 
9539
darwin* | rhapsody*)
 
9540
  dynamic_linker="$host_os dyld"
 
9541
  version_type=darwin
 
9542
  need_lib_prefix=no
 
9543
  need_version=no
 
9544
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
9545
  soname_spec='${libname}${release}${major}$shared_ext'
 
9546
  shlibpath_overrides_runpath=yes
 
9547
  shlibpath_var=DYLD_LIBRARY_PATH
 
9548
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
9549
 
 
9550
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
 
9551
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
9552
  ;;
 
9553
 
 
9554
dgux*)
 
9555
  version_type=linux
 
9556
  need_lib_prefix=no
 
9557
  need_version=no
 
9558
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
9559
  soname_spec='${libname}${release}${shared_ext}$major'
 
9560
  shlibpath_var=LD_LIBRARY_PATH
 
9561
  ;;
 
9562
 
 
9563
freebsd1*)
 
9564
  dynamic_linker=no
 
9565
  ;;
 
9566
 
 
9567
freebsd* | dragonfly*)
 
9568
  # DragonFly does not have aout.  When/if they implement a new
 
9569
  # versioning mechanism, adjust this.
 
9570
  if test -x /usr/bin/objformat; then
 
9571
    objformat=`/usr/bin/objformat`
 
9572
  else
 
9573
    case $host_os in
 
9574
    freebsd[123]*) objformat=aout ;;
 
9575
    *) objformat=elf ;;
 
9576
    esac
 
9577
  fi
 
9578
  version_type=freebsd-$objformat
 
9579
  case $version_type in
 
9580
    freebsd-elf*)
 
9581
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
9582
      need_version=no
 
9583
      need_lib_prefix=no
 
9584
      ;;
 
9585
    freebsd-*)
 
9586
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
9587
      need_version=yes
 
9588
      ;;
 
9589
  esac
 
9590
  shlibpath_var=LD_LIBRARY_PATH
 
9591
  case $host_os in
 
9592
  freebsd2*)
 
9593
    shlibpath_overrides_runpath=yes
 
9594
    ;;
 
9595
  freebsd3.[01]* | freebsdelf3.[01]*)
 
9596
    shlibpath_overrides_runpath=yes
 
9597
    hardcode_into_libs=yes
 
9598
    ;;
 
9599
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
9600
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 
9601
    shlibpath_overrides_runpath=no
 
9602
    hardcode_into_libs=yes
 
9603
    ;;
 
9604
  *) # from 4.6 on, and DragonFly
 
9605
    shlibpath_overrides_runpath=yes
 
9606
    hardcode_into_libs=yes
 
9607
    ;;
 
9608
  esac
 
9609
  ;;
 
9610
 
 
9611
gnu*)
 
9612
  version_type=linux
 
9613
  need_lib_prefix=no
 
9614
  need_version=no
 
9615
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
9616
  soname_spec='${libname}${release}${shared_ext}$major'
 
9617
  shlibpath_var=LD_LIBRARY_PATH
 
9618
  hardcode_into_libs=yes
 
9619
  ;;
 
9620
 
 
9621
hpux9* | hpux10* | hpux11*)
 
9622
  # Give a soname corresponding to the major version so that dld.sl refuses to
 
9623
  # link against other versions.
 
9624
  version_type=sunos
 
9625
  need_lib_prefix=no
 
9626
  need_version=no
 
9627
  case $host_cpu in
 
9628
  ia64*)
 
9629
    shrext_cmds='.so'
 
9630
    hardcode_into_libs=yes
 
9631
    dynamic_linker="$host_os dld.so"
 
9632
    shlibpath_var=LD_LIBRARY_PATH
 
9633
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
9634
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9635
    soname_spec='${libname}${release}${shared_ext}$major'
 
9636
    if test "X$HPUX_IA64_MODE" = X32; then
 
9637
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
9638
    else
 
9639
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
9640
    fi
 
9641
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
9642
    ;;
 
9643
  hppa*64*)
 
9644
    shrext_cmds='.sl'
 
9645
    hardcode_into_libs=yes
 
9646
    dynamic_linker="$host_os dld.sl"
 
9647
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
9648
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
9649
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9650
    soname_spec='${libname}${release}${shared_ext}$major'
 
9651
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
9652
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
9653
    ;;
 
9654
  *)
 
9655
    shrext_cmds='.sl'
 
9656
    dynamic_linker="$host_os dld.sl"
 
9657
    shlibpath_var=SHLIB_PATH
 
9658
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
9659
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9660
    soname_spec='${libname}${release}${shared_ext}$major'
 
9661
    ;;
 
9662
  esac
 
9663
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
9664
  postinstall_cmds='chmod 555 $lib'
 
9665
  ;;
 
9666
 
 
9667
interix[3-9]*)
 
9668
  version_type=linux
 
9669
  need_lib_prefix=no
 
9670
  need_version=no
 
9671
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
9672
  soname_spec='${libname}${release}${shared_ext}$major'
 
9673
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
9674
  shlibpath_var=LD_LIBRARY_PATH
 
9675
  shlibpath_overrides_runpath=no
 
9676
  hardcode_into_libs=yes
 
9677
  ;;
 
9678
 
 
9679
irix5* | irix6* | nonstopux*)
 
9680
  case $host_os in
 
9681
    nonstopux*) version_type=nonstopux ;;
 
9682
    *)
 
9683
        if test "$lt_cv_prog_gnu_ld" = yes; then
 
9684
                version_type=linux
 
9685
        else
 
9686
                version_type=irix
 
9687
        fi ;;
 
9688
  esac
 
9689
  need_lib_prefix=no
 
9690
  need_version=no
 
9691
  soname_spec='${libname}${release}${shared_ext}$major'
 
9692
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
9693
  case $host_os in
 
9694
  irix5* | nonstopux*)
 
9695
    libsuff= shlibsuff=
 
9696
    ;;
 
9697
  *)
 
9698
    case $LD in # libtool.m4 will add one of these switches to LD
 
9699
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
9700
      libsuff= shlibsuff= libmagic=32-bit;;
 
9701
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
9702
      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
9703
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
9704
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
9705
    *) libsuff= shlibsuff= libmagic=never-match;;
 
9706
    esac
 
9707
    ;;
 
9708
  esac
 
9709
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
9710
  shlibpath_overrides_runpath=no
 
9711
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
9712
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
9713
  hardcode_into_libs=yes
 
9714
  ;;
 
9715
 
 
9716
# No shared lib support for Linux oldld, aout, or coff.
 
9717
linux*oldld* | linux*aout* | linux*coff*)
 
9718
  dynamic_linker=no
 
9719
  ;;
 
9720
 
 
9721
# This must be Linux ELF.
 
9722
linux* | k*bsd*-gnu)
 
9723
  version_type=linux
 
9724
  need_lib_prefix=no
 
9725
  need_version=no
 
9726
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9727
  soname_spec='${libname}${release}${shared_ext}$major'
 
9728
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
9729
  shlibpath_var=LD_LIBRARY_PATH
 
9730
  shlibpath_overrides_runpath=no
 
9731
  # Some binutils ld are patched to set DT_RUNPATH
 
9732
  save_LDFLAGS=$LDFLAGS
 
9733
  save_libdir=$libdir
 
9734
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
9735
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
9736
  cat >conftest.$ac_ext <<_ACEOF
 
9737
/* confdefs.h.  */
 
9738
_ACEOF
 
9739
cat confdefs.h >>conftest.$ac_ext
 
9740
cat >>conftest.$ac_ext <<_ACEOF
 
9741
/* end confdefs.h.  */
 
9742
 
 
9743
int
 
9744
main ()
 
9745
{
 
9746
 
 
9747
  ;
 
9748
  return 0;
 
9749
}
 
9750
_ACEOF
 
9751
rm -f conftest.$ac_objext conftest$ac_exeext
 
9752
if { (ac_try="$ac_link"
 
9753
case "(($ac_try" in
 
9754
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9755
  *) ac_try_echo=$ac_try;;
 
9756
esac
 
9757
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9758
$as_echo "$ac_try_echo") >&5
 
9759
  (eval "$ac_link") 2>conftest.er1
 
9760
  ac_status=$?
 
9761
  grep -v '^ *+' conftest.er1 >conftest.err
 
9762
  rm -f conftest.er1
 
9763
  cat conftest.err >&5
 
9764
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9765
  (exit $ac_status); } && {
 
9766
         test -z "$ac_c_werror_flag" ||
 
9767
         test ! -s conftest.err
 
9768
       } && test -s conftest$ac_exeext && {
 
9769
         test "$cross_compiling" = yes ||
 
9770
         $as_test_x conftest$ac_exeext
 
9771
       }; then
 
9772
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 
9773
  shlibpath_overrides_runpath=yes
 
9774
fi
 
9775
 
 
9776
else
 
9777
  $as_echo "$as_me: failed program was:" >&5
 
9778
sed 's/^/| /' conftest.$ac_ext >&5
 
9779
 
 
9780
 
 
9781
fi
 
9782
 
 
9783
rm -rf conftest.dSYM
 
9784
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
9785
      conftest$ac_exeext conftest.$ac_ext
 
9786
  LDFLAGS=$save_LDFLAGS
 
9787
  libdir=$save_libdir
 
9788
 
 
9789
  # This implies no fast_install, which is unacceptable.
 
9790
  # Some rework will be needed to allow for fast_install
 
9791
  # before this can be enabled.
 
9792
  hardcode_into_libs=yes
 
9793
 
 
9794
  # Append ld.so.conf contents to the search path
 
9795
  if test -f /etc/ld.so.conf; then
 
9796
    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' ' '`
 
9797
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
9798
  fi
 
9799
 
 
9800
  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
9801
  # powerpc, because MkLinux only supported shared libraries with the
 
9802
  # GNU dynamic linker.  Since this was broken with cross compilers,
 
9803
  # most powerpc-linux boxes support dynamic linking these days and
 
9804
  # people can always --disable-shared, the test was removed, and we
 
9805
  # assume the GNU/Linux dynamic linker is in use.
 
9806
  dynamic_linker='GNU/Linux ld.so'
 
9807
  ;;
 
9808
 
 
9809
netbsdelf*-gnu)
 
9810
  version_type=linux
 
9811
  need_lib_prefix=no
 
9812
  need_version=no
 
9813
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
9814
  soname_spec='${libname}${release}${shared_ext}$major'
 
9815
  shlibpath_var=LD_LIBRARY_PATH
 
9816
  shlibpath_overrides_runpath=no
 
9817
  hardcode_into_libs=yes
 
9818
  dynamic_linker='NetBSD ld.elf_so'
 
9819
  ;;
 
9820
 
 
9821
netbsd*)
 
9822
  version_type=sunos
 
9823
  need_lib_prefix=no
 
9824
  need_version=no
 
9825
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
9826
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
9827
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
9828
    dynamic_linker='NetBSD (a.out) ld.so'
 
9829
  else
 
9830
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
9831
    soname_spec='${libname}${release}${shared_ext}$major'
 
9832
    dynamic_linker='NetBSD ld.elf_so'
 
9833
  fi
 
9834
  shlibpath_var=LD_LIBRARY_PATH
 
9835
  shlibpath_overrides_runpath=yes
 
9836
  hardcode_into_libs=yes
 
9837
  ;;
 
9838
 
 
9839
newsos6)
 
9840
  version_type=linux
 
9841
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9842
  shlibpath_var=LD_LIBRARY_PATH
 
9843
  shlibpath_overrides_runpath=yes
 
9844
  ;;
 
9845
 
 
9846
*nto* | *qnx*)
 
9847
  version_type=qnx
 
9848
  need_lib_prefix=no
 
9849
  need_version=no
 
9850
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9851
  soname_spec='${libname}${release}${shared_ext}$major'
 
9852
  shlibpath_var=LD_LIBRARY_PATH
 
9853
  shlibpath_overrides_runpath=no
 
9854
  hardcode_into_libs=yes
 
9855
  dynamic_linker='ldqnx.so'
 
9856
  ;;
 
9857
 
 
9858
openbsd*)
 
9859
  version_type=sunos
 
9860
  sys_lib_dlsearch_path_spec="/usr/lib"
 
9861
  need_lib_prefix=no
 
9862
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
9863
  case $host_os in
 
9864
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
9865
    *)                          need_version=no  ;;
 
9866
  esac
 
9867
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
9868
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
9869
  shlibpath_var=LD_LIBRARY_PATH
 
9870
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
9871
    case $host_os in
 
9872
      openbsd2.[89] | openbsd2.[89].*)
 
9873
        shlibpath_overrides_runpath=no
 
9874
        ;;
 
9875
      *)
 
9876
        shlibpath_overrides_runpath=yes
 
9877
        ;;
 
9878
      esac
 
9879
  else
 
9880
    shlibpath_overrides_runpath=yes
 
9881
  fi
 
9882
  ;;
 
9883
 
 
9884
os2*)
 
9885
  libname_spec='$name'
 
9886
  shrext_cmds=".dll"
 
9887
  need_lib_prefix=no
 
9888
  library_names_spec='$libname${shared_ext} $libname.a'
 
9889
  dynamic_linker='OS/2 ld.exe'
 
9890
  shlibpath_var=LIBPATH
 
9891
  ;;
 
9892
 
 
9893
osf3* | osf4* | osf5*)
 
9894
  version_type=osf
 
9895
  need_lib_prefix=no
 
9896
  need_version=no
 
9897
  soname_spec='${libname}${release}${shared_ext}$major'
 
9898
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9899
  shlibpath_var=LD_LIBRARY_PATH
 
9900
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
9901
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
9902
  ;;
 
9903
 
 
9904
rdos*)
 
9905
  dynamic_linker=no
 
9906
  ;;
 
9907
 
 
9908
solaris*)
 
9909
  version_type=linux
 
9910
  need_lib_prefix=no
 
9911
  need_version=no
 
9912
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9913
  soname_spec='${libname}${release}${shared_ext}$major'
 
9914
  shlibpath_var=LD_LIBRARY_PATH
 
9915
  shlibpath_overrides_runpath=yes
 
9916
  hardcode_into_libs=yes
 
9917
  # ldd complains unless libraries are executable
 
9918
  postinstall_cmds='chmod +x $lib'
 
9919
  ;;
 
9920
 
 
9921
sunos4*)
 
9922
  version_type=sunos
 
9923
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
9924
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
9925
  shlibpath_var=LD_LIBRARY_PATH
 
9926
  shlibpath_overrides_runpath=yes
 
9927
  if test "$with_gnu_ld" = yes; then
 
9928
    need_lib_prefix=no
 
9929
  fi
 
9930
  need_version=yes
 
9931
  ;;
 
9932
 
 
9933
sysv4 | sysv4.3*)
 
9934
  version_type=linux
 
9935
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9936
  soname_spec='${libname}${release}${shared_ext}$major'
 
9937
  shlibpath_var=LD_LIBRARY_PATH
 
9938
  case $host_vendor in
 
9939
    sni)
 
9940
      shlibpath_overrides_runpath=no
 
9941
      need_lib_prefix=no
 
9942
      runpath_var=LD_RUN_PATH
 
9943
      ;;
 
9944
    siemens)
 
9945
      need_lib_prefix=no
 
9946
      ;;
 
9947
    motorola)
 
9948
      need_lib_prefix=no
 
9949
      need_version=no
 
9950
      shlibpath_overrides_runpath=no
 
9951
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
9952
      ;;
 
9953
  esac
 
9954
  ;;
 
9955
 
 
9956
sysv4*MP*)
 
9957
  if test -d /usr/nec ;then
 
9958
    version_type=linux
 
9959
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
9960
    soname_spec='$libname${shared_ext}.$major'
 
9961
    shlibpath_var=LD_LIBRARY_PATH
 
9962
  fi
 
9963
  ;;
 
9964
 
 
9965
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
9966
  version_type=freebsd-elf
 
9967
  need_lib_prefix=no
 
9968
  need_version=no
 
9969
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
9970
  soname_spec='${libname}${release}${shared_ext}$major'
 
9971
  shlibpath_var=LD_LIBRARY_PATH
 
9972
  shlibpath_overrides_runpath=yes
 
9973
  hardcode_into_libs=yes
 
9974
  if test "$with_gnu_ld" = yes; then
 
9975
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
9976
  else
 
9977
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
9978
    case $host_os in
 
9979
      sco3.2v5*)
 
9980
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
9981
        ;;
 
9982
    esac
 
9983
  fi
 
9984
  sys_lib_dlsearch_path_spec='/usr/lib'
 
9985
  ;;
 
9986
 
 
9987
tpf*)
 
9988
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
9989
  version_type=linux
 
9990
  need_lib_prefix=no
 
9991
  need_version=no
 
9992
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9993
  shlibpath_var=LD_LIBRARY_PATH
 
9994
  shlibpath_overrides_runpath=no
 
9995
  hardcode_into_libs=yes
 
9996
  ;;
 
9997
 
 
9998
uts4*)
 
9999
  version_type=linux
 
10000
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10001
  soname_spec='${libname}${release}${shared_ext}$major'
 
10002
  shlibpath_var=LD_LIBRARY_PATH
 
10003
  ;;
 
10004
 
 
10005
*)
 
10006
  dynamic_linker=no
 
10007
  ;;
 
10008
esac
 
10009
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
10010
$as_echo "$dynamic_linker" >&6; }
 
10011
test "$dynamic_linker" = no && can_build_shared=no
 
10012
 
 
10013
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
10014
if test "$GCC" = yes; then
 
10015
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
10016
fi
 
10017
 
 
10018
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
10019
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
10020
fi
 
10021
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
10022
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
10023
fi
 
10024
 
 
10025
 
 
10026
 
 
10027
 
 
10028
 
 
10029
 
 
10030
 
 
10031
 
 
10032
 
 
10033
 
 
10034
 
 
10035
 
 
10036
 
 
10037
 
 
10038
 
 
10039
 
 
10040
 
 
10041
 
 
10042
 
 
10043
 
 
10044
 
 
10045
 
 
10046
 
 
10047
 
 
10048
 
 
10049
 
 
10050
 
 
10051
 
 
10052
 
 
10053
 
 
10054
 
 
10055
 
 
10056
 
 
10057
 
 
10058
 
 
10059
 
 
10060
 
 
10061
 
 
10062
 
 
10063
 
 
10064
 
 
10065
 
 
10066
 
 
10067
 
 
10068
 
 
10069
 
 
10070
 
 
10071
 
 
10072
 
 
10073
 
 
10074
 
 
10075
 
 
10076
 
 
10077
 
 
10078
 
 
10079
 
 
10080
 
 
10081
 
 
10082
 
 
10083
 
 
10084
 
 
10085
 
 
10086
 
 
10087
 
 
10088
 
 
10089
 
 
10090
 
 
10091
 
 
10092
 
 
10093
 
 
10094
 
 
10095
 
 
10096
 
 
10097
 
 
10098
 
 
10099
 
 
10100
 
 
10101
 
 
10102
 
 
10103
 
 
10104
 
 
10105
 
 
10106
 
 
10107
 
 
10108
 
 
10109
 
 
10110
 
 
10111
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
10112
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 
10113
hardcode_action=
 
10114
if test -n "$hardcode_libdir_flag_spec" ||
 
10115
   test -n "$runpath_var" ||
 
10116
   test "X$hardcode_automatic" = "Xyes" ; then
 
10117
 
 
10118
  # We can hardcode non-existent directories.
 
10119
  if test "$hardcode_direct" != no &&
 
10120
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
10121
     # have to relink, otherwise we might link with an installed library
 
10122
     # when we should be linking with a yet-to-be-installed one
 
10123
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
10124
     test "$hardcode_minus_L" != no; then
 
10125
    # Linking always hardcodes the temporary library directory.
 
10126
    hardcode_action=relink
 
10127
  else
 
10128
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
10129
    hardcode_action=immediate
 
10130
  fi
 
10131
else
 
10132
  # We cannot hardcode anything, or else we can only hardcode existing
 
10133
  # directories.
 
10134
  hardcode_action=unsupported
 
10135
fi
 
10136
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
10137
$as_echo "$hardcode_action" >&6; }
 
10138
 
 
10139
if test "$hardcode_action" = relink ||
 
10140
   test "$inherit_rpath" = yes; then
 
10141
  # Fast installation is not supported
 
10142
  enable_fast_install=no
 
10143
elif test "$shlibpath_overrides_runpath" = yes ||
 
10144
     test "$enable_shared" = no; then
 
10145
  # Fast installation is not necessary
 
10146
  enable_fast_install=needless
 
10147
fi
 
10148
 
 
10149
 
 
10150
 
 
10151
 
 
10152
 
 
10153
 
 
10154
  if test "x$enable_dlopen" != xyes; then
 
10155
  enable_dlopen=unknown
 
10156
  enable_dlopen_self=unknown
 
10157
  enable_dlopen_self_static=unknown
 
10158
else
 
10159
  lt_cv_dlopen=no
 
10160
  lt_cv_dlopen_libs=
 
10161
 
 
10162
  case $host_os in
 
10163
  beos*)
 
10164
    lt_cv_dlopen="load_add_on"
 
10165
    lt_cv_dlopen_libs=
 
10166
    lt_cv_dlopen_self=yes
 
10167
    ;;
 
10168
 
 
10169
  mingw* | pw32* | cegcc*)
 
10170
    lt_cv_dlopen="LoadLibrary"
 
10171
    lt_cv_dlopen_libs=
 
10172
    ;;
 
10173
 
 
10174
  cygwin*)
 
10175
    lt_cv_dlopen="dlopen"
 
10176
    lt_cv_dlopen_libs=
 
10177
    ;;
 
10178
 
 
10179
  darwin*)
 
10180
  # if libdl is installed we need to link against it
 
10181
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
10182
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
10183
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
10184
  $as_echo_n "(cached) " >&6
 
10185
else
 
10186
  ac_check_lib_save_LIBS=$LIBS
 
10187
LIBS="-ldl  $LIBS"
 
10188
cat >conftest.$ac_ext <<_ACEOF
 
10189
/* confdefs.h.  */
 
10190
_ACEOF
 
10191
cat confdefs.h >>conftest.$ac_ext
 
10192
cat >>conftest.$ac_ext <<_ACEOF
 
10193
/* end confdefs.h.  */
 
10194
 
 
10195
/* Override any GCC internal prototype to avoid an error.
 
10196
   Use char because int might match the return type of a GCC
 
10197
   builtin and then its argument prototype would still apply.  */
 
10198
#ifdef __cplusplus
 
10199
extern "C"
 
10200
#endif
 
10201
char dlopen ();
 
10202
int
 
10203
main ()
 
10204
{
 
10205
return dlopen ();
 
10206
  ;
 
10207
  return 0;
 
10208
}
 
10209
_ACEOF
 
10210
rm -f conftest.$ac_objext conftest$ac_exeext
 
10211
if { (ac_try="$ac_link"
 
10212
case "(($ac_try" in
 
10213
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10214
  *) ac_try_echo=$ac_try;;
 
10215
esac
 
10216
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10217
$as_echo "$ac_try_echo") >&5
 
10218
  (eval "$ac_link") 2>conftest.er1
 
10219
  ac_status=$?
 
10220
  grep -v '^ *+' conftest.er1 >conftest.err
 
10221
  rm -f conftest.er1
 
10222
  cat conftest.err >&5
 
10223
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10224
  (exit $ac_status); } && {
 
10225
         test -z "$ac_c_werror_flag" ||
 
10226
         test ! -s conftest.err
 
10227
       } && test -s conftest$ac_exeext && {
 
10228
         test "$cross_compiling" = yes ||
 
10229
         $as_test_x conftest$ac_exeext
 
10230
       }; then
 
10231
  ac_cv_lib_dl_dlopen=yes
 
10232
else
 
10233
  $as_echo "$as_me: failed program was:" >&5
 
10234
sed 's/^/| /' conftest.$ac_ext >&5
 
10235
 
 
10236
        ac_cv_lib_dl_dlopen=no
 
10237
fi
 
10238
 
 
10239
rm -rf conftest.dSYM
 
10240
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10241
      conftest$ac_exeext conftest.$ac_ext
 
10242
LIBS=$ac_check_lib_save_LIBS
 
10243
fi
 
10244
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10245
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
10246
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
10247
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
10248
else
 
10249
 
 
10250
    lt_cv_dlopen="dyld"
 
10251
    lt_cv_dlopen_libs=
 
10252
    lt_cv_dlopen_self=yes
 
10253
 
 
10254
fi
 
10255
 
 
10256
    ;;
 
10257
 
 
10258
  *)
 
10259
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
 
10260
$as_echo_n "checking for shl_load... " >&6; }
 
10261
if test "${ac_cv_func_shl_load+set}" = set; then
 
10262
  $as_echo_n "(cached) " >&6
 
10263
else
 
10264
  cat >conftest.$ac_ext <<_ACEOF
 
10265
/* confdefs.h.  */
 
10266
_ACEOF
 
10267
cat confdefs.h >>conftest.$ac_ext
 
10268
cat >>conftest.$ac_ext <<_ACEOF
 
10269
/* end confdefs.h.  */
 
10270
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
 
10271
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
10272
#define shl_load innocuous_shl_load
 
10273
 
 
10274
/* System header to define __stub macros and hopefully few prototypes,
 
10275
    which can conflict with char shl_load (); below.
 
10276
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
10277
    <limits.h> exists even on freestanding compilers.  */
 
10278
 
 
10279
#ifdef __STDC__
 
10280
# include <limits.h>
 
10281
#else
 
10282
# include <assert.h>
 
10283
#endif
 
10284
 
 
10285
#undef shl_load
 
10286
 
 
10287
/* Override any GCC internal prototype to avoid an error.
 
10288
   Use char because int might match the return type of a GCC
 
10289
   builtin and then its argument prototype would still apply.  */
 
10290
#ifdef __cplusplus
 
10291
extern "C"
 
10292
#endif
 
10293
char shl_load ();
 
10294
/* The GNU C library defines this for functions which it implements
 
10295
    to always fail with ENOSYS.  Some functions are actually named
 
10296
    something starting with __ and the normal name is an alias.  */
 
10297
#if defined __stub_shl_load || defined __stub___shl_load
 
10298
choke me
 
10299
#endif
 
10300
 
 
10301
int
 
10302
main ()
 
10303
{
 
10304
return shl_load ();
 
10305
  ;
 
10306
  return 0;
 
10307
}
 
10308
_ACEOF
 
10309
rm -f conftest.$ac_objext conftest$ac_exeext
 
10310
if { (ac_try="$ac_link"
 
10311
case "(($ac_try" in
 
10312
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10313
  *) ac_try_echo=$ac_try;;
 
10314
esac
 
10315
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10316
$as_echo "$ac_try_echo") >&5
 
10317
  (eval "$ac_link") 2>conftest.er1
 
10318
  ac_status=$?
 
10319
  grep -v '^ *+' conftest.er1 >conftest.err
 
10320
  rm -f conftest.er1
 
10321
  cat conftest.err >&5
 
10322
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10323
  (exit $ac_status); } && {
 
10324
         test -z "$ac_c_werror_flag" ||
 
10325
         test ! -s conftest.err
 
10326
       } && test -s conftest$ac_exeext && {
 
10327
         test "$cross_compiling" = yes ||
 
10328
         $as_test_x conftest$ac_exeext
 
10329
       }; then
 
10330
  ac_cv_func_shl_load=yes
 
10331
else
 
10332
  $as_echo "$as_me: failed program was:" >&5
 
10333
sed 's/^/| /' conftest.$ac_ext >&5
 
10334
 
 
10335
        ac_cv_func_shl_load=no
 
10336
fi
 
10337
 
 
10338
rm -rf conftest.dSYM
 
10339
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10340
      conftest$ac_exeext conftest.$ac_ext
 
10341
fi
 
10342
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
10343
$as_echo "$ac_cv_func_shl_load" >&6; }
 
10344
if test "x$ac_cv_func_shl_load" = x""yes; then
 
10345
  lt_cv_dlopen="shl_load"
 
10346
else
 
10347
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
10348
$as_echo_n "checking for shl_load in -ldld... " >&6; }
 
10349
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
 
10350
  $as_echo_n "(cached) " >&6
 
10351
else
 
10352
  ac_check_lib_save_LIBS=$LIBS
 
10353
LIBS="-ldld  $LIBS"
 
10354
cat >conftest.$ac_ext <<_ACEOF
 
10355
/* confdefs.h.  */
 
10356
_ACEOF
 
10357
cat confdefs.h >>conftest.$ac_ext
 
10358
cat >>conftest.$ac_ext <<_ACEOF
 
10359
/* end confdefs.h.  */
 
10360
 
 
10361
/* Override any GCC internal prototype to avoid an error.
 
10362
   Use char because int might match the return type of a GCC
 
10363
   builtin and then its argument prototype would still apply.  */
 
10364
#ifdef __cplusplus
 
10365
extern "C"
 
10366
#endif
 
10367
char shl_load ();
 
10368
int
 
10369
main ()
 
10370
{
 
10371
return shl_load ();
 
10372
  ;
 
10373
  return 0;
 
10374
}
 
10375
_ACEOF
 
10376
rm -f conftest.$ac_objext conftest$ac_exeext
 
10377
if { (ac_try="$ac_link"
 
10378
case "(($ac_try" in
 
10379
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10380
  *) ac_try_echo=$ac_try;;
 
10381
esac
 
10382
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10383
$as_echo "$ac_try_echo") >&5
 
10384
  (eval "$ac_link") 2>conftest.er1
 
10385
  ac_status=$?
 
10386
  grep -v '^ *+' conftest.er1 >conftest.err
 
10387
  rm -f conftest.er1
 
10388
  cat conftest.err >&5
 
10389
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10390
  (exit $ac_status); } && {
 
10391
         test -z "$ac_c_werror_flag" ||
 
10392
         test ! -s conftest.err
 
10393
       } && test -s conftest$ac_exeext && {
 
10394
         test "$cross_compiling" = yes ||
 
10395
         $as_test_x conftest$ac_exeext
 
10396
       }; then
 
10397
  ac_cv_lib_dld_shl_load=yes
 
10398
else
 
10399
  $as_echo "$as_me: failed program was:" >&5
 
10400
sed 's/^/| /' conftest.$ac_ext >&5
 
10401
 
 
10402
        ac_cv_lib_dld_shl_load=no
 
10403
fi
 
10404
 
 
10405
rm -rf conftest.dSYM
 
10406
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10407
      conftest$ac_exeext conftest.$ac_ext
 
10408
LIBS=$ac_check_lib_save_LIBS
 
10409
fi
 
10410
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
10411
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
10412
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
 
10413
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
 
10414
else
 
10415
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
 
10416
$as_echo_n "checking for dlopen... " >&6; }
 
10417
if test "${ac_cv_func_dlopen+set}" = set; then
 
10418
  $as_echo_n "(cached) " >&6
 
10419
else
 
10420
  cat >conftest.$ac_ext <<_ACEOF
 
10421
/* confdefs.h.  */
 
10422
_ACEOF
 
10423
cat confdefs.h >>conftest.$ac_ext
 
10424
cat >>conftest.$ac_ext <<_ACEOF
 
10425
/* end confdefs.h.  */
 
10426
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
 
10427
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
10428
#define dlopen innocuous_dlopen
 
10429
 
 
10430
/* System header to define __stub macros and hopefully few prototypes,
 
10431
    which can conflict with char dlopen (); below.
 
10432
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
10433
    <limits.h> exists even on freestanding compilers.  */
 
10434
 
 
10435
#ifdef __STDC__
 
10436
# include <limits.h>
 
10437
#else
 
10438
# include <assert.h>
 
10439
#endif
 
10440
 
 
10441
#undef dlopen
 
10442
 
 
10443
/* Override any GCC internal prototype to avoid an error.
 
10444
   Use char because int might match the return type of a GCC
 
10445
   builtin and then its argument prototype would still apply.  */
 
10446
#ifdef __cplusplus
 
10447
extern "C"
 
10448
#endif
 
10449
char dlopen ();
 
10450
/* The GNU C library defines this for functions which it implements
 
10451
    to always fail with ENOSYS.  Some functions are actually named
 
10452
    something starting with __ and the normal name is an alias.  */
 
10453
#if defined __stub_dlopen || defined __stub___dlopen
 
10454
choke me
 
10455
#endif
 
10456
 
 
10457
int
 
10458
main ()
 
10459
{
 
10460
return dlopen ();
 
10461
  ;
 
10462
  return 0;
 
10463
}
 
10464
_ACEOF
 
10465
rm -f conftest.$ac_objext conftest$ac_exeext
 
10466
if { (ac_try="$ac_link"
 
10467
case "(($ac_try" in
 
10468
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10469
  *) ac_try_echo=$ac_try;;
 
10470
esac
 
10471
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10472
$as_echo "$ac_try_echo") >&5
 
10473
  (eval "$ac_link") 2>conftest.er1
 
10474
  ac_status=$?
 
10475
  grep -v '^ *+' conftest.er1 >conftest.err
 
10476
  rm -f conftest.er1
 
10477
  cat conftest.err >&5
 
10478
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10479
  (exit $ac_status); } && {
 
10480
         test -z "$ac_c_werror_flag" ||
 
10481
         test ! -s conftest.err
 
10482
       } && test -s conftest$ac_exeext && {
 
10483
         test "$cross_compiling" = yes ||
 
10484
         $as_test_x conftest$ac_exeext
 
10485
       }; then
 
10486
  ac_cv_func_dlopen=yes
 
10487
else
 
10488
  $as_echo "$as_me: failed program was:" >&5
 
10489
sed 's/^/| /' conftest.$ac_ext >&5
 
10490
 
 
10491
        ac_cv_func_dlopen=no
 
10492
fi
 
10493
 
 
10494
rm -rf conftest.dSYM
 
10495
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10496
      conftest$ac_exeext conftest.$ac_ext
 
10497
fi
 
10498
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
10499
$as_echo "$ac_cv_func_dlopen" >&6; }
 
10500
if test "x$ac_cv_func_dlopen" = x""yes; then
 
10501
  lt_cv_dlopen="dlopen"
 
10502
else
 
10503
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
10504
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
10505
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
10506
  $as_echo_n "(cached) " >&6
 
10507
else
 
10508
  ac_check_lib_save_LIBS=$LIBS
 
10509
LIBS="-ldl  $LIBS"
 
10510
cat >conftest.$ac_ext <<_ACEOF
 
10511
/* confdefs.h.  */
 
10512
_ACEOF
 
10513
cat confdefs.h >>conftest.$ac_ext
 
10514
cat >>conftest.$ac_ext <<_ACEOF
 
10515
/* end confdefs.h.  */
 
10516
 
 
10517
/* Override any GCC internal prototype to avoid an error.
 
10518
   Use char because int might match the return type of a GCC
 
10519
   builtin and then its argument prototype would still apply.  */
 
10520
#ifdef __cplusplus
 
10521
extern "C"
 
10522
#endif
 
10523
char dlopen ();
 
10524
int
 
10525
main ()
 
10526
{
 
10527
return dlopen ();
 
10528
  ;
 
10529
  return 0;
 
10530
}
 
10531
_ACEOF
 
10532
rm -f conftest.$ac_objext conftest$ac_exeext
 
10533
if { (ac_try="$ac_link"
 
10534
case "(($ac_try" in
 
10535
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10536
  *) ac_try_echo=$ac_try;;
 
10537
esac
 
10538
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10539
$as_echo "$ac_try_echo") >&5
 
10540
  (eval "$ac_link") 2>conftest.er1
 
10541
  ac_status=$?
 
10542
  grep -v '^ *+' conftest.er1 >conftest.err
 
10543
  rm -f conftest.er1
 
10544
  cat conftest.err >&5
 
10545
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10546
  (exit $ac_status); } && {
 
10547
         test -z "$ac_c_werror_flag" ||
 
10548
         test ! -s conftest.err
 
10549
       } && test -s conftest$ac_exeext && {
 
10550
         test "$cross_compiling" = yes ||
 
10551
         $as_test_x conftest$ac_exeext
 
10552
       }; then
 
10553
  ac_cv_lib_dl_dlopen=yes
 
10554
else
 
10555
  $as_echo "$as_me: failed program was:" >&5
 
10556
sed 's/^/| /' conftest.$ac_ext >&5
 
10557
 
 
10558
        ac_cv_lib_dl_dlopen=no
 
10559
fi
 
10560
 
 
10561
rm -rf conftest.dSYM
 
10562
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10563
      conftest$ac_exeext conftest.$ac_ext
 
10564
LIBS=$ac_check_lib_save_LIBS
 
10565
fi
 
10566
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10567
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
10568
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
10569
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
10570
else
 
10571
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
10572
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
 
10573
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
 
10574
  $as_echo_n "(cached) " >&6
 
10575
else
 
10576
  ac_check_lib_save_LIBS=$LIBS
 
10577
LIBS="-lsvld  $LIBS"
 
10578
cat >conftest.$ac_ext <<_ACEOF
 
10579
/* confdefs.h.  */
 
10580
_ACEOF
 
10581
cat confdefs.h >>conftest.$ac_ext
 
10582
cat >>conftest.$ac_ext <<_ACEOF
 
10583
/* end confdefs.h.  */
 
10584
 
 
10585
/* Override any GCC internal prototype to avoid an error.
 
10586
   Use char because int might match the return type of a GCC
 
10587
   builtin and then its argument prototype would still apply.  */
 
10588
#ifdef __cplusplus
 
10589
extern "C"
 
10590
#endif
 
10591
char dlopen ();
 
10592
int
 
10593
main ()
 
10594
{
 
10595
return dlopen ();
 
10596
  ;
 
10597
  return 0;
 
10598
}
 
10599
_ACEOF
 
10600
rm -f conftest.$ac_objext conftest$ac_exeext
 
10601
if { (ac_try="$ac_link"
 
10602
case "(($ac_try" in
 
10603
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10604
  *) ac_try_echo=$ac_try;;
 
10605
esac
 
10606
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10607
$as_echo "$ac_try_echo") >&5
 
10608
  (eval "$ac_link") 2>conftest.er1
 
10609
  ac_status=$?
 
10610
  grep -v '^ *+' conftest.er1 >conftest.err
 
10611
  rm -f conftest.er1
 
10612
  cat conftest.err >&5
 
10613
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10614
  (exit $ac_status); } && {
 
10615
         test -z "$ac_c_werror_flag" ||
 
10616
         test ! -s conftest.err
 
10617
       } && test -s conftest$ac_exeext && {
 
10618
         test "$cross_compiling" = yes ||
 
10619
         $as_test_x conftest$ac_exeext
 
10620
       }; then
 
10621
  ac_cv_lib_svld_dlopen=yes
 
10622
else
 
10623
  $as_echo "$as_me: failed program was:" >&5
 
10624
sed 's/^/| /' conftest.$ac_ext >&5
 
10625
 
 
10626
        ac_cv_lib_svld_dlopen=no
 
10627
fi
 
10628
 
 
10629
rm -rf conftest.dSYM
 
10630
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10631
      conftest$ac_exeext conftest.$ac_ext
 
10632
LIBS=$ac_check_lib_save_LIBS
 
10633
fi
 
10634
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
10635
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
10636
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
 
10637
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 
10638
else
 
10639
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
10640
$as_echo_n "checking for dld_link in -ldld... " >&6; }
 
10641
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
 
10642
  $as_echo_n "(cached) " >&6
 
10643
else
 
10644
  ac_check_lib_save_LIBS=$LIBS
 
10645
LIBS="-ldld  $LIBS"
 
10646
cat >conftest.$ac_ext <<_ACEOF
 
10647
/* confdefs.h.  */
 
10648
_ACEOF
 
10649
cat confdefs.h >>conftest.$ac_ext
 
10650
cat >>conftest.$ac_ext <<_ACEOF
 
10651
/* end confdefs.h.  */
 
10652
 
 
10653
/* Override any GCC internal prototype to avoid an error.
 
10654
   Use char because int might match the return type of a GCC
 
10655
   builtin and then its argument prototype would still apply.  */
 
10656
#ifdef __cplusplus
 
10657
extern "C"
 
10658
#endif
 
10659
char dld_link ();
 
10660
int
 
10661
main ()
 
10662
{
 
10663
return dld_link ();
 
10664
  ;
 
10665
  return 0;
 
10666
}
 
10667
_ACEOF
 
10668
rm -f conftest.$ac_objext conftest$ac_exeext
 
10669
if { (ac_try="$ac_link"
 
10670
case "(($ac_try" in
 
10671
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10672
  *) ac_try_echo=$ac_try;;
 
10673
esac
 
10674
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10675
$as_echo "$ac_try_echo") >&5
 
10676
  (eval "$ac_link") 2>conftest.er1
 
10677
  ac_status=$?
 
10678
  grep -v '^ *+' conftest.er1 >conftest.err
 
10679
  rm -f conftest.er1
 
10680
  cat conftest.err >&5
 
10681
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10682
  (exit $ac_status); } && {
 
10683
         test -z "$ac_c_werror_flag" ||
 
10684
         test ! -s conftest.err
 
10685
       } && test -s conftest$ac_exeext && {
 
10686
         test "$cross_compiling" = yes ||
 
10687
         $as_test_x conftest$ac_exeext
 
10688
       }; then
 
10689
  ac_cv_lib_dld_dld_link=yes
 
10690
else
 
10691
  $as_echo "$as_me: failed program was:" >&5
 
10692
sed 's/^/| /' conftest.$ac_ext >&5
 
10693
 
 
10694
        ac_cv_lib_dld_dld_link=no
 
10695
fi
 
10696
 
 
10697
rm -rf conftest.dSYM
 
10698
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10699
      conftest$ac_exeext conftest.$ac_ext
 
10700
LIBS=$ac_check_lib_save_LIBS
 
10701
fi
 
10702
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
10703
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
10704
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
 
10705
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
 
10706
fi
 
10707
 
 
10708
 
 
10709
fi
 
10710
 
 
10711
 
 
10712
fi
 
10713
 
 
10714
 
 
10715
fi
 
10716
 
 
10717
 
 
10718
fi
 
10719
 
 
10720
 
 
10721
fi
 
10722
 
 
10723
    ;;
 
10724
  esac
 
10725
 
 
10726
  if test "x$lt_cv_dlopen" != xno; then
 
10727
    enable_dlopen=yes
 
10728
  else
 
10729
    enable_dlopen=no
 
10730
  fi
 
10731
 
 
10732
  case $lt_cv_dlopen in
 
10733
  dlopen)
 
10734
    save_CPPFLAGS="$CPPFLAGS"
 
10735
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 
10736
 
 
10737
    save_LDFLAGS="$LDFLAGS"
 
10738
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
10739
 
 
10740
    save_LIBS="$LIBS"
 
10741
    LIBS="$lt_cv_dlopen_libs $LIBS"
 
10742
 
 
10743
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
10744
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
 
10745
if test "${lt_cv_dlopen_self+set}" = set; then
 
10746
  $as_echo_n "(cached) " >&6
 
10747
else
 
10748
          if test "$cross_compiling" = yes; then :
 
10749
  lt_cv_dlopen_self=cross
 
10750
else
 
10751
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
10752
  lt_status=$lt_dlunknown
 
10753
  cat > conftest.$ac_ext <<_LT_EOF
 
10754
#line 10754 "configure"
 
10755
#include "confdefs.h"
 
10756
 
 
10757
#if HAVE_DLFCN_H
 
10758
#include <dlfcn.h>
 
10759
#endif
 
10760
 
 
10761
#include <stdio.h>
 
10762
 
 
10763
#ifdef RTLD_GLOBAL
 
10764
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
10765
#else
 
10766
#  ifdef DL_GLOBAL
 
10767
#    define LT_DLGLOBAL         DL_GLOBAL
 
10768
#  else
 
10769
#    define LT_DLGLOBAL         0
 
10770
#  endif
 
10771
#endif
 
10772
 
 
10773
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
10774
   find out it does not work in some platform. */
 
10775
#ifndef LT_DLLAZY_OR_NOW
 
10776
#  ifdef RTLD_LAZY
 
10777
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
10778
#  else
 
10779
#    ifdef DL_LAZY
 
10780
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
10781
#    else
 
10782
#      ifdef RTLD_NOW
 
10783
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
10784
#      else
 
10785
#        ifdef DL_NOW
 
10786
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
10787
#        else
 
10788
#          define LT_DLLAZY_OR_NOW      0
 
10789
#        endif
 
10790
#      endif
 
10791
#    endif
 
10792
#  endif
 
10793
#endif
 
10794
 
 
10795
void fnord() { int i=42;}
 
10796
int main ()
 
10797
{
 
10798
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
10799
  int status = $lt_dlunknown;
 
10800
 
 
10801
  if (self)
 
10802
    {
 
10803
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
10804
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
10805
      /* dlclose (self); */
 
10806
    }
 
10807
  else
 
10808
    puts (dlerror ());
 
10809
 
 
10810
  return status;
 
10811
}
 
10812
_LT_EOF
 
10813
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
10814
  (eval $ac_link) 2>&5
 
10815
  ac_status=$?
 
10816
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10817
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
10818
    (./conftest; exit; ) >&5 2>/dev/null
 
10819
    lt_status=$?
 
10820
    case x$lt_status in
 
10821
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
 
10822
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
 
10823
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
 
10824
    esac
 
10825
  else :
 
10826
    # compilation failed
 
10827
    lt_cv_dlopen_self=no
 
10828
  fi
 
10829
fi
 
10830
rm -fr conftest*
 
10831
 
 
10832
 
 
10833
fi
 
10834
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
10835
$as_echo "$lt_cv_dlopen_self" >&6; }
 
10836
 
 
10837
    if test "x$lt_cv_dlopen_self" = xyes; then
 
10838
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 
10839
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
10840
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
 
10841
if test "${lt_cv_dlopen_self_static+set}" = set; then
 
10842
  $as_echo_n "(cached) " >&6
 
10843
else
 
10844
          if test "$cross_compiling" = yes; then :
 
10845
  lt_cv_dlopen_self_static=cross
 
10846
else
 
10847
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
10848
  lt_status=$lt_dlunknown
 
10849
  cat > conftest.$ac_ext <<_LT_EOF
 
10850
#line 10850 "configure"
 
10851
#include "confdefs.h"
 
10852
 
 
10853
#if HAVE_DLFCN_H
 
10854
#include <dlfcn.h>
 
10855
#endif
 
10856
 
 
10857
#include <stdio.h>
 
10858
 
 
10859
#ifdef RTLD_GLOBAL
 
10860
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
10861
#else
 
10862
#  ifdef DL_GLOBAL
 
10863
#    define LT_DLGLOBAL         DL_GLOBAL
 
10864
#  else
 
10865
#    define LT_DLGLOBAL         0
 
10866
#  endif
 
10867
#endif
 
10868
 
 
10869
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
10870
   find out it does not work in some platform. */
 
10871
#ifndef LT_DLLAZY_OR_NOW
 
10872
#  ifdef RTLD_LAZY
 
10873
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
10874
#  else
 
10875
#    ifdef DL_LAZY
 
10876
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
10877
#    else
 
10878
#      ifdef RTLD_NOW
 
10879
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
10880
#      else
 
10881
#        ifdef DL_NOW
 
10882
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
10883
#        else
 
10884
#          define LT_DLLAZY_OR_NOW      0
 
10885
#        endif
 
10886
#      endif
 
10887
#    endif
 
10888
#  endif
 
10889
#endif
 
10890
 
 
10891
void fnord() { int i=42;}
 
10892
int main ()
 
10893
{
 
10894
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
10895
  int status = $lt_dlunknown;
 
10896
 
 
10897
  if (self)
 
10898
    {
 
10899
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
10900
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
10901
      /* dlclose (self); */
 
10902
    }
 
10903
  else
 
10904
    puts (dlerror ());
 
10905
 
 
10906
  return status;
 
10907
}
 
10908
_LT_EOF
 
10909
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
10910
  (eval $ac_link) 2>&5
 
10911
  ac_status=$?
 
10912
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10913
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
10914
    (./conftest; exit; ) >&5 2>/dev/null
 
10915
    lt_status=$?
 
10916
    case x$lt_status in
 
10917
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
 
10918
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
 
10919
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
 
10920
    esac
 
10921
  else :
 
10922
    # compilation failed
 
10923
    lt_cv_dlopen_self_static=no
 
10924
  fi
 
10925
fi
 
10926
rm -fr conftest*
 
10927
 
 
10928
 
 
10929
fi
 
10930
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
10931
$as_echo "$lt_cv_dlopen_self_static" >&6; }
 
10932
    fi
 
10933
 
 
10934
    CPPFLAGS="$save_CPPFLAGS"
 
10935
    LDFLAGS="$save_LDFLAGS"
 
10936
    LIBS="$save_LIBS"
 
10937
    ;;
 
10938
  esac
 
10939
 
 
10940
  case $lt_cv_dlopen_self in
 
10941
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 
10942
  *) enable_dlopen_self=unknown ;;
 
10943
  esac
 
10944
 
 
10945
  case $lt_cv_dlopen_self_static in
 
10946
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 
10947
  *) enable_dlopen_self_static=unknown ;;
 
10948
  esac
 
10949
fi
 
10950
 
 
10951
 
 
10952
 
 
10953
 
 
10954
 
 
10955
 
 
10956
 
 
10957
 
 
10958
 
 
10959
 
 
10960
 
 
10961
 
 
10962
 
 
10963
 
 
10964
 
 
10965
 
 
10966
 
 
10967
striplib=
 
10968
old_striplib=
 
10969
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
10970
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
10971
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
10972
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
10973
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
10974
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
10975
$as_echo "yes" >&6; }
 
10976
else
 
10977
# FIXME - insert some real tests, host_os isn't really good enough
 
10978
  case $host_os in
 
10979
  darwin*)
 
10980
    if test -n "$STRIP" ; then
 
10981
      striplib="$STRIP -x"
 
10982
      old_striplib="$STRIP -S"
 
10983
      { $as_echo "$as_me:$LINENO: result: yes" >&5
 
10984
$as_echo "yes" >&6; }
 
10985
    else
 
10986
      { $as_echo "$as_me:$LINENO: result: no" >&5
 
10987
$as_echo "no" >&6; }
 
10988
    fi
 
10989
    ;;
 
10990
  *)
 
10991
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
10992
$as_echo "no" >&6; }
 
10993
    ;;
 
10994
  esac
 
10995
fi
 
10996
 
 
10997
 
 
10998
 
 
10999
 
 
11000
 
 
11001
 
 
11002
 
 
11003
 
 
11004
 
 
11005
 
 
11006
 
 
11007
 
 
11008
  # Report which library types will actually be built
 
11009
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
11010
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
11011
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
11012
$as_echo "$can_build_shared" >&6; }
 
11013
 
 
11014
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
11015
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
11016
  test "$can_build_shared" = "no" && enable_shared=no
 
11017
 
 
11018
  # On AIX, shared libraries and static libraries use the same namespace, and
 
11019
  # are all built from PIC.
 
11020
  case $host_os in
 
11021
  aix3*)
 
11022
    test "$enable_shared" = yes && enable_static=no
 
11023
    if test -n "$RANLIB"; then
 
11024
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
11025
      postinstall_cmds='$RANLIB $lib'
 
11026
    fi
 
11027
    ;;
 
11028
 
 
11029
  aix[4-9]*)
 
11030
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
11031
      test "$enable_shared" = yes && enable_static=no
 
11032
    fi
 
11033
    ;;
 
11034
  esac
 
11035
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
11036
$as_echo "$enable_shared" >&6; }
 
11037
 
 
11038
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
11039
$as_echo_n "checking whether to build static libraries... " >&6; }
 
11040
  # Make sure either enable_shared or enable_static is yes.
 
11041
  test "$enable_shared" = yes || enable_static=yes
 
11042
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
11043
$as_echo "$enable_static" >&6; }
 
11044
 
 
11045
 
 
11046
 
 
11047
 
 
11048
fi
 
11049
ac_ext=c
 
11050
ac_cpp='$CPP $CPPFLAGS'
 
11051
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
11052
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
11053
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
11054
 
 
11055
CC="$lt_save_CC"
 
11056
 
 
11057
 
 
11058
 
 
11059
 
 
11060
 
 
11061
 
 
11062
 
 
11063
 
 
11064
 
 
11065
 
 
11066
 
 
11067
 
 
11068
 
 
11069
        ac_config_commands="$ac_config_commands libtool"
 
11070
 
 
11071
 
 
11072
 
 
11073
 
 
11074
# Only expand once:
 
11075
 
 
11076
 
 
11077
 
 
11078
 
 
11079
# Check whether --with-dovecot was given.
 
11080
if test "${with_dovecot+set}" = set; then
 
11081
  withval=$with_dovecot; dovecotdir="$withval"
 
11082
else
 
11083
  dovecotdir=../dovecot
 
11084
 
 
11085
fi
 
11086
 
 
11087
old=`pwd`
 
11088
cd $dovecotdir
 
11089
dovecotdir=`pwd`
 
11090
cd $old
 
11091
 
 
11092
 
 
11093
if ! test -f "$dovecotdir/dovecot-config"; then
 
11094
  echo
 
11095
  echo "dovecot-config not found from $dovecotdir, use --with-dovecot=PATH"
 
11096
  echo "to give path to compiled Dovecot sources or to a directory with the"
 
11097
  echo "installed dovecot-config file."
 
11098
  { { $as_echo "$as_me:$LINENO: error: dovecot-config not found" >&5
 
11099
$as_echo "$as_me: error: dovecot-config not found" >&2;}
 
11100
   { (exit 1); exit 1; }; }
 
11101
fi
 
11102
 
 
11103
if test -d "$dovecotdir/src"; then
 
11104
  # compiling against sources
 
11105
  have_dovecot_libs=yes
 
11106
else
 
11107
  # compiling against installed headers
 
11108
  echo "WARNING: Cannot build Sieve commandline tools without the compiled"
 
11109
  echo "         Dovecot sources. Compiling against headers will only build"
 
11110
  echo "         the Sieve plugin."
 
11111
  have_dovecot_libs=no
 
11112
fi
 
11113
 if test "$have_dovecot_libs" = "yes"; then
 
11114
  HAVE_DOVECOT_LIBS_TRUE=
 
11115
  HAVE_DOVECOT_LIBS_FALSE='#'
 
11116
else
 
11117
  HAVE_DOVECOT_LIBS_TRUE='#'
 
11118
  HAVE_DOVECOT_LIBS_FALSE=
 
11119
fi
 
11120
 
 
11121
 
 
11122
# Extensions under development
 
11123
#
 
11124
 
 
11125
 
 
11126
# Check whether --with-unfinished-features was given.
 
11127
if test "${with_unfinished_features+set}" = set; then
 
11128
  withval=$with_unfinished_features; if test x$withval = xno || test x$withval = xauto; then
 
11129
                want_unfinished_features=$withval
 
11130
        else
 
11131
                want_unfinished_features=yes
 
11132
        fi
 
11133
else
 
11134
  want_unfinished_features=no
 
11135
fi
 
11136
 
 
11137
 if test "$want_unfinished_features" = "yes"; then
 
11138
  BUILD_UNFINISHED_TRUE=
 
11139
  BUILD_UNFINISHED_FALSE='#'
 
11140
else
 
11141
  BUILD_UNFINISHED_TRUE='#'
 
11142
  BUILD_UNFINISHED_FALSE=
 
11143
fi
 
11144
 
 
11145
 
 
11146
if test "$want_unfinished_features" = "yes"; then
 
11147
 
 
11148
cat >>confdefs.h <<\_ACEOF
 
11149
#define HAVE_SIEVE_UNFINISHED /**/
 
11150
_ACEOF
 
11151
 
 
11152
fi
 
11153
 
 
11154
#
 
11155
#
 
11156
 
 
11157
# Check whether --enable-valgrind was given.
 
11158
if test "${enable_valgrind+set}" = set; then
 
11159
  enableval=$enable_valgrind; if test x$enableval = xno || test x$enableval = xauto; then
 
11160
        want_valgrind=$enableval
 
11161
    else
 
11162
        want_valgrind=yes
 
11163
    fi
 
11164
else
 
11165
  want_valgrind=no
 
11166
fi
 
11167
 
 
11168
 if test "$want_valgrind" = "yes"; then
 
11169
  TESTSUITE_VALGRIND_TRUE=
 
11170
  TESTSUITE_VALGRIND_FALSE='#'
 
11171
else
 
11172
  TESTSUITE_VALGRIND_TRUE='#'
 
11173
  TESTSUITE_VALGRIND_FALSE=
 
11174
fi
 
11175
 
 
11176
 
 
11177
eval `cat $dovecotdir/dovecot-config|sed 's,\$(top_builddir)/,$dovecotdir/,g'`
 
11178
 
 
11179
if test $have_dovecot_libs = yes; then
 
11180
  dovecot_incdir="$dovecotdir"
 
11181
fi
 
11182
 
 
11183
 
 
11184
 
 
11185
 
 
11186
 
 
11187
 
 
11188
 
 
11189
 
 
11190
ac_config_files="$ac_config_files Makefile src/Makefile src/lib-sieve/Makefile src/lib-sieve/plugins/Makefile src/lib-sieve/plugins/vacation/Makefile src/lib-sieve/plugins/subaddress/Makefile src/lib-sieve/plugins/comparator-i-ascii-numeric/Makefile src/lib-sieve/plugins/relational/Makefile src/lib-sieve/plugins/regex/Makefile src/lib-sieve/plugins/imap4flags/Makefile src/lib-sieve/plugins/copy/Makefile src/lib-sieve/plugins/include/Makefile src/lib-sieve/plugins/body/Makefile src/lib-sieve/plugins/variables/Makefile src/lib-sieve/plugins/enotify/Makefile src/lib-sieve/plugins/notify/Makefile src/lib-sieve/plugins/environment/Makefile src/lib-sieve/plugins/mailbox/Makefile src/lib-sieve/plugins/date/Makefile src/lib-sieve-tool/Makefile src/plugins/Makefile src/plugins/lda-sieve/Makefile src/sieve-tools/Makefile src/sieve-tools/debug/Makefile src/testsuite/Makefile stamp.h"
 
11191
 
 
11192
 
 
11193
cat >confcache <<\_ACEOF
 
11194
# This file is a shell script that caches the results of configure
 
11195
# tests run on this system so they can be shared between configure
 
11196
# scripts and configure runs, see configure's option --config-cache.
 
11197
# It is not useful on other systems.  If it contains results you don't
 
11198
# want to keep, you may remove or edit it.
 
11199
#
 
11200
# config.status only pays attention to the cache file if you give it
 
11201
# the --recheck option to rerun configure.
 
11202
#
 
11203
# `ac_cv_env_foo' variables (set or unset) will be overridden when
 
11204
# loading this file, other *unset* `ac_cv_foo' will be assigned the
 
11205
# following values.
 
11206
 
 
11207
_ACEOF
 
11208
 
 
11209
# The following way of writing the cache mishandles newlines in values,
 
11210
# but we know of no workaround that is simple, portable, and efficient.
 
11211
# So, we kill variables containing newlines.
 
11212
# Ultrix sh set writes to stderr and can't be redirected directly,
 
11213
# and sets the high bit in the cache file unless we assign to the vars.
 
11214
(
 
11215
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
11216
    eval ac_val=\$$ac_var
 
11217
    case $ac_val in #(
 
11218
    *${as_nl}*)
 
11219
      case $ac_var in #(
 
11220
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
11221
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
11222
      esac
 
11223
      case $ac_var in #(
 
11224
      _ | IFS | as_nl) ;; #(
 
11225
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
11226
      *) $as_unset $ac_var ;;
 
11227
      esac ;;
 
11228
    esac
 
11229
  done
 
11230
 
 
11231
  (set) 2>&1 |
 
11232
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
11233
    *${as_nl}ac_space=\ *)
 
11234
      # `set' does not quote correctly, so add quotes (double-quote
 
11235
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
11236
      sed -n \
 
11237
        "s/'/'\\\\''/g;
 
11238
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
11239
      ;; #(
 
11240
    *)
 
11241
      # `set' quotes correctly as required by POSIX, so do not add quotes.
 
11242
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
11243
      ;;
 
11244
    esac |
 
11245
    sort
 
11246
) |
 
11247
  sed '
 
11248
     /^ac_cv_env_/b end
 
11249
     t clear
 
11250
     :clear
 
11251
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 
11252
     t end
 
11253
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
11254
     :end' >>confcache
 
11255
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
11256
  if test -w "$cache_file"; then
 
11257
    test "x$cache_file" != "x/dev/null" &&
 
11258
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
11259
$as_echo "$as_me: updating cache $cache_file" >&6;}
 
11260
    cat confcache >$cache_file
 
11261
  else
 
11262
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
11263
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
11264
  fi
 
11265
fi
 
11266
rm -f confcache
 
11267
 
 
11268
test "x$prefix" = xNONE && prefix=$ac_default_prefix
 
11269
# Let make expand exec_prefix.
 
11270
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 
11271
 
 
11272
DEFS=-DHAVE_CONFIG_H
 
11273
 
 
11274
ac_libobjs=
 
11275
ac_ltlibobjs=
 
11276
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 
11277
  # 1. Remove the extension, and $U if already installed.
 
11278
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
11279
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 
11280
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
11281
  #    will be set to the directory where LIBOBJS objects are built.
 
11282
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
11283
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
11284
done
 
11285
LIBOBJS=$ac_libobjs
 
11286
 
 
11287
LTLIBOBJS=$ac_ltlibobjs
 
11288
 
 
11289
 
 
11290
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
 
11291
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
 
11292
Usually this means the macro was only invoked conditionally." >&5
 
11293
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
 
11294
Usually this means the macro was only invoked conditionally." >&2;}
 
11295
   { (exit 1); exit 1; }; }
 
11296
fi
 
11297
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 
11298
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 
11299
Usually this means the macro was only invoked conditionally." >&5
 
11300
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
 
11301
Usually this means the macro was only invoked conditionally." >&2;}
 
11302
   { (exit 1); exit 1; }; }
 
11303
fi
 
11304
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
11305
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
11306
Usually this means the macro was only invoked conditionally." >&5
 
11307
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
11308
Usually this means the macro was only invoked conditionally." >&2;}
 
11309
   { (exit 1); exit 1; }; }
 
11310
fi
 
11311
if test -z "${HAVE_DOVECOT_LIBS_TRUE}" && test -z "${HAVE_DOVECOT_LIBS_FALSE}"; then
 
11312
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_DOVECOT_LIBS\" was never defined.
 
11313
Usually this means the macro was only invoked conditionally." >&5
 
11314
$as_echo "$as_me: error: conditional \"HAVE_DOVECOT_LIBS\" was never defined.
 
11315
Usually this means the macro was only invoked conditionally." >&2;}
 
11316
   { (exit 1); exit 1; }; }
 
11317
fi
 
11318
if test -z "${BUILD_UNFINISHED_TRUE}" && test -z "${BUILD_UNFINISHED_FALSE}"; then
 
11319
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_UNFINISHED\" was never defined.
 
11320
Usually this means the macro was only invoked conditionally." >&5
 
11321
$as_echo "$as_me: error: conditional \"BUILD_UNFINISHED\" was never defined.
 
11322
Usually this means the macro was only invoked conditionally." >&2;}
 
11323
   { (exit 1); exit 1; }; }
 
11324
fi
 
11325
if test -z "${TESTSUITE_VALGRIND_TRUE}" && test -z "${TESTSUITE_VALGRIND_FALSE}"; then
 
11326
  { { $as_echo "$as_me:$LINENO: error: conditional \"TESTSUITE_VALGRIND\" was never defined.
 
11327
Usually this means the macro was only invoked conditionally." >&5
 
11328
$as_echo "$as_me: error: conditional \"TESTSUITE_VALGRIND\" was never defined.
 
11329
Usually this means the macro was only invoked conditionally." >&2;}
 
11330
   { (exit 1); exit 1; }; }
 
11331
fi
 
11332
 
 
11333
: ${CONFIG_STATUS=./config.status}
 
11334
ac_write_fail=0
 
11335
ac_clean_files_save=$ac_clean_files
 
11336
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 
11337
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
11338
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
11339
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
11340
#! $SHELL
 
11341
# Generated by $as_me.
 
11342
# Run this file to recreate the current configuration.
 
11343
# Compiler output produced by configure, useful for debugging
 
11344
# configure, is in config.log if it exists.
 
11345
 
 
11346
debug=false
 
11347
ac_cs_recheck=false
 
11348
ac_cs_silent=false
 
11349
SHELL=\${CONFIG_SHELL-$SHELL}
 
11350
_ACEOF
 
11351
 
 
11352
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
11353
## --------------------- ##
 
11354
## M4sh Initialization.  ##
 
11355
## --------------------- ##
 
11356
 
 
11357
# Be more Bourne compatible
 
11358
DUALCASE=1; export DUALCASE # for MKS sh
 
11359
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
11360
  emulate sh
 
11361
  NULLCMD=:
 
11362
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
11363
  # is contrary to our usage.  Disable this feature.
 
11364
  alias -g '${1+"$@"}'='"$@"'
 
11365
  setopt NO_GLOB_SUBST
 
11366
else
 
11367
  case `(set -o) 2>/dev/null` in
 
11368
  *posix*) set -o posix ;;
 
11369
esac
 
11370
 
 
11371
fi
 
11372
 
 
11373
 
 
11374
 
 
11375
 
 
11376
# PATH needs CR
 
11377
# Avoid depending upon Character Ranges.
 
11378
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
11379
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
11380
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
11381
as_cr_digits='0123456789'
 
11382
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
11383
 
 
11384
as_nl='
 
11385
'
 
11386
export as_nl
 
11387
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
11388
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
11389
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
11390
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
11391
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
11392
  as_echo='printf %s\n'
 
11393
  as_echo_n='printf %s'
 
11394
else
 
11395
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
11396
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
11397
    as_echo_n='/usr/ucb/echo -n'
 
11398
  else
 
11399
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
11400
    as_echo_n_body='eval
 
11401
      arg=$1;
 
11402
      case $arg in
 
11403
      *"$as_nl"*)
 
11404
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
11405
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
11406
      esac;
 
11407
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
11408
    '
 
11409
    export as_echo_n_body
 
11410
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
11411
  fi
 
11412
  export as_echo_body
 
11413
  as_echo='sh -c $as_echo_body as_echo'
 
11414
fi
 
11415
 
 
11416
# The user is always right.
 
11417
if test "${PATH_SEPARATOR+set}" != set; then
 
11418
  PATH_SEPARATOR=:
 
11419
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
11420
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
11421
      PATH_SEPARATOR=';'
 
11422
  }
 
11423
fi
 
11424
 
 
11425
# Support unset when possible.
 
11426
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
11427
  as_unset=unset
 
11428
else
 
11429
  as_unset=false
 
11430
fi
 
11431
 
 
11432
 
 
11433
# IFS
 
11434
# We need space, tab and new line, in precisely that order.  Quoting is
 
11435
# there to prevent editors from complaining about space-tab.
 
11436
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
11437
# splitting by setting IFS to empty value.)
 
11438
IFS=" ""        $as_nl"
 
11439
 
 
11440
# Find who we are.  Look in the path if we contain no directory separator.
 
11441
case $0 in
 
11442
  *[\\/]* ) as_myself=$0 ;;
 
11443
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11444
for as_dir in $PATH
 
11445
do
 
11446
  IFS=$as_save_IFS
 
11447
  test -z "$as_dir" && as_dir=.
 
11448
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
11449
done
 
11450
IFS=$as_save_IFS
 
11451
 
 
11452
     ;;
 
11453
esac
 
11454
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
11455
# in which case we are not to be found in the path.
 
11456
if test "x$as_myself" = x; then
 
11457
  as_myself=$0
 
11458
fi
 
11459
if test ! -f "$as_myself"; then
 
11460
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
11461
  { (exit 1); exit 1; }
 
11462
fi
 
11463
 
 
11464
# Work around bugs in pre-3.0 UWIN ksh.
 
11465
for as_var in ENV MAIL MAILPATH
 
11466
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
11467
done
 
11468
PS1='$ '
 
11469
PS2='> '
 
11470
PS4='+ '
 
11471
 
 
11472
# NLS nuisances.
 
11473
LC_ALL=C
 
11474
export LC_ALL
 
11475
LANGUAGE=C
 
11476
export LANGUAGE
 
11477
 
 
11478
# Required to use basename.
 
11479
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
11480
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
11481
  as_expr=expr
 
11482
else
 
11483
  as_expr=false
 
11484
fi
 
11485
 
 
11486
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
11487
  as_basename=basename
 
11488
else
 
11489
  as_basename=false
 
11490
fi
 
11491
 
 
11492
 
 
11493
# Name of the executable.
 
11494
as_me=`$as_basename -- "$0" ||
 
11495
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
11496
         X"$0" : 'X\(//\)$' \| \
 
11497
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
11498
$as_echo X/"$0" |
 
11499
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
11500
            s//\1/
 
11501
            q
 
11502
          }
 
11503
          /^X\/\(\/\/\)$/{
 
11504
            s//\1/
 
11505
            q
 
11506
          }
 
11507
          /^X\/\(\/\).*/{
 
11508
            s//\1/
 
11509
            q
 
11510
          }
 
11511
          s/.*/./; q'`
 
11512
 
 
11513
# CDPATH.
 
11514
$as_unset CDPATH
 
11515
 
 
11516
 
 
11517
 
 
11518
  as_lineno_1=$LINENO
 
11519
  as_lineno_2=$LINENO
 
11520
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
11521
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
 
11522
 
 
11523
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 
11524
  # uniformly replaced by the line number.  The first 'sed' inserts a
 
11525
  # line-number line after each line using $LINENO; the second 'sed'
 
11526
  # does the real work.  The second script uses 'N' to pair each
 
11527
  # line-number line with the line containing $LINENO, and appends
 
11528
  # trailing '-' during substitution so that $LINENO is not a special
 
11529
  # case at line end.
 
11530
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 
11531
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
11532
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
11533
  sed -n '
 
11534
    p
 
11535
    /[$]LINENO/=
 
11536
  ' <$as_myself |
 
11537
    sed '
 
11538
      s/[$]LINENO.*/&-/
 
11539
      t lineno
 
11540
      b
 
11541
      :lineno
 
11542
      N
 
11543
      :loop
 
11544
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
11545
      t loop
 
11546
      s/-\n.*//
 
11547
    ' >$as_me.lineno &&
 
11548
  chmod +x "$as_me.lineno" ||
 
11549
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
11550
   { (exit 1); exit 1; }; }
 
11551
 
 
11552
  # Don't try to exec as it changes $[0], causing all sort of problems
 
11553
  # (the dirname of $[0] is not the place where we might find the
 
11554
  # original and so on.  Autoconf is especially sensitive to this).
 
11555
  . "./$as_me.lineno"
 
11556
  # Exit status is that of the last command.
 
11557
  exit
 
11558
}
 
11559
 
 
11560
 
 
11561
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
11562
  as_dirname=dirname
 
11563
else
 
11564
  as_dirname=false
 
11565
fi
 
11566
 
 
11567
ECHO_C= ECHO_N= ECHO_T=
 
11568
case `echo -n x` in
 
11569
-n*)
 
11570
  case `echo 'x\c'` in
 
11571
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
11572
  *)   ECHO_C='\c';;
 
11573
  esac;;
 
11574
*)
 
11575
  ECHO_N='-n';;
 
11576
esac
 
11577
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
11578
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
11579
  as_expr=expr
 
11580
else
 
11581
  as_expr=false
 
11582
fi
 
11583
 
 
11584
rm -f conf$$ conf$$.exe conf$$.file
 
11585
if test -d conf$$.dir; then
 
11586
  rm -f conf$$.dir/conf$$.file
 
11587
else
 
11588
  rm -f conf$$.dir
 
11589
  mkdir conf$$.dir 2>/dev/null
 
11590
fi
 
11591
if (echo >conf$$.file) 2>/dev/null; then
 
11592
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
11593
    as_ln_s='ln -s'
 
11594
    # ... but there are two gotchas:
 
11595
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
11596
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
11597
    # In both cases, we have to default to `cp -p'.
 
11598
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
11599
      as_ln_s='cp -p'
 
11600
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
11601
    as_ln_s=ln
 
11602
  else
 
11603
    as_ln_s='cp -p'
 
11604
  fi
 
11605
else
 
11606
  as_ln_s='cp -p'
 
11607
fi
 
11608
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
11609
rmdir conf$$.dir 2>/dev/null
 
11610
 
 
11611
if mkdir -p . 2>/dev/null; then
 
11612
  as_mkdir_p=:
 
11613
else
 
11614
  test -d ./-p && rmdir ./-p
 
11615
  as_mkdir_p=false
 
11616
fi
 
11617
 
 
11618
if test -x / >/dev/null 2>&1; then
 
11619
  as_test_x='test -x'
 
11620
else
 
11621
  if ls -dL / >/dev/null 2>&1; then
 
11622
    as_ls_L_option=L
 
11623
  else
 
11624
    as_ls_L_option=
 
11625
  fi
 
11626
  as_test_x='
 
11627
    eval sh -c '\''
 
11628
      if test -d "$1"; then
 
11629
        test -d "$1/.";
 
11630
      else
 
11631
        case $1 in
 
11632
        -*)set "./$1";;
 
11633
        esac;
 
11634
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
11635
        ???[sx]*):;;*)false;;esac;fi
 
11636
    '\'' sh
 
11637
  '
 
11638
fi
 
11639
as_executable_p=$as_test_x
 
11640
 
 
11641
# Sed expression to map a string onto a valid CPP name.
 
11642
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
11643
 
 
11644
# Sed expression to map a string onto a valid variable name.
 
11645
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
11646
 
 
11647
 
 
11648
exec 6>&1
 
11649
 
 
11650
# Save the log message, to keep $[0] and so on meaningful, and to
 
11651
# report actual input values of CONFIG_FILES etc. instead of their
 
11652
# values after options handling.
 
11653
ac_log="
 
11654
This file was extended by Dovecot Sieve $as_me 0.1.13, which was
 
11655
generated by GNU Autoconf 2.63.  Invocation command line was
 
11656
 
 
11657
  CONFIG_FILES    = $CONFIG_FILES
 
11658
  CONFIG_HEADERS  = $CONFIG_HEADERS
 
11659
  CONFIG_LINKS    = $CONFIG_LINKS
 
11660
  CONFIG_COMMANDS = $CONFIG_COMMANDS
 
11661
  $ $0 $@
 
11662
 
 
11663
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
11664
"
 
11665
 
 
11666
_ACEOF
 
11667
 
 
11668
case $ac_config_files in *"
 
11669
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
11670
esac
 
11671
 
 
11672
case $ac_config_headers in *"
 
11673
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
11674
esac
 
11675
 
 
11676
 
 
11677
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
11678
# Files that config.status was made for.
 
11679
config_files="$ac_config_files"
 
11680
config_headers="$ac_config_headers"
 
11681
config_commands="$ac_config_commands"
 
11682
 
 
11683
_ACEOF
 
11684
 
 
11685
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
11686
ac_cs_usage="\
 
11687
\`$as_me' instantiates files from templates according to the
 
11688
current configuration.
 
11689
 
 
11690
Usage: $0 [OPTION]... [FILE]...
 
11691
 
 
11692
  -h, --help       print this help, then exit
 
11693
  -V, --version    print version number and configuration settings, then exit
 
11694
  -q, --quiet, --silent
 
11695
                   do not print progress messages
 
11696
  -d, --debug      don't remove temporary files
 
11697
      --recheck    update $as_me by reconfiguring in the same conditions
 
11698
      --file=FILE[:TEMPLATE]
 
11699
                   instantiate the configuration file FILE
 
11700
      --header=FILE[:TEMPLATE]
 
11701
                   instantiate the configuration header FILE
 
11702
 
 
11703
Configuration files:
 
11704
$config_files
 
11705
 
 
11706
Configuration headers:
 
11707
$config_headers
 
11708
 
 
11709
Configuration commands:
 
11710
$config_commands
 
11711
 
 
11712
Report bugs to <bug-autoconf@gnu.org>."
 
11713
 
 
11714
_ACEOF
 
11715
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
11716
ac_cs_version="\\
 
11717
Dovecot Sieve config.status 0.1.13
 
11718
configured by $0, generated by GNU Autoconf 2.63,
 
11719
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
11720
 
 
11721
Copyright (C) 2008 Free Software Foundation, Inc.
 
11722
This config.status script is free software; the Free Software Foundation
 
11723
gives unlimited permission to copy, distribute and modify it."
 
11724
 
 
11725
ac_pwd='$ac_pwd'
 
11726
srcdir='$srcdir'
 
11727
INSTALL='$INSTALL'
 
11728
MKDIR_P='$MKDIR_P'
 
11729
AWK='$AWK'
 
11730
test -n "\$AWK" || AWK=awk
 
11731
_ACEOF
 
11732
 
 
11733
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
11734
# The default lists apply if the user does not specify any file.
 
11735
ac_need_defaults=:
 
11736
while test $# != 0
 
11737
do
 
11738
  case $1 in
 
11739
  --*=*)
 
11740
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
11741
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 
11742
    ac_shift=:
 
11743
    ;;
 
11744
  *)
 
11745
    ac_option=$1
 
11746
    ac_optarg=$2
 
11747
    ac_shift=shift
 
11748
    ;;
 
11749
  esac
 
11750
 
 
11751
  case $ac_option in
 
11752
  # Handling of the options.
 
11753
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 
11754
    ac_cs_recheck=: ;;
 
11755
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
11756
    $as_echo "$ac_cs_version"; exit ;;
 
11757
  --debug | --debu | --deb | --de | --d | -d )
 
11758
    debug=: ;;
 
11759
  --file | --fil | --fi | --f )
 
11760
    $ac_shift
 
11761
    case $ac_optarg in
 
11762
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
11763
    esac
 
11764
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 
11765
    ac_need_defaults=false;;
 
11766
  --header | --heade | --head | --hea )
 
11767
    $ac_shift
 
11768
    case $ac_optarg in
 
11769
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
11770
    esac
 
11771
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
 
11772
    ac_need_defaults=false;;
 
11773
  --he | --h)
 
11774
    # Conflict between --help and --header
 
11775
    { $as_echo "$as_me: error: ambiguous option: $1
 
11776
Try \`$0 --help' for more information." >&2
 
11777
   { (exit 1); exit 1; }; };;
 
11778
  --help | --hel | -h )
 
11779
    $as_echo "$ac_cs_usage"; exit ;;
 
11780
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
11781
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 
11782
    ac_cs_silent=: ;;
 
11783
 
 
11784
  # This is an error.
 
11785
  -*) { $as_echo "$as_me: error: unrecognized option: $1
 
11786
Try \`$0 --help' for more information." >&2
 
11787
   { (exit 1); exit 1; }; } ;;
 
11788
 
 
11789
  *) ac_config_targets="$ac_config_targets $1"
 
11790
     ac_need_defaults=false ;;
 
11791
 
 
11792
  esac
 
11793
  shift
 
11794
done
 
11795
 
 
11796
ac_configure_extra_args=
 
11797
 
 
11798
if $ac_cs_silent; then
 
11799
  exec 6>/dev/null
 
11800
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
11801
fi
 
11802
 
 
11803
_ACEOF
 
11804
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
11805
if \$ac_cs_recheck; then
 
11806
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
11807
  shift
 
11808
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
11809
  CONFIG_SHELL='$SHELL'
 
11810
  export CONFIG_SHELL
 
11811
  exec "\$@"
 
11812
fi
 
11813
 
 
11814
_ACEOF
 
11815
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
11816
exec 5>>config.log
 
11817
{
 
11818
  echo
 
11819
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
11820
## Running $as_me. ##
 
11821
_ASBOX
 
11822
  $as_echo "$ac_log"
 
11823
} >&5
 
11824
 
 
11825
_ACEOF
 
11826
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
11827
#
 
11828
# INIT-COMMANDS
 
11829
#
 
11830
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 
11831
 
 
11832
 
 
11833
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
11834
# if CDPATH is set.
 
11835
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
11836
 
 
11837
sed_quote_subst='$sed_quote_subst'
 
11838
double_quote_subst='$double_quote_subst'
 
11839
delay_variable_subst='$delay_variable_subst'
 
11840
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
 
11841
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
 
11842
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
 
11843
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
 
11844
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
 
11845
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
 
11846
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
11847
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
 
11848
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
 
11849
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
11850
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
 
11851
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
 
11852
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
 
11853
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
 
11854
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
 
11855
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
11856
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
11857
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
 
11858
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
 
11859
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
 
11860
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
 
11861
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
 
11862
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
 
11863
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
 
11864
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
 
11865
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
 
11866
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
11867
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11868
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
 
11869
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
 
11870
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
 
11871
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
 
11872
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
11873
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
 
11874
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
 
11875
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11876
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11877
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11878
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
 
11879
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
11880
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
 
11881
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
 
11882
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
 
11883
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
 
11884
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"`'
 
11885
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"`'
 
11886
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
 
11887
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
 
11888
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
 
11889
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
 
11890
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
11891
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
 
11892
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
 
11893
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
 
11894
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
 
11895
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
 
11896
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
 
11897
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
 
11898
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
 
11899
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 
11900
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
 
11901
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
 
11902
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11903
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11904
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
 
11905
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
 
11906
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
11907
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
11908
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
 
11909
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11910
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11911
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11912
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11913
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11914
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11915
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
11916
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
11917
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
11918
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
11919
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
11920
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
 
11921
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
 
11922
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
 
11923
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
 
11924
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
11925
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
 
11926
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
 
11927
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
 
11928
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
 
11929
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
 
11930
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11931
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
11932
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
11933
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11934
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
11935
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
 
11936
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 
11937
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
 
11938
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
 
11939
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
11940
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
11941
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
 
11942
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
11943
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
11944
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
11945
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11946
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11947
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
11948
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
 
11949
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
 
11950
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
11951
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
11952
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
 
11953
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
 
11954
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
 
11955
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
 
11956
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
11957
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
11958
 
 
11959
LTCC='$LTCC'
 
11960
LTCFLAGS='$LTCFLAGS'
 
11961
compiler='$compiler_DEFAULT'
 
11962
 
 
11963
# Quote evaled strings.
 
11964
for var in SED \
 
11965
GREP \
 
11966
EGREP \
 
11967
FGREP \
 
11968
LD \
 
11969
NM \
 
11970
LN_S \
 
11971
lt_SP2NL \
 
11972
lt_NL2SP \
 
11973
reload_flag \
 
11974
OBJDUMP \
 
11975
deplibs_check_method \
 
11976
file_magic_cmd \
 
11977
AR \
 
11978
AR_FLAGS \
 
11979
STRIP \
 
11980
RANLIB \
 
11981
CC \
 
11982
CFLAGS \
 
11983
compiler \
 
11984
lt_cv_sys_global_symbol_pipe \
 
11985
lt_cv_sys_global_symbol_to_cdecl \
 
11986
lt_cv_sys_global_symbol_to_c_name_address \
 
11987
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
11988
SHELL \
 
11989
ECHO \
 
11990
lt_prog_compiler_no_builtin_flag \
 
11991
lt_prog_compiler_wl \
 
11992
lt_prog_compiler_pic \
 
11993
lt_prog_compiler_static \
 
11994
lt_cv_prog_compiler_c_o \
 
11995
need_locks \
 
11996
DSYMUTIL \
 
11997
NMEDIT \
 
11998
LIPO \
 
11999
OTOOL \
 
12000
OTOOL64 \
 
12001
shrext_cmds \
 
12002
export_dynamic_flag_spec \
 
12003
whole_archive_flag_spec \
 
12004
compiler_needs_object \
 
12005
with_gnu_ld \
 
12006
allow_undefined_flag \
 
12007
no_undefined_flag \
 
12008
hardcode_libdir_flag_spec \
 
12009
hardcode_libdir_flag_spec_ld \
 
12010
hardcode_libdir_separator \
 
12011
fix_srcfile_path \
 
12012
exclude_expsyms \
 
12013
include_expsyms \
 
12014
file_list_spec \
 
12015
variables_saved_for_relink \
 
12016
libname_spec \
 
12017
library_names_spec \
 
12018
soname_spec \
 
12019
finish_eval \
 
12020
old_striplib \
 
12021
striplib; do
 
12022
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
12023
    *[\\\\\\\`\\"\\\$]*)
 
12024
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
12025
      ;;
 
12026
    *)
 
12027
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
12028
      ;;
 
12029
    esac
 
12030
done
 
12031
 
 
12032
# Double-quote double-evaled strings.
 
12033
for var in reload_cmds \
 
12034
old_postinstall_cmds \
 
12035
old_postuninstall_cmds \
 
12036
old_archive_cmds \
 
12037
extract_expsyms_cmds \
 
12038
old_archive_from_new_cmds \
 
12039
old_archive_from_expsyms_cmds \
 
12040
archive_cmds \
 
12041
archive_expsym_cmds \
 
12042
module_cmds \
 
12043
module_expsym_cmds \
 
12044
export_symbols_cmds \
 
12045
prelink_cmds \
 
12046
postinstall_cmds \
 
12047
postuninstall_cmds \
 
12048
finish_cmds \
 
12049
sys_lib_search_path_spec \
 
12050
sys_lib_dlsearch_path_spec; do
 
12051
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
12052
    *[\\\\\\\`\\"\\\$]*)
 
12053
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
12054
      ;;
 
12055
    *)
 
12056
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
12057
      ;;
 
12058
    esac
 
12059
done
 
12060
 
 
12061
# Fix-up fallback echo if it was mangled by the above quoting rules.
 
12062
case \$lt_ECHO in
 
12063
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
 
12064
  ;;
 
12065
esac
 
12066
 
 
12067
ac_aux_dir='$ac_aux_dir'
 
12068
xsi_shell='$xsi_shell'
 
12069
lt_shell_append='$lt_shell_append'
 
12070
 
 
12071
# See if we are running on zsh, and set the options which allow our
 
12072
# commands through without removal of \ escapes INIT.
 
12073
if test -n "\${ZSH_VERSION+set}" ; then
 
12074
   setopt NO_GLOB_SUBST
 
12075
fi
 
12076
 
 
12077
 
 
12078
    PACKAGE='$PACKAGE'
 
12079
    VERSION='$VERSION'
 
12080
    TIMESTAMP='$TIMESTAMP'
 
12081
    RM='$RM'
 
12082
    ofile='$ofile'
 
12083
 
 
12084
 
 
12085
 
 
12086
 
 
12087
_ACEOF
 
12088
 
 
12089
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
12090
 
 
12091
# Handling of arguments.
 
12092
for ac_config_target in $ac_config_targets
 
12093
do
 
12094
  case $ac_config_target in
 
12095
    "dummy-config.h") CONFIG_HEADERS="$CONFIG_HEADERS dummy-config.h" ;;
 
12096
    "dsieve-config.h") CONFIG_HEADERS="$CONFIG_HEADERS dsieve-config.h" ;;
 
12097
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
12098
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
 
12099
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
12100
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
12101
    "src/lib-sieve/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-sieve/Makefile" ;;
 
12102
    "src/lib-sieve/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-sieve/plugins/Makefile" ;;
 
12103
    "src/lib-sieve/plugins/vacation/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-sieve/plugins/vacation/Makefile" ;;
 
12104
    "src/lib-sieve/plugins/subaddress/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-sieve/plugins/subaddress/Makefile" ;;
 
12105
    "src/lib-sieve/plugins/comparator-i-ascii-numeric/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-sieve/plugins/comparator-i-ascii-numeric/Makefile" ;;
 
12106
    "src/lib-sieve/plugins/relational/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-sieve/plugins/relational/Makefile" ;;
 
12107
    "src/lib-sieve/plugins/regex/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-sieve/plugins/regex/Makefile" ;;
 
12108
    "src/lib-sieve/plugins/imap4flags/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-sieve/plugins/imap4flags/Makefile" ;;
 
12109
    "src/lib-sieve/plugins/copy/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-sieve/plugins/copy/Makefile" ;;
 
12110
    "src/lib-sieve/plugins/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-sieve/plugins/include/Makefile" ;;
 
12111
    "src/lib-sieve/plugins/body/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-sieve/plugins/body/Makefile" ;;
 
12112
    "src/lib-sieve/plugins/variables/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-sieve/plugins/variables/Makefile" ;;
 
12113
    "src/lib-sieve/plugins/enotify/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-sieve/plugins/enotify/Makefile" ;;
 
12114
    "src/lib-sieve/plugins/notify/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-sieve/plugins/notify/Makefile" ;;
 
12115
    "src/lib-sieve/plugins/environment/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-sieve/plugins/environment/Makefile" ;;
 
12116
    "src/lib-sieve/plugins/mailbox/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-sieve/plugins/mailbox/Makefile" ;;
 
12117
    "src/lib-sieve/plugins/date/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-sieve/plugins/date/Makefile" ;;
 
12118
    "src/lib-sieve-tool/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-sieve-tool/Makefile" ;;
 
12119
    "src/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;;
 
12120
    "src/plugins/lda-sieve/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/lda-sieve/Makefile" ;;
 
12121
    "src/sieve-tools/Makefile") CONFIG_FILES="$CONFIG_FILES src/sieve-tools/Makefile" ;;
 
12122
    "src/sieve-tools/debug/Makefile") CONFIG_FILES="$CONFIG_FILES src/sieve-tools/debug/Makefile" ;;
 
12123
    "src/testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES src/testsuite/Makefile" ;;
 
12124
    "stamp.h") CONFIG_FILES="$CONFIG_FILES stamp.h" ;;
 
12125
 
 
12126
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 
12127
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 
12128
   { (exit 1); exit 1; }; };;
 
12129
  esac
 
12130
done
 
12131
 
 
12132
 
 
12133
# If the user did not use the arguments to specify the items to instantiate,
 
12134
# then the envvar interface is used.  Set only those that are not.
 
12135
# We use the long form for the default assignment because of an extremely
 
12136
# bizarre bug on SunOS 4.1.3.
 
12137
if $ac_need_defaults; then
 
12138
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 
12139
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 
12140
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 
12141
fi
 
12142
 
 
12143
# Have a temporary directory for convenience.  Make it in the build tree
 
12144
# simply because there is no reason against having it here, and in addition,
 
12145
# creating and moving files from /tmp can sometimes cause problems.
 
12146
# Hook for its removal unless debugging.
 
12147
# Note that there is a small window in which the directory will not be cleaned:
 
12148
# after its creation but before its name has been assigned to `$tmp'.
 
12149
$debug ||
 
12150
{
 
12151
  tmp=
 
12152
  trap 'exit_status=$?
 
12153
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
12154
' 0
 
12155
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
12156
}
 
12157
# Create a (secure) tmp directory for tmp files.
 
12158
 
 
12159
{
 
12160
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 
12161
  test -n "$tmp" && test -d "$tmp"
 
12162
}  ||
 
12163
{
 
12164
  tmp=./conf$$-$RANDOM
 
12165
  (umask 077 && mkdir "$tmp")
 
12166
} ||
 
12167
{
 
12168
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
 
12169
   { (exit 1); exit 1; }
 
12170
}
 
12171
 
 
12172
# Set up the scripts for CONFIG_FILES section.
 
12173
# No need to generate them if there are no CONFIG_FILES.
 
12174
# This happens for instance with `./config.status config.h'.
 
12175
if test -n "$CONFIG_FILES"; then
 
12176
 
 
12177
 
 
12178
ac_cr='
 
 
b"'"
 
12179
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
12180
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
12181
  ac_cs_awk_cr='\\r'
 
12182
else
 
12183
  ac_cs_awk_cr=$ac_cr
 
12184
fi
 
12185
 
 
12186
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
12187
_ACEOF
 
12188
 
 
12189
 
 
12190
{
 
12191
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
12192
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
12193
  echo "_ACEOF"
 
12194
} >conf$$subs.sh ||
 
12195
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
12196
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
12197
   { (exit 1); exit 1; }; }
 
12198
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
12199
ac_delim='%!_!# '
 
12200
for ac_last_try in false false false false false :; do
 
12201
  . ./conf$$subs.sh ||
 
12202
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
12203
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
12204
   { (exit 1); exit 1; }; }
 
12205
 
 
12206
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
12207
  if test $ac_delim_n = $ac_delim_num; then
 
12208
    break
 
12209
  elif $ac_last_try; then
 
12210
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
12211
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
12212
   { (exit 1); exit 1; }; }
 
12213
  else
 
12214
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
12215
  fi
 
12216
done
 
12217
rm -f conf$$subs.sh
 
12218
 
 
12219
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
12220
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
12221
_ACEOF
 
12222
sed -n '
 
12223
h
 
12224
s/^/S["/; s/!.*/"]=/
 
12225
p
 
12226
g
 
12227
s/^[^!]*!//
 
12228
:repl
 
12229
t repl
 
12230
s/'"$ac_delim"'$//
 
12231
t delim
 
12232
:nl
 
12233
h
 
12234
s/\(.\{148\}\).*/\1/
 
12235
t more1
 
12236
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
12237
p
 
12238
n
 
12239
b repl
 
12240
:more1
 
12241
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
12242
p
 
12243
g
 
12244
s/.\{148\}//
 
12245
t nl
 
12246
:delim
 
12247
h
 
12248
s/\(.\{148\}\).*/\1/
 
12249
t more2
 
12250
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
12251
p
 
12252
b
 
12253
:more2
 
12254
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
12255
p
 
12256
g
 
12257
s/.\{148\}//
 
12258
t delim
 
12259
' <conf$$subs.awk | sed '
 
12260
/^[^""]/{
 
12261
  N
 
12262
  s/\n//
 
12263
}
 
12264
' >>$CONFIG_STATUS || ac_write_fail=1
 
12265
rm -f conf$$subs.awk
 
12266
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
12267
_ACAWK
 
12268
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
12269
  for (key in S) S_is_set[key] = 1
 
12270
  FS = ""
 
12271
 
 
12272
}
 
12273
{
 
12274
  line = $ 0
 
12275
  nfields = split(line, field, "@")
 
12276
  substed = 0
 
12277
  len = length(field[1])
 
12278
  for (i = 2; i < nfields; i++) {
 
12279
    key = field[i]
 
12280
    keylen = length(key)
 
12281
    if (S_is_set[key]) {
 
12282
      value = S[key]
 
12283
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
12284
      len += length(value) + length(field[++i])
 
12285
      substed = 1
 
12286
    } else
 
12287
      len += 1 + keylen
 
12288
  }
 
12289
 
 
12290
  print line
 
12291
}
 
12292
 
 
12293
_ACAWK
 
12294
_ACEOF
 
12295
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
12296
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
12297
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
12298
else
 
12299
  cat
 
12300
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
12301
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
 
12302
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
 
12303
   { (exit 1); exit 1; }; }
 
12304
_ACEOF
 
12305
 
 
12306
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
12307
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
12308
# trailing colons and then remove the whole line if VPATH becomes empty
 
12309
# (actually we leave an empty line to preserve line numbers).
 
12310
if test "x$srcdir" = x.; then
 
12311
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
12312
s/:*\$(srcdir):*/:/
 
12313
s/:*\${srcdir}:*/:/
 
12314
s/:*@srcdir@:*/:/
 
12315
s/^\([^=]*=[     ]*\):*/\1/
 
12316
s/:*$//
 
12317
s/^[^=]*=[       ]*$//
 
12318
}'
 
12319
fi
 
12320
 
 
12321
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
12322
fi # test -n "$CONFIG_FILES"
 
12323
 
 
12324
# Set up the scripts for CONFIG_HEADERS section.
 
12325
# No need to generate them if there are no CONFIG_HEADERS.
 
12326
# This happens for instance with `./config.status Makefile'.
 
12327
if test -n "$CONFIG_HEADERS"; then
 
12328
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
12329
BEGIN {
 
12330
_ACEOF
 
12331
 
 
12332
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
12333
# here-document in config.status, that substitutes the proper values into
 
12334
# config.h.in to produce config.h.
 
12335
 
 
12336
# Create a delimiter string that does not exist in confdefs.h, to ease
 
12337
# handling of long lines.
 
12338
ac_delim='%!_!# '
 
12339
for ac_last_try in false false :; do
 
12340
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 
12341
  if test -z "$ac_t"; then
 
12342
    break
 
12343
  elif $ac_last_try; then
 
12344
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
 
12345
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
 
12346
   { (exit 1); exit 1; }; }
 
12347
  else
 
12348
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
12349
  fi
 
12350
done
 
12351
 
 
12352
# For the awk script, D is an array of macro values keyed by name,
 
12353
# likewise P contains macro parameters if any.  Preserve backslash
 
12354
# newline sequences.
 
12355
 
 
12356
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
12357
sed -n '
 
12358
s/.\{148\}/&'"$ac_delim"'/g
 
12359
t rset
 
12360
:rset
 
12361
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
12362
t def
 
12363
d
 
12364
:def
 
12365
s/\\$//
 
12366
t bsnl
 
12367
s/["\\]/\\&/g
 
12368
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
12369
D["\1"]=" \3"/p
 
12370
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
12371
d
 
12372
:bsnl
 
12373
s/["\\]/\\&/g
 
12374
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
12375
D["\1"]=" \3\\\\\\n"\\/p
 
12376
t cont
 
12377
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
12378
t cont
 
12379
d
 
12380
:cont
 
12381
n
 
12382
s/.\{148\}/&'"$ac_delim"'/g
 
12383
t clear
 
12384
:clear
 
12385
s/\\$//
 
12386
t bsnlc
 
12387
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
12388
d
 
12389
:bsnlc
 
12390
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
12391
b cont
 
12392
' <confdefs.h | sed '
 
12393
s/'"$ac_delim"'/"\\\
 
12394
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
12395
 
 
12396
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
12397
  for (key in D) D_is_set[key] = 1
 
12398
  FS = ""
 
12399
}
 
12400
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
12401
  line = \$ 0
 
12402
  split(line, arg, " ")
 
12403
  if (arg[1] == "#") {
 
12404
    defundef = arg[2]
 
12405
    mac1 = arg[3]
 
12406
  } else {
 
12407
    defundef = substr(arg[1], 2)
 
12408
    mac1 = arg[2]
 
12409
  }
 
12410
  split(mac1, mac2, "(") #)
 
12411
  macro = mac2[1]
 
12412
  prefix = substr(line, 1, index(line, defundef) - 1)
 
12413
  if (D_is_set[macro]) {
 
12414
    # Preserve the white space surrounding the "#".
 
12415
    print prefix "define", macro P[macro] D[macro]
 
12416
    next
 
12417
  } else {
 
12418
    # Replace #undef with comments.  This is necessary, for example,
 
12419
    # in the case of _POSIX_SOURCE, which is predefined and required
 
12420
    # on some systems where configure will not decide to define it.
 
12421
    if (defundef == "undef") {
 
12422
      print "/*", prefix defundef, macro, "*/"
 
12423
      next
 
12424
    }
 
12425
  }
 
12426
}
 
12427
{ print }
 
12428
_ACAWK
 
12429
_ACEOF
 
12430
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
12431
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
 
12432
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
 
12433
   { (exit 1); exit 1; }; }
 
12434
fi # test -n "$CONFIG_HEADERS"
 
12435
 
 
12436
 
 
12437
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
12438
shift
 
12439
for ac_tag
 
12440
do
 
12441
  case $ac_tag in
 
12442
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
12443
  esac
 
12444
  case $ac_mode$ac_tag in
 
12445
  :[FHL]*:*);;
 
12446
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
 
12447
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
 
12448
   { (exit 1); exit 1; }; };;
 
12449
  :[FH]-) ac_tag=-:-;;
 
12450
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
12451
  esac
 
12452
  ac_save_IFS=$IFS
 
12453
  IFS=:
 
12454
  set x $ac_tag
 
12455
  IFS=$ac_save_IFS
 
12456
  shift
 
12457
  ac_file=$1
 
12458
  shift
 
12459
 
 
12460
  case $ac_mode in
 
12461
  :L) ac_source=$1;;
 
12462
  :[FH])
 
12463
    ac_file_inputs=
 
12464
    for ac_f
 
12465
    do
 
12466
      case $ac_f in
 
12467
      -) ac_f="$tmp/stdin";;
 
12468
      *) # Look for the file first in the build tree, then in the source tree
 
12469
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
12470
         # because $ac_f cannot contain `:'.
 
12471
         test -f "$ac_f" ||
 
12472
           case $ac_f in
 
12473
           [\\/$]*) false;;
 
12474
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
12475
           esac ||
 
12476
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
12477
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
12478
   { (exit 1); exit 1; }; };;
 
12479
      esac
 
12480
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
12481
      ac_file_inputs="$ac_file_inputs '$ac_f'"
 
12482
    done
 
12483
 
 
12484
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
12485
    # use $as_me), people would be surprised to read:
 
12486
    #    /* config.h.  Generated by config.status.  */
 
12487
    configure_input='Generated from '`
 
12488
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
12489
        `' by configure.'
 
12490
    if test x"$ac_file" != x-; then
 
12491
      configure_input="$ac_file.  $configure_input"
 
12492
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
12493
$as_echo "$as_me: creating $ac_file" >&6;}
 
12494
    fi
 
12495
    # Neutralize special characters interpreted by sed in replacement strings.
 
12496
    case $configure_input in #(
 
12497
    *\&* | *\|* | *\\* )
 
12498
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
12499
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
12500
    *) ac_sed_conf_input=$configure_input;;
 
12501
    esac
 
12502
 
 
12503
    case $ac_tag in
 
12504
    *:-:* | *:-) cat >"$tmp/stdin" \
 
12505
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
12506
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
12507
   { (exit 1); exit 1; }; } ;;
 
12508
    esac
 
12509
    ;;
 
12510
  esac
 
12511
 
 
12512
  ac_dir=`$as_dirname -- "$ac_file" ||
 
12513
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
12514
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
12515
         X"$ac_file" : 'X\(//\)$' \| \
 
12516
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
12517
$as_echo X"$ac_file" |
 
12518
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
12519
            s//\1/
 
12520
            q
 
12521
          }
 
12522
          /^X\(\/\/\)[^/].*/{
 
12523
            s//\1/
 
12524
            q
 
12525
          }
 
12526
          /^X\(\/\/\)$/{
 
12527
            s//\1/
 
12528
            q
 
12529
          }
 
12530
          /^X\(\/\).*/{
 
12531
            s//\1/
 
12532
            q
 
12533
          }
 
12534
          s/.*/./; q'`
 
12535
  { as_dir="$ac_dir"
 
12536
  case $as_dir in #(
 
12537
  -*) as_dir=./$as_dir;;
 
12538
  esac
 
12539
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 
12540
    as_dirs=
 
12541
    while :; do
 
12542
      case $as_dir in #(
 
12543
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
12544
      *) as_qdir=$as_dir;;
 
12545
      esac
 
12546
      as_dirs="'$as_qdir' $as_dirs"
 
12547
      as_dir=`$as_dirname -- "$as_dir" ||
 
12548
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
12549
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
12550
         X"$as_dir" : 'X\(//\)$' \| \
 
12551
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
12552
$as_echo X"$as_dir" |
 
12553
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
12554
            s//\1/
 
12555
            q
 
12556
          }
 
12557
          /^X\(\/\/\)[^/].*/{
 
12558
            s//\1/
 
12559
            q
 
12560
          }
 
12561
          /^X\(\/\/\)$/{
 
12562
            s//\1/
 
12563
            q
 
12564
          }
 
12565
          /^X\(\/\).*/{
 
12566
            s//\1/
 
12567
            q
 
12568
          }
 
12569
          s/.*/./; q'`
 
12570
      test -d "$as_dir" && break
 
12571
    done
 
12572
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
12573
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
12574
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
12575
   { (exit 1); exit 1; }; }; }
 
12576
  ac_builddir=.
 
12577
 
 
12578
case "$ac_dir" in
 
12579
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
12580
*)
 
12581
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
12582
  # A ".." for each directory in $ac_dir_suffix.
 
12583
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
12584
  case $ac_top_builddir_sub in
 
12585
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
12586
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
12587
  esac ;;
 
12588
esac
 
12589
ac_abs_top_builddir=$ac_pwd
 
12590
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
12591
# for backward compatibility:
 
12592
ac_top_builddir=$ac_top_build_prefix
 
12593
 
 
12594
case $srcdir in
 
12595
  .)  # We are building in place.
 
12596
    ac_srcdir=.
 
12597
    ac_top_srcdir=$ac_top_builddir_sub
 
12598
    ac_abs_top_srcdir=$ac_pwd ;;
 
12599
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
12600
    ac_srcdir=$srcdir$ac_dir_suffix;
 
12601
    ac_top_srcdir=$srcdir
 
12602
    ac_abs_top_srcdir=$srcdir ;;
 
12603
  *) # Relative name.
 
12604
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
12605
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
12606
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
12607
esac
 
12608
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
12609
 
 
12610
 
 
12611
  case $ac_mode in
 
12612
  :F)
 
12613
  #
 
12614
  # CONFIG_FILE
 
12615
  #
 
12616
 
 
12617
  case $INSTALL in
 
12618
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 
12619
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
12620
  esac
 
12621
  ac_MKDIR_P=$MKDIR_P
 
12622
  case $MKDIR_P in
 
12623
  [\\/$]* | ?:[\\/]* ) ;;
 
12624
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
12625
  esac
 
12626
_ACEOF
 
12627
 
 
12628
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
12629
# If the template does not know about datarootdir, expand it.
 
12630
# FIXME: This hack should be removed a few years after 2.60.
 
12631
ac_datarootdir_hack=; ac_datarootdir_seen=
 
12632
 
 
12633
ac_sed_dataroot='
 
12634
/datarootdir/ {
 
12635
  p
 
12636
  q
 
12637
}
 
12638
/@datadir@/p
 
12639
/@docdir@/p
 
12640
/@infodir@/p
 
12641
/@localedir@/p
 
12642
/@mandir@/p
 
12643
'
 
12644
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 
12645
*datarootdir*) ac_datarootdir_seen=yes;;
 
12646
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
12647
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
12648
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
12649
_ACEOF
 
12650
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
12651
  ac_datarootdir_hack='
 
12652
  s&@datadir@&$datadir&g
 
12653
  s&@docdir@&$docdir&g
 
12654
  s&@infodir@&$infodir&g
 
12655
  s&@localedir@&$localedir&g
 
12656
  s&@mandir@&$mandir&g
 
12657
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
12658
esac
 
12659
_ACEOF
 
12660
 
 
12661
# Neutralize VPATH when `$srcdir' = `.'.
 
12662
# Shell code in configure.ac might set extrasub.
 
12663
# FIXME: do we really want to maintain this feature?
 
12664
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
12665
ac_sed_extra="$ac_vpsub
 
12666
$extrasub
 
12667
_ACEOF
 
12668
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
12669
:t
 
12670
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
12671
s|@configure_input@|$ac_sed_conf_input|;t t
 
12672
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
12673
s&@top_build_prefix@&$ac_top_build_prefix&;t t
 
12674
s&@srcdir@&$ac_srcdir&;t t
 
12675
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
12676
s&@top_srcdir@&$ac_top_srcdir&;t t
 
12677
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
12678
s&@builddir@&$ac_builddir&;t t
 
12679
s&@abs_builddir@&$ac_abs_builddir&;t t
 
12680
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
12681
s&@INSTALL@&$ac_INSTALL&;t t
 
12682
s&@MKDIR_P@&$ac_MKDIR_P&;t t
 
12683
$ac_datarootdir_hack
 
12684
"
 
12685
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
12686
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
12687
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
12688
   { (exit 1); exit 1; }; }
 
12689
 
 
12690
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
12691
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
12692
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
12693
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
12694
which seems to be undefined.  Please make sure it is defined." >&5
 
12695
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
12696
which seems to be undefined.  Please make sure it is defined." >&2;}
 
12697
 
 
12698
  rm -f "$tmp/stdin"
 
12699
  case $ac_file in
 
12700
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
12701
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
12702
  esac \
 
12703
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
12704
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
12705
   { (exit 1); exit 1; }; }
 
12706
 ;;
 
12707
  :H)
 
12708
  #
 
12709
  # CONFIG_HEADER
 
12710
  #
 
12711
  if test x"$ac_file" != x-; then
 
12712
    {
 
12713
      $as_echo "/* $configure_input  */" \
 
12714
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 
12715
    } >"$tmp/config.h" \
 
12716
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
12717
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
12718
   { (exit 1); exit 1; }; }
 
12719
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
12720
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
12721
$as_echo "$as_me: $ac_file is unchanged" >&6;}
 
12722
    else
 
12723
      rm -f "$ac_file"
 
12724
      mv "$tmp/config.h" "$ac_file" \
 
12725
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
12726
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
12727
   { (exit 1); exit 1; }; }
 
12728
    fi
 
12729
  else
 
12730
    $as_echo "/* $configure_input  */" \
 
12731
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
12732
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
 
12733
$as_echo "$as_me: error: could not create -" >&2;}
 
12734
   { (exit 1); exit 1; }; }
 
12735
  fi
 
12736
# Compute "$ac_file"'s index in $config_headers.
 
12737
_am_arg="$ac_file"
 
12738
_am_stamp_count=1
 
12739
for _am_header in $config_headers :; do
 
12740
  case $_am_header in
 
12741
    $_am_arg | $_am_arg:* )
 
12742
      break ;;
 
12743
    * )
 
12744
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 
12745
  esac
 
12746
done
 
12747
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
12748
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
12749
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
12750
         X"$_am_arg" : 'X\(//\)$' \| \
 
12751
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
12752
$as_echo X"$_am_arg" |
 
12753
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
12754
            s//\1/
 
12755
            q
 
12756
          }
 
12757
          /^X\(\/\/\)[^/].*/{
 
12758
            s//\1/
 
12759
            q
 
12760
          }
 
12761
          /^X\(\/\/\)$/{
 
12762
            s//\1/
 
12763
            q
 
12764
          }
 
12765
          /^X\(\/\).*/{
 
12766
            s//\1/
 
12767
            q
 
12768
          }
 
12769
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
12770
 ;;
 
12771
 
 
12772
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
12773
$as_echo "$as_me: executing $ac_file commands" >&6;}
 
12774
 ;;
 
12775
  esac
 
12776
 
 
12777
 
 
12778
  case $ac_file$ac_mode in
 
12779
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
12780
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
12781
  # are listed without --file.  Let's play safe and only enable the eval
 
12782
  # if we detect the quoting.
 
12783
  case $CONFIG_FILES in
 
12784
  *\'*) eval set x "$CONFIG_FILES" ;;
 
12785
  *)   set x $CONFIG_FILES ;;
 
12786
  esac
 
12787
  shift
 
12788
  for mf
 
12789
  do
 
12790
    # Strip MF so we end up with the name of the file.
 
12791
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
12792
    # Check whether this is an Automake generated Makefile or not.
 
12793
    # We used to match only the files named `Makefile.in', but
 
12794
    # some people rename them; so instead we look at the file content.
 
12795
    # Grep'ing the first line is not enough: some people post-process
 
12796
    # each Makefile.in and add a new line on top of each file to say so.
 
12797
    # Grep'ing the whole file is not good either: AIX grep has a line
 
12798
    # limit of 2048, but all sed's we know have understand at least 4000.
 
12799
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
12800
      dirpart=`$as_dirname -- "$mf" ||
 
12801
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
12802
         X"$mf" : 'X\(//\)[^/]' \| \
 
12803
         X"$mf" : 'X\(//\)$' \| \
 
12804
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 
12805
$as_echo X"$mf" |
 
12806
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
12807
            s//\1/
 
12808
            q
 
12809
          }
 
12810
          /^X\(\/\/\)[^/].*/{
 
12811
            s//\1/
 
12812
            q
 
12813
          }
 
12814
          /^X\(\/\/\)$/{
 
12815
            s//\1/
 
12816
            q
 
12817
          }
 
12818
          /^X\(\/\).*/{
 
12819
            s//\1/
 
12820
            q
 
12821
          }
 
12822
          s/.*/./; q'`
 
12823
    else
 
12824
      continue
 
12825
    fi
 
12826
    # Extract the definition of DEPDIR, am__include, and am__quote
 
12827
    # from the Makefile without running `make'.
 
12828
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
12829
    test -z "$DEPDIR" && continue
 
12830
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
12831
    test -z "am__include" && continue
 
12832
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
12833
    # When using ansi2knr, U may be empty or an underscore; expand it
 
12834
    U=`sed -n 's/^U = //p' < "$mf"`
 
12835
    # Find all dependency output files, they are included files with
 
12836
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
12837
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
12838
    # expansion.
 
12839
    for file in `sed -n "
 
12840
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
12841
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
12842
      # Make sure the directory exists.
 
12843
      test -f "$dirpart/$file" && continue
 
12844
      fdir=`$as_dirname -- "$file" ||
 
12845
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
12846
         X"$file" : 'X\(//\)[^/]' \| \
 
12847
         X"$file" : 'X\(//\)$' \| \
 
12848
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 
12849
$as_echo X"$file" |
 
12850
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
12851
            s//\1/
 
12852
            q
 
12853
          }
 
12854
          /^X\(\/\/\)[^/].*/{
 
12855
            s//\1/
 
12856
            q
 
12857
          }
 
12858
          /^X\(\/\/\)$/{
 
12859
            s//\1/
 
12860
            q
 
12861
          }
 
12862
          /^X\(\/\).*/{
 
12863
            s//\1/
 
12864
            q
 
12865
          }
 
12866
          s/.*/./; q'`
 
12867
      { as_dir=$dirpart/$fdir
 
12868
  case $as_dir in #(
 
12869
  -*) as_dir=./$as_dir;;
 
12870
  esac
 
12871
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 
12872
    as_dirs=
 
12873
    while :; do
 
12874
      case $as_dir in #(
 
12875
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
12876
      *) as_qdir=$as_dir;;
 
12877
      esac
 
12878
      as_dirs="'$as_qdir' $as_dirs"
 
12879
      as_dir=`$as_dirname -- "$as_dir" ||
 
12880
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
12881
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
12882
         X"$as_dir" : 'X\(//\)$' \| \
 
12883
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
12884
$as_echo X"$as_dir" |
 
12885
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
12886
            s//\1/
 
12887
            q
 
12888
          }
 
12889
          /^X\(\/\/\)[^/].*/{
 
12890
            s//\1/
 
12891
            q
 
12892
          }
 
12893
          /^X\(\/\/\)$/{
 
12894
            s//\1/
 
12895
            q
 
12896
          }
 
12897
          /^X\(\/\).*/{
 
12898
            s//\1/
 
12899
            q
 
12900
          }
 
12901
          s/.*/./; q'`
 
12902
      test -d "$as_dir" && break
 
12903
    done
 
12904
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
12905
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
12906
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
12907
   { (exit 1); exit 1; }; }; }
 
12908
      # echo "creating $dirpart/$file"
 
12909
      echo '# dummy' > "$dirpart/$file"
 
12910
    done
 
12911
  done
 
12912
}
 
12913
 ;;
 
12914
    "libtool":C)
 
12915
 
 
12916
    # See if we are running on zsh, and set the options which allow our
 
12917
    # commands through without removal of \ escapes.
 
12918
    if test -n "${ZSH_VERSION+set}" ; then
 
12919
      setopt NO_GLOB_SUBST
 
12920
    fi
 
12921
 
 
12922
    cfgfile="${ofile}T"
 
12923
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
12924
    $RM "$cfgfile"
 
12925
 
 
12926
    cat <<_LT_EOF >> "$cfgfile"
 
12927
#! $SHELL
 
12928
 
 
12929
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
12930
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
12931
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
12932
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
12933
#
 
12934
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
12935
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
12936
#   Written by Gordon Matzigkeit, 1996
 
12937
#
 
12938
#   This file is part of GNU Libtool.
 
12939
#
 
12940
# GNU Libtool is free software; you can redistribute it and/or
 
12941
# modify it under the terms of the GNU General Public License as
 
12942
# published by the Free Software Foundation; either version 2 of
 
12943
# the License, or (at your option) any later version.
 
12944
#
 
12945
# As a special exception to the GNU General Public License,
 
12946
# if you distribute this file as part of a program or library that
 
12947
# is built using GNU Libtool, you may include this file under the
 
12948
# same distribution terms that you use for the rest of that program.
 
12949
#
 
12950
# GNU Libtool is distributed in the hope that it will be useful,
 
12951
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12952
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12953
# GNU General Public License for more details.
 
12954
#
 
12955
# You should have received a copy of the GNU General Public License
 
12956
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
12957
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
12958
# obtained by writing to the Free Software Foundation, Inc.,
 
12959
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
12960
 
 
12961
 
 
12962
# The names of the tagged configurations supported by this script.
 
12963
available_tags=""
 
12964
 
 
12965
# ### BEGIN LIBTOOL CONFIG
 
12966
 
 
12967
# Which release of libtool.m4 was used?
 
12968
macro_version=$macro_version
 
12969
macro_revision=$macro_revision
 
12970
 
 
12971
# Whether or not to build shared libraries.
 
12972
build_libtool_libs=$enable_shared
 
12973
 
 
12974
# Whether or not to build static libraries.
 
12975
build_old_libs=$enable_static
 
12976
 
 
12977
# What type of objects to build.
 
12978
pic_mode=$pic_mode
 
12979
 
 
12980
# Whether or not to optimize for fast installation.
 
12981
fast_install=$enable_fast_install
 
12982
 
 
12983
# The host system.
 
12984
host_alias=$host_alias
 
12985
host=$host
 
12986
host_os=$host_os
 
12987
 
 
12988
# The build system.
 
12989
build_alias=$build_alias
 
12990
build=$build
 
12991
build_os=$build_os
 
12992
 
 
12993
# A sed program that does not truncate output.
 
12994
SED=$lt_SED
 
12995
 
 
12996
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
12997
Xsed="\$SED -e 1s/^X//"
 
12998
 
 
12999
# A grep program that handles long lines.
 
13000
GREP=$lt_GREP
 
13001
 
 
13002
# An ERE matcher.
 
13003
EGREP=$lt_EGREP
 
13004
 
 
13005
# A literal string matcher.
 
13006
FGREP=$lt_FGREP
 
13007
 
 
13008
# A BSD- or MS-compatible name lister.
 
13009
NM=$lt_NM
 
13010
 
 
13011
# Whether we need soft or hard links.
 
13012
LN_S=$lt_LN_S
 
13013
 
 
13014
# What is the maximum length of a command?
 
13015
max_cmd_len=$max_cmd_len
 
13016
 
 
13017
# Object file suffix (normally "o").
 
13018
objext=$ac_objext
 
13019
 
 
13020
# Executable file suffix (normally "").
 
13021
exeext=$exeext
 
13022
 
 
13023
# whether the shell understands "unset".
 
13024
lt_unset=$lt_unset
 
13025
 
 
13026
# turn spaces into newlines.
 
13027
SP2NL=$lt_lt_SP2NL
 
13028
 
 
13029
# turn newlines into spaces.
 
13030
NL2SP=$lt_lt_NL2SP
 
13031
 
 
13032
# How to create reloadable object files.
 
13033
reload_flag=$lt_reload_flag
 
13034
reload_cmds=$lt_reload_cmds
 
13035
 
 
13036
# An object symbol dumper.
 
13037
OBJDUMP=$lt_OBJDUMP
 
13038
 
 
13039
# Method to check whether dependent libraries are shared objects.
 
13040
deplibs_check_method=$lt_deplibs_check_method
 
13041
 
 
13042
# Command to use when deplibs_check_method == "file_magic".
 
13043
file_magic_cmd=$lt_file_magic_cmd
 
13044
 
 
13045
# The archiver.
 
13046
AR=$lt_AR
 
13047
AR_FLAGS=$lt_AR_FLAGS
 
13048
 
 
13049
# A symbol stripping program.
 
13050
STRIP=$lt_STRIP
 
13051
 
 
13052
# Commands used to install an old-style archive.
 
13053
RANLIB=$lt_RANLIB
 
13054
old_postinstall_cmds=$lt_old_postinstall_cmds
 
13055
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
13056
 
 
13057
# A C compiler.
 
13058
LTCC=$lt_CC
 
13059
 
 
13060
# LTCC compiler flags.
 
13061
LTCFLAGS=$lt_CFLAGS
 
13062
 
 
13063
# Take the output of nm and produce a listing of raw symbols and C names.
 
13064
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
13065
 
 
13066
# Transform the output of nm in a proper C declaration.
 
13067
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
13068
 
 
13069
# Transform the output of nm in a C name address pair.
 
13070
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
13071
 
 
13072
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
13073
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
13074
 
 
13075
# The name of the directory that contains temporary libtool files.
 
13076
objdir=$objdir
 
13077
 
 
13078
# Shell to use when invoking shell scripts.
 
13079
SHELL=$lt_SHELL
 
13080
 
 
13081
# An echo program that does not interpret backslashes.
 
13082
ECHO=$lt_ECHO
 
13083
 
 
13084
# Used to examine libraries when file_magic_cmd begins with "file".
 
13085
MAGIC_CMD=$MAGIC_CMD
 
13086
 
 
13087
# Must we lock files when doing compilation?
 
13088
need_locks=$lt_need_locks
 
13089
 
 
13090
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
13091
DSYMUTIL=$lt_DSYMUTIL
 
13092
 
 
13093
# Tool to change global to local symbols on Mac OS X.
 
13094
NMEDIT=$lt_NMEDIT
 
13095
 
 
13096
# Tool to manipulate fat objects and archives on Mac OS X.
 
13097
LIPO=$lt_LIPO
 
13098
 
 
13099
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
13100
OTOOL=$lt_OTOOL
 
13101
 
 
13102
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
13103
OTOOL64=$lt_OTOOL64
 
13104
 
 
13105
# Old archive suffix (normally "a").
 
13106
libext=$libext
 
13107
 
 
13108
# Shared library suffix (normally ".so").
 
13109
shrext_cmds=$lt_shrext_cmds
 
13110
 
 
13111
# The commands to extract the exported symbol list from a shared archive.
 
13112
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
13113
 
 
13114
# Variables whose values should be saved in libtool wrapper scripts and
 
13115
# restored at link time.
 
13116
variables_saved_for_relink=$lt_variables_saved_for_relink
 
13117
 
 
13118
# Do we need the "lib" prefix for modules?
 
13119
need_lib_prefix=$need_lib_prefix
 
13120
 
 
13121
# Do we need a version for libraries?
 
13122
need_version=$need_version
 
13123
 
 
13124
# Library versioning type.
 
13125
version_type=$version_type
 
13126
 
 
13127
# Shared library runtime path variable.
 
13128
runpath_var=$runpath_var
 
13129
 
 
13130
# Shared library path variable.
 
13131
shlibpath_var=$shlibpath_var
 
13132
 
 
13133
# Is shlibpath searched before the hard-coded library search path?
 
13134
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
13135
 
 
13136
# Format of library name prefix.
 
13137
libname_spec=$lt_libname_spec
 
13138
 
 
13139
# List of archive names.  First name is the real one, the rest are links.
 
13140
# The last name is the one that the linker finds with -lNAME
 
13141
library_names_spec=$lt_library_names_spec
 
13142
 
 
13143
# The coded name of the library, if different from the real name.
 
13144
soname_spec=$lt_soname_spec
 
13145
 
 
13146
# Command to use after installation of a shared archive.
 
13147
postinstall_cmds=$lt_postinstall_cmds
 
13148
 
 
13149
# Command to use after uninstallation of a shared archive.
 
13150
postuninstall_cmds=$lt_postuninstall_cmds
 
13151
 
 
13152
# Commands used to finish a libtool library installation in a directory.
 
13153
finish_cmds=$lt_finish_cmds
 
13154
 
 
13155
# As "finish_cmds", except a single script fragment to be evaled but
 
13156
# not shown.
 
13157
finish_eval=$lt_finish_eval
 
13158
 
 
13159
# Whether we should hardcode library paths into libraries.
 
13160
hardcode_into_libs=$hardcode_into_libs
 
13161
 
 
13162
# Compile-time system search path for libraries.
 
13163
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
13164
 
 
13165
# Run-time system search path for libraries.
 
13166
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
13167
 
 
13168
# Whether dlopen is supported.
 
13169
dlopen_support=$enable_dlopen
 
13170
 
 
13171
# Whether dlopen of programs is supported.
 
13172
dlopen_self=$enable_dlopen_self
 
13173
 
 
13174
# Whether dlopen of statically linked programs is supported.
 
13175
dlopen_self_static=$enable_dlopen_self_static
 
13176
 
 
13177
# Commands to strip libraries.
 
13178
old_striplib=$lt_old_striplib
 
13179
striplib=$lt_striplib
 
13180
 
 
13181
 
 
13182
# The linker used to build libraries.
 
13183
LD=$lt_LD
 
13184
 
 
13185
# Commands used to build an old-style archive.
 
13186
old_archive_cmds=$lt_old_archive_cmds
 
13187
 
 
13188
# A language specific compiler.
 
13189
CC=$lt_compiler
 
13190
 
 
13191
# Is the compiler the GNU compiler?
 
13192
with_gcc=$GCC
 
13193
 
 
13194
# Compiler flag to turn off builtin functions.
 
13195
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
13196
 
 
13197
# How to pass a linker flag through the compiler.
 
13198
wl=$lt_lt_prog_compiler_wl
 
13199
 
 
13200
# Additional compiler flags for building library objects.
 
13201
pic_flag=$lt_lt_prog_compiler_pic
 
13202
 
 
13203
# Compiler flag to prevent dynamic linking.
 
13204
link_static_flag=$lt_lt_prog_compiler_static
 
13205
 
 
13206
# Does compiler simultaneously support -c and -o options?
 
13207
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
13208
 
 
13209
# Whether or not to add -lc for building shared libraries.
 
13210
build_libtool_need_lc=$archive_cmds_need_lc
 
13211
 
 
13212
# Whether or not to disallow shared libs when runtime libs are static.
 
13213
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
13214
 
 
13215
# Compiler flag to allow reflexive dlopens.
 
13216
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
13217
 
 
13218
# Compiler flag to generate shared objects directly from archives.
 
13219
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
13220
 
 
13221
# Whether the compiler copes with passing no objects directly.
 
13222
compiler_needs_object=$lt_compiler_needs_object
 
13223
 
 
13224
# Create an old-style archive from a shared archive.
 
13225
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
13226
 
 
13227
# Create a temporary old-style archive to link instead of a shared archive.
 
13228
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
13229
 
 
13230
# Commands used to build a shared archive.
 
13231
archive_cmds=$lt_archive_cmds
 
13232
archive_expsym_cmds=$lt_archive_expsym_cmds
 
13233
 
 
13234
# Commands used to build a loadable module if different from building
 
13235
# a shared archive.
 
13236
module_cmds=$lt_module_cmds
 
13237
module_expsym_cmds=$lt_module_expsym_cmds
 
13238
 
 
13239
# Whether we are building with GNU ld or not.
 
13240
with_gnu_ld=$lt_with_gnu_ld
 
13241
 
 
13242
# Flag that allows shared libraries with undefined symbols to be built.
 
13243
allow_undefined_flag=$lt_allow_undefined_flag
 
13244
 
 
13245
# Flag that enforces no undefined symbols.
 
13246
no_undefined_flag=$lt_no_undefined_flag
 
13247
 
 
13248
# Flag to hardcode \$libdir into a binary during linking.
 
13249
# This must work even if \$libdir does not exist
 
13250
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
13251
 
 
13252
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
13253
# during linking.  This must work even if \$libdir does not exist.
 
13254
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 
13255
 
 
13256
# Whether we need a single "-rpath" flag with a separated argument.
 
13257
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
13258
 
 
13259
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
13260
# DIR into the resulting binary.
 
13261
hardcode_direct=$hardcode_direct
 
13262
 
 
13263
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
13264
# DIR into the resulting binary and the resulting library dependency is
 
13265
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
13266
# library is relocated.
 
13267
hardcode_direct_absolute=$hardcode_direct_absolute
 
13268
 
 
13269
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
13270
# into the resulting binary.
 
13271
hardcode_minus_L=$hardcode_minus_L
 
13272
 
 
13273
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
13274
# into the resulting binary.
 
13275
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
13276
 
 
13277
# Set to "yes" if building a shared library automatically hardcodes DIR
 
13278
# into the library and all subsequent libraries and executables linked
 
13279
# against it.
 
13280
hardcode_automatic=$hardcode_automatic
 
13281
 
 
13282
# Set to yes if linker adds runtime paths of dependent libraries
 
13283
# to runtime path list.
 
13284
inherit_rpath=$inherit_rpath
 
13285
 
 
13286
# Whether libtool must link a program against all its dependency libraries.
 
13287
link_all_deplibs=$link_all_deplibs
 
13288
 
 
13289
# Fix the shell variable \$srcfile for the compiler.
 
13290
fix_srcfile_path=$lt_fix_srcfile_path
 
13291
 
 
13292
# Set to "yes" if exported symbols are required.
 
13293
always_export_symbols=$always_export_symbols
 
13294
 
 
13295
# The commands to list exported symbols.
 
13296
export_symbols_cmds=$lt_export_symbols_cmds
 
13297
 
 
13298
# Symbols that should not be listed in the preloaded symbols.
 
13299
exclude_expsyms=$lt_exclude_expsyms
 
13300
 
 
13301
# Symbols that must always be exported.
 
13302
include_expsyms=$lt_include_expsyms
 
13303
 
 
13304
# Commands necessary for linking programs (against libraries) with templates.
 
13305
prelink_cmds=$lt_prelink_cmds
 
13306
 
 
13307
# Specify filename containing input files.
 
13308
file_list_spec=$lt_file_list_spec
 
13309
 
 
13310
# How to hardcode a shared library path into an executable.
 
13311
hardcode_action=$hardcode_action
 
13312
 
 
13313
# ### END LIBTOOL CONFIG
 
13314
 
 
13315
_LT_EOF
 
13316
 
 
13317
  case $host_os in
 
13318
  aix3*)
 
13319
    cat <<\_LT_EOF >> "$cfgfile"
 
13320
# AIX sometimes has problems with the GCC collect2 program.  For some
 
13321
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
13322
# vanish in a puff of smoke.
 
13323
if test "X${COLLECT_NAMES+set}" != Xset; then
 
13324
  COLLECT_NAMES=
 
13325
  export COLLECT_NAMES
 
13326
fi
 
13327
_LT_EOF
 
13328
    ;;
 
13329
  esac
 
13330
 
 
13331
 
 
13332
ltmain="$ac_aux_dir/ltmain.sh"
 
13333
 
 
13334
 
 
13335
  # We use sed instead of cat because bash on DJGPP gets confused if
 
13336
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
13337
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
13338
  # is reportedly fixed, but why not run on old versions too?
 
13339
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
 
13340
    || (rm -f "$cfgfile"; exit 1)
 
13341
 
 
13342
  case $xsi_shell in
 
13343
  yes)
 
13344
    cat << \_LT_EOF >> "$cfgfile"
 
13345
 
 
13346
# func_dirname file append nondir_replacement
 
13347
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
13348
# otherwise set result to NONDIR_REPLACEMENT.
 
13349
func_dirname ()
 
13350
{
 
13351
  case ${1} in
 
13352
    */*) func_dirname_result="${1%/*}${2}" ;;
 
13353
    *  ) func_dirname_result="${3}" ;;
 
13354
  esac
 
13355
}
 
13356
 
 
13357
# func_basename file
 
13358
func_basename ()
 
13359
{
 
13360
  func_basename_result="${1##*/}"
 
13361
}
 
13362
 
 
13363
# func_dirname_and_basename file append nondir_replacement
 
13364
# perform func_basename and func_dirname in a single function
 
13365
# call:
 
13366
#   dirname:  Compute the dirname of FILE.  If nonempty,
 
13367
#             add APPEND to the result, otherwise set result
 
13368
#             to NONDIR_REPLACEMENT.
 
13369
#             value returned in "$func_dirname_result"
 
13370
#   basename: Compute filename of FILE.
 
13371
#             value retuned in "$func_basename_result"
 
13372
# Implementation must be kept synchronized with func_dirname
 
13373
# and func_basename. For efficiency, we do not delegate to
 
13374
# those functions but instead duplicate the functionality here.
 
13375
func_dirname_and_basename ()
 
13376
{
 
13377
  case ${1} in
 
13378
    */*) func_dirname_result="${1%/*}${2}" ;;
 
13379
    *  ) func_dirname_result="${3}" ;;
 
13380
  esac
 
13381
  func_basename_result="${1##*/}"
 
13382
}
 
13383
 
 
13384
# func_stripname prefix suffix name
 
13385
# strip PREFIX and SUFFIX off of NAME.
 
13386
# PREFIX and SUFFIX must not contain globbing or regex special
 
13387
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
13388
# dot (in which case that matches only a dot).
 
13389
func_stripname ()
 
13390
{
 
13391
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
 
13392
  # positional parameters, so assign one to ordinary parameter first.
 
13393
  func_stripname_result=${3}
 
13394
  func_stripname_result=${func_stripname_result#"${1}"}
 
13395
  func_stripname_result=${func_stripname_result%"${2}"}
 
13396
}
 
13397
 
 
13398
# func_opt_split
 
13399
func_opt_split ()
 
13400
{
 
13401
  func_opt_split_opt=${1%%=*}
 
13402
  func_opt_split_arg=${1#*=}
 
13403
}
 
13404
 
 
13405
# func_lo2o object
 
13406
func_lo2o ()
 
13407
{
 
13408
  case ${1} in
 
13409
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
 
13410
    *)    func_lo2o_result=${1} ;;
 
13411
  esac
 
13412
}
 
13413
 
 
13414
# func_xform libobj-or-source
 
13415
func_xform ()
 
13416
{
 
13417
  func_xform_result=${1%.*}.lo
 
13418
}
 
13419
 
 
13420
# func_arith arithmetic-term...
 
13421
func_arith ()
 
13422
{
 
13423
  func_arith_result=$(( $* ))
 
13424
}
 
13425
 
 
13426
# func_len string
 
13427
# STRING may not start with a hyphen.
 
13428
func_len ()
 
13429
{
 
13430
  func_len_result=${#1}
 
13431
}
 
13432
 
 
13433
_LT_EOF
 
13434
    ;;
 
13435
  *) # Bourne compatible functions.
 
13436
    cat << \_LT_EOF >> "$cfgfile"
 
13437
 
 
13438
# func_dirname file append nondir_replacement
 
13439
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
13440
# otherwise set result to NONDIR_REPLACEMENT.
 
13441
func_dirname ()
 
13442
{
 
13443
  # Extract subdirectory from the argument.
 
13444
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
13445
  if test "X$func_dirname_result" = "X${1}"; then
 
13446
    func_dirname_result="${3}"
 
13447
  else
 
13448
    func_dirname_result="$func_dirname_result${2}"
 
13449
  fi
 
13450
}
 
13451
 
 
13452
# func_basename file
 
13453
func_basename ()
 
13454
{
 
13455
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
13456
}
 
13457
 
 
13458
 
 
13459
# func_stripname prefix suffix name
 
13460
# strip PREFIX and SUFFIX off of NAME.
 
13461
# PREFIX and SUFFIX must not contain globbing or regex special
 
13462
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
13463
# dot (in which case that matches only a dot).
 
13464
# func_strip_suffix prefix name
 
13465
func_stripname ()
 
13466
{
 
13467
  case ${2} in
 
13468
    .*) func_stripname_result=`$ECHO "X${3}" \
 
13469
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
 
13470
    *)  func_stripname_result=`$ECHO "X${3}" \
 
13471
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
13472
  esac
 
13473
}
 
13474
 
 
13475
# sed scripts:
 
13476
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
 
13477
my_sed_long_arg='1s/^-[^=]*=//'
 
13478
 
 
13479
# func_opt_split
 
13480
func_opt_split ()
 
13481
{
 
13482
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
 
13483
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
13484
}
 
13485
 
 
13486
# func_lo2o object
 
13487
func_lo2o ()
 
13488
{
 
13489
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
13490
}
 
13491
 
 
13492
# func_xform libobj-or-source
 
13493
func_xform ()
 
13494
{
 
13495
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
 
13496
}
 
13497
 
 
13498
# func_arith arithmetic-term...
 
13499
func_arith ()
 
13500
{
 
13501
  func_arith_result=`expr "$@"`
 
13502
}
 
13503
 
 
13504
# func_len string
 
13505
# STRING may not start with a hyphen.
 
13506
func_len ()
 
13507
{
 
13508
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
 
13509
}
 
13510
 
 
13511
_LT_EOF
 
13512
esac
 
13513
 
 
13514
case $lt_shell_append in
 
13515
  yes)
 
13516
    cat << \_LT_EOF >> "$cfgfile"
 
13517
 
 
13518
# func_append var value
 
13519
# Append VALUE to the end of shell variable VAR.
 
13520
func_append ()
 
13521
{
 
13522
  eval "$1+=\$2"
 
13523
}
 
13524
_LT_EOF
 
13525
    ;;
 
13526
  *)
 
13527
    cat << \_LT_EOF >> "$cfgfile"
 
13528
 
 
13529
# func_append var value
 
13530
# Append VALUE to the end of shell variable VAR.
 
13531
func_append ()
 
13532
{
 
13533
  eval "$1=\$$1\$2"
 
13534
}
 
13535
 
 
13536
_LT_EOF
 
13537
    ;;
 
13538
  esac
 
13539
 
 
13540
 
 
13541
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
 
13542
    || (rm -f "$cfgfile"; exit 1)
 
13543
 
 
13544
  mv -f "$cfgfile" "$ofile" ||
 
13545
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
13546
  chmod +x "$ofile"
 
13547
 
 
13548
 ;;
 
13549
 
 
13550
  esac
 
13551
done # for ac_tag
 
13552
 
 
13553
 
 
13554
{ (exit 0); exit 0; }
 
13555
_ACEOF
 
13556
chmod +x $CONFIG_STATUS
 
13557
ac_clean_files=$ac_clean_files_save
 
13558
 
 
13559
test $ac_write_fail = 0 ||
 
13560
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
 
13561
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
 
13562
   { (exit 1); exit 1; }; }
 
13563
 
 
13564
 
 
13565
# configure is writing to config.log, and then calls config.status.
 
13566
# config.status does its own redirection, appending to config.log.
 
13567
# Unfortunately, on DOS this fails, as config.log is still kept open
 
13568
# by configure, so config.status won't be able to write to it; its
 
13569
# output is simply discarded.  So we exec the FD to /dev/null,
 
13570
# effectively closing config.log, so it can be properly (re)opened and
 
13571
# appended to by config.status.  When coming back to configure, we
 
13572
# need to make the FD available again.
 
13573
if test "$no_create" != yes; then
 
13574
  ac_cs_success=:
 
13575
  ac_config_status_args=
 
13576
  test "$silent" = yes &&
 
13577
    ac_config_status_args="$ac_config_status_args --quiet"
 
13578
  exec 5>/dev/null
 
13579
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 
13580
  exec 5>>config.log
 
13581
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 
13582
  # would make configure fail if this is the last instruction.
 
13583
  $ac_cs_success || { (exit 1); exit 1; }
 
13584
fi
 
13585
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
13586
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
13587
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
13588
fi
 
13589