~ubuntu-branches/ubuntu/wily/baobab/wily

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2012-11-05 18:19:47 UTC
  • mfrom: (1.1.10)
  • Revision ID: package-import@ubuntu.com-20121105181947-a5c9utsx2buosfmy
Tags: 3.6.2-0ubuntu1
* New upstream version:
  - Minor tweaks to the UI
* debian/patches/baobab_about_segfault.patch: 
  - don't segfault when opening the about dialog (lp: #1020810)

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 baobab 3.6.0.
 
3
# Generated by GNU Autoconf 2.68 for baobab 3.6.2.
4
4
#
5
5
# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=baobab>.
6
6
#
173
173
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174
174
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175
175
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176
 
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
 
176
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
177
 
 
178
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
 
179
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
180
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
181
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
182
    PATH=/empty FPATH=/empty; export PATH FPATH
 
183
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
 
184
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
 
185
test \$(( 1 + 1 )) = 2 || exit 1"
177
186
  if (eval "$as_required") 2>/dev/null; then :
178
187
  as_have_required=yes
179
188
else
596
605
    if (length(v1)) exit 2
597
606
  }
598
607
'
 
608
SHELL=${CONFIG_SHELL-/bin/sh}
 
609
 
599
610
 
600
611
test -n "$DJDIR" || exec 7<&0 </dev/null
601
612
exec 6>&1
620
631
# Identity of this package.
621
632
PACKAGE_NAME='baobab'
622
633
PACKAGE_TARNAME='baobab'
623
 
PACKAGE_VERSION='3.6.0'
624
 
PACKAGE_STRING='baobab 3.6.0'
 
634
PACKAGE_VERSION='3.6.2'
 
635
PACKAGE_STRING='baobab 3.6.2'
625
636
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=baobab'
626
637
PACKAGE_URL=''
627
638
 
628
639
ac_unique_file="src/main.vala"
629
640
gt_needs=
 
641
# Factoring default headers for most tests.
 
642
ac_includes_default="\
 
643
#include <stdio.h>
 
644
#ifdef HAVE_SYS_TYPES_H
 
645
# include <sys/types.h>
 
646
#endif
 
647
#ifdef HAVE_SYS_STAT_H
 
648
# include <sys/stat.h>
 
649
#endif
 
650
#ifdef STDC_HEADERS
 
651
# include <stdlib.h>
 
652
# include <stddef.h>
 
653
#else
 
654
# ifdef HAVE_STDLIB_H
 
655
#  include <stdlib.h>
 
656
# endif
 
657
#endif
 
658
#ifdef HAVE_STRING_H
 
659
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
 
660
#  include <memory.h>
 
661
# endif
 
662
# include <string.h>
 
663
#endif
 
664
#ifdef HAVE_STRINGS_H
 
665
# include <strings.h>
 
666
#endif
 
667
#ifdef HAVE_INTTYPES_H
 
668
# include <inttypes.h>
 
669
#endif
 
670
#ifdef HAVE_STDINT_H
 
671
# include <stdint.h>
 
672
#endif
 
673
#ifdef HAVE_UNISTD_H
 
674
# include <unistd.h>
 
675
#endif"
 
676
 
630
677
ac_subst_vars='am__EXEEXT_FALSE
631
678
am__EXEEXT_TRUE
632
679
LTLIBOBJS
633
680
LIBOBJS
634
 
gio_LIBS
635
 
gio_CFLAGS
636
 
gtk_LIBS
637
 
gtk_CFLAGS
 
681
LIBGD_SOURCES
 
682
LIBGD_GIR_INCLUDES
 
683
LIBGD_LIBS
 
684
LIBGD_CFLAGS
 
685
HAVE_INTROSPECTION_FALSE
 
686
HAVE_INTROSPECTION_TRUE
 
687
INTROSPECTION_MAKEFILE
 
688
INTROSPECTION_LIBS
 
689
INTROSPECTION_CFLAGS
 
690
INTROSPECTION_TYPELIBDIR
 
691
INTROSPECTION_GIRDIR
 
692
INTROSPECTION_GENERATE
 
693
INTROSPECTION_COMPILER
 
694
INTROSPECTION_SCANNER
 
695
LIBGD_GIR_FALSE
 
696
LIBGD_GIR_TRUE
 
697
VAPIGEN
 
698
LIBGD_VAPI_FALSE
 
699
LIBGD_VAPI_TRUE
 
700
LIBGD_TAGGED_ENTRY_FALSE
 
701
LIBGD_TAGGED_ENTRY_TRUE
 
702
LIBGD_NOTIFICATION_FALSE
 
703
LIBGD_NOTIFICATION_TRUE
 
704
LIBGD_MARGIN_CONTAINER_FALSE
 
705
LIBGD_MARGIN_CONTAINER_TRUE
 
706
LIBGD_MAIN_TOOLBAR_FALSE
 
707
LIBGD_MAIN_TOOLBAR_TRUE
 
708
LIBGD__VIEW_COMMON_FALSE
 
709
LIBGD__VIEW_COMMON_TRUE
 
710
LIBGD_MAIN_LIST_VIEW_FALSE
 
711
LIBGD_MAIN_LIST_VIEW_TRUE
 
712
LIBGD_MAIN_ICON_VIEW_FALSE
 
713
LIBGD_MAIN_ICON_VIEW_TRUE
 
714
LIBGD_MAIN_VIEW_FALSE
 
715
LIBGD_MAIN_VIEW_TRUE
 
716
LIBGD_GTK_HACKS_FALSE
 
717
LIBGD_GTK_HACKS_TRUE
 
718
LIBGD_STATIC_FALSE
 
719
LIBGD_STATIC_TRUE
 
720
LIBM
 
721
LIBGD_MODULE_DIR
 
722
CPP
 
723
OTOOL64
 
724
OTOOL
 
725
LIPO
 
726
NMEDIT
 
727
DSYMUTIL
 
728
MANIFEST_TOOL
 
729
RANLIB
 
730
ac_ct_AR
 
731
AR
 
732
DLLTOOL
 
733
OBJDUMP
 
734
NM
 
735
ac_ct_DUMPBIN
 
736
DUMPBIN
 
737
LD
 
738
FGREP
 
739
EGREP
 
740
GREP
 
741
SED
 
742
LIBTOOL
 
743
BAOBAB_LIBS
 
744
BAOBAB_CFLAGS
638
745
YELP_HELP_RULES
639
746
XMLLINT
640
747
ITSTOOL
808
915
with_libintl_prefix
809
916
enable_schemas_compile
810
917
with_help_dir
 
918
enable_static
 
919
enable_shared
 
920
with_pic
 
921
enable_fast_install
 
922
with_sysroot
 
923
enable_libtool_lock
811
924
'
812
925
      ac_precious_vars='build_alias
813
926
host_alias
822
935
PKG_CONFIG_LIBDIR
823
936
ITSTOOL
824
937
XMLLINT
825
 
gtk_CFLAGS
826
 
gtk_LIBS
827
 
gio_CFLAGS
828
 
gio_LIBS'
 
938
BAOBAB_CFLAGS
 
939
BAOBAB_LIBS
 
940
CPP
 
941
LIBGD_CFLAGS
 
942
LIBGD_LIBS'
829
943
 
830
944
 
831
945
# Initialize some variables set by options.
1368
1482
  # Omit some internal or obsolete options to make the list less imposing.
1369
1483
  # This message is too long to be a string in the A/UX 3.1 sh.
1370
1484
  cat <<_ACEOF
1371
 
\`configure' configures baobab 3.6.0 to adapt to many kinds of systems.
 
1485
\`configure' configures baobab 3.6.2 to adapt to many kinds of systems.
1372
1486
 
1373
1487
Usage: $0 [OPTION]... [VAR=VALUE]...
1374
1488
 
1439
1553
 
1440
1554
if test -n "$ac_init_help"; then
1441
1555
  case $ac_init_help in
1442
 
     short | recursive ) echo "Configuration of baobab 3.6.0:";;
 
1556
     short | recursive ) echo "Configuration of baobab 3.6.2:";;
1443
1557
   esac
1444
1558
  cat <<\_ACEOF
1445
1559
 
1457
1571
  --disable-rpath         do not hardcode runtime library paths
1458
1572
  --disable-schemas-compile
1459
1573
                          Disable regeneration of gschemas.compiled on install
 
1574
  --enable-static[=PKGS]  build static libraries [default=no]
 
1575
  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
1576
  --enable-fast-install[=PKGS]
 
1577
                          optimize for fast installation [default=yes]
 
1578
  --disable-libtool-lock  avoid locking (might break parallel builds)
1460
1579
 
1461
1580
Optional Packages:
1462
1581
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1467
1586
  --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
1468
1587
  --without-libintl-prefix     don't search for libintl in includedir and libdir
1469
1588
  --with-help-dir=DIR     path where help files are installed
 
1589
  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
 
1590
                          both]
 
1591
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1592
  --with-sysroot=DIR Search for dependent libraries within DIR
 
1593
                        (or the compiler's sysroot if not specified).
1470
1594
 
1471
1595
Some influential environment variables:
1472
1596
  CC          C compiler command
1483
1607
              path overriding pkg-config's built-in search path
1484
1608
  ITSTOOL     Path to the `itstool` command
1485
1609
  XMLLINT     Path to the `xmllint` command
1486
 
  gtk_CFLAGS  C compiler flags for gtk, overriding pkg-config
1487
 
  gtk_LIBS    linker flags for gtk, overriding pkg-config
1488
 
  gio_CFLAGS  C compiler flags for gio, overriding pkg-config
1489
 
  gio_LIBS    linker flags for gio, overriding pkg-config
 
1610
  BAOBAB_CFLAGS
 
1611
              C compiler flags for BAOBAB, overriding pkg-config
 
1612
  BAOBAB_LIBS linker flags for BAOBAB, overriding pkg-config
 
1613
  CPP         C preprocessor
 
1614
  LIBGD_CFLAGS
 
1615
              C compiler flags for LIBGD, overriding pkg-config
 
1616
  LIBGD_LIBS  linker flags for LIBGD, overriding pkg-config
1490
1617
 
1491
1618
Use these variables to override the choices made by `configure' or to help
1492
1619
it to find libraries and programs with nonstandard names/locations.
1554
1681
test -n "$ac_init_help" && exit $ac_status
1555
1682
if $ac_init_version; then
1556
1683
  cat <<\_ACEOF
1557
 
baobab configure 3.6.0
 
1684
baobab configure 3.6.2
1558
1685
generated by GNU Autoconf 2.68
1559
1686
 
1560
1687
Copyright (C) 2010 Free Software Foundation, Inc.
1760
1887
  as_fn_set_status $ac_retval
1761
1888
 
1762
1889
} # ac_fn_c_try_run
 
1890
 
 
1891
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1892
# -------------------------------------------------------
 
1893
# Tests whether HEADER exists and can be compiled using the include files in
 
1894
# INCLUDES, setting the cache variable VAR accordingly.
 
1895
ac_fn_c_check_header_compile ()
 
1896
{
 
1897
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1898
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1899
$as_echo_n "checking for $2... " >&6; }
 
1900
if eval \${$3+:} false; then :
 
1901
  $as_echo_n "(cached) " >&6
 
1902
else
 
1903
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1904
/* end confdefs.h.  */
 
1905
$4
 
1906
#include <$2>
 
1907
_ACEOF
 
1908
if ac_fn_c_try_compile "$LINENO"; then :
 
1909
  eval "$3=yes"
 
1910
else
 
1911
  eval "$3=no"
 
1912
fi
 
1913
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1914
fi
 
1915
eval ac_res=\$$3
 
1916
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1917
$as_echo "$ac_res" >&6; }
 
1918
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1919
 
 
1920
} # ac_fn_c_check_header_compile
 
1921
 
 
1922
# ac_fn_c_try_cpp LINENO
 
1923
# ----------------------
 
1924
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1925
ac_fn_c_try_cpp ()
 
1926
{
 
1927
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1928
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1929
case "(($ac_try" in
 
1930
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1931
  *) ac_try_echo=$ac_try;;
 
1932
esac
 
1933
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1934
$as_echo "$ac_try_echo"; } >&5
 
1935
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1936
  ac_status=$?
 
1937
  if test -s conftest.err; then
 
1938
    grep -v '^ *+' conftest.err >conftest.er1
 
1939
    cat conftest.er1 >&5
 
1940
    mv -f conftest.er1 conftest.err
 
1941
  fi
 
1942
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1943
  test $ac_status = 0; } > conftest.i && {
 
1944
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1945
         test ! -s conftest.err
 
1946
       }; then :
 
1947
  ac_retval=0
 
1948
else
 
1949
  $as_echo "$as_me: failed program was:" >&5
 
1950
sed 's/^/| /' conftest.$ac_ext >&5
 
1951
 
 
1952
    ac_retval=1
 
1953
fi
 
1954
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1955
  as_fn_set_status $ac_retval
 
1956
 
 
1957
} # ac_fn_c_try_cpp
1763
1958
cat >config.log <<_ACEOF
1764
1959
This file contains any messages produced by compilers while
1765
1960
running configure, to aid debugging if configure makes a mistake.
1766
1961
 
1767
 
It was created by baobab $as_me 3.6.0, which was
 
1962
It was created by baobab $as_me 3.6.2, which was
1768
1963
generated by GNU Autoconf 2.68.  Invocation command line was
1769
1964
 
1770
1965
  $ $0 $@
2697
2892
 
2698
2893
# Define the identity of the package.
2699
2894
 PACKAGE='baobab'
2700
 
 VERSION='3.6.0'
 
2895
 VERSION='3.6.2'
2701
2896
 
2702
2897
 
2703
2898
cat >>confdefs.h <<_ACEOF
7876
8071
 
7877
8072
 
7878
8073
pkg_failed=no
7879
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk" >&5
7880
 
$as_echo_n "checking for gtk... " >&6; }
 
8074
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BAOBAB" >&5
 
8075
$as_echo_n "checking for BAOBAB... " >&6; }
7881
8076
 
7882
 
if test -n "$gtk_CFLAGS"; then
7883
 
    pkg_cv_gtk_CFLAGS="$gtk_CFLAGS"
 
8077
if test -n "$BAOBAB_CFLAGS"; then
 
8078
    pkg_cv_BAOBAB_CFLAGS="$BAOBAB_CFLAGS"
7884
8079
 elif test -n "$PKG_CONFIG"; then
7885
8080
    if test -n "$PKG_CONFIG" && \
7886
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.5.9\""; } >&5
7887
 
  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.5.9") 2>&5
 
8081
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
 
8082
    gtk+-3.0 >= 3.5.9
 
8083
    gio-2.0 >= 2.30.0
 
8084
\""; } >&5
 
8085
  ($PKG_CONFIG --exists --print-errors "
 
8086
    gtk+-3.0 >= 3.5.9
 
8087
    gio-2.0 >= 2.30.0
 
8088
") 2>&5
7888
8089
  ac_status=$?
7889
8090
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7890
8091
  test $ac_status = 0; }; then
7891
 
  pkg_cv_gtk_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= 3.5.9" 2>/dev/null`
 
8092
  pkg_cv_BAOBAB_CFLAGS=`$PKG_CONFIG --cflags "
 
8093
    gtk+-3.0 >= 3.5.9
 
8094
    gio-2.0 >= 2.30.0
 
8095
" 2>/dev/null`
7892
8096
else
7893
8097
  pkg_failed=yes
7894
8098
fi
7895
8099
 else
7896
8100
    pkg_failed=untried
7897
8101
fi
7898
 
if test -n "$gtk_LIBS"; then
7899
 
    pkg_cv_gtk_LIBS="$gtk_LIBS"
 
8102
if test -n "$BAOBAB_LIBS"; then
 
8103
    pkg_cv_BAOBAB_LIBS="$BAOBAB_LIBS"
7900
8104
 elif test -n "$PKG_CONFIG"; then
7901
8105
    if test -n "$PKG_CONFIG" && \
7902
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.5.9\""; } >&5
7903
 
  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.5.9") 2>&5
 
8106
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
 
8107
    gtk+-3.0 >= 3.5.9
 
8108
    gio-2.0 >= 2.30.0
 
8109
\""; } >&5
 
8110
  ($PKG_CONFIG --exists --print-errors "
 
8111
    gtk+-3.0 >= 3.5.9
 
8112
    gio-2.0 >= 2.30.0
 
8113
") 2>&5
7904
8114
  ac_status=$?
7905
8115
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7906
8116
  test $ac_status = 0; }; then
7907
 
  pkg_cv_gtk_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= 3.5.9" 2>/dev/null`
 
8117
  pkg_cv_BAOBAB_LIBS=`$PKG_CONFIG --libs "
 
8118
    gtk+-3.0 >= 3.5.9
 
8119
    gio-2.0 >= 2.30.0
 
8120
" 2>/dev/null`
7908
8121
else
7909
8122
  pkg_failed=yes
7910
8123
fi
7924
8137
        _pkg_short_errors_supported=no
7925
8138
fi
7926
8139
        if test $_pkg_short_errors_supported = yes; then
7927
 
                gtk_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-3.0 >= 3.5.9" 2>&1`
 
8140
                BAOBAB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
 
8141
    gtk+-3.0 >= 3.5.9
 
8142
    gio-2.0 >= 2.30.0
 
8143
" 2>&1`
7928
8144
        else
7929
 
                gtk_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-3.0 >= 3.5.9" 2>&1`
 
8145
                BAOBAB_PKG_ERRORS=`$PKG_CONFIG --print-errors "
 
8146
    gtk+-3.0 >= 3.5.9
 
8147
    gio-2.0 >= 2.30.0
 
8148
" 2>&1`
7930
8149
        fi
7931
8150
        # Put the nasty error message in config.log where it belongs
7932
 
        echo "$gtk_PKG_ERRORS" >&5
7933
 
 
7934
 
        as_fn_error $? "Package requirements (gtk+-3.0 >= 3.5.9) were not met:
7935
 
 
7936
 
$gtk_PKG_ERRORS
 
8151
        echo "$BAOBAB_PKG_ERRORS" >&5
 
8152
 
 
8153
        as_fn_error $? "Package requirements (
 
8154
    gtk+-3.0 >= 3.5.9
 
8155
    gio-2.0 >= 2.30.0
 
8156
) were not met:
 
8157
 
 
8158
$BAOBAB_PKG_ERRORS
7937
8159
 
7938
8160
Consider adjusting the PKG_CONFIG_PATH environment variable if you
7939
8161
installed software in a non-standard prefix.
7940
8162
 
7941
 
Alternatively, you may set the environment variables gtk_CFLAGS
7942
 
and gtk_LIBS to avoid the need to call pkg-config.
 
8163
Alternatively, you may set the environment variables BAOBAB_CFLAGS
 
8164
and BAOBAB_LIBS to avoid the need to call pkg-config.
7943
8165
See the pkg-config man page for more details." "$LINENO" 5
7944
8166
 
7945
8167
elif test $pkg_failed = untried; then
7951
8173
is in your PATH or set the PKG_CONFIG environment variable to the full
7952
8174
path to pkg-config.
7953
8175
 
7954
 
Alternatively, you may set the environment variables gtk_CFLAGS
7955
 
and gtk_LIBS to avoid the need to call pkg-config.
 
8176
Alternatively, you may set the environment variables BAOBAB_CFLAGS
 
8177
and BAOBAB_LIBS to avoid the need to call pkg-config.
7956
8178
See the pkg-config man page for more details.
7957
8179
 
7958
8180
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7959
8181
See \`config.log' for more details" "$LINENO" 5; }
7960
8182
 
7961
8183
else
7962
 
        gtk_CFLAGS=$pkg_cv_gtk_CFLAGS
7963
 
        gtk_LIBS=$pkg_cv_gtk_LIBS
 
8184
        BAOBAB_CFLAGS=$pkg_cv_BAOBAB_CFLAGS
 
8185
        BAOBAB_LIBS=$pkg_cv_BAOBAB_LIBS
7964
8186
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7965
8187
$as_echo "yes" >&6; }
7966
8188
 
7967
8189
fi
7968
8190
 
 
8191
case `pwd` in
 
8192
  *\ * | *\     *)
 
8193
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
8194
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
8195
esac
 
8196
 
 
8197
 
 
8198
 
 
8199
macro_version='2.4.2'
 
8200
macro_revision='1.3337'
 
8201
 
 
8202
 
 
8203
 
 
8204
 
 
8205
 
 
8206
 
 
8207
 
 
8208
 
 
8209
 
 
8210
 
 
8211
 
 
8212
 
 
8213
 
 
8214
ltmain="$ac_aux_dir/ltmain.sh"
 
8215
 
 
8216
# Backslashify metacharacters that are still active within
 
8217
# double-quoted strings.
 
8218
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
8219
 
 
8220
# Same as above, but do not quote variable references.
 
8221
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
8222
 
 
8223
# Sed substitution to delay expansion of an escaped shell variable in a
 
8224
# double_quote_subst'ed string.
 
8225
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
8226
 
 
8227
# Sed substitution to delay expansion of an escaped single quote.
 
8228
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
8229
 
 
8230
# Sed substitution to avoid accidental globbing in evaled expressions
 
8231
no_glob_subst='s/\*/\\\*/g'
 
8232
 
 
8233
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
8234
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
8235
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
8236
 
 
8237
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 
8238
$as_echo_n "checking how to print strings... " >&6; }
 
8239
# Test print first, because it will be a builtin if present.
 
8240
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 
8241
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
8242
  ECHO='print -r --'
 
8243
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
8244
  ECHO='printf %s\n'
 
8245
else
 
8246
  # Use this function as a fallback that always works.
 
8247
  func_fallback_echo ()
 
8248
  {
 
8249
    eval 'cat <<_LTECHO_EOF
 
8250
$1
 
8251
_LTECHO_EOF'
 
8252
  }
 
8253
  ECHO='func_fallback_echo'
 
8254
fi
 
8255
 
 
8256
# func_echo_all arg...
 
8257
# Invoke $ECHO with all args, space-separated.
 
8258
func_echo_all ()
 
8259
{
 
8260
    $ECHO ""
 
8261
}
 
8262
 
 
8263
case "$ECHO" in
 
8264
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 
8265
$as_echo "printf" >&6; } ;;
 
8266
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 
8267
$as_echo "print -r" >&6; } ;;
 
8268
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 
8269
$as_echo "cat" >&6; } ;;
 
8270
esac
 
8271
 
 
8272
 
 
8273
 
 
8274
 
 
8275
 
 
8276
 
 
8277
 
 
8278
 
 
8279
 
 
8280
 
 
8281
 
 
8282
 
 
8283
 
 
8284
 
 
8285
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 
8286
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
8287
if ${ac_cv_path_SED+:} false; then :
 
8288
  $as_echo_n "(cached) " >&6
 
8289
else
 
8290
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
8291
     for ac_i in 1 2 3 4 5 6 7; do
 
8292
       ac_script="$ac_script$as_nl$ac_script"
 
8293
     done
 
8294
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
8295
     { ac_script=; unset ac_script;}
 
8296
     if test -z "$SED"; then
 
8297
  ac_path_SED_found=false
 
8298
  # Loop through the user's path and test for each of PROGNAME-LIST
 
8299
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8300
for as_dir in $PATH
 
8301
do
 
8302
  IFS=$as_save_IFS
 
8303
  test -z "$as_dir" && as_dir=.
 
8304
    for ac_prog in sed gsed; do
 
8305
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8306
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
8307
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
8308
# Check for GNU ac_path_SED and select it if it is found.
 
8309
  # Check for GNU $ac_path_SED
 
8310
case `"$ac_path_SED" --version 2>&1` in
 
8311
*GNU*)
 
8312
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
8313
*)
 
8314
  ac_count=0
 
8315
  $as_echo_n 0123456789 >"conftest.in"
 
8316
  while :
 
8317
  do
 
8318
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
8319
    mv "conftest.tmp" "conftest.in"
 
8320
    cp "conftest.in" "conftest.nl"
 
8321
    $as_echo '' >> "conftest.nl"
 
8322
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
8323
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
8324
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
8325
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
8326
      # Best one so far, save it but keep looking for a better one
 
8327
      ac_cv_path_SED="$ac_path_SED"
 
8328
      ac_path_SED_max=$ac_count
 
8329
    fi
 
8330
    # 10*(2^10) chars as input seems more than enough
 
8331
    test $ac_count -gt 10 && break
 
8332
  done
 
8333
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
8334
esac
 
8335
 
 
8336
      $ac_path_SED_found && break 3
 
8337
    done
 
8338
  done
 
8339
  done
 
8340
IFS=$as_save_IFS
 
8341
  if test -z "$ac_cv_path_SED"; then
 
8342
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
8343
  fi
 
8344
else
 
8345
  ac_cv_path_SED=$SED
 
8346
fi
 
8347
 
 
8348
fi
 
8349
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
8350
$as_echo "$ac_cv_path_SED" >&6; }
 
8351
 SED="$ac_cv_path_SED"
 
8352
  rm -f conftest.sed
 
8353
 
 
8354
test -z "$SED" && SED=sed
 
8355
Xsed="$SED -e 1s/^X//"
 
8356
 
 
8357
 
 
8358
 
 
8359
 
 
8360
 
 
8361
 
 
8362
 
 
8363
 
 
8364
 
 
8365
 
 
8366
 
 
8367
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 
8368
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
8369
if ${ac_cv_path_GREP+:} false; then :
 
8370
  $as_echo_n "(cached) " >&6
 
8371
else
 
8372
  if test -z "$GREP"; then
 
8373
  ac_path_GREP_found=false
 
8374
  # Loop through the user's path and test for each of PROGNAME-LIST
 
8375
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8376
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
8377
do
 
8378
  IFS=$as_save_IFS
 
8379
  test -z "$as_dir" && as_dir=.
 
8380
    for ac_prog in grep ggrep; do
 
8381
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8382
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
8383
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
8384
# Check for GNU ac_path_GREP and select it if it is found.
 
8385
  # Check for GNU $ac_path_GREP
 
8386
case `"$ac_path_GREP" --version 2>&1` in
 
8387
*GNU*)
 
8388
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
8389
*)
 
8390
  ac_count=0
 
8391
  $as_echo_n 0123456789 >"conftest.in"
 
8392
  while :
 
8393
  do
 
8394
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
8395
    mv "conftest.tmp" "conftest.in"
 
8396
    cp "conftest.in" "conftest.nl"
 
8397
    $as_echo 'GREP' >> "conftest.nl"
 
8398
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
8399
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
8400
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
8401
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
8402
      # Best one so far, save it but keep looking for a better one
 
8403
      ac_cv_path_GREP="$ac_path_GREP"
 
8404
      ac_path_GREP_max=$ac_count
 
8405
    fi
 
8406
    # 10*(2^10) chars as input seems more than enough
 
8407
    test $ac_count -gt 10 && break
 
8408
  done
 
8409
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
8410
esac
 
8411
 
 
8412
      $ac_path_GREP_found && break 3
 
8413
    done
 
8414
  done
 
8415
  done
 
8416
IFS=$as_save_IFS
 
8417
  if test -z "$ac_cv_path_GREP"; then
 
8418
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
8419
  fi
 
8420
else
 
8421
  ac_cv_path_GREP=$GREP
 
8422
fi
 
8423
 
 
8424
fi
 
8425
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 
8426
$as_echo "$ac_cv_path_GREP" >&6; }
 
8427
 GREP="$ac_cv_path_GREP"
 
8428
 
 
8429
 
 
8430
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 
8431
$as_echo_n "checking for egrep... " >&6; }
 
8432
if ${ac_cv_path_EGREP+:} false; then :
 
8433
  $as_echo_n "(cached) " >&6
 
8434
else
 
8435
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
8436
   then ac_cv_path_EGREP="$GREP -E"
 
8437
   else
 
8438
     if test -z "$EGREP"; then
 
8439
  ac_path_EGREP_found=false
 
8440
  # Loop through the user's path and test for each of PROGNAME-LIST
 
8441
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8442
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
8443
do
 
8444
  IFS=$as_save_IFS
 
8445
  test -z "$as_dir" && as_dir=.
 
8446
    for ac_prog in egrep; do
 
8447
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8448
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
8449
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
8450
# Check for GNU ac_path_EGREP and select it if it is found.
 
8451
  # Check for GNU $ac_path_EGREP
 
8452
case `"$ac_path_EGREP" --version 2>&1` in
 
8453
*GNU*)
 
8454
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
8455
*)
 
8456
  ac_count=0
 
8457
  $as_echo_n 0123456789 >"conftest.in"
 
8458
  while :
 
8459
  do
 
8460
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
8461
    mv "conftest.tmp" "conftest.in"
 
8462
    cp "conftest.in" "conftest.nl"
 
8463
    $as_echo 'EGREP' >> "conftest.nl"
 
8464
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
8465
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
8466
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
8467
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
8468
      # Best one so far, save it but keep looking for a better one
 
8469
      ac_cv_path_EGREP="$ac_path_EGREP"
 
8470
      ac_path_EGREP_max=$ac_count
 
8471
    fi
 
8472
    # 10*(2^10) chars as input seems more than enough
 
8473
    test $ac_count -gt 10 && break
 
8474
  done
 
8475
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
8476
esac
 
8477
 
 
8478
      $ac_path_EGREP_found && break 3
 
8479
    done
 
8480
  done
 
8481
  done
 
8482
IFS=$as_save_IFS
 
8483
  if test -z "$ac_cv_path_EGREP"; then
 
8484
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
8485
  fi
 
8486
else
 
8487
  ac_cv_path_EGREP=$EGREP
 
8488
fi
 
8489
 
 
8490
   fi
 
8491
fi
 
8492
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 
8493
$as_echo "$ac_cv_path_EGREP" >&6; }
 
8494
 EGREP="$ac_cv_path_EGREP"
 
8495
 
 
8496
 
 
8497
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 
8498
$as_echo_n "checking for fgrep... " >&6; }
 
8499
if ${ac_cv_path_FGREP+:} false; then :
 
8500
  $as_echo_n "(cached) " >&6
 
8501
else
 
8502
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
8503
   then ac_cv_path_FGREP="$GREP -F"
 
8504
   else
 
8505
     if test -z "$FGREP"; then
 
8506
  ac_path_FGREP_found=false
 
8507
  # Loop through the user's path and test for each of PROGNAME-LIST
 
8508
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8509
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
8510
do
 
8511
  IFS=$as_save_IFS
 
8512
  test -z "$as_dir" && as_dir=.
 
8513
    for ac_prog in fgrep; do
 
8514
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8515
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
8516
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
8517
# Check for GNU ac_path_FGREP and select it if it is found.
 
8518
  # Check for GNU $ac_path_FGREP
 
8519
case `"$ac_path_FGREP" --version 2>&1` in
 
8520
*GNU*)
 
8521
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
8522
*)
 
8523
  ac_count=0
 
8524
  $as_echo_n 0123456789 >"conftest.in"
 
8525
  while :
 
8526
  do
 
8527
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
8528
    mv "conftest.tmp" "conftest.in"
 
8529
    cp "conftest.in" "conftest.nl"
 
8530
    $as_echo 'FGREP' >> "conftest.nl"
 
8531
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
8532
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
8533
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
8534
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
8535
      # Best one so far, save it but keep looking for a better one
 
8536
      ac_cv_path_FGREP="$ac_path_FGREP"
 
8537
      ac_path_FGREP_max=$ac_count
 
8538
    fi
 
8539
    # 10*(2^10) chars as input seems more than enough
 
8540
    test $ac_count -gt 10 && break
 
8541
  done
 
8542
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
8543
esac
 
8544
 
 
8545
      $ac_path_FGREP_found && break 3
 
8546
    done
 
8547
  done
 
8548
  done
 
8549
IFS=$as_save_IFS
 
8550
  if test -z "$ac_cv_path_FGREP"; then
 
8551
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
8552
  fi
 
8553
else
 
8554
  ac_cv_path_FGREP=$FGREP
 
8555
fi
 
8556
 
 
8557
   fi
 
8558
fi
 
8559
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
 
8560
$as_echo "$ac_cv_path_FGREP" >&6; }
 
8561
 FGREP="$ac_cv_path_FGREP"
 
8562
 
 
8563
 
 
8564
test -z "$GREP" && GREP=grep
 
8565
 
 
8566
 
 
8567
 
 
8568
 
 
8569
 
 
8570
 
 
8571
 
 
8572
 
 
8573
 
 
8574
 
 
8575
 
 
8576
 
 
8577
 
 
8578
 
 
8579
 
 
8580
 
 
8581
 
 
8582
 
 
8583
 
 
8584
# Check whether --with-gnu-ld was given.
 
8585
if test "${with_gnu_ld+set}" = set; then :
 
8586
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
8587
else
 
8588
  with_gnu_ld=no
 
8589
fi
 
8590
 
 
8591
ac_prog=ld
 
8592
if test "$GCC" = yes; then
 
8593
  # Check if gcc -print-prog-name=ld gives a path.
 
8594
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 
8595
$as_echo_n "checking for ld used by $CC... " >&6; }
 
8596
  case $host in
 
8597
  *-*-mingw*)
 
8598
    # gcc leaves a trailing carriage return which upsets mingw
 
8599
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
8600
  *)
 
8601
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
8602
  esac
 
8603
  case $ac_prog in
 
8604
    # Accept absolute paths.
 
8605
    [\\/]* | ?:[\\/]*)
 
8606
      re_direlt='/[^/][^/]*/\.\./'
 
8607
      # Canonicalize the pathname of ld
 
8608
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
8609
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
8610
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 
8611
      done
 
8612
      test -z "$LD" && LD="$ac_prog"
 
8613
      ;;
 
8614
  "")
 
8615
    # If it fails, then pretend we aren't using GCC.
 
8616
    ac_prog=ld
 
8617
    ;;
 
8618
  *)
 
8619
    # If it is relative, then search for the first ld in PATH.
 
8620
    with_gnu_ld=unknown
 
8621
    ;;
 
8622
  esac
 
8623
elif test "$with_gnu_ld" = yes; then
 
8624
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
8625
$as_echo_n "checking for GNU ld... " >&6; }
 
8626
else
 
8627
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
8628
$as_echo_n "checking for non-GNU ld... " >&6; }
 
8629
fi
 
8630
if ${lt_cv_path_LD+:} false; then :
 
8631
  $as_echo_n "(cached) " >&6
 
8632
else
 
8633
  if test -z "$LD"; then
 
8634
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
8635
  for ac_dir in $PATH; do
 
8636
    IFS="$lt_save_ifs"
 
8637
    test -z "$ac_dir" && ac_dir=.
 
8638
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
8639
      lt_cv_path_LD="$ac_dir/$ac_prog"
 
8640
      # Check to see if the program is GNU ld.  I'd rather use --version,
 
8641
      # but apparently some variants of GNU ld only accept -v.
 
8642
      # Break only if it was the GNU/non-GNU ld that we prefer.
 
8643
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 
8644
      *GNU* | *'with BFD'*)
 
8645
        test "$with_gnu_ld" != no && break
 
8646
        ;;
 
8647
      *)
 
8648
        test "$with_gnu_ld" != yes && break
 
8649
        ;;
 
8650
      esac
 
8651
    fi
 
8652
  done
 
8653
  IFS="$lt_save_ifs"
 
8654
else
 
8655
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
8656
fi
 
8657
fi
 
8658
 
 
8659
LD="$lt_cv_path_LD"
 
8660
if test -n "$LD"; then
 
8661
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
8662
$as_echo "$LD" >&6; }
 
8663
else
 
8664
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8665
$as_echo "no" >&6; }
 
8666
fi
 
8667
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 
8668
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
8669
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
8670
if ${lt_cv_prog_gnu_ld+:} false; then :
 
8671
  $as_echo_n "(cached) " >&6
 
8672
else
 
8673
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
 
8674
case `$LD -v 2>&1 </dev/null` in
 
8675
*GNU* | *'with BFD'*)
 
8676
  lt_cv_prog_gnu_ld=yes
 
8677
  ;;
 
8678
*)
 
8679
  lt_cv_prog_gnu_ld=no
 
8680
  ;;
 
8681
esac
 
8682
fi
 
8683
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 
8684
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
 
8685
with_gnu_ld=$lt_cv_prog_gnu_ld
 
8686
 
 
8687
 
 
8688
 
 
8689
 
 
8690
 
 
8691
 
 
8692
 
 
8693
 
 
8694
 
 
8695
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 
8696
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 
8697
if ${lt_cv_path_NM+:} false; then :
 
8698
  $as_echo_n "(cached) " >&6
 
8699
else
 
8700
  if test -n "$NM"; then
 
8701
  # Let the user override the test.
 
8702
  lt_cv_path_NM="$NM"
 
8703
else
 
8704
  lt_nm_to_check="${ac_tool_prefix}nm"
 
8705
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 
8706
    lt_nm_to_check="$lt_nm_to_check nm"
 
8707
  fi
 
8708
  for lt_tmp_nm in $lt_nm_to_check; do
 
8709
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
8710
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 
8711
      IFS="$lt_save_ifs"
 
8712
      test -z "$ac_dir" && ac_dir=.
 
8713
      tmp_nm="$ac_dir/$lt_tmp_nm"
 
8714
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
8715
        # Check to see if the nm accepts a BSD-compat flag.
 
8716
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
8717
        #   nm: unknown option "B" ignored
 
8718
        # Tru64's nm complains that /dev/null is an invalid object file
 
8719
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 
8720
        */dev/null* | *'Invalid file or object type'*)
 
8721
          lt_cv_path_NM="$tmp_nm -B"
 
8722
          break
 
8723
          ;;
 
8724
        *)
 
8725
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
8726
          */dev/null*)
 
8727
            lt_cv_path_NM="$tmp_nm -p"
 
8728
            break
 
8729
            ;;
 
8730
          *)
 
8731
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
8732
            continue # so that we can try to find one that supports BSD flags
 
8733
            ;;
 
8734
          esac
 
8735
          ;;
 
8736
        esac
 
8737
      fi
 
8738
    done
 
8739
    IFS="$lt_save_ifs"
 
8740
  done
 
8741
  : ${lt_cv_path_NM=no}
 
8742
fi
 
8743
fi
 
8744
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
 
8745
$as_echo "$lt_cv_path_NM" >&6; }
 
8746
if test "$lt_cv_path_NM" != "no"; then
 
8747
  NM="$lt_cv_path_NM"
 
8748
else
 
8749
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
8750
  if test -n "$DUMPBIN"; then :
 
8751
    # Let the user override the test.
 
8752
  else
 
8753
    if test -n "$ac_tool_prefix"; then
 
8754
  for ac_prog in dumpbin "link -dump"
 
8755
  do
 
8756
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
8757
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
8758
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8759
$as_echo_n "checking for $ac_word... " >&6; }
 
8760
if ${ac_cv_prog_DUMPBIN+:} false; then :
 
8761
  $as_echo_n "(cached) " >&6
 
8762
else
 
8763
  if test -n "$DUMPBIN"; then
 
8764
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
8765
else
 
8766
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8767
for as_dir in $PATH
 
8768
do
 
8769
  IFS=$as_save_IFS
 
8770
  test -z "$as_dir" && as_dir=.
 
8771
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8772
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8773
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
8774
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8775
    break 2
 
8776
  fi
 
8777
done
 
8778
  done
 
8779
IFS=$as_save_IFS
 
8780
 
 
8781
fi
 
8782
fi
 
8783
DUMPBIN=$ac_cv_prog_DUMPBIN
 
8784
if test -n "$DUMPBIN"; then
 
8785
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
 
8786
$as_echo "$DUMPBIN" >&6; }
 
8787
else
 
8788
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8789
$as_echo "no" >&6; }
 
8790
fi
 
8791
 
 
8792
 
 
8793
    test -n "$DUMPBIN" && break
 
8794
  done
 
8795
fi
 
8796
if test -z "$DUMPBIN"; then
 
8797
  ac_ct_DUMPBIN=$DUMPBIN
 
8798
  for ac_prog in dumpbin "link -dump"
 
8799
do
 
8800
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
8801
set dummy $ac_prog; ac_word=$2
 
8802
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8803
$as_echo_n "checking for $ac_word... " >&6; }
 
8804
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
 
8805
  $as_echo_n "(cached) " >&6
 
8806
else
 
8807
  if test -n "$ac_ct_DUMPBIN"; then
 
8808
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
8809
else
 
8810
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8811
for as_dir in $PATH
 
8812
do
 
8813
  IFS=$as_save_IFS
 
8814
  test -z "$as_dir" && as_dir=.
 
8815
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8816
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8817
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
8818
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8819
    break 2
 
8820
  fi
 
8821
done
 
8822
  done
 
8823
IFS=$as_save_IFS
 
8824
 
 
8825
fi
 
8826
fi
 
8827
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
8828
if test -n "$ac_ct_DUMPBIN"; then
 
8829
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
 
8830
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
8831
else
 
8832
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8833
$as_echo "no" >&6; }
 
8834
fi
 
8835
 
 
8836
 
 
8837
  test -n "$ac_ct_DUMPBIN" && break
 
8838
done
 
8839
 
 
8840
  if test "x$ac_ct_DUMPBIN" = x; then
 
8841
    DUMPBIN=":"
 
8842
  else
 
8843
    case $cross_compiling:$ac_tool_warned in
 
8844
yes:)
 
8845
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8846
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8847
ac_tool_warned=yes ;;
 
8848
esac
 
8849
    DUMPBIN=$ac_ct_DUMPBIN
 
8850
  fi
 
8851
fi
 
8852
 
 
8853
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
8854
    *COFF*)
 
8855
      DUMPBIN="$DUMPBIN -symbols"
 
8856
      ;;
 
8857
    *)
 
8858
      DUMPBIN=:
 
8859
      ;;
 
8860
    esac
 
8861
  fi
 
8862
 
 
8863
  if test "$DUMPBIN" != ":"; then
 
8864
    NM="$DUMPBIN"
 
8865
  fi
 
8866
fi
 
8867
test -z "$NM" && NM=nm
 
8868
 
 
8869
 
 
8870
 
 
8871
 
 
8872
 
 
8873
 
 
8874
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 
8875
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
8876
if ${lt_cv_nm_interface+:} false; then :
 
8877
  $as_echo_n "(cached) " >&6
 
8878
else
 
8879
  lt_cv_nm_interface="BSD nm"
 
8880
  echo "int some_variable = 0;" > conftest.$ac_ext
 
8881
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
 
8882
  (eval "$ac_compile" 2>conftest.err)
 
8883
  cat conftest.err >&5
 
8884
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
8885
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
8886
  cat conftest.err >&5
 
8887
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
 
8888
  cat conftest.out >&5
 
8889
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
8890
    lt_cv_nm_interface="MS dumpbin"
 
8891
  fi
 
8892
  rm -f conftest*
 
8893
fi
 
8894
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
 
8895
$as_echo "$lt_cv_nm_interface" >&6; }
 
8896
 
 
8897
# find the maximum length of command line arguments
 
8898
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 
8899
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
8900
if ${lt_cv_sys_max_cmd_len+:} false; then :
 
8901
  $as_echo_n "(cached) " >&6
 
8902
else
 
8903
    i=0
 
8904
  teststring="ABCD"
 
8905
 
 
8906
  case $build_os in
 
8907
  msdosdjgpp*)
 
8908
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
8909
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
8910
    # during glob expansion).  Even if it were fixed, the result of this
 
8911
    # check would be larger than it should be.
 
8912
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
8913
    ;;
 
8914
 
 
8915
  gnu*)
 
8916
    # Under GNU Hurd, this test is not required because there is
 
8917
    # no limit to the length of command line arguments.
 
8918
    # Libtool will interpret -1 as no limit whatsoever
 
8919
    lt_cv_sys_max_cmd_len=-1;
 
8920
    ;;
 
8921
 
 
8922
  cygwin* | mingw* | cegcc*)
 
8923
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
8924
    # about 5 minutes as the teststring grows exponentially.
 
8925
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
8926
    # you end up with a "frozen" computer, even though with patience
 
8927
    # the test eventually succeeds (with a max line length of 256k).
 
8928
    # Instead, let's just punt: use the minimum linelength reported by
 
8929
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
8930
    lt_cv_sys_max_cmd_len=8192;
 
8931
    ;;
 
8932
 
 
8933
  mint*)
 
8934
    # On MiNT this can take a long time and run out of memory.
 
8935
    lt_cv_sys_max_cmd_len=8192;
 
8936
    ;;
 
8937
 
 
8938
  amigaos*)
 
8939
    # On AmigaOS with pdksh, this test takes hours, literally.
 
8940
    # So we just punt and use a minimum line length of 8192.
 
8941
    lt_cv_sys_max_cmd_len=8192;
 
8942
    ;;
 
8943
 
 
8944
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
8945
    # This has been around since 386BSD, at least.  Likely further.
 
8946
    if test -x /sbin/sysctl; then
 
8947
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
8948
    elif test -x /usr/sbin/sysctl; then
 
8949
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
8950
    else
 
8951
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
8952
    fi
 
8953
    # And add a safety zone
 
8954
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
8955
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
8956
    ;;
 
8957
 
 
8958
  interix*)
 
8959
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
8960
    lt_cv_sys_max_cmd_len=196608
 
8961
    ;;
 
8962
 
 
8963
  os2*)
 
8964
    # The test takes a long time on OS/2.
 
8965
    lt_cv_sys_max_cmd_len=8192
 
8966
    ;;
 
8967
 
 
8968
  osf*)
 
8969
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
8970
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
8971
    # nice to cause kernel panics so lets avoid the loop below.
 
8972
    # First set a reasonable default.
 
8973
    lt_cv_sys_max_cmd_len=16384
 
8974
    #
 
8975
    if test -x /sbin/sysconfig; then
 
8976
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
8977
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
8978
      esac
 
8979
    fi
 
8980
    ;;
 
8981
  sco3.2v5*)
 
8982
    lt_cv_sys_max_cmd_len=102400
 
8983
    ;;
 
8984
  sysv5* | sco5v6* | sysv4.2uw2*)
 
8985
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
8986
    if test -n "$kargmax"; then
 
8987
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
8988
    else
 
8989
      lt_cv_sys_max_cmd_len=32768
 
8990
    fi
 
8991
    ;;
 
8992
  *)
 
8993
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
8994
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
8995
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
8996
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
8997
    else
 
8998
      # Make teststring a little bigger before we do anything with it.
 
8999
      # a 1K string should be a reasonable start.
 
9000
      for i in 1 2 3 4 5 6 7 8 ; do
 
9001
        teststring=$teststring$teststring
 
9002
      done
 
9003
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
9004
      # If test is not a shell built-in, we'll probably end up computing a
 
9005
      # maximum length that is only half of the actual maximum length, but
 
9006
      # we can't tell.
 
9007
      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
 
9008
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
 
9009
              test $i != 17 # 1/2 MB should be enough
 
9010
      do
 
9011
        i=`expr $i + 1`
 
9012
        teststring=$teststring$teststring
 
9013
      done
 
9014
      # Only check the string length outside the loop.
 
9015
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
9016
      teststring=
 
9017
      # Add a significant safety factor because C++ compilers can tack on
 
9018
      # massive amounts of additional arguments before passing them to the
 
9019
      # linker.  It appears as though 1/2 is a usable value.
 
9020
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
9021
    fi
 
9022
    ;;
 
9023
  esac
 
9024
 
 
9025
fi
 
9026
 
 
9027
if test -n $lt_cv_sys_max_cmd_len ; then
 
9028
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
 
9029
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
9030
else
 
9031
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
 
9032
$as_echo "none" >&6; }
 
9033
fi
 
9034
max_cmd_len=$lt_cv_sys_max_cmd_len
 
9035
 
 
9036
 
 
9037
 
 
9038
 
 
9039
 
 
9040
 
 
9041
: ${CP="cp -f"}
 
9042
: ${MV="mv -f"}
 
9043
: ${RM="rm -f"}
 
9044
 
 
9045
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
 
9046
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
9047
# Try some XSI features
 
9048
xsi_shell=no
 
9049
( _lt_dummy="a/b/c"
 
9050
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 
9051
      = c,a/b,b/c, \
 
9052
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
9053
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
9054
  && xsi_shell=yes
 
9055
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
 
9056
$as_echo "$xsi_shell" >&6; }
 
9057
 
 
9058
 
 
9059
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
 
9060
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
9061
lt_shell_append=no
 
9062
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
9063
    >/dev/null 2>&1 \
 
9064
  && lt_shell_append=yes
 
9065
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
 
9066
$as_echo "$lt_shell_append" >&6; }
 
9067
 
 
9068
 
 
9069
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
9070
  lt_unset=unset
 
9071
else
 
9072
  lt_unset=false
 
9073
fi
 
9074
 
 
9075
 
 
9076
 
 
9077
 
 
9078
 
 
9079
# test EBCDIC or ASCII
 
9080
case `echo X|tr X '\101'` in
 
9081
 A) # ASCII based system
 
9082
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
9083
  lt_SP2NL='tr \040 \012'
 
9084
  lt_NL2SP='tr \015\012 \040\040'
 
9085
  ;;
 
9086
 *) # EBCDIC based system
 
9087
  lt_SP2NL='tr \100 \n'
 
9088
  lt_NL2SP='tr \r\n \100\100'
 
9089
  ;;
 
9090
esac
 
9091
 
 
9092
 
 
9093
 
 
9094
 
 
9095
 
 
9096
 
 
9097
 
 
9098
 
 
9099
 
 
9100
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 
9101
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 
9102
if ${lt_cv_to_host_file_cmd+:} false; then :
 
9103
  $as_echo_n "(cached) " >&6
 
9104
else
 
9105
  case $host in
 
9106
  *-*-mingw* )
 
9107
    case $build in
 
9108
      *-*-mingw* ) # actually msys
 
9109
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 
9110
        ;;
 
9111
      *-*-cygwin* )
 
9112
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 
9113
        ;;
 
9114
      * ) # otherwise, assume *nix
 
9115
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 
9116
        ;;
 
9117
    esac
 
9118
    ;;
 
9119
  *-*-cygwin* )
 
9120
    case $build in
 
9121
      *-*-mingw* ) # actually msys
 
9122
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 
9123
        ;;
 
9124
      *-*-cygwin* )
 
9125
        lt_cv_to_host_file_cmd=func_convert_file_noop
 
9126
        ;;
 
9127
      * ) # otherwise, assume *nix
 
9128
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 
9129
        ;;
 
9130
    esac
 
9131
    ;;
 
9132
  * ) # unhandled hosts (and "normal" native builds)
 
9133
    lt_cv_to_host_file_cmd=func_convert_file_noop
 
9134
    ;;
 
9135
esac
 
9136
 
 
9137
fi
 
9138
 
 
9139
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
9140
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 
9141
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
 
9142
 
 
9143
 
 
9144
 
 
9145
 
 
9146
 
 
9147
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 
9148
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 
9149
if ${lt_cv_to_tool_file_cmd+:} false; then :
 
9150
  $as_echo_n "(cached) " >&6
 
9151
else
 
9152
  #assume ordinary cross tools, or native build.
 
9153
lt_cv_to_tool_file_cmd=func_convert_file_noop
 
9154
case $host in
 
9155
  *-*-mingw* )
 
9156
    case $build in
 
9157
      *-*-mingw* ) # actually msys
 
9158
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 
9159
        ;;
 
9160
    esac
 
9161
    ;;
 
9162
esac
 
9163
 
 
9164
fi
 
9165
 
 
9166
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
9167
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 
9168
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 
9169
 
 
9170
 
 
9171
 
 
9172
 
 
9173
 
 
9174
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 
9175
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
9176
if ${lt_cv_ld_reload_flag+:} false; then :
 
9177
  $as_echo_n "(cached) " >&6
 
9178
else
 
9179
  lt_cv_ld_reload_flag='-r'
 
9180
fi
 
9181
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
 
9182
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
9183
reload_flag=$lt_cv_ld_reload_flag
 
9184
case $reload_flag in
 
9185
"" | " "*) ;;
 
9186
*) reload_flag=" $reload_flag" ;;
 
9187
esac
 
9188
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
9189
case $host_os in
 
9190
  cygwin* | mingw* | pw32* | cegcc*)
 
9191
    if test "$GCC" != yes; then
 
9192
      reload_cmds=false
 
9193
    fi
 
9194
    ;;
 
9195
  darwin*)
 
9196
    if test "$GCC" = yes; then
 
9197
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
9198
    else
 
9199
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
9200
    fi
 
9201
    ;;
 
9202
esac
 
9203
 
 
9204
 
 
9205
 
 
9206
 
 
9207
 
 
9208
 
 
9209
 
 
9210
 
 
9211
 
 
9212
if test -n "$ac_tool_prefix"; then
 
9213
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
9214
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
9215
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9216
$as_echo_n "checking for $ac_word... " >&6; }
 
9217
if ${ac_cv_prog_OBJDUMP+:} false; then :
 
9218
  $as_echo_n "(cached) " >&6
 
9219
else
 
9220
  if test -n "$OBJDUMP"; then
 
9221
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
9222
else
 
9223
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9224
for as_dir in $PATH
 
9225
do
 
9226
  IFS=$as_save_IFS
 
9227
  test -z "$as_dir" && as_dir=.
 
9228
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9229
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9230
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
9231
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9232
    break 2
 
9233
  fi
 
9234
done
 
9235
  done
 
9236
IFS=$as_save_IFS
 
9237
 
 
9238
fi
 
9239
fi
 
9240
OBJDUMP=$ac_cv_prog_OBJDUMP
 
9241
if test -n "$OBJDUMP"; then
 
9242
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 
9243
$as_echo "$OBJDUMP" >&6; }
 
9244
else
 
9245
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9246
$as_echo "no" >&6; }
 
9247
fi
 
9248
 
 
9249
 
 
9250
fi
 
9251
if test -z "$ac_cv_prog_OBJDUMP"; then
 
9252
  ac_ct_OBJDUMP=$OBJDUMP
 
9253
  # Extract the first word of "objdump", so it can be a program name with args.
 
9254
set dummy objdump; ac_word=$2
 
9255
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9256
$as_echo_n "checking for $ac_word... " >&6; }
 
9257
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
 
9258
  $as_echo_n "(cached) " >&6
 
9259
else
 
9260
  if test -n "$ac_ct_OBJDUMP"; then
 
9261
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
9262
else
 
9263
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9264
for as_dir in $PATH
 
9265
do
 
9266
  IFS=$as_save_IFS
 
9267
  test -z "$as_dir" && as_dir=.
 
9268
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9269
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9270
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
9271
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9272
    break 2
 
9273
  fi
 
9274
done
 
9275
  done
 
9276
IFS=$as_save_IFS
 
9277
 
 
9278
fi
 
9279
fi
 
9280
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
9281
if test -n "$ac_ct_OBJDUMP"; then
 
9282
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 
9283
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
9284
else
 
9285
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9286
$as_echo "no" >&6; }
 
9287
fi
 
9288
 
 
9289
  if test "x$ac_ct_OBJDUMP" = x; then
 
9290
    OBJDUMP="false"
 
9291
  else
 
9292
    case $cross_compiling:$ac_tool_warned in
 
9293
yes:)
 
9294
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
9295
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9296
ac_tool_warned=yes ;;
 
9297
esac
 
9298
    OBJDUMP=$ac_ct_OBJDUMP
 
9299
  fi
 
9300
else
 
9301
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
9302
fi
 
9303
 
 
9304
test -z "$OBJDUMP" && OBJDUMP=objdump
 
9305
 
 
9306
 
 
9307
 
 
9308
 
 
9309
 
 
9310
 
 
9311
 
 
9312
 
 
9313
 
 
9314
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
 
9315
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
 
9316
if ${lt_cv_deplibs_check_method+:} false; then :
 
9317
  $as_echo_n "(cached) " >&6
 
9318
else
 
9319
  lt_cv_file_magic_cmd='$MAGIC_CMD'
 
9320
lt_cv_file_magic_test_file=
 
9321
lt_cv_deplibs_check_method='unknown'
 
9322
# Need to set the preceding variable on all platforms that support
 
9323
# interlibrary dependencies.
 
9324
# 'none' -- dependencies not supported.
 
9325
# `unknown' -- same as none, but documents that we really don't know.
 
