~ubuntu-branches/ubuntu/wily/xfce4-netload-plugin/wily

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Jackson Doak
  • Date: 2014-11-23 08:32:18 UTC
  • mfrom: (1.1.7)
  • Revision ID: package-import@ubuntu.com-20141123083218-ybiwguga6wp5hof3
Tags: 1.2.4-0ubuntu1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.68 for xfce4-netload-plugin 1.2.0.
 
3
# Generated by GNU Autoconf 2.69 for xfce4-netload-plugin 1.2.4.
4
4
#
5
5
# Report bugs to <goodies-dev@xfce.org>.
6
6
#
7
7
#
8
 
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10
 
# Foundation, Inc.
 
8
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11
9
#
12
10
#
13
11
# This configure script is free software; the Free Software Foundation
136
134
# CDPATH.
137
135
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
136
 
 
137
# Use a proper internal environment variable to ensure we don't fall
 
138
  # into an infinite loop, continuously re-executing ourselves.
 
139
  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
 
140
    _as_can_reexec=no; export _as_can_reexec;
 
141
    # We cannot yet assume a decent shell, so we have to provide a
 
142
# neutralization value for shells without unset; and this also
 
143
# works around shells that cannot unset nonexistent variables.
 
144
# Preserve -v and -x to the replacement shell.
 
145
BASH_ENV=/dev/null
 
146
ENV=/dev/null
 
147
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
148
case $- in # ((((
 
149
  *v*x* | *x*v* ) as_opts=-vx ;;
 
150
  *v* ) as_opts=-v ;;
 
151
  *x* ) as_opts=-x ;;
 
152
  * ) as_opts= ;;
 
153
esac
 
154
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
 
155
# Admittedly, this is quite paranoid, since all the known shells bail
 
156
# out after a failed `exec'.
 
157
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
 
158
as_fn_exit 255
 
159
  fi
 
160
  # We don't want this to propagate to other subprocesses.
 
161
          { _as_can_reexec=; unset _as_can_reexec;}
139
162
if test "x$CONFIG_SHELL" = x; then
140
163
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141
164
  emulate sh
169
192
else
170
193
  exitcode=1; echo positional parameters were not saved.
171
194
fi
172
 
test x\$exitcode = x0 || exit 1"
 
195
test x\$exitcode = x0 || exit 1
 
196
test -x / || exit 1"
173
197
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174
198
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175
199
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176
200
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
201
 
 
202
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
 
203
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
204
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
205
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
206
    PATH=/empty FPATH=/empty; export PATH FPATH
 
207
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
 
208
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
177
209
test \$(( 1 + 1 )) = 2 || exit 1"
178
210
  if (eval "$as_required") 2>/dev/null; then :
179
211
  as_have_required=yes
214
246
 
215
247
 
216
248
      if test "x$CONFIG_SHELL" != x; then :
217
 
  # We cannot yet assume a decent shell, so we have to provide a
218
 
        # neutralization value for shells without unset; and this also
219
 
        # works around shells that cannot unset nonexistent variables.
220
 
        # Preserve -v and -x to the replacement shell.
221
 
        BASH_ENV=/dev/null
222
 
        ENV=/dev/null
223
 
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
224
 
        export CONFIG_SHELL
225
 
        case $- in # ((((
226
 
          *v*x* | *x*v* ) as_opts=-vx ;;
227
 
          *v* ) as_opts=-v ;;
228
 
          *x* ) as_opts=-x ;;
229
 
          * ) as_opts= ;;
230
 
        esac
231
 
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
 
249
  export CONFIG_SHELL
 
250
             # We cannot yet assume a decent shell, so we have to provide a
 
251
# neutralization value for shells without unset; and this also
 
252
# works around shells that cannot unset nonexistent variables.
 
253
# Preserve -v and -x to the replacement shell.
 
254
BASH_ENV=/dev/null
 
255
ENV=/dev/null
 
256
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
257
case $- in # ((((
 
258
  *v*x* | *x*v* ) as_opts=-vx ;;
 
259
  *v* ) as_opts=-v ;;
 
260
  *x* ) as_opts=-x ;;
 
261
  * ) as_opts= ;;
 
262
esac
 
263
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
 
264
# Admittedly, this is quite paranoid, since all the known shells bail
 
265
# out after a failed `exec'.
 
266
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
 
267
exit 255
232
268
fi
233
269
 
234
270
    if test x$as_have_required = xno; then :
331
367
 
332
368
 
333
369
} # as_fn_mkdir_p
 
370
 
 
371
# as_fn_executable_p FILE
 
372
# -----------------------
 
373
# Test if FILE is an executable regular file.
 
374
as_fn_executable_p ()
 
375
{
 
376
  test -f "$1" && test -x "$1"
 
377
} # as_fn_executable_p
334
378
# as_fn_append VAR VALUE
335
379
# ----------------------
336
380
# Append the text in VALUE to the end of the definition contained in VAR. Take
452
496
  chmod +x "$as_me.lineno" ||
453
497
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
454
498
 
 
499
  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
 
500
  # already done that, so ensure we don't try to do so again and fall
 
501
  # in an infinite loop.  This has already happened in practice.
 
502
  _as_can_reexec=no; export _as_can_reexec
455
503
  # Don't try to exec as it changes $[0], causing all sort of problems
456
504
  # (the dirname of $[0] is not the place where we might find the
457
505
  # original and so on.  Autoconf is especially sensitive to this).
486
534
    # ... but there are two gotchas:
487
535
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
488
536
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
489
 
    # In both cases, we have to default to `cp -p'.
 
537
    # In both cases, we have to default to `cp -pR'.
490
538
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
491
 
      as_ln_s='cp -p'
 
539
      as_ln_s='cp -pR'
492
540
  elif ln conf$$.file conf$$ 2>/dev/null; then
493
541
    as_ln_s=ln
494
542
  else
495
 
    as_ln_s='cp -p'
 
543
    as_ln_s='cp -pR'
496
544
  fi
497
545
else
498
 
  as_ln_s='cp -p'
 
546
  as_ln_s='cp -pR'
499
547
fi
500
548
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
501
549
rmdir conf$$.dir 2>/dev/null
507
555
  as_mkdir_p=false
508
556
fi
509
557
 
510
 
if test -x / >/dev/null 2>&1; then
511
 
  as_test_x='test -x'
512
 
else
513
 
  if ls -dL / >/dev/null 2>&1; then
514
 
    as_ls_L_option=L
515
 
  else
516
 
    as_ls_L_option=
517
 
  fi
518
 
  as_test_x='
519
 
    eval sh -c '\''
520
 
      if test -d "$1"; then
521
 
        test -d "$1/.";
522
 
      else
523
 
        case $1 in #(
524
 
        -*)set "./$1";;
525
 
        esac;
526
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
527
 
        ???[sx]*):;;*)false;;esac;fi
528
 
    '\'' sh
529
 
  '
530
 
fi
531
 
as_executable_p=$as_test_x
 
558
as_test_x='test -x'
 
559
as_executable_p=as_fn_executable_p
532
560
 
533
561
# Sed expression to map a string onto a valid CPP name.
534
562
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536
564
# Sed expression to map a string onto a valid variable name.
537
565
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
538
566
 
 
567
SHELL=${CONFIG_SHELL-/bin/sh}
 
568
 
539
569
 
540
570
test -n "$DJDIR" || exec 7<&0 </dev/null
541
571
exec 6>&1
560
590
# Identity of this package.
561
591
PACKAGE_NAME='xfce4-netload-plugin'
562
592
PACKAGE_TARNAME='xfce4-netload-plugin'
563
 
PACKAGE_VERSION='1.2.0'
564
 
PACKAGE_STRING='xfce4-netload-plugin 1.2.0'
 
593
PACKAGE_VERSION='1.2.4'
 
594
PACKAGE_STRING='xfce4-netload-plugin 1.2.4'
565
595
PACKAGE_BUGREPORT='goodies-dev@xfce.org'
566
596
PACKAGE_URL=''
567
597
 
631
661
PKG_CONFIG
632
662
SOLLIBS
633
663
OS
634
 
EGREP
635
 
GREP
636
 
CPP
637
664
DATADIRNAME
638
665
ALL_LINGUAS
639
666
INTLTOOL_PERL
666
693
INTLTOOL__v_MERGE_0
667
694
INTLTOOL__v_MERGE_
668
695
INTLTOOL_V_MERGE
669
 
AM_DEFAULT_VERBOSITY
670
696
INTLTOOL_EXTRACT
671
697
INTLTOOL_MERGE
672
698
INTLTOOL_UPDATE
673
699
USE_NLS
 
700
CPP
 
701
OTOOL64
 
702
OTOOL
 
703
LIPO
 
704
NMEDIT
 
705
DSYMUTIL
 
706
MANIFEST_TOOL
 
707
RANLIB
 
708
ac_ct_AR
 
709
AR
 
710
DLLTOOL
 
711
OBJDUMP
 
712
LN_S
 
713
NM
 
714
ac_ct_DUMPBIN
 
715
DUMPBIN
 
716
LD
 
717
FGREP
 
718
EGREP
 
719
GREP
 
720
SED
674
721
am__fastdepCC_FALSE
675
722
am__fastdepCC_TRUE
676
723
CCDEPMODE
688
735
LDFLAGS
689
736
CFLAGS
690
737
CC
 
738
LIBTOOL
 
739
AM_BACKSLASH
 
740
AM_DEFAULT_VERBOSITY
 
741
AM_DEFAULT_V
 
742
AM_V
691
743
MAINT
692
744
MAINTAINER_MODE_FALSE
693
745
MAINTAINER_MODE_TRUE
714
766
INSTALL_DATA
715
767
INSTALL_SCRIPT
716
768
INSTALL_PROGRAM
 
769
target_os
 
770
target_vendor
 
771
target_cpu
 
772
target
 
773
host_os
 
774
host_vendor
 
775
host_cpu
 
776
host
 
777
build_os
 
778
build_vendor
 
779
build_cpu
 
780
build
717
781
target_alias
718
782
host_alias
719
783
build_alias
756
820
ac_user_opts='
757
821
enable_option_checking
758
822
enable_maintainer_mode
 
823
enable_silent_rules
 
824
enable_static
 
825
enable_shared
 
826
with_pic
 
827
enable_fast_install
759
828
enable_dependency_tracking
 
829
with_gnu_ld
 
830
with_sysroot
 
831
enable_libtool_lock
760
832
enable_nls
761
833
with_locales_dir
762
834
enable_debug
1228
1300
if test "x$host_alias" != x; then
1229
1301
  if test "x$build_alias" = x; then
1230
1302
    cross_compiling=maybe
1231
 
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1232
 
    If a cross compiler is detected then cross compile mode will be used" >&2
1233
1303
  elif test "x$build_alias" != "x$host_alias"; then
1234
1304
    cross_compiling=yes
1235
1305
  fi
1315
1385
  # Omit some internal or obsolete options to make the list less imposing.
1316
1386
  # This message is too long to be a string in the A/UX 3.1 sh.
1317
1387
  cat <<_ACEOF
1318
 
\`configure' configures xfce4-netload-plugin 1.2.0 to adapt to many kinds of systems.
 
1388
\`configure' configures xfce4-netload-plugin 1.2.4 to adapt to many kinds of systems.
1319
1389
 
1320
1390
Usage: $0 [OPTION]... [VAR=VALUE]...
1321
1391
 
1377
1447
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1378
1448
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1379
1449
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 
1450
 
 
1451
System types:
 
1452
  --build=BUILD     configure for building on BUILD [guessed]
 
1453
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 
1454
  --target=TARGET   configure for building compilers for TARGET [HOST]
1380
1455
_ACEOF
1381
1456
fi
1382
1457
 
1383
1458
if test -n "$ac_init_help"; then
1384
1459
  case $ac_init_help in
1385
 
     short | recursive ) echo "Configuration of xfce4-netload-plugin 1.2.0:";;
 
1460
     short | recursive ) echo "Configuration of xfce4-netload-plugin 1.2.4:";;
1386
1461
   esac
1387
1462
  cat <<\_ACEOF
1388
1463
 
1392
1467
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1393
1468
  --enable-maintainer-mode  enable make rules and dependencies not useful
1394
1469
                          (and sometimes confusing) to the casual installer
 
1470
  --enable-silent-rules          less verbose build output (undo: `make V=1')
 
1471
  --disable-silent-rules         verbose build output (undo: `make V=0')
 
1472
  --enable-static[=PKGS]  build static libraries [default=no]
 
1473
  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
1474
  --enable-fast-install[=PKGS]
 
1475
                          optimize for fast installation [default=yes]
1395
1476
  --disable-dependency-tracking  speeds up one-time build
1396
1477
  --enable-dependency-tracking   do not reject slow dependency extractors
 
1478
  --disable-libtool-lock  avoid locking (might break parallel builds)
1397
1479
  --disable-nls           do not use Native Language Support
1398
1480
  --enable-debug[=no|minimum|yes|full]
1399
1481
                          Build with debugging support [default=[]]
1402
1484
Optional Packages:
1403
1485
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1404
1486
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
1487
  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
 
1488
                          both]
 
1489
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1490
  --with-sysroot=DIR Search for dependent libraries within DIR
 
1491
                        (or the compiler's sysroot if not specified).
1405
1492
 
1406
1493
      --with-locales-dir=DIR  Install locales into DIR
1407
1494
 
1487
1574
test -n "$ac_init_help" && exit $ac_status
1488
1575
if $ac_init_version; then
1489
1576
  cat <<\_ACEOF
1490
 
xfce4-netload-plugin configure 1.2.0
1491
 
generated by GNU Autoconf 2.68
 
1577
xfce4-netload-plugin configure 1.2.4
 
1578
generated by GNU Autoconf 2.69
1492
1579
 
1493
 
Copyright (C) 2010 Free Software Foundation, Inc.
 
1580
Copyright (C) 2012 Free Software Foundation, Inc.
1494
1581
This configure script is free software; the Free Software Foundation
1495
1582
gives unlimited permission to copy, distribute and modify it.
1496
1583
_ACEOF
1566
1653
         test ! -s conftest.err
1567
1654
       } && test -s conftest$ac_exeext && {
1568
1655
         test "$cross_compiling" = yes ||
1569
 
         $as_test_x conftest$ac_exeext
 
1656
         test -x conftest$ac_exeext
1570
1657
       }; then :
1571
1658
  ac_retval=0
1572
1659
else
1585
1672
 
1586
1673
} # ac_fn_c_try_link
1587
1674
 
 
1675
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1676
# -------------------------------------------------------
 
1677
# Tests whether HEADER exists and can be compiled using the include files in
 
1678
# INCLUDES, setting the cache variable VAR accordingly.
 
1679
ac_fn_c_check_header_compile ()
 
1680
{
 
1681
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1682
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1683
$as_echo_n "checking for $2... " >&6; }
 
1684
if eval \${$3+:} false; then :
 
1685
  $as_echo_n "(cached) " >&6
 
1686
else
 
1687
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1688
/* end confdefs.h.  */
 
1689
$4
 
1690
#include <$2>
 
1691
_ACEOF
 
1692
if ac_fn_c_try_compile "$LINENO"; then :
 
1693
  eval "$3=yes"
 
1694
else
 
1695
  eval "$3=no"
 
1696
fi
 
1697
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1698
fi
 
1699
eval ac_res=\$$3
 
1700
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1701
$as_echo "$ac_res" >&6; }
 
1702
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1703
 
 
1704
} # ac_fn_c_check_header_compile
 
1705
 
 
1706
# ac_fn_c_try_cpp LINENO
 
1707
# ----------------------
 
1708
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1709
ac_fn_c_try_cpp ()
 
1710
{
 
1711
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1712
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1713
case "(($ac_try" in
 
1714
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1715
  *) ac_try_echo=$ac_try;;
 
1716
esac
 
1717
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1718
$as_echo "$ac_try_echo"; } >&5
 
1719
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1720
  ac_status=$?
 
1721
  if test -s conftest.err; then
 
1722
    grep -v '^ *+' conftest.err >conftest.er1
 
1723
    cat conftest.er1 >&5
 
1724
    mv -f conftest.er1 conftest.err
 
1725
  fi
 
1726
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1727
  test $ac_status = 0; } > conftest.i && {
 
1728
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1729
         test ! -s conftest.err
 
1730
       }; then :
 
1731
  ac_retval=0
 
1732
else
 
1733
  $as_echo "$as_me: failed program was:" >&5
 
1734
sed 's/^/| /' conftest.$ac_ext >&5
 
1735
 
 
1736
    ac_retval=1
 
1737
fi
 
1738
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1739
  as_fn_set_status $ac_retval
 
1740
 
 
1741
} # ac_fn_c_try_cpp
 
1742
 
 
1743
# ac_fn_c_try_run LINENO
 
1744
# ----------------------
 
1745
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1746
# that executables *can* be run.
 
1747
ac_fn_c_try_run ()
 
1748
{
 
1749
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1750
  if { { ac_try="$ac_link"
 
1751
case "(($ac_try" in
 
1752
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1753
  *) ac_try_echo=$ac_try;;
 
1754
esac
 
1755
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1756
$as_echo "$ac_try_echo"; } >&5
 
1757
  (eval "$ac_link") 2>&5
 
1758
  ac_status=$?
 
1759
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1760
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1761
  { { case "(($ac_try" in
 
1762
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1763
  *) ac_try_echo=$ac_try;;
 
1764
esac
 
1765
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1766
$as_echo "$ac_try_echo"; } >&5
 
1767
  (eval "$ac_try") 2>&5
 
1768
  ac_status=$?
 
1769
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1770
  test $ac_status = 0; }; }; then :
 
1771
  ac_retval=0
 
1772
else
 
1773
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1774
       $as_echo "$as_me: failed program was:" >&5
 
1775
sed 's/^/| /' conftest.$ac_ext >&5
 
1776
 
 
1777
       ac_retval=$ac_status
 
1778
fi
 
1779
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1780
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1781
  as_fn_set_status $ac_retval
 
1782
 
 
1783
} # ac_fn_c_try_run
 
1784
 
1588
1785
# ac_fn_c_check_func LINENO FUNC VAR
1589
1786
# ----------------------------------
1590
1787
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1652
1849
 
1653
1850
} # ac_fn_c_check_func
1654
1851
 
1655
 
# ac_fn_c_try_cpp LINENO
1656
 
# ----------------------
1657
 
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1658
 
ac_fn_c_try_cpp ()
1659
 
{
1660
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1661
 
  if { { ac_try="$ac_cpp conftest.$ac_ext"
1662
 
case "(($ac_try" in
1663
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1664
 
  *) ac_try_echo=$ac_try;;
1665
 
esac
1666
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1667
 
$as_echo "$ac_try_echo"; } >&5
1668
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1669
 
  ac_status=$?
1670
 
  if test -s conftest.err; then
1671
 
    grep -v '^ *+' conftest.err >conftest.er1
1672
 
    cat conftest.er1 >&5
1673
 
    mv -f conftest.er1 conftest.err
1674
 
  fi
1675
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1676
 
  test $ac_status = 0; } > conftest.i && {
1677
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1678
 
         test ! -s conftest.err
1679
 
       }; then :
1680
 
  ac_retval=0
1681
 
else
1682
 
  $as_echo "$as_me: failed program was:" >&5
1683
 
sed 's/^/| /' conftest.$ac_ext >&5
1684
 
 
1685
 
    ac_retval=1
1686
 
fi
1687
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1688
 
  as_fn_set_status $ac_retval
1689
 
 
1690
 
} # ac_fn_c_try_cpp
1691
 
 
1692
 
# ac_fn_c_try_run LINENO
1693
 
# ----------------------
1694
 
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1695
 
# that executables *can* be run.
1696
 
ac_fn_c_try_run ()
1697
 
{
1698
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1699
 
  if { { ac_try="$ac_link"
1700
 
case "(($ac_try" in
1701
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1702
 
  *) ac_try_echo=$ac_try;;
1703
 
esac
1704
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1705
 
$as_echo "$ac_try_echo"; } >&5
1706
 
  (eval "$ac_link") 2>&5
1707
 
  ac_status=$?
1708
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1709
 
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1710
 
  { { case "(($ac_try" in
1711
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1712
 
  *) ac_try_echo=$ac_try;;
1713
 
esac
1714
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1715
 
$as_echo "$ac_try_echo"; } >&5
1716
 
  (eval "$ac_try") 2>&5
1717
 
  ac_status=$?
1718
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1719
 
  test $ac_status = 0; }; }; then :
1720
 
  ac_retval=0
1721
 
else
1722
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
1723
 
       $as_echo "$as_me: failed program was:" >&5
1724
 
sed 's/^/| /' conftest.$ac_ext >&5
1725
 
 
1726
 
       ac_retval=$ac_status
1727
 
fi
1728
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1729
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1730
 
  as_fn_set_status $ac_retval
1731
 
 
1732
 
} # ac_fn_c_try_run
1733
 
 
1734
1852
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1735
1853
# -------------------------------------------------------
1736
1854
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1822
1940
 
1823
1941
} # ac_fn_c_check_header_mongrel
1824
1942
 
1825
 
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1826
 
# -------------------------------------------------------
1827
 
# Tests whether HEADER exists and can be compiled using the include files in
1828
 
# INCLUDES, setting the cache variable VAR accordingly.
1829
 
ac_fn_c_check_header_compile ()
1830
 
{
1831
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1832
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1833
 
$as_echo_n "checking for $2... " >&6; }
1834
 
if eval \${$3+:} false; then :
1835
 
  $as_echo_n "(cached) " >&6
1836
 
else
1837
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1838
 
/* end confdefs.h.  */
1839
 
$4
1840
 
#include <$2>
1841
 
_ACEOF
1842
 
if ac_fn_c_try_compile "$LINENO"; then :
1843
 
  eval "$3=yes"
1844
 
else
1845
 
  eval "$3=no"
1846
 
fi
1847
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1848
 
fi
1849
 
eval ac_res=\$$3
1850
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1851
 
$as_echo "$ac_res" >&6; }
1852
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1853
 
 
1854
 
} # ac_fn_c_check_header_compile
1855
 
 
1856
1943
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1857
1944
# -------------------------------------------
1858
1945
# Tests whether TYPE exists after having included INCLUDES, setting cache
1910
1997
This file contains any messages produced by compilers while
1911
1998
running configure, to aid debugging if configure makes a mistake.
1912
1999
 
1913
 
It was created by xfce4-netload-plugin $as_me 1.2.0, which was
1914
 
generated by GNU Autoconf 2.68.  Invocation command line was
 
2000
It was created by xfce4-netload-plugin $as_me 1.2.4, which was
 
2001
generated by GNU Autoconf 2.69.  Invocation command line was
1915
2002
 
1916
2003
  $ $0 $@
1917
2004
 
2258
2345
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2259
2346
 
2260
2347
 
 
2348
ac_config_headers="$ac_config_headers config.h"
2261
2349
 
2262
 
NETLOAD_VERSION=1.2.0
2263
 
am__api_version='1.11'
2264
2350
 
2265
2351
ac_aux_dir=
2266
2352
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2291
2377
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2292
2378
 
2293
2379
 
 
2380
# Make sure we can run config.sub.
 
2381
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
2382
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
2383
 
 
2384
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 
2385
$as_echo_n "checking build system type... " >&6; }
 
2386
if ${ac_cv_build+:} false; then :
 
2387
  $as_echo_n "(cached) " >&6
 
2388
else
 
2389
  ac_build_alias=$build_alias
 
2390
test "x$ac_build_alias" = x &&
 
2391
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
2392
test "x$ac_build_alias" = x &&
 
2393
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 
2394
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
2395
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
2396
 
 
2397
fi
 
2398
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 
2399
$as_echo "$ac_cv_build" >&6; }
 
2400
case $ac_cv_build in
 
2401
*-*-*) ;;
 
2402
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 
2403
esac
 
2404
build=$ac_cv_build
 
2405
ac_save_IFS=$IFS; IFS='-'
 
2406
set x $ac_cv_build
 
2407
shift
 
2408
build_cpu=$1
 
2409
build_vendor=$2
 
2410
shift; shift
 
2411
# Remember, the first character of IFS is used to create $*,
 
2412
# except with old shells:
 
2413
build_os=$*
 
2414
IFS=$ac_save_IFS
 
2415
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
2416
 
 
2417
 
 
2418
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 
2419
$as_echo_n "checking host system type... " >&6; }
 
2420
if ${ac_cv_host+:} false; then :
 
2421
  $as_echo_n "(cached) " >&6
 
2422
else
 
2423
  if test "x$host_alias" = x; then
 
2424
  ac_cv_host=$ac_cv_build
 
2425
else
 
2426
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
2427
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
2428
fi
 
2429
 
 
2430
fi
 
2431
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 
2432
$as_echo "$ac_cv_host" >&6; }
 
2433
case $ac_cv_host in
 
2434
*-*-*) ;;
 
2435
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
 
2436
esac
 
2437
host=$ac_cv_host
 
2438
ac_save_IFS=$IFS; IFS='-'
 
2439
set x $ac_cv_host
 
2440
shift
 
2441
host_cpu=$1
 
2442
host_vendor=$2
 
2443
shift; shift
 
2444
# Remember, the first character of IFS is used to create $*,
 
2445
# except with old shells:
 
2446
host_os=$*
 
2447
IFS=$ac_save_IFS
 
2448
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
2449
 
 
2450
 
 
2451
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
 
2452
$as_echo_n "checking target system type... " >&6; }
 
2453
if ${ac_cv_target+:} false; then :
 
2454
  $as_echo_n "(cached) " >&6
 
2455
else
 
2456
  if test "x$target_alias" = x; then
 
2457
  ac_cv_target=$ac_cv_host
 
2458
else
 
2459
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
 
2460
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
 
2461
fi
 
2462
 
 
2463
fi
 
2464
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
 
2465
$as_echo "$ac_cv_target" >&6; }
 
2466
case $ac_cv_target in
 
2467
*-*-*) ;;
 
2468
*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
 
2469
esac
 
2470
target=$ac_cv_target
 
2471
ac_save_IFS=$IFS; IFS='-'
 
2472
set x $ac_cv_target
 
2473
shift
 
2474
target_cpu=$1
 
2475
target_vendor=$2
 
2476
shift; shift
 
2477
# Remember, the first character of IFS is used to create $*,
 
2478
# except with old shells:
 
2479
target_os=$*
 
2480
IFS=$ac_save_IFS
 
2481
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
 
2482
 
 
2483
 
 
2484
# The aliases save the names the user supplied, while $host etc.
 
2485
# will get canonicalized.
 
2486
test -n "$target_alias" &&
 
2487
  test "$program_prefix$program_suffix$program_transform_name" = \
 
2488
    NONENONEs,x,x, &&
 
2489
  program_prefix=${target_alias}-
 
2490
 
 
2491
am__api_version='1.11'
 
2492
 
2294
2493
# Find a good install program.  We prefer a C program (faster),
2295
2494
# so one script is as good as another.  But avoid the broken or
2296
2495
# incompatible versions:
2328
2527
    # by default.
2329
2528
    for ac_prog in ginstall scoinst install; do
2330
2529
      for ac_exec_ext in '' $ac_executable_extensions; do
2331
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
2530
        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2332
2531
          if test $ac_prog = install &&
2333
2532
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2334
2533
            # AIX install.  It has an incompatible calling convention.
2497
2696
  IFS=$as_save_IFS
2498
2697
  test -z "$as_dir" && as_dir=.
2499
2698
    for ac_exec_ext in '' $ac_executable_extensions; do
2500
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2699
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2501
2700
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2502
2701
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2503
2702
    break 2
2537
2736
  IFS=$as_save_IFS
2538
2737
  test -z "$as_dir" && as_dir=.
2539
2738
    for ac_exec_ext in '' $ac_executable_extensions; do
2540
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2739
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2541
2740
    ac_cv_prog_ac_ct_STRIP="strip"
2542
2741
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2543
2742
    break 2
2588
2787
  test -z "$as_dir" && as_dir=.
2589
2788
    for ac_prog in mkdir gmkdir; do
2590
2789
         for ac_exec_ext in '' $ac_executable_extensions; do
2591
 
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
2790
           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2592
2791
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2593
2792
             'mkdir (GNU coreutils) '* | \
2594
2793
             'mkdir (coreutils) '* | \
2641
2840
  IFS=$as_save_IFS
2642
2841
  test -z "$as_dir" && as_dir=.
2643
2842
    for ac_exec_ext in '' $ac_executable_extensions; do
2644
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2843
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2645
2844
    ac_cv_prog_AWK="$ac_prog"
2646
2845
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2647
2846
    break 2
2726
2925
 
2727
2926
 
2728
2927
# Define the identity of the package.
2729
 
 PACKAGE=xfce4-netload-plugin
2730
 
 VERSION=$NETLOAD_VERSION
 
2928
 PACKAGE='xfce4-netload-plugin'
 
2929
 VERSION='1.2.4'
2731
2930
 
2732
2931
 
2733
2932
cat >>confdefs.h <<_ACEOF
2767
2966
 
2768
2967
 
2769
2968
 
2770
 
ac_config_headers="$ac_config_headers config.h"
2771
 
 
2772
 
 
2773
2969
 
2774
2970
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2775
2971
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2793
2989
  MAINT=$MAINTAINER_MODE_TRUE
2794
2990
 
2795
2991
 
 
2992
# Check whether --enable-silent-rules was given.
 
2993
if test "${enable_silent_rules+set}" = set; then :
 
2994
  enableval=$enable_silent_rules;
 
2995
fi
 
2996
 
 
2997
case $enable_silent_rules in
 
2998
yes) AM_DEFAULT_VERBOSITY=0;;
 
2999
no)  AM_DEFAULT_VERBOSITY=1;;
 
3000
*)   AM_DEFAULT_VERBOSITY=0;;
 
3001
esac
 
3002
am_make=${MAKE-make}
 
3003
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
 
3004
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
 
3005
if ${am_cv_make_support_nested_variables+:} false; then :
 
3006
  $as_echo_n "(cached) " >&6
 
3007
else
 
3008
  if $as_echo 'TRUE=$(BAR$(V))
 
3009
BAR0=false
 
3010
BAR1=true
 
3011
V=1
 
3012
am__doit:
 
3013
        @$(TRUE)
 
3014
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
 
3015
  am_cv_make_support_nested_variables=yes
 
3016
else
 
3017
  am_cv_make_support_nested_variables=no
 
3018
fi
 
3019
fi
 
3020
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
 
3021
$as_echo "$am_cv_make_support_nested_variables" >&6; }
 
3022
if test $am_cv_make_support_nested_variables = yes; then
 
3023
    AM_V='$(V)'
 
3024
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 
3025
else
 
3026
  AM_V=$AM_DEFAULT_VERBOSITY
 
3027
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 
3028
fi
 
3029
AM_BACKSLASH='\'
 
3030
 
 
3031
 
 
3032
 
 
3033
case `pwd` in
 
3034
  *\ * | *\     *)
 
3035
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
3036
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
3037
esac
 
3038
 
 
3039
 
 
3040
 
 
3041
macro_version='2.4.2'
 
3042
macro_revision='1.3337'
 
3043
 
 
3044
 
 
3045
 
 
3046
 
 
3047
 
 
3048
 
 
3049
 
 
3050
 
 
3051
 
 
3052
 
 
3053
 
 
3054
 
 
3055
 
 
3056
ltmain="$ac_aux_dir/ltmain.sh"
 
3057
 
 
3058
# Backslashify metacharacters that are still active within
 
3059
# double-quoted strings.
 
3060
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
3061
 
 
3062
# Same as above, but do not quote variable references.
 
3063
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
3064
 
 
3065
# Sed substitution to delay expansion of an escaped shell variable in a
 
3066
# double_quote_subst'ed string.
 
3067
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
3068
 
 
3069
# Sed substitution to delay expansion of an escaped single quote.
 
3070
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
3071
 
 
3072
# Sed substitution to avoid accidental globbing in evaled expressions
 
3073
no_glob_subst='s/\*/\\\*/g'
 
3074
 
 
3075
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
3076
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
3077
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
3078
 
 
3079
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 
3080
$as_echo_n "checking how to print strings... " >&6; }
 
3081
# Test print first, because it will be a builtin if present.
 
3082
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 
3083
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
3084
  ECHO='print -r --'
 
3085
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
3086
  ECHO='printf %s\n'
 
3087
else
 
3088
  # Use this function as a fallback that always works.
 
3089
  func_fallback_echo ()
 
3090
  {
 
3091
    eval 'cat <<_LTECHO_EOF
 
3092
$1
 
3093
_LTECHO_EOF'
 
3094
  }
 
3095
  ECHO='func_fallback_echo'
 
3096
fi
 
3097
 
 
3098
# func_echo_all arg...
 
3099
# Invoke $ECHO with all args, space-separated.
 
3100
func_echo_all ()
 
3101
{
 
3102
    $ECHO ""
 
3103
}
 
3104
 
 
3105
case "$ECHO" in
 
3106
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 
3107
$as_echo "printf" >&6; } ;;
 
3108
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 
3109
$as_echo "print -r" >&6; } ;;
 
3110
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 
3111
$as_echo "cat" >&6; } ;;
 
3112
esac
 
3113
 
 
3114
 
 
3115
 
 
3116
 
 
3117
 
 
3118
 
 
3119
 
 
3120
 
 
3121
 
 
3122
 
 
3123
 
 
3124
 
 
3125
 
 
3126
 
 
3127
DEPDIR="${am__leading_dot}deps"
 
3128
 
 
3129
ac_config_commands="$ac_config_commands depfiles"
 
3130
 
 
3131
 
 
3132
am_make=${MAKE-make}
 
3133
cat > confinc << 'END'
 
3134
am__doit:
 
3135
        @echo this is the am__doit target
 
3136
.PHONY: am__doit
 
3137
END
 
3138
# If we don't find an include directive, just comment out the code.
 
3139
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
3140
$as_echo_n "checking for style of include used by $am_make... " >&6; }
 
3141
am__include="#"
 
3142
am__quote=
 
3143
_am_result=none
 
3144
# First try GNU make style include.
 
3145
echo "include confinc" > confmf
 
3146
# Ignore all kinds of additional output from `make'.
 
3147
case `$am_make -s -f confmf 2> /dev/null` in #(
 
3148
*the\ am__doit\ target*)
 
3149
  am__include=include
 
3150
  am__quote=
 
3151
  _am_result=GNU
 
3152
  ;;
 
3153
esac
 
3154
# Now try BSD make style include.
 
3155
if test "$am__include" = "#"; then
 
3156
   echo '.include "confinc"' > confmf
 
3157
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
3158
   *the\ am__doit\ target*)
 
3159
     am__include=.include
 
3160
     am__quote="\""
 
3161
     _am_result=BSD
 
3162
     ;;
 
3163
   esac
 
3164
fi
 
3165
 
 
3166
 
 
3167
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
3168
$as_echo "$_am_result" >&6; }
 
3169
rm -f confinc confmf
 
3170
 
 
3171
# Check whether --enable-dependency-tracking was given.
 
3172
if test "${enable_dependency_tracking+set}" = set; then :
 
3173
  enableval=$enable_dependency_tracking;
 
3174
fi
 
3175
 
 
3176
if test "x$enable_dependency_tracking" != xno; then
 
3177
  am_depcomp="$ac_aux_dir/depcomp"
 
3178
  AMDEPBACKSLASH='\'
 
3179
  am__nodep='_no'
 
3180
fi
 
3181
 if test "x$enable_dependency_tracking" != xno; then
 
3182
  AMDEP_TRUE=
 
3183
  AMDEP_FALSE='#'
 
3184
else
 
3185
  AMDEP_TRUE='#'
 
3186
  AMDEP_FALSE=
 
3187
fi
 
3188
 
2796
3189
 
2797
3190
ac_ext=c
2798
3191
ac_cpp='$CPP $CPPFLAGS'
2816
3209
  IFS=$as_save_IFS
2817
3210
  test -z "$as_dir" && as_dir=.
2818
3211
    for ac_exec_ext in '' $ac_executable_extensions; do
2819
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3212
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2820
3213
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2821
3214
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2822
3215
    break 2
2856
3249
  IFS=$as_save_IFS
2857
3250
  test -z "$as_dir" && as_dir=.
2858
3251
    for ac_exec_ext in '' $ac_executable_extensions; do
2859
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3252
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2860
3253
    ac_cv_prog_ac_ct_CC="gcc"
2861
3254
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2862
3255
    break 2
2909
3302
  IFS=$as_save_IFS
2910
3303
  test -z "$as_dir" && as_dir=.
2911
3304
    for ac_exec_ext in '' $ac_executable_extensions; do
2912
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3305
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2913
3306
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2914
3307
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2915
3308
    break 2
2950
3343
  IFS=$as_save_IFS
2951
3344
  test -z "$as_dir" && as_dir=.
2952
3345
    for ac_exec_ext in '' $ac_executable_extensions; do
2953
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3346
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2954
3347
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2955
3348
       ac_prog_rejected=yes
2956
3349
       continue
3008
3401
  IFS=$as_save_IFS
3009
3402
  test -z "$as_dir" && as_dir=.
3010
3403
    for ac_exec_ext in '' $ac_executable_extensions; do
3011
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3404
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3012
3405
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3013
3406
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3014
3407
    break 2
3052
3445
  IFS=$as_save_IFS
3053
3446
  test -z "$as_dir" && as_dir=.
3054
3447
    for ac_exec_ext in '' $ac_executable_extensions; do
3055
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3448
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3056
3449
    ac_cv_prog_ac_ct_CC="$ac_prog"
3057
3450
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3058
3451
    break 2
3498
3891
/* end confdefs.h.  */
3499
3892
#include <stdarg.h>
3500
3893
#include <stdio.h>
3501
 
#include <sys/types.h>
3502
 
#include <sys/stat.h>
3503
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3504
 
struct buf { int x; };
3505
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3506
 
static char *e (p, i)
3507
 
     char **p;
3508
 
     int i;
3509
 
{
3510
 
  return p[i];
3511
 
}
3512
 
static char *f (char * (*g) (char **, int), char **p, ...)
3513
 
{
3514
 
  char *s;
3515
 
  va_list v;
3516
 
  va_start (v,p);
3517
 
  s = g (p, va_arg (v,int));
3518
 
  va_end (v);
3519
 
  return s;
3520
 
}
3521
 
 
3522
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3523
 
   function prototypes and stuff, but not '\xHH' hex character constants.
3524
 
   These don't provoke an error unfortunately, instead are silently treated
3525
 
   as 'x'.  The following induces an error, until -std is added to get
3526
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3527
 
   array size at least.  It's necessary to write '\x00'==0 to get something
3528
 
   that's true only with -std.  */
3529
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3530
 
 
3531
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3532
 
   inside strings and character constants.  */
3533
 
#define FOO(x) 'x'
3534
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3535
 
 
3536
 
int test (int i, double x);
3537
 
struct s1 {int (*f) (int a);};
3538
 
struct s2 {int (*f) (double a);};
3539
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3540
 
int argc;
3541
 
char **argv;
3542
 
int
3543
 
main ()
3544
 
{
3545
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3546
 
  ;
3547
 
  return 0;
3548
 
}
3549
 
_ACEOF
3550
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3551
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3552
 
do
3553
 
  CC="$ac_save_CC $ac_arg"
3554
 
  if ac_fn_c_try_compile "$LINENO"; then :
3555
 
  ac_cv_prog_cc_c89=$ac_arg
3556
 
fi
3557
 
rm -f core conftest.err conftest.$ac_objext
3558
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3559
 
done
3560
 
rm -f conftest.$ac_ext
3561
 
CC=$ac_save_CC
3562
 
 
3563
 
fi
3564
 
# AC_CACHE_VAL
3565
 
case "x$ac_cv_prog_cc_c89" in
3566
 
  x)
3567
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3568
 
$as_echo "none needed" >&6; } ;;
3569
 
  xno)
3570
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3571
 
$as_echo "unsupported" >&6; } ;;
3572
 
  *)
3573
 
    CC="$CC $ac_cv_prog_cc_c89"
3574
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3575
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3576
 
esac
3577
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
3578
 
 
3579
 
fi
3580
 
 
3581
 
ac_ext=c
3582
 
ac_cpp='$CPP $CPPFLAGS'
3583
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3584
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3585
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3586
 
DEPDIR="${am__leading_dot}deps"
3587
 
 
3588
 
ac_config_commands="$ac_config_commands depfiles"
3589
 
 
3590
 
 
3591
 
am_make=${MAKE-make}
3592
 
cat > confinc << 'END'
3593
 
am__doit:
3594
 
        @echo this is the am__doit target
3595
 
.PHONY: am__doit
3596
 
END
3597
 
# If we don't find an include directive, just comment out the code.
3598
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3599
 
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3600
 
am__include="#"
3601
 
am__quote=
3602
 
_am_result=none
3603
 
# First try GNU make style include.
3604
 
echo "include confinc" > confmf
3605
 
# Ignore all kinds of additional output from `make'.
3606
 
case `$am_make -s -f confmf 2> /dev/null` in #(
3607
 
*the\ am__doit\ target*)
3608
 
  am__include=include
3609
 
  am__quote=
3610
 
  _am_result=GNU
3611
 
  ;;
3612
 
esac
3613
 
# Now try BSD make style include.
3614
 
if test "$am__include" = "#"; then
3615
 
   echo '.include "confinc"' > confmf
3616
 
   case `$am_make -s -f confmf 2> /dev/null` in #(
3617
 
   *the\ am__doit\ target*)
3618
 
     am__include=.include
3619
 
     am__quote="\""
3620
 
     _am_result=BSD
3621
 
     ;;
3622
 
   esac
3623
 
fi
3624
 
 
3625
 
 
3626
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3627
 
$as_echo "$_am_result" >&6; }
3628
 
rm -f confinc confmf
3629
 
 
3630
 
# Check whether --enable-dependency-tracking was given.
3631
 
if test "${enable_dependency_tracking+set}" = set; then :
3632
 
  enableval=$enable_dependency_tracking;
3633
 
fi
3634
 
 
3635
 
if test "x$enable_dependency_tracking" != xno; then
3636
 
  am_depcomp="$ac_aux_dir/depcomp"
3637
 
  AMDEPBACKSLASH='\'
3638
 
  am__nodep='_no'
3639
 
fi
3640
 
 if test "x$enable_dependency_tracking" != xno; then
3641
 
  AMDEP_TRUE=
3642
 
  AMDEP_FALSE='#'
3643
 
else
3644
 
  AMDEP_TRUE='#'
3645
 
  AMDEP_FALSE=
3646
 
fi
3647
 
 
3648
 
 
 
3894
struct stat;
 
3895
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
3896
struct buf { int x; };
 
3897
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
3898
static char *e (p, i)
 
3899
     char **p;
 
3900
     int i;
 
3901
{
 
3902
  return p[i];
 
3903
}
 
3904
static char *f (char * (*g) (char **, int), char **p, ...)
 
3905
{
 
3906
  char *s;
 
3907
  va_list v;
 
3908
  va_start (v,p);
 
3909
  s = g (p, va_arg (v,int));
 
3910
  va_end (v);
 
3911
  return s;
 
3912
}
 
3913
 
 
3914
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
3915
   function prototypes and stuff, but not '\xHH' hex character constants.
 
3916
   These don't provoke an error unfortunately, instead are silently treated
 
3917
   as 'x'.  The following induces an error, until -std is added to get
 
3918
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
3919
   array size at least.  It's necessary to write '\x00'==0 to get something
 
3920
   that's true only with -std.  */
 
3921
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
3922
 
 
3923
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3924
   inside strings and character constants.  */
 
3925
#define FOO(x) 'x'
 
3926
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3927
 
 
3928
int test (int i, double x);
 
3929
struct s1 {int (*f) (int a);};
 
3930
struct s2 {int (*f) (double a);};
 
3931
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
3932
int argc;
 
3933
char **argv;
 
3934
int
 
3935
main ()
 
3936
{
 
3937
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
3938
  ;
 
3939
  return 0;
 
3940
}
 
3941
_ACEOF
 
3942
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3943
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3944
do
 
3945
  CC="$ac_save_CC $ac_arg"
 
3946
  if ac_fn_c_try_compile "$LINENO"; then :
 
3947
  ac_cv_prog_cc_c89=$ac_arg
 
3948
fi
 
3949
rm -f core conftest.err conftest.$ac_objext
 
3950
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
3951
done
 
3952
rm -f conftest.$ac_ext
 
3953
CC=$ac_save_CC
 
3954
 
 
3955
fi
 
3956
# AC_CACHE_VAL
 
3957
case "x$ac_cv_prog_cc_c89" in
 
3958
  x)
 
3959
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
3960
$as_echo "none needed" >&6; } ;;
 
3961
  xno)
 
3962
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
3963
$as_echo "unsupported" >&6; } ;;
 
3964
  *)
 
3965
    CC="$CC $ac_cv_prog_cc_c89"
 
3966
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
3967
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
3968
esac
 
3969
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
3970
 
 
3971
fi
 
3972
 
 
3973
ac_ext=c
 
3974
ac_cpp='$CPP $CPPFLAGS'
 
3975
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3976
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3977
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3978
 
 
3979
depcc="$CC"   am_compiler_list=
 
3980
 
 
3981
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
3982
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
3983
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 
3984
  $as_echo_n "(cached) " >&6
 
3985
else
 
3986
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
3987
  # We make a subdir and do the tests there.  Otherwise we can end up
 
3988
  # making bogus files that we don't know about and never remove.  For
 
3989
  # instance it was reported that on HP-UX the gcc test will end up
 
3990
  # making a dummy file named `D' -- because `-MD' means `put the output
 
3991
  # in D'.
 
3992
  rm -rf conftest.dir
 
3993
  mkdir conftest.dir
 
3994
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
3995
  # using a relative directory.
 
3996
  cp "$am_depcomp" conftest.dir
 
3997
  cd conftest.dir
 
3998
  # We will build objects and dependencies in a subdirectory because
 
3999
  # it helps to detect inapplicable dependency modes.  For instance
 
4000
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
4001
  # side effect of compilation, but ICC will put the dependencies in
 
4002
  # the current directory while Tru64 will put them in the object
 
4003
  # directory.
 
4004
  mkdir sub
 
4005
 
 
4006
  am_cv_CC_dependencies_compiler_type=none
 
4007
  if test "$am_compiler_list" = ""; then
 
4008
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
4009
  fi
 
4010
  am__universal=false
 
4011
  case " $depcc " in #(
 
4012
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
4013
     esac
 
4014
 
 
4015
  for depmode in $am_compiler_list; do
 
4016
    # Setup a source with many dependencies, because some compilers
 
4017
    # like to wrap large dependency lists on column 80 (with \), and
 
4018
    # we should not choose a depcomp mode which is confused by this.
 
4019
    #
 
4020
    # We need to recreate these files for each test, as the compiler may
 
4021
    # overwrite some of them when testing with obscure command lines.
 
4022
    # This happens at least with the AIX C compiler.
 
4023
    : > sub/conftest.c
 
4024
    for i in 1 2 3 4 5 6; do
 
4025
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
4026
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
4027
      # Solaris 8's {/usr,}/bin/sh.
 
4028
      touch sub/conftst$i.h
 
4029
    done
 
4030
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
4031
 
 
4032
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
4033
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
4034
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
4035
    # versions had trouble with output in subdirs
 
4036
    am__obj=sub/conftest.${OBJEXT-o}
 
4037
    am__minus_obj="-o $am__obj"
 
4038
    case $depmode in
 
4039
    gcc)
 
4040
      # This depmode causes a compiler race in universal mode.
 
4041
      test "$am__universal" = false || continue
 
4042
      ;;
 
4043
    nosideeffect)
 
4044
      # after this tag, mechanisms are not by side-effect, so they'll
 
4045
      # only be used when explicitly requested
 
4046
      if test "x$enable_dependency_tracking" = xyes; then
 
4047
        continue
 
4048
      else
 
4049
        break
 
4050
      fi
 
4051
      ;;
 
4052
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
 
4053
      # This compiler won't grok `-c -o', but also, the minuso test has
 
4054
      # not run yet.  These depmodes are late enough in the game, and
 
4055
      # so weak that their functioning should not be impacted.
 
4056
      am__obj=conftest.${OBJEXT-o}
 
4057
      am__minus_obj=
 
4058
      ;;
 
4059
    none) break ;;
 
4060
    esac
 
4061
    if depmode=$depmode \
 
4062
       source=sub/conftest.c object=$am__obj \
 
4063
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
4064
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
4065
         >/dev/null 2>conftest.err &&
 
4066
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
4067
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
4068
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
4069
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
4070
      # icc doesn't choke on unknown options, it will just issue warnings
 
4071
      # or remarks (even with -Werror).  So we grep stderr for any message
 
4072
      # that says an option was ignored or not supported.
 
4073
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
4074
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
4075
      # The diagnosis changed in icc 8.0:
 
4076
      #   icc: Command line remark: option '-MP' not supported
 
4077
      if (grep 'ignoring option' conftest.err ||
 
4078
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
4079
        am_cv_CC_dependencies_compiler_type=$depmode
 
4080
        break
 
4081
      fi
 
4082
    fi
 
4083
  done
 
4084
 
 
4085
  cd ..
 
4086
  rm -rf conftest.dir
 
4087
else
 
4088
  am_cv_CC_dependencies_compiler_type=none
 
4089
fi
 
4090
 
 
4091
fi
 
4092
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4093
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
4094
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
4095
 
 
4096
 if
 
4097
  test "x$enable_dependency_tracking" != xno \
 
4098
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
4099
  am__fastdepCC_TRUE=
 
4100
  am__fastdepCC_FALSE='#'
 
4101
else
 
4102
  am__fastdepCC_TRUE='#'
 
4103
  am__fastdepCC_FALSE=
 
4104
fi
 
4105
 
 
4106
 
 
4107
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 
4108
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
4109
if ${ac_cv_path_SED+:} false; then :
 
4110
  $as_echo_n "(cached) " >&6
 
4111
else
 
4112
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
4113
     for ac_i in 1 2 3 4 5 6 7; do
 
4114
       ac_script="$ac_script$as_nl$ac_script"
 
4115
     done
 
4116
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
4117
     { ac_script=; unset ac_script;}
 
4118
     if test -z "$SED"; then
 
4119
  ac_path_SED_found=false
 
4120
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4121
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4122
for as_dir in $PATH
 
4123
do
 
4124
  IFS=$as_save_IFS
 
4125
  test -z "$as_dir" && as_dir=.
 
4126
    for ac_prog in sed gsed; do
 
4127
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4128
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
4129
      as_fn_executable_p "$ac_path_SED" || continue
 
4130
# Check for GNU ac_path_SED and select it if it is found.
 
4131
  # Check for GNU $ac_path_SED
 
4132
case `"$ac_path_SED" --version 2>&1` in
 
4133
*GNU*)
 
4134
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
4135
*)
 
4136
  ac_count=0
 
4137
  $as_echo_n 0123456789 >"conftest.in"
 
4138
  while :
 
4139
  do
 
4140
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4141
    mv "conftest.tmp" "conftest.in"
 
4142
    cp "conftest.in" "conftest.nl"
 
4143
    $as_echo '' >> "conftest.nl"
 
4144
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4145
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4146
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4147
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
4148
      # Best one so far, save it but keep looking for a better one
 
4149
      ac_cv_path_SED="$ac_path_SED"
 
4150
      ac_path_SED_max=$ac_count
 
4151
    fi
 
4152
    # 10*(2^10) chars as input seems more than enough
 
4153
    test $ac_count -gt 10 && break
 
4154
  done
 
4155
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4156
esac
 
4157
 
 
4158
      $ac_path_SED_found && break 3
 
4159
    done
 
4160
  done
 
4161
  done
 
4162
IFS=$as_save_IFS
 
4163
  if test -z "$ac_cv_path_SED"; then
 
4164
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
4165
  fi
 
4166
else
 
4167
  ac_cv_path_SED=$SED
 
4168
fi
 
4169
 
 
4170
fi
 
4171
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
4172
$as_echo "$ac_cv_path_SED" >&6; }
 
4173
 SED="$ac_cv_path_SED"
 
4174
  rm -f conftest.sed
 
4175
 
 
4176
test -z "$SED" && SED=sed
 
4177
Xsed="$SED -e 1s/^X//"
 
4178
 
 
4179
 
 
4180
 
 
4181
 
 
4182
 
 
4183
 
 
4184
 
 
4185
 
 
4186
 
 
4187
 
 
4188
 
 
4189
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 
4190
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
4191
if ${ac_cv_path_GREP+:} false; then :
 
4192
  $as_echo_n "(cached) " >&6
 
4193
else
 
4194
  if test -z "$GREP"; then
 
4195
  ac_path_GREP_found=false
 
4196
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4197
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4198
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4199
do
 
4200
  IFS=$as_save_IFS
 
4201
  test -z "$as_dir" && as_dir=.
 
4202
    for ac_prog in grep ggrep; do
 
4203
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4204
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
4205
      as_fn_executable_p "$ac_path_GREP" || continue
 
4206
# Check for GNU ac_path_GREP and select it if it is found.
 
4207
  # Check for GNU $ac_path_GREP
 
4208
case `"$ac_path_GREP" --version 2>&1` in
 
4209
*GNU*)
 
4210
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
4211
*)
 
4212
  ac_count=0
 
4213
  $as_echo_n 0123456789 >"conftest.in"
 
4214
  while :
 
4215
  do
 
4216
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4217
    mv "conftest.tmp" "conftest.in"
 
4218
    cp "conftest.in" "conftest.nl"
 
4219
    $as_echo 'GREP' >> "conftest.nl"
 
4220
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4221
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4222
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4223
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
4224
      # Best one so far, save it but keep looking for a better one
 
4225
      ac_cv_path_GREP="$ac_path_GREP"
 
4226
      ac_path_GREP_max=$ac_count
 
4227
    fi
 
4228
    # 10*(2^10) chars as input seems more than enough
 
4229
    test $ac_count -gt 10 && break
 
4230
  done
 
4231
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4232
esac
 
4233
 
 
4234
      $ac_path_GREP_found && break 3
 
4235
    done
 
4236
  done
 
4237
  done
 
4238
IFS=$as_save_IFS
 
4239
  if test -z "$ac_cv_path_GREP"; then
 
4240
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4241
  fi
 
4242
else
 
4243
  ac_cv_path_GREP=$GREP
 
4244
fi
 
4245
 
 
4246
fi
 
4247
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 
4248
$as_echo "$ac_cv_path_GREP" >&6; }
 
4249
 GREP="$ac_cv_path_GREP"
 
4250
 
 
4251
 
 
4252
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 
4253
$as_echo_n "checking for egrep... " >&6; }
 
4254
if ${ac_cv_path_EGREP+:} false; then :
 
4255
  $as_echo_n "(cached) " >&6
 
4256
else
 
4257
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
4258
   then ac_cv_path_EGREP="$GREP -E"
 
4259
   else
 
4260
     if test -z "$EGREP"; then
 
4261
  ac_path_EGREP_found=false
 
4262
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4263
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4264
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4265
do
 
4266
  IFS=$as_save_IFS
 
4267
  test -z "$as_dir" && as_dir=.
 
4268
    for ac_prog in egrep; do
 
4269
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4270
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4271
      as_fn_executable_p "$ac_path_EGREP" || continue
 
4272
# Check for GNU ac_path_EGREP and select it if it is found.
 
4273
  # Check for GNU $ac_path_EGREP
 
4274
case `"$ac_path_EGREP" --version 2>&1` in
 
4275
*GNU*)
 
4276
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
4277
*)
 
4278
  ac_count=0
 
4279
  $as_echo_n 0123456789 >"conftest.in"
 
4280
  while :
 
4281
  do
 
4282
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4283
    mv "conftest.tmp" "conftest.in"
 
4284
    cp "conftest.in" "conftest.nl"
 
4285
    $as_echo 'EGREP' >> "conftest.nl"
 
4286
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4287
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4288
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4289
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
4290
      # Best one so far, save it but keep looking for a better one
 
4291
      ac_cv_path_EGREP="$ac_path_EGREP"
 
4292
      ac_path_EGREP_max=$ac_count
 
4293
    fi
 
4294
    # 10*(2^10) chars as input seems more than enough
 
4295
    test $ac_count -gt 10 && break
 
4296
  done
 
4297
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4298
esac
 
4299
 
 
4300
      $ac_path_EGREP_found && break 3
 
4301
    done
 
4302
  done
 
4303
  done
 
4304
IFS=$as_save_IFS
 
4305
  if test -z "$ac_cv_path_EGREP"; then
 
4306
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4307
  fi
 
4308
else
 
4309
  ac_cv_path_EGREP=$EGREP
 
4310
fi
 
4311
 
 
4312
   fi
 
4313
fi
 
4314
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 
4315
$as_echo "$ac_cv_path_EGREP" >&6; }
 
4316
 EGREP="$ac_cv_path_EGREP"
 
4317
 
 
4318
 
 
4319
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 
4320
$as_echo_n "checking for fgrep... " >&6; }
 
4321
if ${ac_cv_path_FGREP+:} false; then :
 
4322
  $as_echo_n "(cached) " >&6
 
4323
else
 
4324
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
4325
   then ac_cv_path_FGREP="$GREP -F"
 
4326
   else
 
4327
     if test -z "$FGREP"; then
 
4328
  ac_path_FGREP_found=false
 
4329
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4330
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4331
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4332
do
 
4333
  IFS=$as_save_IFS
 
4334
  test -z "$as_dir" && as_dir=.
 
4335
    for ac_prog in fgrep; do
 
4336
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4337
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4338
      as_fn_executable_p "$ac_path_FGREP" || continue
 
4339
# Check for GNU ac_path_FGREP and select it if it is found.
 
4340
  # Check for GNU $ac_path_FGREP
 
4341
case `"$ac_path_FGREP" --version 2>&1` in
 
4342
*GNU*)
 
4343
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
4344
*)
 
4345
  ac_count=0
 
4346
  $as_echo_n 0123456789 >"conftest.in"
 
4347
  while :
 
4348
  do
 
4349
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4350
    mv "conftest.tmp" "conftest.in"
 
4351
    cp "conftest.in" "conftest.nl"
 
4352
    $as_echo 'FGREP' >> "conftest.nl"
 
4353
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4354
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4355
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4356
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
4357
      # Best one so far, save it but keep looking for a better one
 
4358
      ac_cv_path_FGREP="$ac_path_FGREP"
 
4359
      ac_path_FGREP_max=$ac_count
 
4360
    fi
 
4361
    # 10*(2^10) chars as input seems more than enough
 
4362
    test $ac_count -gt 10 && break
 
4363
  done
 
4364
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4365
esac
 
4366
 
 
4367
      $ac_path_FGREP_found && break 3
 
4368
    done
 
4369
  done
 
4370
  done
 
4371
IFS=$as_save_IFS
 
4372
  if test -z "$ac_cv_path_FGREP"; then
 
4373
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4374
  fi
 
4375
else
 
4376
  ac_cv_path_FGREP=$FGREP
 
4377
fi
 
4378
 
 
4379
   fi
 
4380
fi
 
4381
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
 
4382
$as_echo "$ac_cv_path_FGREP" >&6; }
 
4383
 FGREP="$ac_cv_path_FGREP"
 
4384
 
 
4385
 
 
4386
test -z "$GREP" && GREP=grep
 
4387
 
 
4388
 
 
4389
 
 
4390
 
 
4391
 
 
4392
 
 
4393
 
 
4394
 
 
4395
 
 
4396
 
 
4397
 
 
4398
 
 
4399
 
 
4400
 
 
4401
 
 
4402
 
 
4403
 
 
4404
 
 
4405
 
 
4406
# Check whether --with-gnu-ld was given.
 
4407
if test "${with_gnu_ld+set}" = set; then :
 
4408
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
4409
else
 
4410
  with_gnu_ld=no
 
4411
fi
 
4412
 
 
4413
ac_prog=ld
 
4414
if test "$GCC" = yes; then
 
4415
  # Check if gcc -print-prog-name=ld gives a path.
 
4416
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 
4417
$as_echo_n "checking for ld used by $CC... " >&6; }
 
4418
  case $host in
 
4419
  *-*-mingw*)
 
4420
    # gcc leaves a trailing carriage return which upsets mingw
 
4421
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
4422
  *)
 
4423
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
4424
  esac
 
4425
  case $ac_prog in
 
4426
    # Accept absolute paths.
 
4427
    [\\/]* | ?:[\\/]*)
 
4428
      re_direlt='/[^/][^/]*/\.\./'
 
4429
      # Canonicalize the pathname of ld
 
4430
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
4431
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
4432
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 
4433
      done
 
4434
      test -z "$LD" && LD="$ac_prog"
 
4435
      ;;
 
4436
  "")
 
4437
    # If it fails, then pretend we aren't using GCC.
 
4438
    ac_prog=ld
 
4439
    ;;
 
4440
  *)
 
4441
    # If it is relative, then search for the first ld in PATH.
 
4442
    with_gnu_ld=unknown
 
4443
    ;;
 
4444
  esac
 
4445
elif test "$with_gnu_ld" = yes; then
 
4446
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
4447
$as_echo_n "checking for GNU ld... " >&6; }
 
4448
else
 
4449
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
4450
$as_echo_n "checking for non-GNU ld... " >&6; }
 
4451
fi
 
4452
if ${lt_cv_path_LD+:} false; then :
 
4453
  $as_echo_n "(cached) " >&6
 
4454
else
 
4455
  if test -z "$LD"; then
 
4456
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
4457
  for ac_dir in $PATH; do
 
4458
    IFS="$lt_save_ifs"
 
4459
    test -z "$ac_dir" && ac_dir=.
 
4460
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
4461
      lt_cv_path_LD="$ac_dir/$ac_prog"
 
4462
      # Check to see if the program is GNU ld.  I'd rather use --version,
 
4463
      # but apparently some variants of GNU ld only accept -v.
 
4464
      # Break only if it was the GNU/non-GNU ld that we prefer.
 
4465
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 
4466
      *GNU* | *'with BFD'*)
 
4467
        test "$with_gnu_ld" != no && break
 
4468
        ;;
 
4469
      *)
 
4470
        test "$with_gnu_ld" != yes && break
 
4471
        ;;
 
4472
      esac
 
4473
    fi
 
4474
  done
 
4475
  IFS="$lt_save_ifs"
 
4476
else
 
4477
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
4478
fi
 
4479
fi
 
4480
 
 
4481
LD="$lt_cv_path_LD"
 
4482
if test -n "$LD"; then
 
4483
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
4484
$as_echo "$LD" >&6; }
 
4485
else
 
4486
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4487
$as_echo "no" >&6; }
 
4488
fi
 
4489
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 
4490
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
4491
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
4492
if ${lt_cv_prog_gnu_ld+:} false; then :
 
4493
  $as_echo_n "(cached) " >&6
 
4494
else
 
4495
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
 
4496
case `$LD -v 2>&1 </dev/null` in
 
4497
*GNU* | *'with BFD'*)
 
4498
  lt_cv_prog_gnu_ld=yes
 
4499
  ;;
 
4500
*)
 
4501
  lt_cv_prog_gnu_ld=no
 
4502
  ;;
 
4503
esac
 
4504
fi
 
4505
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 
4506
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
 
4507
with_gnu_ld=$lt_cv_prog_gnu_ld
 
4508
 
 
4509
 
 
4510
 
 
4511
 
 
4512
 
 
4513
 
 
4514
 
 
4515
 
 
4516
 
 
4517
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 
4518
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 
4519
if ${lt_cv_path_NM+:} false; then :
 
4520
  $as_echo_n "(cached) " >&6
 
4521
else
 
4522
  if test -n "$NM"; then
 
4523
  # Let the user override the test.
 
4524
  lt_cv_path_NM="$NM"
 
4525
else
 
4526
  lt_nm_to_check="${ac_tool_prefix}nm"
 
4527
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 
4528
    lt_nm_to_check="$lt_nm_to_check nm"
 
4529
  fi
 
4530
  for lt_tmp_nm in $lt_nm_to_check; do
 
4531
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
4532
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 
4533
      IFS="$lt_save_ifs"
 
4534
      test -z "$ac_dir" && ac_dir=.
 
4535
      tmp_nm="$ac_dir/$lt_tmp_nm"
 
4536
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
4537
        # Check to see if the nm accepts a BSD-compat flag.
 
4538
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
4539
        #   nm: unknown option "B" ignored
 
4540
        # Tru64's nm complains that /dev/null is an invalid object file
 
4541
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 
4542
        */dev/null* | *'Invalid file or object type'*)
 
4543
          lt_cv_path_NM="$tmp_nm -B"
 
4544
          break
 
4545
          ;;
 
4546
        *)
 
4547
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
4548
          */dev/null*)
 
4549
            lt_cv_path_NM="$tmp_nm -p"
 
4550
            break
 
4551
            ;;
 
4552
          *)
 
4553
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
4554
            continue # so that we can try to find one that supports BSD flags
 
4555
            ;;
 
4556
          esac
 
4557
          ;;
 
4558
        esac
 
4559
      fi
 
4560
    done
 
4561
    IFS="$lt_save_ifs"
 
4562
  done
 
4563
  : ${lt_cv_path_NM=no}
 
4564
fi
 
4565
fi
 
4566
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
 
4567
$as_echo "$lt_cv_path_NM" >&6; }
 
4568
if test "$lt_cv_path_NM" != "no"; then
 
4569
  NM="$lt_cv_path_NM"
 
4570
else
 
4571
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
4572
  if test -n "$DUMPBIN"; then :
 
4573
    # Let the user override the test.
 
4574
  else
 
4575
    if test -n "$ac_tool_prefix"; then
 
4576
  for ac_prog in dumpbin "link -dump"
 
4577
  do
 
4578
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
4579
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
4580
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4581
$as_echo_n "checking for $ac_word... " >&6; }
 
4582
if ${ac_cv_prog_DUMPBIN+:} false; then :
 
4583
  $as_echo_n "(cached) " >&6
 
4584
else
 
4585
  if test -n "$DUMPBIN"; then
 
4586
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
4587
else
 
4588
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4589
for as_dir in $PATH
 
4590
do
 
4591
  IFS=$as_save_IFS
 
4592
  test -z "$as_dir" && as_dir=.
 
4593
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4594
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4595
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
4596
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4597
    break 2
 
4598
  fi
 
4599
done
 
4600
  done
 
4601
IFS=$as_save_IFS
 
4602
 
 
4603
fi
 
4604
fi
 
4605
DUMPBIN=$ac_cv_prog_DUMPBIN
 
4606
if test -n "$DUMPBIN"; then
 
4607
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
 
4608
$as_echo "$DUMPBIN" >&6; }
 
4609
else
 
4610
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4611
$as_echo "no" >&6; }
 
4612
fi
 
4613
 
 
4614
 
 
4615
    test -n "$DUMPBIN" && break
 
4616
  done
 
4617
fi
 
4618
if test -z "$DUMPBIN"; then
 
4619
  ac_ct_DUMPBIN=$DUMPBIN
 
4620
  for ac_prog in dumpbin "link -dump"
 
4621
do
 
4622
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
4623
set dummy $ac_prog; ac_word=$2
 
4624
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4625
$as_echo_n "checking for $ac_word... " >&6; }
 
4626
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
 
4627
  $as_echo_n "(cached) " >&6
 
4628
else
 
4629
  if test -n "$ac_ct_DUMPBIN"; then
 
4630
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
4631
else
 
4632
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4633
for as_dir in $PATH
 
4634
do
 
4635
  IFS=$as_save_IFS
 
4636
  test -z "$as_dir" && as_dir=.
 
4637
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4638
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4639
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
4640
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4641
    break 2
 
4642
  fi
 
4643
done
 
4644
  done
 
4645
IFS=$as_save_IFS
 
4646
 
 
4647
fi
 
4648
fi
 
4649
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
4650
if test -n "$ac_ct_DUMPBIN"; then
 
4651
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
 
4652
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
4653
else
 
4654
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4655
$as_echo "no" >&6; }
 
4656
fi
 
4657
 
 
4658
 
 
4659
  test -n "$ac_ct_DUMPBIN" && break
 
4660
done
 
4661
 
 
4662
  if test "x$ac_ct_DUMPBIN" = x; then
 
4663
    DUMPBIN=":"
 
4664
  else
 
4665
    case $cross_compiling:$ac_tool_warned in
 
4666
yes:)
 
4667
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4668
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4669
ac_tool_warned=yes ;;
 
4670
esac
 
4671
    DUMPBIN=$ac_ct_DUMPBIN
 
4672
  fi
 
4673
fi
 
4674
 
 
4675
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
4676
    *COFF*)
 
4677
      DUMPBIN="$DUMPBIN -symbols"
 
4678
      ;;
 
4679
    *)
 
4680
      DUMPBIN=:
 
4681
      ;;
 
4682
    esac
 
4683
  fi
 
4684
 
 
4685
  if test "$DUMPBIN" != ":"; then
 
4686
    NM="$DUMPBIN"
 
4687
  fi
 
4688
fi
 
4689
test -z "$NM" && NM=nm
 
4690
 
 
4691
 
 
4692
 
 
4693
 
 
4694
 
 
4695
 
 
4696
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 
4697
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
4698
if ${lt_cv_nm_interface+:} false; then :
 
4699
  $as_echo_n "(cached) " >&6
 
4700
else
 
4701
  lt_cv_nm_interface="BSD nm"
 
4702
  echo "int some_variable = 0;" > conftest.$ac_ext
 
4703
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
 
4704
  (eval "$ac_compile" 2>conftest.err)
 
4705
  cat conftest.err >&5
 
4706
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
4707
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
4708
  cat conftest.err >&5
 
4709
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
 
4710
  cat conftest.out >&5
 
4711
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
4712
    lt_cv_nm_interface="MS dumpbin"
 
4713
  fi
 
4714
  rm -f conftest*
 
4715
fi
 
4716
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
 
4717
$as_echo "$lt_cv_nm_interface" >&6; }
 
4718
 
 
4719
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 
4720
$as_echo_n "checking whether ln -s works... " >&6; }
 
4721
LN_S=$as_ln_s
 
4722
if test "$LN_S" = "ln -s"; then
 
4723
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
4724
$as_echo "yes" >&6; }
 
4725
else
 
4726
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 
4727
$as_echo "no, using $LN_S" >&6; }
 
4728
fi
 
4729
 
 
4730
# find the maximum length of command line arguments
 
4731
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 
4732
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
4733
if ${lt_cv_sys_max_cmd_len+:} false; then :
 
4734
  $as_echo_n "(cached) " >&6
 
4735
else
 
4736
    i=0
 
4737
  teststring="ABCD"
 
4738
 
 
4739
  case $build_os in
 
4740
  msdosdjgpp*)
 
4741
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
4742
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
4743
    # during glob expansion).  Even if it were fixed, the result of this
 
4744
    # check would be larger than it should be.
 
4745
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
4746
    ;;
 
4747
 
 
4748
  gnu*)
 
4749
    # Under GNU Hurd, this test is not required because there is
 
4750
    # no limit to the length of command line arguments.
 
4751
    # Libtool will interpret -1 as no limit whatsoever
 
4752
    lt_cv_sys_max_cmd_len=-1;
 
4753
    ;;
 
4754
 
 
4755
  cygwin* | mingw* | cegcc*)
 
4756
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
4757
    # about 5 minutes as the teststring grows exponentially.
 
4758
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
4759
    # you end up with a "frozen" computer, even though with patience
 
4760
    # the test eventually succeeds (with a max line length of 256k).
 
4761
    # Instead, let's just punt: use the minimum linelength reported by
 
4762
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
4763
    lt_cv_sys_max_cmd_len=8192;
 
4764
    ;;
 
4765
 
 
4766
  mint*)
 
4767
    # On MiNT this can take a long time and run out of memory.
 
4768
    lt_cv_sys_max_cmd_len=8192;
 
4769
    ;;
 
4770
 
 
4771
  amigaos*)
 
4772
    # On AmigaOS with pdksh, this test takes hours, literally.
 
4773
    # So we just punt and use a minimum line length of 8192.
 
4774
    lt_cv_sys_max_cmd_len=8192;
 
4775
    ;;
 
4776
 
 
4777
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
4778
    # This has been around since 386BSD, at least.  Likely further.
 
4779
    if test -x /sbin/sysctl; then
 
4780
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
4781
    elif test -x /usr/sbin/sysctl; then
 
4782
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
4783
    else
 
4784
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
4785
    fi
 
4786
    # And add a safety zone
 
4787
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
4788
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
4789
    ;;
 
4790
 
 
4791
  interix*)
 
4792
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
4793
    lt_cv_sys_max_cmd_len=196608
 
4794
    ;;
 
4795
 
 
4796
  os2*)
 
4797
    # The test takes a long time on OS/2.
 
4798
    lt_cv_sys_max_cmd_len=8192
 
4799
    ;;
 
4800
 
 
4801
  osf*)
 
4802
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
4803
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
4804
    # nice to cause kernel panics so lets avoid the loop below.
 
4805
    # First set a reasonable default.
 
4806
    lt_cv_sys_max_cmd_len=16384
 
4807
    #
 
4808
    if test -x /sbin/sysconfig; then
 
4809
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
4810
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
4811
      esac
 
4812
    fi
 
4813
    ;;
 
4814
  sco3.2v5*)
 
4815
    lt_cv_sys_max_cmd_len=102400
 
4816
    ;;
 
4817
  sysv5* | sco5v6* | sysv4.2uw2*)
 
4818
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
4819
    if test -n "$kargmax"; then
 
4820
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
4821
    else
 
4822
      lt_cv_sys_max_cmd_len=32768
 
4823
    fi
 
4824
    ;;
 
4825
  *)
 
4826
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
4827
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
4828
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
4829
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
4830
    else
 
4831
      # Make teststring a little bigger before we do anything with it.
 
4832
      # a 1K string should be a reasonable start.
 
4833
      for i in 1 2 3 4 5 6 7 8 ; do
 
4834
        teststring=$teststring$teststring
 
4835
      done
 
4836
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
4837
      # If test is not a shell built-in, we'll probably end up computing a
 
4838
      # maximum length that is only half of the actual maximum length, but
 
4839
      # we can't tell.
 
4840
      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
 
4841
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
 
4842
              test $i != 17 # 1/2 MB should be enough
 
4843
      do
 
4844
        i=`expr $i + 1`
 
4845
        teststring=$teststring$teststring
 
4846
      done
 
4847
      # Only check the string length outside the loop.
 
4848
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
4849
      teststring=
 
4850
      # Add a significant safety factor because C++ compilers can tack on
 
4851
      # massive amounts of additional arguments before passing them to the
 
4852
      # linker.  It appears as though 1/2 is a usable value.
 
4853
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
4854
    fi
 
4855
    ;;
 
4856
  esac
 
4857
 
 
4858
fi
 
4859
 
 
4860
if test -n $lt_cv_sys_max_cmd_len ; then
 
4861
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
 
4862
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
4863
else
 
4864
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
 
4865
$as_echo "none" >&6; }
 
4866
fi
 
4867
max_cmd_len=$lt_cv_sys_max_cmd_len
 
4868
 
 
4869
 
 
4870
 
 
4871
 
 
4872
 
 
4873
 
 
4874
: ${CP="cp -f"}
 
4875
: ${MV="mv -f"}
 
4876
: ${RM="rm -f"}
 
4877
 
 
4878
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
 
4879
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
4880
# Try some XSI features
 
4881
xsi_shell=no
 
4882
( _lt_dummy="a/b/c"
 
4883
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 
4884
      = c,a/b,b/c, \
 
4885
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
4886
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
4887
  && xsi_shell=yes
 
4888
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
 
4889
$as_echo "$xsi_shell" >&6; }
 
4890
 
 
4891
 
 
4892
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
 
4893
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
4894
lt_shell_append=no
 
4895
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
4896
    >/dev/null 2>&1 \
 
4897
  && lt_shell_append=yes
 
4898
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
 
4899
$as_echo "$lt_shell_append" >&6; }
 
4900
 
 
4901
 
 
4902
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
4903
  lt_unset=unset
 
4904
else
 
4905
  lt_unset=false
 
4906
fi
 
4907
 
 
4908
 
 
4909
 
 
4910
 
 
4911
 
 
4912
# test EBCDIC or ASCII
 
4913
case `echo X|tr X '\101'` in
 
4914
 A) # ASCII based system
 
4915
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
4916
  lt_SP2NL='tr \040 \012'
 
4917
  lt_NL2SP='tr \015\012 \040\040'
 
4918
  ;;
 
4919
 *) # EBCDIC based system
 
4920
  lt_SP2NL='tr \100 \n'
 
4921
  lt_NL2SP='tr \r\n \100\100'
 
4922
  ;;
 
4923
esac
 
4924
 
 
4925
 
 
4926
 
 
4927
 
 
4928
 
 
4929
 
 
4930
 
 
4931
 
 
4932
 
 
4933
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 
4934
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 
4935
if ${lt_cv_to_host_file_cmd+:} false; then :
 
4936
  $as_echo_n "(cached) " >&6
 
4937
else
 
4938
  case $host in
 
4939
  *-*-mingw* )
 
4940
    case $build in
 
4941
      *-*-mingw* ) # actually msys
 
4942
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 
4943
        ;;
 
4944
      *-*-cygwin* )
 
4945
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 
4946
        ;;
 
4947
      * ) # otherwise, assume *nix
 
4948
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 
4949
        ;;
 
4950
    esac
 
4951
    ;;
 
4952
  *-*-cygwin* )
 
4953
    case $build in
 
4954
      *-*-mingw* ) # actually msys
 
4955
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 
4956
        ;;
 
4957
      *-*-cygwin* )
 
4958
        lt_cv_to_host_file_cmd=func_convert_file_noop
 
4959
        ;;
 
4960
      * ) # otherwise, assume *nix
 
4961
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 
4962
        ;;
 
4963
    esac
 
4964
    ;;
 
4965
  * ) # unhandled hosts (and "normal" native builds)
 
4966
    lt_cv_to_host_file_cmd=func_convert_file_noop
 
4967
    ;;
 
4968
esac
 
4969
 
 
4970
fi
 
4971
 
 
4972
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
4973
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 
4974
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
 
4975
 
 
4976
 
 
4977
 
 
4978
 
 
4979
 
 
4980
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 
4981
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 
4982
if ${lt_cv_to_tool_file_cmd+:} false; then :
 
4983
  $as_echo_n "(cached) " >&6
 
4984
else
 
4985
  #assume ordinary cross tools, or native build.
 
4986
lt_cv_to_tool_file_cmd=func_convert_file_noop
 
4987
case $host in
 
4988
  *-*-mingw* )
 
4989
    case $build in
 
4990
      *-*-mingw* ) # actually msys
 
4991
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 
4992
        ;;
 
4993
    esac
 
4994
    ;;
 
4995
esac
 
4996
 
 
4997
fi
 
4998
 
 
4999
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
5000
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 
5001
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 
5002
 
 
5003
 
 
5004
 
 
5005
 
 
5006
 
 
5007
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 
5008
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
5009
if ${lt_cv_ld_reload_flag+:} false; then :
 
5010
  $as_echo_n "(cached) " >&6
 
5011
else
 
5012
  lt_cv_ld_reload_flag='-r'
 
5013
fi
 
5014
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
 
5015
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
5016
reload_flag=$lt_cv_ld_reload_flag
 
5017
case $reload_flag in
 
5018
"" | " "*) ;;
 
5019
*) reload_flag=" $reload_flag" ;;
 
5020
esac
 
5021
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
5022
case $host_os in
 
5023
  cygwin* | mingw* | pw32* | cegcc*)
 
5024
    if test "$GCC" != yes; then
 
5025
      reload_cmds=false
 
5026
    fi
 
5027
    ;;
 
5028
  darwin*)
 
5029
    if test "$GCC" = yes; then
 
5030
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
5031
    else
 
5032
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
5033
    fi
 
5034
    ;;
 
5035
esac
 
5036
 
 
5037
 
 
5038
 
 
5039
 
 
5040
 
 
5041
 
 
5042
 
 
5043
 
 
5044
 
 
5045
if test -n "$ac_tool_prefix"; then
 
5046
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
5047
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
5048
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5049
$as_echo_n "checking for $ac_word... " >&6; }
 
5050
if ${ac_cv_prog_OBJDUMP+:} false; then :
 
5051
  $as_echo_n "(cached) " >&6
 
5052
else
 
5053
  if test -n "$OBJDUMP"; then
 
5054
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
5055
else
 
5056
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5057
for as_dir in $PATH
 
5058
do
 
5059
  IFS=$as_save_IFS
 
5060
  test -z "$as_dir" && as_dir=.
 
5061
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5062
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5063
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
5064
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5065
    break 2
 
5066
  fi
 
5067
done
 
5068
  done
 
5069
IFS=$as_save_IFS
 
5070
 
 
5071
fi
 
5072
fi
 
5073
OBJDUMP=$ac_cv_prog_OBJDUMP
 
5074
if test -n "$OBJDUMP"; then
 
5075
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 
5076
$as_echo "$OBJDUMP" >&6; }
 
5077
else
 
5078
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5079
$as_echo "no" >&6; }
 
5080
fi
 
5081
 
 
5082
 
 
5083
fi
 
5084
if test -z "$ac_cv_prog_OBJDUMP"; then
 
5085
  ac_ct_OBJDUMP=$OBJDUMP
 
5086
  # Extract the first word of "objdump", so it can be a program name with args.
 
5087
set dummy objdump; ac_word=$2
 
5088
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5089
$as_echo_n "checking for $ac_word... " >&6; }
 
5090
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
 
5091
  $as_echo_n "(cached) " >&6
 
5092
else
 
5093
  if test -n "$ac_ct_OBJDUMP"; then
 
5094
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
5095
else
 
5096
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5097
for as_dir in $PATH
 
5098
do
 
5099
  IFS=$as_save_IFS
 
5100
  test -z "$as_dir" && as_dir=.
 
5101
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5102
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5103
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
5104
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5105
    break 2
 
5106
  fi
 
5107
done
 
5108
  done
 
5109
IFS=$as_save_IFS
 
5110
 
 
5111
fi
 
5112
fi
 
5113
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
5114
if test -n "$ac_ct_OBJDUMP"; then
 
5115
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 
5116
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
5117
else
 
5118
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5119
$as_echo "no" >&6; }
 
5120
fi
 
5121
 
 
5122
  if test "x$ac_ct_OBJDUMP" = x; then
 
5123
    OBJDUMP="false"
 
5124
  else
 
5125
    case $cross_compiling:$ac_tool_warned in
 
5126
yes:)
 
5127
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5128
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5129
ac_tool_warned=yes ;;
 
5130
esac
 
5131
    OBJDUMP=$ac_ct_OBJDUMP
 
5132
  fi
 
5133
else
 
5134
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
5135
fi
 
5136
 
 
5137
test -z "$OBJDUMP" && OBJDUMP=objdump
 
5138
 
 
5139
 
 
5140
 
 
5141
 
 
5142
 
 
5143
 
 
5144
 
 
5145
 
 
5146
 
 
5147
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
 
5148
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
 
5149
if ${lt_cv_deplibs_check_method+:} false; then :
 
5150
  $as_echo_n "(cached) " >&6
 
5151
else
 
5152
  lt_cv_file_magic_cmd='$MAGIC_CMD'
 
5153
lt_cv_file_magic_test_file=
 
5154
lt_cv_deplibs_check_method='unknown'
 
5155
# Need to set the preceding variable on all platforms that support
 
5156
# interlibrary dependencies.
 
5157
# 'none' -- dependencies not supported.
 
5158
# `unknown' -- same as none, but documents that we really don't know.
 
5159
# 'pass_all' -- all dependencies passed with no checks.
 
5160
# 'test_compile' -- check by making test program.
 
5161
# 'file_magic [[regex]]' -- check by looking for files in library path
 
5162
# which responds to the $file_magic_cmd with a given extended regex.
 
5163
# If you have `file' or equivalent on your system and you're not sure
 
5164
# whether `pass_all' will *always* work, you probably want this one.
 
5165
 
 
5166
case $host_os in
 
5167
aix[4-9]*)
 
5168
  lt_cv_deplibs_check_method=pass_all
 
5169
  ;;
 
5170
 
 
5171
beos*)
 
5172
  lt_cv_deplibs_check_method=pass_all
 
5173
  ;;
 
5174
 
 
5175
bsdi[45]*)
 
5176
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 
5177
  lt_cv_file_magic_cmd='/usr/bin/file -L'
 
5178
  lt_cv_file_magic_test_file=/shlib/libc.so
 
5179
  ;;
 
5180
 
 
5181
cygwin*)
 
5182
  # func_win32_libid is a shell function defined in ltmain.sh
 
5183
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
5184
  lt_cv_file_magic_cmd='func_win32_libid'
 
5185
  ;;
 
5186
 
 
5187
mingw* | pw32*)
 
5188
  # Base MSYS/MinGW do not provide the 'file' command needed by
 
5189
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
5190
  # unless we find 'file', for example because we are cross-compiling.
 
5191
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
5192
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
 
5193
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
5194
    lt_cv_file_magic_cmd='func_win32_libid'
 
5195
  else
 
5196
    # Keep this pattern in sync with the one in func_win32_libid.
 
5197
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
 
5198
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
5199
  fi
 
5200
  ;;
 
5201
 
 
5202
cegcc*)
 
5203
  # use the weaker test based on 'objdump'. See mingw*.
 
5204
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
5205
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
5206
  ;;
 
5207
 
 
5208
darwin* | rhapsody*)
 
5209
  lt_cv_deplibs_check_method=pass_all
 
5210
  ;;
 
5211
 
 
5212
freebsd* | dragonfly*)
 
5213
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
5214
    case $host_cpu in
 
5215
    i*86 )
 
5216
      # Not sure whether the presence of OpenBSD here was a mistake.
 
5217
      # Let's accept both of them until this is cleared up.
 
5218
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
 
5219
      lt_cv_file_magic_cmd=/usr/bin/file
 
5220
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 
5221
      ;;
 
5222
    esac
 
5223
  else
 
5224
    lt_cv_deplibs_check_method=pass_all
 
5225
  fi
 
5226
  ;;
 
5227
 
 
5228
haiku*)
 
5229
  lt_cv_deplibs_check_method=pass_all
 
5230
  ;;
 
5231
 
 
5232
hpux10.20* | hpux11*)
 
5233
  lt_cv_file_magic_cmd=/usr/bin/file
 
5234
  case $host_cpu in
 
5235
  ia64*)
 
5236
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
 
5237
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 
5238
    ;;
 
5239
  hppa*64*)
 
5240
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
 
5241
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 
5242
    ;;
 
5243
  *)
 
5244
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
 
5245
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
 
5246
    ;;
 
5247
  esac
 
5248
  ;;
 
5249
 
 
5250
interix[3-9]*)
 
5251
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 
5252
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 
5253
  ;;
 
5254
 
 
5255
irix5* | irix6* | nonstopux*)
 
5256
  case $LD in
 
5257
  *-32|*"-32 ") libmagic=32-bit;;
 
5258
  *-n32|*"-n32 ") libmagic=N32;;
 
5259
  *-64|*"-64 ") libmagic=64-bit;;
 
5260
  *) libmagic=never-match;;
 
5261
  esac
 
5262
  lt_cv_deplibs_check_method=pass_all
 
5263
  ;;
 
5264
 
 
5265
# This must be glibc/ELF.
 
5266
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
 
5267
  lt_cv_deplibs_check_method=pass_all
 
5268
  ;;
 
5269
 
 
5270
netbsd* | netbsdelf*-gnu)
 
5271
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
5272
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
5273
  else
 
5274
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
 
5275
  fi
 
5276
  ;;
 
5277
 
 
5278
newos6*)
 
5279
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
 
5280
  lt_cv_file_magic_cmd=/usr/bin/file
 
5281
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
 
5282
  ;;
 
5283
 
 
5284
*nto* | *qnx*)
 
5285
  lt_cv_deplibs_check_method=pass_all
 
5286
  ;;
 
5287
 
 
5288
openbsd*)
 
5289
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
5290
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
 
5291
  else
 
5292
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
5293
  fi
 
5294
  ;;
 
5295
 
 
5296
osf3* | osf4* | osf5*)
 
5297
  lt_cv_deplibs_check_method=pass_all
 
5298
  ;;
 
5299
 
 
5300
rdos*)
 
5301
  lt_cv_deplibs_check_method=pass_all
 
5302
  ;;
 
5303
 
 
5304
solaris*)
 
5305
  lt_cv_deplibs_check_method=pass_all
 
5306
  ;;
 
5307
 
 
5308
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
5309
  lt_cv_deplibs_check_method=pass_all
 
5310
  ;;
 
5311
 
 
5312
sysv4 | sysv4.3*)
 
5313
  case $host_vendor in
 
5314
  motorola)
 
5315
    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]'
 
5316
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 
5317
    ;;
 
5318
  ncr)
 
5319
    lt_cv_deplibs_check_method=pass_all
 
5320
    ;;
 
5321
  sequent)
 
5322
    lt_cv_file_magic_cmd='/bin/file'
 
5323
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
 
5324
    ;;
 
5325
  sni)
 
5326
    lt_cv_file_magic_cmd='/bin/file'
 
5327
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
 
5328
    lt_cv_file_magic_test_file=/lib/libc.so
 
5329
    ;;
 
5330
  siemens)
 
5331
    lt_cv_deplibs_check_method=pass_all
 
5332
    ;;
 
5333
  pc)
 
5334
    lt_cv_deplibs_check_method=pass_all
 
5335
    ;;
 
5336
  esac
 
5337
  ;;
 
5338
 
 
5339
tpf*)
 
5340
  lt_cv_deplibs_check_method=pass_all
 
5341
  ;;
 
5342
esac
 
5343
 
 
5344
fi
 
5345
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
 
5346
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
5347
 
 
5348
file_magic_glob=
 
5349
want_nocaseglob=no
 
5350
if test "$build" = "$host"; then
 
5351
  case $host_os in
 
5352
  mingw* | pw32*)
 
5353
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 
5354
      want_nocaseglob=yes
 
5355
    else
 
5356
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 
5357
    fi
 
5358
    ;;
 
5359
  esac
 
5360
fi
 
5361
 
 
5362
file_magic_cmd=$lt_cv_file_magic_cmd
 
5363
deplibs_check_method=$lt_cv_deplibs_check_method
 
5364
test -z "$deplibs_check_method" && deplibs_check_method=unknown
 
5365
 
 
5366
 
 
5367
 
 
5368
 
 
5369
 
 
5370
 
 
5371
 
 
5372
 
 
5373
 
 
5374
 
 
5375
 
 
5376
 
 
5377
 
 
5378
 
 
5379
 
 
5380
 
 
5381
 
 
5382
 
 
5383
 
 
5384
 
 
5385
 
 
5386
 
 
5387
if test -n "$ac_tool_prefix"; then
 
5388
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
5389
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
5390
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5391
$as_echo_n "checking for $ac_word... " >&6; }
 
5392
if ${ac_cv_prog_DLLTOOL+:} false; then :
 
5393
  $as_echo_n "(cached) " >&6
 
5394
else
 
5395
  if test -n "$DLLTOOL"; then
 
5396
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
5397
else
 
5398
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5399
for as_dir in $PATH
 
5400
do
 
5401
  IFS=$as_save_IFS
 
5402
  test -z "$as_dir" && as_dir=.
 
5403
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5404
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5405
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
5406
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5407
    break 2
 
5408
  fi
 
5409
done
 
5410
  done
 
5411
IFS=$as_save_IFS
 
5412
 
 
5413
fi
 
5414
fi
 
5415
DLLTOOL=$ac_cv_prog_DLLTOOL
 
5416
if test -n "$DLLTOOL"; then
 
5417
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
5418
$as_echo "$DLLTOOL" >&6; }
 
5419
else
 
5420
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5421
$as_echo "no" >&6; }
 
5422
fi
 
5423
 
 
5424
 
 
5425
fi
 
5426
if test -z "$ac_cv_prog_DLLTOOL"; then
 
5427
  ac_ct_DLLTOOL=$DLLTOOL
 
5428
  # Extract the first word of "dlltool", so it can be a program name with args.
 
5429
set dummy dlltool; ac_word=$2
 
5430
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5431
$as_echo_n "checking for $ac_word... " >&6; }
 
5432
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 
5433
  $as_echo_n "(cached) " >&6
 
5434
else
 
5435
  if test -n "$ac_ct_DLLTOOL"; then
 
5436
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
5437
else
 
5438
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5439
for as_dir in $PATH
 
5440
do
 
5441
  IFS=$as_save_IFS
 
5442
  test -z "$as_dir" && as_dir=.
 
5443
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5444
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5445
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
5446
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5447
    break 2
 
5448
  fi
 
5449
done
 
5450
  done
 
5451
IFS=$as_save_IFS
 
5452
 
 
5453
fi
 
5454
fi
 
5455
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
5456
if test -n "$ac_ct_DLLTOOL"; then
 
5457
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
5458
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
5459
else
 
5460
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5461
$as_echo "no" >&6; }
 
5462
fi
 
5463
 
 
5464
  if test "x$ac_ct_DLLTOOL" = x; then
 
5465
    DLLTOOL="false"
 
5466
  else
 
5467
    case $cross_compiling:$ac_tool_warned in
 
5468
yes:)
 
5469
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5470
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5471
ac_tool_warned=yes ;;
 
5472
esac
 
5473
    DLLTOOL=$ac_ct_DLLTOOL
 
5474
  fi
 
5475
else
 
5476
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
5477
fi
 
5478
 
 
5479
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
5480
 
 
5481
 
 
5482
 
 
5483
 
 
5484
 
 
5485
 
 
5486
 
 
5487
 
 
5488
 
 
5489
 
 
5490
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 
5491
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 
5492
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 
5493
  $as_echo_n "(cached) " >&6
 
5494
else
 
5495
  lt_cv_sharedlib_from_linklib_cmd='unknown'
 
5496
 
 
5497
case $host_os in
 
5498
cygwin* | mingw* | pw32* | cegcc*)
 
5499
  # two different shell functions defined in ltmain.sh
 
5500
  # decide which to use based on capabilities of $DLLTOOL
 
5501
  case `$DLLTOOL --help 2>&1` in
 
5502
  *--identify-strict*)
 
5503
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 
5504
    ;;
 
5505
  *)
 
5506
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 
5507
    ;;
 
5508
  esac
 
5509
  ;;
 
5510
*)
 
5511
  # fallback: assume linklib IS sharedlib
 
5512
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 
5513
  ;;
 
5514
esac
 
5515
 
 
5516
fi
 
5517
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 
5518
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 
5519
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 
5520
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 
5521
 
 
5522
 
 
5523
 
 
5524
 
 
5525
 
 
5526
 
 
5527
 
 
5528
 
 
5529
if test -n "$ac_tool_prefix"; then
 
5530
  for ac_prog in ar
 
5531
  do
 
5532
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
5533
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
5534
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5535
$as_echo_n "checking for $ac_word... " >&6; }
 
5536
if ${ac_cv_prog_AR+:} false; then :
 
5537
  $as_echo_n "(cached) " >&6
 
5538
else
 
5539
  if test -n "$AR"; then
 
5540
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
5541
else
 
5542
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5543
for as_dir in $PATH
 
5544
do
 
5545
  IFS=$as_save_IFS
 
5546
  test -z "$as_dir" && as_dir=.
 
5547
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5548
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5549
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
 
5550
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5551
    break 2
 
5552
  fi
 
5553
done
 
5554
  done
 
5555
IFS=$as_save_IFS
 
5556
 
 
5557
fi
 
5558
fi
 
5559
AR=$ac_cv_prog_AR
 
5560
if test -n "$AR"; then
 
5561
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 
5562
$as_echo "$AR" >&6; }
 
5563
else
 
5564
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5565
$as_echo "no" >&6; }
 
5566
fi
 
5567
 
 
5568
 
 
5569
    test -n "$AR" && break
 
5570
  done
 
5571
fi
 
5572
if test -z "$AR"; then
 
5573
  ac_ct_AR=$AR
 
5574
  for ac_prog in ar
 
5575
do
 
5576
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
5577
set dummy $ac_prog; ac_word=$2
 
5578
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5579
$as_echo_n "checking for $ac_word... " >&6; }
 
5580
if ${ac_cv_prog_ac_ct_AR+:} false; then :
 
5581
  $as_echo_n "(cached) " >&6
 
5582
else
 
5583
  if test -n "$ac_ct_AR"; then
 
5584
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
5585
else
 
5586
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5587
for as_dir in $PATH
 
5588
do
 
5589
  IFS=$as_save_IFS
 
5590
  test -z "$as_dir" && as_dir=.
 
5591
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5592
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5593
    ac_cv_prog_ac_ct_AR="$ac_prog"
 
5594
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5595
    break 2
 
5596
  fi
 
5597
done
 
5598
  done
 
5599
IFS=$as_save_IFS
 
5600
 
 
5601
fi
 
5602
fi
 
5603
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
5604
if test -n "$ac_ct_AR"; then
 
5605
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 
5606
$as_echo "$ac_ct_AR" >&6; }
 
5607
else
 
5608
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5609
$as_echo "no" >&6; }
 
5610
fi
 
5611
 
 
5612
 
 
5613
  test -n "$ac_ct_AR" && break
 
5614
done
 
5615
 
 
5616
  if test "x$ac_ct_AR" = x; then
 
5617
    AR="false"
 
5618
  else
 
5619
    case $cross_compiling:$ac_tool_warned in
 
5620
yes:)
 
5621
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5622
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5623
ac_tool_warned=yes ;;
 
5624
esac
 
5625
    AR=$ac_ct_AR
 
5626
  fi
 
5627
fi
 
5628
 
 
5629
: ${AR=ar}
 
5630
: ${AR_FLAGS=cru}
 
5631
 
 
5632
 
 
5633
 
 
5634
 
 
5635
 
 
5636
 
 
5637
 
 
5638
 
 
5639
 
 
5640
 
 
5641
 
 
5642
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 
5643
$as_echo_n "checking for archiver @FILE support... " >&6; }
 
5644
if ${lt_cv_ar_at_file+:} false; then :
 
5645
  $as_echo_n "(cached) " >&6
 
5646
else
 
5647
  lt_cv_ar_at_file=no
 
5648
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5649
/* end confdefs.h.  */
 
5650
 
 
5651
int
 
5652
main ()
 
5653
{
 
5654
 
 
5655
  ;
 
5656
  return 0;
 
5657
}
 
5658
_ACEOF
 
5659
if ac_fn_c_try_compile "$LINENO"; then :
 
5660
  echo conftest.$ac_objext > conftest.lst
 
5661
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 
5662
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
5663
  (eval $lt_ar_try) 2>&5
 
5664
  ac_status=$?
 
5665
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5666
  test $ac_status = 0; }
 
5667
      if test "$ac_status" -eq 0; then
 
5668
        # Ensure the archiver fails upon bogus file names.
 
5669
        rm -f conftest.$ac_objext libconftest.a
 
5670
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
5671
  (eval $lt_ar_try) 2>&5
 
5672
  ac_status=$?
 
5673
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5674
  test $ac_status = 0; }
 
5675
        if test "$ac_status" -ne 0; then
 
5676
          lt_cv_ar_at_file=@
 
5677
        fi
 
5678
      fi
 
5679
      rm -f conftest.* libconftest.a
 
5680
 
 
5681
fi
 
5682
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5683
 
 
5684
fi
 
5685
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 
5686
$as_echo "$lt_cv_ar_at_file" >&6; }
 
5687
 
 
5688
if test "x$lt_cv_ar_at_file" = xno; then
 
5689
  archiver_list_spec=
 
5690
else
 
5691
  archiver_list_spec=$lt_cv_ar_at_file
 
5692
fi
 
5693
 
 
5694
 
 
5695
 
 
5696
 
 
5697
 
 
5698
 
 
5699
 
 
5700
if test -n "$ac_tool_prefix"; then
 
5701
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
5702
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
5703
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5704
$as_echo_n "checking for $ac_word... " >&6; }
 
5705
if ${ac_cv_prog_STRIP+:} false; then :
 
5706
  $as_echo_n "(cached) " >&6
 
5707
else
 
5708
  if test -n "$STRIP"; then
 
5709
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
5710
else
 
5711
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5712
for as_dir in $PATH
 
5713
do
 
5714
  IFS=$as_save_IFS
 
5715
  test -z "$as_dir" && as_dir=.
 
5716
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5717
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5718
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
5719
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5720
    break 2
 
5721
  fi
 
5722
done
 
5723
  done
 
5724
IFS=$as_save_IFS
 
5725
 
 
5726
fi
 
5727
fi
 
5728
STRIP=$ac_cv_prog_STRIP
 
5729
if test -n "$STRIP"; then
 
5730
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
5731
$as_echo "$STRIP" >&6; }
 
5732
else
 
5733
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5734
$as_echo "no" >&6; }
 
5735
fi
 
5736
 
 
5737
 
 
5738
fi
 
5739
if test -z "$ac_cv_prog_STRIP"; then
 
5740
  ac_ct_STRIP=$STRIP
 
5741
  # Extract the first word of "strip", so it can be a program name with args.
 
5742
set dummy strip; ac_word=$2
 
5743
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5744
$as_echo_n "checking for $ac_word... " >&6; }
 
5745
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 
5746
  $as_echo_n "(cached) " >&6
 
5747
else
 
5748
  if test -n "$ac_ct_STRIP"; then
 
5749
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
5750
else
 
5751
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5752
for as_dir in $PATH
 
5753
do
 
5754
  IFS=$as_save_IFS
 
5755
  test -z "$as_dir" && as_dir=.
 
5756
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5757
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5758
    ac_cv_prog_ac_ct_STRIP="strip"
 
5759
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5760
    break 2
 
5761
  fi
 
5762
done
 
5763
  done
 
5764
IFS=$as_save_IFS
 
5765
 
 
5766
fi
 
5767
fi
 
5768
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
5769
if test -n "$ac_ct_STRIP"; then
 
5770
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
5771
$as_echo "$ac_ct_STRIP" >&6; }
 
5772
else
 
5773
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5774
$as_echo "no" >&6; }
 
5775
fi
 
5776
 
 
5777
  if test "x$ac_ct_STRIP" = x; then
 
5778
    STRIP=":"
 
5779
  else
 
5780
    case $cross_compiling:$ac_tool_warned in
 
5781
yes:)
 
5782
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5783
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5784
ac_tool_warned=yes ;;
 
5785
esac
 
5786
    STRIP=$ac_ct_STRIP
 
5787
  fi
 
5788
else
 
5789
  STRIP="$ac_cv_prog_STRIP"
 
5790
fi
 
5791
 
 
5792
test -z "$STRIP" && STRIP=:
 
5793
 
 
5794
 
 
5795
 
 
5796
 
 
5797
 
 
5798
 
 
5799
if test -n "$ac_tool_prefix"; then
 
5800
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
5801
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
5802
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5803
$as_echo_n "checking for $ac_word... " >&6; }
 
5804
if ${ac_cv_prog_RANLIB+:} false; then :
 
5805
  $as_echo_n "(cached) " >&6
 
5806
else
 
5807
  if test -n "$RANLIB"; then
 
5808
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
5809
else
 
5810
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5811
for as_dir in $PATH
 
5812
do
 
5813
  IFS=$as_save_IFS
 
5814
  test -z "$as_dir" && as_dir=.
 
5815
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5816
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5817
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
5818
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5819
    break 2
 
5820
  fi
 
5821
done
 
5822
  done
 
5823
IFS=$as_save_IFS
 
5824
 
 
5825
fi
 
5826
fi
 
5827
RANLIB=$ac_cv_prog_RANLIB
 
5828
if test -n "$RANLIB"; then
 
5829
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 
5830
$as_echo "$RANLIB" >&6; }
 
5831
else
 
5832
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5833
$as_echo "no" >&6; }
 
5834
fi
 
5835
 
 
5836
 
 
5837
fi
 
5838
if test -z "$ac_cv_prog_RANLIB"; then
 
5839
  ac_ct_RANLIB=$RANLIB
 
5840
  # Extract the first word of "ranlib", so it can be a program name with args.
 
5841
set dummy ranlib; ac_word=$2
 
5842
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5843
$as_echo_n "checking for $ac_word... " >&6; }
 
5844
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
 
5845
  $as_echo_n "(cached) " >&6
 
5846
else
 
5847
  if test -n "$ac_ct_RANLIB"; then
 
5848
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
5849
else
 
5850
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5851
for as_dir in $PATH
 
5852
do
 
5853
  IFS=$as_save_IFS
 
5854
  test -z "$as_dir" && as_dir=.
 
5855
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5856
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5857
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
5858
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5859
    break 2
 
5860
  fi
 
5861
done
 
5862
  done
 
5863
IFS=$as_save_IFS
 
5864
 
 
5865
fi
 
5866
fi
 
5867
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
5868
if test -n "$ac_ct_RANLIB"; then
 
5869
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 
5870
$as_echo "$ac_ct_RANLIB" >&6; }
 
5871
else
 
5872
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5873
$as_echo "no" >&6; }
 
5874
fi
 
5875
 
 
5876
  if test "x$ac_ct_RANLIB" = x; then
 
5877
    RANLIB=":"
 
5878
  else
 
5879
    case $cross_compiling:$ac_tool_warned in
 
5880
yes:)
 
5881
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5882
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5883
ac_tool_warned=yes ;;
 
5884
esac
 
5885
    RANLIB=$ac_ct_RANLIB
 
5886
  fi
 
5887
else
 
5888
  RANLIB="$ac_cv_prog_RANLIB"
 
5889
fi
 
5890
 
 
5891
test -z "$RANLIB" && RANLIB=:
 
5892
 
 
5893
 
 
5894
 
 
5895
 
 
5896
 
 
5897
 
 
5898
# Determine commands to create old-style static archives.
 
5899
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
5900
old_postinstall_cmds='chmod 644 $oldlib'
 
5901
old_postuninstall_cmds=
 
5902
 
 
5903
if test -n "$RANLIB"; then
 
5904
  case $host_os in
 
5905
  openbsd*)
 
5906
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
 
5907
    ;;
 
5908
  *)
 
5909
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
 
5910
    ;;
 
5911
  esac
 
5912
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
 
5913
fi
 
5914
 
 
5915
case $host_os in
 
5916
  darwin*)
 
5917
    lock_old_archive_extraction=yes ;;
 
5918
  *)
 
5919
    lock_old_archive_extraction=no ;;
 
5920
esac
 
5921
 
 
5922
 
 
5923
 
 
5924
 
 
5925
 
 
5926
 
 
5927
 
 
5928
 
 
5929
 
 
5930
 
 
5931
 
 
5932
 
 
5933
 
 
5934
 
 
5935
 
 
5936
 
 
5937
 
 
5938
 
 
5939
 
 
5940
 
 
5941
 
 
5942
 
 
5943
 
 
5944
 
 
5945
 
 
5946
 
 
5947
 
 
5948
 
 
5949
 
 
5950
 
 
5951
 
 
5952
 
 
5953
 
 
5954
 
 
5955
 
 
5956
 
 
5957
 
 
5958
 
 
5959
 
 
5960
# If no C compiler was specified, use CC.
 
5961
LTCC=${LTCC-"$CC"}
 
5962
 
 
5963
# If no C compiler flags were specified, use CFLAGS.
 
5964
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
5965
 
 
5966
# Allow CC to be a program name with arguments.
 
5967
compiler=$CC
 
5968
 
 
5969
 
 
5970
# Check for command to grab the raw symbol name followed by C symbol from nm.
 
5971
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
 
5972
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
 
5973
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
 
5974
  $as_echo_n "(cached) " >&6
 
5975
else
 
5976
 
 
5977
# These are sane defaults that work on at least a few old systems.
 
5978
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 
5979
 
 
5980
# Character class describing NM global symbol codes.
 
5981
symcode='[BCDEGRST]'
 
5982
 
 
5983
# Regexp to match symbols that can be accessed directly from C.
 
5984
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
 
5985
 
 
5986
# Define system-specific variables.
 
5987
case $host_os in
 
5988
aix*)
 
5989
  symcode='[BCDT]'
 
5990
  ;;
 
5991
cygwin* | mingw* | pw32* | cegcc*)
 
5992
  symcode='[ABCDGISTW]'
 
5993
  ;;
 
5994
hpux*)
 
5995
  if test "$host_cpu" = ia64; then
 
5996
    symcode='[ABCDEGRST]'
 
5997
  fi
 
5998
  ;;
 
5999
irix* | nonstopux*)
 
6000
  symcode='[BCDEGRST]'
 
6001
  ;;
 
6002
osf*)
 
6003
  symcode='[BCDEGQRST]'
 
6004
  ;;
 
6005
solaris*)
 
6006
  symcode='[BDRT]'
 
6007
  ;;
 
6008
sco3.2v5*)
 
6009
  symcode='[DT]'
 
6010
  ;;
 
6011
sysv4.2uw2*)
 
6012
  symcode='[DT]'
 
6013
  ;;
 
6014
sysv5* | sco5v6* | unixware* | OpenUNIX*)
 
6015
  symcode='[ABDT]'
 
6016
  ;;
 
6017
sysv4)
 
6018
  symcode='[DFNSTU]'
 
6019
  ;;
 
6020
esac
 
6021
 
 
6022
# If we're using GNU nm, then use its standard symbol codes.
 
6023
case `$NM -V 2>&1` in
 
6024
*GNU* | *'with BFD'*)
 
6025
  symcode='[ABCDGIRSTW]' ;;
 
6026
esac
 
6027
 
 
6028
# Transform an extracted symbol line into a proper C declaration.
 
6029
# Some systems (esp. on ia64) link data and code symbols differently,
 
6030
# so use this general approach.
 
6031
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
6032
 
 
6033
# Transform an extracted symbol line into symbol name and symbol address
 
6034
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
6035
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'"
 
6036
 
 
6037
# Handle CRLF in mingw tool chain
 
6038
opt_cr=
 
6039
case $build_os in
 
6040
mingw*)
 
6041
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
6042
  ;;
 
6043
esac
 
6044
 
 
6045
# Try without a prefix underscore, then with it.
 
6046
for ac_symprfx in "" "_"; do
 
6047
 
 
6048
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 
6049
  symxfrm="\\1 $ac_symprfx\\2 \\2"
 
6050
 
 
6051
  # Write the raw and C identifiers.
 
6052
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
6053
    # Fake it for dumpbin and say T for any non-static function
 
6054
    # and D for any global variable.
 
6055
    # Also find C++ and __fastcall symbols from MSVC++,
 
6056
    # which start with @ or ?.
 
6057
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
6058
"     {last_section=section; section=\$ 3};"\
 
6059
"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
 
6060
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
6061
"     \$ 0!~/External *\|/{next};"\
 
6062
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
6063
"     {if(hide[section]) next};"\
 
6064
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
6065
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
6066
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
6067
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
6068
"     ' prfx=^$ac_symprfx"
 
6069
  else
 
6070
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
6071
  fi
 
6072
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
 
6073
 
 
6074
  # Check to see that the pipe works correctly.
 
6075
  pipe_works=no
 
6076
 
 
6077
  rm -f conftest*
 
6078
  cat > conftest.$ac_ext <<_LT_EOF
 
6079
#ifdef __cplusplus
 
6080
extern "C" {
 
6081
#endif
 
6082
char nm_test_var;
 
6083
void nm_test_func(void);
 
6084
void nm_test_func(void){}
 
6085
#ifdef __cplusplus
 
6086
}
 
6087
#endif
 
6088
int main(){nm_test_var='a';nm_test_func();return(0);}
 
6089
_LT_EOF
 
6090
 
 
6091
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6092
  (eval $ac_compile) 2>&5
 
6093
  ac_status=$?
 
6094
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6095
  test $ac_status = 0; }; then
 
6096
    # Now try to grab the symbols.
 
6097
    nlist=conftest.nm
 
6098
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 
6099
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
 
6100
  ac_status=$?
 
6101
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6102
  test $ac_status = 0; } && test -s "$nlist"; then
 
6103
      # Try sorting and uniquifying the output.
 
6104
      if sort "$nlist" | uniq > "$nlist"T; then
 
6105
        mv -f "$nlist"T "$nlist"
 
6106
      else
 
6107
        rm -f "$nlist"T
 
6108
      fi
 
6109
 
 
6110
      # Make sure that we snagged all the symbols we need.
 
6111
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
6112
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
6113
          cat <<_LT_EOF > conftest.$ac_ext
 
6114
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 
6115
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 
6116
/* DATA imports from DLLs on WIN32 con't be const, because runtime
 
6117
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 
6118
# define LT_DLSYM_CONST
 
6119
#elif defined(__osf__)
 
6120
/* This system does not cope well with relocations in const data.  */
 
6121
# define LT_DLSYM_CONST
 
6122
#else
 
6123
# define LT_DLSYM_CONST const
 
6124
#endif
 
6125
 
 
6126
#ifdef __cplusplus
 
6127
extern "C" {
 
6128
#endif
 
6129
 
 
6130
_LT_EOF
 
6131
          # Now generate the symbol file.
 
6132
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
6133
 
 
6134
          cat <<_LT_EOF >> conftest.$ac_ext
 
6135
 
 
6136
/* The mapping between symbol names and symbols.  */
 
6137
LT_DLSYM_CONST struct {
 
6138
  const char *name;
 
6139
  void       *address;
 
6140
}
 
6141
lt__PROGRAM__LTX_preloaded_symbols[] =
 
6142
{
 
6143
  { "@PROGRAM@", (void *) 0 },
 
6144
_LT_EOF
 
6145
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
6146
          cat <<\_LT_EOF >> conftest.$ac_ext
 
6147
  {0, (void *) 0}
 
6148
};
 
6149
 
 
6150
/* This works around a problem in FreeBSD linker */
 
6151
#ifdef FREEBSD_WORKAROUND
 
6152
static const void *lt_preloaded_setup() {
 
6153
  return lt__PROGRAM__LTX_preloaded_symbols;
 
6154
}
 
6155
#endif
 
6156
 
 
6157
#ifdef __cplusplus
 
6158
}
 
6159
#endif
 
6160
_LT_EOF
 
6161
          # Now try linking the two files.
 
6162
          mv conftest.$ac_objext conftstm.$ac_objext
 
6163
          lt_globsym_save_LIBS=$LIBS
 
6164
          lt_globsym_save_CFLAGS=$CFLAGS
 
6165
          LIBS="conftstm.$ac_objext"
 
6166
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
 
6167
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
6168
  (eval $ac_link) 2>&5
 
6169
  ac_status=$?
 
6170
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6171
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
 
6172
            pipe_works=yes
 
6173
          fi
 
6174
          LIBS=$lt_globsym_save_LIBS
 
6175
          CFLAGS=$lt_globsym_save_CFLAGS
 
6176
        else
 
6177
          echo "cannot find nm_test_func in $nlist" >&5
 
6178
        fi
 
6179
      else
 
6180
        echo "cannot find nm_test_var in $nlist" >&5
 
6181
      fi
 
6182
    else
 
6183
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
 
6184
    fi
 
6185
  else
 
6186
    echo "$progname: failed program was:" >&5
 
6187
    cat conftest.$ac_ext >&5
 
6188
  fi
 
6189
  rm -rf conftest* conftst*
 
6190
 
 
6191
  # Do not use the global_symbol_pipe unless it works.
 
6192
  if test "$pipe_works" = yes; then
 
6193
    break
 
6194
  else
 
6195
    lt_cv_sys_global_symbol_pipe=
 
6196
  fi
 
6197
done
 
6198
 
 
6199
fi
 
6200
 
 
6201
if test -z "$lt_cv_sys_global_symbol_pipe"; then
 
6202
  lt_cv_sys_global_symbol_to_cdecl=
 
6203
fi
 
6204
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
 
6205
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
 
6206
$as_echo "failed" >&6; }
 
6207
else
 
6208
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
6209
$as_echo "ok" >&6; }
 
6210
fi
 
6211
 
 
6212
# Response file support.
 
6213
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
6214
  nm_file_list_spec='@'
 
6215
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 
6216
  nm_file_list_spec='@'
 
6217
fi
 
6218
 
 
6219
 
 
6220
 
 
6221
 
 
6222
 
 
6223
 
 
6224
 
 
6225
 
 
6226
 
 
6227
 
 
6228
 
 
6229
 
 
6230
 
 
6231
 
 
6232
 
 
6233
 
 
6234
 
 
6235
 
 
6236
 
 
6237
 
 
6238
 
 
6239
 
 
6240
 
 
6241
 
 
6242
 
 
6243
 
 
6244
 
 
6245
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 
6246
$as_echo_n "checking for sysroot... " >&6; }
 
6247
 
 
6248
# Check whether --with-sysroot was given.
 
6249
if test "${with_sysroot+set}" = set; then :
 
6250
  withval=$with_sysroot;
 
6251
else
 
6252
  with_sysroot=no
 
6253
fi
 
6254
 
 
6255
 
 
6256
lt_sysroot=
 
6257
case ${with_sysroot} in #(
 
6258
 yes)
 
6259
   if test "$GCC" = yes; then
 
6260
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 
6261
   fi
 
6262
   ;; #(
 
6263
 /*)
 
6264
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 
6265
   ;; #(
 
6266
 no|'')
 
6267
   ;; #(
 
6268
 *)
 
6269
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 
6270
$as_echo "${with_sysroot}" >&6; }
 
6271
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 
6272
   ;;
 
6273
esac
 
6274
 
 
6275
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 
6276
$as_echo "${lt_sysroot:-no}" >&6; }
 
6277
 
 
6278
 
 
6279
 
 
6280
 
 
6281
 
 
6282
# Check whether --enable-libtool-lock was given.
 
6283
if test "${enable_libtool_lock+set}" = set; then :
 
6284
  enableval=$enable_libtool_lock;
 
6285
fi
 
6286
 
 
6287
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
6288
 
 
6289
# Some flags need to be propagated to the compiler or linker for good
 
6290
# libtool support.
 
6291
case $host in
 
6292
ia64-*-hpux*)
 
6293
  # Find out which ABI we are using.
 
6294
  echo 'int i;' > conftest.$ac_ext
 
6295
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6296
  (eval $ac_compile) 2>&5
 
6297
  ac_status=$?
 
6298
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6299
  test $ac_status = 0; }; then
 
6300
    case `/usr/bin/file conftest.$ac_objext` in
 
6301
      *ELF-32*)
 
6302
        HPUX_IA64_MODE="32"
 
6303
        ;;
 
6304
      *ELF-64*)
 
6305
        HPUX_IA64_MODE="64"
 
6306
        ;;
 
6307
    esac
 
6308
  fi
 
6309
  rm -rf conftest*
 
6310
  ;;
 
6311
*-*-irix6*)
 
6312
  # Find out which ABI we are using.
 
6313
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
 
6314
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6315
  (eval $ac_compile) 2>&5
 
6316
  ac_status=$?
 
6317
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6318
  test $ac_status = 0; }; then
 
6319
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
6320
      case `/usr/bin/file conftest.$ac_objext` in
 
6321
        *32-bit*)
 
6322
          LD="${LD-ld} -melf32bsmip"
 
6323
          ;;
 
6324
        *N32*)
 
6325
          LD="${LD-ld} -melf32bmipn32"
 
6326
          ;;
 
6327
        *64-bit*)
 
6328
          LD="${LD-ld} -melf64bmip"
 
6329
        ;;
 
6330
      esac
 
6331
    else
 
6332
      case `/usr/bin/file conftest.$ac_objext` in
 
6333
        *32-bit*)
 
6334
          LD="${LD-ld} -32"
 
6335
          ;;
 
6336
        *N32*)
 
6337
          LD="${LD-ld} -n32"
 
6338
          ;;
 
6339
        *64-bit*)
 
6340
          LD="${LD-ld} -64"
 
6341
          ;;
 
6342
      esac
 
6343
    fi
 
6344
  fi
 
6345
  rm -rf conftest*
 
6346
  ;;
 
6347
 
 
6348
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
6349
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
6350
  # Find out which ABI we are using.
 
6351
  echo 'int i;' > conftest.$ac_ext
 
6352
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6353
  (eval $ac_compile) 2>&5
 
6354
  ac_status=$?
 
6355
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6356
  test $ac_status = 0; }; then
 
6357
    case `/usr/bin/file conftest.o` in
 
6358
      *32-bit*)
 
6359
        case $host in
 
6360
          x86_64-*kfreebsd*-gnu)
 
6361
            LD="${LD-ld} -m elf_i386_fbsd"
 
6362
            ;;
 
6363
          x86_64-*linux*)
 
6364
            LD="${LD-ld} -m elf_i386"
 
6365
            ;;
 
6366
          ppc64-*linux*|powerpc64-*linux*)
 
6367
            LD="${LD-ld} -m elf32ppclinux"
 
6368
            ;;
 
6369
          s390x-*linux*)
 
6370
            LD="${LD-ld} -m elf_s390"
 
6371
            ;;
 
6372
          sparc64-*linux*)
 
6373
            LD="${LD-ld} -m elf32_sparc"
 
6374
            ;;
 
6375
        esac
 
6376
        ;;
 
6377
      *64-bit*)
 
6378
        case $host in
 
6379
          x86_64-*kfreebsd*-gnu)
 
6380
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
6381
            ;;
 
6382
          x86_64-*linux*)
 
6383
            LD="${LD-ld} -m elf_x86_64"
 
6384
            ;;
 
6385
          ppc*-*linux*|powerpc*-*linux*)
 
6386
            LD="${LD-ld} -m elf64ppc"
 
6387
            ;;
 
6388
          s390*-*linux*|s390*-*tpf*)
 
6389
            LD="${LD-ld} -m elf64_s390"
 
6390
            ;;
 
6391
          sparc*-*linux*)
 
6392
            LD="${LD-ld} -m elf64_sparc"
 
6393
            ;;
 
6394
        esac
 
6395
        ;;
 
6396
    esac
 
6397
  fi
 
6398
  rm -rf conftest*
 
6399
  ;;
 
6400
 
 
6401
*-*-sco3.2v5*)
 
6402
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
6403
  SAVE_CFLAGS="$CFLAGS"
 
6404
  CFLAGS="$CFLAGS -belf"
 
6405
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 
6406
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
6407
if ${lt_cv_cc_needs_belf+:} false; then :
 
6408
  $as_echo_n "(cached) " >&6
 
6409
else
 
6410
  ac_ext=c
 
6411
ac_cpp='$CPP $CPPFLAGS'
 
6412
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6413
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6414
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6415
 
 
6416
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6417
/* end confdefs.h.  */
 
6418
 
 
6419
int
 
6420
main ()
 
6421
{
 
6422
 
 
6423
  ;
 
6424
  return 0;
 
6425
}
 
6426
_ACEOF
 
6427
if ac_fn_c_try_link "$LINENO"; then :
 
6428
  lt_cv_cc_needs_belf=yes
 
6429
else
 
6430
  lt_cv_cc_needs_belf=no
 
6431
fi
 
6432
rm -f core conftest.err conftest.$ac_objext \
 
6433
    conftest$ac_exeext conftest.$ac_ext
 
6434
     ac_ext=c
 
6435
ac_cpp='$CPP $CPPFLAGS'
 
6436
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6437
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6438
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6439
 
 
6440
fi
 
6441
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
 
6442
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
6443
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
6444
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
6445
    CFLAGS="$SAVE_CFLAGS"
 
6446
  fi
 
6447
  ;;
 
6448
*-*solaris*)
 
6449
  # Find out which ABI we are using.
 
6450
  echo 'int i;' > conftest.$ac_ext
 
6451
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6452
  (eval $ac_compile) 2>&5
 
6453
  ac_status=$?
 
6454
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6455
  test $ac_status = 0; }; then
 
6456
    case `/usr/bin/file conftest.o` in
 
6457
    *64-bit*)
 
6458
      case $lt_cv_prog_gnu_ld in
 
6459
      yes*)
 
6460
        case $host in
 
6461
        i?86-*-solaris*)
 
6462
          LD="${LD-ld} -m elf_x86_64"
 
6463
          ;;
 
6464
        sparc*-*-solaris*)
 
6465
          LD="${LD-ld} -m elf64_sparc"
 
6466
          ;;
 
6467
        esac
 
6468
        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
 
6469
        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
 
6470
          LD="${LD-ld}_sol2"
 
6471
        fi
 
6472
        ;;
 
6473
      *)
 
6474
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
6475
          LD="${LD-ld} -64"
 
6476
        fi
 
6477
        ;;
 
6478
      esac
 
6479
      ;;
 
6480
    esac
 
6481
  fi
 
6482
  rm -rf conftest*
 
6483
  ;;
 
6484
esac
 
6485
 
 
6486
need_locks="$enable_libtool_lock"
 
6487
 
 
6488
if test -n "$ac_tool_prefix"; then
 
6489
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 
6490
set dummy ${ac_tool_prefix}mt; ac_word=$2
 
6491
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6492
$as_echo_n "checking for $ac_word... " >&6; }
 
6493
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 
6494
  $as_echo_n "(cached) " >&6
 
6495
else
 
6496
  if test -n "$MANIFEST_TOOL"; then
 
6497
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 
6498
else
 
6499
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6500
for as_dir in $PATH
 
6501
do
 
6502
  IFS=$as_save_IFS
 
6503
  test -z "$as_dir" && as_dir=.
 
6504
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6505
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6506
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 
6507
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6508
    break 2
 
6509
  fi
 
6510
done
 
6511
  done
 
6512
IFS=$as_save_IFS
 
6513
 
 
6514
fi
 
6515
fi
 
6516
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 
6517
if test -n "$MANIFEST_TOOL"; then
 
6518
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 
6519
$as_echo "$MANIFEST_TOOL" >&6; }
 
6520
else
 
6521
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6522
$as_echo "no" >&6; }
 
6523
fi
 
6524
 
 
6525
 
 
6526
fi
 
6527
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 
6528
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 
6529
  # Extract the first word of "mt", so it can be a program name with args.
 
6530
set dummy mt; ac_word=$2
 
6531
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6532
$as_echo_n "checking for $ac_word... " >&6; }
 
6533
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 
6534
  $as_echo_n "(cached) " >&6
 
6535
else
 
6536
  if test -n "$ac_ct_MANIFEST_TOOL"; then
 
6537
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 
6538
else
 
6539
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6540
for as_dir in $PATH
 
6541
do
 
6542
  IFS=$as_save_IFS
 
6543
  test -z "$as_dir" && as_dir=.
 
6544
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6545
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6546
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 
6547
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6548
    break 2
 
6549
  fi
 
6550
done
 
6551
  done
 
6552
IFS=$as_save_IFS
 
6553
 
 
6554
fi
 
6555
fi
 
6556
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 
6557
if test -n "$ac_ct_MANIFEST_TOOL"; then
 
6558
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 
6559
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 
6560
else
 
6561
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6562
$as_echo "no" >&6; }
 
6563
fi
 
6564
 
 
6565
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 
6566
    MANIFEST_TOOL=":"
 
6567
  else
 
6568
    case $cross_compiling:$ac_tool_warned in
 
6569
yes:)
 
6570
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6571
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6572
ac_tool_warned=yes ;;
 
6573
esac
 
6574
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 
6575
  fi
 
6576
else
 
6577
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 
6578
fi
 
6579
 
 
6580
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 
6581
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 
6582
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 
6583
if ${lt_cv_path_mainfest_tool+:} false; then :
 
6584
  $as_echo_n "(cached) " >&6
 
6585
else
 
6586
  lt_cv_path_mainfest_tool=no
 
6587
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 
6588
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 
6589
  cat conftest.err >&5
 
6590
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 
6591
    lt_cv_path_mainfest_tool=yes
 
6592
  fi
 
6593
  rm -f conftest*
 
6594
fi
 
6595
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 
6596
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 
6597
if test "x$lt_cv_path_mainfest_tool" != xyes; then
 
6598
  MANIFEST_TOOL=:
 
6599
fi
 
6600
 
 
6601
 
 
6602
 
 
6603
 
 
6604
 
 
6605
 
 
6606
  case $host_os in
 
6607
    rhapsody* | darwin*)
 
6608
    if test -n "$ac_tool_prefix"; then
 
6609
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
6610
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
6611
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6612
$as_echo_n "checking for $ac_word... " >&6; }
 
6613
if ${ac_cv_prog_DSYMUTIL+:} false; then :
 
6614
  $as_echo_n "(cached) " >&6
 
6615
else
 
6616
  if test -n "$DSYMUTIL"; then
 
6617
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
6618
else
 
6619
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6620
for as_dir in $PATH
 
6621
do
 
6622
  IFS=$as_save_IFS
 
6623
  test -z "$as_dir" && as_dir=.
 
6624
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6625
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6626
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
6627
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6628
    break 2
 
6629
  fi
 
6630
done
 
6631
  done
 
6632
IFS=$as_save_IFS
 
6633
 
 
6634
fi
 
6635
fi
 
6636
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
6637
if test -n "$DSYMUTIL"; then
 
6638
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
 
6639
$as_echo "$DSYMUTIL" >&6; }
 
6640
else
 
6641
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6642
$as_echo "no" >&6; }
 
6643
fi
 
6644
 
 
6645
 
 
6646
fi
 
6647
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
6648
  ac_ct_DSYMUTIL=$DSYMUTIL
 
6649
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
6650
set dummy dsymutil; ac_word=$2
 
6651
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6652
$as_echo_n "checking for $ac_word... " >&6; }
 
6653
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
 
6654
  $as_echo_n "(cached) " >&6
 
6655
else
 
6656
  if test -n "$ac_ct_DSYMUTIL"; then
 
6657
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
6658
else
 
6659
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6660
for as_dir in $PATH
 
6661
do
 
6662
  IFS=$as_save_IFS
 
6663
  test -z "$as_dir" && as_dir=.
 
6664
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6665
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6666
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
6667
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6668
    break 2
 
6669
  fi
 
6670
done
 
6671
  done
 
6672
IFS=$as_save_IFS
 
6673
 
 
6674
fi
 
6675
fi
 
6676
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
6677
if test -n "$ac_ct_DSYMUTIL"; then
 
6678
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
 
6679
$as_echo "$ac_ct_DSYMUTIL" >&6; }
 
6680
else
 
6681
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6682
$as_echo "no" >&6; }
 
6683
fi
 
6684
 
 
6685
  if test "x$ac_ct_DSYMUTIL" = x; then
 
6686
    DSYMUTIL=":"
 
6687
  else
 
6688
    case $cross_compiling:$ac_tool_warned in
 
6689
yes:)
 
6690
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6691
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6692
ac_tool_warned=yes ;;
 
6693
esac
 
6694
    DSYMUTIL=$ac_ct_DSYMUTIL
 
6695
  fi
 
6696
else
 
6697
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
6698
fi
 
6699
 
 
6700
    if test -n "$ac_tool_prefix"; then
 
6701
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
6702
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
6703
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6704
$as_echo_n "checking for $ac_word... " >&6; }
 
6705
if ${ac_cv_prog_NMEDIT+:} false; then :
 
6706
  $as_echo_n "(cached) " >&6
 
6707
else
 
6708
  if test -n "$NMEDIT"; then
 
6709
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
6710
else
 
6711
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6712
for as_dir in $PATH
 
6713
do
 
6714
  IFS=$as_save_IFS
 
6715
  test -z "$as_dir" && as_dir=.
 
6716
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6717
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6718
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
6719
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6720
    break 2
 
6721
  fi
 
6722
done
 
6723
  done
 
6724
IFS=$as_save_IFS
 
6725
 
 
6726
fi
 
6727
fi
 
6728
NMEDIT=$ac_cv_prog_NMEDIT
 
6729
if test -n "$NMEDIT"; then
 
6730
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
 
6731
$as_echo "$NMEDIT" >&6; }
 
6732
else
 
6733
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6734
$as_echo "no" >&6; }
 
6735
fi
 
6736
 
 
6737
 
 
6738
fi
 
6739
if test -z "$ac_cv_prog_NMEDIT"; then
 
6740
  ac_ct_NMEDIT=$NMEDIT
 
6741
  # Extract the first word of "nmedit", so it can be a program name with args.
 
6742
set dummy nmedit; ac_word=$2
 
6743
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6744
$as_echo_n "checking for $ac_word... " >&6; }
 
6745
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
 
6746
  $as_echo_n "(cached) " >&6
 
6747
else
 
6748
  if test -n "$ac_ct_NMEDIT"; then
 
6749
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
6750
else
 
6751
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6752
for as_dir in $PATH
 
6753
do
 
6754
  IFS=$as_save_IFS
 
6755
  test -z "$as_dir" && as_dir=.
 
6756
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6757
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6758
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
6759
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6760
    break 2
 
6761
  fi
 
6762
done
 
6763
  done
 
6764
IFS=$as_save_IFS
 
6765
 
 
6766
fi
 
6767
fi
 
6768
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
6769
if test -n "$ac_ct_NMEDIT"; then
 
6770
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
 
6771
$as_echo "$ac_ct_NMEDIT" >&6; }
 
6772
else
 
6773
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6774
$as_echo "no" >&6; }
 
6775
fi
 
6776
 
 
6777
  if test "x$ac_ct_NMEDIT" = x; then
 
6778
    NMEDIT=":"
 
6779
  else
 
6780
    case $cross_compiling:$ac_tool_warned in
 
6781
yes:)
 
6782
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6783
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6784
ac_tool_warned=yes ;;
 
6785
esac
 
6786
    NMEDIT=$ac_ct_NMEDIT
 
6787
  fi
 
6788
else
 
6789
  NMEDIT="$ac_cv_prog_NMEDIT"
 
6790
fi
 
6791
 
 
6792
    if test -n "$ac_tool_prefix"; then
 
6793
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
6794
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
6795
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6796
$as_echo_n "checking for $ac_word... " >&6; }
 
6797
if ${ac_cv_prog_LIPO+:} false; then :
 
6798
  $as_echo_n "(cached) " >&6
 
6799
else
 
6800
  if test -n "$LIPO"; then
 
6801
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
6802
else
 
6803
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6804
for as_dir in $PATH
 
6805
do
 
6806
  IFS=$as_save_IFS
 
6807
  test -z "$as_dir" && as_dir=.
 
6808
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6809
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6810
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
6811
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6812
    break 2
 
6813
  fi
 
6814
done
 
6815
  done
 
6816
IFS=$as_save_IFS
 
6817
 
 
6818
fi
 
6819
fi
 
6820
LIPO=$ac_cv_prog_LIPO
 
6821
if test -n "$LIPO"; then
 
6822
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
 
6823
$as_echo "$LIPO" >&6; }
 
6824
else
 
6825
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6826
$as_echo "no" >&6; }
 
6827
fi
 
6828
 
 
6829
 
 
6830
fi
 
6831
if test -z "$ac_cv_prog_LIPO"; then
 
6832
  ac_ct_LIPO=$LIPO
 
6833
  # Extract the first word of "lipo", so it can be a program name with args.
 
6834
set dummy lipo; ac_word=$2
 
6835
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6836
$as_echo_n "checking for $ac_word... " >&6; }
 
6837
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
 
6838
  $as_echo_n "(cached) " >&6
 
6839
else
 
6840
  if test -n "$ac_ct_LIPO"; then
 
6841
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
6842
else
 
6843
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6844
for as_dir in $PATH
 
6845
do
 
6846
  IFS=$as_save_IFS
 
6847
  test -z "$as_dir" && as_dir=.
 
6848
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6849
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6850
    ac_cv_prog_ac_ct_LIPO="lipo"
 
6851
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6852
    break 2
 
6853
  fi
 
6854
done
 
6855
  done
 
6856
IFS=$as_save_IFS
 
6857
 
 
6858
fi
 
6859
fi
 
6860
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
6861
if test -n "$ac_ct_LIPO"; then
 
6862
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
 
6863
$as_echo "$ac_ct_LIPO" >&6; }
 
6864
else
 
6865
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6866
$as_echo "no" >&6; }
 
6867
fi
 
6868
 
 
6869
  if test "x$ac_ct_LIPO" = x; then
 
6870
    LIPO=":"
 
6871
  else
 
6872
    case $cross_compiling:$ac_tool_warned in
 
6873
yes:)
 
6874
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6875
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6876
ac_tool_warned=yes ;;
 
6877
esac
 
6878
    LIPO=$ac_ct_LIPO
 
6879
  fi
 
6880
else
 
6881
  LIPO="$ac_cv_prog_LIPO"
 
6882
fi
 
6883
 
 
6884
    if test -n "$ac_tool_prefix"; then
 
6885
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
6886
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
6887
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6888
$as_echo_n "checking for $ac_word... " >&6; }
 
6889
if ${ac_cv_prog_OTOOL+:} false; then :
 
6890
  $as_echo_n "(cached) " >&6
 
6891
else
 
6892
  if test -n "$OTOOL"; then
 
6893
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
6894
else
 
6895
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6896
for as_dir in $PATH
 
6897
do
 
6898
  IFS=$as_save_IFS
 
6899
  test -z "$as_dir" && as_dir=.
 
6900
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6901
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6902
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
6903
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6904
    break 2
 
6905
  fi
 
6906
done
 
6907
  done
 
6908
IFS=$as_save_IFS
 
6909
 
 
6910
fi
 
6911
fi
 
6912
OTOOL=$ac_cv_prog_OTOOL
 
6913
if test -n "$OTOOL"; then
 
6914
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
 
6915
$as_echo "$OTOOL" >&6; }
 
6916
else
 
6917
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6918
$as_echo "no" >&6; }
 
6919
fi
 
6920
 
 
6921
 
 
6922
fi
 
6923
if test -z "$ac_cv_prog_OTOOL"; then
 
6924
  ac_ct_OTOOL=$OTOOL
 
6925
  # Extract the first word of "otool", so it can be a program name with args.
 
6926
set dummy otool; ac_word=$2
 
6927
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6928
$as_echo_n "checking for $ac_word... " >&6; }
 
6929
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
 
6930
  $as_echo_n "(cached) " >&6
 
6931
else
 
6932
  if test -n "$ac_ct_OTOOL"; then
 
6933
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
6934
else
 
6935
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6936
for as_dir in $PATH
 
6937
do
 
6938
  IFS=$as_save_IFS
 
6939
  test -z "$as_dir" && as_dir=.
 
6940
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6941
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6942
    ac_cv_prog_ac_ct_OTOOL="otool"
 
6943
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6944
    break 2
 
6945
  fi
 
6946
done
 
6947
  done
 
6948
IFS=$as_save_IFS
 
6949
 
 
6950
fi
 
6951
fi
 
6952
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
6953
if test -n "$ac_ct_OTOOL"; then
 
6954
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
 
6955
$as_echo "$ac_ct_OTOOL" >&6; }
 
6956
else
 
6957
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6958
$as_echo "no" >&6; }
 
6959
fi
 
6960
 
 
6961
  if test "x$ac_ct_OTOOL" = x; then
 
6962
    OTOOL=":"
 
6963
  else
 
6964
    case $cross_compiling:$ac_tool_warned in
 
6965
yes:)
 
6966
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6967
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6968
ac_tool_warned=yes ;;
 
6969
esac
 
6970
    OTOOL=$ac_ct_OTOOL
 
6971
  fi
 
6972
else
 
6973
  OTOOL="$ac_cv_prog_OTOOL"
 
6974
fi
 
6975
 
 
6976
    if test -n "$ac_tool_prefix"; then
 
6977
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
6978
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
6979
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6980
$as_echo_n "checking for $ac_word... " >&6; }
 
6981
if ${ac_cv_prog_OTOOL64+:} false; then :
 
6982
  $as_echo_n "(cached) " >&6
 
6983
else
 
6984
  if test -n "$OTOOL64"; then
 
6985
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
6986
else
 
6987
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6988
for as_dir in $PATH
 
6989
do
 
6990
  IFS=$as_save_IFS
 
6991
  test -z "$as_dir" && as_dir=.
 
6992
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6993
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6994
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
6995
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6996
    break 2
 
6997
  fi
 
6998
done
 
6999
  done
 
7000
IFS=$as_save_IFS
 
7001
 
 
7002
fi
 
7003
fi
 
7004
OTOOL64=$ac_cv_prog_OTOOL64
 
7005
if test -n "$OTOOL64"; then
 
7006
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
 
7007
$as_echo "$OTOOL64" >&6; }
 
7008
else
 
7009
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7010
$as_echo "no" >&6; }
 
7011
fi
 
7012
 
 
7013
 
 
7014
fi
 
7015
if test -z "$ac_cv_prog_OTOOL64"; then
 
7016
  ac_ct_OTOOL64=$OTOOL64
 
7017
  # Extract the first word of "otool64", so it can be a program name with args.
 
7018
set dummy otool64; ac_word=$2
 
7019
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7020
$as_echo_n "checking for $ac_word... " >&6; }
 
7021
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
 
7022
  $as_echo_n "(cached) " >&6
 
7023
else
 
7024
  if test -n "$ac_ct_OTOOL64"; then
 
7025
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
7026
else
 
7027
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7028
for as_dir in $PATH
 
7029
do
 
7030
  IFS=$as_save_IFS
 
7031
  test -z "$as_dir" && as_dir=.
 
7032
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7033
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7034
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
7035
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7036
    break 2
 
7037
  fi
 
7038
done
 
7039
  done
 
7040
IFS=$as_save_IFS
 
7041
 
 
7042
fi
 
7043
fi
 
7044
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
7045
if test -n "$ac_ct_OTOOL64"; then
 
7046
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
 
7047
$as_echo "$ac_ct_OTOOL64" >&6; }
 
7048
else
 
7049
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7050
$as_echo "no" >&6; }
 
7051
fi
 
7052
 
 
7053
  if test "x$ac_ct_OTOOL64" = x; then
 
7054
    OTOOL64=":"
 
7055
  else
 
7056
    case $cross_compiling:$ac_tool_warned in
 
7057
yes:)
 
7058
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7059
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7060
ac_tool_warned=yes ;;
 
7061
esac
 
7062
    OTOOL64=$ac_ct_OTOOL64
 
7063
  fi
 
7064
else
 
7065
  OTOOL64="$ac_cv_prog_OTOOL64"
 
7066
fi
 
7067
 
 
7068
 
 
7069
 
 
7070
 
 
7071
 
 
7072
 
 
7073
 
 
7074
 
 
7075
 
 
7076
 
 
7077
 
 
7078
 
 
7079
 
 
7080
 
 
7081
 
 
7082
 
 
7083
 
 
7084
 
 
7085
 
 
7086
 
 
7087
 
 
7088
 
 
7089
 
 
7090
 
 
7091
 
 
7092
 
 
7093
 
 
7094
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
 
7095
$as_echo_n "checking for -single_module linker flag... " >&6; }
 
7096
if ${lt_cv_apple_cc_single_mod+:} false; then :
 
7097
  $as_echo_n "(cached) " >&6
 
7098
else
 
7099
  lt_cv_apple_cc_single_mod=no
 
7100
      if test -z "${LT_MULTI_MODULE}"; then
 
7101
        # By default we will add the -single_module flag. You can override
 
7102
        # by either setting the environment variable LT_MULTI_MODULE
 
7103
        # non-empty at configure time, or by adding -multi_module to the
 
7104
        # link flags.
 
7105
        rm -rf libconftest.dylib*
 
7106
        echo "int foo(void){return 1;}" > conftest.c
 
7107
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
7108
-dynamiclib -Wl,-single_module conftest.c" >&5
 
7109
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
7110
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
7111
        _lt_result=$?
 
7112
        # If there is a non-empty error log, and "single_module"
 
7113
        # appears in it, assume the flag caused a linker warning
 
7114
        if test -s conftest.err && $GREP single_module conftest.err; then
 
7115
          cat conftest.err >&5
 
7116
        # Otherwise, if the output was created with a 0 exit code from
 
7117
        # the compiler, it worked.
 
7118
        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
 
7119
          lt_cv_apple_cc_single_mod=yes
 
7120
        else
 
7121
          cat conftest.err >&5
 
7122
        fi
 
7123
        rm -rf libconftest.dylib*
 
7124
        rm -f conftest.*
 
7125
      fi
 
7126
fi
 
7127
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
 
7128
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
7129
 
 
7130
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 
7131
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 
7132
if ${lt_cv_ld_exported_symbols_list+:} false; then :
 
7133
  $as_echo_n "(cached) " >&6
 
7134
else
 
7135
  lt_cv_ld_exported_symbols_list=no
 
7136
      save_LDFLAGS=$LDFLAGS
 
7137
      echo "_main" > conftest.sym
 
7138
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
7139
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7140
/* end confdefs.h.  */
 
7141
 
 
7142
int
 
7143
main ()
 
7144
{
 
7145
 
 
7146
  ;
 
7147
  return 0;
 
7148
}
 
7149
_ACEOF
 
7150
if ac_fn_c_try_link "$LINENO"; then :
 
7151
  lt_cv_ld_exported_symbols_list=yes
 
7152
else
 
7153
  lt_cv_ld_exported_symbols_list=no
 
7154
fi
 
7155
rm -f core conftest.err conftest.$ac_objext \
 
7156
    conftest$ac_exeext conftest.$ac_ext
 
7157
        LDFLAGS="$save_LDFLAGS"
 
7158
 
 
7159
fi
 
7160
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
 
7161
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
7162
 
 
7163
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 
7164
$as_echo_n "checking for -force_load linker flag... " >&6; }
 
7165
if ${lt_cv_ld_force_load+:} false; then :
 
7166
  $as_echo_n "(cached) " >&6
 
7167
else
 
7168
  lt_cv_ld_force_load=no
 
7169
      cat > conftest.c << _LT_EOF
 
7170
int forced_loaded() { return 2;}
 
7171
_LT_EOF
 
7172
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 
7173
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 
7174
      echo "$AR cru libconftest.a conftest.o" >&5
 
7175
      $AR cru libconftest.a conftest.o 2>&5
 
7176
      echo "$RANLIB libconftest.a" >&5
 
7177
      $RANLIB libconftest.a 2>&5
 
7178
      cat > conftest.c << _LT_EOF
 
7179
int main() { return 0;}
 
7180
_LT_EOF
 
7181
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 
7182
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
7183
      _lt_result=$?
 
7184
      if test -s conftest.err && $GREP force_load conftest.err; then
 
7185
        cat conftest.err >&5
 
7186
      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
 
7187
        lt_cv_ld_force_load=yes
 
7188
      else
 
7189
        cat conftest.err >&5
 
7190
      fi
 
7191
        rm -f conftest.err libconftest.a conftest conftest.c
 
7192
        rm -rf conftest.dSYM
 
7193
 
 
7194
fi
 
7195
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 
7196
$as_echo "$lt_cv_ld_force_load" >&6; }
 
7197
    case $host_os in
 
7198
    rhapsody* | darwin1.[012])
 
7199
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
7200
    darwin1.*)
 
7201
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7202
    darwin*) # darwin 5.x on
 
7203
      # if running on 10.5 or later, the deployment target defaults
 
7204
      # to the OS version, if on x86, and 10.4, the deployment
 
7205
      # target defaults to 10.4. Don't you love it?
 
7206
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
7207
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
7208
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7209
        10.[012]*)
 
7210
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7211
        10.*)
 
7212
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7213
      esac
 
7214
    ;;
 
7215
  esac
 
7216
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
7217
      _lt_dar_single_mod='$single_module'
 
7218
    fi
 
7219
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
7220
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
7221
    else
 
7222
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
7223
    fi
 
7224
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
 
7225
      _lt_dsymutil='~$DSYMUTIL $lib || :'
 
7226
    else
 
7227
      _lt_dsymutil=
 
7228
    fi
 
7229
    ;;
 
7230
  esac
 
7231
 
 
7232
ac_ext=c
 
7233
ac_cpp='$CPP $CPPFLAGS'
 
7234
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7235
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7236
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7237
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 
7238
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
7239
# On Suns, sometimes $CPP names a directory.
 
7240
if test -n "$CPP" && test -d "$CPP"; then
 
7241
  CPP=
 
7242
fi
 
7243
if test -z "$CPP"; then
 
7244
  if ${ac_cv_prog_CPP+:} false; then :
 
7245
  $as_echo_n "(cached) " >&6
 
7246
else
 
7247
      # Double quotes because CPP needs to be expanded
 
7248
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
7249
    do
 
7250
      ac_preproc_ok=false
 
7251
for ac_c_preproc_warn_flag in '' yes
 
7252
do
 
7253
  # Use a header file that comes with gcc, so configuring glibc
 
7254
  # with a fresh cross-compiler works.
 
7255
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
7256
  # <limits.h> exists even on freestanding compilers.
 
7257
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
7258
  # not just through cpp. "Syntax error" is here to catch this case.
 
7259
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7260
/* end confdefs.h.  */
 
7261
#ifdef __STDC__
 
7262
# include <limits.h>
 
7263
#else
 
7264
# include <assert.h>
 
7265
#endif
 
7266
                     Syntax error
 
7267
_ACEOF
 
7268
if ac_fn_c_try_cpp "$LINENO"; then :
 
7269
 
 
7270
else
 
7271
  # Broken: fails on valid input.
 
7272
continue
 
7273
fi
 
7274
rm -f conftest.err conftest.i conftest.$ac_ext
 
7275
 
 
7276
  # OK, works on sane cases.  Now check whether nonexistent headers
 
7277
  # can be detected and how.
 
7278
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7279
/* end confdefs.h.  */
 
7280
#include <ac_nonexistent.h>
 
7281
_ACEOF
 
7282
if ac_fn_c_try_cpp "$LINENO"; then :
 
7283
  # Broken: success on invalid input.
 
7284
continue
 
7285
else
 
7286
  # Passes both tests.
 
7287
ac_preproc_ok=:
 
7288
break
 
7289
fi
 
7290
rm -f conftest.err conftest.i conftest.$ac_ext
 
7291
 
 
7292
done
 
7293
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
7294
rm -f conftest.i conftest.err conftest.$ac_ext
 
7295
if $ac_preproc_ok; then :
 
7296
  break
 
7297
fi
 
7298
 
 
7299
    done
 
7300
    ac_cv_prog_CPP=$CPP
 
7301
 
 
7302
fi
 
7303
  CPP=$ac_cv_prog_CPP
 
7304
else
 
7305
  ac_cv_prog_CPP=$CPP
 
7306
fi
 
7307
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 
7308
$as_echo "$CPP" >&6; }
 
7309
ac_preproc_ok=false
 
7310
for ac_c_preproc_warn_flag in '' yes
 
7311
do
 
7312
  # Use a header file that comes with gcc, so configuring glibc
 
7313
  # with a fresh cross-compiler works.
 
7314
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
7315
  # <limits.h> exists even on freestanding compilers.
 
7316
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
7317
  # not just through cpp. "Syntax error" is here to catch this case.
 
7318
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7319
/* end confdefs.h.  */
 
7320
#ifdef __STDC__
 
7321
# include <limits.h>
 
7322
#else
 
7323
# include <assert.h>
 
7324
#endif
 
7325
                     Syntax error
 
7326
_ACEOF
 
7327
if ac_fn_c_try_cpp "$LINENO"; then :
 
7328
 
 
7329
else
 
7330
  # Broken: fails on valid input.
 
7331
continue
 
7332
fi
 
7333
rm -f conftest.err conftest.i conftest.$ac_ext
 
7334
 
 
7335
  # OK, works on sane cases.  Now check whether nonexistent headers
 
7336
  # can be detected and how.
 
7337
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7338
/* end confdefs.h.  */
 
7339
#include <ac_nonexistent.h>
 
7340
_ACEOF
 
7341
if ac_fn_c_try_cpp "$LINENO"; then :
 
7342
  # Broken: success on invalid input.
 
7343
continue
 
7344
else
 
7345
  # Passes both tests.
 
7346
ac_preproc_ok=:
 
7347
break
 
7348
fi
 
7349
rm -f conftest.err conftest.i conftest.$ac_ext
 
7350
 
 
7351
done
 
7352
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
7353
rm -f conftest.i conftest.err conftest.$ac_ext
 
7354
if $ac_preproc_ok; then :
 
7355
 
 
7356
else
 
7357
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
7358
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
7359
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
7360
See \`config.log' for more details" "$LINENO" 5; }
 
7361
fi
 
7362
 
 
7363
ac_ext=c
 
7364
ac_cpp='$CPP $CPPFLAGS'
 
7365
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7366
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7367
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7368
 
 
7369
 
 
7370
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
7371
$as_echo_n "checking for ANSI C header files... " >&6; }
 
7372
if ${ac_cv_header_stdc+:} false; then :
 
7373
  $as_echo_n "(cached) " >&6
 
7374
else
 
7375
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7376
/* end confdefs.h.  */
 
7377
#include <stdlib.h>
 
7378
#include <stdarg.h>
 
7379
#include <string.h>
 
7380
#include <float.h>
 
7381
 
 
7382
int
 
7383
main ()
 
7384
{
 
7385
 
 
7386
  ;
 
7387
  return 0;
 
7388
}
 
7389
_ACEOF
 
7390
if ac_fn_c_try_compile "$LINENO"; then :
 
7391
  ac_cv_header_stdc=yes
 
7392
else
 
7393
  ac_cv_header_stdc=no
 
7394
fi
 
7395
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7396
 
 
7397
if test $ac_cv_header_stdc = yes; then
 
7398
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
7399
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7400
/* end confdefs.h.  */
 
7401
#include <string.h>
 
7402
 
 
7403
_ACEOF
 
7404
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
7405
  $EGREP "memchr" >/dev/null 2>&1; then :
 
7406
 
 
7407
else
 
7408
  ac_cv_header_stdc=no
 
7409
fi
 
7410
rm -f conftest*
 
7411
 
 
7412
fi
 
7413
 
 
7414
if test $ac_cv_header_stdc = yes; then
 
7415
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
7416
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7417
/* end confdefs.h.  */
 
7418
#include <stdlib.h>
 
7419
 
 
7420
_ACEOF
 
7421
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
7422
  $EGREP "free" >/dev/null 2>&1; then :
 
7423
 
 
7424
else
 
7425
  ac_cv_header_stdc=no
 
7426
fi
 
7427
rm -f conftest*
 
7428
 
 
7429
fi
 
7430
 
 
7431
if test $ac_cv_header_stdc = yes; then
 
7432
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
7433
  if test "$cross_compiling" = yes; then :
 
7434
  :
 
7435
else
 
7436
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7437
/* end confdefs.h.  */
 
7438
#include <ctype.h>
 
7439
#include <stdlib.h>
 
7440
#if ((' ' & 0x0FF) == 0x020)
 
7441
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
7442
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
7443
#else
 
7444
# define ISLOWER(c) \
 
7445
                   (('a' <= (c) && (c) <= 'i') \
 
7446
                     || ('j' <= (c) && (c) <= 'r') \
 
7447
                     || ('s' <= (c) && (c) <= 'z'))
 
7448
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
7449
#endif
 
7450
 
 
7451
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
7452
int
 
7453
main ()
 
7454
{
 
7455
  int i;
 
7456
  for (i = 0; i < 256; i++)
 
7457
    if (XOR (islower (i), ISLOWER (i))
 
7458
        || toupper (i) != TOUPPER (i))
 
7459
      return 2;
 
7460
  return 0;
 
7461
}
 
7462
_ACEOF
 
7463
if ac_fn_c_try_run "$LINENO"; then :
 
7464
 
 
7465
else
 
7466
  ac_cv_header_stdc=no
 
7467
fi
 
7468
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
7469
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
7470
fi
 
7471
 
 
7472
fi
 
7473
fi
 
7474
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
7475
$as_echo "$ac_cv_header_stdc" >&6; }
 
7476
if test $ac_cv_header_stdc = yes; then
 
7477
 
 
7478
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
 
7479
 
 
7480
fi
 
7481
 
 
7482
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
7483
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
7484
                  inttypes.h stdint.h unistd.h
 
7485
do :
 
7486
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
7487
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
7488
"
 
7489
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
7490
  cat >>confdefs.h <<_ACEOF
 
7491
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
7492
_ACEOF
 
7493
 
 
7494
fi
 
7495
 
 
7496
done
 
7497
 
 
7498
 
 
7499
for ac_header in dlfcn.h
 
7500
do :
 
7501
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
7502
"
 
7503
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
 
7504
  cat >>confdefs.h <<_ACEOF
 
7505
#define HAVE_DLFCN_H 1
 
7506
_ACEOF
 
7507
 
 
7508
fi
 
7509
 
 
7510
done
 
7511
 
 
7512
 
 
7513
 
 
7514
 
 
7515
 
 
7516
# Set options
 
7517
# Check whether --enable-static was given.
 
7518
if test "${enable_static+set}" = set; then :
 
7519
  enableval=$enable_static; p=${PACKAGE-default}
 
7520
    case $enableval in
 
7521
    yes) enable_static=yes ;;
 
7522
    no) enable_static=no ;;
 
7523
    *)
 
7524
     enable_static=no
 
7525
      # Look at the argument we got.  We use all the common list separators.
 
7526
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7527
      for pkg in $enableval; do
 
7528
        IFS="$lt_save_ifs"
 
7529
        if test "X$pkg" = "X$p"; then
 
7530
          enable_static=yes
 
7531
        fi
 
7532
      done
 
7533
      IFS="$lt_save_ifs"
 
7534
      ;;
 
7535
    esac
 
7536
else
 
7537
  enable_static=no
 
7538
fi
 
7539
 
 
7540
 
 
7541
 
 
7542
 
 
7543
 
 
7544
 
 
7545
 
 
7546
 
 
7547
 
 
7548
 
 
7549
        enable_dlopen=no
 
7550
 
 
7551
 
 
7552
  enable_win32_dll=no
 
7553
 
 
7554
 
 
7555
            # Check whether --enable-shared was given.
 
7556
if test "${enable_shared+set}" = set; then :
 
7557
  enableval=$enable_shared; p=${PACKAGE-default}
 
7558
    case $enableval in
 
7559
    yes) enable_shared=yes ;;
 
7560
    no) enable_shared=no ;;
 
7561
    *)
 
7562
      enable_shared=no
 
7563
      # Look at the argument we got.  We use all the common list separators.
 
7564
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7565
      for pkg in $enableval; do
 
7566
        IFS="$lt_save_ifs"
 
7567
        if test "X$pkg" = "X$p"; then
 
7568
          enable_shared=yes
 
7569
        fi
 
7570
      done
 
7571
      IFS="$lt_save_ifs"
 
7572
      ;;
 
7573
    esac
 
7574
else
 
7575
  enable_shared=yes
 
7576
fi
 
7577
 
 
7578
 
 
7579
 
 
7580
 
 
7581
 
 
7582
 
 
7583
 
 
7584
 
 
7585
 
 
7586
 
 
7587
 
 
7588
# Check whether --with-pic was given.
 
7589
if test "${with_pic+set}" = set; then :
 
7590
  withval=$with_pic; lt_p=${PACKAGE-default}
 
7591
    case $withval in
 
7592
    yes|no) pic_mode=$withval ;;
 
7593
    *)
 
7594
      pic_mode=default
 
7595
      # Look at the argument we got.  We use all the common list separators.
 
7596
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7597
      for lt_pkg in $withval; do
 
7598
        IFS="$lt_save_ifs"
 
7599
        if test "X$lt_pkg" = "X$lt_p"; then
 
7600
          pic_mode=yes
 
7601
        fi
 
7602
      done
 
7603
      IFS="$lt_save_ifs"
 
7604
      ;;
 
7605
    esac
 
7606
else
 
7607
  pic_mode=default
 
7608
fi
 
7609
 
 
7610
 
 
7611
test -z "$pic_mode" && pic_mode=default
 
7612
 
 
7613
 
 
7614
 
 
7615
 
 
7616
 
 
7617
 
 
7618
 
 
7619
  # Check whether --enable-fast-install was given.
 
7620
if test "${enable_fast_install+set}" = set; then :
 
7621
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
7622
    case $enableval in
 
7623
    yes) enable_fast_install=yes ;;
 
7624
    no) enable_fast_install=no ;;
 
7625
    *)
 
7626
      enable_fast_install=no
 
7627
      # Look at the argument we got.  We use all the common list separators.
 
7628
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7629
      for pkg in $enableval; do
 
7630
        IFS="$lt_save_ifs"
 
7631
        if test "X$pkg" = "X$p"; then
 
7632
          enable_fast_install=yes
 
7633
        fi
 
7634
      done
 
7635
      IFS="$lt_save_ifs"
 
7636
      ;;
 
7637
    esac
 
7638
else
 
7639
  enable_fast_install=yes
 
7640
fi
 
7641
 
 
7642
 
 
7643
 
 
7644
 
 
7645
 
 
7646
 
 
7647
 
 
7648
 
 
7649
 
 
7650
 
 
7651
 
 
7652
# This can be used to rebuild libtool when needed
 
7653
LIBTOOL_DEPS="$ltmain"
 
7654
 
 
7655
# Always use our own libtool.
 
7656
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
7657
 
 
7658
 
 
7659
 
 
7660
 
 
7661
 
 
7662
 
 
7663
 
 
7664
 
 
7665
 
 
7666
 
 
7667
 
 
7668
 
 
7669
 
 
7670
 
 
7671
 
 
7672
 
 
7673
 
 
7674
 
 
7675
 
 
7676
 
 
7677
 
 
7678
 
 
7679
 
 
7680
 
 
7681
 
 
7682
 
 
7683
 
 
7684
 
 
7685
 
 
7686
 
 
7687
test -z "$LN_S" && LN_S="ln -s"
 
7688
 
 
7689
 
 
7690
 
 
7691
 
 
7692
 
 
7693
 
 
7694
 
 
7695
 
 
7696
 
 
7697
 
 
7698
 
 
7699
 
 
7700
 
 
7701
 
 
7702
if test -n "${ZSH_VERSION+set}" ; then
 
7703
   setopt NO_GLOB_SUBST
 
7704
fi
 
7705
 
 
7706
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 
7707
$as_echo_n "checking for objdir... " >&6; }
 
7708
if ${lt_cv_objdir+:} false; then :
 
7709
  $as_echo_n "(cached) " >&6
 
7710
else
 
7711
  rm -f .libs 2>/dev/null
 
7712
mkdir .libs 2>/dev/null
 
7713
if test -d .libs; then
 
7714
  lt_cv_objdir=.libs
 
7715
else
 
7716
  # MS-DOS does not allow filenames that begin with a dot.
 
7717
  lt_cv_objdir=_libs
 
7718
fi
 
7719
rmdir .libs 2>/dev/null
 
7720
fi
 
7721
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
 
7722
$as_echo "$lt_cv_objdir" >&6; }
 
7723
objdir=$lt_cv_objdir
 
7724
 
 
7725
 
 
7726
 
 
7727
 
 
7728
 
 
7729
cat >>confdefs.h <<_ACEOF
 
7730
#define LT_OBJDIR "$lt_cv_objdir/"
 
7731
_ACEOF
 
7732
 
 
7733
 
 
7734
 
 
7735
 
 
7736
case $host_os in
 
7737
aix3*)
 
7738
  # AIX sometimes has problems with the GCC collect2 program.  For some
 
7739
  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
7740
  # vanish in a puff of smoke.
 
7741
  if test "X${COLLECT_NAMES+set}" != Xset; then
 
7742
    COLLECT_NAMES=
 
7743
    export COLLECT_NAMES
 
7744
  fi
 
7745
  ;;
 
7746
esac
 
7747
 
 
7748
# Global variables:
 
7749
ofile=libtool
 
7750
can_build_shared=yes
 
7751
 
 
7752
# All known linkers require a `.a' archive for static linking (except MSVC,
 
7753
# which needs '.lib').
 
7754
libext=a
 
7755
 
 
7756
with_gnu_ld="$lt_cv_prog_gnu_ld"
 
7757
 
 
7758
old_CC="$CC"
 
7759
old_CFLAGS="$CFLAGS"
 
7760
 
 
7761
# Set sane defaults for various variables
 
7762
test -z "$CC" && CC=cc
 
7763
test -z "$LTCC" && LTCC=$CC
 
7764
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
7765
test -z "$LD" && LD=ld
 
7766
test -z "$ac_objext" && ac_objext=o
 
7767
 
 
7768
for cc_temp in $compiler""; do
 
7769
  case $cc_temp in
 
7770
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
7771
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
7772
    \-*) ;;
 
7773
    *) break;;
 
7774
  esac
 
7775
done
 
7776
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
 
7777
 
 
7778
 
 
7779
# Only perform the check for file, if the check method requires it
 
7780
test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
7781
case $deplibs_check_method in
 
7782
file_magic*)
 
7783
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
7784
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 
7785
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
7786
if ${lt_cv_path_MAGIC_CMD+:} false; then :
 
7787
  $as_echo_n "(cached) " >&6
 
7788
else
 
7789
  case $MAGIC_CMD in
 
7790
[\\/*] |  ?:[\\/]*)
 
7791
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
7792
  ;;
 
7793
*)
 
7794
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
7795
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
7796
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
7797
  for ac_dir in $ac_dummy; do
 
7798
    IFS="$lt_save_ifs"
 
7799
    test -z "$ac_dir" && ac_dir=.
 
7800
    if test -f $ac_dir/${ac_tool_prefix}file; then
 
7801
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
7802
      if test -n "$file_magic_test_file"; then
 
7803
        case $deplibs_check_method in
 
7804
        "file_magic "*)
 
7805
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
7806
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7807
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
7808
            $EGREP "$file_magic_regex" > /dev/null; then
 
7809
            :
 
7810
          else
 
7811
            cat <<_LT_EOF 1>&2
 
7812
 
 
7813
*** Warning: the command libtool uses to detect shared libraries,
 
7814
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
7815
*** The result is that libtool may fail to recognize shared libraries
 
7816
*** as such.  This will affect the creation of libtool libraries that
 
7817
*** depend on shared libraries, but programs linked with such libtool
 
7818
*** libraries will work regardless of this problem.  Nevertheless, you
 
7819
*** may want to report the problem to your system manager and/or to
 
7820
*** bug-libtool@gnu.org
 
7821
 
 
7822
_LT_EOF
 
7823
          fi ;;
 
7824
        esac
 
7825
      fi
 
7826
      break
 
7827
    fi
 
7828
  done
 
7829
  IFS="$lt_save_ifs"
 
7830
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
7831
  ;;
 
7832
esac
 
7833
fi
 
7834
 
 
7835
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7836
if test -n "$MAGIC_CMD"; then
 
7837
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
7838
$as_echo "$MAGIC_CMD" >&6; }
 
7839
else
 
7840
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7841
$as_echo "no" >&6; }
 
7842
fi
 
7843
 
 
7844
 
 
7845
 
 
7846
 
 
7847
 
 
7848
if test -z "$lt_cv_path_MAGIC_CMD"; then
 
7849
  if test -n "$ac_tool_prefix"; then
 
7850
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 
7851
$as_echo_n "checking for file... " >&6; }
 
7852
if ${lt_cv_path_MAGIC_CMD+:} false; then :
 
7853
  $as_echo_n "(cached) " >&6
 
7854
else
 
7855
  case $MAGIC_CMD in
 
7856
[\\/*] |  ?:[\\/]*)
 
7857
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
7858
  ;;
 
7859
*)
 
7860
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
7861
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
7862
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
7863
  for ac_dir in $ac_dummy; do
 
7864
    IFS="$lt_save_ifs"
 
7865
    test -z "$ac_dir" && ac_dir=.
 
7866
    if test -f $ac_dir/file; then
 
7867
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
7868
      if test -n "$file_magic_test_file"; then
 
7869
        case $deplibs_check_method in
 
7870
        "file_magic "*)
 
7871
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
7872
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7873
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
7874
            $EGREP "$file_magic_regex" > /dev/null; then
 
7875
            :
 
7876
          else
 
7877
            cat <<_LT_EOF 1>&2
 
7878
 
 
7879
*** Warning: the command libtool uses to detect shared libraries,
 
7880
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
7881
*** The result is that libtool may fail to recognize shared libraries
 
7882
*** as such.  This will affect the creation of libtool libraries that
 
7883
*** depend on shared libraries, but programs linked with such libtool
 
7884
*** libraries will work regardless of this problem.  Nevertheless, you
 
7885
*** may want to report the problem to your system manager and/or to
 
7886
*** bug-libtool@gnu.org
 
7887
 
 
7888
_LT_EOF
 
7889
          fi ;;
 
7890
        esac
 
7891
      fi
 
7892
      break
 
7893
    fi
 
7894
  done
 
7895
  IFS="$lt_save_ifs"
 
7896
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
7897
  ;;
 
7898
esac
 
7899
fi
 
7900
 
 
7901
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7902
if test -n "$MAGIC_CMD"; then
 
7903
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
7904
$as_echo "$MAGIC_CMD" >&6; }
 
7905
else
 
7906
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7907
$as_echo "no" >&6; }
 
7908
fi
 
7909
 
 
7910
 
 
7911
  else
 
7912
    MAGIC_CMD=:
 
7913
  fi
 
7914
fi
 
7915
 
 
7916
  fi
 
7917
  ;;
 
7918
esac
 
7919
 
 
7920
# Use C for the default configuration in the libtool script
 
7921
 
 
7922
lt_save_CC="$CC"
 
7923
ac_ext=c
 
7924
ac_cpp='$CPP $CPPFLAGS'
 
7925
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7926
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7927
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7928
 
 
7929
 
 
7930
# Source file extension for C test sources.
 
7931
ac_ext=c
 
7932
 
 
7933
# Object file extension for compiled C test sources.
 
7934
objext=o
 
7935
objext=$objext
 
7936
 
 
7937
# Code to be used in simple compile tests
 
7938
lt_simple_compile_test_code="int some_variable = 0;"
 
7939
 
 
7940
# Code to be used in simple link tests
 
7941
lt_simple_link_test_code='int main(){return(0);}'
 
7942
 
 
7943
 
 
7944
 
 
7945
 
 
7946
 
 
7947
 
 
7948
 
 
7949
# If no C compiler was specified, use CC.
 
7950
LTCC=${LTCC-"$CC"}
 
7951
 
 
7952
# If no C compiler flags were specified, use CFLAGS.
 
7953
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
7954
 
 
7955
# Allow CC to be a program name with arguments.
 
7956
compiler=$CC
 
7957
 
 
7958
# Save the default compiler, since it gets overwritten when the other
 
7959
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
7960
compiler_DEFAULT=$CC
 
7961
 
 
7962
# save warnings/boilerplate of simple test code
 
7963
ac_outfile=conftest.$ac_objext
 
7964
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
7965
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
7966
_lt_compiler_boilerplate=`cat conftest.err`
 
7967
$RM conftest*
 
7968
 
 
7969
ac_outfile=conftest.$ac_objext
 
7970
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
7971
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
7972
_lt_linker_boilerplate=`cat conftest.err`
 
7973
$RM -r conftest*
 
7974
 
 
7975
 
 
7976
if test -n "$compiler"; then
 
7977
 
 
7978
lt_prog_compiler_no_builtin_flag=
 
7979
 
 
7980
if test "$GCC" = yes; then
 
7981
  case $cc_basename in
 
7982
  nvcc*)
 
7983
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 
7984
  *)
 
7985
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 
7986
  esac
 
7987
 
 
7988
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
7989
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 
7990
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
 
7991
  $as_echo_n "(cached) " >&6
 
7992
else
 
7993
  lt_cv_prog_compiler_rtti_exceptions=no
 
7994
   ac_outfile=conftest.$ac_objext
 
7995
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7996
   lt_compiler_flag="-fno-rtti -fno-exceptions"
 
7997
   # Insert the option either (1) after the last *FLAGS variable, or
 
7998
   # (2) before a word containing "conftest.", or (3) at the end.
 
7999
   # Note that $ac_compile itself does not contain backslashes and begins
 
8000
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8001
   # The option is referenced via a variable to avoid confusing sed.
 
8002
   lt_compile=`echo "$ac_compile" | $SED \
 
8003
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8004
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8005
   -e 's:$: $lt_compiler_flag:'`
 
8006
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
8007
   (eval "$lt_compile" 2>conftest.err)
 
8008
   ac_status=$?
 
8009
   cat conftest.err >&5
 
8010
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8011
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
8012
     # The compiler can only warn and ignore the option if not recognized
 
8013
     # So say no if there are warnings other than the usual output.
 
8014
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 
8015
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
8016
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
8017
       lt_cv_prog_compiler_rtti_exceptions=yes
 
8018
     fi
 
8019
   fi
 
8020
   $RM conftest*
 
8021
 
 
8022
fi
 
8023
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
8024
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
8025
 
 
8026
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 
8027
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
 
8028
else
 
8029
    :
 
8030
fi
 
8031
 
 
8032
fi
 
8033
 
 
8034
 
 
8035
 
 
8036
 
 
8037
 
 
8038
 
 
8039
  lt_prog_compiler_wl=
 
8040
lt_prog_compiler_pic=
 
8041
lt_prog_compiler_static=
 
8042
 
 
8043
 
 
8044
  if test "$GCC" = yes; then
 
8045
    lt_prog_compiler_wl='-Wl,'
 
8046
    lt_prog_compiler_static='-static'
 
8047
 
 
8048
    case $host_os in
 
8049
      aix*)
 
8050
      # All AIX code is PIC.
 
8051
      if test "$host_cpu" = ia64; then
 
8052
        # AIX 5 now supports IA64 processor
 
8053
        lt_prog_compiler_static='-Bstatic'
 
8054
      fi
 
8055
      ;;
 
8056
 
 
8057
    amigaos*)
 
8058
      case $host_cpu in
 
8059
      powerpc)
 
8060
            # see comment about AmigaOS4 .so support
 
8061
            lt_prog_compiler_pic='-fPIC'
 
8062
        ;;
 
8063
      m68k)
 
8064
            # FIXME: we need at least 68020 code to build shared libraries, but
 
8065
            # adding the `-m68020' flag to GCC prevents building anything better,
 
8066
            # like `-m68040'.
 
8067
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
8068
        ;;
 
8069
      esac
 
8070
      ;;
 
8071
 
 
8072
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
8073
      # PIC is the default for these OSes.
 
8074
      ;;
 
8075
 
 
8076
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
8077
      # This hack is so that the source file can tell whether it is being
 
8078
      # built for inclusion in a dll (and should export symbols for example).
 
8079
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
8080
      # (--disable-auto-import) libraries
 
8081
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
8082
      ;;
 
8083
 
 
8084
    darwin* | rhapsody*)
 
8085
      # PIC is the default on this platform
 
8086
      # Common symbols not allowed in MH_DYLIB files
 
8087
      lt_prog_compiler_pic='-fno-common'
 
8088
      ;;
 
8089
 
 
8090
    haiku*)
 
8091
      # PIC is the default for Haiku.
 
8092
      # The "-static" flag exists, but is broken.
 
8093
      lt_prog_compiler_static=
 
8094
      ;;
 
8095
 
 
8096
    hpux*)
 
8097
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
8098
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
8099
      # sets the default TLS model and affects inlining.
 
8100
      case $host_cpu in
 
8101
      hppa*64*)
 
8102
        # +Z the default
 
8103
        ;;
 
8104
      *)
 
8105
        lt_prog_compiler_pic='-fPIC'
 
8106
        ;;
 
8107
      esac
 
8108
      ;;
 
8109
 
 
8110
    interix[3-9]*)
 
8111
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
8112
      # Instead, we relocate shared libraries at runtime.
 
8113
      ;;
 
8114
 
 
8115
    msdosdjgpp*)
 
8116
      # Just because we use GCC doesn't mean we suddenly get shared libraries
 
8117
      # on systems that don't support them.
 
8118
      lt_prog_compiler_can_build_shared=no
 
8119
      enable_shared=no
 
8120
      ;;
 
8121
 
 
8122
    *nto* | *qnx*)
 
8123
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
8124
      # it will coredump.
 
8125
      lt_prog_compiler_pic='-fPIC -shared'
 
8126
      ;;
 
8127
 
 
8128
    sysv4*MP*)
 
8129
      if test -d /usr/nec; then
 
8130
        lt_prog_compiler_pic=-Kconform_pic
 
8131
      fi
 
8132
      ;;
 
8133
 
 
8134
    *)
 
8135
      lt_prog_compiler_pic='-fPIC'
 
8136
      ;;
 
8137
    esac
 
8138
 
 
8139
    case $cc_basename in
 
8140
    nvcc*) # Cuda Compiler Driver 2.2
 
8141
      lt_prog_compiler_wl='-Xlinker '
 
8142
      if test -n "$lt_prog_compiler_pic"; then
 
8143
        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
 
8144
      fi
 
8145
      ;;
 
8146
    esac
 
8147
  else
 
8148
    # PORTME Check for flag to pass linker flags through the system compiler.
 
8149
    case $host_os in
 
8150
    aix*)
 
8151
      lt_prog_compiler_wl='-Wl,'
 
8152
      if test "$host_cpu" = ia64; then
 
8153
        # AIX 5 now supports IA64 processor
 
8154
        lt_prog_compiler_static='-Bstatic'
 
8155
      else
 
8156
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
 
8157
      fi
 
8158
      ;;
 
8159
 
 
8160
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
8161
      # This hack is so that the source file can tell whether it is being
 
8162
      # built for inclusion in a dll (and should export symbols for example).
 
8163
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
8164
      ;;
 
8165
 
 
8166
    hpux9* | hpux10* | hpux11*)
 
8167
      lt_prog_compiler_wl='-Wl,'
 
8168
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
8169
      # not for PA HP-UX.
 
8170
      case $host_cpu in
 
8171
      hppa*64*|ia64*)
 
8172
        # +Z the default
 
8173
        ;;
 
8174
      *)
 
8175
        lt_prog_compiler_pic='+Z'
 
8176
        ;;
 
8177
      esac
 
8178
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
 
8179
      lt_prog_compiler_static='${wl}-a ${wl}archive'
 
8180
      ;;
 
8181
 
 
8182
    irix5* | irix6* | nonstopux*)
 
8183
      lt_prog_compiler_wl='-Wl,'
 
8184
      # PIC (with -KPIC) is the default.
 
8185
      lt_prog_compiler_static='-non_shared'
 
8186
      ;;
 
8187
 
 
8188
    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
 
8189
      case $cc_basename in
 
8190
      # old Intel for x86_64 which still supported -KPIC.
 
8191
      ecc*)
 
8192
        lt_prog_compiler_wl='-Wl,'
 
8193
        lt_prog_compiler_pic='-KPIC'
 
8194
        lt_prog_compiler_static='-static'
 
8195
        ;;
 
8196
      # icc used to be incompatible with GCC.
 
8197
      # ICC 10 doesn't accept -KPIC any more.
 
8198
      icc* | ifort*)
 
8199
        lt_prog_compiler_wl='-Wl,'
 
8200
        lt_prog_compiler_pic='-fPIC'
 
8201
        lt_prog_compiler_static='-static'
 
8202
        ;;
 
8203
      # Lahey Fortran 8.1.
 
8204
      lf95*)
 
8205
        lt_prog_compiler_wl='-Wl,'
 
8206
        lt_prog_compiler_pic='--shared'
 
8207
        lt_prog_compiler_static='--static'
 
8208
        ;;
 
8209
      nagfor*)
 
8210
        # NAG Fortran compiler
 
8211
        lt_prog_compiler_wl='-Wl,-Wl,,'
 
8212
        lt_prog_compiler_pic='-PIC'
 
8213
        lt_prog_compiler_static='-Bstatic'
 
8214
        ;;
 
8215
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
 
8216
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
8217
        # which looks to be a dead project)
 
8218
        lt_prog_compiler_wl='-Wl,'
 
8219
        lt_prog_compiler_pic='-fpic'
 
8220
        lt_prog_compiler_static='-Bstatic'
 
8221
        ;;
 
8222
      ccc*)
 
8223
        lt_prog_compiler_wl='-Wl,'
 
8224
        # All Alpha code is PIC.
 
8225
        lt_prog_compiler_static='-non_shared'
 
8226
        ;;
 
8227
      xl* | bgxl* | bgf* | mpixl*)
 
8228
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
 
8229
        lt_prog_compiler_wl='-Wl,'
 
8230
        lt_prog_compiler_pic='-qpic'
 
8231
        lt_prog_compiler_static='-qstaticlink'
 
8232
        ;;
 
8233
      *)
 
8234
        case `$CC -V 2>&1 | sed 5q` in
 
8235
        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
 
8236
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
8237
          lt_prog_compiler_pic='-KPIC'
 
8238
          lt_prog_compiler_static='-Bstatic'
 
8239
          lt_prog_compiler_wl=''
 
8240
          ;;
 
8241
        *Sun\ F* | *Sun*Fortran*)
 
8242
          lt_prog_compiler_pic='-KPIC'
 
8243
          lt_prog_compiler_static='-Bstatic'
 
8244
          lt_prog_compiler_wl='-Qoption ld '
 
8245
          ;;
 
8246
        *Sun\ C*)
 
8247
          # Sun C 5.9
 
8248
          lt_prog_compiler_pic='-KPIC'
 
8249
          lt_prog_compiler_static='-Bstatic'
 
8250
          lt_prog_compiler_wl='-Wl,'
 
8251
          ;;
 
8252
        *Intel*\ [CF]*Compiler*)
 
8253
          lt_prog_compiler_wl='-Wl,'
 
8254
          lt_prog_compiler_pic='-fPIC'
 
8255
          lt_prog_compiler_static='-static'
 
8256
          ;;
 
8257
        *Portland\ Group*)
 
8258
          lt_prog_compiler_wl='-Wl,'
 
8259
          lt_prog_compiler_pic='-fpic'
 
8260
          lt_prog_compiler_static='-Bstatic'
 
8261
          ;;
 
8262
        esac
 
8263
        ;;
 
8264
      esac
 
8265
      ;;
 
8266
 
 
8267
    newsos6)
 
8268
      lt_prog_compiler_pic='-KPIC'
 
8269
      lt_prog_compiler_static='-Bstatic'
 
8270
      ;;
 
8271
 
 
8272
    *nto* | *qnx*)
 
8273
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
8274
      # it will coredump.
 
8275
      lt_prog_compiler_pic='-fPIC -shared'
 
8276
      ;;
 
8277
 
 
8278
    osf3* | osf4* | osf5*)
 
8279
      lt_prog_compiler_wl='-Wl,'
 
8280
      # All OSF/1 code is PIC.
 
8281
      lt_prog_compiler_static='-non_shared'
 
8282
      ;;
 
8283
 
 
8284
    rdos*)
 
8285
      lt_prog_compiler_static='-non_shared'
 
8286
      ;;
 
8287
 
 
8288
    solaris*)
 
8289
      lt_prog_compiler_pic='-KPIC'
 
8290
      lt_prog_compiler_static='-Bstatic'
 
8291
      case $cc_basename in
 
8292
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
 
8293
        lt_prog_compiler_wl='-Qoption ld ';;
 
8294
      *)
 
8295
        lt_prog_compiler_wl='-Wl,';;
 
8296
      esac
 
8297
      ;;
 
8298
 
 
8299
    sunos4*)
 
8300
      lt_prog_compiler_wl='-Qoption ld '
 
8301
      lt_prog_compiler_pic='-PIC'
 
8302
      lt_prog_compiler_static='-Bstatic'
 
8303
      ;;
 
8304
 
 
8305
    sysv4 | sysv4.2uw2* | sysv4.3*)
 
8306
      lt_prog_compiler_wl='-Wl,'
 
8307
      lt_prog_compiler_pic='-KPIC'
 
8308
      lt_prog_compiler_static='-Bstatic'
 
8309
      ;;
 
8310
 
 
8311
    sysv4*MP*)
 
8312
      if test -d /usr/nec ;then
 
8313
        lt_prog_compiler_pic='-Kconform_pic'
 
8314
        lt_prog_compiler_static='-Bstatic'
 
8315
      fi
 
8316
      ;;
 
8317
 
 
8318
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
8319
      lt_prog_compiler_wl='-Wl,'
 
8320
      lt_prog_compiler_pic='-KPIC'
 
8321
      lt_prog_compiler_static='-Bstatic'
 
8322
      ;;
 
8323
 
 
8324
    unicos*)
 
8325
      lt_prog_compiler_wl='-Wl,'
 
8326
      lt_prog_compiler_can_build_shared=no
 
8327
      ;;
 
8328
 
 
8329
    uts4*)
 
8330
      lt_prog_compiler_pic='-pic'
 
8331
      lt_prog_compiler_static='-Bstatic'
 
8332
      ;;
 
8333
 
 
8334
    *)
 
8335
      lt_prog_compiler_can_build_shared=no
 
8336
      ;;
 
8337
    esac
 
8338
  fi
 
8339
 
 
8340
case $host_os in
 
8341
  # For platforms which do not support PIC, -DPIC is meaningless:
 
8342
  *djgpp*)
 
8343
    lt_prog_compiler_pic=
 
8344
    ;;
 
8345
  *)
 
8346
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
8347
    ;;
 
8348
esac
 
8349
 
 
8350
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
8351
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
8352
if ${lt_cv_prog_compiler_pic+:} false; then :
 
8353
  $as_echo_n "(cached) " >&6
 
8354
else
 
8355
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 
8356
fi
 
8357
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 
8358
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
 
8359
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
 
8360
 
 
8361
#
 
8362
# Check to make sure the PIC flag actually works.
 
8363
#
 
8364
if test -n "$lt_prog_compiler_pic"; then
 
8365
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
8366
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 
8367
if ${lt_cv_prog_compiler_pic_works+:} false; then :
 
8368
  $as_echo_n "(cached) " >&6
 
8369
else
 
8370
  lt_cv_prog_compiler_pic_works=no
 
8371
   ac_outfile=conftest.$ac_objext
 
8372
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8373
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
 
8374
   # Insert the option either (1) after the last *FLAGS variable, or
 
8375
   # (2) before a word containing "conftest.", or (3) at the end.
 
8376
   # Note that $ac_compile itself does not contain backslashes and begins
 
8377
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8378
   # The option is referenced via a variable to avoid confusing sed.
 
8379
   lt_compile=`echo "$ac_compile" | $SED \
 
8380
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8381
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8382
   -e 's:$: $lt_compiler_flag:'`
 
8383
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
8384
   (eval "$lt_compile" 2>conftest.err)
 
8385
   ac_status=$?
 
8386
   cat conftest.err >&5
 
8387
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8388
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
8389
     # The compiler can only warn and ignore the option if not recognized
 
8390
     # So say no if there are warnings other than the usual output.
 
8391
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 
8392
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
8393
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
8394
       lt_cv_prog_compiler_pic_works=yes
 
8395
     fi
 
8396
   fi
 
8397
   $RM conftest*
 
8398
 
 
8399
fi
 
8400
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
 
8401
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
 
8402
 
 
8403
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
 
8404
    case $lt_prog_compiler_pic in
 
8405
     "" | " "*) ;;
 
8406
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
 
8407
     esac
 
8408
else
 
8409
    lt_prog_compiler_pic=
 
8410
     lt_prog_compiler_can_build_shared=no
 
8411
fi
 
8412
 
 
8413
fi
 
8414
 
 
8415
 
 
8416
 
 
8417
 
 
8418
 
 
8419
 
 
8420
 
 
8421
 
 
8422
 
 
8423
 
 
8424
 
 
8425
#
 
8426
# Check to make sure the static flag actually works.
 
8427
#
 
8428
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 
8429
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
8430
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
8431
if ${lt_cv_prog_compiler_static_works+:} false; then :
 
8432
  $as_echo_n "(cached) " >&6
 
8433
else
 
8434
  lt_cv_prog_compiler_static_works=no
 
8435
   save_LDFLAGS="$LDFLAGS"
 
8436
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
8437
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
8438
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
8439
     # The linker can only warn and ignore the option if not recognized
 
8440
     # So say no if there are warnings
 
8441
     if test -s conftest.err; then
 
8442
       # Append any errors to the config.log.
 
8443
       cat conftest.err 1>&5
 
8444
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
8445
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
8446
       if diff conftest.exp conftest.er2 >/dev/null; then
 
8447
         lt_cv_prog_compiler_static_works=yes
 
8448
       fi
 
8449
     else
 
8450
       lt_cv_prog_compiler_static_works=yes
 
8451
     fi
 
8452
   fi
 
8453
   $RM -r conftest*
 
8454
   LDFLAGS="$save_LDFLAGS"
 
8455
 
 
8456
fi
 
8457
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
 
8458
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
 
8459
 
 
8460
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
 
8461
    :
 
8462
else
 
8463
    lt_prog_compiler_static=
 
8464
fi
 
8465
 
 
8466
 
 
8467
 
 
8468
 
 
8469
 
 
8470
 
 
8471
 
 
8472
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8473
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
8474
if ${lt_cv_prog_compiler_c_o+:} false; then :
 
8475
  $as_echo_n "(cached) " >&6
 
8476
else
 
8477
  lt_cv_prog_compiler_c_o=no
 
8478
   $RM -r conftest 2>/dev/null
 
8479
   mkdir conftest
 
8480
   cd conftest
 
8481
   mkdir out
 
8482
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8483
 
 
8484
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
8485
   # Insert the option either (1) after the last *FLAGS variable, or
 
8486
   # (2) before a word containing "conftest.", or (3) at the end.
 
8487
   # Note that $ac_compile itself does not contain backslashes and begins
 
8488
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8489
   lt_compile=`echo "$ac_compile" | $SED \
 
8490
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8491
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8492
   -e 's:$: $lt_compiler_flag:'`
 
8493
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
8494
   (eval "$lt_compile" 2>out/conftest.err)
 
8495
   ac_status=$?
 
8496
   cat out/conftest.err >&5
 
8497
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8498
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
8499
   then
 
8500
     # The compiler can only warn and ignore the option if not recognized
 
8501
     # So say no if there are warnings
 
8502
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
8503
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
8504
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
8505
       lt_cv_prog_compiler_c_o=yes
 
8506
     fi
 
8507
   fi
 
8508
   chmod u+w . 2>&5
 
8509
   $RM conftest*
 
8510
   # SGI C++ compiler will create directory out/ii_files/ for
 
8511
   # template instantiation
 
8512
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
8513
   $RM out/* && rmdir out
 
8514
   cd ..
 
8515
   $RM -r conftest
 
8516
   $RM conftest*
 
8517
 
 
8518
fi
 
8519
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
8520
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
8521
 
 
8522
 
 
8523
 
 
8524
 
 
8525
 
 
8526
 
 
8527
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8528
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
8529
if ${lt_cv_prog_compiler_c_o+:} false; then :
 
8530
  $as_echo_n "(cached) " >&6
 
8531
else
 
8532
  lt_cv_prog_compiler_c_o=no
 
8533
   $RM -r conftest 2>/dev/null
 
8534
   mkdir conftest
 
8535
   cd conftest
 
8536
   mkdir out
 
8537
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8538
 
 
8539
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
8540
   # Insert the option either (1) after the last *FLAGS variable, or
 
8541
   # (2) before a word containing "conftest.", or (3) at the end.
 
8542
   # Note that $ac_compile itself does not contain backslashes and begins
 
8543
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8544
   lt_compile=`echo "$ac_compile" | $SED \
 
8545
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8546
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8547
   -e 's:$: $lt_compiler_flag:'`
 
8548
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
8549
   (eval "$lt_compile" 2>out/conftest.err)
 
8550
   ac_status=$?
 
8551
   cat out/conftest.err >&5
 
8552
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8553
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
8554
   then
 
8555
     # The compiler can only warn and ignore the option if not recognized
 
8556
     # So say no if there are warnings
 
8557
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
8558
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
8559
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
8560
       lt_cv_prog_compiler_c_o=yes
 
8561
     fi
 
8562
   fi
 
8563
   chmod u+w . 2>&5
 
8564
   $RM conftest*
 
8565
   # SGI C++ compiler will create directory out/ii_files/ for
 
8566
   # template instantiation
 
8567
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
8568
   $RM out/* && rmdir out
 
8569
   cd ..
 
8570
   $RM -r conftest
 
8571
   $RM conftest*
 
8572
 
 
8573
fi
 
8574
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
8575
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
8576
 
 
8577
 
 
8578
 
 
8579
 
 
8580
hard_links="nottested"
 
8581
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
 
8582
  # do not overwrite the value of need_locks provided by the user
 
8583
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 
8584
$as_echo_n "checking if we can lock with hard links... " >&6; }
 
8585
  hard_links=yes
 
8586
  $RM conftest*
 
8587
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
8588
  touch conftest.a
 
8589
  ln conftest.a conftest.b 2>&5 || hard_links=no
 
8590
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
8591
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 
8592
$as_echo "$hard_links" >&6; }
 
8593
  if test "$hard_links" = no; then
 
8594
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
8595
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
8596
    need_locks=warn
 
8597
  fi
 
8598
else
 
8599
  need_locks=no
 
8600
fi
 
8601
 
 
8602
 
 
8603
 
 
8604
 
 
8605
 
 
8606
 
 
8607
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
8608
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
8609
 
 
8610
  runpath_var=
 
8611
  allow_undefined_flag=
 
8612
  always_export_symbols=no
 
8613
  archive_cmds=
 
8614
  archive_expsym_cmds=
 
8615
  compiler_needs_object=no
 
8616
  enable_shared_with_static_runtimes=no
 
8617
  export_dynamic_flag_spec=
 
8618
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
8619
  hardcode_automatic=no
 
8620
  hardcode_direct=no
 
8621
  hardcode_direct_absolute=no
 
8622
  hardcode_libdir_flag_spec=
 
8623
  hardcode_libdir_separator=
 
8624
  hardcode_minus_L=no
 
8625
  hardcode_shlibpath_var=unsupported
 
8626
  inherit_rpath=no
 
8627
  link_all_deplibs=unknown
 
8628
  module_cmds=
 
8629
  module_expsym_cmds=
 
8630
  old_archive_from_new_cmds=
 
8631
  old_archive_from_expsyms_cmds=
 
8632
  thread_safe_flag_spec=
 
8633
  whole_archive_flag_spec=
 
8634
  # include_expsyms should be a list of space-separated symbols to be *always*
 
8635
  # included in the symbol list
 
8636
  include_expsyms=
 
8637
  # exclude_expsyms can be an extended regexp of symbols to exclude
 
8638
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
 
8639
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 
8640
  # as well as any symbol that contains `d'.
 
8641
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 
8642
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 
8643
  # platforms (ab)use it in PIC code, but their linkers get confused if
 
8644
  # the symbol is explicitly referenced.  Since portable code cannot
 
8645
  # rely on this symbol name, it's probably fine to never include it in
 
8646
  # preloaded symbol tables.
 
8647
  # Exclude shared library initialization/finalization symbols.
 
8648
  extract_expsyms_cmds=
 
8649
 
 
8650
  case $host_os in
 
8651
  cygwin* | mingw* | pw32* | cegcc*)
 
8652
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
 
8653
    # When not using gcc, we currently assume that we are using
 
8654
    # Microsoft Visual C++.
 
8655
    if test "$GCC" != yes; then
 
8656
      with_gnu_ld=no
 
8657
    fi
 
8658
    ;;
 
8659
  interix*)
 
8660
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
8661
    with_gnu_ld=yes
 
8662
    ;;
 
8663
  openbsd*)
 
8664
    with_gnu_ld=no
 
8665
    ;;
 
8666
  linux* | k*bsd*-gnu | gnu*)
 
8667
    link_all_deplibs=no
 
8668
    ;;
 
8669
  esac
 
8670
 
 
8671
  ld_shlibs=yes
 
8672
 
 
8673
  # On some targets, GNU ld is compatible enough with the native linker
 
8674
  # that we're better off using the native interface for both.
 
8675
  lt_use_gnu_ld_interface=no
 
8676
  if test "$with_gnu_ld" = yes; then
 
8677
    case $host_os in
 
8678
      aix*)
 
8679
        # The AIX port of GNU ld has always aspired to compatibility
 
8680
        # with the native linker.  However, as the warning in the GNU ld
 
8681
        # block says, versions before 2.19.5* couldn't really create working
 
8682
        # shared libraries, regardless of the interface used.
 
8683
        case `$LD -v 2>&1` in
 
8684
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
8685
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
8686
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
8687
          *)
 
8688
            lt_use_gnu_ld_interface=yes
 
8689
            ;;
 
8690
        esac
 
8691
        ;;
 
8692
      *)
 
8693
        lt_use_gnu_ld_interface=yes
 
8694
        ;;
 
8695
    esac
 
8696
  fi
 
8697
 
 
8698
  if test "$lt_use_gnu_ld_interface" = yes; then
 
8699
    # If archive_cmds runs LD, not CC, wlarc should be empty
 
8700
    wlarc='${wl}'
 
8701
 
 
8702
    # Set some defaults for GNU ld with shared library support. These
 
8703
    # are reset later if shared libraries are not supported. Putting them
 
8704
    # here allows them to be overridden if necessary.
 
8705
    runpath_var=LD_RUN_PATH
 
8706
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
8707
    export_dynamic_flag_spec='${wl}--export-dynamic'
 
8708
    # ancient GNU ld didn't support --whole-archive et. al.
 
8709
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
8710
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
8711
    else
 
8712
      whole_archive_flag_spec=
 
8713
    fi
 
8714
    supports_anon_versioning=no
 
8715
    case `$LD -v 2>&1` in
 
8716
      *GNU\ gold*) supports_anon_versioning=yes ;;
 
8717
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
8718
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
8719
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
8720
      *\ 2.11.*) ;; # other 2.11 versions
 
8721
      *) supports_anon_versioning=yes ;;
 
8722
    esac
 
8723
 
 
8724
    # See if GNU ld supports shared libraries.
 
8725
    case $host_os in
 
8726
    aix[3-9]*)
 
8727
      # On AIX/PPC, the GNU linker is very broken
 
8728
      if test "$host_cpu" != ia64; then
 
8729
        ld_shlibs=no
 
8730
        cat <<_LT_EOF 1>&2
 
8731
 
 
8732
*** Warning: the GNU linker, at least up to release 2.19, is reported
 
8733
*** to be unable to reliably create shared libraries on AIX.
 
8734
*** Therefore, libtool is disabling shared libraries support.  If you
 
8735
*** really care for shared libraries, you may want to install binutils
 
8736
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
8737
*** You will then need to restart the configuration process.
 
8738
 
 
8739
_LT_EOF
 
8740
      fi
 
8741
      ;;
 
8742
 
 
8743
    amigaos*)
 
8744
      case $host_cpu in
 
8745
      powerpc)
 
8746
            # see comment about AmigaOS4 .so support
 
8747
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8748
            archive_expsym_cmds=''
 
8749
        ;;
 
8750
      m68k)
 
8751
            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)'
 
8752
            hardcode_libdir_flag_spec='-L$libdir'
 
8753
            hardcode_minus_L=yes
 
8754
        ;;
 
8755
      esac
 
8756
      ;;
 
8757
 
 
8758
    beos*)
 
8759
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
8760
        allow_undefined_flag=unsupported
 
8761
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
8762
        # support --undefined.  This deserves some investigation.  FIXME
 
8763
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8764
      else
 
8765
        ld_shlibs=no
 
8766
      fi
 
8767
      ;;
 
8768
 
 
8769
    cygwin* | mingw* | pw32* | cegcc*)
 
8770
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
8771
      # as there is no search path for DLLs.
 
8772
      hardcode_libdir_flag_spec='-L$libdir'
 
8773
      export_dynamic_flag_spec='${wl}--export-all-symbols'
 
8774
      allow_undefined_flag=unsupported
 
8775
      always_export_symbols=no
 
8776
      enable_shared_with_static_runtimes=yes
 
8777
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
 
8778
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
 
8779
 
 
8780
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
8781
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
8782
        # If the export-symbols file already is a .def file (1st line
 
8783
        # is EXPORTS), use it as is; otherwise, prepend...
 
8784
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
8785
          cp $export_symbols $output_objdir/$soname.def;
 
8786
        else
 
8787
          echo EXPORTS > $output_objdir/$soname.def;
 
8788
          cat $export_symbols >> $output_objdir/$soname.def;
 
8789
        fi~
 
8790
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
8791
      else
 
8792
        ld_shlibs=no
 
8793
      fi
 
8794
      ;;
 
8795
 
 
8796
    haiku*)
 
8797
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8798
      link_all_deplibs=yes
 
8799
      ;;
 
8800
 
 
8801
    interix[3-9]*)
 
8802
      hardcode_direct=no
 
8803
      hardcode_shlibpath_var=no
 
8804
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
8805
      export_dynamic_flag_spec='${wl}-E'
 
8806
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
8807
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
8808
      # default) and relocated if they conflict, which is a slow very memory
 
8809
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
8810
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
8811
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
8812
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
8813
      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'
 
8814
      ;;
 
8815
 
 
8816
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
 
8817
      tmp_diet=no
 
8818
      if test "$host_os" = linux-dietlibc; then
 
8819
        case $cc_basename in
 
8820
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
8821
        esac
 
8822
      fi
 
8823
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
8824
         && test "$tmp_diet" = no
 
8825
      then
 
8826
        tmp_addflag=' $pic_flag'
 
8827
        tmp_sharedflag='-shared'
 
8828
        case $cc_basename,$host_cpu in
 
8829
        pgcc*)                          # Portland Group C compiler
 
8830
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 
8831
          tmp_addflag=' $pic_flag'
 
8832
          ;;
 
8833
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
8834
                                        # Portland Group f77 and f90 compilers
 
8835
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 
8836
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
8837
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
 
8838
          tmp_addflag=' -i_dynamic' ;;
 
8839
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
8840
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
8841
        ifc* | ifort*)                  # Intel Fortran compiler
 
8842
          tmp_addflag=' -nofor_main' ;;
 
8843
        lf95*)                          # Lahey Fortran 8.1
 
8844
          whole_archive_flag_spec=
 
8845
          tmp_sharedflag='--shared' ;;
 
8846
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
 
8847
          tmp_sharedflag='-qmkshrobj'
 
8848
          tmp_addflag= ;;
 
8849
        nvcc*)  # Cuda Compiler Driver 2.2
 
8850
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 
8851
          compiler_needs_object=yes
 
8852
          ;;
 
8853
        esac
 
8854
        case `$CC -V 2>&1 | sed 5q` in
 
8855
        *Sun\ C*)                       # Sun C 5.9
 
8856
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 
8857
          compiler_needs_object=yes
 
8858
          tmp_sharedflag='-G' ;;
 
8859
        *Sun\ F*)                       # Sun Fortran 8.3
 
8860
          tmp_sharedflag='-G' ;;
 
8861
        esac
 
8862
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8863
 
 
8864
        if test "x$supports_anon_versioning" = xyes; then
 
8865
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
8866
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
8867
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
8868
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
8869
        fi
 
8870
 
 
8871
        case $cc_basename in
 
8872
        xlf* | bgf* | bgxlf* | mpixlf*)
 
8873
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
8874
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
8875
          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
8876
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
 
8877
          if test "x$supports_anon_versioning" = xyes; then
 
8878
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
8879
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
8880
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
8881
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
8882
          fi
 
8883
          ;;
 
8884
        esac
 
8885
      else
 
8886
        ld_shlibs=no
 
8887
      fi
 
8888
      ;;
 
8889
 
 
8890
    netbsd* | netbsdelf*-gnu)
 
8891
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
8892
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 
8893
        wlarc=
 
8894
      else
 
8895
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8896
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8897
      fi
 
8898
      ;;
 
8899
 
 
8900
    solaris*)
 
8901
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
 
8902
        ld_shlibs=no
 
8903
        cat <<_LT_EOF 1>&2
 
8904
 
 
8905
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
 
8906
*** create shared libraries on Solaris systems.  Therefore, libtool
 
8907
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
8908
*** binutils to release 2.9.1 or newer.  Another option is to modify
 
8909
*** your PATH or compiler configuration so that the native linker is
 
8910
*** used, and then restart.
 
8911
 
 
8912
_LT_EOF
 
8913
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
8914
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8915
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8916
      else
 
8917
        ld_shlibs=no
 
8918
      fi
 
8919
      ;;
 
8920
 
 
8921
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
8922
      case `$LD -v 2>&1` in
 
8923
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
8924
        ld_shlibs=no
 
8925
        cat <<_LT_EOF 1>&2
 
8926
 
 
8927
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
8928
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
8929
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
8930
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
8931
*** your PATH or compiler configuration so that the native linker is
 
8932
*** used, and then restart.
 
8933
 
 
8934
_LT_EOF
 
8935
        ;;
 
8936
        *)
 
8937
          # For security reasons, it is highly recommended that you always
 
8938
          # use absolute paths for naming shared libraries, and exclude the
 
8939
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
8940
          # requires that you compile everything twice, which is a pain.
 
8941
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
8942
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
8943
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8944
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8945
          else
 
8946
            ld_shlibs=no
 
8947
          fi
 
8948
        ;;
 
8949
      esac
 
8950
      ;;
 
8951
 
 
8952
    sunos4*)
 
8953
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
8954
      wlarc=
 
8955
      hardcode_direct=yes
 
8956
      hardcode_shlibpath_var=no
 
8957
      ;;
 
8958
 
 
8959
    *)
 
8960
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
8961
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8962
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8963
      else
 
8964
        ld_shlibs=no
 
8965
      fi
 
8966
      ;;
 
8967
    esac
 
8968
 
 
8969
    if test "$ld_shlibs" = no; then
 
8970
      runpath_var=
 
8971
      hardcode_libdir_flag_spec=
 
8972
      export_dynamic_flag_spec=
 
8973
      whole_archive_flag_spec=
 
8974
    fi
 
8975
  else
 
8976
    # PORTME fill in a description of your system's linker (not GNU ld)
 
8977
    case $host_os in
 
8978
    aix3*)
 
8979
      allow_undefined_flag=unsupported
 
8980
      always_export_symbols=yes
 
8981
      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'
 
8982
      # Note: this linker hardcodes the directories in LIBPATH if there
 
8983
      # are no directories specified by -L.
 
8984
      hardcode_minus_L=yes
 
8985
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 
8986
        # Neither direct hardcoding nor static linking is supported with a
 
8987
        # broken collect2.
 
8988
        hardcode_direct=unsupported
 
8989
      fi
 
8990
      ;;
 
8991
 
 
8992
    aix[4-9]*)
 
8993
      if test "$host_cpu" = ia64; then
 
8994
        # On IA64, the linker does run time linking by default, so we don't
 
8995
        # have to do anything special.
 
8996
        aix_use_runtimelinking=no
 
8997
        exp_sym_flag='-Bexport'
 
8998
        no_entry_flag=""
 
8999
      else
 
9000
        # If we're using GNU nm, then we don't want the "-C" option.
 
9001
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
9002
        # Also, AIX nm treats weak defined symbols like other global
 
9003
        # defined symbols, whereas GNU nm marks them as "W".
 
9004
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
9005
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 
9006
        else
 
9007
          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'
 
9008
        fi
 
9009
        aix_use_runtimelinking=no
 
9010
 
 
9011
        # Test if we are trying to use run time linking or normal
 
9012
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
9013
        # need to do runtime linking.
 
9014
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 
9015
          for ld_flag in $LDFLAGS; do
 
9016
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
9017
            aix_use_runtimelinking=yes
 
9018
            break
 
9019
          fi
 
9020
          done
 
9021
          ;;
 
9022
        esac
 
9023
 
 
9024
        exp_sym_flag='-bexport'
 
9025
        no_entry_flag='-bnoentry'
 
9026
      fi
 
9027
 
 
9028
      # When large executables or shared objects are built, AIX ld can
 
9029
      # have problems creating the table of contents.  If linking a library
 
9030
      # or program results in "error TOC overflow" add -mminimal-toc to
 
9031
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
9032
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
9033
 
 
9034
      archive_cmds=''
 
9035
      hardcode_direct=yes
 
9036
      hardcode_direct_absolute=yes
 
9037
      hardcode_libdir_separator=':'
 
9038
      link_all_deplibs=yes
 
9039
      file_list_spec='${wl}-f,'
 
9040
 
 
9041
      if test "$GCC" = yes; then
 
9042
        case $host_os in aix4.[012]|aix4.[012].*)
 
9043
        # We only want to do this on AIX 4.2 and lower, the check
 
9044
        # below for broken collect2 doesn't work under 4.3+
 
9045
          collect2name=`${CC} -print-prog-name=collect2`
 
9046
          if test -f "$collect2name" &&
 
9047
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 
9048
          then
 
9049
          # We have reworked collect2
 
9050
          :
 
9051
          else
 
9052
          # We have old collect2
 
9053
          hardcode_direct=unsupported
 
9054
          # It fails to find uninstalled libraries when the uninstalled
 
9055
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
9056
          # to unsupported forces relinking
 
9057
          hardcode_minus_L=yes
 
9058
          hardcode_libdir_flag_spec='-L$libdir'
 
9059
          hardcode_libdir_separator=
 
9060
          fi
 
9061
          ;;
 
9062
        esac
 
9063
        shared_flag='-shared'
 
9064
        if test "$aix_use_runtimelinking" = yes; then
 
9065
          shared_flag="$shared_flag "'${wl}-G'
 
9066
        fi
 
9067
        link_all_deplibs=no
 
9068
      else
 
9069
        # not using gcc
 
9070
        if test "$host_cpu" = ia64; then
 
9071
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
9072
        # chokes on -Wl,-G. The following line is correct:
 
9073
          shared_flag='-G'
 
9074
        else
 
9075
          if test "$aix_use_runtimelinking" = yes; then
 
9076
            shared_flag='${wl}-G'
 
9077
          else
 
9078
            shared_flag='${wl}-bM:SRE'
 
9079
          fi
 
9080
        fi
 
9081
      fi
 
9082
 
 
9083
      export_dynamic_flag_spec='${wl}-bexpall'
 
9084
      # It seems that -bexpall does not export symbols beginning with
 
9085
      # underscore (_), so it is better to generate a list of symbols to export.
 
9086
      always_export_symbols=yes
 
9087
      if test "$aix_use_runtimelinking" = yes; then
 
9088
        # Warning - without using the other runtime loading flags (-brtl),
 
9089
        # -berok will link without error, but may produce a broken library.
 
9090
        allow_undefined_flag='-berok'
 
9091
        # Determine the default libpath from the value encoded in an
 
9092
        # empty executable.
 
9093
        if test "${lt_cv_aix_libpath+set}" = set; then
 
9094
  aix_libpath=$lt_cv_aix_libpath
 
9095
else
 
9096
  if ${lt_cv_aix_libpath_+:} false; then :
 
9097
  $as_echo_n "(cached) " >&6
 
9098
else
 
9099
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9100
/* end confdefs.h.  */
 
9101
 
 
9102
int
 
9103
main ()
 
9104
{
 
9105
 
 
9106
  ;
 
9107
  return 0;
 
9108
}
 
9109
_ACEOF
 
9110
if ac_fn_c_try_link "$LINENO"; then :
 
9111
 
 
9112
  lt_aix_libpath_sed='
 
9113
      /Import File Strings/,/^$/ {
 
9114
          /^0/ {
 
9115
              s/^0  *\([^ ]*\) *$/\1/
 
9116
              p
 
9117
          }
 
9118
      }'
 
9119
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9120
  # Check for a 64-bit object if we didn't find anything.
 
9121
  if test -z "$lt_cv_aix_libpath_"; then
 
9122
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9123
  fi
 
9124
fi
 
9125
rm -f core conftest.err conftest.$ac_objext \
 
9126
    conftest$ac_exeext conftest.$ac_ext
 
9127
  if test -z "$lt_cv_aix_libpath_"; then
 
9128
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
9129
  fi
 
9130
 
 
9131
fi
 
9132
 
 
9133
  aix_libpath=$lt_cv_aix_libpath_
 
9134
fi
 
9135
 
 
9136
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
9137
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
9138
      else
 
9139
        if test "$host_cpu" = ia64; then
 
9140
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
 
9141
          allow_undefined_flag="-z nodefs"
 
9142
          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"
 
9143
        else
 
9144
         # Determine the default libpath from the value encoded in an
 
9145
         # empty executable.
 
9146
         if test "${lt_cv_aix_libpath+set}" = set; then
 
9147
  aix_libpath=$lt_cv_aix_libpath
 
9148
else
 
9149
  if ${lt_cv_aix_libpath_+:} false; then :
 
9150
  $as_echo_n "(cached) " >&6
 
9151
else
 
9152
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9153
/* end confdefs.h.  */
 
9154
 
 
9155
int
 
9156
main ()
 
9157
{
 
9158
 
 
9159
  ;
 
9160
  return 0;
 
9161
}
 
9162
_ACEOF
 
9163
if ac_fn_c_try_link "$LINENO"; then :
 
9164
 
 
9165
  lt_aix_libpath_sed='
 
9166
      /Import File Strings/,/^$/ {
 
9167
          /^0/ {
 
9168
              s/^0  *\([^ ]*\) *$/\1/
 
9169
              p
 
9170
          }
 
9171
      }'
 
9172
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9173
  # Check for a 64-bit object if we didn't find anything.
 
9174
  if test -z "$lt_cv_aix_libpath_"; then
 
9175
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9176
  fi
 
9177
fi
 
9178
rm -f core conftest.err conftest.$ac_objext \
 
9179
    conftest$ac_exeext conftest.$ac_ext
 
9180
  if test -z "$lt_cv_aix_libpath_"; then
 
9181
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
9182
  fi
 
9183
 
 
9184
fi
 
9185
 
 
9186
  aix_libpath=$lt_cv_aix_libpath_
 
9187
fi
 
9188
 
 
9189
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
9190
          # Warning - without using the other run time loading flags,
 
9191
          # -berok will link without error, but may produce a broken library.
 
9192
          no_undefined_flag=' ${wl}-bernotok'
 
9193
          allow_undefined_flag=' ${wl}-berok'
 
9194
          if test "$with_gnu_ld" = yes; then
 
9195
            # We only use this code for GNU lds that support --whole-archive.
 
9196
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
9197
          else
 
9198
            # Exported symbols can be pulled into shared objects from archives
 
9199
            whole_archive_flag_spec='$convenience'
 
9200
          fi
 
9201
          archive_cmds_need_lc=yes
 
9202
          # This is similar to how AIX traditionally builds its shared libraries.
 
9203
          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'
 
9204
        fi
 
9205
      fi
 
9206
      ;;
 
9207
 
 
9208
    amigaos*)
 
9209
      case $host_cpu in
 
9210
      powerpc)
 
9211
            # see comment about AmigaOS4 .so support
 
9212
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9213
            archive_expsym_cmds=''
 
9214
        ;;
 
9215
      m68k)
 
9216
            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)'
 
9217
            hardcode_libdir_flag_spec='-L$libdir'
 
9218
            hardcode_minus_L=yes
 
9219
        ;;
 
9220
      esac
 
9221
      ;;
 
9222
 
 
9223
    bsdi[45]*)
 
9224
      export_dynamic_flag_spec=-rdynamic
 
9225
      ;;
 
9226
 
 
9227
    cygwin* | mingw* | pw32* | cegcc*)
 
9228
      # When not using gcc, we currently assume that we are using
 
9229
      # Microsoft Visual C++.
 
9230
      # hardcode_libdir_flag_spec is actually meaningless, as there is
 
9231
      # no search path for DLLs.
 
9232
      case $cc_basename in
 
9233
      cl*)
 
9234
        # Native MSVC
 
9235
        hardcode_libdir_flag_spec=' '
 
9236
        allow_undefined_flag=unsupported
 
9237
        always_export_symbols=yes
 
9238
        file_list_spec='@'
 
9239
        # Tell ltmain to make .lib files, not .a files.
 
9240
        libext=lib
 
9241
        # Tell ltmain to make .dll files, not .so files.
 
9242
        shrext_cmds=".dll"
 
9243
        # FIXME: Setting linknames here is a bad hack.
 
9244
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
9245
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
9246
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
9247
          else
 
9248
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
9249
          fi~
 
9250
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
9251
          linknames='
 
9252
        # The linker will not automatically build a static lib if we build a DLL.
 
9253
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 
9254
        enable_shared_with_static_runtimes=yes
 
9255
        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
 
9256
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9257
        # Don't use ranlib
 
9258
        old_postinstall_cmds='chmod 644 $oldlib'
 
9259
        postlink_cmds='lt_outputfile="@OUTPUT@"~
 
9260
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
9261
          case $lt_outputfile in
 
9262
            *.exe|*.EXE) ;;
 
9263
            *)
 
9264
              lt_outputfile="$lt_outputfile.exe"
 
9265
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
9266
              ;;
 
9267
          esac~
 
9268
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
9269
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
9270
            $RM "$lt_outputfile.manifest";
 
9271
          fi'
 
9272
        ;;
 
9273
      *)
 
9274
        # Assume MSVC wrapper
 
9275
        hardcode_libdir_flag_spec=' '
 
9276
        allow_undefined_flag=unsupported
 
9277
        # Tell ltmain to make .lib files, not .a files.
 
9278
        libext=lib
 
9279
        # Tell ltmain to make .dll files, not .so files.
 
9280
        shrext_cmds=".dll"
 
9281
        # FIXME: Setting linknames here is a bad hack.
 
9282
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
9283
        # The linker will automatically build a .lib file if we build a DLL.
 
9284
        old_archive_from_new_cmds='true'
 
9285
        # FIXME: Should let the user specify the lib program.
 
9286
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
9287
        enable_shared_with_static_runtimes=yes
 
9288
        ;;
 
9289
      esac
 
9290
      ;;
 
9291
 
 
9292
    darwin* | rhapsody*)
 
9293
 
 
9294
 
 
9295
  archive_cmds_need_lc=no
 
9296
  hardcode_direct=no
 
9297
  hardcode_automatic=yes
 
9298
  hardcode_shlibpath_var=unsupported
 
9299
  if test "$lt_cv_ld_force_load" = "yes"; then
 
9300
    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
 
9301
 
 
9302
  else
 
9303
    whole_archive_flag_spec=''
 
9304
  fi
 
9305
  link_all_deplibs=yes
 
9306
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
9307
  case $cc_basename in
 
9308
     ifort*) _lt_dar_can_shared=yes ;;
 
9309
     *) _lt_dar_can_shared=$GCC ;;
 
9310
  esac
 
9311
  if test "$_lt_dar_can_shared" = "yes"; then
 
9312
    output_verbose_link_cmd=func_echo_all
 
9313
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
9314
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
9315
    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}"
 
9316
    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}"
 
9317
 
 
9318
  else
 
9319
  ld_shlibs=no
 
9320
  fi
 
9321
 
 
9322
      ;;
 
9323
 
 
9324
    dgux*)
 
9325
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9326
      hardcode_libdir_flag_spec='-L$libdir'
 
9327
      hardcode_shlibpath_var=no
 
9328
      ;;
 
9329
 
 
9330
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 
9331
    # support.  Future versions do this automatically, but an explicit c++rt0.o
 
9332
    # does not break anything, and helps significantly (at the cost of a little
 
9333
    # extra space).
 
9334
    freebsd2.2*)
 
9335
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 
9336
      hardcode_libdir_flag_spec='-R$libdir'
 
9337
      hardcode_direct=yes
 
9338
      hardcode_shlibpath_var=no
 
9339
      ;;
 
9340
 
 
9341
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 
9342
    freebsd2.*)
 
9343
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
9344
      hardcode_direct=yes
 
9345
      hardcode_minus_L=yes
 
9346
      hardcode_shlibpath_var=no
 
9347
      ;;
 
9348
 
 
9349
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 
9350
    freebsd* | dragonfly*)
 
9351
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
9352
      hardcode_libdir_flag_spec='-R$libdir'
 
9353
      hardcode_direct=yes
 
9354
      hardcode_shlibpath_var=no
 
9355
      ;;
 
9356
 
 
9357
    hpux9*)
 
9358
      if test "$GCC" = yes; then
 
9359
        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
9360
      else
 
9361
        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'
 
9362
      fi
 
9363
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
9364
      hardcode_libdir_separator=:
 
9365
      hardcode_direct=yes
 
9366
 
 
9367
      # hardcode_minus_L: Not really in the search PATH,
 
9368
      # but as the default location of the library.
 
9369
      hardcode_minus_L=yes
 
9370
      export_dynamic_flag_spec='${wl}-E'
 
9371
      ;;
 
9372
 
 
9373
    hpux10*)
 
9374
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
9375
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9376
      else
 
9377
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
9378
      fi
 
9379
      if test "$with_gnu_ld" = no; then
 
9380
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
9381
        hardcode_libdir_separator=:
 
9382
        hardcode_direct=yes
 
9383
        hardcode_direct_absolute=yes
 
9384
        export_dynamic_flag_spec='${wl}-E'
 
9385
        # hardcode_minus_L: Not really in the search PATH,
 
9386
        # but as the default location of the library.
 
9387
        hardcode_minus_L=yes
 
9388
      fi
 
9389
      ;;
 
9390
 
 
9391
    hpux11*)
 
9392
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
9393
        case $host_cpu in
 
9394
        hppa*64*)
 
9395
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9396
          ;;
 
9397
        ia64*)
 
9398
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9399
          ;;
 
9400
        *)
 
9401
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9402
          ;;
 
9403
        esac
 
9404
      else
 
9405
        case $host_cpu in
 
9406
        hppa*64*)
 
9407
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9408
          ;;
 
9409
        ia64*)
 
9410
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9411
          ;;
 
9412
        *)
 
9413
 
 
9414
          # Older versions of the 11.00 compiler do not understand -b yet
 
9415
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
9416
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 
9417
$as_echo_n "checking if $CC understands -b... " >&6; }
 
9418
if ${lt_cv_prog_compiler__b+:} false; then :
 
9419
  $as_echo_n "(cached) " >&6
 
9420
else
 
9421
  lt_cv_prog_compiler__b=no
 
9422
   save_LDFLAGS="$LDFLAGS"
 
9423
   LDFLAGS="$LDFLAGS -b"
 
9424
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
9425
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
9426
     # The linker can only warn and ignore the option if not recognized
 
9427
     # So say no if there are warnings
 
9428
     if test -s conftest.err; then
 
9429
       # Append any errors to the config.log.
 
9430
       cat conftest.err 1>&5
 
9431
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
9432
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
9433
       if diff conftest.exp conftest.er2 >/dev/null; then
 
9434
         lt_cv_prog_compiler__b=yes
 
9435
       fi
 
9436
     else
 
9437
       lt_cv_prog_compiler__b=yes
 
9438
     fi
 
9439
   fi
 
9440
   $RM -r conftest*
 
9441
   LDFLAGS="$save_LDFLAGS"
 
9442
 
 
9443
fi
 
9444
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 
9445
$as_echo "$lt_cv_prog_compiler__b" >&6; }
 
9446
 
 
9447
if test x"$lt_cv_prog_compiler__b" = xyes; then
 
9448
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9449
else
 
9450
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
9451
fi
 
9452
 
 
9453
          ;;
 
9454
        esac
 
9455
      fi
 
9456
      if test "$with_gnu_ld" = no; then
 
9457
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
9458
        hardcode_libdir_separator=:
 
9459
 
 
9460
        case $host_cpu in
 
9461
        hppa*64*|ia64*)
 
9462
          hardcode_direct=no
 
9463
          hardcode_shlibpath_var=no
 
9464
          ;;
 
9465
        *)
 
9466
          hardcode_direct=yes
 
9467
          hardcode_direct_absolute=yes
 
9468
          export_dynamic_flag_spec='${wl}-E'
 
9469
 
 
9470
          # hardcode_minus_L: Not really in the search PATH,
 
9471
          # but as the default location of the library.
 
9472
          hardcode_minus_L=yes
 
9473
          ;;
 
9474
        esac
 
9475
      fi
 
9476
      ;;
 
9477
 
 
9478
    irix5* | irix6* | nonstopux*)
 
9479
      if test "$GCC" = yes; then
 
9480
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
9481
        # Try to use the -exported_symbol ld option, if it does not
 
9482
        # work, assume that -exports_file does not work either and
 
9483
        # implicitly export all symbols.
 
9484
        # This should be the same for all languages, so no per-tag cache variable.
 
9485
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
9486
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
9487
if ${lt_cv_irix_exported_symbol+:} false; then :
 
9488
  $as_echo_n "(cached) " >&6
 
9489
else
 
9490
  save_LDFLAGS="$LDFLAGS"
 
9491
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
9492
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9493
/* end confdefs.h.  */
 
9494
int foo (void) { return 0; }
 
9495
_ACEOF
 
9496
if ac_fn_c_try_link "$LINENO"; then :
 
9497
  lt_cv_irix_exported_symbol=yes
 
9498
else
 
9499
  lt_cv_irix_exported_symbol=no
 
9500
fi
 
9501
rm -f core conftest.err conftest.$ac_objext \
 
9502
    conftest$ac_exeext conftest.$ac_ext
 
9503
           LDFLAGS="$save_LDFLAGS"
 
9504
fi
 
9505
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
9506
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
9507
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
9508
          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
 
9509
        fi
 
9510
      else
 
9511
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 
9512
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
 
9513
      fi
 
9514
      archive_cmds_need_lc='no'
 
9515
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9516
      hardcode_libdir_separator=:
 
9517
      inherit_rpath=yes
 
9518
      link_all_deplibs=yes
 
9519
      ;;
 
9520
 
 
9521
    netbsd* | netbsdelf*-gnu)
 
9522
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
9523
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 
9524
      else
 
9525
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 
9526
      fi
 
9527
      hardcode_libdir_flag_spec='-R$libdir'
 
9528
      hardcode_direct=yes
 
9529
      hardcode_shlibpath_var=no
 
9530
      ;;
 
9531
 
 
9532
    newsos6)
 
9533
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9534
      hardcode_direct=yes
 
9535
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9536
      hardcode_libdir_separator=:
 
9537
      hardcode_shlibpath_var=no
 
9538
      ;;
 
9539
 
 
9540
    *nto* | *qnx*)
 
9541
      ;;
 
9542
 
 
9543
    openbsd*)
 
9544
      if test -f /usr/libexec/ld.so; then
 
9545
        hardcode_direct=yes
 
9546
        hardcode_shlibpath_var=no
 
9547
        hardcode_direct_absolute=yes
 
9548
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
9549
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
9550
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
9551
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
9552
          export_dynamic_flag_spec='${wl}-E'
 
9553
        else
 
9554
          case $host_os in
 
9555
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
9556
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
9557
             hardcode_libdir_flag_spec='-R$libdir'
 
9558
             ;;
 
9559
           *)
 
9560
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
9561
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
9562
             ;;
 
9563
          esac
 
9564
        fi
 
9565
      else
 
9566
        ld_shlibs=no
 
9567
      fi
 
9568
      ;;
 
9569
 
 
9570
    os2*)
 
9571
      hardcode_libdir_flag_spec='-L$libdir'
 
9572
      hardcode_minus_L=yes
 
9573
      allow_undefined_flag=unsupported
 
9574
      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'
 
9575
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
9576
      ;;
 
9577
 
 
9578
    osf3*)
 
9579
      if test "$GCC" = yes; then
 
9580
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
9581
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
9582
      else
 
9583
        allow_undefined_flag=' -expect_unresolved \*'
 
9584
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 
9585
      fi
 
9586
      archive_cmds_need_lc='no'
 
9587
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9588
      hardcode_libdir_separator=:
 
9589
      ;;
 
9590
 
 
9591
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
 
9592
      if test "$GCC" = yes; then
 
9593
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
9594
        archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
9595
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9596
      else
 
9597
        allow_undefined_flag=' -expect_unresolved \*'
 
9598
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 
9599
        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~
 
9600
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
 
9601
 
 
9602
        # Both c and cxx compiler support -rpath directly
 
9603
        hardcode_libdir_flag_spec='-rpath $libdir'
 
9604
      fi
 
9605
      archive_cmds_need_lc='no'
 
9606
      hardcode_libdir_separator=:
 
9607
      ;;
 
9608
 
 
9609
    solaris*)
 
9610
      no_undefined_flag=' -z defs'
 
9611
      if test "$GCC" = yes; then
 
9612
        wlarc='${wl}'
 
9613
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9614
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9615
          $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
9616
      else
 
9617
        case `$CC -V 2>&1` in
 
9618
        *"Compilers 5.0"*)
 
9619
          wlarc=''
 
9620
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9621
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9622
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
9623
          ;;
 
9624
        *)
 
9625
          wlarc='${wl}'
 
9626
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
9627
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9628
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
9629
          ;;
 
9630
        esac
 
9631
      fi
 
9632
      hardcode_libdir_flag_spec='-R$libdir'
 
9633
      hardcode_shlibpath_var=no
 
9634
      case $host_os in
 
9635
      solaris2.[0-5] | solaris2.[0-5].*) ;;
 
9636
      *)
 
9637
        # The compiler driver will combine and reorder linker options,
 
9638
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
9639
        # but is careful enough not to reorder.
 
9640
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
9641
        if test "$GCC" = yes; then
 
9642
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
9643
        else
 
9644
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
9645
        fi
 
9646
        ;;
 
9647
      esac
 
9648
      link_all_deplibs=yes
 
9649
      ;;
 
9650
 
 
9651
    sunos4*)
 
9652
      if test "x$host_vendor" = xsequent; then
 
9653
        # Use $CC to link under sequent, because it throws in some extra .o
 
9654
        # files that make .init and .fini sections work.
 
9655
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
9656
      else
 
9657
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 
9658
      fi
 
9659
      hardcode_libdir_flag_spec='-L$libdir'
 
9660
      hardcode_direct=yes
 
9661
      hardcode_minus_L=yes
 
9662
      hardcode_shlibpath_var=no
 
9663
      ;;
 
9664
 
 
9665
    sysv4)
 
9666
      case $host_vendor in
 
9667
        sni)
 
9668
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9669
          hardcode_direct=yes # is this really true???
 
9670
        ;;
 
9671
        siemens)
 
9672
          ## LD is ld it makes a PLAMLIB
 
9673
          ## CC just makes a GrossModule.
 
9674
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 
9675
          reload_cmds='$CC -r -o $output$reload_objs'
 
9676
          hardcode_direct=no
 
9677
        ;;
 
9678
        motorola)
 
9679
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9680
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
 
9681
        ;;
 
9682
      esac
 
9683
      runpath_var='LD_RUN_PATH'
 
9684
      hardcode_shlibpath_var=no
 
9685
      ;;
 
9686
 
 
9687
    sysv4.3*)
 
9688
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9689
      hardcode_shlibpath_var=no
 
9690
      export_dynamic_flag_spec='-Bexport'
 
9691
      ;;
 
9692
 
 
9693
    sysv4*MP*)
 
9694
      if test -d /usr/nec; then
 
9695
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9696
        hardcode_shlibpath_var=no
 
9697
        runpath_var=LD_RUN_PATH
 
9698
        hardcode_runpath_var=yes
 
9699
        ld_shlibs=yes
 
9700
      fi
 
9701
      ;;
 
9702
 
 
9703
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
9704
      no_undefined_flag='${wl}-z,text'
 
9705
      archive_cmds_need_lc=no
 
9706
      hardcode_shlibpath_var=no
 
9707
      runpath_var='LD_RUN_PATH'
 
9708
 
 
9709
      if test "$GCC" = yes; then
 
9710
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9711
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9712
      else
 
9713
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9714
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9715
      fi
 
9716
      ;;
 
9717
 
 
9718
    sysv5* | sco3.2v5* | sco5v6*)
 
9719
      # Note: We can NOT use -z defs as we might desire, because we do not
 
9720
      # link with -lc, and that would cause any symbols used from libc to
 
9721
      # always be unresolved, which means just about no library would
 
9722
      # ever link correctly.  If we're not using GNU ld we use -z text
 
9723
      # though, which does catch some bad symbols but isn't as heavy-handed
 
9724
      # as -z defs.
 
9725
      no_undefined_flag='${wl}-z,text'
 
9726
      allow_undefined_flag='${wl}-z,nodefs'
 
9727
      archive_cmds_need_lc=no
 
9728
      hardcode_shlibpath_var=no
 
9729
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
 
9730
      hardcode_libdir_separator=':'
 
9731
      link_all_deplibs=yes
 
9732
      export_dynamic_flag_spec='${wl}-Bexport'
 
9733
      runpath_var='LD_RUN_PATH'
 
9734
 
 
9735
      if test "$GCC" = yes; then
 
9736
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9737
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9738
      else
 
9739
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9740
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9741
      fi
 
9742
      ;;
 
9743
 
 
9744
    uts4*)
 
9745
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9746
      hardcode_libdir_flag_spec='-L$libdir'
 
9747
      hardcode_shlibpath_var=no
 
9748
      ;;
 
9749
 
 
9750
    *)
 
9751
      ld_shlibs=no
 
9752
      ;;
 
9753
    esac
 
9754
 
 
9755
    if test x$host_vendor = xsni; then
 
9756
      case $host in
 
9757
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
9758
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
9759
        ;;
 
9760
      esac
 
9761
    fi
 
9762
  fi
 
9763
 
 
9764
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
 
9765
$as_echo "$ld_shlibs" >&6; }
 
9766
test "$ld_shlibs" = no && can_build_shared=no
 
9767
 
 
9768
with_gnu_ld=$with_gnu_ld
 
9769
 
 
9770
 
 
9771
 
 
9772
 
 
9773
 
 
9774
 
 
9775
 
 
9776
 
 
9777
 
 
9778
 
 
9779
 
 
9780
 
 
9781
 
 
9782
 
 
9783
 
 
9784
#
 
9785
# Do we need to explicitly link libc?
 
9786
#
 
9787
case "x$archive_cmds_need_lc" in
 
9788
x|xyes)
 
9789
  # Assume -lc should be added
 
9790
  archive_cmds_need_lc=yes
 
9791
 
 
9792
  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
9793
    case $archive_cmds in
 
9794
    *'~'*)
 
9795
      # FIXME: we may have to deal with multi-command sequences.
 
9796
      ;;
 
9797
    '$CC '*)
 
9798
      # Test whether the compiler implicitly links with -lc since on some
 
9799
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
9800
      # to ld, don't add -lc before -lgcc.
 
9801
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 
9802
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
9803
if ${lt_cv_archive_cmds_need_lc+:} false; then :
 
9804
  $as_echo_n "(cached) " >&6
 
9805
else
 
9806
  $RM conftest*
 
9807
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9808
 
 
9809
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
9810
  (eval $ac_compile) 2>&5
 
9811
  ac_status=$?
 
9812
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
9813
  test $ac_status = 0; } 2>conftest.err; then
 
9814
          soname=conftest
 
9815
          lib=conftest
 
9816
          libobjs=conftest.$ac_objext
 
9817
          deplibs=
 
9818
          wl=$lt_prog_compiler_wl
 
9819
          pic_flag=$lt_prog_compiler_pic
 
9820
          compiler_flags=-v
 
9821
          linker_flags=-v
 
9822
          verstring=
 
9823
          output_objdir=.
 
9824
          libname=conftest
 
9825
          lt_save_allow_undefined_flag=$allow_undefined_flag
 
9826
          allow_undefined_flag=
 
9827
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
9828
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
9829
  ac_status=$?
 
9830
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
9831
  test $ac_status = 0; }
 
9832
          then
 
9833
            lt_cv_archive_cmds_need_lc=no
 
9834
          else
 
9835
            lt_cv_archive_cmds_need_lc=yes
 
9836
          fi
 
9837
          allow_undefined_flag=$lt_save_allow_undefined_flag
 
9838
        else
 
9839
          cat conftest.err 1>&5
 
9840
        fi
 
9841
        $RM conftest*
 
9842
 
 
9843
fi
 
9844
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 
9845
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 
9846
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
 
9847
      ;;
 
9848
    esac
 
9849
  fi
 
9850
  ;;
 
9851
esac
 
9852
 
 
9853
 
 
9854
 
 
9855
 
 
9856
 
 
9857
 
 
9858
 
 
9859
 
 
9860
 
 
9861
 
 
9862
 
 
9863
 
 
9864
 
 
9865
 
 
9866
 
 
9867
 
 
9868
 
 
9869
 
 
9870
 
 
9871
 
 
9872
 
 
9873
 
 
9874
 
 
9875
 
 
9876
 
 
9877
 
 
9878
 
 
9879
 
 
9880
 
 
9881
 
 
9882
 
 
9883
 
 
9884
 
 
9885
 
 
9886
 
 
9887
 
 
9888
 
 
9889
 
 
9890
 
 
9891
 
 
9892
 
 
9893
 
 
9894
 
 
9895
 
 
9896
 
 
9897
 
 
9898
 
 
9899
 
 
9900
 
 
9901
 
 
9902
 
 
9903
 
 
9904
 
 
9905
 
 
9906
 
 
9907
 
 
9908
 
 
9909
 
 
9910
 
 
9911
 
 
9912
 
 
9913
 
 
9914
 
 
9915
 
 
9916
 
 
9917
 
 
9918
 
 
9919
 
 
9920
 
 
9921
 
 
9922
 
 
9923
 
 
9924
 
 
9925
 
 
9926
 
 
9927
 
 
9928
 
 
9929
 
 
9930
 
 
9931
 
 
9932
 
 
9933
 
 
9934
 
 
9935
 
 
9936
 
 
9937
 
 
9938
 
 
9939
 
 
9940
 
 
9941
 
 
9942
 
 
9943
 
 
9944
 
 
9945
 
 
9946
 
 
9947
 
 
9948
 
 
9949
 
 
9950
 
 
9951
 
 
9952
 
 
9953
 
 
9954
 
 
9955
 
 
9956
 
 
9957
 
 
9958
 
 
9959
 
 
9960
 
 
9961
 
 
9962
 
 
9963
 
 
9964
 
 
9965
 
 
9966
 
 
9967
 
 
9968
 
 
9969
 
 
9970
 
 
9971
 
 
9972
 
 
9973
 
 
9974
 
 
9975
 
 
9976
 
 
9977
 
 
9978
 
 
9979
 
 
9980
 
 
9981
 
 
9982
 
 
9983
 
 
9984
 
 
9985
 
 
9986
 
 
9987
 
 
9988
 
 
9989
 
 
9990
 
 
9991
 
 
9992
 
 
9993
 
 
9994
 
 
9995
 
 
9996
 
 
9997
 
 
9998
 
 
9999
 
 
10000
 
 
10001
 
 
10002
 
 
10003
 
 
10004
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
10005
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
10006
 
 
10007
if test "$GCC" = yes; then
 
10008
  case $host_os in
 
10009
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
10010
    *) lt_awk_arg="/^libraries:/" ;;
 
10011
  esac
 
10012
  case $host_os in
 
10013
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 
10014
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
10015
  esac
 
10016
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
10017
  case $lt_search_path_spec in
 
10018
  *\;*)
 
10019
    # if the path contains ";" then we assume it to be the separator
 
10020
    # otherwise default to the standard path separator (i.e. ":") - it is
 
10021
    # assumed that no part of a normal pathname contains ";" but that should
 
10022
    # okay in the real world where ";" in dirpaths is itself problematic.
 
10023
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
10024
    ;;
 
10025
  *)
 
10026
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
10027
    ;;
 
10028
  esac
 
10029
  # Ok, now we have the path, separated by spaces, we can step through it
 
10030
  # and add multilib dir if necessary.
 
10031
  lt_tmp_lt_search_path_spec=
 
10032
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
10033
  for lt_sys_path in $lt_search_path_spec; do
 
10034
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
10035
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
10036
    else
 
10037
      test -d "$lt_sys_path" && \
 
10038
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
10039
    fi
 
10040
  done
 
10041
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
 
10042
BEGIN {RS=" "; FS="/|\n";} {
 
10043
  lt_foo="";
 
10044
  lt_count=0;
 
10045
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
10046
    if ($lt_i != "" && $lt_i != ".") {
 
10047
      if ($lt_i == "..") {
 
10048
        lt_count++;
 
10049
      } else {
 
10050
        if (lt_count == 0) {
 
10051
          lt_foo="/" $lt_i lt_foo;
 
10052
        } else {
 
10053
          lt_count--;
 
10054
        }
 
10055
      }
 
10056
    }
 
10057
  }
 
10058
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
10059
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
10060
}'`
 
10061
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
10062
  # for these hosts.
 
10063
  case $host_os in
 
10064
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
10065
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
10066
  esac
 
10067
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
 
10068
else
 
10069
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
10070
fi
 
10071
library_names_spec=
 
10072
libname_spec='lib$name'
 
10073
soname_spec=
 
10074
shrext_cmds=".so"
 
10075
postinstall_cmds=
 
10076
postuninstall_cmds=
 
10077
finish_cmds=
 
10078
finish_eval=
 
10079
shlibpath_var=
 
10080
shlibpath_overrides_runpath=unknown
 
10081
version_type=none
 
10082
dynamic_linker="$host_os ld.so"
 
10083
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
10084
need_lib_prefix=unknown
 
10085
hardcode_into_libs=no
 
10086
 
 
10087
# when you set need_version to no, make sure it does not cause -set_version
 
10088
# flags to be left without arguments
 
10089
need_version=unknown
 
10090
 
 
10091
case $host_os in
 
10092
aix3*)
 
10093
  version_type=linux # correct to gnu/linux during the next big refactor
 
10094
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
10095
  shlibpath_var=LIBPATH
 
10096
 
 
10097
  # AIX 3 has no versioning support, so we append a major version to the name.
 
10098
  soname_spec='${libname}${release}${shared_ext}$major'
 
10099
  ;;
 
10100
 
 
10101
aix[4-9]*)
 
10102
  version_type=linux # correct to gnu/linux during the next big refactor
 
10103
  need_lib_prefix=no
 
10104
  need_version=no
 
10105
  hardcode_into_libs=yes
 
10106
  if test "$host_cpu" = ia64; then
 
10107
    # AIX 5 supports IA64
 
10108
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
10109
    shlibpath_var=LD_LIBRARY_PATH
 
10110
  else
 
10111
    # With GCC up to 2.95.x, collect2 would create an import file
 
10112
    # for dependence libraries.  The import file would start with
 
10113
    # the line `#! .'.  This would cause the generated library to
 
10114
    # depend on `.', always an invalid library.  This was fixed in
 
10115
    # development snapshots of GCC prior to 3.0.
 
10116
    case $host_os in
 
10117
      aix4 | aix4.[01] | aix4.[01].*)
 
10118
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
10119
           echo ' yes '
 
10120
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
 
10121
        :
 
10122
      else
 
10123
        can_build_shared=no
 
10124
      fi
 
10125
      ;;
 
10126
    esac
 
10127
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
10128
    # soname into executable. Probably we can add versioning support to
 
10129
    # collect2, so additional links can be useful in future.
 
10130
    if test "$aix_use_runtimelinking" = yes; then
 
10131
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
10132
      # instead of lib<name>.a to let people know that these are not
 
10133
      # typical AIX shared libraries.
 
10134
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10135
    else
 
10136
      # We preserve .a as extension for shared libraries through AIX4.2
 
10137
      # and later when we are not doing run time linking.
 
10138
      library_names_spec='${libname}${release}.a $libname.a'
 
10139
      soname_spec='${libname}${release}${shared_ext}$major'
 
10140
    fi
 
10141
    shlibpath_var=LIBPATH
 
10142
  fi
 
10143
  ;;
 
10144
 
 
10145
amigaos*)
 
10146
  case $host_cpu in
 
10147
  powerpc)
 
10148
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
10149
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
10150
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10151
    ;;
 
10152
  m68k)
 
10153
    library_names_spec='$libname.ixlibrary $libname.a'
 
10154
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
10155
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 
10156
    ;;
 
10157
  esac
 
10158
  ;;
 
10159
 
 
10160
beos*)
 
10161
  library_names_spec='${libname}${shared_ext}'
 
10162
  dynamic_linker="$host_os ld.so"
 
10163
  shlibpath_var=LIBRARY_PATH
 
10164
  ;;
 
10165
 
 
10166
bsdi[45]*)
 
10167
  version_type=linux # correct to gnu/linux during the next big refactor
 
10168
  need_version=no
 
10169
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10170
  soname_spec='${libname}${release}${shared_ext}$major'
 
10171
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
10172
  shlibpath_var=LD_LIBRARY_PATH
 
10173
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
10174
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
10175
  # the default ld.so.conf also contains /usr/contrib/lib and
 
10176
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
10177
  # libtool to hard-code these into programs
 
10178
  ;;
 
10179
 
 
10180
cygwin* | mingw* | pw32* | cegcc*)
 
10181
  version_type=windows
 
10182
  shrext_cmds=".dll"
 
10183
  need_version=no
 
10184
  need_lib_prefix=no
 
10185
 
 
10186
  case $GCC,$cc_basename in
 
10187
  yes,*)
 
10188
    # gcc
 
10189
    library_names_spec='$libname.dll.a'
 
10190
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
10191
    postinstall_cmds='base_file=`basename \${file}`~
 
10192
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
10193
      dldir=$destdir/`dirname \$dlpath`~
 
10194
      test -d \$dldir || mkdir -p \$dldir~
 
10195
      $install_prog $dir/$dlname \$dldir/$dlname~
 
10196
      chmod a+x \$dldir/$dlname~
 
10197
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
10198
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
10199
      fi'
 
10200
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
10201
      dlpath=$dir/\$dldll~
 
10202
       $RM \$dlpath'
 
10203
    shlibpath_overrides_runpath=yes
 
10204
 
 
10205
    case $host_os in
 
10206
    cygwin*)
 
10207
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
10208
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10209
 
 
10210
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
 
10211
      ;;
 
10212
    mingw* | cegcc*)
 
10213
      # MinGW DLLs use traditional 'lib' prefix
 
10214
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10215
      ;;
 
10216
    pw32*)
 
10217
      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
10218
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10219
      ;;
 
10220
    esac
 
10221
    dynamic_linker='Win32 ld.exe'
 
10222
    ;;
 
10223
 
 
10224
  *,cl*)
 
10225
    # Native MSVC
 
10226
    libname_spec='$name'
 
10227
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10228
    library_names_spec='${libname}.dll.lib'
 
10229
 
 
10230
    case $build_os in
 
10231
    mingw*)
 
10232
      sys_lib_search_path_spec=
 
10233
      lt_save_ifs=$IFS
 
10234
      IFS=';'
 
10235
      for lt_path in $LIB
 
10236
      do
 
10237
        IFS=$lt_save_ifs
 
10238
        # Let DOS variable expansion print the short 8.3 style file name.
 
10239
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
10240
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
10241
      done
 
10242
      IFS=$lt_save_ifs
 
10243
      # Convert to MSYS style.
 
10244
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
10245
      ;;
 
10246
    cygwin*)
 
10247
      # Convert to unix form, then to dos form, then back to unix form
 
10248
      # but this time dos style (no spaces!) so that the unix form looks
 
10249
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
10250
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
10251
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
10252
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10253
      ;;
 
10254
    *)
 
10255
      sys_lib_search_path_spec="$LIB"
 
10256
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
10257
        # It is most probably a Windows format PATH.
 
10258
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
10259
      else
 
10260
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10261
      fi
 
10262
      # FIXME: find the short name or the path components, as spaces are
 
10263
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
10264
      ;;
 
10265
    esac
 
10266
 
 
10267
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
10268
    postinstall_cmds='base_file=`basename \${file}`~
 
10269
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
10270
      dldir=$destdir/`dirname \$dlpath`~
 
10271
      test -d \$dldir || mkdir -p \$dldir~
 
10272
      $install_prog $dir/$dlname \$dldir/$dlname'
 
10273
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
10274
      dlpath=$dir/\$dldll~
 
10275
       $RM \$dlpath'
 
10276
    shlibpath_overrides_runpath=yes
 
10277
    dynamic_linker='Win32 link.exe'
 
10278
    ;;
 
10279
 
 
10280
  *)
 
10281
    # Assume MSVC wrapper
 
10282
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
10283
    dynamic_linker='Win32 ld.exe'
 
10284
    ;;
 
10285
  esac
 
10286
  # FIXME: first we should search . and the directory the executable is in
 
10287
  shlibpath_var=PATH
 
10288
  ;;
 
10289
 
 
10290
darwin* | rhapsody*)
 
10291
  dynamic_linker="$host_os dyld"
 
10292
  version_type=darwin
 
10293
  need_lib_prefix=no
 
10294
  need_version=no
 
10295
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
10296
  soname_spec='${libname}${release}${major}$shared_ext'
 
10297
  shlibpath_overrides_runpath=yes
 
10298
  shlibpath_var=DYLD_LIBRARY_PATH
 
10299
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
10300
 
 
10301
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
 
10302
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
10303
  ;;
 
10304
 
 
10305
dgux*)
 
10306
  version_type=linux # correct to gnu/linux during the next big refactor
 
10307
  need_lib_prefix=no
 
10308
  need_version=no
 
10309
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
10310
  soname_spec='${libname}${release}${shared_ext}$major'
 
10311
  shlibpath_var=LD_LIBRARY_PATH
 
10312
  ;;
 
10313
 
 
10314
freebsd* | dragonfly*)
 
10315
  # DragonFly does not have aout.  When/if they implement a new
 
10316
  # versioning mechanism, adjust this.
 
10317
  if test -x /usr/bin/objformat; then
 
10318
    objformat=`/usr/bin/objformat`
 
10319
  else
 
10320
    case $host_os in
 
10321
    freebsd[23].*) objformat=aout ;;
 
10322
    *) objformat=elf ;;
 
10323
    esac
 
10324
  fi
 
10325
  version_type=freebsd-$objformat
 
10326
  case $version_type in
 
10327
    freebsd-elf*)
 
10328
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
10329
      need_version=no
 
10330
      need_lib_prefix=no
 
10331
      ;;
 
10332
    freebsd-*)
 
10333
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
10334
      need_version=yes
 
10335
      ;;
 
10336
  esac
 
10337
  shlibpath_var=LD_LIBRARY_PATH
 
10338
  case $host_os in
 
10339
  freebsd2.*)
 
10340
    shlibpath_overrides_runpath=yes
 
10341
    ;;
 
10342
  freebsd3.[01]* | freebsdelf3.[01]*)
 
10343
    shlibpath_overrides_runpath=yes
 
10344
    hardcode_into_libs=yes
 
10345
    ;;
 
10346
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
10347
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 
10348
    shlibpath_overrides_runpath=no
 
10349
    hardcode_into_libs=yes
 
10350
    ;;
 
10351
  *) # from 4.6 on, and DragonFly
 
10352
    shlibpath_overrides_runpath=yes
 
10353
    hardcode_into_libs=yes
 
10354
    ;;
 
10355
  esac
 
10356
  ;;
 
10357
 
 
10358
haiku*)
 
10359
  version_type=linux # correct to gnu/linux during the next big refactor
 
10360
  need_lib_prefix=no
 
10361
  need_version=no
 
10362
  dynamic_linker="$host_os runtime_loader"
 
10363
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
10364
  soname_spec='${libname}${release}${shared_ext}$major'
 
10365
  shlibpath_var=LIBRARY_PATH
 
10366
  shlibpath_overrides_runpath=yes
 
10367
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 
10368
  hardcode_into_libs=yes
 
10369
  ;;
 
10370
 
 
10371
hpux9* | hpux10* | hpux11*)
 
10372
  # Give a soname corresponding to the major version so that dld.sl refuses to
 
10373
  # link against other versions.
 
10374
  version_type=sunos
 
10375
  need_lib_prefix=no
 
10376
  need_version=no
 
10377
  case $host_cpu in
 
10378
  ia64*)
 
10379
    shrext_cmds='.so'
 
10380
    hardcode_into_libs=yes
 
10381
    dynamic_linker="$host_os dld.so"
 
10382
    shlibpath_var=LD_LIBRARY_PATH
 
10383
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
10384
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10385
    soname_spec='${libname}${release}${shared_ext}$major'
 
10386
    if test "X$HPUX_IA64_MODE" = X32; then
 
10387
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
10388
    else
 
10389
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
10390
    fi
 
10391
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
10392
    ;;
 
10393
  hppa*64*)
 
10394
    shrext_cmds='.sl'
 
10395
    hardcode_into_libs=yes
 
10396
    dynamic_linker="$host_os dld.sl"
 
10397
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
10398
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
10399
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10400
    soname_spec='${libname}${release}${shared_ext}$major'
 
10401
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
10402
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
10403
    ;;
 
10404
  *)
 
10405
    shrext_cmds='.sl'
 
10406
    dynamic_linker="$host_os dld.sl"
 
10407
    shlibpath_var=SHLIB_PATH
 
10408
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
10409
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10410
    soname_spec='${libname}${release}${shared_ext}$major'
 
10411
    ;;
 
10412
  esac
 
10413
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
 
10414
  postinstall_cmds='chmod 555 $lib'
 
10415
  # or fails outright, so override atomically:
 
10416
  install_override_mode=555
 
10417
  ;;
 
10418
 
 
10419
interix[3-9]*)
 
10420
  version_type=linux # correct to gnu/linux during the next big refactor
 
10421
  need_lib_prefix=no
 
10422
  need_version=no
 
10423
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
10424
  soname_spec='${libname}${release}${shared_ext}$major'
 
10425
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
10426
  shlibpath_var=LD_LIBRARY_PATH
 
10427
  shlibpath_overrides_runpath=no
 
10428
  hardcode_into_libs=yes
 
10429
  ;;
 
10430
 
 
10431
irix5* | irix6* | nonstopux*)
 
10432
  case $host_os in
 
10433
    nonstopux*) version_type=nonstopux ;;
 
10434
    *)
 
10435
        if test "$lt_cv_prog_gnu_ld" = yes; then
 
10436
                version_type=linux # correct to gnu/linux during the next big refactor
 
10437
        else
 
10438
                version_type=irix
 
10439
        fi ;;
 
10440
  esac
 
10441
  need_lib_prefix=no
 
10442
  need_version=no
 
10443
  soname_spec='${libname}${release}${shared_ext}$major'
 
10444
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
10445
  case $host_os in
 
10446
  irix5* | nonstopux*)
 
10447
    libsuff= shlibsuff=
 
10448
    ;;
 
10449
  *)
 
10450
    case $LD in # libtool.m4 will add one of these switches to LD
 
10451
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
10452
      libsuff= shlibsuff= libmagic=32-bit;;
 
10453
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
10454
      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
10455
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
10456
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
10457
    *) libsuff= shlibsuff= libmagic=never-match;;
 
10458
    esac
 
10459
    ;;
 
10460
  esac
 
10461
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
10462
  shlibpath_overrides_runpath=no
 
10463
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
10464
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
10465
  hardcode_into_libs=yes
 
10466
  ;;
 
10467
 
 
10468
# No shared lib support for Linux oldld, aout, or coff.
 
10469
linux*oldld* | linux*aout* | linux*coff*)
 
10470
  dynamic_linker=no
 
10471
  ;;
 
10472
 
 
10473
# This must be glibc/ELF.
 
10474
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
 
10475
  version_type=linux # correct to gnu/linux during the next big refactor
 
10476
  need_lib_prefix=no
 
10477
  need_version=no
 
10478
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10479
  soname_spec='${libname}${release}${shared_ext}$major'
 
10480
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
10481
  shlibpath_var=LD_LIBRARY_PATH
 
10482
  shlibpath_overrides_runpath=no
 
10483
 
 
10484
  # Some binutils ld are patched to set DT_RUNPATH
 
10485
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
10486
  $as_echo_n "(cached) " >&6
 
10487
else
 
10488
  lt_cv_shlibpath_overrides_runpath=no
 
10489
    save_LDFLAGS=$LDFLAGS
 
10490
    save_libdir=$libdir
 
10491
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
10492
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
10493
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10494
/* end confdefs.h.  */
 
10495
 
 
10496
int
 
10497
main ()
 
10498
{
 
10499
 
 
10500
  ;
 
10501
  return 0;
 
10502
}
 
10503
_ACEOF
 
10504
if ac_fn_c_try_link "$LINENO"; then :
 
10505
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
10506
  lt_cv_shlibpath_overrides_runpath=yes
 
10507
fi
 
10508
fi
 
10509
rm -f core conftest.err conftest.$ac_objext \
 
10510
    conftest$ac_exeext conftest.$ac_ext
 
10511
    LDFLAGS=$save_LDFLAGS
 
10512
    libdir=$save_libdir
 
10513
 
 
10514
fi
 
10515
 
 
10516
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
 
10517
 
 
10518
  # This implies no fast_install, which is unacceptable.
 
10519
  # Some rework will be needed to allow for fast_install
 
10520
  # before this can be enabled.
 
10521
  hardcode_into_libs=yes
 
10522
 
 
10523
  # Append ld.so.conf contents to the search path
 
10524
  if test -f /etc/ld.so.conf; then
 
10525
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
 
10526
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
10527
  fi
 
10528
 
 
10529
  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
10530
  # powerpc, because MkLinux only supported shared libraries with the
 
10531
  # GNU dynamic linker.  Since this was broken with cross compilers,
 
10532
  # most powerpc-linux boxes support dynamic linking these days and
 
10533
  # people can always --disable-shared, the test was removed, and we
 
10534
  # assume the GNU/Linux dynamic linker is in use.
 
10535
  dynamic_linker='GNU/Linux ld.so'
 
10536
  ;;
 
10537
 
 
10538
netbsdelf*-gnu)
 
10539
  version_type=linux
 
10540
  need_lib_prefix=no
 
10541
  need_version=no
 
10542
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
10543
  soname_spec='${libname}${release}${shared_ext}$major'
 
10544
  shlibpath_var=LD_LIBRARY_PATH
 
10545
  shlibpath_overrides_runpath=no
 
10546
  hardcode_into_libs=yes
 
10547
  dynamic_linker='NetBSD ld.elf_so'
 
10548
  ;;
 
10549
 
 
10550
netbsd*)
 
10551
  version_type=sunos
 
10552
  need_lib_prefix=no
 
10553
  need_version=no
 
10554
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
10555
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
10556
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
10557
    dynamic_linker='NetBSD (a.out) ld.so'
 
10558
  else
 
10559
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
10560
    soname_spec='${libname}${release}${shared_ext}$major'
 
10561
    dynamic_linker='NetBSD ld.elf_so'
 
10562
  fi
 
10563
  shlibpath_var=LD_LIBRARY_PATH
 
10564
  shlibpath_overrides_runpath=yes
 
10565
  hardcode_into_libs=yes
 
10566
  ;;
 
10567
 
 
10568
newsos6)
 
10569
  version_type=linux # correct to gnu/linux during the next big refactor
 
10570
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10571
  shlibpath_var=LD_LIBRARY_PATH
 
10572
  shlibpath_overrides_runpath=yes
 
10573
  ;;
 
10574
 
 
10575
*nto* | *qnx*)
 
10576
  version_type=qnx
 
10577
  need_lib_prefix=no
 
10578
  need_version=no
 
10579
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10580
  soname_spec='${libname}${release}${shared_ext}$major'
 
10581
  shlibpath_var=LD_LIBRARY_PATH
 
10582
  shlibpath_overrides_runpath=no
 
10583
  hardcode_into_libs=yes
 
10584
  dynamic_linker='ldqnx.so'
 
10585
  ;;
 
10586
 
 
10587
openbsd*)
 
10588
  version_type=sunos
 
10589
  sys_lib_dlsearch_path_spec="/usr/lib"
 
10590
  need_lib_prefix=no
 
10591
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
10592
  case $host_os in
 
10593
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
10594
    *)                          need_version=no  ;;
 
10595
  esac
 
10596
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
10597
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
10598
  shlibpath_var=LD_LIBRARY_PATH
 
10599
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
10600
    case $host_os in
 
10601
      openbsd2.[89] | openbsd2.[89].*)
 
10602
        shlibpath_overrides_runpath=no
 
10603
        ;;
 
10604
      *)
 
10605
        shlibpath_overrides_runpath=yes
 
10606
        ;;
 
10607
      esac
 
10608
  else
 
10609
    shlibpath_overrides_runpath=yes
 
10610
  fi
 
10611
  ;;
 
10612
 
 
10613
os2*)
 
10614
  libname_spec='$name'
 
10615
  shrext_cmds=".dll"
 
10616
  need_lib_prefix=no
 
10617
  library_names_spec='$libname${shared_ext} $libname.a'
 
10618
  dynamic_linker='OS/2 ld.exe'
 
10619
  shlibpath_var=LIBPATH
 
10620
  ;;
 
10621
 
 
10622
osf3* | osf4* | osf5*)
 
10623
  version_type=osf
 
10624
  need_lib_prefix=no
 
10625
  need_version=no
 
10626
  soname_spec='${libname}${release}${shared_ext}$major'
 
10627
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10628
  shlibpath_var=LD_LIBRARY_PATH
 
10629
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
10630
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
10631
  ;;
 
10632
 
 
10633
rdos*)
 
10634
  dynamic_linker=no
 
10635
  ;;
 
10636
 
 
10637
solaris*)
 
10638
  version_type=linux # correct to gnu/linux during the next big refactor
 
10639
  need_lib_prefix=no
 
10640
  need_version=no
 
10641
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10642
  soname_spec='${libname}${release}${shared_ext}$major'
 
10643
  shlibpath_var=LD_LIBRARY_PATH
 
10644
  shlibpath_overrides_runpath=yes
 
10645
  hardcode_into_libs=yes
 
10646
  # ldd complains unless libraries are executable
 
10647
  postinstall_cmds='chmod +x $lib'
 
10648
  ;;
 
10649
 
 
10650
sunos4*)
 
10651
  version_type=sunos
 
10652
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
10653
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
10654
  shlibpath_var=LD_LIBRARY_PATH
 
10655
  shlibpath_overrides_runpath=yes
 
10656
  if test "$with_gnu_ld" = yes; then
 
10657
    need_lib_prefix=no
 
10658
  fi
 
10659
  need_version=yes
 
10660
  ;;
 
10661
 
 
10662
sysv4 | sysv4.3*)
 
10663
  version_type=linux # correct to gnu/linux during the next big refactor
 
10664
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10665
  soname_spec='${libname}${release}${shared_ext}$major'
 
10666
  shlibpath_var=LD_LIBRARY_PATH
 
10667
  case $host_vendor in
 
10668
    sni)
 
10669
      shlibpath_overrides_runpath=no
 
10670
      need_lib_prefix=no
 
10671
      runpath_var=LD_RUN_PATH
 
10672
      ;;
 
10673
    siemens)
 
10674
      need_lib_prefix=no
 
10675
      ;;
 
10676
    motorola)
 
10677
      need_lib_prefix=no
 
10678
      need_version=no
 
10679
      shlibpath_overrides_runpath=no
 
10680
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
10681
      ;;
 
10682
  esac
 
10683
  ;;
 
10684
 
 
10685
sysv4*MP*)
 
10686
  if test -d /usr/nec ;then
 
10687
    version_type=linux # correct to gnu/linux during the next big refactor
 
10688
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
10689
    soname_spec='$libname${shared_ext}.$major'
 
10690
    shlibpath_var=LD_LIBRARY_PATH
 
10691
  fi
 
10692
  ;;
 
10693
 
 
10694
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
10695
  version_type=freebsd-elf
 
10696
  need_lib_prefix=no
 
10697
  need_version=no
 
10698
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
10699
  soname_spec='${libname}${release}${shared_ext}$major'
 
10700
  shlibpath_var=LD_LIBRARY_PATH
 
10701
  shlibpath_overrides_runpath=yes
 
10702
  hardcode_into_libs=yes
 
10703
  if test "$with_gnu_ld" = yes; then
 
10704
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
10705
  else
 
10706
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
10707
    case $host_os in
 
10708
      sco3.2v5*)
 
10709
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
10710
        ;;
 
10711
    esac
 
10712
  fi
 
10713
  sys_lib_dlsearch_path_spec='/usr/lib'
 
10714
  ;;
 
10715
 
 
10716
tpf*)
 
10717
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
10718
  version_type=linux # correct to gnu/linux during the next big refactor
 
10719
  need_lib_prefix=no
 
10720
  need_version=no
 
10721
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10722
  shlibpath_var=LD_LIBRARY_PATH
 
10723
  shlibpath_overrides_runpath=no
 
10724
  hardcode_into_libs=yes
 
10725
  ;;
 
10726
 
 
10727
uts4*)
 
10728
  version_type=linux # correct to gnu/linux during the next big refactor
 
10729
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10730
  soname_spec='${libname}${release}${shared_ext}$major'
 
10731
  shlibpath_var=LD_LIBRARY_PATH
 
10732
  ;;
 
10733
 
 
10734
*)
 
10735
  dynamic_linker=no
 
10736
  ;;
 
10737
esac
 
10738
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 
10739
$as_echo "$dynamic_linker" >&6; }
 
10740
test "$dynamic_linker" = no && can_build_shared=no
 
10741
 
 
10742
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
10743
if test "$GCC" = yes; then
 
10744
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
10745
fi
 
10746
 
 
10747
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
10748
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
10749
fi
 
10750
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
10751
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
10752
fi
 
10753
 
 
10754
 
 
10755
 
 
10756
 
 
10757
 
 
10758
 
 
10759
 
 
10760
 
 
10761
 
 
10762
 
 
10763
 
 
10764
 
 
10765
 
 
10766
 
 
10767
 
 
10768
 
 
10769
 
 
10770
 
 
10771
 
 
10772
 
 
10773
 
 
10774
 
 
10775
 
 
10776
 
 
10777
 
 
10778
 
 
10779
 
 
10780
 
 
10781
 
 
10782
 
 
10783
 
 
10784
 
 
10785
 
 
10786
 
 
10787
 
 
10788
 
 
10789
 
 
10790
 
 
10791
 
 
10792
 
 
10793
 
 
10794
 
 
10795
 
 
10796
 
 
10797
 
 
10798
 
 
10799
 
 
10800
 
 
10801
 
 
10802
 
 
10803
 
 
10804
 
 
10805
 
 
10806
 
 
10807
 
 
10808
 
 
10809
 
 
10810
 
 
10811
 
 
10812
 
 
10813
 
 
10814
 
 
10815
 
 
10816
 
 
10817
 
 
10818
 
 
10819
 
 
10820
 
 
10821
 
 
10822
 
 
10823
 
 
10824
 
 
10825
 
 
10826
 
 
10827
 
 
10828
 
 
10829
 
 
10830
 
 
10831
 
 
10832
 
 
10833
 
 
10834
 
 
10835
 
 
10836
 
 
10837
 
 
10838
 
 
10839
 
 
10840
 
 
10841
 
 
10842
 
 
10843
 
 
10844
 
 
10845
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
10846
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 
10847
hardcode_action=
 
10848
if test -n "$hardcode_libdir_flag_spec" ||
 
10849
   test -n "$runpath_var" ||
 
10850
   test "X$hardcode_automatic" = "Xyes" ; then
 
10851
 
 
10852
  # We can hardcode non-existent directories.
 
10853
  if test "$hardcode_direct" != no &&
 
10854
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
10855
     # have to relink, otherwise we might link with an installed library
 
10856
     # when we should be linking with a yet-to-be-installed one
 
10857
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
10858
     test "$hardcode_minus_L" != no; then
 
10859
    # Linking always hardcodes the temporary library directory.
 
10860
    hardcode_action=relink
 
10861
  else
 
10862
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
10863
    hardcode_action=immediate
 
10864
  fi
 
10865
else
 
10866
  # We cannot hardcode anything, or else we can only hardcode existing
 
10867
  # directories.
 
10868
  hardcode_action=unsupported
 
10869
fi
 
10870
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
 
10871
$as_echo "$hardcode_action" >&6; }
 
10872
 
 
10873
if test "$hardcode_action" = relink ||
 
10874
   test "$inherit_rpath" = yes; then
 
10875
  # Fast installation is not supported
 
10876
  enable_fast_install=no
 
10877
elif test "$shlibpath_overrides_runpath" = yes ||
 
10878
     test "$enable_shared" = no; then
 
10879
  # Fast installation is not necessary
 
10880
  enable_fast_install=needless
 
10881
fi
 
10882
 
 
10883
 
 
10884
 
 
10885
 
 
10886
 
 
10887
 
 
10888
  if test "x$enable_dlopen" != xyes; then
 
10889
  enable_dlopen=unknown
 
10890
  enable_dlopen_self=unknown
 
10891
  enable_dlopen_self_static=unknown
 
10892
else
 
10893
  lt_cv_dlopen=no
 
10894
  lt_cv_dlopen_libs=
 
10895
 
 
10896
  case $host_os in
 
10897
  beos*)
 
10898
    lt_cv_dlopen="load_add_on"
 
10899
    lt_cv_dlopen_libs=
 
10900
    lt_cv_dlopen_self=yes
 
10901
    ;;
 
10902
 
 
10903
  mingw* | pw32* | cegcc*)
 
10904
    lt_cv_dlopen="LoadLibrary"
 
10905
    lt_cv_dlopen_libs=
 
10906
    ;;
 
10907
 
 
10908
  cygwin*)
 
10909
    lt_cv_dlopen="dlopen"
 
10910
    lt_cv_dlopen_libs=
 
10911
    ;;
 
10912
 
 
10913
  darwin*)
 
10914
  # if libdl is installed we need to link against it
 
10915
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
10916
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
10917
if ${ac_cv_lib_dl_dlopen+:} false; then :
 
10918
  $as_echo_n "(cached) " >&6
 
10919
else
 
10920
  ac_check_lib_save_LIBS=$LIBS
 
10921
LIBS="-ldl  $LIBS"
 
10922
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10923
/* end confdefs.h.  */
 
10924
 
 
10925
/* Override any GCC internal prototype to avoid an error.
 
10926
   Use char because int might match the return type of a GCC
 
10927
   builtin and then its argument prototype would still apply.  */
 
10928
#ifdef __cplusplus
 
10929
extern "C"
 
10930
#endif
 
10931
char dlopen ();
 
10932
int
 
10933
main ()
 
10934
{
 
10935
return dlopen ();
 
10936
  ;
 
10937
  return 0;
 
10938
}
 
10939
_ACEOF
 
10940
if ac_fn_c_try_link "$LINENO"; then :
 
10941
  ac_cv_lib_dl_dlopen=yes
 
10942
else
 
10943
  ac_cv_lib_dl_dlopen=no
 
10944
fi
 
10945
rm -f core conftest.err conftest.$ac_objext \
 
10946
    conftest$ac_exeext conftest.$ac_ext
 
10947
LIBS=$ac_check_lib_save_LIBS
 
10948
fi
 
10949
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
10950
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
10951
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 
10952
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
10953
else
 
10954
 
 
10955
    lt_cv_dlopen="dyld"
 
10956
    lt_cv_dlopen_libs=
 
10957
    lt_cv_dlopen_self=yes
 
10958
 
 
10959
fi
 
10960
 
 
10961
    ;;
 
10962
 
 
10963
  *)
 
10964
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
10965
if test "x$ac_cv_func_shl_load" = xyes; then :
 
10966
  lt_cv_dlopen="shl_load"
 
10967
else
 
10968
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
 
10969
$as_echo_n "checking for shl_load in -ldld... " >&6; }
 
10970
if ${ac_cv_lib_dld_shl_load+:} false; then :
 
10971
  $as_echo_n "(cached) " >&6
 
10972
else
 
10973
  ac_check_lib_save_LIBS=$LIBS
 
10974
LIBS="-ldld  $LIBS"
 
10975
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10976
/* end confdefs.h.  */
 
10977
 
 
10978
/* Override any GCC internal prototype to avoid an error.
 
10979
   Use char because int might match the return type of a GCC
 
10980
   builtin and then its argument prototype would still apply.  */
 
10981
#ifdef __cplusplus
 
10982
extern "C"
 
10983
#endif
 
10984
char shl_load ();
 
10985
int
 
10986
main ()
 
10987
{
 
10988
return shl_load ();
 
10989
  ;
 
10990
  return 0;
 
10991
}
 
10992
_ACEOF
 
10993
if ac_fn_c_try_link "$LINENO"; then :
 
10994
  ac_cv_lib_dld_shl_load=yes
 
10995
else
 
10996
  ac_cv_lib_dld_shl_load=no
 
10997
fi
 
10998
rm -f core conftest.err conftest.$ac_objext \
 
10999
    conftest$ac_exeext conftest.$ac_ext
 
11000
LIBS=$ac_check_lib_save_LIBS
 
11001
fi
 
11002
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
 
11003
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
11004
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
 
11005
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
 
11006
else
 
11007
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
11008
if test "x$ac_cv_func_dlopen" = xyes; then :
 
11009
  lt_cv_dlopen="dlopen"
 
11010
else
 
11011
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
11012
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
11013
if ${ac_cv_lib_dl_dlopen+:} false; then :
 
11014
  $as_echo_n "(cached) " >&6
 
11015
else
 
11016
  ac_check_lib_save_LIBS=$LIBS
 
11017
LIBS="-ldl  $LIBS"
 
11018
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11019
/* end confdefs.h.  */
 
11020
 
 
11021
/* Override any GCC internal prototype to avoid an error.
 
11022
   Use char because int might match the return type of a GCC
 
11023
   builtin and then its argument prototype would still apply.  */
 
11024
#ifdef __cplusplus
 
11025
extern "C"
 
11026
#endif
 
11027
char dlopen ();
 
11028
int
 
11029
main ()
 
11030
{
 
11031
return dlopen ();
 
11032
  ;
 
11033
  return 0;
 
11034
}
 
11035
_ACEOF
 
11036
if ac_fn_c_try_link "$LINENO"; then :
 
11037
  ac_cv_lib_dl_dlopen=yes
 
11038
else
 
11039
  ac_cv_lib_dl_dlopen=no
 
11040
fi
 
11041
rm -f core conftest.err conftest.$ac_objext \
 
11042
    conftest$ac_exeext conftest.$ac_ext
 
11043
LIBS=$ac_check_lib_save_LIBS
 
11044
fi
 
11045
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
11046
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
11047
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 
11048
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
11049
else
 
11050
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
 
11051
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
 
11052
if ${ac_cv_lib_svld_dlopen+:} false; then :
 
11053
  $as_echo_n "(cached) " >&6
 
11054
else
 
11055
  ac_check_lib_save_LIBS=$LIBS
 
11056
LIBS="-lsvld  $LIBS"
 
11057
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11058
/* end confdefs.h.  */
 
11059
 
 
11060
/* Override any GCC internal prototype to avoid an error.
 
11061
   Use char because int might match the return type of a GCC
 
11062
   builtin and then its argument prototype would still apply.  */
 
11063
#ifdef __cplusplus
 
11064
extern "C"
 
11065
#endif
 
11066
char dlopen ();
 
11067
int
 
11068
main ()
 
11069
{
 
11070
return dlopen ();
 
11071
  ;
 
11072
  return 0;
 
11073
}
 
11074
_ACEOF
 
11075
if ac_fn_c_try_link "$LINENO"; then :
 
11076
  ac_cv_lib_svld_dlopen=yes
 
11077
else
 
11078
  ac_cv_lib_svld_dlopen=no
 
11079
fi
 
11080
rm -f core conftest.err conftest.$ac_objext \
 
11081
    conftest$ac_exeext conftest.$ac_ext
 
11082
LIBS=$ac_check_lib_save_LIBS
 
11083
fi
 
11084
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
 
11085
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
11086
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
 
11087
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 
11088
else
 
11089
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
 
11090
$as_echo_n "checking for dld_link in -ldld... " >&6; }
 
11091
if ${ac_cv_lib_dld_dld_link+:} false; then :
 
11092
  $as_echo_n "(cached) " >&6
 
11093
else
 
11094
  ac_check_lib_save_LIBS=$LIBS
 
11095
LIBS="-ldld  $LIBS"
 
11096
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11097
/* end confdefs.h.  */
 
11098
 
 
11099
/* Override any GCC internal prototype to avoid an error.
 
11100
   Use char because int might match the return type of a GCC
 
11101
   builtin and then its argument prototype would still apply.  */
 
11102
#ifdef __cplusplus
 
11103
extern "C"
 
11104
#endif
 
11105
char dld_link ();
 
11106
int
 
11107
main ()
 
11108
{
 
11109
return dld_link ();
 
11110
  ;
 
11111
  return 0;
 
11112
}
 
11113
_ACEOF
 
11114
if ac_fn_c_try_link "$LINENO"; then :
 
11115
  ac_cv_lib_dld_dld_link=yes
 
11116
else
 
11117
  ac_cv_lib_dld_dld_link=no
 
11118
fi
 
11119
rm -f core conftest.err conftest.$ac_objext \
 
11120
    conftest$ac_exeext conftest.$ac_ext
 
11121
LIBS=$ac_check_lib_save_LIBS
 
11122
fi
 
11123
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
 
11124
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
11125
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
 
11126
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
 
11127
fi
 
11128
 
 
11129
 
 
11130
fi
 
11131
 
 
11132
 
 
11133
fi
 
11134
 
 
11135
 
 
11136
fi
 
11137
 
 
11138
 
 
11139
fi
 
11140
 
 
11141
 
 
11142
fi
 
11143
 
 
11144
    ;;
 
11145
  esac
 
11146
 
 
11147
  if test "x$lt_cv_dlopen" != xno; then
 
11148
    enable_dlopen=yes
 
11149
  else
 
11150
    enable_dlopen=no
 
11151
  fi
 
11152
 
 
11153
  case $lt_cv_dlopen in
 
11154
  dlopen)
 
11155
    save_CPPFLAGS="$CPPFLAGS"
 
11156
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 
11157
 
 
11158
    save_LDFLAGS="$LDFLAGS"
 
11159
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
11160
 
 
11161
    save_LIBS="$LIBS"
 
11162
    LIBS="$lt_cv_dlopen_libs $LIBS"
 
11163
 
 
11164
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
 
11165
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
 
11166
if ${lt_cv_dlopen_self+:} false; then :
 
11167
  $as_echo_n "(cached) " >&6
 
11168
else
 
11169
          if test "$cross_compiling" = yes; then :
 
11170
  lt_cv_dlopen_self=cross
 
11171
else
 
11172
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
11173
  lt_status=$lt_dlunknown
 
11174
  cat > conftest.$ac_ext <<_LT_EOF
 
11175
#line $LINENO "configure"
 
11176
#include "confdefs.h"
 
11177
 
 
11178
#if HAVE_DLFCN_H
 
11179
#include <dlfcn.h>
 
11180
#endif
 
11181
 
 
11182
#include <stdio.h>
 
11183
 
 
11184
#ifdef RTLD_GLOBAL
 
11185
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
11186
#else
 
11187
#  ifdef DL_GLOBAL
 
11188
#    define LT_DLGLOBAL         DL_GLOBAL
 
11189
#  else
 
11190
#    define LT_DLGLOBAL         0
 
11191
#  endif
 
11192
#endif
 
11193
 
 
11194
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
11195
   find out it does not work in some platform. */
 
11196
#ifndef LT_DLLAZY_OR_NOW
 
11197
#  ifdef RTLD_LAZY
 
11198
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
11199
#  else
 
11200
#    ifdef DL_LAZY
 
11201
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
11202
#    else
 
11203
#      ifdef RTLD_NOW
 
11204
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
11205
#      else
 
11206
#        ifdef DL_NOW
 
11207
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
11208
#        else
 
11209
#          define LT_DLLAZY_OR_NOW      0
 
11210
#        endif
 
11211
#      endif
 
11212
#    endif
 
11213
#  endif
 
11214
#endif
 
11215
 
 
11216
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11217
   correspondingly for the symbols needed.  */
 
11218
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11219
int fnord () __attribute__((visibility("default")));
 
11220
#endif
 
11221
 
 
11222
int fnord () { return 42; }
 
11223
int main ()
 
11224
{
 
11225
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
11226
  int status = $lt_dlunknown;
 
11227
 
 
11228
  if (self)
 
11229
    {
 
11230
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
11231
      else
 
11232
        {
 
11233
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11234
          else puts (dlerror ());
 
11235
        }
 
11236
      /* dlclose (self); */
 
11237
    }
 
11238
  else
 
11239
    puts (dlerror ());
 
11240
 
 
11241
  return status;
 
11242
}
 
11243
_LT_EOF
 
11244
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
11245
  (eval $ac_link) 2>&5
 
11246
  ac_status=$?
 
11247
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11248
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
11249
    (./conftest; exit; ) >&5 2>/dev/null
 
11250
    lt_status=$?
 
11251
    case x$lt_status in
 
11252
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
 
11253
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
 
11254
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
 
11255
    esac
 
11256
  else :
 
11257
    # compilation failed
 
11258
    lt_cv_dlopen_self=no
 
11259
  fi
 
11260
fi
 
11261
rm -fr conftest*
 
11262
 
 
11263
 
 
11264
fi
 
11265
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
 
11266
$as_echo "$lt_cv_dlopen_self" >&6; }
 
11267
 
 
11268
    if test "x$lt_cv_dlopen_self" = xyes; then
 
11269
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 
11270
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
 
11271
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
 
11272
if ${lt_cv_dlopen_self_static+:} false; then :
 
11273
  $as_echo_n "(cached) " >&6
 
11274
else
 
11275
          if test "$cross_compiling" = yes; then :
 
11276
  lt_cv_dlopen_self_static=cross
 
11277
else
 
11278
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
11279
  lt_status=$lt_dlunknown
 
11280
  cat > conftest.$ac_ext <<_LT_EOF
 
11281
#line $LINENO "configure"
 
11282
#include "confdefs.h"
 
11283
 
 
11284
#if HAVE_DLFCN_H
 
11285
#include <dlfcn.h>
 
11286
#endif
 
11287
 
 
11288
#include <stdio.h>
 
11289
 
 
11290
#ifdef RTLD_GLOBAL
 
11291
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
11292
#else
 
11293
#  ifdef DL_GLOBAL
 
11294
#    define LT_DLGLOBAL         DL_GLOBAL
 
11295
#  else
 
11296
#    define LT_DLGLOBAL         0
 
11297
#  endif
 
11298
#endif
 
11299
 
 
11300
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
11301
   find out it does not work in some platform. */
 
11302
#ifndef LT_DLLAZY_OR_NOW
 
11303
#  ifdef RTLD_LAZY
 
11304
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
11305
#  else
 
11306
#    ifdef DL_LAZY
 
11307
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
11308
#    else
 
11309
#      ifdef RTLD_NOW
 
11310
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
11311
#      else
 
11312
#        ifdef DL_NOW
 
11313
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
11314
#        else
 
11315
#          define LT_DLLAZY_OR_NOW      0
 
11316
#        endif
 
11317
#      endif
 
11318
#    endif
 
11319
#  endif
 
11320
#endif
 
11321
 
 
11322
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11323
   correspondingly for the symbols needed.  */
 
11324
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11325
int fnord () __attribute__((visibility("default")));
 
11326
#endif
 
11327
 
 
11328
int fnord () { return 42; }
 
11329
int main ()
 
11330
{
 
11331
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
11332
  int status = $lt_dlunknown;
 
11333
 
 
11334
  if (self)
 
11335
    {
 
11336
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
11337
      else
 
11338
        {
 
11339
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11340
          else puts (dlerror ());
 
11341
        }
 
11342
      /* dlclose (self); */
 
11343
    }
 
11344
  else
 
11345
    puts (dlerror ());
 
11346
 
 
11347
  return status;
 
11348
}
 
11349
_LT_EOF
 
11350
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
11351
  (eval $ac_link) 2>&5
 
11352
  ac_status=$?
 
11353
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11354
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
11355
    (./conftest; exit; ) >&5 2>/dev/null
 
11356
    lt_status=$?
 
11357
    case x$lt_status in
 
11358
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
 
11359
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
 
11360
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
 
11361
    esac
 
11362
  else :
 
11363
    # compilation failed
 
11364
    lt_cv_dlopen_self_static=no
 
11365
  fi
 
11366
fi
 
11367
rm -fr conftest*
 
11368
 
 
11369
 
 
11370
fi
 
11371
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
 
11372
$as_echo "$lt_cv_dlopen_self_static" >&6; }
 
11373
    fi
 
11374
 
 
11375
    CPPFLAGS="$save_CPPFLAGS"
 
11376
    LDFLAGS="$save_LDFLAGS"
 
11377
    LIBS="$save_LIBS"
 
11378
    ;;
 
11379
  esac
 
11380
 
 
11381
  case $lt_cv_dlopen_self in
 
11382
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 
11383
  *) enable_dlopen_self=unknown ;;
 
11384
  esac
 
11385
 
 
11386
  case $lt_cv_dlopen_self_static in
 
11387
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 
11388
  *) enable_dlopen_self_static=unknown ;;
 
11389
  esac
 
11390
fi
 
11391
 
 
11392
 
 
11393
 
 
11394
 
 
11395
 
 
11396
 
 
11397
 
 
11398
 
 
11399
 
 
11400
 
 
11401
 
 
11402
 
 
11403
 
 
11404
 
 
11405
 
 
11406
 
 
11407
 
 
11408
striplib=
 
11409
old_striplib=
 
11410
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
 
11411
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
11412
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
11413
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
11414
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
11415
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11416
$as_echo "yes" >&6; }
 
11417
else
 
11418
# FIXME - insert some real tests, host_os isn't really good enough
 
11419
  case $host_os in
 
11420
  darwin*)
 
11421
    if test -n "$STRIP" ; then
 
11422
      striplib="$STRIP -x"
 
11423
      old_striplib="$STRIP -S"
 
11424
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11425
$as_echo "yes" >&6; }
 
11426
    else
 
11427
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11428
$as_echo "no" >&6; }
 
11429
    fi
 
11430
    ;;
 
11431
  *)
 
11432
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11433
$as_echo "no" >&6; }
 
11434
    ;;
 
11435
  esac
 
11436
fi
 
11437
 
 
11438
 
 
11439
 
 
11440
 
 
11441
 
 
11442
 
 
11443
 
 
11444
 
 
11445
 
 
11446
 
 
11447
 
 
11448
 
 
11449
  # Report which library types will actually be built
 
11450
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
 
11451
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
11452
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
 
11453
$as_echo "$can_build_shared" >&6; }
 
11454
 
 
11455
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
 
11456
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
11457
  test "$can_build_shared" = "no" && enable_shared=no
 
11458
 
 
11459
  # On AIX, shared libraries and static libraries use the same namespace, and
 
11460
  # are all built from PIC.
 
11461
  case $host_os in
 
11462
  aix3*)
 
11463
    test "$enable_shared" = yes && enable_static=no
 
11464
    if test -n "$RANLIB"; then
 
11465
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
11466
      postinstall_cmds='$RANLIB $lib'
 
11467
    fi
 
11468
    ;;
 
11469
 
 
11470
  aix[4-9]*)
 
11471
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
11472
      test "$enable_shared" = yes && enable_static=no
 
11473
    fi
 
11474
    ;;
 
11475
  esac
 
11476
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
 
11477
$as_echo "$enable_shared" >&6; }
 
11478
 
 
11479
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
 
11480
$as_echo_n "checking whether to build static libraries... " >&6; }
 
11481
  # Make sure either enable_shared or enable_static is yes.
 
11482
  test "$enable_shared" = yes || enable_static=yes
 
11483
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
 
11484
$as_echo "$enable_static" >&6; }
 
11485
 
 
11486
 
 
11487
 
 
11488
 
 
11489
fi
 
11490
ac_ext=c
 
11491
ac_cpp='$CPP $CPPFLAGS'
 
11492
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
11493
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
11494
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
11495
 
 
11496
CC="$lt_save_CC"
 
11497
 
 
11498
 
 
11499
 
 
11500
 
 
11501
 
 
11502
 
 
11503
 
 
11504
 
 
11505
 
 
11506
 
 
11507
 
 
11508
 
 
11509
 
 
11510
 
 
11511
 
 
11512
        ac_config_commands="$ac_config_commands libtool"
 
11513
 
 
11514
 
 
11515
 
 
11516
 
 
11517
# Only expand once:
 
11518
 
 
11519
 
 
11520
 
 
11521
ac_ext=c
 
11522
ac_cpp='$CPP $CPPFLAGS'
 
11523
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
11524
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
11525
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
11526
if test -n "$ac_tool_prefix"; then
 
11527
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
11528
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
11529
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11530
$as_echo_n "checking for $ac_word... " >&6; }
 
11531
if ${ac_cv_prog_CC+:} false; then :
 
11532
  $as_echo_n "(cached) " >&6
 
11533
else
 
11534
  if test -n "$CC"; then
 
11535
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
11536
else
 
11537
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11538
for as_dir in $PATH
 
11539
do
 
11540
  IFS=$as_save_IFS
 
11541
  test -z "$as_dir" && as_dir=.
 
11542
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11543
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
11544
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
11545
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11546
    break 2
 
11547
  fi
 
11548
done
 
11549
  done
 
11550
IFS=$as_save_IFS
 
11551
 
 
11552
fi
 
11553
fi
 
11554
CC=$ac_cv_prog_CC
 
11555
if test -n "$CC"; then
 
11556
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
11557
$as_echo "$CC" >&6; }
 
11558
else
 
11559
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11560
$as_echo "no" >&6; }
 
11561
fi
 
11562
 
 
11563
 
 
11564
fi
 
11565
if test -z "$ac_cv_prog_CC"; then
 
11566
  ac_ct_CC=$CC
 
11567
  # Extract the first word of "gcc", so it can be a program name with args.
 
11568
set dummy gcc; ac_word=$2
 
11569
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11570
$as_echo_n "checking for $ac_word... " >&6; }
 
11571
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
11572
  $as_echo_n "(cached) " >&6
 
11573
else
 
11574
  if test -n "$ac_ct_CC"; then
 
11575
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
11576
else
 
11577
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11578
for as_dir in $PATH
 
11579
do
 
11580
  IFS=$as_save_IFS
 
11581
  test -z "$as_dir" && as_dir=.
 
11582
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11583
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
11584
    ac_cv_prog_ac_ct_CC="gcc"
 
11585
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11586
    break 2
 
11587
  fi
 
11588
done
 
11589
  done
 
11590
IFS=$as_save_IFS
 
11591
 
 
11592
fi
 
11593
fi
 
11594
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
11595
if test -n "$ac_ct_CC"; then
 
11596
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
11597
$as_echo "$ac_ct_CC" >&6; }
 
11598
else
 
11599
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11600
$as_echo "no" >&6; }
 
11601
fi
 
11602
 
 
11603
  if test "x$ac_ct_CC" = x; then
 
11604
    CC=""
 
11605
  else
 
11606
    case $cross_compiling:$ac_tool_warned in
 
11607
yes:)
 
11608
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
11609
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
11610
ac_tool_warned=yes ;;
 
11611
esac
 
11612
    CC=$ac_ct_CC
 
11613
  fi
 
11614
else
 
11615
  CC="$ac_cv_prog_CC"
 
11616
fi
 
11617
 
 
11618
if test -z "$CC"; then
 
11619
          if test -n "$ac_tool_prefix"; then
 
11620
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
11621
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
11622
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11623
$as_echo_n "checking for $ac_word... " >&6; }
 
11624
if ${ac_cv_prog_CC+:} false; then :
 
11625
  $as_echo_n "(cached) " >&6
 
11626
else
 
11627
  if test -n "$CC"; then
 
11628
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
11629
else
 
11630
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11631
for as_dir in $PATH
 
11632
do
 
11633
  IFS=$as_save_IFS
 
11634
  test -z "$as_dir" && as_dir=.
 
11635
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11636
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
11637
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
11638
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11639
    break 2
 
11640
  fi
 
11641
done
 
11642
  done
 
11643
IFS=$as_save_IFS
 
11644
 
 
11645
fi
 
11646
fi
 
11647
CC=$ac_cv_prog_CC
 
11648
if test -n "$CC"; then
 
11649
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
11650
$as_echo "$CC" >&6; }
 
11651
else
 
11652
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11653
$as_echo "no" >&6; }
 
11654
fi
 
11655
 
 
11656
 
 
11657
  fi
 
11658
fi
 
11659
if test -z "$CC"; then
 
11660
  # Extract the first word of "cc", so it can be a program name with args.
 
11661
set dummy cc; ac_word=$2
 
11662
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11663
$as_echo_n "checking for $ac_word... " >&6; }
 
11664
if ${ac_cv_prog_CC+:} false; then :
 
11665
  $as_echo_n "(cached) " >&6
 
11666
else
 
11667
  if test -n "$CC"; then
 
11668
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
11669
else
 
11670
  ac_prog_rejected=no
 
11671
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11672
for as_dir in $PATH
 
11673
do
 
11674
  IFS=$as_save_IFS
 
11675
  test -z "$as_dir" && as_dir=.
 
11676
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11677
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
11678
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
11679
       ac_prog_rejected=yes
 
11680
       continue
 
11681
     fi
 
11682
    ac_cv_prog_CC="cc"
 
11683
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11684
    break 2
 
11685
  fi
 
11686
done
 
11687
  done
 
11688
IFS=$as_save_IFS
 
11689
 
 
11690
if test $ac_prog_rejected = yes; then
 
11691
  # We found a bogon in the path, so make sure we never use it.
 
11692
  set dummy $ac_cv_prog_CC
 
11693
  shift
 
11694
  if test $# != 0; then
 
11695
    # We chose a different compiler from the bogus one.
 
11696
    # However, it has the same basename, so the bogon will be chosen
 
11697
    # first if we set CC to just the basename; use the full file name.
 
11698
    shift
 
11699
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
11700
  fi
 
11701
fi
 
11702
fi
 
11703
fi
 
11704
CC=$ac_cv_prog_CC
 
11705
if test -n "$CC"; then
 
11706
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
11707
$as_echo "$CC" >&6; }
 
11708
else
 
11709
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11710
$as_echo "no" >&6; }
 
11711
fi
 
11712
 
 
11713
 
 
11714
fi
 
11715
if test -z "$CC"; then
 
11716
  if test -n "$ac_tool_prefix"; then
 
11717
  for ac_prog in cl.exe
 
11718
  do
 
11719
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
11720
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
11721
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11722
$as_echo_n "checking for $ac_word... " >&6; }
 
11723
if ${ac_cv_prog_CC+:} false; then :
 
11724
  $as_echo_n "(cached) " >&6
 
11725
else
 
11726
  if test -n "$CC"; then
 
11727
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
11728
else
 
11729
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11730
for as_dir in $PATH
 
11731
do
 
11732
  IFS=$as_save_IFS
 
11733
  test -z "$as_dir" && as_dir=.
 
11734
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11735
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
11736
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
11737
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11738
    break 2
 
11739
  fi
 
11740
done
 
11741
  done
 
11742
IFS=$as_save_IFS
 
11743
 
 
11744
fi
 
11745
fi
 
11746
CC=$ac_cv_prog_CC
 
11747
if test -n "$CC"; then
 
11748
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
11749
$as_echo "$CC" >&6; }
 
11750
else
 
11751
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11752
$as_echo "no" >&6; }
 
11753
fi
 
11754
 
 
11755
 
 
11756
    test -n "$CC" && break
 
11757
  done
 
11758
fi
 
11759
if test -z "$CC"; then
 
11760
  ac_ct_CC=$CC
 
11761
  for ac_prog in cl.exe
 
11762
do
 
11763
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
11764
set dummy $ac_prog; ac_word=$2
 
11765
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11766
$as_echo_n "checking for $ac_word... " >&6; }
 
11767
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
11768
  $as_echo_n "(cached) " >&6
 
11769
else
 
11770
  if test -n "$ac_ct_CC"; then
 
11771
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
11772
else
 
11773
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11774
for as_dir in $PATH
 
11775
do
 
11776
  IFS=$as_save_IFS
 
11777
  test -z "$as_dir" && as_dir=.
 
11778
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11779
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
11780
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
11781
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11782
    break 2
 
11783
  fi
 
11784
done
 
11785
  done
 
11786
IFS=$as_save_IFS
 
11787
 
 
11788
fi
 
11789
fi
 
11790
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
11791
if test -n "$ac_ct_CC"; then
 
11792
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
11793
$as_echo "$ac_ct_CC" >&6; }
 
11794
else
 
11795
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11796
$as_echo "no" >&6; }
 
11797
fi
 
11798
 
 
11799
 
 
11800
  test -n "$ac_ct_CC" && break
 
11801
done
 
11802
 
 
11803
  if test "x$ac_ct_CC" = x; then
 
11804
    CC=""
 
11805
  else
 
11806
    case $cross_compiling:$ac_tool_warned in
 
11807
yes:)
 
11808
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
11809
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
11810
ac_tool_warned=yes ;;
 
11811
esac
 
11812
    CC=$ac_ct_CC
 
11813
  fi
 
11814
fi
 
11815
 
 
11816
fi
 
11817
 
 
11818
 
 
11819
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
11820
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
11821
as_fn_error $? "no acceptable C compiler found in \$PATH
 
11822
See \`config.log' for more details" "$LINENO" 5; }
 
11823
 
 
11824
# Provide some information about the compiler.
 
11825
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
11826
set X $ac_compile
 
11827
ac_compiler=$2
 
11828
for ac_option in --version -v -V -qversion; do
 
11829
  { { ac_try="$ac_compiler $ac_option >&5"
 
11830
case "(($ac_try" in
 
11831
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11832
  *) ac_try_echo=$ac_try;;
 
11833
esac
 
11834
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
11835
$as_echo "$ac_try_echo"; } >&5
 
11836
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
11837
  ac_status=$?
 
11838
  if test -s conftest.err; then
 
11839
    sed '10a\
 
11840
... rest of stderr output deleted ...
 
11841
         10q' conftest.err >conftest.er1
 
11842
    cat conftest.er1 >&5
 
11843
  fi
 
11844
  rm -f conftest.er1 conftest.err
 
11845
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11846
  test $ac_status = 0; }
 
11847
done
 
11848
 
 
11849
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
11850
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
11851
if ${ac_cv_c_compiler_gnu+:} false; then :
 
11852
  $as_echo_n "(cached) " >&6
 
11853
else
 
11854
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11855
/* end confdefs.h.  */
 
11856
 
 
11857
int
 
11858
main ()
 
11859
{
 
11860
#ifndef __GNUC__
 
11861
       choke me
 
11862
#endif
 
11863
 
 
11864
  ;
 
11865
  return 0;
 
11866
}
 
11867
_ACEOF
 
11868
if ac_fn_c_try_compile "$LINENO"; then :
 
11869
  ac_compiler_gnu=yes
 
11870
else
 
11871
  ac_compiler_gnu=no
 
11872
fi
 
11873
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
11874
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
11875
 
 
11876
fi
 
11877
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
11878
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
11879
if test $ac_compiler_gnu = yes; then
 
11880
  GCC=yes
 
11881
else
 
11882
  GCC=
 
11883
fi
 
11884
ac_test_CFLAGS=${CFLAGS+set}
 
11885
ac_save_CFLAGS=$CFLAGS
 
11886
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
11887
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
11888
if ${ac_cv_prog_cc_g+:} false; then :
 
11889
  $as_echo_n "(cached) " >&6
 
11890
else
 
11891
  ac_save_c_werror_flag=$ac_c_werror_flag
 
11892
   ac_c_werror_flag=yes
 
11893
   ac_cv_prog_cc_g=no
 
11894
   CFLAGS="-g"
 
11895
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11896
/* end confdefs.h.  */
 
11897
 
 
11898
int
 
11899
main ()
 
11900
{
 
11901
 
 
11902
  ;
 
11903
  return 0;
 
11904
}
 
11905
_ACEOF
 
11906
if ac_fn_c_try_compile "$LINENO"; then :
 
11907
  ac_cv_prog_cc_g=yes
 
11908
else
 
11909
  CFLAGS=""
 
11910
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11911
/* end confdefs.h.  */
 
11912
 
 
11913
int
 
11914
main ()
 
11915
{
 
11916
 
 
11917
  ;
 
11918
  return 0;
 
11919
}
 
11920
_ACEOF
 
11921
if ac_fn_c_try_compile "$LINENO"; then :
 
11922
 
 
11923
else
 
11924
  ac_c_werror_flag=$ac_save_c_werror_flag
 
11925
         CFLAGS="-g"
 
11926
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11927
/* end confdefs.h.  */
 
11928
 
 
11929
int
 
11930
main ()
 
11931
{
 
11932
 
 
11933
  ;
 
11934
  return 0;
 
11935
}
 
11936
_ACEOF
 
11937
if ac_fn_c_try_compile "$LINENO"; then :
 
11938
  ac_cv_prog_cc_g=yes
 
11939
fi
 
11940
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
11941
fi
 
11942
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
11943
fi
 
11944
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
11945
   ac_c_werror_flag=$ac_save_c_werror_flag
 
11946
fi
 
11947
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
11948
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
11949
if test "$ac_test_CFLAGS" = set; then
 
11950
  CFLAGS=$ac_save_CFLAGS
 
11951
elif test $ac_cv_prog_cc_g = yes; then
 
11952
  if test "$GCC" = yes; then
 
11953
    CFLAGS="-g -O2"
 
11954
  else
 
11955
    CFLAGS="-g"
 
11956
  fi
 
11957
else
 
11958
  if test "$GCC" = yes; then
 
11959
    CFLAGS="-O2"
 
11960
  else
 
11961
    CFLAGS=
 
11962
  fi
 
11963
fi
 
11964
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
11965
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
11966
if ${ac_cv_prog_cc_c89+:} false; then :
 
11967
  $as_echo_n "(cached) " >&6
 
11968
else
 
11969
  ac_cv_prog_cc_c89=no
 
11970
ac_save_CC=$CC
 
11971
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11972
/* end confdefs.h.  */
 
11973
#include <stdarg.h>
 
11974
#include <stdio.h>
 
11975
struct stat;
 
11976
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
11977
struct buf { int x; };
 
11978
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
11979
static char *e (p, i)
 
11980
     char **p;
 
11981
     int i;
 
11982
{
 
11983
  return p[i];
 
11984
}
 
11985
static char *f (char * (*g) (char **, int), char **p, ...)
 
11986
{
 
11987
  char *s;
 
11988
  va_list v;
 
11989
  va_start (v,p);
 
11990
  s = g (p, va_arg (v,int));
 
11991
  va_end (v);
 
11992
  return s;
 
11993
}
 
11994
 
 
11995
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
11996
   function prototypes and stuff, but not '\xHH' hex character constants.
 
11997
   These don't provoke an error unfortunately, instead are silently treated
 
11998
   as 'x'.  The following induces an error, until -std is added to get
 
11999
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
12000
   array size at least.  It's necessary to write '\x00'==0 to get something
 
12001
   that's true only with -std.  */
 
12002
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
12003
 
 
12004
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
12005
   inside strings and character constants.  */
 
12006
#define FOO(x) 'x'
 
12007
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
12008
 
 
12009
int test (int i, double x);
 
12010
struct s1 {int (*f) (int a);};
 
12011
struct s2 {int (*f) (double a);};
 
12012
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
12013
int argc;
 
12014
char **argv;
 
12015
int
 
12016
main ()
 
12017
{
 
12018
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
12019
  ;
 
12020
  return 0;
 
12021
}
 
12022
_ACEOF
 
12023
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
12024
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
12025
do
 
12026
  CC="$ac_save_CC $ac_arg"
 
12027
  if ac_fn_c_try_compile "$LINENO"; then :
 
12028
  ac_cv_prog_cc_c89=$ac_arg
 
12029
fi
 
12030
rm -f core conftest.err conftest.$ac_objext
 
12031
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
12032
done
 
12033
rm -f conftest.$ac_ext
 
12034
CC=$ac_save_CC
 
12035
 
 
12036
fi
 
12037
# AC_CACHE_VAL
 
12038
case "x$ac_cv_prog_cc_c89" in
 
12039
  x)
 
12040
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
12041
$as_echo "none needed" >&6; } ;;
 
12042
  xno)
 
12043
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
12044
$as_echo "unsupported" >&6; } ;;
 
12045
  *)
 
12046
    CC="$CC $ac_cv_prog_cc_c89"
 
12047
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
12048
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
12049
esac
 
12050
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
12051
 
 
12052
fi
 
12053
 
 
12054
ac_ext=c
 
12055
ac_cpp='$CPP $CPPFLAGS'
 
12056
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
12057
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
12058
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3649
12059
 
3650
12060
depcc="$CC"   am_compiler_list=
3651
12061
 
3792
12202
 
3793
12203
 
3794
12204
 
3795
 
 
3796
12205
case "$am__api_version" in
3797
12206
    1.01234)
3798
12207
        as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
3831
12240
  IFS=$as_save_IFS
3832
12241
  test -z "$as_dir" && as_dir=.
3833
12242
    for ac_exec_ext in '' $ac_executable_extensions; do
3834
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12243
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3835
12244
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
3836
12245
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3837
12246
    break 2
3871
12280
  IFS=$as_save_IFS
3872
12281
  test -z "$as_dir" && as_dir=.
3873
12282
    for ac_exec_ext in '' $ac_executable_extensions; do
3874
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12283
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3875
12284
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
3876
12285
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3877
12286
    break 2
3911
12320
  IFS=$as_save_IFS
3912
12321
  test -z "$as_dir" && as_dir=.
3913
12322
    for ac_exec_ext in '' $ac_executable_extensions; do
3914
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12323
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3915
12324
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
3916
12325
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3917
12326
    break 2
4095
12504
  IFS=$as_save_IFS
4096
12505
  test -z "$as_dir" && as_dir=.
4097
12506
    for ac_exec_ext in '' $ac_executable_extensions; do
4098
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12507
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4099
12508
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
4100
12509
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4101
12510
    break 2
4135
12544
  IFS=$as_save_IFS
4136
12545
  test -z "$as_dir" && as_dir=.
4137
12546
    for ac_exec_ext in '' $ac_executable_extensions; do
4138
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12547
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4139
12548
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
4140
12549
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4141
12550
    break 2
4175
12584
  IFS=$as_save_IFS
4176
12585
  test -z "$as_dir" && as_dir=.
4177
12586
    for ac_exec_ext in '' $ac_executable_extensions; do
4178
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12587
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4179
12588
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
4180
12589
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4181
12590
    break 2
4215
12624
  IFS=$as_save_IFS
4216
12625
  test -z "$as_dir" && as_dir=.
4217
12626
    for ac_exec_ext in '' $ac_executable_extensions; do
4218
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12627
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4219
12628
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4220
12629
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4221
12630
    break 2
4266
12675
  IFS=$as_save_IFS
4267
12676
  test -z "$as_dir" && as_dir=.
4268
12677
    for ac_exec_ext in '' $ac_executable_extensions; do
4269
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12678
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4270
12679
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
4271
12680
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4272
12681
    break 2
4357
12766
 
4358
12767
 
4359
12768
 
4360
 
ac_ext=c
4361
 
ac_cpp='$CPP $CPPFLAGS'
4362
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4363
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4364
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4365
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4366
 
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4367
 
# On Suns, sometimes $CPP names a directory.
4368
 
if test -n "$CPP" && test -d "$CPP"; then
4369
 
  CPP=
4370
 
fi
4371
 
if test -z "$CPP"; then
4372
 
  if ${ac_cv_prog_CPP+:} false; then :
4373
 
  $as_echo_n "(cached) " >&6
4374
 
else
4375
 
      # Double quotes because CPP needs to be expanded
4376
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4377
 
    do
4378
 
      ac_preproc_ok=false
4379
 
for ac_c_preproc_warn_flag in '' yes
4380
 
do
4381
 
  # Use a header file that comes with gcc, so configuring glibc
4382
 
  # with a fresh cross-compiler works.
4383
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4384
 
  # <limits.h> exists even on freestanding compilers.
4385
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4386
 
  # not just through cpp. "Syntax error" is here to catch this case.
4387
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4388
 
/* end confdefs.h.  */
4389
 
#ifdef __STDC__
4390
 
# include <limits.h>
4391
 
#else
4392
 
# include <assert.h>
4393
 
#endif
4394
 
                     Syntax error
4395
 
_ACEOF
4396
 
if ac_fn_c_try_cpp "$LINENO"; then :
4397
 
 
4398
 
else
4399
 
  # Broken: fails on valid input.
4400
 
continue
4401
 
fi
4402
 
rm -f conftest.err conftest.i conftest.$ac_ext
4403
 
 
4404
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4405
 
  # can be detected and how.
4406
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4407
 
/* end confdefs.h.  */
4408
 
#include <ac_nonexistent.h>
4409
 
_ACEOF
4410
 
if ac_fn_c_try_cpp "$LINENO"; then :
4411
 
  # Broken: success on invalid input.
4412
 
continue
4413
 
else
4414
 
  # Passes both tests.
4415
 
ac_preproc_ok=:
4416
 
break
4417
 
fi
4418
 
rm -f conftest.err conftest.i conftest.$ac_ext
4419
 
 
4420
 
done
4421
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4422
 
rm -f conftest.i conftest.err conftest.$ac_ext
4423
 
if $ac_preproc_ok; then :
4424
 
  break
4425
 
fi
4426
 
 
4427
 
    done
4428
 
    ac_cv_prog_CPP=$CPP
4429
 
 
4430
 
fi
4431
 
  CPP=$ac_cv_prog_CPP
4432
 
else
4433
 
  ac_cv_prog_CPP=$CPP
4434
 
fi
4435
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4436
 
$as_echo "$CPP" >&6; }
4437
 
ac_preproc_ok=false
4438
 
for ac_c_preproc_warn_flag in '' yes
4439
 
do
4440
 
  # Use a header file that comes with gcc, so configuring glibc
4441
 
  # with a fresh cross-compiler works.
4442
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4443
 
  # <limits.h> exists even on freestanding compilers.
4444
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4445
 
  # not just through cpp. "Syntax error" is here to catch this case.
4446
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4447
 
/* end confdefs.h.  */
4448
 
#ifdef __STDC__
4449
 
# include <limits.h>
4450
 
#else
4451
 
# include <assert.h>
4452
 
#endif
4453
 
                     Syntax error
4454
 
_ACEOF
4455
 
if ac_fn_c_try_cpp "$LINENO"; then :
4456
 
 
4457
 
else
4458
 
  # Broken: fails on valid input.
4459
 
continue
4460
 
fi
4461
 
rm -f conftest.err conftest.i conftest.$ac_ext
4462
 
 
4463
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4464
 
  # can be detected and how.
4465
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4466
 
/* end confdefs.h.  */
4467
 
#include <ac_nonexistent.h>
4468
 
_ACEOF
4469
 
if ac_fn_c_try_cpp "$LINENO"; then :
4470
 
  # Broken: success on invalid input.
4471
 
continue
4472
 
else
4473
 
  # Passes both tests.
4474
 
ac_preproc_ok=:
4475
 
break
4476
 
fi
4477
 
rm -f conftest.err conftest.i conftest.$ac_ext
4478
 
 
4479
 
done
4480
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4481
 
rm -f conftest.i conftest.err conftest.$ac_ext
4482
 
if $ac_preproc_ok; then :
4483
 
 
4484
 
else
4485
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4486
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4487
 
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4488
 
See \`config.log' for more details" "$LINENO" 5; }
4489
 
fi
4490
 
 
4491
 
ac_ext=c
4492
 
ac_cpp='$CPP $CPPFLAGS'
4493
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4494
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4495
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4496
 
 
4497
 
 
4498
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4499
 
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4500
 
if ${ac_cv_path_GREP+:} false; then :
4501
 
  $as_echo_n "(cached) " >&6
4502
 
else
4503
 
  if test -z "$GREP"; then
4504
 
  ac_path_GREP_found=false
4505
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4506
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4507
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4508
 
do
4509
 
  IFS=$as_save_IFS
4510
 
  test -z "$as_dir" && as_dir=.
4511
 
    for ac_prog in grep ggrep; do
4512
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4513
 
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4514
 
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4515
 
# Check for GNU ac_path_GREP and select it if it is found.
4516
 
  # Check for GNU $ac_path_GREP
4517
 
case `"$ac_path_GREP" --version 2>&1` in
4518
 
*GNU*)
4519
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4520
 
*)
4521
 
  ac_count=0
4522
 
  $as_echo_n 0123456789 >"conftest.in"
4523
 
  while :
4524
 
  do
4525
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4526
 
    mv "conftest.tmp" "conftest.in"
4527
 
    cp "conftest.in" "conftest.nl"
4528
 
    $as_echo 'GREP' >> "conftest.nl"
4529
 
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4530
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4531
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4532
 
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4533
 
      # Best one so far, save it but keep looking for a better one
4534
 
      ac_cv_path_GREP="$ac_path_GREP"
4535
 
      ac_path_GREP_max=$ac_count
4536
 
    fi
4537
 
    # 10*(2^10) chars as input seems more than enough
4538
 
    test $ac_count -gt 10 && break
4539
 
  done
4540
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4541
 
esac
4542
 
 
4543
 
      $ac_path_GREP_found && break 3
4544
 
    done
4545
 
  done
4546
 
  done
4547
 
IFS=$as_save_IFS
4548
 
  if test -z "$ac_cv_path_GREP"; then
4549
 
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4550
 
  fi
4551
 
else
4552
 
  ac_cv_path_GREP=$GREP
4553
 
fi
4554
 
 
4555
 
fi
4556
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4557
 
$as_echo "$ac_cv_path_GREP" >&6; }
4558
 
 GREP="$ac_cv_path_GREP"
4559
 
 
4560
 
 
4561
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4562
 
$as_echo_n "checking for egrep... " >&6; }
4563
 
if ${ac_cv_path_EGREP+:} false; then :
4564
 
  $as_echo_n "(cached) " >&6
4565
 
else
4566
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4567
 
   then ac_cv_path_EGREP="$GREP -E"
4568
 
   else
4569
 
     if test -z "$EGREP"; then
4570
 
  ac_path_EGREP_found=false
4571
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4572
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4573
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4574
 
do
4575
 
  IFS=$as_save_IFS
4576
 
  test -z "$as_dir" && as_dir=.
4577
 
    for ac_prog in egrep; do
4578
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4579
 
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4580
 
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4581
 
# Check for GNU ac_path_EGREP and select it if it is found.
4582
 
  # Check for GNU $ac_path_EGREP
4583
 
case `"$ac_path_EGREP" --version 2>&1` in
4584
 
*GNU*)
4585
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4586
 
*)
4587
 
  ac_count=0
4588
 
  $as_echo_n 0123456789 >"conftest.in"
4589
 
  while :
4590
 
  do
4591
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4592
 
    mv "conftest.tmp" "conftest.in"
4593
 
    cp "conftest.in" "conftest.nl"
4594
 
    $as_echo 'EGREP' >> "conftest.nl"
4595
 
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4596
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4597
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4598
 
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4599
 
      # Best one so far, save it but keep looking for a better one
4600
 
      ac_cv_path_EGREP="$ac_path_EGREP"
4601
 
      ac_path_EGREP_max=$ac_count
4602
 
    fi
4603
 
    # 10*(2^10) chars as input seems more than enough
4604
 
    test $ac_count -gt 10 && break
4605
 
  done
4606
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4607
 
esac
4608
 
 
4609
 
      $ac_path_EGREP_found && break 3
4610
 
    done
4611
 
  done
4612
 
  done
4613
 
IFS=$as_save_IFS
4614
 
  if test -z "$ac_cv_path_EGREP"; then
4615
 
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4616
 
  fi
4617
 
else
4618
 
  ac_cv_path_EGREP=$EGREP
4619
 
fi
4620
 
 
4621
 
   fi
4622
 
fi
4623
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4624
 
$as_echo "$ac_cv_path_EGREP" >&6; }
4625
 
 EGREP="$ac_cv_path_EGREP"
4626
 
 
4627
 
 
4628
12769
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4629
12770
$as_echo_n "checking for ANSI C header files... " >&6; }
4630
12771
if ${ac_cv_header_stdc+:} false; then :
4806
12947
fi
4807
12948
done
4808
12949
 
4809
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4810
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4811
 
                  inttypes.h stdint.h unistd.h
4812
 
do :
4813
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4814
 
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4815
 
"
4816
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4817
 
  cat >>confdefs.h <<_ACEOF
4818
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4819
 
_ACEOF
4820
 
 
4821
 
fi
4822
 
 
4823
 
done
4824
 
 
4825
 
 
4826
12950
for ac_header in arpa/inet.h
4827
12951
do :
4828
12952
  ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
5136
13260
 
5137
13261
 
5138
13262
 
 
13263
 
5139
13264
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5140
13265
        if test -n "$ac_tool_prefix"; then
5141
13266
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5156
13281
  IFS=$as_save_IFS
5157
13282
  test -z "$as_dir" && as_dir=.
5158
13283
    for ac_exec_ext in '' $ac_executable_extensions; do
5159
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
13284
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5160
13285
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5161
13286
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5162
13287
    break 2
5199
13324
  IFS=$as_save_IFS
5200
13325
  test -z "$as_dir" && as_dir=.
5201
13326
    for ac_exec_ext in '' $ac_executable_extensions; do
5202
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
13327
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5203
13328
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5204
13329
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5205
13330
    break 2
5331
13456
 
5332
13457
 
5333
13458
 
 
13459
 
5334
13460
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5335
13461
        if test -n "$ac_tool_prefix"; then
5336
13462
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5351
13477
  IFS=$as_save_IFS
5352
13478
  test -z "$as_dir" && as_dir=.
5353
13479
    for ac_exec_ext in '' $ac_executable_extensions; do
5354
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
13480
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5355
13481
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5356
13482
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5357
13483
    break 2
5394
13520
  IFS=$as_save_IFS
5395
13521
  test -z "$as_dir" && as_dir=.
5396
13522
    for ac_exec_ext in '' $ac_executable_extensions; do
5397
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
13523
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5398
13524
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5399
13525
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5400
13526
    break 2
5523
13649
 
5524
13650
 
5525
13651
 
5526
 
    ALL_LINGUAS="ar ast ca cs da de el en_GB eo es eu fi fr gl hr hu id it ja kk ko lt lv nb nl pa pl pt_BR pt ru sk sq sv tr ug uk ur_PK ur vi zh_CN zh_TW "
 
13652
    ALL_LINGUAS="ar ast bg ca cs da de el en_AU en_GB eo es eu fi fr gl he hr hu id is it ja kk ko lt lv ms nb nl oc pa pl pt_BR pt ru sk sq sr sv th tr ug uk ur_PK ur vi zh_CN zh_TW "
5527
13653
 
5528
13654
   for ac_header in locale.h
5529
13655
do :
6022
14148
  IFS=$as_save_IFS
6023
14149
  test -z "$as_dir" && as_dir=.
6024
14150
    for ac_exec_ext in '' $ac_executable_extensions; do
6025
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14151
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6026
14152
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
6027
14153
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6028
14154
    break 2
6297
14423
                              -Wcast-align -Wformat-security \
6298
14424
                              -Winit-self -Wmissing-include-dirs -Wundef \
6299
14425
                              -Wmissing-format-attribute -Wnested-externs"
6300
 
    CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2"
 
14426
    CPPFLAGS="$CPPFLAGS"
6301
14427
 
6302
14428
    if test x`uname` = x"Linux"; then
6303
14429
      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -fstack-protector"
6498
14624
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
6499
14625
Usually this means the macro was only invoked conditionally." "$LINENO" 5
6500
14626
fi
 
14627
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
14628
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
14629
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
14630
fi
6501
14631
 
6502
14632
  ac_config_commands="$ac_config_commands po/stamp-it"
6503
14633
 
6800
14930
    # ... but there are two gotchas:
6801
14931
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6802
14932
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6803
 
    # In both cases, we have to default to `cp -p'.
 
14933
    # In both cases, we have to default to `cp -pR'.
6804
14934
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6805
 
      as_ln_s='cp -p'
 
14935
      as_ln_s='cp -pR'
6806
14936
  elif ln conf$$.file conf$$ 2>/dev/null; then
6807
14937
    as_ln_s=ln
6808
14938
  else
6809
 
    as_ln_s='cp -p'
 
14939
    as_ln_s='cp -pR'
6810
14940
  fi
6811
14941
else
6812
 
  as_ln_s='cp -p'
 
14942
  as_ln_s='cp -pR'
6813
14943
fi
6814
14944
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6815
14945
rmdir conf$$.dir 2>/dev/null
6869
14999
  as_mkdir_p=false
6870
15000
fi
6871
15001
 
6872
 
if test -x / >/dev/null 2>&1; then
6873
 
  as_test_x='test -x'
6874
 
else
6875
 
  if ls -dL / >/dev/null 2>&1; then
6876
 
    as_ls_L_option=L
6877
 
  else
6878
 
    as_ls_L_option=
6879
 
  fi
6880
 
  as_test_x='
6881
 
    eval sh -c '\''
6882
 
      if test -d "$1"; then
6883
 
        test -d "$1/.";
6884
 
      else
6885
 
        case $1 in #(
6886
 
        -*)set "./$1";;
6887
 
        esac;
6888
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
6889
 
        ???[sx]*):;;*)false;;esac;fi
6890
 
    '\'' sh
6891
 
  '
6892
 
fi
6893
 
as_executable_p=$as_test_x
 
15002
 
 
15003
# as_fn_executable_p FILE
 
15004
# -----------------------
 
15005
# Test if FILE is an executable regular file.
 
15006
as_fn_executable_p ()
 
15007
{
 
15008
  test -f "$1" && test -x "$1"
 
15009
} # as_fn_executable_p
 
15010
as_test_x='test -x'
 
15011
as_executable_p=as_fn_executable_p
6894
15012
 
6895
15013
# Sed expression to map a string onto a valid CPP name.
6896
15014
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6911
15029
# report actual input values of CONFIG_FILES etc. instead of their
6912
15030
# values after options handling.
6913
15031
ac_log="
6914
 
This file was extended by xfce4-netload-plugin $as_me 1.2.0, which was
6915
 
generated by GNU Autoconf 2.68.  Invocation command line was
 
15032
This file was extended by xfce4-netload-plugin $as_me 1.2.4, which was
 
15033
generated by GNU Autoconf 2.69.  Invocation command line was
6916
15034
 
6917
15035
  CONFIG_FILES    = $CONFIG_FILES
6918
15036
  CONFIG_HEADERS  = $CONFIG_HEADERS
6977
15095
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6978
15096
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6979
15097
ac_cs_version="\\
6980
 
xfce4-netload-plugin config.status 1.2.0
6981
 
configured by $0, generated by GNU Autoconf 2.68,
 
15098
xfce4-netload-plugin config.status 1.2.4
 
15099
configured by $0, generated by GNU Autoconf 2.69,
6982
15100
  with options \\"\$ac_cs_config\\"
6983
15101
 
6984
 
Copyright (C) 2010 Free Software Foundation, Inc.
 
15102
Copyright (C) 2012 Free Software Foundation, Inc.
6985
15103
This config.status script is free software; the Free Software Foundation
6986
15104
gives unlimited permission to copy, distribute and modify it."
6987
15105
 
7072
15190
_ACEOF
7073
15191
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7074
15192
if \$ac_cs_recheck; then
7075
 
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
15193
  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7076
15194
  shift
7077
15195
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7078
15196
  CONFIG_SHELL='$SHELL'
7099
15217
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7100
15218
 
7101
15219
 
 
15220
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
15221
# if CDPATH is set.
 
15222
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
15223
 
 
15224
sed_quote_subst='$sed_quote_subst'
 
15225
double_quote_subst='$double_quote_subst'
 
15226
delay_variable_subst='$delay_variable_subst'
 
15227
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
15228
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
15229
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
15230
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
15231
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
15232
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
15233
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
15234
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
15235
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
 
15236
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
15237
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
15238
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
15239
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
15240
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
15241
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
15242
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
15243
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
15244
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
15245
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
15246
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
15247
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
15248
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
15249
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
15250
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
15251
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
15252
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
15253
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
15254
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
15255
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
15256
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 
15257
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
 
15258
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
15259
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
15260
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
15261
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
15262
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
15263
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 
15264
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 
15265
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 
15266
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
 
15267
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
15268
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
15269
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
 
15270
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
15271
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
15272
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
15273
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
15274
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
15275
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
15276
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
15277
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
15278
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
15279
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
15280
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
15281
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
15282
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
15283
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
15284
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 
15285
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
 
15286
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
15287
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
15288
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
15289
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
15290
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
15291
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
15292
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
15293
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
15294
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
 
15295
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
15296
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
15297
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
15298
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
15299
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
15300
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
15301
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
15302
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
15303
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
15304
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
15305
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
15306
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
15307
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
15308
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
15309
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
15310
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
15311
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
15312
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
15313
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
15314
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
15315
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
15316
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
15317
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
15318
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
15319
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
15320
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
15321
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
15322
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
15323
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
15324
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
15325
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
15326
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
15327
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
15328
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
15329
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
15330
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
15331
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
 
15332
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
15333
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
15334
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
15335
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
15336
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
15337
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
15338
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
15339
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
15340
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
15341
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
15342
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
15343
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
15344
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
15345
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
15346
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
15347
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
15348
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
15349
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
15350
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
15351
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
15352
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
15353
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
15354
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
15355
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
15356
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
 
15357
 
 
15358
LTCC='$LTCC'
 
15359
LTCFLAGS='$LTCFLAGS'
 
15360
compiler='$compiler_DEFAULT'
 
15361
 
 
15362
# A function that is used when there is no print builtin or printf.
 
15363
func_fallback_echo ()
 
15364
{
 
15365
  eval 'cat <<_LTECHO_EOF
 
15366
\$1
 
15367
_LTECHO_EOF'
 
15368
}
 
15369
 
 
15370
# Quote evaled strings.
 
15371
for var in SHELL \
 
15372
ECHO \
 
15373
PATH_SEPARATOR \
 
15374
SED \
 
15375
GREP \
 
15376
EGREP \
 
15377
FGREP \
 
15378
LD \
 
15379
NM \
 
15380
LN_S \
 
15381
lt_SP2NL \
 
15382
lt_NL2SP \
 
15383
reload_flag \
 
15384
OBJDUMP \
 
15385
deplibs_check_method \
 
15386
file_magic_cmd \
 
15387
file_magic_glob \
 
15388
want_nocaseglob \
 
15389
DLLTOOL \
 
15390
sharedlib_from_linklib_cmd \
 
15391
AR \
 
15392
AR_FLAGS \
 
15393
archiver_list_spec \
 
15394
STRIP \
 
15395
RANLIB \
 
15396
CC \
 
15397
CFLAGS \
 
15398
compiler \
 
15399
lt_cv_sys_global_symbol_pipe \
 
15400
lt_cv_sys_global_symbol_to_cdecl \
 
15401
lt_cv_sys_global_symbol_to_c_name_address \
 
15402
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
15403
nm_file_list_spec \
 
15404
lt_prog_compiler_no_builtin_flag \
 
15405
lt_prog_compiler_pic \
 
15406
lt_prog_compiler_wl \
 
15407
lt_prog_compiler_static \
 
15408
lt_cv_prog_compiler_c_o \
 
15409
need_locks \
 
15410
MANIFEST_TOOL \
 
15411
DSYMUTIL \
 
15412
NMEDIT \
 
15413
LIPO \
 
15414
OTOOL \
 
15415
OTOOL64 \
 
15416
shrext_cmds \
 
15417
export_dynamic_flag_spec \
 
15418
whole_archive_flag_spec \
 
15419
compiler_needs_object \
 
15420
with_gnu_ld \
 
15421
allow_undefined_flag \
 
15422
no_undefined_flag \
 
15423
hardcode_libdir_flag_spec \
 
15424
hardcode_libdir_separator \
 
15425
exclude_expsyms \
 
15426
include_expsyms \
 
15427
file_list_spec \
 
15428
variables_saved_for_relink \
 
15429
libname_spec \
 
15430
library_names_spec \
 
15431
soname_spec \
 
15432
install_override_mode \
 
15433
finish_eval \
 
15434
old_striplib \
 
15435
striplib; do
 
15436
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 
15437
    *[\\\\\\\`\\"\\\$]*)
 
15438
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
15439
      ;;
 
15440
    *)
 
15441
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
15442
      ;;
 
15443
    esac
 
15444
done
 
15445
 
 
15446
# Double-quote double-evaled strings.
 
15447
for var in reload_cmds \
 
15448
old_postinstall_cmds \
 
15449
old_postuninstall_cmds \
 
15450
old_archive_cmds \
 
15451
extract_expsyms_cmds \
 
15452
old_archive_from_new_cmds \
 
15453
old_archive_from_expsyms_cmds \
 
15454
archive_cmds \
 
15455
archive_expsym_cmds \
 
15456
module_cmds \
 
15457
module_expsym_cmds \
 
15458
export_symbols_cmds \
 
15459
prelink_cmds \
 
15460
postlink_cmds \
 
15461
postinstall_cmds \
 
15462
postuninstall_cmds \
 
15463
finish_cmds \
 
15464
sys_lib_search_path_spec \
 
15465
sys_lib_dlsearch_path_spec; do
 
15466
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 
15467
    *[\\\\\\\`\\"\\\$]*)
 
15468
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
15469
      ;;
 
15470
    *)
 
15471
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
15472
      ;;
 
15473
    esac
 
15474
done
 
15475
 
 
15476
ac_aux_dir='$ac_aux_dir'
 
15477
xsi_shell='$xsi_shell'
 
15478
lt_shell_append='$lt_shell_append'
 
15479
 
 
15480
# See if we are running on zsh, and set the options which allow our
 
15481
# commands through without removal of \ escapes INIT.
 
15482
if test -n "\${ZSH_VERSION+set}" ; then
 
15483
   setopt NO_GLOB_SUBST
 
15484
fi
 
15485
 
 
15486
 
 
15487
    PACKAGE='$PACKAGE'
 
15488
    VERSION='$VERSION'
 
15489
    TIMESTAMP='$TIMESTAMP'
 
15490
    RM='$RM'
 
15491
    ofile='$ofile'
 
15492
 
 
15493
 
 
15494
 
 
15495
 
 
15496
 
7102
15497
_ACEOF
7103
15498
 
7104
15499
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7109
15504
  case $ac_config_target in
7110
15505
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7111
15506
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
15507
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
7112
15508
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
7113
15509
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7114
15510
    "panel-plugin/Makefile") CONFIG_FILES="$CONFIG_FILES panel-plugin/Makefile" ;;
7808
16204
  done
7809
16205
}
7810
16206
 ;;
 
16207
    "libtool":C)
 
16208
 
 
16209
    # See if we are running on zsh, and set the options which allow our
 
16210
    # commands through without removal of \ escapes.
 
16211
    if test -n "${ZSH_VERSION+set}" ; then
 
16212
      setopt NO_GLOB_SUBST
 
16213
    fi
 
16214
 
 
16215
    cfgfile="${ofile}T"
 
16216
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
16217
    $RM "$cfgfile"
 
16218
 
 
16219
    cat <<_LT_EOF >> "$cfgfile"
 
16220
#! $SHELL
 
16221
 
 
16222
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
16223
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
16224
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
16225
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
16226
#
 
16227
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
16228
#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
 
16229
#                 Foundation, Inc.
 
16230
#   Written by Gordon Matzigkeit, 1996
 
16231
#
 
16232
#   This file is part of GNU Libtool.
 
16233
#
 
16234
# GNU Libtool is free software; you can redistribute it and/or
 
16235
# modify it under the terms of the GNU General Public License as
 
16236
# published by the Free Software Foundation; either version 2 of
 
16237
# the License, or (at your option) any later version.
 
16238
#
 
16239
# As a special exception to the GNU General Public License,
 
16240
# if you distribute this file as part of a program or library that
 
16241
# is built using GNU Libtool, you may include this file under the
 
16242
# same distribution terms that you use for the rest of that program.
 
16243
#
 
16244
# GNU Libtool is distributed in the hope that it will be useful,
 
16245
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
16246
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
16247
# GNU General Public License for more details.
 
16248
#
 
16249
# You should have received a copy of the GNU General Public License
 
16250
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
16251
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
16252
# obtained by writing to the Free Software Foundation, Inc.,
 
16253
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
16254
 
 
16255
 
 
16256
# The names of the tagged configurations supported by this script.
 
16257
available_tags=""
 
16258
 
 
16259
# ### BEGIN LIBTOOL CONFIG
 
16260
 
 
16261
# Which release of libtool.m4 was used?
 
16262
macro_version=$macro_version
 
16263
macro_revision=$macro_revision
 
16264
 
 
16265
# Whether or not to build static libraries.
 
16266
build_old_libs=$enable_static
 
16267
 
 
16268
# Whether or not to build shared libraries.
 
16269
build_libtool_libs=$enable_shared
 
16270
 
 
16271
# What type of objects to build.
 
16272
pic_mode=$pic_mode
 
16273
 
 
16274
# Whether or not to optimize for fast installation.
 
16275
fast_install=$enable_fast_install
 
16276
 
 
16277
# Shell to use when invoking shell scripts.
 
16278
SHELL=$lt_SHELL
 
16279
 
 
16280
# An echo program that protects backslashes.
 
16281
ECHO=$lt_ECHO
 
16282
 
 
16283
# The PATH separator for the build system.
 
16284
PATH_SEPARATOR=$lt_PATH_SEPARATOR
 
16285
 
 
16286
# The host system.
 
16287
host_alias=$host_alias
 
16288
host=$host
 
16289
host_os=$host_os
 
16290
 
 
16291
# The build system.
 
16292
build_alias=$build_alias
 
16293
build=$build
 
16294
build_os=$build_os
 
16295
 
 
16296
# A sed program that does not truncate output.
 
16297
SED=$lt_SED
 
16298
 
 
16299
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
16300
Xsed="\$SED -e 1s/^X//"
 
16301
 
 
16302
# A grep program that handles long lines.
 
16303
GREP=$lt_GREP
 
16304
 
 
16305
# An ERE matcher.
 
16306
EGREP=$lt_EGREP
 
16307
 
 
16308
# A literal string matcher.
 
16309
FGREP=$lt_FGREP
 
16310
 
 
16311
# A BSD- or MS-compatible name lister.
 
16312
NM=$lt_NM
 
16313
 
 
16314
# Whether we need soft or hard links.
 
16315
LN_S=$lt_LN_S
 
16316
 
 
16317
# What is the maximum length of a command?
 
16318
max_cmd_len=$max_cmd_len
 
16319
 
 
16320
# Object file suffix (normally "o").
 
16321
objext=$ac_objext
 
16322
 
 
16323
# Executable file suffix (normally "").
 
16324
exeext=$exeext
 
16325
 
 
16326
# whether the shell understands "unset".
 
16327
lt_unset=$lt_unset
 
16328
 
 
16329
# turn spaces into newlines.
 
16330
SP2NL=$lt_lt_SP2NL
 
16331
 
 
16332
# turn newlines into spaces.
 
16333
NL2SP=$lt_lt_NL2SP
 
16334
 
 
16335
# convert \$build file names to \$host format.
 
16336
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
16337
 
 
16338
# convert \$build files to toolchain format.
 
16339
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
16340
 
 
16341
# An object symbol dumper.
 
16342
OBJDUMP=$lt_OBJDUMP
 
16343
 
 
16344
# Method to check whether dependent libraries are shared objects.
 
16345
deplibs_check_method=$lt_deplibs_check_method
 
16346
 
 
16347
# Command to use when deplibs_check_method = "file_magic".
 
16348
file_magic_cmd=$lt_file_magic_cmd
 
16349
 
 
16350
# How to find potential files when deplibs_check_method = "file_magic".
 
16351
file_magic_glob=$lt_file_magic_glob
 
16352
 
 
16353
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
16354
want_nocaseglob=$lt_want_nocaseglob
 
16355
 
 
16356
# DLL creation program.
 
16357
DLLTOOL=$lt_DLLTOOL
 
16358
 
 
16359
# Command to associate shared and link libraries.
 
16360
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
16361
 
 
16362
# The archiver.
 
16363
AR=$lt_AR
 
16364
 
 
16365
# Flags to create an archive.
 
16366
AR_FLAGS=$lt_AR_FLAGS
 
16367
 
 
16368
# How to feed a file listing to the archiver.
 
16369
archiver_list_spec=$lt_archiver_list_spec
 
16370
 
 
16371
# A symbol stripping program.
 
16372
STRIP=$lt_STRIP
 
16373
 
 
16374
# Commands used to install an old-style archive.
 
16375
RANLIB=$lt_RANLIB
 
16376
old_postinstall_cmds=$lt_old_postinstall_cmds
 
16377
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
16378
 
 
16379
# Whether to use a lock for old archive extraction.
 
16380
lock_old_archive_extraction=$lock_old_archive_extraction
 
16381
 
 
16382
# A C compiler.
 
16383
LTCC=$lt_CC
 
16384
 
 
16385
# LTCC compiler flags.
 
16386
LTCFLAGS=$lt_CFLAGS
 
16387
 
 
16388
# Take the output of nm and produce a listing of raw symbols and C names.
 
16389
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
16390
 
 
16391
# Transform the output of nm in a proper C declaration.
 
16392
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
16393
 
 
16394
# Transform the output of nm in a C name address pair.
 
16395
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
16396
 
 
16397
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
16398
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
16399
 
 
16400
# Specify filename containing input files for \$NM.
 
16401
nm_file_list_spec=$lt_nm_file_list_spec
 
16402
 
 
16403
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
16404
lt_sysroot=$lt_sysroot
 
16405
 
 
16406
# The name of the directory that contains temporary libtool files.
 
16407
objdir=$objdir
 
16408
 
 
16409
# Used to examine libraries when file_magic_cmd begins with "file".
 
16410
MAGIC_CMD=$MAGIC_CMD
 
16411
 
 
16412
# Must we lock files when doing compilation?
 
16413
need_locks=$lt_need_locks
 
16414
 
 
16415
# Manifest tool.
 
16416
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
16417
 
 
16418
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
16419
DSYMUTIL=$lt_DSYMUTIL
 
16420
 
 
16421
# Tool to change global to local symbols on Mac OS X.
 
16422
NMEDIT=$lt_NMEDIT
 
16423
 
 
16424
# Tool to manipulate fat objects and archives on Mac OS X.
 
16425
LIPO=$lt_LIPO
 
16426
 
 
16427
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
16428
OTOOL=$lt_OTOOL
 
16429
 
 
16430
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
16431
OTOOL64=$lt_OTOOL64
 
16432
 
 
16433
# Old archive suffix (normally "a").
 
16434
libext=$libext
 
16435
 
 
16436
# Shared library suffix (normally ".so").
 
16437
shrext_cmds=$lt_shrext_cmds
 
16438
 
 
16439
# The commands to extract the exported symbol list from a shared archive.
 
16440
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
16441
 
 
16442
# Variables whose values should be saved in libtool wrapper scripts and
 
16443
# restored at link time.
 
16444
variables_saved_for_relink=$lt_variables_saved_for_relink
 
16445
 
 
16446
# Do we need the "lib" prefix for modules?
 
16447
need_lib_prefix=$need_lib_prefix
 
16448
 
 
16449
# Do we need a version for libraries?
 
16450
need_version=$need_version
 
16451
 
 
16452
# Library versioning type.
 
16453
version_type=$version_type
 
16454
 
 
16455
# Shared library runtime path variable.
 
16456
runpath_var=$runpath_var
 
16457
 
 
16458
# Shared library path variable.
 
16459
shlibpath_var=$shlibpath_var
 
16460
 
 
16461
# Is shlibpath searched before the hard-coded library search path?
 
16462
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
16463
 
 
16464
# Format of library name prefix.
 
16465
libname_spec=$lt_libname_spec
 
16466
 
 
16467
# List of archive names.  First name is the real one, the rest are links.
 
16468
# The last name is the one that the linker finds with -lNAME
 
16469
library_names_spec=$lt_library_names_spec
 
16470
 
 
16471
# The coded name of the library, if different from the real name.
 
16472
soname_spec=$lt_soname_spec
 
16473
 
 
16474
# Permission mode override for installation of shared libraries.
 
16475
install_override_mode=$lt_install_override_mode
 
16476
 
 
16477
# Command to use after installation of a shared archive.
 
16478
postinstall_cmds=$lt_postinstall_cmds
 
16479
 
 
16480
# Command to use after uninstallation of a shared archive.
 
16481
postuninstall_cmds=$lt_postuninstall_cmds
 
16482
 
 
16483
# Commands used to finish a libtool library installation in a directory.
 
16484
finish_cmds=$lt_finish_cmds
 
16485
 
 
16486
# As "finish_cmds", except a single script fragment to be evaled but
 
16487
# not shown.
 
16488
finish_eval=$lt_finish_eval
 
16489
 
 
16490
# Whether we should hardcode library paths into libraries.
 
16491
hardcode_into_libs=$hardcode_into_libs
 
16492
 
 
16493
# Compile-time system search path for libraries.
 
16494
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
16495
 
 
16496
# Run-time system search path for libraries.
 
16497
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
16498
 
 
16499
# Whether dlopen is supported.
 
16500
dlopen_support=$enable_dlopen
 
16501
 
 
16502
# Whether dlopen of programs is supported.
 
16503
dlopen_self=$enable_dlopen_self
 
16504
 
 
16505
# Whether dlopen of statically linked programs is supported.
 
16506
dlopen_self_static=$enable_dlopen_self_static
 
16507
 
 
16508
# Commands to strip libraries.
 
16509
old_striplib=$lt_old_striplib
 
16510
striplib=$lt_striplib
 
16511
 
 
16512
 
 
16513
# The linker used to build libraries.
 
16514
LD=$lt_LD
 
16515
 
 
16516
# How to create reloadable object files.
 
16517
reload_flag=$lt_reload_flag
 
16518
reload_cmds=$lt_reload_cmds
 
16519
 
 
16520
# Commands used to build an old-style archive.
 
16521
old_archive_cmds=$lt_old_archive_cmds
 
16522
 
 
16523
# A language specific compiler.
 
16524
CC=$lt_compiler
 
16525
 
 
16526
# Is the compiler the GNU compiler?
 
16527
with_gcc=$GCC
 
16528
 
 
16529
# Compiler flag to turn off builtin functions.
 
16530
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
16531
 
 
16532
# Additional compiler flags for building library objects.
 
16533
pic_flag=$lt_lt_prog_compiler_pic
 
16534
 
 
16535
# How to pass a linker flag through the compiler.
 
16536
wl=$lt_lt_prog_compiler_wl
 
16537
 
 
16538
# Compiler flag to prevent dynamic linking.
 
16539
link_static_flag=$lt_lt_prog_compiler_static
 
16540
 
 
16541
# Does compiler simultaneously support -c and -o options?
 
16542
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
16543
 
 
16544
# Whether or not to add -lc for building shared libraries.
 
16545
build_libtool_need_lc=$archive_cmds_need_lc
 
16546
 
 
16547
# Whether or not to disallow shared libs when runtime libs are static.
 
16548
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
16549
 
 
16550
# Compiler flag to allow reflexive dlopens.
 
16551
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
16552
 
 
16553
# Compiler flag to generate shared objects directly from archives.
 
16554
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
16555
 
 
16556
# Whether the compiler copes with passing no objects directly.
 
16557
compiler_needs_object=$lt_compiler_needs_object
 
16558
 
 
16559
# Create an old-style archive from a shared archive.
 
16560
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
16561
 
 
16562
# Create a temporary old-style archive to link instead of a shared archive.
 
16563
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
16564
 
 
16565
# Commands used to build a shared archive.
 
16566
archive_cmds=$lt_archive_cmds
 
16567
archive_expsym_cmds=$lt_archive_expsym_cmds
 
16568
 
 
16569
# Commands used to build a loadable module if different from building
 
16570
# a shared archive.
 
16571
module_cmds=$lt_module_cmds
 
16572
module_expsym_cmds=$lt_module_expsym_cmds
 
16573
 
 
16574
# Whether we are building with GNU ld or not.
 
16575
with_gnu_ld=$lt_with_gnu_ld
 
16576
 
 
16577
# Flag that allows shared libraries with undefined symbols to be built.
 
16578
allow_undefined_flag=$lt_allow_undefined_flag
 
16579
 
 
16580
# Flag that enforces no undefined symbols.
 
16581
no_undefined_flag=$lt_no_undefined_flag
 
16582
 
 
16583
# Flag to hardcode \$libdir into a binary during linking.
 
16584
# This must work even if \$libdir does not exist
 
16585
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
16586
 
 
16587
# Whether we need a single "-rpath" flag with a separated argument.
 
16588
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
16589
 
 
16590
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
16591
# DIR into the resulting binary.
 
16592
hardcode_direct=$hardcode_direct
 
16593
 
 
16594
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
16595
# DIR into the resulting binary and the resulting library dependency is
 
16596
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
16597
# library is relocated.
 
16598
hardcode_direct_absolute=$hardcode_direct_absolute
 
16599
 
 
16600
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
16601
# into the resulting binary.
 
16602
hardcode_minus_L=$hardcode_minus_L
 
16603
 
 
16604
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
16605
# into the resulting binary.
 
16606
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
16607
 
 
16608
# Set to "yes" if building a shared library automatically hardcodes DIR
 
16609
# into the library and all subsequent libraries and executables linked
 
16610
# against it.
 
16611
hardcode_automatic=$hardcode_automatic
 
16612
 
 
16613
# Set to yes if linker adds runtime paths of dependent libraries
 
16614
# to runtime path list.
 
16615
inherit_rpath=$inherit_rpath
 
16616
 
 
16617
# Whether libtool must link a program against all its dependency libraries.
 
16618
link_all_deplibs=$link_all_deplibs
 
16619
 
 
16620
# Set to "yes" if exported symbols are required.
 
16621
always_export_symbols=$always_export_symbols
 
16622
 
 
16623
# The commands to list exported symbols.
 
16624
export_symbols_cmds=$lt_export_symbols_cmds
 
16625
 
 
16626
# Symbols that should not be listed in the preloaded symbols.
 
16627
exclude_expsyms=$lt_exclude_expsyms
 
16628
 
 
16629
# Symbols that must always be exported.
 
16630
include_expsyms=$lt_include_expsyms
 
16631
 
 
16632
# Commands necessary for linking programs (against libraries) with templates.
 
16633
prelink_cmds=$lt_prelink_cmds
 
16634
 
 
16635
# Commands necessary for finishing linking programs.
 
16636
postlink_cmds=$lt_postlink_cmds
 
16637
 
 
16638
# Specify filename containing input files.
 
16639
file_list_spec=$lt_file_list_spec
 
16640
 
 
16641
# How to hardcode a shared library path into an executable.
 
16642
hardcode_action=$hardcode_action
 
16643
 
 
16644
# ### END LIBTOOL CONFIG
 
16645
 
 
16646
_LT_EOF
 
16647
 
 
16648
  case $host_os in
 
16649
  aix3*)
 
16650
    cat <<\_LT_EOF >> "$cfgfile"
 
16651
# AIX sometimes has problems with the GCC collect2 program.  For some
 
16652
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
16653
# vanish in a puff of smoke.
 
16654
if test "X${COLLECT_NAMES+set}" != Xset; then
 
16655
  COLLECT_NAMES=
 
16656
  export COLLECT_NAMES
 
16657
fi
 
16658
_LT_EOF
 
16659
    ;;
 
16660
  esac
 
16661
 
 
16662
 
 
16663
ltmain="$ac_aux_dir/ltmain.sh"
 
16664
 
 
16665
 
 
16666
  # We use sed instead of cat because bash on DJGPP gets confused if
 
16667
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
16668
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
16669
  # is reportedly fixed, but why not run on old versions too?
 
16670
  sed '$q' "$ltmain" >> "$cfgfile" \
 
16671
     || (rm -f "$cfgfile"; exit 1)
 
16672
 
 
16673
  if test x"$xsi_shell" = xyes; then
 
16674
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
16675
func_dirname ()\
 
16676
{\
 
16677
\    case ${1} in\
 
16678
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
16679
\      *  ) func_dirname_result="${3}" ;;\
 
16680
\    esac\
 
16681
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
16682
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16683
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16684
test 0 -eq $? || _lt_function_replace_fail=:
 
16685
 
 
16686
 
 
16687
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
16688
func_basename ()\
 
16689
{\
 
16690
\    func_basename_result="${1##*/}"\
 
16691
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
16692
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16693
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16694
test 0 -eq $? || _lt_function_replace_fail=:
 
16695
 
 
16696
 
 
16697
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
16698
func_dirname_and_basename ()\
 
16699
{\
 
16700
\    case ${1} in\
 
16701
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
16702
\      *  ) func_dirname_result="${3}" ;;\
 
16703
\    esac\
 
16704
\    func_basename_result="${1##*/}"\
 
16705
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
16706
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16707
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16708
test 0 -eq $? || _lt_function_replace_fail=:
 
16709
 
 
16710
 
 
16711
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
16712
func_stripname ()\
 
16713
{\
 
16714
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
16715
\    # positional parameters, so assign one to ordinary parameter first.\
 
16716
\    func_stripname_result=${3}\
 
16717
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
16718
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
16719
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
 
16720
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16721
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16722
test 0 -eq $? || _lt_function_replace_fail=:
 
16723
 
 
16724
 
 
16725
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
16726
func_split_long_opt ()\
 
16727
{\
 
16728
\    func_split_long_opt_name=${1%%=*}\
 
16729
\    func_split_long_opt_arg=${1#*=}\
 
16730
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
16731
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16732
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16733
test 0 -eq $? || _lt_function_replace_fail=:
 
16734
 
 
16735
 
 
16736
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
16737
func_split_short_opt ()\
 
16738
{\
 
16739
\    func_split_short_opt_arg=${1#??}\
 
16740
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
16741
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
16742
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16743
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16744
test 0 -eq $? || _lt_function_replace_fail=:
 
16745
 
 
16746
 
 
16747
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
16748
func_lo2o ()\
 
16749
{\
 
16750
\    case ${1} in\
 
16751
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
16752
\      *)    func_lo2o_result=${1} ;;\
 
16753
\    esac\
 
16754
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
16755
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16756
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16757
test 0 -eq $? || _lt_function_replace_fail=:
 
16758
 
 
16759
 
 
16760
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
16761
func_xform ()\
 
16762
{\
 
16763
    func_xform_result=${1%.*}.lo\
 
16764
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
16765
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16766
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16767
test 0 -eq $? || _lt_function_replace_fail=:
 
16768
 
 
16769
 
 
16770
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
16771
func_arith ()\
 
16772
{\
 
16773
    func_arith_result=$(( $* ))\
 
16774
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
16775
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16776
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16777
test 0 -eq $? || _lt_function_replace_fail=:
 
16778
 
 
16779
 
 
16780
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
16781
func_len ()\
 
16782
{\
 
16783
    func_len_result=${#1}\
 
16784
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
16785
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16786
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16787
test 0 -eq $? || _lt_function_replace_fail=:
 
16788
 
 
16789
fi
 
16790
 
 
16791
if test x"$lt_shell_append" = xyes; then
 
16792
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
16793
func_append ()\
 
16794
{\
 
16795
    eval "${1}+=\\${2}"\
 
16796
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
16797
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16798
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16799
test 0 -eq $? || _lt_function_replace_fail=:
 
16800
 
 
16801
 
 
16802
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
16803
func_append_quoted ()\
 
16804
{\
 
16805
\    func_quote_for_eval "${2}"\
 
16806
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
16807
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
16808
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16809
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16810
test 0 -eq $? || _lt_function_replace_fail=:
 
16811
 
 
16812
 
 
16813
  # Save a `func_append' function call where possible by direct use of '+='
 
16814
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
16815
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16816
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16817
  test 0 -eq $? || _lt_function_replace_fail=:
 
16818
else
 
16819
  # Save a `func_append' function call even when '+=' is not available
 
16820
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
16821
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16822
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16823
  test 0 -eq $? || _lt_function_replace_fail=:
 
16824
fi
 
16825
 
 
16826
if test x"$_lt_function_replace_fail" = x":"; then
 
16827
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
16828
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
16829
fi
 
16830
 
 
16831
 
 
16832
   mv -f "$cfgfile" "$ofile" ||
 
16833
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
16834
  chmod +x "$ofile"
 
16835
 
 
16836
 ;;
7811
16837
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
7812
16838
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
7813
16839
      esac ;;