~ubuntu-branches/ubuntu/saucy/lcmaps-plugins-jobrep/saucy

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Dennis van Dok
  • Date: 2013-05-23 11:38:59 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20130523113859-j3aprq5imdokjunw
Tags: 1.5.3-1
New upstream release ; this includes recording the GATEKEEPER_JM_ID
so jobs can be linked to credentials

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# From configure.ac Revision: 1.11 .
3
3
# Guess values for system-dependent variables and create Makefiles.
4
 
# Generated by GNU Autoconf 2.66 for LCMAPS plugins jobrep 1.5.0.
 
4
# Generated by GNU Autoconf 2.68 for LCMAPS plugins jobrep 1.5.3.
5
5
#
6
6
#
7
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
12
12
# This configure script is free software; the Free Software Foundation
13
13
# gives unlimited permission to copy, distribute and modify it.
14
14
#
15
 
# Copyright (c) 2004 The EU EGEE Project
 
15
# Copyright (c) 2013 The IGE Project
16
16
# See LICENCE file for details
17
17
#
18
18
## -------------------- ##
94
94
IFS=" ""        $as_nl"
95
95
 
96
96
# Find who we are.  Look in the path if we contain no directory separator.
 
97
as_myself=
97
98
case $0 in #((
98
99
  *[\\/]* ) as_myself=$0 ;;
99
100
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
227
228
  # We cannot yet assume a decent shell, so we have to provide a
228
229
        # neutralization value for shells without unset; and this also
229
230
        # works around shells that cannot unset nonexistent variables.
 
231
        # Preserve -v and -x to the replacement shell.
230
232
        BASH_ENV=/dev/null
231
233
        ENV=/dev/null
232
234
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
233
235
        export CONFIG_SHELL
234
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
236
        case $- in # ((((
 
237
          *v*x* | *x*v* ) as_opts=-vx ;;
 
238
          *v* ) as_opts=-v ;;
 
239
          *x* ) as_opts=-x ;;
 
240
          * ) as_opts= ;;
 
241
        esac
 
242
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
235
243
fi
236
244
 
237
245
    if test x$as_have_required = xno; then :
564
572
# Identity of this package.
565
573
PACKAGE_NAME='LCMAPS plugins jobrep'
566
574
PACKAGE_TARNAME='lcmaps-plugins-jobrep'
567
 
PACKAGE_VERSION='1.5.0'
568
 
PACKAGE_STRING='LCMAPS plugins jobrep 1.5.0'
 
575
PACKAGE_VERSION='1.5.3'
 
576
PACKAGE_STRING='LCMAPS plugins jobrep 1.5.3'
569
577
PACKAGE_BUGREPORT=''
570
578
PACKAGE_URL=''
571
579
 
629
637
LIPO
630
638
NMEDIT
631
639
DSYMUTIL
 
640
MANIFEST_TOOL
632
641
RANLIB
 
642
ac_ct_AR
633
643
AR
 
644
DLLTOOL
634
645
OBJDUMP
635
646
NM
636
647
ac_ct_DUMPBIN
653
664
am__fastdepCC_FALSE
654
665
am__fastdepCC_TRUE
655
666
CCDEPMODE
 
667
am__nodep
656
668
AMDEPBACKSLASH
657
669
AMDEP_FALSE
658
670
AMDEP_TRUE
738
750
with_pic
739
751
enable_fast_install
740
752
with_gnu_ld
 
753
with_sysroot
741
754
enable_libtool_lock
742
755
with_lcmaps_prefix
743
756
with_lcmaps_includes
821
834
  fi
822
835
 
823
836
  case $ac_option in
824
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
825
 
  *)    ac_optarg=yes ;;
 
837
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
838
  *=)   ac_optarg= ;;
 
839
  *)    ac_optarg=yes ;;
826
840
  esac
827
841
 
828
842
  # Accept the important Cygnus configure options, so we can diagnose typos.
1162
1176
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1163
1177
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1164
1178
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1165
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1179
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1166
1180
    ;;
1167
1181
 
1168
1182
  esac
1300
1314
  # Omit some internal or obsolete options to make the list less imposing.
1301
1315
  # This message is too long to be a string in the A/UX 3.1 sh.
1302
1316
  cat <<_ACEOF
1303
 
\`configure' configures LCMAPS plugins jobrep 1.5.0 to adapt to many kinds of systems.
 
1317
\`configure' configures LCMAPS plugins jobrep 1.5.3 to adapt to many kinds of systems.
1304
1318
 
1305
1319
Usage: $0 [OPTION]... [VAR=VALUE]...
1306
1320
 
1371
1385
 
1372
1386
if test -n "$ac_init_help"; then
1373
1387
  case $ac_init_help in
1374
 
     short | recursive ) echo "Configuration of LCMAPS plugins jobrep 1.5.0:";;
 
1388
     short | recursive ) echo "Configuration of LCMAPS plugins jobrep 1.5.3:";;
1375
1389
   esac
1376
1390
  cat <<\_ACEOF
1377
1391
 
1390
1404
Optional Packages:
1391
1405
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1392
1406
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1393
 
  --with-pic              try to use only PIC/non-PIC objects [default=use
 
1407
  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1394
1408
                          both]
1395
1409
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1410
  --with-sysroot=DIR Search for dependent libraries within DIR
 
1411
                        (or the compiler's sysroot if not specified).
1396
1412
  --with-lcmaps-prefix=DIR
1397
1413
                          Prefix where LCMAPS is installed (default /usr)
1398
1414
  --with-lcmaps-includes=DIR
1490
1506
test -n "$ac_init_help" && exit $ac_status
1491
1507
if $ac_init_version; then
1492
1508
  cat <<\_ACEOF
1493
 
LCMAPS plugins jobrep configure 1.5.0
1494
 
generated by GNU Autoconf 2.66
 
1509
LCMAPS plugins jobrep configure 1.5.3
 
1510
generated by GNU Autoconf 2.68
1495
1511
 
1496
1512
Copyright (C) 2010 Free Software Foundation, Inc.
1497
1513
This configure script is free software; the Free Software Foundation
1498
1514
gives unlimited permission to copy, distribute and modify it.
1499
1515
 
1500
 
Copyright (c) 2004 The EU EGEE Project
 
1516
Copyright (c) 2013 The IGE Project
1501
1517
See LICENCE file for details
1502
1518
 
1503
1519
_ACEOF
1541
1557
 
1542
1558
        ac_retval=1
1543
1559
fi
1544
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1560
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1545
1561
  as_fn_set_status $ac_retval
1546
1562
 
1547
1563
} # ac_fn_c_try_compile
1587
1603
  # interfere with the next link command; also delete a directory that is
1588
1604
  # left behind by Apple's compiler.  We do this before executing the actions.
1589
1605
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1590
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1606
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1591
1607
  as_fn_set_status $ac_retval
1592
1608
 
1593
1609
} # ac_fn_c_try_link
1601
1617
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1602
1618
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1603
1619
$as_echo_n "checking for $2... " >&6; }
1604
 
if eval "test \"\${$3+set}\"" = set; then :
 
1620
if eval \${$3+:} false; then :
1605
1621
  $as_echo_n "(cached) " >&6
1606
1622
else
1607
1623
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1619
1635
eval ac_res=\$$3
1620
1636
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1621
1637
$as_echo "$ac_res" >&6; }
1622
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1638
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1623
1639
 
1624
1640
} # ac_fn_c_check_header_compile
1625
1641
 
1644
1660
    mv -f conftest.er1 conftest.err
1645
1661
  fi
1646
1662
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1647
 
  test $ac_status = 0; } >/dev/null && {
 
1663
  test $ac_status = 0; } > conftest.i && {
1648
1664
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1649
1665
         test ! -s conftest.err
1650
1666
       }; then :
1655
1671
 
1656
1672
    ac_retval=1
1657
1673
fi
1658
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1674
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1659
1675
  as_fn_set_status $ac_retval
1660
1676
 
1661
1677
} # ac_fn_c_try_cpp
1697
1713
       ac_retval=$ac_status
1698
1714
fi
1699
1715
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1700
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1716
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1701
1717
  as_fn_set_status $ac_retval
1702
1718
 
1703
1719
} # ac_fn_c_try_run
1710
1726
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1711
1727
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1712
1728
$as_echo_n "checking for $2... " >&6; }
1713
 
if eval "test \"\${$3+set}\"" = set; then :
 
1729
if eval \${$3+:} false; then :
1714
1730
  $as_echo_n "(cached) " >&6
1715
1731
else
1716
1732
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1765
1781
eval ac_res=\$$3
1766
1782
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1767
1783
$as_echo "$ac_res" >&6; }
1768
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1784
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1769
1785
 
1770
1786
} # ac_fn_c_check_func
1771
1787
 
1777
1793
ac_fn_c_check_header_mongrel ()
1778
1794
{
1779
1795
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1780
 
  if eval "test \"\${$3+set}\"" = set; then :
 
1796
  if eval \${$3+:} false; then :
1781
1797
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1782
1798
$as_echo_n "checking for $2... " >&6; }
1783
 
if eval "test \"\${$3+set}\"" = set; then :
 
1799
if eval \${$3+:} false; then :
1784
1800
  $as_echo_n "(cached) " >&6
1785
1801
fi
1786
1802
eval ac_res=\$$3
1816
1832
else
1817
1833
  ac_header_preproc=no
1818
1834
fi
1819
 
rm -f conftest.err conftest.$ac_ext
 
1835
rm -f conftest.err conftest.i conftest.$ac_ext
1820
1836
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1821
1837
$as_echo "$ac_header_preproc" >&6; }
1822
1838
 
1843
1859
esac
1844
1860
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1845
1861
$as_echo_n "checking for $2... " >&6; }
1846
 
if eval "test \"\${$3+set}\"" = set; then :
 
1862
if eval \${$3+:} false; then :
1847
1863
  $as_echo_n "(cached) " >&6
1848
1864
else
1849
1865
  eval "$3=\$ac_header_compiler"
1852
1868
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1853
1869
$as_echo "$ac_res" >&6; }
1854
1870
fi
1855
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1871
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1856
1872
 
1857
1873
} # ac_fn_c_check_header_mongrel
1858
1874
 
1865
1881
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1866
1882
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1867
1883
$as_echo_n "checking for $2... " >&6; }
1868
 
if eval "test \"\${$3+set}\"" = set; then :
 
1884
if eval \${$3+:} false; then :
1869
1885
  $as_echo_n "(cached) " >&6
1870
1886
else
1871
1887
  eval "$3=no"
1906
1922
eval ac_res=\$$3
1907
1923
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1908
1924
$as_echo "$ac_res" >&6; }
1909
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1925
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1910
1926
 
1911
1927
} # ac_fn_c_check_type
1912
1928
cat >config.log <<_ACEOF
1913
1929
This file contains any messages produced by compilers while
1914
1930
running configure, to aid debugging if configure makes a mistake.
1915
1931
 
1916
 
It was created by LCMAPS plugins jobrep $as_me 1.5.0, which was
1917
 
generated by GNU Autoconf 2.66.  Invocation command line was
 
1932
It was created by LCMAPS plugins jobrep $as_me 1.5.3, which was
 
1933
generated by GNU Autoconf 2.68.  Invocation command line was
1918
1934
 
1919
1935
  $ $0 $@
1920
1936
 
2314
2330
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2315
2331
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2316
2332
if test -z "$INSTALL"; then
2317
 
if test "${ac_cv_path_install+set}" = set; then :
 
2333
if ${ac_cv_path_install+:} false; then :
2318
2334
  $as_echo_n "(cached) " >&6
2319
2335
else
2320
2336
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2491
2507
set dummy ${ac_tool_prefix}strip; ac_word=$2
2492
2508
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2493
2509
$as_echo_n "checking for $ac_word... " >&6; }
2494
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2510
if ${ac_cv_prog_STRIP+:} false; then :
2495
2511
  $as_echo_n "(cached) " >&6
2496
2512
else
2497
2513
  if test -n "$STRIP"; then
2531
2547
set dummy strip; ac_word=$2
2532
2548
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2533
2549
$as_echo_n "checking for $ac_word... " >&6; }
2534
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
2550
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2535
2551
  $as_echo_n "(cached) " >&6
2536
2552
else
2537
2553
  if test -n "$ac_ct_STRIP"; then
2584
2600
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2585
2601
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2586
2602
if test -z "$MKDIR_P"; then
2587
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
2603
  if ${ac_cv_path_mkdir+:} false; then :
2588
2604
  $as_echo_n "(cached) " >&6
2589
2605
else
2590
2606
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2635
2651
set dummy $ac_prog; ac_word=$2
2636
2652
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2637
2653
$as_echo_n "checking for $ac_word... " >&6; }
2638
 
if test "${ac_cv_prog_AWK+set}" = set; then :
 
2654
if ${ac_cv_prog_AWK+:} false; then :
2639
2655
  $as_echo_n "(cached) " >&6
2640
2656
else
2641
2657
  if test -n "$AWK"; then
2675
2691
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2676
2692
set x ${MAKE-make}
2677
2693
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2678
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
 
2694
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2679
2695
  $as_echo_n "(cached) " >&6
2680
2696
else
2681
2697
  cat >conftest.make <<\_ACEOF
2733
2749
 
2734
2750
# Define the identity of the package.
2735
2751
 PACKAGE='lcmaps-plugins-jobrep'
2736
 
 VERSION='1.5.0'
 
2752
 VERSION='1.5.3'
2737
2753
 
2738
2754
 
2739
2755
cat >>confdefs.h <<_ACEOF
2763
2779
 
2764
2780
# We need awk for the "check" target.  The system "awk" is bad on
2765
2781
# some platforms.
2766
 
# Always define AMTAR for backward compatibility.
2767
 
 
2768
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
2769
 
 
2770
 
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
2782
# Always define AMTAR for backward compatibility.  Yes, it's still used
 
2783
# in the wild :-(  We should find a proper way to deprecate it ...
 
2784
AMTAR='$${TAR-tar}'
 
2785
 
 
2786
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2771
2787
 
2772
2788
 
2773
2789
 
2797
2813
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2798
2814
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2799
2815
$as_echo_n "checking for $ac_word... " >&6; }
2800
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2816
if ${ac_cv_prog_CC+:} false; then :
2801
2817
  $as_echo_n "(cached) " >&6
2802
2818
else
2803
2819
  if test -n "$CC"; then
2837
2853
set dummy gcc; ac_word=$2
2838
2854
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2839
2855
$as_echo_n "checking for $ac_word... " >&6; }
2840
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
2856
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2841
2857
  $as_echo_n "(cached) " >&6
2842
2858
else
2843
2859
  if test -n "$ac_ct_CC"; then
2890
2906
set dummy ${ac_tool_prefix}cc; ac_word=$2
2891
2907
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2892
2908
$as_echo_n "checking for $ac_word... " >&6; }
2893
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2909
if ${ac_cv_prog_CC+:} false; then :
2894
2910
  $as_echo_n "(cached) " >&6
2895
2911
else
2896
2912
  if test -n "$CC"; then
2930
2946
set dummy cc; ac_word=$2
2931
2947
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2932
2948
$as_echo_n "checking for $ac_word... " >&6; }
2933
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2949
if ${ac_cv_prog_CC+:} false; then :
2934
2950
  $as_echo_n "(cached) " >&6
2935
2951
else
2936
2952
  if test -n "$CC"; then
2989
3005
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2990
3006
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2991
3007
$as_echo_n "checking for $ac_word... " >&6; }
2992
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3008
if ${ac_cv_prog_CC+:} false; then :
2993
3009
  $as_echo_n "(cached) " >&6
2994
3010
else
2995
3011
  if test -n "$CC"; then
3033
3049
set dummy $ac_prog; ac_word=$2
3034
3050
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3035
3051
$as_echo_n "checking for $ac_word... " >&6; }
3036
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3052
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3037
3053
  $as_echo_n "(cached) " >&6
3038
3054
else
3039
3055
  if test -n "$ac_ct_CC"; then
3316
3332
ac_clean_files=$ac_clean_files_save
3317
3333
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3318
3334
$as_echo_n "checking for suffix of object files... " >&6; }
3319
 
if test "${ac_cv_objext+set}" = set; then :
 
3335
if ${ac_cv_objext+:} false; then :
3320
3336
  $as_echo_n "(cached) " >&6
3321
3337
else
3322
3338
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3367
3383
ac_objext=$OBJEXT
3368
3384
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3369
3385
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3370
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
3386
if ${ac_cv_c_compiler_gnu+:} false; then :
3371
3387
  $as_echo_n "(cached) " >&6
3372
3388
else
3373
3389
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3404
3420
ac_save_CFLAGS=$CFLAGS
3405
3421
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3406
3422
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3407
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
3423
if ${ac_cv_prog_cc_g+:} false; then :
3408
3424
  $as_echo_n "(cached) " >&6
3409
3425
else
3410
3426
  ac_save_c_werror_flag=$ac_c_werror_flag
3482
3498
fi
3483
3499
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3484
3500
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3485
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
3501
if ${ac_cv_prog_cc_c89+:} false; then :
3486
3502
  $as_echo_n "(cached) " >&6
3487
3503
else
3488
3504
  ac_cv_prog_cc_c89=no
3628
3644
if test "x$enable_dependency_tracking" != xno; then
3629
3645
  am_depcomp="$ac_aux_dir/depcomp"
3630
3646
  AMDEPBACKSLASH='\'
 
3647
  am__nodep='_no'
3631
3648
fi
3632
3649
 if test "x$enable_dependency_tracking" != xno; then
3633
3650
  AMDEP_TRUE=
3643
3660
 
3644
3661
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3645
3662
$as_echo_n "checking dependency style of $depcc... " >&6; }
3646
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
3663
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3647
3664
  $as_echo_n "(cached) " >&6
3648
3665
else
3649
3666
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3652
3669
  # instance it was reported that on HP-UX the gcc test will end up
3653
3670
  # making a dummy file named `D' -- because `-MD' means `put the output
3654
3671
  # in D'.
 
3672
  rm -rf conftest.dir
3655
3673
  mkdir conftest.dir
3656
3674
  # Copy depcomp to subdir because otherwise we won't find it if we're
3657
3675
  # using a relative directory.
3711
3729
        break
3712
3730
      fi
3713
3731
      ;;
3714
 
    msvisualcpp | msvcmsys)
 
3732
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3715
3733
      # This compiler won't grok `-c -o', but also, the minuso test has
