~n-muench/ubuntu/precise/open-vm-tools/open-vm-tools.march-merge

« back to all changes in this revision

Viewing changes to configure

  • Committer: Nate Muench
  • Date: 2012-03-22 17:50:13 UTC
  • mfrom: (1.4.7)
  • Revision ID: nowiwilldestroyabydos@gmail.com-20120322175013-0jh30wfk7ut20rdj
Tags: 2012.03.13-651368-0ubuntu1
* Merge latest upstream git tag.
* debian/rules: Removed glib2.0 compatibility CFLAG.
  - Packaging can now build without it.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.67 for open-vm-tools 2011.12.20.
 
3
# Generated by GNU Autoconf 2.68 for open-vm-tools 2012.03.13.
4
4
#
5
5
# Report bugs to <open-vm-tools-devel@lists.sourceforge.net>.
6
6
#
91
91
IFS=" ""        $as_nl"
92
92
 
93
93
# Find who we are.  Look in the path if we contain no directory separator.
 
94
as_myself=
94
95
case $0 in #((
95
96
  *[\\/]* ) as_myself=$0 ;;
96
97
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
173
174
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174
175
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175
176
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176
 
test \$(( 1 + 1 )) = 2 || exit 1"
 
177
test \$(( 1 + 1 )) = 2 || exit 1
 
178
 
 
179
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
 
180
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
181
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
182
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
183
    PATH=/empty FPATH=/empty; export PATH FPATH
 
184
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
 
185
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
177
186
  if (eval "$as_required") 2>/dev/null; then :
178
187
  as_have_required=yes
179
188
else
216
225
  # We cannot yet assume a decent shell, so we have to provide a
217
226
        # neutralization value for shells without unset; and this also
218
227
        # works around shells that cannot unset nonexistent variables.
 
228
        # Preserve -v and -x to the replacement shell.
219
229
        BASH_ENV=/dev/null
220
230
        ENV=/dev/null
221
231
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222
232
        export CONFIG_SHELL
223
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
233
        case $- in # ((((
 
234
          *v*x* | *x*v* ) as_opts=-vx ;;
 
235
          *v* ) as_opts=-v ;;
 
236
          *x* ) as_opts=-x ;;
 
237
          * ) as_opts= ;;
 
238
        esac
 
239
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
224
240
fi
225
241
 
226
242
    if test x$as_have_required = xno; then :
528
544
# Sed expression to map a string onto a valid variable name.
529
545
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530
546
 
531
 
 
532
 
 
533
 
# Check that we are running under the correct shell.
534
547
SHELL=${CONFIG_SHELL-/bin/sh}
535
548
 
536
 
case X$lt_ECHO in
537
 
X*--fallback-echo)
538
 
  # Remove one level of quotation (which was required for Make).
539
 
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
540
 
  ;;
541
 
esac
542
 
 
543
 
ECHO=${lt_ECHO-echo}
544
 
if test "X$1" = X--no-reexec; then
545
 
  # Discard the --no-reexec flag, and continue.
546
 
  shift
547
 
elif test "X$1" = X--fallback-echo; then
548
 
  # Avoid inline document here, it may be left over
549
 
  :
550
 
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551
 
  # Yippee, $ECHO works!
552
 
  :
553
 
else
554
 
  # Restart under the correct shell.
555
 
  exec $SHELL "$0" --no-reexec ${1+"$@"}
556
 
fi
557
 
 
558
 
if test "X$1" = X--fallback-echo; then
559
 
  # used as fallback echo
560
 
  shift
561
 
  cat <<_LT_EOF
562
 
$*
563
 
_LT_EOF
564
 
  exit 0
565
 
fi
566
 
 
567
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
568
 
# if CDPATH is set.
569
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
570
 
 
571
 
if test -z "$lt_ECHO"; then
572
 
  if test "X${echo_test_string+set}" != Xset; then
573
 
    # find a string as large as possible, as long as the shell can cope with it
574
 
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575
 
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576
 
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
577
 
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
578
 
      then
579
 
        break
580
 
      fi
581
 
    done
582
 
  fi
583
 
 
584
 
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585
 
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586
 
     test "X$echo_testing_string" = "X$echo_test_string"; then
587
 
    :
588
 
  else
589
 
    # The Solaris, AIX, and Digital Unix default echo programs unquote
590
 
    # backslashes.  This makes it impossible to quote backslashes using
591
 
    #   echo "$something" | sed 's/\\/\\\\/g'
592
 
    #
593
 
    # So, first we look for a working echo in the user's PATH.
594
 
 
595
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
596
 
    for dir in $PATH /usr/ucb; do
597
 
      IFS="$lt_save_ifs"
598
 
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599
 
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600
 
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
602
 
        ECHO="$dir/echo"
603
 
        break
604
 
      fi
605
 
    done
606
 
    IFS="$lt_save_ifs"
607
 
 
608
 
    if test "X$ECHO" = Xecho; then
609
 
      # We didn't find a better echo, so look for alternatives.
610
 
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611
 
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
613
 
        # This shell has a builtin print -r that does the trick.
614
 
        ECHO='print -r'
615
 
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
616
 
           test "X$CONFIG_SHELL" != X/bin/ksh; then
617
 
        # If we have ksh, try running configure again with it.
618
 
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
619
 
        export ORIGINAL_CONFIG_SHELL
620
 
        CONFIG_SHELL=/bin/ksh
621
 
        export CONFIG_SHELL
622
 
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
623
 
      else
624
 
        # Try using printf.
625
 
        ECHO='printf %s\n'
626
 
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627
 
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
629
 
          # Cool, printf works
630
 
          :
631
 
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632
 
             test "X$echo_testing_string" = 'X\t' &&
633
 
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
635
 
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
636
 
          export CONFIG_SHELL
637
 
          SHELL="$CONFIG_SHELL"
638
 
          export SHELL
639
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
640
 
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641
 
             test "X$echo_testing_string" = 'X\t' &&
642
 
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
644
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
645
 
        else
646
 
          # maybe with a smaller string...
647
 
          prev=:
648
 
 
649
 
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650
 
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
651
 
            then
652
 
              break
653
 
            fi
654
 
            prev="$cmd"
655
 
          done
656
 
 
657
 
          if test "$prev" != 'sed 50q "$0"'; then
658
 
            echo_test_string=`eval $prev`
659
 
            export echo_test_string
660
 
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
661
 
          else
662
 
            # Oops.  We lost completely, so just stick with echo.
663
 
            ECHO=echo
664
 
          fi
665
 
        fi
666
 
      fi
667
 
    fi
668
 
  fi
669
 
fi
670
 
 
671
 
# Copy echo and quote the copy suitably for passing to libtool from
672
 
# the Makefile, instead of quoting the original, which is used later.
673
 
lt_ECHO=$ECHO
674
 
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675
 
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
676
 
fi
677
 
 
678
 
 
679
 
 
680
549
 
681
550
test -n "$DJDIR" || exec 7<&0 </dev/null
682
551
exec 6>&1
701
570
# Identity of this package.
702
571
PACKAGE_NAME='open-vm-tools'
703
572
PACKAGE_TARNAME='open-vm-tools'
704
 
PACKAGE_VERSION='2011.12.20'
705
 
PACKAGE_STRING='open-vm-tools 2011.12.20'
 
573
PACKAGE_VERSION='2012.03.13'
 
574
PACKAGE_STRING='open-vm-tools 2012.03.13'
706
575
PACKAGE_BUGREPORT='open-vm-tools-devel@lists.sourceforge.net'
707
576
PACKAGE_URL=''
708
577
 
864
733
LIPO
865
734
NMEDIT
866
735
DSYMUTIL
867
 
lt_ECHO
 
736
MANIFEST_TOOL
868
737
RANLIB
 
738
ac_ct_AR
869
739
AR
 
740
DLLTOOL
870
741
OBJDUMP
871
742
NM
872
743
ac_ct_DUMPBIN
988
859
with_pic
989
860
enable_fast_install
990
861
with_gnu_ld
 
862
with_sysroot
991
863
enable_libtool_lock
992
864
with_x
993
865
with_pam
1414
1286
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1415
1287
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1416
1288
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1417
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1289
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1418
1290
    ;;
1419
1291
 
1420
1292
  esac
1552
1424
  # Omit some internal or obsolete options to make the list less imposing.
1553
1425
  # This message is too long to be a string in the A/UX 3.1 sh.
1554
1426
  cat <<_ACEOF
1555
 
\`configure' configures open-vm-tools 2011.12.20 to adapt to many kinds of systems.
 
1427
\`configure' configures open-vm-tools 2012.03.13 to adapt to many kinds of systems.
1556
1428
 
1557
1429
Usage: $0 [OPTION]... [VAR=VALUE]...
1558
1430
 
1626
1498
 
1627
1499
if test -n "$ac_init_help"; then
1628
1500
  case $ac_init_help in
1629
 
     short | recursive ) echo "Configuration of open-vm-tools 2011.12.20:";;
 
1501
     short | recursive ) echo "Configuration of open-vm-tools 2012.03.13:";;
1630
1502
   esac
1631
1503
  cat <<\_ACEOF
1632
1504
 
1662
1534
  --with-pic              try to use only PIC/non-PIC objects [default=use
1663
1535
                          both]
1664
1536
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1537
  --with-sysroot=DIR Search for dependent libraries within DIR
 
1538
                        (or the compiler's sysroot if not specified).
1665
1539
  --with-x                use the X Window System
1666
1540
  --without-pam           compiles without PAM support.
1667
1541
  --with-pam-prefix       specifies where pam files go. Default is
1752
1626
test -n "$ac_init_help" && exit $ac_status
1753
1627
if $ac_init_version; then
1754
1628
  cat <<\_ACEOF
1755
 
open-vm-tools configure 2011.12.20
1756
 
generated by GNU Autoconf 2.67
 
1629
open-vm-tools configure 2012.03.13
 
1630
generated by GNU Autoconf 2.68
1757
1631
 
1758
1632
Copyright (C) 2010 Free Software Foundation, Inc.
1759
1633
This configure script is free software; the Free Software Foundation
1799
1673
 
1800
1674
        ac_retval=1
1801
1675
fi
1802
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1676
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1803
1677
  as_fn_set_status $ac_retval
1804
1678
 
1805
1679
} # ac_fn_c_try_compile
1836
1710
 
1837
1711
    ac_retval=1
1838
1712
fi
1839
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1713
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1840
1714
  as_fn_set_status $ac_retval
1841
1715
 
1842
1716
} # ac_fn_c_try_cpp
1874
1748
 
1875
1749
        ac_retval=1
1876
1750
fi
1877
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1751
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1878
1752
  as_fn_set_status $ac_retval
1879
1753
 
1880
1754
} # ac_fn_cxx_try_compile
1920
1794
  # interfere with the next link command; also delete a directory that is
1921
1795
  # left behind by Apple's compiler.  We do this before executing the actions.
1922
1796
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1923
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1797
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1924
1798
  as_fn_set_status $ac_retval
1925
1799
 
1926
1800
} # ac_fn_c_try_link
1934
1808
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1935
1809
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1936
1810
$as_echo_n "checking for $2... " >&6; }
1937
 
if eval "test \"\${$3+set}\"" = set; then :
 
1811
if eval \${$3+:} false; then :
1938
1812
  $as_echo_n "(cached) " >&6
1939
1813
else
1940
1814
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1952
1826
eval ac_res=\$$3
1953
1827
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1954
1828
$as_echo "$ac_res" >&6; }
1955
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1829
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1956
1830
 
1957
1831
} # ac_fn_c_check_header_compile
1958
1832
 
1993
1867
       ac_retval=$ac_status
1994
1868
fi
1995
1869
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1996
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1870
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1997
1871
  as_fn_set_status $ac_retval
1998
1872
 
1999
1873
} # ac_fn_c_try_run
2006
1880
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2007
1881
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2008
1882
$as_echo_n "checking for $2... " >&6; }
2009
 
if eval "test \"\${$3+set}\"" = set; then :
 
1883
if eval \${$3+:} false; then :
2010
1884
  $as_echo_n "(cached) " >&6
2011
1885
else
2012
1886
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2061
1935
eval ac_res=\$$3
2062
1936
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2063
1937
$as_echo "$ac_res" >&6; }
2064
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1938
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2065
1939
 
2066
1940
} # ac_fn_c_check_func
2067
1941
 
2097
1971
 
2098
1972
    ac_retval=1
2099
1973
fi
2100
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1974
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2101
1975
  as_fn_set_status $ac_retval
2102
1976
 
2103
1977
} # ac_fn_cxx_try_cpp
2143
2017
  # interfere with the next link command; also delete a directory that is
2144
2018
  # left behind by Apple's compiler.  We do this before executing the actions.
2145
2019
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2146
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2020
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2147
2021
  as_fn_set_status $ac_retval
2148
2022
 
2149
2023
} # ac_fn_cxx_try_link
2156
2030
ac_fn_c_check_header_mongrel ()
2157
2031
{
2158
2032
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2159
 
  if eval "test \"\${$3+set}\"" = set; then :
 
2033
  if eval \${$3+:} false; then :
2160
2034
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2161
2035
$as_echo_n "checking for $2... " >&6; }
2162
 
if eval "test \"\${$3+set}\"" = set; then :
 
2036
if eval \${$3+:} false; then :
2163
2037
  $as_echo_n "(cached) " >&6
2164
2038
fi
2165
2039
eval ac_res=\$$3
2226
2100
esac
2227
2101
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2228
2102
$as_echo_n "checking for $2... " >&6; }
2229
 
if eval "test \"\${$3+set}\"" = set; then :
 
2103
if eval \${$3+:} false; then :
2230
2104
  $as_echo_n "(cached) " >&6
2231
2105
else
2232
2106
  eval "$3=\$ac_header_compiler"
2235
2109
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2236
2110
$as_echo "$ac_res" >&6; }
2237
2111
fi
2238
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2112
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2239
2113
 
2240
2114
} # ac_fn_c_check_header_mongrel
2241
2115
 
2247
2121
ac_fn_cxx_check_header_mongrel ()
2248
2122
{
2249
2123
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2250
 
  if eval "test \"\${$3+set}\"" = set; then :
 
2124
  if eval \${$3+:} false; then :
2251
2125
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2252
2126
$as_echo_n "checking for $2... " >&6; }
2253
 
if eval "test \"\${$3+set}\"" = set; then :
 
2127
if eval \${$3+:} false; then :
2254
2128
  $as_echo_n "(cached) " >&6
2255
2129
fi
2256
2130
eval ac_res=\$$3
2317
2191
esac
2318
2192
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2319
2193
$as_echo_n "checking for $2... " >&6; }
2320
 
if eval "test \"\${$3+set}\"" = set; then :
 
2194
if eval \${$3+:} false; then :
2321
2195
  $as_echo_n "(cached) " >&6
2322
2196
else
2323
2197
  eval "$3=\$ac_header_compiler"
2326
2200
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2327
2201
$as_echo "$ac_res" >&6; }
2328
2202
fi
2329
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2203
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2330
2204
 
2331
2205
} # ac_fn_cxx_check_header_mongrel
2332
2206
 
2339
2213
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2340
2214
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2341
2215
$as_echo_n "checking for $2... " >&6; }
2342
 
if eval "test \"\${$3+set}\"" = set; then :
 
2216
if eval \${$3+:} false; then :
2343
2217
  $as_echo_n "(cached) " >&6
2344
2218
else
2345
2219
  eval "$3=no"
2380
2254
eval ac_res=\$$3
2381
2255
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2382
2256
$as_echo "$ac_res" >&6; }
2383
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2257
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2384
2258
 
2385
2259
} # ac_fn_c_check_type
2386
2260
 
2393
2267
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2394
2268
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2395
2269
$as_echo_n "checking for $2.$3... " >&6; }
2396
 
if eval "test \"\${$4+set}\"" = set; then :
 
2270
if eval \${$4+:} false; then :
2397
2271
  $as_echo_n "(cached) " >&6
2398
2272
else
2399
2273
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2437
2311
eval ac_res=\$$4
2438
2312
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2439
2313
$as_echo "$ac_res" >&6; }
2440
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2314
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2441
2315
 
2442
2316
} # ac_fn_c_check_member
2443
2317
cat >config.log <<_ACEOF
2444
2318
This file contains any messages produced by compilers while
2445
2319
running configure, to aid debugging if configure makes a mistake.
2446
2320
 
2447
 
It was created by open-vm-tools $as_me 2011.12.20, which was
2448
 
generated by GNU Autoconf 2.67.  Invocation command line was
 
2321
It was created by open-vm-tools $as_me 2012.03.13, which was
 
2322
generated by GNU Autoconf 2.68.  Invocation command line was
2449
2323
 
2450
2324
  $ $0 $@
2451
2325
 
2703
2577
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2704
2578
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2705
2579
as_fn_error $? "failed to load site script $ac_site_file
2706
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
2580
See \`config.log' for more details" "$LINENO" 5; }
2707
2581
  fi
2708
2582
done
2709
2583
 
2853
2727
 
2854
2728
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2855
2729
$as_echo_n "checking build system type... " >&6; }
2856
 
if test "${ac_cv_build+set}" = set; then :
 
2730
if ${ac_cv_build+:} false; then :
2857
2731
  $as_echo_n "(cached) " >&6
2858
2732
else
2859
2733
  ac_build_alias=$build_alias
2869
2743
$as_echo "$ac_cv_build" >&6; }
2870
2744
case $ac_cv_build in
2871
2745
*-*-*) ;;
2872
 
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
 
2746
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2873
2747
esac
2874
2748
build=$ac_cv_build
2875
2749
ac_save_IFS=$IFS; IFS='-'
2887
2761
 
2888
2762
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2889
2763
$as_echo_n "checking host system type... " >&6; }
2890
 
if test "${ac_cv_host+set}" = set; then :
 
2764
if ${ac_cv_host+:} false; then :
2891
2765
  $as_echo_n "(cached) " >&6
2892
2766
else
2893
2767
  if test "x$host_alias" = x; then
2902
2776
$as_echo "$ac_cv_host" >&6; }
2903
2777
case $ac_cv_host in
2904
2778
*-*-*) ;;
2905
 
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
 
2779
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2906
2780
esac
2907
2781
host=$ac_cv_host
2908
2782
ac_save_IFS=$IFS; IFS='-'
3087
2961
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3088
2962
$as_echo_n "checking for a BSD-compatible install... " >&6; }
3089
2963
if test -z "$INSTALL"; then
3090
 
if test "${ac_cv_path_install+set}" = set; then :
 
2964
if ${ac_cv_path_install+:} false; then :
3091
2965
  $as_echo_n "(cached) " >&6
3092
2966
else
3093
2967
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3174
3048
'
3175
3049
case `pwd` in
3176
3050
  *[\\\"\#\$\&\'\`$am_lf]*)
3177
 
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
 
3051
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3178
3052
esac
3179
3053
case $srcdir in
3180
3054
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3181
 
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
 
3055
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3182
3056
esac
3183
3057
 
3184
3058
# Do `set' in a subshell so we don't clobber the current shell's
3264
3138
set dummy ${ac_tool_prefix}strip; ac_word=$2
3265
3139
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3266
3140
$as_echo_n "checking for $ac_word... " >&6; }
3267
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
3141
if ${ac_cv_prog_STRIP+:} false; then :
3268
3142
  $as_echo_n "(cached) " >&6
3269
3143
else
3270
3144
  if test -n "$STRIP"; then
3304
3178
set dummy strip; ac_word=$2
3305
3179
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3306
3180
$as_echo_n "checking for $ac_word... " >&6; }
3307
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
3181
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3308
3182
  $as_echo_n "(cached) " >&6
3309
3183
else
3310
3184
  if test -n "$ac_ct_STRIP"; then
3357
3231
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3358
3232
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3359
3233
if test -z "$MKDIR_P"; then
3360
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
3234
  if ${ac_cv_path_mkdir+:} false; then :
3361
3235
  $as_echo_n "(cached) " >&6
3362
3236
else
3363
3237
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3408
3282
set dummy $ac_prog; ac_word=$2
3409
3283
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3410
3284
$as_echo_n "checking for $ac_word... " >&6; }
3411
 
if test "${ac_cv_prog_AWK+set}" = set; then :
 
3285
if ${ac_cv_prog_AWK+:} false; then :
3412
3286
  $as_echo_n "(cached) " >&6
3413
3287
else
3414
3288
  if test -n "$AWK"; then
3448
3322
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3449
3323
set x ${MAKE-make}
3450
3324
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3451
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
 
3325
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3452
3326
  $as_echo_n "(cached) " >&6
3453
3327
else
3454
3328
  cat >conftest.make <<\_ACEOF
3506
3380
 
3507
3381
# Define the identity of the package.
3508
3382
 PACKAGE='open-vm-tools'
3509
 
 VERSION='2011.12.20'
 
3383
 VERSION='2012.03.13'
3510
3384
 
3511
3385
 
3512
3386
cat >>confdefs.h <<_ACEOF
3640
3514
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3641
3515
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3642
3516
$as_echo_n "checking for $ac_word... " >&6; }
3643
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3517
if ${ac_cv_prog_CC+:} false; then :
3644
3518
  $as_echo_n "(cached) " >&6
3645
3519
else
3646
3520
  if test -n "$CC"; then
3680
3554
set dummy gcc; ac_word=$2
3681
3555
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3682
3556
$as_echo_n "checking for $ac_word... " >&6; }
3683
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3557
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3684
3558
  $as_echo_n "(cached) " >&6
3685
3559
else
3686
3560
  if test -n "$ac_ct_CC"; then
3733
3607
set dummy ${ac_tool_prefix}cc; ac_word=$2
3734
3608
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3735
3609
$as_echo_n "checking for $ac_word... " >&6; }
3736
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3610
if ${ac_cv_prog_CC+:} false; then :
3737
3611
  $as_echo_n "(cached) " >&6
3738
3612
else
3739
3613
  if test -n "$CC"; then
3773
3647
set dummy cc; ac_word=$2
3774
3648
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3775
3649
$as_echo_n "checking for $ac_word... " >&6; }
3776
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3650
if ${ac_cv_prog_CC+:} false; then :
3777
3651
  $as_echo_n "(cached) " >&6
3778
3652
else
3779
3653
  if test -n "$CC"; then
3832
3706
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3833
3707
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3834
3708
$as_echo_n "checking for $ac_word... " >&6; }
3835
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3709
if ${ac_cv_prog_CC+:} false; then :
3836
3710
  $as_echo_n "(cached) " >&6
3837
3711
else
3838
3712
  if test -n "$CC"; then
3876
3750
set dummy $ac_prog; ac_word=$2
3877
3751
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3878
3752
$as_echo_n "checking for $ac_word... " >&6; }
3879
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3753
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3880
3754
  $as_echo_n "(cached) " >&6
3881
3755
else
3882
3756
  if test -n "$ac_ct_CC"; then
3931
3805
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3932
3806
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3933
3807
as_fn_error $? "no acceptable C compiler found in \$PATH
3934
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3808
See \`config.log' for more details" "$LINENO" 5; }
3935
3809
 
3936
3810
# Provide some information about the compiler.
3937
3811
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4046
3920
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4047
3921
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4048
3922
as_fn_error 77 "C compiler cannot create executables
4049
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3923
See \`config.log' for more details" "$LINENO" 5; }
4050
3924
else
4051
3925
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4052
3926
$as_echo "yes" >&6; }
4089
3963
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4090
3964
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4091
3965
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4092
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3966
See \`config.log' for more details" "$LINENO" 5; }
4093
3967
fi
4094
3968
rm -f conftest conftest$ac_cv_exeext
4095
3969
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4148
4022
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4149
4023
as_fn_error $? "cannot run C compiled programs.
4150
4024
If you meant to cross compile, use \`--host'.
4151
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
4025
See \`config.log' for more details" "$LINENO" 5; }
4152
4026
    fi
4153
4027
  fi
4154
4028
fi
4159
4033
ac_clean_files=$ac_clean_files_save
4160
4034
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4161
4035
$as_echo_n "checking for suffix of object files... " >&6; }
4162
 
if test "${ac_cv_objext+set}" = set; then :
 
4036
if ${ac_cv_objext+:} false; then :
4163
4037
  $as_echo_n "(cached) " >&6
4164
4038
else
4165
4039
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4200
4074
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4201
4075
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4202
4076
as_fn_error $? "cannot compute suffix of object files: cannot compile
4203
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
4077
See \`config.log' for more details" "$LINENO" 5; }
4204
4078
fi
4205
4079
rm -f conftest.$ac_cv_objext conftest.$ac_ext
4206
4080
fi
4210
4084
ac_objext=$OBJEXT
4211
4085
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4212
4086
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4213
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
4087
if ${ac_cv_c_compiler_gnu+:} false; then :
4214
4088
  $as_echo_n "(cached) " >&6
4215
4089
else
4216
4090
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4247
4121
ac_save_CFLAGS=$CFLAGS
4248
4122
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4249
4123
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4250
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
4124
if ${ac_cv_prog_cc_g+:} false; then :
4251
4125
  $as_echo_n "(cached) " >&6
4252
4126
else
4253
4127
  ac_save_c_werror_flag=$ac_c_werror_flag
4325
4199
fi
4326
4200
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4327
4201
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4328
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
4202
if ${ac_cv_prog_cc_c89+:} false; then :
4329
4203
  $as_echo_n "(cached) " >&6
4330
4204
else
4331
4205
  ac_cv_prog_cc_c89=no
4424
4298
 
4425
4299
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4426
4300
$as_echo_n "checking dependency style of $depcc... " >&6; }
4427
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
4301
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4428
4302
  $as_echo_n "(cached) " >&6
4429
4303
else
4430
4304
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4559
4433
  CPP=
4560
4434
fi
4561
4435
if test -z "$CPP"; then
4562
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
4436
  if ${ac_cv_prog_CPP+:} false; then :
4563
4437
  $as_echo_n "(cached) " >&6
4564
4438
else
4565
4439
      # Double quotes because CPP needs to be expanded
4675
4549
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4676
4550
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4677
4551
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4678
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
4552
See \`config.log' for more details" "$LINENO" 5; }
4679
4553
fi
4680
4554
 
4681
4555
ac_ext=c
4694
4568
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4695
4569
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4696
4570
$as_echo_n "checking for $ac_word... " >&6; }
4697
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
4571
if ${ac_cv_prog_CC+:} false; then :
4698
4572
  $as_echo_n "(cached) " >&6
4699
4573
else
4700
4574
  if test -n "$CC"; then
4734
4608
set dummy gcc; ac_word=$2
4735
4609
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4736
4610
$as_echo_n "checking for $ac_word... " >&6; }
4737
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
4611
if ${ac_cv_prog_ac_ct_CC+:} false; then :
4738
4612
  $as_echo_n "(cached) " >&6
4739
4613
else
4740
4614
  if test -n "$ac_ct_CC"; then
4787
4661
set dummy ${ac_tool_prefix}cc; ac_word=$2
4788
4662
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4789
4663
$as_echo_n "checking for $ac_word... " >&6; }
4790
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
4664
if ${ac_cv_prog_CC+:} false; then :
4791
4665
  $as_echo_n "(cached) " >&6
4792
4666
else
4793
4667
  if test -n "$CC"; then
4827
4701
set dummy cc; ac_word=$2
4828
4702
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4829
4703
$as_echo_n "checking for $ac_word... " >&6; }
4830
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
4704
if ${ac_cv_prog_CC+:} false; then :
4831
4705
  $as_echo_n "(cached) " >&6
4832
4706
else
4833
4707
  if test -n "$CC"; then
4886
4760
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4887
4761
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4888
4762
$as_echo_n "checking for $ac_word... " >&6; }
4889
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
4763
if ${ac_cv_prog_CC+:} false; then :
4890
4764
  $as_echo_n "(cached) " >&6
4891
4765
else
4892
4766
  if test -n "$CC"; then
4930
4804
set dummy $ac_prog; ac_word=$2
4931
4805
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4932
4806
$as_echo_n "checking for $ac_word... " >&6; }
4933
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
4807
if ${ac_cv_prog_ac_ct_CC+:} false; then :
4934
4808
  $as_echo_n "(cached) " >&6
4935
4809
else
4936
4810
  if test -n "$ac_ct_CC"; then
4985
4859
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4986
4860
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4987
4861
as_fn_error $? "no acceptable C compiler found in \$PATH
4988
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
4862
See \`config.log' for more details" "$LINENO" 5; }
4989
4863
 
4990
4864
# Provide some information about the compiler.
4991
4865
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5014
4888
 
5015
4889
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5016
4890
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5017
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
4891
if ${ac_cv_c_compiler_gnu+:} false; then :
5018
4892
  $as_echo_n "(cached) " >&6
5019
4893
else
5020
4894
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5051
4925
ac_save_CFLAGS=$CFLAGS
5052
4926
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5053
4927
$as_echo_n "checking whether $CC accepts -g... " >&6; }
5054
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
4928
if ${ac_cv_prog_cc_g+:} false; then :
5055
4929
  $as_echo_n "(cached) " >&6
5056
4930
else
5057
4931
  ac_save_c_werror_flag=$ac_c_werror_flag
5129
5003
fi
5130
5004
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5131
5005
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5132
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
5006
if ${ac_cv_prog_cc_c89+:} false; then :
5133
5007
  $as_echo_n "(cached) " >&6
5134
5008
else
5135
5009
  ac_cv_prog_cc_c89=no
5228
5102
 
5229
5103
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5230
5104
$as_echo_n "checking dependency style of $depcc... " >&6; }
5231
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
5105
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5232
5106
  $as_echo_n "(cached) " >&6
5233
5107
else
5234
5108
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5370
5244
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5371
5245
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5372
5246
$as_echo_n "checking for $ac_word... " >&6; }
5373
 
if test "${ac_cv_prog_CXX+set}" = set; then :
 
5247
if ${ac_cv_prog_CXX+:} false; then :
5374
5248
  $as_echo_n "(cached) " >&6
5375
5249
else
5376
5250
  if test -n "$CXX"; then
5414
5288
set dummy $ac_prog; ac_word=$2
5415
5289
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5416
5290
$as_echo_n "checking for $ac_word... " >&6; }
5417
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 
5291
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5418
5292
  $as_echo_n "(cached) " >&6
5419
5293
else
5420
5294
  if test -n "$ac_ct_CXX"; then
5492
5366
 
5493
5367
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5494
5368
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5495
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 
5369
if ${ac_cv_cxx_compiler_gnu+:} false; then :
5496
5370
  $as_echo_n "(cached) " >&6
5497
5371
else
5498
5372
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5529
5403
ac_save_CXXFLAGS=$CXXFLAGS
5530
5404
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5531
5405
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
5532
 
if test "${ac_cv_prog_cxx_g+set}" = set; then :
 
5406
if ${ac_cv_prog_cxx_g+:} false; then :
5533
5407
  $as_echo_n "(cached) " >&6
5534
5408
else
5535
5409
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5615
5489
 
5616
5490
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5617
5491
$as_echo_n "checking dependency style of $depcc... " >&6; }
5618
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
 
5492
if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
5619
5493
  $as_echo_n "(cached) " >&6
5620
5494
else
5621
5495
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5751
5625
fi
5752
5626
set dummy $CC; ac_cc=`$as_echo "$2" |
5753
5627
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5754
 
if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
 
5628
if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
5755
5629
  $as_echo_n "(cached) " >&6
5756
5630
else
5757
5631
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5873
5747
 
5874
5748
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5875
5749
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5876
 
if test "${ac_cv_path_SED+set}" = set; then :
 
5750
if ${ac_cv_path_SED+:} false; then :
5877
5751
  $as_echo_n "(cached) " >&6
5878
5752
else
5879
5753
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5962
5836
 
5963
5837
 
5964
5838
 
5965
 
macro_version='2.2.6b'
5966
 
macro_revision='1.3017'
 
5839
macro_version='2.4'
 
5840
macro_revision='1.3293'
5967
5841
 
5968
5842
 
5969
5843
 
5979
5853
 
5980
5854
ltmain="$ac_aux_dir/ltmain.sh"
5981
5855
 
 
5856
# Backslashify metacharacters that are still active within
 
5857
# double-quoted strings.
 
5858
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
5859
 
 
5860
# Same as above, but do not quote variable references.
 
5861
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
5862
 
 
5863
# Sed substitution to delay expansion of an escaped shell variable in a
 
5864
# double_quote_subst'ed string.
 
5865
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
5866
 
 
5867
# Sed substitution to delay expansion of an escaped single quote.
 
5868
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
5869
 
 
5870
# Sed substitution to avoid accidental globbing in evaled expressions
 
5871
no_glob_subst='s/\*/\\\*/g'
 
5872
 
 
5873
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
5874
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
5875
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
5876
 
 
5877
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 
5878
$as_echo_n "checking how to print strings... " >&6; }
 
5879
# Test print first, because it will be a builtin if present.
 
5880
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 
5881
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
5882
  ECHO='print -r --'
 
5883
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
5884
  ECHO='printf %s\n'
 
5885
else
 
5886
  # Use this function as a fallback that always works.
 
5887
  func_fallback_echo ()
 
5888
  {
 
5889
    eval 'cat <<_LTECHO_EOF
 
5890
$1
 
5891
_LTECHO_EOF'
 
5892
  }
 
5893
  ECHO='func_fallback_echo'
 
5894
fi
 
5895
 
 
5896
# func_echo_all arg...
 
5897
# Invoke $ECHO with all args, space-separated.
 
5898
func_echo_all ()
 
5899
{
 
5900
    $ECHO ""
 
5901
}
 
5902
 
 
5903
case "$ECHO" in
 
5904
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 
5905
$as_echo "printf" >&6; } ;;
 
5906
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 
5907
$as_echo "print -r" >&6; } ;;
 
5908
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 
5909
$as_echo "cat" >&6; } ;;
 
5910
esac
 
5911
 
 
5912
 
 
5913
 
 
5914
 
 
5915
 
 
5916
 
 
5917
 
 
5918
 
 
5919
 
 
5920
 
 
5921
 
 
5922
 
 
5923
 
 
5924
 
5982
5925
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5983
5926
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5984
 
if test "${ac_cv_path_SED+set}" = set; then :
 
5927
if ${ac_cv_path_SED+:} false; then :
5985
5928
  $as_echo_n "(cached) " >&6
5986
5929
else
5987
5930
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6063
6006
 
6064
6007
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6065
6008
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6066
 
if test "${ac_cv_path_GREP+set}" = set; then :
 
6009
if ${ac_cv_path_GREP+:} false; then :
6067
6010
  $as_echo_n "(cached) " >&6
6068
6011
else
6069
6012
  if test -z "$GREP"; then
6126
6069
 
6127
6070
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6128
6071
$as_echo_n "checking for egrep... " >&6; }
6129
 
if test "${ac_cv_path_EGREP+set}" = set; then :
 
6072
if ${ac_cv_path_EGREP+:} false; then :
6130
6073
  $as_echo_n "(cached) " >&6
6131
6074
else
6132
6075
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6193
6136
 
6194
6137
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6195
6138
$as_echo_n "checking for fgrep... " >&6; }
6196
 
if test "${ac_cv_path_FGREP+set}" = set; then :
 
6139
if ${ac_cv_path_FGREP+:} false; then :
6197
6140
  $as_echo_n "(cached) " >&6
6198
6141
else
6199
6142
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6324
6267
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6325
6268
$as_echo_n "checking for non-GNU ld... " >&6; }
6326
6269
fi
6327
 
if test "${lt_cv_path_LD+set}" = set; then :
 
6270
if ${lt_cv_path_LD+:} false; then :
6328
6271
  $as_echo_n "(cached) " >&6
6329
6272
else
6330
6273
  if test -z "$LD"; then
6364
6307
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6365
6308
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6366
6309
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6367
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
6310
if ${lt_cv_prog_gnu_ld+:} false; then :
6368
6311
  $as_echo_n "(cached) " >&6
6369
6312
else
6370
6313
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6391
6334
 
6392
6335
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6393
6336
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6394
 
if test "${lt_cv_path_NM+set}" = set; then :
 
6337
if ${lt_cv_path_NM+:} false; then :
6395
6338
  $as_echo_n "(cached) " >&6
6396
6339
else
6397
6340
  if test -n "$NM"; then
6444
6387
  NM="$lt_cv_path_NM"
6445
6388
else
6446
6389
  # Didn't find any BSD compatible name lister, look for dumpbin.
6447
 
  if test -n "$ac_tool_prefix"; then
6448
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
6390
  if test -n "$DUMPBIN"; then :
 
6391
    # Let the user override the test.
 
