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

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Jackson Doak
  • Date: 2014-10-15 23:15:13 UTC
  • mfrom: (2.2.1 experimental) (2.1.8 sid)
  • Revision ID: package-import@ubuntu.com-20141015231513-6cpun88orgfpyzdv
Tags: 3.14.1-1ubuntu1
* Merge from Debian unstable. (LP: #1268721) Remaining changes:
* debian/patches/use_traditional_titlebars_in_unity.patch:
  - Use the traditional menubar under Unity
* debian/patches/git_fix_pie_chart.patch:
  - Fx top level pie chart. (LP: #1393333)

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