9326
# 'pass_all' -- all dependencies passed with no checks.
 
9327
# 'test_compile' -- check by making test program.
 
9328
# 'file_magic [[regex]]' -- check by looking for files in library path
 
9329
# which responds to the $file_magic_cmd with a given extended regex.
 
9330
# If you have `file' or equivalent on your system and you're not sure
 
9331
# whether `pass_all' will *always* work, you probably want this one.
 
9332
 
 
9333
case $host_os in
 
9334
aix[4-9]*)
 
9335
  lt_cv_deplibs_check_method=pass_all
 
9336
  ;;
 
9337
 
 
9338
beos*)
 
9339
  lt_cv_deplibs_check_method=pass_all
 
9340
  ;;
 
9341
 
 
9342
bsdi[45]*)
 
9343
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 
9344
  lt_cv_file_magic_cmd='/usr/bin/file -L'
 
9345
  lt_cv_file_magic_test_file=/shlib/libc.so
 
9346
  ;;
 
9347
 
 
9348
cygwin*)
 
9349
  # func_win32_libid is a shell function defined in ltmain.sh
 
9350
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
9351
  lt_cv_file_magic_cmd='func_win32_libid'
 
9352
  ;;
 
9353
 
 
9354
mingw* | pw32*)
 
9355
  # Base MSYS/MinGW do not provide the 'file' command needed by
 
9356
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
9357
  # unless we find 'file', for example because we are cross-compiling.
 
9358
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
9359
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
 
9360
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
9361
    lt_cv_file_magic_cmd='func_win32_libid'
 
9362
  else
 
9363
    # Keep this pattern in sync with the one in func_win32_libid.
 
9364
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
 
9365
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
9366
  fi
 
9367
  ;;
 
9368
 
 
9369
cegcc*)
 
9370
  # use the weaker test based on 'objdump'. See mingw*.
 
9371
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
9372
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
9373
  ;;
 
9374
 
 
9375
darwin* | rhapsody*)
 
9376
  lt_cv_deplibs_check_method=pass_all
 
9377
  ;;
 
9378
 
 
9379
freebsd* | dragonfly*)
 
9380
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
9381
    case $host_cpu in
 
9382
    i*86 )
 
9383
      # Not sure whether the presence of OpenBSD here was a mistake.
 
9384
      # Let's accept both of them until this is cleared up.
 
9385
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
 
9386
      lt_cv_file_magic_cmd=/usr/bin/file
 
9387
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 
9388
      ;;
 
9389
    esac
 
9390
  else
 
9391
    lt_cv_deplibs_check_method=pass_all
 
9392
  fi
 
9393
  ;;
 
9394
 
 
9395
gnu*)
 
9396
  lt_cv_deplibs_check_method=pass_all
 
9397
  ;;
 
9398
 
 
9399
haiku*)
 
9400
  lt_cv_deplibs_check_method=pass_all
 
9401
  ;;
 
9402
 
 
9403
hpux10.20* | hpux11*)
 
9404
  lt_cv_file_magic_cmd=/usr/bin/file
 
9405
  case $host_cpu in
 
9406
  ia64*)
 
9407
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
 
9408
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 
9409
    ;;
 
9410
  hppa*64*)
 
9411
    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]'
 
9412
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 
9413
    ;;
 
9414
  *)
 
9415
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
 
9416
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
 
9417
    ;;
 
9418
  esac
 
9419
  ;;
 
9420
 
 
9421
interix[3-9]*)
 
9422
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 
9423
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 
9424
  ;;
 
9425
 
 
9426
irix5* | irix6* | nonstopux*)
 
9427
  case $LD in
 
9428
  *-32|*"-32 ") libmagic=32-bit;;
 
9429
  *-n32|*"-n32 ") libmagic=N32;;
 
9430
  *-64|*"-64 ") libmagic=64-bit;;
 
9431
  *) libmagic=never-match;;
 
9432
  esac
 
9433
  lt_cv_deplibs_check_method=pass_all
 
9434
  ;;
 
9435
 
 
9436
# This must be glibc/ELF.
 
9437
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
9438
  lt_cv_deplibs_check_method=pass_all
 
9439
  ;;
 
9440
 
 
9441
netbsd*)
 
9442
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
9443
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
9444
  else
 
9445
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
 
9446
  fi
 
9447
  ;;
 
9448
 
 
9449
newos6*)
 
9450
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
 
9451
  lt_cv_file_magic_cmd=/usr/bin/file
 
9452
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
 
9453
  ;;
 
9454
 
 
9455
*nto* | *qnx*)
 
9456
  lt_cv_deplibs_check_method=pass_all
 
9457
  ;;
 
9458
 
 
9459
openbsd*)
 
9460
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
9461
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
 
9462
  else
 
9463
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
9464
  fi
 
9465
  ;;
 
9466
 
 
9467
osf3* | osf4* | osf5*)
 
9468
  lt_cv_deplibs_check_method=pass_all
 
9469
  ;;
 
9470
 
 
9471
rdos*)
 
9472
  lt_cv_deplibs_check_method=pass_all
 
9473
  ;;
 
9474
 
 
9475
solaris*)
 
9476
  lt_cv_deplibs_check_method=pass_all
 
9477
  ;;
 
9478
 
 
9479
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
9480
  lt_cv_deplibs_check_method=pass_all
 
9481
  ;;
 
9482
 
 
9483
sysv4 | sysv4.3*)
 
9484
  case $host_vendor in
 
9485
  motorola)
 
9486
    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]'
 
9487
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 
9488
    ;;
 
9489
  ncr)
 
9490
    lt_cv_deplibs_check_method=pass_all
 
9491
    ;;
 
9492
  sequent)
 
9493
    lt_cv_file_magic_cmd='/bin/file'
 
9494
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
 
9495
    ;;
 
9496
  sni)
 
9497
    lt_cv_file_magic_cmd='/bin/file'
 
9498
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
 
9499
    lt_cv_file_magic_test_file=/lib/libc.so
 
9500
    ;;
 
9501
  siemens)
 
9502
    lt_cv_deplibs_check_method=pass_all
 
9503
    ;;
 
9504
  pc)
 
9505
    lt_cv_deplibs_check_method=pass_all
 
9506
    ;;
 
9507
  esac
 
9508
  ;;
 
9509
 
 
9510
tpf*)
 
9511
  lt_cv_deplibs_check_method=pass_all
 
9512
  ;;
 
9513
esac
 
9514
 
 
9515
fi
 
9516
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
 
9517
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
9518
 
 
9519
file_magic_glob=
 
9520
want_nocaseglob=no
 
9521
if test "$build" = "$host"; then
 
9522
  case $host_os in
 
9523
  mingw* | pw32*)
 
9524
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 
9525
      want_nocaseglob=yes
 
9526
    else
 
9527
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 
9528
    fi
 
9529
    ;;
 
9530
  esac
 
9531
fi
 
9532
 
 
9533
file_magic_cmd=$lt_cv_file_magic_cmd
 
9534
deplibs_check_method=$lt_cv_deplibs_check_method
 
9535
test -z "$deplibs_check_method" && deplibs_check_method=unknown
 
9536
 
 
9537
 
 
9538
 
 
9539
 
 
9540
 
 
9541
 
 
9542
 
 
9543
 
 
9544
 
 
9545
 
 
9546
 
 
9547
 
 
9548
 
 
9549
 
 
9550
 
 
9551
 
 
9552
 
 
9553
 
 
9554
 
 
9555
 
 
9556
 
 
9557
 
 
9558
if test -n "$ac_tool_prefix"; then
 
9559
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
9560
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
9561
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9562
$as_echo_n "checking for $ac_word... " >&6; }
 
9563
if ${ac_cv_prog_DLLTOOL+:} false; then :
 
9564
  $as_echo_n "(cached) " >&6
 
9565
else
 
9566
  if test -n "$DLLTOOL"; then
 
9567
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
9568
else
 
9569
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9570
for as_dir in $PATH
 
9571
do
 
9572
  IFS=$as_save_IFS
 
9573
  test -z "$as_dir" && as_dir=.
 
9574
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9575
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9576
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
9577
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9578
    break 2
 
9579
  fi
 
9580
done
 
9581
  done
 
9582
IFS=$as_save_IFS
 
9583
 
 
9584
fi
 
9585
fi
 
9586
DLLTOOL=$ac_cv_prog_DLLTOOL
 
9587
if test -n "$DLLTOOL"; then
 
9588
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
9589
$as_echo "$DLLTOOL" >&6; }
 
9590
else
 
9591
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9592
$as_echo "no" >&6; }
 
9593
fi
 
9594
 
 
9595
 
 
9596
fi
 
9597
if test -z "$ac_cv_prog_DLLTOOL"; then
 
9598
  ac_ct_DLLTOOL=$DLLTOOL
 
9599
  # Extract the first word of "dlltool", so it can be a program name with args.
 
9600
set dummy dlltool; ac_word=$2
 
9601
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9602
$as_echo_n "checking for $ac_word... " >&6; }
 
9603
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 
9604
  $as_echo_n "(cached) " >&6
 
9605
else
 
9606
  if test -n "$ac_ct_DLLTOOL"; then
 
9607
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
9608
else
 
9609
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9610
for as_dir in $PATH
 
9611
do
 
9612
  IFS=$as_save_IFS
 
9613
  test -z "$as_dir" && as_dir=.
 
9614
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9615
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9616
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
9617
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9618
    break 2
 
9619
  fi
 
9620
done
 
9621
  done
 
9622
IFS=$as_save_IFS
 
9623
 
 
9624
fi
 
9625
fi
 
9626
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
9627
if test -n "$ac_ct_DLLTOOL"; then
 
9628
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
9629
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
9630
else
 
9631
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9632
$as_echo "no" >&6; }
 
9633
fi
 
9634
 
 
9635
  if test "x$ac_ct_DLLTOOL" = x; then
 
9636
    DLLTOOL="false"
 
9637
  else
 
9638
    case $cross_compiling:$ac_tool_warned in
 
9639
yes:)
 
9640
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
9641
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9642
ac_tool_warned=yes ;;
 
9643
esac
 
9644
    DLLTOOL=$ac_ct_DLLTOOL
 
9645
  fi
 
9646
else
 
9647
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
9648
fi
 
9649
 
 
9650
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
9651
 
 
9652
 
 
9653
 
 
9654
 
 
9655
 
 
9656
 
 
9657
 
 
9658
 
 
9659
 
 
9660
 
 
9661
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 
9662
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 
9663
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 
9664
  $as_echo_n "(cached) " >&6
 
9665
else
 
9666
  lt_cv_sharedlib_from_linklib_cmd='unknown'
 
9667
 
 
9668
case $host_os in
 
9669
cygwin* | mingw* | pw32* | cegcc*)
 
9670
  # two different shell functions defined in ltmain.sh
 
9671
  # decide which to use based on capabilities of $DLLTOOL
 
9672
  case `$DLLTOOL --help 2>&1` in
 
9673
  *--identify-strict*)
 
9674
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 
9675
    ;;
 
9676
  *)
 
9677
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 
9678
    ;;
 
9679
  esac
 
9680
  ;;
 
9681
*)
 
9682
  # fallback: assume linklib IS sharedlib
 
9683
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 
9684
  ;;
 
9685
esac
 
9686
 
 
9687
fi
 
9688
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 
9689
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 
9690
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 
9691
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 
9692
 
 
9693
 
 
9694
 
 
9695
 
 
9696
 
 
9697
 
 
9698
 
 
9699
if test -n "$ac_tool_prefix"; then
 
9700
  for ac_prog in ar
 
9701
  do
 
9702
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
9703
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
9704
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9705
$as_echo_n "checking for $ac_word... " >&6; }
 
9706
if ${ac_cv_prog_AR+:} false; then :
 
9707
  $as_echo_n "(cached) " >&6
 
9708
else
 
9709
  if test -n "$AR"; then
 
9710
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
9711
else
 
9712
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9713
for as_dir in $PATH
 
9714
do
 
9715
  IFS=$as_save_IFS
 
9716
  test -z "$as_dir" && as_dir=.
 
9717
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9718
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9719
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
 
9720
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9721
    break 2
 
9722
  fi
 
9723
done
 
9724
  done
 
9725
IFS=$as_save_IFS
 
9726
 
 
9727
fi
 
9728
fi
 
9729
AR=$ac_cv_prog_AR
 
9730
if test -n "$AR"; then
 
9731
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 
9732
$as_echo "$AR" >&6; }
 
9733
else
 
9734
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9735
$as_echo "no" >&6; }
 
9736
fi
 
9737
 
 
9738
 
 
9739
    test -n "$AR" && break
 
9740
  done
 
9741
fi
 
9742
if test -z "$AR"; then
 
9743
  ac_ct_AR=$AR
 
9744
  for ac_prog in ar
 
9745
do
 
9746
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
9747
set dummy $ac_prog; ac_word=$2
 
9748
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9749
$as_echo_n "checking for $ac_word... " >&6; }
 
9750
if ${ac_cv_prog_ac_ct_AR+:} false; then :
 
9751
  $as_echo_n "(cached) " >&6
 
9752
else
 
9753
  if test -n "$ac_ct_AR"; then
 
9754
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
9755
else
 
9756
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9757
for as_dir in $PATH
 
9758
do
 
9759
  IFS=$as_save_IFS
 
9760
  test -z "$as_dir" && as_dir=.
 
9761
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9762
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9763
    ac_cv_prog_ac_ct_AR="$ac_prog"
 
9764
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9765
    break 2
 
9766
  fi
 
9767
done
 
9768
  done
 
9769
IFS=$as_save_IFS
 
9770
 
 
9771
fi
 
9772
fi
 
9773
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
9774
if test -n "$ac_ct_AR"; then
 
9775
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 
9776
$as_echo "$ac_ct_AR" >&6; }
 
9777
else
 
9778
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9779
$as_echo "no" >&6; }
 
9780
fi
 
9781
 
 
9782
 
 
9783
  test -n "$ac_ct_AR" && break
 
9784
done
 
9785
 
 
9786
  if test "x$ac_ct_AR" = x; then
 
9787
    AR="false"
 
9788
  else
 
9789
    case $cross_compiling:$ac_tool_warned in
 
9790
yes:)
 
9791
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
9792
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9793
ac_tool_warned=yes ;;
 
9794
esac
 
9795
    AR=$ac_ct_AR
 
9796
  fi
 
9797
fi
 
9798
 
 
9799
: ${AR=ar}
 
9800
: ${AR_FLAGS=cru}
 
9801
 
 
9802
 
 
9803
 
 
9804
 
 
9805
 
 
9806
 
 
9807
 
 
9808
 
 
9809
 
 
9810
 
 
9811
 
 
9812
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 
9813
$as_echo_n "checking for archiver @FILE support... " >&6; }
 
9814
if ${lt_cv_ar_at_file+:} false; then :
 
9815
  $as_echo_n "(cached) " >&6
 
9816
else
 
9817
  lt_cv_ar_at_file=no
 
9818
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9819
/* end confdefs.h.  */
 
9820
 
 
9821
int
 
9822
main ()
 
9823
{
 
9824
 
 
9825
  ;
 
9826
  return 0;
 
9827
}
 
9828
_ACEOF
 
9829
if ac_fn_c_try_compile "$LINENO"; then :
 
9830
  echo conftest.$ac_objext > conftest.lst
 
9831
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 
9832
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
9833
  (eval $lt_ar_try) 2>&5
 
9834
  ac_status=$?
 
9835
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
9836
  test $ac_status = 0; }
 
9837
      if test "$ac_status" -eq 0; then
 
9838
        # Ensure the archiver fails upon bogus file names.
 
9839
        rm -f conftest.$ac_objext libconftest.a
 
9840
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
9841
  (eval $lt_ar_try) 2>&5
 
9842
  ac_status=$?
 
9843
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
9844
  test $ac_status = 0; }
 
9845
        if test "$ac_status" -ne 0; then
 
9846
          lt_cv_ar_at_file=@
 
9847
        fi
 
9848
      fi
 
9849
      rm -f conftest.* libconftest.a
 
9850
 
 
9851
fi
 
9852
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
9853
 
 
9854
fi
 
9855
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 
9856
$as_echo "$lt_cv_ar_at_file" >&6; }
 
9857
 
 
9858
if test "x$lt_cv_ar_at_file" = xno; then
 
9859
  archiver_list_spec=
 
9860
else
 
9861
  archiver_list_spec=$lt_cv_ar_at_file
 
9862
fi
 
9863
 
 
9864
 
 
9865
 
 
9866
 
 
9867
 
 
9868
 
 
9869
 
 
9870
if test -n "$ac_tool_prefix"; then
 
9871
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
9872
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
9873
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9874
$as_echo_n "checking for $ac_word... " >&6; }
 
9875
if ${ac_cv_prog_STRIP+:} false; then :
 
9876
  $as_echo_n "(cached) " >&6
 
9877
else
 
9878
  if test -n "$STRIP"; then
 
9879
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
9880
else
 
9881
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9882
for as_dir in $PATH
 
9883
do
 
9884
  IFS=$as_save_IFS
 
9885
  test -z "$as_dir" && as_dir=.
 
9886
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9887
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9888
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
9889
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9890
    break 2
 
9891
  fi
 
9892
done
 
9893
  done
 
9894
IFS=$as_save_IFS
 
9895
 
 
9896
fi
 
9897
fi
 
9898
STRIP=$ac_cv_prog_STRIP
 
9899
if test -n "$STRIP"; then
 
9900
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
9901
$as_echo "$STRIP" >&6; }
 
9902
else
 
9903
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9904
$as_echo "no" >&6; }
 
9905
fi
 
9906
 
 
9907
 
 
9908
fi
 
9909
if test -z "$ac_cv_prog_STRIP"; then
 
9910
  ac_ct_STRIP=$STRIP
 
9911
  # Extract the first word of "strip", so it can be a program name with args.
 
9912
set dummy strip; ac_word=$2
 
9913
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9914
$as_echo_n "checking for $ac_word... " >&6; }
 
9915
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 
9916
  $as_echo_n "(cached) " >&6
 
9917
else
 
9918
  if test -n "$ac_ct_STRIP"; then
 
9919
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
9920
else
 
9921
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9922
for as_dir in $PATH
 
9923
do
 
9924
  IFS=$as_save_IFS
 
9925
  test -z "$as_dir" && as_dir=.
 
9926
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9927
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9928
    ac_cv_prog_ac_ct_STRIP="strip"
 
9929
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9930
    break 2
 
9931
  fi
 
9932
done
 
9933
  done
 
9934
IFS=$as_save_IFS
 
9935
 
 
9936
fi
 
9937
fi
 
9938
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
9939
if test -n "$ac_ct_STRIP"; then
 
9940
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
9941
$as_echo "$ac_ct_STRIP" >&6; }
 
9942
else
 
9943
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9944
$as_echo "no" >&6; }
 
9945
fi
 
9946
 
 
9947
  if test "x$ac_ct_STRIP" = x; then
 
9948
    STRIP=":"
 
9949
  else
 
9950
    case $cross_compiling:$ac_tool_warned in
 
9951
yes:)
 
9952
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
9953
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9954
ac_tool_warned=yes ;;
 
9955
esac
 
9956
    STRIP=$ac_ct_STRIP
 
9957
  fi
 
9958
else
 
9959
  STRIP="$ac_cv_prog_STRIP"
 
9960
fi
 
9961
 
 
9962
test -z "$STRIP" && STRIP=:
 
9963
 
 
9964
 
 
9965
 
 
9966
 
 
9967
 
 
9968
 
 
9969
if test -n "$ac_tool_prefix"; then
 
9970
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
9971
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
9972
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9973
$as_echo_n "checking for $ac_word... " >&6; }
 
9974
if ${ac_cv_prog_RANLIB+:} false; then :
 
9975
  $as_echo_n "(cached) " >&6
 
9976
else
 
9977
  if test -n "$RANLIB"; then
 
9978
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
9979
else
 
9980
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9981
for as_dir in $PATH
 
9982
do
 
9983
  IFS=$as_save_IFS
 
9984
  test -z "$as_dir" && as_dir=.
 
9985
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9986
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9987
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
9988
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9989
    break 2
 
9990
  fi
 
9991
done
 
9992
  done
 
9993
IFS=$as_save_IFS
 
9994
 
 
9995
fi
 
9996
fi
 
9997
RANLIB=$ac_cv_prog_RANLIB
 
9998
if test -n "$RANLIB"; then
 
9999
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 
10000
$as_echo "$RANLIB" >&6; }
 
10001
else
 
10002
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10003
$as_echo "no" >&6; }
 
10004
fi
 
10005
 
 
10006
 
 
10007
fi
 
10008
if test -z "$ac_cv_prog_RANLIB"; then
 
10009
  ac_ct_RANLIB=$RANLIB
 
10010
  # Extract the first word of "ranlib", so it can be a program name with args.
 
10011
set dummy ranlib; ac_word=$2
 
10012
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
10013
$as_echo_n "checking for $ac_word... " >&6; }
 
10014
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
 
10015
  $as_echo_n "(cached) " >&6
 
10016
else
 
10017
  if test -n "$ac_ct_RANLIB"; then
 
10018
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
10019
else
 
10020
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
10021
for as_dir in $PATH
 
10022
do
 
10023
  IFS=$as_save_IFS
 
10024
  test -z "$as_dir" && as_dir=.
 
10025
    for ac_exec_ext in '' $ac_executable_extensions; do
 
10026
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
10027
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
10028
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10029
    break 2
 
10030
  fi
 
10031
done
 
10032
  done
 
10033
IFS=$as_save_IFS
 
10034
 
 
10035
fi
 
10036
fi
 
10037
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
10038
if test -n "$ac_ct_RANLIB"; then
 
10039
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 
10040
$as_echo "$ac_ct_RANLIB" >&6; }
 
10041
else
 
10042
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10043
$as_echo "no" >&6; }
 
10044
fi
 
10045
 
 
10046
  if test "x$ac_ct_RANLIB" = x; then
 
10047
    RANLIB=":"
 
10048
  else
 
10049
    case $cross_compiling:$ac_tool_warned in
 
10050
yes:)
 
10051
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
10052
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
10053
ac_tool_warned=yes ;;
 
10054
esac
 
10055
    RANLIB=$ac_ct_RANLIB
 
10056
  fi
 
10057
else
 
10058
  RANLIB="$ac_cv_prog_RANLIB"
 
10059
fi
 
10060
 
 
10061
test -z "$RANLIB" && RANLIB=:
 
10062
 
 
10063
 
 
10064
 
 
10065
 
 
10066
 
 
10067
 
 
10068
# Determine commands to create old-style static archives.
 
10069
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
10070
old_postinstall_cmds='chmod 644 $oldlib'
 
10071
old_postuninstall_cmds=
 
10072
 
 
10073
if test -n "$RANLIB"; then
 
10074
  case $host_os in
 
10075
  openbsd*)
 
10076
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
 
10077
    ;;
 
10078
  *)
 
10079
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
 
10080
    ;;
 
10081
  esac
 
10082
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
 
10083
fi
 
10084
 
 
10085
case $host_os in
 
10086
  darwin*)
 
10087
    lock_old_archive_extraction=yes ;;
 
10088
  *)
 
10089
    lock_old_archive_extraction=no ;;
 
10090
esac
 