6392
  else
 
6393
    if test -n "$ac_tool_prefix"; then
 
6394
  for ac_prog in dumpbin "link -dump"
6449
6395
  do
6450
6396
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6451
6397
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6452
6398
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6453
6399
$as_echo_n "checking for $ac_word... " >&6; }
6454
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
 
6400
if ${ac_cv_prog_DUMPBIN+:} false; then :
6455
6401
  $as_echo_n "(cached) " >&6
6456
6402
else
6457
6403
  if test -n "$DUMPBIN"; then
6489
6435
fi
6490
6436
if test -z "$DUMPBIN"; then
6491
6437
  ac_ct_DUMPBIN=$DUMPBIN
6492
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
6438
  for ac_prog in dumpbin "link -dump"
6493
6439
do
6494
6440
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6495
6441
set dummy $ac_prog; ac_word=$2
6496
6442
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6497
6443
$as_echo_n "checking for $ac_word... " >&6; }
6498
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
 
6444
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6499
6445
  $as_echo_n "(cached) " >&6
6500
6446
else
6501
6447
  if test -n "$ac_ct_DUMPBIN"; then
6544
6490
  fi
6545
6491
fi
6546
6492
 
 
6493
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
6494
    *COFF*)
 
6495
      DUMPBIN="$DUMPBIN -symbols"
 
6496
      ;;
 
6497
    *)
 
6498
      DUMPBIN=:
 
6499
      ;;
 
6500
    esac
 
6501
  fi
6547
6502
 
6548
6503
  if test "$DUMPBIN" != ":"; then
6549
6504
    NM="$DUMPBIN"
6558
6513
 
6559
6514
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6560
6515
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6561
 
if test "${lt_cv_nm_interface+set}" = set; then :
 
6516
if ${lt_cv_nm_interface+:} false; then :
6562
6517
  $as_echo_n "(cached) " >&6
6563
6518
else
6564
6519
  lt_cv_nm_interface="BSD nm"
6565
6520
  echo "int some_variable = 0;" > conftest.$ac_ext
6566
 
  (eval echo "\"\$as_me:6566: $ac_compile\"" >&5)
 
6521
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6567
6522
  (eval "$ac_compile" 2>conftest.err)
6568
6523
  cat conftest.err >&5
6569
 
  (eval echo "\"\$as_me:6569: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
6524
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6570
6525
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6571
6526
  cat conftest.err >&5
6572
 
  (eval echo "\"\$as_me:6572: output\"" >&5)
 
6527
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6573
6528
  cat conftest.out >&5
6574
6529
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6575
6530
    lt_cv_nm_interface="MS dumpbin"
6582
6537
# find the maximum length of command line arguments
6583
6538
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6584
6539
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6585
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
 
6540
if ${lt_cv_sys_max_cmd_len+:} false; then :
6586
6541
  $as_echo_n "(cached) " >&6
6587
6542
else
6588
6543
    i=0
6615
6570
    lt_cv_sys_max_cmd_len=8192;
6616
6571
    ;;
6617
6572
 
 
6573
  mint*)
 
6574
    # On MiNT this can take a long time and run out of memory.
 
6575
    lt_cv_sys_max_cmd_len=8192;
 
6576
    ;;
 
6577
 
6618
6578
  amigaos*)
6619
6579
    # On AmigaOS with pdksh, this test takes hours, literally.
6620
6580
    # So we just punt and use a minimum line length of 8192.
6679
6639
      # If test is not a shell built-in, we'll probably end up computing a
6680
6640
      # maximum length that is only half of the actual maximum length, but
6681
6641
      # we can't tell.
6682
 
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6683
 
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
6642
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
 
6643
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6684
6644
              test $i != 17 # 1/2 MB should be enough
6685
6645
      do
6686
6646
        i=`expr $i + 1`
6722
6682
# Try some XSI features
6723
6683
xsi_shell=no
6724
6684
( _lt_dummy="a/b/c"
6725
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6726
 
      = c,a/b,, \
 
6685
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 
6686
      = c,a/b,b/c, \
6727
6687
    && eval 'test $(( 1 + 1 )) -eq 2 \
6728
6688
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6729
6689
  && xsi_shell=yes
6772
6732
 
6773
6733
 
6774
6734
 
 
6735
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 
6736
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 
6737
if ${lt_cv_to_host_file_cmd+:} false; then :
 
6738
  $as_echo_n "(cached) " >&6
 
6739
else
 
6740
  case $host in
 
6741
  *-*-mingw* )
 
6742
    case $build in
 
6743
      *-*-mingw* ) # actually msys
 
6744
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 
6745
        ;;
 
6746
      *-*-cygwin* )
 
6747
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 
6748
        ;;
 
6749
      * ) # otherwise, assume *nix
 
6750
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 
6751
        ;;
 
6752
    esac
 
6753
    ;;
 
6754
  *-*-cygwin* )
 
6755
    case $build in
 
6756
      *-*-mingw* ) # actually msys
 
6757
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 
6758
        ;;
 
6759
      *-*-cygwin* )
 
6760
        lt_cv_to_host_file_cmd=func_convert_file_noop
 
6761
        ;;
 
6762
      * ) # otherwise, assume *nix
 
6763
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 
6764
        ;;
 
6765
    esac
 
6766
    ;;
 
6767
  * ) # unhandled hosts (and "normal" native builds)
 
6768
    lt_cv_to_host_file_cmd=func_convert_file_noop
 
6769
    ;;
 
6770
esac
 
6771
 
 
6772
fi
 
6773
 
 
6774
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
6775
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 
6776
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
 
6777
 
 
6778
 
 
6779
 
 
6780
 
 
6781
 
 
6782
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 
6783
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 
6784
if ${lt_cv_to_tool_file_cmd+:} false; then :
 
6785
  $as_echo_n "(cached) " >&6
 
6786
else
 
6787
  #assume ordinary cross tools, or native build.
 
6788
lt_cv_to_tool_file_cmd=func_convert_file_noop
 
6789
case $host in
 
6790
  *-*-mingw* )
 
6791
    case $build in
 
6792
      *-*-mingw* ) # actually msys
 
6793
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 
6794
        ;;
 
6795
    esac
 
6796
    ;;
 
6797
esac
 
6798
 
 
6799
fi
 
6800
 
 
6801
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
6802
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 
6803
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 
6804
 
 
6805
 
 
6806
 
 
6807
 
 
6808
 
6775
6809
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6776
6810
$as_echo_n "checking for $LD option to reload object files... " >&6; }
6777
 
if test "${lt_cv_ld_reload_flag+set}" = set; then :
 
6811
if ${lt_cv_ld_reload_flag+:} false; then :
6778
6812
  $as_echo_n "(cached) " >&6
6779
6813
else
6780
6814
  lt_cv_ld_reload_flag='-r'
6788
6822
esac
6789
6823
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6790
6824
case $host_os in
 
6825
  cygwin* | mingw* | pw32* | cegcc*)
 
6826
    if test "$GCC" != yes; then
 
6827
      reload_cmds=false
 
6828
    fi
 
6829
    ;;
6791
6830
  darwin*)
6792
6831
    if test "$GCC" = yes; then
6793
6832
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6810
6849
set dummy ${ac_tool_prefix}objdump; ac_word=$2
6811
6850
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6812
6851
$as_echo_n "checking for $ac_word... " >&6; }
6813
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
6852
if ${ac_cv_prog_OBJDUMP+:} false; then :
6814
6853
  $as_echo_n "(cached) " >&6
6815
6854
else
6816
6855
  if test -n "$OBJDUMP"; then
6850
6889
set dummy objdump; ac_word=$2
6851
6890
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6852
6891
$as_echo_n "checking for $ac_word... " >&6; }
6853
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
6892
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6854
6893
  $as_echo_n "(cached) " >&6
6855
6894
else
6856
6895
  if test -n "$ac_ct_OBJDUMP"; then
6909
6948
 
6910
6949
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6911
6950
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6912
 
if test "${lt_cv_deplibs_check_method+set}" = set; then :
 
6951
if ${lt_cv_deplibs_check_method+:} false; then :
6913
6952
  $as_echo_n "(cached) " >&6
6914
6953
else
6915
6954
  lt_cv_file_magic_cmd='$MAGIC_CMD'
6951
6990
  # Base MSYS/MinGW do not provide the 'file' command needed by
6952
6991
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6953
6992
  # unless we find 'file', for example because we are cross-compiling.
6954
 
  if ( file / ) >/dev/null 2>&1; then
 
6993
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
6994
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6955
6995
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6956
6996
    lt_cv_file_magic_cmd='func_win32_libid'
6957
6997
  else
6958
 
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
6998
    # Keep this pattern in sync with the one in func_win32_libid.
 
6999
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6959
7000
    lt_cv_file_magic_cmd='$OBJDUMP -f'
6960
7001
  fi
6961
7002
  ;;
6962
7003
 
6963
 
cegcc)
 
7004
cegcc*)
6964
7005
  # use the weaker test based on 'objdump'. See mingw*.
6965
7006
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6966
7007
  lt_cv_file_magic_cmd='$OBJDUMP -f'
6990
7031
  lt_cv_deplibs_check_method=pass_all
6991
7032
  ;;
6992
7033
 
 
7034
haiku*)
 
7035
  lt_cv_deplibs_check_method=pass_all
 
7036
  ;;
 
7037
 
6993
7038
hpux10.20* | hpux11*)
6994
7039
  lt_cv_file_magic_cmd=/usr/bin/file
6995
7040
  case $host_cpu in
6998
7043
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6999
7044
    ;;
7000
7045
  hppa*64*)
7001
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
 
7046
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
7002
7047
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7003
7048
    ;;
7004
7049
  *)
7005
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 
7050
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7006
7051
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
7007
7052
    ;;
7008
7053
  esac
7028
7073
  lt_cv_deplibs_check_method=pass_all
7029
7074
  ;;
7030
7075
 
7031
 
netbsd* | netbsdelf*-gnu)
 
7076
netbsd*)
7032
7077
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7033
7078
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7034
7079
  else
7105
7150
fi
7106
7151
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7107
7152
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
7153
 
 
7154
file_magic_glob=
 
7155
want_nocaseglob=no
 
7156
if test "$build" = "$host"; then
 
7157
  case $host_os in
 
7158
  mingw* | pw32*)
 
7159
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 
7160
      want_nocaseglob=yes
 
7161
    else
 
7162
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 
7163
    fi
 
7164
    ;;
 
7165
  esac
 
7166
fi
 
7167
 
7108
7168
file_magic_cmd=$lt_cv_file_magic_cmd
7109
7169
deplibs_check_method=$lt_cv_deplibs_check_method
7110
7170
test -z "$deplibs_check_method" && deplibs_check_method=unknown
7120
7180
 
7121
7181
 
7122
7182
 
7123
 
if test -n "$ac_tool_prefix"; then
7124
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7125
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
7126
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7127
 
$as_echo_n "checking for $ac_word... " >&6; }
7128
 
if test "${ac_cv_prog_AR+set}" = set; then :
 
7183
 
 
7184
 
 
7185
 
 
7186
 
 
7187
 
 
7188
 
 
7189
 
 
7190
 
 
7191
 
 
7192
 
 
7193
if test -n "$ac_tool_prefix"; then
 
7194
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
7195
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
7196
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7197
$as_echo_n "checking for $ac_word... " >&6; }
 
7198
if ${ac_cv_prog_DLLTOOL+:} false; then :
 
7199
  $as_echo_n "(cached) " >&6
 
7200
else
 
7201
  if test -n "$DLLTOOL"; then
 
7202
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
7203
else
 
7204
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7205
for as_dir in $PATH
 
7206
do
 
7207
  IFS=$as_save_IFS
 
7208
  test -z "$as_dir" && as_dir=.
 
7209
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7210
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7211
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
7212
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7213
    break 2
 
7214
  fi
 
7215
done
 
7216
  done
 
7217
IFS=$as_save_IFS
 
7218
 
 
7219
fi
 
7220
fi
 
7221
DLLTOOL=$ac_cv_prog_DLLTOOL
 
7222
if test -n "$DLLTOOL"; then
 
7223
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
7224
$as_echo "$DLLTOOL" >&6; }
 
7225
else
 
7226
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7227
$as_echo "no" >&6; }
 
7228
fi
 
7229
 
 
7230
 
 
7231
fi
 
7232
if test -z "$ac_cv_prog_DLLTOOL"; then
 
7233
  ac_ct_DLLTOOL=$DLLTOOL
 
7234
  # Extract the first word of "dlltool", so it can be a program name with args.
 
7235
set dummy dlltool; ac_word=$2
 
7236
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7237
$as_echo_n "checking for $ac_word... " >&6; }
 
7238
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 
7239
  $as_echo_n "(cached) " >&6
 
7240
else
 
7241
  if test -n "$ac_ct_DLLTOOL"; then
 
7242
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
7243
else
 
7244
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7245
for as_dir in $PATH
 
7246
do
 
7247
  IFS=$as_save_IFS
 
7248
  test -z "$as_dir" && as_dir=.
 
7249
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7250
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7251
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
7252
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7253
    break 2
 
7254
  fi
 
7255
done
 
7256
  done
 
7257
IFS=$as_save_IFS
 
7258
 
 
7259
fi
 
7260
fi
 
7261
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
7262
if test -n "$ac_ct_DLLTOOL"; then
 
7263
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
7264
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
7265
else
 
7266
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7267
$as_echo "no" >&6; }
 
7268
fi
 
7269
 
 
7270
  if test "x$ac_ct_DLLTOOL" = x; then
 
7271
    DLLTOOL="false"
 
7272
  else
 
7273
    case $cross_compiling:$ac_tool_warned in
 
7274
yes:)
 
7275
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7276
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7277
ac_tool_warned=yes ;;
 
7278
esac
 
7279
    DLLTOOL=$ac_ct_DLLTOOL
 
7280
  fi
 
7281
else
 
7282
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
7283
fi
 
7284
 
 
7285
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
7286
 
 
7287
 
 
7288
 
 
7289
 
 
7290
 
 
7291
 
 
7292
 
 
7293
 
 
7294
 
 
7295
 
 
7296
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 
7297
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 
7298
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 
7299
  $as_echo_n "(cached) " >&6
 
7300
else
 
7301
  lt_cv_sharedlib_from_linklib_cmd='unknown'
 
7302
 
 
7303
case $host_os in
 
7304
cygwin* | mingw* | pw32* | cegcc*)
 
7305
  # two different shell functions defined in ltmain.sh
 
7306
  # decide which to use based on capabilities of $DLLTOOL
 
7307
  case `$DLLTOOL --help 2>&1` in
 
7308
  *--identify-strict*)
 
7309
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 
7310
    ;;
 
7311
  *)
 
7312
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 
7313
    ;;
 
7314
  esac
 
7315
  ;;
 
7316
*)
 
7317
  # fallback: assume linklib IS sharedlib
 
7318
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 
7319
  ;;
 
7320
esac
 
7321
 
 
7322
fi
 
7323
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 
7324
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 
7325
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 
7326
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 
7327
 
 
7328
 
 
7329
 
 
7330
 
 
7331
 
 
7332
 
 
7333
 
 
7334
 
 
7335
if test -n "$ac_tool_prefix"; then
 
7336
  for ac_prog in ar
 
7337
  do
 
7338
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
7339
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
7340
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7341
$as_echo_n "checking for $ac_word... " >&6; }
 
7342
if ${ac_cv_prog_AR+:} false; then :
7129
7343
  $as_echo_n "(cached) " >&6
7130
7344
else
7131
7345
  if test -n "$AR"; then
7138
7352
  test -z "$as_dir" && as_dir=.
7139
7353
    for ac_exec_ext in '' $ac_executable_extensions; do
7140
7354
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7141
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
7355
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7142
7356
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7143
7357
    break 2
7144
7358
  fi
7158
7372
fi
7159
7373
 
7160
7374
 
 
7375
    test -n "$AR" && break
 
7376
  done
7161
7377
fi
7162
 
if test -z "$ac_cv_prog_AR"; then
 
7378
if test -z "$AR"; then
7163
7379
  ac_ct_AR=$AR
7164
 
  # Extract the first word of "ar", so it can be a program name with args.
7165
 
set dummy ar; ac_word=$2
 
7380
  for ac_prog in ar
 
7381
do
 
7382
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
7383
set dummy $ac_prog; ac_word=$2
7166
7384
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7167
7385
$as_echo_n "checking for $ac_word... " >&6; }
7168
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
 
7386
if ${ac_cv_prog_ac_ct_AR+:} false; then :
7169
7387
  $as_echo_n "(cached) " >&6
7170
7388
else
7171
7389
  if test -n "$ac_ct_AR"; then
7178
7396
  test -z "$as_dir" && as_dir=.
7179
7397
    for ac_exec_ext in '' $ac_executable_extensions; do
7180
7398
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7181
 
    ac_cv_prog_ac_ct_AR="ar"
 
7399
    ac_cv_prog_ac_ct_AR="$ac_prog"
7182
7400
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7183
7401
    break 2
7184
7402
  fi
7197
7415
$as_echo "no" >&6; }
7198
7416
fi
7199
7417
 
 
7418
 
 
7419
  test -n "$ac_ct_AR" && break
 
7420
done
 
7421
 
7200
7422
  if test "x$ac_ct_AR" = x; then
7201
7423
    AR="false"
7202
7424
  else
7208
7430
esac
7209
7431
    AR=$ac_ct_AR
7210
7432
  fi
7211
 
else
7212
 
  AR="$ac_cv_prog_AR"
7213
 
fi
7214
 
 
7215
 
test -z "$AR" && AR=ar
7216
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
7217
 
 
7218
 
 
7219
 
 
7220
 
 
 
7433
fi
 
7434
 
 
7435
: ${AR=ar}
 
7436
: ${AR_FLAGS=cru}
 
7437
 
 
7438
 
 
7439
 
 
7440
 
 
7441
 
 
7442
 
 
7443
 
 
7444
 
 
7445
 
 
7446
 
 
7447
 
 
7448
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 
7449
$as_echo_n "checking for archiver @FILE support... " >&6; }
 
7450
if ${lt_cv_ar_at_file+:} false; then :
 
7451
  $as_echo_n "(cached) " >&6
 
7452
else
 
7453
  lt_cv_ar_at_file=no
 
7454
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7455
/* end confdefs.h.  */
 
7456
 
 
7457
int
 
7458
main ()
 
7459
{
 
7460
 
 
7461
  ;
 
7462
  return 0;
 
7463
}
 
7464
_ACEOF
 
7465
if ac_fn_c_try_compile "$LINENO"; then :
 
7466
  echo conftest.$ac_objext > conftest.lst
 
7467
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 
7468
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
7469
  (eval $lt_ar_try) 2>&5
 
7470
  ac_status=$?
 
7471
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7472
  test $ac_status = 0; }
 
7473
      if test "$ac_status" -eq 0; then
 
7474
        # Ensure the archiver fails upon bogus file names.
 
7475
        rm -f conftest.$ac_objext libconftest.a
 
7476
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
7477
  (eval $lt_ar_try) 2>&5
 
7478
  ac_status=$?
 
7479
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7480
  test $ac_status = 0; }
 
7481
        if test "$ac_status" -ne 0; then
 
7482
          lt_cv_ar_at_file=@
 
7483
        fi
 
7484
      fi
 
7485
      rm -f conftest.* libconftest.a
 
7486
 
 
7487
fi
 
7488
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7489
 
 
7490
fi
 
7491
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 
7492
$as_echo "$lt_cv_ar_at_file" >&6; }
 
7493
 
 
7494
if test "x$lt_cv_ar_at_file" = xno; then
 
7495
  archiver_list_spec=
 
7496
else
 
7497
  archiver_list_spec=$lt_cv_ar_at_file
 
7498
fi
7221
7499
 
7222
7500
 
7223
7501
 
7230
7508
set dummy ${ac_tool_prefix}strip; ac_word=$2
7231
7509
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7232
7510
$as_echo_n "checking for $ac_word... " >&6; }
7233
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
7511
if ${ac_cv_prog_STRIP+:} false; then :
7234
7512
  $as_echo_n "(cached) " >&6
7235
7513
else
7236
7514
  if test -n "$STRIP"; then
7270
7548
set dummy strip; ac_word=$2
7271
7549
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7272
7550
$as_echo_n "checking for $ac_word... " >&6; }
7273
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
7551
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7274
7552
  $as_echo_n "(cached) " >&6
7275
7553
else
7276
7554
  if test -n "$ac_ct_STRIP"; then
7329
7607
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7330
7608
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7331
7609
$as_echo_n "checking for $ac_word... " >&6; }
7332
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
7610
if ${ac_cv_prog_RANLIB+:} false; then :
7333
7611
  $as_echo_n "(cached) " >&6
7334
7612
else
7335
7613
  if test -n "$RANLIB"; then
7369
7647
set dummy ranlib; ac_word=$2
7370
7648
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7371
7649
$as_echo_n "checking for $ac_word... " >&6; }
7372
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
7650
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7373
7651
  $as_echo_n "(cached) " >&6
7374
7652
else
7375
7653
  if test -n "$ac_ct_RANLIB"; then
7440
7718
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7441
7719
fi
7442
7720
 
 
7721
case $host_os in
 
7722
  darwin*)
 
7723
    lock_old_archive_extraction=yes ;;
 
7724
  *)
 
7725
    lock_old_archive_extraction=no ;;
 
7726
esac
 
7727
 
 
7728
 
 
7729
 
 
7730
 
 
7731
 
 
7732
 
7443
7733
 
7444
7734
 
7445
7735
 
7486
7776
# Check for command to grab the raw symbol name followed by C symbol from nm.
7487
7777
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7488
7778
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7489
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
 
7779
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7490
7780
  $as_echo_n "(cached) " >&6
7491
7781
else
7492
7782
 
7547
7837
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7548
7838
 
7549
7839
# Transform an extracted symbol line into symbol name and symbol address
7550
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7551
 
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'"
 
7840
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
7841
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'"
7552
7842
 
7553
7843
# Handle CRLF in mingw tool chain
7554
7844
opt_cr=
7584
7874
  else
7585
7875
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7586
7876
  fi
 
7877
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7587
7878
 
7588
7879
  # Check to see that the pipe works correctly.
7589
7880
  pipe_works=no
7609
7900
  test $ac_status = 0; }; then
7610
7901
    # Now try to grab the symbols.
7611
7902
    nlist=conftest.nm
7612
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
7613
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
7903
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 
7904
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7614
7905
  ac_status=$?
7615
7906
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7616
7907
  test $ac_status = 0; } && test -s "$nlist"; then
7625
7916
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7626
7917
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7627
7918
          cat <<_LT_EOF > conftest.$ac_ext
 
7919
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 
7920
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 
7921
/* DATA imports from DLLs on WIN32 con't be const, because runtime
 
7922
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 
7923
# define LT_DLSYM_CONST
 
7924
#elif defined(__osf__)
 
7925
/* This system does not cope well with relocations in const data.  */
 
7926
# define LT_DLSYM_CONST
 
7927
#else
 
7928
# define LT_DLSYM_CONST const
 
7929
#endif
 
7930
 
7628
7931
#ifdef __cplusplus
7629
7932
extern "C" {
7630
7933
#endif
7636
7939
          cat <<_LT_EOF >> conftest.$ac_ext
7637
7940
 
7638
7941
/* The mapping between symbol names and symbols.  */
7639
 
const struct {
 
7942
LT_DLSYM_CONST struct {
7640
7943
  const char *name;
7641
7944
  void       *address;
7642
7945
}
7662
7965
_LT_EOF
7663
7966
          # Now try linking the two files.
7664
7967
          mv conftest.$ac_objext conftstm.$ac_objext
7665
 
          lt_save_LIBS="$LIBS"
7666
 
          lt_save_CFLAGS="$CFLAGS"
 
7968
          lt_globsym_save_LIBS=$LIBS
 
7969
          lt_globsym_save_CFLAGS=$CFLAGS
7667
7970
          LIBS="conftstm.$ac_objext"
7668
7971
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7669
7972
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7673
7976
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7674
7977
            pipe_works=yes
7675
7978
          fi
7676
 
          LIBS="$lt_save_LIBS"
7677
 
          CFLAGS="$lt_save_CFLAGS"
 
7979
          LIBS=$lt_globsym_save_LIBS
 
7980
          CFLAGS=$lt_globsym_save_CFLAGS
7678
7981
        else
7679
7982
          echo "cannot find nm_test_func in $nlist" >&5
7680
7983
        fi
7711
8014
$as_echo "ok" >&6; }
7712
8015
fi
7713
8016
 
7714
 
 
7715
 
 
7716
 
 
7717
 
 
7718
 
 
7719
 
 
7720
 
 
7721
 
 
7722
 
 
7723
 
 
7724
 
 
7725
 
 
7726
 
 
7727
 
 
7728
 
 
7729
 
 
7730
 
 
 
8017
# Response file support.
 
8018
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
8019
  nm_file_list_spec='@'
 
8020
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 
8021
  nm_file_list_spec='@'
 
8022
fi
 
8023
 
 
8024
 
 
8025
 
 
8026
 
 
8027
 
 
8028
 
 
8029
 
 
8030
 
 
8031
 
 
8032
 
 
8033
 
 
8034
 
 
8035
 
 
8036
 
 
8037
 
 
8038
 
 
8039
 
 
8040
 
 
8041
 
 
8042
 
 
8043
 
 
8044
 
 
8045
 
 
8046
 
 
8047
 
 
8048
 
 
8049
 
 
8050
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 
8051
$as_echo_n "checking for sysroot... " >&6; }
 
8052
 
 
8053
# Check whether --with-sysroot was given.
 
8054
if test "${with_sysroot+set}" = set; then :
 
8055
  withval=$with_sysroot;
 
8056
else
 
8057
  with_sysroot=no
 
8058
fi
 
8059
 
 
8060
 
 
8061
lt_sysroot=
 
8062
case ${with_sysroot} in #(
 
8063
 yes)
 
8064
   if test "$GCC" = yes; then
 
8065
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 
8066
   fi
 
8067
   ;; #(
 
8068
 /*)
 
8069
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 
8070
   ;; #(
 
8071
 no|'')
 
8072
   ;; #(
 
8073
 *)
 
8074
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 
8075
$as_echo "${with_sysroot}" >&6; }
 
8076
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 
8077
   ;;
 
8078
esac
 
8079
 
 
8080
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 
8081
$as_echo "${lt_sysroot:-no}" >&6; }
7731
8082
 
7732
8083
 
7733
8084
 
7764
8115
  ;;
7765
8116
*-*-irix6*)
7766
8117
  # Find out which ABI we are using.
7767
 
  echo '#line 7767 "configure"' > conftest.$ac_ext
 
8118
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7768
8119
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7769
8120
  (eval $ac_compile) 2>&5
7770
8121
  ac_status=$?
7858
8209
  CFLAGS="$CFLAGS -belf"
7859
8210
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7860
8211
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7861
 
if test "${lt_cv_cc_needs_belf+set}" = set; then :
 
8212
if ${lt_cv_cc_needs_belf+:} false; then :
7862
8213
  $as_echo_n "(cached) " >&6
7863
8214
else
7864
8215
  ac_ext=c
7926
8277
 
7927
8278
need_locks="$enable_libtool_lock"
7928
8279
 
 
8280
if test -n "$ac_tool_prefix"; then
 
8281
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 
8282
set dummy ${ac_tool_prefix}mt; ac_word=$2
 
8283
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8284
$as_echo_n "checking for $ac_word... " >&6; }
 
8285
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 
8286
  $as_echo_n "(cached) " >&6
 
8287
else
 
8288
  if test -n "$MANIFEST_TOOL"; then
 
8289
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 
8290
else
 
8291
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8292
for as_dir in $PATH
 
8293
do
 
8294
  IFS=$as_save_IFS
 
8295
  test -z "$as_dir" && as_dir=.
 
8296
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8297
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8298
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 
8299
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8300
    break 2
 
8301
  fi
 
8302
done
 
8303
  done
 
8304
IFS=$as_save_IFS
 
8305
 
 
8306
fi
 
8307
fi
 
8308
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 
8309
if test -n "$MANIFEST_TOOL"; then
 
8310
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 
8311
$as_echo "$MANIFEST_TOOL" >&6; }
 
8312
else
 
8313
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8314
$as_echo "no" >&6; }
 
8315
fi
 
8316
 
 
8317
 
 
8318
fi
 
8319
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 
8320
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 
8321
  # Extract the first word of "mt", so it can be a program name with args.
 
8322
set dummy mt; ac_word=$2
 
8323
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8324
$as_echo_n "checking for $ac_word... " >&6; }
 
8325
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 
8326
  $as_echo_n "(cached) " >&6
 
8327
else
 
8328
  if test -n "$ac_ct_MANIFEST_TOOL"; then
 
8329
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 
8330
else
 
8331
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8332
for as_dir in $PATH
 
8333
do
 
8334
  IFS=$as_save_IFS
 
8335
  test -z "$as_dir" && as_dir=.
 
8336
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8337
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8338
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 
8339
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8340
    break 2
 
8341
  fi
 
8342
done
 
8343
  done
 
8344
IFS=$as_save_IFS
 
8345
 
 
8346
fi
 
8347
fi
 
8348
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 
8349
if test -n "$ac_ct_MANIFEST_TOOL"; then
 
8350
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 
8351
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 
8352
else
 
8353
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8354
$as_echo "no" >&6; }
 
8355
fi
 
8356
 
 
8357
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 
8358
    MANIFEST_TOOL=":"
 
8359
  else
 
8360
    case $cross_compiling:$ac_tool_warned in
 
8361
yes:)
 
8362
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8363
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8364
ac_tool_warned=yes ;;
 
8365
esac
 
8366
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 
8367
  fi
 
8368
else
 
8369
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 
8370
fi
 
8371
 
 
8372
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 
8373
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 
8374
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 
8375
if ${lt_cv_path_mainfest_tool+:} false; then :
 
8376
  $as_echo_n "(cached) " >&6
 
8377
else
 
8378
  lt_cv_path_mainfest_tool=no
 
8379
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 
8380
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 
8381
  cat conftest.err >&5
 
8382
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 
8383
    lt_cv_path_mainfest_tool=yes
 
8384
  fi
 
8385
  rm -f conftest*
 
8386
fi
 
8387
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 
8388
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 
8389
if test "x$lt_cv_path_mainfest_tool" != xyes; then
 
8390
  MANIFEST_TOOL=:
 
8391
fi
 
8392
 
 
8393
 
 
8394
 
 
8395
 
 
8396
 
7929
8397
 
7930
8398
  case $host_os in
7931
8399
    rhapsody* | darwin*)
7934
8402
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7935
8403
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7936
8404
$as_echo_n "checking for $ac_word... " >&6; }
7937
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
 
8405
if ${ac_cv_prog_DSYMUTIL+:} false; then :
7938
8406
  $as_echo_n "(cached) " >&6
7939
8407
else
7940
8408
  if test -n "$DSYMUTIL"; then
7974
8442
set dummy dsymutil; ac_word=$2
7975
8443
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7976
8444
$as_echo_n "checking for $ac_word... " >&6; }
7977
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
 
8445
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7978
8446
  $as_echo_n "(cached) " >&6
7979
8447
else
7980
8448
  if test -n "$ac_ct_DSYMUTIL"; then
8026
8494
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8027
8495
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8028
8496
$as_echo_n "checking for $ac_word... " >&6; }
8029
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
 
8497
if ${ac_cv_prog_NMEDIT+:} false; then :
8030
8498
  $as_echo_n "(cached) " >&6
8031
8499
else
8032
8500
  if test -n "$NMEDIT"; then
8066
8534
set dummy nmedit; ac_word=$2
8067
8535
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8068
8536
$as_echo_n "checking for $ac_word... " >&6; }
8069
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
 
8537
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8070
8538
  $as_echo_n "(cached) " >&6
8071
8539
else
8072
8540
  if test -n "$ac_ct_NMEDIT"; then
8118
8586
set dummy ${ac_tool_prefix}lipo; ac_word=$2
8119
8587
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8120
8588
$as_echo_n "checking for $ac_word... " >&6; }
8121
 
if test "${ac_cv_prog_LIPO+set}" = set; then :
 
8589
if ${ac_cv_prog_LIPO+:} false; then :
8122
8590
  $as_echo_n "(cached) " >&6
8123
8591
else
8124
8592
  if test -n "$LIPO"; then
8158
8626
set dummy lipo; ac_word=$2
8159
8627
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8160
8628
$as_echo_n "checking for $ac_word... " >&6; }
8161
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
 
8629
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8162
8630
  $as_echo_n "(cached) " >&6
8163
8631
else
8164
8632
  if test -n "$ac_ct_LIPO"; then
8210
8678
set dummy ${ac_tool_prefix}otool; ac_word=$2
8211
8679
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8212
8680
$as_echo_n "checking for $ac_word... " >&6; }
8213
 
if test "${ac_cv_prog_OTOOL+set}" = set; then :
 
8681
if ${ac_cv_prog_OTOOL+:} false; then :
8214
8682
  $as_echo_n "(cached) " >&6
8215
8683
else
8216
8684
  if test -n "$OTOOL"; then
8250
8718
set dummy otool; ac_word=$2
8251
8719
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8252
8720
$as_echo_n "checking for $ac_word... " >&6; }
8253
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
 
8721
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8254
8722
  $as_echo_n "(cached) " >&6
8255
8723
else
8256
8724
  if test -n "$ac_ct_OTOOL"; then
8302
8770
set dummy ${ac_tool_prefix}otool64; ac_word=$2
8303
8771
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8304
8772
$as_echo_n "checking for $ac_word... " >&6; }
8305
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
 
8773
if ${ac_cv_prog_OTOOL64+:} false; then :
8306
8774
  $as_echo_n "(cached) " >&6
8307
8775
else
8308
8776
  if test -n "$OTOOL64"; then
8342
8810
set dummy otool64; ac_word=$2
8343
8811
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8344
8812
$as_echo_n "checking for $ac_word... " >&6; }
8345
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
 
8813
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8346
8814
  $as_echo_n "(cached) " >&6
8347
8815
else
8348
8816
  if test -n "$ac_ct_OTOOL64"; then
8417
8885
 
8418
8886
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8419
8887
$as_echo_n "checking for -single_module linker flag... " >&6; }
8420
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
 
8888
if ${lt_cv_apple_cc_single_mod+:} false; then :
8421
8889
  $as_echo_n "(cached) " >&6
8422
8890
else
8423
8891
  lt_cv_apple_cc_single_mod=no
8446
8914
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8447
8915
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8448
8916
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8449
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
 
8917
if ${lt_cv_ld_exported_symbols_list+:} false; then :
8450
8918
  $as_echo_n "(cached) " >&6
8451
8919
else
8452
8920
  lt_cv_ld_exported_symbols_list=no
8476
8944
fi
8477
8945
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8478
8946
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
8947
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 
8948
$as_echo_n "checking for -force_load linker flag... " >&6; }
 
8949
if ${lt_cv_ld_force_load+:} false; then :
 
8950
  $as_echo_n "(cached) " >&6
 
8951
else
 
8952
  lt_cv_ld_force_load=no
 
8953
      cat > conftest.c << _LT_EOF
 
8954
int forced_loaded() { return 2;}
 
8955
_LT_EOF
 
8956
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 
8957
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 
8958
      echo "$AR cru libconftest.a conftest.o" >&5
 
8959
      $AR cru libconftest.a conftest.o 2>&5
 
8960
      echo "$RANLIB libconftest.a" >&5
 
8961
      $RANLIB libconftest.a 2>&5
 
8962
      cat > conftest.c << _LT_EOF
 
8963
int main() { return 0;}
 
8964
_LT_EOF
 
8965
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 
8966
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
8967
      _lt_result=$?
 
8968
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
 
8969
        lt_cv_ld_force_load=yes
 
8970
      else
 
8971
        cat conftest.err >&5
 
8972
      fi
 
8973
        rm -f conftest.err libconftest.a conftest conftest.c
 
8974
        rm -rf conftest.dSYM
 
8975
 
 
8976
fi
 
8977
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 
8978
$as_echo "$lt_cv_ld_force_load" >&6; }
8479
8979
    case $host_os in
8480
8980
    rhapsody* | darwin1.[012])
8481
8981
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8503
9003
    else
8504
9004
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8505
9005
    fi
8506
 
    if test "$DSYMUTIL" != ":"; then
 
9006
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8507
9007
      _lt_dsymutil='~$DSYMUTIL $lib || :'
8508
9008
    else
8509
9009
      _lt_dsymutil=
8514
9014
 
8515
9015
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8516
9016
$as_echo_n "checking for ANSI C header files... " >&6; }
8517
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
9017
if ${ac_cv_header_stdc+:} false; then :
8518
9018
  $as_echo_n "(cached) " >&6
8519
9019
else
8520
9020
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8645
9145
do :
8646
9146
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8647
9147
"
8648
 
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
 
9148
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8649
9149
  cat >>confdefs.h <<_ACEOF
8650
9150
#define HAVE_DLFCN_H 1
8651
9151
_ACEOF
8656
9156
 
8657
9157
 
8658
9158
 
8659
 
ac_ext=cpp
8660
 
ac_cpp='$CXXCPP $CPPFLAGS'
8661
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8662
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8663
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8664
 
if test -z "$CXX"; then
8665
 
  if test -n "$CCC"; then
8666
 
    CXX=$CCC
8667
 
  else
8668
 
    if test -n "$ac_tool_prefix"; then
8669
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
8670
 
  do
8671
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8672
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8673
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8674
 
$as_echo_n "checking for $ac_word... " >&6; }
8675
 
if test "${ac_cv_prog_CXX+set}" = set; then :
8676
 
  $as_echo_n "(cached) " >&6
8677
 
else
8678
 
  if test -n "$CXX"; then
8679
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
8680
 
else
8681
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8682
 
for as_dir in $PATH
8683
 
do
8684
 
  IFS=$as_save_IFS
8685
 
  test -z "$as_dir" && as_dir=.
8686
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8687
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8688
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
8689
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8690
 
    break 2
8691
 
  fi
8692
 
done
8693
 
  done
8694
 
IFS=$as_save_IFS
8695
 
 
8696
 
fi
8697
 
fi
8698
 
CXX=$ac_cv_prog_CXX
8699
 
if test -n "$CXX"; then
8700
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
8701
 
$as_echo "$CXX" >&6; }
8702
 
else
8703
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8704
 
$as_echo "no" >&6; }
8705
 
fi
8706
 
 
8707
 
 
8708
 
    test -n "$CXX" && break
8709
 
  done
8710
 
fi
8711
 
if test -z "$CXX"; then
8712
 
  ac_ct_CXX=$CXX
8713
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
8714
 
do
8715
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
8716
 
set dummy $ac_prog; ac_word=$2
8717
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8718
 
$as_echo_n "checking for $ac_word... " >&6; }
8719
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
8720
 
  $as_echo_n "(cached) " >&6
8721
 
else
8722
 
  if test -n "$ac_ct_CXX"; then
8723
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
8724
 
else
8725
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8726
 
for as_dir in $PATH
8727
 
do
8728
 
  IFS=$as_save_IFS
8729
 
  test -z "$as_dir" && as_dir=.
8730
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8731
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8732
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
8733
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8734
 
    break 2
8735
 
  fi
8736
 
done
8737
 
  done
8738
 
IFS=$as_save_IFS
8739
 
 
8740
 
fi
8741
 
fi
8742
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
8743
 
if test -n "$ac_ct_CXX"; then
8744
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
8745
 
$as_echo "$ac_ct_CXX" >&6; }
8746
 
else
8747
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8748
 
$as_echo "no" >&6; }
8749
 
fi
8750
 
 
8751
 
 
8752
 
  test -n "$ac_ct_CXX" && break
8753
 
done
8754
 
 
8755
 
  if test "x$ac_ct_CXX" = x; then
8756
 
    CXX="g++"
8757
 
  else
8758
 
    case $cross_compiling:$ac_tool_warned in
8759
 
yes:)
8760
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8761
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8762
 
ac_tool_warned=yes ;;
8763
 
esac
8764
 
    CXX=$ac_ct_CXX
8765
 
  fi
8766
 
fi
8767
 
 
8768
 
  fi
8769
 
fi
8770
 
# Provide some information about the compiler.
8771
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
8772
 
set X $ac_compile
8773
 
ac_compiler=$2
8774
 
for ac_option in --version -v -V -qversion; do
8775
 
  { { ac_try="$ac_compiler $ac_option >&5"
8776
 
case "(($ac_try" in
8777
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8778
 
  *) ac_try_echo=$ac_try;;
8779
 
esac
8780
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8781
 
$as_echo "$ac_try_echo"; } >&5
8782
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8783
 
  ac_status=$?
8784
 
  if test -s conftest.err; then
8785
 
    sed '10a\
8786
 
... rest of stderr output deleted ...
8787
 
         10q' conftest.err >conftest.er1
8788
 
    cat conftest.er1 >&5
8789
 
  fi
8790
 
  rm -f conftest.er1 conftest.err
8791
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8792
 
  test $ac_status = 0; }
8793
 
done
8794
 
 
8795
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
8796
 
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
8797
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
8798
 
  $as_echo_n "(cached) " >&6
8799
 
else
8800
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8801
 
/* end confdefs.h.  */
8802
 
 
8803
 