3716
3734
      # not run yet.  These depmodes are late enough in the game, and
3717
3735
      # so weak that their functioning should not be impacted.
3781
3799
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3782
3800
set x ${MAKE-make}
3783
3801
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3784
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
 
3802
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3785
3803
  $as_echo_n "(cached) " >&6
3786
3804
else
3787
3805
  cat >conftest.make <<\_ACEOF
3816
3834
 
3817
3835
 
3818
3836
 
3819
 
macro_version='2.2.10'
3820
 
macro_revision='1.3175'
 
3837
macro_version='2.4.2'
 
3838
macro_revision='1.3337'
3821
3839
 
3822
3840
 
3823
3841
 
3839
3857
 
3840
3858
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3841
3859
$as_echo_n "checking build system type... " >&6; }
3842
 
if test "${ac_cv_build+set}" = set; then :
 
3860
if ${ac_cv_build+:} false; then :
3843
3861
  $as_echo_n "(cached) " >&6
3844
3862
else
3845
3863
  ac_build_alias=$build_alias
3873
3891
 
3874
3892
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3875
3893
$as_echo_n "checking host system type... " >&6; }
3876
 
if test "${ac_cv_host+set}" = set; then :
 
3894
if ${ac_cv_host+:} false; then :
3877
3895
  $as_echo_n "(cached) " >&6
3878
3896
else
3879
3897
  if test "x$host_alias" = x; then
3928
3946
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3929
3947
$as_echo_n "checking how to print strings... " >&6; }
3930
3948
# Test print first, because it will be a builtin if present.
3931
 
if test "X`print -r -- -n 2>/dev/null`" = X-n && \
 
3949
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3932
3950
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3933
3951
  ECHO='print -r --'
3934
3952
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3975
3993
 
3976
3994
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3977
3995
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
3978
 
if test "${ac_cv_path_SED+set}" = set; then :
 
3996
if ${ac_cv_path_SED+:} false; then :
3979
3997
  $as_echo_n "(cached) " >&6
3980
3998
else
3981
3999
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4057
4075
 
4058
4076
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4059
4077
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4060
 
if test "${ac_cv_path_GREP+set}" = set; then :
 
4078
if ${ac_cv_path_GREP+:} false; then :
4061
4079
  $as_echo_n "(cached) " >&6
4062
4080
else
4063
4081
  if test -z "$GREP"; then
4120
4138
 
4121
4139
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4122
4140
$as_echo_n "checking for egrep... " >&6; }
4123
 
if test "${ac_cv_path_EGREP+set}" = set; then :
 
4141
if ${ac_cv_path_EGREP+:} false; then :
4124
4142
  $as_echo_n "(cached) " >&6
4125
4143
else
4126
4144
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4187
4205
 
4188
4206
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4189
4207
$as_echo_n "checking for fgrep... " >&6; }
4190
 
if test "${ac_cv_path_FGREP+set}" = set; then :
 
4208
if ${ac_cv_path_FGREP+:} false; then :
4191
4209
  $as_echo_n "(cached) " >&6
4192
4210
else
4193
4211
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4318
4336
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4319
4337
$as_echo_n "checking for non-GNU ld... " >&6; }
4320
4338
fi
4321
 
if test "${lt_cv_path_LD+set}" = set; then :
 
4339
if ${lt_cv_path_LD+:} false; then :
4322
4340
  $as_echo_n "(cached) " >&6
4323
4341
else
4324
4342
  if test -z "$LD"; then
4358
4376
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4359
4377
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4360
4378
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4361
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
4379
if ${lt_cv_prog_gnu_ld+:} false; then :
4362
4380
  $as_echo_n "(cached) " >&6
4363
4381
else
4364
4382
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4385
4403
 
4386
4404
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4387
4405
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4388
 
if test "${lt_cv_path_NM+set}" = set; then :
 
4406
if ${lt_cv_path_NM+:} false; then :
4389
4407
  $as_echo_n "(cached) " >&6
4390
4408
else
4391
4409
  if test -n "$NM"; then
4448
4466
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4449
4467
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4450
4468
$as_echo_n "checking for $ac_word... " >&6; }
4451
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
 
4469
if ${ac_cv_prog_DUMPBIN+:} false; then :
4452
4470
  $as_echo_n "(cached) " >&6
4453
4471
else
4454
4472
  if test -n "$DUMPBIN"; then
4492
4510
set dummy $ac_prog; ac_word=$2
4493
4511
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4494
4512
$as_echo_n "checking for $ac_word... " >&6; }
4495
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
 
4513
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4496
4514
  $as_echo_n "(cached) " >&6
4497
4515
else
4498
4516
  if test -n "$ac_ct_DUMPBIN"; then
4564
4582
 
4565
4583
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4566
4584
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4567
 
if test "${lt_cv_nm_interface+set}" = set; then :
 
4585
if ${lt_cv_nm_interface+:} false; then :
4568
4586
  $as_echo_n "(cached) " >&6
4569
4587
else
4570
4588
  lt_cv_nm_interface="BSD nm"
4588
4606
# find the maximum length of command line arguments
4589
4607
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4590
4608
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4591
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
 
4609
if ${lt_cv_sys_max_cmd_len+:} false; then :
4592
4610
  $as_echo_n "(cached) " >&6
4593
4611
else
4594
4612
    i=0
4651
4669
    lt_cv_sys_max_cmd_len=196608
4652
4670
    ;;
4653
4671
 
 
4672
  os2*)
 
4673
    # The test takes a long time on OS/2.
 
4674
    lt_cv_sys_max_cmd_len=8192
 
4675
    ;;
 
4676
 
4654
4677
  osf*)
4655
4678
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4656
4679
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4690
4713
      # If test is not a shell built-in, we'll probably end up computing a
4691
4714
      # maximum length that is only half of the actual maximum length, but
4692
4715
      # we can't tell.
4693
 
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
 
4716
      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4694
4717
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4695
4718
              test $i != 17 # 1/2 MB should be enough
4696
4719
      do
4733
4756
# Try some XSI features
4734
4757
xsi_shell=no
4735
4758
( _lt_dummy="a/b/c"
4736
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4737
 
      = c,a/b,, \
 
4759
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 
4760
      = c,a/b,b/c, \
4738
4761
    && eval 'test $(( 1 + 1 )) -eq 2 \
4739
4762
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4740
4763
  && xsi_shell=yes
4783
4806
 
4784
4807
 
4785
4808
 
 
4809
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 
4810
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 
4811
if ${lt_cv_to_host_file_cmd+:} false; then :
 
4812
  $as_echo_n "(cached) " >&6
 
4813
else
 
4814
  case $host in
 
4815
  *-*-mingw* )
 
4816
    case $build in
 
4817
      *-*-mingw* ) # actually msys
 
4818
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 
4819
        ;;
 
4820
      *-*-cygwin* )
 
4821
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 
4822
        ;;
 
4823
      * ) # otherwise, assume *nix
 
4824
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 
4825
        ;;
 
4826
    esac
 
4827
    ;;
 
4828
  *-*-cygwin* )
 
4829
    case $build in
 
4830
      *-*-mingw* ) # actually msys
 
4831
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 
4832
        ;;
 
4833
      *-*-cygwin* )
 
4834
        lt_cv_to_host_file_cmd=func_convert_file_noop
 
4835
        ;;
 
4836
      * ) # otherwise, assume *nix
 
4837
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 
4838
        ;;
 
4839
    esac
 
4840
    ;;
 
4841
  * ) # unhandled hosts (and "normal" native builds)
 
4842
    lt_cv_to_host_file_cmd=func_convert_file_noop
 
4843
    ;;
 
4844
esac
 
4845
 
 
4846
fi
 
4847
 
 
4848
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
4849
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 
4850
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
 
4851
 
 
4852
 
 
4853
 
 
4854
 
 
4855
 
 
4856
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 
4857
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 
4858
if ${lt_cv_to_tool_file_cmd+:} false; then :
 
4859
  $as_echo_n "(cached) " >&6
 
4860
else
 
4861
  #assume ordinary cross tools, or native build.
 
4862
lt_cv_to_tool_file_cmd=func_convert_file_noop
 
4863
case $host in
 
4864
  *-*-mingw* )
 
4865
    case $build in
 
4866
      *-*-mingw* ) # actually msys
 
4867
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 
4868
        ;;
 
4869
    esac
 
4870
    ;;
 
4871
esac
 
4872
 
 
4873
fi
 
4874
 
 
4875
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
4876
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 
4877
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 
4878
 
 
4879
 
 
4880
 
 
4881
 
 
4882
 
4786
4883
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4787
4884
$as_echo_n "checking for $LD option to reload object files... " >&6; }
4788
 
if test "${lt_cv_ld_reload_flag+set}" = set; then :
 
4885
if ${lt_cv_ld_reload_flag+:} false; then :
4789
4886
  $as_echo_n "(cached) " >&6
4790
4887
else
4791
4888
  lt_cv_ld_reload_flag='-r'
4799
4896
esac
4800
4897
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4801
4898
case $host_os in
 
4899
  cygwin* | mingw* | pw32* | cegcc*)
 
4900
    if test "$GCC" != yes; then
 
4901
      reload_cmds=false
 
4902
    fi
 
4903
    ;;
4802
4904
  darwin*)
4803
4905
    if test "$GCC" = yes; then
4804
4906
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4821
4923
set dummy ${ac_tool_prefix}objdump; ac_word=$2
4822
4924
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4823
4925
$as_echo_n "checking for $ac_word... " >&6; }
4824
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
4926
if ${ac_cv_prog_OBJDUMP+:} false; then :
4825
4927
  $as_echo_n "(cached) " >&6
4826
4928
else
4827
4929
  if test -n "$OBJDUMP"; then
4861
4963
set dummy objdump; ac_word=$2
4862
4964
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4863
4965
$as_echo_n "checking for $ac_word... " >&6; }
4864
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
4966
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4865
4967
  $as_echo_n "(cached) " >&6
4866
4968
else
4867
4969
  if test -n "$ac_ct_OBJDUMP"; then
4920
5022
 
4921
5023
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4922
5024
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
4923
 
if test "${lt_cv_deplibs_check_method+set}" = set; then :
 
5025
if ${lt_cv_deplibs_check_method+:} false; then :
4924
5026
  $as_echo_n "(cached) " >&6
4925
5027
else
4926
5028
  lt_cv_file_magic_cmd='$MAGIC_CMD'
5040
5142
  lt_cv_deplibs_check_method=pass_all
5041
5143
  ;;
5042
5144
 
5043
 
# This must be Linux ELF.
 
5145
# This must be glibc/ELF.
5044
5146
linux* | k*bsd*-gnu | kopensolaris*-gnu)
5045
5147
  lt_cv_deplibs_check_method=pass_all
5046
5148
  ;;
5122
5224
fi
5123
5225
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5124
5226
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
5227
 
 
5228
file_magic_glob=
 
5229
want_nocaseglob=no
 
5230
if test "$build" = "$host"; then
 
5231
  case $host_os in
 
5232
  mingw* | pw32*)
 
5233
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 
5234
      want_nocaseglob=yes
 
5235
    else
 
5236
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 
5237
    fi
 
5238
    ;;
 
5239
  esac
 
5240
fi
 
5241
 
5125
5242
file_magic_cmd=$lt_cv_file_magic_cmd
5126
5243
deplibs_check_method=$lt_cv_deplibs_check_method
5127
5244
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5137
5254
 
5138
5255
 
5139
5256
 
5140
 
if test -n "$ac_tool_prefix"; then
5141
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5142
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
5143
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5144
 
$as_echo_n "checking for $ac_word... " >&6; }
5145
 
if test "${ac_cv_prog_AR+set}" = set; then :
 
5257
 
 
5258
 
 
5259
 
 
5260
 
 
5261
 
 
5262
 
 
5263
 
 
5264
 
 
5265
 
 
5266
 
 
5267
if test -n "$ac_tool_prefix"; then
 
5268
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
5269
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
5270
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5271
$as_echo_n "checking for $ac_word... " >&6; }
 
5272
if ${ac_cv_prog_DLLTOOL+:} false; then :
 
5273
  $as_echo_n "(cached) " >&6
 
5274
else
 
5275
  if test -n "$DLLTOOL"; then
 
5276
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
5277
else
 
5278
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5279
for as_dir in $PATH
 
5280
do
 
5281
  IFS=$as_save_IFS
 
5282
  test -z "$as_dir" && as_dir=.
 
5283
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5284
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5285
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
5286
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5287
    break 2
 
5288
  fi
 
5289
done
 
5290
  done
 
5291
IFS=$as_save_IFS
 
5292
 
 
5293
fi
 
5294
fi
 
5295
DLLTOOL=$ac_cv_prog_DLLTOOL
 
5296
if test -n "$DLLTOOL"; then
 
5297
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
5298
$as_echo "$DLLTOOL" >&6; }
 
5299
else
 
5300
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5301
$as_echo "no" >&6; }
 
5302
fi
 
5303
 
 
5304
 
 
5305
fi
 
5306
if test -z "$ac_cv_prog_DLLTOOL"; then
 
5307
  ac_ct_DLLTOOL=$DLLTOOL
 
5308
  # Extract the first word of "dlltool", so it can be a program name with args.
 
5309
set dummy dlltool; ac_word=$2
 
5310
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5311
$as_echo_n "checking for $ac_word... " >&6; }
 
5312
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 
5313
  $as_echo_n "(cached) " >&6
 
5314
else
 
5315
  if test -n "$ac_ct_DLLTOOL"; then
 
5316
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
5317
else
 
5318
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5319
for as_dir in $PATH
 
5320
do
 
5321
  IFS=$as_save_IFS
 
5322
  test -z "$as_dir" && as_dir=.
 
5323
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5324
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5325
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
5326
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5327
    break 2
 
5328
  fi
 
5329
done
 
5330
  done
 
5331
IFS=$as_save_IFS
 
5332
 
 
5333
fi
 
5334
fi
 
5335
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
5336
if test -n "$ac_ct_DLLTOOL"; then
 
5337
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
5338
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
5339
else
 
5340
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5341
$as_echo "no" >&6; }
 
5342
fi
 
5343
 
 
5344
  if test "x$ac_ct_DLLTOOL" = x; then
 
5345
    DLLTOOL="false"
 
5346
  else
 
5347
    case $cross_compiling:$ac_tool_warned in
 
5348
yes:)
 
5349
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5350
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5351
ac_tool_warned=yes ;;
 
5352
esac
 
5353
    DLLTOOL=$ac_ct_DLLTOOL
 
5354
  fi
 
5355
else
 
5356
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
5357
fi
 
5358
 
 
5359
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
5360
 
 
5361
 
 
5362
 
 
5363
 
 
5364
 
 
5365
 
 
5366
 
 
5367
 
 
5368
 
 
5369
 
 
5370
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 
5371
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 
5372
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 
5373
  $as_echo_n "(cached) " >&6
 
5374
else
 