10091
 
 
10092
 
 
10093
 
 
10094
 
 
10095
 
 
10096
 
 
10097
 
 
10098
 
 
10099
 
 
10100
 
 
10101
 
 
10102
 
 
10103
 
 
10104
 
 
10105
 
 
10106
 
 
10107
 
 
10108
 
 
10109
 
 
10110
 
 
10111
 
 
10112
 
 
10113
 
 
10114
 
 
10115
 
 
10116
 
 
10117
 
 
10118
 
 
10119
 
 
10120
 
 
10121
 
 
10122
 
 
10123
 
 
10124
 
 
10125
 
 
10126
 
 
10127
 
 
10128
 
 
10129
 
 
10130
# If no C compiler was specified, use CC.
 
10131
LTCC=${LTCC-"$CC"}
 
10132
 
 
10133
# If no C compiler flags were specified, use CFLAGS.
 
10134
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
10135
 
 
10136
# Allow CC to be a program name with arguments.
 
10137
compiler=$CC
 
10138
 
 
10139
 
 
10140
# Check for command to grab the raw symbol name followed by C symbol from nm.
 
10141
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
 
10142
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
 
10143
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
 
10144
  $as_echo_n "(cached) " >&6
 
10145
else
 
10146
 
 
10147
# These are sane defaults that work on at least a few old systems.
 
10148
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 
10149
 
 
10150
# Character class describing NM global symbol codes.
 
10151
symcode='[BCDEGRST]'
 
10152
 
 
10153
# Regexp to match symbols that can be accessed directly from C.
 
10154
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
 
10155
 
 
10156
# Define system-specific variables.
 
10157
case $host_os in
 
10158
aix*)
 
10159
  symcode='[BCDT]'
 
10160
  ;;
 
10161
cygwin* | mingw* | pw32* | cegcc*)
 
10162
  symcode='[ABCDGISTW]'
 
10163
  ;;
 
10164
hpux*)
 
10165
  if test "$host_cpu" = ia64; then
 
10166
    symcode='[ABCDEGRST]'
 
10167
  fi
 
10168
  ;;
 
10169
irix* | nonstopux*)
 
10170
  symcode='[BCDEGRST]'
 
10171
  ;;
 
10172
osf*)
 
10173
  symcode='[BCDEGQRST]'
 
10174
  ;;
 
10175
solaris*)
 
10176
  symcode='[BDRT]'
 
10177
  ;;
 
10178
sco3.2v5*)
 
10179
  symcode='[DT]'
 
10180
  ;;
 
10181
sysv4.2uw2*)
 
10182
  symcode='[DT]'
 
10183
  ;;
 
10184
sysv5* | sco5v6* | unixware* | OpenUNIX*)
 
10185
  symcode='[ABDT]'
 
10186
  ;;
 
10187
sysv4)
 
10188
  symcode='[DFNSTU]'
 
10189
  ;;
 
10190
esac
 
10191
 
 
10192
# If we're using GNU nm, then use its standard symbol codes.
 
10193
case `$NM -V 2>&1` in
 
10194
*GNU* | *'with BFD'*)
 
10195
  symcode='[ABCDGIRSTW]' ;;
 
10196
esac
 
10197
 
 
10198
# Transform an extracted symbol line into a proper C declaration.
 
10199
# Some systems (esp. on ia64) link data and code symbols differently,
 
10200
# so use this general approach.
 
10201
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
10202
 
 
10203
# Transform an extracted symbol line into symbol name and symbol address
 
10204
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
10205
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'"
 
10206
 
 
10207
# Handle CRLF in mingw tool chain
 
10208
opt_cr=
 
10209
case $build_os in
 
10210
mingw*)
 
10211
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
10212
  ;;
 
10213
esac
 
10214
 
 
10215
# Try without a prefix underscore, then with it.
 
10216
for ac_symprfx in "" "_"; do
 
10217
 
 
10218
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 
10219
  symxfrm="\\1 $ac_symprfx\\2 \\2"
 
10220
 
 
10221
  # Write the raw and C identifiers.
 
10222
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
10223
    # Fake it for dumpbin and say T for any non-static function
 
10224
    # and D for any global variable.
 
10225
    # Also find C++ and __fastcall symbols from MSVC++,
 
10226
    # which start with @ or ?.
 
10227
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
10228
"     {last_section=section; section=\$ 3};"\
 
10229
"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
 
10230
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
10231
"     \$ 0!~/External *\|/{next};"\
 
10232
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
10233
"     {if(hide[section]) next};"\
 
10234
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
10235
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
10236
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
10237
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
10238
"     ' prfx=^$ac_symprfx"
 
10239
  else
 
10240
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
10241
  fi
 
10242
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
 
10243
 
 
10244
  # Check to see that the pipe works correctly.
 
10245
  pipe_works=no
 
10246
 
 
10247
  rm -f conftest*
 
10248
  cat > conftest.$ac_ext <<_LT_EOF
 
10249
#ifdef __cplusplus
 
10250
extern "C" {
 
10251
#endif
 
10252
char nm_test_var;
 
10253
void nm_test_func(void);
 
10254
void nm_test_func(void){}
 
10255
#ifdef __cplusplus
 
10256
}
 
10257
#endif
 
10258
int main(){nm_test_var='a';nm_test_func();return(0);}
 
10259
_LT_EOF
 
10260
 
 
10261
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
10262
  (eval $ac_compile) 2>&5
 
10263
  ac_status=$?
 
10264
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10265
  test $ac_status = 0; }; then
 
10266
    # Now try to grab the symbols.
 
10267
    nlist=conftest.nm
 
10268
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 
10269
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
 
10270
  ac_status=$?
 
10271
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10272
  test $ac_status = 0; } && test -s "$nlist"; then
 
10273
      # Try sorting and uniquifying the output.
 
10274
      if sort "$nlist" | uniq > "$nlist"T; then
 
10275
        mv -f "$nlist"T "$nlist"
 
10276
      else
 
10277
        rm -f "$nlist"T
 
10278
      fi
 
10279
 
 
10280
      # Make sure that we snagged all the symbols we need.
 
10281
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
10282
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
10283
          cat <<_LT_EOF > conftest.$ac_ext
 
10284
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 
10285
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 
10286
/* DATA imports from DLLs on WIN32 con't be const, because runtime
 
10287
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 
10288
# define LT_DLSYM_CONST
 
10289
#elif defined(__osf__)
 
10290
/* This system does not cope well with relocations in const data.  */
 
10291
# define LT_DLSYM_CONST
 
10292
#else
 
10293
# define LT_DLSYM_CONST const
 
10294
#endif
 
10295
 
 
10296
#ifdef __cplusplus
 
10297
extern "C" {
 
10298
#endif
 
10299
 
 
10300
_LT_EOF
 
10301
          # Now generate the symbol file.
 
10302
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
10303
 
 
10304
          cat <<_LT_EOF >> conftest.$ac_ext
 
10305
 
 
10306
/* The mapping between symbol names and symbols.  */
 
10307
LT_DLSYM_CONST struct {
 
10308
  const char *name;
 
10309
  void       *address;
 
10310
}
 
10311
lt__PROGRAM__LTX_preloaded_symbols[] =
 
10312
{
 
10313
  { "@PROGRAM@", (void *) 0 },
 
10314
_LT_EOF
 
10315
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
10316
          cat <<\_LT_EOF >> conftest.$ac_ext
 
10317
  {0, (void *) 0}
 
10318
};
 
10319
 
 
10320
/* This works around a problem in FreeBSD linker */
 
10321
#ifdef FREEBSD_WORKAROUND
 
10322
static const void *lt_preloaded_setup() {
 
10323
  return lt__PROGRAM__LTX_preloaded_symbols;
 
10324
}
 
10325
#endif
 
10326
 
 
10327
#ifdef __cplusplus
 
10328
}
 
10329
#endif
 
10330
_LT_EOF
 
10331
          # Now try linking the two files.
 
10332
          mv conftest.$ac_objext conftstm.$ac_objext
 
10333
          lt_globsym_save_LIBS=$LIBS
 
10334
          lt_globsym_save_CFLAGS=$CFLAGS
 
10335
          LIBS="conftstm.$ac_objext"
 
10336
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
 
10337
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
10338
  (eval $ac_link) 2>&5
 
10339
  ac_status=$?
 
10340
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10341
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
 
10342
            pipe_works=yes
 
10343
          fi
 
10344
          LIBS=$lt_globsym_save_LIBS
 
10345
          CFLAGS=$lt_globsym_save_CFLAGS
 
10346
        else
 
10347
          echo "cannot find nm_test_func in $nlist" >&5
 
10348
        fi
 
10349
      else
 
10350
        echo "cannot find nm_test_var in $nlist" >&5
 
10351
      fi
 
10352
    else
 
10353
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
 
10354
    fi
 
10355
  else
 
10356
    echo "$progname: failed program was:" >&5
 
10357
    cat conftest.$ac_ext >&5
 
10358
  fi
 
10359
  rm -rf conftest* conftst*
 
10360
 
 
10361
  # Do not use the global_symbol_pipe unless it works.
 
10362
  if test "$pipe_works" = yes; then
 
10363
    break
 
10364
  else
 
10365
    lt_cv_sys_global_symbol_pipe=
 
10366
  fi
 
10367
done
 
10368
 
 
10369
fi
 
10370
 
 
10371
if test -z "$lt_cv_sys_global_symbol_pipe"; then
 
10372
  lt_cv_sys_global_symbol_to_cdecl=
 
10373
fi
 
10374
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
 
10375
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
 
10376
$as_echo "failed" >&6; }
 
10377
else
 
10378
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
10379
$as_echo "ok" >&6; }
 
10380
fi
 
10381
 
 
10382
# Response file support.
 
10383
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
10384
  nm_file_list_spec='@'
 
10385
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 
10386
  nm_file_list_spec='@'
 
10387
fi
 
10388
 
 
10389
 
 
10390
 
 
10391
 
 
10392
 
 
10393
 
 
10394
 
 
10395
 
 
10396
 
 
10397
 
 
10398
 
 
10399
 
 
10400
 
 
10401
 
 
10402
 
 
10403
 
 
10404
 
 
10405
 
 
10406
 
 
10407
 
 
10408
 
 
10409
 
 
10410
 
 
10411
 
 
10412
 
 
10413
 
 
10414
 
 
10415
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 
10416
$as_echo_n "checking for sysroot... " >&6; }
 
10417
 
 
10418
# Check whether --with-sysroot was given.
 
10419
if test "${with_sysroot+set}" = set; then :
 
10420
  withval=$with_sysroot;
 
10421
else
 
10422
  with_sysroot=no
 
10423
fi
 
10424
 
 
10425
 
 
10426
lt_sysroot=
 
10427
case ${with_sysroot} in #(
 
10428
 yes)
 
10429
   if test "$GCC" = yes; then
 
10430
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 
10431
   fi
 
10432
   ;; #(
 
10433
 /*)
 
10434
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 
10435
   ;; #(
 
10436
 no|'')
 
10437
   ;; #(
 
10438
 *)
 
10439
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 
10440
$as_echo "${with_sysroot}" >&6; }
 
10441
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 
10442
   ;;
 
10443
esac
 
10444
 
 
10445
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 
10446
$as_echo "${lt_sysroot:-no}" >&6; }
 
10447
 
 
10448
 
 
10449
 
 
10450
 
 
10451
 
 
10452
# Check whether --enable-libtool-lock was given.
 
10453
if test "${enable_libtool_lock+set}" = set; then :
 
10454
  enableval=$enable_libtool_lock;
 
10455
fi
 
10456
 
 
10457
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
10458
 
 
10459
# Some flags need to be propagated to the compiler or linker for good
 
10460
# libtool support.
 
10461
case $host in
 
10462
ia64-*-hpux*)
 
10463
  # Find out which ABI we are using.
 
10464
  echo 'int i;' > conftest.$ac_ext
 
10465
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
10466
  (eval $ac_compile) 2>&5
 
10467
  ac_status=$?
 
10468
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10469
  test $ac_status = 0; }; then
 
10470
    case `/usr/bin/file conftest.$ac_objext` in
 
10471
      *ELF-32*)
 
10472
        HPUX_IA64_MODE="32"
 
10473
        ;;
 
10474
      *ELF-64*)
 
10475
        HPUX_IA64_MODE="64"
 
10476
        ;;
 
10477
    esac
 
10478
  fi
 
10479
  rm -rf conftest*
 
10480
  ;;
 
10481
*-*-irix6*)
 
10482
  # Find out which ABI we are using.
 
10483
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
 
10484
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
10485
  (eval $ac_compile) 2>&5
 
10486
  ac_status=$?
 
10487
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10488
  test $ac_status = 0; }; then
 
10489
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
10490
      case `/usr/bin/file conftest.$ac_objext` in
 
10491
        *32-bit*)
 
10492
          LD="${LD-ld} -melf32bsmip"
 
10493
          ;;
 
10494
        *N32*)
 
10495
          LD="${LD-ld} -melf32bmipn32"
 
10496
          ;;
 
10497
        *64-bit*)
 
10498
          LD="${LD-ld} -melf64bmip"
 
10499
        ;;
 
10500
      esac
 
10501
    else
 
10502
      case `/usr/bin/file conftest.$ac_objext` in
 
10503
        *32-bit*)
 
10504
          LD="${LD-ld} -32"
 
10505
          ;;
 
10506
        *N32*)
 
10507
          LD="${LD-ld} -n32"
 
10508
          ;;
 
10509
        *64-bit*)
 
10510
          LD="${LD-ld} -64"
 
10511
          ;;
 
10512
      esac
 
10513
    fi
 
10514
  fi
 
10515
  rm -rf conftest*
 
10516
  ;;
 
10517
 
 
10518
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
10519
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
10520
  # Find out which ABI we are using.
 
10521
  echo 'int i;' > conftest.$ac_ext
 
10522
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
10523
  (eval $ac_compile) 2>&5
 
10524
  ac_status=$?
 
10525
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10526
  test $ac_status = 0; }; then
 
10527
    case `/usr/bin/file conftest.o` in
 
10528
      *32-bit*)
 
10529
        case $host in
 
10530
          x86_64-*kfreebsd*-gnu)
 
10531
            LD="${LD-ld} -m elf_i386_fbsd"
 
10532
            ;;
 
10533
          x86_64-*linux*)
 
10534
            LD="${LD-ld} -m elf_i386"
 
10535
            ;;
 
10536
          ppc64-*linux*|powerpc64-*linux*)
 
10537
            LD="${LD-ld} -m elf32ppclinux"
 
10538
            ;;
 
10539
          s390x-*linux*)
 
10540
            LD="${LD-ld} -m elf_s390"
 
10541
            ;;
 
10542
          sparc64-*linux*)
 
10543
            LD="${LD-ld} -m elf32_sparc"
 
10544
            ;;
 
10545
        esac
 
10546
        ;;
 
10547
      *64-bit*)
 
10548
        case $host in
 
10549
          x86_64-*kfreebsd*-gnu)
 
10550
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
10551
            ;;
 
10552
          x86_64-*linux*)
 
10553
            LD="${LD-ld} -m elf_x86_64"
 
10554
            ;;
 
10555
          ppc*-*linux*|powerpc*-*linux*)
 
10556
            LD="${LD-ld} -m elf64ppc"
 
10557
            ;;
 
10558
          s390*-*linux*|s390*-*tpf*)
 
10559
            LD="${LD-ld} -m elf64_s390"
 
10560
            ;;
 
10561
          sparc*-*linux*)
 
10562
            LD="${LD-ld} -m elf64_sparc"
 
10563
            ;;
 
10564
        esac
 
10565
        ;;
 
10566
    esac
 
10567
  fi
 
10568
  rm -rf conftest*
 
10569
  ;;
 
10570
 
 
10571
*-*-sco3.2v5*)
 
10572
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
10573
  SAVE_CFLAGS="$CFLAGS"
 
10574
  CFLAGS="$CFLAGS -belf"
 
10575
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 
10576
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
10577
if ${lt_cv_cc_needs_belf+:} false; then :
 
10578
  $as_echo_n "(cached) " >&6
 
10579
else
 
10580
  ac_ext=c
 
10581
ac_cpp='$CPP $CPPFLAGS'
 
10582
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
10583
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
10584
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
10585
 
 
10586
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10587
/* end confdefs.h.  */
 
10588
 
 
10589
int
 
10590
main ()
 
10591
{
 
10592
 
 
10593
  ;
 
10594
  return 0;
 
10595
}
 
10596
_ACEOF
 
10597
if ac_fn_c_try_link "$LINENO"; then :
 
10598
  lt_cv_cc_needs_belf=yes
 
10599
else
 
10600
  lt_cv_cc_needs_belf=no
 
10601
fi
 
10602
rm -f core conftest.err conftest.$ac_objext \
 
10603
    conftest$ac_exeext conftest.$ac_ext
 
10604
     ac_ext=c
 
10605
ac_cpp='$CPP $CPPFLAGS'
 
10606
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
10607
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
10608
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
10609
 
 
10610
fi
 
10611
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
 
10612
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
10613
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
10614
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
10615
    CFLAGS="$SAVE_CFLAGS"
 
10616
  fi
 
10617
  ;;
 
10618
*-*solaris*)
 
10619
  # Find out which ABI we are using.
 
10620
  echo 'int i;' > conftest.$ac_ext
 
10621
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
10622
  (eval $ac_compile) 2>&5
 
10623
  ac_status=$?
 
10624
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10625
  test $ac_status = 0; }; then
 
10626
    case `/usr/bin/file conftest.o` in
 
10627
    *64-bit*)
 
10628
      case $lt_cv_prog_gnu_ld in
 
10629
      yes*)
 
10630
        case $host in
 
10631
        i?86-*-solaris*)
 
10632
          LD="${LD-ld} -m elf_x86_64"
 
10633
          ;;
 
10634
        sparc*-*-solaris*)
 
10635
          LD="${LD-ld} -m elf64_sparc"
 
10636
          ;;
 
10637
        esac
 
10638
        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
 
10639
        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
 
10640
          LD="${LD-ld}_sol2"
 
10641
        fi
 
10642
        ;;
 
10643
      *)
 
10644
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
10645
          LD="${LD-ld} -64"
 
10646
        fi
 
10647
        ;;
 
10648
      esac
 
10649
      ;;
 
10650
    esac
 
10651
  fi
 
10652
  rm -rf conftest*
 
10653
  ;;
 
10654
esac
 
10655
 
 
10656
need_locks="$enable_libtool_lock"
 
10657
 
 
10658
if test -n "$ac_tool_prefix"; then
 
10659
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 
10660
set dummy ${ac_tool_prefix}mt; ac_word=$2
 
10661
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
10662
$as_echo_n "checking for $ac_word... " >&6; }
 
10663
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 
10664
  $as_echo_n "(cached) " >&6
 
10665
else
 
10666
  if test -n "$MANIFEST_TOOL"; then
 
10667
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 
10668
else
 
10669
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
10670
for as_dir in $PATH
 
10671
do
 
10672
  IFS=$as_save_IFS
 
10673
  test -z "$as_dir" && as_dir=.
 
10674
    for ac_exec_ext in '' $ac_executable_extensions; do
 
10675
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
10676
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 
10677
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10678
    break 2
 
10679
  fi
 
10680
done
 
10681
  done
 
10682
IFS=$as_save_IFS
 
10683
 
 
10684
fi
 
10685
fi
 
10686
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 
10687
if test -n "$MANIFEST_TOOL"; then
 
10688
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 
10689
$as_echo "$MANIFEST_TOOL" >&6; }
 
10690
else
 
10691
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10692
$as_echo "no" >&6; }
 
10693
fi
 
10694
 
 
10695
 
 
10696
fi
 
10697
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 
10698
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 
10699
  # Extract the first word of "mt", so it can be a program name with args.
 
10700
set dummy mt; ac_word=$2
 
10701
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
10702
$as_echo_n "checking for $ac_word... " >&6; }
 
10703
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 
10704
  $as_echo_n "(cached) " >&6
 
10705
else
 
10706
  if test -n "$ac_ct_MANIFEST_TOOL"; then
 
10707
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 
10708
else
 
10709
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
10710
for as_dir in $PATH
 
10711
do
 
10712
  IFS=$as_save_IFS
 
10713
  test -z "$as_dir" && as_dir=.
 
10714
    for ac_exec_ext in '' $ac_executable_extensions; do
 
10715
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
10716
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 
10717
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10718
    break 2
 
10719
  fi
 
10720
done
 
10721
  done
 
10722
IFS=$as_save_IFS
 
10723
 
 
10724
fi
 
10725
fi
 
10726
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 
10727
if test -n "$ac_ct_MANIFEST_TOOL"; then
 
10728
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 
10729
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 
10730
else
 
10731
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10732
$as_echo "no" >&6; }
 
10733
fi
 
10734
 
 
10735
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 
10736
    MANIFEST_TOOL=":"
 
10737
  else
 
10738
    case $cross_compiling:$ac_tool_warned in
 
10739
yes:)
 
10740
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
10741
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
10742
ac_tool_warned=yes ;;
 
10743
esac
 
10744
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 
10745
  fi
 
10746
else
 
10747
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 
10748
fi
 
10749
 
 
10750
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 
10751
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 
10752
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 
10753
if ${lt_cv_path_mainfest_tool+:} false; then :
 
10754
  $as_echo_n "(cached) " >&6
 
10755
else
 
10756
  lt_cv_path_mainfest_tool=no
 
10757
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 
10758
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 
10759
  cat conftest.err >&5
 
10760
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 
10761
    lt_cv_path_mainfest_tool=yes
 
10762
  fi
 
10763
  rm -f conftest*
 
10764
fi
 
10765
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 
10766
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 
10767
if test "x$lt_cv_path_mainfest_tool" != xyes; then
 
10768
  MANIFEST_TOOL=:
 
10769
fi
 
10770
 
 
10771
 
 
10772
 
 
10773
 
 
10774
 
 
10775
 
 
10776
  case $host_os in
 
10777
    rhapsody* | darwin*)
 
10778
    if test -n "$ac_tool_prefix"; then
 
10779
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
10780
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
10781
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
10782
$as_echo_n "checking for $ac_word... " >&6; }
 
10783
if ${ac_cv_prog_DSYMUTIL+:} false; then :
 
10784
  $as_echo_n "(cached) " >&6
 
10785
else
 
10786
  if test -n "$DSYMUTIL"; then
 
10787
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
10788
else
 
10789
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
10790
for as_dir in $PATH
 
10791
do
 
10792
  IFS=$as_save_IFS
 
10793
  test -z "$as_dir" && as_dir=.
 
10794
    for ac_exec_ext in '' $ac_executable_extensions; do
 
10795
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
10796
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
10797
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10798
    break 2
 
10799
  fi
 
10800
done
 
10801
  done
 
10802
IFS=$as_save_IFS
 
10803
 
 
10804
fi
 
10805
fi
 
10806
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
10807
if test -n "$DSYMUTIL"; then
 
10808
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
 
10809
$as_echo "$DSYMUTIL" >&6; }
 
10810
else
 
10811
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10812
$as_echo "no" >&6; }
 
10813
fi
 
10814
 
 
10815
 
 
10816
fi
 
10817
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
10818
  ac_ct_DSYMUTIL=$DSYMUTIL
 
10819
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
10820
set dummy dsymutil; ac_word=$2
 
10821
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
10822
$as_echo_n "checking for $ac_word... " >&6; }
 
10823
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
 
10824
  $as_echo_n "(cached) " >&6
 
10825
else
 
10826
  if test -n "$ac_ct_DSYMUTIL"; then
 
10827
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
10828
else
 
10829
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
10830
for as_dir in $PATH
 
10831
do
 
10832
  IFS=$as_save_IFS
 
10833
  test -z "$as_dir" && as_dir=.
 
10834
    for ac_exec_ext in '' $ac_executable_extensions; do
 
10835
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
10836
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
10837
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10838
    break 2
 
10839
  fi
 
10840
done
 
10841
  done
 
10842
IFS=$as_save_IFS
 
10843
 
 
10844
fi
 
10845
fi
 
10846
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
10847
if test -n "$ac_ct_DSYMUTIL"; then
 
10848
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
 
10849
$as_echo "$ac_ct_DSYMUTIL" >&6; }
 
10850
else
 
10851
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10852
$as_echo "no" >&6; }
 
10853
fi
 
10854
 
 
10855
  if test "x$ac_ct_DSYMUTIL" = x; then
 
10856
    DSYMUTIL=":"
 
10857
  else
 
10858
    case $cross_compiling:$ac_tool_warned in
 
10859
yes:)
 
10860
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
10861
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
10862
ac_tool_warned=yes ;;
 
10863
esac
 
10864
    DSYMUTIL=$ac_ct_DSYMUTIL
 
10865
  fi
 
10866
else
 
10867
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
10868
fi
 
10869
 
 
10870
    if test -n "$ac_tool_prefix"; then
 
10871
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
10872
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
10873
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
10874
$as_echo_n "checking for $ac_word... " >&6; }
 
10875
if ${ac_cv_prog_NMEDIT+:} false; then :
 
10876
  $as_echo_n "(cached) " >&6
 
10877
else
 
10878
  if test -n "$NMEDIT"; then
 
10879
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
10880
else
 
10881
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
10882
for as_dir in $PATH
 
10883
do
 
10884
  IFS=$as_save_IFS
 
10885
  test -z "$as_dir" && as_dir=.
 
10886
    for ac_exec_ext in '' $ac_executable_extensions; do
 
10887
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
10888
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
10889
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10890
    break 2
 
10891
  fi
 
10892
done
 
10893
  done
 
10894
IFS=$as_save_IFS
 
10895
 
 
10896
fi
 
10897
fi
 
10898
NMEDIT=$ac_cv_prog_NMEDIT
 
10899
if test -n "$NMEDIT"; then
 
10900
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
 
10901
$as_echo "$NMEDIT" >&6; }
 
10902
else
 
10903
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10904
$as_echo "no" >&6; }
 
10905
fi
 
10906
 
 
10907
 
 
10908
fi
 
10909
if test -z "$ac_cv_prog_NMEDIT"; then
 
10910
  ac_ct_NMEDIT=$NMEDIT
 
10911
  # Extract the first word of "nmedit", so it can be a program name with args.
 
10912
set dummy nmedit; ac_word=$2
 
10913
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
10914
$as_echo_n "checking for $ac_word... " >&6; }
 
10915
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
 
10916
  $as_echo_n "(cached) " >&6
 
10917
else
 
10918
  if test -n "$ac_ct_NMEDIT"; then
 
10919
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
10920
else
 
10921
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
10922
for as_dir in $PATH
 
10923
do
 
10924
  IFS=$as_save_IFS
 
10925
  test -z "$as_dir" && as_dir=.
 
10926
    for ac_exec_ext in '' $ac_executable_extensions; do
 
10927
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
10928
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
10929
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10930
    break 2
 
10931
  fi
 
10932
done
 
10933
  done
 
10934
IFS=$as_save_IFS
 
10935
 
 
10936
fi
 
10937
fi
 
10938
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
10939
if test -n "$ac_ct_NMEDIT"; then
 
10940
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
 
10941
$as_echo "$ac_ct_NMEDIT" >&6; }
 
10942
else
 
10943
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10944
$as_echo "no" >&6; }
 
10945
fi
 
10946
 
 
10947
  if test "x$ac_ct_NMEDIT" = x; then
 
10948
    NMEDIT=":"
 
10949
  else
 
10950
    case $cross_compiling:$ac_tool_warned in
 
10951
yes:)
 
10952
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
10953
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
10954
ac_tool_warned=yes ;;
 
10955
esac
 
10956
    NMEDIT=$ac_ct_NMEDIT
 
10957
  fi
 
10958
else
 
10959
  NMEDIT="$ac_cv_prog_NMEDIT"
 
10960
fi
 
10961
 
 
10962
    if test -n "$ac_tool_prefix"; then
 
10963
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
10964
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
10965
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
10966
$as_echo_n "checking for $ac_word... " >&6; }
 
10967
if ${ac_cv_prog_LIPO+:} false; then :
 
10968
  $as_echo_n "(cached) " >&6
 
10969
else
 
10970
  if test -n "$LIPO"; then
 
10971
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
10972
else
 
10973
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
10974
for as_dir in $PATH
 
10975
do
 
10976
  IFS=$as_save_IFS
 
10977
  test -z "$as_dir" && as_dir=.
 
10978
    for ac_exec_ext in '' $ac_executable_extensions; do
 
10979
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
10980
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
10981
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10982
    break 2
 
10983
  fi
 
10984
done
 
10985
  done
 
10986
IFS=$as_save_IFS
 
10987
 
 
10988
fi
 
10989
fi
 
10990
LIPO=$ac_cv_prog_LIPO
 
10991
if test -n "$LIPO"; then
 
10992
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
 
10993
$as_echo "$LIPO" >&6; }
 
10994
else
 
10995
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10996
$as_echo "no" >&6; }
 
10997
fi
 
10998
 
 
10999
 
 
11000
fi
 
11001
if test -z "$ac_cv_prog_LIPO"; then
 
11002
  ac_ct_LIPO=$LIPO
 
11003
  # Extract the first word of "lipo", so it can be a program name with args.
 
11004
set dummy lipo; ac_word=$2
 
11005
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11006
$as_echo_n "checking for $ac_word... " >&6; }
 
11007
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
 
11008
  $as_echo_n "(cached) " >&6
 
11009
else
 
11010
  if test -n "$ac_ct_LIPO"; then
 
11011
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
11012
else
 
11013
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11014
for as_dir in $PATH
 
11015
do
 
11016
  IFS=$as_save_IFS
 
11017
  test -z "$as_dir" && as_dir=.
 
11018
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11019
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
11020
    ac_cv_prog_ac_ct_LIPO="lipo"
 
11021
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11022
    break 2
 
11023
  fi
 
11024
done
 
11025
  done
 
11026
IFS=$as_save_IFS
 
11027
 
 
11028
fi
 
11029
fi
 
11030
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
11031
if test -n "$ac_ct_LIPO"; then
 
11032
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
 
11033
$as_echo "$ac_ct_LIPO" >&6; }
 
11034
else
 
11035
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11036
$as_echo "no" >&6; }
 
11037
fi
 
11038
 
 
11039
  if test "x$ac_ct_LIPO" = x; then
 
11040
    LIPO=":"
 
11041
  else
 
11042
    case $cross_compiling:$ac_tool_warned in
 
11043
yes:)
 
11044
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
11045
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
11046
ac_tool_warned=yes ;;
 
11047
esac
 
11048
    LIPO=$ac_ct_LIPO
 
11049
  fi
 
11050
else
 
11051
  LIPO="$ac_cv_prog_LIPO"
 
11052
fi
 
11053
 
 
11054
    if test -n "$ac_tool_prefix"; then
 
11055
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
11056
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
11057
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11058
$as_echo_n "checking for $ac_word... " >&6; }
 
11059
if ${ac_cv_prog_OTOOL+:} false; then :
 
11060
  $as_echo_n "(cached) " >&6
 
11061
else
 
11062
  if test -n "$OTOOL"; then
 
11063
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
11064
else
 
11065
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11066
for as_dir in $PATH
 
11067
do
 
11068
  IFS=$as_save_IFS
 
11069
  test -z "$as_dir" && as_dir=.
 
11070
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11071
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
11072
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
11073
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11074
    break 2
 
11075
  fi
 
11076
done
 
11077
  done
 
11078
IFS=$as_save_IFS
 
11079
 
 
11080
fi
 
11081
fi
 
11082
OTOOL=$ac_cv_prog_OTOOL
 
11083
if test -n "$OTOOL"; then
 
11084
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
 
11085
$as_echo "$OTOOL" >&6; }
 
11086
else
 
11087
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11088
$as_echo "no" >&6; }
 
11089
fi
 
11090
 
 
11091
 
 
11092
fi
 
11093
if test -z "$ac_cv_prog_OTOOL"; then
 
11094
  ac_ct_OTOOL=$OTOOL
 
11095
  # Extract the first word of "otool", so it can be a program name with args.
 
11096
set dummy otool; ac_word=$2
 
11097
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11098
$as_echo_n "checking for $ac_word... " >&6; }
 
11099
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
 
11100
  $as_echo_n "(cached) " >&6
 
11101
else
 
11102
  if test -n "$ac_ct_OTOOL"; then
 
11103
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
11104
else
 
11105
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11106
for as_dir in $PATH
 
11107
do
 
11108
  IFS=$as_save_IFS
 
11109
  test -z "$as_dir" && as_dir=.
 
11110
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11111
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
11112
    ac_cv_prog_ac_ct_OTOOL="otool"
 
11113
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11114
    break 2
 
11115
  fi
 
11116
done
 
11117
  done
 
11118
IFS=$as_save_IFS
 
11119
 
 
11120
fi
 
11121
fi
 
11122
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
11123
if test -n "$ac_ct_OTOOL"; then
 
11124
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
 
11125
$as_echo "$ac_ct_OTOOL" >&6; }
 
11126
else
 
11127
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11128
$as_echo "no" >&6; }
 
11129
fi
 
11130
 
 
11131
  if test "x$ac_ct_OTOOL" = x; then
 
11132
    OTOOL=":"
 
11133
  else
 
11134
    case $cross_compiling:$ac_tool_warned in
 
11135
yes:)
 
11136
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
11137
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
11138
ac_tool_warned=yes ;;
 
11139
esac
 
11140
    OTOOL=$ac_ct_OTOOL
 
11141
  fi
 
11142
else
 
11143
  OTOOL="$ac_cv_prog_OTOOL"
 
11144
fi
 
11145
 
 
11146
    if test -n "$ac_tool_prefix"; then
 
11147
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
11148
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
11149
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11150
$as_echo_n "checking for $ac_word... " >&6; }
 
11151
if ${ac_cv_prog_OTOOL64+:} false; then :
 
11152
  $as_echo_n "(cached) " >&6
 
11153
else
 
11154
  if test -n "$OTOOL64"; then
 
11155
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
11156
else
 
11157
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11158
for as_dir in $PATH
 
11159
do
 
11160
  IFS=$as_save_IFS
 
11161
  test -z "$as_dir" && as_dir=.
 
11162
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11163
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
11164
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
11165
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11166
    break 2
 
11167
  fi
 
11168
done
 
11169
  done
 
11170
IFS=$as_save_IFS
 
11171
 
 
11172
fi
 
11173
fi
 
11174
OTOOL64=$ac_cv_prog_OTOOL64
 
11175
if test -n "$OTOOL64"; then
 
11176
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
 
11177
$as_echo "$OTOOL64" >&6; }
 
11178
else
 
11179
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11180
$as_echo "no" >&6; }
 
11181
fi
 
11182
 
 
11183
 
 
11184
fi
 
11185
if test -z "$ac_cv_prog_OTOOL64"; then
 
11186
  ac_ct_OTOOL64=$OTOOL64
 
11187
  # Extract the first word of "otool64", so it can be a program name with args.
 
11188
set dummy otool64; ac_word=$2
 
11189
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11190
$as_echo_n "checking for $ac_word... " >&6; }
 
11191
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
 
11192
  $as_echo_n "(cached) " >&6
 
11193
else
 
11194
  if test -n "$ac_ct_OTOOL64"; then
 
11195
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
11196
else
 
11197
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11198
for as_dir in $PATH
 
11199
do
 
11200
  IFS=$as_save_IFS
 
11201
  test -z "$as_dir" && as_dir=.
 
11202
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11203
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
11204
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
11205
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11206
    break 2
 
11207
  fi
 
11208
done
 
11209
  done
 
11210
IFS=$as_save_IFS
 
11211
 
 
11212
fi
 
11213
fi
 
11214
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
11215
if test -n "$ac_ct_OTOOL64"; then
 
11216
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
 
11217
$as_echo "$ac_ct_OTOOL64" >&6; }
 
11218
else
 
11219
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11220
$as_echo "no" >&6; }
 
11221
fi
 
11222
 
 
11223
  if test "x$ac_ct_OTOOL64" = x; then
 
11224
    OTOOL64=":"
 
11225
  else
 
11226
    case $cross_compiling:$ac_tool_warned in
 
11227
yes:)
 
11228
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
11229
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
11230
ac_tool_warned=yes ;;
 
11231
esac
 
11232
    OTOOL64=$ac_ct_OTOOL64
 
11233
  fi
 
11234
else
 
11235
  OTOOL64="$ac_cv_prog_OTOOL64"
 
11236
fi
 
11237
 
 
11238
 
 
11239
 
 
11240
 
 
11241
 
 
11242
 
 
11243
 
 
11244
 
 
11245
 
 
11246
 
 
11247
 
 
11248
 
 
11249
 
 
11250
 
 
11251
 
 
11252
 
 
11253
 
 
11254
 
 
11255
 
 
11256
 
 
11257
 
 
11258
 
 
11259
 
 
11260
 
 
11261
 
 
11262
 
 
11263
 
 
11264
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
 
11265
$as_echo_n "checking for -single_module linker flag... " >&6; }
 
11266
if ${lt_cv_apple_cc_single_mod+:} false; then :
 
11267
  $as_echo_n "(cached) " >&6
 
11268
else
 
11269
  lt_cv_apple_cc_single_mod=no
 
11270
      if test -z "${LT_MULTI_MODULE}"; then
 
11271
        # By default we will add the -single_module flag. You can override
 
11272
        # by either setting the environment variable LT_MULTI_MODULE
 
11273
        # non-empty at configure time, or by adding -multi_module to the
 
11274
        # link flags.
 
11275
        rm -rf libconftest.dylib*
 
11276
        echo "int foo(void){return 1;}" > conftest.c
 
11277
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
11278
-dynamiclib -Wl,-single_module conftest.c" >&5
 
11279
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
11280
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
11281
        _lt_result=$?
 
11282
        # If there is a non-empty error log, and "single_module"
 
11283
        # appears in it, assume the flag caused a linker warning
 
11284
        if test -s conftest.err && $GREP single_module conftest.err; then
 
11285
          cat conftest.err >&5
 
11286
        # Otherwise, if the output was created with a 0 exit code from
 
11287
        # the compiler, it worked.
 
11288
        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
 
11289
          lt_cv_apple_cc_single_mod=yes
 
11290
        else
 
11291
          cat conftest.err >&5
 
11292
        fi
 
11293
        rm -rf libconftest.dylib*
 
11294
        rm -f conftest.*
 
11295
      fi
 
11296
fi
 
11297
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
 
11298
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
11299
 
 
11300
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 
11301
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 
11302
if ${lt_cv_ld_exported_symbols_list+:} false; then :
 
11303
  $as_echo_n "(cached) " >&6
 
11304
else
 
11305
  lt_cv_ld_exported_symbols_list=no
 
11306
      save_LDFLAGS=$LDFLAGS
 
11307
      echo "_main" > conftest.sym
 
11308
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
11309
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11310
/* end confdefs.h.  */
 
11311
 
 
11312
int
 
11313
main ()
 
11314
{
 
11315
 
 
11316
  ;
 
11317
  return 0;
 
11318
}
 
11319
_ACEOF
 
11320
if ac_fn_c_try_link "$LINENO"; then :
 
11321
  lt_cv_ld_exported_symbols_list=yes
 
11322
else
 
11323
  lt_cv_ld_exported_symbols_list=no
 
11324
fi
 
11325
rm -f core conftest.err conftest.$ac_objext \
 
11326
    conftest$ac_exeext conftest.$ac_ext
 
11327
        LDFLAGS="$save_LDFLAGS"
 
11328
 
 
11329
fi
 
11330
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
 
11331
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
11332
 
 
11333
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 
11334
$as_echo_n "checking for -force_load linker flag... " >&6; }
 
11335
if ${lt_cv_ld_force_load+:} false; then :
 
11336
  $as_echo_n "(cached) " >&6
 