int
8804
 
main ()
8805
 
{
8806
 
#ifndef __GNUC__
8807
 
       choke me
8808
 
#endif
8809
 
 
8810
 
  ;
8811
 
  return 0;
8812
 
}
8813
 
_ACEOF
8814
 
if ac_fn_cxx_try_compile "$LINENO"; then :
8815
 
  ac_compiler_gnu=yes
8816
 
else
8817
 
  ac_compiler_gnu=no
8818
 
fi
8819
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8820
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
8821
 
 
8822
 
fi
8823
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
8824
 
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
8825
 
if test $ac_compiler_gnu = yes; then
8826
 
  GXX=yes
8827
 
else
8828
 
  GXX=
8829
 
fi
8830
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
8831
 
ac_save_CXXFLAGS=$CXXFLAGS
8832
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
8833
 
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
8834
 
if test "${ac_cv_prog_cxx_g+set}" = set; then :
8835
 
  $as_echo_n "(cached) " >&6
8836
 
else
8837
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
8838
 
   ac_cxx_werror_flag=yes
8839
 
   ac_cv_prog_cxx_g=no
8840
 
   CXXFLAGS="-g"
8841
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8842
 
/* end confdefs.h.  */
8843
 
 
8844
 
int
8845
 
main ()
8846
 
{
8847
 
 
8848
 
  ;
8849
 
  return 0;
8850
 
}
8851
 
_ACEOF
8852
 
if ac_fn_cxx_try_compile "$LINENO"; then :
8853
 
  ac_cv_prog_cxx_g=yes
8854
 
else
8855
 
  CXXFLAGS=""
8856
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8857
 
/* end confdefs.h.  */
8858
 
 
8859
 
int
8860
 
main ()
8861
 
{
8862
 
 
8863
 
  ;
8864
 
  return 0;
8865
 
}
8866
 
_ACEOF
8867
 
if ac_fn_cxx_try_compile "$LINENO"; then :
8868
 
 
8869
 
else
8870
 
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
8871
 
         CXXFLAGS="-g"
8872
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8873
 
/* end confdefs.h.  */
8874
 
 
8875
 
int
8876
 
main ()
8877
 
{
8878
 
 
8879
 
  ;
8880
 
  return 0;
8881
 
}
8882
 
_ACEOF
8883
 
if ac_fn_cxx_try_compile "$LINENO"; then :
8884
 
  ac_cv_prog_cxx_g=yes
8885
 
fi
8886
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8887
 
fi
8888
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8889
 
fi
8890
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8891
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
8892
 
fi
8893
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
8894
 
$as_echo "$ac_cv_prog_cxx_g" >&6; }
8895
 
if test "$ac_test_CXXFLAGS" = set; then
8896
 
  CXXFLAGS=$ac_save_CXXFLAGS
8897
 
elif test $ac_cv_prog_cxx_g = yes; then
8898
 
  if test "$GXX" = yes; then
8899
 
    CXXFLAGS="-g -O2"
8900
 
  else
8901
 
    CXXFLAGS="-g"
8902
 
  fi
8903
 
else
8904
 
  if test "$GXX" = yes; then
8905
 
    CXXFLAGS="-O2"
8906
 
  else
8907
 
    CXXFLAGS=
8908
 
  fi
8909
 
fi
8910
 
ac_ext=c
8911
 
ac_cpp='$CPP $CPPFLAGS'
8912
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8913
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8914
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8915
 
 
8916
 
depcc="$CXX"  am_compiler_list=
8917
 
 
8918
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
8919
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
8920
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
8921
 
  $as_echo_n "(cached) " >&6
8922
 
else
8923
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
8924
 
  # We make a subdir and do the tests there.  Otherwise we can end up
8925
 
  # making bogus files that we don't know about and never remove.  For
8926
 
  # instance it was reported that on HP-UX the gcc test will end up
8927
 
  # making a dummy file named `D' -- because `-MD' means `put the output
8928
 
  # in D'.
8929
 
  mkdir conftest.dir
8930
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
8931
 
  # using a relative directory.
8932
 
  cp "$am_depcomp" conftest.dir
8933
 
  cd conftest.dir
8934
 
  # We will build objects and dependencies in a subdirectory because
8935
 
  # it helps to detect inapplicable dependency modes.  For instance
8936
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
8937
 
  # side effect of compilation, but ICC will put the dependencies in
8938
 
  # the current directory while Tru64 will put them in the object
8939
 
  # directory.
8940
 
  mkdir sub
8941
 
 
8942
 
  am_cv_CXX_dependencies_compiler_type=none
8943
 
  if test "$am_compiler_list" = ""; then
8944
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
8945
 
  fi
8946
 
  am__universal=false
8947
 
  case " $depcc " in #(
8948
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
8949
 
     esac
8950
 
 
8951
 
  for depmode in $am_compiler_list; do
8952
 
    # Setup a source with many dependencies, because some compilers
8953
 
    # like to wrap large dependency lists on column 80 (with \), and
8954
 
    # we should not choose a depcomp mode which is confused by this.
8955
 
    #
8956
 
    # We need to recreate these files for each test, as the compiler may
8957
 
    # overwrite some of them when testing with obscure command lines.
8958
 
    # This happens at least with the AIX C compiler.
8959
 
    : > sub/conftest.c
8960
 
    for i in 1 2 3 4 5 6; do
8961
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
8962
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
8963
 
      # Solaris 8's {/usr,}/bin/sh.
8964
 
      touch sub/conftst$i.h
8965
 
    done
8966
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
8967
 
 
8968
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
8969
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
8970
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
8971
 
    # versions had trouble with output in subdirs
8972
 
    am__obj=sub/conftest.${OBJEXT-o}
8973
 
    am__minus_obj="-o $am__obj"
8974
 
    case $depmode in
8975
 
    gcc)
8976
 
      # This depmode causes a compiler race in universal mode.
8977
 
      test "$am__universal" = false || continue
8978
 
      ;;
8979
 
    nosideeffect)
8980
 
      # after this tag, mechanisms are not by side-effect, so they'll
8981
 
      # only be used when explicitly requested
8982
 
      if test "x$enable_dependency_tracking" = xyes; then
8983
 
        continue
8984
 
      else
8985
 
        break
8986
 
      fi
8987
 
      ;;
8988
 
    msvisualcpp | msvcmsys)
8989
 
      # This compiler won't grok `-c -o', but also, the minuso test has
8990
 
      # not run yet.  These depmodes are late enough in the game, and
8991
 
      # so weak that their functioning should not be impacted.
8992
 
      am__obj=conftest.${OBJEXT-o}
8993
 
      am__minus_obj=
8994
 
      ;;
8995
 
    none) break ;;
8996
 
    esac
8997
 
    if depmode=$depmode \
8998
 
       source=sub/conftest.c object=$am__obj \
8999
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
9000
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
9001
 
         >/dev/null 2>conftest.err &&
9002
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
9003
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
9004
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
9005
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
9006
 
      # icc doesn't choke on unknown options, it will just issue warnings
9007
 
      # or remarks (even with -Werror).  So we grep stderr for any message
9008
 
      # that says an option was ignored or not supported.
9009
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
9010
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
9011
 
      # The diagnosis changed in icc 8.0:
9012
 
      #   icc: Command line remark: option '-MP' not supported
9013
 
      if (grep 'ignoring option' conftest.err ||
9014
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
9015
 
        am_cv_CXX_dependencies_compiler_type=$depmode
9016
 
        break
9017
 
      fi
9018
 
    fi
9019
 
  done
9020
 
 
9021
 
  cd ..
9022
 
  rm -rf conftest.dir
9023
 
else
9024
 
  am_cv_CXX_dependencies_compiler_type=none
9025
 
fi
9026
 
 
9027
 
fi
9028
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
9029
 
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
9030
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
9031
 
 
9032
 
 if
9033
 
  test "x$enable_dependency_tracking" != xno \
9034
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
9035
 
  am__fastdepCXX_TRUE=
9036
 
  am__fastdepCXX_FALSE='#'
9037
 
else
9038
 
  am__fastdepCXX_TRUE='#'
9039
 
  am__fastdepCXX_FALSE=
9040
 
fi
9041
 
 
9042
 
 
9043
 
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
9044
 
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
9045
 
    (test "X$CXX" != "Xg++"))) ; then
9046
 
  ac_ext=cpp
9047
 
ac_cpp='$CXXCPP $CPPFLAGS'
9048
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9049
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9050
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9051
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
9052
 
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
9053
 
if test -z "$CXXCPP"; then
9054
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
9055
 
  $as_echo_n "(cached) " >&6
9056
 
else
9057
 
      # Double quotes because CXXCPP needs to be expanded
9058
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
9059
 
    do
9060
 
      ac_preproc_ok=false
9061
 
for ac_cxx_preproc_warn_flag in '' yes
9062
 
do
9063
 
  # Use a header file that comes with gcc, so configuring glibc
9064
 
  # with a fresh cross-compiler works.
9065
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9066
 
  # <limits.h> exists even on freestanding compilers.
9067
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
9068
 
  # not just through cpp. "Syntax error" is here to catch this case.
9069
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9070
 
/* end confdefs.h.  */
9071
 
#ifdef __STDC__
9072
 
# include <limits.h>
9073
 
#else
9074
 
# include <assert.h>
9075
 
#endif
9076
 
                     Syntax error
9077
 
_ACEOF
9078
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
9079
 
 
9080
 
else
9081
 
  # Broken: fails on valid input.
9082
 
continue
9083
 
fi
9084
 
rm -f conftest.err conftest.i conftest.$ac_ext
9085
 
 
9086
 
  # OK, works on sane cases.  Now check whether nonexistent headers
9087
 
  # can be detected and how.
9088
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9089
 
/* end confdefs.h.  */
9090
 
#include <ac_nonexistent.h>
9091
 
_ACEOF
9092
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
9093
 
  # Broken: success on invalid input.
9094
 
continue
9095
 
else
9096
 
  # Passes both tests.
9097
 
ac_preproc_ok=:
9098
 
break
9099
 
fi
9100
 
rm -f conftest.err conftest.i conftest.$ac_ext
9101
 
 
9102
 
done
9103
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9104
 
rm -f conftest.i conftest.err conftest.$ac_ext
9105
 
if $ac_preproc_ok; then :
9106
 
  break
9107
 
fi
9108
 
 
9109
 
    done
9110
 
    ac_cv_prog_CXXCPP=$CXXCPP
9111
 
 
9112
 
fi
9113
 
  CXXCPP=$ac_cv_prog_CXXCPP
9114
 
else
9115
 
  ac_cv_prog_CXXCPP=$CXXCPP
9116
 
fi
9117
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
9118
 
$as_echo "$CXXCPP" >&6; }
9119
 
ac_preproc_ok=false
9120
 
for ac_cxx_preproc_warn_flag in '' yes
9121
 
do
9122
 
  # Use a header file that comes with gcc, so configuring glibc
9123
 
  # with a fresh cross-compiler works.
9124
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9125
 
  # <limits.h> exists even on freestanding compilers.
9126
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
9127
 
  # not just through cpp. "Syntax error" is here to catch this case.
9128
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9129
 
/* end confdefs.h.  */
9130
 
#ifdef __STDC__
9131
 
# include <limits.h>
9132
 
#else
9133
 
# include <assert.h>
9134
 
#endif
9135
 
                     Syntax error
9136
 
_ACEOF
9137
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
9138
 
 
9139
 
else
9140
 
  # Broken: fails on valid input.
9141
 
continue
9142
 
fi
9143
 
rm -f conftest.err conftest.i conftest.$ac_ext
9144
 
 
9145
 
  # OK, works on sane cases.  Now check whether nonexistent headers
9146
 
  # can be detected and how.
9147
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9148
 
/* end confdefs.h.  */
9149
 
#include <ac_nonexistent.h>
9150
 
_ACEOF
9151
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
9152
 
  # Broken: success on invalid input.
9153
 
continue
9154
 
else
9155
 
  # Passes both tests.
9156
 
ac_preproc_ok=:
9157
 
break
9158
 
fi
9159
 
rm -f conftest.err conftest.i conftest.$ac_ext
9160
 
 
9161
 
done
9162
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9163
 
rm -f conftest.i conftest.err conftest.$ac_ext
9164
 
if $ac_preproc_ok; then :
9165
 
 
9166
 
else
9167
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9168
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9169
 
_lt_caught_CXX_error=yes; }
9170
 
fi
9171
 
 
9172
 
ac_ext=c
9173
 
ac_cpp='$CPP $CPPFLAGS'
9174
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9175
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9176
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
9177
 
 
9178
 
else
9179
 
  _lt_caught_CXX_error=yes
9180
 
fi
 
9159
 
 
9160
func_stripname_cnf ()
 
9161
{
 
9162
  case ${2} in
 
9163
  .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
 
9164
  *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
 
9165
  esac
 
9166
} # func_stripname_cnf
9181
9167
 
9182
9168
 
9183
9169
 
9335
9321
 
9336
9322
 
9337
9323
 
 
9324
 
9338
9325
test -z "$LN_S" && LN_S="ln -s"
9339
9326
 
9340
9327
 
9356
9343
 
9357
9344
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9358
9345
$as_echo_n "checking for objdir... " >&6; }
9359
 
if test "${lt_cv_objdir+set}" = set; then :
 
9346
if ${lt_cv_objdir+:} false; then :
9360
9347
  $as_echo_n "(cached) " >&6
9361
9348
else
9362
9349
  rm -f .libs 2>/dev/null
9384
9371
 
9385
9372
 
9386
9373
 
9387
 
 
9388
 
 
9389
 
 
9390
 
 
9391
 
 
9392
 
 
9393
 
 
9394
 
 
9395
 
 
9396
 
 
9397
 
 
9398
 
 
9399
 
 
9400
9374
case $host_os in
9401
9375
aix3*)
9402
9376
  # AIX sometimes has problems with the GCC collect2 program.  For some
9409
9383
  ;;
9410
9384
esac
9411
9385
 
9412
 
# Sed substitution that helps us do robust quoting.  It backslashifies
9413
 
# metacharacters that are still active within double-quoted strings.
9414
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
9415
 
 
9416
 
# Same as above, but do not quote variable references.
9417
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
9418
 
 
9419
 
# Sed substitution to delay expansion of an escaped shell variable in a
9420
 
# double_quote_subst'ed string.
9421
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
9422
 
 
9423
 
# Sed substitution to delay expansion of an escaped single quote.
9424
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
9425
 
 
9426
 
# Sed substitution to avoid accidental globbing in evaled expressions
9427
 
no_glob_subst='s/\*/\\\*/g'
9428
 
 
9429
9386
# Global variables:
9430
9387
ofile=libtool
9431
9388
can_build_shared=yes
9454
9411
    *) break;;
9455
9412
  esac
9456
9413
done
9457
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
9414
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9458
9415
 
9459
9416
 
9460
9417
# Only perform the check for file, if the check method requires it
9464
9421
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9465
9422
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9466
9423
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9467
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
9424
if ${lt_cv_path_MAGIC_CMD+:} false; then :
9468
9425
  $as_echo_n "(cached) " >&6
9469
9426
else
9470
9427
  case $MAGIC_CMD in
9530
9487
  if test -n "$ac_tool_prefix"; then
9531
9488
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9532
9489
$as_echo_n "checking for file... " >&6; }
9533
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
9490
if ${lt_cv_path_MAGIC_CMD+:} false; then :
9534
9491
  $as_echo_n "(cached) " >&6
9535
9492
else
9536
9493
  case $MAGIC_CMD in
9663
9620
lt_prog_compiler_no_builtin_flag=
9664
9621
 
9665
9622
if test "$GCC" = yes; then
9666
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 
9623
  case $cc_basename in
 
9624
  nvcc*)
 
9625
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 
9626
  *)
 
9627
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 
9628
  esac
9667
9629
 
9668
9630
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9669
9631
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9670
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
 
9632
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9671
9633
  $as_echo_n "(cached) " >&6
9672
9634
else
9673
9635
  lt_cv_prog_compiler_rtti_exceptions=no
9683
9645
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9684
9646
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9685
9647
   -e 's:$: $lt_compiler_flag:'`
9686
 
   (eval echo "\"\$as_me:9686: $lt_compile\"" >&5)
 
9648
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9687
9649
   (eval "$lt_compile" 2>conftest.err)
9688
9650
   ac_status=$?
9689
9651
   cat conftest.err >&5
9690
 
   echo "$as_me:9690: \$? = $ac_status" >&5
 
9652
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9691
9653
   if (exit $ac_status) && test -s "$ac_outfile"; then
9692
9654
     # The compiler can only warn and ignore the option if not recognized
9693
9655
     # So say no if there are warnings other than the usual output.
9694
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
9656
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9695
9657
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9696
9658
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9697
9659
       lt_cv_prog_compiler_rtti_exceptions=yes
9720
9682
lt_prog_compiler_pic=
9721
9683
lt_prog_compiler_static=
9722
9684
 
9723
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9724
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9725
9685
 
9726
9686
  if test "$GCC" = yes; then
9727
9687
    lt_prog_compiler_wl='-Wl,'
9769
9729
      lt_prog_compiler_pic='-fno-common'
9770
9730
      ;;
9771
9731
 
 
9732
    haiku*)
 
9733
      # PIC is the default for Haiku.
 
9734
      # The "-static" flag exists, but is broken.
 
9735
      lt_prog_compiler_static=
 
9736
      ;;
 
9737
 
9772
9738
    hpux*)
9773
9739
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9774
9740
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9811
9777
      lt_prog_compiler_pic='-fPIC'
9812
9778
      ;;
9813
9779
    esac
 
9780
 
 
9781
    case $cc_basename in
 
9782
    nvcc*) # Cuda Compiler Driver 2.2
 
9783
      lt_prog_compiler_wl='-Xlinker '
 
9784
      lt_prog_compiler_pic='-Xcompiler -fPIC'
 
9785
      ;;
 
9786
    esac
9814
9787
  else
9815
9788
    # PORTME Check for flag to pass linker flags through the system compiler.
9816
9789
    case $host_os in
9873
9846
        lt_prog_compiler_pic='--shared'
9874
9847
        lt_prog_compiler_static='--static'
9875
9848
        ;;
9876
 
      pgcc* | pgf77* | pgf90* | pgf95*)
 
9849
      nagfor*)
 
9850
        # NAG Fortran compiler
 
9851
        lt_prog_compiler_wl='-Wl,-Wl,,'
 
9852
        lt_prog_compiler_pic='-PIC'
 
9853
        lt_prog_compiler_static='-Bstatic'
 
9854
        ;;
 
9855
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9877
9856
        # Portland Group compilers (*not* the Pentium gcc compiler,
9878
9857
        # which looks to be a dead project)
9879
9858
        lt_prog_compiler_wl='-Wl,'
9885
9864
        # All Alpha code is PIC.
9886
9865
        lt_prog_compiler_static='-non_shared'
9887
9866
        ;;
9888
 
      xl*)
9889
 
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
9867
      xl* | bgxl* | bgf* | mpixl*)
 
9868
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9890
9869
        lt_prog_compiler_wl='-Wl,'
9891
9870
        lt_prog_compiler_pic='-qpic'
9892
9871
        lt_prog_compiler_static='-qstaticlink'
9893
9872
        ;;
9894
9873
      *)
9895
9874
        case `$CC -V 2>&1 | sed 5q` in
 
9875
        *Sun\ F* | *Sun*Fortran*)
 
9876
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
9877
          lt_prog_compiler_pic='-KPIC'
 
9878
          lt_prog_compiler_static='-Bstatic'
 
9879
          lt_prog_compiler_wl=''
 
9880
          ;;
9896
9881
        *Sun\ C*)
9897
9882
          # Sun C 5.9
9898
9883
          lt_prog_compiler_pic='-KPIC'
9899
9884
          lt_prog_compiler_static='-Bstatic'
9900
9885
          lt_prog_compiler_wl='-Wl,'
9901
9886
          ;;
9902
 
        *Sun\ F*)
9903
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
9904
 
          lt_prog_compiler_pic='-KPIC'
9905
 
          lt_prog_compiler_static='-Bstatic'
9906
 
          lt_prog_compiler_wl=''
9907
 
          ;;
9908
9887
        esac
9909
9888
        ;;
9910
9889
      esac
9935
9914
      lt_prog_compiler_pic='-KPIC'
9936
9915
      lt_prog_compiler_static='-Bstatic'
9937
9916
      case $cc_basename in
9938
 
      f77* | f90* | f95*)
 
9917
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9939
9918
        lt_prog_compiler_wl='-Qoption ld ';;
9940
9919
      *)
9941
9920
        lt_prog_compiler_wl='-Wl,';;
9992
9971
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9993
9972
    ;;
9994
9973
esac
9995
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9996
 
$as_echo "$lt_prog_compiler_pic" >&6; }
9997
 
 
9998
 
 
9999
 
 
10000
 
 
10001
 
 
 
9974
 
 
9975
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
9976
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
9977
if ${lt_cv_prog_compiler_pic+:} false; then :
 
9978
  $as_echo_n "(cached) " >&6
 
9979
else
 
9980
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 
9981
fi
 
9982
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 
9983
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
 
9984
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10002
9985
 
10003
9986
#
10004
9987
# Check to make sure the PIC flag actually works.
10006
9989
if test -n "$lt_prog_compiler_pic"; then
10007
9990
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10008
9991
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10009
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
 
9992
if ${lt_cv_prog_compiler_pic_works+:} false; then :
10010
9993
  $as_echo_n "(cached) " >&6
10011
9994
else
10012
9995
  lt_cv_prog_compiler_pic_works=no
10022
10005
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10023
10006
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10024
10007
   -e 's:$: $lt_compiler_flag:'`
10025
 
   (eval echo "\"\$as_me:10025: $lt_compile\"" >&5)
 
10008
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10026
10009
   (eval "$lt_compile" 2>conftest.err)
10027
10010
   ac_status=$?
10028
10011
   cat conftest.err >&5
10029
 
   echo "$as_me:10029: \$? = $ac_status" >&5
 
10012
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10030
10013
   if (exit $ac_status) && test -s "$ac_outfile"; then
10031
10014
     # The compiler can only warn and ignore the option if not recognized
10032
10015
     # So say no if there are warnings other than the usual output.
10033
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
10016
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10034
10017
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10035
10018
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10036
10019
       lt_cv_prog_compiler_pic_works=yes
10059
10042
 
10060
10043
 
10061
10044
 
 
10045
 
 
10046
 
 
10047
 
 
10048
 
 
10049
 
10062
10050
#
10063
10051
# Check to make sure the static flag actually works.
10064
10052
#
10065
10053
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10066
10054
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10067
10055
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10068
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
 
10056
if ${lt_cv_prog_compiler_static_works+:} false; then :
10069
10057
  $as_echo_n "(cached) " >&6
10070
10058
else
10071
10059
  lt_cv_prog_compiler_static_works=no
10078
10066
     if test -s conftest.err; then
10079
10067
       # Append any errors to the config.log.
10080
10068
       cat conftest.err 1>&5
10081
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
10069
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10082
10070
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10083
10071
       if diff conftest.exp conftest.er2 >/dev/null; then
10084
10072
         lt_cv_prog_compiler_static_works=yes
10108
10096
 
10109
10097
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10110
10098
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10111
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
10099
if ${lt_cv_prog_compiler_c_o+:} false; then :
10112
10100
  $as_echo_n "(cached) " >&6
10113
10101
else
10114
10102
  lt_cv_prog_compiler_c_o=no
10127
10115
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10128
10116
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10129
10117
   -e 's:$: $lt_compiler_flag:'`
10130
 
   (eval echo "\"\$as_me:10130: $lt_compile\"" >&5)
 
10118
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10131
10119
   (eval "$lt_compile" 2>out/conftest.err)
10132
10120
   ac_status=$?
10133
10121
   cat out/conftest.err >&5
10134
 
   echo "$as_me:10134: \$? = $ac_status" >&5
 
10122
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10135
10123
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10136
10124
   then
10137
10125
     # The compiler can only warn and ignore the option if not recognized
10138
10126
     # So say no if there are warnings
10139
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
10127
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10140
10128
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10141
10129
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10142
10130
       lt_cv_prog_compiler_c_o=yes
10163
10151
 
10164
10152
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10165
10153
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10166
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
10154
if ${lt_cv_prog_compiler_c_o+:} false; then :
10167
10155
  $as_echo_n "(cached) " >&6
10168
10156
else
10169
10157
  lt_cv_prog_compiler_c_o=no
10182
10170
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10183
10171
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10184
10172
   -e 's:$: $lt_compiler_flag:'`
10185
 
   (eval echo "\"\$as_me:10185: $lt_compile\"" >&5)
 
10173
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10186
10174
   (eval "$lt_compile" 2>out/conftest.err)
10187
10175
   ac_status=$?
10188
10176
   cat out/conftest.err >&5
10189
 
   echo "$as_me:10189: \$? = $ac_status" >&5
 
10177
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10190
10178
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10191
10179
   then
10192
10180
     # The compiler can only warn and ignore the option if not recognized
10193
10181
     # So say no if there are warnings
10194
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
10182
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10195
10183
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10196
10184
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10197
10185
       lt_cv_prog_compiler_c_o=yes
10301
10289
  openbsd*)
10302
10290
    with_gnu_ld=no
10303
10291
    ;;
10304
 
  linux* | k*bsd*-gnu)
10305
 
    link_all_deplibs=no
10306
 
    ;;
10307
10292
  esac
10308
10293
 
10309
10294
  ld_shlibs=yes
 
10295
 
 
10296
  # On some targets, GNU ld is compatible enough with the native linker
 
10297
  # that we're better off using the native interface for both.
 
10298
  lt_use_gnu_ld_interface=no
10310
10299
  if test "$with_gnu_ld" = yes; then
 
10300
    case $host_os in
 
10301
      aix*)
 
10302
        # The AIX port of GNU ld has always aspired to compatibility
 
10303
        # with the native linker.  However, as the warning in the GNU ld
 
10304
        # block says, versions before 2.19.5* couldn't really create working
 
10305
        # shared libraries, regardless of the interface used.
 
10306
        case `$LD -v 2>&1` in
 
10307
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
10308
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
10309
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
10310
          *)
 
10311
            lt_use_gnu_ld_interface=yes
 
10312
            ;;
 
10313
        esac
 
10314
        ;;
 
10315
      *)
 
10316
        lt_use_gnu_ld_interface=yes
 
10317
        ;;
 
10318
    esac
 
10319
  fi
 
10320
 
 
10321
  if test "$lt_use_gnu_ld_interface" = yes; then
10311
10322
    # If archive_cmds runs LD, not CC, wlarc should be empty
10312
10323
    wlarc='${wl}'
10313
10324
 
10341
10352
        ld_shlibs=no
10342
10353
        cat <<_LT_EOF 1>&2
10343
10354
 
10344
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
10355
*** Warning: the GNU linker, at least up to release 2.19, is reported
10345
10356
*** to be unable to reliably create shared libraries on AIX.
10346
10357
*** Therefore, libtool is disabling shared libraries support.  If you
10347
 
*** really care for shared libraries, you may want to modify your PATH
10348
 
*** so that a non-GNU linker is found, and then restart.
 
10358
*** really care for shared libraries, you may want to install binutils
 
10359
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
10360
*** You will then need to restart the configuration process.
10349
10361
 
10350
10362
_LT_EOF
10351
10363
      fi
10381
10393
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10382
10394
      # as there is no search path for DLLs.
10383
10395
      hardcode_libdir_flag_spec='-L$libdir'
 
10396
      export_dynamic_flag_spec='${wl}--export-all-symbols'
10384
10397
      allow_undefined_flag=unsupported
10385
10398
      always_export_symbols=no
10386
10399
      enable_shared_with_static_runtimes=yes
10387
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
10400
      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'
 
10401
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10388
10402
 
10389
10403
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10390
10404
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10402
10416
      fi
10403
10417
      ;;
10404
10418
 
 
10419
    haiku*)
 
10420
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10421
      link_all_deplibs=yes
 
10422
      ;;
 
10423
 
10405
10424
    interix[3-9]*)
10406
10425
      hardcode_direct=no
10407
10426
      hardcode_shlibpath_var=no
10427
10446
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10428
10447
         && test "$tmp_diet" = no
10429
10448
      then
10430
 
        tmp_addflag=
 
10449
        tmp_addflag=' $pic_flag'
10431
10450
        tmp_sharedflag='-shared'
10432
10451
        case $cc_basename,$host_cpu in
10433
10452
        pgcc*)                          # Portland Group C compiler
10434
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
10453
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10435
10454
          tmp_addflag=' $pic_flag'
10436
10455
          ;;
10437
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
10438
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
10456
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
10457
                                        # Portland Group f77 and f90 compilers
 
10458
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10439
10459
          tmp_addflag=' $pic_flag -Mnomain' ;;
10440
10460
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
10441
10461
          tmp_addflag=' -i_dynamic' ;;
10446
10466
        lf95*)                          # Lahey Fortran 8.1
10447
10467
          whole_archive_flag_spec=
10448
10468
          tmp_sharedflag='--shared' ;;
10449
 
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
10469
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10450
10470
          tmp_sharedflag='-qmkshrobj'
10451
10471
          tmp_addflag= ;;
 
10472
        nvcc*)  # Cuda Compiler Driver 2.2
 
10473
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 
10474
          compiler_needs_object=yes
 
10475
          ;;
10452
10476
        esac
10453
10477
        case `$CC -V 2>&1 | sed 5q` in
10454
10478
        *Sun\ C*)                       # Sun C 5.9
10455
 
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
10479
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10456
10480
          compiler_needs_object=yes
10457
10481
          tmp_sharedflag='-G' ;;
10458
10482
        *Sun\ F*)                       # Sun Fortran 8.3
10468
10492
        fi
10469
10493
 
10470
10494
        case $cc_basename in
10471
 
        xlf*)
 
10495
        xlf* | bgf* | bgxlf* | mpixlf*)
10472
10496
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10473
10497
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10474
10498
          hardcode_libdir_flag_spec=
10475
10499
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
10476
 
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
10500
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10477
10501
          if test "x$supports_anon_versioning" = xyes; then
10478
10502
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10479
10503
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10480
10504
              echo "local: *; };" >> $output_objdir/$libname.ver~
10481
 
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
10505
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10482
10506
          fi
10483
10507
          ;;
10484
10508
        esac
10487
10511
      fi
10488
10512
      ;;
10489
10513
 
10490
 
    netbsd* | netbsdelf*-gnu)
 
10514
    netbsd*)
10491
10515
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10492
10516
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10493
10517
        wlarc=
10494
10518
      else
10495
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10496
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
10519
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10520
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10497
10521
      fi
10498
10522
      ;;
10499
10523
 
10511
10535
 
10512
10536
_LT_EOF
10513
10537
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10514
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10515
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
10538
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10539
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10516
10540
      else
10517
10541
        ld_shlibs=no
10518
10542
      fi
10558
10582
 
10559
10583
    *)
10560
10584
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10561
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10562
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
10585
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10586
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10563
10587
      else
10564
10588
        ld_shlibs=no
10565
10589
      fi
10599
10623
      else
10600
10624
        # If we're using GNU nm, then we don't want the "-C" option.
10601
10625
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
10626
        # Also, AIX nm treats weak defined symbols like other global
 
10627
        # defined symbols, whereas GNU nm marks them as "W".
10602
10628
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10603
 
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 
10629
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10604
10630
        else
10605
10631
          export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10606
10632
        fi
10662
10688
        if test "$aix_use_runtimelinking" = yes; then
10663
10689
          shared_flag="$shared_flag "'${wl}-G'
10664
10690
        fi
10665
 
        link_all_deplibs=no
10666
10691
      else
10667
10692
        # not using gcc
10668
10693
        if test "$host_cpu" = ia64; then