5375
  lt_cv_sharedlib_from_linklib_cmd='unknown'
 
5376
 
 
5377
case $host_os in
 
5378
cygwin* | mingw* | pw32* | cegcc*)
 
5379
  # two different shell functions defined in ltmain.sh
 
5380
  # decide which to use based on capabilities of $DLLTOOL
 
5381
  case `$DLLTOOL --help 2>&1` in
 
5382
  *--identify-strict*)
 
5383
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 
5384
    ;;
 
5385
  *)
 
5386
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 
5387
    ;;
 
5388
  esac
 
5389
  ;;
 
5390
*)
 
5391
  # fallback: assume linklib IS sharedlib
 
5392
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 
5393
  ;;
 
5394
esac
 
5395
 
 
5396
fi
 
5397
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 
5398
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 
5399
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 
5400
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 
5401
 
 
5402
 
 
5403
 
 
5404
 
 
5405
 
 
5406
 
 
5407
 
 
5408
 
 
5409
if test -n "$ac_tool_prefix"; then
 
5410
  for ac_prog in ar
 
5411
  do
 
5412
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
5413
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
5414
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5415
$as_echo_n "checking for $ac_word... " >&6; }
 
5416
if ${ac_cv_prog_AR+:} false; then :
5146
5417
  $as_echo_n "(cached) " >&6
5147
5418
else
5148
5419
  if test -n "$AR"; then
5155
5426
  test -z "$as_dir" && as_dir=.
5156
5427
    for ac_exec_ext in '' $ac_executable_extensions; do
5157
5428
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5158
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
5429
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5159
5430
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5160
5431
    break 2
5161
5432
  fi
5175
5446
fi
5176
5447
 
5177
5448
 
 
5449
    test -n "$AR" && break
 
5450
  done
5178
5451
fi
5179
 
if test -z "$ac_cv_prog_AR"; then
 
5452
if test -z "$AR"; then
5180
5453
  ac_ct_AR=$AR
5181
 
  # Extract the first word of "ar", so it can be a program name with args.
5182
 
set dummy ar; ac_word=$2
 
5454
  for ac_prog in ar
 
5455
do
 
5456
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
5457
set dummy $ac_prog; ac_word=$2
5183
5458
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5184
5459
$as_echo_n "checking for $ac_word... " >&6; }
5185
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
 
5460
if ${ac_cv_prog_ac_ct_AR+:} false; then :
5186
5461
  $as_echo_n "(cached) " >&6
5187
5462
else
5188
5463
  if test -n "$ac_ct_AR"; then
5195
5470
  test -z "$as_dir" && as_dir=.
5196
5471
    for ac_exec_ext in '' $ac_executable_extensions; do
5197
5472
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5198
 
    ac_cv_prog_ac_ct_AR="ar"
 
5473
    ac_cv_prog_ac_ct_AR="$ac_prog"
5199
5474
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5200
5475
    break 2
5201
5476
  fi
5214
5489
$as_echo "no" >&6; }
5215
5490
fi
5216
5491
 
 
5492
 
 
5493
  test -n "$ac_ct_AR" && break
 
5494
done
 
5495
 
5217
5496
  if test "x$ac_ct_AR" = x; then
5218
5497
    AR="false"
5219
5498
  else
5225
5504
esac
5226
5505
    AR=$ac_ct_AR
5227
5506
  fi
5228
 
else
5229
 
  AR="$ac_cv_prog_AR"
5230
 
fi
5231
 
 
5232
 
test -z "$AR" && AR=ar
5233
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
5234
 
 
5235
 
 
5236
 
 
5237
 
 
 
5507
fi
 
5508
 
 
5509
: ${AR=ar}
 
5510
: ${AR_FLAGS=cru}
 
5511
 
 
5512
 
 
5513
 
 
5514
 
 
5515
 
 
5516
 
 
5517
 
 
5518
 
 
5519
 
 
5520
 
 
5521
 
 
5522
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 
5523
$as_echo_n "checking for archiver @FILE support... " >&6; }
 
5524
if ${lt_cv_ar_at_file+:} false; then :
 
5525
  $as_echo_n "(cached) " >&6
 
5526
else
 
5527
  lt_cv_ar_at_file=no
 
5528
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5529
/* end confdefs.h.  */
 
5530
 
 
5531
int
 
5532
main ()
 
5533
{
 
5534
 
 
5535
  ;
 
5536
  return 0;
 
5537
}
 
5538
_ACEOF
 
5539
if ac_fn_c_try_compile "$LINENO"; then :
 
5540
  echo conftest.$ac_objext > conftest.lst
 
5541
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 
5542
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
5543
  (eval $lt_ar_try) 2>&5
 
5544
  ac_status=$?
 
5545
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5546
  test $ac_status = 0; }
 
5547
      if test "$ac_status" -eq 0; then
 
5548
        # Ensure the archiver fails upon bogus file names.
 
5549
        rm -f conftest.$ac_objext libconftest.a
 
5550
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
5551
  (eval $lt_ar_try) 2>&5
 
5552
  ac_status=$?
 
5553
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5554
  test $ac_status = 0; }
 
5555
        if test "$ac_status" -ne 0; then
 
5556
          lt_cv_ar_at_file=@
 
5557
        fi
 
5558
      fi
 
5559
      rm -f conftest.* libconftest.a
 
5560
 
 
5561
fi
 
5562
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5563
 
 
5564
fi
 
5565
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 
5566
$as_echo "$lt_cv_ar_at_file" >&6; }
 
5567
 
 
5568
if test "x$lt_cv_ar_at_file" = xno; then
 
5569
  archiver_list_spec=
 
5570
else
 
5571
  archiver_list_spec=$lt_cv_ar_at_file
 
5572
fi
5238
5573
 
5239
5574
 
5240
5575
 
5247
5582
set dummy ${ac_tool_prefix}strip; ac_word=$2
5248
5583
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5249
5584
$as_echo_n "checking for $ac_word... " >&6; }
5250
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
5585
if ${ac_cv_prog_STRIP+:} false; then :
5251
5586
  $as_echo_n "(cached) " >&6
5252
5587
else
5253
5588
  if test -n "$STRIP"; then
5287
5622
set dummy strip; ac_word=$2
5288
5623
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5289
5624
$as_echo_n "checking for $ac_word... " >&6; }
5290
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
5625
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5291
5626
  $as_echo_n "(cached) " >&6
5292
5627
else
5293
5628
  if test -n "$ac_ct_STRIP"; then
5346
5681
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5347
5682
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5348
5683
$as_echo_n "checking for $ac_word... " >&6; }
5349
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
5684
if ${ac_cv_prog_RANLIB+:} false; then :
5350
5685
  $as_echo_n "(cached) " >&6
5351
5686
else
5352
5687
  if test -n "$RANLIB"; then
5386
5721
set dummy ranlib; ac_word=$2
5387
5722
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5388
5723
$as_echo_n "checking for $ac_word... " >&6; }
5389
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
5724
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5390
5725
  $as_echo_n "(cached) " >&6
5391
5726
else
5392
5727
  if test -n "$ac_ct_RANLIB"; then
5448
5783
if test -n "$RANLIB"; then
5449
5784
  case $host_os in
5450
5785
  openbsd*)
5451
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
5786
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5452
5787
    ;;
5453
5788
  *)
5454
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
5789
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5455
5790
    ;;
5456
5791
  esac
5457
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
5792
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5458
5793
fi
5459
5794
 
5460
5795
case $host_os in
5515
5850
# Check for command to grab the raw symbol name followed by C symbol from nm.
5516
5851
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5517
5852
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5518
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
 
5853
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5519
5854
  $as_echo_n "(cached) " >&6
5520
5855
else
5521
5856
 
5576
5911
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5577
5912
 
5578
5913
# Transform an extracted symbol line into symbol name and symbol address
5579
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5580
 
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'"
 
5914
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
5915
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'"
5581
5916
 
5582
5917
# Handle CRLF in mingw tool chain
5583
5918
opt_cr=
5601
5936
    # which start with @ or ?.
5602
5937
    lt_cv_sys_global_symbol_pipe="$AWK '"\
5603
5938
"     {last_section=section; section=\$ 3};"\
 
5939
"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5604
5940
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5605
5941
"     \$ 0!~/External *\|/{next};"\
5606
5942
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5613
5949
  else
5614
5950
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5615
5951
  fi
 
5952
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5616
5953
 
5617
5954
  # Check to see that the pipe works correctly.
5618
5955
  pipe_works=no
5654
5991
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5655
5992
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5656
5993
          cat <<_LT_EOF > conftest.$ac_ext
 
5994
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 
5995
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 
5996
/* DATA imports from DLLs on WIN32 con't be const, because runtime
 
5997
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 
5998
# define LT_DLSYM_CONST
 
5999
#elif defined(__osf__)
 
6000
/* This system does not cope well with relocations in const data.  */
 
6001
# define LT_DLSYM_CONST
 
6002
#else
 
6003
# define LT_DLSYM_CONST const
 
6004
#endif
 
6005
 
5657
6006
#ifdef __cplusplus
5658
6007
extern "C" {
5659
6008
#endif
5665
6014
          cat <<_LT_EOF >> conftest.$ac_ext
5666
6015
 
5667
6016
/* The mapping between symbol names and symbols.  */
5668
 
const struct {
 
6017
LT_DLSYM_CONST struct {
5669
6018
  const char *name;
5670
6019
  void       *address;
5671
6020
}
5691
6040
_LT_EOF
5692
6041
          # Now try linking the two files.
5693
6042
          mv conftest.$ac_objext conftstm.$ac_objext
5694
 
          lt_save_LIBS="$LIBS"
5695
 
          lt_save_CFLAGS="$CFLAGS"
 
6043
          lt_globsym_save_LIBS=$LIBS
 
6044
          lt_globsym_save_CFLAGS=$CFLAGS
5696
6045
          LIBS="conftstm.$ac_objext"
5697
6046
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5698
6047
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5702
6051
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5703
6052
            pipe_works=yes
5704
6053
          fi
5705
 
          LIBS="$lt_save_LIBS"
5706
 
          CFLAGS="$lt_save_CFLAGS"
 
6054
          LIBS=$lt_globsym_save_LIBS
 
6055
          CFLAGS=$lt_globsym_save_CFLAGS
5707
6056
        else
5708
6057
          echo "cannot find nm_test_func in $nlist" >&5
5709
6058
        fi
5740
6089
$as_echo "ok" >&6; }
5741
6090
fi
5742
6091
 
5743
 
 
5744
 
 
5745
 
 
5746
 
 
5747
 
 
5748
 
 
5749
 
 
5750
 
 
5751
 
 
5752
 
 
5753
 
 
5754
 
 
5755
 
 
5756
 
 
5757
 
 
5758
 
 
5759
 
 
 
6092
# Response file support.
 
6093
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
6094
  nm_file_list_spec='@'
 
6095
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 
6096
  nm_file_list_spec='@'
 
6097
fi
 
6098
 
 
6099
 
 
6100
 
 
6101
 
 
6102
 
 
6103
 
 
6104
 
 
6105
 
 
6106
 
 
6107
 
 
6108
 
 
6109
 
 
6110
 
 
6111
 
 
6112
 
 
6113
 
 
6114
 
 
6115
 
 
6116
 
 
6117
 
 
6118
 
 
6119
 
 
6120
 
 
6121
 
 
6122
 
 
6123
 
 
6124
 
 
6125
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 
6126
$as_echo_n "checking for sysroot... " >&6; }
 
6127
 
 
6128
# Check whether --with-sysroot was given.
 
6129
if test "${with_sysroot+set}" = set; then :
 
6130
  withval=$with_sysroot;
 
6131
else
 
6132
  with_sysroot=no
 
6133
fi
 
6134
 
 
6135
 
 
6136
lt_sysroot=
 
6137
case ${with_sysroot} in #(
 
6138
 yes)
 
6139
   if test "$GCC" = yes; then
 
6140
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 
6141
   fi
 
6142
   ;; #(
 