11337
else
 
11338
  lt_cv_ld_force_load=no
 
11339
      cat > conftest.c << _LT_EOF
 
11340
int forced_loaded() { return 2;}
 
11341
_LT_EOF
 
11342
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 
11343
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 
11344
      echo "$AR cru libconftest.a conftest.o" >&5
 
11345
      $AR cru libconftest.a conftest.o 2>&5
 
11346
      echo "$RANLIB libconftest.a" >&5
 
11347
      $RANLIB libconftest.a 2>&5
 
11348
      cat > conftest.c << _LT_EOF
 
11349
int main() { return 0;}
 
11350
_LT_EOF
 
11351
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 
11352
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
11353
      _lt_result=$?
 
11354
      if test -s conftest.err && $GREP force_load conftest.err; then
 
11355
        cat conftest.err >&5
 
11356
      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
 
11357
        lt_cv_ld_force_load=yes
 
11358
      else
 
11359
        cat conftest.err >&5
 
11360
      fi
 
11361
        rm -f conftest.err libconftest.a conftest conftest.c
 
11362
        rm -rf conftest.dSYM
 
11363
 
 
11364
fi
 
11365
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 
11366
$as_echo "$lt_cv_ld_force_load" >&6; }
 
11367
    case $host_os in
 
11368
    rhapsody* | darwin1.[012])
 
11369
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
11370
    darwin1.*)
 
11371
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
11372
    darwin*) # darwin 5.x on
 
11373
      # if running on 10.5 or later, the deployment target defaults
 
11374
      # to the OS version, if on x86, and 10.4, the deployment
 
11375
      # target defaults to 10.4. Don't you love it?
 
11376
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
11377
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
11378
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
11379
        10.[012]*)
 
11380
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
11381
        10.*)
 
11382
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
11383
      esac
 
11384
    ;;
 
11385
  esac
 
11386
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
11387
      _lt_dar_single_mod='$single_module'
 
11388
    fi
 
11389
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
11390
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
11391
    else
 
11392
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
11393
    fi
 
11394
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
 
11395
      _lt_dsymutil='~$DSYMUTIL $lib || :'
 
11396
    else
 
11397
      _lt_dsymutil=
 
11398
    fi
 
11399
    ;;
 
11400
  esac
 
11401
 
 
11402
ac_ext=c
 
11403
ac_cpp='$CPP $CPPFLAGS'
 
11404
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
11405
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
11406
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
11407
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 
11408
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
11409
# On Suns, sometimes $CPP names a directory.
 
11410
if test -n "$CPP" && test -d "$CPP"; then
 
11411
  CPP=
 
11412
fi
 
11413
if test -z "$CPP"; then
 
11414
  if ${ac_cv_prog_CPP+:} false; then :
 
11415
  $as_echo_n "(cached) " >&6
 
11416
else
 
11417
      # Double quotes because CPP needs to be expanded
 
11418
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
11419
    do
 
11420
      ac_preproc_ok=false
 
11421
for ac_c_preproc_warn_flag in '' yes
 
11422
do
 
11423
  # Use a header file that comes with gcc, so configuring glibc
 
11424
  # with a fresh cross-compiler works.
 
11425
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
11426
  # <limits.h> exists even on freestanding compilers.
 
11427
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
11428
  # not just through cpp. "Syntax error" is here to catch this case.
 
11429
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11430
/* end confdefs.h.  */
 
11431
#ifdef __STDC__
 
11432
# include <limits.h>
 
11433
#else
 
11434
# include <assert.h>
 
11435
#endif
 
11436
                     Syntax error
 
11437
_ACEOF
 
11438
if ac_fn_c_try_cpp "$LINENO"; then :
 
11439
 
 
11440
else
 
11441
  # Broken: fails on valid input.
 
11442
continue
 
11443
fi
 
11444
rm -f conftest.err conftest.i conftest.$ac_ext
 
11445
 
 
11446
  # OK, works on sane cases.  Now check whether nonexistent headers
 
11447
  # can be detected and how.
 
11448
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11449
/* end confdefs.h.  */
 
11450
#include <ac_nonexistent.h>
 
11451
_ACEOF
 
11452
if ac_fn_c_try_cpp "$LINENO"; then :
 
11453
  # Broken: success on invalid input.
 
11454
continue
 
11455
else
 
11456
  # Passes both tests.
 
11457
ac_preproc_ok=:
 
11458
break
 
11459
fi
 
11460
rm -f conftest.err conftest.i conftest.$ac_ext
 
11461
 
 
11462
done
 
11463
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
11464
rm -f conftest.i conftest.err conftest.$ac_ext
 
11465
if $ac_preproc_ok; then :
 
11466
  break
 
11467
fi
 
11468
 
 
11469
    done
 
11470
    ac_cv_prog_CPP=$CPP
 
11471
 
 
11472
fi
 
11473
  CPP=$ac_cv_prog_CPP
 
11474
else
 
11475
  ac_cv_prog_CPP=$CPP
 
11476
fi
 
11477
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 
11478
$as_echo "$CPP" >&6; }
 
11479
ac_preproc_ok=false
 
11480
for ac_c_preproc_warn_flag in '' yes
 
11481
do
 
11482
  # Use a header file that comes with gcc, so configuring glibc
 
11483
  # with a fresh cross-compiler works.
 
11484
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
11485
  # <limits.h> exists even on freestanding compilers.
 
11486
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
11487
  # not just through cpp. "Syntax error" is here to catch this case.
 
11488
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11489
/* end confdefs.h.  */
 
11490
#ifdef __STDC__
 
11491
# include <limits.h>
 
11492
#else
 
11493
# include <assert.h>
 
11494
#endif
 
11495
                     Syntax error
 
11496
_ACEOF
 
11497
if ac_fn_c_try_cpp "$LINENO"; then :
 
11498
 
 
11499
else
 
11500
  # Broken: fails on valid input.
 
11501
continue
 
11502
fi
 
11503
rm -f conftest.err conftest.i conftest.$ac_ext
 
11504
 
 
11505
  # OK, works on sane cases.  Now check whether nonexistent headers
 
11506
  # can be detected and how.
 
11507
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11508
/* end confdefs.h.  */
 
11509
#include <ac_nonexistent.h>
 
11510
_ACEOF
 
11511
if ac_fn_c_try_cpp "$LINENO"; then :
 
11512
  # Broken: success on invalid input.
 
11513
continue
 
11514
else
 
11515
  # Passes both tests.
 
11516
ac_preproc_ok=:
 
11517
break
 
11518
fi
 
11519
rm -f conftest.err conftest.i conftest.$ac_ext
 
11520
 
 
11521
done
 
11522
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
11523
rm -f conftest.i conftest.err conftest.$ac_ext
 
11524
if $ac_preproc_ok; then :
 
11525
 
 
11526
else
 
11527
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
11528
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
11529
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
11530
See \`config.log' for more details" "$LINENO" 5; }
 
11531
fi
 
11532
 
 
11533
ac_ext=c
 
11534
ac_cpp='$CPP $CPPFLAGS'
 
11535
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
11536
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
11537
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
11538
 
 
11539
 
 
11540
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
11541
$as_echo_n "checking for ANSI C header files... " >&6; }
 
11542
if ${ac_cv_header_stdc+:} false; then :
 
11543
  $as_echo_n "(cached) " >&6
 
11544
else
 
11545
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11546
/* end confdefs.h.  */
 
11547
#include <stdlib.h>
 
11548
#include <stdarg.h>
 
11549
#include <string.h>
 
11550
#include <float.h>
 
11551
 
 
11552
int
 
11553
main ()
 
11554
{
 
11555
 
 
11556
  ;
 
11557
  return 0;
 
11558
}
 
11559
_ACEOF
 
11560
if ac_fn_c_try_compile "$LINENO"; then :
 
11561
  ac_cv_header_stdc=yes
 
11562
else
 
11563
  ac_cv_header_stdc=no
 
11564
fi
 
11565
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
11566
 
 
11567
if test $ac_cv_header_stdc = yes; then
 
11568
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
11569
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11570
/* end confdefs.h.  */
 
11571
#include <string.h>
 
11572
 
 
11573
_ACEOF
 
11574
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
11575
  $EGREP "memchr" >/dev/null 2>&1; then :
 
11576
 
 
11577
else
 
11578
  ac_cv_header_stdc=no
 
11579
fi
 
11580
rm -f conftest*
 
11581
 
 
11582
fi
 
11583
 
 
11584
if test $ac_cv_header_stdc = yes; then
 
11585
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
11586
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11587
/* end confdefs.h.  */
 
11588
#include <stdlib.h>
 
11589
 
 
11590
_ACEOF
 
11591
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
11592
  $EGREP "free" >/dev/null 2>&1; then :
 
11593
 
 
11594
else
 
11595
  ac_cv_header_stdc=no
 
11596
fi
 
11597
rm -f conftest*
 
11598
 
 
11599
fi
 
11600
 
 
11601
if test $ac_cv_header_stdc = yes; then
 
11602
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
11603
  if test "$cross_compiling" = yes; then :
 
11604
  :
 
11605
else
 
11606
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11607
/* end confdefs.h.  */
 
11608
#include <ctype.h>
 
11609
#include <stdlib.h>
 
11610
#if ((' ' & 0x0FF) == 0x020)
 
11611
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
11612
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
11613
#else
 
11614
# define ISLOWER(c) \
 
11615
                   (('a' <= (c) && (c) <= 'i') \
 
11616
                     || ('j' <= (c) && (c) <= 'r') \
 
11617
                     || ('s' <= (c) && (c) <= 'z'))
 
11618
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
11619
#endif
 
11620
 
 
11621
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
11622
int
 
11623
main ()
 
11624
{
 
11625
  int i;
 
11626
  for (i = 0; i < 256; i++)
 
11627
    if (XOR (islower (i), ISLOWER (i))
 
11628
        || toupper (i) != TOUPPER (i))
 
11629
      return 2;
 
11630
  return 0;
 
11631
}
 
11632
_ACEOF
 
11633
if ac_fn_c_try_run "$LINENO"; then :
 
11634
 
 
11635
else
 
11636
  ac_cv_header_stdc=no
 
11637
fi
 
11638
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
11639
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
11640
fi
 
11641
 
 
11642
fi
 
11643
fi
 
11644
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
11645
$as_echo "$ac_cv_header_stdc" >&6; }
 
11646
if test $ac_cv_header_stdc = yes; then
 
11647
 
 
11648
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
 
11649
 
 
11650
fi
 
11651
 
 
11652
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
11653
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
11654
                  inttypes.h stdint.h unistd.h
 
11655
do :
 
11656
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
11657
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
11658
"
 
11659
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
11660
  cat >>confdefs.h <<_ACEOF
 
11661
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
11662
_ACEOF
 
11663
 
 
11664
fi
 
11665
 
 
11666
done
 
11667
 
 
11668
 
 
11669
for ac_header in dlfcn.h
 
11670
do :
 
11671
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
11672
"
 
11673
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
 
11674
  cat >>confdefs.h <<_ACEOF
 
11675
#define HAVE_DLFCN_H 1
 
11676
_ACEOF
 
11677
 
 
11678
fi
 
11679
 
 
11680
done
 
11681
 
 
11682
 
 
11683
 
 
11684
 
 
11685
 
 
11686
# Set options
 
11687
# Check whether --enable-static was given.
 
11688
if test "${enable_static+set}" = set; then :
 
11689
  enableval=$enable_static; p=${PACKAGE-default}
 
11690
    case $enableval in
 
11691
    yes) enable_static=yes ;;
 
11692
    no) enable_static=no ;;
 
11693
    *)
 
11694
     enable_static=no
 
11695
      # Look at the argument we got.  We use all the common list separators.
 
11696
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
11697
      for pkg in $enableval; do
 
11698
        IFS="$lt_save_ifs"
 
11699
        if test "X$pkg" = "X$p"; then
 
11700
          enable_static=yes
 
11701
        fi
 
11702
      done
 
11703
      IFS="$lt_save_ifs"
 
11704
      ;;
 
11705
    esac
 
11706
else
 
11707
  enable_static=no
 
11708
fi
 
11709
 
 
11710
 
 
11711
 
 
11712
 
 
11713
 
 
11714
 
 
11715
 
 
11716
 
 
11717
 
 
11718
 
 
11719
        enable_dlopen=no
 
11720
 
 
11721
 
 
11722
  enable_win32_dll=no
 
11723
 
 
11724
 
 
11725
            # Check whether --enable-shared was given.
 
11726
if test "${enable_shared+set}" = set; then :
 
11727
  enableval=$enable_shared; p=${PACKAGE-default}
 
11728
    case $enableval in
 
11729
    yes) enable_shared=yes ;;
 
11730
    no) enable_shared=no ;;
 
11731
    *)
 
11732
      enable_shared=no
 
11733
      # Look at the argument we got.  We use all the common list separators.
 
11734
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
11735
      for pkg in $enableval; do
 
11736
        IFS="$lt_save_ifs"
 
11737
        if test "X$pkg" = "X$p"; then
 
11738
          enable_shared=yes
 
11739
        fi
 
11740
      done
 
11741
      IFS="$lt_save_ifs"
 
11742
      ;;
 
11743
    esac
 
11744
else
 
11745
  enable_shared=yes
 
11746
fi
 
11747
 
 
11748
 
 
11749
 
 
11750
 
 
11751
 
 
11752
 
 
11753
 
 
11754
 
 
11755
 
 
11756
 
 
11757
 
 
11758
# Check whether --with-pic was given.
 
11759
if test "${with_pic+set}" = set; then :
 
11760
  withval=$with_pic; lt_p=${PACKAGE-default}
 
11761
    case $withval in
 
11762
    yes|no) pic_mode=$withval ;;
 
11763
    *)
 
11764
      pic_mode=default
 
11765
      # Look at the argument we got.  We use all the common list separators.
 
11766
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
11767
      for lt_pkg in $withval; do
 
11768
        IFS="$lt_save_ifs"
 
11769
        if test "X$lt_pkg" = "X$lt_p"; then
 
11770
          pic_mode=yes
 
11771
        fi
 
11772
      done
 
11773
      IFS="$lt_save_ifs"
 
11774
      ;;
 
11775
    esac
 
11776
else
 
11777
  pic_mode=default
 
11778
fi
 
11779
 
 
11780
 
 
11781
test -z "$pic_mode" && pic_mode=default
 
11782
 
 
11783
 
 
11784
 
 
11785
 
 
11786
 
 
11787
 
 
11788
 
 
11789
  # Check whether --enable-fast-install was given.
 
11790
if test "${enable_fast_install+set}" = set; then :
 
11791
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
11792
    case $enableval in
 
11793
    yes) enable_fast_install=yes ;;
 
11794
    no) enable_fast_install=no ;;
 
11795
    *)
 
11796
      enable_fast_install=no
 
11797
      # Look at the argument we got.  We use all the common list separators.
 
11798
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
11799
      for pkg in $enableval; do
 
11800
        IFS="$lt_save_ifs"
 
11801
        if test "X$pkg" = "X$p"; then
 
11802
          enable_fast_install=yes
 
11803
        fi
 
11804
      done
 
11805
      IFS="$lt_save_ifs"
 
11806
      ;;
 
11807
    esac
 
11808
else
 
11809
  enable_fast_install=yes
 
11810
fi
 
11811
 
 
11812
 
 
11813
 
 
11814
 
 
11815
 
 
11816
 
 
11817
 
 
11818
 
 
11819
 
 
11820
 
 
11821
 
 
11822
# This can be used to rebuild libtool when needed
 
11823
LIBTOOL_DEPS="$ltmain"
 
11824
 
 
11825
# Always use our own libtool.
 
11826
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
11827
 
 
11828
 
 
11829
 
 
11830
 
 
11831
 
 
11832
 
 
11833
 
 
11834
 
 
11835
 
 
11836
 
 
11837
 
 
11838
 
 
11839
 
 
11840
 
 
11841
 
 
11842
 
 
11843
 
 
11844
 
 
11845
 
 
11846
 
 
11847
 
 
11848
 
 
11849
 
 
11850
 
 
11851
 
 
11852
 
 
11853
 
 
11854
 
 
11855
 
 
11856
 
 
11857
test -z "$LN_S" && LN_S="ln -s"
 
11858
 
 
11859
 
 
11860
 
 
11861
 
 
11862
 
 
11863
 
 
11864
 
 
11865
 
 
11866
 
 
11867
 
 
11868
 
 
11869
 
 
11870
 
 
11871
 
 
11872
if test -n "${ZSH_VERSION+set}" ; then
 
11873
   setopt NO_GLOB_SUBST
 
11874
fi
 
11875
 
 
11876
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 
11877
$as_echo_n "checking for objdir... " >&6; }
 
11878
if ${lt_cv_objdir+:} false; then :
 
11879
  $as_echo_n "(cached) " >&6
 
11880
else
 
11881
  rm -f .libs 2>/dev/null
 
11882
mkdir .libs 2>/dev/null
 
11883
if test -d .libs; then
 
11884
  lt_cv_objdir=.libs
 
11885
else
 
11886
  # MS-DOS does not allow filenames that begin with a dot.
 
11887
  lt_cv_objdir=_libs
 
11888
fi
 
11889
rmdir .libs 2>/dev/null
 
11890
fi
 
11891
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
 
11892
$as_echo "$lt_cv_objdir" >&6; }
 
11893
objdir=$lt_cv_objdir
 
11894
 
 
11895
 
 
11896
 
 
11897
 
 
11898
 
 
11899
cat >>confdefs.h <<_ACEOF
 
11900
#define LT_OBJDIR "$lt_cv_objdir/"
 
11901
_ACEOF
 
11902
 
 
11903
 
 
11904
 
 
11905
 
 
11906
case $host_os in
 
11907
aix3*)
 
11908
  # AIX sometimes has problems with the GCC collect2 program.  For some
 
11909
  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
11910
  # vanish in a puff of smoke.
 
11911
  if test "X${COLLECT_NAMES+set}" != Xset; then
 
11912
    COLLECT_NAMES=
 
11913
    export COLLECT_NAMES
 
11914
  fi
 
11915
  ;;
 
11916
esac
 
11917
 
 
11918
# Global variables:
 
11919
ofile=libtool
 
11920
can_build_shared=yes
 
11921
 
 
11922
# All known linkers require a `.a' archive for static linking (except MSVC,
 
11923
# which needs '.lib').
 
11924
libext=a
 
11925
 
 
11926
with_gnu_ld="$lt_cv_prog_gnu_ld"
 
11927
 
 
11928
old_CC="$CC"
 
11929
old_CFLAGS="$CFLAGS"
 
11930
 
 
11931
# Set sane defaults for various variables
 
11932
test -z "$CC" && CC=cc
 
11933
test -z "$LTCC" && LTCC=$CC
 
11934
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
11935
test -z "$LD" && LD=ld
 
11936
test -z "$ac_objext" && ac_objext=o
 
11937
 
 
11938
for cc_temp in $compiler""; do
 
11939
  case $cc_temp in
 
11940
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
11941
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
11942
    \-*) ;;
 
11943
    *) break;;
 
11944
  esac
 
11945
done
 
11946
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
 
11947
 
 
11948
 
 
11949
# Only perform the check for file, if the check method requires it
 
11950
test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
11951
case $deplibs_check_method in
 
11952
file_magic*)
 
11953
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
11954
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 
11955
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
11956
if ${lt_cv_path_MAGIC_CMD+:} false; then :
 
11957
  $as_echo_n "(cached) " >&6
 
11958
else
 
11959
  case $MAGIC_CMD in
 