10688
10713
        allow_undefined_flag='-berok'
10689
10714
        # Determine the default libpath from the value encoded in an
10690
10715
        # empty executable.
10691
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10716
        if test "${lt_cv_aix_libpath+set}" = set; then
 
10717
  aix_libpath=$lt_cv_aix_libpath
 
10718
else
 
10719
  if ${lt_cv_aix_libpath_+:} false; then :
 
10720
  $as_echo_n "(cached) " >&6
 
10721
else
 
10722
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10692
10723
/* end confdefs.h.  */
10693
10724
 
10694
10725
int
10701
10732
_ACEOF
10702
10733
if ac_fn_c_try_link "$LINENO"; then :
10703
10734
 
10704
 
lt_aix_libpath_sed='
10705
 
    /Import File Strings/,/^$/ {
10706
 
        /^0/ {
10707
 
            s/^0  *\(.*\)$/\1/
10708
 
            p
10709
 
        }
10710
 
    }'
10711
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10712
 
# Check for a 64-bit object if we didn't find anything.
10713
 
if test -z "$aix_libpath"; then
10714
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10715
 
fi
 
10735
  lt_aix_libpath_sed='
 
10736
      /Import File Strings/,/^$/ {
 
10737
          /^0/ {
 
10738
              s/^0  *\([^ ]*\) *$/\1/
 
10739
              p
 
10740
          }
 
10741
      }'
 
10742
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10743
  # Check for a 64-bit object if we didn't find anything.
 
10744
  if test -z "$lt_cv_aix_libpath_"; then
 
10745
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10746
  fi
10716
10747
fi
10717
10748
rm -f core conftest.err conftest.$ac_objext \
10718
10749
    conftest$ac_exeext conftest.$ac_ext
10719
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
10750
  if test -z "$lt_cv_aix_libpath_"; then
 
10751
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
10752
  fi
 
10753
 
 
10754
fi
 
10755
 
 
10756
  aix_libpath=$lt_cv_aix_libpath_
 
10757
fi
10720
10758
 
10721
10759
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10722
 
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
10760
        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"
10723
10761
      else
10724
10762
        if test "$host_cpu" = ia64; then
10725
10763
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10728
10766
        else
10729
10767
         # Determine the default libpath from the value encoded in an
10730
10768
         # empty executable.
10731
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10769
         if test "${lt_cv_aix_libpath+set}" = set; then
 
10770
  aix_libpath=$lt_cv_aix_libpath
 
10771
else
 
10772
  if ${lt_cv_aix_libpath_+:} false; then :
 
10773
  $as_echo_n "(cached) " >&6
 
10774
else
 
10775
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10732
10776
/* end confdefs.h.  */
10733
10777
 
10734
10778
int
10741
10785
_ACEOF
10742
10786
if ac_fn_c_try_link "$LINENO"; then :
10743
10787
 
10744
 
lt_aix_libpath_sed='
10745
 
    /Import File Strings/,/^$/ {
10746
 
        /^0/ {
10747
 
            s/^0  *\(.*\)$/\1/
10748
 
            p
10749
 
        }
10750
 
    }'
10751
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10752
 
# Check for a 64-bit object if we didn't find anything.
10753
 
if test -z "$aix_libpath"; then
10754
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10755
 
fi
 
10788
  lt_aix_libpath_sed='
 
10789
      /Import File Strings/,/^$/ {
 
10790
          /^0/ {
 
10791
              s/^0  *\([^ ]*\) *$/\1/
 
10792
              p
 
10793
          }
 
10794
      }'
 
10795
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10796
  # Check for a 64-bit object if we didn't find anything.
 
10797
  if test -z "$lt_cv_aix_libpath_"; then
 
10798
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10799
  fi
10756
10800
fi
10757
10801
rm -f core conftest.err conftest.$ac_objext \
10758
10802
    conftest$ac_exeext conftest.$ac_ext
10759
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
10803
  if test -z "$lt_cv_aix_libpath_"; then
 
10804
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
10805
  fi
 
10806
 
 
10807
fi
 
10808
 
 
10809
  aix_libpath=$lt_cv_aix_libpath_
 
10810
fi
10760
10811
 
10761
10812
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10762
10813
          # Warning - without using the other run time loading flags,
10763
10814
          # -berok will link without error, but may produce a broken library.
10764
10815
          no_undefined_flag=' ${wl}-bernotok'
10765
10816
          allow_undefined_flag=' ${wl}-berok'
10766
 
          # Exported symbols can be pulled into shared objects from archives
10767
 
          whole_archive_flag_spec='$convenience'
 
10817
          if test "$with_gnu_ld" = yes; then
 
10818
            # We only use this code for GNU lds that support --whole-archive.
 
10819
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
10820
          else
 
10821
            # Exported symbols can be pulled into shared objects from archives
 
10822
            whole_archive_flag_spec='$convenience'
 
10823
          fi
10768
10824
          archive_cmds_need_lc=yes
10769
10825
          # This is similar to how AIX traditionally builds its shared libraries.
10770
10826
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10796
10852
      # Microsoft Visual C++.
10797
10853
      # hardcode_libdir_flag_spec is actually meaningless, as there is
10798
10854
      # no search path for DLLs.
10799
 
      hardcode_libdir_flag_spec=' '
10800
 
      allow_undefined_flag=unsupported
10801
 
      # Tell ltmain to make .lib files, not .a files.
10802
 
      libext=lib
10803
 
      # Tell ltmain to make .dll files, not .so files.
10804
 
      shrext_cmds=".dll"
10805
 
      # FIXME: Setting linknames here is a bad hack.
10806
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
10807
 
      # The linker will automatically build a .lib file if we build a DLL.
10808
 
      old_archive_from_new_cmds='true'
10809
 
      # FIXME: Should let the user specify the lib program.
10810
 
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10811
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
10812
 
      enable_shared_with_static_runtimes=yes
 
10855
      case $cc_basename in
 
10856
      cl*)
 
10857
        # Native MSVC
 
10858
        hardcode_libdir_flag_spec=' '
 
10859
        allow_undefined_flag=unsupported
 
10860
        always_export_symbols=yes
 
10861
        file_list_spec='@'
 
10862
        # Tell ltmain to make .lib files, not .a files.
 
10863
        libext=lib
 
10864
        # Tell ltmain to make .dll files, not .so files.
 
10865
        shrext_cmds=".dll"
 
10866
        # FIXME: Setting linknames here is a bad hack.
 
10867
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
10868
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
10869
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
10870
          else
 
10871
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
10872
          fi~
 
10873
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
10874
          linknames='
 
10875
        # The linker will not automatically build a static lib if we build a DLL.
 
10876
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 
10877
        enable_shared_with_static_runtimes=yes
 
10878
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
10879
        # Don't use ranlib
 
10880
        old_postinstall_cmds='chmod 644 $oldlib'
 
10881
        postlink_cmds='lt_outputfile="@OUTPUT@"~
 
10882
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
10883
          case $lt_outputfile in
 
10884
            *.exe|*.EXE) ;;
 
10885
            *)
 
10886
              lt_outputfile="$lt_outputfile.exe"
 
10887
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
10888
              ;;
 
10889
          esac~
 
10890
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
10891
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
10892
            $RM "$lt_outputfile.manifest";
 
10893
          fi'
 
10894
        ;;
 
10895
      *)
 
10896
        # Assume MSVC wrapper
 
10897
        hardcode_libdir_flag_spec=' '
 
10898
        allow_undefined_flag=unsupported
 
10899
        # Tell ltmain to make .lib files, not .a files.
 
10900
        libext=lib
 
10901
        # Tell ltmain to make .dll files, not .so files.
 
10902
        shrext_cmds=".dll"
 
10903
        # FIXME: Setting linknames here is a bad hack.
 
10904
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
10905
        # The linker will automatically build a .lib file if we build a DLL.
 
10906
        old_archive_from_new_cmds='true'
 
10907
        # FIXME: Should let the user specify the lib program.
 
10908
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
10909
        enable_shared_with_static_runtimes=yes
 
10910
        ;;
 
10911
      esac
10813
10912
      ;;
10814
10913
 
10815
10914
    darwin* | rhapsody*)
10819
10918
  hardcode_direct=no
10820
10919
  hardcode_automatic=yes
10821
10920
  hardcode_shlibpath_var=unsupported
10822
 
  whole_archive_flag_spec=''
 
10921
  if test "$lt_cv_ld_force_load" = "yes"; then
 
10922
    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\"`'
 
10923
  else
 
10924
    whole_archive_flag_spec=''
 
10925
  fi
10823
10926
  link_all_deplibs=yes
10824
10927
  allow_undefined_flag="$_lt_dar_allow_undefined"
10825
10928
  case $cc_basename in
10827
10930
     *) _lt_dar_can_shared=$GCC ;;
10828
10931
  esac
10829
10932
  if test "$_lt_dar_can_shared" = "yes"; then
10830
 
    output_verbose_link_cmd=echo
 
10933
    output_verbose_link_cmd=func_echo_all
10831
10934
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10832
10935
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10833
10936
    archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
10870
10973
 
10871
10974
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10872
10975
    freebsd* | dragonfly*)
10873
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
10976
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10874
10977
      hardcode_libdir_flag_spec='-R$libdir'
10875
10978
      hardcode_direct=yes
10876
10979
      hardcode_shlibpath_var=no
10878
10981
 
10879
10982
    hpux9*)
10880
10983
      if test "$GCC" = yes; then
10881
 
        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'
 
10984
        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'
10882
10985
      else
10883
10986
        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'
10884
10987
      fi
10893
10996
      ;;
10894
10997
 
10895
10998
    hpux10*)
10896
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10897
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
10999
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
11000
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10898
11001
      else
10899
11002
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10900
11003
      fi
10912
11015
      ;;
10913
11016
 
10914
11017
    hpux11*)
10915
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
11018
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10916
11019
        case $host_cpu in
10917
11020
        hppa*64*)
10918
11021
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10919
11022
          ;;
10920
11023
        ia64*)
10921
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
11024
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10922
11025
          ;;
10923
11026
        *)
10924
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
11027
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10925
11028
          ;;
10926
11029
        esac
10927
11030
      else
10933
11036
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10934
11037
          ;;
10935
11038
        *)
10936
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
11039
 
 
11040
          # Older versions of the 11.00 compiler do not understand -b yet
 
11041
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
11042
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 
11043
$as_echo_n "checking if $CC understands -b... " >&6; }
 
11044
if ${lt_cv_prog_compiler__b+:} false; then :
 
11045
  $as_echo_n "(cached) " >&6
 
11046
else
 
11047
  lt_cv_prog_compiler__b=no
 
11048
   save_LDFLAGS="$LDFLAGS"
 
11049
   LDFLAGS="$LDFLAGS -b"
 
11050
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
11051
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
11052
     # The linker can only warn and ignore the option if not recognized
 
11053
     # So say no if there are warnings
 
11054
     if test -s conftest.err; then
 
11055
       # Append any errors to the config.log.
 
11056
       cat conftest.err 1>&5
 
11057
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
11058
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
11059
       if diff conftest.exp conftest.er2 >/dev/null; then
 
11060
         lt_cv_prog_compiler__b=yes
 
11061
       fi
 
11062
     else
 
11063
       lt_cv_prog_compiler__b=yes
 
11064
     fi
 
11065
   fi
 
11066
   $RM -r conftest*
 
11067
   LDFLAGS="$save_LDFLAGS"
 
11068
 
 
11069
fi
 
11070
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 
11071
$as_echo "$lt_cv_prog_compiler__b" >&6; }
 
11072
 
 
11073
if test x"$lt_cv_prog_compiler__b" = xyes; then
 
11074
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
11075
else
 
11076
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
11077
fi
 
11078
 
10937
11079
          ;;
10938
11080
        esac
10939
11081
      fi
10961
11103
 
10962
11104
    irix5* | irix6* | nonstopux*)
10963
11105
      if test "$GCC" = yes; then
10964
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
11106
        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'
10965
11107
        # Try to use the -exported_symbol ld option, if it does not
10966
11108
        # work, assume that -exports_file does not work either and
10967
11109
        # implicitly export all symbols.
10968
 
        save_LDFLAGS="$LDFLAGS"
10969
 
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10970
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11110
        # This should be the same for all languages, so no per-tag cache variable.
 
11111
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
11112
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
11113
if ${lt_cv_irix_exported_symbol+:} false; then :
 
11114
  $as_echo_n "(cached) " >&6
 
11115
else
 
11116
  save_LDFLAGS="$LDFLAGS"
 
11117
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
11118
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10971
11119
/* end confdefs.h.  */
10972
 
int foo(void) {}
 
11120
int foo (void) { return 0; }
10973
11121
_ACEOF
10974
11122
if ac_fn_c_try_link "$LINENO"; then :
10975
 
  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10976
 
 
 
11123
  lt_cv_irix_exported_symbol=yes
 
11124
else
 
11125
  lt_cv_irix_exported_symbol=no
10977
11126
fi
10978
11127
rm -f core conftest.err conftest.$ac_objext \
10979
11128
    conftest$ac_exeext conftest.$ac_ext
10980
 
        LDFLAGS="$save_LDFLAGS"
 
11129
           LDFLAGS="$save_LDFLAGS"
 
11130
fi
 
11131
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
11132
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
11133
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
11134
          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'
 
11135
        fi
10981
11136
      else
10982
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10983
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
 
11137
        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'
 
11138
        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'
10984
11139
      fi
10985
11140
      archive_cmds_need_lc='no'
10986
11141
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10989
11144
      link_all_deplibs=yes
10990
11145
      ;;
10991
11146
 
10992
 
    netbsd* | netbsdelf*-gnu)
 
11147
    netbsd*)
10993
11148
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10994
11149
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10995
11150
      else
11042
11197
      hardcode_libdir_flag_spec='-L$libdir'
11043
11198
      hardcode_minus_L=yes
11044
11199
      allow_undefined_flag=unsupported
11045
 
      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
 
11200
      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
11046
11201
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11047
11202
      ;;
11048
11203
 
11049
11204
    osf3*)
11050
11205
      if test "$GCC" = yes; then
11051
11206
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11052
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
11207
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11053
11208
      else
11054
11209
        allow_undefined_flag=' -expect_unresolved \*'
11055
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
11210
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
11056
11211
      fi
11057
11212
      archive_cmds_need_lc='no'
11058
11213
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11062
11217
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
11063
11218
      if test "$GCC" = yes; then
11064
11219
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11065
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
11220
        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'
11066
11221
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11067
11222
      else
11068
11223
        allow_undefined_flag=' -expect_unresolved \*'
11069
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
11224
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
11070
11225
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
11071
 
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
 
11226
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
11072
11227
 
11073
11228
        # Both c and cxx compiler support -rpath directly
11074
11229
        hardcode_libdir_flag_spec='-rpath $libdir'
11081
11236
      no_undefined_flag=' -z defs'
11082
11237
      if test "$GCC" = yes; then
11083
11238
        wlarc='${wl}'
11084
 
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11239
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11085
11240
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11086
 
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
11241
          $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'
11087
11242
      else
11088
11243
        case `$CC -V 2>&1` in
11089
11244
        *"Compilers 5.0"*)
11271
11426
      # to ld, don't add -lc before -lgcc.
11272
11427
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11273
11428
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11274
 
      $RM conftest*
11275
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
11429
if ${lt_cv_archive_cmds_need_lc+:} false; then :
 
11430
  $as_echo_n "(cached) " >&6
 
11431
else
 
11432
  $RM conftest*
 
11433
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11276
11434
 
11277
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
11435
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11278
11436
  (eval $ac_compile) 2>&5
11279
11437
  ac_status=$?
11280
11438
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11281
11439
  test $ac_status = 0; } 2>conftest.err; then
11282
 
        soname=conftest
11283
 
        lib=conftest
11284
 
        libobjs=conftest.$ac_objext
11285
 
        deplibs=
11286
 
        wl=$lt_prog_compiler_wl
11287
 
        pic_flag=$lt_prog_compiler_pic
11288
 
        compiler_flags=-v
11289
 
        linker_flags=-v
11290
 
        verstring=
11291
 
        output_objdir=.
11292
 
        libname=conftest
11293
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
11294
 
        allow_undefined_flag=
11295
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
11440
          soname=conftest
 
11441
          lib=conftest
 
11442
          libobjs=conftest.$ac_objext
 
11443
          deplibs=
 
11444
          wl=$lt_prog_compiler_wl
 
11445
          pic_flag=$lt_prog_compiler_pic
 
11446
          compiler_flags=-v
 
11447
          linker_flags=-v
 
11448
          verstring=
 
11449
          output_objdir=.
 
11450
          libname=conftest
 
11451
          lt_save_allow_undefined_flag=$allow_undefined_flag
 
11452
          allow_undefined_flag=
 
11453
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11296
11454
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11297
11455
  ac_status=$?
11298
11456
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11299
11457
  test $ac_status = 0; }
11300
 
        then
11301
 
          archive_cmds_need_lc=no
11302
 
        else
11303
 
          archive_cmds_need_lc=yes
11304
 
        fi
11305
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
11306
 
      else
11307
 
        cat conftest.err 1>&5
11308
 
      fi
11309
 
      $RM conftest*
11310
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
11311
 
$as_echo "$archive_cmds_need_lc" >&6; }
 
11458
          then
 
11459
            lt_cv_archive_cmds_need_lc=no
 
11460
          else
 
11461
            lt_cv_archive_cmds_need_lc=yes
 
11462
          fi
 
11463
          allow_undefined_flag=$lt_save_allow_undefined_flag
 
11464
        else
 
11465
          cat conftest.err 1>&5
 
11466
        fi
 
11467
        $RM conftest*
 
11468
 
 
11469
fi
 
11470
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 
11471
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 
11472
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11312
11473
      ;;
11313
11474
    esac
11314
11475
  fi
11479
11640
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11480
11641
    *) lt_awk_arg="/^libraries:/" ;;
11481
11642
  esac
11482
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11483
 
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
11643
  case $host_os in
 
11644
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 
11645
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
11646
  esac
 
11647
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
11648
  case $lt_search_path_spec in
 
11649
  *\;*)
11484
11650
    # if the path contains ";" then we assume it to be the separator
11485
11651
    # otherwise default to the standard path separator (i.e. ":") - it is
11486
11652
    # assumed that no part of a normal pathname contains ";" but that should
11487
11653
    # okay in the real world where ";" in dirpaths is itself problematic.
11488
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
11489
 
  else
11490
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11491
 
  fi
 
11654
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
11655
    ;;
 
11656
  *)
 
11657
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
11658
    ;;
 
11659
  esac
11492
11660
  # Ok, now we have the path, separated by spaces, we can step through it
11493
11661
  # and add multilib dir if necessary.
11494
11662
  lt_tmp_lt_search_path_spec=
11501
11669
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11502
11670
    fi
11503
11671
  done
11504
 
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
11672
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11505
11673
BEGIN {RS=" "; FS="/|\n";} {
11506
11674
  lt_foo="";
11507
11675
  lt_count=0;
11521
11689
  if (lt_foo != "") { lt_freq[lt_foo]++; }
11522
11690
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11523
11691
}'`
11524
 
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
11692
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
11693
  # for these hosts.
 
11694
  case $host_os in
 
11695
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
11696
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
11697
  esac
 
11698
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11525
11699
else
11526
11700
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11527
11701
fi
11609
11783
  m68k)
11610
11784
    library_names_spec='$libname.ixlibrary $libname.a'
11611
11785
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11612
 
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 
11786
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11613
11787
    ;;
11614
11788
  esac
11615
11789
  ;;
11640
11814
  need_version=no
11641
11815
  need_lib_prefix=no
11642
11816
 
11643
 
  case $GCC,$host_os in
11644
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
11817
  case $GCC,$cc_basename in
 
11818
  yes,*)
 
11819
    # gcc
11645
11820
    library_names_spec='$libname.dll.a'
11646
11821
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11647
11822
    postinstall_cmds='base_file=`basename \${file}`~
11662
11837
    cygwin*)
11663
11838
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11664
11839
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11665
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
11840
 
 
11841
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11666
11842
      ;;
11667
11843
    mingw* | cegcc*)
11668
11844
      # MinGW DLLs use traditional 'lib' prefix
11669
11845
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11670
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11671
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11672
 
        # It is most probably a Windows format PATH printed by
11673
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
11674
 
        # path with ; separators, and with drive letters. We can handle the
11675
 
        # drive letters (cygwin fileutils understands them), so leave them,
11676
 
        # especially as we might pass files found there to a mingw objdump,
11677
 
        # which wouldn't understand a cygwinified path. Ahh.
11678
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11679
 
      else
11680
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11681
 
      fi
11682
11846
      ;;
11683
11847
    pw32*)
11684
11848
      # pw32 DLLs use 'pw' prefix rather than 'lib'
11685
11849
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11686
11850
      ;;
11687
11851
    esac
 
11852
    dynamic_linker='Win32 ld.exe'
 
11853
    ;;
 
11854
 
 
11855
  *,cl*)
 
11856
    # Native MSVC
 
11857
    libname_spec='$name'
 
11858
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
11859
    library_names_spec='${libname}.dll.lib'
 
11860
 
 
11861
    case $build_os in
 
11862
    mingw*)
 
11863
      sys_lib_search_path_spec=
 
11864
      lt_save_ifs=$IFS
 
11865
      IFS=';'
 
11866
      for lt_path in $LIB
 
11867
      do
 
11868
        IFS=$lt_save_ifs
 
11869
        # Let DOS variable expansion print the short 8.3 style file name.
 
11870
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
11871
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
11872
      done
 
11873
      IFS=$lt_save_ifs
 
11874
      # Convert to MSYS style.
 
11875
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
11876
      ;;
 
11877
    cygwin*)
 
11878
      # Convert to unix form, then to dos form, then back to unix form
 
11879
      # but this time dos style (no spaces!) so that the unix form looks
 
11880
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
11881
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
11882
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
11883
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
11884
      ;;
 
11885
    *)
 
11886
      sys_lib_search_path_spec="$LIB"
 
11887
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
11888
        # It is most probably a Windows format PATH.
 
11889
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
11890
      else
 
11891
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
11892
      fi
 
11893
      # FIXME: find the short name or the path components, as spaces are
 
11894
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
11895
      ;;
 
11896
    esac
 
11897
 
 
11898
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
11899
    postinstall_cmds='base_file=`basename \${file}`~
 
11900
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
11901
      dldir=$destdir/`dirname \$dlpath`~
 
11902
      test -d \$dldir || mkdir -p \$dldir~
 
11903
      $install_prog $dir/$dlname \$dldir/$dlname'
 
11904
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
11905
      dlpath=$dir/\$dldll~
 
11906
       $RM \$dlpath'
 
11907
    shlibpath_overrides_runpath=yes
 
11908
    dynamic_linker='Win32 link.exe'
11688
11909
    ;;
11689
11910
 
11690
11911
  *)
 
11912
    # Assume MSVC wrapper
11691
11913
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
11914
    dynamic_linker='Win32 ld.exe'
11692
11915
    ;;
11693
11916
  esac
11694
 
  dynamic_linker='Win32 ld.exe'
11695
11917
  # FIXME: first we should search . and the directory the executable is in
11696
11918
  shlibpath_var=PATH
11697
11919
  ;;
11778
12000
  hardcode_into_libs=yes
11779
12001
  ;;
11780
12002
 
 
12003
haiku*)
 
12004
  version_type=linux
 
12005
  need_lib_prefix=no
 
12006
  need_version=no
 
12007
  dynamic_linker="$host_os runtime_loader"
 
12008
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
12009
  soname_spec='${libname}${release}${shared_ext}$major'
 
12010
  shlibpath_var=LIBRARY_PATH
 
12011
  shlibpath_overrides_runpath=yes
 
12012
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 
12013
  hardcode_into_libs=yes
 
12014
  ;;
 
12015
 
11781
12016
hpux9* | hpux10* | hpux11*)
11782
12017
  # Give a soname corresponding to the major version so that dld.sl refuses to
11783
12018
  # link against other versions.
11820
12055
    soname_spec='${libname}${release}${shared_ext}$major'
11821
12056
    ;;
11822
12057
  esac
11823
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
12058
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11824
12059
  postinstall_cmds='chmod 555 $lib'
 
12060
  # or fails outright, so override atomically:
 
12061
  install_override_mode=555
11825
12062
  ;;
11826
12063
 
11827
12064
interix[3-9]*)
11888
12125
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11889
12126
  shlibpath_var=LD_LIBRARY_PATH
11890
12127
  shlibpath_overrides_runpath=no
 
12128
 
11891
12129
  # Some binutils ld are patched to set DT_RUNPATH
11892
 
  save_LDFLAGS=$LDFLAGS
11893
 
  save_libdir=$libdir
11894
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11895
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11896
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12130
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
12131
  $as_echo_n "(cached) " >&6
 
12132
else
 
12133
  lt_cv_shlibpath_overrides_runpath=no
 
12134
    save_LDFLAGS=$LDFLAGS
 
12135
    save_libdir=$libdir
 
12136
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
12137
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
12138
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11897
12139
/* end confdefs.h.  */
11898
12140
 
11899
12141
int
11906
12148
_ACEOF
11907
12149
if ac_fn_c_try_link "$LINENO"; then :
11908
12150
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11909
 
  shlibpath_overrides_runpath=yes
 
12151
  lt_cv_shlibpath_overrides_runpath=yes
11910
12152
fi
11911
12153
fi
11912
12154
rm -f core conftest.err conftest.$ac_objext \
11913
12155
    conftest$ac_exeext conftest.$ac_ext
11914
 
  LDFLAGS=$save_LDFLAGS
11915
 
  libdir=$save_libdir
 
12156
    LDFLAGS=$save_LDFLAGS
 
12157
    libdir=$save_libdir
 
12158
 
 
12159
fi
 
12160
 
 
12161
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11916
12162
 
11917
12163
  # This implies no fast_install, which is unacceptable.
11918
12164
  # Some rework will be needed to allow for fast_install
11919
12165
  # before this can be enabled.
11920
12166
  hardcode_into_libs=yes
11921
12167
 
 
12168
  # Add ABI-specific directories to the system library path.
 
12169
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
 
12170
 
11922
12171
  # Append ld.so.conf contents to the search path
11923
12172
  if test -f /etc/ld.so.conf; then
11924
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
11925
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
12173
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
 
12174
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
 
12175
 
11926
12176
  fi
11927
12177
 
11928
12178
  # We used to test for /lib/ld.so.1 and disable shared libraries on
11934
12184
  dynamic_linker='GNU/Linux ld.so'
11935
12185
  ;;
11936
12186
 
11937
 
netbsdelf*-gnu)
11938
 
  version_type=linux
11939
 
  need_lib_prefix=no
11940
 
  need_version=no
11941
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11942
 
  soname_spec='${libname}${release}${shared_ext}$major'
11943
 
  shlibpath_var=LD_LIBRARY_PATH
11944
 
  shlibpath_overrides_runpath=no
11945
 
  hardcode_into_libs=yes
11946
 
  dynamic_linker='NetBSD ld.elf_so'
11947
 
  ;;
11948
 
 
11949
12187
netbsd*)
11950
12188
  version_type=sunos
11951
12189
  need_lib_prefix=no
12236
12474
 
12237
12475
 
12238
12476
 
 
12477
 
 
12478
 
 
12479
 
 
12480
 
 
12481
 
12239
12482
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12240
12483
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12241
12484
hardcode_action=
12308
12551
  # if libdl is installed we need to link against it
12309
12552
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12310
12553
$as_echo_n "checking for dlopen in -ldl... " >&6; }
12311
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
12554
if ${ac_cv_lib_dl_dlopen+:} false; then :
12312
12555
  $as_echo_n "(cached) " >&6
12313
12556
else
12314
12557
  ac_check_lib_save_LIBS=$LIBS
12342
12585
fi
12343
12586
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12344
12587
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12345
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
12588
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12346
12589
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12347
12590
else
12348
12591
 
12356
12599
 
12357
12600
  *)
12358
12601
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12359
 
if test "x$ac_cv_func_shl_load" = x""yes; then :
 
12602
if test "x$ac_cv_func_shl_load" = xyes; then :
12360
12603
  lt_cv_dlopen="shl_load"
12361
12604
else
12362
12605
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12363
12606
$as_echo_n "checking for shl_load in -ldld... " >&6; }
12364
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
 
12607
if ${ac_cv_lib_dld_shl_load+:} false; then :
12365
12608
  $as_echo_n "(cached) " >&6
12366
12609
else
12367
12610
  ac_check_lib_save_LIBS=$LIBS
12395
12638
fi
12396
12639
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12397
12640
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12398
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
 
12641
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12399
12642
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12400
12643
else
12401
12644
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12402
 
if test "x$ac_cv_func_dlopen" = x""yes; then :
 
12645
if test "x$ac_cv_func_dlopen" = xyes; then :
12403
12646
  lt_cv_dlopen="dlopen"
12404
12647
else
12405
12648
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12406
12649
$as_echo_n "checking for dlopen in -ldl... " >&6; }
12407
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
12650
if ${ac_cv_lib_dl_dlopen+:} false; then :
12408
12651
  $as_echo_n "(cached) " >&6
12409
12652
else
12410
12653
  ac_check_lib_save_LIBS=$LIBS
12438
12681
fi
12439
12682
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12440
12683
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12441
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
12684
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12442
12685
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12443
12686
else
12444
12687
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12445
12688
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12446
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
 
12689
if ${ac_cv_lib_svld_dlopen+:} false; then :
12447
12690
  $as_echo_n "(cached) " >&6
12448
12691
else
12449
12692
  ac_check_lib_save_LIBS=$LIBS
12477
12720
fi
12478
12721
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12479
12722
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12480
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
 
12723
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12481
12724
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12482
12725
else
12483
12726
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12484
12727
$as_echo_n "checking for dld_link in -ldld... " >&6; }
12485
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
 
12728
if ${ac_cv_lib_dld_dld_link+:} false; then :
12486
12729
  $as_echo_n "(cached) " >&6
12487
12730
else
12488
12731
  ac_check_lib_save_LIBS=$LIBS
12516
12759
fi
12517
12760
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12518
12761
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12519
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
 
12762
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12520
12763
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12521
12764
fi
12522
12765
 
12557
12800
 
12558
12801
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12559
12802
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12560
 
if test "${lt_cv_dlopen_self+set}" = set; then :
 
12803
if ${lt_cv_dlopen_self+:} false; then :
12561
12804
  $as_echo_n "(cached) " >&6
12562
12805
else
12563
12806
          if test "$cross_compiling" = yes; then :
12566
12809
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12567
12810
  lt_status=$lt_dlunknown
12568
12811
  cat > conftest.$ac_ext <<_LT_EOF
12569
 
#line 12569 "configure"
 
12812
#line $LINENO "configure"
12570
12813
#include "confdefs.h"
12571
12814
 
12572
12815
#if HAVE_DLFCN_H
12607
12850
#  endif
12608
12851
#endif
12609
12852
 
12610
 
void fnord() { int i=42;}
 
12853
/* When -fvisbility=hidden is used, assume the code has been annotated
 
12854
   correspondingly for the symbols needed.  */
 
12855
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
12856
int fnord () __attribute__((visibility("default")));
 
12857
#endif
 
12858
 
 
12859
int fnord () { return 42; }
12611
12860
int main ()
12612
12861
{
12613
12862
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12616
12865
  if (self)
12617
12866
    {
12618
12867
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12619
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
12868
      else
 
12869
        {
 
12870
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
12871
          else puts (dlerror ());
 
12872
        }
12620
12873
      /* dlclose (self); */
12621
12874
    }
12622
12875
  else
12653
12906
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12654
12907
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12655
12908
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12656
 
if test "${lt_cv_dlopen_self_static+set}" = set; then :
 
12909
if ${lt_cv_dlopen_self_static+:} false; then :
12657
12910
  $as_echo_n "(cached) " >&6
12658
12911
else
12659
12912
          if test "$cross_compiling" = yes; then :
12662
12915
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12663
12916
  lt_status=$lt_dlunknown
12664
12917
  cat > conftest.$ac_ext <<_LT_EOF
12665
 
#line 12665 "configure"
 
12918
#line $LINENO "configure"
12666
12919
#include "confdefs.h"
12667
12920
 
12668
12921
#if HAVE_DLFCN_H
12703
12956
#  endif
12704
12957
#endif
12705
12958
 
12706
 
void fnord() { int i=42;}
 
12959
/* When -fvisbility=hidden is used, assume the code has been annotated
 
12960
   correspondingly for the symbols needed.  */
 
12961
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
12962
int fnord () __attribute__((visibility("default")));
 
12963
#endif
 
12964
 
 
12965
int fnord () { return 42; }
12707
12966
int main ()
12708
12967
{
12709
12968
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12712
12971
  if (self)
12713
12972
    {
12714
12973
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12715
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
12974
      else
 
12975
        {
 
12976
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
12977
          else puts (dlerror ());
 
12978
        }
12716
12979
      /* dlclose (self); */
12717
12980
    }
12718
12981
  else
12869
13132
 
12870
13133
CC="$lt_save_CC"
12871
13134
 
 
13135
      if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 
13136
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 
13137
    (test "X$CXX" != "Xg++"))) ; then
 
13138
  ac_ext=cpp
 
13139
ac_cpp='$CXXCPP $CPPFLAGS'
 
13140
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
13141
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
13142
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
13143
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
 
13144
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
 
13145
if test -z "$CXXCPP"; then
 
13146
  if ${ac_cv_prog_CXXCPP+:} false; then :
 
13147
  $as_echo_n "(cached) " >&6
 
13148
else
 
13149
      # Double quotes because CXXCPP needs to be expanded
 
13150
    for CXXCPP in "$CXX -E" "/lib/cpp"
 
13151
    do
 
13152
      ac_preproc_ok=false
 
13153
for ac_cxx_preproc_warn_flag in '' yes
 
13154
do
 
13155
  # Use a header file that comes with gcc, so configuring glibc
 
13156
  # with a fresh cross-compiler works.
 
13157
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
13158
  # <limits.h> exists even on freestanding compilers.
 
13159
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
13160
  # not just through cpp. "Syntax error" is here to catch this case.
 
13161
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13162
/* end confdefs.h.  */
 
13163
#ifdef __STDC__
 
13164
# include <limits.h>
 
13165
#else
 
13166
# include <assert.h>
 
13167
#endif
 
13168
                     Syntax error
 
13169
_ACEOF
 
13170
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
13171
 
 
13172
else
 
13173
  # Broken: fails on valid input.
 
13174
continue
 
13175
fi
 
13176
rm -f conftest.err conftest.i conftest.$ac_ext
 
13177
 
 
13178
  # OK, works on sane cases.  Now check whether nonexistent headers
 
13179
  # can be detected and how.
 
13180
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13181
/* end confdefs.h.  */
 
13182
#include <ac_nonexistent.h>
 
13183
_ACEOF
 
13184
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
13185
  # Broken: success on invalid input.
 
13186
continue
 
13187
else
 
13188
  # Passes both tests.
 
13189
ac_preproc_ok=:
 
13190
break
 
13191
fi
 
13192
rm -f conftest.err conftest.i conftest.$ac_ext
 
13193
 
 
13194
done
 
13195
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
13196
rm -f conftest.i conftest.err conftest.$ac_ext
 
13197
if $ac_preproc_ok; then :
 
13198
  break
 
13199
fi
 
13200
 
 
13201
    done
 
13202
    ac_cv_prog_CXXCPP=$CXXCPP
 
13203
 
 
13204
fi
 
13205
  CXXCPP=$ac_cv_prog_CXXCPP
 
13206
else
 
13207
  ac_cv_prog_CXXCPP=$CXXCPP
 
13208
fi
 
13209
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
 
13210
$as_echo "$CXXCPP" >&6; }
 
13211
ac_preproc_ok=false
 
13212
for ac_cxx_preproc_warn_flag in '' yes
 
13213
do
 
13214
  # Use a header file that comes with gcc, so configuring glibc
 
13215
  # with a fresh cross-compiler works.
 
13216
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
13217
  # <limits.h> exists even on freestanding compilers.
 
13218
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
13219
  # not just through cpp. "Syntax error" is here to catch this case.
 
13220
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13221
/* end confdefs.h.  */
 
13222
#ifdef __STDC__
 
13223
# include <limits.h>
 
13224
#else
 
13225
# include <assert.h>
 
13226
#endif
 
13227
                     Syntax error
 
13228
_ACEOF
 
13229
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
13230
 
 
13231
else
 