6143
 /*)
 
6144
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 
6145
   ;; #(
 
6146
 no|'')
 
6147
   ;; #(
 
6148
 *)
 
6149
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 
6150
$as_echo "${with_sysroot}" >&6; }
 
6151
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 
6152
   ;;
 
6153
esac
 
6154
 
 
6155
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 
6156
$as_echo "${lt_sysroot:-no}" >&6; }
5760
6157
 
5761
6158
 
5762
6159
 
5887
6284
  CFLAGS="$CFLAGS -belf"
5888
6285
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5889
6286
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5890
 
if test "${lt_cv_cc_needs_belf+set}" = set; then :
 
6287
if ${lt_cv_cc_needs_belf+:} false; then :
5891
6288
  $as_echo_n "(cached) " >&6
5892
6289
else
5893
6290
  ac_ext=c
5928
6325
    CFLAGS="$SAVE_CFLAGS"
5929
6326
  fi
5930
6327
  ;;
5931
 
sparc*-*solaris*)
 
6328
*-*solaris*)
5932
6329
  # Find out which ABI we are using.
5933
6330
  echo 'int i;' > conftest.$ac_ext
5934
6331
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5939
6336
    case `/usr/bin/file conftest.o` in
5940
6337
    *64-bit*)
5941
6338
      case $lt_cv_prog_gnu_ld in
5942
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
6339
      yes*)
 
6340
        case $host in
 
6341
        i?86-*-solaris*)
 
6342
          LD="${LD-ld} -m elf_x86_64"
 
6343
          ;;
 
6344
        sparc*-*-solaris*)
 
6345
          LD="${LD-ld} -m elf64_sparc"
 
6346
          ;;
 
6347
        esac
 
6348
        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
 
6349
        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
 
6350
          LD="${LD-ld}_sol2"
 
6351
        fi
 
6352
        ;;
5943
6353
      *)
5944
6354
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5945
6355
          LD="${LD-ld} -64"
5955
6365
 
5956
6366
need_locks="$enable_libtool_lock"
5957
6367
 
 
6368
if test -n "$ac_tool_prefix"; then
 
6369
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 
6370
set dummy ${ac_tool_prefix}mt; ac_word=$2
 
6371
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6372
$as_echo_n "checking for $ac_word... " >&6; }
 
6373
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 
6374
  $as_echo_n "(cached) " >&6
 
6375
else
 
6376
  if test -n "$MANIFEST_TOOL"; then
 
6377
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 
6378
else
 
6379
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6380
for as_dir in $PATH
 
6381
do
 
6382
  IFS=$as_save_IFS
 
6383
  test -z "$as_dir" && as_dir=.
 
6384
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6385
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6386
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 
6387
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6388
    break 2
 
6389
  fi
 
6390
done
 
6391
  done
 
6392
IFS=$as_save_IFS
 
6393
 
 
6394
fi
 
6395
fi
 
6396
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 
6397
if test -n "$MANIFEST_TOOL"; then
 
6398
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 
6399
$as_echo "$MANIFEST_TOOL" >&6; }
 
6400
else
 
6401
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6402
$as_echo "no" >&6; }
 
6403
fi
 
6404
 
 
6405
 
 
6406
fi
 
6407
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 
6408
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 
6409
  # Extract the first word of "mt", so it can be a program name with args.
 
6410
set dummy mt; ac_word=$2
 
6411
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6412
$as_echo_n "checking for $ac_word... " >&6; }
 
6413
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 
6414
  $as_echo_n "(cached) " >&6
 
6415
else
 
6416
  if test -n "$ac_ct_MANIFEST_TOOL"; then
 
6417
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 
6418
else
 
6419
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6420
for as_dir in $PATH
 
6421
do
 
6422
  IFS=$as_save_IFS
 
6423
  test -z "$as_dir" && as_dir=.
 
6424
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6425
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6426
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 
6427
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6428
    break 2
 
6429
  fi
 
6430
done
 
6431
  done
 
6432
IFS=$as_save_IFS
 
6433
 
 
6434
fi
 
6435
fi
 
6436
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 
6437
if test -n "$ac_ct_MANIFEST_TOOL"; then
 
6438
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 
6439
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 
6440
else
 
6441
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6442
$as_echo "no" >&6; }
 
6443
fi
 
6444
 
 
6445
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 
6446
    MANIFEST_TOOL=":"
 
6447
  else
 
6448
    case $cross_compiling:$ac_tool_warned in
 
6449
yes:)
 
6450
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6451
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6452
ac_tool_warned=yes ;;
 
6453
esac
 
6454
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 
6455
  fi
 
6456
else
 
6457
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 
6458
fi
 
6459
 
 
6460
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 
6461
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 
6462
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 
6463
if ${lt_cv_path_mainfest_tool+:} false; then :
 
6464
  $as_echo_n "(cached) " >&6
 
6465
else
 
6466
  lt_cv_path_mainfest_tool=no
 
6467
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 
6468
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 
6469
  cat conftest.err >&5
 
6470
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 
6471
    lt_cv_path_mainfest_tool=yes
 
6472
  fi
 
6473
  rm -f conftest*
 
6474
fi
 
6475
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 
6476
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 
6477
if test "x$lt_cv_path_mainfest_tool" != xyes; then
 
6478
  MANIFEST_TOOL=:
 
6479
fi
 
6480
 
 
6481
 
 
6482
 
 
6483
 
 
6484
 
5958
6485
 
5959
6486
  case $host_os in
5960
6487
    rhapsody* | darwin*)
5963
6490
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5964
6491
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5965
6492
$as_echo_n "checking for $ac_word... " >&6; }
5966
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
 
6493
if ${ac_cv_prog_DSYMUTIL+:} false; then :
5967
6494
  $as_echo_n "(cached) " >&6
5968
6495
else
5969
6496
  if test -n "$DSYMUTIL"; then
6003
6530
set dummy dsymutil; ac_word=$2
6004
6531
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6005
6532
$as_echo_n "checking for $ac_word... " >&6; }
6006
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
 
6533
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6007
6534
  $as_echo_n "(cached) " >&6
6008
6535
else
6009
6536
  if test -n "$ac_ct_DSYMUTIL"; then
6055
6582
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6056
6583
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6057
6584
$as_echo_n "checking for $ac_word... " >&6; }
6058
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
 
6585
if ${ac_cv_prog_NMEDIT+:} false; then :
6059
6586
  $as_echo_n "(cached) " >&6
6060
6587
else
6061
6588
  if test -n "$NMEDIT"; then
6095
6622
set dummy nmedit; ac_word=$2
6096
6623
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6097
6624
$as_echo_n "checking for $ac_word... " >&6; }
6098
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
 
6625
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6099
6626
  $as_echo_n "(cached) " >&6
6100
6627
else
6101
6628
  if test -n "$ac_ct_NMEDIT"; then
6147
6674
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6148
6675
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6149
6676
$as_echo_n "checking for $ac_word... " >&6; }
6150
 
if test "${ac_cv_prog_LIPO+set}" = set; then :
 
6677
if ${ac_cv_prog_LIPO+:} false; then :
6151
6678
  $as_echo_n "(cached) " >&6
6152
6679
else
6153
6680
  if test -n "$LIPO"; then
6187
6714
set dummy lipo; ac_word=$2
6188
6715
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6189
6716
$as_echo_n "checking for $ac_word... " >&6; }
6190
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
 
6717
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6191
6718
  $as_echo_n "(cached) " >&6
6192
6719
else
6193
6720
  if test -n "$ac_ct_LIPO"; then
6239
6766
set dummy ${ac_tool_prefix}otool; ac_word=$2
6240
6767
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6241
6768
$as_echo_n "checking for $ac_word... " >&6; }
6242
 
if test "${ac_cv_prog_OTOOL+set}" = set; then :
 
6769
if ${ac_cv_prog_OTOOL+:} false; then :
6243
6770
  $as_echo_n "(cached) " >&6
6244
6771
else
6245
6772
  if test -n "$OTOOL"; then
6279
6806
set dummy otool; ac_word=$2
6280
6807
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6281
6808
$as_echo_n "checking for $ac_word... " >&6; }
6282
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
 
6809
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6283
6810
  $as_echo_n "(cached) " >&6
6284
6811
else
6285
6812
  if test -n "$ac_ct_OTOOL"; then
6331
6858
set dummy ${ac_tool_prefix}otool64; ac_word=$2
6332
6859
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6333
6860
$as_echo_n "checking for $ac_word... " >&6; }
6334
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
 
6861
if ${ac_cv_prog_OTOOL64+:} false; then :
6335
6862
  $as_echo_n "(cached) " >&6
6336
6863
else
6337
6864
  if test -n "$OTOOL64"; then
6371
6898
set dummy otool64; ac_word=$2
6372
6899
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6373
6900
$as_echo_n "checking for $ac_word... " >&6; }
6374
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
 
6901
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6375
6902
  $as_echo_n "(cached) " >&6
6376
6903
else
6377
6904
  if test -n "$ac_ct_OTOOL64"; then
6446
6973
 
6447
6974
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6448
6975
$as_echo_n "checking for -single_module linker flag... " >&6; }
6449
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
 
6976
if ${lt_cv_apple_cc_single_mod+:} false; then :
6450
6977
  $as_echo_n "(cached) " >&6
6451
6978
else
6452
6979
  lt_cv_apple_cc_single_mod=no
6462
6989
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6463
6990
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6464
6991
        _lt_result=$?
6465
 
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
6992
        # If there is a non-empty error log, and "single_module"
 
6993
        # appears in it, assume the flag caused a linker warning
 
6994
        if test -s conftest.err && $GREP single_module conftest.err; then
 
6995
          cat conftest.err >&5
 
6996
        # Otherwise, if the output was created with a 0 exit code from
 
6997
        # the compiler, it worked.
 
6998
        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
6466
6999
          lt_cv_apple_cc_single_mod=yes
6467
7000
        else
6468
7001
          cat conftest.err >&5
6473
7006
fi
6474
7007
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6475
7008
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
7009
 
6476
7010
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6477
7011
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6478
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
 
7012
if ${lt_cv_ld_exported_symbols_list+:} false; then :
6479
7013
  $as_echo_n "(cached) " >&6
6480
7014
else
6481
7015
  lt_cv_ld_exported_symbols_list=no
6505
7039
fi
6506
7040
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6507
7041
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
7042
 
6508
7043
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
6509
7044
$as_echo_n "checking for -force_load linker flag... " >&6; }
6510
 
if test "${lt_cv_ld_force_load+set}" = set; then :
 
7045
if ${lt_cv_ld_force_load+:} false; then :
6511
7046
  $as_echo_n "(cached) " >&6
6512
7047
else
6513
7048
  lt_cv_ld_force_load=no
6526
7061
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
6527
7062
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6528
7063
      _lt_result=$?
6529
 
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
 
7064
      if test -s conftest.err && $GREP force_load conftest.err; then
 
7065
        cat conftest.err >&5
 
7066
      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
6530
7067
        lt_cv_ld_force_load=yes
6531
7068
      else
6532
7069
        cat conftest.err >&5
6584
7121
  CPP=
6585
7122
fi
6586
7123
if test -z "$CPP"; then
6587
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
7124
  if ${ac_cv_prog_CPP+:} false; then :
6588
7125
  $as_echo_n "(cached) " >&6
6589
7126
else
6590
7127
      # Double quotes because CPP needs to be expanded
6614
7151
  # Broken: fails on valid input.
6615
7152
continue
6616
7153
fi
6617
 
rm -f conftest.err conftest.$ac_ext
 
7154
rm -f conftest.err conftest.i conftest.$ac_ext
6618
7155
 
6619
7156
  # OK, works on sane cases.  Now check whether nonexistent headers
6620
7157
  # can be detected and how.
6630
7167
ac_preproc_ok=:
6631
7168
break
6632
7169
fi
6633
 
rm -f conftest.err conftest.$ac_ext
 
7170
rm -f conftest.err conftest.i conftest.$ac_ext
6634
7171
 
6635
7172
done
6636
7173
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6637
 
rm -f conftest.err conftest.$ac_ext
 
7174
rm -f conftest.i conftest.err conftest.$ac_ext
6638
7175
if $ac_preproc_ok; then :
6639
7176
  break
6640
7177
fi
6673
7210
  # Broken: fails on valid input.
6674
7211
continue
6675
7212
fi
6676
 
rm -f conftest.err conftest.$ac_ext
 
7213
rm -f conftest.err conftest.i conftest.$ac_ext
6677
7214
 
6678
7215
  # OK, works on sane cases.  Now check whether nonexistent headers
6679
7216
  # can be detected and how.
6689
7226
ac_preproc_ok=:
6690
7227
break
6691
7228
fi
6692
 
rm -f conftest.err conftest.$ac_ext
 
7229
rm -f conftest.err conftest.i conftest.$ac_ext
6693
7230
 
6694
7231
done
6695
7232
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6696
 
rm -f conftest.err conftest.$ac_ext
 
7233
rm -f conftest.i conftest.err conftest.$ac_ext
6697
7234
if $ac_preproc_ok; then :
6698
7235
 
6699
7236
else
6712
7249
 
6713
7250
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6714
7251
$as_echo_n "checking for ANSI C header files... " >&6; }
6715
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
7252
if ${ac_cv_header_stdc+:} false; then :
6716
7253
  $as_echo_n "(cached) " >&6
6717
7254
else
6718
7255
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6843
7380
do :
6844
7381
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6845
7382
"
6846
 
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
 
7383
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
6847
7384
  cat >>confdefs.h <<_ACEOF
6848
7385
#define HAVE_DLFCN_H 1
6849
7386
_ACEOF
6931
7468
 
6932
7469
# Check whether --with-pic was given.
6933
7470
if test "${with_pic+set}" = set; then :
6934
 
  withval=$with_pic; pic_mode="$withval"
 
7471
  withval=$with_pic; lt_p=${PACKAGE-default}
 
7472
    case $withval in
 
7473
    yes|no) pic_mode=$withval ;;
 
7474
    *)
 
7475
      pic_mode=default
 
7476
      # Look at the argument we got.  We use all the common list separators.
 
7477
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7478
      for lt_pkg in $withval; do
 
7479
        IFS="$lt_save_ifs"
 
7480
        if test "X$lt_pkg" = "X$lt_p"; then
 
7481
          pic_mode=yes
 
7482
        fi
 
7483
      done
 
7484
      IFS="$lt_save_ifs"
 
7485
      ;;
 
7486
    esac
6935
7487
else
6936
7488
  pic_mode=default
6937
7489
fi
7009
7561
 
7010
7562
 
7011
7563
 
 
7564
 
 
7565
 
 
7566
 
 
7567
 
7012
7568
test -z "$LN_S" && LN_S="ln -s"
7013
7569
 
7014
7570
 
7030
7586
 
7031
7587
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7032
7588
$as_echo_n "checking for objdir... " >&6; }
7033
 
if test "${lt_cv_objdir+set}" = set; then :
 
7589
if ${lt_cv_objdir+:} false; then :
7034
7590
  $as_echo_n "(cached) " >&6
7035
7591
else
7036
7592
  rm -f .libs 2>/dev/null
7108
7664
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7109
7665
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7110
7666
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7111
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
7667
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7112
7668
  $as_echo_n "(cached) " >&6
7113
7669
else
7114
7670
  case $MAGIC_CMD in
7174
7730
  if test -n "$ac_tool_prefix"; then
7175
7731
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7176
7732
$as_echo_n "checking for file... " >&6; }
7177
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
7733
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7178
7734
  $as_echo_n "(cached) " >&6
7179
7735
else
7180
7736
  case $MAGIC_CMD in
7312
7868
 
7313
7869
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7314
7870
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7315
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
 
7871
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7316
7872
  $as_echo_n "(cached) " >&6
7317
7873
else
7318
7874
  lt_cv_prog_compiler_rtti_exceptions=no
7365
7921
lt_prog_compiler_pic=
7366
7922
lt_prog_compiler_static=
7367
7923
 
7368
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7369
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7370
7924
 
7371
7925
  if test "$GCC" = yes; then
7372
7926
    lt_prog_compiler_wl='-Wl,'
7466
8020
    case $cc_basename in
7467
8021
    nvcc*) # Cuda Compiler Driver 2.2
7468
8022
      lt_prog_compiler_wl='-Xlinker '
7469
 
      lt_prog_compiler_pic='-Xcompiler -fPIC'
 
8023
      if test -n "$lt_prog_compiler_pic"; then
 
8024
        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
 
8025
      fi
7470
8026
      ;;
7471
8027
    esac
7472
8028
  else
7531
8087
        lt_prog_compiler_pic='--shared'
7532
8088
        lt_prog_compiler_static='--static'
7533
8089
        ;;
 
8090
      nagfor*)
 
8091
        # NAG Fortran compiler
 
8092
        lt_prog_compiler_wl='-Wl,-Wl,,'
 
8093
        lt_prog_compiler_pic='-PIC'
 
8094
        lt_prog_compiler_static='-Bstatic'
 
8095
        ;;
7534
8096
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7535
8097
        # Portland Group compilers (*not* the Pentium gcc compiler,
7536
8098
        # which looks to be a dead project)
7551
8113
        ;;
7552
8114
      *)
7553
8115
        case `$CC -V 2>&1 | sed 5q` in
7554
 
        *Sun\ F* | *Sun*Fortran*)
 
8116
        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
7555
8117
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
7556
8118
          lt_prog_compiler_pic='-KPIC'
7557
8119
          lt_prog_compiler_static='-Bstatic'
7558
8120
          lt_prog_compiler_wl=''
7559
8121
          ;;
 
8122
        *Sun\ F* | *Sun*Fortran*)
 
8123
          lt_prog_compiler_pic='-KPIC'
 
8124
          lt_prog_compiler_static='-Bstatic'
 
8125
          lt_prog_compiler_wl='-Qoption ld '
 
8126
          ;;
7560
8127
        *Sun\ C*)
7561
8128
          # Sun C 5.9
7562
8129
          lt_prog_compiler_pic='-KPIC'
7563
8130
          lt_prog_compiler_static='-Bstatic'
7564
8131
          lt_prog_compiler_wl='-Wl,'
7565
8132
          ;;
 
8133
        *Intel*\ [CF]*Compiler*)
 
8134
          lt_prog_compiler_wl='-Wl,'
 
8135
          lt_prog_compiler_pic='-fPIC'
 
8136
          lt_prog_compiler_static='-static'
 
8137
          ;;
 
8138
        *Portland\ Group*)
 
8139
          lt_prog_compiler_wl='-Wl,'
 
8140
          lt_prog_compiler_pic='-fpic'
 
8141
          lt_prog_compiler_static='-Bstatic'
 
8142
          ;;
7566
8143
        esac
7567
8144
        ;;
7568
8145
      esac
7650
8227
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7651
8228
    ;;
7652
8229
esac
7653
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7654
 
$as_echo "$lt_prog_compiler_pic" >&6; }
7655
 
 
7656
 
 
7657
 
 
7658
 
 
7659
 
 
 
8230
 
 
8231
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
8232
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
8233
if ${lt_cv_prog_compiler_pic+:} false; then :
 
8234
  $as_echo_n "(cached) " >&6
 
8235
else
 
8236
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 
8237
fi
 
8238
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 
8239
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
 
8240
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
7660
8241
 
7661
8242
#
7662
8243
# Check to make sure the PIC flag actually works.
7664
8245
if test -n "$lt_prog_compiler_pic"; then
7665
8246
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7666
8247
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7667
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
 
8248
if ${lt_cv_prog_compiler_pic_works+:} false; then :
7668
8249
  $as_echo_n "(cached) " >&6
7669
8250
else
7670
8251
  lt_cv_prog_compiler_pic_works=no
7717
8298
 
7718
8299
 
7719
8300
 
 
8301
 
 
8302
 
 
8303
 
 
8304
 
 
8305
 
7720
8306
#
7721
8307
# Check to make sure the static flag actually works.
7722
8308
#
7723
8309
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7724
8310
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7725
8311
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7726
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
 
8312
if ${lt_cv_prog_compiler_static_works+:} false; then :
7727
8313
  $as_echo_n "(cached) " >&6
7728
8314
else
7729
8315
  lt_cv_prog_compiler_static_works=no
7766
8352
 
7767
8353
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7768
8354
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7769
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
8355
if ${lt_cv_prog_compiler_c_o+:} false; then :
7770
8356
  $as_echo_n "(cached) " >&6
7771
8357
else
7772
8358
  lt_cv_prog_compiler_c_o=no
7821
8407
 
7822
8408
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7823
8409
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7824
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
8410
if ${lt_cv_prog_compiler_c_o+:} false; then :
7825
8411
  $as_echo_n "(cached) " >&6
7826
8412
else
7827
8413
  lt_cv_prog_compiler_c_o=no
7915
8501
  hardcode_direct=no
7916
8502
  hardcode_direct_absolute=no
7917
8503
  hardcode_libdir_flag_spec=
7918
 
  hardcode_libdir_flag_spec_ld=
7919
8504
  hardcode_libdir_separator=
7920
8505
  hardcode_minus_L=no
7921
8506
  hardcode_shlibpath_var=unsupported
8067
8652
      allow_undefined_flag=unsupported
8068
8653
      always_export_symbols=no
8069
8654
      enable_shared_with_static_runtimes=yes
8070
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
8655
      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'
 
8656
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8071
8657
 
8072
8658
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8073
8659
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8115
8701
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8116
8702
         && test "$tmp_diet" = no
8117
8703
      then
8118
 
        tmp_addflag=
 
8704
        tmp_addflag=' $pic_flag'
8119
8705
        tmp_sharedflag='-shared'
8120
8706
        case $cc_basename,$host_cpu in
8121
8707
        pgcc*)                          # Portland Group C compiler
8164
8750
        xlf* | bgf* | bgxlf* | mpixlf*)
8165
8751
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8166
8752
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8167
 
          hardcode_libdir_flag_spec=
8168
 
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
8753
          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8169
8754
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8170
8755
          if test "x$supports_anon_versioning" = xyes; then
8171
8756
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8185
8770
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8186
8771
        wlarc=
8187
8772
      else
8188
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8189
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8773
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8774
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8190
8775
      fi
8191
8776
      ;;
8192
8777
 
8204
8789
 
8205
8790
_LT_EOF
8206
8791
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8207
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8208
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8792
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8793
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8209
8794
      else
8210
8795
        ld_shlibs=no
8211
8796
      fi
8251
8836
 
8252
8837
    *)
8253
8838
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8254
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8255
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8839
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8840
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8256
8841
      else
8257
8842
        ld_shlibs=no
8258
8843
      fi
8382
8967
        allow_undefined_flag='-berok'
8383
8968
        # Determine the default libpath from the value encoded in an
8384
8969
        # empty executable.
8385
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8970
        if test "${lt_cv_aix_libpath+set}" = set; then
 
8971
  aix_libpath=$lt_cv_aix_libpath
 
8972
else
 
8973
  if ${lt_cv_aix_libpath_+:} false; then :
 
8974
  $as_echo_n "(cached) " >&6
 
8975
else
 
8976
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8386
8977
/* end confdefs.h.  */
8387
8978
 