11960
[\\/*] |  ?:[\\/]*)
 
11961
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
11962
  ;;
 
11963
*)
 
11964
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
11965
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
11966
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
11967
  for ac_dir in $ac_dummy; do
 
11968
    IFS="$lt_save_ifs"
 
11969
    test -z "$ac_dir" && ac_dir=.
 
11970
    if test -f $ac_dir/${ac_tool_prefix}file; then
 
11971
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
11972
      if test -n "$file_magic_test_file"; then
 
11973
        case $deplibs_check_method in
 
11974
        "file_magic "*)
 
11975
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
11976
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
11977
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
11978
            $EGREP "$file_magic_regex" > /dev/null; then
 
11979
            :
 
11980
          else
 
11981
            cat <<_LT_EOF 1>&2
 
11982
 
 
11983
*** Warning: the command libtool uses to detect shared libraries,
 
11984
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
11985
*** The result is that libtool may fail to recognize shared libraries
 
11986
*** as such.  This will affect the creation of libtool libraries that
 
11987
*** depend on shared libraries, but programs linked with such libtool
 
11988
*** libraries will work regardless of this problem.  Nevertheless, you
 
11989
*** may want to report the problem to your system manager and/or to
 
11990
*** bug-libtool@gnu.org
 
11991
 
 
11992
_LT_EOF
 
11993
          fi ;;
 
11994
        esac
 
11995
      fi
 
11996
      break
 
11997
    fi
 
11998
  done
 
11999
  IFS="$lt_save_ifs"
 
12000
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
12001
  ;;
 
12002
esac
 
12003
fi
 
12004
 
 
12005
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
12006
if test -n "$MAGIC_CMD"; then
 
12007
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
12008
$as_echo "$MAGIC_CMD" >&6; }
 
12009
else
 
12010
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12011
$as_echo "no" >&6; }
 
12012
fi
 
12013
 
 
12014
 
 
12015
 
 
12016
 
 
12017
 
 
12018
if test -z "$lt_cv_path_MAGIC_CMD"; then
 
12019
  if test -n "$ac_tool_prefix"; then
 
12020
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 
12021
$as_echo_n "checking for file... " >&6; }
 
12022
if ${lt_cv_path_MAGIC_CMD+:} false; then :
 
12023
  $as_echo_n "(cached) " >&6
 
12024
else
 
12025
  case $MAGIC_CMD in
 
12026
[\\/*] |  ?:[\\/]*)
 
12027
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
12028
  ;;
 
12029
*)
 
12030
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
12031
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
12032
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
12033
  for ac_dir in $ac_dummy; do
 
12034
    IFS="$lt_save_ifs"
 
12035
    test -z "$ac_dir" && ac_dir=.
 
12036
    if test -f $ac_dir/file; then
 
12037
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
12038
      if test -n "$file_magic_test_file"; then
 
12039
        case $deplibs_check_method in
 
12040
        "file_magic "*)
 
12041
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
12042
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
12043
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
12044
            $EGREP "$file_magic_regex" > /dev/null; then
 
12045
            :
 
12046
          else
 
12047
            cat <<_LT_EOF 1>&2
 
12048
 
 
12049
*** Warning: the command libtool uses to detect shared libraries,
 
12050
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
12051
*** The result is that libtool may fail to recognize shared libraries
 
12052
*** as such.  This will affect the creation of libtool libraries that
 
12053
*** depend on shared libraries, but programs linked with such libtool
 
12054
*** libraries will work regardless of this problem.  Nevertheless, you
 
12055
*** may want to report the problem to your system manager and/or to
 
12056
*** bug-libtool@gnu.org
 
12057
 
 
12058
_LT_EOF
 
12059
          fi ;;
 
12060
        esac
 
12061
      fi
 
12062
      break
 
12063
    fi
 
12064
  done
 
12065
  IFS="$lt_save_ifs"
 
12066
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
12067
  ;;
 
12068
esac
 
12069
fi
 
12070
 
 
12071
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
12072
if test -n "$MAGIC_CMD"; then
 
12073
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
12074
$as_echo "$MAGIC_CMD" >&6; }
 
12075
else
 
12076
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12077
$as_echo "no" >&6; }
 
12078
fi
 
12079
 
 
12080
 
 
12081
  else
 
12082
    MAGIC_CMD=:
 
12083
  fi
 
12084
fi
 
12085
 
 
12086
  fi
 
12087
  ;;
 
12088
esac
 
12089
 
 
12090
# Use C for the default configuration in the libtool script
 
12091
 
 
12092
lt_save_CC="$CC"
 
12093
ac_ext=c
 
12094
ac_cpp='$CPP $CPPFLAGS'
 
12095
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
12096
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
12097
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
12098
 
 
12099
 
 
12100
# Source file extension for C test sources.
 
12101
ac_ext=c
 
12102
 
 
12103
# Object file extension for compiled C test sources.
 
12104
objext=o
 
12105
objext=$objext
 
12106
 
 
12107
# Code to be used in simple compile tests
 
12108
lt_simple_compile_test_code="int some_variable = 0;"
 
12109
 
 
12110
# Code to be used in simple link tests
 
12111
lt_simple_link_test_code='int main(){return(0);}'
 
12112
 
 
12113
 
 
12114
 
 
12115
 
 
12116
 
 
12117
 
 
12118
 
 
12119
# If no C compiler was specified, use CC.
 
12120
LTCC=${LTCC-"$CC"}
 
12121
 
 
12122
# If no C compiler flags were specified, use CFLAGS.
 
12123
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
12124
 
 
12125
# Allow CC to be a program name with arguments.
 
12126
compiler=$CC
 
12127
 
 
12128
# Save the default compiler, since it gets overwritten when the other
 
12129
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
12130
compiler_DEFAULT=$CC
 
12131
 
 
12132
# save warnings/boilerplate of simple test code
 
12133
ac_outfile=conftest.$ac_objext
 
12134
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
12135
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
12136
_lt_compiler_boilerplate=`cat conftest.err`
 
12137
$RM conftest*
 
12138
 
 
12139
ac_outfile=conftest.$ac_objext
 
12140
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
12141
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
12142
_lt_linker_boilerplate=`cat conftest.err`
 
12143
$RM -r conftest*
 
12144
 
 
12145
 
 
12146
## CAVEAT EMPTOR:
 
12147
## There is no encapsulation within the following macros, do not change
 
12148
## the running order or otherwise move them around unless you know exactly
 
12149
## what you are doing...
 
12150
if test -n "$compiler"; then
 
12151
 
 
12152
lt_prog_compiler_no_builtin_flag=
 
12153
 
 
12154
if test "$GCC" = yes; then
 
12155
  case $cc_basename in
 
12156
  nvcc*)
 
12157
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 
12158
  *)
 
12159
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 
12160
  esac
 
12161
 
 
12162
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
12163
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 
12164
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
 
12165
  $as_echo_n "(cached) " >&6
 
12166
else
 
12167
  lt_cv_prog_compiler_rtti_exceptions=no
 
12168
   ac_outfile=conftest.$ac_objext
 
12169
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
12170
   lt_compiler_flag="-fno-rtti -fno-exceptions"
 
12171
   # Insert the option either (1) after the last *FLAGS variable, or
 
12172
   # (2) before a word containing "conftest.", or (3) at the end.
 
12173
   # Note that $ac_compile itself does not contain backslashes and begins
 
12174
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
12175
   # The option is referenced via a variable to avoid confusing sed.
 
12176
   lt_compile=`echo "$ac_compile" | $SED \
 
12177
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
12178
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
12179
   -e 's:$: $lt_compiler_flag:'`
 
12180
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
12181
   (eval "$lt_compile" 2>conftest.err)
 
12182
   ac_status=$?
 
12183
   cat conftest.err >&5
 
12184
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12185
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
12186
     # The compiler can only warn and ignore the option if not recognized
 
12187
     # So say no if there are warnings other than the usual output.
 
12188
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 
12189
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
12190
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
12191
       lt_cv_prog_compiler_rtti_exceptions=yes
 
12192
     fi
 
12193
   fi
 
12194
   $RM conftest*
 
12195
 
 
12196
fi
 
12197
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
12198
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
12199
 
 
12200
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 
12201
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
 
12202
else
 
12203
    :
 
12204
fi
 
12205
 
 
12206
fi
 
12207
 
 
12208
 
 
12209
 
 
12210
 
 
12211
 
 
12212
 
 
12213
  lt_prog_compiler_wl=
 
12214
lt_prog_compiler_pic=
 
12215
lt_prog_compiler_static=
 
12216
 
 
12217
 
 
12218
  if test "$GCC" = yes; then
 
12219
    lt_prog_compiler_wl='-Wl,'
 
12220
    lt_prog_compiler_static='-static'
 
12221
 
 
12222
    case $host_os in
 
12223
      aix*)
 
12224
      # All AIX code is PIC.
 
12225
      if test "$host_cpu" = ia64; then
 
12226
        # AIX 5 now supports IA64 processor
 
12227
        lt_prog_compiler_static='-Bstatic'
 
12228
      fi
 
12229
      ;;
 
12230
 
 
12231
    amigaos*)
 
12232
      case $host_cpu in
 
12233
      powerpc)
 
12234
            # see comment about AmigaOS4 .so support
 
12235
            lt_prog_compiler_pic='-fPIC'
 
12236
        ;;
 
12237
      m68k)
 
12238
            # FIXME: we need at least 68020 code to build shared libraries, but
 
12239
            # adding the `-m68020' flag to GCC prevents building anything better,
 
12240
            # like `-m68040'.
 
12241
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
12242
        ;;
 
12243
      esac
 
12244
      ;;
 
12245
 
 
12246
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
12247
      # PIC is the default for these OSes.
 
12248
      ;;
 
12249
 
 
12250
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
12251
      # This hack is so that the source file can tell whether it is being
 
12252
      # built for inclusion in a dll (and should export symbols for example).
 
12253
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
12254
      # (--disable-auto-import) libraries
 
12255
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
12256
      ;;
 
12257
 
 
12258
    darwin* | rhapsody*)
 
12259
      # PIC is the default on this platform
 
12260
      # Common symbols not allowed in MH_DYLIB files
 
12261
      lt_prog_compiler_pic='-fno-common'
 
12262
      ;;
 
12263
 
 
12264
    haiku*)
 
12265
      # PIC is the default for Haiku.
 
12266
      # The "-static" flag exists, but is broken.
 
12267
      lt_prog_compiler_static=
 
12268
      ;;
 
12269
 
 
12270
    hpux*)
 
12271
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
12272
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
12273
      # sets the default TLS model and affects inlining.
 
12274
      case $host_cpu in
 
12275
      hppa*64*)
 
12276
        # +Z the default
 
12277
        ;;
 
12278
      *)
 
12279
        lt_prog_compiler_pic='-fPIC'
 
12280
        ;;
 
12281
      esac
 
12282
      ;;
 
12283
 
 
12284
    interix[3-9]*)
 
12285
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
12286
      # Instead, we relocate shared libraries at runtime.
 
12287
      ;;
 
12288
 
 
12289
    msdosdjgpp*)
 
12290
      # Just because we use GCC doesn't mean we suddenly get shared libraries
 
12291
      # on systems that don't support them.
 
12292
      lt_prog_compiler_can_build_shared=no
 
12293
      enable_shared=no
 
12294
      ;;
 
12295
 
 
12296
    *nto* | *qnx*)
 
12297
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
12298
      # it will coredump.
 
12299
      lt_prog_compiler_pic='-fPIC -shared'
 
12300
      ;;
 
12301
 
 
12302
    sysv4*MP*)
 
12303
      if test -d /usr/nec; then
 
12304
        lt_prog_compiler_pic=-Kconform_pic
 
12305
      fi
 
12306
      ;;
 
12307
 
 
12308
    *)
 
12309
      lt_prog_compiler_pic='-fPIC'
 
12310
      ;;
 
12311
    esac
 
12312
 
 
12313
    case $cc_basename in
 
12314
    nvcc*) # Cuda Compiler Driver 2.2
 
12315
      lt_prog_compiler_wl='-Xlinker '
 
12316
      if test -n "$lt_prog_compiler_pic"; then
 
12317
        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
 
12318
      fi
 
12319
      ;;
 
12320
    esac
 
12321
  else
 
12322
    # PORTME Check for flag to pass linker flags through the system compiler.
 
12323
    case $host_os in
 
12324
    aix*)
 
12325
      lt_prog_compiler_wl='-Wl,'
 
12326
      if test "$host_cpu" = ia64; then
 
12327
        # AIX 5 now supports IA64 processor
 
12328
        lt_prog_compiler_static='-Bstatic'
 
12329
      else
 
12330
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
 
12331
      fi
 
12332
      ;;
 
12333
 
 
12334
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
12335
      # This hack is so that the source file can tell whether it is being
 
12336
      # built for inclusion in a dll (and should export symbols for example).
 
12337
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
12338
      ;;
 
12339
 
 
12340
    hpux9* | hpux10* | hpux11*)
 
12341
      lt_prog_compiler_wl='-Wl,'
 
12342
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
12343
      # not for PA HP-UX.
 
12344
      case $host_cpu in
 
12345
      hppa*64*|ia64*)
 
12346
        # +Z the default
 
12347
        ;;
 
12348
      *)
 
12349
        lt_prog_compiler_pic='+Z'
 
12350
        ;;
 
12351
      esac
 
12352
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
 
12353
      lt_prog_compiler_static='${wl}-a ${wl}archive'
 
12354
      ;;
 
12355
 
 
12356
    irix5* | irix6* | nonstopux*)
 
12357
      lt_prog_compiler_wl='-Wl,'
 
12358
      # PIC (with -KPIC) is the default.
 
12359
      lt_prog_compiler_static='-non_shared'
 
12360
      ;;
 
12361
 
 
12362
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
12363
      case $cc_basename in
 
12364
      # old Intel for x86_64 which still supported -KPIC.
 
12365
      ecc*)
 
12366
        lt_prog_compiler_wl='-Wl,'
 
12367
        lt_prog_compiler_pic='-KPIC'
 
12368
        lt_prog_compiler_static='-static'
 
12369
        ;;
 
12370
      # icc used to be incompatible with GCC.
 
12371
      # ICC 10 doesn't accept -KPIC any more.
 
12372
      icc* | ifort*)
 
12373
        lt_prog_compiler_wl='-Wl,'
 
12374
        lt_prog_compiler_pic='-fPIC'
 
12375
        lt_prog_compiler_static='-static'
 
12376
        ;;
 
12377
      # Lahey Fortran 8.1.
 
12378
      lf95*)
 
12379
        lt_prog_compiler_wl='-Wl,'
 
12380
        lt_prog_compiler_pic='--shared'
 
12381
        lt_prog_compiler_static='--static'
 
12382
        ;;
 
12383
      nagfor*)
 
12384
        # NAG Fortran compiler
 
12385
        lt_prog_compiler_wl='-Wl,-Wl,,'
 
12386
        lt_prog_compiler_pic='-PIC'
 
12387
        lt_prog_compiler_static='-Bstatic'
 
12388
        ;;
 
12389
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
 
12390
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
12391
        # which looks to be a dead project)
 
12392
        lt_prog_compiler_wl='-Wl,'
 
12393
        lt_prog_compiler_pic='-fpic'
 
12394
        lt_prog_compiler_static='-Bstatic'
 
12395
        ;;
 
12396
      ccc*)
 
12397
        lt_prog_compiler_wl='-Wl,'
 
12398
        # All Alpha code is PIC.
 
12399
        lt_prog_compiler_static='-non_shared'
 
12400
        ;;
 
12401
      xl* | bgxl* | bgf* | mpixl*)
 
12402
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
 
12403
        lt_prog_compiler_wl='-Wl,'
 
12404
        lt_prog_compiler_pic='-qpic'
 
12405
        lt_prog_compiler_static='-qstaticlink'
 
12406
        ;;
 
12407
      *)
 
12408
        case `$CC -V 2>&1 | sed 5q` in
 
12409
        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
 
12410
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
12411
          lt_prog_compiler_pic='-KPIC'
 
12412
          lt_prog_compiler_static='-Bstatic'
 
12413
          lt_prog_compiler_wl=''
 
12414
          ;;
 
12415
        *Sun\ F* | *Sun*Fortran*)
 
12416
          lt_prog_compiler_pic='-KPIC'
 
12417
          lt_prog_compiler_static='-Bstatic'
 
12418
          lt_prog_compiler_wl='-Qoption ld '
 
12419
          ;;
 
12420
        *Sun\ C*)
 
12421
          # Sun C 5.9
 
12422
          lt_prog_compiler_pic='-KPIC'
 
12423
          lt_prog_compiler_static='-Bstatic'
 
12424
          lt_prog_compiler_wl='-Wl,'
 
12425
          ;;
 
12426
        *Intel*\ [CF]*Compiler*)
 
12427
          lt_prog_compiler_wl='-Wl,'
 
12428
          lt_prog_compiler_pic='-fPIC'
 
12429
          lt_prog_compiler_static='-static'
 
12430
          ;;
 
12431
        *Portland\ Group*)
 
12432
          lt_prog_compiler_wl='-Wl,'
 
12433
          lt_prog_compiler_pic='-fpic'
 
12434
          lt_prog_compiler_static='-Bstatic'
 
12435
          ;;
 
12436
        esac
 
12437
        ;;
 
12438
      esac
 
12439
      ;;
 
12440
 
 
12441
    newsos6)
 
12442
      lt_prog_compiler_pic='-KPIC'
 
12443
      lt_prog_compiler_static='-Bstatic'
 
12444
      ;;
 
12445
 
 
12446
    *nto* | *qnx*)
 
12447
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
12448
      # it will coredump.
 
12449
      lt_prog_compiler_pic='-fPIC -shared'
 
12450
      ;;
 
12451
 
 
12452
    osf3* | osf4* | osf5*)
 
12453
      lt_prog_compiler_wl='-Wl,'
 
12454
      # All OSF/1 code is PIC.
 
12455
      lt_prog_compiler_static='-non_shared'
 
12456
      ;;
 
12457
 
 
12458
    rdos*)
 
12459
      lt_prog_compiler_static='-non_shared'
 
12460
      ;;
 
12461
 
 
12462
    solaris*)
 
12463
      lt_prog_compiler_pic='-KPIC'
 
12464
      lt_prog_compiler_static='-Bstatic'
 
12465
      case $cc_basename in
 
12466
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
 
12467
        lt_prog_compiler_wl='-Qoption ld ';;
 
12468
      *)
 
12469
        lt_prog_compiler_wl='-Wl,';;
 
12470
      esac
 
12471
      ;;
 
12472
 
 
12473
    sunos4*)
 
12474
      lt_prog_compiler_wl='-Qoption ld '
 
12475
      lt_prog_compiler_pic='-PIC'
 
12476
      lt_prog_compiler_static='-Bstatic'
 
12477
      ;;
 
12478
 
 
12479
    sysv4 | sysv4.2uw2* | sysv4.3*)
 
12480
      lt_prog_compiler_wl='-Wl,'
 
12481
      lt_prog_compiler_pic='-KPIC'
 
12482
      lt_prog_compiler_static='-Bstatic'
 
12483
      ;;
 
12484
 
 
12485
    sysv4*MP*)
 
12486
      if test -d /usr/nec ;then
 
12487
        lt_prog_compiler_pic='-Kconform_pic'
 
12488
        lt_prog_compiler_static='-Bstatic'
 
12489
      fi
 
12490
      ;;
 
12491
 
 
12492
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
12493
      lt_prog_compiler_wl='-Wl,'
 
12494
      lt_prog_compiler_pic='-KPIC'
 
12495
      lt_prog_compiler_static='-Bstatic'
 
12496
      ;;
 
12497
 
 
12498
    unicos*)
 
12499
      lt_prog_compiler_wl='-Wl,'
 
12500
      lt_prog_compiler_can_build_shared=no
 
12501
      ;;
 
12502
 
 
12503
    uts4*)
 
12504
      lt_prog_compiler_pic='-pic'
 
12505
      lt_prog_compiler_static='-Bstatic'
 
12506
      ;;
 
12507
 
 
12508
    *)
 
12509
      lt_prog_compiler_can_build_shared=no
 
12510
      ;;
 
12511
    esac
 
12512
  fi
 
12513
 
 
12514
case $host_os in
 
12515
  # For platforms which do not support PIC, -DPIC is meaningless:
 
12516
  *djgpp*)
 
12517
    lt_prog_compiler_pic=
 
12518
    ;;
 
12519
  *)
 
12520
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
12521
    ;;
 
12522
esac
 
12523
 
 
12524
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
12525
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
12526
if ${lt_cv_prog_compiler_pic+:} false; then :
 
12527
  $as_echo_n "(cached) " >&6
 
12528
else
 
12529
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 
12530
fi
 
12531
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 
12532
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
 
12533
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
 
12534
 
 
12535
#
 
12536
# Check to make sure the PIC flag actually works.
 
12537
#
 
12538
if test -n "$lt_prog_compiler_pic"; then
 
12539
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
12540
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 
12541
if ${lt_cv_prog_compiler_pic_works+:} false; then :
 
12542
  $as_echo_n "(cached) " >&6
 
12543
else
 
12544
  lt_cv_prog_compiler_pic_works=no
 
12545
   ac_outfile=conftest.$ac_objext
 
12546
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
12547
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
 
12548
   # Insert the option either (1) after the last *FLAGS variable, or
 
12549
   # (2) before a word containing "conftest.", or (3) at the end.
 
12550
   # Note that $ac_compile itself does not contain backslashes and begins
 
12551
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
12552
   # The option is referenced via a variable to avoid confusing sed.
 
12553
   lt_compile=`echo "$ac_compile" | $SED \
 
12554
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
12555
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
12556
   -e 's:$: $lt_compiler_flag:'`
 
12557
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
12558
   (eval "$lt_compile" 2>conftest.err)
 
12559
   ac_status=$?
 
12560
   cat conftest.err >&5
 
12561
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12562
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
12563
     # The compiler can only warn and ignore the option if not recognized
 
12564
     # So say no if there are warnings other than the usual output.
 
12565
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 
12566
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
12567
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
12568
       lt_cv_prog_compiler_pic_works=yes
 
12569
     fi
 
12570
   fi
 
12571
   $RM conftest*
 
12572
 
 
12573
fi
 
12574
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
 
12575
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
 
12576
 
 
12577
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
 
12578
    case $lt_prog_compiler_pic in
 
12579
     "" | " "*) ;;
 
12580
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
 
12581
     esac
 
12582
else
 
12583
    lt_prog_compiler_pic=
 
12584
     lt_prog_compiler_can_build_shared=no
 
12585
fi
 
12586
 
 
12587
fi
 
12588
 
 
12589
 
 
12590
 
 
12591
 
 
12592
 
 
12593
 
 
12594
 
 
12595
 
 
12596
 
 
12597
 
 
12598
 
 
12599
#
 
12600
# Check to make sure the static flag actually works.
 
12601
#
 
12602
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 
12603
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
12604
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
12605
if ${lt_cv_prog_compiler_static_works+:} false; then :
 
12606
  $as_echo_n "(cached) " >&6
 
12607
else
 
12608
  lt_cv_prog_compiler_static_works=no
 
12609
   save_LDFLAGS="$LDFLAGS"
 
12610
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
12611
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
12612
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
12613
     # The linker can only warn and ignore the option if not recognized
 
12614
     # So say no if there are warnings
 
12615
     if test -s conftest.err; then
 
12616
       # Append any errors to the config.log.
 
12617
       cat conftest.err 1>&5
 
12618
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
12619
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
12620
       if diff conftest.exp conftest.er2 >/dev/null; then
 
12621
         lt_cv_prog_compiler_static_works=yes
 
12622
       fi
 
12623
     else
 
12624
       lt_cv_prog_compiler_static_works=yes
 
12625
     fi
 
12626
   fi
 
12627
   $RM -r conftest*
 
12628
   LDFLAGS="$save_LDFLAGS"
 
12629
 
 
12630
fi
 
12631
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
 
12632
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
 
12633
 
 
12634
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
 
12635
    :
 
12636
else
 
12637
    lt_prog_compiler_static=
 
12638
fi
 
12639
 
 
12640
 
 
12641
 
 
12642
 
 
12643
 
 
12644
 
 
12645
 
 
12646
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
12647
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
12648
if ${lt_cv_prog_compiler_c_o+:} false; then :
 
12649
  $as_echo_n "(cached) " >&6
 
12650
else
 
12651
  lt_cv_prog_compiler_c_o=no
 
12652
   $RM -r conftest 2>/dev/null
 
12653
   mkdir conftest
 
12654
   cd conftest
 
12655
   mkdir out
 
12656
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
12657
 
 
12658
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
12659
   # Insert the option either (1) after the last *FLAGS variable, or
 
12660
   # (2) before a word containing "conftest.", or (3) at the end.
 
12661
   # Note that $ac_compile itself does not contain backslashes and begins
 
12662
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
12663
   lt_compile=`echo "$ac_compile" | $SED \
 
12664
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
12665
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
12666
   -e 's:$: $lt_compiler_flag:'`
 
12667
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
12668
   (eval "$lt_compile" 2>out/conftest.err)
 
12669
   ac_status=$?
 
12670
   cat out/conftest.err >&5
 
12671
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12672
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
12673
   then
 
12674
     # The compiler can only warn and ignore the option if not recognized
 
12675
     # So say no if there are warnings
 
12676
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
12677
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
12678
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
12679
       lt_cv_prog_compiler_c_o=yes
 
12680
     fi
 
12681
   fi
 
12682
   chmod u+w . 2>&5
 
12683
   $RM conftest*
 
12684
   # SGI C++ compiler will create directory out/ii_files/ for
 
12685
   # template instantiation
 
12686
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
12687
   $RM out/* && rmdir out
 
12688
   cd ..
 
12689
   $RM -r conftest
 
12690
   $RM conftest*
 
12691
 
 
12692
fi
 
12693
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
12694
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
12695
 
 
12696
 
 
12697
 
 
12698
 
 
12699
 
 
12700
 
 
12701
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
12702
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
12703
if ${lt_cv_prog_compiler_c_o+:} false; then :
 
12704
  $as_echo_n "(cached) " >&6
 
12705
else
 
12706
  lt_cv_prog_compiler_c_o=no
 
12707
   $RM -r conftest 2>/dev/null
 
12708
   mkdir conftest
 
12709
   cd conftest
 
12710
   mkdir out
 
12711
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
12712
 
 
12713
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
12714
   # Insert the option either (1) after the last *FLAGS variable, or
 
12715
   # (2) before a word containing "conftest.", or (3) at the end.
 
12716
   # Note that $ac_compile itself does not contain backslashes and begins
 
12717
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
12718
   lt_compile=`echo "$ac_compile" | $SED \
 
12719
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
12720
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
12721
   -e 's:$: $lt_compiler_flag:'`
 
12722
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
12723
   (eval "$lt_compile" 2>out/conftest.err)
 
12724
   ac_status=$?
 
12725
   cat out/conftest.err >&5
 
12726
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12727
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
12728
   then
 
12729
     # The compiler can only warn and ignore the option if not recognized
 
12730
     # So say no if there are warnings
 
12731
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
12732
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
12733
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
12734
       lt_cv_prog_compiler_c_o=yes
 
12735
     fi
 
12736
   fi
 
12737
   chmod u+w . 2>&5
 
12738
   $RM conftest*
 
12739
   # SGI C++ compiler will create directory out/ii_files/ for
 
12740
   # template instantiation
 
12741
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
12742
   $RM out/* && rmdir out
 
12743
   cd ..
 
12744
   $RM -r conftest
 
12745
   $RM conftest*
 
12746
 
 
12747
fi
 
12748
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
12749
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
12750
 
 
12751
 
 
12752
 
 
12753
 
 
12754
hard_links="nottested"
 
12755
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
 
12756
  # do not overwrite the value of need_locks provided by the user
 
12757
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 
12758
$as_echo_n "checking if we can lock with hard links... " >&6; }
 
12759
  hard_links=yes
 
12760
  $RM conftest*
 
12761
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
12762
  touch conftest.a
 
12763
  ln conftest.a conftest.b 2>&5 || hard_links=no
 
12764
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
12765
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 
12766
$as_echo "$hard_links" >&6; }
 
12767
  if test "$hard_links" = no; then
 
12768
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
12769
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
12770
    need_locks=warn
 
12771
  fi
 
12772
else
 
12773
  need_locks=no
 
12774
fi
 
12775
 
 
12776
 
 
12777
 
 
12778
 
 
12779
 
 
12780
 
 
12781
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
12782
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
12783
 
 
12784
  runpath_var=
 
12785
  allow_undefined_flag=
 
12786
  always_export_symbols=no
 
12787
  archive_cmds=
 
12788
  archive_expsym_cmds=
 
12789
  compiler_needs_object=no
 
12790
  enable_shared_with_static_runtimes=no
 
12791
  export_dynamic_flag_spec=
 
12792
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
12793
  hardcode_automatic=no
 
12794
  hardcode_direct=no
 
12795
  hardcode_direct_absolute=no
 
12796
  hardcode_libdir_flag_spec=
 
12797
  hardcode_libdir_separator=
 
12798
  hardcode_minus_L=no
 
12799
  hardcode_shlibpath_var=unsupported
 
12800
  inherit_rpath=no
 
12801
  link_all_deplibs=unknown
 
12802
  module_cmds=
 
12803
  module_expsym_cmds=
 
12804
  old_archive_from_new_cmds=
 
12805
  old_archive_from_expsyms_cmds=
 
12806
  thread_safe_flag_spec=
 
12807
  whole_archive_flag_spec=
 
12808
  # include_expsyms should be a list of space-separated symbols to be *always*
 
12809
  # included in the symbol list
 
12810
  include_expsyms=
 
12811
  # exclude_expsyms can be an extended regexp of symbols to exclude
 
12812
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
 
12813
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 
12814
  # as well as any symbol that contains `d'.
 
12815
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 
12816
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 
12817
  # platforms (ab)use it in PIC code, but their linkers get confused if
 
12818
  # the symbol is explicitly referenced.  Since portable code cannot
 
12819
  # rely on this symbol name, it's probably fine to never include it in
 
12820
  # preloaded symbol tables.
 
12821
  # Exclude shared library initialization/finalization symbols.
 
12822
  extract_expsyms_cmds=
 
12823
 
 
12824
  case $host_os in
 
12825
  cygwin* | mingw* | pw32* | cegcc*)
 
12826
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
 
12827
    # When not using gcc, we currently assume that we are using
 
12828
    # Microsoft Visual C++.
 
12829
    if test "$GCC" != yes; then
 
12830
      with_gnu_ld=no
 
12831
    fi
 
12832
    ;;
 
12833
  interix*)
 
12834
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
12835
    with_gnu_ld=yes
 
12836
    ;;
 
12837
  openbsd*)
 
12838
    with_gnu_ld=no
 
12839
    ;;
 
12840
  esac
 
12841
 
 
12842
  ld_shlibs=yes
 
12843
 
 
12844
  # On some targets, GNU ld is compatible enough with the native linker
 
12845
  # that we're better off using the native interface for both.
 
12846
  lt_use_gnu_ld_interface=no
 
12847
  if test "$with_gnu_ld" = yes; then
 
12848
    case $host_os in
 
12849
      aix*)
 
12850
        # The AIX port of GNU ld has always aspired to compatibility
 
12851
        # with the native linker.  However, as the warning in the GNU ld
 
12852
        # block says, versions before 2.19.5* couldn't really create working
 
12853
        # shared libraries, regardless of the interface used.
 
12854
        case `$LD -v 2>&1` in
 
12855
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
12856
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
12857
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
12858
          *)
 
12859
            lt_use_gnu_ld_interface=yes
 
12860
            ;;
 
12861
        esac
 
12862
        ;;
 
12863
      *)
 
12864
        lt_use_gnu_ld_interface=yes
 
12865
        ;;
 
12866
    esac
 
12867
  fi
 
12868
 
 
12869
  if test "$lt_use_gnu_ld_interface" = yes; then
 
12870
    # If archive_cmds runs LD, not CC, wlarc should be empty
 
12871
    wlarc='${wl}'
 
12872
 
 
12873
    # Set some defaults for GNU ld with shared library support. These
 
12874
    # are reset later if shared libraries are not supported. Putting them
 
12875
    # here allows them to be overridden if necessary.
 
12876
    runpath_var=LD_RUN_PATH
 
12877
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
12878
    export_dynamic_flag_spec='${wl}--export-dynamic'
 
12879
    # ancient GNU ld didn't support --whole-archive et. al.
 
12880
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
12881
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
12882
    else
 
12883
      whole_archive_flag_spec=
 
12884
    fi
 
12885
    supports_anon_versioning=no
 
12886
    case `$LD -v 2>&1` in
 
12887
      *GNU\ gold*) supports_anon_versioning=yes ;;
 
12888
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
12889
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
12890
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
12891
      *\ 2.11.*) ;; # other 2.11 versions
 
12892
      *) supports_anon_versioning=yes ;;
 
12893
    esac
 
12894
 
 
12895
    # See if GNU ld supports shared libraries.
 
12896
    case $host_os in
 
12897
    aix[3-9]*)
 
12898
      # On AIX/PPC, the GNU linker is very broken
 
12899
      if test "$host_cpu" != ia64; then
 
12900
        ld_shlibs=no
 
12901
        cat <<_LT_EOF 1>&2
 
12902
 
 
12903
*** Warning: the GNU linker, at least up to release 2.19, is reported
 
12904
*** to be unable to reliably create shared libraries on AIX.
 
12905
*** Therefore, libtool is disabling shared libraries support.  If you
 
12906
*** really care for shared libraries, you may want to install binutils
 
12907
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
12908
*** You will then need to restart the configuration process.
 
12909
 
 
12910
_LT_EOF
 
12911
      fi
 
12912
      ;;
 
12913
 
 
12914
    amigaos*)
 
12915
      case $host_cpu in
 
12916
      powerpc)
 
12917
            # see comment about AmigaOS4 .so support
 
12918
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12919
            archive_expsym_cmds=''
 
12920
        ;;
 
12921
      m68k)
 
12922
            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)'
 
12923
            hardcode_libdir_flag_spec='-L$libdir'
 
12924
            hardcode_minus_L=yes
 
12925
        ;;
 
12926
      esac
 
12927
      ;;
 
12928
 
 
12929
    beos*)
 
12930
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
12931
        allow_undefined_flag=unsupported
 
12932
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
12933
        # support --undefined.  This deserves some investigation.  FIXME
 
12934
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12935
      else
 
12936
        ld_shlibs=no
 
12937
      fi
 
12938
      ;;
 
12939
 
 
12940
    cygwin* | mingw* | pw32* | cegcc*)
 
12941
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
12942
      # as there is no search path for DLLs.
 
12943
      hardcode_libdir_flag_spec='-L$libdir'
 
12944
      export_dynamic_flag_spec='${wl}--export-all-symbols'
 
12945
      allow_undefined_flag=unsupported
 
12946
      always_export_symbols=no
 
12947
      enable_shared_with_static_runtimes=yes
 
12948
      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'
 
12949
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
 
12950
 
 
12951
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
12952
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
12953
        # If the export-symbols file already is a .def file (1st line
 
12954
        # is EXPORTS), use it as is; otherwise, prepend...
 
12955
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
12956
          cp $export_symbols $output_objdir/$soname.def;
 
12957
        else
 
12958
          echo EXPORTS > $output_objdir/$soname.def;
 
12959
          cat $export_symbols >> $output_objdir/$soname.def;
 
12960
        fi~
 
12961
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
12962
      else
 
12963
        ld_shlibs=no
 
12964
      fi
 
12965
      ;;
 
12966
 
 
12967
    haiku*)
 
12968
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12969
      link_all_deplibs=yes
 
12970
      ;;
 
12971
 
 
12972
    interix[3-9]*)
 
12973
      hardcode_direct=no
 
12974
      hardcode_shlibpath_var=no
 
12975
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
12976
      export_dynamic_flag_spec='${wl}-E'
 
12977
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
12978
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
12979
      # default) and relocated if they conflict, which is a slow very memory
 
12980
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
12981
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
12982
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
12983
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
12984
      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'
 
12985
      ;;
 
12986
 
 
12987
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
 
12988
      tmp_diet=no
 
12989
      if test "$host_os" = linux-dietlibc; then
 
12990
        case $cc_basename in
 
12991
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
12992
        esac
 
12993
      fi
 
12994
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
12995
         && test "$tmp_diet" = no
 
12996
      then
 
12997
        tmp_addflag=' $pic_flag'
 
12998
        tmp_sharedflag='-shared'
 
12999
        case $cc_basename,$host_cpu in
 
13000
        pgcc*)                          # Portland Group C compiler
 
13001
          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'
 
13002
          tmp_addflag=' $pic_flag'
 
13003
          ;;
 
13004
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
13005
                                        # Portland Group f77 and f90 compilers
 
13006
          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'
 
13007
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
13008
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
 
13009
          tmp_addflag=' -i_dynamic' ;;
 
13010
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
13011
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
13012
        ifc* | ifort*)                  # Intel Fortran compiler
 
13013
          tmp_addflag=' -nofor_main' ;;
 
13014
        lf95*)                          # Lahey Fortran 8.1
 
13015
          whole_archive_flag_spec=
 
13016
          tmp_sharedflag='--shared' ;;
 
13017
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
 
13018
          tmp_sharedflag='-qmkshrobj'
 
13019
          tmp_addflag= ;;
 
13020
        nvcc*)  # Cuda Compiler Driver 2.2
 
13021
          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'
 
13022
          compiler_needs_object=yes
 
13023
          ;;
 
13024
        esac
 
13025
        case `$CC -V 2>&1 | sed 5q` in
 
13026
        *Sun\ C*)                       # Sun C 5.9
 
13027
          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'
 
13028
          compiler_needs_object=yes
 
13029
          tmp_sharedflag='-G' ;;
 
13030
        *Sun\ F*)                       # Sun Fortran 8.3
 
13031
          tmp_sharedflag='-G' ;;
 
13032
        esac
 
13033
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
13034
 
 
13035
        if test "x$supports_anon_versioning" = xyes; then
 
13036
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
13037
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
13038
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
13039
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
13040
        fi
 
13041
 
 
13042
        case $cc_basename in
 
13043
        xlf* | bgf* | bgxlf* | mpixlf*)
 
13044
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
13045
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
13046
          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
13047
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
 
13048
          if test "x$supports_anon_versioning" = xyes; then
 
13049
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
13050
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
13051
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
13052
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
13053
          fi
 
13054
          ;;
 
13055
        esac
 
13056
      else
 
13057
        ld_shlibs=no
 
13058
      fi
 
13059
      ;;
 
13060
 
 
13061
    netbsd*)
 
13062
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
13063
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 
13064
        wlarc=
 
13065
      else
 
13066
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
13067
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
13068
      fi
 
13069
      ;;
 
13070
 
 
13071
    solaris*)
 
13072
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
 
13073
        ld_shlibs=no
 
13074
        cat <<_LT_EOF 1>&2
 
13075
 
 
13076
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
 
13077
*** create shared libraries on Solaris systems.  Therefore, libtool
 
13078
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
13079
*** binutils to release 2.9.1 or newer.  Another option is to modify
 
13080
*** your PATH or compiler configuration so that the native linker is
 
13081
*** used, and then restart.
 
13082
 
 
13083
_LT_EOF
 
13084
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
13085
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
13086
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
13087
      else
 
13088
        ld_shlibs=no
 
13089
      fi
 
13090
      ;;
 
13091
 
 
13092
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
13093
      case `$LD -v 2>&1` in
 
13094
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
13095
        ld_shlibs=no
 
13096
        cat <<_LT_EOF 1>&2
 
13097
 
 
13098
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
13099
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
13100
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
13101
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
13102
*** your PATH or compiler configuration so that the native linker is
 
13103
*** used, and then restart.
 
13104
 
 
13105
_LT_EOF
 
13106
        ;;
 
13107
        *)
 
13108
          # For security reasons, it is highly recommended that you always
 
13109
          # use absolute paths for naming shared libraries, and exclude the
 
13110
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
13111
          # requires that you compile everything twice, which is a pain.
 
13112
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
13113
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
13114
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
13115
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
13116
          else
 
13117
            ld_shlibs=no
 
13118
          fi
 
13119
        ;;
 
13120
      esac
 
13121
      ;;
 
13122
 
 
13123
    sunos4*)
 
13124
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
13125
      wlarc=
 
13126
      hardcode_direct=yes
 
13127
      hardcode_shlibpath_var=no
 
13128
      ;;
 
13129
 
 
13130
    *)
 
13131
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
13132
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
13133
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
13134
      else
 
13135
        ld_shlibs=no
 
13136
      fi
 
13137
      ;;
 
13138
    esac
 
13139
 
 
13140
    if test "$ld_shlibs" = no; then
 
13141
      runpath_var=
 
13142
      hardcode_libdir_flag_spec=
 
13143
      export_dynamic_flag_spec=
 
13144
      whole_archive_flag_spec=
 
13145
    fi
 
13146
  else
 
13147
    # PORTME fill in a description of your system's linker (not GNU ld)
 
13148
    case $host_os in
 
13149
    aix3*)
 
13150
      allow_undefined_flag=unsupported
 
13151
      always_export_symbols=yes
 
13152
      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'
 
13153
      # Note: this linker hardcodes the directories in LIBPATH if there
 
13154
      # are no directories specified by -L.
 
13155
      hardcode_minus_L=yes
 
13156
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 
13157
        # Neither direct hardcoding nor static linking is supported with a
 
13158
        # broken collect2.
 
13159
        hardcode_direct=unsupported
 
13160
      fi
 
13161
      ;;
 
13162
 
 
13163
    aix[4-9]*)
 
13164
      if test "$host_cpu" = ia64; then
 
13165
        # On IA64, the linker does run time linking by default, so we don't
 
13166
        # have to do anything special.
 
13167
        aix_use_runtimelinking=no
 
13168
        exp_sym_flag='-Bexport'
 
13169
        no_entry_flag=""
 
13170
      else
 
13171
        # If we're using GNU nm, then we don't want the "-C" option.
 
13172
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
13173
        # Also, AIX nm treats weak defined symbols like other global
 
13174
        # defined symbols, whereas GNU nm marks them as "W".
 
13175
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
13176
          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'
 
13177
        else
 
13178
          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'
 
13179
        fi
 
13180
        aix_use_runtimelinking=no
 
13181
 
 
13182
        # Test if we are trying to use run time linking or normal
 
13183
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
13184
        # need to do runtime linking.
 
13185
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 
13186
          for ld_flag in $LDFLAGS; do
 
13187
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
13188
            aix_use_runtimelinking=yes
 
13189
            break
 
13190
          fi
 
13191
          done
 
13192
          ;;
 
13193
        esac
 
13194
 
 
13195
        exp_sym_flag='-bexport'
 
13196
        no_entry_flag='-bnoentry'
 
13197
      fi
 
13198
 
 
13199
      # When large executables or shared objects are built, AIX ld can
 
13200
      # have problems creating the table of contents.  If linking a library
 
13201
      # or program results in "error TOC overflow" add -mminimal-toc to
 
13202
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
13203
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
13204
 
 
13205
      archive_cmds=''
 
13206
      hardcode_direct=yes
 
13207
      hardcode_direct_absolute=yes
 
13208
      hardcode_libdir_separator=':'
 
13209
      link_all_deplibs=yes
 
13210
      file_list_spec='${wl}-f,'
 
13211
 
 
13212
      if test "$GCC" = yes; then
 
13213
        case $host_os in aix4.[012]|aix4.[012].*)
 
13214
        # We only want to do this on AIX 4.2 and lower, the check
 
13215
        # below for broken collect2 doesn't work under 4.3+
 
13216
          collect2name=`${CC} -print-prog-name=collect2`
 
13217
          if test -f "$collect2name" &&
 
13218
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 
13219
          then
 
13220
          # We have reworked collect2
 
13221
          :
 
13222
          else
 
13223
          # We have old collect2
 
13224
          hardcode_direct=unsupported
 
13225
          # It fails to find uninstalled libraries when the uninstalled
 
13226
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
13227
          # to unsupported forces relinking
 
13228
          hardcode_minus_L=yes
 
13229
          hardcode_libdir_flag_spec='-L$libdir'
 
13230
          hardcode_libdir_separator=
 
13231
          fi
 
13232
          ;;
 
13233
        esac
 
13234
        shared_flag='-shared'
 
13235
        if test "$aix_use_runtimelinking" = yes; then
 
13236
          shared_flag="$shared_flag "'${wl}-G'
 
13237
        fi
 
13238
      else
 
13239
        # not using gcc
 
13240
        if test "$host_cpu" = ia64; then
 
13241
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
13242
        # chokes on -Wl,-G. The following line is correct:
 
13243
          shared_flag='-G'
 
13244
        else
 
13245
          if test "$aix_use_runtimelinking" = yes; then
 
13246
            shared_flag='${wl}-G'
 
13247
          else
 
13248
            shared_flag='${wl}-bM:SRE'
 
13249
          fi
 
13250
        fi
 
13251
      fi
 
13252
 
 
13253
      export_dynamic_flag_spec='${wl}-bexpall'
 
13254
      # It seems that -bexpall does not export symbols beginning with
 
13255
      # underscore (_), so it is better to generate a list of symbols to export.
 
13256
      always_export_symbols=yes
 
13257
      if test "$aix_use_runtimelinking" = yes; then
 
13258
        # Warning - without using the other runtime loading flags (-brtl),
 
13259
        # -berok will link without error, but may produce a broken library.
 
13260
        allow_undefined_flag='-berok'
 
13261
        # Determine the default libpath from the value encoded in an
 
13262
        # empty executable.
 
13263
        if test "${lt_cv_aix_libpath+set}" = set; then
 
13264
  aix_libpath=$lt_cv_aix_libpath
 
13265
else
 
13266
  if ${lt_cv_aix_libpath_+:} false; then :
 
13267
  $as_echo_n "(cached) " >&6
 
13268
else
 
13269
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13270
/* end confdefs.h.  */
 
13271
 
 
13272
int
 
13273
main ()
 
13274
{
 
13275
 
 
13276
  ;
 
13277
  return 0;
 
13278
}
 
13279
_ACEOF
 
13280
if ac_fn_c_try_link "$LINENO"; then :
 
13281
 
 
13282
  lt_aix_libpath_sed='
 
13283
      /Import File Strings/,/^$/ {
 
13284
          /^0/ {
 
13285
              s/^0  *\([^ ]*\) *$/\1/
 
13286
              p
 
13287
          }
 
13288
      }'
 
13289
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
13290
  # Check for a 64-bit object if we didn't find anything.
 
13291
  if test -z "$lt_cv_aix_libpath_"; then
 
13292
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
13293
  fi
 
13294
fi
 
13295
rm -f core conftest.err conftest.$ac_objext \
 
13296
    conftest$ac_exeext conftest.$ac_ext
 
13297
  if test -z "$lt_cv_aix_libpath_"; then
 
13298
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
13299
  fi
 
13300
 
 
13301
fi
 
13302
 
 
13303
  aix_libpath=$lt_cv_aix_libpath_
 
13304
fi
 
13305
 
 
13306
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
13307
        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"
 
13308
      else
 
13309
        if test "$host_cpu" = ia64; then
 
13310
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
 
13311
          allow_undefined_flag="-z nodefs"
 
13312
          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"
 
13313
        else
 
13314
         # Determine the default libpath from the value encoded in an
 
13315
         # empty executable.
 
13316
         if test "${lt_cv_aix_libpath+set}" = set; then
 
13317
  aix_libpath=$lt_cv_aix_libpath
 
13318
else
 
13319
  if ${lt_cv_aix_libpath_+:} false; then :
 
13320
  $as_echo_n "(cached) " >&6
 
13321
else
 
13322
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13323
/* end confdefs.h.  */
 
13324
 
 
13325
int
 
13326
main ()
 
13327
{
 
13328
 
 
13329
  ;
 
13330
  return 0;
 
13331
}
 
13332
_ACEOF
 
13333
if ac_fn_c_try_link "$LINENO"; then :
 
13334
 
 
13335
  lt_aix_libpath_sed='
 
13336
      /Import File Strings/,/^$/ {
 
13337
          /^0/ {
 
13338
              s/^0  *\([^ ]*\) *$/\1/
 
13339
              p
 
13340
          }
 
13341
      }'
 
13342
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
13343
  # Check for a 64-bit object if we didn't find anything.
 
13344
  if test -z "$lt_cv_aix_libpath_"; then
 
13345
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
13346
  fi
 
13347
fi
 
13348
rm -f core conftest.err conftest.$ac_objext \
 
13349
    conftest$ac_exeext conftest.$ac_ext
 
13350
  if test -z "$lt_cv_aix_libpath_"; then
 
13351
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
13352
  fi
 
13353
 
 
13354
fi
 
13355
 
 
13356
  aix_libpath=$lt_cv_aix_libpath_
 
13357
fi
 
13358
 
 
13359
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
13360
          # Warning - without using the other run time loading flags,
 
13361
          # -berok will link without error, but may produce a broken library.
 
13362
          no_undefined_flag=' ${wl}-bernotok'
 
13363
          allow_undefined_flag=' ${wl}-berok'
 
13364
          if test "$with_gnu_ld" = yes; then
 
13365
            # We only use this code for GNU lds that support --whole-archive.
 
13366
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
13367
          else
 
13368
            # Exported symbols can be pulled into shared objects from archives
 
13369
            whole_archive_flag_spec='$convenience'
 
13370
          fi
 
13371
          archive_cmds_need_lc=yes
 
13372
          # This is similar to how AIX traditionally builds its shared libraries.
 
13373
          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'
 
13374
        fi
 
13375
      fi
 
13376
      ;;
 
13377
 
 
13378
    amigaos*)
 
13379
      case $host_cpu in
 
13380
      powerpc)
 
13381
            # see comment about AmigaOS4 .so support
 
13382
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
13383
            archive_expsym_cmds=''
 
13384
        ;;
 
13385
      m68k)
 
13386
            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)'
 
13387
            hardcode_libdir_flag_spec='-L$libdir'
 
13388
            hardcode_minus_L=yes
 
13389
        ;;
 
13390
      esac
 
13391
      ;;
 
13392
 
 
13393
    bsdi[45]*)
 
13394
      export_dynamic_flag_spec=-rdynamic
 
13395
      ;;
 
13396
 
 
13397
    cygwin* | mingw* | pw32* | cegcc*)
 
13398
      # When not using gcc, we currently assume that we are using
 
13399
      # Microsoft Visual C++.
 
13400
      # hardcode_libdir_flag_spec is actually meaningless, as there is
 
13401
      # no search path for DLLs.
 
13402
      case $cc_basename in
 
13403
      cl*)
 
13404
        # Native MSVC
 
13405
        hardcode_libdir_flag_spec=' '
 
13406
        allow_undefined_flag=unsupported
 
13407
        always_export_symbols=yes
 
13408
        file_list_spec='@'
 
13409
        # Tell ltmain to make .lib files, not .a files.
 
13410
        libext=lib
 
13411
        # Tell ltmain to make .dll files, not .so files.
 
13412
        shrext_cmds=".dll"
 
13413
        # FIXME: Setting linknames here is a bad hack.
 
13414
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
13415
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
13416
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
13417
          else
 
13418
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
13419
          fi~
 
13420
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
13421
          linknames='
 
13422
        # The linker will not automatically build a static lib if we build a DLL.
 
13423
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 
13424
        enable_shared_with_static_runtimes=yes
 
13425
        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
 
13426
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
13427
        # Don't use ranlib
 
13428
        old_postinstall_cmds='chmod 644 $oldlib'
 
13429
        postlink_cmds='lt_outputfile="@OUTPUT@"~
 
13430
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
13431
          case $lt_outputfile in
 
13432
            *.exe|*.EXE) ;;
 
13433
            *)
 
13434
              lt_outputfile="$lt_outputfile.exe"
 
13435
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
13436
              ;;
 
13437
          esac~
 
13438
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
13439
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
13440
            $RM "$lt_outputfile.manifest";
 
13441
          fi'
 
13442
        ;;
 
13443
      *)
 
13444
        # Assume MSVC wrapper
 
13445
        hardcode_libdir_flag_spec=' '
 
13446
        allow_undefined_flag=unsupported
 
13447
        # Tell ltmain to make .lib files, not .a files.
 
13448
        libext=lib
 
13449
        # Tell ltmain to make .dll files, not .so files.
 
13450
        shrext_cmds=".dll"
 
13451
        # FIXME: Setting linknames here is a bad hack.
 
13452
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
13453
        # The linker will automatically build a .lib file if we build a DLL.
 
13454
        old_archive_from_new_cmds='true'
 
13455
        # FIXME: Should let the user specify the lib program.
 
13456
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
13457
        enable_shared_with_static_runtimes=yes
 
13458
        ;;
 
13459
      esac
 
13460
      ;;
 
13461
 
 
13462
    darwin* | rhapsody*)
 
13463
 
 
13464
 
 
13465
  archive_cmds_need_lc=no
 
13466
  hardcode_direct=no
 
13467
  hardcode_automatic=yes
 
13468
  hardcode_shlibpath_var=unsupported
 
13469
  if test "$lt_cv_ld_force_load" = "yes"; then
 
13470
    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\"`'
 
13471
 
 
13472
  else
 
13473
    whole_archive_flag_spec=''
 
13474
  fi
 
13475
  link_all_deplibs=yes
 
13476
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
13477
  case $cc_basename in
 
13478
     ifort*) _lt_dar_can_shared=yes ;;
 
13479
     *) _lt_dar_can_shared=$GCC ;;
 
13480
  esac
 
13481
  if test "$_lt_dar_can_shared" = "yes"; then
 
13482
    output_verbose_link_cmd=func_echo_all
 
13483
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
13484
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
13485
    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}"
 
13486
    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}"
 
13487
 
 
13488
  else
 
13489
  ld_shlibs=no
 
13490
  fi
 
13491
 
 
13492
      ;;
 
13493
 
 
13494
    dgux*)
 
13495
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
13496
      hardcode_libdir_flag_spec='-L$libdir'
 
13497
      hardcode_shlibpath_var=no
 
13498
      ;;
 
13499
 
 
13500
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 
13501
    # support.  Future versions do this automatically, but an explicit c++rt0.o
 
13502
    # does not break anything, and helps significantly (at the cost of a little
 
13503
    # extra space).
 
13504
    freebsd2.2*)
 
13505
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 
13506
      hardcode_libdir_flag_spec='-R$libdir'
 
13507
      hardcode_direct=yes
 
13508
      hardcode_shlibpath_var=no
 
13509
      ;;
 
13510
 
 
13511
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 
13512
    freebsd2.*)
 
13513
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
13514
      hardcode_direct=yes
 
13515
      hardcode_minus_L=yes
 
13516
      hardcode_shlibpath_var=no
 
13517
      ;;
 
13518
 
 
13519
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 
13520
    freebsd* | dragonfly*)
 
13521
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
13522
      hardcode_libdir_flag_spec='-R$libdir'
 
13523
      hardcode_direct=yes
 
13524
      hardcode_shlibpath_var=no
 
13525
      ;;
 
13526
 
 
13527
    hpux9*)
 
13528
      if test "$GCC" = yes; then
 
13529
        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'
 
13530
      else
 
13531
        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'
 
13532
      fi
 
13533
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
13534
      hardcode_libdir_separator=:
 
13535
      hardcode_direct=yes
 
13536
 
 
13537
      # hardcode_minus_L: Not really in the search PATH,
 
13538
      # but as the default location of the library.
 
13539
      hardcode_minus_L=yes
 
13540
      export_dynamic_flag_spec='${wl}-E'
 
13541
      ;;
 
13542
 
 
13543
    hpux10*)
 
13544
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
13545
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
13546
      else
 
13547
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
13548
      fi
 
13549
      if test "$with_gnu_ld" = no; then
 
13550
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
13551
        hardcode_libdir_separator=:
 
13552
        hardcode_direct=yes
 
13553
        hardcode_direct_absolute=yes
 
13554
        export_dynamic_flag_spec='${wl}-E'
 
13555
        # hardcode_minus_L: Not really in the search PATH,
 
13556
        # but as the default location of the library.
 
13557
        hardcode_minus_L=yes
 
13558
      fi
 
13559
      ;;
 
13560
 
 
13561
    hpux11*)
 
13562
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
13563
        case $host_cpu in
 
13564
        hppa*64*)
 
13565
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13566
          ;;
 
13567
        ia64*)
 
13568
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
13569
          ;;
 
13570
        *)
 
13571
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
13572
          ;;
 
13573
        esac
 
13574
      else
 
13575
        case $host_cpu in
 
13576
        hppa*64*)
 
13577
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13578
          ;;
 
13579
        ia64*)
 
13580
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
13581
          ;;
 
13582
        *)
 
13583
 
 
13584
          # Older versions of the 11.00 compiler do not understand -b yet
 
13585
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
13586
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 
13587
$as_echo_n "checking if $CC understands -b... " >&6; }
 
13588
if ${lt_cv_prog_compiler__b+:} false; then :
 
13589
  $as_echo_n "(cached) " >&6
 
13590
else
 
13591
  lt_cv_prog_compiler__b=no
 
13592
   save_LDFLAGS="$LDFLAGS"
 
13593
   LDFLAGS="$LDFLAGS -b"
 
13594
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
13595
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
13596
     # The linker can only warn and ignore the option if not recognized
 
13597
     # So say no if there are warnings
 
13598
     if test -s conftest.err; then
 
13599
       # Append any errors to the config.log.
 
13600
       cat conftest.err 1>&5
 
13601
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
13602
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
13603
       if diff conftest.exp conftest.er2 >/dev/null; then
 
13604
         lt_cv_prog_compiler__b=yes
 
13605
       fi
 
13606
     else
 
13607
       lt_cv_prog_compiler__b=yes
 
13608
     fi
 
13609
   fi
 
13610
   $RM -r conftest*
 
13611
   LDFLAGS="$save_LDFLAGS"
 
13612
 
 
13613
fi
 
13614
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 
13615
$as_echo "$lt_cv_prog_compiler__b" >&6; }
 
13616
 
 
13617
if test x"$lt_cv_prog_compiler__b" = xyes; then
 
13618
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
13619
else
 
13620
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
13621
fi
 
13622
 
 
13623
          ;;
 
13624
        esac
 
13625
      fi
 
13626
      if test "$with_gnu_ld" = no; then
 
13627
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
13628
        hardcode_libdir_separator=:
 
13629
 
 
13630
        case $host_cpu in
 
13631
        hppa*64*|ia64*)
 
13632
          hardcode_direct=no
 
13633
          hardcode_shlibpath_var=no
 
13634
          ;;
 
13635
        *)
 
13636
          hardcode_direct=yes
 
13637
          hardcode_direct_absolute=yes
 
13638
          export_dynamic_flag_spec='${wl}-E'
 
13639
 
 
13640
          # hardcode_minus_L: Not really in the search PATH,
 
13641
          # but as the default location of the library.
 
13642
          hardcode_minus_L=yes
 
13643
          ;;
 
13644
        esac
 
13645
      fi
 
13646
      ;;
 
13647
 
 
13648
    irix5* | irix6* | nonstopux*)
 
13649
      if test "$GCC" = yes; then
 
13650
        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'
 
13651
        # Try to use the -exported_symbol ld option, if it does not
 
13652
        # work, assume that -exports_file does not work either and
 
13653
        # implicitly export all symbols.
 
13654
        # This should be the same for all languages, so no per-tag cache variable.
 
13655
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
13656
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
13657
if ${lt_cv_irix_exported_symbol+:} false; then :
 
13658
  $as_echo_n "(cached) " >&6
 
13659
else
 
13660
  save_LDFLAGS="$LDFLAGS"
 
13661
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
13662
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13663
/* end confdefs.h.  */
 
13664
int foo (void) { return 0; }
 