13232
  # Broken: fails on valid input.
 
13233
continue
 
13234
fi
 
13235
rm -f conftest.err conftest.i conftest.$ac_ext
 
13236
 
 
13237
  # OK, works on sane cases.  Now check whether nonexistent headers
 
13238
  # can be detected and how.
 
13239
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13240
/* end confdefs.h.  */
 
13241
#include <ac_nonexistent.h>
 
13242
_ACEOF
 
13243
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
13244
  # Broken: success on invalid input.
 
13245
continue
 
13246
else
 
13247
  # Passes both tests.
 
13248
ac_preproc_ok=:
 
13249
break
 
13250
fi
 
13251
rm -f conftest.err conftest.i conftest.$ac_ext
 
13252
 
 
13253
done
 
13254
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
13255
rm -f conftest.i conftest.err conftest.$ac_ext
 
13256
if $ac_preproc_ok; then :
 
13257
 
 
13258
else
 
13259
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
13260
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
13261
as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
 
13262
See \`config.log' for more details" "$LINENO" 5; }
 
13263
fi
 
13264
 
 
13265
ac_ext=c
 
13266
ac_cpp='$CPP $CPPFLAGS'
 
13267
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
13268
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
13269
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
13270
 
 
13271
else
 
13272
  _lt_caught_CXX_error=yes
 
13273
fi
12872
13274
 
12873
13275
ac_ext=cpp
12874
13276
ac_cpp='$CXXCPP $CPPFLAGS'
12895
13297
module_expsym_cmds_CXX=
12896
13298
link_all_deplibs_CXX=unknown
12897
13299
old_archive_cmds_CXX=$old_archive_cmds
 
13300
reload_flag_CXX=$reload_flag
 
13301
reload_cmds_CXX=$reload_cmds
12898
13302
no_undefined_flag_CXX=
12899
13303
whole_archive_flag_spec_CXX=
12900
13304
enable_shared_with_static_runtimes_CXX=no
12950
13354
 
12951
13355
  # Allow CC to be a program name with arguments.
12952
13356
  lt_save_CC=$CC
 
13357
  lt_save_CFLAGS=$CFLAGS
12953
13358
  lt_save_LD=$LD
12954
13359
  lt_save_GCC=$GCC
12955
13360
  GCC=$GXX
12967
13372
  fi
12968
13373
  test -z "${LDCXX+set}" || LD=$LDCXX
12969
13374
  CC=${CXX-"c++"}
 
13375
  CFLAGS=$CXXFLAGS
12970
13376
  compiler=$CC
12971
13377
  compiler_CXX=$CC
12972
13378
  for cc_temp in $compiler""; do
12977
13383
    *) break;;
12978
13384
  esac
12979
13385
done
12980
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
13386
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12981
13387
 
12982
13388
 
12983
13389
  if test -n "$compiler"; then
13040
13446
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13041
13447
$as_echo_n "checking for non-GNU ld... " >&6; }
13042
13448
fi
13043
 
if test "${lt_cv_path_LD+set}" = set; then :
 
13449
if ${lt_cv_path_LD+:} false; then :
13044
13450
  $as_echo_n "(cached) " >&6
13045
13451
else
13046
13452
  if test -z "$LD"; then
13080
13486
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13081
13487
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13082
13488
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13083
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
13489
if ${lt_cv_prog_gnu_ld+:} false; then :
13084
13490
  $as_echo_n "(cached) " >&6
13085
13491
else
13086
13492
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
13106
13512
      # Check if GNU C++ uses GNU ld as the underlying linker, since the
13107
13513
      # archiving commands below assume that GNU ld is being used.
13108
13514
      if test "$with_gnu_ld" = yes; then
13109
 
        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13110
 
        archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
13515
        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
13516
        archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13111
13517
 
13112
13518
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13113
13519
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13139
13545
      # Commands to make compiler produce verbose output that lists
13140
13546
      # what "hidden" libraries, object files and flags are used when
13141
13547
      # linking a shared library.
13142
 
      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
13548
      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13143
13549
 
13144
13550
    else
13145
13551
      GXX=no
13249
13655
          allow_undefined_flag_CXX='-berok'
13250
13656
          # Determine the default libpath from the value encoded in an empty
13251
13657
          # executable.
13252
 
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13658
          if test "${lt_cv_aix_libpath+set}" = set; then
 
13659
  aix_libpath=$lt_cv_aix_libpath
 
13660
else
 
13661
  if ${lt_cv_aix_libpath__CXX+:} false; then :
 
13662
  $as_echo_n "(cached) " >&6
 
13663
else
 
13664
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13253
13665
/* end confdefs.h.  */
13254
13666
 
13255
13667
int
13262
13674
_ACEOF
13263
13675
if ac_fn_cxx_try_link "$LINENO"; then :
13264
13676
 
13265
 
lt_aix_libpath_sed='
13266
 
    /Import File Strings/,/^$/ {
13267
 
        /^0/ {
13268
 
            s/^0  *\(.*\)$/\1/
13269
 
            p
13270
 
        }
13271
 
    }'
13272
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13273
 
# Check for a 64-bit object if we didn't find anything.
13274
 
if test -z "$aix_libpath"; then
13275
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13276
 
fi
 
13677
  lt_aix_libpath_sed='
 
13678
      /Import File Strings/,/^$/ {
 
13679
          /^0/ {
 
13680
              s/^0  *\([^ ]*\) *$/\1/
 
13681
              p
 
13682
          }
 
13683
      }'
 
13684
  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
13685
  # Check for a 64-bit object if we didn't find anything.
 
13686
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
13687
    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
13688
  fi
13277
13689
fi
13278
13690
rm -f core conftest.err conftest.$ac_objext \
13279
13691
    conftest$ac_exeext conftest.$ac_ext
13280
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
13692
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
13693
    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
 
13694
  fi
 
13695
 
 
13696
fi
 
13697
 
 
13698
  aix_libpath=$lt_cv_aix_libpath__CXX
 
13699
fi
13281
13700
 
13282
13701
          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13283
13702
 
13284
 
          archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
13703
          archive_expsym_cmds_CXX='$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"
13285
13704
        else
13286
13705
          if test "$host_cpu" = ia64; then
13287
13706
            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13290
13709
          else
13291
13710
            # Determine the default libpath from the value encoded in an
13292
13711
            # empty executable.
13293
 
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13712
            if test "${lt_cv_aix_libpath+set}" = set; then
 
13713
  aix_libpath=$lt_cv_aix_libpath
 
13714
else
 
13715
  if ${lt_cv_aix_libpath__CXX+:} false; then :
 
13716
  $as_echo_n "(cached) " >&6
 
13717
else
 
13718
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13294
13719
/* end confdefs.h.  */
13295
13720
 
13296
13721
int
13303
13728
_ACEOF
13304
13729
if ac_fn_cxx_try_link "$LINENO"; then :
13305
13730
 
13306
 
lt_aix_libpath_sed='
13307
 
    /Import File Strings/,/^$/ {
13308
 
        /^0/ {
13309
 
            s/^0  *\(.*\)$/\1/
13310
 
            p
13311
 
        }
13312
 
    }'
13313
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13314
 
# Check for a 64-bit object if we didn't find anything.
13315
 
if test -z "$aix_libpath"; then
13316
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13317
 
fi
 
13731
  lt_aix_libpath_sed='
 
13732
      /Import File Strings/,/^$/ {
 
13733
          /^0/ {
 
13734
              s/^0  *\([^ ]*\) *$/\1/
 
13735
              p
 
13736
          }
 
13737
      }'
 
13738
  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
13739
  # Check for a 64-bit object if we didn't find anything.
 
13740
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
13741
    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
13742
  fi
13318
13743
fi
13319
13744
rm -f core conftest.err conftest.$ac_objext \
13320
13745
    conftest$ac_exeext conftest.$ac_ext
13321
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
13746
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
13747
    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
 
13748
  fi
 
13749
 
 
13750
fi
 
13751
 
 
13752
  aix_libpath=$lt_cv_aix_libpath__CXX
 
13753
fi
13322
13754
 
13323
13755
            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13324
13756
            # Warning - without using the other run time loading flags,
13325
13757
            # -berok will link without error, but may produce a broken library.
13326
13758
            no_undefined_flag_CXX=' ${wl}-bernotok'
13327
13759
            allow_undefined_flag_CXX=' ${wl}-berok'
13328
 
            # Exported symbols can be pulled into shared objects from archives
13329
 
            whole_archive_flag_spec_CXX='$convenience'
 
13760
            if test "$with_gnu_ld" = yes; then
 
13761
              # We only use this code for GNU lds that support --whole-archive.
 
13762
              whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
13763
            else
 
13764
              # Exported symbols can be pulled into shared objects from archives
 
13765
              whole_archive_flag_spec_CXX='$convenience'
 
13766
            fi
13330
13767
            archive_cmds_need_lc_CXX=yes
13331
13768
            # This is similar to how AIX traditionally builds its shared
13332
13769
            # libraries.
13356
13793
        ;;
13357
13794
 
13358
13795
      cygwin* | mingw* | pw32* | cegcc*)
13359
 
        # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13360
 
        # as there is no search path for DLLs.
13361
 
        hardcode_libdir_flag_spec_CXX='-L$libdir'
13362
 
        allow_undefined_flag_CXX=unsupported
13363
 
        always_export_symbols_CXX=no
13364
 
        enable_shared_with_static_runtimes_CXX=yes
 
13796
        case $GXX,$cc_basename in
 
13797
        ,cl* | no,cl*)
 
13798
          # Native MSVC
 
13799
          # hardcode_libdir_flag_spec is actually meaningless, as there is
 
13800
          # no search path for DLLs.
 
13801
          hardcode_libdir_flag_spec_CXX=' '
 
13802
          allow_undefined_flag_CXX=unsupported
 
13803
          always_export_symbols_CXX=yes
 
13804
          file_list_spec_CXX='@'
 
13805
          # Tell ltmain to make .lib files, not .a files.
 
13806
          libext=lib
 
13807
          # Tell ltmain to make .dll files, not .so files.
 
13808
          shrext_cmds=".dll"
 
13809
          # FIXME: Setting linknames here is a bad hack.
 
13810
          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
13811
          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
13812
              $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
13813
            else
 
13814
              $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
13815
            fi~
 
13816
            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
13817
            linknames='
 
13818
          # The linker will not automatically build a static lib if we build a DLL.
 
13819
          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
 
13820
          enable_shared_with_static_runtimes_CXX=yes
 
13821
          # Don't use ranlib
 
13822
          old_postinstall_cmds_CXX='chmod 644 $oldlib'
 
13823
          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
 
13824
            lt_tool_outputfile="@TOOL_OUTPUT@"~
 
13825
            case $lt_outputfile in
 
13826
              *.exe|*.EXE) ;;
 
13827
              *)
 
13828
                lt_outputfile="$lt_outputfile.exe"
 
13829
                lt_tool_outputfile="$lt_tool_outputfile.exe"
 
13830
                ;;
 
13831
            esac~
 
13832
            func_to_tool_file "$lt_outputfile"~
 
13833
            if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
13834
              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
13835
              $RM "$lt_outputfile.manifest";
 
13836
            fi'
 
13837
          ;;
 
13838
        *)
 
13839
          # g++
 
13840
          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
 
13841
          # as there is no search path for DLLs.
 
13842
          hardcode_libdir_flag_spec_CXX='-L$libdir'
 
13843
          export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
 
13844
          allow_undefined_flag_CXX=unsupported
 
13845
          always_export_symbols_CXX=no
 
13846
          enable_shared_with_static_runtimes_CXX=yes
13365
13847
 
13366
 
        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13367
 
          archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13368
 
          # If the export-symbols file already is a .def file (1st line
13369
 
          # is EXPORTS), use it as is; otherwise, prepend...
13370
 
          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13371
 
            cp $export_symbols $output_objdir/$soname.def;
13372
 
          else
13373
 
            echo EXPORTS > $output_objdir/$soname.def;
13374
 
            cat $export_symbols >> $output_objdir/$soname.def;
13375
 
          fi~
13376
 
          $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13377
 
        else
13378
 
          ld_shlibs_CXX=no
13379
 
        fi
13380
 
        ;;
 
13848
          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
13849
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
13850
            # If the export-symbols file already is a .def file (1st line
 
13851
            # is EXPORTS), use it as is; otherwise, prepend...
 
13852
            archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
13853
              cp $export_symbols $output_objdir/$soname.def;
 
13854
            else
 
13855
              echo EXPORTS > $output_objdir/$soname.def;
 
13856
              cat $export_symbols >> $output_objdir/$soname.def;
 
13857
            fi~
 
13858
            $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
13859
          else
 
13860
            ld_shlibs_CXX=no
 
13861
          fi
 
13862
          ;;
 
13863
        esac
 
13864
        ;;
13381
13865
      darwin* | rhapsody*)
13382
13866
 
13383
13867
 
13385
13869
  hardcode_direct_CXX=no
13386
13870
  hardcode_automatic_CXX=yes
13387
13871
  hardcode_shlibpath_var_CXX=unsupported
13388
 
  whole_archive_flag_spec_CXX=''
 
13872
  if test "$lt_cv_ld_force_load" = "yes"; then
 
13873
    whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
 
13874
  else
 
13875
    whole_archive_flag_spec_CXX=''
 
13876
  fi
13389
13877
  link_all_deplibs_CXX=yes
13390
13878
  allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13391
13879
  case $cc_basename in
13393
13881
     *) _lt_dar_can_shared=$GCC ;;
13394
13882
  esac
13395
13883
  if test "$_lt_dar_can_shared" = "yes"; then
13396
 
    output_verbose_link_cmd=echo
 
13884
    output_verbose_link_cmd=func_echo_all
13397
13885
    archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
13398
13886
    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13399
13887
    archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
13446
13934
      gnu*)
13447
13935
        ;;
13448
13936
 
 
13937
      haiku*)
 
13938
        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
13939
        link_all_deplibs_CXX=yes
 
13940
        ;;
 
13941
 
13449
13942
      hpux9*)
13450
13943
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13451
13944
        hardcode_libdir_separator_CXX=:
13470
13963
            # explicitly linking system object files so we need to strip them
13471
13964
            # from the output so that they don't get included in the library
13472
13965
            # dependencies.
13473
 
            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
13966
            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13474
13967
            ;;
13475
13968
          *)
13476
13969
            if test "$GXX" = yes; then
13477
 
              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
13970
              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13478
13971
            else
13479
13972
              # FIXME: insert proper C++ library support
13480
13973
              ld_shlibs_CXX=no
13535
14028
            # explicitly linking system object files so we need to strip them
13536
14029
            # from the output so that they don't get included in the library
13537
14030
            # dependencies.
13538
 
            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
14031
            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13539
14032
            ;;
13540
14033
          *)
13541
14034
            if test "$GXX" = yes; then
13545
14038
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13546
14039
                    ;;
13547
14040
                  ia64*)
13548
 
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
14041
                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13549
14042
                    ;;
13550
14043
                  *)
13551
 
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
14044
                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13552
14045
                    ;;
13553
14046
                esac
13554
14047
              fi
13578
14071
        case $cc_basename in
13579
14072
          CC*)
13580
14073
            # SGI C++
13581
 
            archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
14074
            archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13582
14075
 
13583
14076
            # Archives containing C++ object files must be created using
13584
14077
            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
13589
14082
          *)
13590
14083
            if test "$GXX" = yes; then
13591
14084
              if test "$with_gnu_ld" = no; then
13592
 
                archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
14085
                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
13593
14086
              else
13594
 
                archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
 
14087
                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
13595
14088
              fi
13596
14089
            fi
13597
14090
            link_all_deplibs_CXX=yes
13620
14113
            # explicitly linking system object files so we need to strip them
13621
14114
            # from the output so that they don't get included in the library
13622
14115
            # dependencies.
13623
 
            output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
14116
            output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13624
14117
 
13625
14118
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13626
14119
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13657
14150
          pgCC* | pgcpp*)
13658
14151
            # Portland Group C++ compiler
13659
14152
            case `$CC -V` in
13660
 
            *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
 
14153
            *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13661
14154
              prelink_cmds_CXX='tpldir=Template.dir~
13662
14155
                rm -rf $tpldir~
13663
14156
                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13664
 
                compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
 
14157
                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13665
14158
              old_archive_cmds_CXX='tpldir=Template.dir~
13666
14159
                rm -rf $tpldir~
13667
14160
                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13668
 
                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
 
14161
                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13669
14162
                $RANLIB $oldlib'
13670
14163
              archive_cmds_CXX='tpldir=Template.dir~
13671
14164
                rm -rf $tpldir~
13672
14165
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13673
 
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
14166
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13674
14167
              archive_expsym_cmds_CXX='tpldir=Template.dir~
13675
14168
                rm -rf $tpldir~
13676
14169
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13677
 
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
 
14170
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13678
14171
              ;;
13679
 
            *) # Version 6 will use weak symbols
 
14172
            *) # Version 6 and above use weak symbols
13680
14173
              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13681
14174
              archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13682
14175
              ;;
13684
14177
 
13685
14178
            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13686
14179
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13687
 
            whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
14180
            whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13688
14181
            ;;
13689
14182
          cxx*)
13690
14183
            # Compaq C++
13703
14196
            # explicitly linking system object files so we need to strip them
13704
14197
            # from the output so that they don't get included in the library
13705
14198
            # dependencies.
13706
 
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
14199
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
13707
14200
            ;;
13708
 
          xl*)
 
14201
          xl* | mpixl* | bgxl*)
13709
14202
            # IBM XL 8.0 on PPC, with GNU ld
13710
14203
            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13711
14204
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13725
14218
              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13726
14219
              archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
13727
14220
              hardcode_libdir_flag_spec_CXX='-R$libdir'
13728
 
              whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
14221
              whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13729
14222
              compiler_needs_object_CXX=yes
13730
14223
 
13731
14224
              # Not sure whether something based on
13732
14225
              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13733
14226
              # would be better.
13734
 
              output_verbose_link_cmd='echo'
 
14227
              output_verbose_link_cmd='func_echo_all'
13735
14228
 
13736
14229
              # Archives containing C++ object files must be created using
13737
14230
              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13800
14293
            export_dynamic_flag_spec_CXX='${wl}-E'
13801
14294
            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13802
14295
          fi
13803
 
          output_verbose_link_cmd=echo
 
14296
          output_verbose_link_cmd=func_echo_all
13804
14297
        else
13805
14298
          ld_shlibs_CXX=no
13806
14299
        fi
13835
14328
            case $host in
13836
14329
              osf3*)
13837
14330
                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13838
 
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
14331
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13839
14332
                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13840
14333
                ;;
13841
14334
              *)
13842
14335
                allow_undefined_flag_CXX=' -expect_unresolved \*'
13843
 
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
14336
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13844
14337
                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13845
14338
                  echo "-hidden">> $lib.exp~
13846
 
                  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
 
14339
                  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
13847
14340
                  $RM $lib.exp'
13848
14341
                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13849
14342
                ;;
13859
14352
            # explicitly linking system object files so we need to strip them
13860
14353
            # from the output so that they don't get included in the library
13861
14354
            # dependencies.
13862
 
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
14355
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13863
14356
            ;;
13864
14357
          *)
13865
14358
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13866
14359
              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13867
14360
              case $host in
13868
14361
                osf3*)
13869
 
                  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
14362
                  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
13870
14363
                  ;;
13871
14364
                *)
13872
 
                  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
14365
                  archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
13873
14366
                  ;;
13874
14367
              esac
13875
14368
 
13879
14372
              # Commands to make compiler produce verbose output that lists
13880
14373
              # what "hidden" libraries, object files and flags are used when
13881
14374
              # linking a shared library.
13882
 
              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
14375
              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13883
14376
 
13884
14377
            else
13885
14378
              # FIXME: insert proper C++ library support
13915
14408
 
13916
14409
      solaris*)
13917
14410
        case $cc_basename in
13918
 
          CC*)
 
14411
          CC* | sunCC*)
13919
14412
            # Sun C++ 4.2, 5.x and Centerline C++
13920
14413
            archive_cmds_need_lc_CXX=yes
13921
14414
            no_undefined_flag_CXX=' -zdefs'
13936
14429
            esac
13937
14430
            link_all_deplibs_CXX=yes
13938
14431
 
13939
 
            output_verbose_link_cmd='echo'
 
14432
            output_verbose_link_cmd='func_echo_all'
13940
14433
 
13941
14434
            # Archives containing C++ object files must be created using
13942
14435
            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13956
14449
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13957
14450
              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13958
14451
              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13959
 
                archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
14452
                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13960
14453
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13961
 
                  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
14454
                  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13962
14455
 
13963
14456
                # Commands to make compiler produce verbose output that lists
13964
14457
                # what "hidden" libraries, object files and flags are used when
13965
14458
                # linking a shared library.
13966
 
                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
14459
                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13967
14460
              else
13968
14461
                # g++ 2.7 appears to require `-G' NOT `-shared' on this
13969
14462
                # platform.
13974
14467
                # Commands to make compiler produce verbose output that lists
13975
14468
                # what "hidden" libraries, object files and flags are used when
13976
14469
                # linking a shared library.
13977
 
                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
14470
                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13978
14471
              fi
13979
14472
 
13980
14473
              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14028
14521
          CC*)
14029
14522
            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14030
14523
            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
14524
            old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
 
14525
              '"$old_archive_cmds_CXX"
 
14526
            reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
 
14527
              '"$reload_cmds_CXX"
14031
14528
            ;;
14032
14529
          *)
14033
14530
            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14089
14586
};
14090
14587
_LT_EOF
14091
14588
 
 
14589
 
 
14590
_lt_libdeps_save_CFLAGS=$CFLAGS
 
14591
case "$CC $CFLAGS " in #(
 
14592
*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
 
14593
*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
 
14594
esac
 
14595
 
14092
14596
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14093
14597
  (eval $ac_compile) 2>&5
14094
14598
  ac_status=$?
14102
14606
  pre_test_object_deps_done=no
14103
14607
 
14104
14608
  for p in `eval "$output_verbose_link_cmd"`; do
14105
 
    case $p in
 
14609
    case ${prev}${p} in
14106
14610
 
14107
14611
    -L* | -R* | -l*)
14108
14612
       # Some compilers place space between "-{L,R}" and the path.
14111
14615
          test $p = "-R"; then
14112
14616
         prev=$p
14113
14617
         continue
14114
 
       else
14115
 
         prev=
14116
14618
       fi
14117
14619
 
 
14620
       # Expand the sysroot to ease extracting the directories later.
 
14621
       if test -z "$prev"; then
 
14622
         case $p in
 
14623
         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
 
14624
         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
 
14625
         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
 
14626
         esac
 
14627
       fi
 
14628
       case $p in
 
14629
       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
 
14630
       esac
14118
14631
       if test "$pre_test_object_deps_done" = no; then
14119
 
         case $p in
14120
 
         -L* | -R*)
 
14632
         case ${prev} in
 
14633
         -L | -R)
14121
14634
           # Internal compiler library paths should come after those
14122
14635
           # provided the user.  The postdeps already come after the
14123
14636
           # user supplied libs so there is no need to process them.
14137
14650
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14138
14651
         fi
14139
14652
       fi
 
14653
       prev=
14140
14654
       ;;
14141
14655
 
 
14656
    *.lto.$objext) ;; # Ignore GCC LTO objects
14142
14657
    *.$objext)
14143
14658
       # This assumes that the test object file only shows up
14144
14659
       # once in the compiler output.
14174
14689
fi
14175
14690
 
14176
14691
$RM -f confest.$objext
 
14692
CFLAGS=$_lt_libdeps_save_CFLAGS
14177
14693
 
14178
14694
# PORTME: override above test on systems where it is broken
14179
14695
case $host_os in
14209
14725
 
14210
14726
solaris*)
14211
14727
  case $cc_basename in
14212
 
  CC*)
 
14728
  CC* | sunCC*)
14213
14729
    # The more standards-conforming stlport4 library is
14214
14730
    # incompatible with the Cstd library. Avoid specifying
14215
14731
    # it if it's in CXXFLAGS. Ignore libCrun as
14274
14790
lt_prog_compiler_pic_CXX=
14275
14791
lt_prog_compiler_static_CXX=
14276
14792
 
14277
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14278
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14279
14793
 
14280
14794
  # C++ specific cases for pic, static, wl, etc.
14281
14795
  if test "$GXX" = yes; then
14325
14839
      # DJGPP does not support shared libraries at all
14326
14840
      lt_prog_compiler_pic_CXX=
14327
14841
      ;;
 
14842
    haiku*)
 
14843
      # PIC is the default for Haiku.
 
14844
      # The "-static" flag exists, but is broken.
 
14845
      lt_prog_compiler_static_CXX=
 
14846
      ;;
14328
14847
    interix[3-9]*)
14329
14848
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14330
14849
      # Instead, we relocate shared libraries at runtime.
14374
14893
          ;;
14375
14894
        esac
14376
14895
        ;;
 
14896
      mingw* | cygwin* | os2* | pw32* | cegcc*)
 
14897
        # This hack is so that the source file can tell whether it is being
 
14898
        # built for inclusion in a dll (and should export symbols for example).
 
14899
        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
 
14900
        ;;
14377
14901
      dgux*)
14378
14902
        case $cc_basename in
14379
14903
          ec++*)
14463
14987
            lt_prog_compiler_pic_CXX=
14464
14988
            lt_prog_compiler_static_CXX='-non_shared'
14465
14989
            ;;
14466
 
          xlc* | xlC*)
14467
 
            # IBM XL 8.0 on PPC
 
14990
          xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
 
14991
            # IBM XL 8.0, 9.0 on PPC and BlueGene
14468
14992
            lt_prog_compiler_wl_CXX='-Wl,'
14469
14993
            lt_prog_compiler_pic_CXX='-qpic'
14470
14994
            lt_prog_compiler_static_CXX='-qstaticlink'
14494
15018
            ;;
14495
15019
        esac
14496
15020
        ;;
14497
 
      netbsd* | netbsdelf*-gnu)
 
15021
      netbsd*)
14498
15022
        ;;
14499
15023
      *qnx* | *nto*)
14500
15024
        # QNX uses GNU C++, but need to define -shared option too, otherwise
14526
15050
        ;;
14527
15051
      solaris*)
14528
15052
        case $cc_basename in
14529
 
          CC*)
 
15053
          CC* | sunCC*)
14530
15054
            # Sun C++ 4.2, 5.x and Centerline C++
14531
15055
            lt_prog_compiler_pic_CXX='-KPIC'
14532
15056
            lt_prog_compiler_static_CXX='-Bstatic'
14591
15115
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14592
15116
    ;;
14593
15117
esac
14594
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14595
 
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14596
 
 
14597
 
 
 
15118
 
 
15119
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
15120
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
15121
if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
 
15122
  $as_echo_n "(cached) " >&6
 
15123
else
 
15124
  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
 
15125
fi
 
15126
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
 
15127
$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
 
15128
lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
14598
15129
 
14599
15130
#
14600
15131
# Check to make sure the PIC flag actually works.
14602
15133
if test -n "$lt_prog_compiler_pic_CXX"; then
14603
15134
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14604
15135
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14605
 
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
 
15136
if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14606
15137
  $as_echo_n "(cached) " >&6
14607
15138
else
14608
15139
  lt_cv_prog_compiler_pic_works_CXX=no
14618
15149
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14619
15150
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14620
15151
   -e 's:$: $lt_compiler_flag:'`
14621
 
   (eval echo "\"\$as_me:14621: $lt_compile\"" >&5)
 
15152
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14622
15153
   (eval "$lt_compile" 2>conftest.err)
14623
15154
   ac_status=$?
14624
15155
   cat conftest.err >&5
14625
 
   echo "$as_me:14625: \$? = $ac_status" >&5
 
15156
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14626
15157
   if (exit $ac_status) && test -s "$ac_outfile"; then
14627
15158
     # The compiler can only warn and ignore the option if not recognized
14628
15159
     # So say no if there are warnings other than the usual output.
14629
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
15160
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14630
15161
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14631
15162
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14632
15163
       lt_cv_prog_compiler_pic_works_CXX=yes
14652
15183
 
14653
15184
 
14654
15185
 
 
15186
 
 
15187
 
14655
15188
#
14656
15189
# Check to make sure the static flag actually works.
14657
15190
#
14658
15191
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14659
15192
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14660
15193
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14661
 
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
 
15194
if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14662
15195
  $as_echo_n "(cached) " >&6
14663
15196
else
14664
15197
  lt_cv_prog_compiler_static_works_CXX=no
14671
15204
     if test -s conftest.err; then
14672
15205
       # Append any errors to the config.log.
14673
15206
       cat conftest.err 1>&5
14674
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
15207
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14675
15208
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14676
15209
       if diff conftest.exp conftest.er2 >/dev/null; then
14677
15210
         lt_cv_prog_compiler_static_works_CXX=yes
14698
15231
 
14699
15232
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14700
15233
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14701
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
 
15234
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14702
15235
  $as_echo_n "(cached) " >&6
14703
15236
else
14704
15237
  lt_cv_prog_compiler_c_o_CXX=no
14717
15250
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14718
15251
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14719
15252
   -e 's:$: $lt_compiler_flag:'`
14720
 
   (eval echo "\"\$as_me:14720: $lt_compile\"" >&5)
 
15253
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14721
15254
   (eval "$lt_compile" 2>out/conftest.err)
14722
15255
   ac_status=$?
14723
15256
   cat out/conftest.err >&5
14724
 
   echo "$as_me:14724: \$? = $ac_status" >&5
 
15257
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14725
15258
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14726
15259
   then
14727
15260
     # The compiler can only warn and ignore the option if not recognized
14728
15261
     # So say no if there are warnings
14729
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
15262
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14730
15263
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14731
15264
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14732
15265
       lt_cv_prog_compiler_c_o_CXX=yes
14750
15283
 
14751
15284
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14752
15285
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14753
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
 
15286
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14754
15287
  $as_echo_n "(cached) " >&6
14755
15288
else
14756
15289
  lt_cv_prog_compiler_c_o_CXX=no