8388
8979
int
8395
8986
_ACEOF
8396
8987
if ac_fn_c_try_link "$LINENO"; then :
8397
8988
 
8398
 
lt_aix_libpath_sed='
8399
 
    /Import File Strings/,/^$/ {
8400
 
        /^0/ {
8401
 
            s/^0  *\(.*\)$/\1/
8402
 
            p
8403
 
        }
8404
 
    }'
8405
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8406
 
# Check for a 64-bit object if we didn't find anything.
8407
 
if test -z "$aix_libpath"; then
8408
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8409
 
fi
 
8989
  lt_aix_libpath_sed='
 
8990
      /Import File Strings/,/^$/ {
 
8991
          /^0/ {
 
8992
              s/^0  *\([^ ]*\) *$/\1/
 
8993
              p
 
8994
          }
 
8995
      }'
 
8996
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8997
  # Check for a 64-bit object if we didn't find anything.
 
8998
  if test -z "$lt_cv_aix_libpath_"; then
 
8999
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9000
  fi
8410
9001
fi
8411
9002
rm -f core conftest.err conftest.$ac_objext \
8412
9003
    conftest$ac_exeext conftest.$ac_ext
8413
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
9004
  if test -z "$lt_cv_aix_libpath_"; then
 
9005
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
9006
  fi
 
9007
 
 
9008
fi
 
9009
 
 
9010
  aix_libpath=$lt_cv_aix_libpath_
 
9011
fi
8414
9012
 
8415
9013
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8416
9014
        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"
8422
9020
        else
8423
9021
         # Determine the default libpath from the value encoded in an
8424
9022
         # empty executable.
8425
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9023
         if test "${lt_cv_aix_libpath+set}" = set; then
 
9024
  aix_libpath=$lt_cv_aix_libpath
 
9025
else
 
9026
  if ${lt_cv_aix_libpath_+:} false; then :
 
9027
  $as_echo_n "(cached) " >&6
 
9028
else
 
9029
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8426
9030
/* end confdefs.h.  */
8427
9031
 
8428
9032
int
8435
9039
_ACEOF
8436
9040
if ac_fn_c_try_link "$LINENO"; then :
8437
9041
 
8438
 
lt_aix_libpath_sed='
8439
 
    /Import File Strings/,/^$/ {
8440
 
        /^0/ {
8441
 
            s/^0  *\(.*\)$/\1/
8442
 
            p
8443
 
        }
8444
 
    }'
8445
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8446
 
# Check for a 64-bit object if we didn't find anything.
8447
 
if test -z "$aix_libpath"; then
8448
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8449
 
fi
 
9042
  lt_aix_libpath_sed='
 
9043
      /Import File Strings/,/^$/ {
 
9044
          /^0/ {
 
9045
              s/^0  *\([^ ]*\) *$/\1/
 
9046
              p
 
9047
          }
 
9048
      }'
 
9049
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9050
  # Check for a 64-bit object if we didn't find anything.
 
9051
  if test -z "$lt_cv_aix_libpath_"; then
 
9052
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9053
  fi
8450
9054
fi
8451
9055
rm -f core conftest.err conftest.$ac_objext \
8452
9056
    conftest$ac_exeext conftest.$ac_ext
8453
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
9057
  if test -z "$lt_cv_aix_libpath_"; then
 
9058
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
9059
  fi
 
9060
 
 
9061
fi
 
9062
 
 
9063
  aix_libpath=$lt_cv_aix_libpath_
 
9064
fi
8454
9065
 
8455
9066
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8456
9067
          # Warning - without using the other run time loading flags,
8495
9106
      # Microsoft Visual C++.
8496
9107
      # hardcode_libdir_flag_spec is actually meaningless, as there is
8497
9108
      # no search path for DLLs.
8498
 
      hardcode_libdir_flag_spec=' '
8499
 
      allow_undefined_flag=unsupported
8500
 
      # Tell ltmain to make .lib files, not .a files.
8501
 
      libext=lib
8502
 
      # Tell ltmain to make .dll files, not .so files.
8503
 
      shrext_cmds=".dll"
8504
 
      # FIXME: Setting linknames here is a bad hack.
8505
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8506
 
      # The linker will automatically build a .lib file if we build a DLL.
8507
 
      old_archive_from_new_cmds='true'
8508
 
      # FIXME: Should let the user specify the lib program.
8509
 
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8510
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
8511
 
      enable_shared_with_static_runtimes=yes
 
9109
      case $cc_basename in
 
9110
      cl*)
 
9111
        # Native MSVC
 
9112
        hardcode_libdir_flag_spec=' '
 
9113
        allow_undefined_flag=unsupported
 
9114
        always_export_symbols=yes
 
9115
        file_list_spec='@'
 
9116
        # Tell ltmain to make .lib files, not .a files.
 
9117
        libext=lib
 
9118
        # Tell ltmain to make .dll files, not .so files.
 
9119
        shrext_cmds=".dll"
 
9120
        # FIXME: Setting linknames here is a bad hack.
 
9121
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
9122
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
9123
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
9124
          else
 
9125
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
9126
          fi~
 
9127
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
9128
          linknames='
 
9129
        # The linker will not automatically build a static lib if we build a DLL.
 
9130
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 
9131
        enable_shared_with_static_runtimes=yes
 
9132
        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
 
9133
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9134
        # Don't use ranlib
 
9135
        old_postinstall_cmds='chmod 644 $oldlib'
 
9136
        postlink_cmds='lt_outputfile="@OUTPUT@"~
 
9137
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
9138
          case $lt_outputfile in
 
9139
            *.exe|*.EXE) ;;
 
9140
            *)
 
9141
              lt_outputfile="$lt_outputfile.exe"
 
9142
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
9143
              ;;
 
9144
          esac~
 
9145
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
9146
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
9147
            $RM "$lt_outputfile.manifest";
 
9148
          fi'
 
9149
        ;;
 
9150
      *)
 
9151
        # Assume MSVC wrapper
 
9152
        hardcode_libdir_flag_spec=' '
 
9153
        allow_undefined_flag=unsupported
 
9154
        # Tell ltmain to make .lib files, not .a files.
 
9155
        libext=lib
 
9156
        # Tell ltmain to make .dll files, not .so files.
 
9157
        shrext_cmds=".dll"
 
9158
        # FIXME: Setting linknames here is a bad hack.
 
9159
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
9160
        # The linker will automatically build a .lib file if we build a DLL.
 
9161
        old_archive_from_new_cmds='true'
 
9162
        # FIXME: Should let the user specify the lib program.
 
9163
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
9164
        enable_shared_with_static_runtimes=yes
 
9165
        ;;
 
9166
      esac
8512
9167
      ;;
8513
9168
 
8514
9169
    darwin* | rhapsody*)
8520
9175
  hardcode_shlibpath_var=unsupported
8521
9176
  if test "$lt_cv_ld_force_load" = "yes"; then
8522
9177
    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\"`'
 
9178
 
8523
9179
  else
8524
9180
    whole_archive_flag_spec=''
8525
9181
  fi
8548
9204
      hardcode_shlibpath_var=no
8549
9205
      ;;
8550
9206
 
8551
 
    freebsd1*)
8552
 
      ld_shlibs=no
8553
 
      ;;
8554
 
 
8555
9207
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8556
9208
    # support.  Future versions do this automatically, but an explicit c++rt0.o
8557
9209
    # does not break anything, and helps significantly (at the cost of a little
8564
9216
      ;;
8565
9217
 
8566
9218
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8567
 
    freebsd2*)
 
9219
    freebsd2.*)
8568
9220
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8569
9221
      hardcode_direct=yes
8570
9222
      hardcode_minus_L=yes
8573
9225
 
8574
9226
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8575
9227
    freebsd* | dragonfly*)
8576
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
9228
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8577
9229
      hardcode_libdir_flag_spec='-R$libdir'
8578
9230
      hardcode_direct=yes
8579
9231
      hardcode_shlibpath_var=no
8581
9233
 
8582
9234
    hpux9*)
8583
9235
      if test "$GCC" = yes; then
8584
 
        archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
9236
        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'
8585
9237
      else
8586
9238
        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'
8587
9239
      fi
8597
9249
 
8598
9250
    hpux10*)
8599
9251
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
8600
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9252
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8601
9253
      else
8602
9254
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8603
9255
      fi
8604
9256
      if test "$with_gnu_ld" = no; then
8605
9257
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8606
 
        hardcode_libdir_flag_spec_ld='+b $libdir'
8607
9258
        hardcode_libdir_separator=:
8608
9259
        hardcode_direct=yes
8609
9260
        hardcode_direct_absolute=yes
8621
9272
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8622
9273
          ;;
8623
9274
        ia64*)
8624
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9275
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8625
9276
          ;;
8626
9277
        *)
8627
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9278
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8628
9279
          ;;
8629
9280
        esac
8630
9281
      else
8641
9292
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
8642
9293
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
8643
9294
$as_echo_n "checking if $CC understands -b... " >&6; }
8644
 
if test "${lt_cv_prog_compiler__b+set}" = set; then :
 
9295
if ${lt_cv_prog_compiler__b+:} false; then :
8645
9296
  $as_echo_n "(cached) " >&6
8646
9297
else
8647
9298
  lt_cv_prog_compiler__b=no
8703
9354
 
8704
9355
    irix5* | irix6* | nonstopux*)
8705
9356
      if test "$GCC" = yes; then
8706
 
        archive_cmds='$CC -shared $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'
 
9357
        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'
8707
9358
        # Try to use the -exported_symbol ld option, if it does not
8708
9359
        # work, assume that -exports_file does not work either and
8709
9360
        # implicitly export all symbols.
8710
 
        save_LDFLAGS="$LDFLAGS"
8711
 
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8712
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9361
        # This should be the same for all languages, so no per-tag cache variable.
 
9362
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
9363
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
9364
if ${lt_cv_irix_exported_symbol+:} false; then :
 
9365
  $as_echo_n "(cached) " >&6
 
9366
else
 
9367
  save_LDFLAGS="$LDFLAGS"
 
9368
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
9369
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8713
9370
/* end confdefs.h.  */
8714
 
int foo(void) {}
 
9371
int foo (void) { return 0; }
8715
9372
_ACEOF
8716
9373
if ac_fn_c_try_link "$LINENO"; then :
8717
 
  archive_expsym_cmds='$CC -shared $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'
8718
 
 
 
9374
  lt_cv_irix_exported_symbol=yes
 
9375
else
 
9376
  lt_cv_irix_exported_symbol=no
8719
9377
fi
8720
9378
rm -f core conftest.err conftest.$ac_objext \
8721
9379
    conftest$ac_exeext conftest.$ac_ext
8722
 
        LDFLAGS="$save_LDFLAGS"
 
9380
           LDFLAGS="$save_LDFLAGS"
 
9381
fi
 
9382
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
9383
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
9384
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
9385
          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'
 
9386
        fi
8723
9387
      else
8724
9388
        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'
8725
9389
        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'
8804
9468
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
8805
9469
      if test "$GCC" = yes; then
8806
9470
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8807
 
        archive_cmds='$CC -shared${allow_undefined_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'
 
9471
        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'
8808
9472
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8809
9473
      else
8810
9474
        allow_undefined_flag=' -expect_unresolved \*'
8823
9487
      no_undefined_flag=' -z defs'
8824
9488
      if test "$GCC" = yes; then
8825
9489
        wlarc='${wl}'
8826
 
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9490
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8827
9491
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8828
 
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
9492
          $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'
8829
9493
      else
8830
9494
        case `$CC -V 2>&1` in
8831
9495
        *"Compilers 5.0"*)
9013
9677
      # to ld, don't add -lc before -lgcc.
9014
9678
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9015
9679
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9016
 
if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
 
9680
if ${lt_cv_archive_cmds_need_lc+:} false; then :
9017
9681
  $as_echo_n "(cached) " >&6
9018
9682
else
9019
9683
  $RM conftest*
9214
9878
 
9215
9879
 
9216
9880
 
9217
 
 
9218
 
 
9219
 
 
9220
 
 
9221
 
 
9222
9881
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9223
9882
$as_echo_n "checking dynamic linker characteristics... " >&6; }
9224
9883
 
9308
9967
 
9309
9968
case $host_os in
9310
9969
aix3*)
9311
 
  version_type=linux
 
9970
  version_type=linux # correct to gnu/linux during the next big refactor
9312
9971
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9313
9972
  shlibpath_var=LIBPATH
9314
9973
 
9317
9976
  ;;
9318
9977
 
9319
9978
aix[4-9]*)
9320
 
  version_type=linux
 
9979
  version_type=linux # correct to gnu/linux during the next big refactor
9321
9980
  need_lib_prefix=no
9322
9981
  need_version=no
9323
9982
  hardcode_into_libs=yes
9382
10041
  ;;
9383
10042
 
9384
10043
bsdi[45]*)
9385
 
  version_type=linux
 
10044
  version_type=linux # correct to gnu/linux during the next big refactor
9386
10045
  need_version=no
9387
10046
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9388
10047
  soname_spec='${libname}${release}${shared_ext}$major'
9401
10060
  need_version=no
9402
10061
  need_lib_prefix=no
9403
10062
 
9404
 
  case $GCC,$host_os in
9405
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
10063
  case $GCC,$cc_basename in
 
10064
  yes,*)
 
10065
    # gcc
9406
10066
    library_names_spec='$libname.dll.a'
9407
10067
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9408
10068
    postinstall_cmds='base_file=`basename \${file}`~
9435
10095
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9436
10096
      ;;
9437
10097
    esac
 
10098
    dynamic_linker='Win32 ld.exe'
 
10099
    ;;
 
10100
 
 
10101
  *,cl*)
 
10102
    # Native MSVC
 
10103
    libname_spec='$name'
 
10104
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10105
    library_names_spec='${libname}.dll.lib'
 
10106
 
 
10107
    case $build_os in
 
10108
    mingw*)
 
10109
      sys_lib_search_path_spec=
 
10110
      lt_save_ifs=$IFS
 
10111
      IFS=';'
 
10112
      for lt_path in $LIB
 
10113
      do
 
10114
        IFS=$lt_save_ifs
 
10115
        # Let DOS variable expansion print the short 8.3 style file name.
 
10116
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
10117
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
10118
      done
 
10119
      IFS=$lt_save_ifs
 
10120
      # Convert to MSYS style.
 
10121
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
10122
      ;;
 
10123
    cygwin*)
 
10124
      # Convert to unix form, then to dos form, then back to unix form
 
10125
      # but this time dos style (no spaces!) so that the unix form looks
 
10126
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
10127
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
10128
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
10129
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10130
      ;;
 
10131
    *)
 
10132
      sys_lib_search_path_spec="$LIB"
 
10133
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
10134
        # It is most probably a Windows format PATH.
 
10135
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
10136
      else
 
10137
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10138
      fi
 
10139
      # FIXME: find the short name or the path components, as spaces are
 