13665
_ACEOF
 
13666
if ac_fn_c_try_link "$LINENO"; then :
 
13667
  lt_cv_irix_exported_symbol=yes
 
13668
else
 
13669
  lt_cv_irix_exported_symbol=no
 
13670
fi
 
13671
rm -f core conftest.err conftest.$ac_objext \
 
13672
    conftest$ac_exeext conftest.$ac_ext
 
13673
           LDFLAGS="$save_LDFLAGS"
 
13674
fi
 
13675
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
13676
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
13677
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
13678
          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'
 
13679
        fi
 
13680
      else
 
13681
        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'
 
13682
        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'
 
13683
      fi
 
13684
      archive_cmds_need_lc='no'
 
13685
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
13686
      hardcode_libdir_separator=:
 
13687
      inherit_rpath=yes
 
13688
      link_all_deplibs=yes
 
13689
      ;;
 
13690
 
 
13691
    netbsd*)
 
13692
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
13693
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 
13694
      else
 
13695
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 
13696
      fi
 
13697
      hardcode_libdir_flag_spec='-R$libdir'
 
13698
      hardcode_direct=yes
 
13699
      hardcode_shlibpath_var=no
 
13700
      ;;
 
13701
 
 
13702
    newsos6)
 
13703
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
13704
      hardcode_direct=yes
 
13705
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
13706
      hardcode_libdir_separator=:
 
13707
      hardcode_shlibpath_var=no
 
13708
      ;;
 
13709
 
 
13710
    *nto* | *qnx*)
 
13711
      ;;
 
13712
 
 
13713
    openbsd*)
 
13714
      if test -f /usr/libexec/ld.so; then
 
13715
        hardcode_direct=yes
 
13716
        hardcode_shlibpath_var=no
 
13717
        hardcode_direct_absolute=yes
 
13718
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
13719
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
13720
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
13721
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
13722
          export_dynamic_flag_spec='${wl}-E'
 
13723
        else
 
13724
          case $host_os in
 
13725
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
13726
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
13727
             hardcode_libdir_flag_spec='-R$libdir'
 
13728
             ;;
 
13729
           *)
 
13730
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
13731
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
13732
             ;;
 
13733
          esac
 
13734
        fi
 
13735
      else
 
13736
        ld_shlibs=no
 
13737
      fi
 
13738
      ;;
 
13739
 
 
13740
    os2*)
 
13741
      hardcode_libdir_flag_spec='-L$libdir'
 
13742
      hardcode_minus_L=yes
 
13743
      allow_undefined_flag=unsupported
 
13744
      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'
 
13745
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
13746
      ;;
 
13747
 
 
13748
    osf3*)
 
13749
      if test "$GCC" = yes; then
 
13750
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
13751
        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'
 
13752
      else
 
13753
        allow_undefined_flag=' -expect_unresolved \*'
 
13754
        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'
 
13755
      fi
 
13756
      archive_cmds_need_lc='no'
 
13757
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
13758
      hardcode_libdir_separator=:
 
13759
      ;;
 
13760
 
 
13761
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
 
13762
      if test "$GCC" = yes; then
 
13763
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
13764
        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'
 
13765
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
13766
      else
 
13767
        allow_undefined_flag=' -expect_unresolved \*'
 
13768
        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'
 
13769
        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~
 
13770
        $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'
 
13771
 
 
13772
        # Both c and cxx compiler support -rpath directly
 
13773
        hardcode_libdir_flag_spec='-rpath $libdir'
 
13774
      fi
 
13775
      archive_cmds_need_lc='no'
 
13776
      hardcode_libdir_separator=:
 
13777
      ;;
 
13778
 
 
13779
    solaris*)
 
13780
      no_undefined_flag=' -z defs'
 
13781
      if test "$GCC" = yes; then
 
13782
        wlarc='${wl}'
 
13783
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13784
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
13785
          $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'
 
13786
      else
 
13787
        case `$CC -V 2>&1` in
 
13788
        *"Compilers 5.0"*)
 
13789
          wlarc=''
 
13790
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
13791
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
13792
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
13793
          ;;
 
13794
        *)
 
13795
          wlarc='${wl}'
 
13796
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
13797
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
13798
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
13799
          ;;
 
13800
        esac
 
13801
      fi
 
13802
      hardcode_libdir_flag_spec='-R$libdir'
 
13803
      hardcode_shlibpath_var=no
 
13804
      case $host_os in
 
13805
      solaris2.[0-5] | solaris2.[0-5].*) ;;
 
13806
      *)
 
13807
        # The compiler driver will combine and reorder linker options,
 
13808
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
13809
        # but is careful enough not to reorder.
 
13810
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
13811
        if test "$GCC" = yes; then
 
13812
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
13813
        else
 
13814
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
13815
        fi
 
13816
        ;;
 
13817
      esac
 
13818
      link_all_deplibs=yes
 
13819
      ;;
 
13820
 
 
13821
    sunos4*)
 
13822
      if test "x$host_vendor" = xsequent; then
 
13823
        # Use $CC to link under sequent, because it throws in some extra .o
 
13824
        # files that make .init and .fini sections work.
 
13825
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
13826
      else
 
13827
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 
13828
      fi
 
13829
      hardcode_libdir_flag_spec='-L$libdir'
 
13830
      hardcode_direct=yes
 
13831
      hardcode_minus_L=yes
 
13832
      hardcode_shlibpath_var=no
 
13833
      ;;
 
13834
 
 
13835
    sysv4)
 
13836
      case $host_vendor in
 
13837
        sni)
 
13838
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
13839
          hardcode_direct=yes # is this really true???
 
13840
        ;;
 
13841
        siemens)
 
13842
          ## LD is ld it makes a PLAMLIB
 
13843
          ## CC just makes a GrossModule.
 
13844
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 
13845
          reload_cmds='$CC -r -o $output$reload_objs'
 
13846
          hardcode_direct=no
 
13847
        ;;
 
13848
        motorola)
 
13849
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
13850
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
 
13851
        ;;
 
13852
      esac
 
13853
      runpath_var='LD_RUN_PATH'
 
13854
      hardcode_shlibpath_var=no
 
13855
      ;;
 
13856
 
 
13857
    sysv4.3*)
 
13858
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
13859
      hardcode_shlibpath_var=no
 
13860
      export_dynamic_flag_spec='-Bexport'
 
13861
      ;;
 
13862
 
 
13863
    sysv4*MP*)
 
13864
      if test -d /usr/nec; then
 
13865
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
13866
        hardcode_shlibpath_var=no
 
13867
        runpath_var=LD_RUN_PATH
 
13868
        hardcode_runpath_var=yes
 
13869
        ld_shlibs=yes
 
13870
      fi
 
13871
      ;;
 
13872
 
 
13873
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
13874
      no_undefined_flag='${wl}-z,text'
 
13875
      archive_cmds_need_lc=no
 
13876
      hardcode_shlibpath_var=no
 
13877
      runpath_var='LD_RUN_PATH'
 
13878
 
 
13879
      if test "$GCC" = yes; then
 
13880
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13881
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13882
      else
 
13883
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13884
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13885
      fi
 
13886
      ;;
 
13887
 
 
13888
    sysv5* | sco3.2v5* | sco5v6*)
 
13889
      # Note: We can NOT use -z defs as we might desire, because we do not
 
13890
      # link with -lc, and that would cause any symbols used from libc to
 
13891
      # always be unresolved, which means just about no library would
 
13892
      # ever link correctly.  If we're not using GNU ld we use -z text
 
13893
      # though, which does catch some bad symbols but isn't as heavy-handed
 
13894
      # as -z defs.
 
13895
      no_undefined_flag='${wl}-z,text'
 
13896
      allow_undefined_flag='${wl}-z,nodefs'
 
13897
      archive_cmds_need_lc=no
 
13898
      hardcode_shlibpath_var=no
 
13899
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
 
13900
      hardcode_libdir_separator=':'
 
13901
      link_all_deplibs=yes
 
13902
      export_dynamic_flag_spec='${wl}-Bexport'
 
13903
      runpath_var='LD_RUN_PATH'
 
13904
 
 
13905
      if test "$GCC" = yes; then
 
13906
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13907
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13908
      else
 
13909
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13910
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13911
      fi
 
13912
      ;;
 
13913
 
 
13914
    uts4*)
 
13915
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
13916
      hardcode_libdir_flag_spec='-L$libdir'
 
13917
      hardcode_shlibpath_var=no
 
13918
      ;;
 
13919
 
 
13920
    *)
 
13921
      ld_shlibs=no
 
13922
      ;;
 
13923
    esac
 
13924
 
 
13925
    if test x$host_vendor = xsni; then
 
13926
      case $host in
 
13927
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
13928
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
13929
        ;;
 
13930
      esac
 
13931
    fi
 
13932
  fi
 
13933
 
 
13934
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
 
13935
$as_echo "$ld_shlibs" >&6; }
 
13936
test "$ld_shlibs" = no && can_build_shared=no
 
13937
 
 
13938
with_gnu_ld=$with_gnu_ld
 
13939
 
 
13940
 
 
13941
 
 
13942
 
 
13943
 
 
13944
 
 
13945
 
 
13946
 
 
13947
 
 
13948
 
 
13949
 
 
13950
 
 
13951
 
 
13952
 
 
13953
 
 
13954
#
 
13955
# Do we need to explicitly link libc?
 
13956
#
 
13957
case "x$archive_cmds_need_lc" in
 
13958
x|xyes)
 
13959
  # Assume -lc should be added
 
13960
  archive_cmds_need_lc=yes
 
13961
 
 
13962
  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
13963
    case $archive_cmds in
 
13964
    *'~'*)
 
13965
      # FIXME: we may have to deal with multi-command sequences.
 
13966
      ;;
 
13967
    '$CC '*)
 
13968
      # Test whether the compiler implicitly links with -lc since on some
 
13969
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
13970
      # to ld, don't add -lc before -lgcc.
 
13971
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 
13972
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
13973
if ${lt_cv_archive_cmds_need_lc+:} false; then :
 
13974
  $as_echo_n "(cached) " >&6
 
13975
else
 
13976
  $RM conftest*
 
13977
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
13978
 
 
13979
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
13980
  (eval $ac_compile) 2>&5
 
13981
  ac_status=$?
 
13982
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13983
  test $ac_status = 0; } 2>conftest.err; then
 
13984
          soname=conftest
 
13985
          lib=conftest
 
13986
          libobjs=conftest.$ac_objext
 
13987
          deplibs=
 
13988
          wl=$lt_prog_compiler_wl
 
13989
          pic_flag=$lt_prog_compiler_pic
 
13990
          compiler_flags=-v
 
13991
          linker_flags=-v
 
13992
          verstring=
 
13993
          output_objdir=.
 
13994
          libname=conftest
 
13995
          lt_save_allow_undefined_flag=$allow_undefined_flag
 
13996
          allow_undefined_flag=
 
13997
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
13998
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
13999
  ac_status=$?
 
14000
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14001
  test $ac_status = 0; }
 
14002
          then
 
14003
            lt_cv_archive_cmds_need_lc=no
 
14004
          else
 
14005
            lt_cv_archive_cmds_need_lc=yes
 
14006
          fi
 
14007
          allow_undefined_flag=$lt_save_allow_undefined_flag
 
14008
        else
 
14009
          cat conftest.err 1>&5
 
14010
        fi
 
14011
        $RM conftest*
 
14012
 
 
14013
fi
 
14014
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 
14015
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 
14016
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
 
14017
      ;;
 
14018
    esac
 
14019
  fi
 
14020
  ;;
 
14021
esac
 
14022
 
 
14023
 
 
14024
 
 
14025
 
 
14026
 
 
14027
 
 
14028
 
 
14029
 
 
14030
 
 
14031
 
 
14032
 
 
14033
 
 
14034
 
 
14035
 
 
14036
 
 
14037
 
 
14038
 
 
14039
 
 
14040
 
 
14041
 
 
14042
 
 
14043
 
 
14044
 
 
14045
 
 
14046
 
 
14047
 
 
14048
 
 
14049
 
 
14050
 
 
14051
 
 
14052
 
 
14053
 
 
14054
 
 
14055
 
 
14056
 
 
14057
 
 
14058
 
 
14059
 
 
14060
 
 
14061
 
 
14062
 
 
14063
 
 
14064
 
 
14065
 
 
14066
 
 
14067
 
 
14068
 
 
14069
 
 
14070
 
 
14071
 
 
14072
 
 
14073
 
 
14074
 
 
14075
 
 
14076
 
 
14077
 
 
14078
 
 
14079
 
 
14080
 
 
14081
 
 
14082
 
 
14083
 
 
14084
 
 
14085
 
 
14086
 
 
14087
 
 
14088
 
 
14089
 
 
14090
 
 
14091
 
 
14092
 
 
14093
 
 
14094
 
 
14095
 
 
14096
 
 
14097
 
 
14098
 
 
14099
 
 
14100
 
 
14101
 
 
14102
 
 
14103
 
 
14104
 
 
14105
 
 
14106
 
 
14107
 
 
14108
 
 
14109
 
 
14110
 
 
14111
 
 
14112
 
 
14113
 
 
14114
 
 
14115
 
 
14116
 
 
14117
 
 
14118
 
 
14119
 
 
14120
 
 
14121
 
 
14122
 
 
14123
 
 
14124
 
 
14125
 
 
14126
 
 
14127
 
 
14128
 
 
14129
 
 
14130
 
 
14131
 
 
14132
 
 
14133
 
 
14134
 
 
14135
 
 
14136
 
 
14137
 
 
14138
 
 
14139
 
 
14140
 
 
14141
 
 
14142
 
 
14143
 
 
14144
 
 
14145
 
 
14146
 
 
14147
 
 
14148
 
 
14149
 
 
14150
 
 
14151
 
 
14152
 
 
14153
 
 
14154
 
 
14155
 
 
14156
 
 
14157
 
 
14158
 
 
14159
 
 
14160
 
 
14161
 
 
14162
 
 
14163
 
 
14164
 
 
14165
 
 
14166
 
 
14167
 
 
14168
 
 
14169
 
 
14170
 
 
14171
 
 
14172
 
 
14173
 
 
14174
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
14175
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
14176
 
 
14177
if test "$GCC" = yes; then
 
14178
  case $host_os in
 
14179
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
14180
    *) lt_awk_arg="/^libraries:/" ;;
 
14181
  esac
 
14182
  case $host_os in
 
14183
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 
14184
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
14185
  esac
 
14186
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
14187
  case $lt_search_path_spec in
 
14188
  *\;*)
 
14189
    # if the path contains ";" then we assume it to be the separator
 
14190
    # otherwise default to the standard path separator (i.e. ":") - it is
 
14191
    # assumed that no part of a normal pathname contains ";" but that should
 
14192
    # okay in the real world where ";" in dirpaths is itself problematic.
 
14193
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
14194
    ;;
 
14195
  *)
 
14196
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
14197
    ;;
 
14198
  esac
 
14199
  # Ok, now we have the path, separated by spaces, we can step through it
 
14200
  # and add multilib dir if necessary.
 
14201
  lt_tmp_lt_search_path_spec=
 
14202
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
14203
  for lt_sys_path in $lt_search_path_spec; do
 
14204
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
14205
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
14206
    else
 
14207
      test -d "$lt_sys_path" && \
 
14208
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
14209
    fi
 
14210
  done
 
14211
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
 
14212
BEGIN {RS=" "; FS="/|\n";} {
 
14213
  lt_foo="";
 
14214
  lt_count=0;
 
14215
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
14216
    if ($lt_i != "" && $lt_i != ".") {
 
14217
      if ($lt_i == "..") {
 
14218
        lt_count++;
 
14219
      } else {
 
14220
        if (lt_count == 0) {
 
14221
          lt_foo="/" $lt_i lt_foo;
 
14222
        } else {
 
14223
          lt_count--;
 
14224
        }
 
14225
      }
 
14226
    }
 
14227
  }
 
14228
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
14229
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
14230
}'`
 
14231
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
14232
  # for these hosts.
 
14233
  case $host_os in
 
14234
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
14235
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
14236
  esac
 
14237
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
 
14238
else
 
14239
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
14240
fi
 
14241
library_names_spec=
 
14242
libname_spec='lib$name'
 
14243
soname_spec=
 
14244
shrext_cmds=".so"
 
14245
postinstall_cmds=
 
14246
postuninstall_cmds=
 
14247
finish_cmds=
 
14248
finish_eval=
 
14249
shlibpath_var=
 
14250
shlibpath_overrides_runpath=unknown
 
14251
version_type=none
 
14252
dynamic_linker="$host_os ld.so"
 
14253
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
14254
need_lib_prefix=unknown
 
14255
hardcode_into_libs=no
 
14256
 
 
14257
# when you set need_version to no, make sure it does not cause -set_version
 
14258
# flags to be left without arguments
 
14259
need_version=unknown
 
14260
 
 
14261
case $host_os in
 
14262
aix3*)
 
14263
  version_type=linux # correct to gnu/linux during the next big refactor
 
14264
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
14265
  shlibpath_var=LIBPATH
 
14266
 
 
14267
  # AIX 3 has no versioning support, so we append a major version to the name.
 
14268
  soname_spec='${libname}${release}${shared_ext}$major'
 
14269
  ;;
 
14270
 
 
14271
aix[4-9]*)
 
14272
  version_type=linux # correct to gnu/linux during the next big refactor
 
14273
  need_lib_prefix=no
 
14274
  need_version=no
 
14275
  hardcode_into_libs=yes
 
14276
  if test "$host_cpu" = ia64; then
 
14277
    # AIX 5 supports IA64
 
14278
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
14279
    shlibpath_var=LD_LIBRARY_PATH
 
14280
  else
 
14281
    # With GCC up to 2.95.x, collect2 would create an import file
 
14282
    # for dependence libraries.  The import file would start with
 
14283
    # the line `#! .'.  This would cause the generated library to
 
14284
    # depend on `.', always an invalid library.  This was fixed in
 
14285
    # development snapshots of GCC prior to 3.0.
 
14286
    case $host_os in
 
14287
      aix4 | aix4.[01] | aix4.[01].*)
 
14288
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
14289
           echo ' yes '
 
14290
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
 
14291
        :
 
14292
      else
 
14293
        can_build_shared=no
 
14294
      fi
 
14295
      ;;
 
14296
    esac
 
14297
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
14298
    # soname into executable. Probably we can add versioning support to
 
14299
    # collect2, so additional links can be useful in future.
 
14300
    if test "$aix_use_runtimelinking" = yes; then
 
14301
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
14302
      # instead of lib<name>.a to let people know that these are not
 
14303
      # typical AIX shared libraries.
 
14304
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14305
    else
 
14306
      # We preserve .a as extension for shared libraries through AIX4.2
 
14307
      # and later when we are not doing run time linking.
 
14308
      library_names_spec='${libname}${release}.a $libname.a'
 
14309
      soname_spec='${libname}${release}${shared_ext}$major'
 
14310
    fi
 
14311
    shlibpath_var=LIBPATH
 
14312
  fi
 
14313
  ;;
 
14314
 
 
14315
amigaos*)
 
14316
  case $host_cpu in
 
14317
  powerpc)
 
14318
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
14319
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
14320
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14321
    ;;
 
14322
  m68k)
 
14323
    library_names_spec='$libname.ixlibrary $libname.a'
 
14324
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
14325
    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'
 
14326
    ;;
 
14327
  esac
 
14328
  ;;
 
14329
 
 
14330
beos*)
 
14331
  library_names_spec='${libname}${shared_ext}'
 
14332
  dynamic_linker="$host_os ld.so"
 
14333
  shlibpath_var=LIBRARY_PATH
 
14334
  ;;
 
14335
 
 
14336
bsdi[45]*)
 
14337
  version_type=linux # correct to gnu/linux during the next big refactor
 
14338
  need_version=no
 
14339
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14340
  soname_spec='${libname}${release}${shared_ext}$major'
 
14341
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
14342
  shlibpath_var=LD_LIBRARY_PATH
 
14343
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
14344
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
14345
  # the default ld.so.conf also contains /usr/contrib/lib and
 
14346
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
14347
  # libtool to hard-code these into programs
 
14348
  ;;
 
14349
 
 
14350
cygwin* | mingw* | pw32* | cegcc*)
 
14351
  version_type=windows
 
14352
  shrext_cmds=".dll"
 
14353
  need_version=no
 
14354
  need_lib_prefix=no
 
14355
 
 
14356
  case $GCC,$cc_basename in
 
14357
  yes,*)
 
14358
    # gcc
 
14359
    library_names_spec='$libname.dll.a'
 
14360
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
14361
    postinstall_cmds='base_file=`basename \${file}`~
 
14362
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
14363
      dldir=$destdir/`dirname \$dlpath`~
 
14364
      test -d \$dldir || mkdir -p \$dldir~
 
14365
      $install_prog $dir/$dlname \$dldir/$dlname~
 
14366
      chmod a+x \$dldir/$dlname~
 
14367
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
14368
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
14369
      fi'
 
14370
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
14371
      dlpath=$dir/\$dldll~
 
14372
       $RM \$dlpath'
 
14373
    shlibpath_overrides_runpath=yes
 
14374
 
 
14375
    case $host_os in
 
14376
    cygwin*)
 
14377
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
14378
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
14379
 
 
14380
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
 
14381
      ;;
 
14382
    mingw* | cegcc*)
 
14383
      # MinGW DLLs use traditional 'lib' prefix
 
14384
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
14385
      ;;
 
14386
    pw32*)
 
14387
      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
14388
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
14389
      ;;
 
14390
    esac
 
14391
    dynamic_linker='Win32 ld.exe'
 
14392
    ;;
 
14393
 
 
14394
  *,cl*)
 
14395
    # Native MSVC
 
14396
    libname_spec='$name'
 
14397
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
14398
    library_names_spec='${libname}.dll.lib'
 
14399
 
 
14400
    case $build_os in
 
14401
    mingw*)
 
14402
      sys_lib_search_path_spec=
 
14403
      lt_save_ifs=$IFS
 
14404
      IFS=';'
 
14405
      for lt_path in $LIB
 
14406
      do
 
14407
        IFS=$lt_save_ifs
 
14408
        # Let DOS variable expansion print the short 8.3 style file name.
 
14409
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
14410
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
14411
      done
 
14412
      IFS=$lt_save_ifs
 
14413
      # Convert to MSYS style.
 
14414
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
14415
      ;;
 
14416
    cygwin*)
 
14417
      # Convert to unix form, then to dos form, then back to unix form
 
14418
      # but this time dos style (no spaces!) so that the unix form looks
 
14419
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
14420
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
14421
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
14422
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
14423
      ;;
 
14424
    *)
 
14425
      sys_lib_search_path_spec="$LIB"
 
14426
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
14427
        # It is most probably a Windows format PATH.
 
14428
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
14429
      else
 
14430
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
14431
      fi
 
14432
      # FIXME: find the short name or the path components, as spaces are
 
14433
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
14434
      ;;
 
14435
    esac
 
14436
 
 
14437
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
14438
    postinstall_cmds='base_file=`basename \${file}`~
 
14439
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
14440
      dldir=$destdir/`dirname \$dlpath`~
 
14441
      test -d \$dldir || mkdir -p \$dldir~
 
14442
      $install_prog $dir/$dlname \$dldir/$dlname'
 
14443
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
14444
      dlpath=$dir/\$dldll~
 
14445
       $RM \$dlpath'
 
14446
    shlibpath_overrides_runpath=yes
 
14447
    dynamic_linker='Win32 link.exe'
 
14448
    ;;
 
14449
 
 
14450
  *)
 
14451
    # Assume MSVC wrapper
 
14452
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
14453
    dynamic_linker='Win32 ld.exe'
 
14454
    ;;
 
14455
  esac
 
14456
  # FIXME: first we should search . and the directory the executable is in
 
14457
  shlibpath_var=PATH
 
14458
  ;;
 
14459
 
 
14460
darwin* | rhapsody*)
 
14461
  dynamic_linker="$host_os dyld"
 
14462
  version_type=darwin
 
14463
  need_lib_prefix=no
 
14464
  need_version=no
 
14465
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
14466
  soname_spec='${libname}${release}${major}$shared_ext'
 
14467
  shlibpath_overrides_runpath=yes
 
14468
  shlibpath_var=DYLD_LIBRARY_PATH
 
14469
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
14470
 
 
14471
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
 
14472
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
14473
  ;;
 
14474
 
 
14475
dgux*)
 
14476
  version_type=linux # correct to gnu/linux during the next big refactor
 
14477
  need_lib_prefix=no
 
14478
  need_version=no
 
14479
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
14480
  soname_spec='${libname}${release}${shared_ext}$major'
 
14481
  shlibpath_var=LD_LIBRARY_PATH
 
14482
  ;;
 
14483
 
 
14484
freebsd* | dragonfly*)
 
14485
  # DragonFly does not have aout.  When/if they implement a new
 
14486
  # versioning mechanism, adjust this.
 
14487
  if test -x /usr/bin/objformat; then
 
14488
    objformat=`/usr/bin/objformat`
 
14489
  else
 
14490
    case $host_os in
 
14491
    freebsd[23].*) objformat=aout ;;
 
14492
    *) objformat=elf ;;
 
14493
    esac
 
14494
  fi
 
14495
  version_type=freebsd-$objformat
 
14496
  case $version_type in
 
14497
    freebsd-elf*)
 
14498
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
14499
      need_version=no
 
14500
      need_lib_prefix=no
 
14501
      ;;
 
14502
    freebsd-*)
 
14503
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
14504
      need_version=yes
 
14505
      ;;
 
14506
  esac
 
14507
  shlibpath_var=LD_LIBRARY_PATH
 
14508
  case $host_os in
 
14509
  freebsd2.*)
 
14510
    shlibpath_overrides_runpath=yes
 
14511
    ;;
 
14512
  freebsd3.[01]* | freebsdelf3.[01]*)
 
14513
    shlibpath_overrides_runpath=yes
 
14514
    hardcode_into_libs=yes
 
14515
    ;;
 
14516
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
14517
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 
14518
    shlibpath_overrides_runpath=no
 
14519
    hardcode_into_libs=yes
 
14520
    ;;
 
14521
  *) # from 4.6 on, and DragonFly
 
14522
    shlibpath_overrides_runpath=yes
 
14523
    hardcode_into_libs=yes
 
14524
    ;;
 
14525
  esac
 
14526
  ;;
 
14527
 
 
14528
gnu*)
 
14529
  version_type=linux # correct to gnu/linux during the next big refactor
 
14530
  need_lib_prefix=no
 
14531
  need_version=no
 
14532
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
14533
  soname_spec='${libname}${release}${shared_ext}$major'
 
14534
  shlibpath_var=LD_LIBRARY_PATH
 
14535
  shlibpath_overrides_runpath=no
 
14536
  hardcode_into_libs=yes
 
14537
  ;;
 
14538
 
 
14539
haiku*)
 
14540
  version_type=linux # correct to gnu/linux during the next big refactor
 
14541
  need_lib_prefix=no
 
14542
  need_version=no
 
14543
  dynamic_linker="$host_os runtime_loader"
 
14544
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
14545
  soname_spec='${libname}${release}${shared_ext}$major'
 
14546
  shlibpath_var=LIBRARY_PATH
 
14547
  shlibpath_overrides_runpath=yes
 
14548
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 
14549
  hardcode_into_libs=yes
 
14550
  ;;
 
14551
 
 
14552
hpux9* | hpux10* | hpux11*)
 
14553
  # Give a soname corresponding to the major version so that dld.sl refuses to
 
14554
  # link against other versions.
 
14555
  version_type=sunos
 
14556
  need_lib_prefix=no
 
14557
  need_version=no
 
14558
  case $host_cpu in
 
14559
  ia64*)
 
14560
    shrext_cmds='.so'
 
14561
    hardcode_into_libs=yes
 
14562
    dynamic_linker="$host_os dld.so"
 
14563
    shlibpath_var=LD_LIBRARY_PATH
 
14564
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
14565
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14566
    soname_spec='${libname}${release}${shared_ext}$major'
 
14567
    if test "X$HPUX_IA64_MODE" = X32; then
 
14568
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
14569
    else
 
14570
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
14571
    fi
 
14572
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
14573
    ;;
 
14574
  hppa*64*)
 
14575
    shrext_cmds='.sl'
 
14576
    hardcode_into_libs=yes
 
14577
    dynamic_linker="$host_os dld.sl"
 
14578
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
14579
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
14580
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14581
    soname_spec='${libname}${release}${shared_ext}$major'
 
14582
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
14583
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
14584
    ;;
 
14585
  *)
 
14586
    shrext_cmds='.sl'
 
14587
    dynamic_linker="$host_os dld.sl"
 
14588
    shlibpath_var=SHLIB_PATH
 
14589
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
14590
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14591
    soname_spec='${libname}${release}${shared_ext}$major'
 
14592
    ;;
 
14593
  esac
 
14594
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
 
14595
  postinstall_cmds='chmod 555 $lib'
 
14596
  # or fails outright, so override atomically:
 
14597
  install_override_mode=555
 
14598
  ;;
 
14599
 
 
14600
interix[3-9]*)
 
14601
  version_type=linux # correct to gnu/linux during the next big refactor
 
14602
  need_lib_prefix=no
 
14603
  need_version=no
 
14604
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
14605
  soname_spec='${libname}${release}${shared_ext}$major'
 
14606
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
14607
  shlibpath_var=LD_LIBRARY_PATH
 
14608
  shlibpath_overrides_runpath=no
 
14609
  hardcode_into_libs=yes
 
14610
  ;;
 
14611
 
 
14612
irix5* | irix6* | nonstopux*)
 
14613
  case $host_os in
 
14614
    nonstopux*) version_type=nonstopux ;;
 
14615
    *)
 
14616
        if test "$lt_cv_prog_gnu_ld" = yes; then
 
14617
                version_type=linux # correct to gnu/linux during the next big refactor
 
14618
        else
 
14619
                version_type=irix
 
14620
        fi ;;
 
14621
  esac
 
14622
  need_lib_prefix=no
 
14623
  need_version=no
 
14624
  soname_spec='${libname}${release}${shared_ext}$major'
 
14625
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
14626
  case $host_os in
 
14627
  irix5* | nonstopux*)
 
14628
    libsuff= shlibsuff=
 
14629
    ;;
 
14630
  *)
 
14631
    case $LD in # libtool.m4 will add one of these switches to LD
 
14632
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
14633
      libsuff= shlibsuff= libmagic=32-bit;;
 
14634
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
14635
      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
14636
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
14637
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
14638
    *) libsuff= shlibsuff= libmagic=never-match;;
 
14639
    esac
 
14640
    ;;
 
14641
  esac
 
14642
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
14643
  shlibpath_overrides_runpath=no
 
14644
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
14645
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
14646
  hardcode_into_libs=yes
 
14647
  ;;
 
14648
 
 
14649
# No shared lib support for Linux oldld, aout, or coff.
 
14650
linux*oldld* | linux*aout* | linux*coff*)
 
14651
  dynamic_linker=no
 
14652
  ;;
 
14653
 
 
14654
# This must be glibc/ELF.
 
14655
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
14656
  version_type=linux # correct to gnu/linux during the next big refactor
 
14657
  need_lib_prefix=no
 
14658
  need_version=no
 
14659
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14660
  soname_spec='${libname}${release}${shared_ext}$major'
 
14661
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
14662
  shlibpath_var=LD_LIBRARY_PATH
 
14663
  shlibpath_overrides_runpath=no
 
14664
 
 
14665
  # Some binutils ld are patched to set DT_RUNPATH
 
14666
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
14667
  $as_echo_n "(cached) " >&6
 
14668
else
 
14669
  lt_cv_shlibpath_overrides_runpath=no
 
14670
    save_LDFLAGS=$LDFLAGS
 
14671
    save_libdir=$libdir
 
14672
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
14673
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
14674
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14675
/* end confdefs.h.  */
 
14676
 
 
14677
int
 
14678
main ()
 
14679
{
 
14680
 
 
14681
  ;
 
14682
  return 0;
 
14683
}
 
14684
_ACEOF
 
14685
if ac_fn_c_try_link "$LINENO"; then :
 
14686
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
14687
  lt_cv_shlibpath_overrides_runpath=yes
 
14688
fi
 
14689
fi
 
14690
rm -f core conftest.err conftest.$ac_objext \
 
14691
    conftest$ac_exeext conftest.$ac_ext
 
14692
    LDFLAGS=$save_LDFLAGS
 
14693
    libdir=$save_libdir
 
14694
 
 
14695
fi
 
14696
 
 
14697
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
 
14698
 
 
14699
  # This implies no fast_install, which is unacceptable.
 
14700
  # Some rework will be needed to allow for fast_install
 
14701
  # before this can be enabled.
 
14702
  hardcode_into_libs=yes
 
14703
 
 
14704
  # Add ABI-specific directories to the system library path.
 
14705
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
 
14706
 
 
14707
  # Append ld.so.conf contents to the search path
 
14708
  if test -f /etc/ld.so.conf; then
 
14709
    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' ' '`
 
14710
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
 
14711
 
 
14712
  fi
 
14713
 
 
14714
  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
14715
  # powerpc, because MkLinux only supported shared libraries with the
 
14716
  # GNU dynamic linker.  Since this was broken with cross compilers,
 
14717
  # most powerpc-linux boxes support dynamic linking these days and
 
14718
  # people can always --disable-shared, the test was removed, and we
 
14719
  # assume the GNU/Linux dynamic linker is in use.
 
14720
  dynamic_linker='GNU/Linux ld.so'
 
14721
  ;;
 
14722
 
 
14723
netbsd*)
 
14724
  version_type=sunos
 
14725
  need_lib_prefix=no
 
14726
  need_version=no
 
14727
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
14728
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
14729
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
14730
    dynamic_linker='NetBSD (a.out) ld.so'
 
14731
  else
 
14732
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
14733
    soname_spec='${libname}${release}${shared_ext}$major'
 
14734
    dynamic_linker='NetBSD ld.elf_so'
 
14735
  fi
 
14736
  shlibpath_var=LD_LIBRARY_PATH
 
14737
  shlibpath_overrides_runpath=yes
 
14738
  hardcode_into_libs=yes
 
14739
  ;;
 
14740
 
 
14741
newsos6)
 
14742
  version_type=linux # correct to gnu/linux during the next big refactor
 
14743
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14744
  shlibpath_var=LD_LIBRARY_PATH
 
14745
  shlibpath_overrides_runpath=yes
 
14746
  ;;
 
14747
 
 
14748
*nto* | *qnx*)
 
14749
  version_type=qnx
 
14750
  need_lib_prefix=no
 
14751
  need_version=no
 
14752
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14753
  soname_spec='${libname}${release}${shared_ext}$major'
 
14754
  shlibpath_var=LD_LIBRARY_PATH
 
14755
  shlibpath_overrides_runpath=no
 
14756
  hardcode_into_libs=yes
 
14757
  dynamic_linker='ldqnx.so'
 
14758
  ;;
 
14759
 
 
14760
openbsd*)
 
14761
  version_type=sunos
 
14762
  sys_lib_dlsearch_path_spec="/usr/lib"
 
14763
  need_lib_prefix=no
 
14764
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
14765
  case $host_os in
 
14766
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
14767
    *)                          need_version=no  ;;
 
14768
  esac
 
14769
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
14770
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
14771
  shlibpath_var=LD_LIBRARY_PATH
 
14772
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
14773
    case $host_os in
 
14774
      openbsd2.[89] | openbsd2.[89].*)
 
14775
        shlibpath_overrides_runpath=no
 
14776
        ;;
 
14777
      *)
 
14778
        shlibpath_overrides_runpath=yes
 
14779
        ;;
 
14780
      esac
 
14781
  else
 
14782
    shlibpath_overrides_runpath=yes
 
14783
  fi
 
14784
  ;;
 
14785
 
 
14786
os2*)
 
14787
  libname_spec='$name'
 
14788
  shrext_cmds=".dll"
 
14789
  need_lib_prefix=no
 
14790
  library_names_spec='$libname${shared_ext} $libname.a'
 
14791
  dynamic_linker='OS/2 ld.exe'
 
14792
  shlibpath_var=LIBPATH
 
14793
  ;;
 
14794
 
 
14795
osf3* | osf4* | osf5*)
 
14796
  version_type=osf
 
14797
  need_lib_prefix=no
 
14798
  need_version=no
 
14799
  soname_spec='${libname}${release}${shared_ext}$major'
 
14800
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14801
  shlibpath_var=LD_LIBRARY_PATH
 
14802
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
14803
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
14804
  ;;
 
14805
 
 
14806
rdos*)
 
14807
  dynamic_linker=no
 
14808
  ;;
 
14809
 
 
14810
solaris*)
 
14811
  version_type=linux # correct to gnu/linux during the next big refactor
 
14812
  need_lib_prefix=no
 
14813
  need_version=no
 
14814
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14815
  soname_spec='${libname}${release}${shared_ext}$major'
 
14816
  shlibpath_var=LD_LIBRARY_PATH
 
14817
  shlibpath_overrides_runpath=yes
 
14818
  hardcode_into_libs=yes
 
14819
  # ldd complains unless libraries are executable
 
14820
  postinstall_cmds='chmod +x $lib'
 
14821
  ;;
 
14822
 
 
14823
sunos4*)
 
14824
  version_type=sunos
 
14825
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
14826
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
14827
  shlibpath_var=LD_LIBRARY_PATH
 
14828
  shlibpath_overrides_runpath=yes
 
14829
  if test "$with_gnu_ld" = yes; then
 
14830
    need_lib_prefix=no
 
14831
  fi
 
14832
  need_version=yes
 
14833
  ;;
 
14834
 
 
14835
sysv4 | sysv4.3*)
 
14836
  version_type=linux # correct to gnu/linux during the next big refactor
 
14837
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14838
  soname_spec='${libname}${release}${shared_ext}$major'
 
14839
  shlibpath_var=LD_LIBRARY_PATH
 
14840
  case $host_vendor in
 
14841
    sni)
 
14842
      shlibpath_overrides_runpath=no
 
14843
      need_lib_prefix=no
 
14844
      runpath_var=LD_RUN_PATH
 
14845
      ;;
 
14846
    siemens)
 
14847
      need_lib_prefix=no
 
14848
      ;;
 
14849
    motorola)
 
14850
      need_lib_prefix=no
 
14851
      need_version=no
 
14852
      shlibpath_overrides_runpath=no
 
14853
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
14854
      ;;
 
14855
  esac
 
14856
  ;;
 
14857
 
 
14858
sysv4*MP*)
 
14859
  if test -d /usr/nec ;then
 
14860
    version_type=linux # correct to gnu/linux during the next big refactor
 
14861
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
14862
    soname_spec='$libname${shared_ext}.$major'
 
14863
    shlibpath_var=LD_LIBRARY_PATH
 
14864
  fi
 
14865
  ;;
 
14866
 
 
14867
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
14868
  version_type=freebsd-elf
 
14869
  need_lib_prefix=no
 
14870
  need_version=no
 
14871
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
14872
  soname_spec='${libname}${release}${shared_ext}$major'
 
14873
  shlibpath_var=LD_LIBRARY_PATH
 
14874
  shlibpath_overrides_runpath=yes
 
14875
  hardcode_into_libs=yes
 
14876
  if test "$with_gnu_ld" = yes; then
 
14877
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
14878
  else
 
14879
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
14880
    case $host_os in
 
14881
      sco3.2v5*)
 
14882
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
14883
        ;;
 
14884
    esac
 
14885
  fi
 
14886
  sys_lib_dlsearch_path_spec='/usr/lib'
 
14887
  ;;
 
14888
 
 
14889
tpf*)
 
14890
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
14891
  version_type=linux # correct to gnu/linux during the next big refactor
 