14769
15302
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14770
15303
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14771
15304
   -e 's:$: $lt_compiler_flag:'`
14772
 
   (eval echo "\"\$as_me:14772: $lt_compile\"" >&5)
 
15305
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14773
15306
   (eval "$lt_compile" 2>out/conftest.err)
14774
15307
   ac_status=$?
14775
15308
   cat out/conftest.err >&5
14776
 
   echo "$as_me:14776: \$? = $ac_status" >&5
 
15309
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14777
15310
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14778
15311
   then
14779
15312
     # The compiler can only warn and ignore the option if not recognized
14780
15313
     # So say no if there are warnings
14781
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
15314
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14782
15315
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14783
15316
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14784
15317
       lt_cv_prog_compiler_c_o_CXX=yes
14829
15362
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14830
15363
 
14831
15364
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
15365
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14832
15366
  case $host_os in
14833
15367
  aix[4-9]*)
14834
15368
    # If we're using GNU nm, then we don't want the "-C" option.
14835
15369
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
15370
    # Also, AIX nm treats weak defined symbols like other global defined
 
15371
    # symbols, whereas GNU nm marks them as "W".
14836
15372
    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14837
 
      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 
15373
      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14838
15374
    else
14839
15375
      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14840
15376
    fi
14841
15377
    ;;
14842
15378
  pw32*)
14843
15379
    export_symbols_cmds_CXX="$ltdll_cmds"
14844
 
  ;;
 
15380
    ;;
14845
15381
  cygwin* | mingw* | cegcc*)
14846
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14847
 
  ;;
14848
 
  linux* | k*bsd*-gnu)
14849
 
    link_all_deplibs_CXX=no
14850
 
  ;;
 
15382
    case $cc_basename in
 
15383
    cl*) ;;
 
15384
    *)
 
15385
      export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
 
15386
      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
 
15387
      ;;
 
15388
    esac
 
15389
    ;;
14851
15390
  *)
14852
15391
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14853
 
  ;;
 
15392
    ;;
14854
15393
  esac
14855
 
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14856
15394
 
14857
15395
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14858
15396
$as_echo "$ld_shlibs_CXX" >&6; }
14884
15422
      # to ld, don't add -lc before -lgcc.
14885
15423
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14886
15424
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14887
 
      $RM conftest*
14888
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
15425
if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
 
15426
  $as_echo_n "(cached) " >&6
 
15427
else
 
15428
  $RM conftest*
 
15429
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14889
15430
 
14890
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
15431
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14891
15432
  (eval $ac_compile) 2>&5
14892
15433
  ac_status=$?
14893
15434
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14894
15435
  test $ac_status = 0; } 2>conftest.err; then
14895
 
        soname=conftest
14896
 
        lib=conftest
14897
 
        libobjs=conftest.$ac_objext
14898
 
        deplibs=
14899
 
        wl=$lt_prog_compiler_wl_CXX
14900
 
        pic_flag=$lt_prog_compiler_pic_CXX
14901
 
        compiler_flags=-v
14902
 
        linker_flags=-v
14903
 
        verstring=
14904
 
        output_objdir=.
14905
 
        libname=conftest
14906
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14907
 
        allow_undefined_flag_CXX=
14908
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
15436
          soname=conftest
 
15437
          lib=conftest
 
15438
          libobjs=conftest.$ac_objext
 
15439
          deplibs=
 
15440
          wl=$lt_prog_compiler_wl_CXX
 
15441
          pic_flag=$lt_prog_compiler_pic_CXX
 
15442
          compiler_flags=-v
 
15443
          linker_flags=-v
 
15444
          verstring=
 
15445
          output_objdir=.
 
15446
          libname=conftest
 
15447
          lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
 
15448
          allow_undefined_flag_CXX=
 
15449
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14909
15450
  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14910
15451
  ac_status=$?
14911
15452
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14912
15453
  test $ac_status = 0; }
14913
 
        then
14914
 
          archive_cmds_need_lc_CXX=no
14915
 
        else
14916
 
          archive_cmds_need_lc_CXX=yes
14917
 
        fi
14918
 
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14919
 
      else
14920
 
        cat conftest.err 1>&5
14921
 
      fi
14922
 
      $RM conftest*
14923
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
14924
 
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
 
15454
          then
 
15455
            lt_cv_archive_cmds_need_lc_CXX=no
 
15456
          else
 
15457
            lt_cv_archive_cmds_need_lc_CXX=yes
 
15458
          fi
 
15459
          allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
 
15460
        else
 
15461
          cat conftest.err 1>&5
 
15462
        fi
 
15463
        $RM conftest*
 
15464
 
 
15465
fi
 
15466
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
 
15467
$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
 
15468
      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14925
15469
      ;;
14926
15470
    esac
14927
15471
  fi
15078
15622
  m68k)
15079
15623
    library_names_spec='$libname.ixlibrary $libname.a'
15080
15624
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
15081
 
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 
15625
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
15082
15626
    ;;
15083
15627
  esac
15084
15628
  ;;
15109
15653
  need_version=no
15110
15654
  need_lib_prefix=no
15111
15655
 
15112
 
  case $GCC,$host_os in
15113
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
15656
  case $GCC,$cc_basename in
 
15657
  yes,*)
 
15658
    # gcc
15114
15659
    library_names_spec='$libname.dll.a'
15115
15660
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
15116
15661
    postinstall_cmds='base_file=`basename \${file}`~
15131
15676
    cygwin*)
15132
15677
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15133
15678
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15134
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
15679
 
15135
15680
      ;;
15136
15681
    mingw* | cegcc*)
15137
15682
      # MinGW DLLs use traditional 'lib' prefix
15138
15683
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15139
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15140
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15141
 
        # It is most probably a Windows format PATH printed by
15142
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
15143
 
        # path with ; separators, and with drive letters. We can handle the
15144
 
        # drive letters (cygwin fileutils understands them), so leave them,
15145
 
        # especially as we might pass files found there to a mingw objdump,
15146
 
        # which wouldn't understand a cygwinified path. Ahh.
15147
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15148
 
      else
15149
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
15150
 
      fi
15151
15684
      ;;
15152
15685
    pw32*)
15153
15686
      # pw32 DLLs use 'pw' prefix rather than 'lib'
15154
15687
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15155
15688
      ;;
15156
15689
    esac
 
15690
    dynamic_linker='Win32 ld.exe'
 
15691
    ;;
 
15692
 
 
15693
  *,cl*)
 
15694
    # Native MSVC
 
15695
    libname_spec='$name'
 
15696
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
15697
    library_names_spec='${libname}.dll.lib'
 
15698
 
 
15699
    case $build_os in
 
15700
    mingw*)
 
15701
      sys_lib_search_path_spec=
 
15702
      lt_save_ifs=$IFS
 
15703
      IFS=';'
 
15704
      for lt_path in $LIB
 
15705
      do
 
15706
        IFS=$lt_save_ifs
 
15707
        # Let DOS variable expansion print the short 8.3 style file name.
 
15708
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
15709
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
15710
      done
 
15711
      IFS=$lt_save_ifs
 
15712
      # Convert to MSYS style.
 
15713
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
15714
      ;;
 
15715
    cygwin*)
 
15716
      # Convert to unix form, then to dos form, then back to unix form
 
15717
      # but this time dos style (no spaces!) so that the unix form looks
 
15718
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
15719
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
15720
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
15721
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
15722
      ;;
 
15723
    *)
 
15724
      sys_lib_search_path_spec="$LIB"
 
15725
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
15726
        # It is most probably a Windows format PATH.
 
15727
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
15728
      else
 
15729
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
15730
      fi
 
15731
      # FIXME: find the short name or the path components, as spaces are
 
15732
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
15733
      ;;
 
15734
    esac
 
15735
 
 
15736
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
15737
    postinstall_cmds='base_file=`basename \${file}`~
 
15738
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
15739
      dldir=$destdir/`dirname \$dlpath`~
 
15740
      test -d \$dldir || mkdir -p \$dldir~
 
15741
      $install_prog $dir/$dlname \$dldir/$dlname'
 
15742
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
15743
      dlpath=$dir/\$dldll~
 
15744
       $RM \$dlpath'
 
15745
    shlibpath_overrides_runpath=yes
 
15746
    dynamic_linker='Win32 link.exe'
15157
15747
    ;;
15158
15748
 
15159
15749
  *)
 
15750
    # Assume MSVC wrapper
15160
15751
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
15752
    dynamic_linker='Win32 ld.exe'
15161
15753
    ;;
15162
15754
  esac
15163
 
  dynamic_linker='Win32 ld.exe'
15164
15755
  # FIXME: first we should search . and the directory the executable is in
15165
15756
  shlibpath_var=PATH
15166
15757
  ;;
15246
15837
  hardcode_into_libs=yes
15247
15838
  ;;
15248
15839
 
 
15840
haiku*)
 
15841
  version_type=linux
 
15842
  need_lib_prefix=no
 
15843
  need_version=no
 
15844
  dynamic_linker="$host_os runtime_loader"
 
15845
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
15846
  soname_spec='${libname}${release}${shared_ext}$major'
 
15847
  shlibpath_var=LIBRARY_PATH
 
15848
  shlibpath_overrides_runpath=yes
 
15849
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 
15850
  hardcode_into_libs=yes
 
15851
  ;;
 
15852
 
15249
15853
hpux9* | hpux10* | hpux11*)
15250
15854
  # Give a soname corresponding to the major version so that dld.sl refuses to
15251
15855
  # link against other versions.
15288
15892
    soname_spec='${libname}${release}${shared_ext}$major'
15289
15893
    ;;
15290
15894
  esac
15291
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
15895
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15292
15896
  postinstall_cmds='chmod 555 $lib'
 
15897
  # or fails outright, so override atomically:
 
15898
  install_override_mode=555
15293
15899
  ;;
15294
15900
 
15295
15901
interix[3-9]*)
15356
15962
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15357
15963
  shlibpath_var=LD_LIBRARY_PATH
15358
15964
  shlibpath_overrides_runpath=no
 
15965
 
15359
15966
  # Some binutils ld are patched to set DT_RUNPATH
15360
 
  save_LDFLAGS=$LDFLAGS
15361
 
  save_libdir=$libdir
15362
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15363
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15364
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15967
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
15968
  $as_echo_n "(cached) " >&6
 
15969
else
 
15970
  lt_cv_shlibpath_overrides_runpath=no
 
15971
    save_LDFLAGS=$LDFLAGS
 
15972
    save_libdir=$libdir
 
15973
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
 
15974
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
 
15975
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15365
15976
/* end confdefs.h.  */
15366
15977
 
15367
15978
int
15374
15985
_ACEOF
15375
15986
if ac_fn_cxx_try_link "$LINENO"; then :
15376
15987
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15377
 
  shlibpath_overrides_runpath=yes
 
15988
  lt_cv_shlibpath_overrides_runpath=yes
15378
15989
fi
15379
15990
fi
15380
15991
rm -f core conftest.err conftest.$ac_objext \
15381
15992
    conftest$ac_exeext conftest.$ac_ext
15382
 
  LDFLAGS=$save_LDFLAGS
15383
 
  libdir=$save_libdir
 
15993
    LDFLAGS=$save_LDFLAGS
 
15994
    libdir=$save_libdir
 
15995
 
 
15996
fi
 
15997
 
 
15998
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15384
15999
 
15385
16000
  # This implies no fast_install, which is unacceptable.
15386
16001
  # Some rework will be needed to allow for fast_install
15387
16002
  # before this can be enabled.
15388
16003
  hardcode_into_libs=yes
15389
16004
 
 
16005
  # Add ABI-specific directories to the system library path.
 
16006
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
 
16007
 
15390
16008
  # Append ld.so.conf contents to the search path
15391
16009
  if test -f /etc/ld.so.conf; then
15392
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15393
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
16010
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
 
16011
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
 
16012
 
15394
16013
  fi
15395
16014
 
15396
16015
  # We used to test for /lib/ld.so.1 and disable shared libraries on
15402
16021
  dynamic_linker='GNU/Linux ld.so'
15403
16022
  ;;
15404
16023
 
15405
 
netbsdelf*-gnu)
15406
 
  version_type=linux
15407
 
  need_lib_prefix=no
15408
 
  need_version=no
15409
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15410
 
  soname_spec='${libname}${release}${shared_ext}$major'
15411
 
  shlibpath_var=LD_LIBRARY_PATH
15412
 
  shlibpath_overrides_runpath=no
15413
 
  hardcode_into_libs=yes
15414
 
  dynamic_linker='NetBSD ld.elf_so'
15415
 
  ;;
15416
 
 
15417
16024
netbsd*)
15418
16025
  version_type=sunos
15419
16026
  need_lib_prefix=no
15653
16260
 
15654
16261
 
15655
16262
 
 
16263
 
 
16264
 
15656
16265
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15657
16266
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15658
16267
hardcode_action_CXX=
15700
16309
  fi # test -n "$compiler"
15701
16310
 
15702
16311
  CC=$lt_save_CC
 
16312
  CFLAGS=$lt_save_CFLAGS
15703
16313
  LDCXX=$LD
15704
16314
  LD=$lt_save_LD
15705
16315
  GCC=$lt_save_GCC
15745
16355
set dummy pkg-config; ac_word=$2
15746
16356
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15747
16357
$as_echo_n "checking for $ac_word... " >&6; }
15748
 
if test "${ac_cv_prog_HAVE_PKG_CONFIG+set}" = set; then :
 
16358
if ${ac_cv_prog_HAVE_PKG_CONFIG+:} false; then :
15749
16359
  $as_echo_n "(cached) " >&6
15750
16360
else
15751
16361
  if test -n "$HAVE_PKG_CONFIG"; then
15803
16413
  have_x=disabled
15804
16414
else
15805
16415
  case $x_includes,$x_libraries in #(
15806
 
    *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
15807
 
    *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
 
16416
    *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
 
16417
    *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
15808
16418
  $as_echo_n "(cached) " >&6
15809
16419
else
15810
16420
  # One or both of the vars are not set, and there is no cached value.
16081
16691
else
16082
16692
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
16083
16693
$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
16084
 
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
 
16694
if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
16085
16695
  $as_echo_n "(cached) " >&6
16086
16696
else
16087
16697
  ac_check_lib_save_LIBS=$LIBS
16115
16725
fi
16116
16726
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
16117
16727
$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
16118
 
if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
 
16728
if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
16119
16729
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
16120
16730
fi
16121
16731
 
16122
16732
    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
16123
16733
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
16124
16734
$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
16125
 
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
 
16735
if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
16126
16736
  $as_echo_n "(cached) " >&6
16127
16737
else
16128
16738
  ac_check_lib_save_LIBS=$LIBS
16156
16766
fi
16157
16767
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
16158
16768
$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
16159
 
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
 
16769
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
16160
16770
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
16161
16771
fi
16162
16772
 
16175
16785
    # The functions gethostbyname, getservbyname, and inet_addr are
16176
16786
    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
16177
16787
    ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
16178
 
if test "x$ac_cv_func_gethostbyname" = x""yes; then :
 
16788
if test "x$ac_cv_func_gethostbyname" = xyes; then :
16179
16789
 
16180
16790
fi
16181
16791
 
16182
16792
    if test $ac_cv_func_gethostbyname = no; then
16183
16793
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
16184
16794
$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
16185
 
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
 
16795
if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
16186
16796
  $as_echo_n "(cached) " >&6
16187
16797
else
16188
16798
  ac_check_lib_save_LIBS=$LIBS
16216
16826
fi
16217
16827
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
16218
16828
$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
16219
 
if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
 
16829
if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
16220
16830
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
16221
16831
fi
16222
16832
 
16223
16833
      if test $ac_cv_lib_nsl_gethostbyname = no; then
16224
16834
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
16225
16835
$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
16226
 
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
 
16836
if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
16227
16837
  $as_echo_n "(cached) " >&6
16228
16838
else
16229
16839
  ac_check_lib_save_LIBS=$LIBS
16257
16867
fi
16258
16868
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
16259
16869
$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
16260
 
if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
 
16870
if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
16261
16871
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
16262
16872
fi
16263
16873
 
16272
16882
    # must be given before -lnsl if both are needed.  We assume that
16273
16883
    # if connect needs -lnsl, so does gethostbyname.
16274
16884
    ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
16275
 
if test "x$ac_cv_func_connect" = x""yes; then :
 
16885
if test "x$ac_cv_func_connect" = xyes; then :
16276
16886
 
16277
16887
fi
16278
16888
 
16279
16889
    if test $ac_cv_func_connect = no; then
16280
16890
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
16281
16891
$as_echo_n "checking for connect in -lsocket... " >&6; }
16282
 
if test "${ac_cv_lib_socket_connect+set}" = set; then :
 
16892
if ${ac_cv_lib_socket_connect+:} false; then :
16283
16893
  $as_echo_n "(cached) " >&6
16284
16894
else
16285
16895
  ac_check_lib_save_LIBS=$LIBS
16313
16923
fi
16314
16924
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
16315
16925
$as_echo "$ac_cv_lib_socket_connect" >&6; }
16316
 
if test "x$ac_cv_lib_socket_connect" = x""yes; then :
 
16926
if test "x$ac_cv_lib_socket_connect" = xyes; then :
16317
16927
  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
16318
16928
fi
16319
16929
 
16321
16931
 
16322
16932
    # Guillermo Gomez says -lposix is necessary on A/UX.
16323
16933
    ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
16324
 
if test "x$ac_cv_func_remove" = x""yes; then :
 
16934
if test "x$ac_cv_func_remove" = xyes; then :
16325
16935
 
16326
16936
fi
16327
16937
 
16328
16938
    if test $ac_cv_func_remove = no; then
16329
16939
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
16330
16940
$as_echo_n "checking for remove in -lposix... " >&6; }
16331
 
if test "${ac_cv_lib_posix_remove+set}" = set; then :
 
16941
if ${ac_cv_lib_posix_remove+:} false; then :
16332
16942
  $as_echo_n "(cached) " >&6
16333
16943
else
16334
16944
  ac_check_lib_save_LIBS=$LIBS
16362
16972
fi
16363
16973
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
16364
16974
$as_echo "$ac_cv_lib_posix_remove" >&6; }
16365
 
if test "x$ac_cv_lib_posix_remove" = x""yes; then :
 
16975
if test "x$ac_cv_lib_posix_remove" = xyes; then :
16366
16976
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
16367
16977
fi
16368
16978
 
16370
16980
 
16371
16981
    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
16372
16982
    ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
16373
 
if test "x$ac_cv_func_shmat" = x""yes; then :
 
16983
if test "x$ac_cv_func_shmat" = xyes; then :
16374
16984
 
16375
16985
fi
16376
16986
 
16377
16987
    if test $ac_cv_func_shmat = no; then
16378
16988
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
16379
16989
$as_echo_n "checking for shmat in -lipc... " >&6; }
16380
 
if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
 
16990
if ${ac_cv_lib_ipc_shmat+:} false; then :
16381
16991
  $as_echo_n "(cached) " >&6
16382
16992
else
16383
16993
  ac_check_lib_save_LIBS=$LIBS
16411
17021
fi
16412
17022
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
16413
17023
$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
16414
 
if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
 
17024
if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
16415
17025
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
16416
17026
fi
16417
17027
 
16429
17039
  # John Interrante, Karl Berry
16430
17040
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
16431
17041
$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
16432
 
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
 
17042
if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
16433
17043
  $as_echo_n "(cached) " >&6
16434
17044
else
16435
17045
  ac_check_lib_save_LIBS=$LIBS
16463
17073
fi
16464
17074
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
16465
17075
$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
16466
 
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
 
17076
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
16467
17077
  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
16468
17078
fi
16469
17079
 
16478
17088
# would fail to compile because it can't find libintl.h.
16479
17089
#
16480
17090
ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16481
 
if test "x$ac_cv_header_libintl_h" = x""yes; then :
 
17091
if test "x$ac_cv_header_libintl_h" = xyes; then :
16482
17092
 
16483
17093
else
16484
17094
  have_libintl=no
16489
17099
   unset ac_cv_header_libintl_h
16490
17100
   CPPFLAGS="$CPPFLAGS -I/usr/local/include"
16491
17101
   ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16492
 
if test "x$ac_cv_header_libintl_h" = x""yes; then :
 
17102
if test "x$ac_cv_header_libintl_h" = xyes; then :
16493
17103
 
16494
17104
else
16495
17105
  as_fn_error $? "libintl.h not found. Make sure you have the gettext headers installed." "$LINENO" 5
16525
17135
         CPPFLAGS="${CUSTOM_GLIB2_CPPFLAGS} $CPPFLAGS"
16526
17136
 
16527
17137
         ac_fn_c_check_header_mongrel "$LINENO" "glib.h" "ac_cv_header_glib_h" "$ac_includes_default"
16528
 
if test "x$ac_cv_header_glib_h" = x""yes; then :
 
17138
if test "x$ac_cv_header_glib_h" = xyes; then :
16529
17139
  ac_vmw_have_lib_header=1
16530
17140
fi
16531
17141
 
16548
17158
         as_ac_Lib=`$as_echo "ac_cv_lib_glib-2.0_$ac_vmw_function" | $as_tr_sh`
16549
17159
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_vmw_function in -lglib-2.0" >&5
16550
17160
$as_echo_n "checking for $ac_vmw_function in -lglib-2.0... " >&6; }
16551
 
if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
 
17161
if eval \${$as_ac_Lib+:} false; then :
16552
17162
  $as_echo_n "(cached) " >&6
16553
17163
else
16554
17164
  ac_check_lib_save_LIBS=$LIBS
16643
17253
set dummy ; ac_word=$2
16644
17254
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16645
17255
$as_echo_n "checking for $ac_word... " >&6; }
16646
 
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then :
 
17256
if ${ac_cv_path_ac_vmw_lib_cfg+:} false; then :
16647
17257
  $as_echo_n "(cached) " >&6
16648
17258
else
16649
17259
  case $ac_vmw_lib_cfg in
16731
17341
         CPPFLAGS="${CUSTOM_GMODULE_CPPFLAGS} $CPPFLAGS"
16732
17342
 
16733
17343
         ac_fn_c_check_header_mongrel "$LINENO" "" "ac_cv_header_" "$ac_includes_default"
16734
 
if test "x$ac_cv_header_" = x""yes; then :
 
17344
if test "x$ac_cv_header_" = xyes; then :
16735
17345
  ac_vmw_have_lib_header=1
16736
17346
fi
16737
17347
 
16754
17364
         as_ac_Lib=`$as_echo "ac_cv_lib_gmodule-2.0_$ac_vmw_function" | $as_tr_sh`
16755
17365
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_vmw_function in -lgmodule-2.0" >&5
16756
17366
$as_echo_n "checking for $ac_vmw_function in -lgmodule-2.0... " >&6; }
16757
 
if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
 
17367
if eval \${$as_ac_Lib+:} false; then :
16758
17368
  $as_echo_n "(cached) " >&6
16759
17369
else
16760
17370
  ac_check_lib_save_LIBS=$LIBS
16849
17459
set dummy ; ac_word=$2
16850
17460
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16851
17461
$as_echo_n "checking for $ac_word... " >&6; }
16852
 
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then :
 
17462
if ${ac_cv_path_ac_vmw_lib_cfg+:} false; then :
16853
17463
  $as_echo_n "(cached) " >&6
16854
17464
else
16855
17465
  case $ac_vmw_lib_cfg in
16937
17547
         CPPFLAGS="${CUSTOM_GOBJECT_CPPFLAGS} $CPPFLAGS"
16938
17548
 
16939
17549
         ac_fn_c_check_header_mongrel "$LINENO" "glib-object.h" "ac_cv_header_glib_object_h" "$ac_includes_default"
16940
 
if test "x$ac_cv_header_glib_object_h" = x""yes; then :
 
17550
if test "x$ac_cv_header_glib_object_h" = xyes; then :
16941
17551
  ac_vmw_have_lib_header=1
16942
17552
fi
16943
17553
 
16960
17570
         as_ac_Lib=`$as_echo "ac_cv_lib_gobject-2.0_$ac_vmw_function" | $as_tr_sh`
16961
17571
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_vmw_function in -lgobject-2.0" >&5
16962
17572
$as_echo_n "checking for $ac_vmw_function in -lgobject-2.0... " >&6; }
16963
 
if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
 
17573
if eval \${$as_ac_Lib+:} false; then :
16964
17574
  $as_echo_n "(cached) " >&6
16965
17575
else
16966
17576
  ac_check_lib_save_LIBS=$LIBS
17055
17665
set dummy ; ac_word=$2
17056
17666
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17057
17667
$as_echo_n "checking for $ac_word... " >&6; }
17058
 
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then :
 
17668
if ${ac_cv_path_ac_vmw_lib_cfg+:} false; then :
17059
17669
  $as_echo_n "(cached) " >&6
17060
17670
else
17061
17671
  case $ac_vmw_lib_cfg in
17143
17753
         CPPFLAGS="${CUSTOM_GTHREAD_CPPFLAGS} $CPPFLAGS"
17144
17754
 
17145
17755
         ac_fn_c_check_header_mongrel "$LINENO" "" "ac_cv_header_" "$ac_includes_default"
17146
 
if test "x$ac_cv_header_" = x""yes; then :
 
17756
if test "x$ac_cv_header_" = xyes; then :
17147
17757
  ac_vmw_have_lib_header=1
17148
17758
fi
17149
17759
 
17166
17776
         as_ac_Lib=`$as_echo "ac_cv_lib_gthread-2.0_$ac_vmw_function" | $as_tr_sh`
17167
17777
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_vmw_function in -lgthread-2.0" >&5
17168
17778
$as_echo_n "checking for $ac_vmw_function in -lgthread-2.0... " >&6; }
17169
 
if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
 
17779
if eval \${$as_ac_Lib+:} false; then :
17170
17780
  $as_echo_n "(cached) " >&6
17171
17781
else
17172
17782
  ac_check_lib_save_LIBS=$LIBS
17261
17871
set dummy ; ac_word=$2
17262
17872
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17263
17873
$as_echo_n "checking for $ac_word... " >&6; }
17264
 
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then :
 
17874
if ${ac_cv_path_ac_vmw_lib_cfg+:} false; then :
17265
17875
  $as_echo_n "(cached) " >&6
17266
17876
else
17267
17877
  case $ac_vmw_lib_cfg in
17329
17939
set dummy glib-genmarshal; ac_word=$2
17330
17940
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17331
17941
$as_echo_n "checking for $ac_word... " >&6; }
17332
 
if test "${ac_cv_prog_have_genmarshal+set}" = set; then :
 
17942
if ${ac_cv_prog_have_genmarshal+:} false; then :
17333
17943
  $as_echo_n "(cached) " >&6
17334
17944
else
17335
17945
  if test -n "$have_genmarshal"; then
17396
18006
         CPPFLAGS="${CUSTOM_GLIB2_CPPFLAGS} $CPPFLAGS"
17397
18007
 
17398
18008
         ac_fn_c_check_header_mongrel "$LINENO" "glib.h" "ac_cv_header_glib_h" "$ac_includes_default"
17399
 
if test "x$ac_cv_header_glib_h" = x""yes; then :
 
18009
if test "x$ac_cv_header_glib_h" = xyes; then :
17400
18010
  ac_vmw_have_lib_header=1
17401
18011
fi
17402
18012
 
17419
18029
         as_ac_Lib=`$as_echo "ac_cv_lib_glib-2.0_$ac_vmw_function" | $as_tr_sh`
17420
18030
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_vmw_function in -lglib-2.0" >&5
17421
18031
$as_echo_n "checking for $ac_vmw_function in -lglib-2.0... " >&6; }
17422
 
if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
 
18032
if eval \${$as_ac_Lib+:} false; then :
17423
18033
  $as_echo_n "(cached) " >&6
17424
18034
else
17425
18035
  ac_check_lib_save_LIBS=$LIBS
17514
18124
set dummy ; ac_word=$2
17515
18125
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17516
18126
$as_echo_n "checking for $ac_word... " >&6; }
17517
 
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then :
 
18127
if ${ac_cv_path_ac_vmw_lib_cfg+:} false; then :
17518
18128
  $as_echo_n "(cached) " >&6
17519
18129
else
17520
18130
  case $ac_vmw_lib_cfg in
17608
18218
         CPPFLAGS="${CUSTOM_FUSE_CPPFLAGS} $CPPFLAGS"
17609
18219
 
17610
18220
         ac_fn_c_check_header_mongrel "$LINENO" "fuse.h" "ac_cv_header_fuse_h" "$ac_includes_default"
17611
 
if test "x$ac_cv_header_fuse_h" = x""yes; then :
 
18221
if test "x$ac_cv_header_fuse_h" = xyes; then :
17612
18222
  ac_vmw_have_lib_header=1
17613
18223
fi
17614
18224
 
17631
18241
         as_ac_Lib=`$as_echo "ac_cv_lib_fuse_$ac_vmw_function" | $as_tr_sh`
17632
18242
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_vmw_function in -lfuse" >&5
17633
18243
$as_echo_n "checking for $ac_vmw_function in -lfuse... " >&6; }
17634
 
if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
 
18244
if eval \${$as_ac_Lib+:} false; then :
17635
18245
  $as_echo_n "(cached) " >&6
17636
18246
else
17637
18247
  ac_check_lib_save_LIBS=$LIBS
17726
18336
set dummy ; ac_word=$2
17727
18337
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17728
18338
$as_echo_n "checking for $ac_word... " >&6; }
17729
 
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then :
 
18339
if ${ac_cv_path_ac_vmw_lib_cfg+:} false; then :
17730
18340
  $as_echo_n "(cached) " >&6
17731
18341
else
17732
18342
  case $ac_vmw_lib_cfg in
17842
18452
         CPPFLAGS="${CUSTOM_PAM_CPPFLAGS} $CPPFLAGS"
17843
18453
 
17844
18454
         ac_fn_c_check_header_mongrel "$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
17845
 
if test "x$ac_cv_header_security_pam_appl_h" = x""yes; then :
 
18455
if test "x$ac_cv_header_security_pam_appl_h" = xyes; then :
17846
18456
  ac_vmw_have_lib_header=1
17847
18457
fi
17848
18458
 
17865
18475
         as_ac_Lib=`$as_echo "ac_cv_lib_pam_$ac_vmw_function" | $as_tr_sh`
17866
18476
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_vmw_function in -lpam" >&5
17867
18477
$as_echo_n "checking for $ac_vmw_function in -lpam... " >&6; }
17868
 
if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
 
18478
if eval \${$as_ac_Lib+:} false; then :
17869
18479
  $as_echo_n "(cached) " >&6
17870
18480
else
17871
18481
  ac_check_lib_save_LIBS=$LIBS
17960
18570
set dummy ; ac_word=$2
17961
18571
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17962
18572
$as_echo_n "checking for $ac_word... " >&6; }
17963
 
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then :
 
18573
if ${ac_cv_path_ac_vmw_lib_cfg+:} false; then :
17964
18574
  $as_echo_n "(cached) " >&6
17965
18575
else
17966
18576
  case $ac_vmw_lib_cfg in
18072
18682
         CPPFLAGS="${CUSTOM_CUNIT_CPPFLAGS} $CPPFLAGS"
18073
18683
 
18074
18684
         ac_fn_c_check_header_mongrel "$LINENO" "CUnit/CUnit.h" "ac_cv_header_CUnit_CUnit_h" "$ac_includes_default"
18075
 
if test "x$ac_cv_header_CUnit_CUnit_h" = x""yes; then :
 
18685
if test "x$ac_cv_header_CUnit_CUnit_h" = xyes; then :
18076
18686
  ac_vmw_have_lib_header=1
18077
18687
fi
18078
18688
 
18095
18705
         as_ac_Lib=`$as_echo "ac_cv_lib_cunit_$ac_vmw_function" | $as_tr_sh`
18096
18706
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_vmw_function in -lcunit" >&5
18097
18707
$as_echo_n "checking for $ac_vmw_function in -lcunit... " >&6; }
18098
 
if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
 
18708
if eval \${$as_ac_Lib+:} false; then :
18099
18709
  $as_echo_n "(cached) " >&6
18100
18710
else
18101
18711
  ac_check_lib_save_LIBS=$LIBS
18190
18800
set dummy ; ac_word=$2
18191
18801
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18192
18802
$as_echo_n "checking for $ac_word... " >&6; }
18193
 
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then :
 
18803
if ${ac_cv_path_ac_vmw_lib_cfg+:} false; then :
18194
18804
  $as_echo_n "(cached) " >&6
18195
18805
else
18196
18806
  case $ac_vmw_lib_cfg in
18281
18891
 
18282
18892
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XeviQueryVersion in -lXext" >&5
18283
18893
$as_echo_n "checking for XeviQueryVersion in -lXext... " >&6; }
18284
 
if test "${ac_cv_lib_Xext_XeviQueryVersion+set}" = set; then :
 
18894
if ${ac_cv_lib_Xext_XeviQueryVersion+:} false; then :
18285
18895
  $as_echo_n "(cached) " >&6
18286
18896
else
18287
18897
  ac_check_lib_save_LIBS=$LIBS
18315
18925
fi
18316
18926
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XeviQueryVersion" >&5
18317
18927
$as_echo "$ac_cv_lib_Xext_XeviQueryVersion" >&6; }
18318
 
if test "x$ac_cv_lib_Xext_XeviQueryVersion" = x""yes; then :
 
18928
if test "x$ac_cv_lib_Xext_XeviQueryVersion" = xyes; then :
18319
18929
  COMMON_XLIBS="-lXext $COMMON_XLIBS"
18320
18930
else
18321
18931
  as_fn_error $? "libXext not found. Please configure without X11 (using --without-x), or install the libXext devel package(s)." "$LINENO" 5
18325
18935
   ac_fn_c_check_header_compile "$LINENO" "X11/extensions/extutil.h" "ac_cv_header_X11_extensions_extutil_h" "#include <X11/Xlib.h>
18326
18936
       #include <X11/Xproto.h>
18327
18937
"
18328
 
if test "x$ac_cv_header_X11_extensions_extutil_h" = x""yes; then :
 
18938
if test "x$ac_cv_header_X11_extensions_extutil_h" = xyes; then :
18329
18939
 
18330
18940
else
18331
18941
  as_fn_error $? "X11/extensions/extutil.h header not found - you're probably on Solaris 10 or older. Please copy that header file onto your system manually, or configure without X11 (using --without-x)." "$LINENO" 5
18336
18946
   if test "$enable_multimon" != "no"; then
18337
18947
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryVersion in -lXinerama" >&5
18338
18948
$as_echo_n "checking for XineramaQueryVersion in -lXinerama... " >&6; }
18339
 
if test "${ac_cv_lib_Xinerama_XineramaQueryVersion+set}" = set; then :
 
18949
if ${ac_cv_lib_Xinerama_XineramaQueryVersion+:} false; then :
18340
18950
  $as_echo_n "(cached) " >&6
18341
18951
else
18342
18952
  ac_check_lib_save_LIBS=$LIBS
18370
18980
fi
18371
18981
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryVersion" >&5
18372
18982
$as_echo "$ac_cv_lib_Xinerama_XineramaQueryVersion" >&6; }
18373
 
if test "x$ac_cv_lib_Xinerama_XineramaQueryVersion" = x""yes; then :
 
18983
if test "x$ac_cv_lib_Xinerama_XineramaQueryVersion" = xyes; then :
18374
18984
  COMMON_XLIBS="-lXinerama $COMMON_XLIBS"
18375
18985
else
18376
18986
  as_fn_error $? "libXinerama not found. Please configure without multimon (using --disable-multimon), configure without X11 (using --without-x), or install the libXinerama devel package(s)." "$LINENO" 5
18380
18990
 
18381
18991
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XOpenDevice in -lXi" >&5
18382
18992
$as_echo_n "checking for XOpenDevice in -lXi... " >&6; }
18383
 
if test "${ac_cv_lib_Xi_XOpenDevice+set}" = set; then :
 
18993
if ${ac_cv_lib_Xi_XOpenDevice+:} false; then :
18384
18994
  $as_echo_n "(cached) " >&6
18385
18995
else
18386
18996
  ac_check_lib_save_LIBS=$LIBS
18414
19024
fi
18415
19025
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xi_XOpenDevice" >&5
18416
19026
$as_echo "$ac_cv_lib_Xi_XOpenDevice" >&6; }
18417
 
if test "x$ac_cv_lib_Xi_XOpenDevice" = x""yes; then :
 
19027
if test "x$ac_cv_lib_Xi_XOpenDevice" = xyes; then :
18418
19028
  COMMON_XLIBS="-lXi $COMMON_XLIBS"
18419
19029
else
18420
19030
  as_fn_error $? "libXi not found. Please configure without X11 (using --without-x), or install the libXi devel package(s)." "$LINENO" 5
18423
19033
 
18424
19034
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderQueryVersion in -lXrender" >&5
18425
19035
$as_echo_n "checking for XRenderQueryVersion in -lXrender... " >&6; }
18426
 
if test "${ac_cv_lib_Xrender_XRenderQueryVersion+set}" = set; then :
 
19036
if ${ac_cv_lib_Xrender_XRenderQueryVersion+:} false; then :
18427
19037
  $as_echo_n "(cached) " >&6
18428
19038
else
18429
19039
  ac_check_lib_save_LIBS=$LIBS
18457
19067
fi
18458
19068
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderQueryVersion" >&5
18459
19069
$as_echo "$ac_cv_lib_Xrender_XRenderQueryVersion" >&6; }
18460
 
if test "x$ac_cv_lib_Xrender_XRenderQueryVersion" = x""yes; then :
 
19070
if test "x$ac_cv_lib_Xrender_XRenderQueryVersion" = xyes; then :
18461
19071
  COMMON_XLIBS="-lXrender $COMMON_XLIBS"
18462
19072
else
18463
19073
  as_fn_error $? "libXrender not found. Please configure without X11 (using --without-x), or install the libXrender devel package(s)." "$LINENO" 5
18466
19076
 
18467
19077
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRRQueryVersion in -lXrandr" >&5
18468
19078
$as_echo_n "checking for XRRQueryVersion in -lXrandr... " >&6; }
18469
 
if test "${ac_cv_lib_Xrandr_XRRQueryVersion+set}" = set; then :
 
19079
if ${ac_cv_lib_Xrandr_XRRQueryVersion+:} false; then :
18470
19080
  $as_echo_n "(cached) " >&6
18471
19081
else
18472
19082
  ac_check_lib_save_LIBS=$LIBS
18500
19110
fi
18501
19111
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrandr_XRRQueryVersion" >&5
18502
19112
$as_echo "$ac_cv_lib_Xrandr_XRRQueryVersion" >&6; }
18503
 
if test "x$ac_cv_lib_Xrandr_XRRQueryVersion" = x""yes; then :
 
19113
if test "x$ac_cv_lib_Xrandr_XRRQueryVersion" = xyes; then :
18504
19114
  COMMON_XLIBS="-lXrandr $COMMON_XLIBS"
18505
19115
else
18506
19116
  as_fn_error $? "libXrandr not found. Please configure without X11 (using --without-x) or install the libXrandr devel package(s)." "$LINENO" 5
18509
19119
 
18510
19120
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTestQueryExtension in -lXtst" >&5
18511
19121
$as_echo_n "checking for XTestQueryExtension in -lXtst... " >&6; }
18512
 
if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then :
 
19122
if ${ac_cv_lib_Xtst_XTestQueryExtension+:} false; then :
18513
19123
  $as_echo_n "(cached) " >&6
18514
19124
else
18515
19125
  ac_check_lib_save_LIBS=$LIBS
18543
19153
fi
18544
19154
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
18545
19155
$as_echo "$ac_cv_lib_Xtst_XTestQueryExtension" >&6; }
18546
 
if test "x$ac_cv_lib_Xtst_XTestQueryExtension" = x""yes; then :
 
19156
if test "x$ac_cv_lib_Xtst_XTestQueryExtension" = xyes; then :
18547
19157
  COMMON_XLIBS="-lXtst $COMMON_XLIBS"
18548
19158
else
18549
19159
  as_fn_error $? "libXtst not found. Please configure without X11 (using --without-x) or install the libXtst devel package(s)." "$LINENO" 5
18552
19162
 
18553
19163
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
18554
19164
$as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
18555
 
if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then :
 
19165
if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
18556
19166
  $as_echo_n "(cached) " >&6
18557
19167
else
18558
19168
  ac_check_lib_save_LIBS=$LIBS
18586
19196
fi
18587
19197
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
18588
19198
$as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
18589
 
if test "x$ac_cv_lib_SM_SmcOpenConnection" = x""yes; then :
 
19199
if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
18590
19200
  XSM_LIBS="-lSM -lICE" && have_xsm_lib="yes"
18591
19201
else
18592
19202
 
18613
19223
 
18614
19224
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCompositeQueryExtension in -lXcomposite" >&5
18615
19225
$as_echo_n "checking for XCompositeQueryExtension in -lXcomposite... " >&6; }
18616
 
if test "${ac_cv_lib_Xcomposite_XCompositeQueryExtension+set}" = set; then :
 
19226
if ${ac_cv_lib_Xcomposite_XCompositeQueryExtension+:} false; then :
18617
19227
  $as_echo_n "(cached) " >&6
18618
19228
else
18619
19229
  ac_check_lib_save_LIBS=$LIBS
18647
19257
fi
18648
19258
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xcomposite_XCompositeQueryExtension" >&5
18649
19259
$as_echo "$ac_cv_lib_Xcomposite_XCompositeQueryExtension" >&6; }
18650
 
if test "x$ac_cv_lib_Xcomposite_XCompositeQueryExtension" = x""yes; then :
 
19260
if test "x$ac_cv_lib_Xcomposite_XCompositeQueryExtension" = xyes; then :
18651
19261
  XCOMPOSITE_LIBS="-lXcomposite"
18652
19262
else
18653
19263
  have_xcomposite="no"
18657
19267
   for ac_header in X11/extensions/Xcomposite.h
18658
19268
do :
18659
19269
  ac_fn_c_check_header_mongrel "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "$ac_includes_default"
18660
 
if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = x""yes; then :
 
19270
if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes; then :
18661
19271
  cat >>confdefs.h <<_ACEOF
18662
19272
#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1
18663
19273
_ACEOF
18700
19310
         CPPFLAGS="${CUSTOM_GTK_CPPFLAGS} $CPPFLAGS"
18701
19311
 
18702
19312
         ac_fn_c_check_header_mongrel "$LINENO" "gtk/gtk.h" "ac_cv_header_gtk_gtk_h" "$ac_includes_default"
18703
 
if test "x$ac_cv_header_gtk_gtk_h" = x""yes; then :
 
19313
if test "x$ac_cv_header_gtk_gtk_h" = xyes; then :
18704
19314
  ac_vmw_have_lib_header=1
18705
19315
fi
18706
19316
 
18723
19333
         as_ac_Lib=`$as_echo "ac_cv_lib_gtk-x11-2.0_$ac_vmw_function" | $as_tr_sh`
18724
19334
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_vmw_function in -lgtk-x11-2.0" >&5
18725
19335
$as_echo_n "checking for $ac_vmw_function in -lgtk-x11-2.0... " >&6; }
18726
 
if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
 
19336
if eval \${$as_ac_Lib+:} false; then :
18727
19337
  $as_echo_n "(cached) " >&6
18728
19338
else
18729
19339
  ac_check_lib_save_LIBS=$LIBS
18818
19428
set dummy ; ac_word=$2
18819
19429
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18820
19430
$as_echo_n "checking for $ac_word... " >&6; }
18821
 
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then :
 
19431
if ${ac_cv_path_ac_vmw_lib_cfg+:} false; then :
18822
19432
  $as_echo_n "(cached) " >&6
18823
19433
else
18824
19434
  case $ac_vmw_lib_cfg in
18923
19533
         CPPFLAGS="${CUSTOM_GTKMM_CPPFLAGS} $CPPFLAGS"
18924
19534
 
18925
19535
         ac_fn_cxx_check_header_mongrel "$LINENO" "gtkmm.h" "ac_cv_header_gtkmm_h" "$ac_includes_default"
18926
 
if test "x$ac_cv_header_gtkmm_h" = x""yes; then :
 
19536
if test "x$ac_cv_header_gtkmm_h" = xyes; then :
18927
19537
  ac_vmw_have_lib_header=1
18928
19538
fi
18929
19539
 
18946
19556
         as_ac_Lib=`$as_echo "ac_cv_lib_gtkmm-2.4_$ac_vmw_function" | $as_tr_sh`
18947
19557
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_vmw_function in -lgtkmm-2.4" >&5
18948
19558
$as_echo_n "checking for $ac_vmw_function in -lgtkmm-2.4... " >&6; }
18949
 
if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
 
19559
if eval \${$as_ac_Lib+:} false; then :
18950
19560
  $as_echo_n "(cached) " >&6
18951
19561
else
18952
19562
  ac_check_lib_save_LIBS=$LIBS
19041
19651
set dummy ; ac_word=$2
19042
19652
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19043
19653
$as_echo_n "checking for $ac_word... " >&6; }
19044
 
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then :
 
19654
if ${ac_cv_path_ac_vmw_lib_cfg+:} false; then :
19045
19655
  $as_echo_n "(cached) " >&6
19046
19656
else
19047
19657
  case $ac_vmw_lib_cfg in
19117
19727
 
19118
19728
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypt in -lcrypt" >&5
19119
19729
$as_echo_n "checking for crypt in -lcrypt... " >&6; }
19120
 
if test "${ac_cv_lib_crypt_crypt+set}" = set; then :
 
19730
if ${ac_cv_lib_crypt_crypt+:} false; then :
19121
19731
  $as_echo_n "(cached) " >&6
19122
19732
else
19123
19733
  ac_check_lib_save_LIBS=$LIBS
19151
19761
fi
19152
19762
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_crypt" >&5
19153
19763
$as_echo "$ac_cv_lib_crypt_crypt" >&6; }
19154
 
if test "x$ac_cv_lib_crypt_crypt" = x""yes; then :
 
19764
if test "x$ac_cv_lib_crypt_crypt" = xyes; then :
19155
19765
  HAVE_CRYPT="yes"
19156
19766
else
19157
19767
  as_fn_error $? "libcrypt not found. Please install the libc/libcrypt devel package(s)." "$LINENO" 5
19161
19771
for ac_func in dlopen
19162
19772
do :
19163
19773
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
19164
 
if test "x$ac_cv_func_dlopen" = x""yes; then :
 
19774
if test "x$ac_cv_func_dlopen" = xyes; then :
19165
19775
  cat >>confdefs.h <<_ACEOF
19166
19776
#define HAVE_DLOPEN 1
19167
19777
_ACEOF
19169
19779
else
19170
19780
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
19171
19781
$as_echo_n "checking for dlopen in -ldl... " >&6; }
19172
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
19782
if ${ac_cv_lib_dl_dlopen+:} false; then :
19173
19783
  $as_echo_n "(cached) " >&6
19174
19784
else
19175
19785
  ac_check_lib_save_LIBS=$LIBS
19203
19813
fi
19204
19814
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
19205
19815
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
19206
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
19816
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
19207
19817
  VIX_LIBADD="$VIX_LIBADD -ldl"
19208
19818
       LIBVMTOOLS_LIBADD="$LIBVMTOOLS_LIBADD -ldl"
19209
19819
else
19217
19827
for ac_func in ecvt
19218
19828
do :
19219
19829
  ac_fn_c_check_func "$LINENO" "ecvt" "ac_cv_func_ecvt"
19220
 
if test "x$ac_cv_func_ecvt" = x""yes; then :
 
19830
if test "x$ac_cv_func_ecvt" = xyes; then :
19221
19831
  cat >>confdefs.h <<_ACEOF
19222
19832
#define HAVE_ECVT 1
19223
19833
_ACEOF
19228
19838
for ac_func in fcvt
19229
19839
do :
19230
19840
  ac_fn_c_check_func "$LINENO" "fcvt" "ac_cv_func_fcvt"
19231
 
if test "x$ac_cv_func_fcvt" = x""yes; then :
 
19841
if test "x$ac_cv_func_fcvt" = xyes; then :
19232
19842
  cat >>confdefs.h <<_ACEOF
19233
19843
#define HAVE_FCVT 1
19234
19844
_ACEOF
19240
19850
if test "$os" = "freebsd" -a "$osVersion" -ge 600000; then
19241
19851
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lthr" >&5
19242
19852
$as_echo_n "checking for pthread_mutex_init in -lthr... " >&6; }
19243
 
if test "${ac_cv_lib_thr_pthread_mutex_init+set}" = set; then :
 
19853
if ${ac_cv_lib_thr_pthread_mutex_init+:} false; then :
19244
19854
  $as_echo_n "(cached) " >&6
19245
19855
else
19246
19856
  ac_check_lib_save_LIBS=$LIBS
19274
19884
fi
19275
19885
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_thr_pthread_mutex_init" >&5
19276
19886
$as_echo "$ac_cv_lib_thr_pthread_mutex_init" >&6; }
19277
 
if test "x$ac_cv_lib_thr_pthread_mutex_init" = x""yes; then :
 
19887
if test "x$ac_cv_lib_thr_pthread_mutex_init" = xyes; then :
19278
19888
  THREAD_LIB=-lthr
19279
19889
else
19280
19890
  as_fn_error $? "Unable to locate required threading library libthr." "$LINENO" 5
19283
19893
else
19284
19894
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lpthread" >&5
19285
19895
$as_echo_n "checking for pthread_mutex_init in -lpthread... " >&6; }
19286
 
if test "${ac_cv_lib_pthread_pthread_mutex_init+set}" = set; then :
 
19896
if ${ac_cv_lib_pthread_pthread_mutex_init+:} false; then :
19287
19897
  $as_echo_n "(cached) " >&6
19288
19898
else
19289
19899
  ac_check_lib_save_LIBS=$LIBS
19317
19927
fi
19318
19928
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
19319
19929
$as_echo "$ac_cv_lib_pthread_pthread_mutex_init" >&6; }
19320
 
if test "x$ac_cv_lib_pthread_pthread_mutex_init" = x""yes; then :
 
19930
if test "x$ac_cv_lib_pthread_pthread_mutex_init" = xyes; then :
19321
19931
  THREAD_LIB=-lpthread
19322
19932
else
19323
19933
  as_fn_error $? "libpthread not found. Please install the libc/libpthread devel package(s)." "$LINENO" 5
19391
20001
         CPPFLAGS="${CUSTOM_PROCPS_CPPFLAGS} $CPPFLAGS"
19392
20002
 
19393
20003
         ac_fn_c_check_header_mongrel "$LINENO" "" "ac_cv_header_" "$ac_includes_default"
19394
 
if test "x$ac_cv_header_" = x""yes; then :
 
20004
if test "x$ac_cv_header_" = xyes; then :
19395
20005
  ac_vmw_have_lib_header=1
19396
20006
fi
19397
20007
 
19414
20024
         as_ac_Lib=`$as_echo "ac_cv_lib_$CUSTOM_PROCPS_NAME''_$ac_vmw_function" | $as_tr_sh`
19415
20025
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_vmw_function in -l$CUSTOM_PROCPS_NAME" >&5
19416
20026
$as_echo_n "checking for $ac_vmw_function in -l$CUSTOM_PROCPS_NAME... " >&6; }
19417
 
if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
 
20027
if eval \${$as_ac_Lib+:} false; then :
19418
20028
  $as_echo_n "(cached) " >&6
19419
20029
else
19420
20030
  ac_check_lib_save_LIBS=$LIBS
19509
20119
set dummy ; ac_word=$2
19510
20120
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19511
20121
$as_echo_n "checking for $ac_word... " >&6; }
19512
 
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then :
 
20122
if ${ac_cv_path_ac_vmw_lib_cfg+:} false; then :
19513
20123
  $as_echo_n "(cached) " >&6
19514
20124
else
19515
20125
  case $ac_vmw_lib_cfg in
19601
20211
         CPPFLAGS="${CUSTOM_PROCPS_CPPFLAGS} $CPPFLAGS"
19602
20212
 
19603
20213
         ac_fn_c_check_header_mongrel "$LINENO" "" "ac_cv_header_" "$ac_includes_default"
19604
 
if test "x$ac_cv_header_" = x""yes; then :
 
20214
if test "x$ac_cv_header_" = xyes; then :
19605
20215
  ac_vmw_have_lib_header=1
19606
20216
fi
19607
20217
 
19624
20234
         as_ac_Lib=`$as_echo "ac_cv_lib_proc-3.2.8_$ac_vmw_function" | $as_tr_sh`
19625
20235
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_vmw_function in -lproc-3.2.8" >&5
19626
20236
$as_echo_n "checking for $ac_vmw_function in -lproc-3.2.8... " >&6; }
19627
 
if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
 
20237
if eval \${$as_ac_Lib+:} false; then :
19628
20238
  $as_echo_n "(cached) " >&6
19629
20239
else
19630
20240
  ac_check_lib_save_LIBS=$LIBS
19719
20329
set dummy ; ac_word=$2
19720
20330
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19721
20331
$as_echo_n "checking for $ac_word... " >&6; }
19722
 
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then :
 
20332
if ${ac_cv_path_ac_vmw_lib_cfg+:} false; then :
19723
20333
  $as_echo_n "(cached) " >&6
19724
20334
else
19725
20335
  case $ac_vmw_lib_cfg in
19812
20422
         CPPFLAGS="${CUSTOM_PROCPS_CPPFLAGS} $CPPFLAGS"
19813
20423
 
19814
20424
         ac_fn_c_check_header_mongrel "$LINENO" "" "ac_cv_header_" "$ac_includes_default"
19815
 
if test "x$ac_cv_header_" = x""yes; then :
 
20425
if test "x$ac_cv_header_" = xyes; then :
19816
20426
  ac_vmw_have_lib_header=1
19817
20427
fi
19818
20428
 
19835
20445
         as_ac_Lib=`$as_echo "ac_cv_lib_proc-3.2.7_$ac_vmw_function" | $as_tr_sh`
19836
20446
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_vmw_function in -lproc-3.2.7" >&5
19837
20447
$as_echo_n "checking for $ac_vmw_function in -lproc-3.2.7... " >&6; }
19838
 
if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
 
20448
if eval \${$as_ac_Lib+:} false; then :
19839
20449
  $as_echo_n "(cached) " >&6
19840
20450
else
19841
20451
  ac_check_lib_save_LIBS=$LIBS
19930
20540
set dummy ; ac_word=$2
19931
20541
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19932
20542
$as_echo_n "checking for $ac_word... " >&6; }
19933
 
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then :
 
20543
if ${ac_cv_path_ac_vmw_lib_cfg+:} false; then :
19934
20544
  $as_echo_n "(cached) " >&6
19935
20545
else
19936
20546
  case $ac_vmw_lib_cfg in
20041
20651
         CPPFLAGS="${CUSTOM_DNET_CPPFLAGS} $CPPFLAGS"
20042
20652
 
20043
20653
         ac_fn_c_check_header_mongrel "$LINENO" "dumbnet.h" "ac_cv_header_dumbnet_h" "$ac_includes_default"
20044
 
if test "x$ac_cv_header_dumbnet_h" = x""yes; then :
 
20654
if test "x$ac_cv_header_dumbnet_h" = xyes; then :
20045
20655
  ac_vmw_have_lib_header=1
20046
20656
fi
20047
20657
 
20064
20674
         as_ac_Lib=`$as_echo "ac_cv_lib_dumbnet_$ac_vmw_function" | $as_tr_sh`
20065
20675
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_vmw_function in -ldumbnet" >&5
20066
20676
$as_echo_n "checking for $ac_vmw_function in -ldumbnet... " >&6; }
20067
 
if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
 
20677
if eval \${$as_ac_Lib+:} false; then :
20068
20678
  $as_echo_n "(cached) " >&6
20069
20679
else
20070
20680
  ac_check_lib_save_LIBS=$LIBS
20159
20769
set dummy dumbnet-config; ac_word=$2
20160
20770
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20161
20771
$as_echo_n "checking for $ac_word... " >&6; }
20162
 
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then :
 
20772
if ${ac_cv_path_ac_vmw_lib_cfg+:} false; then :
20163
20773
  $as_echo_n "(cached) " >&6
20164
20774
else
20165
20775
  case $ac_vmw_lib_cfg in
20252
20862
         CPPFLAGS="${CUSTOM_DNET_CPPFLAGS} $CPPFLAGS"
20253
20863
 
20254
20864
         ac_fn_c_check_header_mongrel "$LINENO" "dnet.h" "ac_cv_header_dnet_h" "$ac_includes_default"
20255
 
if test "x$ac_cv_header_dnet_h" = x""yes; then :
 
20865
if test "x$ac_cv_header_dnet_h" = xyes; then :
20256
20866
  ac_vmw_have_lib_header=1
20257
20867
fi
20258
20868
 
20275
20885
         as_ac_Lib=`$as_echo "ac_cv_lib_dnet_$ac_vmw_function" | $as_tr_sh`
20276
20886
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_vmw_function in -ldnet" >&5
20277
20887
$as_echo_n "checking for $ac_vmw_function in -ldnet... " >&6; }
20278
 
if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
 
20888
if eval \${$as_ac_Lib+:} false; then :
20279
20889
  $as_echo_n "(cached) " >&6
20280
20890
else
20281
20891
  ac_check_lib_save_LIBS=$LIBS
20370
20980
set dummy dnet-config; ac_word=$2
20371
20981
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20372
20982
$as_echo_n "checking for $ac_word... " >&6; }
20373
 
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then :
 
20983
if ${ac_cv_path_ac_vmw_lib_cfg+:} false; then :
20374
20984
  $as_echo_n "(cached) " >&6
20375
20985
else
20376
20986
  case $ac_vmw_lib_cfg in
20462
21072
set dummy ${ac_tool_prefix}$CXX; ac_word=$2
20463
21073
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20464
21074
$as_echo_n "checking for $ac_word... " >&6; }
20465
 
if test "${ac_cv_prog_have_cxx+set}" = set; then :
 
21075
if ${ac_cv_prog_have_cxx+:} false; then :
20466
21076
  $as_echo_n "(cached) " >&6
20467
21077
else
20468
21078
  if test -n "$have_cxx"; then
20502
21112
set dummy $CXX; ac_word=$2
20503
21113
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20504
21114
$as_echo_n "checking for $ac_word... " >&6; }
20505
 
if test "${ac_cv_prog_ac_ct_have_cxx+set}" = set; then :
 
21115
if ${ac_cv_prog_ac_ct_have_cxx+:} false; then :
20506
21116
  $as_echo_n "(cached) " >&6
20507
21117
else
20508
21118
  if test -n "$ac_ct_have_cxx"; then
20587
21197
         CPPFLAGS="${CUSTOM_ICU_CPPFLAGS} $CPPFLAGS"
20588
21198
 
20589
21199
         ac_fn_cxx_check_header_mongrel "$LINENO" "unicode/utf.h" "ac_cv_header_unicode_utf_h" "$ac_includes_default"
20590
 
if test "x$ac_cv_header_unicode_utf_h" = x""yes; then :
 
21200
if test "x$ac_cv_header_unicode_utf_h" = xyes; then :
20591
21201
  ac_vmw_have_lib_header=1
20592
21202
fi
20593
21203
 
20610
21220
         as_ac_Lib=`$as_echo "ac_cv_lib_icuuc_$ac_vmw_function" | $as_tr_sh`
20611
21221
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_vmw_function in -licuuc" >&5
20612
21222
$as_echo_n "checking for $ac_vmw_function in -licuuc... " >&6; }
20613
 
if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
 
21223
if eval \${$as_ac_Lib+:} false; then :
20614
21224
  $as_echo_n "(cached) " >&6
20615
21225
else
20616
21226
  ac_check_lib_save_LIBS=$LIBS
20705
21315
set dummy icu-config; ac_word=$2
20706
21316
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20707
21317
$as_echo_n "checking for $ac_word... " >&6; }
20708
 
if test "${ac_cv_path_ac_vmw_lib_cfg+set}" = set; then :
 
21318
if ${ac_cv_path_ac_vmw_lib_cfg+:} false; then :
20709
21319
  $as_echo_n "(cached) " >&6
20710
21320
else
20711
21321
  case $ac_vmw_lib_cfg in
20830
21440
set dummy rpcgen; ac_word=$2
20831
21441
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20832
21442
$as_echo_n "checking for $ac_word... " >&6; }
20833
 
if test "${ac_cv_path_RPCGEN+set}" = set; then :
 
21443
if ${ac_cv_path_RPCGEN+:} false; then :
20834
21444
  $as_echo_n "(cached) " >&6
20835
21445
else
20836
21446
  case $RPCGEN in
20853
21463
  done
20854
21464
IFS=$as_save_IFS
20855
21465
 
20856
 
  test -z "$ac_cv_path_RPCGEN" && ac_cv_path_RPCGEN=" as_fn_error $? "rpcgen not found. Please install the libc devel package." "$LINENO" 5  "
 
21466
  test -z "$ac_cv_path_RPCGEN" && ac_cv_path_RPCGEN=" as_fn_error $? "rpcgen not found. Please install the libc devel package." "$LINENO" 5 "
20857
21467
  ;;
20858
21468
esac
20859
21469
fi
20875
21485
for ac_header in crypt.h
20876
21486
do :
20877
21487
  ac_fn_c_check_header_mongrel "$LINENO" "crypt.h" "ac_cv_header_crypt_h" "$ac_includes_default"
20878
 
if test "x$ac_cv_header_crypt_h" = x""yes; then :
 
21488
if test "x$ac_cv_header_crypt_h" = xyes; then :
20879
21489
  cat >>confdefs.h <<_ACEOF
20880
21490
#define HAVE_CRYPT_H 1
20881
21491
_ACEOF
20887
21497
for ac_header in inttypes.h
20888
21498
do :
20889
21499
  ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
20890
 
if test "x$ac_cv_header_inttypes_h" = x""yes; then :
 
21500
if test "x$ac_cv_header_inttypes_h" = xyes; then :
20891
21501
  cat >>confdefs.h <<_ACEOF
20892
21502
#define HAVE_INTTYPES_H 1
20893
21503
_ACEOF
20899
21509
for ac_header in stdint.h
20900
21510
do :
20901
21511
  ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
20902
 
if test "x$ac_cv_header_stdint_h" = x""yes; then :
 
21512
if test "x$ac_cv_header_stdint_h" = xyes; then :
20903
21513
  cat >>confdefs.h <<_ACEOF
20904
21514
#define HAVE_STDINT_H 1
20905
21515
_ACEOF
20911
21521
for ac_header in stdlib.h
20912
21522
do :
20913
21523
  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
20914
 
if test "x$ac_cv_header_stdlib_h" = x""yes; then :
 
21524
if test "x$ac_cv_header_stdlib_h" = xyes; then :
20915
21525
  cat >>confdefs.h <<_ACEOF
20916
21526
#define HAVE_STDLIB_H 1
20917
21527
_ACEOF
20923
21533
for ac_header in wchar.h
20924
21534
do :
20925
21535
  ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
20926
 
if test "x$ac_cv_header_wchar_h" = x""yes; then :
 
21536
if test "x$ac_cv_header_wchar_h" = xyes; then :
20927
21537
  cat >>confdefs.h <<_ACEOF
20928
21538
#define HAVE_WCHAR_H 1
20929
21539
_ACEOF
20935
21545
for ac_header in sys/inttypes.h
20936
21546
do :
20937
21547
  ac_fn_c_check_header_mongrel "$LINENO" "sys/inttypes.h" "ac_cv_header_sys_inttypes_h" "$ac_includes_default"
20938
 
if test "x$ac_cv_header_sys_inttypes_h" = x""yes; then :
 
21548
if test "x$ac_cv_header_sys_inttypes_h" = xyes; then :
20939
21549
  cat >>confdefs.h <<_ACEOF
20940
21550
#define HAVE_SYS_INTTYPES_H 1
20941
21551
_ACEOF
20947
21557
for ac_header in sys/io.h
20948
21558
do :
20949
21559
  ac_fn_c_check_header_mongrel "$LINENO" "sys/io.h" "ac_cv_header_sys_io_h" "$ac_includes_default"
20950
 
if test "x$ac_cv_header_sys_io_h" = x""yes; then :
 
21560
if test "x$ac_cv_header_sys_io_h" = xyes; then :
20951
21561
  cat >>confdefs.h <<_ACEOF
20952
21562
#define HAVE_SYS_IO_H 1
20953
21563
_ACEOF
20959
21569
for ac_header in sys/param.h
20960
21570
do :
20961
21571
  ac_fn_c_check_header_mongrel "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
20962
 
if test "x$ac_cv_header_sys_param_h" = x""yes; then :
 
21572
if test "x$ac_cv_header_sys_param_h" = xyes; then :
20963
21573
  cat >>confdefs.h <<_ACEOF
20964
21574
#define HAVE_SYS_PARAM_H 1
20965
21575
_ACEOF
20971
21581
for ac_header in sys/sysinfo.h
20972
21582
do :
20973
21583
  ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
20974
 
if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
 
21584
if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
20975
21585
  cat >>confdefs.h <<_ACEOF
20976
21586
#define HAVE_SYS_SYSINFO_H 1
20977
21587
_ACEOF
20983
21593
for ac_header in sys/types.h
20984
21594
do :
20985
21595
  ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
20986
 
if test "x$ac_cv_header_sys_types_h" = x""yes; then :
 
21596
if test "x$ac_cv_header_sys_types_h" = xyes; then :
20987
21597
  cat >>confdefs.h <<_ACEOF
20988
21598
#define HAVE_SYS_TYPES_H 1
20989
21599
_ACEOF
21000
21610
#endif
21001
21611
 
21002
21612
"
21003
 
if test "x$ac_cv_header_sys_user_h" = x""yes; then :
 
21613
if test "x$ac_cv_header_sys_user_h" = xyes; then :
21004
21614
  cat >>confdefs.h <<_ACEOF
21005
21615
#define HAVE_SYS_USER_H 1
21006
21616
_ACEOF
21012
21622
for ac_header in sys/vfs.h
21013
21623
do :
21014
21624
  ac_fn_c_check_header_mongrel "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "$ac_includes_default"
21015
 
if test "x$ac_cv_header_sys_vfs_h" = x""yes; then :
 
21625
if test "x$ac_cv_header_sys_vfs_h" = xyes; then :
21016
21626
  cat >>confdefs.h <<_ACEOF
21017
21627
#define HAVE_SYS_VFS_H 1
21018
21628
_ACEOF
21024
21634
for ac_header in syslimits.h
21025
21635
do :
21026
21636
  ac_fn_c_check_header_mongrel "$LINENO" "syslimits.h" "ac_cv_header_syslimits_h" "$ac_includes_default"
21027
 
if test "x$ac_cv_header_syslimits_h" = x""yes; then :
 
21637
if test "x$ac_cv_header_syslimits_h" = xyes; then :
21028
21638
  cat >>confdefs.h <<_ACEOF
21029
21639
#define HAVE_SYSLIMITS_H 1
21030
21640
_ACEOF
21036
21646
for ac_header in unwind.h
21037
21647
do :
21038
21648
  ac_fn_c_check_header_mongrel "$LINENO" "unwind.h" "ac_cv_header_unwind_h" "$ac_includes_default"
21039
 
if test "x$ac_cv_header_unwind_h" = x""yes; then :
 
21649
if test "x$ac_cv_header_unwind_h" = xyes; then :
21040
21650
  cat >>confdefs.h <<_ACEOF
21041
21651
#define HAVE_UNWIND_H 1
21042
21652
_ACEOF
21047
21657
 
21048
21658
 
21049
21659
ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
21050
 
if test "x$ac_cv_header_wchar_h" = x""yes; then :
 
21660
if test "x$ac_cv_header_wchar_h" = xyes; then :
21051
21661
  HAVE_WCHAR_H="yes"
21052
21662
else
21053
21663
  HAVE_WCHAR_H="no"
21058
21668
if test "$os" = "linux"; then
21059
21669
   # Make sure kernel-headers package is installed.
21060
21670
   ac_fn_c_check_header_mongrel "$LINENO" "linux/unistd.h" "ac_cv_header_linux_unistd_h" "$ac_includes_default"
21061
 
if test "x$ac_cv_header_linux_unistd_h" = x""yes; then :
 
21671
if test "x$ac_cv_header_linux_unistd_h" = xyes; then :
21062
21672
 
21063
21673
else
21064
21674
  as_fn_error $? "linux/unistd.h is not found. Please install kernel-headers/linux-userspace-headers/linux-libc-dev package." "$LINENO" 5
21071
21681
   ac_fn_c_check_header_compile "$LINENO" "X11/extensions/panoramiXproto.h" "ac_cv_header_X11_extensions_panoramiXproto_h" "#include <X11/X.h>
21072
21682
       #include <X11/Xmd.h>
21073
21683
"
21074
 
if test "x$ac_cv_header_X11_extensions_panoramiXproto_h" = x""yes; then :
 
21684
if test "x$ac_cv_header_X11_extensions_panoramiXproto_h" = xyes; then :
21075
21685
 
21076
21686
else
21077
21687
  as_fn_error $? "panoramiXproto.h not found. Please configure without multimon (using --disable-multimon) or install the libXinerama devel package(s)." "$LINENO" 5
21084
21694
if test "$os" = "linux"; then
21085
21695
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ecvt in -lc" >&5
21086
21696
$as_echo_n "checking for ecvt in -lc... " >&6; }
21087
 
if test "${ac_cv_lib_c_ecvt+set}" = set; then :
 
21697
if ${ac_cv_lib_c_ecvt+:} false; then :
21088
21698
  $as_echo_n "(cached) " >&6
21089
21699
else
21090
21700
  ac_check_lib_save_LIBS=$LIBS
21118
21728
fi
21119
21729
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_ecvt" >&5
21120
21730
$as_echo "$ac_cv_lib_c_ecvt" >&6; }
21121
 
if test "x$ac_cv_lib_c_ecvt" = x""yes; then :
 
21731
if test "x$ac_cv_lib_c_ecvt" = xyes; then :
21122
21732
  bsdPrintfWrappers=yes
21123
21733
fi
21124
21734
 
21129
21739
###
21130
21740
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
21131
21741
$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
21132
 
if test "${ac_cv_header_stdbool_h+set}" = set; then :
 
21742
if ${ac_cv_header_stdbool_h+:} false; then :
21133
21743
  $as_echo_n "(cached) " >&6
21134
21744
else
21135
21745
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21161
21771
        char b[false == 0 ? 1 : -1];
21162
21772
        char c[__bool_true_false_are_defined == 1 ? 1 : -1];
21163
21773
        char d[(bool) 0.5 == true ? 1 : -1];
21164
 
        bool e = &s;
 
21774
        /* See body of main program for 'e'.  */
21165
21775
        char f[(_Bool) 0.0 == false ? 1 : -1];
21166
21776
        char g[true];
21167
21777
        char h[sizeof (_Bool)];
21172
21782
        _Bool n[m];
21173
21783
        char o[sizeof n == m * sizeof n[0] ? 1 : -1];
21174
21784
        char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
21175
 
#       if defined __xlc__ || defined __GNUC__
21176
 
         /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
21177
 
            reported by James Lemley on 2005-10-05; see
21178
 
            http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
21179
 
            This test is not quite right, since xlc is allowed to
21180
 
            reject this program, as the initializer for xlcbug is
21181
 
            not one of the forms that C requires support for.
21182
 
            However, doing the test right would require a runtime
21183
 
            test, and that would make cross-compilation harder.
21184
 
            Let us hope that IBM fixes the xlc bug, and also adds
21185
 
            support for this kind of constant expression.  In the
21186
 
            meantime, this test will reject xlc, which is OK, since
21187
 
            our stdbool.h substitute should suffice.  We also test
21188
 
            this with GCC, where it should work, to detect more
21189
 
            quickly whether someone messes up the test in the
21190
 
            future.  */
21191
 
         char digs[] = "0123456789";
21192
 
         int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
21193
 
#       endif
21194
21785
        /* Catch a bug in an HP-UX C compiler.  See
21195
21786
           http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
21196
21787
           http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
21202
21793
main ()
21203
21794
{
21204
21795
 
 
21796
        bool e = &s;
21205
21797
        *pq |= q;
21206
21798
        *pq |= ! q;
21207
21799
        /* Refer to every declared value, to avoid compiler optimizations.  */
21222
21814
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
21223
21815
$as_echo "$ac_cv_header_stdbool_h" >&6; }
21224
21816
ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
21225
 
if test "x$ac_cv_type__Bool" = x""yes; then :
 
21817
if test "x$ac_cv_type__Bool" = xyes; then :
21226
21818
 
21227
21819
cat >>confdefs.h <<_ACEOF
21228
21820
#define HAVE__BOOL 1
21239
21831
 
21240
21832
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
21241
21833
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
21242
 
if test "${ac_cv_c_const+set}" = set; then :
 
21834
if ${ac_cv_c_const+:} false; then :
21243
21835
  $as_echo_n "(cached) " >&6
21244
21836
else
21245
21837
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21319
21911
 
21320
21912
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
21321
21913
$as_echo_n "checking for uid_t in sys/types.h... " >&6; }
21322
 
if test "${ac_cv_type_uid_t+set}" = set; then :
 
21914
if ${ac_cv_type_uid_t+:} false; then :
21323
21915
  $as_echo_n "(cached) " >&6
21324
21916
else
21325
21917
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21349
21941
 
21350
21942
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
21351
21943
$as_echo_n "checking for inline... " >&6; }
21352
 
if test "${ac_cv_c_inline+set}" = set; then :
 
21944
if ${ac_cv_c_inline+:} false; then :
21353
21945
  $as_echo_n "(cached) " >&6
21354
21946
else
21355
21947
  ac_cv_c_inline=no
21390
21982
esac
21391
21983
 
21392
21984
ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
21393
 
if test "x$ac_cv_type_mode_t" = x""yes; then :
 
21985
if test "x$ac_cv_type_mode_t" = xyes; then :
21394
21986
 
21395
21987
else
21396
21988
 
21401
21993
fi
21402
21994
 
21403
21995
ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
21404
 
if test "x$ac_cv_type_off_t" = x""yes; then :
 
21996
if test "x$ac_cv_type_off_t" = xyes; then :
21405
21997
 
21406
21998
else
21407
21999
 
21412
22004
fi
21413
22005
 
21414
22006
ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
21415
 
if test "x$ac_cv_type_pid_t" = x""yes; then :
 
22007
if test "x$ac_cv_type_pid_t" = xyes; then :
21416
22008
 
21417
22009
else
21418
22010
 
21423
22015
fi
21424
22016
 
21425
22017
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
21426
 
if test "x$ac_cv_type_size_t" = x""yes; then :
 
22018
if test "x$ac_cv_type_size_t" = xyes; then :
21427
22019
 
21428
22020
else
21429
22021
 
21434
22026
fi
21435
22027
 
21436
22028
ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
21437
 
if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then :
 
22029
if test "x$ac_cv_member_struct_stat_st_rdev" = xyes; then :
21438
22030
 
21439
22031
cat >>confdefs.h <<_ACEOF
21440
22032
#define HAVE_STRUCT_STAT_ST_RDEV 1
21445
22037
 
21446
22038
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
21447
22039
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
21448
 
if test "${ac_cv_header_time+set}" = set; then :
 
22040
if ${ac_cv_header_time+:} false; then :
21449
22041
  $as_echo_n "(cached) " >&6
21450
22042
else
21451
22043
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21480
22072
 
21481
22073
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
21482
22074
$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
21483
 
if test "${ac_cv_struct_tm+set}" = set; then :
 
22075
if ${ac_cv_struct_tm+:} false; then :
21484
22076
  $as_echo_n "(cached) " >&6
21485
22077
else
21486
22078
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21515
22107
 
21516
22108
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
21517
22109
$as_echo_n "checking for working volatile... " >&6; }
21518
 
if test "${ac_cv_c_volatile+set}" = set; then :
 
22110
if ${ac_cv_c_volatile+:} false; then :
21519
22111
  $as_echo_n "(cached) " >&6
21520
22112
else
21521
22113
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21661
22253
set dummy doxygen; ac_word=$2
21662
22254
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21663
22255
$as_echo_n "checking for $ac_word... " >&6; }
21664
 
if test "${ac_cv_prog_have_doxygen+set}" = set; then :
 
22256
if ${ac_cv_prog_have_doxygen+:} false; then :
21665
22257
  $as_echo_n "(cached) " >&6
21666
22258
else
21667
22259
  if test -n "$have_doxygen"; then
21703
22295
set dummy dot; ac_word=$2
21704
22296
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21705
22297
$as_echo_n "checking for $ac_word... " >&6; }
21706
 
if test "${ac_cv_path_DOT+set}" = set; then :
 
22298
if ${ac_cv_path_DOT+:} false; then :
21707
22299
  $as_echo_n "(cached) " >&6
21708
22300
else
21709
22301
  case $DOT in
21752
22344
set dummy mscgen; ac_word=$2
21753
22345
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21754
22346
$as_echo_n "checking for $ac_word... " >&6; }
21755
 
if test "${ac_cv_path_MSCGEN+set}" = set; then :
 
22347
if ${ac_cv_path_MSCGEN+:} false; then :
21756
22348
  $as_echo_n "(cached) " >&6
21757
22349
else
21758
22350
  case $MSCGEN in
21881
22473
   # vmxnet3 is built on Solaris 10 / 11 only if GLDv3 is installed.
21882
22474
   if test "$osVersion" -gt 510000; then
21883
22475
      ac_fn_c_check_header_mongrel "$LINENO" "sys/mac.h" "ac_cv_header_sys_mac_h" "$ac_includes_default"
21884
 
if test "x$ac_cv_header_sys_mac_h" = x""yes; then :
 
22476
if test "x$ac_cv_header_sys_mac_h" = xyes; then :
21885
22477
  MODULES="$MODULES vmxnet3"
21886
22478
else
21887
22479
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GLDv3 (sys/mac.h) is not installed, vmxnet3 will not be compiled." >&5
22246
22838
     :end' >>confcache
22247
22839
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22248
22840
  if test -w "$cache_file"; then
22249
 
    test "x$cache_file" != "x/dev/null" &&
 
22841
    if test "x$cache_file" != "x/dev/null"; then
22250
22842
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22251
22843
$as_echo "$as_me: updating cache $cache_file" >&6;}
22252
 
    cat confcache >$cache_file
 
22844
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
22845
        cat confcache >"$cache_file"
 
22846
      else
 
22847
        case $cache_file in #(
 
22848
        */* | ?:*)
 
22849
          mv -f confcache "$cache_file"$$ &&
 
22850
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
22851
        *)
 
22852
          mv -f confcache "$cache_file" ;;
 
22853
        esac
 
22854
      fi
 
22855
    fi
22253
22856
  else
22254
22857
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22255
22858
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22340
22943
  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
22341
22944
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22342
22945
fi
22343
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22344
 
  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
22345
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22346
 
fi
22347
22946
if test -z "${BUILD_HGFSMOUNTER_TRUE}" && test -z "${BUILD_HGFSMOUNTER_FALSE}"; then
22348
22947
  as_fn_error $? "conditional \"BUILD_HGFSMOUNTER\" was never defined.
22349
22948
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22429
23028
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22430
23029
fi
22431
23030
 
22432
 
: ${CONFIG_STATUS=./config.status}
 
23031
: "${CONFIG_STATUS=./config.status}"
22433
23032
ac_write_fail=0
22434
23033
ac_clean_files_save=$ac_clean_files
22435
23034
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22530
23129
IFS=" ""        $as_nl"
22531
23130
 
22532
23131
# Find who we are.  Look in the path if we contain no directory separator.
 
23132
as_myself=
22533
23133
case $0 in #((
22534
23134
  *[\\/]* ) as_myself=$0 ;;
22535
23135
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22836
23436
# report actual input values of CONFIG_FILES etc. instead of their
22837
23437
# values after options handling.
22838
23438
ac_log="
22839
 
This file was extended by open-vm-tools $as_me 2011.12.20, which was
22840
 
generated by GNU Autoconf 2.67.  Invocation command line was
 
23439
This file was extended by open-vm-tools $as_me 2012.03.13, which was
 
23440
generated by GNU Autoconf 2.68.  Invocation command line was
22841
23441
 
22842
23442
  CONFIG_FILES    = $CONFIG_FILES
22843
23443
  CONFIG_HEADERS  = $CONFIG_HEADERS
22893
23493
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22894
23494
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22895
23495
ac_cs_version="\\
22896
 
open-vm-tools config.status 2011.12.20
22897
 
configured by $0, generated by GNU Autoconf 2.67,
 
23496
open-vm-tools config.status 2012.03.13
 
23497
configured by $0, generated by GNU Autoconf 2.68,
22898
23498
  with options \\"\$ac_cs_config\\"
22899
23499
 
22900
23500
Copyright (C) 2010 Free Software Foundation, Inc.
23011
23611
sed_quote_subst='$sed_quote_subst'
23012
23612
double_quote_subst='$double_quote_subst'
23013
23613
delay_variable_subst='$delay_variable_subst'
23014
 
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
23015
 
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
23016
 
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
23017
 
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
23018
 
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
23019
 
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
23020
 
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
23021
 
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
23022
 
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
23023
 
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
23024
 
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
23025
 
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
23026
 
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
23027
 
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
23028
 
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
23029
 
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
23030
 
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
23031
 
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
23032
 
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
23033
 
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
23034
 
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
23035
 
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
23036
 
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
23037
 
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
23038
 
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
23039
 
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
23040
 
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
23041
 
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23042
 
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
23043
 
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
23044
 
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
23045
 
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
23046
 
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
23047
 
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
23048
 
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
23049
 
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23050
 
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23051
 
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23052
 
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
23053
 
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
23054
 
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
23055
 
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
23056
 
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
23057
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
23058
 
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
23059
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
23060
 
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
23061
 
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
23062
 
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
23063
 
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
23064
 
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
23065
 
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
23066
 
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
23067
 
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
23068
 
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
23069
 
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
23070
 
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
23071
 
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
23072
 
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
23073
 
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
23074
 
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
23075
 
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
23076
 
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23077
 
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23078
 
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
23079
 
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
23080
 
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
23081
 
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
23082
 
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
23083
 
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23084
 
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23085
 
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23086
 
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23087
 
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23088
 
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23089
 
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
23090
 
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
23091
 
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
23092
 
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
23093
 
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
23094
 
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
23095
 
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
23096
 
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
23097
 
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
23098
 
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
23099
 
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
23100
 
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
23101
 
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
23102
 
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
23103
 
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
23104
 
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23105
 
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
23106
 
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
23107
 
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23108
 
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
23109
 
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
23110
 
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
23111
 
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
23112
 
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
23113
 
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
23114
 
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
23115
 
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
23116
 
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
23117
 
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
23118
 
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
23119
 
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23120
 
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23121
 
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
23122
 
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
23123
 
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
23124
 
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
23125
 
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
23126
 
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
23127
 
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
23128
 
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
23129
 
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
23130
 
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
23131
 
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
23132
 
compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
23133
 
predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
23134
 
postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
23135
 
predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
23136
 
postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
23137
 
compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
23138
 
LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23139
 
old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23140
 
compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23141
 
GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23142
 
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23143
 
lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23144
 
lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23145
 
lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23146
 
lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23147
 
archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23148
 
enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23149
 
export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23150
 
whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23151
 
compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23152
 
old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23153
 
old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23154
 
archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23155
 
archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23156
 
module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23157
 
module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23158
 
with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23159
 
allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23160
 
no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23161
 
hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23162
 
hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23163
 
hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23164
 
hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23165
 
hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23166
 
hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23167
 
hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23168
 
hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23169
 
inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23170
 
link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23171
 
fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23172
 
always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23173
 
export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23174
 
exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23175
 
include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23176
 
prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23177
 
file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23178
 
hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23179
 
compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23180
 
predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23181
 
postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23182
 
predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23183
 
postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
23184
 
compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
23614
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
23615
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
23616
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
23617
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
23618
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
23619
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
23620
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
23621
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
23622
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
23623
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
23624
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
23625
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
23626
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
23627
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
23628
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
23629
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
23630
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
23631
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
23632
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
23633
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
23634
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
23635
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
23636
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
23637
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
23638
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
23639
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
23640
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
23641
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
23642
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 
23643
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
 
23644
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
23645
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
23646
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
23647
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
23648
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
23649
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 
23650
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 
23651
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 
23652
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
 
23653
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
23654
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
23655
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
 
23656
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
23657
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
23658
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
23659
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
23660
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
23661
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
23662
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
23663
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
23664
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
23665
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
23666
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
23667
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
23668
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
23669
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"`'
 