10140
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
10141
      ;;
 
10142
    esac
 
10143
 
 
10144
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
10145
    postinstall_cmds='base_file=`basename \${file}`~
 
10146
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
10147
      dldir=$destdir/`dirname \$dlpath`~
 
10148
      test -d \$dldir || mkdir -p \$dldir~
 
10149
      $install_prog $dir/$dlname \$dldir/$dlname'
 
10150
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
10151
      dlpath=$dir/\$dldll~
 
10152
       $RM \$dlpath'
 
10153
    shlibpath_overrides_runpath=yes
 
10154
    dynamic_linker='Win32 link.exe'
9438
10155
    ;;
9439
10156
 
9440
10157
  *)
 
10158
    # Assume MSVC wrapper
9441
10159
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
10160
    dynamic_linker='Win32 ld.exe'
9442
10161
    ;;
9443
10162
  esac
9444
 
  dynamic_linker='Win32 ld.exe'
9445
10163
  # FIXME: first we should search . and the directory the executable is in
9446
10164
  shlibpath_var=PATH
9447
10165
  ;;
9462
10180
  ;;
9463
10181
 
9464
10182
dgux*)
9465
 
  version_type=linux
 
10183
  version_type=linux # correct to gnu/linux during the next big refactor
9466
10184
  need_lib_prefix=no
9467
10185
  need_version=no
9468
10186
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9470
10188
  shlibpath_var=LD_LIBRARY_PATH
9471
10189
  ;;
9472
10190
 
9473
 
freebsd1*)
9474
 
  dynamic_linker=no
9475
 
  ;;
9476
 
 
9477
10191
freebsd* | dragonfly*)
9478
10192
  # DragonFly does not have aout.  When/if they implement a new
9479
10193
  # versioning mechanism, adjust this.
9481
10195
    objformat=`/usr/bin/objformat`
9482
10196
  else
9483
10197
    case $host_os in
9484
 
    freebsd[123]*) objformat=aout ;;
 
10198
    freebsd[23].*) objformat=aout ;;
9485
10199
    *) objformat=elf ;;
9486
10200
    esac
9487
10201
  fi
9499
10213
  esac
9500
10214
  shlibpath_var=LD_LIBRARY_PATH
9501
10215
  case $host_os in
9502
 
  freebsd2*)
 
10216
  freebsd2.*)
9503
10217
    shlibpath_overrides_runpath=yes
9504
10218
    ;;
9505
10219
  freebsd3.[01]* | freebsdelf3.[01]*)
9519
10233
  ;;
9520
10234
 
9521
10235
gnu*)
9522
 
  version_type=linux
 
10236
  version_type=linux # correct to gnu/linux during the next big refactor
9523
10237
  need_lib_prefix=no
9524
10238
  need_version=no
9525
10239
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9526
10240
  soname_spec='${libname}${release}${shared_ext}$major'
9527
10241
  shlibpath_var=LD_LIBRARY_PATH
 
10242
  shlibpath_overrides_runpath=no
9528
10243
  hardcode_into_libs=yes
9529
10244
  ;;
9530
10245
 
9531
10246
haiku*)
9532
 
  version_type=linux
 
10247
  version_type=linux # correct to gnu/linux during the next big refactor
9533
10248
  need_lib_prefix=no
9534
10249
  need_version=no
9535
10250
  dynamic_linker="$host_os runtime_loader"
9590
10305
  ;;
9591
10306
 
9592
10307
interix[3-9]*)
9593
 
  version_type=linux
 
10308
  version_type=linux # correct to gnu/linux during the next big refactor
9594
10309
  need_lib_prefix=no
9595
10310
  need_version=no
9596
10311
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9606
10321
    nonstopux*) version_type=nonstopux ;;
9607
10322
    *)
9608
10323
        if test "$lt_cv_prog_gnu_ld" = yes; then
9609
 
                version_type=linux
 
10324
                version_type=linux # correct to gnu/linux during the next big refactor
9610
10325
        else
9611
10326
                version_type=irix
9612
10327
        fi ;;
9643
10358
  dynamic_linker=no
9644
10359
  ;;
9645
10360
 
9646
 
# This must be Linux ELF.
 
10361
# This must be glibc/ELF.
9647
10362
linux* | k*bsd*-gnu | kopensolaris*-gnu)
9648
 
  version_type=linux
 
10363
  version_type=linux # correct to gnu/linux during the next big refactor
9649
10364
  need_lib_prefix=no
9650
10365
  need_version=no
9651
10366
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9655
10370
  shlibpath_overrides_runpath=no
9656
10371
 
9657
10372
  # Some binutils ld are patched to set DT_RUNPATH
9658
 
  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
 
10373
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
9659
10374
  $as_echo_n "(cached) " >&6
9660
10375
else
9661
10376
  lt_cv_shlibpath_overrides_runpath=no
9731
10446
  ;;
9732
10447
 
9733
10448
newsos6)
9734
 
  version_type=linux
 
10449
  version_type=linux # correct to gnu/linux during the next big refactor
9735
10450
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9736
10451
  shlibpath_var=LD_LIBRARY_PATH
9737
10452
  shlibpath_overrides_runpath=yes
9800
10515
  ;;
9801
10516
 
9802
10517
solaris*)
9803
 
  version_type=linux
 
10518
  version_type=linux # correct to gnu/linux during the next big refactor
9804
10519
  need_lib_prefix=no
9805
10520
  need_version=no
9806
10521
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9825
10540
  ;;
9826
10541
 
9827
10542
sysv4 | sysv4.3*)
9828
 
  version_type=linux
 
10543
  version_type=linux # correct to gnu/linux during the next big refactor
9829
10544
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9830
10545
  soname_spec='${libname}${release}${shared_ext}$major'
9831
10546
  shlibpath_var=LD_LIBRARY_PATH
9849
10564
 
9850
10565
sysv4*MP*)
9851
10566
  if test -d /usr/nec ;then
9852
 
    version_type=linux
 
10567
    version_type=linux # correct to gnu/linux during the next big refactor
9853
10568
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9854
10569
    soname_spec='$libname${shared_ext}.$major'
9855
10570
    shlibpath_var=LD_LIBRARY_PATH
9880
10595
 
9881
10596
tpf*)
9882
10597
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
9883
 
  version_type=linux
 
10598
  version_type=linux # correct to gnu/linux during the next big refactor
9884
10599
  need_lib_prefix=no
9885
10600
  need_version=no
9886
10601
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9890
10605
  ;;
9891
10606
 
9892
10607
uts4*)
9893
 
  version_type=linux
 
10608
  version_type=linux # correct to gnu/linux during the next big refactor
9894
10609
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9895
10610
  soname_spec='${libname}${release}${shared_ext}$major'
9896
10611
  shlibpath_var=LD_LIBRARY_PATH
10079
10794
  # if libdl is installed we need to link against it
10080
10795
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10081
10796
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10082
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
10797
if ${ac_cv_lib_dl_dlopen+:} false; then :
10083
10798
  $as_echo_n "(cached) " >&6
10084
10799
else
10085
10800
  ac_check_lib_save_LIBS=$LIBS
10113
10828
fi
10114
10829
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10115
10830
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10116
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
10831
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10117
10832
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10118
10833
else
10119
10834
 
10127
10842
 
10128
10843
  *)
10129
10844
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10130
 
if test "x$ac_cv_func_shl_load" = x""yes; then :
 
10845
if test "x$ac_cv_func_shl_load" = xyes; then :
10131
10846
  lt_cv_dlopen="shl_load"
10132
10847
else
10133
10848
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10134
10849
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10135
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
 
10850
if ${ac_cv_lib_dld_shl_load+:} false; then :
10136
10851
  $as_echo_n "(cached) " >&6
10137
10852
else
10138
10853
  ac_check_lib_save_LIBS=$LIBS
10166
10881
fi
10167
10882
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10168
10883
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10169
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
 
10884
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10170
10885
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10171
10886
else
10172
10887
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10173
 
if test "x$ac_cv_func_dlopen" = x""yes; then :
 
10888
if test "x$ac_cv_func_dlopen" = xyes; then :
10174
10889
  lt_cv_dlopen="dlopen"
10175
10890
else
10176
10891
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10177
10892
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10178
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
10893
if ${ac_cv_lib_dl_dlopen+:} false; then :
10179
10894
  $as_echo_n "(cached) " >&6
10180
10895
else
10181
10896
  ac_check_lib_save_LIBS=$LIBS
10209
10924
fi
10210
10925
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10211
10926
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10212
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
10927
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10213
10928
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10214
10929
else
10215
10930
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10216
10931
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10217
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
 
10932
if ${ac_cv_lib_svld_dlopen+:} false; then :
10218
10933
  $as_echo_n "(cached) " >&6
10219
10934
else
10220
10935
  ac_check_lib_save_LIBS=$LIBS
10248
10963
fi
10249
10964
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10250
10965
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10251
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
 
10966
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10252
10967
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10253
10968
else
10254
10969
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10255
10970
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10256
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
 
10971
if ${ac_cv_lib_dld_dld_link+:} false; then :
10257
10972
  $as_echo_n "(cached) " >&6
10258
10973
else
10259
10974
  ac_check_lib_save_LIBS=$LIBS
10287
11002
fi
10288
11003
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10289
11004
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10290
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
 
11005
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10291
11006
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10292
11007
fi
10293
11008
 
10328
11043
 
10329
11044
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10330
11045
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10331
 
if test "${lt_cv_dlopen_self+set}" = set; then :
 
11046
if ${lt_cv_dlopen_self+:} false; then :
10332
11047
  $as_echo_n "(cached) " >&6
10333
11048
else
10334
11049
          if test "$cross_compiling" = yes; then :
10381
11096
/* When -fvisbility=hidden is used, assume the code has been annotated
10382
11097
   correspondingly for the symbols needed.  */
10383
11098
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10384
 
void fnord () __attribute__((visibility("default")));
 
11099
int fnord () __attribute__((visibility("default")));
10385
11100
#endif
10386
11101
 
10387
 
void fnord () { int i=42; }
 