14892
  need_lib_prefix=no
 
14893
  need_version=no
 
14894
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14895
  shlibpath_var=LD_LIBRARY_PATH
 
14896
  shlibpath_overrides_runpath=no
 
14897
  hardcode_into_libs=yes
 
14898
  ;;
 
14899
 
 
14900
uts4*)
 
14901
  version_type=linux # correct to gnu/linux during the next big refactor
 
14902
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14903
  soname_spec='${libname}${release}${shared_ext}$major'
 
14904
  shlibpath_var=LD_LIBRARY_PATH
 
14905
  ;;
 
14906
 
 
14907
*)
 
14908
  dynamic_linker=no
 
14909
  ;;
 
14910
esac
 
14911
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 
14912
$as_echo "$dynamic_linker" >&6; }
 
14913
test "$dynamic_linker" = no && can_build_shared=no
 
14914
 
 
14915
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
14916
if test "$GCC" = yes; then
 
14917
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
14918
fi
 
14919
 
 
14920
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
14921
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
14922
fi
 
14923
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
14924
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
14925
fi
 
14926
 
 
14927
 
 
14928
 
 
14929
 
 
14930
 
 
14931
 
 
14932
 
 
14933
 
 
14934
 
 
14935
 
 
14936
 
 
14937
 
 
14938
 
 
14939
 
 
14940
 
 
14941
 
 
14942
 
 
14943
 
 
14944
 
 
14945
 
 
14946
 
 
14947
 
 
14948
 
 
14949
 
 
14950
 
 
14951
 
 
14952
 
 
14953
 
 
14954
 
 
14955
 
 
14956
 
 
14957
 
 
14958
 
 
14959
 
 
14960
 
 
14961
 
 
14962
 
 
14963
 
 
14964
 
 
14965
 
 
14966
 
 
14967
 
 
14968
 
 
14969
 
 
14970
 
 
14971
 
 
14972
 
 
14973
 
 
14974
 
 
14975
 
 
14976
 
 
14977
 
 
14978
 
 
14979
 
 
14980
 
 
14981
 
 
14982
 
 
14983
 
 
14984
 
 
14985
 
 
14986
 
 
14987
 
 
14988
 
 
14989
 
 
14990
 
 
14991
 
 
14992
 
 
14993
 
 
14994
 
 
14995
 
 
14996
 
 
14997
 
 
14998
 
 
14999
 
 
15000
 
 
15001
 
 
15002
 
 
15003
 
 
15004
 
 
15005
 
 
15006
 
 
15007
 
 
15008
 
 
15009
 
 
15010
 
 
15011
 
 
15012
 
 
15013
 
 
15014
 
 
15015
 
 
15016
 
 
15017
 
 
15018
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
15019
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 
15020
hardcode_action=
 
15021
if test -n "$hardcode_libdir_flag_spec" ||
 
15022
   test -n "$runpath_var" ||
 
15023
   test "X$hardcode_automatic" = "Xyes" ; then
 
15024
 
 
15025
  # We can hardcode non-existent directories.
 
15026
  if test "$hardcode_direct" != no &&
 
15027
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
15028
     # have to relink, otherwise we might link with an installed library
 
15029
     # when we should be linking with a yet-to-be-installed one
 
15030
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
15031
     test "$hardcode_minus_L" != no; then
 
15032
    # Linking always hardcodes the temporary library directory.
 
15033
    hardcode_action=relink
 
15034
  else
 
15035
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
15036
    hardcode_action=immediate
 
15037
  fi
 
15038
else
 
15039
  # We cannot hardcode anything, or else we can only hardcode existing
 
15040
  # directories.
 
15041
  hardcode_action=unsupported
 
15042
fi
 
15043
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
 
15044
$as_echo "$hardcode_action" >&6; }
 
15045
 
 
15046
if test "$hardcode_action" = relink ||
 
15047
   test "$inherit_rpath" = yes; then
 
15048
  # Fast installation is not supported
 
15049
  enable_fast_install=no
 
15050
elif test "$shlibpath_overrides_runpath" = yes ||
 
15051
     test "$enable_shared" = no; then
 
15052
  # Fast installation is not necessary
 
15053
  enable_fast_install=needless
 
15054
fi
 
15055
 
 
15056
 
 
15057
 
 
15058
 
 
15059
 
 
15060
 
 
15061
  if test "x$enable_dlopen" != xyes; then
 
15062
  enable_dlopen=unknown
 
15063
  enable_dlopen_self=unknown
 
15064
  enable_dlopen_self_static=unknown
 
15065
else
 
15066
  lt_cv_dlopen=no
 
15067
  lt_cv_dlopen_libs=
 
15068
 
 
15069
  case $host_os in
 
15070
  beos*)
 
15071
    lt_cv_dlopen="load_add_on"
 
15072
    lt_cv_dlopen_libs=
 
15073
    lt_cv_dlopen_self=yes
 
15074
    ;;
 
15075
 
 
15076
  mingw* | pw32* | cegcc*)
 
15077
    lt_cv_dlopen="LoadLibrary"
 
15078
    lt_cv_dlopen_libs=
 
15079
    ;;
 
15080
 
 
15081
  cygwin*)
 
15082
    lt_cv_dlopen="dlopen"
 
15083
    lt_cv_dlopen_libs=
 
15084
    ;;
 
15085
 
 
15086
  darwin*)
 
15087
  # if libdl is installed we need to link against it
 
15088
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
15089
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
15090
if ${ac_cv_lib_dl_dlopen+:} false; then :
 
15091
  $as_echo_n "(cached) " >&6
 
15092
else
 
15093
  ac_check_lib_save_LIBS=$LIBS
 
15094
LIBS="-ldl  $LIBS"
 
15095
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15096
/* end confdefs.h.  */
 
15097
 
 
15098
/* Override any GCC internal prototype to avoid an error.
 
15099
   Use char because int might match the return type of a GCC
 
15100
   builtin and then its argument prototype would still apply.  */
 
15101
#ifdef __cplusplus
 
15102
extern "C"
 
15103
#endif
 
15104
char dlopen ();
 
15105
int
 
15106
main ()
 
15107
{
 
15108
return dlopen ();
 
15109
  ;
 
15110
  return 0;
 
15111
}
 
15112
_ACEOF
 
15113
if ac_fn_c_try_link "$LINENO"; then :
 
15114
  ac_cv_lib_dl_dlopen=yes
 
15115
else
 
15116
  ac_cv_lib_dl_dlopen=no
 
15117
fi
 
15118
rm -f core conftest.err conftest.$ac_objext \
 
15119
    conftest$ac_exeext conftest.$ac_ext
 
15120
LIBS=$ac_check_lib_save_LIBS
 
15121
fi
 
15122
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
15123
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
15124
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 
15125
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
15126
else
 
15127
 
 
15128
    lt_cv_dlopen="dyld"
 
15129
    lt_cv_dlopen_libs=
 
15130
    lt_cv_dlopen_self=yes
 
15131
 
 
15132
fi
 
15133
 
 
15134
    ;;
 
15135
 
 
15136
  *)
 
15137
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
15138
if test "x$ac_cv_func_shl_load" = xyes; then :
 
15139
  lt_cv_dlopen="shl_load"
 
15140
else
 
15141
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
 
15142
$as_echo_n "checking for shl_load in -ldld... " >&6; }
 
15143
if ${ac_cv_lib_dld_shl_load+:} false; then :
 
15144
  $as_echo_n "(cached) " >&6
 
15145
else
 
15146
  ac_check_lib_save_LIBS=$LIBS
 
15147
LIBS="-ldld  $LIBS"
 
15148
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15149
/* end confdefs.h.  */
 
15150
 
 
15151
/* Override any GCC internal prototype to avoid an error.
 
15152
   Use char because int might match the return type of a GCC
 
15153
   builtin and then its argument prototype would still apply.  */
 
15154
#ifdef __cplusplus
 
15155
extern "C"
 
15156
#endif
 
15157
char shl_load ();
 
15158
int
 
15159
main ()
 
15160
{
 
15161
return shl_load ();
 
15162
  ;
 
15163
  return 0;
 
15164
}
 
15165
_ACEOF
 
15166
if ac_fn_c_try_link "$LINENO"; then :
 
15167
  ac_cv_lib_dld_shl_load=yes
 
15168
else
 
15169
  ac_cv_lib_dld_shl_load=no
 
15170
fi
 
15171
rm -f core conftest.err conftest.$ac_objext \
 
15172
    conftest$ac_exeext conftest.$ac_ext
 
15173
LIBS=$ac_check_lib_save_LIBS
 
15174
fi
 
15175
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
 
15176
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
15177
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
 
15178
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
 
15179
else
 
15180
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
15181
if test "x$ac_cv_func_dlopen" = xyes; then :
 
15182
  lt_cv_dlopen="dlopen"
 
15183
else
 
15184
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
15185
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
15186
if ${ac_cv_lib_dl_dlopen+:} false; then :
 
15187
  $as_echo_n "(cached) " >&6
 
15188
else
 
15189
  ac_check_lib_save_LIBS=$LIBS
 
15190
LIBS="-ldl  $LIBS"
 
15191
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15192
/* end confdefs.h.  */
 
15193
 
 
15194
/* Override any GCC internal prototype to avoid an error.
 
15195
   Use char because int might match the return type of a GCC
 
15196
   builtin and then its argument prototype would still apply.  */
 
15197
#ifdef __cplusplus
 
15198
extern "C"
 
15199
#endif
 
15200
char dlopen ();
 
15201
int
 
15202
main ()
 
15203
{
 
15204
return dlopen ();
 
15205
  ;
 
15206
  return 0;
 
15207
}
 
15208
_ACEOF
 
15209
if ac_fn_c_try_link "$LINENO"; then :
 
15210
  ac_cv_lib_dl_dlopen=yes
 
15211
else
 
15212
  ac_cv_lib_dl_dlopen=no
 
15213
fi
 
15214
rm -f core conftest.err conftest.$ac_objext \
 
15215
    conftest$ac_exeext conftest.$ac_ext
 
15216
LIBS=$ac_check_lib_save_LIBS
 
15217
fi
 
15218
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
15219
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
15220
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 
15221
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
15222
else
 
15223
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
 
15224
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
 
15225
if ${ac_cv_lib_svld_dlopen+:} false; then :
 
15226
  $as_echo_n "(cached) " >&6
 
15227
else
 
15228
  ac_check_lib_save_LIBS=$LIBS
 
15229
LIBS="-lsvld  $LIBS"
 
15230
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15231
/* end confdefs.h.  */
 
15232
 
 
15233
/* Override any GCC internal prototype to avoid an error.
 
15234
   Use char because int might match the return type of a GCC
 
15235
   builtin and then its argument prototype would still apply.  */
 
15236
#ifdef __cplusplus
 
15237
extern "C"
 
15238
#endif
 
15239
char dlopen ();
 
15240
int
 
15241
main ()
 
15242
{
 
15243
return dlopen ();
 
15244
  ;
 
15245
  return 0;
 
15246
}
 
15247
_ACEOF
 
15248
if ac_fn_c_try_link "$LINENO"; then :
 
15249
  ac_cv_lib_svld_dlopen=yes
 
15250
else
 
15251
  ac_cv_lib_svld_dlopen=no
 
15252
fi
 
15253
rm -f core conftest.err conftest.$ac_objext \
 
15254
    conftest$ac_exeext conftest.$ac_ext
 
15255
LIBS=$ac_check_lib_save_LIBS
 
15256
fi
 
15257
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
 
15258
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
15259
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
 
15260
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 
15261
else
 
15262
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
 
15263
$as_echo_n "checking for dld_link in -ldld... " >&6; }
 
15264
if ${ac_cv_lib_dld_dld_link+:} false; then :
 
15265
  $as_echo_n "(cached) " >&6
 
15266
else
 
15267
  ac_check_lib_save_LIBS=$LIBS
 
15268
LIBS="-ldld  $LIBS"
 
15269
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15270
/* end confdefs.h.  */
 
15271
 
 
15272
/* Override any GCC internal prototype to avoid an error.
 
15273
   Use char because int might match the return type of a GCC
 
15274
   builtin and then its argument prototype would still apply.  */
 
15275
#ifdef __cplusplus
 
15276
extern "C"
 
15277
#endif
 
15278
char dld_link ();
 
15279
int
 
15280
main ()
 
15281
{
 
15282
return dld_link ();
 
15283
  ;
 
15284
  return 0;
 
15285
}
 
15286
_ACEOF
 
15287
if ac_fn_c_try_link "$LINENO"; then :
 
15288
  ac_cv_lib_dld_dld_link=yes
 
15289
else
 
15290
  ac_cv_lib_dld_dld_link=no
 
15291
fi
 
15292
rm -f core conftest.err conftest.$ac_objext \
 
15293
    conftest$ac_exeext conftest.$ac_ext
 
15294
LIBS=$ac_check_lib_save_LIBS
 
15295
fi
 
15296
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
 
15297
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
15298
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
 
15299
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
 
15300
fi
 
15301
 
 
15302
 
 
15303
fi
 
15304
 
 
15305
 
 
15306
fi
 
15307
 
 
15308
 
 
15309
fi
 
15310
 
 
15311
 
 
15312
fi
 
15313
 
 
15314
 
 
15315
fi
 
15316
 
 
15317
    ;;
 
15318
  esac
 
15319
 
 
15320
  if test "x$lt_cv_dlopen" != xno; then
 
15321
    enable_dlopen=yes
 
15322
  else
 
15323
    enable_dlopen=no
 
15324
  fi
 
15325
 
 
15326
  case $lt_cv_dlopen in
 
15327
  dlopen)
 
15328
    save_CPPFLAGS="$CPPFLAGS"
 
15329
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 
15330
 
 
15331
    save_LDFLAGS="$LDFLAGS"
 
15332
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
15333
 
 
15334
    save_LIBS="$LIBS"
 
15335
    LIBS="$lt_cv_dlopen_libs $LIBS"
 
15336
 
 
15337
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
 
15338
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
 
15339
if ${lt_cv_dlopen_self+:} false; then :
 
15340
  $as_echo_n "(cached) " >&6
 
15341
else
 
15342
          if test "$cross_compiling" = yes; then :
 
15343
  lt_cv_dlopen_self=cross
 
15344
else
 
15345
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
15346
  lt_status=$lt_dlunknown
 
15347
  cat > conftest.$ac_ext <<_LT_EOF
 
15348
#line $LINENO "configure"
 
15349
#include "confdefs.h"
 
15350
 
 
15351
#if HAVE_DLFCN_H
 
15352
#include <dlfcn.h>
 
15353
#endif
 
15354
 
 
15355
#include <stdio.h>
 
15356
 
 
15357
#ifdef RTLD_GLOBAL
 
15358
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
15359
#else
 
15360
#  ifdef DL_GLOBAL
 
15361
#    define LT_DLGLOBAL         DL_GLOBAL
 
15362
#  else
 
15363
#    define LT_DLGLOBAL         0
 
15364
#  endif
 
15365
#endif
 
15366
 
 
15367
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
15368
   find out it does not work in some platform. */
 
15369
#ifndef LT_DLLAZY_OR_NOW
 
15370
#  ifdef RTLD_LAZY
 
15371
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
15372
#  else
 
15373
#    ifdef DL_LAZY
 
15374
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
15375
#    else
 
15376
#      ifdef RTLD_NOW
 
15377
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
15378
#      else
 
15379
#        ifdef DL_NOW
 
15380
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
15381
#        else
 
15382
#          define LT_DLLAZY_OR_NOW      0
 
15383
#        endif
 
15384
#      endif
 
15385
#    endif
 
15386
#  endif
 
15387
#endif
 
15388
 
 
15389
/* When -fvisbility=hidden is used, assume the code has been annotated
 
15390
   correspondingly for the symbols needed.  */
 
15391
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
15392
int fnord () __attribute__((visibility("default")));
 
15393
#endif
 
15394
 
 
15395
int fnord () { return 42; }
 
15396
int main ()
 
15397
{
 
15398
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
15399
  int status = $lt_dlunknown;
 
15400
 
 
15401
  if (self)
 
15402
    {
 
15403
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
15404
      else
 
15405
        {
 
15406
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
15407
          else puts (dlerror ());
 
15408
        }
 
15409
      /* dlclose (self); */
 
15410
    }
 
15411
  else
 
15412
    puts (dlerror ());
 
15413
 
 
15414
  return status;
 
15415
}
 
15416
_LT_EOF
 
15417
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
15418
  (eval $ac_link) 2>&5
 
15419
  ac_status=$?
 
15420
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15421
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
15422
    (./conftest; exit; ) >&5 2>/dev/null
 
15423
    lt_status=$?
 
15424
    case x$lt_status in
 
15425
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
 
15426
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
 
15427
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
 
15428
    esac
 
15429
  else :
 
15430
    # compilation failed
 
15431
    lt_cv_dlopen_self=no
 
15432
  fi
 
15433
fi
 
15434
rm -fr conftest*
 
15435
 
 
15436
 
 
15437
fi
 
15438
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
 
15439
$as_echo "$lt_cv_dlopen_self" >&6; }
 
15440
 
 
15441
    if test "x$lt_cv_dlopen_self" = xyes; then
 
15442
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 
15443
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
 
15444
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
 
15445
if ${lt_cv_dlopen_self_static+:} false; then :
 
15446
  $as_echo_n "(cached) " >&6
 
15447
else
 
15448
          if test "$cross_compiling" = yes; then :
 
15449
  lt_cv_dlopen_self_static=cross
 
15450
else
 
15451
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
15452
  lt_status=$lt_dlunknown
 
15453
  cat > conftest.$ac_ext <<_LT_EOF
 
15454
#line $LINENO "configure"
 
15455
#include "confdefs.h"
 
15456
 
 
15457
#if HAVE_DLFCN_H
 
15458
#include <dlfcn.h>
 
15459
#endif
 
15460
 
 
15461
#include <stdio.h>
 
15462
 
 
15463
#ifdef RTLD_GLOBAL
 
15464
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
15465
#else
 
15466
#  ifdef DL_GLOBAL
 
15467
#    define LT_DLGLOBAL         DL_GLOBAL
 
15468
#  else
 
15469
#    define LT_DLGLOBAL         0
 
15470
#  endif
 
15471
#endif
 
15472
 
 
15473
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
15474
   find out it does not work in some platform. */
 
15475
#ifndef LT_DLLAZY_OR_NOW
 
15476
#  ifdef RTLD_LAZY
 
15477
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
15478
#  else
 
15479
#    ifdef DL_LAZY
 
15480
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
15481
#    else
 
15482
#      ifdef RTLD_NOW
 
15483
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
15484
#      else
 
15485
#        ifdef DL_NOW
 
15486
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
15487
#        else
 
15488
#          define LT_DLLAZY_OR_NOW      0
 
15489
#        endif
 
15490
#      endif
 
15491
#    endif
 
15492
#  endif
 
15493
#endif
 
15494
 
 
15495
/* When -fvisbility=hidden is used, assume the code has been annotated
 
15496
   correspondingly for the symbols needed.  */
 
15497
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
15498
int fnord () __attribute__((visibility("default")));
 
15499
#endif
 
15500
 
 
15501
int fnord () { return 42; }
 
15502
int main ()
 
15503
{
 
15504
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
15505
  int status = $lt_dlunknown;
 
15506
 
 
15507
  if (self)
 
15508
    {
 
15509
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
15510
      else
 
15511
        {
 
15512
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
15513
          else puts (dlerror ());
 
15514
        }
 
15515
      /* dlclose (self); */
 
15516
    }
 
15517
  else
 
15518
    puts (dlerror ());
 
15519
 
 
15520
  return status;
 
15521
}
 
15522
_LT_EOF
 
15523
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
15524
  (eval $ac_link) 2>&5
 
15525
  ac_status=$?
 
15526
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15527
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
15528
    (./conftest; exit; ) >&5 2>/dev/null
 
15529
    lt_status=$?
 
15530
    case x$lt_status in
 
15531
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
 
15532
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
 
15533
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
 
15534
    esac
 
15535
  else :
 
15536
    # compilation failed
 
15537
    lt_cv_dlopen_self_static=no
 
15538
  fi
 
15539
fi
 
15540
rm -fr conftest*
 
15541
 
 
15542
 
 
15543
fi
 
15544
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
 
15545
$as_echo "$lt_cv_dlopen_self_static" >&6; }
 
15546
    fi
 
15547
 
 
15548
    CPPFLAGS="$save_CPPFLAGS"
 
15549
    LDFLAGS="$save_LDFLAGS"
 
15550
    LIBS="$save_LIBS"
 
15551
    ;;
 
15552
  esac
 
15553
 
 
15554
  case $lt_cv_dlopen_self in
 
15555
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 
15556
  *) enable_dlopen_self=unknown ;;
 
15557
  esac
 
15558
 
 
15559
  case $lt_cv_dlopen_self_static in
 
15560
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 
15561
  *) enable_dlopen_self_static=unknown ;;
 
15562
  esac
 
15563
fi
 
15564
 
 
15565
 
 
15566
 
 
15567
 
 
15568
 
 
15569
 
 
15570
 
 
15571
 
 
15572
 
 
15573
 
 
15574
 
 
15575
 
 
15576
 
 
15577
 
 
15578
 
 
15579
 
 
15580
 
 
15581
striplib=
 
15582
old_striplib=
 
15583
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
 
15584
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
15585
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
15586
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
15587
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
15588
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
15589
$as_echo "yes" >&6; }
 
15590
else
 
15591
# FIXME - insert some real tests, host_os isn't really good enough
 
15592
  case $host_os in
 
15593
  darwin*)
 
15594
    if test -n "$STRIP" ; then
 
15595
      striplib="$STRIP -x"
 
15596
      old_striplib="$STRIP -S"
 
15597
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
15598
$as_echo "yes" >&6; }
 
15599
    else
 
15600
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15601
$as_echo "no" >&6; }
 
15602
    fi
 
15603
    ;;
 
15604
  *)
 
15605
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15606
$as_echo "no" >&6; }
 
15607
    ;;
 
15608
  esac
 
15609
fi
 
15610
 
 
15611
 
 
15612
 
 
15613
 
 
15614
 
 
15615
 
 
15616
 
 
15617
 
 
15618
 
 
15619
 
 
15620
 
 
15621
 
 
15622
  # Report which library types will actually be built
 
15623
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
 
15624
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
15625
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
 
15626
$as_echo "$can_build_shared" >&6; }
 
15627
 
 
15628
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
 
15629
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
15630
  test "$can_build_shared" = "no" && enable_shared=no
 
15631
 
 
15632
  # On AIX, shared libraries and static libraries use the same namespace, and
 
15633
  # are all built from PIC.
 
15634
  case $host_os in
 
15635
  aix3*)
 
15636
    test "$enable_shared" = yes && enable_static=no
 
15637
    if test -n "$RANLIB"; then
 
15638
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
15639
      postinstall_cmds='$RANLIB $lib'
 
15640
    fi
 
15641
    ;;
 
15642
 
 
15643
  aix[4-9]*)
 
15644
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
15645
      test "$enable_shared" = yes && enable_static=no
 
15646
    fi
 
15647
    ;;
 
15648
  esac
 
15649
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
 
15650
$as_echo "$enable_shared" >&6; }
 
15651
 
 
15652
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
 
15653
$as_echo_n "checking whether to build static libraries... " >&6; }
 
15654
  # Make sure either enable_shared or enable_static is yes.
 
15655
  test "$enable_shared" = yes || enable_static=yes
 
15656
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
 
15657
$as_echo "$enable_static" >&6; }
 
15658
 
 
15659
 
 
15660
 
 
15661
 
 
15662
fi
 
15663
ac_ext=c
 
15664
ac_cpp='$CPP $CPPFLAGS'
 
15665
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15666
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15667
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
15668
 
 
15669
CC="$lt_save_CC"
 
15670
 
 
15671
 
 
15672
 
 
15673
 
 
15674
 
 
15675
 
 
15676
 
 
15677
 
 
15678
 
 
15679
 
 
15680
 
 
15681
 
 
15682
 
 
15683
 
 
15684
 
 
15685
        ac_config_commands="$ac_config_commands libtool"
 
15686
 
 
15687
 
 
15688
 
 
15689
 
 
15690
# Only expand once:
 
15691
 
 
15692
 
 
15693
 
 
15694
LIBM=
 
15695
case $host in
 
15696
*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
 
15697
  # These system don't have libm, or don't need it
 
15698
  ;;
 
15699
*-ncr-sysv4.3*)
 
15700
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
 
15701
$as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
 
15702
if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then :
 
15703
  $as_echo_n "(cached) " >&6
 
15704
else
 
15705
  ac_check_lib_save_LIBS=$LIBS
 
15706
LIBS="-lmw  $LIBS"
 
15707
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15708
/* end confdefs.h.  */
 
15709
 
 
15710
/* Override any GCC internal prototype to avoid an error.
 
15711
   Use char because int might match the return type of a GCC
 
15712
   builtin and then its argument prototype would still apply.  */
 
15713
#ifdef __cplusplus
 
15714
extern "C"
 
15715
#endif
 
15716
char _mwvalidcheckl ();
 
15717
int
 
15718
main ()
 
15719
{
 
15720
return _mwvalidcheckl ();
 
15721
  ;
 
15722
  return 0;
 
15723
}
 
15724
_ACEOF
 
15725
if ac_fn_c_try_link "$LINENO"; then :
 
15726
  ac_cv_lib_mw__mwvalidcheckl=yes
 
15727
else
 
15728
  ac_cv_lib_mw__mwvalidcheckl=no
 
15729
fi
 
15730
rm -f core conftest.err conftest.$ac_objext \
 
15731
    conftest$ac_exeext conftest.$ac_ext
 
15732
LIBS=$ac_check_lib_save_LIBS
 
15733
fi
 
15734
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
 
15735
$as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
 
15736
if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
 
15737
  LIBM="-lmw"
 
15738
fi
 
15739
 
 
15740
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
 
15741
$as_echo_n "checking for cos in -lm... " >&6; }
 
15742
if ${ac_cv_lib_m_cos+:} false; then :
 
15743
  $as_echo_n "(cached) " >&6
 
15744
else
 
15745
  ac_check_lib_save_LIBS=$LIBS
 
15746
LIBS="-lm  $LIBS"
 
15747
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15748
/* end confdefs.h.  */
 
15749
 
 
15750
/* Override any GCC internal prototype to avoid an error.
 
15751
   Use char because int might match the return type of a GCC
 
15752
   builtin and then its argument prototype would still apply.  */
 
15753
#ifdef __cplusplus
 
15754
extern "C"
 
15755
#endif
 
15756
char cos ();
 
15757
int
 
15758
main ()
 
15759
{
 
15760
return cos ();
 
15761
  ;
 
15762
  return 0;
 
15763
}
 
15764
_ACEOF
 
15765
if ac_fn_c_try_link "$LINENO"; then :
 
15766
  ac_cv_lib_m_cos=yes
 
15767
else
 
15768
  ac_cv_lib_m_cos=no
 
15769
fi
 
15770
rm -f core conftest.err conftest.$ac_objext \
 
15771
    conftest$ac_exeext conftest.$ac_ext
 
15772
LIBS=$ac_check_lib_save_LIBS
 
15773
fi
 
15774
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
 
15775
$as_echo "$ac_cv_lib_m_cos" >&6; }
 
15776
if test "x$ac_cv_lib_m_cos" = xyes; then :
 
15777
  LIBM="$LIBM -lm"
 
15778
fi
 
15779
 
 
15780
  ;;
 
15781
*)
 
15782
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
 
15783
$as_echo_n "checking for cos in -lm... " >&6; }
 
15784
if ${ac_cv_lib_m_cos+:} false; then :
 
15785
  $as_echo_n "(cached) " >&6
 
15786
else
 
15787
  ac_check_lib_save_LIBS=$LIBS
 
15788
LIBS="-lm  $LIBS"
 
15789
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15790
/* end confdefs.h.  */
 
15791
 
 
15792
/* Override any GCC internal prototype to avoid an error.
 
15793
   Use char because int might match the return type of a GCC
 
15794
   builtin and then its argument prototype would still apply.  */
 
15795
#ifdef __cplusplus
 
15796
extern "C"
 
15797
#endif
 
15798
char cos ();
 
15799
int
 
15800
main ()
 
15801
{
 
15802
return cos ();
 
15803
  ;
 
15804
  return 0;
 
15805
}
 
15806
_ACEOF
 
15807
if ac_fn_c_try_link "$LINENO"; then :
 
15808
  ac_cv_lib_m_cos=yes
 
15809
else
 
15810
  ac_cv_lib_m_cos=no
 
15811
fi
 
15812
rm -f core conftest.err conftest.$ac_objext \
 
15813
    conftest$ac_exeext conftest.$ac_ext
 
15814
LIBS=$ac_check_lib_save_LIBS
 
15815
fi
 
15816
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
 
15817
$as_echo "$ac_cv_lib_m_cos" >&6; }
 
15818
if test "x$ac_cv_lib_m_cos" = xyes; then :
 
15819
  LIBM="-lm"
 
15820
fi
 
15821
 
 
15822
  ;;
 
15823
esac
 
15824
 
 
15825
 
 
15826
 
 
15827
 
 
15828
    LIBGD_MODULE_DIR=libgd
 
15829
 
 
15830
 
 
15831
 
 
15832
 
 
15833
 
 
15834
    LIBGD_MODULES="gtk+-3.0 >= 3.4"
 
15835
    LIBGD_GIR_INCLUDES="Gtk-3.0"
 
15836
    LIBGD_SOURCES=""
 
15837
 
 
15838
     if true; then
 
15839
  LIBGD_STATIC_TRUE=
 
15840
  LIBGD_STATIC_FALSE='#'
 
15841
else
 
15842
  LIBGD_STATIC_TRUE='#'
 
15843
  LIBGD_STATIC_FALSE=
 
15844
fi
 
15845
 
 
15846
 
 
15847
    # gtk-hacks: collection of Gtk+ hacks and workarounds
 
15848
     if false; then
 
15849
  LIBGD_GTK_HACKS_TRUE=
 
15850
  LIBGD_GTK_HACKS_FALSE='#'
 
15851
else
 
15852
  LIBGD_GTK_HACKS_TRUE='#'
 
15853
  LIBGD_GTK_HACKS_FALSE=
 
15854
fi
 
15855
 
 
15856
 
 
15857
 
 
15858
    # main-view:
 
15859
     if false; then
 
15860
  LIBGD_MAIN_VIEW_TRUE=
 
15861
  LIBGD_MAIN_VIEW_FALSE='#'
 
15862
else
 
15863
  LIBGD_MAIN_VIEW_TRUE='#'
 
15864
  LIBGD_MAIN_VIEW_FALSE=
 
15865
fi
 
15866
 
 
15867
 
 
15868
 
 
15869
    # main-icon-view:
 
15870
     if false; then
 
15871
  LIBGD_MAIN_ICON_VIEW_TRUE=
 
15872
  LIBGD_MAIN_ICON_VIEW_FALSE='#'
 
15873
else
 
15874
  LIBGD_MAIN_ICON_VIEW_TRUE='#'
 
15875
  LIBGD_MAIN_ICON_VIEW_FALSE=
 
15876
fi
 
15877
 
 
15878
 
 
15879
 
 
15880
    # main-list-view:
 
15881
     if false; then
 
15882
  LIBGD_MAIN_LIST_VIEW_TRUE=
 
15883
  LIBGD_MAIN_LIST_VIEW_FALSE='#'
 
15884
else
 
15885
  LIBGD_MAIN_LIST_VIEW_TRUE='#'
 
15886
  LIBGD_MAIN_LIST_VIEW_FALSE=
 
15887
fi
 
15888
 
 
15889
 
 
15890
 
 
15891
    # _view-common:
 
15892
     if false; then
 
15893
  LIBGD__VIEW_COMMON_TRUE=
 
15894
  LIBGD__VIEW_COMMON_FALSE='#'
 
15895
else
 
15896
  LIBGD__VIEW_COMMON_TRUE='#'
 
15897
  LIBGD__VIEW_COMMON_FALSE=
 
15898
fi
 
15899
 
 
15900
 
 
15901
 
 
15902
    # main-toolbar:
 
15903
     if true; then
 
15904
  LIBGD_MAIN_TOOLBAR_TRUE=
 
15905
  LIBGD_MAIN_TOOLBAR_FALSE='#'
 
15906
else
 
15907
  LIBGD_MAIN_TOOLBAR_TRUE='#'
 
15908
  LIBGD_MAIN_TOOLBAR_FALSE=
 
15909
fi
 
15910
 
 
15911
 
 
15912
 
 
15913
$as_echo "#define LIBGD_MAIN_TOOLBAR 1" >>confdefs.h
 
15914
 
 
15915
 
 
15916
 
 
15917
    # margin-container:
 
15918
     if false; then
 
15919
  LIBGD_MARGIN_CONTAINER_TRUE=
 
15920
  LIBGD_MARGIN_CONTAINER_FALSE='#'
 
15921
else
 
15922
  LIBGD_MARGIN_CONTAINER_TRUE='#'
 
15923
  LIBGD_MARGIN_CONTAINER_FALSE=
 
15924
fi
 
15925
 
 
15926
 
 
15927
 
 
15928
    # notification:
 
15929
     if false; then
 
15930
  LIBGD_NOTIFICATION_TRUE=
 
15931
  LIBGD_NOTIFICATION_FALSE='#'
 
15932
else
 
15933
  LIBGD_NOTIFICATION_TRUE='#'
 
15934
  LIBGD_NOTIFICATION_FALSE=
 
15935
fi
 
15936
 
 
15937
 
 
15938
 
 
15939
    # tagged-entry: Gtk+ widget
 
15940
     if false; then
 
15941
  LIBGD_TAGGED_ENTRY_TRUE=
 
15942
  LIBGD_TAGGED_ENTRY_FALSE='#'
 
15943
else
 
15944
  LIBGD_TAGGED_ENTRY_TRUE='#'
 
15945
  LIBGD_TAGGED_ENTRY_FALSE=
 
15946
fi
 
15947
 
 
15948
 
 
15949
 
 
15950
    # vapi: vala bindings support
 
15951
     if  true; then
 
15952
  LIBGD_VAPI_TRUE=
 
15953
  LIBGD_VAPI_FALSE='#'
 
15954
else
 
15955
  LIBGD_VAPI_TRUE='#'
 
15956
  LIBGD_VAPI_FALSE=
 
15957
fi
 
15958
 
 
15959
 
 
15960
 
 
15961
                # Extract the first word of "vapigen", so it can be a program name with args.
 
15962
set dummy vapigen; ac_word=$2
 
15963
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15964
$as_echo_n "checking for $ac_word... " >&6; }
 
15965
if ${ac_cv_path_VAPIGEN+:} false; then :
 
15966
  $as_echo_n "(cached) " >&6
 
15967
else
 
15968
  case $VAPIGEN in
 
15969
  [\\/]* | ?:[\\/]*)
 
15970
  ac_cv_path_VAPIGEN="$VAPIGEN" # Let the user override the test with a path.
 
15971
  ;;
 
15972
  *)
 
15973
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15974
for as_dir in $PATH
 
15975
do
 
15976
  IFS=$as_save_IFS
 
15977
  test -z "$as_dir" && as_dir=.
 
15978
    for ac_exec_ext in '' $ac_executable_extensions; do
 
15979
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
15980
    ac_cv_path_VAPIGEN="$as_dir/$ac_word$ac_exec_ext"
 
15981
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15982
    break 2
 
15983
  fi
 
15984
done
 
15985
  done
 
15986
IFS=$as_save_IFS
 
15987
 
 
15988
  test -z "$ac_cv_path_VAPIGEN" && ac_cv_path_VAPIGEN="no"
 
15989
  ;;
 
15990
esac
 
15991
fi
 
15992
VAPIGEN=$ac_cv_path_VAPIGEN
 
15993
if test -n "$VAPIGEN"; then
 
15994
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VAPIGEN" >&5
 
15995
$as_echo "$VAPIGEN" >&6; }
 
15996
else
 
15997
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15998
$as_echo "no" >&6; }
 
15999
fi
 
16000
 
 
16001
 
 
16002
        if test x$VAPIGEN = "xno"; then :
 
16003
  as_fn_error $? "Cannot find the \"vapigen compiler in your PATH" "$LINENO" 5
 
16004
fi
 
16005
 
 
16006
 
 
16007
    # gir: gobject introspection support
 
16008
     if  true; then
 
16009
  LIBGD_GIR_TRUE=
 
16010
  LIBGD_GIR_FALSE='#'
 
16011
else
 
16012
  LIBGD_GIR_TRUE='#'
 
16013
  LIBGD_GIR_FALSE=
 
16014
fi
 
16015
 
 
16016
 
 
16017
 
 
16018
 
 
16019
 
 
16020
                enable_introspection=yes
 
16021
 
 
16022
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
 
16023
$as_echo_n "checking for gobject-introspection... " >&6; }
 
16024
 
 
16025
        case $enable_introspection in #(
 
16026
  no) :
 
16027
            found_introspection="no (disabled, use --enable-introspection to enable)"
 
16028
     ;; #(
 
16029
      yes) :
 
16030
            if test -n "$PKG_CONFIG" && \
 
16031
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
 
16032
  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
 
16033
  ac_status=$?
 
16034
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16035
  test $ac_status = 0; }; then
 
16036
  :
 
16037
else
 
16038
  as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
 
16039
fi
 
16040
        if test -n "$PKG_CONFIG" && \
 
16041
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.6\""; } >&5
 
16042
  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.6") 2>&5
 
16043
  ac_status=$?
 
16044
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16045
  test $ac_status = 0; }; then
 
16046
  found_introspection=yes
 
16047
else
 
16048
  as_fn_error $? "You need to have gobject-introspection >= 0.9.6 installed to build baobab" "$LINENO" 5
 
16049
fi
 
16050
     ;; #(
 
16051
      auto) :
 
16052
            if test -n "$PKG_CONFIG" && \
 
16053
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.6\""; } >&5
 
16054
  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.6") 2>&5
 
16055
  ac_status=$?
 
16056
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16057
  test $ac_status = 0; }; then
 
16058
  found_introspection=yes
 
16059
else
 
16060
  found_introspection=no
 
16061
fi
 
16062
                enable_introspection=$found_introspection
 
16063
     ;; #(
 
16064
  *) :
 
16065
                as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
 
16066
     ;;
 
16067
esac
 
16068
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
 
16069
$as_echo "$found_introspection" >&6; }
 
16070
 
 
16071
    INTROSPECTION_SCANNER=
 
16072
    INTROSPECTION_COMPILER=
 
16073
    INTROSPECTION_GENERATE=
 
16074
    INTROSPECTION_GIRDIR=
 
16075
    INTROSPECTION_TYPELIBDIR=
 
16076
    if test "x$found_introspection" = "xyes"; then
 
16077
       INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
 
16078
       INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
 
16079
       INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
 
16080
       INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
 
16081
       INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
 
16082
       INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
 
16083
       INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
 
16084
       INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
 
16085
    fi
 
16086
 
 
16087
 
 
16088
 
 
16089
 
 
16090
 
 
16091
 
 
16092
 
 
16093
 
 
16094
 
 
16095
     if test "x$found_introspection" = "xyes"; then
 
16096
  HAVE_INTROSPECTION_TRUE=
 
16097
  HAVE_INTROSPECTION_FALSE='#'
 
16098
else
 
16099
  HAVE_INTROSPECTION_TRUE='#'
 
16100
  HAVE_INTROSPECTION_FALSE=
 
16101
fi
 
16102
 
 
16103
 
 
16104
 
 
16105
 
 
16106
 
 
16107
 