23670
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 
23671
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
 
23672
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
23673
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
23674
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
23675
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
23676
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
23677
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
23678
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
23679
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
23680
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
 
23681
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
23682
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
23683
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
23684
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
23685
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
23686
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
23687
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
23688
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
23689
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
23690
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
23691
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
23692
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
23693
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
23694
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
23695
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
23696
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
23697
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
23698
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
23699
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
23700
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
23701
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
23702
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
23703
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
23704
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
 
23705
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
23706
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
23707
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
23708
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
23709
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
23710
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
23711
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
23712
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
23713
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
23714
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
23715
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
23716
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
23717
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
23718
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
 
23719
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
23720
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
23721
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
23722
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
23723
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
23724
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
23725
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
23726
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
23727
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
23728
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
23729
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
23730
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
23731
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
23732
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
23733
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
23734
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
23735
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
23736
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
23737
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
23738
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
23739
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
23740
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
23741
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
23742
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
23743
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
 
23744
compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
 
23745
predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
 
23746
postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
 
23747
predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
 
23748
postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
 
23749
compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
 
23750
LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
 
23751
reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
 
23752
reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
23753
old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
23754
compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
 
23755
GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
 
23756
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
 
23757
lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
 
23758
lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
 
23759
lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
 
23760
lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
 