11102
int fnord () { return 42; }
10388
11103
int main ()
10389
11104
{
10390
11105
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10434
11149
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10435
11150
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10436
11151
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10437
 
if test "${lt_cv_dlopen_self_static+set}" = set; then :
 
11152
if ${lt_cv_dlopen_self_static+:} false; then :
10438
11153
  $as_echo_n "(cached) " >&6
10439
11154
else
10440
11155
          if test "$cross_compiling" = yes; then :
10487
11202
/* When -fvisbility=hidden is used, assume the code has been annotated
10488
11203
   correspondingly for the symbols needed.  */
10489
11204
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10490
 
void fnord () __attribute__((visibility("default")));
 
11205
int fnord () __attribute__((visibility("default")));
10491
11206
#endif
10492
11207
 
10493
 
void fnord () { int i=42; }
 
11208
int fnord () { return 42; }
10494
11209
int main ()
10495
11210
{
10496
11211
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10672
11387
 
10673
11388
 
10674
11389
 
 
11390
 
 
11391
 
10675
11392
        ac_config_commands="$ac_config_commands libtool"
10676
11393
 
10677
11394
 
10689
11406
fi
10690
11407
set dummy $CC; ac_cc=`$as_echo "$2" |
10691
11408
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
10692
 
if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
 
11409
if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
10693
11410
  $as_echo_n "(cached) " >&6
10694
11411
else
10695
11412
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10812
11529
# odbc libraries
10813
11530
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SQLConnect in -lodbc" >&5
10814
11531
$as_echo_n "checking for SQLConnect in -lodbc... " >&6; }
10815
 
if test "${ac_cv_lib_odbc_SQLConnect+set}" = set; then :
 
11532
if ${ac_cv_lib_odbc_SQLConnect+:} false; then :
10816
11533
  $as_echo_n "(cached) " >&6
10817
11534
else
10818
11535
  ac_check_lib_save_LIBS=$LIBS
10846
11563
fi
10847
11564
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_odbc_SQLConnect" >&5
10848
11565
$as_echo "$ac_cv_lib_odbc_SQLConnect" >&6; }
10849
 
if test "x$ac_cv_lib_odbc_SQLConnect" = x""yes; then :
 
11566
if test "x$ac_cv_lib_odbc_SQLConnect" = xyes; then :
10850
11567
  have_odbc=yes
10851
11568
else
10852
11569
  have_odbc=no
10863
11580
 
10864
11581
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X509_free in -lcrypto" >&5
10865
11582
$as_echo_n "checking for X509_free in -lcrypto... " >&6; }
10866
 
if test "${ac_cv_lib_crypto_X509_free+set}" = set; then :
 
11583
if ${ac_cv_lib_crypto_X509_free+:} false; then :
10867
11584
  $as_echo_n "(cached) " >&6
10868
11585
else
10869
11586
  ac_check_lib_save_LIBS=$LIBS
10897
11614
fi
10898
11615
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_X509_free" >&5
10899
11616
$as_echo "$ac_cv_lib_crypto_X509_free" >&6; }
10900
 
if test "x$ac_cv_lib_crypto_X509_free" = x""yes; then :
10901
 
  cat >>confdefs.h <<_ACEOF
10902
 
#define HAVE_LIBCRYPTO 1
10903
 
_ACEOF
10904
 
 
10905
 
  LIBS="-lcrypto $LIBS"
10906
 
 
10907
 
fi
10908
 
 
 
11617
if test "x$ac_cv_lib_crypto_X509_free" = xyes; then :
 
11618
  have_crypto=yes
 
11619
else
 
11620
  have_crypto=no
 
11621
fi
 
11622
 
 
11623
if test "x$have_crypto" = "xno" ; then
 
11624
    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
11625
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
11626
as_fn_error $? "\"no libcrypto found\"
 
11627
See \`config.log' for more details" "$LINENO" 5; }
 
11628
fi
10909
11629
 
10910
11630
# Checks for header files.
10911
11631
ac_header_dirent=no
10913
11633
  as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
10914
11634
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
10915
11635
$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
10916
 
if eval "test \"\${$as_ac_Header+set}\"" = set; then :
 
11636
if eval \${$as_ac_Header+:} false; then :
10917
11637
  $as_echo_n "(cached) " >&6
10918
11638
else
10919
11639
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10953
11673
if test $ac_header_dirent = dirent.h; then
10954
11674
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
10955
11675
$as_echo_n "checking for library containing opendir... " >&6; }
10956
 
if test "${ac_cv_search_opendir+set}" = set; then :
 
11676
if ${ac_cv_search_opendir+:} false; then :
10957
11677
  $as_echo_n "(cached) " >&6
10958
11678
else
10959
11679
  ac_func_search_save_LIBS=$LIBS
10987
11707
fi
10988
11708
rm -f core conftest.err conftest.$ac_objext \
10989
11709
    conftest$ac_exeext
10990
 
  if test "${ac_cv_search_opendir+set}" = set; then :
 
11710
  if ${ac_cv_search_opendir+:} false; then :
10991
11711
  break
10992
11712
fi
10993
11713
done
10994
 
if test "${ac_cv_search_opendir+set}" = set; then :
 
11714
if ${ac_cv_search_opendir+:} false; then :
10995
11715
 
10996
11716
else
10997
11717
  ac_cv_search_opendir=no
11010
11730
else
11011
11731
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
11012
11732
$as_echo_n "checking for library containing opendir... " >&6; }
11013
 
if test "${ac_cv_search_opendir+set}" = set; then :
 
11733
if ${ac_cv_search_opendir+:} false; then :
11014
11734
  $as_echo_n "(cached) " >&6
11015
11735
else
11016
11736
  ac_func_search_save_LIBS=$LIBS
11044
11764
fi
11045
11765
rm -f core conftest.err conftest.$ac_objext \
11046
11766
    conftest$ac_exeext
11047
 
  if test "${ac_cv_search_opendir+set}" = set; then :
 
11767
  if ${ac_cv_search_opendir+:} false; then :
11048
11768
  break
11049
11769
fi
11050
11770
done
11051
 
if test "${ac_cv_search_opendir+set}" = set; then :
 
11771
if ${ac_cv_search_opendir+:} false; then :
11052
11772
 
11053
11773
else
11054
11774
  ac_cv_search_opendir=no
11068
11788
 
11069
11789
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
11070
11790
$as_echo_n "checking for ANSI C header files... " >&6; }
11071
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
11791
if ${ac_cv_header_stdc+:} false; then :
11072
11792
  $as_echo_n "(cached) " >&6
11073
11793
else
11074
11794
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11195
11915
# Checks for typedefs, structures, and compiler characteristics.
11196
11916
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
11197
11917
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
11198
 
if test "${ac_cv_c_const+set}" = set; then :
 
11918
if ${ac_cv_c_const+:} false; then :
11199
11919
  $as_echo_n "(cached) " >&6
11200
11920
else
11201
11921
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11274
11994
fi
11275
11995
 
11276
11996
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
11277
 
if test "x$ac_cv_type_size_t" = x""yes; then :
 
11997
if test "x$ac_cv_type_size_t" = xyes; then :
11278
11998
 
11279
11999
else
11280
12000
 
11286
12006
 
11287
12007
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
11288
12008
$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
11289
 
if test "${ac_cv_struct_tm+set}" = set; then :
 
12009
if ${ac_cv_struct_tm+:} false; then :
11290
12010
  $as_echo_n "(cached) " >&6
11291
12011
else
11292
12012
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11323
12043
# Checks for library functions.
11324
12044
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5
11325
12045
$as_echo_n "checking whether closedir returns void... " >&6; }
11326
 
if test "${ac_cv_func_closedir_void+set}" = set; then :
 
12046
if ${ac_cv_func_closedir_void+:} false; then :
11327
12047
  $as_echo_n "(cached) " >&6
11328
12048
else
11329
12049
  if test "$cross_compiling" = yes; then :
11366
12086
for ac_header in stdlib.h
11367
12087
do :
11368
12088
  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
11369
 
if test "x$ac_cv_header_stdlib_h" = x""yes; then :
 
12089
if test "x$ac_cv_header_stdlib_h" = xyes; then :
11370
12090
  cat >>confdefs.h <<_ACEOF
11371
12091
#define HAVE_STDLIB_H 1
11372
12092
_ACEOF
11377
12097
 
11378
12098
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
11379
12099
$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
11380
 
if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then :
 
12100
if ${ac_cv_func_malloc_0_nonnull+:} false; then :
11381
12101
  $as_echo_n "(cached) " >&6
11382
12102
else
11383
12103
  if test "$cross_compiling" = yes; then :
11432
12152
 
11433
12153
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
11434
12154
$as_echo_n "checking for working memcmp... " >&6; }
11435
 
if test "${ac_cv_func_memcmp_working+set}" = set; then :
 
12155
if ${ac_cv_func_memcmp_working+:} false; then :
11436
12156
  $as_echo_n "(cached) " >&6
11437
12157
else
11438
12158
  if test "$cross_compiling" = yes; then :
11494
12214
 
11495
12215
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
11496
12216
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
11497
 
if test "${ac_cv_header_time+set}" = set; then :
 
12217
if ${ac_cv_header_time+:} false; then :
11498
12218
  $as_echo_n "(cached) " >&6
11499
12219
else
11500
12220
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11569
12289
 
11570
12290
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5
11571
12291
$as_echo_n "checking for working mktime... " >&6; }
11572
 
if test "${ac_cv_func_working_mktime+set}" = set; then :
 
12292
if ${ac_cv_func_working_mktime+:} false; then :
11573
12293
  $as_echo_n "(cached) " >&6
11574
12294
else
11575
12295
  if test "$cross_compiling" = yes; then :
11793
12513
for ac_header in stdlib.h
11794
12514
do :
11795
12515
  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
11796
 
if test "x$ac_cv_header_stdlib_h" = x""yes; then :
 
12516
if test "x$ac_cv_header_stdlib_h" = xyes; then :
11797
12517
  cat >>confdefs.h <<_ACEOF
11798
12518
#define HAVE_STDLIB_H 1
11799
12519
_ACEOF
11804
12524
 
11805
12525
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
11806
12526
$as_echo_n "checking for GNU libc compatible realloc... " >&6; }
11807
 
if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then :
 
12527
if ${ac_cv_func_realloc_0_nonnull+:} false; then :
11808
12528
  $as_echo_n "(cached) " >&6
11809
12529
else
11810
12530
  if test "$cross_compiling" = yes; then :
11859
12579
 
11860
12580
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
11861
12581
$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
11862
 
if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then :
 
12582
if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false; then :
11863
12583
  $as_echo_n "(cached) " >&6
11864
12584
else
11865
12585
  rm -f conftest.sym conftest.file
11921
12641
 
11922
12642
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
11923
12643
$as_echo_n "checking whether stat accepts an empty string... " >&6; }
11924
 
if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then :
 
12644
if ${ac_cv_func_stat_empty_string_bug+:} false; then :
11925
12645
  $as_echo_n "(cached) " >&6
11926
12646
else
11927
12647
  if test "$cross_compiling" = yes; then :
11970
12690
 
11971
12691
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether utime accepts a null argument" >&5
11972
12692
$as_echo_n "checking whether utime accepts a null argument... " >&6; }
11973
 
if test "${ac_cv_func_utime_null+set}" = set; then :
 
12693
if ${ac_cv_func_utime_null+:} false; then :
11974
12694
  $as_echo_n "(cached) " >&6
11975
12695
else
11976
12696
  rm -f conftest.data; >conftest.data
12063
12783
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12064
12784
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12065
12785
$as_echo_n "checking for $ac_word... " >&6; }
12066
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
 
12786
if ${ac_cv_path_PKG_CONFIG+:} false; then :
12067
12787
  $as_echo_n "(cached) " >&6
12068
12788
else
12069
12789
  case $PKG_CONFIG in
12106
12826
set dummy pkg-config; ac_word=$2
12107
12827
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12108
12828
$as_echo_n "checking for $ac_word... " >&6; }
12109
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
 
12829
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12110
12830
  $as_echo_n "(cached) " >&6
12111
12831
else
12112
12832
  case $ac_pt_PKG_CONFIG in
12815
13535
     :end' >>confcache
12816
13536
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12817
13537
  if test -w "$cache_file"; then
12818
 
    test "x$cache_file" != "x/dev/null" &&
 
13538
    if test "x$cache_file" != "x/dev/null"; then
12819
13539
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12820
13540
$as_echo "$as_me: updating cache $cache_file" >&6;}
12821
 
    cat confcache >$cache_file
 
13541
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
13542
        cat confcache >"$cache_file"
 
13543
      else
 
13544
        case $cache_file in #(
 
13545
        */* | ?:*)
 
13546
          mv -f confcache "$cache_file"$$ &&
 
13547
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
13548
        *)
 
13549
          mv -f confcache "$cache_file" ;;
 
13550
        esac
 
13551
      fi
 
13552
    fi
12822
13553
  else
12823
13554
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12824
13555
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12866
13597
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12867
13598
fi
12868
13599
 
12869
 
: ${CONFIG_STATUS=./config.status}
 
13600
: "${CONFIG_STATUS=./config.status}"
12870
13601
ac_write_fail=0
12871
13602
ac_clean_files_save=$ac_clean_files
12872
13603
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12967
13698
IFS=" ""        $as_nl"
12968
13699
 
12969
13700
# Find who we are.  Look in the path if we contain no directory separator.
 
13701
as_myself=
12970
13702
case $0 in #((
12971
13703
  *[\\/]* ) as_myself=$0 ;;
12972
13704
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13273
14005
# report actual input values of CONFIG_FILES etc. instead of their
13274
14006
# values after options handling.
13275
14007
ac_log="
13276
 
This file was extended by LCMAPS plugins jobrep $as_me 1.5.0, which was
13277
 
generated by GNU Autoconf 2.66.  Invocation command line was
 
14008
This file was extended by LCMAPS plugins jobrep $as_me 1.5.3, which was
 
14009
generated by GNU Autoconf 2.68.  Invocation command line was
13278
14010
 
13279
14011
  CONFIG_FILES    = $CONFIG_FILES
13280
14012
  CONFIG_HEADERS  = $CONFIG_HEADERS
13339
14071
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13340
14072
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13341
14073
ac_cs_version="\\
13342
 
LCMAPS plugins jobrep config.status 1.5.0
13343
 
configured by $0, generated by GNU Autoconf 2.66,
 
14074
LCMAPS plugins jobrep config.status 1.5.3
 
14075
configured by $0, generated by GNU Autoconf 2.68,
13344
14076
  with options \\"\$ac_cs_config\\"
13345
14077
 
13346
14078
Copyright (C) 2010 Free Software Foundation, Inc.
13361
14093
while test $# != 0
13362
14094
do
13363
14095
  case $1 in
13364
 
  --*=*)
 
14096
  --*=?*)
13365
14097
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
13366
14098
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13367
14099
    ac_shift=:
13368
14100
    ;;
 
14101
  --*=)
 
14102
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
14103
    ac_optarg=
 
14104
    ac_shift=:
 
14105
    ;;
13369
14106
  *)
13370
14107
    ac_option=$1
13371
14108
    ac_optarg=$2
13387
14124
    $ac_shift
13388
14125
    case $ac_optarg in
13389
14126
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
14127
    '') as_fn_error $? "missing file argument" ;;
13390
14128
    esac
13391
14129
    as_fn_append CONFIG_FILES " '$ac_optarg'"
13392
14130
    ac_need_defaults=false;;
13470
14208
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13471
14209
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13472
14210
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
14211
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13473
14212
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13474
14213
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13475
14214
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13490
14229
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13491
14230
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13492
14231
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
14232
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 
14233
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13493
14234
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13494
14235
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13495
14236
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13496
14237
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13497
14238
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
14239
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 
14240
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 
14241
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 
14242
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13498
14243
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13499
14244
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
14245
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13500
14246
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13501
14247
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13502
14248
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13511
14257
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13512
14258
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13513
14259
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"`'
 
14260
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 
14261
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13514
14262
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13515
14263
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13516
14264
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
14265
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13517
14266
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13518
 
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13519
14267
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13520
14268
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13521
14269
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
14270
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13522
14271
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13523
14272
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13524
14273
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13542
14291
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13543
14292
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13544
14293
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13545
 
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
13546
14294
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13547
14295
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13548
14296
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13551
14299
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13552
14300
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13553
14301
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13554
 
fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
13555
14302
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13556
14303
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13557
14304
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13558
14305
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13559
14306
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
14307
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13560
14308
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13561
14309
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13562
14310
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13598
14346
# Quote evaled strings.
13599
14347
for var in SHELL \
13600
14348
ECHO \
 
14349
PATH_SEPARATOR \
13601
14350
SED \
13602
14351
GREP \
13603
14352
EGREP \
13611
14360
OBJDUMP \
13612
14361
deplibs_check_method \
13613
14362
file_magic_cmd \
 
14363
file_magic_glob \
 
14364
want_nocaseglob \
 
14365
DLLTOOL \
 
14366
sharedlib_from_linklib_cmd \
13614
14367
AR \
13615
14368
AR_FLAGS \
 
14369
archiver_list_spec \
13616
14370
STRIP \
13617
14371
RANLIB \
13618
14372
CC \
13622
14376
lt_cv_sys_global_symbol_to_cdecl \
13623
14377
lt_cv_sys_global_symbol_to_c_name_address \
13624
14378
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
14379
nm_file_list_spec \
13625
14380
lt_prog_compiler_no_builtin_flag \
 
14381
lt_prog_compiler_pic \
13626
14382
lt_prog_compiler_wl \
13627
 
lt_prog_compiler_pic \
13628
14383
lt_prog_compiler_static \
13629
14384
lt_cv_prog_compiler_c_o \
13630
14385
need_locks \
 
14386
MANIFEST_TOOL \
13631
14387
DSYMUTIL \
13632
14388
NMEDIT \
13633
14389
LIPO \
13641
14397
allow_undefined_flag \
13642
14398
no_undefined_flag \
13643
14399
hardcode_libdir_flag_spec \
13644
 
hardcode_libdir_flag_spec_ld \
13645
14400
hardcode_libdir_separator \
13646
 
fix_srcfile_path \
13647
14401
exclude_expsyms \
13648
14402
include_expsyms \
13649
14403
file_list_spec \
13679
14433
module_expsym_cmds \
13680
14434
export_symbols_cmds \
13681
14435
prelink_cmds \
 
14436
postlink_cmds \
13682
14437
postinstall_cmds \
13683
14438
postuninstall_cmds \
13684
14439
finish_cmds \
13754
14509
# after its creation but before its name has been assigned to `$tmp'.
13755
14510
$debug ||
13756
14511
{
13757
 
  tmp=
 
14512
  tmp= ac_tmp=
13758
14513
  trap 'exit_status=$?
13759
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
14514
  : "${ac_tmp:=$tmp}"
 
14515
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13760
14516
' 0
13761
14517
  trap 'as_fn_exit 1' 1 2 13 15
13762
14518
}
13764
14520
 
13765
14521
{
13766
14522
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13767
 
  test -n "$tmp" && test -d "$tmp"
 
14523
  test -d "$tmp"
13768
14524
}  ||
13769
14525
{
13770
14526
  tmp=./conf$$-$RANDOM
13771
14527
  (umask 077 && mkdir "$tmp")
13772
14528
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
14529
ac_tmp=$tmp
13773
14530
 
13774
14531
# Set up the scripts for CONFIG_FILES section.
13775
14532
# No need to generate them if there are no CONFIG_FILES.
13791
14548
  ac_cs_awk_cr=$ac_cr
13792
14549
fi
13793
14550
 
13794
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
14551
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13795
14552
_ACEOF
13796
14553
 
13797
14554
 
13819
14576
rm -f conf$$subs.sh
13820
14577
 
13821
14578
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13822
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
14579
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13823
14580
_ACEOF
13824
14581
sed -n '
13825
14582
h
13867
14624
rm -f conf$$subs.awk
13868
14625
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13869
14626
_ACAWK
13870
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
14627
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13871
14628
  for (key in S) S_is_set[key] = 1
13872
14629
  FS = ""
13873
14630
 
13899
14656
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13900
14657
else
13901
14658
  cat
13902
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
14659
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13903
14660
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13904
14661
_ACEOF
13905
14662
 
13933
14690
# No need to generate them if there are no CONFIG_HEADERS.
13934
14691
# This happens for instance with `./config.status Makefile'.
13935
14692
if test -n "$CONFIG_HEADERS"; then
13936
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
14693
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
13937
14694
BEGIN {
13938
14695
_ACEOF
13939
14696
 
13945
14702
# handling of long lines.
13946
14703
ac_delim='%!_!# '
13947
14704
for ac_last_try in false false :; do
13948
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
13949
 
  if test -z "$ac_t"; then
 
14705
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
14706
  if test -z "$ac_tt"; then
13950
14707
    break
13951
14708
  elif $ac_last_try; then
13952
14709
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14066
14823
    for ac_f
14067
14824
    do
14068
14825
      case $ac_f in
14069
 
      -) ac_f="$tmp/stdin";;
 
14826
      -) ac_f="$ac_tmp/stdin";;
14070
14827
      *) # Look for the file first in the build tree, then in the source tree
14071
14828
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
14072
14829
         # because $ac_f cannot contain `:'.
14101
14858
    esac
14102
14859
 
14103
14860
    case $ac_tag in
14104
 
    *:-:* | *:-) cat >"$tmp/stdin" \
 
14861
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
14105
14862
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14106
14863
    esac
14107
14864
    ;;
14238
14995
s&@MKDIR_P@&$ac_MKDIR_P&;t t
14239
14996
$ac_datarootdir_hack
14240
14997
"
14241
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
14242
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
14998
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
14999
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14243
15000
 
14244
15001
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14245
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14246
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
15002
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
15003
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
15004
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
14247
15005
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14248
15006
which seems to be undefined.  Please make sure it is defined" >&5
14249
15007
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14250
15008
which seems to be undefined.  Please make sure it is defined" >&2;}
14251
15009
 
14252
 
  rm -f "$tmp/stdin"
 
15010
  rm -f "$ac_tmp/stdin"
14253
15011
  case $ac_file in
14254
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
14255
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
15012
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
15013
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14256
15014
  esac \
14257
15015
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14258
15016
 ;;
14263
15021
  if test x"$ac_file" != x-; then
14264
15022
    {
14265
15023
      $as_echo "/* $configure_input  */" \
14266
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14267
 
    } >"$tmp/config.h" \
 
15024
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
15025
    } >"$ac_tmp/config.h" \
14268
15026
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14269
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
15027
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14270
15028
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14271
15029
$as_echo "$as_me: $ac_file is unchanged" >&6;}
14272
15030
    else
14273
15031
      rm -f "$ac_file"
14274
 
      mv "$tmp/config.h" "$ac_file" \
 
15032
      mv "$ac_tmp/config.h" "$ac_file" \
14275
15033
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14276
15034
    fi
14277
15035
  else
14278
15036
    $as_echo "/* $configure_input  */" \
14279
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
15037
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14280
15038
      || as_fn_error $? "could not create -" "$LINENO" 5
14281
15039
  fi
14282
15040
# Compute "$ac_file"'s index in $config_headers.
14438
15196
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14439
15197
#
14440
15198
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14441
 
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
14442
 