7969
16108
pkg_failed=no
7970
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gio" >&5
7971
 
$as_echo_n "checking for gio... " >&6; }
 
16109
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGD" >&5
 
16110
$as_echo_n "checking for LIBGD... " >&6; }
7972
16111
 
7973
 
if test -n "$gio_CFLAGS"; then
7974
 
    pkg_cv_gio_CFLAGS="$gio_CFLAGS"
 
16112
if test -n "$LIBGD_CFLAGS"; then
 
16113
    pkg_cv_LIBGD_CFLAGS="$LIBGD_CFLAGS"
7975
16114
 elif test -n "$PKG_CONFIG"; then
7976
16115
    if test -n "$PKG_CONFIG" && \
7977
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.30.0\""; } >&5
7978
 
  ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.30.0") 2>&5
 
16116
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" \$LIBGD_MODULES \""; } >&5
 
16117
  ($PKG_CONFIG --exists --print-errors " $LIBGD_MODULES ") 2>&5
7979
16118
  ac_status=$?
7980
16119
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7981
16120
  test $ac_status = 0; }; then
7982
 
  pkg_cv_gio_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.30.0" 2>/dev/null`
 
16121
  pkg_cv_LIBGD_CFLAGS=`$PKG_CONFIG --cflags " $LIBGD_MODULES " 2>/dev/null`
7983
16122
else
7984
16123
  pkg_failed=yes
7985
16124
fi
7986
16125
 else
7987
16126
    pkg_failed=untried
7988
16127
fi
7989
 
if test -n "$gio_LIBS"; then
7990
 
    pkg_cv_gio_LIBS="$gio_LIBS"
 
16128
if test -n "$LIBGD_LIBS"; then
 
16129
    pkg_cv_LIBGD_LIBS="$LIBGD_LIBS"
7991
16130
 elif test -n "$PKG_CONFIG"; then
7992
16131
    if test -n "$PKG_CONFIG" && \
7993
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.30.0\""; } >&5
7994
 
  ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.30.0") 2>&5
 
16132
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" \$LIBGD_MODULES \""; } >&5
 
16133
  ($PKG_CONFIG --exists --print-errors " $LIBGD_MODULES ") 2>&5
7995
16134
  ac_status=$?
7996
16135
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7997
16136
  test $ac_status = 0; }; then
7998
 
  pkg_cv_gio_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.30.0" 2>/dev/null`
 
16137
  pkg_cv_LIBGD_LIBS=`$PKG_CONFIG --libs " $LIBGD_MODULES " 2>/dev/null`
7999
16138
else
8000
16139
  pkg_failed=yes
8001
16140
fi
8015
16154
        _pkg_short_errors_supported=no
8016
16155
fi
8017
16156
        if test $_pkg_short_errors_supported = yes; then
8018
 
                gio_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gio-2.0 >= 2.30.0" 2>&1`
 
16157
                LIBGD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors " $LIBGD_MODULES " 2>&1`
8019
16158
        else
8020
 
                gio_PKG_ERRORS=`$PKG_CONFIG --print-errors "gio-2.0 >= 2.30.0" 2>&1`
 
16159
                LIBGD_PKG_ERRORS=`$PKG_CONFIG --print-errors " $LIBGD_MODULES " 2>&1`
8021
16160
        fi
8022
16161
        # Put the nasty error message in config.log where it belongs
8023
 
        echo "$gio_PKG_ERRORS" >&5
8024
 
 
8025
 
        as_fn_error $? "Package requirements (gio-2.0 >= 2.30.0) were not met:
8026
 
 
8027
 
$gio_PKG_ERRORS
 
16162
        echo "$LIBGD_PKG_ERRORS" >&5
 
16163
 
 
16164
        as_fn_error $? "Package requirements ( $LIBGD_MODULES ) were not met:
 
16165
 
 
16166
$LIBGD_PKG_ERRORS
8028
16167
 
8029
16168
Consider adjusting the PKG_CONFIG_PATH environment variable if you
8030
16169
installed software in a non-standard prefix.
8031
16170
 
8032
 
Alternatively, you may set the environment variables gio_CFLAGS
8033
 
and gio_LIBS to avoid the need to call pkg-config.
 
16171
Alternatively, you may set the environment variables LIBGD_CFLAGS
 
16172
and LIBGD_LIBS to avoid the need to call pkg-config.
8034
16173
See the pkg-config man page for more details." "$LINENO" 5
8035
16174
 
8036
16175
elif test $pkg_failed = untried; then
8042
16181
is in your PATH or set the PKG_CONFIG environment variable to the full
8043
16182
path to pkg-config.
8044
16183
 
8045
 
Alternatively, you may set the environment variables gio_CFLAGS
8046
 
and gio_LIBS to avoid the need to call pkg-config.
 
16184
Alternatively, you may set the environment variables LIBGD_CFLAGS
 
16185
and LIBGD_LIBS to avoid the need to call pkg-config.
8047
16186
See the pkg-config man page for more details.
8048
16187
 
8049
16188
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
8050
16189
See \`config.log' for more details" "$LINENO" 5; }
8051
16190
 
8052
16191
else
8053
 
        gio_CFLAGS=$pkg_cv_gio_CFLAGS
8054
 
        gio_LIBS=$pkg_cv_gio_LIBS
 
16192
        LIBGD_CFLAGS=$pkg_cv_LIBGD_CFLAGS
 
16193
        LIBGD_LIBS=$pkg_cv_LIBGD_LIBS
8055
16194
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8056
16195
$as_echo "yes" >&6; }
8057
16196
 
8058
16197
fi
8059
16198
 
8060
 
ac_config_files="$ac_config_files Makefile data/Makefile help/Makefile pixmaps/Makefile src/Makefile po/Makefile.in"
 
16199
 
 
16200
 
 
16201
 
 
16202
ac_config_files="$ac_config_files Makefile data/Makefile help/Makefile pixmaps/Makefile src/Makefile libgd/Makefile po/Makefile.in"
8061
16203
 
8062
16204
 
8063
16205
cat >confcache <<\_ACEOF
8197
16339
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
8198
16340
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8199
16341
fi
 
16342
if test -z "${LIBGD_STATIC_TRUE}" && test -z "${LIBGD_STATIC_FALSE}"; then
 
16343
  as_fn_error $? "conditional \"LIBGD_STATIC\" was never defined.
 
16344
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
16345
fi
 
16346
if test -z "${LIBGD_GTK_HACKS_TRUE}" && test -z "${LIBGD_GTK_HACKS_FALSE}"; then
 
16347
  as_fn_error $? "conditional \"LIBGD_GTK_HACKS\" was never defined.
 
16348
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
16349
fi
 
16350
if test -z "${LIBGD_MAIN_VIEW_TRUE}" && test -z "${LIBGD_MAIN_VIEW_FALSE}"; then
 
16351
  as_fn_error $? "conditional \"LIBGD_MAIN_VIEW\" was never defined.
 
16352
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
16353
fi
 
16354
if test -z "${LIBGD_MAIN_ICON_VIEW_TRUE}" && test -z "${LIBGD_MAIN_ICON_VIEW_FALSE}"; then
 
16355
  as_fn_error $? "conditional \"LIBGD_MAIN_ICON_VIEW\" was never defined.
 
16356
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
16357
fi
 
16358
if test -z "${LIBGD_MAIN_LIST_VIEW_TRUE}" && test -z "${LIBGD_MAIN_LIST_VIEW_FALSE}"; then
 
16359
  as_fn_error $? "conditional \"LIBGD_MAIN_LIST_VIEW\" was never defined.
 
16360
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
16361
fi
 
16362
if test -z "${LIBGD__VIEW_COMMON_TRUE}" && test -z "${LIBGD__VIEW_COMMON_FALSE}"; then
 
16363
  as_fn_error $? "conditional \"LIBGD__VIEW_COMMON\" was never defined.
 
16364
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
16365
fi
 
16366
if test -z "${LIBGD_MAIN_TOOLBAR_TRUE}" && test -z "${LIBGD_MAIN_TOOLBAR_FALSE}"; then
 
16367
  as_fn_error $? "conditional \"LIBGD_MAIN_TOOLBAR\" was never defined.
 
16368
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
16369
fi
 
16370
if test -z "${LIBGD_MARGIN_CONTAINER_TRUE}" && test -z "${LIBGD_MARGIN_CONTAINER_FALSE}"; then
 
16371
  as_fn_error $? "conditional \"LIBGD_MARGIN_CONTAINER\" was never defined.
 
16372
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
16373
fi
 
16374
if test -z "${LIBGD_NOTIFICATION_TRUE}" && test -z "${LIBGD_NOTIFICATION_FALSE}"; then
 
16375
  as_fn_error $? "conditional \"LIBGD_NOTIFICATION\" was never defined.
 
16376
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
16377
fi
 
16378
if test -z "${LIBGD_TAGGED_ENTRY_TRUE}" && test -z "${LIBGD_TAGGED_ENTRY_FALSE}"; then
 
16379
  as_fn_error $? "conditional \"LIBGD_TAGGED_ENTRY\" was never defined.
 
16380
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
16381
fi
 
16382
if test -z "${LIBGD_VAPI_TRUE}" && test -z "${LIBGD_VAPI_FALSE}"; then
 
16383
  as_fn_error $? "conditional \"LIBGD_VAPI\" was never defined.
 
16384
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
16385
fi
 
16386
if test -z "${LIBGD_GIR_TRUE}" && test -z "${LIBGD_GIR_FALSE}"; then
 
16387
  as_fn_error $? "conditional \"LIBGD_GIR\" was never defined.
 
16388
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
16389
fi
 
16390
if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
 
16391
  as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
 
16392
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
16393
fi
8200
16394
 
8201
16395
: "${CONFIG_STATUS=./config.status}"
8202
16396
ac_write_fail=0
8606
16800
# report actual input values of CONFIG_FILES etc. instead of their
8607
16801
# values after options handling.
8608
16802
ac_log="
8609
 
This file was extended by baobab $as_me 3.6.0, which was
 
16803
This file was extended by baobab $as_me 3.6.2, which was
8610
16804
generated by GNU Autoconf 2.68.  Invocation command line was
8611
16805
 
8612
16806
  CONFIG_FILES    = $CONFIG_FILES
8672
16866
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8673
16867
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8674
16868
ac_cs_version="\\
8675
 
baobab config.status 3.6.0
 
16869
baobab config.status 3.6.2
8676
16870
configured by $0, generated by GNU Autoconf 2.68,
8677
16871
  with options \\"\$ac_cs_config\\"
8678
16872
 
8800
16994
    LINGUAS="${LINGUAS-%UNSET%}"
8801
16995
 
8802
16996
 
 
16997
 
 
16998
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
16999
# if CDPATH is set.
 
17000
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
17001
 
 
17002
sed_quote_subst='$sed_quote_subst'
 
17003
double_quote_subst='$double_quote_subst'
 
17004
delay_variable_subst='$delay_variable_subst'
 
17005
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
17006
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
17007
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
17008
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
17009
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
17010
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
17011
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
17012
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
17013
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
 
17014
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
17015
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
17016
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
17017
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
17018
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
17019
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
17020
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
17021
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
17022
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
17023
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
17024
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
17025
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
17026
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
17027
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
17028
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
17029
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
17030
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
17031
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
17032
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
17033
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
17034
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 
17035
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
 
17036
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
17037
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
17038
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
17039
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
17040
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
17041
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 
17042
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 
17043
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 
17044
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
 
17045
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
17046
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
17047
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
 
17048
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
17049
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
17050
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
17051
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
17052
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
17053
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
17054
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
17055
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
17056
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
17057
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
17058
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
17059
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
17060
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
17061
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"`'
 
17062
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 
17063
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
 
17064
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
17065
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
17066
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
17067
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
17068
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
17069
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
17070
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
17071
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
17072
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
 
17073
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
17074
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
17075
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
17076
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
17077
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
17078
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
17079
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
17080
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
17081
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
17082
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
17083
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
17084
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
17085
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
17086
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
17087
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
17088
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
17089
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
17090
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
17091
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
17092
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
17093
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
17094
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
17095
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
17096
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
17097
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
17098
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
17099
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
17100
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
17101
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
17102
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
17103
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
17104
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
17105
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
17106
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
17107
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
17108
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
17109
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
 
17110
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
17111
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
17112
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
17113
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
17114
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
17115
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
17116
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
17117
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
17118
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
17119
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
17120
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
17121
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
17122
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
17123
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
17124
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
17125
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
17126
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
17127
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
17128
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
17129
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
17130
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
17131
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
17132
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
17133
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
17134
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
 
17135
 
 
17136
LTCC='$LTCC'
 
17137
LTCFLAGS='$LTCFLAGS'
 
17138
compiler='$compiler_DEFAULT'
 
17139
 
 
17140
# A function that is used when there is no print builtin or printf.
 
17141
func_fallback_echo ()
 
17142
{
 
17143
  eval 'cat <<_LTECHO_EOF
 
17144
\$1
 
17145
_LTECHO_EOF'
 
17146
}
 
17147
 
 
17148
# Quote evaled strings.
 
17149
for var in SHELL \
 
17150
ECHO \
 
17151
PATH_SEPARATOR \
 
17152
SED \
 
17153
GREP \
 
17154
EGREP \
 
17155
FGREP \
 
17156
LD \
 
17157
NM \
 
17158
LN_S \
 
17159
lt_SP2NL \
 
17160
lt_NL2SP \
 
17161
reload_flag \
 
17162
OBJDUMP \
 
17163
deplibs_check_method \
 
17164
file_magic_cmd \
 
17165
file_magic_glob \
 
17166
want_nocaseglob \
 
17167
DLLTOOL \
 
17168
sharedlib_from_linklib_cmd \
 
17169
AR \
 
17170
AR_FLAGS \
 
17171
archiver_list_spec \
 
17172
STRIP \
 
17173
RANLIB \
 
17174
CC \
 
17175
CFLAGS \
 
17176
compiler \
 
17177
lt_cv_sys_global_symbol_pipe \
 
17178
lt_cv_sys_global_symbol_to_cdecl \
 
17179
lt_cv_sys_global_symbol_to_c_name_address \
 
17180
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
17181
nm_file_list_spec \
 
17182
lt_prog_compiler_no_builtin_flag \
 
17183
lt_prog_compiler_pic \
 
17184
lt_prog_compiler_wl \
 
17185
lt_prog_compiler_static \
 
17186
lt_cv_prog_compiler_c_o \
 
17187
need_locks \
 
17188
MANIFEST_TOOL \
 
17189
DSYMUTIL \
 
17190
NMEDIT \
 
17191
LIPO \
 
17192
OTOOL \
 
17193
OTOOL64 \
 
17194
shrext_cmds \
 
17195
export_dynamic_flag_spec \
 
17196
whole_archive_flag_spec \
 
17197
compiler_needs_object \
 
17198
with_gnu_ld \
 
17199
allow_undefined_flag \
 
17200
no_undefined_flag \
 
17201
hardcode_libdir_flag_spec \
 
17202
hardcode_libdir_separator \
 
17203
exclude_expsyms \
 
17204
include_expsyms \
 
17205
file_list_spec \
 
17206
variables_saved_for_relink \
 
17207
libname_spec \
 
17208
library_names_spec \
 
17209
soname_spec \
 
17210
install_override_mode \
 
17211
finish_eval \
 
17212
old_striplib \
 
17213
striplib; do
 
17214
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 
17215
    *[\\\\\\\`\\"\\\$]*)
 
17216
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
17217
      ;;
 
17218
    *)
 
17219
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
17220
      ;;
 
17221
    esac
 
17222
done
 
17223
 
 
17224
# Double-quote double-evaled strings.
 
17225
for var in reload_cmds \
 
17226
old_postinstall_cmds \
 
17227
old_postuninstall_cmds \
 
17228
old_archive_cmds \
 
17229
extract_expsyms_cmds \
 
17230
old_archive_from_new_cmds \
 
17231
old_archive_from_expsyms_cmds \
 
17232
archive_cmds \
 
17233
archive_expsym_cmds \
 
17234
module_cmds \
 
17235
module_expsym_cmds \
 
17236
export_symbols_cmds \
 
17237
prelink_cmds \
 
17238
postlink_cmds \
 
17239
postinstall_cmds \
 
17240
postuninstall_cmds \
 
17241
finish_cmds \
 
17242
sys_lib_search_path_spec \
 
17243
sys_lib_dlsearch_path_spec; do
 
17244
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 
17245
    *[\\\\\\\`\\"\\\$]*)
 
17246
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
17247
      ;;
 
17248
    *)
 
17249
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
17250
      ;;
 
17251
    esac
 
17252
done
 
17253
 
 
17254
ac_aux_dir='$ac_aux_dir'
 
17255
xsi_shell='$xsi_shell'
 
17256
lt_shell_append='$lt_shell_append'
 
17257
 
 
17258
# See if we are running on zsh, and set the options which allow our
 
17259
# commands through without removal of \ escapes INIT.
 
17260
if test -n "\${ZSH_VERSION+set}" ; then
 
17261
   setopt NO_GLOB_SUBST
 
17262
fi
 
17263
 
 
17264
 
 
17265
    PACKAGE='$PACKAGE'
 
17266
    VERSION='$VERSION'
 
17267
    TIMESTAMP='$TIMESTAMP'
 
17268
    RM='$RM'
 
17269
    ofile='$ofile'
 
17270
 
 
17271
 
 
17272
 
 
17273
 
8803
17274
_ACEOF
8804
17275
 
8805
17276
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8811
17282
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
8812
17283
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
8813
17284
    "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
 
17285
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
8814
17286
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8815
17287
    "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
8816
17288
    "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
8817
17289
    "pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Makefile" ;;
8818
17290
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
17291
    "libgd/Makefile") CONFIG_FILES="$CONFIG_FILES libgd/Makefile" ;;
8819
17292
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
8820
17293
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
8821
17294
 
9621
18094
        ;;
9622
18095
      esac
9623
18096
    done ;;
 
18097
    "libtool":C)
 
18098
 
 
18099
    # See if we are running on zsh, and set the options which allow our
 
18100
    # commands through without removal of \ escapes.
 
18101
    if test -n "${ZSH_VERSION+set}" ; then
 
18102
      setopt NO_GLOB_SUBST
 
18103
    fi
 
18104
 
 
18105
    cfgfile="${ofile}T"
 
18106
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
18107
    $RM "$cfgfile"
 
18108
 
 
18109
    cat <<_LT_EOF >> "$cfgfile"
 
18110
#! $SHELL
 
18111
 
 
18112
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
18113
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
18114
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
18115
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
18116
#
 
18117
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
18118
#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
 
18119
#                 Foundation, Inc.
 
18120
#   Written by Gordon Matzigkeit, 1996
 
18121
#
 
18122
#   This file is part of GNU Libtool.
 
18123
#
 
18124
# GNU Libtool is free software; you can redistribute it and/or
 
18125
# modify it under the terms of the GNU General Public License as
 
18126
# published by the Free Software Foundation; either version 2 of
 
18127
# the License, or (at your option) any later version.
 
18128
#
 
18129
# As a special exception to the GNU General Public License,
 
18130
# if you distribute this file as part of a program or library that
 
18131
# is built using GNU Libtool, you may include this file under the
 
18132
# same distribution terms that you use for the rest of that program.
 
18133
#
 
18134
# GNU Libtool is distributed in the hope that it will be useful,
 
18135
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
18136
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
18137
# GNU General Public License for more details.
 
18138
#
 
18139
# You should have received a copy of the GNU General Public License
 
18140
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
18141
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
18142
# obtained by writing to the Free Software Foundation, Inc.,
 
18143
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
18144
 
 
18145
 
 
18146
# The names of the tagged configurations supported by this script.
 
18147
available_tags=""
 
18148
 
 
18149
# ### BEGIN LIBTOOL CONFIG
 
18150
 
 
18151
# Which release of libtool.m4 was used?
 
18152
macro_version=$macro_version
 
18153
macro_revision=$macro_revision
 
18154
 
 
18155
# Whether or not to build static libraries.
 
18156
build_old_libs=$enable_static
 
18157
 
 
18158
# Whether or not to build shared libraries.
 
18159
build_libtool_libs=$enable_shared
 
18160
 
 
18161
# What type of objects to build.
 
18162
pic_mode=$pic_mode
 
18163
 
 
18164
# Whether or not to optimize for fast installation.
 
18165
fast_install=$enable_fast_install
 
18166
 
 
18167
# Shell to use when invoking shell scripts.
 
18168
SHELL=$lt_SHELL
 
18169
 
 
18170
# An echo program that protects backslashes.
 
18171
ECHO=$lt_ECHO
 
18172
 
 
18173
# The PATH separator for the build system.
 
18174
PATH_SEPARATOR=$lt_PATH_SEPARATOR
 
18175
 
 
18176
# The host system.
 
18177
host_alias=$host_alias
 
18178
host=$host
 
18179
host_os=$host_os
 
18180
 
 
18181
# The build system.
 
18182
build_alias=$build_alias
 
18183
build=$build
 
18184
build_os=$build_os
 
18185
 
 
18186
# A sed program that does not truncate output.
 
18187
SED=$lt_SED
 
18188
 
 
18189
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
18190
Xsed="\$SED -e 1s/^X//"
 
18191
 
 
18192
# A grep program that handles long lines.
 
18193
GREP=$lt_GREP
 
18194
 
 
18195
# An ERE matcher.
 
18196
EGREP=$lt_EGREP
 
18197
 
 
18198
# A literal string matcher.
 
18199
FGREP=$lt_FGREP
 
18200
 
 
18201
# A BSD- or MS-compatible name lister.
 
18202
NM=$lt_NM
 
18203
 
 
18204
# Whether we need soft or hard links.
 
18205
LN_S=$lt_LN_S
 
18206
 
 
18207
# What is the maximum length of a command?
 
18208
max_cmd_len=$max_cmd_len
 
18209
 
 
18210
# Object file suffix (normally "o").
 
18211
objext=$ac_objext
 
18212
 
 
18213
# Executable file suffix (normally "").
 
18214
exeext=$exeext
 
18215
 
 
18216
# whether the shell understands "unset".
 
18217
lt_unset=$lt_unset
 
18218
 
 
18219
# turn spaces into newlines.
 
18220
SP2NL=$lt_lt_SP2NL
 
18221
 
 
18222
# turn newlines into spaces.
 
18223
NL2SP=$lt_lt_NL2SP
 
18224
 
 
18225
# convert \$build file names to \$host format.
 
18226
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
18227
 
 
18228
# convert \$build files to toolchain format.
 
18229
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
18230
 
 
18231
# An object symbol dumper.
 
18232
OBJDUMP=$lt_OBJDUMP
 
18233
 
 
18234
# Method to check whether dependent libraries are shared objects.
 
18235
deplibs_check_method=$lt_deplibs_check_method
 
18236
 
 
18237
# Command to use when deplibs_check_method = "file_magic".
 
18238
file_magic_cmd=$lt_file_magic_cmd
 
18239
 
 
18240
# How to find potential files when deplibs_check_method = "file_magic".
 
18241
file_magic_glob=$lt_file_magic_glob
 
18242
 
 
18243
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
18244
want_nocaseglob=$lt_want_nocaseglob
 
18245
 
 
18246
# DLL creation program.
 
18247
DLLTOOL=$lt_DLLTOOL
 
18248
 
 
18249
# Command to associate shared and link libraries.
 
18250
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
18251
 
 
18252
# The archiver.
 
18253
AR=$lt_AR
 
18254
 
 
18255
# Flags to create an archive.
 
18256
AR_FLAGS=$lt_AR_FLAGS
 
18257
 
 
18258
# How to feed a file listing to the archiver.
 
18259
archiver_list_spec=$lt_archiver_list_spec
 
18260
 
 
18261
# A symbol stripping program.
 
18262
STRIP=$lt_STRIP
 
18263
 
 
18264
# Commands used to install an old-style archive.
 
18265
RANLIB=$lt_RANLIB
 
18266
old_postinstall_cmds=$lt_old_postinstall_cmds
 
18267
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
18268
 
 
18269
# Whether to use a lock for old archive extraction.
 
18270
lock_old_archive_extraction=$lock_old_archive_extraction
 
18271
 
 
18272
# A C compiler.
 
18273
LTCC=$lt_CC
 
18274
 
 
18275
# LTCC compiler flags.
 
18276
LTCFLAGS=$lt_CFLAGS
 
18277
 
 
18278
# Take the output of nm and produce a listing of raw symbols and C names.
 
18279
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
18280
 
 
18281
# Transform the output of nm in a proper C declaration.
 
18282
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
18283
 
 
18284
# Transform the output of nm in a C name address pair.
 
18285
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
18286
 
 
18287
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
18288
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
18289
 
 
18290
# Specify filename containing input files for \$NM.
 
18291
nm_file_list_spec=$lt_nm_file_list_spec
 
18292
 
 
18293
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
18294
lt_sysroot=$lt_sysroot
 
18295
 
 
18296
# The name of the directory that contains temporary libtool files.
 
18297
objdir=$objdir
 
18298
 
 
18299
# Used to examine libraries when file_magic_cmd begins with "file".
 
18300
MAGIC_CMD=$MAGIC_CMD
 
18301
 
 
18302
# Must we lock files when doing compilation?
 
18303
need_locks=$lt_need_locks
 
18304
 
 
18305
# Manifest tool.
 
18306
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
18307
 
 
18308
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
18309
DSYMUTIL=$lt_DSYMUTIL
 
18310
 
 
18311
# Tool to change global to local symbols on Mac OS X.
 
18312
NMEDIT=$lt_NMEDIT
 
18313
 
 
18314
# Tool to manipulate fat objects and archives on Mac OS X.
 
18315
LIPO=$lt_LIPO
 
18316
 
 
18317
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
18318
OTOOL=$lt_OTOOL
 
18319
 
 
18320
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
18321
OTOOL64=$lt_OTOOL64
 
18322
 
 
18323
# Old archive suffix (normally "a").
 
18324
libext=$libext
 
18325
 
 
18326
# Shared library suffix (normally ".so").
 
18327
shrext_cmds=$lt_shrext_cmds
 
18328
 
 
18329
# The commands to extract the exported symbol list from a shared archive.
 
18330
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
18331
 
 
18332
# Variables whose values should be saved in libtool wrapper scripts and
 
18333
# restored at link time.
 
18334
variables_saved_for_relink=$lt_variables_saved_for_relink
 
18335
 
 
18336
# Do we need the "lib" prefix for modules?
 
18337
need_lib_prefix=$need_lib_prefix
 
18338
 
 
18339
# Do we need a version for libraries?
 
18340
need_version=$need_version
 
18341
 
 
18342
# Library versioning type.
 
18343
version_type=$version_type
 
18344
 
 
18345
# Shared library runtime path variable.
 
18346
runpath_var=$runpath_var
 
18347
 
 
18348
# Shared library path variable.
 
18349
shlibpath_var=$shlibpath_var
 
18350
 
 
18351
# Is shlibpath searched before the hard-coded library search path?
 
18352
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
18353
 
 
18354
# Format of library name prefix.
 
18355
libname_spec=$lt_libname_spec
 
18356
 
 
18357
# List of archive names.  First name is the real one, the rest are links.
 
18358
# The last name is the one that the linker finds with -lNAME
 
18359
library_names_spec=$lt_library_names_spec
 
18360
 
 
18361
# The coded name of the library, if different from the real name.
 
18362
soname_spec=$lt_soname_spec
 
18363
 
 
18364
# Permission mode override for installation of shared libraries.
 
18365
install_override_mode=$lt_install_override_mode
 
18366
 
 
18367
# Command to use after installation of a shared archive.
 
18368
postinstall_cmds=$lt_postinstall_cmds
 
18369
 
 
18370
# Command to use after uninstallation of a shared archive.
 
18371
postuninstall_cmds=$lt_postuninstall_cmds
 
18372
 
 
18373
# Commands used to finish a libtool library installation in a directory.
 
18374
finish_cmds=$lt_finish_cmds
 
18375
 
 
18376
# As "finish_cmds", except a single script fragment to be evaled but
 
18377
# not shown.
 
18378
finish_eval=$lt_finish_eval
 
18379
 
 
18380
# Whether we should hardcode library paths into libraries.
 
18381
hardcode_into_libs=$hardcode_into_libs
 
18382
 
 
18383
# Compile-time system search path for libraries.
 
18384
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
18385
 
 
18386
# Run-time system search path for libraries.
 
18387
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
18388
 
 
18389
# Whether dlopen is supported.
 
18390
dlopen_support=$enable_dlopen
 
18391
 
 
18392
# Whether dlopen of programs is supported.
 
18393
dlopen_self=$enable_dlopen_self
 
18394
 
 
18395
# Whether dlopen of statically linked programs is supported.
 
18396
dlopen_self_static=$enable_dlopen_self_static
 
18397
 
 
18398
# Commands to strip libraries.
 
18399
old_striplib=$lt_old_striplib
 
18400
striplib=$lt_striplib
 
18401
 
 
18402
 
 
18403
# The linker used to build libraries.
 
18404
LD=$lt_LD
 
18405
 
 
18406
# How to create reloadable object files.
 
18407
reload_flag=$lt_reload_flag
 
18408
reload_cmds=$lt_reload_cmds
 
18409
 
 
18410
# Commands used to build an old-style archive.
 
18411
old_archive_cmds=$lt_old_archive_cmds
 
18412
 
 
18413
# A language specific compiler.
 
18414
CC=$lt_compiler
 
18415
 
 
18416
# Is the compiler the GNU compiler?
 
18417
with_gcc=$GCC
 
18418
 
 
18419
# Compiler flag to turn off builtin functions.
 
18420
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
18421
 
 
18422
# Additional compiler flags for building library objects.
 
18423
pic_flag=$lt_lt_prog_compiler_pic
 
18424
 
 
18425
# How to pass a linker flag through the compiler.
 
18426
wl=$lt_lt_prog_compiler_wl
 
18427
 
 
18428
# Compiler flag to prevent dynamic linking.
 
18429
link_static_flag=$lt_lt_prog_compiler_static
 
18430
 
 
18431
# Does compiler simultaneously support -c and -o options?
 
18432
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
18433
 
 
18434
# Whether or not to add -lc for building shared libraries.
 
18435
build_libtool_need_lc=$archive_cmds_need_lc
 
18436
 
 
18437
# Whether or not to disallow shared libs when runtime libs are static.
 
18438
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
18439
 
 
18440
# Compiler flag to allow reflexive dlopens.
 
18441
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
18442
 
 
18443
# Compiler flag to generate shared objects directly from archives.
 
18444
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
18445
 
 
18446
# Whether the compiler copes with passing no objects directly.
 
18447
compiler_needs_object=$lt_compiler_needs_object
 
18448
 
 
18449
# Create an old-style archive from a shared archive.
 
18450
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
18451
 
 
18452
# Create a temporary old-style archive to link instead of a shared archive.
 
18453
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
18454
 
 
18455
# Commands used to build a shared archive.
 
18456
archive_cmds=$lt_archive_cmds
 
18457
archive_expsym_cmds=$lt_archive_expsym_cmds
 
18458
 
 
18459
# Commands used to build a loadable module if different from building
 
18460
# a shared archive.
 
18461
module_cmds=$lt_module_cmds
 
18462
module_expsym_cmds=$lt_module_expsym_cmds
 
18463
 
 
18464
# Whether we are building with GNU ld or not.
 
18465
with_gnu_ld=$lt_with_gnu_ld
 
18466
 
 
18467
# Flag that allows shared libraries with undefined symbols to be built.
 
18468
allow_undefined_flag=$lt_allow_undefined_flag
 
18469
 
 
18470
# Flag that enforces no undefined symbols.
 
18471
no_undefined_flag=$lt_no_undefined_flag
 
18472
 
 
18473
# Flag to hardcode \$libdir into a binary during linking.
 
18474
# This must work even if \$libdir does not exist
 
18475
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
18476
 
 
18477
# Whether we need a single "-rpath" flag with a separated argument.
 
18478
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
18479
 
 
18480
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
18481
# DIR into the resulting binary.
 
18482
hardcode_direct=$hardcode_direct
 
18483
 
 
18484
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
18485
# DIR into the resulting binary and the resulting library dependency is
 
18486
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
18487
# library is relocated.
 
18488
hardcode_direct_absolute=$hardcode_direct_absolute
 
18489
 
 
18490
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
18491
# into the resulting binary.
 
18492
hardcode_minus_L=$hardcode_minus_L
 
18493
 
 
18494
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
18495
# into the resulting binary.
 
18496
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
18497
 
 
18498
# Set to "yes" if building a shared library automatically hardcodes DIR
 
18499
# into the library and all subsequent libraries and executables linked
 
18500
# against it.
 
18501
hardcode_automatic=$hardcode_automatic
 
18502
 
 
18503
# Set to yes if linker adds runtime paths of dependent libraries
 
18504
# to runtime path list.
 
18505
inherit_rpath=$inherit_rpath
 
18506
 
 
18507
# Whether libtool must link a program against all its dependency libraries.
 
18508
link_all_deplibs=$link_all_deplibs
 
18509
 
 
18510
# Set to "yes" if exported symbols are required.
 
18511
always_export_symbols=$always_export_symbols
 
18512
 
 
18513
# The commands to list exported symbols.
 
18514
export_symbols_cmds=$lt_export_symbols_cmds
 
18515
 
 
18516
# Symbols that should not be listed in the preloaded symbols.
 
18517
exclude_expsyms=$lt_exclude_expsyms
 
18518
 
 
18519
# Symbols that must always be exported.
 
18520
include_expsyms=$lt_include_expsyms
 
18521
 
 
18522
# Commands necessary for linking programs (against libraries) with templates.
 
18523
prelink_cmds=$lt_prelink_cmds
 
18524
 
 
18525
# Commands necessary for finishing linking programs.
 
18526
postlink_cmds=$lt_postlink_cmds
 
18527
 
 
18528
# Specify filename containing input files.
 
18529
file_list_spec=$lt_file_list_spec
 
18530
 
 
18531
# How to hardcode a shared library path into an executable.
 
18532
hardcode_action=$hardcode_action
 
18533
 
 
18534
# ### END LIBTOOL CONFIG
 
18535
 
 
18536
_LT_EOF
 
18537
 
 
18538
  case $host_os in
 
18539
  aix3*)
 
18540
    cat <<\_LT_EOF >> "$cfgfile"
 
18541
# AIX sometimes has problems with the GCC collect2 program.  For some
 
18542
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
18543
# vanish in a puff of smoke.
 
18544
if test "X${COLLECT_NAMES+set}" != Xset; then
 
18545
  COLLECT_NAMES=
 
18546
  export COLLECT_NAMES
 
18547
fi
 
18548
_LT_EOF
 
18549
    ;;
 
18550
  esac
 
18551
 
 
18552
 
 
18553
ltmain="$ac_aux_dir/ltmain.sh"
 
18554
 
 
18555
 
 
18556
  # We use sed instead of cat because bash on DJGPP gets confused if
 
18557
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
18558
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
18559
  # is reportedly fixed, but why not run on old versions too?
 
18560
  sed '$q' "$ltmain" >> "$cfgfile" \
 
18561
     || (rm -f "$cfgfile"; exit 1)
 
18562
 
 
18563
  if test x"$xsi_shell" = xyes; then
 
18564
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
18565
func_dirname ()\
 
18566
{\
 
18567
\    case ${1} in\
 
18568
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
18569
\      *  ) func_dirname_result="${3}" ;;\
 
18570
\    esac\
 
18571
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
18572
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18573
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18574
test 0 -eq $? || _lt_function_replace_fail=:
 
18575
 
 
18576
 
 
18577
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
18578
func_basename ()\
 
18579
{\
 
18580
\    func_basename_result="${1##*/}"\
 
18581
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
18582
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18583
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18584
test 0 -eq $? || _lt_function_replace_fail=:
 
18585
 
 
18586
 
 
18587
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
18588
func_dirname_and_basename ()\
 
18589
{\
 
18590
\    case ${1} in\
 
18591
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
18592
\      *  ) func_dirname_result="${3}" ;;\
 
18593
\    esac\
 
18594
\    func_basename_result="${1##*/}"\
 
18595
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
18596
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18597
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18598
test 0 -eq $? || _lt_function_replace_fail=:
 
18599
 
 
18600
 
 
18601
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
18602
func_stripname ()\
 
18603
{\
 
18604
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
18605
\    # positional parameters, so assign one to ordinary parameter first.\
 
18606
\    func_stripname_result=${3}\
 
18607
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
18608
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
18609
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
 
18610
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18611
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18612
test 0 -eq $? || _lt_function_replace_fail=:
 
18613
 
 
18614
 
 
18615
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
18616
func_split_long_opt ()\
 
18617
{\
 
18618
\    func_split_long_opt_name=${1%%=*}\
 
18619
\    func_split_long_opt_arg=${1#*=}\
 
18620
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
18621
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18622
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18623
test 0 -eq $? || _lt_function_replace_fail=:
 
18624
 
 
18625
 
 
18626
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
18627
func_split_short_opt ()\
 
18628
{\
 
18629
\    func_split_short_opt_arg=${1#??}\
 
18630
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
18631
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
18632
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18633
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18634
test 0 -eq $? || _lt_function_replace_fail=:
 
18635
 
 
18636
 
 
18637
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
18638
func_lo2o ()\
 
18639
{\
 
18640
\    case ${1} in\
 
18641
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
18642
\      *)    func_lo2o_result=${1} ;;\
 
18643
\    esac\
 
18644
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
18645
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18646
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18647
test 0 -eq $? || _lt_function_replace_fail=:
 
18648
 
 
18649
 
 
18650
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
18651
func_xform ()\
 
18652
{\
 
18653
    func_xform_result=${1%.*}.lo\
 
18654
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
18655
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18656
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18657
test 0 -eq $? || _lt_function_replace_fail=:
 
18658
 
 
18659
 
 
18660
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
18661
func_arith ()\
 
18662
{\
 
18663
    func_arith_result=$(( $* ))\
 
18664
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
18665
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18666
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18667
test 0 -eq $? || _lt_function_replace_fail=:
 
18668
 
 
18669
 
 
18670
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
18671
func_len ()\
 
18672
{\
 
18673
    func_len_result=${#1}\
 
18674
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
18675
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18676
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18677
test 0 -eq $? || _lt_function_replace_fail=:
 
18678
 
 
18679
fi
 
18680
 
 
18681
if test x"$lt_shell_append" = xyes; then
 
18682
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
18683
func_append ()\
 
18684
{\
 
18685
    eval "${1}+=\\${2}"\
 
18686
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
18687
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18688
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18689
test 0 -eq $? || _lt_function_replace_fail=:
 
18690
 
 
18691
 
 
18692
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
18693
func_append_quoted ()\
 
18694
{\
 
18695
\    func_quote_for_eval "${2}"\
 
18696
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
18697
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
18698
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18699
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18700
test 0 -eq $? || _lt_function_replace_fail=:
 
18701
 
 
18702
 
 
18703
  # Save a `func_append' function call where possible by direct use of '+='
 
18704
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
18705
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18706
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18707
  test 0 -eq $? || _lt_function_replace_fail=:
 
18708
else
 
18709
  # Save a `func_append' function call even when '+=' is not available
 
18710
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
18711
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18712
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18713
  test 0 -eq $? || _lt_function_replace_fail=:
 
18714
fi
 
18715
 
 
18716
if test x"$_lt_function_replace_fail" = x":"; then
 
18717
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
18718
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
18719
fi
 
18720
 
 
18721
 
 
18722
   mv -f "$cfgfile" "$ofile" ||
 
18723
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
18724
  chmod +x "$ofile"
 
18725
 
 
18726
 ;;
9624
18727
    "po/stamp-it":C)
9625
18728
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
9626
18729
       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5