23761
archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
 
23762
enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
 
23763
export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
 
23764
whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
 
23765
compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
 
23766
old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
23767
old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
23768
archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
23769
archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
23770
module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
23771
module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
23772
with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
 
23773
allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
 
23774
no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
 
23775
hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
 
23776
hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
 
23777
hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
 
23778
hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
 
23779
hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
 
23780
hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
 
23781
hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
 
23782
hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
 
23783
inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
 
23784
link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
 
23785
always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
 
23786
export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
23787
exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
 
23788
include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
 
23789
prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
23790
postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
23791
file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
 
23792
hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
 
23793
compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
 
23794
predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
 
23795
postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
 
23796
predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
 
23797
postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
 
23798
compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
23185
23799
 
23186
23800
LTCC='$LTCC'
23187
23801
LTCFLAGS='$LTCFLAGS'
23188
23802
compiler='$compiler_DEFAULT'
23189
23803
 
 
23804
# A function that is used when there is no print builtin or printf.
 
23805
func_fallback_echo ()
 
23806
{
 
23807
  eval 'cat <<_LTECHO_EOF
 
23808
\$1
 
23809
_LTECHO_EOF'
 
23810
}
 
23811
 
23190
23812
# Quote evaled strings.
23191
 
for var in SED \
 
23813
for var in SHELL \
 
23814
ECHO \
 
23815
SED \
23192
23816
GREP \
23193
23817
EGREP \
23194
23818
FGREP \
23201
23825
OBJDUMP \
23202
23826
deplibs_check_method \
23203
23827
file_magic_cmd \
 
23828
file_magic_glob \
 
23829
want_nocaseglob \
 
23830
DLLTOOL \
 
23831
sharedlib_from_linklib_cmd \
23204
23832
AR \
23205
23833
AR_FLAGS \
 
23834
archiver_list_spec \
23206
23835
STRIP \
23207
23836
RANLIB \
23208
23837
CC \
23212
23841
lt_cv_sys_global_symbol_to_cdecl \
23213
23842
lt_cv_sys_global_symbol_to_c_name_address \
23214
23843
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
23215
 
SHELL \
23216
 
ECHO \
 
23844
nm_file_list_spec \
23217
23845
lt_prog_compiler_no_builtin_flag \
 
23846
lt_prog_compiler_pic \
23218
23847
lt_prog_compiler_wl \
23219
 
lt_prog_compiler_pic \
23220
23848
lt_prog_compiler_static \
23221
23849
lt_cv_prog_compiler_c_o \
23222
23850
need_locks \
 
23851
MANIFEST_TOOL \
23223
23852
DSYMUTIL \
23224
23853
NMEDIT \
23225
23854
LIPO \
23235
23864
hardcode_libdir_flag_spec \
23236
23865
hardcode_libdir_flag_spec_ld \
23237
23866
hardcode_libdir_separator \
23238
 
fix_srcfile_path \
23239
23867
exclude_expsyms \
23240
23868
include_expsyms \
23241
23869
file_list_spec \
23243
23871
libname_spec \
23244
23872
library_names_spec \
23245
23873
soname_spec \
 
23874
install_override_mode \
23246
23875
finish_eval \
23247
23876
old_striplib \
23248
23877
striplib \
23253
23882
postdeps \
23254
23883
compiler_lib_search_path \
23255
23884
LD_CXX \
 
23885
reload_flag_CXX \
23256
23886
compiler_CXX \
23257
23887
lt_prog_compiler_no_builtin_flag_CXX \
 
23888
lt_prog_compiler_pic_CXX \
23258
23889
lt_prog_compiler_wl_CXX \
23259
 
lt_prog_compiler_pic_CXX \
23260
23890
lt_prog_compiler_static_CXX \
23261
23891
lt_cv_prog_compiler_c_o_CXX \
23262
23892
export_dynamic_flag_spec_CXX \
23268
23898
hardcode_libdir_flag_spec_CXX \
23269
23899
hardcode_libdir_flag_spec_ld_CXX \
23270
23900
hardcode_libdir_separator_CXX \
23271
 
fix_srcfile_path_CXX \
23272
23901
exclude_expsyms_CXX \
23273
23902
include_expsyms_CXX \
23274
23903
file_list_spec_CXX \
23278
23907
predeps_CXX \
23279
23908
postdeps_CXX \
23280
23909
compiler_lib_search_path_CXX; do
23281
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
23910
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
23282
23911
    *[\\\\\\\`\\"\\\$]*)
23283
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
23912
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
23284
23913
      ;;
23285
23914
    *)
23286
23915
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23302
23931
module_expsym_cmds \
23303
23932
export_symbols_cmds \
23304
23933
prelink_cmds \
 
23934
postlink_cmds \
23305
23935
postinstall_cmds \
23306
23936
postuninstall_cmds \
23307
23937
finish_cmds \
23308
23938
sys_lib_search_path_spec \
23309
23939
sys_lib_dlsearch_path_spec \
 
23940
reload_cmds_CXX \
23310
23941
old_archive_cmds_CXX \
23311
23942
old_archive_from_new_cmds_CXX \
23312
23943
old_archive_from_expsyms_cmds_CXX \
23315
23946
module_cmds_CXX \
23316
23947
module_expsym_cmds_CXX \
23317
23948
export_symbols_cmds_CXX \
23318
 
prelink_cmds_CXX; do
23319
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
23949
prelink_cmds_CXX \
 
23950
postlink_cmds_CXX; do
 
23951
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
23320
23952
    *[\\\\\\\`\\"\\\$]*)
23321
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
23953
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
23322
23954
      ;;
23323
23955
    *)
23324
23956
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23326
23958
    esac
23327
23959
done
23328
23960
 
23329
 
# Fix-up fallback echo if it was mangled by the above quoting rules.
23330
 
case \$lt_ECHO in
23331
 
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
23332
 
  ;;
23333
 
esac
23334
 
 
23335
23961
ac_aux_dir='$ac_aux_dir'
23336
23962
xsi_shell='$xsi_shell'
23337
23963
lt_shell_append='$lt_shell_append'
23444
24070
    "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
23445
24071
    "scripts/build/rpcgen_wrapper.sh") CONFIG_FILES="$CONFIG_FILES scripts/build/rpcgen_wrapper.sh" ;;
23446
24072
 
23447
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
 
24073
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23448
24074
  esac
23449
24075
done
23450
24076
 
23466
24092
# after its creation but before its name has been assigned to `$tmp'.
23467
24093
$debug ||
23468
24094
{
23469
 
  tmp=
 
24095
  tmp= ac_tmp=
23470
24096
  trap 'exit_status=$?
23471
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
24097
  : "${ac_tmp:=$tmp}"
 
24098
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23472
24099
' 0
23473
24100
  trap 'as_fn_exit 1' 1 2 13 15
23474
24101
}
23476
24103
 
23477
24104
{
23478
24105
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23479
 
  test -n "$tmp" && test -d "$tmp"
 
24106
  test -d "$tmp"
23480
24107
}  ||
23481
24108
{
23482
24109
  tmp=./conf$$-$RANDOM
23483
24110
  (umask 077 && mkdir "$tmp")
23484
24111
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
24112
ac_tmp=$tmp
23485
24113
 
23486
24114
# Set up the scripts for CONFIG_FILES section.
23487
24115
# No need to generate them if there are no CONFIG_FILES.
23503
24131
  ac_cs_awk_cr=$ac_cr
23504
24132
fi
23505
24133
 
23506
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
24134
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
23507
24135
_ACEOF
23508
24136
 
23509
24137
 
23531
24159
rm -f conf$$subs.sh
23532
24160
 
23533
24161
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23534
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
24162
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
23535
24163
_ACEOF
23536
24164
sed -n '
23537
24165
h
23579
24207
rm -f conf$$subs.awk
23580
24208
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23581
24209
_ACAWK
23582
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
24210
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
23583
24211
  for (key in S) S_is_set[key] = 1
23584
24212
  FS = ""
23585
24213
 
23611
24239
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
23612
24240
else
23613
24241
  cat
23614
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
24242
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
23615
24243
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
23616
24244
_ACEOF
23617
24245
 
23651
24279
  esac
23652
24280
  case $ac_mode$ac_tag in
23653
24281
  :[FHL]*:*);;
23654
 
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
 
24282
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23655
24283
  :[FH]-) ac_tag=-:-;;
23656
24284
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23657
24285
  esac
23670
24298
    for ac_f
23671
24299
    do
23672
24300
      case $ac_f in
23673
 
      -) ac_f="$tmp/stdin";;
 
24301
      -) ac_f="$ac_tmp/stdin";;
23674
24302
      *) # Look for the file first in the build tree, then in the source tree
23675
24303
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
23676
24304
         # because $ac_f cannot contain `:'.
23679
24307
           [\\/$]*) false;;
23680
24308
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23681
24309
           esac ||
23682
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
 
24310
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23683
24311
      esac
23684
24312
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23685
24313
      as_fn_append ac_file_inputs " '$ac_f'"
23705
24333
    esac
23706
24334
 
23707
24335
    case $ac_tag in
23708
 
    *:-:* | *:-) cat >"$tmp/stdin" \
23709
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
 
24336
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
24337
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23710
24338
    esac
23711
24339
    ;;
23712
24340
  esac
23842
24470
s&@MKDIR_P@&$ac_MKDIR_P&;t t
23843
24471
$ac_datarootdir_hack
23844
24472
"
23845
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
23846
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
24473
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
24474
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23847
24475
 
23848
24476
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23849
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
23850
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
24477
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
24478
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
24479
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
23851
24480
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23852
24481
which seems to be undefined.  Please make sure it is defined" >&5
23853
24482
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23854
24483
which seems to be undefined.  Please make sure it is defined" >&2;}
23855
24484
 
23856
 
  rm -f "$tmp/stdin"
 
24485
  rm -f "$ac_tmp/stdin"
23857
24486
  case $ac_file in
23858
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
23859
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
24487
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
24488
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
23860
24489
  esac \
23861
24490
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23862
24491
 ;;
23985
24614
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
23986
24615
#
23987
24616
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
23988
 
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
24617
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
 
24618
#                 Inc.
23989
24619
#   Written by Gordon Matzigkeit, 1996
23990
24620
#
23991
24621
#   This file is part of GNU Libtool.
24033
24663
# Whether or not to optimize for fast installation.
24034
24664
fast_install=$enable_fast_install
24035
24665
 
 
24666
# Shell to use when invoking shell scripts.
 
24667
SHELL=$lt_SHELL
 
24668
 
 
24669
# An echo program that protects backslashes.
 
24670
ECHO=$lt_ECHO
 
24671
 
24036
24672
# The host system.
24037
24673
host_alias=$host_alias
24038
24674
host=$host
24082
24718
# turn newlines into spaces.
24083
24719
NL2SP=$lt_lt_NL2SP
24084
24720
 
24085
 
# How to create reloadable object files.
24086
 
reload_flag=$lt_reload_flag
24087
 
reload_cmds=$lt_reload_cmds
 
24721
# convert \$build file names to \$host format.
 
24722
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
24723
 
 
24724
# convert \$build files to toolchain format.
 
24725
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
24088
24726
 
24089
24727
# An object symbol dumper.
24090
24728
OBJDUMP=$lt_OBJDUMP
24092
24730
# Method to check whether dependent libraries are shared objects.
24093
24731
deplibs_check_method=$lt_deplibs_check_method
24094
24732
 
24095
 
# Command to use when deplibs_check_method == "file_magic".
 
24733
# Command to use when deplibs_check_method = "file_magic".
24096
24734
file_magic_cmd=$lt_file_magic_cmd
24097
24735
 
 
24736
# How to find potential files when deplibs_check_method = "file_magic".
 
24737
file_magic_glob=$lt_file_magic_glob
 
24738
 
 
24739
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
24740
want_nocaseglob=$lt_want_nocaseglob
 
24741
 
 
24742
# DLL creation program.
 
24743
DLLTOOL=$lt_DLLTOOL
 
24744
 
 
24745
# Command to associate shared and link libraries.
 
24746
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
24747
 
24098
24748
# The archiver.
24099
24749
AR=$lt_AR
 
24750
 
 
24751
# Flags to create an archive.
24100
24752
AR_FLAGS=$lt_AR_FLAGS
24101
24753
 
 
24754
# How to feed a file listing to the archiver.
 
24755
archiver_list_spec=$lt_archiver_list_spec
 
24756
 
24102
24757
# A symbol stripping program.
24103
24758
STRIP=$lt_STRIP
24104
24759
 
24107
24762
old_postinstall_cmds=$lt_old_postinstall_cmds
24108
24763
old_postuninstall_cmds=$lt_old_postuninstall_cmds
24109
24764
 
 
24765
# Whether to use a lock for old archive extraction.
 
24766
lock_old_archive_extraction=$lock_old_archive_extraction
 
24767
 
24110
24768
# A C compiler.
24111
24769
LTCC=$lt_CC
24112
24770
 
24125
24783
# Transform the output of nm in a C name address pair when lib prefix is needed.
24126
24784
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
24127
24785
 
 
24786
# Specify filename containing input files for \$NM.
 
24787
nm_file_list_spec=$lt_nm_file_list_spec
 
24788
 
 
24789
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
24790
lt_sysroot=$lt_sysroot
 
24791
 
24128
24792
# The name of the directory that contains temporary libtool files.
24129
24793
objdir=$objdir
24130
24794
 
24131
 
# Shell to use when invoking shell scripts.
24132
 
SHELL=$lt_SHELL
24133
 
 
24134
 
# An echo program that does not interpret backslashes.
24135
 
ECHO=$lt_ECHO
24136
 
 
24137
24795
# Used to examine libraries when file_magic_cmd begins with "file".
24138
24796
MAGIC_CMD=$MAGIC_CMD
24139
24797
 
24140
24798
# Must we lock files when doing compilation?
24141
24799
need_locks=$lt_need_locks
24142
24800
 
 
24801
# Manifest tool.
 
24802
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
24803
 
24143
24804
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
24144
24805
DSYMUTIL=$lt_DSYMUTIL
24145
24806
 
24196
24857
# The coded name of the library, if different from the real name.
24197
24858
soname_spec=$lt_soname_spec
24198
24859
 
 
24860
# Permission mode override for installation of shared libraries.
 
24861
install_override_mode=$lt_install_override_mode
 
24862
 
24199
24863
# Command to use after installation of a shared archive.
24200
24864
postinstall_cmds=$lt_postinstall_cmds
24201
24865
 
24235
24899
# The linker used to build libraries.
24236
24900
LD=$lt_LD
24237
24901
 
 
24902
# How to create reloadable object files.
 
24903
reload_flag=$lt_reload_flag
 
24904
reload_cmds=$lt_reload_cmds
 
24905
 
24238
24906
# Commands used to build an old-style archive.
24239
24907
old_archive_cmds=$lt_old_archive_cmds
24240
24908
 
24247
24915
# Compiler flag to turn off builtin functions.
24248
24916
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
24249
24917
 
 
24918
# Additional compiler flags for building library objects.
 
24919
pic_flag=$lt_lt_prog_compiler_pic
 
24920
 
24250
24921
# How to pass a linker flag through the compiler.
24251
24922
wl=$lt_lt_prog_compiler_wl
24252
24923
 
24253
 
# Additional compiler flags for building library objects.
24254
 
pic_flag=$lt_lt_prog_compiler_pic
24255
 
 
24256
24924
# Compiler flag to prevent dynamic linking.
24257
24925
link_static_flag=$lt_lt_prog_compiler_static
24258
24926
 
24339
25007
# Whether libtool must link a program against all its dependency libraries.
24340
25008
link_all_deplibs=$link_all_deplibs
24341
25009
 
24342
 
# Fix the shell variable \$srcfile for the compiler.
24343
 
fix_srcfile_path=$lt_fix_srcfile_path
24344
 
 
24345
25010
# Set to "yes" if exported symbols are required.
24346
25011
always_export_symbols=$always_export_symbols
24347
25012
 
24357
25022
# Commands necessary for linking programs (against libraries) with templates.
24358
25023
prelink_cmds=$lt_prelink_cmds
24359
25024
 
 
25025
# Commands necessary for finishing linking programs.
 
25026
postlink_cmds=$lt_postlink_cmds
 
25027
 
24360
25028
# Specify filename containing input files.
24361
25029
file_list_spec=$lt_file_list_spec
24362
25030
 
24403
25071
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
24404
25072
  # text mode, it properly converts lines to CR/LF.  This bash problem
24405
25073
  # is reportedly fixed, but why not run on old versions too?
24406
 
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
24407
 
    || (rm -f "$cfgfile"; exit 1)
24408
 
 
24409
 
  case $xsi_shell in
24410
 
  yes)
24411
 
    cat << \_LT_EOF >> "$cfgfile"
24412
 
 
24413
 
# func_dirname file append nondir_replacement
24414
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
24415
 
# otherwise set result to NONDIR_REPLACEMENT.
24416
 
func_dirname ()
24417
 
{
24418
 
  case ${1} in
24419
 
    */*) func_dirname_result="${1%/*}${2}" ;;
24420
 
    *  ) func_dirname_result="${3}" ;;
24421
 
  esac
24422
 
}
24423
 
 
24424
 
# func_basename file
24425
 
func_basename ()
24426
 
{
24427
 
  func_basename_result="${1##*/}"
24428
 
}
24429
 
 
24430
 
# func_dirname_and_basename file append nondir_replacement
24431
 
# perform func_basename and func_dirname in a single function
24432
 
# call:
24433
 
#   dirname:  Compute the dirname of FILE.  If nonempty,
24434
 
#             add APPEND to the result, otherwise set result
24435
 
#             to NONDIR_REPLACEMENT.
24436
 
#             value returned in "$func_dirname_result"
24437
 
#   basename: Compute filename of FILE.
24438
 
#             value retuned in "$func_basename_result"
24439
 
# Implementation must be kept synchronized with func_dirname
24440
 
# and func_basename. For efficiency, we do not delegate to
24441
 
# those functions but instead duplicate the functionality here.
24442
 
func_dirname_and_basename ()
24443
 
{
24444
 
  case ${1} in
24445
 
    */*) func_dirname_result="${1%/*}${2}" ;;
24446
 
    *  ) func_dirname_result="${3}" ;;
24447
 
  esac
24448
 
  func_basename_result="${1##*/}"
24449
 
}
24450
 
 
24451
 
# func_stripname prefix suffix name
24452
 
# strip PREFIX and SUFFIX off of NAME.
24453
 
# PREFIX and SUFFIX must not contain globbing or regex special
24454
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
24455
 
# dot (in which case that matches only a dot).
24456
 
func_stripname ()
24457
 
{
24458
 
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
24459
 
  # positional parameters, so assign one to ordinary parameter first.
24460
 
  func_stripname_result=${3}
24461
 
  func_stripname_result=${func_stripname_result#"${1}"}
24462
 
  func_stripname_result=${func_stripname_result%"${2}"}
24463
 
}
24464
 
 
24465
 
# func_opt_split
24466
 
func_opt_split ()
24467
 
{
24468
 
  func_opt_split_opt=${1%%=*}
24469
 
  func_opt_split_arg=${1#*=}
24470
 
}
24471
 
 
24472
 
# func_lo2o object
24473
 
func_lo2o ()
24474
 
{
24475
 
  case ${1} in
24476
 
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
24477
 
    *)    func_lo2o_result=${1} ;;
24478
 
  esac
24479
 
}
24480
 
 
24481
 
# func_xform libobj-or-source
24482
 
func_xform ()
24483
 
{
24484
 
  func_xform_result=${1%.*}.lo
24485
 
}
24486
 
 
24487
 
# func_arith arithmetic-term...
24488
 
func_arith ()
24489
 
{
24490
 
  func_arith_result=$(( $* ))
24491
 
}
24492
 
 
24493
 
# func_len string
24494
 
# STRING may not start with a hyphen.
24495
 
func_len ()
24496
 
{
24497
 
  func_len_result=${#1}
24498
 
}
24499
 
 
24500
 
_LT_EOF
24501
 
    ;;
24502
 
  *) # Bourne compatible functions.
24503
 
    cat << \_LT_EOF >> "$cfgfile"
24504
 
 
24505
 
# func_dirname file append nondir_replacement
24506
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
24507
 
# otherwise set result to NONDIR_REPLACEMENT.
24508
 
func_dirname ()
24509
 
{
24510
 
  # Extract subdirectory from the argument.
24511
 
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
24512
 
  if test "X$func_dirname_result" = "X${1}"; then
24513
 
    func_dirname_result="${3}"
24514
 
  else
24515
 
    func_dirname_result="$func_dirname_result${2}"
24516
 
  fi
24517
 
}
24518
 
 
24519
 
# func_basename file
24520
 
func_basename ()
24521
 
{
24522
 
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
24523
 
}
24524
 
 
24525
 
 
24526
 
# func_stripname prefix suffix name
24527
 
# strip PREFIX and SUFFIX off of NAME.
24528
 
# PREFIX and SUFFIX must not contain globbing or regex special
24529
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
24530
 
# dot (in which case that matches only a dot).
24531
 
# func_strip_suffix prefix name
24532
 
func_stripname ()
24533
 
{
24534
 
  case ${2} in
24535
 
    .*) func_stripname_result=`$ECHO "X${3}" \
24536
 
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
24537
 
    *)  func_stripname_result=`$ECHO "X${3}" \
24538
 
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
24539
 
  esac
24540
 
}
24541
 
 
24542
 
# sed scripts:
24543
 
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
24544
 
my_sed_long_arg='1s/^-[^=]*=//'
24545
 
 
24546
 
# func_opt_split
24547
 
func_opt_split ()
24548
 
{
24549
 
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
24550
 
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
24551
 
}
24552
 
 
24553
 
# func_lo2o object
24554
 
func_lo2o ()
24555
 
{
24556
 
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
24557
 
}
24558
 
 
24559
 
# func_xform libobj-or-source
24560
 
func_xform ()
24561
 
{
24562
 
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
24563
 
}
24564
 
 
24565
 
# func_arith arithmetic-term...
24566
 
func_arith ()
24567
 
{
24568
 
  func_arith_result=`expr "$@"`
24569
 
}
24570
 
 
24571
 
# func_len string
24572
 
# STRING may not start with a hyphen.
24573
 
func_len ()
24574
 
{
24575
 
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
24576
 
}
24577
 
 
24578
 
_LT_EOF
24579
 
esac
24580
 
 
24581
 
case $lt_shell_append in
24582
 
  yes)
24583
 
    cat << \_LT_EOF >> "$cfgfile"
24584
 
 
24585
 
# func_append var value
24586
 
# Append VALUE to the end of shell variable VAR.
24587
 
func_append ()
24588
 
{
24589
 
  eval "$1+=\$2"
24590
 
}
24591
 
_LT_EOF
24592
 
    ;;
24593
 
  *)
24594
 
    cat << \_LT_EOF >> "$cfgfile"
24595
 
 
24596
 
# func_append var value
24597
 
# Append VALUE to the end of shell variable VAR.
24598
 
func_append ()
24599
 
{
24600
 
  eval "$1=\$$1\$2"
24601
 
}
24602
 
 
24603
 
_LT_EOF
24604
 
    ;;
24605
 
  esac
24606
 
 
24607
 
 
24608
 
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
24609
 
    || (rm -f "$cfgfile"; exit 1)
24610
 
 
24611
 
  mv -f "$cfgfile" "$ofile" ||
 
25074
  sed '$q' "$ltmain" >> "$cfgfile" \
 
25075
     || (rm -f "$cfgfile"; exit 1)
 
25076
 
 
25077
  if test x"$xsi_shell" = xyes; then
 
25078
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
25079
func_dirname ()\
 
25080
{\
 
25081
\    case ${1} in\
 
25082
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
25083
\      *  ) func_dirname_result="${3}" ;;\
 
25084
\    esac\
 
25085
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
25086
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25087
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25088
test 0 -eq $? || _lt_function_replace_fail=:
 
25089
 
 
25090
 
 
25091
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
25092
func_basename ()\
 
25093
{\
 
25094
\    func_basename_result="${1##*/}"\
 
25095
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
25096
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25097
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25098
test 0 -eq $? || _lt_function_replace_fail=:
 
25099
 
 
25100
 
 
25101
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
25102
func_dirname_and_basename ()\
 
25103
{\
 
25104
\    case ${1} in\
 
25105
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
25106
\      *  ) func_dirname_result="${3}" ;;\
 
25107
\    esac\
 
25108
\    func_basename_result="${1##*/}"\
 
25109
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
25110
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25111
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25112
test 0 -eq $? || _lt_function_replace_fail=:
 
25113
 
 
25114
 
 
25115
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
25116
func_stripname ()\
 
25117
{\
 
25118
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
25119
\    # positional parameters, so assign one to ordinary parameter first.\
 
25120
\    func_stripname_result=${3}\
 
25121
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
25122
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
25123
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
 
25124
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25125
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25126
test 0 -eq $? || _lt_function_replace_fail=:
 
25127
 
 
25128
 
 
25129
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
25130
func_split_long_opt ()\
 
25131
{\
 
25132
\    func_split_long_opt_name=${1%%=*}\
 
25133
\    func_split_long_opt_arg=${1#*=}\
 
25134
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
25135
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25136
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25137
test 0 -eq $? || _lt_function_replace_fail=:
 
25138
 
 
25139
 
 
25140
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
25141
func_split_short_opt ()\
 
25142
{\
 
25143
\    func_split_short_opt_arg=${1#??}\
 
25144
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
25145
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
25146
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25147
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25148
test 0 -eq $? || _lt_function_replace_fail=:
 
25149
 
 
25150
 
 
25151
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
25152
func_lo2o ()\
 
25153
{\
 
25154
\    case ${1} in\
 
25155
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
25156
\      *)    func_lo2o_result=${1} ;;\
 
25157
\    esac\
 
25158
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
25159
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25160
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25161
test 0 -eq $? || _lt_function_replace_fail=:
 
25162
 
 
25163
 
 
25164
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
25165
func_xform ()\
 
25166
{\
 
25167
    func_xform_result=${1%.*}.lo\
 
25168
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
25169
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25170
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25171
test 0 -eq $? || _lt_function_replace_fail=:
 
25172
 
 
25173
 
 
25174
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
25175
func_arith ()\
 
25176
{\
 
25177
    func_arith_result=$(( $* ))\
 
25178
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
25179
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25180
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25181
test 0 -eq $? || _lt_function_replace_fail=:
 
25182
 
 
25183
 
 
25184
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
25185
func_len ()\
 
25186
{\
 
25187
    func_len_result=${#1}\
 
25188
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
25189
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25190
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25191
test 0 -eq $? || _lt_function_replace_fail=:
 
25192
 
 
25193
fi
 
25194
 
 
25195
if test x"$lt_shell_append" = xyes; then
 
25196
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
25197
func_append ()\
 
25198
{\
 
25199
    eval "${1}+=\\${2}"\
 
25200
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
25201
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25202
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25203
test 0 -eq $? || _lt_function_replace_fail=:
 
25204
 
 
25205
 
 
25206
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
25207
func_append_quoted ()\
 
25208
{\
 
25209
\    func_quote_for_eval "${2}"\
 
25210
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
25211
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
25212
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25213
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25214
test 0 -eq $? || _lt_function_replace_fail=:
 
25215
 
 
25216
 
 
25217
  # Save a `func_append' function call where possible by direct use of '+='
 
25218
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
25219
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25220
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25221
  test 0 -eq $? || _lt_function_replace_fail=:
 
25222
else
 
25223
  # Save a `func_append' function call even when '+=' is not available
 
25224
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
25225
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25226
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25227
  test 0 -eq $? || _lt_function_replace_fail=:
 
25228
fi
 
25229
 
 
25230
if test x"$_lt_function_replace_fail" = x":"; then
 
25231
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
25232
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
25233
fi
 
25234
 
 
25235
 
 
25236
   mv -f "$cfgfile" "$ofile" ||
24612
25237
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
24613
25238
  chmod +x "$ofile"
24614
25239
 
24620
25245
# The linker used to build libraries.
24621
25246
LD=$lt_LD_CXX
24622
25247
 
 
25248
# How to create reloadable object files.
 
25249
reload_flag=$lt_reload_flag_CXX
 
25250
reload_cmds=$lt_reload_cmds_CXX
 
25251
 
24623
25252
# Commands used to build an old-style archive.
24624
25253
old_archive_cmds=$lt_old_archive_cmds_CXX
24625
25254
 
24632
25261
# Compiler flag to turn off builtin functions.
24633
25262
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
24634
25263
 
 
25264
# Additional compiler flags for building library objects.
 
25265
pic_flag=$lt_lt_prog_compiler_pic_CXX
 
25266
 
24635
25267
# How to pass a linker flag through the compiler.
24636
25268
wl=$lt_lt_prog_compiler_wl_CXX
24637
25269
 
24638
 
# Additional compiler flags for building library objects.
24639
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
24640
 
 
24641
25270
# Compiler flag to prevent dynamic linking.
24642
25271
link_static_flag=$lt_lt_prog_compiler_static_CXX
24643
25272
 
24724
25353
# Whether libtool must link a program against all its dependency libraries.
24725
25354
link_all_deplibs=$link_all_deplibs_CXX
24726
25355
 
24727
 
# Fix the shell variable \$srcfile for the compiler.
24728
 
fix_srcfile_path=$lt_fix_srcfile_path_CXX
24729
 
 
24730
25356
# Set to "yes" if exported symbols are required.
24731
25357
always_export_symbols=$always_export_symbols_CXX
24732
25358
 
24742
25368
# Commands necessary for linking programs (against libraries) with templates.
24743
25369
prelink_cmds=$lt_prelink_cmds_CXX
24744
25370
 
 
25371
# Commands necessary for finishing linking programs.
 
25372
postlink_cmds=$lt_postlink_cmds_CXX
 
25373
 
24745
25374
# Specify filename containing input files.
24746
25375
file_list_spec=$lt_file_list_spec_CXX
24747
25376