#                 Inc.
 
15199
#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
 
15200
#                 Foundation, Inc.
14443
15201
#   Written by Gordon Matzigkeit, 1996
14444
15202
#
14445
15203
#   This file is part of GNU Libtool.
14493
15251
# An echo program that protects backslashes.
14494
15252
ECHO=$lt_ECHO
14495
15253
 
 
15254
# The PATH separator for the build system.
 
15255
PATH_SEPARATOR=$lt_PATH_SEPARATOR
 
15256
 
14496
15257
# The host system.
14497
15258
host_alias=$host_alias
14498
15259
host=$host
14542
15303
# turn newlines into spaces.
14543
15304
NL2SP=$lt_lt_NL2SP
14544
15305
 
 
15306
# convert \$build file names to \$host format.
 
15307
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
15308
 
 
15309
# convert \$build files to toolchain format.
 
15310
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
15311
 
14545
15312
# An object symbol dumper.
14546
15313
OBJDUMP=$lt_OBJDUMP
14547
15314
 
14548
15315
# Method to check whether dependent libraries are shared objects.
14549
15316
deplibs_check_method=$lt_deplibs_check_method
14550
15317
 
14551
 
# Command to use when deplibs_check_method == "file_magic".
 
15318
# Command to use when deplibs_check_method = "file_magic".
14552
15319
file_magic_cmd=$lt_file_magic_cmd
14553
15320
 
 
15321
# How to find potential files when deplibs_check_method = "file_magic".
 
15322
file_magic_glob=$lt_file_magic_glob
 
15323
 
 
15324
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
15325
want_nocaseglob=$lt_want_nocaseglob
 
15326
 
 
15327
# DLL creation program.
 
15328
DLLTOOL=$lt_DLLTOOL
 
15329
 
 
15330
# Command to associate shared and link libraries.
 
15331
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
15332
 
14554
15333
# The archiver.
14555
15334
AR=$lt_AR
 
15335
 
 
15336
# Flags to create an archive.
14556
15337
AR_FLAGS=$lt_AR_FLAGS
14557
15338
 
 
15339
# How to feed a file listing to the archiver.
 
15340
archiver_list_spec=$lt_archiver_list_spec
 
15341
 
14558
15342
# A symbol stripping program.
14559
15343
STRIP=$lt_STRIP
14560
15344
 
14584
15368
# Transform the output of nm in a C name address pair when lib prefix is needed.
14585
15369
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14586
15370
 
 
15371
# Specify filename containing input files for \$NM.
 
15372
nm_file_list_spec=$lt_nm_file_list_spec
 
15373
 
 
15374
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
15375
lt_sysroot=$lt_sysroot
 
15376
 
14587
15377
# The name of the directory that contains temporary libtool files.
14588
15378
objdir=$objdir
14589
15379
 
14593
15383
# Must we lock files when doing compilation?
14594
15384
need_locks=$lt_need_locks
14595
15385
 
 
15386
# Manifest tool.
 
15387
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
15388
 
14596
15389
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14597
15390
DSYMUTIL=$lt_DSYMUTIL
14598
15391
 
14707
15500
# Compiler flag to turn off builtin functions.
14708
15501
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14709
15502
 
 
15503
# Additional compiler flags for building library objects.
 
15504
pic_flag=$lt_lt_prog_compiler_pic
 
15505
 
14710
15506
# How to pass a linker flag through the compiler.
14711
15507
wl=$lt_lt_prog_compiler_wl
14712
15508
 
14713
 
# Additional compiler flags for building library objects.
14714
 
pic_flag=$lt_lt_prog_compiler_pic
14715
 
 
14716
15509
# Compiler flag to prevent dynamic linking.
14717
15510
link_static_flag=$lt_lt_prog_compiler_static
14718
15511
 
14762
15555
# This must work even if \$libdir does not exist
14763
15556
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14764
15557
 
14765
 
# If ld is used when linking, flag to hardcode \$libdir into a binary
14766
 
# during linking.  This must work even if \$libdir does not exist.
14767
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14768
 
 
14769
15558
# Whether we need a single "-rpath" flag with a separated argument.
14770
15559
hardcode_libdir_separator=$lt_hardcode_libdir_separator
14771
15560
 
14799
15588
# Whether libtool must link a program against all its dependency libraries.
14800
15589
link_all_deplibs=$link_all_deplibs
14801
15590
 
14802
 
# Fix the shell variable \$srcfile for the compiler.
14803
 
fix_srcfile_path=$lt_fix_srcfile_path
14804
 
 
14805
15591
# Set to "yes" if exported symbols are required.
14806
15592
always_export_symbols=$always_export_symbols
14807
15593
 
14817
15603
# Commands necessary for linking programs (against libraries) with templates.
14818
15604
prelink_cmds=$lt_prelink_cmds
14819
15605
 
 
15606
# Commands necessary for finishing linking programs.
 
15607
postlink_cmds=$lt_postlink_cmds
 
15608
 
14820
15609
# Specify filename containing input files.
14821
15610
file_list_spec=$lt_file_list_spec
14822
15611
 
14849
15638
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
14850
15639
  # text mode, it properly converts lines to CR/LF.  This bash problem
14851
15640
  # is reportedly fixed, but why not run on old versions too?
14852
 
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14853
 
    || (rm -f "$cfgfile"; exit 1)
14854
 
 
14855
 
  case $xsi_shell in
14856
 
  yes)
14857
 
    cat << \_LT_EOF >> "$cfgfile"
14858
 
 
14859
 
# func_dirname file append nondir_replacement
14860
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14861
 
# otherwise set result to NONDIR_REPLACEMENT.
14862
 
func_dirname ()
14863
 
{
14864
 
  case ${1} in
14865
 
    */*) func_dirname_result="${1%/*}${2}" ;;
14866
 
    *  ) func_dirname_result="${3}" ;;
14867
 
  esac
14868
 
}
14869
 
 
14870
 
# func_basename file
14871
 
func_basename ()
14872
 
{
14873
 
  func_basename_result="${1##*/}"
14874
 
}
14875
 
 
14876
 
# func_dirname_and_basename file append nondir_replacement
14877
 
# perform func_basename and func_dirname in a single function
14878
 
# call:
14879
 
#   dirname:  Compute the dirname of FILE.  If nonempty,
14880
 
#             add APPEND to the result, otherwise set result
14881
 
#             to NONDIR_REPLACEMENT.
14882
 
#             value returned in "$func_dirname_result"
14883
 
#   basename: Compute filename of FILE.
14884
 
#             value retuned in "$func_basename_result"
14885
 
# Implementation must be kept synchronized with func_dirname
14886
 
# and func_basename. For efficiency, we do not delegate to
14887
 
# those functions but instead duplicate the functionality here.
14888
 
func_dirname_and_basename ()
14889
 
{
14890
 
  case ${1} in
14891
 
    */*) func_dirname_result="${1%/*}${2}" ;;
14892
 
    *  ) func_dirname_result="${3}" ;;
14893
 
  esac
14894
 
  func_basename_result="${1##*/}"
14895
 
}
14896
 
 
14897
 
# func_stripname prefix suffix name
14898
 
# strip PREFIX and SUFFIX off of NAME.
14899
 
# PREFIX and SUFFIX must not contain globbing or regex special
14900
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
14901
 
# dot (in which case that matches only a dot).
14902
 
func_stripname ()
14903
 
{
14904
 
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14905
 
  # positional parameters, so assign one to ordinary parameter first.
14906
 
  func_stripname_result=${3}
14907
 
  func_stripname_result=${func_stripname_result#"${1}"}
14908
 
  func_stripname_result=${func_stripname_result%"${2}"}
14909
 
}
14910
 
 
14911
 
# func_opt_split
14912
 
func_opt_split ()
14913
 
{
14914
 
  func_opt_split_opt=${1%%=*}
14915
 
  func_opt_split_arg=${1#*=}
14916
 
}
14917
 
 
14918
 
# func_lo2o object
14919
 
func_lo2o ()
14920
 
{
14921
 
  case ${1} in
14922
 
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14923
 
    *)    func_lo2o_result=${1} ;;
14924
 
  esac
14925
 
}
14926
 
 
14927
 
# func_xform libobj-or-source
14928
 
func_xform ()
14929
 
{
14930
 
  func_xform_result=${1%.*}.lo
14931
 
}
14932
 
 
14933
 
# func_arith arithmetic-term...
14934
 
func_arith ()
14935
 
{
14936
 
  func_arith_result=$(( $* ))
14937
 
}
14938
 
 
14939
 
# func_len string
14940
 
# STRING may not start with a hyphen.
14941
 
func_len ()
14942
 
{
14943
 
  func_len_result=${#1}
14944
 
}
14945
 
 
14946
 
_LT_EOF
14947
 
    ;;
14948
 
  *) # Bourne compatible functions.
14949
 
    cat << \_LT_EOF >> "$cfgfile"
14950
 
 
14951
 
# func_dirname file append nondir_replacement
14952
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14953
 
# otherwise set result to NONDIR_REPLACEMENT.
14954
 
func_dirname ()
14955
 
{
14956
 
  # Extract subdirectory from the argument.
14957
 
  func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
14958
 
  if test "X$func_dirname_result" = "X${1}"; then
14959
 
    func_dirname_result="${3}"
14960
 
  else
14961
 
    func_dirname_result="$func_dirname_result${2}"
14962
 
  fi
14963
 
}
14964
 
 
14965
 
# func_basename file
14966
 
func_basename ()
14967
 
{
14968
 
  func_basename_result=`$ECHO "${1}" | $SED "$basename"`
14969
 
}
14970
 
 
14971
 
 
14972
 
# func_stripname prefix suffix name
14973
 
# strip PREFIX and SUFFIX off of NAME.
14974
 
# PREFIX and SUFFIX must not contain globbing or regex special
14975
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
14976
 
# dot (in which case that matches only a dot).
14977
 
# func_strip_suffix prefix name
14978
 
func_stripname ()
14979
 
{
14980
 
  case ${2} in
14981
 
    .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
14982
 
    *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
14983
 
  esac
14984
 
}
14985
 
 
14986
 
# sed scripts:
14987
 
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
14988
 
my_sed_long_arg='1s/^-[^=]*=//'
14989
 
 
14990
 
# func_opt_split
14991
 
func_opt_split ()
14992
 
{
14993
 
  func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
14994
 
  func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
14995
 
}
14996
 
 
14997
 
# func_lo2o object
14998
 
func_lo2o ()
14999
 
{
15000
 
  func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
15001
 
}
15002
 
 
15003
 
# func_xform libobj-or-source
15004
 
func_xform ()
15005
 
{
15006
 
  func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
15007
 
}
15008
 
 
15009
 
# func_arith arithmetic-term...
15010
 
func_arith ()
15011
 
{
15012
 
  func_arith_result=`expr "$@"`
15013
 
}
15014
 
 
15015
 
# func_len string
15016
 
# STRING may not start with a hyphen.
15017
 
func_len ()
15018
 
{
15019
 
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15020
 
}
15021
 
 
15022
 
_LT_EOF
15023
 
esac
15024
 
 
15025
 
case $lt_shell_append in
15026
 
  yes)
15027
 
    cat << \_LT_EOF >> "$cfgfile"
15028
 
 
15029
 
# func_append var value
15030
 
# Append VALUE to the end of shell variable VAR.
15031
 
func_append ()
15032
 
{
15033
 
  eval "$1+=\$2"
15034
 
}
15035
 
_LT_EOF
15036
 
    ;;
15037
 
  *)
15038
 
    cat << \_LT_EOF >> "$cfgfile"
15039
 
 
15040
 
# func_append var value
15041
 
# Append VALUE to the end of shell variable VAR.
15042
 
func_append ()
15043
 
{
15044
 
  eval "$1=\$$1\$2"
15045
 
}
15046
 
 
15047
 
_LT_EOF
15048
 
    ;;
15049
 
  esac
15050
 
 
15051
 
 
15052
 
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15053
 
    || (rm -f "$cfgfile"; exit 1)
15054
 
 
15055
 
  mv -f "$cfgfile" "$ofile" ||
 
15641
  sed '$q' "$ltmain" >> "$cfgfile" \
 
15642
     || (rm -f "$cfgfile"; exit 1)
 
15643
 
 
15644
  if test x"$xsi_shell" = xyes; then
 
15645
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
15646
func_dirname ()\
 
15647
{\
 
15648
\    case ${1} in\
 
15649
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
15650
\      *  ) func_dirname_result="${3}" ;;\
 
15651
\    esac\
 
15652
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
15653
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15654
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15655
test 0 -eq $? || _lt_function_replace_fail=:
 
15656
 
 
15657
 
 
15658
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
15659
func_basename ()\
 
15660
{\
 
15661
\    func_basename_result="${1##*/}"\
 
15662
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
15663
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15664
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15665
test 0 -eq $? || _lt_function_replace_fail=:
 
15666
 
 
15667
 
 
15668
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
15669
func_dirname_and_basename ()\
 
15670
{\
 
15671
\    case ${1} in\
 
15672
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
15673
\      *  ) func_dirname_result="${3}" ;;\
 
15674
\    esac\
 
15675
\    func_basename_result="${1##*/}"\
 
15676
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
15677
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15678
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15679
test 0 -eq $? || _lt_function_replace_fail=:
 
15680
 
 
15681
 
 
15682
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
15683
func_stripname ()\
 
15684
{\
 
15685
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
15686
\    # positional parameters, so assign one to ordinary parameter first.\
 
15687
\    func_stripname_result=${3}\
 
15688
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
15689
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
15690
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
 
15691
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15692
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15693
test 0 -eq $? || _lt_function_replace_fail=:
 
15694
 
 
15695
 
 
15696
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
15697
func_split_long_opt ()\
 
15698
{\
 
15699
\    func_split_long_opt_name=${1%%=*}\
 
15700
\    func_split_long_opt_arg=${1#*=}\
 
15701
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
15702
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15703
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15704
test 0 -eq $? || _lt_function_replace_fail=:
 
15705
 
 
15706
 
 
15707
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
15708
func_split_short_opt ()\
 
15709
{\
 
15710
\    func_split_short_opt_arg=${1#??}\
 
15711
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
15712
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
15713
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15714
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15715
test 0 -eq $? || _lt_function_replace_fail=:
 
15716
 
 
15717
 
 
15718
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
15719
func_lo2o ()\
 
15720
{\
 
15721
\    case ${1} in\
 
15722
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
15723
\      *)    func_lo2o_result=${1} ;;\
 
15724
\    esac\
 
15725
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
15726
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15727
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15728
test 0 -eq $? || _lt_function_replace_fail=:
 
15729
 
 
15730
 
 
15731
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
15732
func_xform ()\
 
15733
{\
 
15734
    func_xform_result=${1%.*}.lo\
 
15735
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
15736
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15737
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15738
test 0 -eq $? || _lt_function_replace_fail=:
 
15739
 
 
15740
 
 
15741
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
15742
func_arith ()\
 
15743
{\
 
15744
    func_arith_result=$(( $* ))\
 
15745
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
15746
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15747
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15748
test 0 -eq $? || _lt_function_replace_fail=:
 
15749
 
 
15750
 
 
15751
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
15752
func_len ()\
 
15753
{\
 
15754
    func_len_result=${#1}\
 
15755
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
15756
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15757
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15758
test 0 -eq $? || _lt_function_replace_fail=:
 
15759
 
 
15760
fi
 
15761
 
 
15762
if test x"$lt_shell_append" = xyes; then
 
15763
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
15764
func_append ()\
 
15765
{\
 
15766
    eval "${1}+=\\${2}"\
 
15767
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
15768
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15769
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15770
test 0 -eq $? || _lt_function_replace_fail=:
 
15771
 
 
15772
 
 
15773
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
15774
func_append_quoted ()\
 
15775
{\
 
15776
\    func_quote_for_eval "${2}"\
 
15777
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
15778
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
15779
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15780
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15781
test 0 -eq $? || _lt_function_replace_fail=:
 
15782
 
 
15783
 
 
15784
  # Save a `func_append' function call where possible by direct use of '+='
 
15785
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
15786
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15787
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15788
  test 0 -eq $? || _lt_function_replace_fail=:
 
15789
else
 
15790
  # Save a `func_append' function call even when '+=' is not available
 
15791
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
15792
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15793
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15794
  test 0 -eq $? || _lt_function_replace_fail=:
 
15795
fi
 
15796
 
 
15797
if test x"$_lt_function_replace_fail" = x":"; then
 
15798
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
15799
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
15800
fi
 
15801
 
 
15802
 
 
15803
   mv -f "$cfgfile" "$ofile" ||
15056
15804
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15057
15805
  chmod +x "$ofile"
15058
15806