~ubuntu-branches/ubuntu/oneiric/bug-buddy/oneiric

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Christophe Sauthier
  • Date: 2009-09-22 18:24:42 UTC
  • mfrom: (1.1.29 upstream)
  • Revision ID: james.westby@ubuntu.com-20090922182442-z9h9nawbb9msftgu
Tags: 2.28.0+dfsg-0ubuntu1
* New upstream version (LP: #434151)
  - 2.28.0
    + Updated translations
  - 2.27.92 ("The Fixer")
    + Drop gnome-menus dependency (Vincent Untz)
* debian/control.in:
  - build-depends on libgnome-menu-dev removed to match configure checks.
  - change bzr-vcs tag to point to
    https://code.launchpad.net/~ubuntu-dev/bug-buddy/ubuntu

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.63 for bug-buddy 2.27.1.
 
3
# Generated by GNU Autoconf 2.63 for bug-buddy 2.28.0.
4
4
#
5
5
# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=bug-buddy>.
6
6
#
577
577
# Check that we are running under the correct shell.
578
578
SHELL=${CONFIG_SHELL-/bin/sh}
579
579
 
580
 
case X$ECHO in
 
580
case X$lt_ECHO in
581
581
X*--fallback-echo)
582
582
  # Remove one level of quotation (which was required for Make).
583
 
  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
 
583
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
584
584
  ;;
585
585
esac
586
586
 
587
 
echo=${ECHO-echo}
 
587
ECHO=${lt_ECHO-echo}
588
588
if test "X$1" = X--no-reexec; then
589
589
  # Discard the --no-reexec flag, and continue.
590
590
  shift
591
591
elif test "X$1" = X--fallback-echo; then
592
592
  # Avoid inline document here, it may be left over
593
593
  :
594
 
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
595
 
  # Yippee, $echo works!
 
594
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
 
595
  # Yippee, $ECHO works!
596
596
  :
597
597
else
598
598
  # Restart under the correct shell.
602
602
if test "X$1" = X--fallback-echo; then
603
603
  # used as fallback echo
604
604
  shift
605
 
  cat <<EOF
 
605
  cat <<_LT_EOF
606
606
$*
607
 
EOF
 
607
_LT_EOF
608
608
  exit 0
609
609
fi
610
610
 
612
612
# if CDPATH is set.
613
613
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
614
614
 
615
 
if test -z "$ECHO"; then
616
 
if test "X${echo_test_string+set}" != Xset; then
617
 
# find a string as large as possible, as long as the shell can cope with it
618
 
  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
619
 
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
620
 
    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
621
 
       echo_test_string=`eval $cmd` &&
622
 
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
623
 
    then
624
 
      break
625
 
    fi
626
 
  done
627
 
fi
628
 
 
629
 
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
630
 
   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
631
 
   test "X$echo_testing_string" = "X$echo_test_string"; then
632
 
  :
633
 
else
634
 
  # The Solaris, AIX, and Digital Unix default echo programs unquote
635
 
  # backslashes.  This makes it impossible to quote backslashes using
636
 
  #   echo "$something" | sed 's/\\/\\\\/g'
637
 
  #
638
 
  # So, first we look for a working echo in the user's PATH.
639
 
 
640
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
641
 
  for dir in $PATH /usr/ucb; do
 
615
if test -z "$lt_ECHO"; then
 
616
  if test "X${echo_test_string+set}" != Xset; then
 
617
    # find a string as large as possible, as long as the shell can cope with it
 
618
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
 
619
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
 
620
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
 
621
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
 
622
      then
 
623
        break
 
624
      fi
 
625
    done
 
626
  fi
 
627
 
 
628
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
629
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
630
     test "X$echo_testing_string" = "X$echo_test_string"; then
 
631
    :
 
632
  else
 
633
    # The Solaris, AIX, and Digital Unix default echo programs unquote
 
634
    # backslashes.  This makes it impossible to quote backslashes using
 
635
    #   echo "$something" | sed 's/\\/\\\\/g'
 
636
    #
 
637
    # So, first we look for a working echo in the user's PATH.
 
638
 
 
639
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
640
    for dir in $PATH /usr/ucb; do
 
641
      IFS="$lt_save_ifs"
 
642
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
 
643
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
 
644
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
 
645
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
646
        ECHO="$dir/echo"
 
647
        break
 
648
      fi
 
649
    done
642
650
    IFS="$lt_save_ifs"
643
 
    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
644
 
       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
645
 
       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
646
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
647
 
      echo="$dir/echo"
648
 
      break
649
 
    fi
650
 
  done
651
 
  IFS="$lt_save_ifs"
652
651
 
653
 
  if test "X$echo" = Xecho; then
654
 
    # We didn't find a better echo, so look for alternatives.
655
 
    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
656
 
       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
657
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
658
 
      # This shell has a builtin print -r that does the trick.
659
 
      echo='print -r'
660
 
    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
661
 
         test "X$CONFIG_SHELL" != X/bin/ksh; then
662
 
      # If we have ksh, try running configure again with it.
663
 
      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
664
 
      export ORIGINAL_CONFIG_SHELL
665
 
      CONFIG_SHELL=/bin/ksh
666
 
      export CONFIG_SHELL
667
 
      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
668
 
    else
669
 
      # Try using printf.
670
 
      echo='printf %s\n'
671
 
      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
672
 
         echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
673
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
674
 
        # Cool, printf works
675
 
        :
676
 
      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
677
 
           test "X$echo_testing_string" = 'X\t' &&
678
 
           echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
679
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
680
 
        CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
681
 
        export CONFIG_SHELL
682
 
        SHELL="$CONFIG_SHELL"
683
 
        export SHELL
684
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
685
 
      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
686
 
           test "X$echo_testing_string" = 'X\t' &&
687
 
           echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
688
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
689
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
 
652
    if test "X$ECHO" = Xecho; then
 
653
      # We didn't find a better echo, so look for alternatives.
 
654
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
 
655
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
 
656
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
657
        # This shell has a builtin print -r that does the trick.
 
658
        ECHO='print -r'
 
659
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
 
660
           test "X$CONFIG_SHELL" != X/bin/ksh; then
 
661
        # If we have ksh, try running configure again with it.
 
662
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
 
663
        export ORIGINAL_CONFIG_SHELL
 
664
        CONFIG_SHELL=/bin/ksh
 
665
        export CONFIG_SHELL
 
666
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
690
667
      else
691
 
        # maybe with a smaller string...
692
 
        prev=:
693
 
 
694
 
        for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
695
 
          if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
696
 
          then
697
 
            break
 
668
        # Try using printf.
 
669
        ECHO='printf %s\n'
 
670
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
671
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
672
           test "X$echo_testing_string" = "X$echo_test_string"; then
 
673
          # Cool, printf works
 
674
          :
 
675
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
676
             test "X$echo_testing_string" = 'X\t' &&
 
677
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
678
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
679
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
 
680
          export CONFIG_SHELL
 
681
          SHELL="$CONFIG_SHELL"
 
682
          export SHELL
 
683
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
684
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
685
             test "X$echo_testing_string" = 'X\t' &&
 
686
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
687
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
688
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
689
        else
 
690
          # maybe with a smaller string...
 
691
          prev=:
 
692
 
 
693
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
 
694
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
 
695
            then
 
696
              break
 
697
            fi
 
698
            prev="$cmd"
 
699
          done
 
700
 
 
701
          if test "$prev" != 'sed 50q "$0"'; then
 
702
            echo_test_string=`eval $prev`
 
703
            export echo_test_string
 
704
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
 
705
          else
 
706
            # Oops.  We lost completely, so just stick with echo.
 
707
            ECHO=echo
698
708
          fi
699
 
          prev="$cmd"
700
 
        done
701
 
 
702
 
        if test "$prev" != 'sed 50q "$0"'; then
703
 
          echo_test_string=`eval $prev`
704
 
          export echo_test_string
705
 
          exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
706
 
        else
707
 
          # Oops.  We lost completely, so just stick with echo.
708
 
          echo=echo
709
 
        fi
 
709
        fi
710
710
      fi
711
711
    fi
712
712
  fi
713
713
fi
714
 
fi
715
714
 
716
715
# Copy echo and quote the copy suitably for passing to libtool from
717
716
# the Makefile, instead of quoting the original, which is used later.
718
 
ECHO=$echo
719
 
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
720
 
   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
 
717
lt_ECHO=$ECHO
 
718
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
 
719
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
721
720
fi
722
721
 
723
722
 
724
723
 
725
724
 
726
 
tagnames=${tagnames+${tagnames},}CXX
727
 
 
728
 
tagnames=${tagnames+${tagnames},}F77
729
 
 
730
725
exec 7<&0 </dev/null 6>&1
731
726
 
732
727
# Name of the host.
750
745
# Identity of this package.
751
746
PACKAGE_NAME='bug-buddy'
752
747
PACKAGE_TARNAME='bug-buddy'
753
 
PACKAGE_VERSION='2.27.1'
754
 
PACKAGE_STRING='bug-buddy 2.27.1'
 
748
PACKAGE_VERSION='2.28.0'
 
749
PACKAGE_STRING='bug-buddy 2.28.0'
755
750
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=bug-buddy'
756
751
 
757
752
# Factoring default headers for most tests.
791
786
#endif"
792
787
 
793
788
enable_option_checking=no
794
 
ac_subst_vars='LTLIBOBJS
 
789
ac_subst_vars='am__EXEEXT_FALSE
 
790
am__EXEEXT_TRUE
 
791
LTLIBOBJS
795
792
LIBOBJS
796
793
DISABLE_SINGLE_INCLUDES
797
794
DISABLE_DEPRECATED
825
822
BUG_BUDDY_EDS_CFLAGS
826
823
BUG_BUDDY_LIBS
827
824
BUG_BUDDY_CFLAGS
828
 
LIBTOOL
829
 
ac_ct_F77
830
 
FFLAGS
831
 
F77
832
825
CXXCPP
 
826
OTOOL64
 
827
OTOOL
 
828
LIPO
833
829
NMEDIT
834
830
DSYMUTIL
 
831
lt_ECHO
835
832
RANLIB
836
833
AR
837
 
ECHO
838
 
LN_S
 
834
OBJDUMP
 
835
NM
 
836
ac_ct_DUMPBIN
 
837
DUMPBIN
 
838
LD
 
839
FGREP
839
840
SED
 
841
LIBTOOL
840
842
EGREP
841
843
GREP
842
844
CPP
909
911
OMF_DIR
910
912
HELP_DIR
911
913
PKG_CONFIG
 
914
LN_S
912
915
am__untar
913
916
am__tar
914
917
AMTAR
996
999
with_gconf_schema_file_dir
997
1000
enable_schemas_install
998
1001
enable_shared
 
1002
with_pic
999
1003
enable_fast_install
1000
1004
with_gnu_ld
1001
1005
enable_libtool_lock
1002
 
with_pic
1003
 
with_tags
1004
1006
enable_eds
1005
1007
enable_google_breakpad
1006
1008
enable_compile_warnings
1020
1022
CCC
1021
1023
CPP
1022
1024
CXXCPP
1023
 
F77
1024
 
FFLAGS
1025
1025
BUG_BUDDY_CFLAGS
1026
1026
BUG_BUDDY_LIBS
1027
1027
BUG_BUDDY_EDS_CFLAGS
1582
1582
  # Omit some internal or obsolete options to make the list less imposing.
1583
1583
  # This message is too long to be a string in the A/UX 3.1 sh.
1584
1584
  cat <<_ACEOF
1585
 
\`configure' configures bug-buddy 2.27.1 to adapt to many kinds of systems.
 
1585
\`configure' configures bug-buddy 2.28.0 to adapt to many kinds of systems.
1586
1586
 
1587
1587
Usage: $0 [OPTION]... [VAR=VALUE]...
1588
1588
 
1653
1653
 
1654
1654
if test -n "$ac_init_help"; then
1655
1655
  case $ac_init_help in
1656
 
     short | recursive ) echo "Configuration of bug-buddy 2.27.1:";;
 
1656
     short | recursive ) echo "Configuration of bug-buddy 2.28.0:";;
1657
1657
   esac
1658
1658
  cat <<\_ACEOF
1659
1659
 
1668
1668
  --disable-dependency-tracking  speeds up one-time build
1669
1669
  --enable-dependency-tracking   do not reject slow dependency extractors
1670
1670
  --enable-static[=PKGS]  build static libraries [default=no]
1671
 
  --disable-schemas-install     Disable the schemas installation
 
1671
  --disable-schemas-install
 
1672
                          Disable the schemas installation
1672
1673
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1673
1674
  --enable-fast-install[=PKGS]
1674
1675
                          optimize for fast installation [default=yes]
1693
1694
                          Config database for installing schema files.
1694
1695
  --with-gconf-schema-file-dir=dir
1695
1696
                          Directory for installing schema files.
1696
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1697
1697
  --with-pic              try to use only PIC/non-PIC objects [default=use
1698
1698
                          both]
1699
 
  --with-tags[=TAGS]      include additional configurations [automatic]
 
1699
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1700
1700
 
1701
1701
Some influential environment variables:
1702
1702
  PKG_CONFIG  path to pkg-config utility
1711
1711
  CXXFLAGS    C++ compiler flags
1712
1712
  CPP         C preprocessor
1713
1713
  CXXCPP      C++ preprocessor
1714
 
  F77         Fortran 77 compiler command
1715
 
  FFLAGS      Fortran 77 compiler flags
1716
1714
  BUG_BUDDY_CFLAGS
1717
1715
              C compiler flags for BUG_BUDDY, overriding pkg-config
1718
1716
  BUG_BUDDY_LIBS
1796
1794
test -n "$ac_init_help" && exit $ac_status
1797
1795
if $ac_init_version; then
1798
1796
  cat <<\_ACEOF
1799
 
bug-buddy configure 2.27.1
 
1797
bug-buddy configure 2.28.0
1800
1798
generated by GNU Autoconf 2.63
1801
1799
 
1802
1800
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1810
1808
This file contains any messages produced by compilers while
1811
1809
running configure, to aid debugging if configure makes a mistake.
1812
1810
 
1813
 
It was created by bug-buddy $as_me 2.27.1, which was
 
1811
It was created by bug-buddy $as_me 2.28.0, which was
1814
1812
generated by GNU Autoconf 2.63.  Invocation command line was
1815
1813
 
1816
1814
  $ $0 $@
2340
2338
ac_config_headers="$ac_config_headers config.h"
2341
2339
 
2342
2340
 
2343
 
am__api_version='1.10'
 
2341
am__api_version='1.11'
2344
2342
 
2345
2343
# Find a good install program.  We prefer a C program (faster),
2346
2344
# so one script is as good as another.  But avoid the broken or
2440
2438
# Just in case
2441
2439
sleep 1
2442
2440
echo timestamp > conftest.file
 
2441
# Reject unsafe characters in $srcdir or the absolute working directory
 
2442
# name.  Accept space and tab only in the latter.
 
2443
am_lf='
 
2444
'
 
2445
case `pwd` in
 
2446
  *[\\\"\#\$\&\'\`$am_lf]*)
 
2447
    { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
 
2448
$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
 
2449
   { (exit 1); exit 1; }; };;
 
2450
esac
 
2451
case $srcdir in
 
2452
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
2453
    { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
 
2454
$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
 
2455
   { (exit 1); exit 1; }; };;
 
2456
esac
 
2457
 
2443
2458
# Do `set' in a subshell so we don't clobber the current shell's
2444
2459
# arguments.  Must try -L first in case configure is actually a
2445
2460
# symlink; some systems play weird games with the mod time of symlinks
2446
2461
# (eg FreeBSD returns the mod time of the symlink's containing
2447
2462
# directory).
2448
2463
if (
2449
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
2464
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2450
2465
   if test "$*" = "X"; then
2451
2466
      # -L didn't work.
2452
 
      set X `ls -t $srcdir/configure conftest.file`
 
2467
      set X `ls -t "$srcdir/configure" conftest.file`
2453
2468
   fi
2454
2469
   rm -f conftest.file
2455
2470
   if test "$*" != "X $srcdir/configure conftest.file" \
2493
2508
# expand $ac_aux_dir to an absolute path
2494
2509
am_aux_dir=`cd $ac_aux_dir && pwd`
2495
2510
 
2496
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
2511
if test x"${MISSING+set}" != xset; then
 
2512
  case $am_aux_dir in
 
2513
  *\ * | *\     *)
 
2514
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
2515
  *)
 
2516
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
2517
  esac
 
2518
fi
2497
2519
# Use eval to expand $SHELL
2498
2520
if eval "$MISSING --run true"; then
2499
2521
  am_missing_run="$MISSING --run "
2503
2525
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2504
2526
fi
2505
2527
 
 
2528
if test x"${install_sh}" != xset; then
 
2529
  case $am_aux_dir in
 
2530
  *\ * | *\     *)
 
2531
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
2532
  *)
 
2533
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
2534
  esac
 
2535
fi
 
2536
 
 
2537
# Installed binaries are usually stripped using `strip' when the user
 
2538
# run `make install-strip'.  However `strip' might not be the right
 
2539
# tool to use in cross-compilation environments, therefore Automake
 
2540
# will honor the `STRIP' environment variable to overrule this program.
 
2541
if test "$cross_compiling" != no; then
 
2542
  if test -n "$ac_tool_prefix"; then
 
2543
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2544
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2545
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2546
$as_echo_n "checking for $ac_word... " >&6; }
 
2547
if test "${ac_cv_prog_STRIP+set}" = set; then
 
2548
  $as_echo_n "(cached) " >&6
 
2549
else
 
2550
  if test -n "$STRIP"; then
 
2551
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2552
else
 
2553
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2554
for as_dir in $PATH
 
2555
do
 
2556
  IFS=$as_save_IFS
 
2557
  test -z "$as_dir" && as_dir=.
 
2558
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2559
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2560
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2561
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2562
    break 2
 
2563
  fi
 
2564
done
 
2565
done
 
2566
IFS=$as_save_IFS
 
2567
 
 
2568
fi
 
2569
fi
 
2570
STRIP=$ac_cv_prog_STRIP
 
2571
if test -n "$STRIP"; then
 
2572
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
2573
$as_echo "$STRIP" >&6; }
 
2574
else
 
2575
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2576
$as_echo "no" >&6; }
 
2577
fi
 
2578
 
 
2579
 
 
2580
fi
 
2581
if test -z "$ac_cv_prog_STRIP"; then
 
2582
  ac_ct_STRIP=$STRIP
 
2583
  # Extract the first word of "strip", so it can be a program name with args.
 
2584
set dummy strip; ac_word=$2
 
2585
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2586
$as_echo_n "checking for $ac_word... " >&6; }
 
2587
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
2588
  $as_echo_n "(cached) " >&6
 
2589
else
 
2590
  if test -n "$ac_ct_STRIP"; then
 
2591
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2592
else
 
2593
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2594
for as_dir in $PATH
 
2595
do
 
2596
  IFS=$as_save_IFS
 
2597
  test -z "$as_dir" && as_dir=.
 
2598
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2599
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2600
    ac_cv_prog_ac_ct_STRIP="strip"
 
2601
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2602
    break 2
 
2603
  fi
 
2604
done
 
2605
done
 
2606
IFS=$as_save_IFS
 
2607
 
 
2608
fi
 
2609
fi
 
2610
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2611
if test -n "$ac_ct_STRIP"; then
 
2612
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2613
$as_echo "$ac_ct_STRIP" >&6; }
 
2614
else
 
2615
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2616
$as_echo "no" >&6; }
 
2617
fi
 
2618
 
 
2619
  if test "x$ac_ct_STRIP" = x; then
 
2620
    STRIP=":"
 
2621
  else
 
2622
    case $cross_compiling:$ac_tool_warned in
 
2623
yes:)
 
2624
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2625
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2626
ac_tool_warned=yes ;;
 
2627
esac
 
2628
    STRIP=$ac_ct_STRIP
 
2629
  fi
 
2630
else
 
2631
  STRIP="$ac_cv_prog_STRIP"
 
2632
fi
 
2633
 
 
2634
fi
 
2635
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2636
 
2506
2637
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2507
2638
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2508
2639
if test -z "$MKDIR_P"; then
2657
2788
 
2658
2789
# Define the identity of the package.
2659
2790
 PACKAGE='bug-buddy'
2660
 
 VERSION='2.27.1'
 
2791
 VERSION='2.28.0'
2661
2792
 
2662
2793
 
2663
2794
cat >>confdefs.h <<_ACEOF
2685
2816
 
2686
2817
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2687
2818
 
2688
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2689
 
 
2690
 
# Installed binaries are usually stripped using `strip' when the user
2691
 
# run `make install-strip'.  However `strip' might not be the right
2692
 
# tool to use in cross-compilation environments, therefore Automake
2693
 
# will honor the `STRIP' environment variable to overrule this program.
2694
 
if test "$cross_compiling" != no; then
2695
 
  if test -n "$ac_tool_prefix"; then
2696
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2697
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2698
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2699
 
$as_echo_n "checking for $ac_word... " >&6; }
2700
 
if test "${ac_cv_prog_STRIP+set}" = set; then
2701
 
  $as_echo_n "(cached) " >&6
2702
 
else
2703
 
  if test -n "$STRIP"; then
2704
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2705
 
else
2706
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2707
 
for as_dir in $PATH
2708
 
do
2709
 
  IFS=$as_save_IFS
2710
 
  test -z "$as_dir" && as_dir=.
2711
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2712
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2713
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2714
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2715
 
    break 2
2716
 
  fi
2717
 
done
2718
 
done
2719
 
IFS=$as_save_IFS
2720
 
 
2721
 
fi
2722
 
fi
2723
 
STRIP=$ac_cv_prog_STRIP
2724
 
if test -n "$STRIP"; then
2725
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2726
 
$as_echo "$STRIP" >&6; }
2727
 
else
2728
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
2729
 
$as_echo "no" >&6; }
2730
 
fi
2731
 
 
2732
 
 
2733
 
fi
2734
 
if test -z "$ac_cv_prog_STRIP"; then
2735
 
  ac_ct_STRIP=$STRIP
2736
 
  # Extract the first word of "strip", so it can be a program name with args.
2737
 
set dummy strip; ac_word=$2
2738
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2739
 
$as_echo_n "checking for $ac_word... " >&6; }
2740
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2741
 
  $as_echo_n "(cached) " >&6
2742
 
else
2743
 
  if test -n "$ac_ct_STRIP"; then
2744
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2745
 
else
2746
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2747
 
for as_dir in $PATH
2748
 
do
2749
 
  IFS=$as_save_IFS
2750
 
  test -z "$as_dir" && as_dir=.
2751
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2752
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2753
 
    ac_cv_prog_ac_ct_STRIP="strip"
2754
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2755
 
    break 2
2756
 
  fi
2757
 
done
2758
 
done
2759
 
IFS=$as_save_IFS
2760
 
 
2761
 
fi
2762
 
fi
2763
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2764
 
if test -n "$ac_ct_STRIP"; then
2765
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2766
 
$as_echo "$ac_ct_STRIP" >&6; }
2767
 
else
2768
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
2769
 
$as_echo "no" >&6; }
2770
 
fi
2771
 
 
2772
 
  if test "x$ac_ct_STRIP" = x; then
2773
 
    STRIP=":"
2774
 
  else
2775
 
    case $cross_compiling:$ac_tool_warned in
2776
 
yes:)
2777
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2778
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2779
 
ac_tool_warned=yes ;;
2780
 
esac
2781
 
    STRIP=$ac_ct_STRIP
2782
 
  fi
2783
 
else
2784
 
  STRIP="$ac_cv_prog_STRIP"
2785
 
fi
2786
 
 
2787
 
fi
2788
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2789
 
 
2790
2819
# We need awk for the "check" target.  The system "awk" is bad on
2791
2820
# some platforms.
2792
2821
# Always define AMTAR for backward compatibility.
2881
2910
 
2882
2911
 
2883
2912
 
 
2913
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
2914
$as_echo_n "checking whether ln -s works... " >&6; }
 
2915
LN_S=$as_ln_s
 
2916
if test "$LN_S" = "ln -s"; then
 
2917
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2918
$as_echo "yes" >&6; }
 
2919
else
 
2920
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
2921
$as_echo "no, using $LN_S" >&6; }
 
2922
fi
 
2923
 
2884
2924
 
2885
2925
 
2886
2926
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3000
3040
 
3001
3041
gdu_cv_version_required=0.3.2
3002
3042
 
 
3043
{ $as_echo "$as_me:$LINENO: checking gnome-doc-utils >= $gdu_cv_version_required" >&5
 
3044
$as_echo_n "checking gnome-doc-utils >= $gdu_cv_version_required... " >&6; }
3003
3045
if test -n "$PKG_CONFIG" && \
3004
3046
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\"") >&5
3005
3047
  ($PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $gdu_cv_version_required") 2>&5
3012
3054
fi
3013
3055
 
3014
3056
if test "$gdu_cv_have_gdu" = "yes"; then
 
3057
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
3058
$as_echo "yes" >&6; }
3015
3059
        :
3016
3060
else
 
3061
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
3062
$as_echo "no" >&6; }
3017
3063
        { { $as_echo "$as_me:$LINENO: error: gnome-doc-utils >= $gdu_cv_version_required not found" >&5
3018
3064
$as_echo "$as_me: error: gnome-doc-utils >= $gdu_cv_version_required not found" >&2;}
3019
3065
   { (exit 1); exit 1; }; }
3083
3129
 
3084
3130
 
3085
3131
 
 
3132
 
3086
3133
{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3087
3134
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3088
3135
    # Check whether --enable-maintainer-mode was given.
3127
3174
am_make=${MAKE-make}
3128
3175
cat > confinc << 'END'
3129
3176
am__doit:
3130
 
        @echo done
 
3177
        @echo this is the am__doit target
3131
3178
.PHONY: am__doit
3132
3179
END
3133
3180
# If we don't find an include directive, just comment out the code.
3138
3185
_am_result=none
3139
3186
# First try GNU make style include.
3140
3187
echo "include confinc" > confmf
3141
 
# We grep out `Entering directory' and `Leaving directory'
3142
 
# messages which can occur if `w' ends up in MAKEFLAGS.
3143
 
# In particular we don't look at `^make:' because GNU make might
3144
 
# be invoked under some other name (usually "gmake"), in which
3145
 
# case it prints its new name instead of `make'.
3146
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3147
 
   am__include=include
3148
 
   am__quote=
3149
 
   _am_result=GNU
3150
 
fi
 
3188
# Ignore all kinds of additional output from `make'.
 
3189
case `$am_make -s -f confmf 2> /dev/null` in #(
 
3190
*the\ am__doit\ target*)
 
3191
  am__include=include
 
3192
  am__quote=
 
3193
  _am_result=GNU
 
3194
  ;;
 
3195
esac
3151
3196
# Now try BSD make style include.
3152
3197
if test "$am__include" = "#"; then
3153
3198
   echo '.include "confinc"' > confmf
3154
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3155
 
      am__include=.include
3156
 
      am__quote="\""
3157
 
      _am_result=BSD
3158
 
   fi
 
3199
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
3200
   *the\ am__doit\ target*)
 
3201
     am__include=.include
 
3202
     am__quote="\""
 
3203
     _am_result=BSD
 
3204
     ;;
 
3205
   esac
3159
3206
fi
3160
3207
 
3161
3208
 
4144
4191
  if test "$am_compiler_list" = ""; then
4145
4192
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4146
4193
  fi
 
4194
  am__universal=false
 
4195
  case " $depcc " in #(
 
4196
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
4197
     esac
 
4198
 
4147
4199
  for depmode in $am_compiler_list; do
4148
4200
    # Setup a source with many dependencies, because some compilers
4149
4201
    # like to wrap large dependency lists on column 80 (with \), and
4161
4213
    done
4162
4214
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4163
4215
 
 
4216
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
4217
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
4218
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
4219
    # versions had trouble with output in subdirs
 
4220
    am__obj=sub/conftest.${OBJEXT-o}
 
4221
    am__minus_obj="-o $am__obj"
4164
4222
    case $depmode in
 
4223
    gcc)
 
4224
      # This depmode causes a compiler race in universal mode.
 
4225
      test "$am__universal" = false || continue
 
4226
      ;;
4165
4227
    nosideeffect)
4166
4228
      # after this tag, mechanisms are not by side-effect, so they'll
4167
4229
      # only be used when explicitly requested
4171
4233
        break
4172
4234
      fi
4173
4235
      ;;
 
4236
    msvisualcpp | msvcmsys)
 
4237
      # This compiler won't grok `-c -o', but also, the minuso test has
 
4238
      # not run yet.  These depmodes are late enough in the game, and
 
4239
      # so weak that their functioning should not be impacted.
 
4240
      am__obj=conftest.${OBJEXT-o}
 
4241
      am__minus_obj=
 
4242
      ;;
4174
4243
    none) break ;;
4175
4244
    esac
4176
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4177
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
4178
 
    # handle `-M -o', and we need to detect this.
4179
4245
    if depmode=$depmode \
4180
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
4246
       source=sub/conftest.c object=$am__obj \
4181
4247
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4182
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
4248
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4183
4249
         >/dev/null 2>conftest.err &&
4184
4250
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4185
4251
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4186
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
4252
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4187
4253
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4188
4254
      # icc doesn't choke on unknown options, it will just issue warnings
4189
4255
      # or remarks (even with -Werror).  So we grep stderr for any message
4417
4483
 
4418
4484
 
4419
4485
 
 
4486
 
 
4487
 
 
4488
 
 
4489
 
 
4490
 
 
4491
 
 
4492
 
 
4493
 
 
4494
 
 
4495
 
 
4496
 
 
4497
 
 
4498
 
 
4499
 
 
4500
 
 
4501
 
 
4502
 
 
4503
 
 
4504
 
 
4505
 
 
4506
 
 
4507
 
 
4508
 
 
4509
 
 
4510
 
 
4511
 
 
4512
 
 
4513
 
 
4514
 
 
4515
 
 
4516
 
 
4517
 
 
4518
 
 
4519
 
 
4520
 
 
4521
 
 
4522
 
 
4523
 
 
4524
 
 
4525
 
 
4526
 
 
4527
 
 
4528
 
 
4529
 
 
4530
 
 
4531
 
 
4532
 
 
4533
 
 
4534
 
 
4535
 
 
4536
 
 
4537
 
 
4538
 
 
4539
 
 
4540
 
 
4541
 
 
4542
 
 
4543
 
 
4544
 
 
4545
 
 
4546
 
 
4547
 
 
4548
 
 
4549
 
 
4550
 
 
4551
 
 
4552
 
 
4553
 
 
4554
 
 
4555
 
 
4556
 
 
4557
 
 
4558
 
 
4559
 
 
4560
 
 
4561
 
4420
4562
# Check the gettext tools to make sure they are GNU
4421
4563
# Extract the first word of "xgettext", so it can be a program name with args.
4422
4564
set dummy xgettext; ac_word=$2
4634
4776
 
4635
4777
 
4636
4778
if test -z "$INTLTOOL_PERL"; then
4637
 
   { { $as_echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
4638
 
$as_echo "$as_me: error: perl not found; required for intltool" >&2;}
 
4779
   { { $as_echo "$as_me:$LINENO: error: perl not found" >&5
 
4780
$as_echo "$as_me: error: perl not found" >&2;}
4639
4781
   { (exit 1); exit 1; }; }
4640
4782
fi
4641
 
if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
4642
 
   { { $as_echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5
4643
 
$as_echo "$as_me: error: perl 5.x required for intltool" >&2;}
 
4783
{ $as_echo "$as_me:$LINENO: checking for perl >= 5.8.1" >&5
 
4784
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
 
4785
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
 
4786
if test $? -ne 0; then
 
4787
   { { $as_echo "$as_me:$LINENO: error: perl 5.8.1 is required for intltool" >&5
 
4788
$as_echo "$as_me: error: perl 5.8.1 is required for intltool" >&2;}
4644
4789
   { (exit 1); exit 1; }; }
 
4790
else
 
4791
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
 
4792
   { $as_echo "$as_me:$LINENO: result: $IT_PERL_VERSION" >&5
 
4793
$as_echo "$IT_PERL_VERSION" >&6; }
4645
4794
fi
4646
4795
if test "x" != "xno-xml"; then
4647
4796
   { $as_echo "$as_me:$LINENO: checking for XML::Parser" >&5
4839
4988
 
4840
4989
 
4841
4990
 
 
4991
 
 
4992
 
 
4993
 
 
4994
 
 
4995
 
 
4996
 
4842
4997
# Extract the first word of "gconftool-2", so it can be a program name with args.
4843
4998
set dummy gconftool-2; ac_word=$2
4844
4999
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5645
5800
  if test "$am_compiler_list" = ""; then
5646
5801
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5647
5802
  fi
 
5803
  am__universal=false
 
5804
  case " $depcc " in #(
 
5805
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
5806
     esac
 
5807
 
5648
5808
  for depmode in $am_compiler_list; do
5649
5809
    # Setup a source with many dependencies, because some compilers
5650
5810
    # like to wrap large dependency lists on column 80 (with \), and
5662
5822
    done
5663
5823
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5664
5824
 
 
5825
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
5826
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
5827
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
5828
    # versions had trouble with output in subdirs
 
5829
    am__obj=sub/conftest.${OBJEXT-o}
 
5830
    am__minus_obj="-o $am__obj"
5665
5831
    case $depmode in
 
5832
    gcc)
 
5833
      # This depmode causes a compiler race in universal mode.
 
5834
      test "$am__universal" = false || continue
 
5835
      ;;
5666
5836
    nosideeffect)
5667
5837
      # after this tag, mechanisms are not by side-effect, so they'll
5668
5838
      # only be used when explicitly requested
5672
5842
        break
5673
5843
      fi
5674
5844
      ;;
 
5845
    msvisualcpp | msvcmsys)
 
5846
      # This compiler won't grok `-c -o', but also, the minuso test has
 
5847
      # not run yet.  These depmodes are late enough in the game, and
 
5848
      # so weak that their functioning should not be impacted.
 
5849
      am__obj=conftest.${OBJEXT-o}
 
5850
      am__minus_obj=
 
5851
      ;;
5675
5852
    none) break ;;
5676
5853
    esac
5677
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
5678
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
5679
 
    # handle `-M -o', and we need to detect this.
5680
5854
    if depmode=$depmode \
5681
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
5855
       source=sub/conftest.c object=$am__obj \
5682
5856
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5683
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
5857
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5684
5858
         >/dev/null 2>conftest.err &&
5685
5859
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5686
5860
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5687
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
5861
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5688
5862
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5689
5863
      # icc doesn't choke on unknown options, it will just issue warnings
5690
5864
      # or remarks (even with -Werror).  So we grep stderr for any message
6125
6299
  if test "$am_compiler_list" = ""; then
6126
6300
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6127
6301
  fi
 
6302
  am__universal=false
 
6303
  case " $depcc " in #(
 
6304
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
6305
     esac
 
6306
 
6128
6307
  for depmode in $am_compiler_list; do
6129
6308
    # Setup a source with many dependencies, because some compilers
6130
6309
    # like to wrap large dependency lists on column 80 (with \), and
6142
6321
    done
6143
6322
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6144
6323
 
 
6324
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
6325
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
6326
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
6327
    # versions had trouble with output in subdirs
 
6328
    am__obj=sub/conftest.${OBJEXT-o}
 
6329
    am__minus_obj="-o $am__obj"
6145
6330
    case $depmode in
 
6331
    gcc)
 
6332
      # This depmode causes a compiler race in universal mode.
 
6333
      test "$am__universal" = false || continue
 
6334
      ;;
6146
6335
    nosideeffect)
6147
6336
      # after this tag, mechanisms are not by side-effect, so they'll
6148
6337
      # only be used when explicitly requested
6152
6341
        break
6153
6342
      fi
6154
6343
      ;;
 
6344
    msvisualcpp | msvcmsys)
 
6345
      # This compiler won't grok `-c -o', but also, the minuso test has
 
6346
      # not run yet.  These depmodes are late enough in the game, and
 
6347
      # so weak that their functioning should not be impacted.
 
6348
      am__obj=conftest.${OBJEXT-o}
 
6349
      am__minus_obj=
 
6350
      ;;
6155
6351
    none) break ;;
6156
6352
    esac
6157
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
6158
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
6159
 
    # handle `-M -o', and we need to detect this.
6160
6353
    if depmode=$depmode \
6161
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
6354
       source=sub/conftest.c object=$am__obj \
6162
6355
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6163
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
6356
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6164
6357
         >/dev/null 2>conftest.err &&
6165
6358
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6166
6359
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6167
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
6360
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6168
6361
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6169
6362
      # icc doesn't choke on unknown options, it will just issue warnings
6170
6363
      # or remarks (even with -Werror).  So we grep stderr for any message
6839
7032
 
6840
7033
fi
6841
7034
 
6842
 
# Check whether --enable-shared was given.
6843
 
if test "${enable_shared+set}" = set; then
6844
 
  enableval=$enable_shared; p=${PACKAGE-default}
6845
 
    case $enableval in
6846
 
    yes) enable_shared=yes ;;
6847
 
    no) enable_shared=no ;;
6848
 
    *)
6849
 
      enable_shared=no
6850
 
      # Look at the argument we got.  We use all the common list separators.
6851
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6852
 
      for pkg in $enableval; do
6853
 
        IFS="$lt_save_ifs"
6854
 
        if test "X$pkg" = "X$p"; then
6855
 
          enable_shared=yes
6856
 
        fi
6857
 
      done
6858
 
      IFS="$lt_save_ifs"
6859
 
      ;;
6860
 
    esac
6861
 
else
6862
 
  enable_shared=yes
6863
 
fi
6864
 
 
6865
 
 
6866
 
# Check whether --enable-fast-install was given.
6867
 
if test "${enable_fast_install+set}" = set; then
6868
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
6869
 
    case $enableval in
6870
 
    yes) enable_fast_install=yes ;;
6871
 
    no) enable_fast_install=no ;;
6872
 
    *)
6873
 
      enable_fast_install=no
6874
 
      # Look at the argument we got.  We use all the common list separators.
6875
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6876
 
      for pkg in $enableval; do
6877
 
        IFS="$lt_save_ifs"
6878
 
        if test "X$pkg" = "X$p"; then
6879
 
          enable_fast_install=yes
6880
 
        fi
6881
 
      done
6882
 
      IFS="$lt_save_ifs"
6883
 
      ;;
6884
 
    esac
6885
 
else
6886
 
  enable_fast_install=yes
6887
 
fi
6888
 
 
 
7035
case `pwd` in
 
7036
  *\ * | *\     *)
 
7037
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
7038
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
7039
esac
 
7040
 
 
7041
 
 
7042
 
 
7043
macro_version='2.2.6'
 
7044
macro_revision='1.3012'
 
7045
 
 
7046
 
 
7047
 
 
7048
 
 
7049
 
 
7050
 
 
7051
 
 
7052
 
 
7053
 
 
7054
 
 
7055
 
 
7056
 
 
7057
 
 
7058
ltmain="$ac_aux_dir/ltmain.sh"
6889
7059
 
6890
7060
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
6891
7061
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
6892
 
if test "${lt_cv_path_SED+set}" = set; then
 
7062
if test "${ac_cv_path_SED+set}" = set; then
6893
7063
  $as_echo_n "(cached) " >&6
6894
7064
else
6895
 
  # Loop through the user's path and test for sed and gsed.
6896
 
# Then use that list of sed's as ones to test for truncation.
6897
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7065
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
7066
     for ac_i in 1 2 3 4 5 6 7; do
 
7067
       ac_script="$ac_script$as_nl$ac_script"
 
7068
     done
 
7069
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
7070
     $as_unset ac_script || ac_script=
 
7071
     if test -z "$SED"; then
 
7072
  ac_path_SED_found=false
 
7073
  # Loop through the user's path and test for each of PROGNAME-LIST
 
7074
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6898
7075
for as_dir in $PATH
6899
7076
do
6900
7077
  IFS=$as_save_IFS
6901
7078
  test -z "$as_dir" && as_dir=.
6902
 
  for lt_ac_prog in sed gsed; do
6903
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6904
 
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
6905
 
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
6906
 
      fi
6907
 
    done
6908
 
  done
6909
 
done
6910
 
IFS=$as_save_IFS
6911
 
lt_ac_max=0
6912
 
lt_ac_count=0
6913
 
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
6914
 
# along with /bin/sed that truncates output.
6915
 
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
6916
 
  test ! -f $lt_ac_sed && continue
6917
 
  cat /dev/null > conftest.in
6918
 
  lt_ac_count=0
6919
 
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
6920
 
  # Check for GNU sed and select it if it is found.
6921
 
  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
6922
 
    lt_cv_path_SED=$lt_ac_sed
6923
 
    break
6924
 
  fi
6925
 
  while true; do
6926
 
    cat conftest.in conftest.in >conftest.tmp
6927
 
    mv conftest.tmp conftest.in
6928
 
    cp conftest.in conftest.nl
6929
 
    echo >>conftest.nl
6930
 
    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
6931
 
    cmp -s conftest.out conftest.nl || break
6932
 
    # 10000 chars as input seems more than enough
6933
 
    test $lt_ac_count -gt 10 && break
6934
 
    lt_ac_count=`expr $lt_ac_count + 1`
6935
 
    if test $lt_ac_count -gt $lt_ac_max; then
6936
 
      lt_ac_max=$lt_ac_count
6937
 
      lt_cv_path_SED=$lt_ac_sed
6938
 
    fi
6939
 
  done
6940
 
done
6941
 
 
6942
 
fi
6943
 
 
6944
 
SED=$lt_cv_path_SED
6945
 
 
6946
 
{ $as_echo "$as_me:$LINENO: result: $SED" >&5
6947
 
$as_echo "$SED" >&6; }
 
7079
  for ac_prog in sed gsed; do
 
7080
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7081
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
7082
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
7083
# Check for GNU ac_path_SED and select it if it is found.
 
7084
  # Check for GNU $ac_path_SED
 
7085
case `"$ac_path_SED" --version 2>&1` in
 
7086
*GNU*)
 
7087
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
7088
*)
 
7089
  ac_count=0
 
7090
  $as_echo_n 0123456789 >"conftest.in"
 
7091
  while :
 
7092
  do
 
7093
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
7094
    mv "conftest.tmp" "conftest.in"
 
7095
    cp "conftest.in" "conftest.nl"
 
7096
    $as_echo '' >> "conftest.nl"
 
7097
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
7098
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
7099
    ac_count=`expr $ac_count + 1`
 
7100
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
7101
      # Best one so far, save it but keep looking for a better one
 
7102
      ac_cv_path_SED="$ac_path_SED"
 
7103
      ac_path_SED_max=$ac_count
 
7104
    fi
 
7105
    # 10*(2^10) chars as input seems more than enough
 
7106
    test $ac_count -gt 10 && break
 
7107
  done
 
7108
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
7109
esac
 
7110
 
 
7111
      $ac_path_SED_found && break 3
 
7112
    done
 
7113
  done
 
7114
done
 
7115
IFS=$as_save_IFS
 
7116
  if test -z "$ac_cv_path_SED"; then
 
7117
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
 
7118
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
 
7119
   { (exit 1); exit 1; }; }
 
7120
  fi
 
7121
else
 
7122
  ac_cv_path_SED=$SED
 
7123
fi
 
7124
 
 
7125
fi
 
7126
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
 
7127
$as_echo "$ac_cv_path_SED" >&6; }
 
7128
 SED="$ac_cv_path_SED"
 
7129
  rm -f conftest.sed
 
7130
 
 
7131
test -z "$SED" && SED=sed
 
7132
Xsed="$SED -e 1s/^X//"
 
7133
 
 
7134
 
 
7135
 
 
7136
 
 
7137
 
 
7138
 
 
7139
 
 
7140
 
 
7141
 
 
7142
 
 
7143
 
 
7144
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
 
7145
$as_echo_n "checking for fgrep... " >&6; }
 
7146
if test "${ac_cv_path_FGREP+set}" = set; then
 
7147
  $as_echo_n "(cached) " >&6
 
7148
else
 
7149
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
7150
   then ac_cv_path_FGREP="$GREP -F"
 
7151
   else
 
7152
     if test -z "$FGREP"; then
 
7153
  ac_path_FGREP_found=false
 
7154
  # Loop through the user's path and test for each of PROGNAME-LIST
 
7155
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7156
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
7157
do
 
7158
  IFS=$as_save_IFS
 
7159
  test -z "$as_dir" && as_dir=.
 
7160
  for ac_prog in fgrep; do
 
7161
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7162
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
7163
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
7164
# Check for GNU ac_path_FGREP and select it if it is found.
 
7165
  # Check for GNU $ac_path_FGREP
 
7166
case `"$ac_path_FGREP" --version 2>&1` in
 
7167
*GNU*)
 
7168
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
7169
*)
 
7170
  ac_count=0
 
7171
  $as_echo_n 0123456789 >"conftest.in"
 
7172
  while :
 
7173
  do
 
7174
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
7175
    mv "conftest.tmp" "conftest.in"
 
7176
    cp "conftest.in" "conftest.nl"
 
7177
    $as_echo 'FGREP' >> "conftest.nl"
 
7178
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
7179
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
7180
    ac_count=`expr $ac_count + 1`
 
7181
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
7182
      # Best one so far, save it but keep looking for a better one
 
7183
      ac_cv_path_FGREP="$ac_path_FGREP"
 
7184
      ac_path_FGREP_max=$ac_count
 
7185
    fi
 
7186
    # 10*(2^10) chars as input seems more than enough
 
7187
    test $ac_count -gt 10 && break
 
7188
  done
 
7189
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
7190
esac
 
7191
 
 
7192
      $ac_path_FGREP_found && break 3
 
7193
    done
 
7194
  done
 
7195
done
 
7196
IFS=$as_save_IFS
 
7197
  if test -z "$ac_cv_path_FGREP"; then
 
7198
    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
7199
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
7200
   { (exit 1); exit 1; }; }
 
7201
  fi
 
7202
else
 
7203
  ac_cv_path_FGREP=$FGREP
 
7204
fi
 
7205
 
 
7206
   fi
 
7207
fi
 
7208
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
 
7209
$as_echo "$ac_cv_path_FGREP" >&6; }
 
7210
 FGREP="$ac_cv_path_FGREP"
 
7211
 
 
7212
 
 
7213
test -z "$GREP" && GREP=grep
 
7214
 
 
7215
 
 
7216
 
 
7217
 
 
7218
 
 
7219
 
 
7220
 
 
7221
 
 
7222
 
 
7223
 
 
7224
 
 
7225
 
 
7226
 
 
7227
 
 
7228
 
 
7229
 
 
7230
 
6948
7231
 
6949
7232
 
6950
7233
# Check whether --with-gnu-ld was given.
6971
7254
    [\\/]* | ?:[\\/]*)
6972
7255
      re_direlt='/[^/][^/]*/\.\./'
6973
7256
      # Canonicalize the pathname of ld
6974
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
6975
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
6976
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 
7257
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
7258
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
7259
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6977
7260
      done
6978
7261
      test -z "$LD" && LD="$ac_prog"
6979
7262
      ;;
7053
7336
with_gnu_ld=$lt_cv_prog_gnu_ld
7054
7337
 
7055
7338
 
7056
 
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
7057
 
$as_echo_n "checking for $LD option to reload object files... " >&6; }
7058
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
7059
 
  $as_echo_n "(cached) " >&6
7060
 
else
7061
 
  lt_cv_ld_reload_flag='-r'
7062
 
fi
7063
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
7064
 
$as_echo "$lt_cv_ld_reload_flag" >&6; }
7065
 
reload_flag=$lt_cv_ld_reload_flag
7066
 
case $reload_flag in
7067
 
"" | " "*) ;;
7068
 
*) reload_flag=" $reload_flag" ;;
7069
 
esac
7070
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
7071
 
case $host_os in
7072
 
  darwin*)
7073
 
    if test "$GCC" = yes; then
7074
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7075
 
    else
7076
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
7077
 
    fi
7078
 
    ;;
7079
 
esac
7080
 
 
7081
 
{ $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
7082
 
$as_echo_n "checking for BSD-compatible nm... " >&6; }
 
7339
 
 
7340
 
 
7341
 
 
7342
 
 
7343
 
 
7344
 
 
7345
 
 
7346
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
 
7347
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7083
7348
if test "${lt_cv_path_NM+set}" = set; then
7084
7349
  $as_echo_n "(cached) " >&6
7085
7350
else
7124
7389
    done
7125
7390
    IFS="$lt_save_ifs"
7126
7391
  done
7127
 
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
 
7392
  : ${lt_cv_path_NM=no}
7128
7393
fi
7129
7394
fi
7130
7395
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
7131
7396
$as_echo "$lt_cv_path_NM" >&6; }
7132
 
NM="$lt_cv_path_NM"
7133
 
 
7134
 
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
7135
 
$as_echo_n "checking whether ln -s works... " >&6; }
7136
 
LN_S=$as_ln_s
7137
 
if test "$LN_S" = "ln -s"; then
7138
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
7139
 
$as_echo "yes" >&6; }
7140
 
else
7141
 
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
7142
 
$as_echo "no, using $LN_S" >&6; }
7143
 
fi
 
7397
if test "$lt_cv_path_NM" != "no"; then
 
7398
  NM="$lt_cv_path_NM"
 
7399
else
 
7400
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
7401
  if test -n "$ac_tool_prefix"; then
 
7402
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
7403
  do
 
7404
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
7405
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
7406
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7407
$as_echo_n "checking for $ac_word... " >&6; }
 
7408
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
 
7409
  $as_echo_n "(cached) " >&6
 
7410
else
 
7411
  if test -n "$DUMPBIN"; then
 
7412
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
7413
else
 
7414
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7415
for as_dir in $PATH
 
7416
do
 
7417
  IFS=$as_save_IFS
 
7418
  test -z "$as_dir" && as_dir=.
 
7419
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7420
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7421
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
7422
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7423
    break 2
 
7424
  fi
 
7425
done
 
7426
done
 
7427
IFS=$as_save_IFS
 
7428
 
 
7429
fi
 
7430
fi
 
7431
DUMPBIN=$ac_cv_prog_DUMPBIN
 
7432
if test -n "$DUMPBIN"; then
 
7433
  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
 
7434
$as_echo "$DUMPBIN" >&6; }
 
7435
else
 
7436
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7437
$as_echo "no" >&6; }
 
7438
fi
 
7439
 
 
7440
 
 
7441
    test -n "$DUMPBIN" && break
 
7442
  done
 
7443
fi
 
7444
if test -z "$DUMPBIN"; then
 
7445
  ac_ct_DUMPBIN=$DUMPBIN
 
7446
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
7447
do
 
7448
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
7449
set dummy $ac_prog; ac_word=$2
 
7450
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7451
$as_echo_n "checking for $ac_word... " >&6; }
 
7452
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
 
7453
  $as_echo_n "(cached) " >&6
 
7454
else
 
7455
  if test -n "$ac_ct_DUMPBIN"; then
 
7456
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
7457
else
 
7458
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7459
for as_dir in $PATH
 
7460
do
 
7461
  IFS=$as_save_IFS
 
7462
  test -z "$as_dir" && as_dir=.
 
7463
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7464
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7465
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
7466
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7467
    break 2
 
7468
  fi
 
7469
done
 
7470
done
 
7471
IFS=$as_save_IFS
 
7472
 
 
7473
fi
 
7474
fi
 
7475
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
7476
if test -n "$ac_ct_DUMPBIN"; then
 
7477
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
 
7478
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
7479
else
 
7480
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7481
$as_echo "no" >&6; }
 
7482
fi
 
7483
 
 
7484
 
 
7485
  test -n "$ac_ct_DUMPBIN" && break
 
7486
done
 
7487
 
 
7488
  if test "x$ac_ct_DUMPBIN" = x; then
 
7489
    DUMPBIN=":"
 
7490
  else
 
7491
    case $cross_compiling:$ac_tool_warned in
 
7492
yes:)
 
7493
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7494
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7495
ac_tool_warned=yes ;;
 
7496
esac
 
7497
    DUMPBIN=$ac_ct_DUMPBIN
 
7498
  fi
 
7499
fi
 
7500
 
 
7501
 
 
7502
  if test "$DUMPBIN" != ":"; then
 
7503
    NM="$DUMPBIN"
 
7504
  fi
 
7505
fi
 
7506
test -z "$NM" && NM=nm
 
7507
 
 
7508
 
 
7509
 
 
7510
 
 
7511
 
 
7512
 
 
7513
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
 
7514
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
7515
if test "${lt_cv_nm_interface+set}" = set; then
 
7516
  $as_echo_n "(cached) " >&6
 
7517
else
 
7518
  lt_cv_nm_interface="BSD nm"
 
7519
  echo "int some_variable = 0;" > conftest.$ac_ext
 
7520
  (eval echo "\"\$as_me:7520: $ac_compile\"" >&5)
 
7521
  (eval "$ac_compile" 2>conftest.err)
 
7522
  cat conftest.err >&5
 
7523
  (eval echo "\"\$as_me:7523: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
7524
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
7525
  cat conftest.err >&5
 
7526
  (eval echo "\"\$as_me:7526: output\"" >&5)
 
7527
  cat conftest.out >&5
 
7528
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
7529
    lt_cv_nm_interface="MS dumpbin"
 
7530
  fi
 
7531
  rm -f conftest*
 
7532
fi
 
7533
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
 
7534
$as_echo "$lt_cv_nm_interface" >&6; }
 
7535
 
 
7536
# find the maximum length of command line arguments
 
7537
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
7538
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
7539
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 
7540
  $as_echo_n "(cached) " >&6
 
7541
else
 
7542
    i=0
 
7543
  teststring="ABCD"
 
7544
 
 
7545
  case $build_os in
 
7546
  msdosdjgpp*)
 
7547
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
7548
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
7549
    # during glob expansion).  Even if it were fixed, the result of this
 
7550
    # check would be larger than it should be.
 
7551
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
7552
    ;;
 
7553
 
 
7554
  gnu*)
 
7555
    # Under GNU Hurd, this test is not required because there is
 
7556
    # no limit to the length of command line arguments.
 
7557
    # Libtool will interpret -1 as no limit whatsoever
 
7558
    lt_cv_sys_max_cmd_len=-1;
 
7559
    ;;
 
7560
 
 
7561
  cygwin* | mingw* | cegcc*)
 
7562
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
7563
    # about 5 minutes as the teststring grows exponentially.
 
7564
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
7565
    # you end up with a "frozen" computer, even though with patience
 
7566
    # the test eventually succeeds (with a max line length of 256k).
 
7567
    # Instead, let's just punt: use the minimum linelength reported by
 
7568
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
7569
    lt_cv_sys_max_cmd_len=8192;
 
7570
    ;;
 
7571
 
 
7572
  amigaos*)
 
7573
    # On AmigaOS with pdksh, this test takes hours, literally.
 
7574
    # So we just punt and use a minimum line length of 8192.
 
7575
    lt_cv_sys_max_cmd_len=8192;
 
7576
    ;;
 
7577
 
 
7578
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
7579
    # This has been around since 386BSD, at least.  Likely further.
 
7580
    if test -x /sbin/sysctl; then
 
7581
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
7582
    elif test -x /usr/sbin/sysctl; then
 
7583
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
7584
    else
 
7585
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
7586
    fi
 
7587
    # And add a safety zone
 
7588
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
7589
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
7590
    ;;
 
7591
 
 
7592
  interix*)
 
7593
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
7594
    lt_cv_sys_max_cmd_len=196608
 
7595
    ;;
 
7596
 
 
7597
  osf*)
 
7598
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
7599
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
7600
    # nice to cause kernel panics so lets avoid the loop below.
 
7601
    # First set a reasonable default.
 
7602
    lt_cv_sys_max_cmd_len=16384
 
7603
    #
 
7604
    if test -x /sbin/sysconfig; then
 
7605
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
7606
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
7607
      esac
 
7608
    fi
 
7609
    ;;
 
7610
  sco3.2v5*)
 
7611
    lt_cv_sys_max_cmd_len=102400
 
7612
    ;;
 
7613
  sysv5* | sco5v6* | sysv4.2uw2*)
 
7614
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
7615
    if test -n "$kargmax"; then
 
7616
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
7617
    else
 
7618
      lt_cv_sys_max_cmd_len=32768
 
7619
    fi
 
7620
    ;;
 
7621
  *)
 
7622
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
7623
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
7624
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
7625
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
7626
    else
 
7627
      # Make teststring a little bigger before we do anything with it.
 
7628
      # a 1K string should be a reasonable start.
 
7629
      for i in 1 2 3 4 5 6 7 8 ; do
 
7630
        teststring=$teststring$teststring
 
7631
      done
 
7632
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
7633
      # If test is not a shell built-in, we'll probably end up computing a
 
7634
      # maximum length that is only half of the actual maximum length, but
 
7635
      # we can't tell.
 
7636
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
 
7637
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
7638
              test $i != 17 # 1/2 MB should be enough
 
7639
      do
 
7640
        i=`expr $i + 1`
 
7641
        teststring=$teststring$teststring
 
7642
      done
 
7643
      # Only check the string length outside the loop.
 
7644
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
7645
      teststring=
 
7646
      # Add a significant safety factor because C++ compilers can tack on
 
7647
      # massive amounts of additional arguments before passing them to the
 
7648
      # linker.  It appears as though 1/2 is a usable value.
 
7649
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
7650
    fi
 
7651
    ;;
 
7652
  esac
 
7653
 
 
7654
fi
 
7655
 
 
7656
if test -n $lt_cv_sys_max_cmd_len ; then
 
7657
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
7658
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
7659
else
 
7660
  { $as_echo "$as_me:$LINENO: result: none" >&5
 
7661
$as_echo "none" >&6; }
 
7662
fi
 
7663
max_cmd_len=$lt_cv_sys_max_cmd_len
 
7664
 
 
7665
 
 
7666
 
 
7667
 
 
7668
 
 
7669
 
 
7670
: ${CP="cp -f"}
 
7671
: ${MV="mv -f"}
 
7672
: ${RM="rm -f"}
 
7673
 
 
7674
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
 
7675
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
7676
# Try some XSI features
 
7677
xsi_shell=no
 
7678
( _lt_dummy="a/b/c"
 
7679
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 
7680
      = c,a/b,, \
 
7681
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
7682
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
7683
  && xsi_shell=yes
 
7684
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
 
7685
$as_echo "$xsi_shell" >&6; }
 
7686
 
 
7687
 
 
7688
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
 
7689
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
7690
lt_shell_append=no
 
7691
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
7692
    >/dev/null 2>&1 \
 
7693
  && lt_shell_append=yes
 
7694
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
 
7695
$as_echo "$lt_shell_append" >&6; }
 
7696
 
 
7697
 
 
7698
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
7699
  lt_unset=unset
 
7700
else
 
7701
  lt_unset=false
 
7702
fi
 
7703
 
 
7704
 
 
7705
 
 
7706
 
 
7707
 
 
7708
# test EBCDIC or ASCII
 
7709
case `echo X|tr X '\101'` in
 
7710
 A) # ASCII based system
 
7711
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
7712
  lt_SP2NL='tr \040 \012'
 
7713
  lt_NL2SP='tr \015\012 \040\040'
 
7714
  ;;
 
7715
 *) # EBCDIC based system
 
7716
  lt_SP2NL='tr \100 \n'
 
7717
  lt_NL2SP='tr \r\n \100\100'
 
7718
  ;;
 
7719
esac
 
7720
 
 
7721
 
 
7722
 
 
7723
 
 
7724
 
 
7725
 
 
7726
 
 
7727
 
 
7728
 
 
7729
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
7730
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
7731
if test "${lt_cv_ld_reload_flag+set}" = set; then
 
7732
  $as_echo_n "(cached) " >&6
 
7733
else
 
7734
  lt_cv_ld_reload_flag='-r'
 
7735
fi
 
7736
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
7737
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
7738
reload_flag=$lt_cv_ld_reload_flag
 
7739
case $reload_flag in
 
7740
"" | " "*) ;;
 
7741
*) reload_flag=" $reload_flag" ;;
 
7742
esac
 
7743
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
7744
case $host_os in
 
7745
  darwin*)
 
7746
    if test "$GCC" = yes; then
 
7747
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
7748
    else
 
7749
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
7750
    fi
 
7751
    ;;
 
7752
esac
 
7753
 
 
7754
 
 
7755
 
 
7756
 
 
7757
 
 
7758
 
 
7759
 
 
7760
 
 
7761
 
 
7762
if test -n "$ac_tool_prefix"; then
 
7763
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
7764
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
7765
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7766
$as_echo_n "checking for $ac_word... " >&6; }
 
7767
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 
7768
  $as_echo_n "(cached) " >&6
 
7769
else
 
7770
  if test -n "$OBJDUMP"; then
 
7771
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
7772
else
 
7773
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7774
for as_dir in $PATH
 
7775
do
 
7776
  IFS=$as_save_IFS
 
7777
  test -z "$as_dir" && as_dir=.
 
7778
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7779
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7780
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
7781
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7782
    break 2
 
7783
  fi
 
7784
done
 
7785
done
 
7786
IFS=$as_save_IFS
 
7787
 
 
7788
fi
 
7789
fi
 
7790
OBJDUMP=$ac_cv_prog_OBJDUMP
 
7791
if test -n "$OBJDUMP"; then
 
7792
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
7793
$as_echo "$OBJDUMP" >&6; }
 
7794
else
 
7795
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7796
$as_echo "no" >&6; }
 
7797
fi
 
7798
 
 
7799
 
 
7800
fi
 
7801
if test -z "$ac_cv_prog_OBJDUMP"; then
 
7802
  ac_ct_OBJDUMP=$OBJDUMP
 
7803
  # Extract the first word of "objdump", so it can be a program name with args.
 
7804
set dummy objdump; ac_word=$2
 
7805
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7806
$as_echo_n "checking for $ac_word... " >&6; }
 
7807
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 
7808
  $as_echo_n "(cached) " >&6
 
7809
else
 
7810
  if test -n "$ac_ct_OBJDUMP"; then
 
7811
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
7812
else
 
7813
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7814
for as_dir in $PATH
 
7815
do
 
7816
  IFS=$as_save_IFS
 
7817
  test -z "$as_dir" && as_dir=.
 
7818
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7819
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7820
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
7821
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7822
    break 2
 
7823
  fi
 
7824
done
 
7825
done
 
7826
IFS=$as_save_IFS
 
7827
 
 
7828
fi
 
7829
fi
 
7830
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
7831
if test -n "$ac_ct_OBJDUMP"; then
 
7832
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
7833
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
7834
else
 
7835
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7836
$as_echo "no" >&6; }
 
7837
fi
 
7838
 
 
7839
  if test "x$ac_ct_OBJDUMP" = x; then
 
7840
    OBJDUMP="false"
 
7841
  else
 
7842
    case $cross_compiling:$ac_tool_warned in
 
7843
yes:)
 
7844
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7845
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7846
ac_tool_warned=yes ;;
 
7847
esac
 
7848
    OBJDUMP=$ac_ct_OBJDUMP
 
7849
  fi
 
7850
else
 
7851
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
7852
fi
 
7853
 
 
7854
test -z "$OBJDUMP" && OBJDUMP=objdump
 
7855
 
 
7856
 
 
7857
 
 
7858
 
 
7859
 
 
7860
 
 
7861
 
 
7862
 
7144
7863
 
7145
7864
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
7146
7865
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
7195
7914
  fi
7196
7915
  ;;
7197
7916
 
 
7917
cegcc)
 
7918
  # use the weaker test based on 'objdump'. See mingw*.
 
7919
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
7920
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
7921
  ;;
 
7922
 
7198
7923
darwin* | rhapsody*)
7199
7924
  lt_cv_deplibs_check_method=pass_all
7200
7925
  ;;
7201
7926
 
7202
7927
freebsd* | dragonfly*)
7203
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
7928
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7204
7929
    case $host_cpu in
7205
7930
    i*86 )
7206
7931
      # Not sure whether the presence of OpenBSD here was a mistake.
7258
7983
  ;;
7259
7984
 
7260
7985
netbsd*)
7261
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
7986
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7262
7987
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7263
7988
  else
7264
7989
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7271
7996
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
7272
7997
  ;;
7273
7998
 
7274
 
nto-qnx*)
7275
 
  lt_cv_deplibs_check_method=unknown
 
7999
*nto* | *qnx*)
 
8000
  lt_cv_deplibs_check_method=pass_all
7276
8001
  ;;
7277
8002
 
7278
8003
openbsd*)
7279
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
8004
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7280
8005
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7281
8006
  else
7282
8007
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7295
8020
  lt_cv_deplibs_check_method=pass_all
7296
8021
  ;;
7297
8022
 
 
8023
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
8024
  lt_cv_deplibs_check_method=pass_all
 
8025
  ;;
 
8026
 
7298
8027
sysv4 | sysv4.3*)
7299
8028
  case $host_vendor in
7300
8029
  motorola)
7322
8051
  esac
7323
8052
  ;;
7324
8053
 
7325
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
8054
tpf*)
7326
8055
  lt_cv_deplibs_check_method=pass_all
7327
8056
  ;;
7328
8057
esac
7337
8066
 
7338
8067
 
7339
8068
 
 
8069
 
 
8070
 
 
8071
 
 
8072
 
 
8073
 
 
8074
 
 
8075
 
 
8076
 
 
8077
if test -n "$ac_tool_prefix"; then
 
8078
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 
8079
set dummy ${ac_tool_prefix}ar; ac_word=$2
 
8080
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8081
$as_echo_n "checking for $ac_word... " >&6; }
 
8082
if test "${ac_cv_prog_AR+set}" = set; then
 
8083
  $as_echo_n "(cached) " >&6
 
8084
else
 
8085
  if test -n "$AR"; then
 
8086
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
8087
else
 
8088
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8089
for as_dir in $PATH
 
8090
do
 
8091
  IFS=$as_save_IFS
 
8092
  test -z "$as_dir" && as_dir=.
 
8093
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8094
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8095
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
8096
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8097
    break 2
 
8098
  fi
 
8099
done
 
8100
done
 
8101
IFS=$as_save_IFS
 
8102
 
 
8103
fi
 
8104
fi
 
8105
AR=$ac_cv_prog_AR
 
8106
if test -n "$AR"; then
 
8107
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
 
8108
$as_echo "$AR" >&6; }
 
8109
else
 
8110
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8111
$as_echo "no" >&6; }
 
8112
fi
 
8113
 
 
8114
 
 
8115
fi
 
8116
if test -z "$ac_cv_prog_AR"; then
 
8117
  ac_ct_AR=$AR
 
8118
  # Extract the first word of "ar", so it can be a program name with args.
 
8119
set dummy ar; ac_word=$2
 
8120
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8121
$as_echo_n "checking for $ac_word... " >&6; }
 
8122
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
8123
  $as_echo_n "(cached) " >&6
 
8124
else
 
8125
  if test -n "$ac_ct_AR"; then
 
8126
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
8127
else
 
8128
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8129
for as_dir in $PATH
 
8130
do
 
8131
  IFS=$as_save_IFS
 
8132
  test -z "$as_dir" && as_dir=.
 
8133
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8134
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8135
    ac_cv_prog_ac_ct_AR="ar"
 
8136
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8137
    break 2
 
8138
  fi
 
8139
done
 
8140
done
 
8141
IFS=$as_save_IFS
 
8142
 
 
8143
fi
 
8144
fi
 
8145
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
8146
if test -n "$ac_ct_AR"; then
 
8147
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
8148
$as_echo "$ac_ct_AR" >&6; }
 
8149
else
 
8150
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8151
$as_echo "no" >&6; }
 
8152
fi
 
8153
 
 
8154
  if test "x$ac_ct_AR" = x; then
 
8155
    AR="false"
 
8156
  else
 
8157
    case $cross_compiling:$ac_tool_warned in
 
8158
yes:)
 
8159
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
8160
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8161
ac_tool_warned=yes ;;
 
8162
esac
 
8163
    AR=$ac_ct_AR
 
8164
  fi
 
8165
else
 
8166
  AR="$ac_cv_prog_AR"
 
8167
fi
 
8168
 
 
8169
test -z "$AR" && AR=ar
 
8170
test -z "$AR_FLAGS" && AR_FLAGS=cru
 
8171
 
 
8172
 
 
8173
 
 
8174
 
 
8175
 
 
8176
 
 
8177
 
 
8178
 
 
8179
 
 
8180
 
 
8181
 
 
8182
if test -n "$ac_tool_prefix"; then
 
8183
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
8184
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
8185
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8186
$as_echo_n "checking for $ac_word... " >&6; }
 
8187
if test "${ac_cv_prog_STRIP+set}" = set; then
 
8188
  $as_echo_n "(cached) " >&6
 
8189
else
 
8190
  if test -n "$STRIP"; then
 
8191
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
8192
else
 
8193
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8194
for as_dir in $PATH
 
8195
do
 
8196
  IFS=$as_save_IFS
 
8197
  test -z "$as_dir" && as_dir=.
 
8198
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8199
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8200
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
8201
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8202
    break 2
 
8203
  fi
 
8204
done
 
8205
done
 
8206
IFS=$as_save_IFS
 
8207
 
 
8208
fi
 
8209
fi
 
8210
STRIP=$ac_cv_prog_STRIP
 
8211
if test -n "$STRIP"; then
 
8212
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
8213
$as_echo "$STRIP" >&6; }
 
8214
else
 
8215
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8216
$as_echo "no" >&6; }
 
8217
fi
 
8218
 
 
8219
 
 
8220
fi
 
8221
if test -z "$ac_cv_prog_STRIP"; then
 
8222
  ac_ct_STRIP=$STRIP
 
8223
  # Extract the first word of "strip", so it can be a program name with args.
 
8224
set dummy strip; ac_word=$2
 
8225
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8226
$as_echo_n "checking for $ac_word... " >&6; }
 
8227
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
8228
  $as_echo_n "(cached) " >&6
 
8229
else
 
8230
  if test -n "$ac_ct_STRIP"; then
 
8231
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
8232
else
 
8233
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8234
for as_dir in $PATH
 
8235
do
 
8236
  IFS=$as_save_IFS
 
8237
  test -z "$as_dir" && as_dir=.
 
8238
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8239
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8240
    ac_cv_prog_ac_ct_STRIP="strip"
 
8241
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8242
    break 2
 
8243
  fi
 
8244
done
 
8245
done
 
8246
IFS=$as_save_IFS
 
8247
 
 
8248
fi
 
8249
fi
 
8250
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
8251
if test -n "$ac_ct_STRIP"; then
 
8252
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
8253
$as_echo "$ac_ct_STRIP" >&6; }
 
8254
else
 
8255
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8256
$as_echo "no" >&6; }
 
8257
fi
 
8258
 
 
8259
  if test "x$ac_ct_STRIP" = x; then
 
8260
    STRIP=":"
 
8261
  else
 
8262
    case $cross_compiling:$ac_tool_warned in
 
8263
yes:)
 
8264
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
8265
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8266
ac_tool_warned=yes ;;
 
8267
esac
 
8268
    STRIP=$ac_ct_STRIP
 
8269
  fi
 
8270
else
 
8271
  STRIP="$ac_cv_prog_STRIP"
 
8272
fi
 
8273
 
 
8274
test -z "$STRIP" && STRIP=:
 
8275
 
 
8276
 
 
8277
 
 
8278
 
 
8279
 
 
8280
 
 
8281
if test -n "$ac_tool_prefix"; then
 
8282
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
8283
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
8284
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8285
$as_echo_n "checking for $ac_word... " >&6; }
 
8286
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
8287
  $as_echo_n "(cached) " >&6
 
8288
else
 
8289
  if test -n "$RANLIB"; then
 
8290
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
8291
else
 
8292
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8293
for as_dir in $PATH
 
8294
do
 
8295
  IFS=$as_save_IFS
 
8296
  test -z "$as_dir" && as_dir=.
 
8297
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8298
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8299
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
8300
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8301
    break 2
 
8302
  fi
 
8303
done
 
8304
done
 
8305
IFS=$as_save_IFS
 
8306
 
 
8307
fi
 
8308
fi
 
8309
RANLIB=$ac_cv_prog_RANLIB
 
8310
if test -n "$RANLIB"; then
 
8311
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
8312
$as_echo "$RANLIB" >&6; }
 
8313
else
 
8314
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8315
$as_echo "no" >&6; }
 
8316
fi
 
8317
 
 
8318
 
 
8319
fi
 
8320
if test -z "$ac_cv_prog_RANLIB"; then
 
8321
  ac_ct_RANLIB=$RANLIB
 
8322
  # Extract the first word of "ranlib", so it can be a program name with args.
 
8323
set dummy ranlib; ac_word=$2
 
8324
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8325
$as_echo_n "checking for $ac_word... " >&6; }
 
8326
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
8327
  $as_echo_n "(cached) " >&6
 
8328
else
 
8329
  if test -n "$ac_ct_RANLIB"; then
 
8330
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
8331
else
 
8332
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8333
for as_dir in $PATH
 
8334
do
 
8335
  IFS=$as_save_IFS
 
8336
  test -z "$as_dir" && as_dir=.
 
8337
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8338
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8339
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
8340
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8341
    break 2
 
8342
  fi
 
8343
done
 
8344
done
 
8345
IFS=$as_save_IFS
 
8346
 
 
8347
fi
 
8348
fi
 
8349
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
8350
if test -n "$ac_ct_RANLIB"; then
 
8351
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
8352
$as_echo "$ac_ct_RANLIB" >&6; }
 
8353
else
 
8354
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8355
$as_echo "no" >&6; }
 
8356
fi
 
8357
 
 
8358
  if test "x$ac_ct_RANLIB" = x; then
 
8359
    RANLIB=":"
 
8360
  else
 
8361
    case $cross_compiling:$ac_tool_warned in
 
8362
yes:)
 
8363
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
8364
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8365
ac_tool_warned=yes ;;
 
8366
esac
 
8367
    RANLIB=$ac_ct_RANLIB
 
8368
  fi
 
8369
else
 
8370
  RANLIB="$ac_cv_prog_RANLIB"
 
8371
fi
 
8372
 
 
8373
test -z "$RANLIB" && RANLIB=:
 
8374
 
 
8375
 
 
8376
 
 
8377
 
 
8378
 
 
8379
 
 
8380
# Determine commands to create old-style static archives.
 
8381
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
8382
old_postinstall_cmds='chmod 644 $oldlib'
 
8383
old_postuninstall_cmds=
 
8384
 
 
8385
if test -n "$RANLIB"; then
 
8386
  case $host_os in
 
8387
  openbsd*)
 
8388
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
8389
    ;;
 
8390
  *)
 
8391
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
8392
    ;;
 
8393
  esac
 
8394
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
8395
fi
 
8396
 
 
8397
 
 
8398
 
 
8399
 
 
8400
 
 
8401
 
 
8402
 
 
8403
 
 
8404
 
 
8405
 
 
8406
 
 
8407
 
 
8408
 
 
8409
 
 
8410
 
 
8411
 
 
8412
 
 
8413
 
 
8414
 
 
8415
 
 
8416
 
 
8417
 
 
8418
 
 
8419
 
 
8420
 
 
8421
 
 
8422
 
 
8423
 
 
8424
 
 
8425
 
 
8426
 
 
8427
 
 
8428
 
 
8429
 
7340
8430
# If no C compiler was specified, use CC.
7341
8431
LTCC=${LTCC-"$CC"}
7342
8432
 
7346
8436
# Allow CC to be a program name with arguments.
7347
8437
compiler=$CC
7348
8438
 
7349
 
# Check whether --enable-libtool-lock was given.
7350
 
if test "${enable_libtool_lock+set}" = set; then
7351
 
  enableval=$enable_libtool_lock;
7352
 
fi
7353
 
 
7354
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7355
 
 
7356
 
# Some flags need to be propagated to the compiler or linker for good
7357
 
# libtool support.
7358
 
case $host in
7359
 
ia64-*-hpux*)
7360
 
  # Find out which ABI we are using.
7361
 
  echo 'int i;' > conftest.$ac_ext
7362
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7363
 
  (eval $ac_compile) 2>&5
7364
 
  ac_status=$?
7365
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7366
 
  (exit $ac_status); }; then
7367
 
    case `/usr/bin/file conftest.$ac_objext` in
7368
 
    *ELF-32*)
7369
 
      HPUX_IA64_MODE="32"
7370
 
      ;;
7371
 
    *ELF-64*)
7372
 
      HPUX_IA64_MODE="64"
7373
 
      ;;
7374
 
    esac
7375
 
  fi
7376
 
  rm -rf conftest*
7377
 
  ;;
7378
 
*-*-irix6*)
7379
 
  # Find out which ABI we are using.
7380
 
  echo '#line 7380 "configure"' > conftest.$ac_ext
7381
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7382
 
  (eval $ac_compile) 2>&5
7383
 
  ac_status=$?
7384
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7385
 
  (exit $ac_status); }; then
7386
 
   if test "$lt_cv_prog_gnu_ld" = yes; then
7387
 
    case `/usr/bin/file conftest.$ac_objext` in
7388
 
    *32-bit*)
7389
 
      LD="${LD-ld} -melf32bsmip"
7390
 
      ;;
7391
 
    *N32*)
7392
 
      LD="${LD-ld} -melf32bmipn32"
7393
 
      ;;
7394
 
    *64-bit*)
7395
 
      LD="${LD-ld} -melf64bmip"
7396
 
      ;;
7397
 
    esac
7398
 
   else
7399
 
    case `/usr/bin/file conftest.$ac_objext` in
7400
 
    *32-bit*)
7401
 
      LD="${LD-ld} -32"
7402
 
      ;;
7403
 
    *N32*)
7404
 
      LD="${LD-ld} -n32"
7405
 
      ;;
7406
 
    *64-bit*)
7407
 
      LD="${LD-ld} -64"
7408
 
      ;;
7409
 
    esac
7410
 
   fi
7411
 
  fi
7412
 
  rm -rf conftest*
7413
 
  ;;
7414
 
 
7415
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7416
 
s390*-*linux*|sparc*-*linux*)
7417
 
  # Find out which ABI we are using.
7418
 
  echo 'int i;' > conftest.$ac_ext
7419
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7420
 
  (eval $ac_compile) 2>&5
7421
 
  ac_status=$?
7422
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7423
 
  (exit $ac_status); }; then
7424
 
    case `/usr/bin/file conftest.o` in
7425
 
    *32-bit*)
7426
 
      case $host in
7427
 
        x86_64-*kfreebsd*-gnu)
7428
 
          LD="${LD-ld} -m elf_i386_fbsd"
7429
 
          ;;
7430
 
        x86_64-*linux*)
7431
 
          LD="${LD-ld} -m elf_i386"
7432
 
          ;;
7433
 
        ppc64-*linux*|powerpc64-*linux*)
7434
 
          LD="${LD-ld} -m elf32ppclinux"
7435
 
          ;;
7436
 
        s390x-*linux*)
7437
 
          LD="${LD-ld} -m elf_s390"
7438
 
          ;;
7439
 
        sparc64-*linux*)
7440
 
          LD="${LD-ld} -m elf32_sparc"
7441
 
          ;;
7442
 
      esac
7443
 
      ;;
7444
 
    *64-bit*)
7445
 
      libsuff=64
7446
 
      case $host in
7447
 
        x86_64-*kfreebsd*-gnu)
7448
 
          LD="${LD-ld} -m elf_x86_64_fbsd"
7449
 
          ;;
7450
 
        x86_64-*linux*)
7451
 
          LD="${LD-ld} -m elf_x86_64"
7452
 
          ;;
7453
 
        ppc*-*linux*|powerpc*-*linux*)
7454
 
          LD="${LD-ld} -m elf64ppc"
7455
 
          ;;
7456
 
        s390*-*linux*)
7457
 
          LD="${LD-ld} -m elf64_s390"
7458
 
          ;;
7459
 
        sparc*-*linux*)
7460
 
          LD="${LD-ld} -m elf64_sparc"
7461
 
          ;;
7462
 
      esac
7463
 
      ;;
7464
 
    esac
7465
 
  fi
7466
 
  rm -rf conftest*
7467
 
  ;;
7468
 
 
7469
 
*-*-sco3.2v5*)
7470
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7471
 
  SAVE_CFLAGS="$CFLAGS"
7472
 
  CFLAGS="$CFLAGS -belf"
7473
 
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
7474
 
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7475
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
7476
 
  $as_echo_n "(cached) " >&6
7477
 
else
7478
 
  ac_ext=c
7479
 
ac_cpp='$CPP $CPPFLAGS'
7480
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7481
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7482
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7483
 
 
7484
 
     cat >conftest.$ac_ext <<_ACEOF
7485
 
/* confdefs.h.  */
7486
 
_ACEOF
7487
 
cat confdefs.h >>conftest.$ac_ext
7488
 
cat >>conftest.$ac_ext <<_ACEOF
7489
 
/* end confdefs.h.  */
7490
 
 
7491
 
int
7492
 
main ()
7493
 
{
7494
 
 
7495
 
  ;
7496
 
  return 0;
7497
 
}
7498
 
_ACEOF
7499
 
rm -f conftest.$ac_objext conftest$ac_exeext
7500
 
if { (ac_try="$ac_link"
7501
 
case "(($ac_try" in
7502
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7503
 
  *) ac_try_echo=$ac_try;;
7504
 
esac
7505
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7506
 
$as_echo "$ac_try_echo") >&5
7507
 
  (eval "$ac_link") 2>conftest.er1
7508
 
  ac_status=$?
7509
 
  grep -v '^ *+' conftest.er1 >conftest.err
7510
 
  rm -f conftest.er1
7511
 
  cat conftest.err >&5
7512
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7513
 
  (exit $ac_status); } && {
7514
 
         test -z "$ac_c_werror_flag" ||
7515
 
         test ! -s conftest.err
7516
 
       } && test -s conftest$ac_exeext && {
7517
 
         test "$cross_compiling" = yes ||
7518
 
         $as_test_x conftest$ac_exeext
7519
 
       }; then
7520
 
  lt_cv_cc_needs_belf=yes
7521
 
else
7522
 
  $as_echo "$as_me: failed program was:" >&5
7523
 
sed 's/^/| /' conftest.$ac_ext >&5
7524
 
 
7525
 
        lt_cv_cc_needs_belf=no
7526
 
fi
7527
 
 
7528
 
rm -rf conftest.dSYM
7529
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7530
 
      conftest$ac_exeext conftest.$ac_ext
7531
 
     ac_ext=c
7532
 
ac_cpp='$CPP $CPPFLAGS'
7533
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7534
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7535
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7536
 
 
7537
 
fi
7538
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
7539
 
$as_echo "$lt_cv_cc_needs_belf" >&6; }
7540
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7541
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7542
 
    CFLAGS="$SAVE_CFLAGS"
7543
 
  fi
7544
 
  ;;
7545
 
sparc*-*solaris*)
7546
 
  # Find out which ABI we are using.
7547
 
  echo 'int i;' > conftest.$ac_ext
7548
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7549
 
  (eval $ac_compile) 2>&5
7550
 
  ac_status=$?
7551
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7552
 
  (exit $ac_status); }; then
7553
 
    case `/usr/bin/file conftest.o` in
7554
 
    *64-bit*)
7555
 
      case $lt_cv_prog_gnu_ld in
7556
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
7557
 
      *)
7558
 
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7559
 
          LD="${LD-ld} -64"
7560
 
        fi
7561
 
        ;;
7562
 
      esac
7563
 
      ;;
7564
 
    esac
7565
 
  fi
7566
 
  rm -rf conftest*
7567
 
  ;;
7568
 
 
7569
 
 
7570
 
esac
7571
 
 
7572
 
need_locks="$enable_libtool_lock"
7573
 
 
7574
 
 
7575
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7576
 
 
7577
 
 
7578
 
 
7579
 
 
7580
 
 
7581
 
 
7582
 
 
7583
 
 
7584
 
 
7585
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7586
 
                  inttypes.h stdint.h unistd.h
7587
 
do
7588
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7589
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7590
 
$as_echo_n "checking for $ac_header... " >&6; }
7591
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7592
 
  $as_echo_n "(cached) " >&6
7593
 
else
7594
 
  cat >conftest.$ac_ext <<_ACEOF
7595
 
/* confdefs.h.  */
7596
 
_ACEOF
7597
 
cat confdefs.h >>conftest.$ac_ext
7598
 
cat >>conftest.$ac_ext <<_ACEOF
7599
 
/* end confdefs.h.  */
7600
 
$ac_includes_default
7601
 
 
7602
 
#include <$ac_header>
7603
 
_ACEOF
7604
 
rm -f conftest.$ac_objext
7605
 
if { (ac_try="$ac_compile"
7606
 
case "(($ac_try" in
7607
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7608
 
  *) ac_try_echo=$ac_try;;
7609
 
esac
7610
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7611
 
$as_echo "$ac_try_echo") >&5
7612
 
  (eval "$ac_compile") 2>conftest.er1
7613
 
  ac_status=$?
7614
 
  grep -v '^ *+' conftest.er1 >conftest.err
7615
 
  rm -f conftest.er1
7616
 
  cat conftest.err >&5
7617
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7618
 
  (exit $ac_status); } && {
7619
 
         test -z "$ac_c_werror_flag" ||
7620
 
         test ! -s conftest.err
7621
 
       } && test -s conftest.$ac_objext; then
7622
 
  eval "$as_ac_Header=yes"
7623
 
else
7624
 
  $as_echo "$as_me: failed program was:" >&5
7625
 
sed 's/^/| /' conftest.$ac_ext >&5
7626
 
 
7627
 
        eval "$as_ac_Header=no"
7628
 
fi
7629
 
 
7630
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7631
 
fi
7632
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
7633
 
                 $as_echo "$as_val"'`
7634
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7635
 
$as_echo "$ac_res" >&6; }
7636
 
as_val=`eval 'as_val=${'$as_ac_Header'}
7637
 
                 $as_echo "$as_val"'`
7638
 
   if test "x$as_val" = x""yes; then
7639
 
  cat >>confdefs.h <<_ACEOF
7640
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7641
 
_ACEOF
7642
 
 
7643
 
fi
7644
 
 
7645
 
done
7646
 
 
7647
 
 
7648
 
 
7649
 
for ac_header in dlfcn.h
7650
 
do
7651
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7652
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7653
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7654
 
$as_echo_n "checking for $ac_header... " >&6; }
7655
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7656
 
  $as_echo_n "(cached) " >&6
7657
 
fi
7658
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
7659
 
                 $as_echo "$as_val"'`
7660
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7661
 
$as_echo "$ac_res" >&6; }
7662
 
else
7663
 
  # Is the header compilable?
7664
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7665
 
$as_echo_n "checking $ac_header usability... " >&6; }
7666
 
cat >conftest.$ac_ext <<_ACEOF
7667
 
/* confdefs.h.  */
7668
 
_ACEOF
7669
 
cat confdefs.h >>conftest.$ac_ext
7670
 
cat >>conftest.$ac_ext <<_ACEOF
7671
 
/* end confdefs.h.  */
7672
 
$ac_includes_default
7673
 
#include <$ac_header>
7674
 
_ACEOF
7675
 
rm -f conftest.$ac_objext
7676
 
if { (ac_try="$ac_compile"
7677
 
case "(($ac_try" in
7678
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7679
 
  *) ac_try_echo=$ac_try;;
7680
 
esac
7681
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7682
 
$as_echo "$ac_try_echo") >&5
7683
 
  (eval "$ac_compile") 2>conftest.er1
7684
 
  ac_status=$?
7685
 
  grep -v '^ *+' conftest.er1 >conftest.err
7686
 
  rm -f conftest.er1
7687
 
  cat conftest.err >&5
7688
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7689
 
  (exit $ac_status); } && {
7690
 
         test -z "$ac_c_werror_flag" ||
7691
 
         test ! -s conftest.err
7692
 
       } && test -s conftest.$ac_objext; then
7693
 
  ac_header_compiler=yes
7694
 
else
7695
 
  $as_echo "$as_me: failed program was:" >&5
7696
 
sed 's/^/| /' conftest.$ac_ext >&5
7697
 
 
7698
 
        ac_header_compiler=no
7699
 
fi
7700
 
 
7701
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7702
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7703
 
$as_echo "$ac_header_compiler" >&6; }
7704
 
 
7705
 
# Is the header present?
7706
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7707
 
$as_echo_n "checking $ac_header presence... " >&6; }
7708
 
cat >conftest.$ac_ext <<_ACEOF
7709
 
/* confdefs.h.  */
7710
 
_ACEOF
7711
 
cat confdefs.h >>conftest.$ac_ext
7712
 
cat >>conftest.$ac_ext <<_ACEOF
7713
 
/* end confdefs.h.  */
7714
 
#include <$ac_header>
7715
 
_ACEOF
7716
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7717
 
case "(($ac_try" in
7718
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7719
 
  *) ac_try_echo=$ac_try;;
7720
 
esac
7721
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7722
 
$as_echo "$ac_try_echo") >&5
7723
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7724
 
  ac_status=$?
7725
 
  grep -v '^ *+' conftest.er1 >conftest.err
7726
 
  rm -f conftest.er1
7727
 
  cat conftest.err >&5
7728
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7729
 
  (exit $ac_status); } >/dev/null && {
7730
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7731
 
         test ! -s conftest.err
7732
 
       }; then
7733
 
  ac_header_preproc=yes
7734
 
else
7735
 
  $as_echo "$as_me: failed program was:" >&5
7736
 
sed 's/^/| /' conftest.$ac_ext >&5
7737
 
 
7738
 
  ac_header_preproc=no
7739
 
fi
7740
 
 
7741
 
rm -f conftest.err conftest.$ac_ext
7742
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7743
 
$as_echo "$ac_header_preproc" >&6; }
7744
 
 
7745
 
# So?  What about this header?
7746
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7747
 
  yes:no: )
7748
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7749
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7750
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7751
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7752
 
    ac_header_preproc=yes
7753
 
    ;;
7754
 
  no:yes:* )
7755
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7756
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7757
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7758
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7759
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7760
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7761
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7762
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7763
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7764
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7765
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7766
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7767
 
    ( cat <<\_ASBOX
7768
 
## ------------------------------------------------------------------------ ##
7769
 
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=bug-buddy ##
7770
 
## ------------------------------------------------------------------------ ##
7771
 
_ASBOX
7772
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
7773
 
    ;;
7774
 
esac
7775
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7776
 
$as_echo_n "checking for $ac_header... " >&6; }
7777
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7778
 
  $as_echo_n "(cached) " >&6
7779
 
else
7780
 
  eval "$as_ac_Header=\$ac_header_preproc"
7781
 
fi
7782
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
7783
 
                 $as_echo "$as_val"'`
7784
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7785
 
$as_echo "$ac_res" >&6; }
7786
 
 
7787
 
fi
7788
 
as_val=`eval 'as_val=${'$as_ac_Header'}
7789
 
                 $as_echo "$as_val"'`
7790
 
   if test "x$as_val" = x""yes; then
7791
 
  cat >>confdefs.h <<_ACEOF
7792
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7793
 
_ACEOF
7794
 
 
7795
 
fi
7796
 
 
7797
 
done
7798
 
 
7799
 
 
7800
 
 
7801
 
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
7802
 
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
7803
 
    (test "X$CXX" != "Xg++"))) ; then
7804
 
  ac_ext=cpp
7805
 
ac_cpp='$CXXCPP $CPPFLAGS'
7806
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7807
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7808
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7809
 
{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7810
 
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
7811
 
if test -z "$CXXCPP"; then
7812
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
7813
 
  $as_echo_n "(cached) " >&6
7814
 
else
7815
 
      # Double quotes because CXXCPP needs to be expanded
7816
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
7817
 
    do
7818
 
      ac_preproc_ok=false
7819
 
for ac_cxx_preproc_warn_flag in '' yes
7820
 
do
7821
 
  # Use a header file that comes with gcc, so configuring glibc
7822
 
  # with a fresh cross-compiler works.
7823
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7824
 
  # <limits.h> exists even on freestanding compilers.
7825
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
7826
 
  # not just through cpp. "Syntax error" is here to catch this case.
7827
 
  cat >conftest.$ac_ext <<_ACEOF
7828
 
/* confdefs.h.  */
7829
 
_ACEOF
7830
 
cat confdefs.h >>conftest.$ac_ext
7831
 
cat >>conftest.$ac_ext <<_ACEOF
7832
 
/* end confdefs.h.  */
7833
 
#ifdef __STDC__
7834
 
# include <limits.h>
7835
 
#else
7836
 
# include <assert.h>
7837
 
#endif
7838
 
                     Syntax error
7839
 
_ACEOF
7840
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7841
 
case "(($ac_try" in
7842
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7843
 
  *) ac_try_echo=$ac_try;;
7844
 
esac
7845
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7846
 
$as_echo "$ac_try_echo") >&5
7847
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7848
 
  ac_status=$?
7849
 
  grep -v '^ *+' conftest.er1 >conftest.err
7850
 
  rm -f conftest.er1
7851
 
  cat conftest.err >&5
7852
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7853
 
  (exit $ac_status); } >/dev/null && {
7854
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7855
 
         test ! -s conftest.err
7856
 
       }; then
7857
 
  :
7858
 
else
7859
 
  $as_echo "$as_me: failed program was:" >&5
7860
 
sed 's/^/| /' conftest.$ac_ext >&5
7861
 
 
7862
 
  # Broken: fails on valid input.
7863
 
continue
7864
 
fi
7865
 
 
7866
 
rm -f conftest.err conftest.$ac_ext
7867
 
 
7868
 
  # OK, works on sane cases.  Now check whether nonexistent headers
7869
 
  # can be detected and how.
7870
 
  cat >conftest.$ac_ext <<_ACEOF
7871
 
/* confdefs.h.  */
7872
 
_ACEOF
7873
 
cat confdefs.h >>conftest.$ac_ext
7874
 
cat >>conftest.$ac_ext <<_ACEOF
7875
 
/* end confdefs.h.  */
7876
 
#include <ac_nonexistent.h>
7877
 
_ACEOF
7878
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7879
 
case "(($ac_try" in
7880
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7881
 
  *) ac_try_echo=$ac_try;;
7882
 
esac
7883
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7884
 
$as_echo "$ac_try_echo") >&5
7885
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7886
 
  ac_status=$?
7887
 
  grep -v '^ *+' conftest.er1 >conftest.err
7888
 
  rm -f conftest.er1
7889
 
  cat conftest.err >&5
7890
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7891
 
  (exit $ac_status); } >/dev/null && {
7892
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7893
 
         test ! -s conftest.err
7894
 
       }; then
7895
 
  # Broken: success on invalid input.
7896
 
continue
7897
 
else
7898
 
  $as_echo "$as_me: failed program was:" >&5
7899
 
sed 's/^/| /' conftest.$ac_ext >&5
7900
 
 
7901
 
  # Passes both tests.
7902
 
ac_preproc_ok=:
7903
 
break
7904
 
fi
7905
 
 
7906
 
rm -f conftest.err conftest.$ac_ext
7907
 
 
7908
 
done
7909
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7910
 
rm -f conftest.err conftest.$ac_ext
7911
 
if $ac_preproc_ok; then
7912
 
  break
7913
 
fi
7914
 
 
7915
 
    done
7916
 
    ac_cv_prog_CXXCPP=$CXXCPP
7917
 
 
7918
 
fi
7919
 
  CXXCPP=$ac_cv_prog_CXXCPP
7920
 
else
7921
 
  ac_cv_prog_CXXCPP=$CXXCPP
7922
 
fi
7923
 
{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
7924
 
$as_echo "$CXXCPP" >&6; }
7925
 
ac_preproc_ok=false
7926
 
for ac_cxx_preproc_warn_flag in '' yes
7927
 
do
7928
 
  # Use a header file that comes with gcc, so configuring glibc
7929
 
  # with a fresh cross-compiler works.
7930
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7931
 
  # <limits.h> exists even on freestanding compilers.
7932
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
7933
 
  # not just through cpp. "Syntax error" is here to catch this case.
7934
 
  cat >conftest.$ac_ext <<_ACEOF
7935
 
/* confdefs.h.  */
7936
 
_ACEOF
7937
 
cat confdefs.h >>conftest.$ac_ext
7938
 
cat >>conftest.$ac_ext <<_ACEOF
7939
 
/* end confdefs.h.  */
7940
 
#ifdef __STDC__
7941
 
# include <limits.h>
7942
 
#else
7943
 
# include <assert.h>
7944
 
#endif
7945
 
                     Syntax error
7946
 
_ACEOF
7947
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7948
 
case "(($ac_try" in
7949
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7950
 
  *) ac_try_echo=$ac_try;;
7951
 
esac
7952
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7953
 
$as_echo "$ac_try_echo") >&5
7954
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7955
 
  ac_status=$?
7956
 
  grep -v '^ *+' conftest.er1 >conftest.err
7957
 
  rm -f conftest.er1
7958
 
  cat conftest.err >&5
7959
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7960
 
  (exit $ac_status); } >/dev/null && {
7961
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7962
 
         test ! -s conftest.err
7963
 
       }; then
7964
 
  :
7965
 
else
7966
 
  $as_echo "$as_me: failed program was:" >&5
7967
 
sed 's/^/| /' conftest.$ac_ext >&5
7968
 
 
7969
 
  # Broken: fails on valid input.
7970
 
continue
7971
 
fi
7972
 
 
7973
 
rm -f conftest.err conftest.$ac_ext
7974
 
 
7975
 
  # OK, works on sane cases.  Now check whether nonexistent headers
7976
 
  # can be detected and how.
7977
 
  cat >conftest.$ac_ext <<_ACEOF
7978
 
/* confdefs.h.  */
7979
 
_ACEOF
7980
 
cat confdefs.h >>conftest.$ac_ext
7981
 
cat >>conftest.$ac_ext <<_ACEOF
7982
 
/* end confdefs.h.  */
7983
 
#include <ac_nonexistent.h>
7984
 
_ACEOF
7985
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7986
 
case "(($ac_try" in
7987
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7988
 
  *) ac_try_echo=$ac_try;;
7989
 
esac
7990
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7991
 
$as_echo "$ac_try_echo") >&5
7992
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7993
 
  ac_status=$?
7994
 
  grep -v '^ *+' conftest.er1 >conftest.err
7995
 
  rm -f conftest.er1
7996
 
  cat conftest.err >&5
7997
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7998
 
  (exit $ac_status); } >/dev/null && {
7999
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8000
 
         test ! -s conftest.err
8001
 
       }; then
8002
 
  # Broken: success on invalid input.
8003
 
continue
8004
 
else
8005
 
  $as_echo "$as_me: failed program was:" >&5
8006
 
sed 's/^/| /' conftest.$ac_ext >&5
8007
 
 
8008
 
  # Passes both tests.
8009
 
ac_preproc_ok=:
8010
 
break
8011
 
fi
8012
 
 
8013
 
rm -f conftest.err conftest.$ac_ext
8014
 
 
8015
 
done
8016
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8017
 
rm -f conftest.err conftest.$ac_ext
8018
 
if $ac_preproc_ok; then
8019
 
  :
8020
 
else
8021
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
8022
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8023
 
{ { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
8024
 
See \`config.log' for more details." >&5
8025
 
$as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
8026
 
See \`config.log' for more details." >&2;}
8027
 
   { (exit 1); exit 1; }; }; }
8028
 
fi
8029
 
 
8030
 
ac_ext=cpp
8031
 
ac_cpp='$CXXCPP $CPPFLAGS'
8032
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8033
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8034
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8035
 
 
8036
 
fi
8037
 
 
8038
 
 
8039
 
ac_ext=f
8040
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
8041
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8042
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
8043
 
if test -n "$ac_tool_prefix"; then
8044
 
  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
8045
 
  do
8046
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8047
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8048
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8049
 
$as_echo_n "checking for $ac_word... " >&6; }
8050
 
if test "${ac_cv_prog_F77+set}" = set; then
8051
 
  $as_echo_n "(cached) " >&6
8052
 
else
8053
 
  if test -n "$F77"; then
8054
 
  ac_cv_prog_F77="$F77" # Let the user override the test.
8055
 
else
8056
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8057
 
for as_dir in $PATH
8058
 
do
8059
 
  IFS=$as_save_IFS
8060
 
  test -z "$as_dir" && as_dir=.
8061
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8062
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8063
 
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
8064
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8065
 
    break 2
8066
 
  fi
8067
 
done
8068
 
done
8069
 
IFS=$as_save_IFS
8070
 
 
8071
 
fi
8072
 
fi
8073
 
F77=$ac_cv_prog_F77
8074
 
if test -n "$F77"; then
8075
 
  { $as_echo "$as_me:$LINENO: result: $F77" >&5
8076
 
$as_echo "$F77" >&6; }
8077
 
else
8078
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
8079
 
$as_echo "no" >&6; }
8080
 
fi
8081
 
 
8082
 
 
8083
 
    test -n "$F77" && break
8084
 
  done
8085
 
fi
8086
 
if test -z "$F77"; then
8087
 
  ac_ct_F77=$F77
8088
 
  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
8089
 
do
8090
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
8091
 
set dummy $ac_prog; ac_word=$2
8092
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8093
 
$as_echo_n "checking for $ac_word... " >&6; }
8094
 
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
8095
 
  $as_echo_n "(cached) " >&6
8096
 
else
8097
 
  if test -n "$ac_ct_F77"; then
8098
 
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
8099
 
else
8100
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8101
 
for as_dir in $PATH
8102
 
do
8103
 
  IFS=$as_save_IFS
8104
 
  test -z "$as_dir" && as_dir=.
8105
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8106
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8107
 
    ac_cv_prog_ac_ct_F77="$ac_prog"
8108
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8109
 
    break 2
8110
 
  fi
8111
 
done
8112
 
done
8113
 
IFS=$as_save_IFS
8114
 
 
8115
 
fi
8116
 
fi
8117
 
ac_ct_F77=$ac_cv_prog_ac_ct_F77
8118
 
if test -n "$ac_ct_F77"; then
8119
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
8120
 
$as_echo "$ac_ct_F77" >&6; }
8121
 
else
8122
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
8123
 
$as_echo "no" >&6; }
8124
 
fi
8125
 
 
8126
 
 
8127
 
  test -n "$ac_ct_F77" && break
8128
 
done
8129
 
 
8130
 
  if test "x$ac_ct_F77" = x; then
8131
 
    F77=""
8132
 
  else
8133
 
    case $cross_compiling:$ac_tool_warned in
8134
 
yes:)
8135
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8136
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8137
 
ac_tool_warned=yes ;;
8138
 
esac
8139
 
    F77=$ac_ct_F77
8140
 
  fi
8141
 
fi
8142
 
 
8143
 
 
8144
 
# Provide some information about the compiler.
8145
 
$as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
8146
 
set X $ac_compile
8147
 
ac_compiler=$2
8148
 
{ (ac_try="$ac_compiler --version >&5"
8149
 
case "(($ac_try" in
8150
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8151
 
  *) ac_try_echo=$ac_try;;
8152
 
esac
8153
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8154
 
$as_echo "$ac_try_echo") >&5
8155
 
  (eval "$ac_compiler --version >&5") 2>&5
8156
 
  ac_status=$?
8157
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8158
 
  (exit $ac_status); }
8159
 
{ (ac_try="$ac_compiler -v >&5"
8160
 
case "(($ac_try" in
8161
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8162
 
  *) ac_try_echo=$ac_try;;
8163
 
esac
8164
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8165
 
$as_echo "$ac_try_echo") >&5
8166
 
  (eval "$ac_compiler -v >&5") 2>&5
8167
 
  ac_status=$?
8168
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8169
 
  (exit $ac_status); }
8170
 
{ (ac_try="$ac_compiler -V >&5"
8171
 
case "(($ac_try" in
8172
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8173
 
  *) ac_try_echo=$ac_try;;
8174
 
esac
8175
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8176
 
$as_echo "$ac_try_echo") >&5
8177
 
  (eval "$ac_compiler -V >&5") 2>&5
8178
 
  ac_status=$?
8179
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8180
 
  (exit $ac_status); }
8181
 
rm -f a.out
8182
 
 
8183
 
# If we don't use `.F' as extension, the preprocessor is not run on the
8184
 
# input file.  (Note that this only needs to work for GNU compilers.)
8185
 
ac_save_ext=$ac_ext
8186
 
ac_ext=F
8187
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
8188
 
$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
8189
 
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
8190
 
  $as_echo_n "(cached) " >&6
8191
 
else
8192
 
  cat >conftest.$ac_ext <<_ACEOF
8193
 
      program main
8194
 
#ifndef __GNUC__
8195
 
       choke me
8196
 
#endif
8197
 
 
8198
 
      end
8199
 
_ACEOF
8200
 
rm -f conftest.$ac_objext
8201
 
if { (ac_try="$ac_compile"
8202
 
case "(($ac_try" in
8203
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8204
 
  *) ac_try_echo=$ac_try;;
8205
 
esac
8206
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8207
 
$as_echo "$ac_try_echo") >&5
8208
 
  (eval "$ac_compile") 2>conftest.er1
8209
 
  ac_status=$?
8210
 
  grep -v '^ *+' conftest.er1 >conftest.err
8211
 
  rm -f conftest.er1
8212
 
  cat conftest.err >&5
8213
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8214
 
  (exit $ac_status); } && {
8215
 
         test -z "$ac_f77_werror_flag" ||
8216
 
         test ! -s conftest.err
8217
 
       } && test -s conftest.$ac_objext; then
8218
 
  ac_compiler_gnu=yes
8219
 
else
8220
 
  $as_echo "$as_me: failed program was:" >&5
8221
 
sed 's/^/| /' conftest.$ac_ext >&5
8222
 
 
8223
 
        ac_compiler_gnu=no
8224
 
fi
8225
 
 
8226
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8227
 
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
8228
 
 
8229
 
fi
8230
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
8231
 
$as_echo "$ac_cv_f77_compiler_gnu" >&6; }
8232
 
ac_ext=$ac_save_ext
8233
 
ac_test_FFLAGS=${FFLAGS+set}
8234
 
ac_save_FFLAGS=$FFLAGS
8235
 
FFLAGS=
8236
 
{ $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
8237
 
$as_echo_n "checking whether $F77 accepts -g... " >&6; }
8238
 
if test "${ac_cv_prog_f77_g+set}" = set; then
8239
 
  $as_echo_n "(cached) " >&6
8240
 
else
8241
 
  FFLAGS=-g
8242
 
cat >conftest.$ac_ext <<_ACEOF
8243
 
      program main
8244
 
 
8245
 
      end
8246
 
_ACEOF
8247
 
rm -f conftest.$ac_objext
8248
 
if { (ac_try="$ac_compile"
8249
 
case "(($ac_try" in
8250
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8251
 
  *) ac_try_echo=$ac_try;;
8252
 
esac
8253
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8254
 
$as_echo "$ac_try_echo") >&5
8255
 
  (eval "$ac_compile") 2>conftest.er1
8256
 
  ac_status=$?
8257
 
  grep -v '^ *+' conftest.er1 >conftest.err
8258
 
  rm -f conftest.er1
8259
 
  cat conftest.err >&5
8260
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8261
 
  (exit $ac_status); } && {
8262
 
         test -z "$ac_f77_werror_flag" ||
8263
 
         test ! -s conftest.err
8264
 
       } && test -s conftest.$ac_objext; then
8265
 
  ac_cv_prog_f77_g=yes
8266
 
else
8267
 
  $as_echo "$as_me: failed program was:" >&5
8268
 
sed 's/^/| /' conftest.$ac_ext >&5
8269
 
 
8270
 
        ac_cv_prog_f77_g=no
8271
 
fi
8272
 
 
8273
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8274
 
 
8275
 
fi
8276
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
8277
 
$as_echo "$ac_cv_prog_f77_g" >&6; }
8278
 
if test "$ac_test_FFLAGS" = set; then
8279
 
  FFLAGS=$ac_save_FFLAGS
8280
 
elif test $ac_cv_prog_f77_g = yes; then
8281
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
8282
 
    FFLAGS="-g -O2"
8283
 
  else
8284
 
    FFLAGS="-g"
8285
 
  fi
8286
 
else
8287
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
8288
 
    FFLAGS="-O2"
8289
 
  else
8290
 
    FFLAGS=
8291
 
  fi
8292
 
fi
8293
 
 
8294
 
if test $ac_compiler_gnu = yes; then
8295
 
  G77=yes
8296
 
else
8297
 
  G77=
8298
 
fi
8299
 
ac_ext=c
8300
 
ac_cpp='$CPP $CPPFLAGS'
8301
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8302
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8303
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8304
 
 
8305
 
 
8306
 
 
8307
 
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
8308
 
# find the maximum length of command line arguments
8309
 
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
8310
 
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
8311
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
8312
 
  $as_echo_n "(cached) " >&6
8313
 
else
8314
 
    i=0
8315
 
  teststring="ABCD"
8316
 
 
8317
 
  case $build_os in
8318
 
  msdosdjgpp*)
8319
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
8320
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
8321
 
    # during glob expansion).  Even if it were fixed, the result of this
8322
 
    # check would be larger than it should be.
8323
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
8324
 
    ;;
8325
 
 
8326
 
  gnu*)
8327
 
    # Under GNU Hurd, this test is not required because there is
8328
 
    # no limit to the length of command line arguments.
8329
 
    # Libtool will interpret -1 as no limit whatsoever
8330
 
    lt_cv_sys_max_cmd_len=-1;
8331
 
    ;;
8332
 
 
8333
 
  cygwin* | mingw*)
8334
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
8335
 
    # about 5 minutes as the teststring grows exponentially.
8336
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
8337
 
    # you end up with a "frozen" computer, even though with patience
8338
 
    # the test eventually succeeds (with a max line length of 256k).
8339
 
    # Instead, let's just punt: use the minimum linelength reported by
8340
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
8341
 
    lt_cv_sys_max_cmd_len=8192;
8342
 
    ;;
8343
 
 
8344
 
  amigaos*)
8345
 
    # On AmigaOS with pdksh, this test takes hours, literally.
8346
 
    # So we just punt and use a minimum line length of 8192.
8347
 
    lt_cv_sys_max_cmd_len=8192;
8348
 
    ;;
8349
 
 
8350
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
8351
 
    # This has been around since 386BSD, at least.  Likely further.
8352
 
    if test -x /sbin/sysctl; then
8353
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
8354
 
    elif test -x /usr/sbin/sysctl; then
8355
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
8356
 
    else
8357
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
8358
 
    fi
8359
 
    # And add a safety zone
8360
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
8361
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
8362
 
    ;;
8363
 
 
8364
 
  interix*)
8365
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
8366
 
    lt_cv_sys_max_cmd_len=196608
8367
 
    ;;
8368
 
 
8369
 
  osf*)
8370
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
8371
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
8372
 
    # nice to cause kernel panics so lets avoid the loop below.
8373
 
    # First set a reasonable default.
8374
 
    lt_cv_sys_max_cmd_len=16384
8375
 
    #
8376
 
    if test -x /sbin/sysconfig; then
8377
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
8378
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
8379
 
      esac
8380
 
    fi
8381
 
    ;;
8382
 
  sco3.2v5*)
8383
 
    lt_cv_sys_max_cmd_len=102400
8384
 
    ;;
8385
 
  sysv5* | sco5v6* | sysv4.2uw2*)
8386
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
8387
 
    if test -n "$kargmax"; then
8388
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
8389
 
    else
8390
 
      lt_cv_sys_max_cmd_len=32768
8391
 
    fi
8392
 
    ;;
8393
 
  *)
8394
 
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
8395
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
8396
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
8397
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
8398
 
    else
8399
 
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
8400
 
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
8401
 
               = "XX$teststring") >/dev/null 2>&1 &&
8402
 
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
8403
 
              lt_cv_sys_max_cmd_len=$new_result &&
8404
 
              test $i != 17 # 1/2 MB should be enough
8405
 
      do
8406
 
        i=`expr $i + 1`
8407
 
        teststring=$teststring$teststring
8408
 
      done
8409
 
      teststring=
8410
 
      # Add a significant safety factor because C++ compilers can tack on massive
8411
 
      # amounts of additional arguments before passing them to the linker.
8412
 
      # It appears as though 1/2 is a usable value.
8413
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
8414
 
    fi
8415
 
    ;;
8416
 
  esac
8417
 
 
8418
 
fi
8419
 
 
8420
 
if test -n $lt_cv_sys_max_cmd_len ; then
8421
 
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
8422
 
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
8423
 
else
8424
 
  { $as_echo "$as_me:$LINENO: result: none" >&5
8425
 
$as_echo "none" >&6; }
8426
 
fi
8427
 
 
8428
 
 
8429
 
 
8430
 
 
8431
8439
 
8432
8440
# Check for command to grab the raw symbol name followed by C symbol from nm.
8433
8441
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
8445
8453
# Regexp to match symbols that can be accessed directly from C.
8446
8454
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8447
8455
 
8448
 
# Transform an extracted symbol line into a proper C declaration
8449
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
8450
 
 
8451
 
# Transform an extracted symbol line into symbol name and symbol address
8452
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
8453
 
 
8454
8456
# Define system-specific variables.
8455
8457
case $host_os in
8456
8458
aix*)
8457
8459
  symcode='[BCDT]'
8458
8460
  ;;
8459
 
cygwin* | mingw* | pw32*)
 
8461
cygwin* | mingw* | pw32* | cegcc*)
8460
8462
  symcode='[ABCDGISTW]'
8461
8463
  ;;
8462
 
hpux*) # Its linker distinguishes data from code symbols
 
8464
hpux*)
8463
8465
  if test "$host_cpu" = ia64; then
8464
8466
    symcode='[ABCDEGRST]'
8465
8467
  fi
8466
 
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8467
 
  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
8468
 
  ;;
8469
 
linux* | k*bsd*-gnu)
8470
 
  if test "$host_cpu" = ia64; then
8471
 
    symcode='[ABCDGIRSTW]'
8472
 
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8473
 
    lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
8474
 
  fi
8475
8468
  ;;
8476
8469
irix* | nonstopux*)
8477
8470
  symcode='[BCDEGRST]'
8496
8489
  ;;
8497
8490
esac
8498
8491
 
 
8492
# If we're using GNU nm, then use its standard symbol codes.
 
8493
case `$NM -V 2>&1` in
 
8494
*GNU* | *'with BFD'*)
 
8495
  symcode='[ABCDGIRSTW]' ;;
 
8496
esac
 
8497
 
 
8498
# Transform an extracted symbol line into a proper C declaration.
 
8499
# Some systems (esp. on ia64) link data and code symbols differently,
 
8500
# so use this general approach.
 
8501
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
8502
 
 
8503
# Transform an extracted symbol line into symbol name and symbol address
 
8504
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
8505
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'"
 
8506
 
8499
8507
# Handle CRLF in mingw tool chain
8500
8508
opt_cr=
8501
8509
case $build_os in
8502
8510
mingw*)
8503
 
  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
8511
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8504
8512
  ;;
8505
8513
esac
8506
8514
 
8507
 
# If we're using GNU nm, then use its standard symbol codes.
8508
 
case `$NM -V 2>&1` in
8509
 
*GNU* | *'with BFD'*)
8510
 
  symcode='[ABCDGIRSTW]' ;;
8511
 
esac
8512
 
 
8513
 
# Try without a prefix undercore, then with it.
 
8515
# Try without a prefix underscore, then with it.
8514
8516
for ac_symprfx in "" "_"; do
8515
8517
 
8516
8518
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8517
8519
  symxfrm="\\1 $ac_symprfx\\2 \\2"
8518
8520
 
8519
8521
  # Write the raw and C identifiers.
8520
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
8522
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
8523
    # Fake it for dumpbin and say T for any non-static function
 
8524
    # and D for any global variable.
 
8525
    # Also find C++ and __fastcall symbols from MSVC++,
 
8526
    # which start with @ or ?.
 
8527
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
8528
"     {last_section=section; section=\$ 3};"\
 
8529
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
8530
"     \$ 0!~/External *\|/{next};"\
 
8531
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
8532
"     {if(hide[section]) next};"\
 
8533
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
8534
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
8535
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
8536
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
8537
"     ' prfx=^$ac_symprfx"
 
8538
  else
 
8539
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
8540
  fi
8521
8541
 
8522
8542
  # Check to see that the pipe works correctly.
8523
8543
  pipe_works=no
8524
8544
 
8525
8545
  rm -f conftest*
8526
 
  cat > conftest.$ac_ext <<EOF
 
8546
  cat > conftest.$ac_ext <<_LT_EOF
8527
8547
#ifdef __cplusplus
8528
8548
extern "C" {
8529
8549
#endif
8530
8550
char nm_test_var;
8531
 
void nm_test_func(){}
 
8551
void nm_test_func(void);
 
8552
void nm_test_func(void){}
8532
8553
#ifdef __cplusplus
8533
8554
}
8534
8555
#endif
8535
8556
int main(){nm_test_var='a';nm_test_func();return(0);}
8536
 
EOF
 
8557
_LT_EOF
8537
8558
 
8538
8559
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8539
8560
  (eval $ac_compile) 2>&5
8555
8576
      fi
8556
8577
 
8557
8578
      # Make sure that we snagged all the symbols we need.
8558
 
      if grep ' nm_test_var$' "$nlist" >/dev/null; then
8559
 
        if grep ' nm_test_func$' "$nlist" >/dev/null; then
8560
 
          cat <<EOF > conftest.$ac_ext
 
8579
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
8580
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
8581
          cat <<_LT_EOF > conftest.$ac_ext
8561
8582
#ifdef __cplusplus
8562
8583
extern "C" {
8563
8584
#endif
8564
8585
 
8565
 
EOF
 
8586
_LT_EOF
8566
8587
          # Now generate the symbol file.
8567
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
8568
 
 
8569
 
          cat <<EOF >> conftest.$ac_ext
8570
 
#if defined (__STDC__) && __STDC__
8571
 
# define lt_ptr_t void *
8572
 
#else
8573
 
# define lt_ptr_t char *
8574
 
# define const
8575
 
#endif
8576
 
 
8577
 
/* The mapping between symbol names and symbols. */
 
8588
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
8589
 
 
8590
          cat <<_LT_EOF >> conftest.$ac_ext
 
8591
 
 
8592
/* The mapping between symbol names and symbols.  */
8578
8593
const struct {
8579
8594
  const char *name;
8580
 
  lt_ptr_t address;
 
8595
  void       *address;
8581
8596
}
8582
 
lt_preloaded_symbols[] =
 
8597
lt__PROGRAM__LTX_preloaded_symbols[] =
8583
8598
{
8584
 
EOF
8585
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
8586
 
          cat <<\EOF >> conftest.$ac_ext
8587
 
  {0, (lt_ptr_t) 0}
 
8599
  { "@PROGRAM@", (void *) 0 },
 
8600
_LT_EOF
 
8601
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
8602
          cat <<\_LT_EOF >> conftest.$ac_ext
 
8603
  {0, (void *) 0}
8588
8604
};
8589
8605
 
 
8606
/* This works around a problem in FreeBSD linker */
 
8607
#ifdef FREEBSD_WORKAROUND
 
8608
static const void *lt_preloaded_setup() {
 
8609
  return lt__PROGRAM__LTX_preloaded_symbols;
 
8610
}
 
8611
#endif
 
8612
 
8590
8613
#ifdef __cplusplus
8591
8614
}
8592
8615
#endif
8593
 
EOF
 
8616
_LT_EOF
8594
8617
          # Now try linking the two files.
8595
8618
          mv conftest.$ac_objext conftstm.$ac_objext
8596
8619
          lt_save_LIBS="$LIBS"
8642
8665
$as_echo "ok" >&6; }
8643
8666
fi
8644
8667
 
8645
 
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
8646
 
$as_echo_n "checking for objdir... " >&6; }
8647
 
if test "${lt_cv_objdir+set}" = set; then
8648
 
  $as_echo_n "(cached) " >&6
8649
 
else
8650
 
  rm -f .libs 2>/dev/null
8651
 
mkdir .libs 2>/dev/null
8652
 
if test -d .libs; then
8653
 
  lt_cv_objdir=.libs
8654
 
else
8655
 
  # MS-DOS does not allow filenames that begin with a dot.
8656
 
  lt_cv_objdir=_libs
8657
 
fi
8658
 
rmdir .libs 2>/dev/null
8659
 
fi
8660
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8661
 
$as_echo "$lt_cv_objdir" >&6; }
8662
 
objdir=$lt_cv_objdir
8663
 
 
8664
 
 
8665
 
 
8666
 
 
8667
 
 
8668
 
case $host_os in
8669
 
aix3*)
8670
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
8671
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
8672
 
  # vanish in a puff of smoke.
8673
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
8674
 
    COLLECT_NAMES=
8675
 
    export COLLECT_NAMES
8676
 
  fi
8677
 
  ;;
8678
 
esac
8679
 
 
8680
 
# Sed substitution that helps us do robust quoting.  It backslashifies
8681
 
# metacharacters that are still active within double-quoted strings.
8682
 
Xsed='sed -e 1s/^X//'
8683
 
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
8684
 
 
8685
 
# Same as above, but do not quote variable references.
8686
 
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
8687
 
 
8688
 
# Sed substitution to delay expansion of an escaped shell variable in a
8689
 
# double_quote_subst'ed string.
8690
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8691
 
 
8692
 
# Sed substitution to avoid accidental globbing in evaled expressions
8693
 
no_glob_subst='s/\*/\\\*/g'
8694
 
 
8695
 
# Constants:
8696
 
rm="rm -f"
8697
 
 
8698
 
# Global variables:
8699
 
default_ofile=libtool
8700
 
can_build_shared=yes
8701
 
 
8702
 
# All known linkers require a `.a' archive for static linking (except MSVC,
8703
 
# which needs '.lib').
8704
 
libext=a
8705
 
ltmain="$ac_aux_dir/ltmain.sh"
8706
 
ofile="$default_ofile"
8707
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
8708
 
 
8709
 
if test -n "$ac_tool_prefix"; then
8710
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8711
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
8712
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8713
 
$as_echo_n "checking for $ac_word... " >&6; }
8714
 
if test "${ac_cv_prog_AR+set}" = set; then
8715
 
  $as_echo_n "(cached) " >&6
8716
 
else
8717
 
  if test -n "$AR"; then
8718
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
8719
 
else
8720
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8721
 
for as_dir in $PATH
8722
 
do
8723
 
  IFS=$as_save_IFS
8724
 
  test -z "$as_dir" && as_dir=.
8725
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8726
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8727
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
8728
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8729
 
    break 2
8730
 
  fi
8731
 
done
8732
 
done
8733
 
IFS=$as_save_IFS
8734
 
 
8735
 
fi
8736
 
fi
8737
 
AR=$ac_cv_prog_AR
8738
 
if test -n "$AR"; then
8739
 
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
8740
 
$as_echo "$AR" >&6; }
8741
 
else
8742
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
8743
 
$as_echo "no" >&6; }
8744
 
fi
8745
 
 
8746
 
 
8747
 
fi
8748
 
if test -z "$ac_cv_prog_AR"; then
8749
 
  ac_ct_AR=$AR
8750
 
  # Extract the first word of "ar", so it can be a program name with args.
8751
 
set dummy ar; ac_word=$2
8752
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8753
 
$as_echo_n "checking for $ac_word... " >&6; }
8754
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
8755
 
  $as_echo_n "(cached) " >&6
8756
 
else
8757
 
  if test -n "$ac_ct_AR"; then
8758
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8759
 
else
8760
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8761
 
for as_dir in $PATH
8762
 
do
8763
 
  IFS=$as_save_IFS
8764
 
  test -z "$as_dir" && as_dir=.
8765
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8766
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8767
 
    ac_cv_prog_ac_ct_AR="ar"
8768
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8769
 
    break 2
8770
 
  fi
8771
 
done
8772
 
done
8773
 
IFS=$as_save_IFS
8774
 
 
8775
 
fi
8776
 
fi
8777
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
8778
 
if test -n "$ac_ct_AR"; then
8779
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
8780
 
$as_echo "$ac_ct_AR" >&6; }
8781
 
else
8782
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
8783
 
$as_echo "no" >&6; }
8784
 
fi
8785
 
 
8786
 
  if test "x$ac_ct_AR" = x; then
8787
 
    AR="false"
8788
 
  else
8789
 
    case $cross_compiling:$ac_tool_warned in
8790
 
yes:)
8791
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8792
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8793
 
ac_tool_warned=yes ;;
8794
 
esac
8795
 
    AR=$ac_ct_AR
8796
 
  fi
8797
 
else
8798
 
  AR="$ac_cv_prog_AR"
8799
 
fi
8800
 
 
8801
 
if test -n "$ac_tool_prefix"; then
8802
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8803
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8804
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8805
 
$as_echo_n "checking for $ac_word... " >&6; }
8806
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
8807
 
  $as_echo_n "(cached) " >&6
8808
 
else
8809
 
  if test -n "$RANLIB"; then
8810
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8811
 
else
8812
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8813
 
for as_dir in $PATH
8814
 
do
8815
 
  IFS=$as_save_IFS
8816
 
  test -z "$as_dir" && as_dir=.
8817
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8818
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8819
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8820
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8821
 
    break 2
8822
 
  fi
8823
 
done
8824
 
done
8825
 
IFS=$as_save_IFS
8826
 
 
8827
 
fi
8828
 
fi
8829
 
RANLIB=$ac_cv_prog_RANLIB
8830
 
if test -n "$RANLIB"; then
8831
 
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
8832
 
$as_echo "$RANLIB" >&6; }
8833
 
else
8834
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
8835
 
$as_echo "no" >&6; }
8836
 
fi
8837
 
 
8838
 
 
8839
 
fi
8840
 
if test -z "$ac_cv_prog_RANLIB"; then
8841
 
  ac_ct_RANLIB=$RANLIB
8842
 
  # Extract the first word of "ranlib", so it can be a program name with args.
8843
 
set dummy ranlib; ac_word=$2
8844
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8845
 
$as_echo_n "checking for $ac_word... " >&6; }
8846
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8847
 
  $as_echo_n "(cached) " >&6
8848
 
else
8849
 
  if test -n "$ac_ct_RANLIB"; then
8850
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8851
 
else
8852
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8853
 
for as_dir in $PATH
8854
 
do
8855
 
  IFS=$as_save_IFS
8856
 
  test -z "$as_dir" && as_dir=.
8857
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8858
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8859
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
8860
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8861
 
    break 2
8862
 
  fi
8863
 
done
8864
 
done
8865
 
IFS=$as_save_IFS
8866
 
 
8867
 
fi
8868
 
fi
8869
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8870
 
if test -n "$ac_ct_RANLIB"; then
8871
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8872
 
$as_echo "$ac_ct_RANLIB" >&6; }
8873
 
else
8874
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
8875
 
$as_echo "no" >&6; }
8876
 
fi
8877
 
 
8878
 
  if test "x$ac_ct_RANLIB" = x; then
8879
 
    RANLIB=":"
8880
 
  else
8881
 
    case $cross_compiling:$ac_tool_warned in
8882
 
yes:)
8883
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8884
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8885
 
ac_tool_warned=yes ;;
8886
 
esac
8887
 
    RANLIB=$ac_ct_RANLIB
8888
 
  fi
8889
 
else
8890
 
  RANLIB="$ac_cv_prog_RANLIB"
8891
 
fi
8892
 
 
8893
 
if test -n "$ac_tool_prefix"; then
8894
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8895
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
8896
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8897
 
$as_echo_n "checking for $ac_word... " >&6; }
8898
 
if test "${ac_cv_prog_STRIP+set}" = set; then
8899
 
  $as_echo_n "(cached) " >&6
8900
 
else
8901
 
  if test -n "$STRIP"; then
8902
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8903
 
else
8904
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8905
 
for as_dir in $PATH
8906
 
do
8907
 
  IFS=$as_save_IFS
8908
 
  test -z "$as_dir" && as_dir=.
8909
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8910
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8911
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8912
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8913
 
    break 2
8914
 
  fi
8915
 
done
8916
 
done
8917
 
IFS=$as_save_IFS
8918
 
 
8919
 
fi
8920
 
fi
8921
 
STRIP=$ac_cv_prog_STRIP
8922
 
if test -n "$STRIP"; then
8923
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
8924
 
$as_echo "$STRIP" >&6; }
8925
 
else
8926
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
8927
 
$as_echo "no" >&6; }
8928
 
fi
8929
 
 
8930
 
 
8931
 
fi
8932
 
if test -z "$ac_cv_prog_STRIP"; then
8933
 
  ac_ct_STRIP=$STRIP
8934
 
  # Extract the first word of "strip", so it can be a program name with args.
8935
 
set dummy strip; ac_word=$2
8936
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8937
 
$as_echo_n "checking for $ac_word... " >&6; }
8938
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
8939
 
  $as_echo_n "(cached) " >&6
8940
 
else
8941
 
  if test -n "$ac_ct_STRIP"; then
8942
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8943
 
else
8944
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8945
 
for as_dir in $PATH
8946
 
do
8947
 
  IFS=$as_save_IFS
8948
 
  test -z "$as_dir" && as_dir=.
8949
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8950
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8951
 
    ac_cv_prog_ac_ct_STRIP="strip"
8952
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8953
 
    break 2
8954
 
  fi
8955
 
done
8956
 
done
8957
 
IFS=$as_save_IFS
8958
 
 
8959
 
fi
8960
 
fi
8961
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8962
 
if test -n "$ac_ct_STRIP"; then
8963
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
8964
 
$as_echo "$ac_ct_STRIP" >&6; }
8965
 
else
8966
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
8967
 
$as_echo "no" >&6; }
8968
 
fi
8969
 
 
8970
 
  if test "x$ac_ct_STRIP" = x; then
8971
 
    STRIP=":"
8972
 
  else
8973
 
    case $cross_compiling:$ac_tool_warned in
8974
 
yes:)
8975
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8976
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8977
 
ac_tool_warned=yes ;;
8978
 
esac
8979
 
    STRIP=$ac_ct_STRIP
8980
 
  fi
8981
 
else
8982
 
  STRIP="$ac_cv_prog_STRIP"
8983
 
fi
8984
 
 
8985
 
 
8986
 
old_CC="$CC"
8987
 
old_CFLAGS="$CFLAGS"
8988
 
 
8989
 
# Set sane defaults for various variables
8990
 
test -z "$AR" && AR=ar
8991
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
8992
 
test -z "$AS" && AS=as
8993
 
test -z "$CC" && CC=cc
8994
 
test -z "$LTCC" && LTCC=$CC
8995
 
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8996
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
8997
 
test -z "$LD" && LD=ld
8998
 
test -z "$LN_S" && LN_S="ln -s"
8999
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
9000
 
test -z "$NM" && NM=nm
9001
 
test -z "$SED" && SED=sed
9002
 
test -z "$OBJDUMP" && OBJDUMP=objdump
9003
 
test -z "$RANLIB" && RANLIB=:
9004
 
test -z "$STRIP" && STRIP=:
9005
 
test -z "$ac_objext" && ac_objext=o
9006
 
 
9007
 
# Determine commands to create old-style static archives.
9008
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
9009
 
old_postinstall_cmds='chmod 644 $oldlib'
9010
 
old_postuninstall_cmds=
9011
 
 
9012
 
if test -n "$RANLIB"; then
9013
 
  case $host_os in
9014
 
  openbsd*)
9015
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
9016
 
    ;;
9017
 
  *)
9018
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
9019
 
    ;;
9020
 
  esac
9021
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
9022
 
fi
9023
 
 
9024
 
for cc_temp in $compiler""; do
9025
 
  case $cc_temp in
9026
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9027
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9028
 
    \-*) ;;
9029
 
    *) break;;
9030
 
  esac
9031
 
done
9032
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
9033
 
 
9034
 
 
9035
 
# Only perform the check for file, if the check method requires it
9036
 
case $deplibs_check_method in
9037
 
file_magic*)
9038
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9039
 
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
9040
 
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9041
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9042
 
  $as_echo_n "(cached) " >&6
9043
 
else
9044
 
  case $MAGIC_CMD in
9045
 
[\\/*] |  ?:[\\/]*)
9046
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9047
 
  ;;
9048
 
*)
9049
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
9050
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9051
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9052
 
  for ac_dir in $ac_dummy; do
9053
 
    IFS="$lt_save_ifs"
9054
 
    test -z "$ac_dir" && ac_dir=.
9055
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
9056
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9057
 
      if test -n "$file_magic_test_file"; then
9058
 
        case $deplibs_check_method in
9059
 
        "file_magic "*)
9060
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9061
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9062
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9063
 
            $EGREP "$file_magic_regex" > /dev/null; then
9064
 
            :
9065
 
          else
9066
 
            cat <<EOF 1>&2
9067
 
 
9068
 
*** Warning: the command libtool uses to detect shared libraries,
9069
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
9070
 
*** The result is that libtool may fail to recognize shared libraries
9071
 
*** as such.  This will affect the creation of libtool libraries that
9072
 
*** depend on shared libraries, but programs linked with such libtool
9073
 
*** libraries will work regardless of this problem.  Nevertheless, you
9074
 
*** may want to report the problem to your system manager and/or to
9075
 
*** bug-libtool@gnu.org
9076
 
 
9077
 
EOF
9078
 
          fi ;;
9079
 
        esac
9080
 
      fi
9081
 
      break
9082
 
    fi
9083
 
  done
9084
 
  IFS="$lt_save_ifs"
9085
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
9086
 
  ;;
9087
 
esac
9088
 
fi
9089
 
 
9090
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9091
 
if test -n "$MAGIC_CMD"; then
9092
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9093
 
$as_echo "$MAGIC_CMD" >&6; }
9094
 
else
9095
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
9096
 
$as_echo "no" >&6; }
9097
 
fi
9098
 
 
9099
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
9100
 
  if test -n "$ac_tool_prefix"; then
9101
 
    { $as_echo "$as_me:$LINENO: checking for file" >&5
9102
 
$as_echo_n "checking for file... " >&6; }
9103
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9104
 
  $as_echo_n "(cached) " >&6
9105
 
else
9106
 
  case $MAGIC_CMD in
9107
 
[\\/*] |  ?:[\\/]*)
9108
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9109
 
  ;;
9110
 
*)
9111
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
9112
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9113
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9114
 
  for ac_dir in $ac_dummy; do
9115
 
    IFS="$lt_save_ifs"
9116
 
    test -z "$ac_dir" && ac_dir=.
9117
 
    if test -f $ac_dir/file; then
9118
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
9119
 
      if test -n "$file_magic_test_file"; then
9120
 
        case $deplibs_check_method in
9121
 
        "file_magic "*)
9122
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9123
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9124
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9125
 
            $EGREP "$file_magic_regex" > /dev/null; then
9126
 
            :
9127
 
          else
9128
 
            cat <<EOF 1>&2
9129
 
 
9130
 
*** Warning: the command libtool uses to detect shared libraries,
9131
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
9132
 
*** The result is that libtool may fail to recognize shared libraries
9133
 
*** as such.  This will affect the creation of libtool libraries that
9134
 
*** depend on shared libraries, but programs linked with such libtool
9135
 
*** libraries will work regardless of this problem.  Nevertheless, you
9136
 
*** may want to report the problem to your system manager and/or to
9137
 
*** bug-libtool@gnu.org
9138
 
 
9139
 
EOF
9140
 
          fi ;;
9141
 
        esac
9142
 
      fi
9143
 
      break
9144
 
    fi
9145
 
  done
9146
 
  IFS="$lt_save_ifs"
9147
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
9148
 
  ;;
9149
 
esac
9150
 
fi
9151
 
 
9152
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9153
 
if test -n "$MAGIC_CMD"; then
9154
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9155
 
$as_echo "$MAGIC_CMD" >&6; }
9156
 
else
9157
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
9158
 
$as_echo "no" >&6; }
9159
 
fi
9160
 
 
9161
 
  else
9162
 
    MAGIC_CMD=:
9163
 
  fi
9164
 
fi
9165
 
 
9166
 
  fi
9167
 
  ;;
9168
 
esac
 
8668
 
 
8669
 
 
8670
 
 
8671
 
 
8672
 
 
8673
 
 
8674
 
 
8675
 
 
8676
 
 
8677
 
 
8678
 
 
8679
 
 
8680
 
 
8681
 
 
8682
 
 
8683
 
 
8684
 
 
8685
 
 
8686
 
 
8687
 
 
8688
 
 
8689
# Check whether --enable-libtool-lock was given.
 
8690
if test "${enable_libtool_lock+set}" = set; then
 
8691
  enableval=$enable_libtool_lock;
 
8692
fi
 
8693
 
 
8694
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
8695
 
 
8696
# Some flags need to be propagated to the compiler or linker for good
 
8697
# libtool support.
 
8698
case $host in
 
8699
ia64-*-hpux*)
 
8700
  # Find out which ABI we are using.
 
8701
  echo 'int i;' > conftest.$ac_ext
 
8702
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
8703
  (eval $ac_compile) 2>&5
 
8704
  ac_status=$?
 
8705
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8706
  (exit $ac_status); }; then
 
8707
    case `/usr/bin/file conftest.$ac_objext` in
 
8708
      *ELF-32*)
 
8709
        HPUX_IA64_MODE="32"
 
8710
        ;;
 
8711
      *ELF-64*)
 
8712
        HPUX_IA64_MODE="64"
 
8713
        ;;
 
8714
    esac
 
8715
  fi
 
8716
  rm -rf conftest*
 
8717
  ;;
 
8718
*-*-irix6*)
 
8719
  # Find out which ABI we are using.
 
8720
  echo '#line 8720 "configure"' > conftest.$ac_ext
 
8721
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
8722
  (eval $ac_compile) 2>&5
 
8723
  ac_status=$?
 
8724
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8725
  (exit $ac_status); }; then
 
8726
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
8727
      case `/usr/bin/file conftest.$ac_objext` in
 
8728
        *32-bit*)
 
8729
          LD="${LD-ld} -melf32bsmip"
 
8730
          ;;
 
8731
        *N32*)
 
8732
          LD="${LD-ld} -melf32bmipn32"
 
8733
          ;;
 
8734
        *64-bit*)
 
8735
          LD="${LD-ld} -melf64bmip"
 
8736
        ;;
 
8737
      esac
 
8738
    else
 
8739
      case `/usr/bin/file conftest.$ac_objext` in
 
8740
        *32-bit*)
 
8741
          LD="${LD-ld} -32"
 
8742
          ;;
 
8743
        *N32*)
 
8744
          LD="${LD-ld} -n32"
 
8745
          ;;
 
8746
        *64-bit*)
 
8747
          LD="${LD-ld} -64"
 
8748
          ;;
 
8749
      esac
 
8750
    fi
 
8751
  fi
 
8752
  rm -rf conftest*
 
8753
  ;;
 
8754
 
 
8755
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
8756
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
8757
  # Find out which ABI we are using.
 
8758
  echo 'int i;' > conftest.$ac_ext
 
8759
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
8760
  (eval $ac_compile) 2>&5
 
8761
  ac_status=$?
 
8762
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8763
  (exit $ac_status); }; then
 
8764
    case `/usr/bin/file conftest.o` in
 
8765
      *32-bit*)
 
8766
        case $host in
 
8767
          x86_64-*kfreebsd*-gnu)
 
8768
            LD="${LD-ld} -m elf_i386_fbsd"
 
8769
            ;;
 
8770
          x86_64-*linux*)
 
8771
            LD="${LD-ld} -m elf_i386"
 
8772
            ;;
 
8773
          ppc64-*linux*|powerpc64-*linux*)
 
8774
            LD="${LD-ld} -m elf32ppclinux"
 
8775
            ;;
 
8776
          s390x-*linux*)
 
8777
            LD="${LD-ld} -m elf_s390"
 
8778
            ;;
 
8779
          sparc64-*linux*)
 
8780
            LD="${LD-ld} -m elf32_sparc"
 
8781
            ;;
 
8782
        esac
 
8783
        ;;
 
8784
      *64-bit*)
 
8785
        case $host in
 
8786
          x86_64-*kfreebsd*-gnu)
 
8787
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
8788
            ;;
 
8789
          x86_64-*linux*)
 
8790
            LD="${LD-ld} -m elf_x86_64"
 
8791
            ;;
 
8792
          ppc*-*linux*|powerpc*-*linux*)
 
8793
            LD="${LD-ld} -m elf64ppc"
 
8794
            ;;
 
8795
          s390*-*linux*|s390*-*tpf*)
 
8796
            LD="${LD-ld} -m elf64_s390"
 
8797
            ;;
 
8798
          sparc*-*linux*)
 
8799
            LD="${LD-ld} -m elf64_sparc"
 
8800
            ;;
 
8801
        esac
 
8802
        ;;
 
8803
    esac
 
8804
  fi
 
8805
  rm -rf conftest*
 
8806
  ;;
 
8807
 
 
8808
*-*-sco3.2v5*)
 
8809
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
8810
  SAVE_CFLAGS="$CFLAGS"
 
8811
  CFLAGS="$CFLAGS -belf"
 
8812
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
8813
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
8814
if test "${lt_cv_cc_needs_belf+set}" = set; then
 
8815
  $as_echo_n "(cached) " >&6
 
8816
else
 
8817
  ac_ext=c
 
8818
ac_cpp='$CPP $CPPFLAGS'
 
8819
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
8820
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
8821
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
8822
 
 
8823
     cat >conftest.$ac_ext <<_ACEOF
 
8824
/* confdefs.h.  */
 
8825
_ACEOF
 
8826
cat confdefs.h >>conftest.$ac_ext
 
8827
cat >>conftest.$ac_ext <<_ACEOF
 
8828
/* end confdefs.h.  */
 
8829
 
 
8830
int
 
8831
main ()
 
8832
{
 
8833
 
 
8834
  ;
 
8835
  return 0;
 
8836
}
 
8837
_ACEOF
 
8838
rm -f conftest.$ac_objext conftest$ac_exeext
 
8839
if { (ac_try="$ac_link"
 
8840
case "(($ac_try" in
 
8841
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8842
  *) ac_try_echo=$ac_try;;
 
8843
esac
 
8844
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8845
$as_echo "$ac_try_echo") >&5
 
8846
  (eval "$ac_link") 2>conftest.er1
 
8847
  ac_status=$?
 
8848
  grep -v '^ *+' conftest.er1 >conftest.err
 
8849
  rm -f conftest.er1
 
8850
  cat conftest.err >&5
 
8851
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8852
  (exit $ac_status); } && {
 
8853
         test -z "$ac_c_werror_flag" ||
 
8854
         test ! -s conftest.err
 
8855
       } && test -s conftest$ac_exeext && {
 
8856
         test "$cross_compiling" = yes ||
 
8857
         $as_test_x conftest$ac_exeext
 
8858
       }; then
 
8859
  lt_cv_cc_needs_belf=yes
 
8860
else
 
8861
  $as_echo "$as_me: failed program was:" >&5
 
8862
sed 's/^/| /' conftest.$ac_ext >&5
 
8863
 
 
8864
        lt_cv_cc_needs_belf=no
 
8865
fi
 
8866
 
 
8867
rm -rf conftest.dSYM
 
8868
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
8869
      conftest$ac_exeext conftest.$ac_ext
 
8870
     ac_ext=c
 
8871
ac_cpp='$CPP $CPPFLAGS'
 
8872
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
8873
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
8874
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
8875
 
 
8876
fi
 
8877
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
8878
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
8879
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
8880
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
8881
    CFLAGS="$SAVE_CFLAGS"
 
8882
  fi
 
8883
  ;;
 
8884
sparc*-*solaris*)
 
8885
  # Find out which ABI we are using.
 
8886
  echo 'int i;' > conftest.$ac_ext
 
8887
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
8888
  (eval $ac_compile) 2>&5
 
8889
  ac_status=$?
 
8890
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8891
  (exit $ac_status); }; then
 
8892
    case `/usr/bin/file conftest.o` in
 
8893
    *64-bit*)
 
8894
      case $lt_cv_prog_gnu_ld in
 
8895
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
8896
      *)
 
8897
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
8898
          LD="${LD-ld} -64"
 
8899
        fi
 
8900
        ;;
 
8901
      esac
 
8902
      ;;
 
8903
    esac
 
8904
  fi
 
8905
  rm -rf conftest*
 
8906
  ;;
 
8907
esac
 
8908
 
 
8909
need_locks="$enable_libtool_lock"
9169
8910
 
9170
8911
 
9171
8912
  case $host_os in
9354
9095
  NMEDIT="$ac_cv_prog_NMEDIT"
9355
9096
fi
9356
9097
 
 
9098
    if test -n "$ac_tool_prefix"; then
 
9099
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
9100
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
9101
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9102
$as_echo_n "checking for $ac_word... " >&6; }
 
9103
if test "${ac_cv_prog_LIPO+set}" = set; then
 
9104
  $as_echo_n "(cached) " >&6
 
9105
else
 
9106
  if test -n "$LIPO"; then
 
9107
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
9108
else
 
9109
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9110
for as_dir in $PATH
 
9111
do
 
9112
  IFS=$as_save_IFS
 
9113
  test -z "$as_dir" && as_dir=.
 
9114
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9115
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9116
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
9117
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9118
    break 2
 
9119
  fi
 
9120
done
 
9121
done
 
9122
IFS=$as_save_IFS
 
9123
 
 
9124
fi
 
9125
fi
 
9126
LIPO=$ac_cv_prog_LIPO
 
9127
if test -n "$LIPO"; then
 
9128
  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
 
9129
$as_echo "$LIPO" >&6; }
 
9130
else
 
9131
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9132
$as_echo "no" >&6; }
 
9133
fi
 
9134
 
 
9135
 
 
9136
fi
 
9137
if test -z "$ac_cv_prog_LIPO"; then
 
9138
  ac_ct_LIPO=$LIPO
 
9139
  # Extract the first word of "lipo", so it can be a program name with args.
 
9140
set dummy lipo; ac_word=$2
 
9141
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9142
$as_echo_n "checking for $ac_word... " >&6; }
 
9143
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
 
9144
  $as_echo_n "(cached) " >&6
 
9145
else
 
9146
  if test -n "$ac_ct_LIPO"; then
 
9147
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
9148
else
 
9149
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9150
for as_dir in $PATH
 
9151
do
 
9152
  IFS=$as_save_IFS
 
9153
  test -z "$as_dir" && as_dir=.
 
9154
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9155
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9156
    ac_cv_prog_ac_ct_LIPO="lipo"
 
9157
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9158
    break 2
 
9159
  fi
 
9160
done
 
9161
done
 
9162
IFS=$as_save_IFS
 
9163
 
 
9164
fi
 
9165
fi
 
9166
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
9167
if test -n "$ac_ct_LIPO"; then
 
9168
  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
 
9169
$as_echo "$ac_ct_LIPO" >&6; }
 
9170
else
 
9171
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9172
$as_echo "no" >&6; }
 
9173
fi
 
9174
 
 
9175
  if test "x$ac_ct_LIPO" = x; then
 
9176
    LIPO=":"
 
9177
  else
 
9178
    case $cross_compiling:$ac_tool_warned in
 
9179
yes:)
 
9180
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
9181
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9182
ac_tool_warned=yes ;;
 
9183
esac
 
9184
    LIPO=$ac_ct_LIPO
 
9185
  fi
 
9186
else
 
9187
  LIPO="$ac_cv_prog_LIPO"
 
9188
fi
 
9189
 
 
9190
    if test -n "$ac_tool_prefix"; then
 
9191
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
9192
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
9193
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9194
$as_echo_n "checking for $ac_word... " >&6; }
 
9195
if test "${ac_cv_prog_OTOOL+set}" = set; then
 
9196
  $as_echo_n "(cached) " >&6
 
9197
else
 
9198
  if test -n "$OTOOL"; then
 
9199
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
9200
else
 
9201
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9202
for as_dir in $PATH
 
9203
do
 
9204
  IFS=$as_save_IFS
 
9205
  test -z "$as_dir" && as_dir=.
 
9206
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9207
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9208
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
9209
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9210
    break 2
 
9211
  fi
 
9212
done
 
9213
done
 
9214
IFS=$as_save_IFS
 
9215
 
 
9216
fi
 
9217
fi
 
9218
OTOOL=$ac_cv_prog_OTOOL
 
9219
if test -n "$OTOOL"; then
 
9220
  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
 
9221
$as_echo "$OTOOL" >&6; }
 
9222
else
 
9223
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9224
$as_echo "no" >&6; }
 
9225
fi
 
9226
 
 
9227
 
 
9228
fi
 
9229
if test -z "$ac_cv_prog_OTOOL"; then
 
9230
  ac_ct_OTOOL=$OTOOL
 
9231
  # Extract the first word of "otool", so it can be a program name with args.
 
9232
set dummy otool; ac_word=$2
 
9233
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9234
$as_echo_n "checking for $ac_word... " >&6; }
 
9235
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
 
9236
  $as_echo_n "(cached) " >&6
 
9237
else
 
9238
  if test -n "$ac_ct_OTOOL"; then
 
9239
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
9240
else
 
9241
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9242
for as_dir in $PATH
 
9243
do
 
9244
  IFS=$as_save_IFS
 
9245
  test -z "$as_dir" && as_dir=.
 
9246
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9247
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9248
    ac_cv_prog_ac_ct_OTOOL="otool"
 
9249
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9250
    break 2
 
9251
  fi
 
9252
done
 
9253
done
 
9254
IFS=$as_save_IFS
 
9255
 
 
9256
fi
 
9257
fi
 
9258
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
9259
if test -n "$ac_ct_OTOOL"; then
 
9260
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
 
9261
$as_echo "$ac_ct_OTOOL" >&6; }
 
9262
else
 
9263
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9264
$as_echo "no" >&6; }
 
9265
fi
 
9266
 
 
9267
  if test "x$ac_ct_OTOOL" = x; then
 
9268
    OTOOL=":"
 
9269
  else
 
9270
    case $cross_compiling:$ac_tool_warned in
 
9271
yes:)
 
9272
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
9273
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9274
ac_tool_warned=yes ;;
 
9275
esac
 
9276
    OTOOL=$ac_ct_OTOOL
 
9277
  fi
 
9278
else
 
9279
  OTOOL="$ac_cv_prog_OTOOL"
 
9280
fi
 
9281
 
 
9282
    if test -n "$ac_tool_prefix"; then
 
9283
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
9284
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
9285
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9286
$as_echo_n "checking for $ac_word... " >&6; }
 
9287
if test "${ac_cv_prog_OTOOL64+set}" = set; then
 
9288
  $as_echo_n "(cached) " >&6
 
9289
else
 
9290
  if test -n "$OTOOL64"; then
 
9291
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
9292
else
 
9293
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9294
for as_dir in $PATH
 
9295
do
 
9296
  IFS=$as_save_IFS
 
9297
  test -z "$as_dir" && as_dir=.
 
9298
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9299
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9300
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
9301
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9302
    break 2
 
9303
  fi
 
9304
done
 
9305
done
 
9306
IFS=$as_save_IFS
 
9307
 
 
9308
fi
 
9309
fi
 
9310
OTOOL64=$ac_cv_prog_OTOOL64
 
9311
if test -n "$OTOOL64"; then
 
9312
  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
 
9313
$as_echo "$OTOOL64" >&6; }
 
9314
else
 
9315
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9316
$as_echo "no" >&6; }
 
9317
fi
 
9318
 
 
9319
 
 
9320
fi
 
9321
if test -z "$ac_cv_prog_OTOOL64"; then
 
9322
  ac_ct_OTOOL64=$OTOOL64
 
9323
  # Extract the first word of "otool64", so it can be a program name with args.
 
9324
set dummy otool64; ac_word=$2
 
9325
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9326
$as_echo_n "checking for $ac_word... " >&6; }
 
9327
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
 
9328
  $as_echo_n "(cached) " >&6
 
9329
else
 
9330
  if test -n "$ac_ct_OTOOL64"; then
 
9331
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
9332
else
 
9333
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9334
for as_dir in $PATH
 
9335
do
 
9336
  IFS=$as_save_IFS
 
9337
  test -z "$as_dir" && as_dir=.
 
9338
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9339
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9340
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
9341
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9342
    break 2
 
9343
  fi
 
9344
done
 
9345
done
 
9346
IFS=$as_save_IFS
 
9347
 
 
9348
fi
 
9349
fi
 
9350
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
9351
if test -n "$ac_ct_OTOOL64"; then
 
9352
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
 
9353
$as_echo "$ac_ct_OTOOL64" >&6; }
 
9354
else
 
9355
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9356
$as_echo "no" >&6; }
 
9357
fi
 
9358
 
 
9359
  if test "x$ac_ct_OTOOL64" = x; then
 
9360
    OTOOL64=":"
 
9361
  else
 
9362
    case $cross_compiling:$ac_tool_warned in
 
9363
yes:)
 
9364
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
9365
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9366
ac_tool_warned=yes ;;
 
9367
esac
 
9368
    OTOOL64=$ac_ct_OTOOL64
 
9369
  fi
 
9370
else
 
9371
  OTOOL64="$ac_cv_prog_OTOOL64"
 
9372
fi
 
9373
 
 
9374
 
 
9375
 
 
9376
 
 
9377
 
 
9378
 
 
9379
 
 
9380
 
 
9381
 
 
9382
 
 
9383
 
 
9384
 
 
9385
 
 
9386
 
 
9387
 
 
9388
 
 
9389
 
 
9390
 
 
9391
 
 
9392
 
 
9393
 
 
9394
 
 
9395
 
 
9396
 
 
9397
 
 
9398
 
9357
9399
 
9358
9400
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
9359
9401
$as_echo_n "checking for -single_module linker flag... " >&6; }
9362
9404
else
9363
9405
  lt_cv_apple_cc_single_mod=no
9364
9406
      if test -z "${LT_MULTI_MODULE}"; then
9365
 
   # By default we will add the -single_module flag. You can override
9366
 
   # by either setting the environment variable LT_MULTI_MODULE
9367
 
   # non-empty at configure time, or by adding -multi_module to the
9368
 
   # link flags.
9369
 
   echo "int foo(void){return 1;}" > conftest.c
9370
 
   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9371
 
     -dynamiclib ${wl}-single_module conftest.c
9372
 
   if test -f libconftest.dylib; then
9373
 
     lt_cv_apple_cc_single_mod=yes
9374
 
     rm -rf libconftest.dylib*
9375
 
   fi
9376
 
   rm conftest.c
 
9407
        # By default we will add the -single_module flag. You can override
 
9408
        # by either setting the environment variable LT_MULTI_MODULE
 
9409
        # non-empty at configure time, or by adding -multi_module to the
 
9410
        # link flags.
 
9411
        rm -rf libconftest.dylib*
 
9412
        echo "int foo(void){return 1;}" > conftest.c
 
9413
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
9414
-dynamiclib -Wl,-single_module conftest.c" >&5
 
9415
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
9416
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
9417
        _lt_result=$?
 
9418
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
9419
          lt_cv_apple_cc_single_mod=yes
 
9420
        else
 
9421
          cat conftest.err >&5
 
9422
        fi
 
9423
        rm -rf libconftest.dylib*
 
9424
        rm -f conftest.*
9377
9425
      fi
9378
9426
fi
9379
9427
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
9434
9482
rm -rf conftest.dSYM
9435
9483
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9436
9484
      conftest$ac_exeext conftest.$ac_ext
9437
 
   LDFLAGS="$save_LDFLAGS"
 
9485
        LDFLAGS="$save_LDFLAGS"
9438
9486
 
9439
9487
fi
9440
9488
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
9441
9489
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9442
9490
    case $host_os in
9443
 
    rhapsody* | darwin1.[0123])
 
9491
    rhapsody* | darwin1.[012])
9444
9492
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9445
9493
    darwin1.*)
9446
 
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9447
 
    darwin*)
 
9494
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
9495
    darwin*) # darwin 5.x on
9448
9496
      # if running on 10.5 or later, the deployment target defaults
9449
9497
      # to the OS version, if on x86, and 10.4, the deployment
9450
9498
      # target defaults to 10.4. Don't you love it?
9451
9499
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9452
 
   10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9453
 
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9454
 
   10.[012]*)
9455
 
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9456
 
   10.*)
9457
 
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
9500
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
9501
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
9502
        10.[012]*)
 
9503
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
9504
        10.*)
 
9505
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9458
9506
      esac
9459
9507
    ;;
9460
9508
  esac
9464
9512
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9465
9513
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9466
9514
    else
9467
 
      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
 
9515
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9468
9516
    fi
9469
9517
    if test "$DSYMUTIL" != ":"; then
9470
 
      _lt_dsymutil="~$DSYMUTIL \$lib || :"
 
9518
      _lt_dsymutil='~$DSYMUTIL $lib || :'
9471
9519
    else
9472
9520
      _lt_dsymutil=
9473
9521
    fi
9474
9522
    ;;
9475
9523
  esac
9476
9524
 
9477
 
 
9478
 
enable_dlopen=no
9479
 
enable_win32_dll=no
9480
 
 
9481
 
# Check whether --enable-libtool-lock was given.
9482
 
if test "${enable_libtool_lock+set}" = set; then
9483
 
  enableval=$enable_libtool_lock;
9484
 
fi
9485
 
 
9486
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
9525
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
9526
 
 
9527
 
 
9528
 
 
9529
 
 
9530
 
 
9531
 
 
9532
 
 
9533
 
 
9534
 
 
9535
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
9536
                  inttypes.h stdint.h unistd.h
 
9537
do
 
9538
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
9539
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
9540
$as_echo_n "checking for $ac_header... " >&6; }
 
9541
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
9542
  $as_echo_n "(cached) " >&6
 
9543
else
 
9544
  cat >conftest.$ac_ext <<_ACEOF
 
9545
/* confdefs.h.  */
 
9546
_ACEOF
 
9547
cat confdefs.h >>conftest.$ac_ext
 
9548
cat >>conftest.$ac_ext <<_ACEOF
 
9549
/* end confdefs.h.  */
 
9550
$ac_includes_default
 
9551
 
 
9552
#include <$ac_header>
 
9553
_ACEOF
 
9554
rm -f conftest.$ac_objext
 
9555
if { (ac_try="$ac_compile"
 
9556
case "(($ac_try" in
 
9557
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9558
  *) ac_try_echo=$ac_try;;
 
9559
esac
 
9560
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9561
$as_echo "$ac_try_echo") >&5
 
9562
  (eval "$ac_compile") 2>conftest.er1
 
9563
  ac_status=$?
 
9564
  grep -v '^ *+' conftest.er1 >conftest.err
 
9565
  rm -f conftest.er1
 
9566
  cat conftest.err >&5
 
9567
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9568
  (exit $ac_status); } && {
 
9569
         test -z "$ac_c_werror_flag" ||
 
9570
         test ! -s conftest.err
 
9571
       } && test -s conftest.$ac_objext; then
 
9572
  eval "$as_ac_Header=yes"
 
9573
else
 
9574
  $as_echo "$as_me: failed program was:" >&5
 
9575
sed 's/^/| /' conftest.$ac_ext >&5
 
9576
 
 
9577
        eval "$as_ac_Header=no"
 
9578
fi
 
9579
 
 
9580
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
9581
fi
 
9582
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
9583
                 $as_echo "$as_val"'`
 
9584
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
9585
$as_echo "$ac_res" >&6; }
 
9586
as_val=`eval 'as_val=${'$as_ac_Header'}
 
9587
                 $as_echo "$as_val"'`
 
9588
   if test "x$as_val" = x""yes; then
 
9589
  cat >>confdefs.h <<_ACEOF
 
9590
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
9591
_ACEOF
 
9592
 
 
9593
fi
 
9594
 
 
9595
done
 
9596
 
 
9597
 
 
9598
 
 
9599
for ac_header in dlfcn.h
 
9600
do
 
9601
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
9602
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
9603
$as_echo_n "checking for $ac_header... " >&6; }
 
9604
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
9605
  $as_echo_n "(cached) " >&6
 
9606
else
 
9607
  cat >conftest.$ac_ext <<_ACEOF
 
9608
/* confdefs.h.  */
 
9609
_ACEOF
 
9610
cat confdefs.h >>conftest.$ac_ext
 
9611
cat >>conftest.$ac_ext <<_ACEOF
 
9612
/* end confdefs.h.  */
 
9613
$ac_includes_default
 
9614
 
 
9615
#include <$ac_header>
 
9616
_ACEOF
 
9617
rm -f conftest.$ac_objext
 
9618
if { (ac_try="$ac_compile"
 
9619
case "(($ac_try" in
 
9620
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9621
  *) ac_try_echo=$ac_try;;
 
9622
esac
 
9623
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9624
$as_echo "$ac_try_echo") >&5
 
9625
  (eval "$ac_compile") 2>conftest.er1
 
9626
  ac_status=$?
 
9627
  grep -v '^ *+' conftest.er1 >conftest.err
 
9628
  rm -f conftest.er1
 
9629
  cat conftest.err >&5
 
9630
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9631
  (exit $ac_status); } && {
 
9632
         test -z "$ac_c_werror_flag" ||
 
9633
         test ! -s conftest.err
 
9634
       } && test -s conftest.$ac_objext; then
 
9635
  eval "$as_ac_Header=yes"
 
9636
else
 
9637
  $as_echo "$as_me: failed program was:" >&5
 
9638
sed 's/^/| /' conftest.$ac_ext >&5
 
9639
 
 
9640
        eval "$as_ac_Header=no"
 
9641
fi
 
9642
 
 
9643
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
9644
fi
 
9645
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
9646
                 $as_echo "$as_val"'`
 
9647
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
9648
$as_echo "$ac_res" >&6; }
 
9649
as_val=`eval 'as_val=${'$as_ac_Header'}
 
9650
                 $as_echo "$as_val"'`
 
9651
   if test "x$as_val" = x""yes; then
 
9652
  cat >>confdefs.h <<_ACEOF
 
9653
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
9654
_ACEOF
 
9655
 
 
9656
fi
 
9657
 
 
9658
done
 
9659
 
 
9660
 
 
9661
 
 
9662
ac_ext=cpp
 
9663
ac_cpp='$CXXCPP $CPPFLAGS'
 
9664
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
9665
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
9666
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
9667
if test -z "$CXX"; then
 
9668
  if test -n "$CCC"; then
 
9669
    CXX=$CCC
 
9670
  else
 
9671
    if test -n "$ac_tool_prefix"; then
 
9672
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
9673
  do
 
9674
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
9675
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
9676
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9677
$as_echo_n "checking for $ac_word... " >&6; }
 
9678
if test "${ac_cv_prog_CXX+set}" = set; then
 
9679
  $as_echo_n "(cached) " >&6
 
9680
else
 
9681
  if test -n "$CXX"; then
 
9682
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
 
9683
else
 
9684
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9685
for as_dir in $PATH
 
9686
do
 
9687
  IFS=$as_save_IFS
 
9688
  test -z "$as_dir" && as_dir=.
 
9689
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9690
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9691
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 
9692
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9693
    break 2
 
9694
  fi
 
9695
done
 
9696
done
 
9697
IFS=$as_save_IFS
 
9698
 
 
9699
fi
 
9700
fi
 
9701
CXX=$ac_cv_prog_CXX
 
9702
if test -n "$CXX"; then
 
9703
  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
 
9704
$as_echo "$CXX" >&6; }
 
9705
else
 
9706
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9707
$as_echo "no" >&6; }
 
9708
fi
 
9709
 
 
9710
 
 
9711
    test -n "$CXX" && break
 
9712
  done
 
9713
fi
 
9714
if test -z "$CXX"; then
 
9715
  ac_ct_CXX=$CXX
 
9716
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
9717
do
 
9718
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
9719
set dummy $ac_prog; ac_word=$2
 
9720
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9721
$as_echo_n "checking for $ac_word... " >&6; }
 
9722
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
 
9723
  $as_echo_n "(cached) " >&6
 
9724
else
 
9725
  if test -n "$ac_ct_CXX"; then
 
9726
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 
9727
else
 
9728
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9729
for as_dir in $PATH
 
9730
do
 
9731
  IFS=$as_save_IFS
 
9732
  test -z "$as_dir" && as_dir=.
 
9733
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9734
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9735
    ac_cv_prog_ac_ct_CXX="$ac_prog"
 
9736
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9737
    break 2
 
9738
  fi
 
9739
done
 
9740
done
 
9741
IFS=$as_save_IFS
 
9742
 
 
9743
fi
 
9744
fi
 
9745
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 
9746
if test -n "$ac_ct_CXX"; then
 
9747
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
9748
$as_echo "$ac_ct_CXX" >&6; }
 
9749
else
 
9750
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9751
$as_echo "no" >&6; }
 
9752
fi
 
9753
 
 
9754
 
 
9755
  test -n "$ac_ct_CXX" && break
 
9756
done
 
9757
 
 
9758
  if test "x$ac_ct_CXX" = x; then
 
9759
    CXX="g++"
 
9760
  else
 
9761
    case $cross_compiling:$ac_tool_warned in
 
9762
yes:)
 
9763
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
9764
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9765
ac_tool_warned=yes ;;
 
9766
esac
 
9767
    CXX=$ac_ct_CXX
 
9768
  fi
 
9769
fi
 
9770
 
 
9771
  fi
 
9772
fi
 
9773
# Provide some information about the compiler.
 
9774
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
 
9775
set X $ac_compile
 
9776
ac_compiler=$2
 
9777
{ (ac_try="$ac_compiler --version >&5"
 
9778
case "(($ac_try" in
 
9779
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9780
  *) ac_try_echo=$ac_try;;
 
9781
esac
 
9782
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9783
$as_echo "$ac_try_echo") >&5
 
9784
  (eval "$ac_compiler --version >&5") 2>&5
 
9785
  ac_status=$?
 
9786
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9787
  (exit $ac_status); }
 
9788
{ (ac_try="$ac_compiler -v >&5"
 
9789
case "(($ac_try" in
 
9790
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9791
  *) ac_try_echo=$ac_try;;
 
9792
esac
 
9793
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9794
$as_echo "$ac_try_echo") >&5
 
9795
  (eval "$ac_compiler -v >&5") 2>&5
 
9796
  ac_status=$?
 
9797
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9798
  (exit $ac_status); }
 
9799
{ (ac_try="$ac_compiler -V >&5"
 
9800
case "(($ac_try" in
 
9801
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9802
  *) ac_try_echo=$ac_try;;
 
9803
esac
 
9804
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9805
$as_echo "$ac_try_echo") >&5
 
9806
  (eval "$ac_compiler -V >&5") 2>&5
 
9807
  ac_status=$?
 
9808
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9809
  (exit $ac_status); }
 
9810
 
 
9811
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
9812
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 
9813
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
 
9814
  $as_echo_n "(cached) " >&6
 
9815
else
 
9816
  cat >conftest.$ac_ext <<_ACEOF
 
9817
/* confdefs.h.  */
 
9818
_ACEOF
 
9819
cat confdefs.h >>conftest.$ac_ext
 
9820
cat >>conftest.$ac_ext <<_ACEOF
 
9821
/* end confdefs.h.  */
 
9822
 
 
9823
int
 
9824
main ()
 
9825
{
 
9826
#ifndef __GNUC__
 
9827
       choke me
 
9828
#endif
 
9829
 
 
9830
  ;
 
9831
  return 0;
 
9832
}
 
9833
_ACEOF
 
9834
rm -f conftest.$ac_objext
 
9835
if { (ac_try="$ac_compile"
 
9836
case "(($ac_try" in
 
9837
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9838
  *) ac_try_echo=$ac_try;;
 
9839
esac
 
9840
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9841
$as_echo "$ac_try_echo") >&5
 
9842
  (eval "$ac_compile") 2>conftest.er1
 
9843
  ac_status=$?
 
9844
  grep -v '^ *+' conftest.er1 >conftest.err
 
9845
  rm -f conftest.er1
 
9846
  cat conftest.err >&5
 
9847
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9848
  (exit $ac_status); } && {
 
9849
         test -z "$ac_cxx_werror_flag" ||
 
9850
         test ! -s conftest.err
 
9851
       } && test -s conftest.$ac_objext; then
 
9852
  ac_compiler_gnu=yes
 
9853
else
 
9854
  $as_echo "$as_me: failed program was:" >&5
 
9855
sed 's/^/| /' conftest.$ac_ext >&5
 
9856
 
 
9857
        ac_compiler_gnu=no
 
9858
fi
 
9859
 
 
9860
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
9861
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 
9862
 
 
9863
fi
 
9864
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
9865
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
9866
if test $ac_compiler_gnu = yes; then
 
9867
  GXX=yes
 
9868
else
 
9869
  GXX=
 
9870
fi
 
9871
ac_test_CXXFLAGS=${CXXFLAGS+set}
 
9872
ac_save_CXXFLAGS=$CXXFLAGS
 
9873
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
9874
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
 
9875
if test "${ac_cv_prog_cxx_g+set}" = set; then
 
9876
  $as_echo_n "(cached) " >&6
 
9877
else
 
9878
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
9879
   ac_cxx_werror_flag=yes
 
9880
   ac_cv_prog_cxx_g=no
 
9881
   CXXFLAGS="-g"
 
9882
   cat >conftest.$ac_ext <<_ACEOF
 
9883
/* confdefs.h.  */
 
9884
_ACEOF
 
9885
cat confdefs.h >>conftest.$ac_ext
 
9886
cat >>conftest.$ac_ext <<_ACEOF
 
9887
/* end confdefs.h.  */
 
9888
 
 
9889
int
 
9890
main ()
 
9891
{
 
9892
 
 
9893
  ;
 
9894
  return 0;
 
9895
}
 
9896
_ACEOF
 
9897
rm -f conftest.$ac_objext
 
9898
if { (ac_try="$ac_compile"
 
9899
case "(($ac_try" in
 
9900
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9901
  *) ac_try_echo=$ac_try;;
 
9902
esac
 
9903
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9904
$as_echo "$ac_try_echo") >&5
 
9905
  (eval "$ac_compile") 2>conftest.er1
 
9906
  ac_status=$?
 
9907
  grep -v '^ *+' conftest.er1 >conftest.err
 
9908
  rm -f conftest.er1
 
9909
  cat conftest.err >&5
 
9910
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9911
  (exit $ac_status); } && {
 
9912
         test -z "$ac_cxx_werror_flag" ||
 
9913
         test ! -s conftest.err
 
9914
       } && test -s conftest.$ac_objext; then
 
9915
  ac_cv_prog_cxx_g=yes
 
9916
else
 
9917
  $as_echo "$as_me: failed program was:" >&5
 
9918
sed 's/^/| /' conftest.$ac_ext >&5
 
9919
 
 
9920
        CXXFLAGS=""
 
9921
      cat >conftest.$ac_ext <<_ACEOF
 
9922
/* confdefs.h.  */
 
9923
_ACEOF
 
9924
cat confdefs.h >>conftest.$ac_ext
 
9925
cat >>conftest.$ac_ext <<_ACEOF
 
9926
/* end confdefs.h.  */
 
9927
 
 
9928
int
 
9929
main ()
 
9930
{
 
9931
 
 
9932
  ;
 
9933
  return 0;
 
9934
}
 
9935
_ACEOF
 
9936
rm -f conftest.$ac_objext
 
9937
if { (ac_try="$ac_compile"
 
9938
case "(($ac_try" in
 
9939
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9940
  *) ac_try_echo=$ac_try;;
 
9941
esac
 
9942
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9943
$as_echo "$ac_try_echo") >&5
 
9944
  (eval "$ac_compile") 2>conftest.er1
 
9945
  ac_status=$?
 
9946
  grep -v '^ *+' conftest.er1 >conftest.err
 
9947
  rm -f conftest.er1
 
9948
  cat conftest.err >&5
 
9949
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9950
  (exit $ac_status); } && {
 
9951
         test -z "$ac_cxx_werror_flag" ||
 
9952
         test ! -s conftest.err
 
9953
       } && test -s conftest.$ac_objext; then
 
9954
  :
 
9955
else
 
9956
  $as_echo "$as_me: failed program was:" >&5
 
9957
sed 's/^/| /' conftest.$ac_ext >&5
 
9958
 
 
9959
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
9960
         CXXFLAGS="-g"
 
9961
         cat >conftest.$ac_ext <<_ACEOF
 
9962
/* confdefs.h.  */
 
9963
_ACEOF
 
9964
cat confdefs.h >>conftest.$ac_ext
 
9965
cat >>conftest.$ac_ext <<_ACEOF
 
9966
/* end confdefs.h.  */
 
9967
 
 
9968
int
 
9969
main ()
 
9970
{
 
9971
 
 
9972
  ;
 
9973
  return 0;
 
9974
}
 
9975
_ACEOF
 
9976
rm -f conftest.$ac_objext
 
9977
if { (ac_try="$ac_compile"
 
9978
case "(($ac_try" in
 
9979
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9980
  *) ac_try_echo=$ac_try;;
 
9981
esac
 
9982
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9983
$as_echo "$ac_try_echo") >&5
 
9984
  (eval "$ac_compile") 2>conftest.er1
 
9985
  ac_status=$?
 
9986
  grep -v '^ *+' conftest.er1 >conftest.err
 
9987
  rm -f conftest.er1
 
9988
  cat conftest.err >&5
 
9989
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9990
  (exit $ac_status); } && {
 
9991
         test -z "$ac_cxx_werror_flag" ||
 
9992
         test ! -s conftest.err
 
9993
       } && test -s conftest.$ac_objext; then
 
9994
  ac_cv_prog_cxx_g=yes
 
9995
else
 
9996
  $as_echo "$as_me: failed program was:" >&5
 
9997
sed 's/^/| /' conftest.$ac_ext >&5
 
9998
 
 
9999
 
 
10000
fi
 
10001
 
 
10002
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
10003
fi
 
10004
 
 
10005
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
10006
fi
 
10007
 
 
10008
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
10009
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
10010
fi
 
10011
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
10012
$as_echo "$ac_cv_prog_cxx_g" >&6; }
 
10013
if test "$ac_test_CXXFLAGS" = set; then
 
10014
  CXXFLAGS=$ac_save_CXXFLAGS
 
10015
elif test $ac_cv_prog_cxx_g = yes; then
 
10016
  if test "$GXX" = yes; then
 
10017
    CXXFLAGS="-g -O2"
 
10018
  else
 
10019
    CXXFLAGS="-g"
 
10020
  fi
 
10021
else
 
10022
  if test "$GXX" = yes; then
 
10023
    CXXFLAGS="-O2"
 
10024
  else
 
10025
    CXXFLAGS=
 
10026
  fi
 
10027
fi
 
10028
ac_ext=c
 
10029
ac_cpp='$CPP $CPPFLAGS'
 
10030
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
10031
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
10032
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
10033
 
 
10034
depcc="$CXX"  am_compiler_list=
 
10035
 
 
10036
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
10037
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
10038
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
 
10039
  $as_echo_n "(cached) " >&6
 
10040
else
 
10041
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
10042
  # We make a subdir and do the tests there.  Otherwise we can end up
 
10043
  # making bogus files that we don't know about and never remove.  For
 
10044
  # instance it was reported that on HP-UX the gcc test will end up
 
10045
  # making a dummy file named `D' -- because `-MD' means `put the output
 
10046
  # in D'.
 
10047
  mkdir conftest.dir
 
10048
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
10049
  # using a relative directory.
 
10050
  cp "$am_depcomp" conftest.dir
 
10051
  cd conftest.dir
 
10052
  # We will build objects and dependencies in a subdirectory because
 
10053
  # it helps to detect inapplicable dependency modes.  For instance
 
10054
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
10055
  # side effect of compilation, but ICC will put the dependencies in
 
10056
  # the current directory while Tru64 will put them in the object
 
10057
  # directory.
 
10058
  mkdir sub
 
10059
 
 
10060
  am_cv_CXX_dependencies_compiler_type=none
 
10061
  if test "$am_compiler_list" = ""; then
 
10062
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
10063
  fi
 
10064
  am__universal=false
 
10065
  case " $depcc " in #(
 
10066
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
10067
     esac
 
10068
 
 
10069
  for depmode in $am_compiler_list; do
 
10070
    # Setup a source with many dependencies, because some compilers
 
10071
    # like to wrap large dependency lists on column 80 (with \), and
 
10072
    # we should not choose a depcomp mode which is confused by this.
 
10073
    #
 
10074
    # We need to recreate these files for each test, as the compiler may
 
10075
    # overwrite some of them when testing with obscure command lines.
 
10076
    # This happens at least with the AIX C compiler.
 
10077
    : > sub/conftest.c
 
10078
    for i in 1 2 3 4 5 6; do
 
10079
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
10080
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
10081
      # Solaris 8's {/usr,}/bin/sh.
 
10082
      touch sub/conftst$i.h
 
10083
    done
 
10084
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
10085
 
 
10086
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
10087
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
10088
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
10089
    # versions had trouble with output in subdirs
 
10090
    am__obj=sub/conftest.${OBJEXT-o}
 
10091
    am__minus_obj="-o $am__obj"
 
10092
    case $depmode in
 
10093
    gcc)
 
10094
      # This depmode causes a compiler race in universal mode.
 
10095
      test "$am__universal" = false || continue
 
10096
      ;;
 
10097
    nosideeffect)
 
10098
      # after this tag, mechanisms are not by side-effect, so they'll
 
10099
      # only be used when explicitly requested
 
10100
      if test "x$enable_dependency_tracking" = xyes; then
 
10101
        continue
 
10102
      else
 
10103
        break
 
10104
      fi
 
10105
      ;;
 
10106
    msvisualcpp | msvcmsys)
 
10107
      # This compiler won't grok `-c -o', but also, the minuso test has
 
10108
      # not run yet.  These depmodes are late enough in the game, and
 
10109
      # so weak that their functioning should not be impacted.
 
10110
      am__obj=conftest.${OBJEXT-o}
 
10111
      am__minus_obj=
 
10112
      ;;
 
10113
    none) break ;;
 
10114
    esac
 
10115
    if depmode=$depmode \
 
10116
       source=sub/conftest.c object=$am__obj \
 
10117
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
10118
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
10119
         >/dev/null 2>conftest.err &&
 
10120
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
10121
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
10122
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
10123
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
10124
      # icc doesn't choke on unknown options, it will just issue warnings
 
10125
      # or remarks (even with -Werror).  So we grep stderr for any message
 
10126
      # that says an option was ignored or not supported.
 
10127
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
10128
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
10129
      # The diagnosis changed in icc 8.0:
 
10130
      #   icc: Command line remark: option '-MP' not supported
 
10131
      if (grep 'ignoring option' conftest.err ||
 
10132
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
10133
        am_cv_CXX_dependencies_compiler_type=$depmode
 
10134
        break
 
10135
      fi
 
10136
    fi
 
10137
  done
 
10138
 
 
10139
  cd ..
 
10140
  rm -rf conftest.dir
 
10141
else
 
10142
  am_cv_CXX_dependencies_compiler_type=none
 
10143
fi
 
10144
 
 
10145
fi
 
10146
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
10147
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
 
10148
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 
10149
 
 
10150
 if
 
10151
  test "x$enable_dependency_tracking" != xno \
 
10152
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 
10153
  am__fastdepCXX_TRUE=
 
10154
  am__fastdepCXX_FALSE='#'
 
10155
else
 
10156
  am__fastdepCXX_TRUE='#'
 
10157
  am__fastdepCXX_FALSE=
 
10158
fi
 
10159
 
 
10160
 
 
10161
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 
10162
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 
10163
    (test "X$CXX" != "Xg++"))) ; then
 
10164
  ac_ext=cpp
 
10165
ac_cpp='$CXXCPP $CPPFLAGS'
 
10166
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
10167
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
10168
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
10169
{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 
10170
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
 
10171
if test -z "$CXXCPP"; then
 
10172
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
 
10173
  $as_echo_n "(cached) " >&6
 
10174
else
 
10175
      # Double quotes because CXXCPP needs to be expanded
 
10176
    for CXXCPP in "$CXX -E" "/lib/cpp"
 
10177
    do
 
10178
      ac_preproc_ok=false
 
10179
for ac_cxx_preproc_warn_flag in '' yes
 
10180
do
 
10181
  # Use a header file that comes with gcc, so configuring glibc
 
10182
  # with a fresh cross-compiler works.
 
10183
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
10184
  # <limits.h> exists even on freestanding compilers.
 
10185
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
10186
  # not just through cpp. "Syntax error" is here to catch this case.
 
10187
  cat >conftest.$ac_ext <<_ACEOF
 
10188
/* confdefs.h.  */
 
10189
_ACEOF
 
10190
cat confdefs.h >>conftest.$ac_ext
 
10191
cat >>conftest.$ac_ext <<_ACEOF
 
10192
/* end confdefs.h.  */
 
10193
#ifdef __STDC__
 
10194
# include <limits.h>
 
10195
#else
 
10196
# include <assert.h>
 
10197
#endif
 
10198
                     Syntax error
 
10199
_ACEOF
 
10200
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
10201
case "(($ac_try" in
 
10202
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10203
  *) ac_try_echo=$ac_try;;
 
10204
esac
 
10205
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10206
$as_echo "$ac_try_echo") >&5
 
10207
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
10208
  ac_status=$?
 
10209
  grep -v '^ *+' conftest.er1 >conftest.err
 
10210
  rm -f conftest.er1
 
10211
  cat conftest.err >&5
 
10212
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10213
  (exit $ac_status); } >/dev/null && {
 
10214
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
10215
         test ! -s conftest.err
 
10216
       }; then
 
10217
  :
 
10218
else
 
10219
  $as_echo "$as_me: failed program was:" >&5
 
10220
sed 's/^/| /' conftest.$ac_ext >&5
 
10221
 
 
10222
  # Broken: fails on valid input.
 
10223
continue
 
10224
fi
 
10225
 
 
10226
rm -f conftest.err conftest.$ac_ext
 
10227
 
 
10228
  # OK, works on sane cases.  Now check whether nonexistent headers
 
10229
  # can be detected and how.
 
10230
  cat >conftest.$ac_ext <<_ACEOF
 
10231
/* confdefs.h.  */
 
10232
_ACEOF
 
10233
cat confdefs.h >>conftest.$ac_ext
 
10234
cat >>conftest.$ac_ext <<_ACEOF
 
10235
/* end confdefs.h.  */
 
10236
#include <ac_nonexistent.h>
 
10237
_ACEOF
 
10238
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
10239
case "(($ac_try" in
 
10240
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10241
  *) ac_try_echo=$ac_try;;
 
10242
esac
 
10243
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10244
$as_echo "$ac_try_echo") >&5
 
10245
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
10246
  ac_status=$?
 
10247
  grep -v '^ *+' conftest.er1 >conftest.err
 
10248
  rm -f conftest.er1
 
10249
  cat conftest.err >&5
 
10250
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10251
  (exit $ac_status); } >/dev/null && {
 
10252
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
10253
         test ! -s conftest.err
 
10254
       }; then
 
10255
  # Broken: success on invalid input.
 
10256
continue
 
10257
else
 
10258
  $as_echo "$as_me: failed program was:" >&5
 
10259
sed 's/^/| /' conftest.$ac_ext >&5
 
10260
 
 
10261
  # Passes both tests.
 
10262
ac_preproc_ok=:
 
10263
break
 
10264
fi
 
10265
 
 
10266
rm -f conftest.err conftest.$ac_ext
 
10267
 
 
10268
done
 
10269
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
10270
rm -f conftest.err conftest.$ac_ext
 
10271
if $ac_preproc_ok; then
 
10272
  break
 
10273
fi
 
10274
 
 
10275
    done
 
10276
    ac_cv_prog_CXXCPP=$CXXCPP
 
10277
 
 
10278
fi
 
10279
  CXXCPP=$ac_cv_prog_CXXCPP
 
10280
else
 
10281
  ac_cv_prog_CXXCPP=$CXXCPP
 
10282
fi
 
10283
{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
 
10284
$as_echo "$CXXCPP" >&6; }
 
10285
ac_preproc_ok=false
 
10286
for ac_cxx_preproc_warn_flag in '' yes
 
10287
do
 
10288
  # Use a header file that comes with gcc, so configuring glibc
 
10289
  # with a fresh cross-compiler works.
 
10290
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
10291
  # <limits.h> exists even on freestanding compilers.
 
10292
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
10293
  # not just through cpp. "Syntax error" is here to catch this case.
 
10294
  cat >conftest.$ac_ext <<_ACEOF
 
10295
/* confdefs.h.  */
 
10296
_ACEOF
 
10297
cat confdefs.h >>conftest.$ac_ext
 
10298
cat >>conftest.$ac_ext <<_ACEOF
 
10299
/* end confdefs.h.  */
 
10300
#ifdef __STDC__
 
10301
# include <limits.h>
 
10302
#else
 
10303
# include <assert.h>
 
10304
#endif
 
10305
                     Syntax error
 
10306
_ACEOF
 
10307
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
10308
case "(($ac_try" in
 
10309
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10310
  *) ac_try_echo=$ac_try;;
 
10311
esac
 
10312
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10313
$as_echo "$ac_try_echo") >&5
 
10314
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
10315
  ac_status=$?
 
10316
  grep -v '^ *+' conftest.er1 >conftest.err
 
10317
  rm -f conftest.er1
 
10318
  cat conftest.err >&5
 
10319
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10320
  (exit $ac_status); } >/dev/null && {
 
10321
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
10322
         test ! -s conftest.err
 
10323
       }; then
 
10324
  :
 
10325
else
 
10326
  $as_echo "$as_me: failed program was:" >&5
 
10327
sed 's/^/| /' conftest.$ac_ext >&5
 
10328
 
 
10329
  # Broken: fails on valid input.
 
10330
continue
 
10331
fi
 
10332
 
 
10333
rm -f conftest.err conftest.$ac_ext
 
10334
 
 
10335
  # OK, works on sane cases.  Now check whether nonexistent headers
 
10336
  # can be detected and how.
 
10337
  cat >conftest.$ac_ext <<_ACEOF
 
10338
/* confdefs.h.  */
 
10339
_ACEOF
 
10340
cat confdefs.h >>conftest.$ac_ext
 
10341
cat >>conftest.$ac_ext <<_ACEOF
 
10342
/* end confdefs.h.  */
 
10343
#include <ac_nonexistent.h>
 
10344
_ACEOF
 
10345
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
10346
case "(($ac_try" in
 
10347
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10348
  *) ac_try_echo=$ac_try;;
 
10349
esac
 
10350
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10351
$as_echo "$ac_try_echo") >&5
 
10352
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
10353
  ac_status=$?
 
10354
  grep -v '^ *+' conftest.er1 >conftest.err
 
10355
  rm -f conftest.er1
 
10356
  cat conftest.err >&5
 
10357
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10358
  (exit $ac_status); } >/dev/null && {
 
10359
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
10360
         test ! -s conftest.err
 
10361
       }; then
 
10362
  # Broken: success on invalid input.
 
10363
continue
 
10364
else
 
10365
  $as_echo "$as_me: failed program was:" >&5
 
10366
sed 's/^/| /' conftest.$ac_ext >&5
 
10367
 
 
10368
  # Passes both tests.
 
10369
ac_preproc_ok=:
 
10370
break
 
10371
fi
 
10372
 
 
10373
rm -f conftest.err conftest.$ac_ext
 
10374
 
 
10375
done
 
10376
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
10377
rm -f conftest.err conftest.$ac_ext
 
10378
if $ac_preproc_ok; then
 
10379
  :
 
10380
else
 
10381
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
10382
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
10383
_lt_caught_CXX_error=yes; }
 
10384
fi
 
10385
 
 
10386
ac_ext=c
 
10387
ac_cpp='$CPP $CPPFLAGS'
 
10388
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
10389
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
10390
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
10391
 
 
10392
else
 
10393
  _lt_caught_CXX_error=yes
 
10394
fi
 
10395
 
 
10396
 
 
10397
 
 
10398
 
 
10399
 
 
10400
# Set options
 
10401
 
 
10402
 
 
10403
 
 
10404
        enable_dlopen=no
 
10405
 
 
10406
 
 
10407
  enable_win32_dll=no
 
10408
 
 
10409
 
 
10410
            # Check whether --enable-shared was given.
 
10411
if test "${enable_shared+set}" = set; then
 
10412
  enableval=$enable_shared; p=${PACKAGE-default}
 
10413
    case $enableval in
 
10414
    yes) enable_shared=yes ;;
 
10415
    no) enable_shared=no ;;
 
10416
    *)
 
10417
      enable_shared=no
 
10418
      # Look at the argument we got.  We use all the common list separators.
 
10419
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
10420
      for pkg in $enableval; do
 
10421
        IFS="$lt_save_ifs"
 
10422
        if test "X$pkg" = "X$p"; then
 
10423
          enable_shared=yes
 
10424
        fi
 
10425
      done
 
10426
      IFS="$lt_save_ifs"
 
10427
      ;;
 
10428
    esac
 
10429
else
 
10430
  enable_shared=yes
 
10431
fi
 
10432
 
 
10433
 
 
10434
 
 
10435
 
 
10436
 
 
10437
 
 
10438
 
 
10439
 
 
10440
 
9487
10441
 
9488
10442
 
9489
10443
# Check whether --with-pic was given.
9493
10447
  pic_mode=default
9494
10448
fi
9495
10449
 
 
10450
 
9496
10451
test -z "$pic_mode" && pic_mode=default
9497
10452
 
 
10453
 
 
10454
 
 
10455
 
 
10456
 
 
10457
 
 
10458
 
 
10459
  # Check whether --enable-fast-install was given.
 
10460
if test "${enable_fast_install+set}" = set; then
 
10461
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
10462
    case $enableval in
 
10463
    yes) enable_fast_install=yes ;;
 
10464
    no) enable_fast_install=no ;;
 
10465
    *)
 
10466
      enable_fast_install=no
 
10467
      # Look at the argument we got.  We use all the common list separators.
 
10468
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
10469
      for pkg in $enableval; do
 
10470
        IFS="$lt_save_ifs"
 
10471
        if test "X$pkg" = "X$p"; then
 
10472
          enable_fast_install=yes
 
10473
        fi
 
10474
      done
 
10475
      IFS="$lt_save_ifs"
 
10476
      ;;
 
10477
    esac
 
10478
else
 
10479
  enable_fast_install=yes
 
10480
fi
 
10481
 
 
10482
 
 
10483
 
 
10484
 
 
10485
 
 
10486
 
 
10487
 
 
10488
 
 
10489
 
 
10490
 
 
10491
 
 
10492
# This can be used to rebuild libtool when needed
 
10493
LIBTOOL_DEPS="$ltmain"
 
10494
 
 
10495
# Always use our own libtool.
 
10496
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
10497
 
 
10498
 
 
10499
 
 
10500
 
 
10501
 
 
10502
 
 
10503
 
 
10504
 
 
10505
 
 
10506
 
 
10507
 
 
10508
 
 
10509
 
 
10510
 
 
10511
 
 
10512
 
 
10513
 
 
10514
 
 
10515
 
 
10516
 
 
10517
 
 
10518
 
 
10519
 
 
10520
 
 
10521
 
 
10522
test -z "$LN_S" && LN_S="ln -s"
 
10523
 
 
10524
 
 
10525
 
 
10526
 
 
10527
 
 
10528
 
 
10529
 
 
10530
 
 
10531
 
 
10532
 
 
10533
 
 
10534
 
 
10535
 
 
10536
 
 
10537
if test -n "${ZSH_VERSION+set}" ; then
 
10538
   setopt NO_GLOB_SUBST
 
10539
fi
 
10540
 
 
10541
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
 
10542
$as_echo_n "checking for objdir... " >&6; }
 
10543
if test "${lt_cv_objdir+set}" = set; then
 
10544
  $as_echo_n "(cached) " >&6
 
10545
else
 
10546
  rm -f .libs 2>/dev/null
 
10547
mkdir .libs 2>/dev/null
 
10548
if test -d .libs; then
 
10549
  lt_cv_objdir=.libs
 
10550
else
 
10551
  # MS-DOS does not allow filenames that begin with a dot.
 
10552
  lt_cv_objdir=_libs
 
10553
fi
 
10554
rmdir .libs 2>/dev/null
 
10555
fi
 
10556
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
10557
$as_echo "$lt_cv_objdir" >&6; }
 
10558
objdir=$lt_cv_objdir
 
10559
 
 
10560
 
 
10561
 
 
10562
 
 
10563
 
 
10564
cat >>confdefs.h <<_ACEOF
 
10565
#define LT_OBJDIR "$lt_cv_objdir/"
 
10566
_ACEOF
 
10567
 
 
10568
 
 
10569
 
 
10570
 
 
10571
 
 
10572
 
 
10573
 
 
10574
 
 
10575
 
 
10576
 
 
10577
 
 
10578
 
 
10579
 
 
10580
 
 
10581
 
 
10582
 
 
10583
 
 
10584
case $host_os in
 
10585
aix3*)
 
10586
  # AIX sometimes has problems with the GCC collect2 program.  For some
 
10587
  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
10588
  # vanish in a puff of smoke.
 
10589
  if test "X${COLLECT_NAMES+set}" != Xset; then
 
10590
    COLLECT_NAMES=
 
10591
    export COLLECT_NAMES
 
10592
  fi
 
10593
  ;;
 
10594
esac
 
10595
 
 
10596
# Sed substitution that helps us do robust quoting.  It backslashifies
 
10597
# metacharacters that are still active within double-quoted strings.
 
10598
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
10599
 
 
10600
# Same as above, but do not quote variable references.
 
10601
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
10602
 
 
10603
# Sed substitution to delay expansion of an escaped shell variable in a
 
10604
# double_quote_subst'ed string.
 
10605
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
10606
 
 
10607
# Sed substitution to delay expansion of an escaped single quote.
 
10608
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
10609
 
 
10610
# Sed substitution to avoid accidental globbing in evaled expressions
 
10611
no_glob_subst='s/\*/\\\*/g'
 
10612
 
 
10613
# Global variables:
 
10614
ofile=libtool
 
10615
can_build_shared=yes
 
10616
 
 
10617
# All known linkers require a `.a' archive for static linking (except MSVC,
 
10618
# which needs '.lib').
 
10619
libext=a
 
10620
 
 
10621
with_gnu_ld="$lt_cv_prog_gnu_ld"
 
10622
 
 
10623
old_CC="$CC"
 
10624
old_CFLAGS="$CFLAGS"
 
10625
 
 
10626
# Set sane defaults for various variables
 
10627
test -z "$CC" && CC=cc
 
10628
test -z "$LTCC" && LTCC=$CC
 
10629
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
10630
test -z "$LD" && LD=ld
 
10631
test -z "$ac_objext" && ac_objext=o
 
10632
 
 
10633
for cc_temp in $compiler""; do
 
10634
  case $cc_temp in
 
10635
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
10636
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
10637
    \-*) ;;
 
10638
    *) break;;
 
10639
  esac
 
10640
done
 
10641
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
10642
 
 
10643
 
 
10644
# Only perform the check for file, if the check method requires it
 
10645
test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
10646
case $deplibs_check_method in
 
10647
file_magic*)
 
10648
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
10649
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
10650
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
10651
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
10652
  $as_echo_n "(cached) " >&6
 
10653
else
 
10654
  case $MAGIC_CMD in
 
10655
[\\/*] |  ?:[\\/]*)
 
10656
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
10657
  ;;
 
10658
*)
 
10659
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
10660
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
10661
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
10662
  for ac_dir in $ac_dummy; do
 
10663
    IFS="$lt_save_ifs"
 
10664
    test -z "$ac_dir" && ac_dir=.
 
10665
    if test -f $ac_dir/${ac_tool_prefix}file; then
 
10666
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
10667
      if test -n "$file_magic_test_file"; then
 
10668
        case $deplibs_check_method in
 
10669
        "file_magic "*)
 
10670
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
10671
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
10672
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
10673
            $EGREP "$file_magic_regex" > /dev/null; then
 
10674
            :
 
10675
          else
 
10676
            cat <<_LT_EOF 1>&2
 
10677
 
 
10678
*** Warning: the command libtool uses to detect shared libraries,
 
10679
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
10680
*** The result is that libtool may fail to recognize shared libraries
 
10681
*** as such.  This will affect the creation of libtool libraries that
 
10682
*** depend on shared libraries, but programs linked with such libtool
 
10683
*** libraries will work regardless of this problem.  Nevertheless, you
 
10684
*** may want to report the problem to your system manager and/or to
 
10685
*** bug-libtool@gnu.org
 
10686
 
 
10687
_LT_EOF
 
10688
          fi ;;
 
10689
        esac
 
10690
      fi
 
10691
      break
 
10692
    fi
 
10693
  done
 
10694
  IFS="$lt_save_ifs"
 
10695
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
10696
  ;;
 
10697
esac
 
10698
fi
 
10699
 
 
10700
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
10701
if test -n "$MAGIC_CMD"; then
 
10702
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
10703
$as_echo "$MAGIC_CMD" >&6; }
 
10704
else
 
10705
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
10706
$as_echo "no" >&6; }
 
10707
fi
 
10708
 
 
10709
 
 
10710
 
 
10711
 
 
10712
 
 
10713
if test -z "$lt_cv_path_MAGIC_CMD"; then
 
10714
  if test -n "$ac_tool_prefix"; then
 
10715
    { $as_echo "$as_me:$LINENO: checking for file" >&5
 
10716
$as_echo_n "checking for file... " >&6; }
 
10717
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
10718
  $as_echo_n "(cached) " >&6
 
10719
else
 
10720
  case $MAGIC_CMD in
 
10721
[\\/*] |  ?:[\\/]*)
 
10722
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
10723
  ;;
 
10724
*)
 
10725
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
10726
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
10727
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
10728
  for ac_dir in $ac_dummy; do
 
10729
    IFS="$lt_save_ifs"
 
10730
    test -z "$ac_dir" && ac_dir=.
 
10731
    if test -f $ac_dir/file; then
 
10732
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
10733
      if test -n "$file_magic_test_file"; then
 
10734
        case $deplibs_check_method in
 
10735
        "file_magic "*)
 
10736
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
10737
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
10738
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
10739
            $EGREP "$file_magic_regex" > /dev/null; then
 
10740
            :
 
10741
          else
 
10742
            cat <<_LT_EOF 1>&2
 
10743
 
 
10744
*** Warning: the command libtool uses to detect shared libraries,
 
10745
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
10746
*** The result is that libtool may fail to recognize shared libraries
 
10747
*** as such.  This will affect the creation of libtool libraries that
 
10748
*** depend on shared libraries, but programs linked with such libtool
 
10749
*** libraries will work regardless of this problem.  Nevertheless, you
 
10750
*** may want to report the problem to your system manager and/or to
 
10751
*** bug-libtool@gnu.org
 
10752
 
 
10753
_LT_EOF
 
10754
          fi ;;
 
10755
        esac
 
10756
      fi
 
10757
      break
 
10758
    fi
 
10759
  done
 
10760
  IFS="$lt_save_ifs"
 
10761
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
10762
  ;;
 
10763
esac
 
10764
fi
 
10765
 
 
10766
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
10767
if test -n "$MAGIC_CMD"; then
 
10768
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
10769
$as_echo "$MAGIC_CMD" >&6; }
 
10770
else
 
10771
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
10772
$as_echo "no" >&6; }
 
10773
fi
 
10774
 
 
10775
 
 
10776
  else
 
10777
    MAGIC_CMD=:
 
10778
  fi
 
10779
fi
 
10780
 
 
10781
  fi
 
10782
  ;;
 
10783
esac
 
10784
 
9498
10785
# Use C for the default configuration in the libtool script
9499
 
tagname=
 
10786
 
9500
10787
lt_save_CC="$CC"
9501
10788
ac_ext=c
9502
10789
ac_cpp='$CPP $CPPFLAGS'
9519
10806
lt_simple_link_test_code='int main(){return(0);}'
9520
10807
 
9521
10808
 
 
10809
 
 
10810
 
 
10811
 
 
10812
 
 
10813
 
9522
10814
# If no C compiler was specified, use CC.
9523
10815
LTCC=${LTCC-"$CC"}
9524
10816
 
9528
10820
# Allow CC to be a program name with arguments.
9529
10821
compiler=$CC
9530
10822
 
 
10823
# Save the default compiler, since it gets overwritten when the other
 
10824
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
10825
compiler_DEFAULT=$CC
9531
10826
 
9532
10827
# save warnings/boilerplate of simple test code
9533
10828
ac_outfile=conftest.$ac_objext
9534
10829
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9535
10830
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9536
10831
_lt_compiler_boilerplate=`cat conftest.err`
9537
 
$rm conftest*
 
10832
$RM conftest*
9538
10833
 
9539
10834
ac_outfile=conftest.$ac_objext
9540
10835
echo "$lt_simple_link_test_code" >conftest.$ac_ext
9541
10836
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9542
10837
_lt_linker_boilerplate=`cat conftest.err`
9543
 
$rm -r conftest*
9544
 
 
9545
 
 
 
10838
$RM -r conftest*
 
10839
 
 
10840
 
 
10841
## CAVEAT EMPTOR:
 
10842
## There is no encapsulation within the following macros, do not change
 
10843
## the running order or otherwise move them around unless you know exactly
 
10844
## what you are doing...
 
10845
if test -n "$compiler"; then
9546
10846
 
9547
10847
lt_prog_compiler_no_builtin_flag=
9548
10848
 
9549
10849
if test "$GCC" = yes; then
9550
10850
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
9551
10851
 
9552
 
 
9553
 
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
10852
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9554
10853
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9555
10854
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
9556
10855
  $as_echo_n "(cached) " >&6
9557
10856
else
9558
10857
  lt_cv_prog_compiler_rtti_exceptions=no
9559
 
  ac_outfile=conftest.$ac_objext
 
10858
   ac_outfile=conftest.$ac_objext
9560
10859
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9561
10860
   lt_compiler_flag="-fno-rtti -fno-exceptions"
9562
10861
   # Insert the option either (1) after the last *FLAGS variable, or
9568
10867
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9569
10868
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9570
10869
   -e 's:$: $lt_compiler_flag:'`
9571
 
   (eval echo "\"\$as_me:9571: $lt_compile\"" >&5)
 
10870
   (eval echo "\"\$as_me:10870: $lt_compile\"" >&5)
9572
10871
   (eval "$lt_compile" 2>conftest.err)
9573
10872
   ac_status=$?
9574
10873
   cat conftest.err >&5
9575
 
   echo "$as_me:9575: \$? = $ac_status" >&5
 
10874
   echo "$as_me:10874: \$? = $ac_status" >&5
9576
10875
   if (exit $ac_status) && test -s "$ac_outfile"; then
9577
10876
     # The compiler can only warn and ignore the option if not recognized
9578
10877
     # So say no if there are warnings other than the usual output.
9579
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
10878
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9580
10879
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9581
10880
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9582
10881
       lt_cv_prog_compiler_rtti_exceptions=yes
9583
10882
     fi
9584
10883
   fi
9585
 
   $rm conftest*
 
10884
   $RM conftest*
9586
10885
 
9587
10886
fi
9588
10887
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9596
10895
 
9597
10896
fi
9598
10897
 
9599
 
lt_prog_compiler_wl=
 
10898
 
 
10899
 
 
10900
 
 
10901
 
 
10902
 
 
10903
  lt_prog_compiler_wl=
9600
10904
lt_prog_compiler_pic=
9601
10905
lt_prog_compiler_static=
9602
10906
 
9617
10921
      ;;
9618
10922
 
9619
10923
    amigaos*)
9620
 
      # FIXME: we need at least 68020 code to build shared libraries, but
9621
 
      # adding the `-m68020' flag to GCC prevents building anything better,
9622
 
      # like `-m68040'.
9623
 
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
10924
      case $host_cpu in
 
10925
      powerpc)
 
10926
            # see comment about AmigaOS4 .so support
 
10927
            lt_prog_compiler_pic='-fPIC'
 
10928
        ;;
 
10929
      m68k)
 
10930
            # FIXME: we need at least 68020 code to build shared libraries, but
 
10931
            # adding the `-m68020' flag to GCC prevents building anything better,
 
10932
            # like `-m68040'.
 
10933
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
10934
        ;;
 
10935
      esac
9624
10936
      ;;
9625
10937
 
9626
10938
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9627
10939
      # PIC is the default for these OSes.
9628
10940
      ;;
9629
10941
 
9630
 
    mingw* | cygwin* | pw32* | os2*)
 
10942
    mingw* | cygwin* | pw32* | os2* | cegcc*)
9631
10943
      # This hack is so that the source file can tell whether it is being
9632
10944
      # built for inclusion in a dll (and should export symbols for example).
9633
10945
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9641
10953
      lt_prog_compiler_pic='-fno-common'
9642
10954
      ;;
9643
10955
 
 
10956
    hpux*)
 
10957
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
10958
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
10959
      # sets the default TLS model and affects inlining.
 
10960
      case $host_cpu in
 
10961
      hppa*64*)
 
10962
        # +Z the default
 
10963
        ;;
 
10964
      *)
 
10965
        lt_prog_compiler_pic='-fPIC'
 
10966
        ;;
 
10967
      esac
 
10968
      ;;
 
10969
 
9644
10970
    interix[3-9]*)
9645
10971
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9646
10972
      # Instead, we relocate shared libraries at runtime.
9653
10979
      enable_shared=no
9654
10980
      ;;
9655
10981
 
 
10982
    *nto* | *qnx*)
 
10983
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
10984
      # it will coredump.
 
10985
      lt_prog_compiler_pic='-fPIC -shared'
 
10986
      ;;
 
10987
 
9656
10988
    sysv4*MP*)
9657
10989
      if test -d /usr/nec; then
9658
10990
        lt_prog_compiler_pic=-Kconform_pic
9659
10991
      fi
9660
10992
      ;;
9661
10993
 
9662
 
    hpux*)
9663
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9664
 
      # not for PA HP-UX.
9665
 
      case $host_cpu in
9666
 
      hppa*64*|ia64*)
9667
 
        # +Z the default
9668
 
        ;;
9669
 
      *)
9670
 
        lt_prog_compiler_pic='-fPIC'
9671
 
        ;;
9672
 
      esac
9673
 
      ;;
9674
 
 
9675
10994
    *)
9676
10995
      lt_prog_compiler_pic='-fPIC'
9677
10996
      ;;
9688
11007
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9689
11008
      fi
9690
11009
      ;;
9691
 
      darwin*)
9692
 
        # PIC is the default on this platform
9693
 
        # Common symbols not allowed in MH_DYLIB files
9694
 
       case $cc_basename in
9695
 
         xlc*)
9696
 
         lt_prog_compiler_pic='-qnocommon'
9697
 
         lt_prog_compiler_wl='-Wl,'
9698
 
         ;;
9699
 
       esac
9700
 
       ;;
9701
11010
 
9702
 
    mingw* | cygwin* | pw32* | os2*)
 
11011
    mingw* | cygwin* | pw32* | os2* | cegcc*)
9703
11012
      # This hack is so that the source file can tell whether it is being
9704
11013
      # built for inclusion in a dll (and should export symbols for example).
9705
11014
      lt_prog_compiler_pic='-DDLL_EXPORT'
9727
11036
      lt_prog_compiler_static='-non_shared'
9728
11037
      ;;
9729
11038
 
9730
 
    newsos6)
9731
 
      lt_prog_compiler_pic='-KPIC'
9732
 
      lt_prog_compiler_static='-Bstatic'
9733
 
      ;;
9734
 
 
9735
11039
    linux* | k*bsd*-gnu)
9736
11040
      case $cc_basename in
9737
 
      icc* | ecc*)
 
11041
      # old Intel for x86_64 which still supported -KPIC.
 
11042
      ecc*)
9738
11043
        lt_prog_compiler_wl='-Wl,'
9739
11044
        lt_prog_compiler_pic='-KPIC'
9740
11045
        lt_prog_compiler_static='-static'
9741
11046
        ;;
 
11047
      # icc used to be incompatible with GCC.
 
11048
      # ICC 10 doesn't accept -KPIC any more.
 
11049
      icc* | ifort*)
 
11050
        lt_prog_compiler_wl='-Wl,'
 
11051
        lt_prog_compiler_pic='-fPIC'
 
11052
        lt_prog_compiler_static='-static'
 
11053
        ;;
 
11054
      # Lahey Fortran 8.1.
 
11055
      lf95*)
 
11056
        lt_prog_compiler_wl='-Wl,'
 
11057
        lt_prog_compiler_pic='--shared'
 
11058
        lt_prog_compiler_static='--static'
 
11059
        ;;
9742
11060
      pgcc* | pgf77* | pgf90* | pgf95*)
9743
11061
        # Portland Group compilers (*not* the Pentium gcc compiler,
9744
11062
        # which looks to be a dead project)
9751
11069
        # All Alpha code is PIC.
9752
11070
        lt_prog_compiler_static='-non_shared'
9753
11071
        ;;
 
11072
      xl*)
 
11073
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
11074
        lt_prog_compiler_wl='-Wl,'
 
11075
        lt_prog_compiler_pic='-qpic'
 
11076
        lt_prog_compiler_static='-qstaticlink'
 
11077
        ;;
9754
11078
      *)
9755
 
        case `$CC -V 2>&1 | sed 5q` in
 
11079
        case `$CC -V 2>&1 | sed 5q` in
9756
11080
        *Sun\ C*)
9757
11081
          # Sun C 5.9
9758
11082
          lt_prog_compiler_pic='-KPIC'
9770
11094
      esac
9771
11095
      ;;
9772
11096
 
 
11097
    newsos6)
 
11098
      lt_prog_compiler_pic='-KPIC'
 
11099
      lt_prog_compiler_static='-Bstatic'
 
11100
      ;;
 
11101
 
 
11102
    *nto* | *qnx*)
 
11103
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
11104
      # it will coredump.
 
11105
      lt_prog_compiler_pic='-fPIC -shared'
 
11106
      ;;
 
11107
 
9773
11108
    osf3* | osf4* | osf5*)
9774
11109
      lt_prog_compiler_wl='-Wl,'
9775
11110
      # All OSF/1 code is PIC.
9832
11167
    esac
9833
11168
  fi
9834
11169
 
 
11170
case $host_os in
 
11171
  # For platforms which do not support PIC, -DPIC is meaningless:
 
11172
  *djgpp*)
 
11173
    lt_prog_compiler_pic=
 
11174
    ;;
 
11175
  *)
 
11176
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
11177
    ;;
 
11178
esac
9835
11179
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9836
11180
$as_echo "$lt_prog_compiler_pic" >&6; }
9837
11181
 
 
11182
 
 
11183
 
 
11184
 
 
11185
 
 
11186
 
9838
11187
#
9839
11188
# Check to make sure the PIC flag actually works.
9840
11189
#
9841
11190
if test -n "$lt_prog_compiler_pic"; then
9842
 
 
9843
 
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
11191
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9844
11192
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9845
11193
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
9846
11194
  $as_echo_n "(cached) " >&6
9847
11195
else
9848
11196
  lt_cv_prog_compiler_pic_works=no
9849
 
  ac_outfile=conftest.$ac_objext
 
11197
   ac_outfile=conftest.$ac_objext
9850
11198
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9851
11199
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9852
11200
   # Insert the option either (1) after the last *FLAGS variable, or
9858
11206
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9859
11207
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9860
11208
   -e 's:$: $lt_compiler_flag:'`
9861
 
   (eval echo "\"\$as_me:9861: $lt_compile\"" >&5)
 
11209
   (eval echo "\"\$as_me:11209: $lt_compile\"" >&5)
9862
11210
   (eval "$lt_compile" 2>conftest.err)
9863
11211
   ac_status=$?
9864
11212
   cat conftest.err >&5
9865
 
   echo "$as_me:9865: \$? = $ac_status" >&5
 
11213
   echo "$as_me:11213: \$? = $ac_status" >&5
9866
11214
   if (exit $ac_status) && test -s "$ac_outfile"; then
9867
11215
     # The compiler can only warn and ignore the option if not recognized
9868
11216
     # So say no if there are warnings other than the usual output.
9869
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
11217
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9870
11218
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9871
11219
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9872
11220
       lt_cv_prog_compiler_pic_works=yes
9873
11221
     fi
9874
11222
   fi
9875
 
   $rm conftest*
 
11223
   $RM conftest*
9876
11224
 
9877
11225
fi
9878
11226
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
9889
11237
fi
9890
11238
 
9891
11239
fi
9892
 
case $host_os in
9893
 
  # For platforms which do not support PIC, -DPIC is meaningless:
9894
 
  *djgpp*)
9895
 
    lt_prog_compiler_pic=
9896
 
    ;;
9897
 
  *)
9898
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9899
 
    ;;
9900
 
esac
 
11240
 
 
11241
 
 
11242
 
 
11243
 
 
11244
 
9901
11245
 
9902
11246
#
9903
11247
# Check to make sure the static flag actually works.
9918
11262
     if test -s conftest.err; then
9919
11263
       # Append any errors to the config.log.
9920
11264
       cat conftest.err 1>&5
9921
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
11265
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9922
11266
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9923
11267
       if diff conftest.exp conftest.er2 >/dev/null; then
9924
11268
         lt_cv_prog_compiler_static_works=yes
9927
11271
       lt_cv_prog_compiler_static_works=yes
9928
11272
     fi
9929
11273
   fi
9930
 
   $rm -r conftest*
 
11274
   $RM -r conftest*
9931
11275
   LDFLAGS="$save_LDFLAGS"
9932
11276
 
9933
11277
fi
9941
11285
fi
9942
11286
 
9943
11287
 
9944
 
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9945
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9946
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9947
 
  $as_echo_n "(cached) " >&6
9948
 
else
9949
 
  lt_cv_prog_compiler_c_o=no
9950
 
   $rm -r conftest 2>/dev/null
9951
 
   mkdir conftest
9952
 
   cd conftest
9953
 
   mkdir out
9954
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9955
 
 
9956
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
9957
 
   # Insert the option either (1) after the last *FLAGS variable, or
9958
 
   # (2) before a word containing "conftest.", or (3) at the end.
9959
 
   # Note that $ac_compile itself does not contain backslashes and begins
9960
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9961
 
   lt_compile=`echo "$ac_compile" | $SED \
9962
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9963
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9964
 
   -e 's:$: $lt_compiler_flag:'`
9965
 
   (eval echo "\"\$as_me:9965: $lt_compile\"" >&5)
9966
 
   (eval "$lt_compile" 2>out/conftest.err)
9967
 
   ac_status=$?
9968
 
   cat out/conftest.err >&5
9969
 
   echo "$as_me:9969: \$? = $ac_status" >&5
9970
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9971
 
   then
9972
 
     # The compiler can only warn and ignore the option if not recognized
9973
 
     # So say no if there are warnings
9974
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9975
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9976
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9977
 
       lt_cv_prog_compiler_c_o=yes
9978
 
     fi
9979
 
   fi
9980
 
   chmod u+w . 2>&5
9981
 
   $rm conftest*
9982
 
   # SGI C++ compiler will create directory out/ii_files/ for
9983
 
   # template instantiation
9984
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
9985
 
   $rm out/* && rmdir out
9986
 
   cd ..
9987
 
   rmdir conftest
9988
 
   $rm conftest*
9989
 
 
9990
 
fi
9991
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9992
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
11288
 
 
11289
 
 
11290
 
 
11291
 
 
11292
 
 
11293
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
11294
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
11295
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
11296
  $as_echo_n "(cached) " >&6
 
11297
else
 
11298
  lt_cv_prog_compiler_c_o=no
 
11299
   $RM -r conftest 2>/dev/null
 
11300
   mkdir conftest
 
11301
   cd conftest
 
11302
   mkdir out
 
11303
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
11304
 
 
11305
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
11306
   # Insert the option either (1) after the last *FLAGS variable, or
 
11307
   # (2) before a word containing "conftest.", or (3) at the end.
 
11308
   # Note that $ac_compile itself does not contain backslashes and begins
 
11309
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
11310
   lt_compile=`echo "$ac_compile" | $SED \
 
11311
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
11312
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
11313
   -e 's:$: $lt_compiler_flag:'`
 
11314
   (eval echo "\"\$as_me:11314: $lt_compile\"" >&5)
 
11315
   (eval "$lt_compile" 2>out/conftest.err)
 
11316
   ac_status=$?
 
11317
   cat out/conftest.err >&5
 
11318
   echo "$as_me:11318: \$? = $ac_status" >&5
 
11319
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
11320
   then
 
11321
     # The compiler can only warn and ignore the option if not recognized
 
11322
     # So say no if there are warnings
 
11323
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
11324
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
11325
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
11326
       lt_cv_prog_compiler_c_o=yes
 
11327
     fi
 
11328
   fi
 
11329
   chmod u+w . 2>&5
 
11330
   $RM conftest*
 
11331
   # SGI C++ compiler will create directory out/ii_files/ for
 
11332
   # template instantiation
 
11333
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
11334
   $RM out/* && rmdir out
 
11335
   cd ..
 
11336
   $RM -r conftest
 
11337
   $RM conftest*
 
11338
 
 
11339
fi
 
11340
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
11341
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
11342
 
 
11343
 
 
11344
 
 
11345
 
 
11346
 
 
11347
 
 
11348
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
11349
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
11350
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
11351
  $as_echo_n "(cached) " >&6
 
11352
else
 
11353
  lt_cv_prog_compiler_c_o=no
 
11354
   $RM -r conftest 2>/dev/null
 
11355
   mkdir conftest
 
11356
   cd conftest
 
11357
   mkdir out
 
11358
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
11359
 
 
11360
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
11361
   # Insert the option either (1) after the last *FLAGS variable, or
 
11362
   # (2) before a word containing "conftest.", or (3) at the end.
 
11363
   # Note that $ac_compile itself does not contain backslashes and begins
 
11364
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
11365
   lt_compile=`echo "$ac_compile" | $SED \
 
11366
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
11367
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
11368
   -e 's:$: $lt_compiler_flag:'`
 
11369
   (eval echo "\"\$as_me:11369: $lt_compile\"" >&5)
 
11370
   (eval "$lt_compile" 2>out/conftest.err)
 
11371
   ac_status=$?
 
11372
   cat out/conftest.err >&5
 
11373
   echo "$as_me:11373: \$? = $ac_status" >&5
 
11374
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
11375
   then
 
11376
     # The compiler can only warn and ignore the option if not recognized
 
11377
     # So say no if there are warnings
 
11378
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
11379
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
11380
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
11381
       lt_cv_prog_compiler_c_o=yes
 
11382
     fi
 
11383
   fi
 
11384
   chmod u+w . 2>&5
 
11385
   $RM conftest*
 
11386
   # SGI C++ compiler will create directory out/ii_files/ for
 
11387
   # template instantiation
 
11388
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
11389
   $RM out/* && rmdir out
 
11390
   cd ..
 
11391
   $RM -r conftest
 
11392
   $RM conftest*
 
11393
 
 
11394
fi
 
11395
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
11396
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
11397
 
 
11398
 
9993
11399
 
9994
11400
 
9995
11401
hard_links="nottested"
9998
11404
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9999
11405
$as_echo_n "checking if we can lock with hard links... " >&6; }
10000
11406
  hard_links=yes
10001
 
  $rm conftest*
 
11407
  $RM conftest*
10002
11408
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10003
11409
  touch conftest.a
10004
11410
  ln conftest.a conftest.b 2>&5 || hard_links=no
10014
11420
  need_locks=no
10015
11421
fi
10016
11422
 
10017
 
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
11423
 
 
11424
 
 
11425
 
 
11426
 
 
11427
 
 
11428
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10018
11429
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10019
11430
 
10020
11431
  runpath_var=
10021
11432
  allow_undefined_flag=
10022
 
  enable_shared_with_static_runtimes=no
 
11433
  always_export_symbols=no
10023
11434
  archive_cmds=
10024
11435
  archive_expsym_cmds=
10025
 
  old_archive_From_new_cmds=
10026
 
  old_archive_from_expsyms_cmds=
 
11436
  compiler_needs_object=no
 
11437
  enable_shared_with_static_runtimes=no
10027
11438
  export_dynamic_flag_spec=
10028
 
  whole_archive_flag_spec=
10029
 
  thread_safe_flag_spec=
 
11439
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
11440
  hardcode_automatic=no
 
11441
  hardcode_direct=no
 
11442
  hardcode_direct_absolute=no
10030
11443
  hardcode_libdir_flag_spec=
10031
11444
  hardcode_libdir_flag_spec_ld=
10032
11445
  hardcode_libdir_separator=
10033
 
  hardcode_direct=no
10034
11446
  hardcode_minus_L=no
10035
11447
  hardcode_shlibpath_var=unsupported
 
11448
  inherit_rpath=no
10036
11449
  link_all_deplibs=unknown
10037
 
  hardcode_automatic=no
10038
11450
  module_cmds=
10039
11451
  module_expsym_cmds=
10040
 
  always_export_symbols=no
10041
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
11452
  old_archive_from_new_cmds=
 
11453
  old_archive_from_expsyms_cmds=
 
11454
  thread_safe_flag_spec=
 
11455
  whole_archive_flag_spec=
10042
11456
  # include_expsyms should be a list of space-separated symbols to be *always*
10043
11457
  # included in the symbol list
10044
11458
  include_expsyms=
10054
11468
  # preloaded symbol tables.
10055
11469
  # Exclude shared library initialization/finalization symbols.
10056
11470
  extract_expsyms_cmds=
10057
 
  # Just being paranoid about ensuring that cc_basename is set.
10058
 
  for cc_temp in $compiler""; do
10059
 
  case $cc_temp in
10060
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10061
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10062
 
    \-*) ;;
10063
 
    *) break;;
10064
 
  esac
10065
 
done
10066
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10067
11471
 
10068
11472
  case $host_os in
10069
 
  cygwin* | mingw* | pw32*)
 
11473
  cygwin* | mingw* | pw32* | cegcc*)
10070
11474
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
10071
11475
    # When not using gcc, we currently assume that we are using
10072
11476
    # Microsoft Visual C++.
10092
11496
    # are reset later if shared libraries are not supported. Putting them
10093
11497
    # here allows them to be overridden if necessary.
10094
11498
    runpath_var=LD_RUN_PATH
10095
 
    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
 
11499
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10096
11500
    export_dynamic_flag_spec='${wl}--export-dynamic'
10097
11501
    # ancient GNU ld didn't support --whole-archive et. al.
10098
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
10099
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10100
 
      else
10101
 
        whole_archive_flag_spec=
 
11502
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
11503
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
11504
    else
 
11505
      whole_archive_flag_spec=
10102
11506
    fi
10103
11507
    supports_anon_versioning=no
10104
 
    case `$LD -v 2>/dev/null` in
 
11508
    case `$LD -v 2>&1` in
10105
11509
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10106
11510
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10107
11511
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10115
11519
      # On AIX/PPC, the GNU linker is very broken
10116
11520
      if test "$host_cpu" != ia64; then
10117
11521
        ld_shlibs=no
10118
 
        cat <<EOF 1>&2
 
11522
        cat <<_LT_EOF 1>&2
10119
11523
 
10120
11524
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
10121
11525
*** to be unable to reliably create shared libraries on AIX.
10123
11527
*** really care for shared libraries, you may want to modify your PATH
10124
11528
*** so that a non-GNU linker is found, and then restart.
10125
11529
 
10126
 
EOF
 
11530
_LT_EOF
10127
11531
      fi
10128
11532
      ;;
10129
11533
 
10130
11534
    amigaos*)
10131
 
      archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
10132
 
      hardcode_libdir_flag_spec='-L$libdir'
10133
 
      hardcode_minus_L=yes
10134
 
 
10135
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
10136
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
10137
 
      # to version 4, is to share data among multiple programs linked
10138
 
      # with the same dynamic library.  Since this doesn't match the
10139
 
      # behavior of shared libraries on other platforms, we can't use
10140
 
      # them.
10141
 
      ld_shlibs=no
 
11535
      case $host_cpu in
 
11536
      powerpc)
 
11537
            # see comment about AmigaOS4 .so support
 
11538
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11539
            archive_expsym_cmds=''
 
11540
        ;;
 
11541
      m68k)
 
11542
            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
 
11543
            hardcode_libdir_flag_spec='-L$libdir'
 
11544
            hardcode_minus_L=yes
 
11545
        ;;
 
11546
      esac
10142
11547
      ;;
10143
11548
 
10144
11549
    beos*)
10145
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
11550
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10146
11551
        allow_undefined_flag=unsupported
10147
11552
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10148
11553
        # support --undefined.  This deserves some investigation.  FIXME
10152
11557
      fi
10153
11558
      ;;
10154
11559
 
10155
 
    cygwin* | mingw* | pw32*)
10156
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
11560
    cygwin* | mingw* | pw32* | cegcc*)
 
11561
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10157
11562
      # as there is no search path for DLLs.
10158
11563
      hardcode_libdir_flag_spec='-L$libdir'
10159
11564
      allow_undefined_flag=unsupported
10160
11565
      always_export_symbols=no
10161
11566
      enable_shared_with_static_runtimes=yes
10162
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
11567
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10163
11568
 
10164
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 
11569
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10165
11570
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10166
11571
        # If the export-symbols file already is a .def file (1st line
10167
11572
        # is EXPORTS), use it as is; otherwise, prepend...
10192
11597
      archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10193
11598
      ;;
10194
11599
 
10195
 
    gnu* | linux* | k*bsd*-gnu)
10196
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
11600
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
11601
      tmp_diet=no
 
11602
      if test "$host_os" = linux-dietlibc; then
 
11603
        case $cc_basename in
 
11604
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
11605
        esac
 
11606
      fi
 
11607
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
11608
         && test "$tmp_diet" = no
 
11609
      then
10197
11610
        tmp_addflag=
 
11611
        tmp_sharedflag='-shared'
10198
11612
        case $cc_basename,$host_cpu in
10199
 
        pgcc*)                          # Portland Group C compiler
10200
 
          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'
 
11613
        pgcc*)                          # Portland Group C compiler
 
11614
          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'
10201
11615
          tmp_addflag=' $pic_flag'
10202
11616
          ;;
10203
11617
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
10204
 
          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'
 
11618
          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'
10205
11619
          tmp_addflag=' $pic_flag -Mnomain' ;;
10206
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
11620
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
10207
11621
          tmp_addflag=' -i_dynamic' ;;
10208
11622
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
10209
11623
          tmp_addflag=' -i_dynamic -nofor_main' ;;
10210
11624
        ifc* | ifort*)                  # Intel Fortran compiler
10211
11625
          tmp_addflag=' -nofor_main' ;;
 
11626
        lf95*)                          # Lahey Fortran 8.1
 
11627
          whole_archive_flag_spec=
 
11628
          tmp_sharedflag='--shared' ;;
 
11629
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
11630
          tmp_sharedflag='-qmkshrobj'
 
11631
          tmp_addflag= ;;
10212
11632
        esac
10213
11633
        case `$CC -V 2>&1 | sed 5q` in
10214
11634
        *Sun\ C*)                       # Sun C 5.9
10215
 
          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'
 
11635
          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'
 
11636
          compiler_needs_object=yes
10216
11637
          tmp_sharedflag='-G' ;;
10217
11638
        *Sun\ F*)                       # Sun Fortran 8.3
10218
11639
          tmp_sharedflag='-G' ;;
10219
 
        *)
10220
 
          tmp_sharedflag='-shared' ;;
10221
11640
        esac
10222
11641
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10223
11642
 
10224
 
        if test $supports_anon_versioning = yes; then
10225
 
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
10226
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10227
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
10228
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10229
 
        fi
 
11643
        if test "x$supports_anon_versioning" = xyes; then
 
11644
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
11645
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
11646
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
11647
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
11648
        fi
 
11649
 
 
11650
        case $cc_basename in
 
11651
        xlf*)
 
11652
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
11653
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
11654
          hardcode_libdir_flag_spec=
 
11655
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
11656
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
11657
          if test "x$supports_anon_versioning" = xyes; then
 
11658
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
11659
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
11660
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
11661
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
11662
          fi
 
11663
          ;;
 
11664
        esac
10230
11665
      else
10231
 
        ld_shlibs=no
 
11666
        ld_shlibs=no
10232
11667
      fi
10233
11668
      ;;
10234
11669
 
10235
11670
    netbsd*)
10236
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
11671
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10237
11672
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10238
11673
        wlarc=
10239
11674
      else
10243
11678
      ;;
10244
11679
 
10245
11680
    solaris*)
10246
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 
11681
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10247
11682
        ld_shlibs=no
10248
 
        cat <<EOF 1>&2
 
11683
        cat <<_LT_EOF 1>&2
10249
11684
 
10250
11685
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10251
11686
*** create shared libraries on Solaris systems.  Therefore, libtool
10254
11689
*** your PATH or compiler configuration so that the native linker is
10255
11690
*** used, and then restart.
10256
11691
 
10257
 
EOF
10258
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
11692
_LT_EOF
 
11693
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10259
11694
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10260
11695
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10261
11696
      else
10279
11714
_LT_EOF
10280
11715
        ;;
10281
11716
        *)
10282
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10283
 
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
10284
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
10285
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
11717
          # For security reasons, it is highly recommended that you always
 
11718
          # use absolute paths for naming shared libraries, and exclude the
 
11719
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
11720
          # requires that you compile everything twice, which is a pain.
 
11721
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
11722
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
11723
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11724
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10286
11725
          else
10287
11726
            ld_shlibs=no
10288
11727
          fi
10298
11737
      ;;
10299
11738
 
10300
11739
    *)
10301
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
11740
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10302
11741
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10303
11742
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10304
11743
      else
10340
11779
      else
10341
11780
        # If we're using GNU nm, then we don't want the "-C" option.
10342
11781
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
10343
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10344
 
          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'
 
11782
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
11783
          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'
10345
11784
        else
10346
 
          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'
 
11785
          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'
10347
11786
        fi
10348
11787
        aix_use_runtimelinking=no
10349
11788
 
10352
11791
        # need to do runtime linking.
10353
11792
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10354
11793
          for ld_flag in $LDFLAGS; do
10355
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10356
 
            aix_use_runtimelinking=yes
10357
 
            break
10358
 
          fi
 
11794
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
11795
            aix_use_runtimelinking=yes
 
11796
            break
 
11797
          fi
10359
11798
          done
10360
11799
          ;;
10361
11800
        esac
10372
11811
 
10373
11812
      archive_cmds=''
10374
11813
      hardcode_direct=yes
 
11814
      hardcode_direct_absolute=yes
10375
11815
      hardcode_libdir_separator=':'
10376
11816
      link_all_deplibs=yes
 
11817
      file_list_spec='${wl}-f,'
10377
11818
 
10378
11819
      if test "$GCC" = yes; then
10379
11820
        case $host_os in aix4.[012]|aix4.[012].*)
10380
11821
        # We only want to do this on AIX 4.2 and lower, the check
10381
11822
        # below for broken collect2 doesn't work under 4.3+
10382
11823
          collect2name=`${CC} -print-prog-name=collect2`
10383
 
          if test -f "$collect2name" && \
10384
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
 
11824
          if test -f "$collect2name" &&
 
11825
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10385
11826
          then
10386
 
          # We have reworked collect2
10387
 
          :
 
11827
          # We have reworked collect2
 
11828
          :
10388
11829
          else
10389
 
          # We have old collect2
10390
 
          hardcode_direct=unsupported
10391
 
          # It fails to find uninstalled libraries when the uninstalled
10392
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
10393
 
          # to unsupported forces relinking
10394
 
          hardcode_minus_L=yes
10395
 
          hardcode_libdir_flag_spec='-L$libdir'
10396
 
          hardcode_libdir_separator=
 
11830
          # We have old collect2
 
11831
          hardcode_direct=unsupported
 
11832
          # It fails to find uninstalled libraries when the uninstalled
 
11833
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
11834
          # to unsupported forces relinking
 
11835
          hardcode_minus_L=yes
 
11836
          hardcode_libdir_flag_spec='-L$libdir'
 
11837
          hardcode_libdir_separator=
10397
11838
          fi
10398
11839
          ;;
10399
11840
        esac
10404
11845
      else
10405
11846
        # not using gcc
10406
11847
        if test "$host_cpu" = ia64; then
10407
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10408
 
        # chokes on -Wl,-G. The following line is correct:
 
11848
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
11849
        # chokes on -Wl,-G. The following line is correct:
10409
11850
          shared_flag='-G'
10410
11851
        else
10411
11852
          if test "$aix_use_runtimelinking" = yes; then
10416
11857
        fi
10417
11858
      fi
10418
11859
 
 
11860
      export_dynamic_flag_spec='${wl}-bexpall'
10419
11861
      # It seems that -bexpall does not export symbols beginning with
10420
11862
      # underscore (_), so it is better to generate a list of symbols to export.
10421
11863
      always_export_symbols=yes
10423
11865
        # Warning - without using the other runtime loading flags (-brtl),
10424
11866
        # -berok will link without error, but may produce a broken library.
10425
11867
        allow_undefined_flag='-berok'
10426
 
       # Determine the default libpath from the value encoded in an empty executable.
10427
 
       cat >conftest.$ac_ext <<_ACEOF
 
11868
        # Determine the default libpath from the value encoded in an
 
11869
        # empty executable.
 
11870
        cat >conftest.$ac_ext <<_ACEOF
10428
11871
/* confdefs.h.  */
10429
11872
_ACEOF
10430
11873
cat confdefs.h >>conftest.$ac_ext
10485
11928
      conftest$ac_exeext conftest.$ac_ext
10486
11929
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10487
11930
 
10488
 
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10489
 
        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 "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10490
 
       else
 
11931
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
11932
        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"
 
11933
      else
10491
11934
        if test "$host_cpu" = ia64; then
10492
11935
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10493
11936
          allow_undefined_flag="-z nodefs"
10494
11937
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
10495
11938
        else
10496
 
         # Determine the default libpath from the value encoded in an empty executable.
 
11939
         # Determine the default libpath from the value encoded in an
 
11940
         # empty executable.
10497
11941
         cat >conftest.$ac_ext <<_ACEOF
10498
11942
/* confdefs.h.  */
10499
11943
_ACEOF
10570
12014
      ;;
10571
12015
 
10572
12016
    amigaos*)
10573
 
      archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
10574
 
      hardcode_libdir_flag_spec='-L$libdir'
10575
 
      hardcode_minus_L=yes
10576
 
      # see comment about different semantics on the GNU ld section
10577
 
      ld_shlibs=no
 
12017
      case $host_cpu in
 
12018
      powerpc)
 
12019
            # see comment about AmigaOS4 .so support
 
12020
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12021
            archive_expsym_cmds=''
 
12022
        ;;
 
12023
      m68k)
 
12024
            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
 
12025
            hardcode_libdir_flag_spec='-L$libdir'
 
12026
            hardcode_minus_L=yes
 
12027
        ;;
 
12028
      esac
10578
12029
      ;;
10579
12030
 
10580
12031
    bsdi[45]*)
10581
12032
      export_dynamic_flag_spec=-rdynamic
10582
12033
      ;;
10583
12034
 
10584
 
    cygwin* | mingw* | pw32*)
 
12035
    cygwin* | mingw* | pw32* | cegcc*)
10585
12036
      # When not using gcc, we currently assume that we are using
10586
12037
      # Microsoft Visual C++.
10587
12038
      # hardcode_libdir_flag_spec is actually meaningless, as there is
10593
12044
      # Tell ltmain to make .dll files, not .so files.
10594
12045
      shrext_cmds=".dll"
10595
12046
      # FIXME: Setting linknames here is a bad hack.
10596
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
12047
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
10597
12048
      # The linker will automatically build a .lib file if we build a DLL.
10598
 
      old_archive_From_new_cmds='true'
 
12049
      old_archive_from_new_cmds='true'
10599
12050
      # FIXME: Should let the user specify the lib program.
10600
12051
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10601
12052
      fix_srcfile_path='`cygpath -w "$srcfile"`'
10603
12054
      ;;
10604
12055
 
10605
12056
    darwin* | rhapsody*)
10606
 
      case $host_os in
10607
 
        rhapsody* | darwin1.[012])
10608
 
         allow_undefined_flag='${wl}-undefined ${wl}suppress'
10609
 
         ;;
10610
 
       *) # Darwin 1.3 on
10611
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10612
 
           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10613
 
         else
10614
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
10615
 
             10.[012])
10616
 
               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10617
 
               ;;
10618
 
             10.*)
10619
 
               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
10620
 
               ;;
10621
 
           esac
10622
 
         fi
10623
 
         ;;
10624
 
      esac
10625
 
      archive_cmds_need_lc=no
10626
 
      hardcode_direct=no
10627
 
      hardcode_automatic=yes
10628
 
      hardcode_shlibpath_var=unsupported
10629
 
      whole_archive_flag_spec=''
10630
 
      link_all_deplibs=yes
10631
 
    if test "$GCC" = yes ; then
10632
 
        output_verbose_link_cmd='echo'
10633
 
        archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10634
 
        module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10635
 
        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}"
10636
 
        module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
10637
 
    else
10638
 
      case $cc_basename in
10639
 
        xlc*)
10640
 
         output_verbose_link_cmd='echo'
10641
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
10642
 
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10643
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10644
 
         archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10645
 
          module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10646
 
          ;;
10647
 
       *)
10648
 
         ld_shlibs=no
10649
 
          ;;
10650
 
      esac
10651
 
    fi
 
12057
 
 
12058
 
 
12059
  archive_cmds_need_lc=no
 
12060
  hardcode_direct=no
 
12061
  hardcode_automatic=yes
 
12062
  hardcode_shlibpath_var=unsupported
 
12063
  whole_archive_flag_spec=''
 
12064
  link_all_deplibs=yes
 
12065
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
12066
  case $cc_basename in
 
12067
     ifort*) _lt_dar_can_shared=yes ;;
 
12068
     *) _lt_dar_can_shared=$GCC ;;
 
12069
  esac
 
12070
  if test "$_lt_dar_can_shared" = "yes"; then
 
12071
    output_verbose_link_cmd=echo
 
12072
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
12073
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
12074
    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}"
 
12075
    module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
 
12076
 
 
12077
  else
 
12078
  ld_shlibs=no
 
12079
  fi
 
12080
 
10652
12081
      ;;
10653
12082
 
10654
12083
    dgux*)
10690
12119
 
10691
12120
    hpux9*)
10692
12121
      if test "$GCC" = yes; then
10693
 
        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'
 
12122
        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'
10694
12123
      else
10695
 
        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'
 
12124
        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'
10696
12125
      fi
10697
12126
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10698
12127
      hardcode_libdir_separator=:
10712
12141
      fi
10713
12142
      if test "$with_gnu_ld" = no; then
10714
12143
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
12144
        hardcode_libdir_flag_spec_ld='+b $libdir'
10715
12145
        hardcode_libdir_separator=:
10716
 
 
10717
12146
        hardcode_direct=yes
 
12147
        hardcode_direct_absolute=yes
10718
12148
        export_dynamic_flag_spec='${wl}-E'
10719
 
 
10720
12149
        # hardcode_minus_L: Not really in the search PATH,
10721
12150
        # but as the default location of the library.
10722
12151
        hardcode_minus_L=yes
10730
12159
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10731
12160
          ;;
10732
12161
        ia64*)
10733
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
12162
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10734
12163
          ;;
10735
12164
        *)
10736
12165
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10755
12184
 
10756
12185
        case $host_cpu in
10757
12186
        hppa*64*|ia64*)
10758
 
          hardcode_libdir_flag_spec_ld='+b $libdir'
10759
12187
          hardcode_direct=no
10760
12188
          hardcode_shlibpath_var=no
10761
12189
          ;;
10762
12190
        *)
10763
12191
          hardcode_direct=yes
 
12192
          hardcode_direct_absolute=yes
10764
12193
          export_dynamic_flag_spec='${wl}-E'
10765
12194
 
10766
12195
          # hardcode_minus_L: Not really in the search PATH,
10773
12202
 
10774
12203
    irix5* | irix6* | nonstopux*)
10775
12204
      if test "$GCC" = yes; then
10776
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
12205
        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'
 
12206
        # Try to use the -exported_symbol ld option, if it does not
 
12207
        # work, assume that -exports_file does not work either and
 
12208
        # implicitly export all symbols.
 
12209
        save_LDFLAGS="$LDFLAGS"
 
12210
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
12211
        cat >conftest.$ac_ext <<_ACEOF
 
12212
int foo(void) {}
 
12213
_ACEOF
 
12214
rm -f conftest.$ac_objext conftest$ac_exeext
 
12215
if { (ac_try="$ac_link"
 
12216
case "(($ac_try" in
 
12217
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12218
  *) ac_try_echo=$ac_try;;
 
12219
esac
 
12220
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12221
$as_echo "$ac_try_echo") >&5
 
12222
  (eval "$ac_link") 2>conftest.er1
 
12223
  ac_status=$?
 
12224
  grep -v '^ *+' conftest.er1 >conftest.err
 
12225
  rm -f conftest.er1
 
12226
  cat conftest.err >&5
 
12227
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12228
  (exit $ac_status); } && {
 
12229
         test -z "$ac_c_werror_flag" ||
 
12230
         test ! -s conftest.err
 
12231
       } && test -s conftest$ac_exeext && {
 
12232
         test "$cross_compiling" = yes ||
 
12233
         $as_test_x conftest$ac_exeext
 
12234
       }; then
 
12235
  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'
 
12236
 
 
12237
else
 
12238
  $as_echo "$as_me: failed program was:" >&5
 
12239
sed 's/^/| /' conftest.$ac_ext >&5
 
12240
 
 
12241
 
 
12242
fi
 
12243
 
 
12244
rm -rf conftest.dSYM
 
12245
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
12246
      conftest$ac_exeext conftest.$ac_ext
 
12247
        LDFLAGS="$save_LDFLAGS"
10777
12248
      else
10778
 
        archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10779
 
        hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
12249
        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'
 
12250
        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'
10780
12251
      fi
 
12252
      archive_cmds_need_lc='no'
10781
12253
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10782
12254
      hardcode_libdir_separator=:
 
12255
      inherit_rpath=yes
10783
12256
      link_all_deplibs=yes
10784
12257
      ;;
10785
12258
 
10786
12259
    netbsd*)
10787
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
12260
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10788
12261
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10789
12262
      else
10790
12263
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10802
12275
      hardcode_shlibpath_var=no
10803
12276
      ;;
10804
12277
 
 
12278
    *nto* | *qnx*)
 
12279
      ;;
 
12280
 
10805
12281
    openbsd*)
10806
12282
      if test -f /usr/libexec/ld.so; then
10807
12283
        hardcode_direct=yes
10808
12284
        hardcode_shlibpath_var=no
10809
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
12285
        hardcode_direct_absolute=yes
 
12286
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10810
12287
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10811
12288
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10812
12289
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10822
12299
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10823
12300
             ;;
10824
12301
          esac
10825
 
        fi
 
12302
        fi
10826
12303
      else
10827
12304
        ld_shlibs=no
10828
12305
      fi
10832
12309
      hardcode_libdir_flag_spec='-L$libdir'
10833
12310
      hardcode_minus_L=yes
10834
12311
      allow_undefined_flag=unsupported
10835
 
      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'
10836
 
      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
12312
      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'
 
12313
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10837
12314
      ;;
10838
12315
 
10839
12316
    osf3*)
10840
12317
      if test "$GCC" = yes; then
10841
12318
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10842
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
12319
        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'
10843
12320
      else
10844
12321
        allow_undefined_flag=' -expect_unresolved \*'
10845
 
        archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
 
12322
        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'
10846
12323
      fi
 
12324
      archive_cmds_need_lc='no'
10847
12325
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10848
12326
      hardcode_libdir_separator=:
10849
12327
      ;;
10851
12329
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
10852
12330
      if test "$GCC" = yes; then
10853
12331
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10854
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
12332
        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'
10855
12333
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10856
12334
      else
10857
12335
        allow_undefined_flag=' -expect_unresolved \*'
10858
 
        archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10859
 
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
10860
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
 
12336
        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'
 
12337
        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~
 
12338
        $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'
10861
12339
 
10862
12340
        # Both c and cxx compiler support -rpath directly
10863
12341
        hardcode_libdir_flag_spec='-rpath $libdir'
10864
12342
      fi
 
12343
      archive_cmds_need_lc='no'
10865
12344
      hardcode_libdir_separator=:
10866
12345
      ;;
10867
12346
 
10868
12347
    solaris*)
10869
 
      no_undefined_flag=' -z text'
 
12348
      no_undefined_flag=' -z defs'
10870
12349
      if test "$GCC" = yes; then
10871
12350
        wlarc='${wl}'
10872
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10873
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10874
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 
12351
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12352
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
12353
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10875
12354
      else
10876
 
        wlarc=''
10877
 
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10878
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10879
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 
12355
        case `$CC -V 2>&1` in
 
12356
        *"Compilers 5.0"*)
 
12357
          wlarc=''
 
12358
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
12359
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
12360
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
12361
          ;;
 
12362
        *)
 
12363
          wlarc='${wl}'
 
12364
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
12365
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
12366
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
12367
          ;;
 
12368
        esac
10880
12369
      fi
10881
12370
      hardcode_libdir_flag_spec='-R$libdir'
10882
12371
      hardcode_shlibpath_var=no
10886
12375
        # The compiler driver will combine and reorder linker options,
10887
12376
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
10888
12377
        # but is careful enough not to reorder.
10889
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
12378
        # Supported since Solaris 2.6 (maybe 2.5.1?)
10890
12379
        if test "$GCC" = yes; then
10891
12380
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10892
12381
        else
10975
12464
      allow_undefined_flag='${wl}-z,nodefs'
10976
12465
      archive_cmds_need_lc=no
10977
12466
      hardcode_shlibpath_var=no
10978
 
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
12467
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10979
12468
      hardcode_libdir_separator=':'
10980
12469
      link_all_deplibs=yes
10981
12470
      export_dynamic_flag_spec='${wl}-Bexport'
10982
12471
      runpath_var='LD_RUN_PATH'
10983
12472
 
10984
12473
      if test "$GCC" = yes; then
10985
 
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10986
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12474
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12475
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10987
12476
      else
10988
 
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10989
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12477
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12478
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10990
12479
      fi
10991
12480
      ;;
10992
12481
 
11000
12489
      ld_shlibs=no
11001
12490
      ;;
11002
12491
    esac
 
12492
 
 
12493
    if test x$host_vendor = xsni; then
 
12494
      case $host in
 
12495
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
12496
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
12497
        ;;
 
12498
      esac
 
12499
    fi
11003
12500
  fi
11004
12501
 
11005
12502
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
11006
12503
$as_echo "$ld_shlibs" >&6; }
11007
12504
test "$ld_shlibs" = no && can_build_shared=no
11008
12505
 
 
12506
with_gnu_ld=$with_gnu_ld
 
12507
 
 
12508
 
 
12509
 
 
12510
 
 
12511
 
 
12512
 
 
12513
 
 
12514
 
 
12515
 
 
12516
 
 
12517
 
 
12518
 
 
12519
 
 
12520
 
 
12521
 
11009
12522
#
11010
12523
# Do we need to explicitly link libc?
11011
12524
#
11025
12538
      # to ld, don't add -lc before -lgcc.
11026
12539
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11027
12540
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11028
 
      $rm conftest*
 
12541
      $RM conftest*
11029
12542
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11030
12543
 
11031
12544
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11046
12559
        libname=conftest
11047
12560
        lt_save_allow_undefined_flag=$allow_undefined_flag
11048
12561
        allow_undefined_flag=
11049
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11050
 
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
12562
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
12563
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11051
12564
  ac_status=$?
11052
12565
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11053
12566
  (exit $ac_status); }
11060
12573
      else
11061
12574
        cat conftest.err 1>&5
11062
12575
      fi
11063
 
      $rm conftest*
 
12576
      $RM conftest*
11064
12577
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
11065
12578
$as_echo "$archive_cmds_need_lc" >&6; }
11066
12579
      ;;
11069
12582
  ;;
11070
12583
esac
11071
12584
 
11072
 
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
12585
 
 
12586
 
 
12587
 
 
12588
 
 
12589
 
 
12590
 
 
12591
 
 
12592
 
 
12593
 
 
12594
 
 
12595
 
 
12596
 
 
12597
 
 
12598
 
 
12599
 
 
12600
 
 
12601
 
 
12602
 
 
12603
 
 
12604
 
 
12605
 
 
12606
 
 
12607
 
 
12608
 
 
12609
 
 
12610
 
 
12611
 
 
12612
 
 
12613
 
 
12614
 
 
12615
 
 
12616
 
 
12617
 
 
12618
 
 
12619
 
 
12620
 
 
12621
 
 
12622
 
 
12623
 
 
12624
 
 
12625
 
 
12626
 
 
12627
 
 
12628
 
 
12629
 
 
12630
 
 
12631
 
 
12632
 
 
12633
 
 
12634
 
 
12635
 
 
12636
 
 
12637
 
 
12638
 
 
12639
 
 
12640
 
 
12641
 
 
12642
 
 
12643
 
 
12644
 
 
12645
 
 
12646
 
 
12647
 
 
12648
 
 
12649
 
 
12650
 
 
12651
 
 
12652
 
 
12653
 
 
12654
 
 
12655
 
 
12656
 
 
12657
 
 
12658
 
 
12659
 
 
12660
 
 
12661
 
 
12662
 
 
12663
 
 
12664
 
 
12665
 
 
12666
 
 
12667
 
 
12668
 
 
12669
 
 
12670
 
 
12671
 
 
12672
 
 
12673
 
 
12674
 
 
12675
 
 
12676
 
 
12677
 
 
12678
 
 
12679
 
 
12680
 
 
12681
 
 
12682
 
 
12683
 
 
12684
 
 
12685
 
 
12686
 
 
12687
 
 
12688
 
 
12689
 
 
12690
 
 
12691
 
 
12692
 
 
12693
 
 
12694
 
 
12695
 
 
12696
 
 
12697
 
 
12698
 
 
12699
 
 
12700
 
 
12701
 
 
12702
 
 
12703
 
 
12704
 
 
12705
 
 
12706
 
 
12707
 
 
12708
 
 
12709
 
 
12710
 
 
12711
 
 
12712
 
 
12713
 
 
12714
 
 
12715
 
 
12716
 
 
12717
 
 
12718
 
 
12719
 
 
12720
 
 
12721
 
 
12722
 
 
12723
 
 
12724
 
 
12725
 
 
12726
 
 
12727
 
 
12728
 
 
12729
 
 
12730
 
 
12731
 
 
12732
 
 
12733
 
 
12734
 
 
12735
 
 
12736
 
 
12737
 
 
12738
 
 
12739
 
 
12740
 
 
12741
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11073
12742
$as_echo_n "checking dynamic linker characteristics... " >&6; }
11074
 
library_names_spec=
11075
 
libname_spec='lib$name'
11076
 
soname_spec=
11077
 
shrext_cmds=".so"
11078
 
postinstall_cmds=
11079
 
postuninstall_cmds=
11080
 
finish_cmds=
11081
 
finish_eval=
11082
 
shlibpath_var=
11083
 
shlibpath_overrides_runpath=unknown
11084
 
version_type=none
11085
 
dynamic_linker="$host_os ld.so"
11086
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
11087
12743
 
11088
12744
if test "$GCC" = yes; then
11089
12745
  case $host_os in
11091
12747
    *) lt_awk_arg="/^libraries:/" ;;
11092
12748
  esac
11093
12749
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11094
 
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
 
12750
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
11095
12751
    # if the path contains ";" then we assume it to be the separator
11096
12752
    # otherwise default to the standard path separator (i.e. ":") - it is
11097
12753
    # assumed that no part of a normal pathname contains ";" but that should
11098
12754
    # okay in the real world where ";" in dirpaths is itself problematic.
11099
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 
12755
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
11100
12756
  else
11101
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
12757
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11102
12758
  fi
11103
12759
  # Ok, now we have the path, separated by spaces, we can step through it
11104
12760
  # and add multilib dir if necessary.
11112
12768
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11113
12769
    fi
11114
12770
  done
11115
 
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
 
12771
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
11116
12772
BEGIN {RS=" "; FS="/|\n";} {
11117
12773
  lt_foo="";
11118
12774
  lt_count=0;
11132
12788
  if (lt_foo != "") { lt_freq[lt_foo]++; }
11133
12789
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11134
12790
}'`
11135
 
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
 
12791
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
11136
12792
else
11137
12793
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11138
12794
fi
 
12795
library_names_spec=
 
12796
libname_spec='lib$name'
 
12797
soname_spec=
 
12798
shrext_cmds=".so"
 
12799
postinstall_cmds=
 
12800
postuninstall_cmds=
 
12801
finish_cmds=
 
12802
finish_eval=
 
12803
shlibpath_var=
 
12804
shlibpath_overrides_runpath=unknown
 
12805
version_type=none
 
12806
dynamic_linker="$host_os ld.so"
 
12807
sys_lib_dlsearch_path_spec="/lib /usr/lib"
11139
12808
need_lib_prefix=unknown
11140
12809
hardcode_into_libs=no
11141
12810
 
11172
12841
      aix4 | aix4.[01] | aix4.[01].*)
11173
12842
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11174
12843
           echo ' yes '
11175
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
12844
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11176
12845
        :
11177
12846
      else
11178
12847
        can_build_shared=no
11198
12867
  ;;
11199
12868
 
11200
12869
amigaos*)
11201
 
  library_names_spec='$libname.ixlibrary $libname.a'
11202
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
11203
 
  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'
 
12870
  case $host_cpu in
 
12871
  powerpc)
 
12872
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
12873
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
12874
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12875
    ;;
 
12876
  m68k)
 
12877
    library_names_spec='$libname.ixlibrary $libname.a'
 
12878
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
12879
    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'
 
12880
    ;;
 
12881
  esac
11204
12882
  ;;
11205
12883
 
11206
12884
beos*)
11223
12901
  # libtool to hard-code these into programs
11224
12902
  ;;
11225
12903
 
11226
 
cygwin* | mingw* | pw32*)
 
12904
cygwin* | mingw* | pw32* | cegcc*)
11227
12905
  version_type=windows
11228
12906
  shrext_cmds=".dll"
11229
12907
  need_version=no
11230
12908
  need_lib_prefix=no
11231
12909
 
11232
12910
  case $GCC,$host_os in
11233
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
 
12911
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11234
12912
    library_names_spec='$libname.dll.a'
11235
12913
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11236
12914
    postinstall_cmds='base_file=`basename \${file}`~
11237
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 
12915
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11238
12916
      dldir=$destdir/`dirname \$dlpath`~
11239
12917
      test -d \$dldir || mkdir -p \$dldir~
11240
12918
      $install_prog $dir/$dlname \$dldir/$dlname~
11241
 
      chmod a+x \$dldir/$dlname'
 
12919
      chmod a+x \$dldir/$dlname~
 
12920
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
12921
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
12922
      fi'
11242
12923
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11243
12924
      dlpath=$dir/\$dldll~
11244
 
       $rm \$dlpath'
 
12925
       $RM \$dlpath'
11245
12926
    shlibpath_overrides_runpath=yes
11246
12927
 
11247
12928
    case $host_os in
11250
12931
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11251
12932
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11252
12933
      ;;
11253
 
    mingw*)
 
12934
    mingw* | cegcc*)
11254
12935
      # MinGW DLLs use traditional 'lib' prefix
11255
12936
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11256
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11257
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 
12937
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
12938
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11258
12939
        # It is most probably a Windows format PATH printed by
11259
12940
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
11260
12941
        # path with ; separators, and with drive letters. We can handle the
11261
12942
        # drive letters (cygwin fileutils understands them), so leave them,
11262
12943
        # especially as we might pass files found there to a mingw objdump,
11263
12944
        # which wouldn't understand a cygwinified path. Ahh.
11264
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
12945
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11265
12946
      else
11266
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
12947
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11267
12948
      fi
11268
12949
      ;;
11269
12950
    pw32*)
11287
12968
  version_type=darwin
11288
12969
  need_lib_prefix=no
11289
12970
  need_version=no
11290
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
12971
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11291
12972
  soname_spec='${libname}${release}${major}$shared_ext'
11292
12973
  shlibpath_overrides_runpath=yes
11293
12974
  shlibpath_var=DYLD_LIBRARY_PATH
11386
13067
    fi
11387
13068
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11388
13069
    ;;
11389
 
   hppa*64*)
11390
 
     shrext_cmds='.sl'
11391
 
     hardcode_into_libs=yes
11392
 
     dynamic_linker="$host_os dld.sl"
11393
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11394
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11395
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11396
 
     soname_spec='${libname}${release}${shared_ext}$major'
11397
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11398
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11399
 
     ;;
11400
 
   *)
 
13070
  hppa*64*)
 
13071
    shrext_cmds='.sl'
 
13072
    hardcode_into_libs=yes
 
13073
    dynamic_linker="$host_os dld.sl"
 
13074
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
13075
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
13076
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
13077
    soname_spec='${libname}${release}${shared_ext}$major'
 
13078
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
13079
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
13080
    ;;
 
13081
  *)
11401
13082
    shrext_cmds='.sl'
11402
13083
    dynamic_linker="$host_os dld.sl"
11403
13084
    shlibpath_var=SHLIB_PATH
11474
13155
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11475
13156
  shlibpath_var=LD_LIBRARY_PATH
11476
13157
  shlibpath_overrides_runpath=no
 
13158
  # Some binutils ld are patched to set DT_RUNPATH
 
13159
  save_LDFLAGS=$LDFLAGS
 
13160
  save_libdir=$libdir
 
13161
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
13162
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
13163
  cat >conftest.$ac_ext <<_ACEOF
 
13164
/* confdefs.h.  */
 
13165
_ACEOF
 
13166
cat confdefs.h >>conftest.$ac_ext
 
13167
cat >>conftest.$ac_ext <<_ACEOF
 
13168
/* end confdefs.h.  */
 
13169
 
 
13170
int
 
13171
main ()
 
13172
{
 
13173
 
 
13174
  ;
 
13175
  return 0;
 
13176
}
 
13177
_ACEOF
 
13178
rm -f conftest.$ac_objext conftest$ac_exeext
 
13179
if { (ac_try="$ac_link"
 
13180
case "(($ac_try" in
 
13181
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13182
  *) ac_try_echo=$ac_try;;
 
13183
esac
 
13184
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13185
$as_echo "$ac_try_echo") >&5
 
13186
  (eval "$ac_link") 2>conftest.er1
 
13187
  ac_status=$?
 
13188
  grep -v '^ *+' conftest.er1 >conftest.err
 
13189
  rm -f conftest.er1
 
13190
  cat conftest.err >&5
 
13191
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13192
  (exit $ac_status); } && {
 
13193
         test -z "$ac_c_werror_flag" ||
 
13194
         test ! -s conftest.err
 
13195
       } && test -s conftest$ac_exeext && {
 
13196
         test "$cross_compiling" = yes ||
 
13197
         $as_test_x conftest$ac_exeext
 
13198
       }; then
 
13199
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 
13200
  shlibpath_overrides_runpath=yes
 
13201
fi
 
13202
 
 
13203
else
 
13204
  $as_echo "$as_me: failed program was:" >&5
 
13205
sed 's/^/| /' conftest.$ac_ext >&5
 
13206
 
 
13207
 
 
13208
fi
 
13209
 
 
13210
rm -rf conftest.dSYM
 
13211
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
13212
      conftest$ac_exeext conftest.$ac_ext
 
13213
  LDFLAGS=$save_LDFLAGS
 
13214
  libdir=$save_libdir
 
13215
 
11477
13216
  # This implies no fast_install, which is unacceptable.
11478
13217
  # Some rework will be needed to allow for fast_install
11479
13218
  # before this can be enabled.
11480
13219
  hardcode_into_libs=yes
11481
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11482
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
13220
 
 
13221
  # Add ABI-specific directories to the system library path.
 
13222
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11483
13223
 
11484
13224
  # Append ld.so.conf contents to the search path
11485
13225
  if test -f /etc/ld.so.conf; then
11486
 
    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' ' '`
 
13226
    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' ' '`
11487
13227
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11488
13228
  fi
11489
13229
 
11500
13240
  version_type=sunos
11501
13241
  need_lib_prefix=no
11502
13242
  need_version=no
11503
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
13243
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11504
13244
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11505
13245
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11506
13246
    dynamic_linker='NetBSD (a.out) ld.so'
11521
13261
  shlibpath_overrides_runpath=yes
11522
13262
  ;;
11523
13263
 
11524
 
nto-qnx*)
11525
 
  version_type=linux
 
13264
*nto* | *qnx*)
 
13265
  version_type=qnx
11526
13266
  need_lib_prefix=no
11527
13267
  need_version=no
11528
13268
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11529
13269
  soname_spec='${libname}${release}${shared_ext}$major'
11530
13270
  shlibpath_var=LD_LIBRARY_PATH
11531
 
  shlibpath_overrides_runpath=yes
 
13271
  shlibpath_overrides_runpath=no
 
13272
  hardcode_into_libs=yes
 
13273
  dynamic_linker='ldqnx.so'
11532
13274
  ;;
11533
13275
 
11534
13276
openbsd*)
11537
13279
  need_lib_prefix=no
11538
13280
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11539
13281
  case $host_os in
11540
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11541
 
    *)                         need_version=no  ;;
 
13282
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
13283
    *)                          need_version=no  ;;
11542
13284
  esac
11543
13285
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11544
13286
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11545
13287
  shlibpath_var=LD_LIBRARY_PATH
11546
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
13288
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11547
13289
    case $host_os in
11548
13290
      openbsd2.[89] | openbsd2.[89].*)
11549
13291
        shlibpath_overrides_runpath=no
11615
13357
    sni)
11616
13358
      shlibpath_overrides_runpath=no
11617
13359
      need_lib_prefix=no
11618
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
11619
13360
      runpath_var=LD_RUN_PATH
11620
13361
      ;;
11621
13362
    siemens)
11646
13387
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11647
13388
  soname_spec='${libname}${release}${shared_ext}$major'
11648
13389
  shlibpath_var=LD_LIBRARY_PATH
 
13390
  shlibpath_overrides_runpath=yes
11649
13391
  hardcode_into_libs=yes
11650
13392
  if test "$with_gnu_ld" = yes; then
11651
13393
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11652
 
    shlibpath_overrides_runpath=no
11653
13394
  else
11654
13395
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11655
 
    shlibpath_overrides_runpath=yes
11656
13396
    case $host_os in
11657
13397
      sco3.2v5*)
11658
13398
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11662
13402
  sys_lib_dlsearch_path_spec='/usr/lib'
11663
13403
  ;;
11664
13404
 
 
13405
tpf*)
 
13406
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
13407
  version_type=linux
 
13408
  need_lib_prefix=no
 
13409
  need_version=no
 
13410
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
13411
  shlibpath_var=LD_LIBRARY_PATH
 
13412
  shlibpath_overrides_runpath=no
 
13413
  hardcode_into_libs=yes
 
13414
  ;;
 
13415
 
11665
13416
uts4*)
11666
13417
  version_type=linux
11667
13418
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11677
13428
$as_echo "$dynamic_linker" >&6; }
11678
13429
test "$dynamic_linker" = no && can_build_shared=no
11679
13430
 
11680
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11681
 
  $as_echo_n "(cached) " >&6
11682
 
else
11683
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
11684
 
fi
11685
 
 
11686
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11687
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11688
 
  $as_echo_n "(cached) " >&6
11689
 
else
11690
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
11691
 
fi
11692
 
 
11693
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11694
 
 
11695
13431
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11696
13432
if test "$GCC" = yes; then
11697
13433
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11698
13434
fi
11699
13435
 
11700
 
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
13436
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
13437
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
13438
fi
 
13439
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
13440
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
13441
fi
 
13442
 
 
13443
 
 
13444
 
 
13445
 
 
13446
 
 
13447
 
 
13448
 
 
13449
 
 
13450
 
 
13451
 
 
13452
 
 
13453
 
 
13454
 
 
13455
 
 
13456
 
 
13457
 
 
13458
 
 
13459
 
 
13460
 
 
13461
 
 
13462
 
 
13463
 
 
13464
 
 
13465
 
 
13466
 
 
13467
 
 
13468
 
 
13469
 
 
13470
 
 
13471
 
 
13472
 
 
13473
 
 
13474
 
 
13475
 
 
13476
 
 
13477
 
 
13478
 
 
13479
 
 
13480
 
 
13481
 
 
13482
 
 
13483
 
 
13484
 
 
13485
 
 
13486
 
 
13487
 
 
13488
 
 
13489
 
 
13490
 
 
13491
 
 
13492
 
 
13493
 
 
13494
 
 
13495
 
 
13496
 
 
13497
 
 
13498
 
 
13499
 
 
13500
 
 
13501
 
 
13502
 
 
13503
 
 
13504
 
 
13505
 
 
13506
 
 
13507
 
 
13508
 
 
13509
 
 
13510
 
 
13511
 
 
13512
 
 
13513
 
 
13514
 
 
13515
 
 
13516
 
 
13517
 
 
13518
 
 
13519
 
 
13520
 
 
13521
 
 
13522
 
 
13523
 
 
13524
 
 
13525
 
 
13526
 
 
13527
 
 
13528
 
 
13529
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11701
13530
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11702
13531
hardcode_action=
11703
 
if test -n "$hardcode_libdir_flag_spec" || \
11704
 
   test -n "$runpath_var" || \
 
13532
if test -n "$hardcode_libdir_flag_spec" ||
 
13533
   test -n "$runpath_var" ||
11705
13534
   test "X$hardcode_automatic" = "Xyes" ; then
11706
13535
 
11707
 
  # We can hardcode non-existant directories.
 
13536
  # We can hardcode non-existent directories.
11708
13537
  if test "$hardcode_direct" != no &&
11709
13538
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11710
13539
     # have to relink, otherwise we might link with an installed library
11711
13540
     # when we should be linking with a yet-to-be-installed one
11712
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
13541
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11713
13542
     test "$hardcode_minus_L" != no; then
11714
13543
    # Linking always hardcodes the temporary library directory.
11715
13544
    hardcode_action=relink
11725
13554
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
11726
13555
$as_echo "$hardcode_action" >&6; }
11727
13556
 
11728
 
if test "$hardcode_action" = relink; then
 
13557
if test "$hardcode_action" = relink ||
 
13558
   test "$inherit_rpath" = yes; then
11729
13559
  # Fast installation is not supported
11730
13560
  enable_fast_install=no
11731
13561
elif test "$shlibpath_overrides_runpath" = yes ||
11734
13564
  enable_fast_install=needless
11735
13565
fi
11736
13566
 
11737
 
striplib=
11738
 
old_striplib=
11739
 
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11740
 
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11741
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11742
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11743
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11744
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
11745
 
$as_echo "yes" >&6; }
11746
 
else
11747
 
# FIXME - insert some real tests, host_os isn't really good enough
11748
 
  case $host_os in
11749
 
   darwin*)
11750
 
       if test -n "$STRIP" ; then
11751
 
         striplib="$STRIP -x"
11752
 
         old_striplib="$STRIP -S"
11753
 
         { $as_echo "$as_me:$LINENO: result: yes" >&5
11754
 
$as_echo "yes" >&6; }
11755
 
       else
11756
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
11757
 
$as_echo "no" >&6; }
11758
 
fi
11759
 
       ;;
11760
 
   *)
11761
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
11762
 
$as_echo "no" >&6; }
11763
 
    ;;
11764
 
  esac
11765
 
fi
11766
 
 
11767
 
if test "x$enable_dlopen" != xyes; then
 
13567
 
 
13568
 
 
13569
 
 
13570
 
 
13571
 
 
13572
  if test "x$enable_dlopen" != xyes; then
11768
13573
  enable_dlopen=unknown
11769
13574
  enable_dlopen_self=unknown
11770
13575
  enable_dlopen_self_static=unknown
11779
13584
    lt_cv_dlopen_self=yes
11780
13585
    ;;
11781
13586
 
11782
 
  mingw* | pw32*)
 
13587
  mingw* | pw32* | cegcc*)
11783
13588
    lt_cv_dlopen="LoadLibrary"
11784
13589
    lt_cv_dlopen_libs=
11785
 
   ;;
 
13590
    ;;
11786
13591
 
11787
13592
  cygwin*)
11788
13593
    lt_cv_dlopen="dlopen"
11789
13594
    lt_cv_dlopen_libs=
11790
 
   ;;
 
13595
    ;;
11791
13596
 
11792
13597
  darwin*)
11793
13598
  # if libdl is installed we need to link against it
11866
13671
 
11867
13672
fi
11868
13673
 
11869
 
   ;;
 
13674
    ;;
11870
13675
 
11871
13676
  *)
11872
13677
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
12363
14168
else
12364
14169
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12365
14170
  lt_status=$lt_dlunknown
12366
 
  cat > conftest.$ac_ext <<EOF
12367
 
#line 12367 "configure"
 
14171
  cat > conftest.$ac_ext <<_LT_EOF
 
14172
#line 14172 "configure"
12368
14173
#include "confdefs.h"
12369
14174
 
12370
14175
#if HAVE_DLFCN_H
12405
14210
#  endif
12406
14211
#endif
12407
14212
 
12408
 
#ifdef __cplusplus
12409
 
extern "C" void exit (int);
12410
 
#endif
12411
 
 
12412
14213
void fnord() { int i=42;}
12413
14214
int main ()
12414
14215
{
12424
14225
  else
12425
14226
    puts (dlerror ());
12426
14227
 
12427
 
    exit (status);
 
14228
  return status;
12428
14229
}
12429
 
EOF
 
14230
_LT_EOF
12430
14231
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12431
14232
  (eval $ac_link) 2>&5
12432
14233
  ac_status=$?
12463
14264
else
12464
14265
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12465
14266
  lt_status=$lt_dlunknown
12466
 
  cat > conftest.$ac_ext <<EOF
12467
 
#line 12467 "configure"
 
14267
  cat > conftest.$ac_ext <<_LT_EOF
 
14268
#line 14268 "configure"
12468
14269
#include "confdefs.h"
12469
14270
 
12470
14271
#if HAVE_DLFCN_H
12505
14306
#  endif
12506
14307
#endif
12507
14308
 
12508
 
#ifdef __cplusplus
12509
 
extern "C" void exit (int);
12510
 
#endif
12511
 
 
12512
14309
void fnord() { int i=42;}
12513
14310
int main ()
12514
14311
{
12524
14321
  else
12525
14322
    puts (dlerror ());
12526
14323
 
12527
 
    exit (status);
 
14324
  return status;
12528
14325
}
12529
 
EOF
 
14326
_LT_EOF
12530
14327
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12531
14328
  (eval $ac_link) 2>&5
12532
14329
  ac_status=$?
12570
14367
fi
12571
14368
 
12572
14369
 
12573
 
# Report which library types will actually be built
12574
 
{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
14370
 
 
14371
 
 
14372
 
 
14373
 
 
14374
 
 
14375
 
 
14376
 
 
14377
 
 
14378
 
 
14379
 
 
14380
 
 
14381
 
 
14382
 
 
14383
 
 
14384
 
 
14385
striplib=
 
14386
old_striplib=
 
14387
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
14388
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
14389
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
14390
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
14391
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
14392
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
14393
$as_echo "yes" >&6; }
 
14394
else
 
14395
# FIXME - insert some real tests, host_os isn't really good enough
 
14396
  case $host_os in
 
14397
  darwin*)
 
14398
    if test -n "$STRIP" ; then
 
14399
      striplib="$STRIP -x"
 
14400
      old_striplib="$STRIP -S"
 
14401
      { $as_echo "$as_me:$LINENO: result: yes" >&5
 
14402
$as_echo "yes" >&6; }
 
14403
    else
 
14404
      { $as_echo "$as_me:$LINENO: result: no" >&5
 
14405
$as_echo "no" >&6; }
 
14406
    fi
 
14407
    ;;
 
14408
  *)
 
14409
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
14410
$as_echo "no" >&6; }
 
14411
    ;;
 
14412
  esac
 
14413
fi
 
14414
 
 
14415
 
 
14416
 
 
14417
 
 
14418
 
 
14419
 
 
14420
 
 
14421
 
 
14422
 
 
14423
 
 
14424
 
 
14425
 
 
14426
  # Report which library types will actually be built
 
14427
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12575
14428
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12576
 
{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
14429
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
12577
14430
$as_echo "$can_build_shared" >&6; }
12578
14431
 
12579
 
{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
14432
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12580
14433
$as_echo_n "checking whether to build shared libraries... " >&6; }
12581
 
test "$can_build_shared" = "no" && enable_shared=no
12582
 
 
12583
 
# On AIX, shared libraries and static libraries use the same namespace, and
12584
 
# are all built from PIC.
12585
 
case $host_os in
12586
 
aix3*)
12587
 
  test "$enable_shared" = yes && enable_static=no
12588
 
  if test -n "$RANLIB"; then
12589
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
12590
 
    postinstall_cmds='$RANLIB $lib'
12591
 
  fi
12592
 
  ;;
12593
 
 
12594
 
aix[4-9]*)
12595
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
14434
  test "$can_build_shared" = "no" && enable_shared=no
 
14435
 
 
14436
  # On AIX, shared libraries and static libraries use the same namespace, and
 
14437
  # are all built from PIC.
 
14438
  case $host_os in
 
14439
  aix3*)
12596
14440
    test "$enable_shared" = yes && enable_static=no
12597
 
  fi
12598
 
    ;;
12599
 
esac
12600
 
{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
14441
    if test -n "$RANLIB"; then
 
14442
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
14443
      postinstall_cmds='$RANLIB $lib'
 
14444
    fi
 
14445
    ;;
 
14446
 
 
14447
  aix[4-9]*)
 
14448
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
14449
      test "$enable_shared" = yes && enable_static=no
 
14450
    fi
 
14451
    ;;
 
14452
  esac
 
14453
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
12601
14454
$as_echo "$enable_shared" >&6; }
12602
14455
 
12603
 
{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
14456
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12604
14457
$as_echo_n "checking whether to build static libraries... " >&6; }
12605
 
# Make sure either enable_shared or enable_static is yes.
12606
 
test "$enable_shared" = yes || enable_static=yes
12607
 
{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
14458
  # Make sure either enable_shared or enable_static is yes.
 
14459
  test "$enable_shared" = yes || enable_static=yes
 
14460
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
12608
14461
$as_echo "$enable_static" >&6; }
12609
14462
 
12610
 
# The else clause should only fire when bootstrapping the
12611
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
12612
 
# with your package, and you will get complaints that there are
12613
 
# no rules to generate ltmain.sh.
12614
 
if test -f "$ltmain"; then
12615
 
  # See if we are running on zsh, and set the options which allow our commands through
12616
 
  # without removal of \ escapes.
12617
 
  if test -n "${ZSH_VERSION+set}" ; then
12618
 
    setopt NO_GLOB_SUBST
12619
 
  fi
12620
 
  # Now quote all the things that may contain metacharacters while being
12621
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
12622
 
  # variables and quote the copies for generation of the libtool script.
12623
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
12624
 
    SED SHELL STRIP \
12625
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12626
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12627
 
    deplibs_check_method reload_flag reload_cmds need_locks \
12628
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12629
 
    lt_cv_sys_global_symbol_to_c_name_address \
12630
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12631
 
    old_postinstall_cmds old_postuninstall_cmds \
12632
 
    compiler \
12633
 
    CC \
12634
 
    LD \
12635
 
    lt_prog_compiler_wl \
12636
 
    lt_prog_compiler_pic \
12637
 
    lt_prog_compiler_static \
12638
 
    lt_prog_compiler_no_builtin_flag \
12639
 
    export_dynamic_flag_spec \
12640
 
    thread_safe_flag_spec \
12641
 
    whole_archive_flag_spec \
12642
 
    enable_shared_with_static_runtimes \
12643
 
    old_archive_cmds \
12644
 
    old_archive_from_new_cmds \
12645
 
    predep_objects \
12646
 
    postdep_objects \
12647
 
    predeps \
12648
 
    postdeps \
12649
 
    compiler_lib_search_path \
12650
 
    compiler_lib_search_dirs \
12651
 
    archive_cmds \
12652
 
    archive_expsym_cmds \
12653
 
    postinstall_cmds \
12654
 
    postuninstall_cmds \
12655
 
    old_archive_from_expsyms_cmds \
12656
 
    allow_undefined_flag \
12657
 
    no_undefined_flag \
12658
 
    export_symbols_cmds \
12659
 
    hardcode_libdir_flag_spec \
12660
 
    hardcode_libdir_flag_spec_ld \
12661
 
    hardcode_libdir_separator \
12662
 
    hardcode_automatic \
12663
 
    module_cmds \
12664
 
    module_expsym_cmds \
12665
 
    lt_cv_prog_compiler_c_o \
12666
 
    fix_srcfile_path \
12667
 
    exclude_expsyms \
12668
 
    include_expsyms; do
12669
 
 
12670
 
    case $var in
12671
 
    old_archive_cmds | \
12672
 
    old_archive_from_new_cmds | \
12673
 
    archive_cmds | \
12674
 
    archive_expsym_cmds | \
12675
 
    module_cmds | \
12676
 
    module_expsym_cmds | \
12677
 
    old_archive_from_expsyms_cmds | \
12678
 
    export_symbols_cmds | \
12679
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
12680
 
    postinstall_cmds | postuninstall_cmds | \
12681
 
    old_postinstall_cmds | old_postuninstall_cmds | \
12682
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12683
 
      # Double-quote double-evaled strings.
12684
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12685
 
      ;;
12686
 
    *)
12687
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12688
 
      ;;
12689
 
    esac
12690
 
  done
12691
 
 
12692
 
  case $lt_echo in
12693
 
  *'\$0 --fallback-echo"')
12694
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12695
 
    ;;
12696
 
  esac
12697
 
 
12698
 
cfgfile="${ofile}T"
12699
 
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
12700
 
  $rm -f "$cfgfile"
12701
 
  { $as_echo "$as_me:$LINENO: creating $ofile" >&5
12702
 
$as_echo "$as_me: creating $ofile" >&6;}
12703
 
 
12704
 
  cat <<__EOF__ >> "$cfgfile"
12705
 
#! $SHELL
12706
 
 
12707
 
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12708
 
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
12709
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
12710
 
#
12711
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
12712
 
# Free Software Foundation, Inc.
12713
 
#
12714
 
# This file is part of GNU Libtool:
12715
 
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
12716
 
#
12717
 
# This program is free software; you can redistribute it and/or modify
12718
 
# it under the terms of the GNU General Public License as published by
12719
 
# the Free Software Foundation; either version 2 of the License, or
12720
 
# (at your option) any later version.
12721
 
#
12722
 
# This program is distributed in the hope that it will be useful, but
12723
 
# WITHOUT ANY WARRANTY; without even the implied warranty of
12724
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12725
 
# General Public License for more details.
12726
 
#
12727
 
# You should have received a copy of the GNU General Public License
12728
 
# along with this program; if not, write to the Free Software
12729
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
12730
 
#
12731
 
# As a special exception to the GNU General Public License, if you
12732
 
# distribute this file as part of a program that contains a
12733
 
# configuration script generated by Autoconf, you may include it under
12734
 
# the same distribution terms that you use for the rest of that program.
12735
 
 
12736
 
# A sed program that does not truncate output.
12737
 
SED=$lt_SED
12738
 
 
12739
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
12740
 
Xsed="$SED -e 1s/^X//"
12741
 
 
12742
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
12743
 
# if CDPATH is set.
12744
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12745
 
 
12746
 
# The names of the tagged configurations supported by this script.
12747
 
available_tags=
12748
 
 
12749
 
# ### BEGIN LIBTOOL CONFIG
12750
 
 
12751
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12752
 
 
12753
 
# Shell to use when invoking shell scripts.
12754
 
SHELL=$lt_SHELL
12755
 
 
12756
 
# Whether or not to build shared libraries.
12757
 
build_libtool_libs=$enable_shared
12758
 
 
12759
 
# Whether or not to build static libraries.
12760
 
build_old_libs=$enable_static
12761
 
 
12762
 
# Whether or not to add -lc for building shared libraries.
12763
 
build_libtool_need_lc=$archive_cmds_need_lc
12764
 
 
12765
 
# Whether or not to disallow shared libs when runtime libs are static
12766
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
12767
 
 
12768
 
# Whether or not to optimize for fast installation.
12769
 
fast_install=$enable_fast_install
12770
 
 
12771
 
# The host system.
12772
 
host_alias=$host_alias
12773
 
host=$host
12774
 
host_os=$host_os
12775
 
 
12776
 
# The build system.
12777
 
build_alias=$build_alias
12778
 
build=$build
12779
 
build_os=$build_os
12780
 
 
12781
 
# An echo program that does not interpret backslashes.
12782
 
echo=$lt_echo
12783
 
 
12784
 
# The archiver.
12785
 
AR=$lt_AR
12786
 
AR_FLAGS=$lt_AR_FLAGS
12787
 
 
12788
 
# A C compiler.
12789
 
LTCC=$lt_LTCC
12790
 
 
12791
 
# LTCC compiler flags.
12792
 
LTCFLAGS=$lt_LTCFLAGS
12793
 
 
12794
 
# A language-specific compiler.
12795
 
CC=$lt_compiler
12796
 
 
12797
 
# Is the compiler the GNU C compiler?
12798
 
with_gcc=$GCC
12799
 
 
12800
 
# An ERE matcher.
12801
 
EGREP=$lt_EGREP
12802
 
 
12803
 
# The linker used to build libraries.
12804
 
LD=$lt_LD
12805
 
 
12806
 
# Whether we need hard or soft links.
12807
 
LN_S=$lt_LN_S
12808
 
 
12809
 
# A BSD-compatible nm program.
12810
 
NM=$lt_NM
12811
 
 
12812
 
# A symbol stripping program
12813
 
STRIP=$lt_STRIP
12814
 
 
12815
 
# Used to examine libraries when file_magic_cmd begins "file"
12816
 
MAGIC_CMD=$MAGIC_CMD
12817
 
 
12818
 
# Used on cygwin: DLL creation program.
12819
 
DLLTOOL="$DLLTOOL"
12820
 
 
12821
 
# Used on cygwin: object dumper.
12822
 
OBJDUMP="$OBJDUMP"
12823
 
 
12824
 
# Used on cygwin: assembler.
12825
 
AS="$AS"
12826
 
 
12827
 
# The name of the directory that contains temporary libtool files.
12828
 
objdir=$objdir
12829
 
 
12830
 
# How to create reloadable object files.
12831
 
reload_flag=$lt_reload_flag
12832
 
reload_cmds=$lt_reload_cmds
12833
 
 
12834
 
# How to pass a linker flag through the compiler.
12835
 
wl=$lt_lt_prog_compiler_wl
12836
 
 
12837
 
# Object file suffix (normally "o").
12838
 
objext="$ac_objext"
12839
 
 
12840
 
# Old archive suffix (normally "a").
12841
 
libext="$libext"
12842
 
 
12843
 
# Shared library suffix (normally ".so").
12844
 
shrext_cmds='$shrext_cmds'
12845
 
 
12846
 
# Executable file suffix (normally "").
12847
 
exeext="$exeext"
12848
 
 
12849
 
# Additional compiler flags for building library objects.
12850
 
pic_flag=$lt_lt_prog_compiler_pic
12851
 
pic_mode=$pic_mode
12852
 
 
12853
 
# What is the maximum length of a command?
12854
 
max_cmd_len=$lt_cv_sys_max_cmd_len
12855
 
 
12856
 
# Does compiler simultaneously support -c and -o options?
12857
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
12858
 
 
12859
 
# Must we lock files when doing compilation?
12860
 
need_locks=$lt_need_locks
12861
 
 
12862
 
# Do we need the lib prefix for modules?
12863
 
need_lib_prefix=$need_lib_prefix
12864
 
 
12865
 
# Do we need a version for libraries?
12866
 
need_version=$need_version
12867
 
 
12868
 
# Whether dlopen is supported.
12869
 
dlopen_support=$enable_dlopen
12870
 
 
12871
 
# Whether dlopen of programs is supported.
12872
 
dlopen_self=$enable_dlopen_self
12873
 
 
12874
 
# Whether dlopen of statically linked programs is supported.
12875
 
dlopen_self_static=$enable_dlopen_self_static
12876
 
 
12877
 
# Compiler flag to prevent dynamic linking.
12878
 
link_static_flag=$lt_lt_prog_compiler_static
12879
 
 
12880
 
# Compiler flag to turn off builtin functions.
12881
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
12882
 
 
12883
 
# Compiler flag to allow reflexive dlopens.
12884
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
12885
 
 
12886
 
# Compiler flag to generate shared objects directly from archives.
12887
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
12888
 
 
12889
 
# Compiler flag to generate thread-safe objects.
12890
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec
12891
 
 
12892
 
# Library versioning type.
12893
 
version_type=$version_type
12894
 
 
12895
 
# Format of library name prefix.
12896
 
libname_spec=$lt_libname_spec
12897
 
 
12898
 
# List of archive names.  First name is the real one, the rest are links.
12899
 
# The last name is the one that the linker finds with -lNAME.
12900
 
library_names_spec=$lt_library_names_spec
12901
 
 
12902
 
# The coded name of the library, if different from the real name.
12903
 
soname_spec=$lt_soname_spec
12904
 
 
12905
 
# Commands used to build and install an old-style archive.
12906
 
RANLIB=$lt_RANLIB
12907
 
old_archive_cmds=$lt_old_archive_cmds
12908
 
old_postinstall_cmds=$lt_old_postinstall_cmds
12909
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
12910
 
 
12911
 
# Create an old-style archive from a shared archive.
12912
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
12913
 
 
12914
 
# Create a temporary old-style archive to link instead of a shared archive.
12915
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
12916
 
 
12917
 
# Commands used to build and install a shared archive.
12918
 
archive_cmds=$lt_archive_cmds
12919
 
archive_expsym_cmds=$lt_archive_expsym_cmds
12920
 
postinstall_cmds=$lt_postinstall_cmds
12921
 
postuninstall_cmds=$lt_postuninstall_cmds
12922
 
 
12923
 
# Commands used to build a loadable module (assumed same as above if empty)
12924
 
module_cmds=$lt_module_cmds
12925
 
module_expsym_cmds=$lt_module_expsym_cmds
12926
 
 
12927
 
# Commands to strip libraries.
12928
 
old_striplib=$lt_old_striplib
12929
 
striplib=$lt_striplib
12930
 
 
12931
 
# Dependencies to place before the objects being linked to create a
12932
 
# shared library.
12933
 
predep_objects=$lt_predep_objects
12934
 
 
12935
 
# Dependencies to place after the objects being linked to create a
12936
 
# shared library.
12937
 
postdep_objects=$lt_postdep_objects
12938
 
 
12939
 
# Dependencies to place before the objects being linked to create a
12940
 
# shared library.
12941
 
predeps=$lt_predeps
12942
 
 
12943
 
# Dependencies to place after the objects being linked to create a
12944
 
# shared library.
12945
 
postdeps=$lt_postdeps
12946
 
 
12947
 
# The directories searched by this compiler when creating a shared
12948
 
# library
12949
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
12950
 
 
12951
 
# The library search path used internally by the compiler when linking
12952
 
# a shared library.
12953
 
compiler_lib_search_path=$lt_compiler_lib_search_path
12954
 
 
12955
 
# Method to check whether dependent libraries are shared objects.
12956
 
deplibs_check_method=$lt_deplibs_check_method
12957
 
 
12958
 
# Command to use when deplibs_check_method == file_magic.
12959
 
file_magic_cmd=$lt_file_magic_cmd
12960
 
 
12961
 
# Flag that allows shared libraries with undefined symbols to be built.
12962
 
allow_undefined_flag=$lt_allow_undefined_flag
12963
 
 
12964
 
# Flag that forces no undefined symbols.
12965
 
no_undefined_flag=$lt_no_undefined_flag
12966
 
 
12967
 
# Commands used to finish a libtool library installation in a directory.
12968
 
finish_cmds=$lt_finish_cmds
12969
 
 
12970
 
# Same as above, but a single script fragment to be evaled but not shown.
12971
 
finish_eval=$lt_finish_eval
12972
 
 
12973
 
# Take the output of nm and produce a listing of raw symbols and C names.
12974
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12975
 
 
12976
 
# Transform the output of nm in a proper C declaration
12977
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12978
 
 
12979
 
# Transform the output of nm in a C name address pair
12980
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12981
 
 
12982
 
# This is the shared library runtime path variable.
12983
 
runpath_var=$runpath_var
12984
 
 
12985
 
# This is the shared library path variable.
12986
 
shlibpath_var=$shlibpath_var
12987
 
 
12988
 
# Is shlibpath searched before the hard-coded library search path?
12989
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12990
 
 
12991
 
# How to hardcode a shared library path into an executable.
12992
 
hardcode_action=$hardcode_action
12993
 
 
12994
 
# Whether we should hardcode library paths into libraries.
12995
 
hardcode_into_libs=$hardcode_into_libs
12996
 
 
12997
 
# Flag to hardcode \$libdir into a binary during linking.
12998
 
# This must work even if \$libdir does not exist.
12999
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13000
 
 
13001
 
# If ld is used when linking, flag to hardcode \$libdir into
13002
 
# a binary during linking. This must work even if \$libdir does
13003
 
# not exist.
13004
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13005
 
 
13006
 
# Whether we need a single -rpath flag with a separated argument.
13007
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
13008
 
 
13009
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13010
 
# resulting binary.
13011
 
hardcode_direct=$hardcode_direct
13012
 
 
13013
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13014
 
# resulting binary.
13015
 
hardcode_minus_L=$hardcode_minus_L
13016
 
 
13017
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13018
 
# the resulting binary.
13019
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
13020
 
 
13021
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
13022
 
# and all subsequent libraries and executables linked against it.
13023
 
hardcode_automatic=$hardcode_automatic
13024
 
 
13025
 
# Variables whose values should be saved in libtool wrapper scripts and
13026
 
# restored at relink time.
13027
 
variables_saved_for_relink="$variables_saved_for_relink"
13028
 
 
13029
 
# Whether libtool must link a program against all its dependency libraries.
13030
 
link_all_deplibs=$link_all_deplibs
13031
 
 
13032
 
# Compile-time system search path for libraries
13033
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13034
 
 
13035
 
# Run-time system search path for libraries
13036
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13037
 
 
13038
 
# Fix the shell variable \$srcfile for the compiler.
13039
 
fix_srcfile_path=$lt_fix_srcfile_path
13040
 
 
13041
 
# Set to yes if exported symbols are required.
13042
 
always_export_symbols=$always_export_symbols
13043
 
 
13044
 
# The commands to list exported symbols.
13045
 
export_symbols_cmds=$lt_export_symbols_cmds
13046
 
 
13047
 
# The commands to extract the exported symbol list from a shared archive.
13048
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
13049
 
 
13050
 
# Symbols that should not be listed in the preloaded symbols.
13051
 
exclude_expsyms=$lt_exclude_expsyms
13052
 
 
13053
 
# Symbols that must always be exported.
13054
 
include_expsyms=$lt_include_expsyms
13055
 
 
13056
 
# ### END LIBTOOL CONFIG
13057
 
 
13058
 
__EOF__
13059
 
 
13060
 
 
13061
 
  case $host_os in
13062
 
  aix3*)
13063
 
    cat <<\EOF >> "$cfgfile"
13064
 
 
13065
 
# AIX sometimes has problems with the GCC collect2 program.  For some
13066
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
13067
 
# vanish in a puff of smoke.
13068
 
if test "X${COLLECT_NAMES+set}" != Xset; then
13069
 
  COLLECT_NAMES=
13070
 
  export COLLECT_NAMES
13071
 
fi
13072
 
EOF
13073
 
    ;;
13074
 
  esac
13075
 
 
13076
 
  # We use sed instead of cat because bash on DJGPP gets confused if
13077
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
13078
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
13079
 
  # is reportedly fixed, but why not run on old versions too?
13080
 
  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
13081
 
 
13082
 
  mv -f "$cfgfile" "$ofile" || \
13083
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13084
 
  chmod +x "$ofile"
13085
 
 
13086
 
else
13087
 
  # If there is no Makefile yet, we rely on a make rule to execute
13088
 
  # `config.status --recheck' to rerun these tests and create the
13089
 
  # libtool script then.
13090
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13091
 
  if test -f "$ltmain_in"; then
13092
 
    test -f Makefile && make "$ltmain"
13093
 
  fi
13094
 
fi
13095
 
 
13096
 
 
 
14463
 
 
14464
 
 
14465
 
 
14466
fi
13097
14467
ac_ext=c
13098
14468
ac_cpp='$CPP $CPPFLAGS'
13099
14469
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13103
14473
CC="$lt_save_CC"
13104
14474
 
13105
14475
 
13106
 
# Check whether --with-tags was given.
13107
 
if test "${with_tags+set}" = set; then
13108
 
  withval=$with_tags; tagnames="$withval"
13109
 
fi
13110
 
 
13111
 
 
13112
 
if test -f "$ltmain" && test -n "$tagnames"; then
13113
 
  if test ! -f "${ofile}"; then
13114
 
    { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
13115
 
$as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
13116
 
  fi
13117
 
 
13118
 
  if test -z "$LTCC"; then
13119
 
    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
13120
 
    if test -z "$LTCC"; then
13121
 
      { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
13122
 
$as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
13123
 
    else
13124
 
      { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
13125
 
$as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
13126
 
    fi
13127
 
  fi
13128
 
  if test -z "$LTCFLAGS"; then
13129
 
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
13130
 
  fi
13131
 
 
13132
 
  # Extract list of available tagged configurations in $ofile.
13133
 
  # Note that this assumes the entire list is on one line.
13134
 
  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
13135
 
 
13136
 
  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
13137
 
  for tagname in $tagnames; do
13138
 
    IFS="$lt_save_ifs"
13139
 
    # Check whether tagname contains only valid characters
13140
 
    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
13141
 
    "") ;;
13142
 
    *)  { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
13143
 
$as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
13144
 
   { (exit 1); exit 1; }; }
13145
 
        ;;
13146
 
    esac
13147
 
 
13148
 
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
13149
 
    then
13150
 
      { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
13151
 
$as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
13152
 
   { (exit 1); exit 1; }; }
13153
 
    fi
13154
 
 
13155
 
    # Update the list of available tags.
13156
 
    if test -n "$tagname"; then
13157
 
      echo appending configuration tag \"$tagname\" to $ofile
13158
 
 
13159
 
      case $tagname in
13160
 
      CXX)
13161
 
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13162
 
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13163
 
            (test "X$CXX" != "Xg++"))) ; then
13164
 
          ac_ext=cpp
 
14476
ac_ext=cpp
13165
14477
ac_cpp='$CXXCPP $CPPFLAGS'
13166
14478
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13167
14479
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13168
14480
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13169
14481
 
13170
 
 
13171
 
 
13172
 
 
13173
14482
archive_cmds_need_lc_CXX=no
13174
14483
allow_undefined_flag_CXX=
13175
14484
always_export_symbols_CXX=no
13176
14485
archive_expsym_cmds_CXX=
 
14486
compiler_needs_object_CXX=no
13177
14487
export_dynamic_flag_spec_CXX=
13178
14488
hardcode_direct_CXX=no
 
14489
hardcode_direct_absolute_CXX=no
13179
14490
hardcode_libdir_flag_spec_CXX=
13180
14491
hardcode_libdir_flag_spec_ld_CXX=
13181
14492
hardcode_libdir_separator_CXX=
13182
14493
hardcode_minus_L_CXX=no
13183
14494
hardcode_shlibpath_var_CXX=unsupported
13184
14495
hardcode_automatic_CXX=no
 
14496
inherit_rpath_CXX=no
13185
14497
module_cmds_CXX=
13186
14498
module_expsym_cmds_CXX=
13187
14499
link_all_deplibs_CXX=unknown
13190
14502
whole_archive_flag_spec_CXX=
13191
14503
enable_shared_with_static_runtimes_CXX=no
13192
14504
 
13193
 
# Dependencies to place before and after the object being linked:
13194
 
predep_objects_CXX=
13195
 
postdep_objects_CXX=
13196
 
predeps_CXX=
13197
 
postdeps_CXX=
13198
 
compiler_lib_search_path_CXX=
13199
 
compiler_lib_search_dirs_CXX=
13200
 
 
13201
14505
# Source file extension for C++ test sources.
13202
14506
ac_ext=cpp
13203
14507
 
13205
14509
objext=o
13206
14510
objext_CXX=$objext
13207
14511
 
13208
 
# Code to be used in simple compile tests
13209
 
lt_simple_compile_test_code="int some_variable = 0;"
13210
 
 
13211
 
# Code to be used in simple link tests
13212
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13213
 
 
13214
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
14512
# No sense in running all these tests if we already determined that
 
14513
# the CXX compiler isn't working.  Some variables (like enable_shared)
 
14514
# are currently assumed to apply to all compilers on this platform,
 
14515
# and will be corrupted by setting them based on a non-working compiler.
 
14516
if test "$_lt_caught_CXX_error" != yes; then
 
14517
  # Code to be used in simple compile tests
 
14518
  lt_simple_compile_test_code="int some_variable = 0;"
 
14519
 
 
14520
  # Code to be used in simple link tests
 
14521
  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
 
14522
 
 
14523
  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
14524
 
 
14525
 
 
14526
 
 
14527
 
 
14528
 
13215
14529
 
13216
14530
# If no C compiler was specified, use CC.
13217
14531
LTCC=${LTCC-"$CC"}
13223
14537
compiler=$CC
13224
14538
 
13225
14539
 
13226
 
# save warnings/boilerplate of simple test code
13227
 
ac_outfile=conftest.$ac_objext
 
14540
  # save warnings/boilerplate of simple test code
 
14541
  ac_outfile=conftest.$ac_objext
13228
14542
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13229
14543
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13230
14544
_lt_compiler_boilerplate=`cat conftest.err`
13231
 
$rm conftest*
 
14545
$RM conftest*
13232
14546
 
13233
 
ac_outfile=conftest.$ac_objext
 
14547
  ac_outfile=conftest.$ac_objext
13234
14548
echo "$lt_simple_link_test_code" >conftest.$ac_ext
13235
14549
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13236
14550
_lt_linker_boilerplate=`cat conftest.err`
13237
 
$rm -r conftest*
13238
 
 
13239
 
 
13240
 
# Allow CC to be a program name with arguments.
13241
 
lt_save_CC=$CC
13242
 
lt_save_LD=$LD
13243
 
lt_save_GCC=$GCC
13244
 
GCC=$GXX
13245
 
lt_save_with_gnu_ld=$with_gnu_ld
13246
 
lt_save_path_LD=$lt_cv_path_LD
13247
 
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13248
 
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13249
 
else
13250
 
  $as_unset lt_cv_prog_gnu_ld
13251
 
fi
13252
 
if test -n "${lt_cv_path_LDCXX+set}"; then
13253
 
  lt_cv_path_LD=$lt_cv_path_LDCXX
13254
 
else
13255
 
  $as_unset lt_cv_path_LD
13256
 
fi
13257
 
test -z "${LDCXX+set}" || LD=$LDCXX
13258
 
CC=${CXX-"c++"}
13259
 
compiler=$CC
13260
 
compiler_CXX=$CC
13261
 
for cc_temp in $compiler""; do
 
14551
$RM -r conftest*
 
14552
 
 
14553
 
 
14554
  # Allow CC to be a program name with arguments.
 
14555
  lt_save_CC=$CC
 
14556
  lt_save_LD=$LD
 
14557
  lt_save_GCC=$GCC
 
14558
  GCC=$GXX
 
14559
  lt_save_with_gnu_ld=$with_gnu_ld
 
14560
  lt_save_path_LD=$lt_cv_path_LD
 
14561
  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
 
14562
    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
 
14563
  else
 
14564
    $as_unset lt_cv_prog_gnu_ld
 
14565
  fi
 
14566
  if test -n "${lt_cv_path_LDCXX+set}"; then
 
14567
    lt_cv_path_LD=$lt_cv_path_LDCXX
 
14568
  else
 
14569
    $as_unset lt_cv_path_LD
 
14570
  fi
 
14571
  test -z "${LDCXX+set}" || LD=$LDCXX
 
14572
  CC=${CXX-"c++"}
 
14573
  compiler=$CC
 
14574
  compiler_CXX=$CC
 
14575
  for cc_temp in $compiler""; do
13262
14576
  case $cc_temp in
13263
14577
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13264
14578
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13266
14580
    *) break;;
13267
14581
  esac
13268
14582
done
13269
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13270
 
 
13271
 
 
13272
 
# We don't want -fno-exception wen compiling C++ code, so set the
13273
 
# no_builtin_flag separately
13274
 
if test "$GXX" = yes; then
13275
 
  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13276
 
else
13277
 
  lt_prog_compiler_no_builtin_flag_CXX=
13278
 
fi
13279
 
 
13280
 
if test "$GXX" = yes; then
13281
 
  # Set up default GNU C++ configuration
 
14583
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
14584
 
 
14585
 
 
14586
  if test -n "$compiler"; then
 
14587
    # We don't want -fno-exception when compiling C++ code, so set the
 
14588
    # no_builtin_flag separately
 
14589
    if test "$GXX" = yes; then
 
14590
      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
 
14591
    else
 
14592
      lt_prog_compiler_no_builtin_flag_CXX=
 
14593
    fi
 
14594
 
 
14595
    if test "$GXX" = yes; then
 
14596
      # Set up default GNU C++ configuration
 
14597
 
13282
14598
 
13283
14599
 
13284
14600
# Check whether --with-gnu-ld was given.
13305
14621
    [\\/]* | ?:[\\/]*)
13306
14622
      re_direlt='/[^/][^/]*/\.\./'
13307
14623
      # Canonicalize the pathname of ld
13308
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
13309
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
13310
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 
14624
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
14625
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
14626
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13311
14627
      done
13312
14628
      test -z "$LD" && LD="$ac_prog"
13313
14629
      ;;
13388
14704
 
13389
14705
 
13390
14706
 
13391
 
  # Check if GNU C++ uses GNU ld as the underlying linker, since the
13392
 
  # archiving commands below assume that GNU ld is being used.
13393
 
  if test "$with_gnu_ld" = yes; then
13394
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13395
 
    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'
13396
 
 
13397
 
    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13398
 
    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13399
 
 
13400
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
13401
 
    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13402
 
    #     investigate it a little bit more. (MM)
13403
 
    wlarc='${wl}'
13404
 
 
13405
 
    # ancient GNU ld didn't support --whole-archive et. al.
13406
 
    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
13407
 
        grep 'no-whole-archive' > /dev/null; then
13408
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13409
 
    else
13410
 
      whole_archive_flag_spec_CXX=
13411
 
    fi
13412
 
  else
13413
 
    with_gnu_ld=no
13414
 
    wlarc=
13415
 
 
13416
 
    # A generic and very simple default shared library creation
13417
 
    # command for GNU C++ for the case where it uses the native
13418
 
    # linker, instead of GNU ld.  If possible, this setting should
13419
 
    # overridden to take advantage of the native linker features on
13420
 
    # the platform it is being used on.
13421
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13422
 
  fi
13423
 
 
13424
 
  # Commands to make compiler produce verbose output that lists
13425
 
  # what "hidden" libraries, object files and flags are used when
13426
 
  # linking a shared library.
13427
 
  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13428
 
 
13429
 
else
13430
 
  GXX=no
13431
 
  with_gnu_ld=no
13432
 
  wlarc=
13433
 
fi
13434
 
 
13435
 
# PORTME: fill in a description of your system's C++ link characteristics
13436
 
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13437
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13438
 
ld_shlibs_CXX=yes
13439
 
case $host_os in
13440
 
  aix3*)
13441
 
    # FIXME: insert proper C++ library support
13442
 
    ld_shlibs_CXX=no
13443
 
    ;;
13444
 
  aix[4-9]*)
13445
 
    if test "$host_cpu" = ia64; then
13446
 
      # On IA64, the linker does run time linking by default, so we don't
13447
 
      # have to do anything special.
13448
 
      aix_use_runtimelinking=no
13449
 
      exp_sym_flag='-Bexport'
13450
 
      no_entry_flag=""
13451
 
    else
13452
 
      aix_use_runtimelinking=no
13453
 
 
13454
 
      # Test if we are trying to use run time linking or normal
13455
 
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13456
 
      # need to do runtime linking.
13457
 
      case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13458
 
        for ld_flag in $LDFLAGS; do
13459
 
          case $ld_flag in
13460
 
          *-brtl*)
13461
 
            aix_use_runtimelinking=yes
13462
 
            break
13463
 
            ;;
13464
 
          esac
13465
 
        done
13466
 
        ;;
13467
 
      esac
13468
 
 
13469
 
      exp_sym_flag='-bexport'
13470
 
      no_entry_flag='-bnoentry'
13471
 
    fi
13472
 
 
13473
 
    # When large executables or shared objects are built, AIX ld can
13474
 
    # have problems creating the table of contents.  If linking a library
13475
 
    # or program results in "error TOC overflow" add -mminimal-toc to
13476
 
    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
13477
 
    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13478
 
 
13479
 
    archive_cmds_CXX=''
13480
 
    hardcode_direct_CXX=yes
13481
 
    hardcode_libdir_separator_CXX=':'
13482
 
    link_all_deplibs_CXX=yes
13483
 
 
13484
 
    if test "$GXX" = yes; then
13485
 
      case $host_os in aix4.[012]|aix4.[012].*)
13486
 
      # We only want to do this on AIX 4.2 and lower, the check
13487
 
      # below for broken collect2 doesn't work under 4.3+
13488
 
        collect2name=`${CC} -print-prog-name=collect2`
13489
 
        if test -f "$collect2name" && \
13490
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
13491
 
        then
13492
 
          # We have reworked collect2
13493
 
          :
13494
 
        else
13495
 
          # We have old collect2
13496
 
          hardcode_direct_CXX=unsupported
13497
 
          # It fails to find uninstalled libraries when the uninstalled
13498
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
13499
 
          # to unsupported forces relinking
13500
 
          hardcode_minus_L_CXX=yes
13501
 
          hardcode_libdir_flag_spec_CXX='-L$libdir'
13502
 
          hardcode_libdir_separator_CXX=
13503
 
        fi
13504
 
        ;;
13505
 
      esac
13506
 
      shared_flag='-shared'
13507
 
      if test "$aix_use_runtimelinking" = yes; then
13508
 
        shared_flag="$shared_flag "'${wl}-G'
13509
 
      fi
13510
 
    else
13511
 
      # not using gcc
13512
 
      if test "$host_cpu" = ia64; then
13513
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13514
 
        # chokes on -Wl,-G. The following line is correct:
13515
 
        shared_flag='-G'
13516
 
      else
13517
 
        if test "$aix_use_runtimelinking" = yes; then
13518
 
          shared_flag='${wl}-G'
13519
 
        else
13520
 
          shared_flag='${wl}-bM:SRE'
13521
 
        fi
13522
 
      fi
13523
 
    fi
13524
 
 
13525
 
    # It seems that -bexpall does not export symbols beginning with
13526
 
    # underscore (_), so it is better to generate a list of symbols to export.
13527
 
    always_export_symbols_CXX=yes
13528
 
    if test "$aix_use_runtimelinking" = yes; then
13529
 
      # Warning - without using the other runtime loading flags (-brtl),
13530
 
      # -berok will link without error, but may produce a broken library.
13531
 
      allow_undefined_flag_CXX='-berok'
13532
 
      # Determine the default libpath from the value encoded in an empty executable.
13533
 
      cat >conftest.$ac_ext <<_ACEOF
13534
 
/* confdefs.h.  */
13535
 
_ACEOF
13536
 
cat confdefs.h >>conftest.$ac_ext
13537
 
cat >>conftest.$ac_ext <<_ACEOF
13538
 
/* end confdefs.h.  */
13539
 
 
13540
 
int
13541
 
main ()
13542
 
{
13543
 
 
13544
 
  ;
13545
 
  return 0;
13546
 
}
13547
 
_ACEOF
13548
 
rm -f conftest.$ac_objext conftest$ac_exeext
13549
 
if { (ac_try="$ac_link"
13550
 
case "(($ac_try" in
13551
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13552
 
  *) ac_try_echo=$ac_try;;
13553
 
esac
13554
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13555
 
$as_echo "$ac_try_echo") >&5
13556
 
  (eval "$ac_link") 2>conftest.er1
13557
 
  ac_status=$?
13558
 
  grep -v '^ *+' conftest.er1 >conftest.err
13559
 
  rm -f conftest.er1
13560
 
  cat conftest.err >&5
13561
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13562
 
  (exit $ac_status); } && {
13563
 
         test -z "$ac_cxx_werror_flag" ||
13564
 
         test ! -s conftest.err
13565
 
       } && test -s conftest$ac_exeext && {
13566
 
         test "$cross_compiling" = yes ||
13567
 
         $as_test_x conftest$ac_exeext
13568
 
       }; then
13569
 
 
13570
 
lt_aix_libpath_sed='
13571
 
    /Import File Strings/,/^$/ {
13572
 
        /^0/ {
13573
 
            s/^0  *\(.*\)$/\1/
13574
 
            p
13575
 
        }
13576
 
    }'
13577
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13578
 
# Check for a 64-bit object if we didn't find anything.
13579
 
if test -z "$aix_libpath"; then
13580
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13581
 
fi
13582
 
else
13583
 
  $as_echo "$as_me: failed program was:" >&5
13584
 
sed 's/^/| /' conftest.$ac_ext >&5
13585
 
 
13586
 
 
13587
 
fi
13588
 
 
13589
 
rm -rf conftest.dSYM
13590
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13591
 
      conftest$ac_exeext conftest.$ac_ext
13592
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13593
 
 
13594
 
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13595
 
 
13596
 
      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 "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13597
 
     else
13598
 
      if test "$host_cpu" = ia64; then
13599
 
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13600
 
        allow_undefined_flag_CXX="-z nodefs"
13601
 
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
13602
 
      else
13603
 
        # Determine the default libpath from the value encoded in an empty executable.
13604
 
        cat >conftest.$ac_ext <<_ACEOF
13605
 
/* confdefs.h.  */
13606
 
_ACEOF
13607
 
cat confdefs.h >>conftest.$ac_ext
13608
 
cat >>conftest.$ac_ext <<_ACEOF
13609
 
/* end confdefs.h.  */
13610
 
 
13611
 
int
13612
 
main ()
13613
 
{
13614
 
 
13615
 
  ;
13616
 
  return 0;
13617
 
}
13618
 
_ACEOF
13619
 
rm -f conftest.$ac_objext conftest$ac_exeext
13620
 
if { (ac_try="$ac_link"
13621
 
case "(($ac_try" in
13622
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13623
 
  *) ac_try_echo=$ac_try;;
13624
 
esac
13625
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13626
 
$as_echo "$ac_try_echo") >&5
13627
 
  (eval "$ac_link") 2>conftest.er1
13628
 
  ac_status=$?
13629
 
  grep -v '^ *+' conftest.er1 >conftest.err
13630
 
  rm -f conftest.er1
13631
 
  cat conftest.err >&5
13632
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13633
 
  (exit $ac_status); } && {
13634
 
         test -z "$ac_cxx_werror_flag" ||
13635
 
         test ! -s conftest.err
13636
 
       } && test -s conftest$ac_exeext && {
13637
 
         test "$cross_compiling" = yes ||
13638
 
         $as_test_x conftest$ac_exeext
13639
 
       }; then
13640
 
 
13641
 
lt_aix_libpath_sed='
13642
 
    /Import File Strings/,/^$/ {
13643
 
        /^0/ {
13644
 
            s/^0  *\(.*\)$/\1/
13645
 
            p
13646
 
        }
13647
 
    }'
13648
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13649
 
# Check for a 64-bit object if we didn't find anything.
13650
 
if test -z "$aix_libpath"; then
13651
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13652
 
fi
13653
 
else
13654
 
  $as_echo "$as_me: failed program was:" >&5
13655
 
sed 's/^/| /' conftest.$ac_ext >&5
13656
 
 
13657
 
 
13658
 
fi
13659
 
 
13660
 
rm -rf conftest.dSYM
13661
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13662
 
      conftest$ac_exeext conftest.$ac_ext
13663
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13664
 
 
13665
 
        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13666
 
        # Warning - without using the other run time loading flags,
13667
 
        # -berok will link without error, but may produce a broken library.
13668
 
        no_undefined_flag_CXX=' ${wl}-bernotok'
13669
 
        allow_undefined_flag_CXX=' ${wl}-berok'
13670
 
        # Exported symbols can be pulled into shared objects from archives
13671
 
        whole_archive_flag_spec_CXX='$convenience'
13672
 
        archive_cmds_need_lc_CXX=yes
13673
 
        # This is similar to how AIX traditionally builds its shared libraries.
13674
 
        archive_expsym_cmds_CXX="\$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'
13675
 
      fi
13676
 
    fi
13677
 
    ;;
13678
 
 
13679
 
  beos*)
13680
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13681
 
      allow_undefined_flag_CXX=unsupported
13682
 
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13683
 
      # support --undefined.  This deserves some investigation.  FIXME
13684
 
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13685
 
    else
13686
 
      ld_shlibs_CXX=no
13687
 
    fi
13688
 
    ;;
13689
 
 
13690
 
  chorus*)
13691
 
    case $cc_basename in
13692
 
      *)
13693
 
        # FIXME: insert proper C++ library support
13694
 
        ld_shlibs_CXX=no
13695
 
        ;;
13696
 
    esac
13697
 
    ;;
13698
 
 
13699
 
  cygwin* | mingw* | pw32*)
13700
 
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13701
 
    # as there is no search path for DLLs.
13702
 
    hardcode_libdir_flag_spec_CXX='-L$libdir'
13703
 
    allow_undefined_flag_CXX=unsupported
13704
 
    always_export_symbols_CXX=no
13705
 
    enable_shared_with_static_runtimes_CXX=yes
13706
 
 
13707
 
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13708
 
      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'
13709
 
      # If the export-symbols file already is a .def file (1st line
13710
 
      # is EXPORTS), use it as is; otherwise, prepend...
13711
 
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13712
 
        cp $export_symbols $output_objdir/$soname.def;
13713
 
      else
13714
 
        echo EXPORTS > $output_objdir/$soname.def;
13715
 
        cat $export_symbols >> $output_objdir/$soname.def;
13716
 
      fi~
13717
 
      $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'
13718
 
    else
13719
 
      ld_shlibs_CXX=no
13720
 
    fi
13721
 
  ;;
13722
 
      darwin* | rhapsody*)
13723
 
      archive_cmds_need_lc_CXX=no
13724
 
      hardcode_direct_CXX=no
13725
 
      hardcode_automatic_CXX=yes
13726
 
      hardcode_shlibpath_var_CXX=unsupported
13727
 
      whole_archive_flag_spec_CXX=''
13728
 
      link_all_deplibs_CXX=yes
13729
 
      allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13730
 
      if test "$GXX" = yes ; then
13731
 
      output_verbose_link_cmd='echo'
13732
 
      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}"
13733
 
      module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13734
 
      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}"
13735
 
      module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
13736
 
      if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13737
 
        archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
13738
 
        archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
13739
 
      fi
13740
 
      else
13741
 
      case $cc_basename in
13742
 
        xlc*)
13743
 
         output_verbose_link_cmd='echo'
13744
 
          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
13745
 
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13746
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
13747
 
          archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13748
 
          module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13749
 
          ;;
13750
 
       *)
13751
 
         ld_shlibs_CXX=no
13752
 
          ;;
13753
 
      esac
13754
 
      fi
13755
 
        ;;
13756
 
 
13757
 
  dgux*)
13758
 
    case $cc_basename in
13759
 
      ec++*)
13760
 
        # FIXME: insert proper C++ library support
13761
 
        ld_shlibs_CXX=no
13762
 
        ;;
13763
 
      ghcx*)
13764
 
        # Green Hills C++ Compiler
13765
 
        # FIXME: insert proper C++ library support
13766
 
        ld_shlibs_CXX=no
13767
 
        ;;
13768
 
      *)
13769
 
        # FIXME: insert proper C++ library support
13770
 
        ld_shlibs_CXX=no
13771
 
        ;;
13772
 
    esac
13773
 
    ;;
13774
 
  freebsd[12]*)
13775
 
    # C++ shared libraries reported to be fairly broken before switch to ELF
13776
 
    ld_shlibs_CXX=no
13777
 
    ;;
13778
 
  freebsd-elf*)
13779
 
    archive_cmds_need_lc_CXX=no
13780
 
    ;;
13781
 
  freebsd* | dragonfly*)
13782
 
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13783
 
    # conventions
13784
 
    ld_shlibs_CXX=yes
13785
 
    ;;
13786
 
  gnu*)
13787
 
    ;;
13788
 
  hpux9*)
13789
 
    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13790
 
    hardcode_libdir_separator_CXX=:
13791
 
    export_dynamic_flag_spec_CXX='${wl}-E'
13792
 
    hardcode_direct_CXX=yes
13793
 
    hardcode_minus_L_CXX=yes # Not in the search PATH,
13794
 
                                # but as the default
13795
 
                                # location of the library.
13796
 
 
13797
 
    case $cc_basename in
13798
 
    CC*)
13799
 
      # FIXME: insert proper C++ library support
13800
 
      ld_shlibs_CXX=no
13801
 
      ;;
13802
 
    aCC*)
13803
 
      archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${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'
 
14707
 
 
14708
 
 
14709
 
 
14710
 
 
14711
      # Check if GNU C++ uses GNU ld as the underlying linker, since the
 
14712
      # archiving commands below assume that GNU ld is being used.
 
14713
      if test "$with_gnu_ld" = yes; then
 
14714
        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
14715
        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'
 
14716
 
 
14717
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
14718
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
14719
 
 
14720
        # If archive_cmds runs LD, not CC, wlarc should be empty
 
14721
        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
 
14722
        #     investigate it a little bit more. (MM)
 
14723
        wlarc='${wl}'
 
14724
 
 
14725
        # ancient GNU ld didn't support --whole-archive et. al.
 
14726
        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
 
14727
          $GREP 'no-whole-archive' > /dev/null; then
 
14728
          whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
14729
        else
 
14730
          whole_archive_flag_spec_CXX=
 
14731
        fi
 
14732
      else
 
14733
        with_gnu_ld=no
 
14734
        wlarc=
 
14735
 
 
14736
        # A generic and very simple default shared library creation
 
14737
        # command for GNU C++ for the case where it uses the native
 
14738
        # linker, instead of GNU ld.  If possible, this setting should
 
14739
        # overridden to take advantage of the native linker features on
 
14740
        # the platform it is being used on.
 
14741
        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
14742
      fi
 
14743
 
13804
14744
      # Commands to make compiler produce verbose output that lists
13805
14745
      # what "hidden" libraries, object files and flags are used when
13806
14746
      # linking a shared library.
13807
 
      #
13808
 
      # There doesn't appear to be a way to prevent this compiler from
13809
 
      # explicitly linking system object files so we need to strip them
13810
 
      # from the output so that they don't get included in the library
13811
 
      # dependencies.
13812
 
      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 $list'
13813
 
      ;;
13814
 
    *)
13815
 
      if test "$GXX" = yes; then
13816
 
        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'
13817
 
      else
 
14747
      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
14748
 
 
14749
    else
 
14750
      GXX=no
 
14751
      with_gnu_ld=no
 
14752
      wlarc=
 
14753
    fi
 
14754
 
 
14755
    # PORTME: fill in a description of your system's C++ link characteristics
 
14756
    { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
14757
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
14758
    ld_shlibs_CXX=yes
 
14759
    case $host_os in
 
14760
      aix3*)
13818
14761
        # FIXME: insert proper C++ library support
13819
14762
        ld_shlibs_CXX=no
13820
 
      fi
13821
 
      ;;
13822
 
    esac
13823
 
    ;;
13824
 
  hpux10*|hpux11*)
13825
 
    if test $with_gnu_ld = no; then
13826
 
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13827
 
      hardcode_libdir_separator_CXX=:
13828
 
 
13829
 
      case $host_cpu in
13830
 
      hppa*64*|ia64*) ;;
13831
 
      *)
 
14763
        ;;
 
14764
      aix[4-9]*)
 
14765
        if test "$host_cpu" = ia64; then
 
14766
          # On IA64, the linker does run time linking by default, so we don't
 
14767
          # have to do anything special.
 
14768
          aix_use_runtimelinking=no
 
14769
          exp_sym_flag='-Bexport'
 
14770
          no_entry_flag=""
 
14771
        else
 
14772
          aix_use_runtimelinking=no
 
14773
 
 
14774
          # Test if we are trying to use run time linking or normal
 
14775
          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
14776
          # need to do runtime linking.
 
14777
          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 
14778
            for ld_flag in $LDFLAGS; do
 
14779
              case $ld_flag in
 
14780
              *-brtl*)
 
14781
                aix_use_runtimelinking=yes
 
14782
                break
 
14783
                ;;
 
14784
              esac
 
14785
            done
 
14786
            ;;
 
14787
          esac
 
14788
 
 
14789
          exp_sym_flag='-bexport'
 
14790
          no_entry_flag='-bnoentry'
 
14791
        fi
 
14792
 
 
14793
        # When large executables or shared objects are built, AIX ld can
 
14794
        # have problems creating the table of contents.  If linking a library
 
14795
        # or program results in "error TOC overflow" add -mminimal-toc to
 
14796
        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
14797
        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
14798
 
 
14799
        archive_cmds_CXX=''
 
14800
        hardcode_direct_CXX=yes
 
14801
        hardcode_direct_absolute_CXX=yes
 
14802
        hardcode_libdir_separator_CXX=':'
 
14803
        link_all_deplibs_CXX=yes
 
14804
        file_list_spec_CXX='${wl}-f,'
 
14805
 
 
14806
        if test "$GXX" = yes; then
 
14807
          case $host_os in aix4.[012]|aix4.[012].*)
 
14808
          # We only want to do this on AIX 4.2 and lower, the check
 
14809
          # below for broken collect2 doesn't work under 4.3+
 
14810
          collect2name=`${CC} -print-prog-name=collect2`
 
14811
          if test -f "$collect2name" &&
 
14812
             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 
14813
          then
 
14814
            # We have reworked collect2
 
14815
            :
 
14816
          else
 
14817
            # We have old collect2
 
14818
            hardcode_direct_CXX=unsupported
 
14819
            # It fails to find uninstalled libraries when the uninstalled
 
14820
            # path is not listed in the libpath.  Setting hardcode_minus_L
 
14821
            # to unsupported forces relinking
 
14822
            hardcode_minus_L_CXX=yes
 
14823
            hardcode_libdir_flag_spec_CXX='-L$libdir'
 
14824
            hardcode_libdir_separator_CXX=
 
14825
          fi
 
14826
          esac
 
14827
          shared_flag='-shared'
 
14828
          if test "$aix_use_runtimelinking" = yes; then
 
14829
            shared_flag="$shared_flag "'${wl}-G'
 
14830
          fi
 
14831
        else
 
14832
          # not using gcc
 
14833
          if test "$host_cpu" = ia64; then
 
14834
          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
14835
          # chokes on -Wl,-G. The following line is correct:
 
14836
          shared_flag='-G'
 
14837
          else
 
14838
            if test "$aix_use_runtimelinking" = yes; then
 
14839
              shared_flag='${wl}-G'
 
14840
            else
 
14841
              shared_flag='${wl}-bM:SRE'
 
14842
            fi
 
14843
          fi
 
14844
        fi
 
14845
 
 
14846
        export_dynamic_flag_spec_CXX='${wl}-bexpall'
 
14847
        # It seems that -bexpall does not export symbols beginning with
 
14848
        # underscore (_), so it is better to generate a list of symbols to
 
14849
        # export.
 
14850
        always_export_symbols_CXX=yes
 
14851
        if test "$aix_use_runtimelinking" = yes; then
 
14852
          # Warning - without using the other runtime loading flags (-brtl),
 
14853
          # -berok will link without error, but may produce a broken library.
 
14854
          allow_undefined_flag_CXX='-berok'
 
14855
          # Determine the default libpath from the value encoded in an empty
 
14856
          # executable.
 
14857
          cat >conftest.$ac_ext <<_ACEOF
 
14858
/* confdefs.h.  */
 
14859
_ACEOF
 
14860
cat confdefs.h >>conftest.$ac_ext
 
14861
cat >>conftest.$ac_ext <<_ACEOF
 
14862
/* end confdefs.h.  */
 
14863
 
 
14864
int
 
14865
main ()
 
14866
{
 
14867
 
 
14868
  ;
 
14869
  return 0;
 
14870
}
 
14871
_ACEOF
 
14872
rm -f conftest.$ac_objext conftest$ac_exeext
 
14873
if { (ac_try="$ac_link"
 
14874
case "(($ac_try" in
 
14875
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14876
  *) ac_try_echo=$ac_try;;
 
14877
esac
 
14878
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14879
$as_echo "$ac_try_echo") >&5
 
14880
  (eval "$ac_link") 2>conftest.er1
 
14881
  ac_status=$?
 
14882
  grep -v '^ *+' conftest.er1 >conftest.err
 
14883
  rm -f conftest.er1
 
14884
  cat conftest.err >&5
 
14885
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14886
  (exit $ac_status); } && {
 
14887
         test -z "$ac_cxx_werror_flag" ||
 
14888
         test ! -s conftest.err
 
14889
       } && test -s conftest$ac_exeext && {
 
14890
         test "$cross_compiling" = yes ||
 
14891
         $as_test_x conftest$ac_exeext
 
14892
       }; then
 
14893
 
 
14894
lt_aix_libpath_sed='
 
14895
    /Import File Strings/,/^$/ {
 
14896
        /^0/ {
 
14897
            s/^0  *\(.*\)$/\1/
 
14898
            p
 
14899
        }
 
14900
    }'
 
14901
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
14902
# Check for a 64-bit object if we didn't find anything.
 
14903
if test -z "$aix_libpath"; then
 
14904
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
14905
fi
 
14906
else
 
14907
  $as_echo "$as_me: failed program was:" >&5
 
14908
sed 's/^/| /' conftest.$ac_ext >&5
 
14909
 
 
14910
 
 
14911
fi
 
14912
 
 
14913
rm -rf conftest.dSYM
 
14914
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
14915
      conftest$ac_exeext conftest.$ac_ext
 
14916
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
14917
 
 
14918
          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
 
14919
 
 
14920
          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"
 
14921
        else
 
14922
          if test "$host_cpu" = ia64; then
 
14923
            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
 
14924
            allow_undefined_flag_CXX="-z nodefs"
 
14925
            archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
 
14926
          else
 
14927
            # Determine the default libpath from the value encoded in an
 
14928
            # empty executable.
 
14929
            cat >conftest.$ac_ext <<_ACEOF
 
14930
/* confdefs.h.  */
 
14931
_ACEOF
 
14932
cat confdefs.h >>conftest.$ac_ext
 
14933
cat >>conftest.$ac_ext <<_ACEOF
 
14934
/* end confdefs.h.  */
 
14935
 
 
14936
int
 
14937
main ()
 
14938
{
 
14939
 
 
14940
  ;
 
14941
  return 0;
 
14942
}
 
14943
_ACEOF
 
14944
rm -f conftest.$ac_objext conftest$ac_exeext
 
14945
if { (ac_try="$ac_link"
 
14946
case "(($ac_try" in
 
14947
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14948
  *) ac_try_echo=$ac_try;;
 
14949
esac
 
14950
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14951
$as_echo "$ac_try_echo") >&5
 
14952
  (eval "$ac_link") 2>conftest.er1
 
14953
  ac_status=$?
 
14954
  grep -v '^ *+' conftest.er1 >conftest.err
 
14955
  rm -f conftest.er1
 
14956
  cat conftest.err >&5
 
14957
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14958
  (exit $ac_status); } && {
 
14959
         test -z "$ac_cxx_werror_flag" ||
 
14960
         test ! -s conftest.err
 
14961
       } && test -s conftest$ac_exeext && {
 
14962
         test "$cross_compiling" = yes ||
 
14963
         $as_test_x conftest$ac_exeext
 
14964
       }; then
 
14965
 
 
14966
lt_aix_libpath_sed='
 
14967
    /Import File Strings/,/^$/ {
 
14968
        /^0/ {
 
14969
            s/^0  *\(.*\)$/\1/
 
14970
            p
 
14971
        }
 
14972
    }'
 
14973
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
14974
# Check for a 64-bit object if we didn't find anything.
 
14975
if test -z "$aix_libpath"; then
 
14976
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
14977
fi
 
14978
else
 
14979
  $as_echo "$as_me: failed program was:" >&5
 
14980
sed 's/^/| /' conftest.$ac_ext >&5
 
14981
 
 
14982
 
 
14983
fi
 
14984
 
 
14985
rm -rf conftest.dSYM
 
14986
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
14987
      conftest$ac_exeext conftest.$ac_ext
 
14988
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
14989
 
 
14990
            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
 
14991
            # Warning - without using the other run time loading flags,
 
14992
            # -berok will link without error, but may produce a broken library.
 
14993
            no_undefined_flag_CXX=' ${wl}-bernotok'
 
14994
            allow_undefined_flag_CXX=' ${wl}-berok'
 
14995
            # Exported symbols can be pulled into shared objects from archives
 
14996
            whole_archive_flag_spec_CXX='$convenience'
 
14997
            archive_cmds_need_lc_CXX=yes
 
14998
            # This is similar to how AIX traditionally builds its shared
 
14999
            # libraries.
 
15000
            archive_expsym_cmds_CXX="\$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'
 
15001
          fi
 
15002
        fi
 
15003
        ;;
 
15004
 
 
15005
      beos*)
 
15006
        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
15007
          allow_undefined_flag_CXX=unsupported
 
15008
          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
15009
          # support --undefined.  This deserves some investigation.  FIXME
 
15010
          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
15011
        else
 
15012
          ld_shlibs_CXX=no
 
15013
        fi
 
15014
        ;;
 
15015
 
 
15016
      chorus*)
 
15017
        case $cc_basename in
 
15018
          *)
 
15019
          # FIXME: insert proper C++ library support
 
15020
          ld_shlibs_CXX=no
 
15021
          ;;
 
15022
        esac
 
15023
        ;;
 
15024
 
 
15025
      cygwin* | mingw* | pw32* | cegcc*)
 
15026
        # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
 
15027
        # as there is no search path for DLLs.
 
15028
        hardcode_libdir_flag_spec_CXX='-L$libdir'
 
15029
        allow_undefined_flag_CXX=unsupported
 
15030
        always_export_symbols_CXX=no
 
15031
        enable_shared_with_static_runtimes_CXX=yes
 
15032
 
 
15033
        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
15034
          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'
 
15035
          # If the export-symbols file already is a .def file (1st line
 
15036
          # is EXPORTS), use it as is; otherwise, prepend...
 
15037
          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
15038
            cp $export_symbols $output_objdir/$soname.def;
 
15039
          else
 
15040
            echo EXPORTS > $output_objdir/$soname.def;
 
15041
            cat $export_symbols >> $output_objdir/$soname.def;
 
15042
          fi~
 
15043
          $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'
 
15044
        else
 
15045
          ld_shlibs_CXX=no
 
15046
        fi
 
15047
        ;;
 
15048
      darwin* | rhapsody*)
 
15049
 
 
15050
 
 
15051
  archive_cmds_need_lc_CXX=no
 
15052
  hardcode_direct_CXX=no
 
15053
  hardcode_automatic_CXX=yes
 
15054
  hardcode_shlibpath_var_CXX=unsupported
 
15055
  whole_archive_flag_spec_CXX=''
 
15056
  link_all_deplibs_CXX=yes
 
15057
  allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
 
15058
  case $cc_basename in
 
15059
     ifort*) _lt_dar_can_shared=yes ;;
 
15060
     *) _lt_dar_can_shared=$GCC ;;
 
15061
  esac
 
15062
  if test "$_lt_dar_can_shared" = "yes"; then
 
15063
    output_verbose_link_cmd=echo
 
15064
    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}"
 
15065
    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
15066
    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}"
 
15067
    module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
 
15068
       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
 
15069
      archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
 
15070
      archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
 
15071
    fi
 
15072
 
 
15073
  else
 
15074
  ld_shlibs_CXX=no
 
15075
  fi
 
15076
 
 
15077
        ;;
 
15078
 
 
15079
      dgux*)
 
15080
        case $cc_basename in
 
15081
          ec++*)
 
15082
            # FIXME: insert proper C++ library support
 
15083
            ld_shlibs_CXX=no
 
15084
            ;;
 
15085
          ghcx*)
 
15086
            # Green Hills C++ Compiler
 
15087
            # FIXME: insert proper C++ library support
 
15088
            ld_shlibs_CXX=no
 
15089
            ;;
 
15090
          *)
 
15091
            # FIXME: insert proper C++ library support
 
15092
            ld_shlibs_CXX=no
 
15093
            ;;
 
15094
        esac
 
15095
        ;;
 
15096
 
 
15097
      freebsd[12]*)
 
15098
        # C++ shared libraries reported to be fairly broken before
 
15099
        # switch to ELF
 
15100
        ld_shlibs_CXX=no
 
15101
        ;;
 
15102
 
 
15103
      freebsd-elf*)
 
15104
        archive_cmds_need_lc_CXX=no
 
15105
        ;;
 
15106
 
 
15107
      freebsd* | dragonfly*)
 
15108
        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
 
15109
        # conventions
 
15110
        ld_shlibs_CXX=yes
 
15111
        ;;
 
15112
 
 
15113
      gnu*)
 
15114
        ;;
 
15115
 
 
15116
      hpux9*)
 
15117
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
15118
        hardcode_libdir_separator_CXX=:
 
15119
        export_dynamic_flag_spec_CXX='${wl}-E'
 
15120
        hardcode_direct_CXX=yes
 
15121
        hardcode_minus_L_CXX=yes # Not in the search PATH,
 
15122
                                             # but as the default
 
15123
                                             # location of the library.
 
15124
 
 
15125
        case $cc_basename in
 
15126
          CC*)
 
15127
            # FIXME: insert proper C++ library support
 
15128
            ld_shlibs_CXX=no
 
15129
            ;;
 
15130
          aCC*)
 
15131
            archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${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'
 
15132
            # Commands to make compiler produce verbose output that lists
 
15133
            # what "hidden" libraries, object files and flags are used when
 
15134
            # linking a shared library.
 
15135
            #
 
15136
            # There doesn't appear to be a way to prevent this compiler from
 
15137
            # explicitly linking system object files so we need to strip them
 
15138
            # from the output so that they don't get included in the library
 
15139
            # dependencies.
 
15140
            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'
 
15141
            ;;
 
15142
          *)
 
15143
            if test "$GXX" = yes; then
 
15144
              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'
 
15145
            else
 
15146
              # FIXME: insert proper C++ library support
 
15147
              ld_shlibs_CXX=no
 
15148
            fi
 
15149
            ;;
 
15150
        esac
 
15151
        ;;
 
15152
 
 
15153
      hpux10*|hpux11*)
 
15154
        if test $with_gnu_ld = no; then
 
15155
          hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
15156
          hardcode_libdir_separator_CXX=:
 
15157
 
 
15158
          case $host_cpu in
 
15159
            hppa*64*|ia64*)
 
15160
              ;;
 
15161
            *)
 
15162
              export_dynamic_flag_spec_CXX='${wl}-E'
 
15163
              ;;
 
15164
          esac
 
15165
        fi
 
15166
        case $host_cpu in
 
15167
          hppa*64*|ia64*)
 
15168
            hardcode_direct_CXX=no
 
15169
            hardcode_shlibpath_var_CXX=no
 
15170
            ;;
 
15171
          *)
 
15172
            hardcode_direct_CXX=yes
 
15173
            hardcode_direct_absolute_CXX=yes
 
15174
            hardcode_minus_L_CXX=yes # Not in the search PATH,
 
15175
                                                 # but as the default
 
15176
                                                 # location of the library.
 
15177
            ;;
 
15178
        esac
 
15179
 
 
15180
        case $cc_basename in
 
15181
          CC*)
 
15182
            # FIXME: insert proper C++ library support
 
15183
            ld_shlibs_CXX=no
 
15184
            ;;
 
15185
          aCC*)
 
15186
            case $host_cpu in
 
15187
              hppa*64*)
 
15188
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
15189
                ;;
 
15190
              ia64*)
 
15191
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
15192
                ;;
 
15193
              *)
 
15194
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
15195
                ;;
 
15196
            esac
 
15197
            # Commands to make compiler produce verbose output that lists
 
15198
            # what "hidden" libraries, object files and flags are used when
 
15199
            # linking a shared library.
 
15200
            #
 
15201
            # There doesn't appear to be a way to prevent this compiler from
 
15202
            # explicitly linking system object files so we need to strip them
 
15203
            # from the output so that they don't get included in the library
 
15204
            # dependencies.
 
15205
            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'
 
15206
            ;;
 
15207
          *)
 
15208
            if test "$GXX" = yes; then
 
15209
              if test $with_gnu_ld = no; then
 
15210
                case $host_cpu in
 
15211
                  hppa*64*)
 
15212
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
15213
                    ;;
 
15214
                  ia64*)
 
15215
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
15216
                    ;;
 
15217
                  *)
 
15218
                    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'
 
15219
                    ;;
 
15220
                esac
 
15221
              fi
 
15222
            else
 
15223
              # FIXME: insert proper C++ library support
 
15224
              ld_shlibs_CXX=no
 
15225
            fi
 
15226
            ;;
 
15227
        esac
 
15228
        ;;
 
15229
 
 
15230
      interix[3-9]*)
 
15231
        hardcode_direct_CXX=no
 
15232
        hardcode_shlibpath_var_CXX=no
 
15233
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13832
15234
        export_dynamic_flag_spec_CXX='${wl}-E'
13833
 
        ;;
13834
 
      esac
13835
 
    fi
13836
 
    case $host_cpu in
13837
 
    hppa*64*|ia64*)
13838
 
      hardcode_direct_CXX=no
 
15235
        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
15236
        # Instead, shared libraries are loaded at an image base (0x10000000 by
 
15237
        # default) and relocated if they conflict, which is a slow very memory
 
15238
        # consuming and fragmenting process.  To avoid this, we pick a random,
 
15239
        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
15240
        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
15241
        archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
15242
        archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
15243
        ;;
 
15244
      irix5* | irix6*)
 
15245
        case $cc_basename in
 
15246
          CC*)
 
15247
            # SGI C++
 
15248
            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'
 
15249
 
 
15250
            # Archives containing C++ object files must be created using
 
15251
            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
 
15252
            # necessary to make sure instantiated templates are included
 
15253
            # in the archive.
 
15254
            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
 
15255
            ;;
 
15256
          *)
 
15257
            if test "$GXX" = yes; then
 
15258
              if test "$with_gnu_ld" = no; then
 
15259
                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'
 
15260
              else
 
15261
                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'
 
15262
              fi
 
15263
            fi
 
15264
            link_all_deplibs_CXX=yes
 
15265
            ;;
 
15266
        esac
 
15267
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
15268
        hardcode_libdir_separator_CXX=:
 
15269
        inherit_rpath_CXX=yes
 
15270
        ;;
 
15271
 
 
15272
      linux* | k*bsd*-gnu)
 
15273
        case $cc_basename in
 
15274
          KCC*)
 
15275
            # Kuck and Associates, Inc. (KAI) C++ Compiler
 
15276
 
 
15277
            # KCC will only create a shared library if the output file
 
15278
            # ends with ".so" (or ".sl" for HP-UX), so rename the library
 
15279
            # to its proper name (with version) after linking.
 
15280
            archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
 
15281
            archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
 
15282
            # Commands to make compiler produce verbose output that lists
 
15283
            # what "hidden" libraries, object files and flags are used when
 
15284
            # linking a shared library.
 
15285
            #
 
15286
            # There doesn't appear to be a way to prevent this compiler from
 
15287
            # explicitly linking system object files so we need to strip them
 
15288
            # from the output so that they don't get included in the library
 
15289
            # dependencies.
 
15290
            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'
 
15291
 
 
15292
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
15293
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
15294
 
 
15295
            # Archives containing C++ object files must be created using
 
15296
            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
 
15297
            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
 
15298
            ;;
 
15299
          icpc* | ecpc* )
 
15300
            # Intel C++
 
15301
            with_gnu_ld=yes
 
15302
            # version 8.0 and above of icpc choke on multiply defined symbols
 
15303
            # if we add $predep_objects and $postdep_objects, however 7.1 and
 
15304
            # earlier do not add the objects themselves.
 
15305
            case `$CC -V 2>&1` in
 
15306
              *"Version 7."*)
 
15307
                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
15308
                archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
15309
                ;;
 
15310
              *)  # Version 8.0 or newer
 
15311
                tmp_idyn=
 
15312
                case $host_cpu in
 
15313
                  ia64*) tmp_idyn=' -i_dynamic';;
 
15314
                esac
 
15315
                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
15316
                archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
15317
                ;;
 
15318
            esac
 
15319
            archive_cmds_need_lc_CXX=no
 
15320
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
15321
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
15322
            whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
15323
            ;;
 
15324
          pgCC* | pgcpp*)
 
15325
            # Portland Group C++ compiler
 
15326
            case `$CC -V` in
 
15327
            *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
 
15328
              prelink_cmds_CXX='tpldir=Template.dir~
 
15329
                rm -rf $tpldir~
 
15330
                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
 
15331
                compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
 
15332
              old_archive_cmds_CXX='tpldir=Template.dir~
 
15333
                rm -rf $tpldir~
 
15334
                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
 
15335
                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
 
15336
                $RANLIB $oldlib'
 
15337
              archive_cmds_CXX='tpldir=Template.dir~
 
15338
                rm -rf $tpldir~
 
15339
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
 
15340
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
15341
              archive_expsym_cmds_CXX='tpldir=Template.dir~
 
15342
                rm -rf $tpldir~
 
15343
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
 
15344
                $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'
 
15345
              ;;
 
15346
            *) # Version 6 will use weak symbols
 
15347
              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
15348
              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'
 
15349
              ;;
 
15350
            esac
 
15351
 
 
15352
            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
 
15353
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
15354
            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'
 
15355
            ;;
 
15356
          cxx*)
 
15357
            # Compaq C++
 
15358
            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
15359
            archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
 
15360
 
 
15361
            runpath_var=LD_RUN_PATH
 
15362
            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
 
15363
            hardcode_libdir_separator_CXX=:
 
15364
 
 
15365
            # Commands to make compiler produce verbose output that lists
 
15366
            # what "hidden" libraries, object files and flags are used when
 
15367
            # linking a shared library.
 
15368
            #
 
15369
            # There doesn't appear to be a way to prevent this compiler from
 
15370
            # explicitly linking system object files so we need to strip them
 
15371
            # from the output so that they don't get included in the library
 
15372
            # dependencies.
 
15373
            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'
 
15374
            ;;
 
15375
          xl*)
 
15376
            # IBM XL 8.0 on PPC, with GNU ld
 
15377
            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
15378
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
15379
            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
15380
            if test "x$supports_anon_versioning" = xyes; then
 
15381
              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
 
15382
                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
15383
                echo "local: *; };" >> $output_objdir/$libname.ver~
 
15384
                $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
15385
            fi
 
15386
            ;;
 
15387
          *)
 
15388
            case `$CC -V 2>&1 | sed 5q` in
 
15389
            *Sun\ C*)
 
15390
              # Sun C++ 5.9
 
15391
              no_undefined_flag_CXX=' -zdefs'
 
15392
              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
15393
              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'
 
15394
              hardcode_libdir_flag_spec_CXX='-R$libdir'
 
15395
              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'
 
15396
              compiler_needs_object_CXX=yes
 
15397
 
 
15398
              # Not sure whether something based on
 
15399
              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
 
15400
              # would be better.
 
15401
              output_verbose_link_cmd='echo'
 
15402
 
 
15403
              # Archives containing C++ object files must be created using
 
15404
              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
15405
              # necessary to make sure instantiated templates are included
 
15406
              # in the archive.
 
15407
              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
15408
              ;;
 
15409
            esac
 
15410
            ;;
 
15411
        esac
 
15412
        ;;
 
15413
 
 
15414
      lynxos*)
 
15415
        # FIXME: insert proper C++ library support
 
15416
        ld_shlibs_CXX=no
 
15417
        ;;
 
15418
 
 
15419
      m88k*)
 
15420
        # FIXME: insert proper C++ library support
 
15421
        ld_shlibs_CXX=no
 
15422
        ;;
 
15423
 
 
15424
      mvs*)
 
15425
        case $cc_basename in
 
15426
          cxx*)
 
15427
            # FIXME: insert proper C++ library support
 
15428
            ld_shlibs_CXX=no
 
15429
            ;;
 
15430
          *)
 
15431
            # FIXME: insert proper C++ library support
 
15432
            ld_shlibs_CXX=no
 
15433
            ;;
 
15434
        esac
 
15435
        ;;
 
15436
 
 
15437
      netbsd*)
 
15438
        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
15439
          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
 
15440
          wlarc=
 
15441
          hardcode_libdir_flag_spec_CXX='-R$libdir'
 
15442
          hardcode_direct_CXX=yes
 
15443
          hardcode_shlibpath_var_CXX=no
 
15444
        fi
 
15445
        # Workaround some broken pre-1.5 toolchains
 
15446
        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
 
15447
        ;;
 
15448
 
 
15449
      *nto* | *qnx*)
 
15450
        ld_shlibs_CXX=yes
 
15451
        ;;
 
15452
 
 
15453
      openbsd2*)
 
15454
        # C++ shared libraries are fairly broken
 
15455
        ld_shlibs_CXX=no
 
15456
        ;;
 
15457
 
 
15458
      openbsd*)
 
15459
        if test -f /usr/libexec/ld.so; then
 
15460
          hardcode_direct_CXX=yes
 
15461
          hardcode_shlibpath_var_CXX=no
 
15462
          hardcode_direct_absolute_CXX=yes
 
15463
          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
15464
          hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
15465
          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
15466
            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 
15467
            export_dynamic_flag_spec_CXX='${wl}-E'
 
15468
            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
15469
          fi
 
15470
          output_verbose_link_cmd=echo
 
15471
        else
 
15472
          ld_shlibs_CXX=no
 
15473
        fi
 
15474
        ;;
 
15475
 
 
15476
      osf3* | osf4* | osf5*)
 
15477
        case $cc_basename in
 
15478
          KCC*)
 
15479
            # Kuck and Associates, Inc. (KAI) C++ Compiler
 
15480
 
 
15481
            # KCC will only create a shared library if the output file
 
15482
            # ends with ".so" (or ".sl" for HP-UX), so rename the library
 
15483
            # to its proper name (with version) after linking.
 
15484
            archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
 
15485
 
 
15486
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
15487
            hardcode_libdir_separator_CXX=:
 
15488
 
 
15489
            # Archives containing C++ object files must be created using
 
15490
            # the KAI C++ compiler.
 
15491
            case $host in
 
15492
              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
 
15493
              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
 
15494
            esac
 
15495
            ;;
 
15496
          RCC*)
 
15497
            # Rational C++ 2.4.1
 
15498
            # FIXME: insert proper C++ library support
 
15499
            ld_shlibs_CXX=no
 
15500
            ;;
 
15501
          cxx*)
 
15502
            case $host in
 
15503
              osf3*)
 
15504
                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 
15505
                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'
 
15506
                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
15507
                ;;
 
15508
              *)
 
15509
                allow_undefined_flag_CXX=' -expect_unresolved \*'
 
15510
                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'
 
15511
                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
 
15512
                  echo "-hidden">> $lib.exp~
 
15513
                  $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~
 
15514
                  $RM $lib.exp'
 
15515
                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
 
15516
                ;;
 
15517
            esac
 
15518
 
 
15519
            hardcode_libdir_separator_CXX=:
 
15520
 
 
15521
            # Commands to make compiler produce verbose output that lists
 
15522
            # what "hidden" libraries, object files and flags are used when
 
15523
            # linking a shared library.
 
15524
            #
 
15525
            # There doesn't appear to be a way to prevent this compiler from
 
15526
            # explicitly linking system object files so we need to strip them
 
15527
            # from the output so that they don't get included in the library
 
15528
            # dependencies.
 
15529
            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'
 
15530
            ;;
 
15531
          *)
 
15532
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
15533
              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 
15534
              case $host in
 
15535
                osf3*)
 
15536
                  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'
 
15537
                  ;;
 
15538
                *)
 
15539
                  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'
 
15540
                  ;;
 
15541
              esac
 
15542
 
 
15543
              hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
15544
              hardcode_libdir_separator_CXX=:
 
15545
 
 
15546
              # Commands to make compiler produce verbose output that lists
 
15547
              # what "hidden" libraries, object files and flags are used when
 
15548
              # linking a shared library.
 
15549
              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
15550
 
 
15551
            else
 
15552
              # FIXME: insert proper C++ library support
 
15553
              ld_shlibs_CXX=no
 
15554
            fi
 
15555
            ;;
 
15556
        esac
 
15557
        ;;
 
15558
 
 
15559
      psos*)
 
15560
        # FIXME: insert proper C++ library support
 
15561
        ld_shlibs_CXX=no
 
15562
        ;;
 
15563
 
 
15564
      sunos4*)
 
15565
        case $cc_basename in
 
15566
          CC*)
 
15567
            # Sun C++ 4.x
 
15568
            # FIXME: insert proper C++ library support
 
15569
            ld_shlibs_CXX=no
 
15570
            ;;
 
15571
          lcc*)
 
15572
            # Lucid
 
15573
            # FIXME: insert proper C++ library support
 
15574
            ld_shlibs_CXX=no
 
15575
            ;;
 
15576
          *)
 
15577
            # FIXME: insert proper C++ library support
 
15578
            ld_shlibs_CXX=no
 
15579
            ;;
 
15580
        esac
 
15581
        ;;
 
15582
 
 
15583
      solaris*)
 
15584
        case $cc_basename in
 
15585
          CC*)
 
15586
            # Sun C++ 4.2, 5.x and Centerline C++
 
15587
            archive_cmds_need_lc_CXX=yes
 
15588
            no_undefined_flag_CXX=' -zdefs'
 
15589
            archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
15590
            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
15591
              $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
15592
 
 
15593
            hardcode_libdir_flag_spec_CXX='-R$libdir'
 
15594
            hardcode_shlibpath_var_CXX=no
 
15595
            case $host_os in
 
15596
              solaris2.[0-5] | solaris2.[0-5].*) ;;
 
15597
              *)
 
15598
                # The compiler driver will combine and reorder linker options,
 
15599
                # but understands `-z linker_flag'.
 
15600
                # Supported since Solaris 2.6 (maybe 2.5.1?)
 
15601
                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
 
15602
                ;;
 
15603
            esac
 
15604
            link_all_deplibs_CXX=yes
 
15605
 
 
15606
            output_verbose_link_cmd='echo'
 
15607
 
 
15608
            # Archives containing C++ object files must be created using
 
15609
            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
15610
            # necessary to make sure instantiated templates are included
 
15611
            # in the archive.
 
15612
            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
15613
            ;;
 
15614
          gcx*)
 
15615
            # Green Hills C++ Compiler
 
15616
            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
15617
 
 
15618
            # The C++ compiler must be used to create the archive.
 
15619
            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
 
15620
            ;;
 
15621
          *)
 
15622
            # GNU C++ compiler with Solaris linker
 
15623
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
15624
              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
 
15625
              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
 
15626
                archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
15627
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
15628
                  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
15629
 
 
15630
                # Commands to make compiler produce verbose output that lists
 
15631
                # what "hidden" libraries, object files and flags are used when
 
15632
                # linking a shared library.
 
15633
                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
15634
              else
 
15635
                # g++ 2.7 appears to require `-G' NOT `-shared' on this
 
15636
                # platform.
 
15637
                archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
15638
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
15639
                  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
15640
 
 
15641
                # Commands to make compiler produce verbose output that lists
 
15642
                # what "hidden" libraries, object files and flags are used when
 
15643
                # linking a shared library.
 
15644
                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
15645
              fi
 
15646
 
 
15647
              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
 
15648
              case $host_os in
 
15649
                solaris2.[0-5] | solaris2.[0-5].*) ;;
 
15650
                *)
 
15651
                  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
15652
                  ;;
 
15653
              esac
 
15654
            fi
 
15655
            ;;
 
15656
        esac
 
15657
        ;;
 
15658
 
 
15659
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
15660
      no_undefined_flag_CXX='${wl}-z,text'
 
15661
      archive_cmds_need_lc_CXX=no
13839
15662
      hardcode_shlibpath_var_CXX=no
13840
 
      ;;
13841
 
    *)
13842
 
      hardcode_direct_CXX=yes
13843
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
13844
 
                                              # but as the default
13845
 
                                              # location of the library.
13846
 
      ;;
13847
 
    esac
 
15663
      runpath_var='LD_RUN_PATH'
13848
15664
 
13849
 
    case $cc_basename in
13850
 
      CC*)
13851
 
        # FIXME: insert proper C++ library support
13852
 
        ld_shlibs_CXX=no
13853
 
        ;;
13854
 
      aCC*)
13855
 
        case $host_cpu in
13856
 
        hppa*64*)
13857
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13858
 
          ;;
13859
 
        ia64*)
13860
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
15665
      case $cc_basename in
 
15666
        CC*)
 
15667
          archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15668
          archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13861
15669
          ;;
13862
15670
        *)
13863
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13864
 
          ;;
13865
 
        esac
13866
 
        # Commands to make compiler produce verbose output that lists
13867
 
        # what "hidden" libraries, object files and flags are used when
13868
 
        # linking a shared library.
13869
 
        #
13870
 
        # There doesn't appear to be a way to prevent this compiler from
13871
 
        # explicitly linking system object files so we need to strip them
13872
 
        # from the output so that they don't get included in the library
13873
 
        # dependencies.
13874
 
        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 $list'
13875
 
        ;;
13876
 
      *)
13877
 
        if test "$GXX" = yes; then
13878
 
          if test $with_gnu_ld = no; then
13879
 
            case $host_cpu in
13880
 
            hppa*64*)
13881
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13882
 
              ;;
13883
 
            ia64*)
13884
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13885
 
              ;;
13886
 
            *)
13887
 
              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'
13888
 
              ;;
13889
 
            esac
13890
 
          fi
13891
 
        else
13892
 
          # FIXME: insert proper C++ library support
13893
 
          ld_shlibs_CXX=no
13894
 
        fi
13895
 
        ;;
13896
 
    esac
13897
 
    ;;
13898
 
  interix[3-9]*)
13899
 
    hardcode_direct_CXX=no
13900
 
    hardcode_shlibpath_var_CXX=no
13901
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13902
 
    export_dynamic_flag_spec_CXX='${wl}-E'
13903
 
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13904
 
    # Instead, shared libraries are loaded at an image base (0x10000000 by
13905
 
    # default) and relocated if they conflict, which is a slow very memory
13906
 
    # consuming and fragmenting process.  To avoid this, we pick a random,
13907
 
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13908
 
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
13909
 
    archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13910
 
    archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13911
 
    ;;
13912
 
  irix5* | irix6*)
13913
 
    case $cc_basename in
13914
 
      CC*)
13915
 
        # SGI C++
13916
 
        archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
13917
 
 
13918
 
        # Archives containing C++ object files must be created using
13919
 
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
13920
 
        # necessary to make sure instantiated templates are included
13921
 
        # in the archive.
13922
 
        old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13923
 
        ;;
13924
 
      *)
13925
 
        if test "$GXX" = yes; then
13926
 
          if test "$with_gnu_ld" = no; then
13927
 
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13928
 
          else
13929
 
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
13930
 
          fi
13931
 
        fi
13932
 
        link_all_deplibs_CXX=yes
13933
 
        ;;
13934
 
    esac
13935
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13936
 
    hardcode_libdir_separator_CXX=:
13937
 
    ;;
13938
 
  linux* | k*bsd*-gnu)
13939
 
    case $cc_basename in
13940
 
      KCC*)
13941
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
13942
 
 
13943
 
        # KCC will only create a shared library if the output file
13944
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
13945
 
        # to its proper name (with version) after linking.
13946
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13947
 
        archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
13948
 
        # Commands to make compiler produce verbose output that lists
13949
 
        # what "hidden" libraries, object files and flags are used when
13950
 
        # linking a shared library.
13951
 
        #
13952
 
        # There doesn't appear to be a way to prevent this compiler from
13953
 
        # explicitly linking system object files so we need to strip them
13954
 
        # from the output so that they don't get included in the library
13955
 
        # dependencies.
13956
 
        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 $list'
13957
 
 
13958
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
13959
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13960
 
 
13961
 
        # Archives containing C++ object files must be created using
13962
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13963
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13964
 
        ;;
13965
 
      icpc*)
13966
 
        # Intel C++
13967
 
        with_gnu_ld=yes
13968
 
        # version 8.0 and above of icpc choke on multiply defined symbols
13969
 
        # if we add $predep_objects and $postdep_objects, however 7.1 and
13970
 
        # earlier do not add the objects themselves.
13971
 
        case `$CC -V 2>&1` in
13972
 
        *"Version 7."*)
13973
 
          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13974
 
          archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13975
 
          ;;
13976
 
        *)  # Version 8.0 or newer
13977
 
          tmp_idyn=
13978
 
          case $host_cpu in
13979
 
            ia64*) tmp_idyn=' -i_dynamic';;
13980
 
          esac
13981
 
          archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13982
 
          archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13983
 
          ;;
13984
 
        esac
 
15671
          archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15672
          archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15673
          ;;
 
15674
      esac
 
15675
      ;;
 
15676
 
 
15677
      sysv5* | sco3.2v5* | sco5v6*)
 
15678
        # Note: We can NOT use -z defs as we might desire, because we do not
 
15679
        # link with -lc, and that would cause any symbols used from libc to
 
15680
        # always be unresolved, which means just about no library would
 
15681
        # ever link correctly.  If we're not using GNU ld we use -z text
 
15682
        # though, which does catch some bad symbols but isn't as heavy-handed
 
15683
        # as -z defs.
 
15684
        no_undefined_flag_CXX='${wl}-z,text'
 
15685
        allow_undefined_flag_CXX='${wl}-z,nodefs'
13985
15686
        archive_cmds_need_lc_CXX=no
13986
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13987
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13988
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13989
 
        ;;
13990
 
      pgCC* | pgcpp*)
13991
 
        # Portland Group C++ compiler
13992
 
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13993
 
        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'
13994
 
 
13995
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13996
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13997
 
        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'
13998
 
        ;;
13999
 
      cxx*)
14000
 
        # Compaq C++
14001
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14002
 
        archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
14003
 
 
14004
 
        runpath_var=LD_RUN_PATH
14005
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14006
 
        hardcode_libdir_separator_CXX=:
14007
 
 
14008
 
        # Commands to make compiler produce verbose output that lists
14009
 
        # what "hidden" libraries, object files and flags are used when
14010
 
        # linking a shared library.
14011
 
        #
14012
 
        # There doesn't appear to be a way to prevent this compiler from
14013
 
        # explicitly linking system object files so we need to strip them
14014
 
        # from the output so that they don't get included in the library
14015
 
        # dependencies.
14016
 
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $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; echo $list'
14017
 
        ;;
14018
 
      *)
14019
 
        case `$CC -V 2>&1 | sed 5q` in
14020
 
        *Sun\ C*)
14021
 
          # Sun C++ 5.9
14022
 
          no_undefined_flag_CXX=' -zdefs'
14023
 
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14024
 
          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'
14025
 
          hardcode_libdir_flag_spec_CXX='-R$libdir'
14026
 
          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'
14027
 
 
14028
 
          # Not sure whether something based on
14029
 
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14030
 
          # would be better.
14031
 
          output_verbose_link_cmd='echo'
14032
 
 
14033
 
          # Archives containing C++ object files must be created using
14034
 
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14035
 
          # necessary to make sure instantiated templates are included
14036
 
          # in the archive.
14037
 
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14038
 
          ;;
14039
 
        esac
14040
 
        ;;
14041
 
    esac
14042
 
    ;;
14043
 
  lynxos*)
14044
 
    # FIXME: insert proper C++ library support
14045
 
    ld_shlibs_CXX=no
14046
 
    ;;
14047
 
  m88k*)
14048
 
    # FIXME: insert proper C++ library support
14049
 
    ld_shlibs_CXX=no
14050
 
    ;;
14051
 
  mvs*)
14052
 
    case $cc_basename in
14053
 
      cxx*)
14054
 
        # FIXME: insert proper C++ library support
14055
 
        ld_shlibs_CXX=no
14056
 
        ;;
14057
 
      *)
14058
 
        # FIXME: insert proper C++ library support
14059
 
        ld_shlibs_CXX=no
14060
 
        ;;
14061
 
    esac
14062
 
    ;;
14063
 
  netbsd*)
14064
 
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14065
 
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14066
 
      wlarc=
14067
 
      hardcode_libdir_flag_spec_CXX='-R$libdir'
14068
 
      hardcode_direct_CXX=yes
14069
 
      hardcode_shlibpath_var_CXX=no
14070
 
    fi
14071
 
    # Workaround some broken pre-1.5 toolchains
14072
 
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14073
 
    ;;
14074
 
  openbsd2*)
14075
 
    # C++ shared libraries are fairly broken
14076
 
    ld_shlibs_CXX=no
14077
 
    ;;
14078
 
  openbsd*)
14079
 
    if test -f /usr/libexec/ld.so; then
14080
 
      hardcode_direct_CXX=yes
14081
 
      hardcode_shlibpath_var_CXX=no
14082
 
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14083
 
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14084
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14085
 
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14086
 
        export_dynamic_flag_spec_CXX='${wl}-E'
14087
 
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14088
 
      fi
14089
 
      output_verbose_link_cmd='echo'
14090
 
    else
14091
 
      ld_shlibs_CXX=no
14092
 
    fi
14093
 
    ;;
14094
 
  osf3*)
14095
 
    case $cc_basename in
14096
 
      KCC*)
14097
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
14098
 
 
14099
 
        # KCC will only create a shared library if the output file
14100
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
14101
 
        # to its proper name (with version) after linking.
14102
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
14103
 
 
14104
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14105
 
        hardcode_libdir_separator_CXX=:
14106
 
 
14107
 
        # Archives containing C++ object files must be created using
14108
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14109
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14110
 
 
14111
 
        ;;
14112
 
      RCC*)
14113
 
        # Rational C++ 2.4.1
14114
 
        # FIXME: insert proper C++ library support
14115
 
        ld_shlibs_CXX=no
14116
 
        ;;
14117
 
      cxx*)
14118
 
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14119
 
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14120
 
 
14121
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14122
 
        hardcode_libdir_separator_CXX=:
14123
 
 
14124
 
        # Commands to make compiler produce verbose output that lists
14125
 
        # what "hidden" libraries, object files and flags are used when
14126
 
        # linking a shared library.
14127
 
        #
14128
 
        # There doesn't appear to be a way to prevent this compiler from
14129
 
        # explicitly linking system object files so we need to strip them
14130
 
        # from the output so that they don't get included in the library
14131
 
        # dependencies.
14132
 
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $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; echo $list'
14133
 
        ;;
14134
 
      *)
14135
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14136
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14137
 
          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 ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14138
 
 
14139
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14140
 
          hardcode_libdir_separator_CXX=:
14141
 
 
14142
 
          # Commands to make compiler produce verbose output that lists
14143
 
          # what "hidden" libraries, object files and flags are used when
14144
 
          # linking a shared library.
14145
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
14146
 
 
14147
 
        else
14148
 
          # FIXME: insert proper C++ library support
14149
 
          ld_shlibs_CXX=no
14150
 
        fi
14151
 
        ;;
14152
 
    esac
14153
 
    ;;
14154
 
  osf4* | osf5*)
14155
 
    case $cc_basename in
14156
 
      KCC*)
14157
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
14158
 
 
14159
 
        # KCC will only create a shared library if the output file
14160
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
14161
 
        # to its proper name (with version) after linking.
14162
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
14163
 
 
14164
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14165
 
        hardcode_libdir_separator_CXX=:
14166
 
 
14167
 
        # Archives containing C++ object files must be created using
14168
 
        # the KAI C++ compiler.
14169
 
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
14170
 
        ;;
14171
 
      RCC*)
14172
 
        # Rational C++ 2.4.1
14173
 
        # FIXME: insert proper C++ library support
14174
 
        ld_shlibs_CXX=no
14175
 
        ;;
14176
 
      cxx*)
14177
 
        allow_undefined_flag_CXX=' -expect_unresolved \*'
14178
 
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14179
 
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14180
 
          echo "-hidden">> $lib.exp~
14181
 
          $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~
14182
 
          $rm $lib.exp'
14183
 
 
14184
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14185
 
        hardcode_libdir_separator_CXX=:
14186
 
 
14187
 
        # Commands to make compiler produce verbose output that lists
14188
 
        # what "hidden" libraries, object files and flags are used when
14189
 
        # linking a shared library.
14190
 
        #
14191
 
        # There doesn't appear to be a way to prevent this compiler from
14192
 
        # explicitly linking system object files so we need to strip them
14193
 
        # from the output so that they don't get included in the library
14194
 
        # dependencies.
14195
 
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $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; echo $list'
14196
 
        ;;
14197
 
      *)
14198
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14199
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14200
 
         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` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14201
 
 
14202
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14203
 
          hardcode_libdir_separator_CXX=:
14204
 
 
14205
 
          # Commands to make compiler produce verbose output that lists
14206
 
          # what "hidden" libraries, object files and flags are used when
14207
 
          # linking a shared library.
14208
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
14209
 
 
14210
 
        else
14211
 
          # FIXME: insert proper C++ library support
14212
 
          ld_shlibs_CXX=no
14213
 
        fi
14214
 
        ;;
14215
 
    esac
14216
 
    ;;
14217
 
  psos*)
14218
 
    # FIXME: insert proper C++ library support
14219
 
    ld_shlibs_CXX=no
14220
 
    ;;
14221
 
  sunos4*)
14222
 
    case $cc_basename in
14223
 
      CC*)
14224
 
        # Sun C++ 4.x
14225
 
        # FIXME: insert proper C++ library support
14226
 
        ld_shlibs_CXX=no
14227
 
        ;;
14228
 
      lcc*)
14229
 
        # Lucid
14230
 
        # FIXME: insert proper C++ library support
14231
 
        ld_shlibs_CXX=no
14232
 
        ;;
14233
 
      *)
14234
 
        # FIXME: insert proper C++ library support
14235
 
        ld_shlibs_CXX=no
14236
 
        ;;
14237
 
    esac
14238
 
    ;;
14239
 
  solaris*)
14240
 
    case $cc_basename in
14241
 
      CC*)
14242
 
        # Sun C++ 4.2, 5.x and Centerline C++
14243
 
        archive_cmds_need_lc_CXX=yes
14244
 
        no_undefined_flag_CXX=' -zdefs'
14245
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14246
 
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14247
 
        $CC -G${allow_undefined_flag}  ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
14248
 
 
14249
 
        hardcode_libdir_flag_spec_CXX='-R$libdir'
14250
15687
        hardcode_shlibpath_var_CXX=no
14251
 
        case $host_os in
14252
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
14253
 
          *)
14254
 
            # The compiler driver will combine and reorder linker options,
14255
 
            # but understands `-z linker_flag'.
14256
 
            # Supported since Solaris 2.6 (maybe 2.5.1?)
14257
 
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14258
 
            ;;
14259
 
        esac
 
15688
        hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
 
15689
        hardcode_libdir_separator_CXX=':'
14260
15690
        link_all_deplibs_CXX=yes
14261
 
 
14262
 
        output_verbose_link_cmd='echo'
14263
 
 
14264
 
        # Archives containing C++ object files must be created using
14265
 
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14266
 
        # necessary to make sure instantiated templates are included
14267
 
        # in the archive.
14268
 
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14269
 
        ;;
14270
 
      gcx*)
14271
 
        # Green Hills C++ Compiler
14272
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14273
 
 
14274
 
        # The C++ compiler must be used to create the archive.
14275
 
        old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14276
 
        ;;
14277
 
      *)
14278
 
        # GNU C++ compiler with Solaris linker
14279
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14280
 
          no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
14281
 
          if $CC --version | grep -v '^2\.7' > /dev/null; then
14282
 
            archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14283
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14284
 
                $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
14285
 
 
14286
 
            # Commands to make compiler produce verbose output that lists
14287
 
            # what "hidden" libraries, object files and flags are used when
14288
 
            # linking a shared library.
14289
 
            output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
14290
 
          else
14291
 
            # g++ 2.7 appears to require `-G' NOT `-shared' on this
14292
 
            # platform.
14293
 
            archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14294
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14295
 
                $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
14296
 
 
14297
 
            # Commands to make compiler produce verbose output that lists
14298
 
            # what "hidden" libraries, object files and flags are used when
14299
 
            # linking a shared library.
14300
 
            output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
14301
 
          fi
14302
 
 
14303
 
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14304
 
          case $host_os in
14305
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
 
15691
        export_dynamic_flag_spec_CXX='${wl}-Bexport'
 
15692
        runpath_var='LD_RUN_PATH'
 
15693
 
 
15694
        case $cc_basename in
 
15695
          CC*)
 
15696
            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15697
            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15698
            ;;
14306
15699
          *)
14307
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14308
 
            ;;
14309
 
          esac
14310
 
        fi
14311
 
        ;;
14312
 
    esac
14313
 
    ;;
14314
 
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14315
 
    no_undefined_flag_CXX='${wl}-z,text'
14316
 
    archive_cmds_need_lc_CXX=no
14317
 
    hardcode_shlibpath_var_CXX=no
14318
 
    runpath_var='LD_RUN_PATH'
14319
 
 
14320
 
    case $cc_basename in
14321
 
      CC*)
14322
 
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14323
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14324
 
        ;;
14325
 
      *)
14326
 
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14327
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14328
 
        ;;
14329
 
    esac
14330
 
    ;;
14331
 
  sysv5* | sco3.2v5* | sco5v6*)
14332
 
    # Note: We can NOT use -z defs as we might desire, because we do not
14333
 
    # link with -lc, and that would cause any symbols used from libc to
14334
 
    # always be unresolved, which means just about no library would
14335
 
    # ever link correctly.  If we're not using GNU ld we use -z text
14336
 
    # though, which does catch some bad symbols but isn't as heavy-handed
14337
 
    # as -z defs.
14338
 
    # For security reasons, it is highly recommended that you always
14339
 
    # use absolute paths for naming shared libraries, and exclude the
14340
 
    # DT_RUNPATH tag from executables and libraries.  But doing so
14341
 
    # requires that you compile everything twice, which is a pain.
14342
 
    # So that behaviour is only enabled if SCOABSPATH is set to a
14343
 
    # non-empty value in the environment.  Most likely only useful for
14344
 
    # creating official distributions of packages.
14345
 
    # This is a hack until libtool officially supports absolute path
14346
 
    # names for shared libraries.
14347
 
    no_undefined_flag_CXX='${wl}-z,text'
14348
 
    allow_undefined_flag_CXX='${wl}-z,nodefs'
14349
 
    archive_cmds_need_lc_CXX=no
14350
 
    hardcode_shlibpath_var_CXX=no
14351
 
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
14352
 
    hardcode_libdir_separator_CXX=':'
14353
 
    link_all_deplibs_CXX=yes
14354
 
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
14355
 
    runpath_var='LD_RUN_PATH'
14356
 
 
14357
 
    case $cc_basename in
14358
 
      CC*)
14359
 
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14360
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14361
 
        ;;
14362
 
      *)
14363
 
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14364
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14365
 
        ;;
14366
 
    esac
14367
 
    ;;
14368
 
  tandem*)
14369
 
    case $cc_basename in
14370
 
      NCC*)
14371
 
        # NonStop-UX NCC 3.20
14372
 
        # FIXME: insert proper C++ library support
14373
 
        ld_shlibs_CXX=no
14374
 
        ;;
14375
 
      *)
14376
 
        # FIXME: insert proper C++ library support
14377
 
        ld_shlibs_CXX=no
14378
 
        ;;
14379
 
    esac
14380
 
    ;;
14381
 
  vxworks*)
14382
 
    # FIXME: insert proper C++ library support
14383
 
    ld_shlibs_CXX=no
14384
 
    ;;
14385
 
  *)
14386
 
    # FIXME: insert proper C++ library support
14387
 
    ld_shlibs_CXX=no
14388
 
    ;;
14389
 
esac
14390
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
15700
            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15701
            archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15702
            ;;
 
15703
        esac
 
15704
      ;;
 
15705
 
 
15706
      tandem*)
 
15707
        case $cc_basename in
 
15708
          NCC*)
 
15709
            # NonStop-UX NCC 3.20
 
15710
            # FIXME: insert proper C++ library support
 
15711
            ld_shlibs_CXX=no
 
15712
            ;;
 
15713
          *)
 
15714
            # FIXME: insert proper C++ library support
 
15715
            ld_shlibs_CXX=no
 
15716
            ;;
 
15717
        esac
 
15718
        ;;
 
15719
 
 
15720
      vxworks*)
 
15721
        # FIXME: insert proper C++ library support
 
15722
        ld_shlibs_CXX=no
 
15723
        ;;
 
15724
 
 
15725
      *)
 
15726
        # FIXME: insert proper C++ library support
 
15727
        ld_shlibs_CXX=no
 
15728
        ;;
 
15729
    esac
 
15730
 
 
15731
    { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14391
15732
$as_echo "$ld_shlibs_CXX" >&6; }
14392
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
14393
 
 
14394
 
GCC_CXX="$GXX"
14395
 
LD_CXX="$LD"
14396
 
 
14397
 
cat > conftest.$ac_ext <<EOF
 
15733
    test "$ld_shlibs_CXX" = no && can_build_shared=no
 
15734
 
 
15735
    GCC_CXX="$GXX"
 
15736
    LD_CXX="$LD"
 
15737
 
 
15738
    ## CAVEAT EMPTOR:
 
15739
    ## There is no encapsulation within the following macros, do not change
 
15740
    ## the running order or otherwise move them around unless you know exactly
 
15741
    ## what you are doing...
 
15742
    # Dependencies to place before and after the object being linked:
 
15743
predep_objects_CXX=
 
15744
postdep_objects_CXX=
 
15745
predeps_CXX=
 
15746
postdeps_CXX=
 
15747
compiler_lib_search_path_CXX=
 
15748
 
 
15749
cat > conftest.$ac_ext <<_LT_EOF
14398
15750
class Foo
14399
15751
{
14400
15752
public:
14402
15754
private:
14403
15755
  int a;
14404
15756
};
14405
 
EOF
 
15757
_LT_EOF
14406
15758
 
14407
15759
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14408
15760
  (eval $ac_compile) 2>&5
14416
15768
  # the conftest object file.
14417
15769
  pre_test_object_deps_done=no
14418
15770
 
14419
 
  # The `*' in the case matches for architectures that use `case' in
14420
 
  # $output_verbose_cmd can trigger glob expansion during the loop
14421
 
  # eval without this substitution.
14422
 
  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
14423
 
 
14424
 
  for p in `eval $output_verbose_link_cmd`; do
 
15771
  for p in `eval "$output_verbose_link_cmd"`; do
14425
15772
    case $p in
14426
15773
 
14427
15774
    -L* | -R* | -l*)
14428
15775
       # Some compilers place space between "-{L,R}" and the path.
14429
15776
       # Remove the space.
14430
 
       if test $p = "-L" \
14431
 
          || test $p = "-R"; then
 
15777
       if test $p = "-L" ||
 
15778
          test $p = "-R"; then
14432
15779
         prev=$p
14433
15780
         continue
14434
15781
       else
14493
15840
  echo "libtool.m4: error: problem compiling CXX test program"
14494
15841
fi
14495
15842
 
14496
 
$rm -f confest.$objext
14497
 
 
14498
 
compiler_lib_search_dirs_CXX=
14499
 
if test -n "$compiler_lib_search_path_CXX"; then
14500
 
  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14501
 
fi
 
15843
$RM -f confest.$objext
14502
15844
 
14503
15845
# PORTME: override above test on systems where it is broken
14504
15846
case $host_os in
14514
15856
  case `$CC -V 2>&1 | sed 5q` in
14515
15857
  *Sun\ C*)
14516
15858
    # Sun C++ 5.9
14517
 
    #
 
15859
 
14518
15860
    # The more standards-conforming stlport4 library is
14519
15861
    # incompatible with the Cstd library. Avoid specifying
14520
15862
    # it if it's in CXXFLAGS. Ignore libCrun as
14524
15866
      solaris_use_stlport4=yes
14525
15867
      ;;
14526
15868
    esac
 
15869
 
14527
15870
    if test "$solaris_use_stlport4" != yes; then
14528
15871
      postdeps_CXX='-library=Cstd -library=Crun'
14529
15872
    fi
14555
15898
  ;;
14556
15899
esac
14557
15900
 
 
15901
 
14558
15902
case " $postdeps_CXX " in
14559
15903
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
14560
15904
esac
14561
 
 
14562
 
lt_prog_compiler_wl_CXX=
 
15905
 compiler_lib_search_dirs_CXX=
 
15906
if test -n "${compiler_lib_search_path_CXX}"; then
 
15907
 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
 
15908
fi
 
15909
 
 
15910
 
 
15911
 
 
15912
 
 
15913
 
 
15914
 
 
15915
 
 
15916
 
 
15917
 
 
15918
 
 
15919
 
 
15920
 
 
15921
 
 
15922
 
 
15923
 
 
15924
 
 
15925
 
 
15926
 
 
15927
 
 
15928
 
 
15929
 
 
15930
 
 
15931
 
 
15932
 
 
15933
 
 
15934
 
 
15935
 
 
15936
 
 
15937
 
 
15938
 
 
15939
 
 
15940
    lt_prog_compiler_wl_CXX=
14563
15941
lt_prog_compiler_pic_CXX=
14564
15942
lt_prog_compiler_static_CXX=
14565
15943
 
14579
15957
        lt_prog_compiler_static_CXX='-Bstatic'
14580
15958
      fi
14581
15959
      ;;
 
15960
 
14582
15961
    amigaos*)
14583
 
      # FIXME: we need at least 68020 code to build shared libraries, but
14584
 
      # adding the `-m68020' flag to GCC prevents building anything better,
14585
 
      # like `-m68040'.
14586
 
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
 
15962
      case $host_cpu in
 
15963
      powerpc)
 
15964
            # see comment about AmigaOS4 .so support
 
15965
            lt_prog_compiler_pic_CXX='-fPIC'
 
15966
        ;;
 
15967
      m68k)
 
15968
            # FIXME: we need at least 68020 code to build shared libraries, but
 
15969
            # adding the `-m68020' flag to GCC prevents building anything better,
 
15970
            # like `-m68040'.
 
15971
            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
 
15972
        ;;
 
15973
      esac
14587
15974
      ;;
 
15975
 
14588
15976
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14589
15977
      # PIC is the default for these OSes.
14590
15978
      ;;
14591
 
    mingw* | cygwin* | os2* | pw32*)
 
15979
    mingw* | cygwin* | os2* | pw32* | cegcc*)
14592
15980
      # This hack is so that the source file can tell whether it is being
14593
15981
      # built for inclusion in a dll (and should export symbols for example).
14594
15982
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
14614
16002
      fi
14615
16003
      ;;
14616
16004
    hpux*)
14617
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14618
 
      # not for PA HP-UX.
 
16005
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
16006
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
16007
      # sets the default TLS model and affects inlining.
14619
16008
      case $host_cpu in
14620
 
      hppa*64*|ia64*)
 
16009
      hppa*64*)
14621
16010
        ;;
14622
16011
      *)
14623
16012
        lt_prog_compiler_pic_CXX='-fPIC'
14624
16013
        ;;
14625
16014
      esac
14626
16015
      ;;
 
16016
    *qnx* | *nto*)
 
16017
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
16018
      # it will coredump.
 
16019
      lt_prog_compiler_pic_CXX='-fPIC -shared'
 
16020
      ;;
14627
16021
    *)
14628
16022
      lt_prog_compiler_pic_CXX='-fPIC'
14629
16023
      ;;
14643
16037
        case $cc_basename in
14644
16038
        cxch68*)
14645
16039
          # Green Hills C++ Compiler
14646
 
          # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
 
16040
          # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
14647
16041
          ;;
14648
16042
        esac
14649
16043
        ;;
14650
 
       darwin*)
14651
 
         # PIC is the default on this platform
14652
 
         # Common symbols not allowed in MH_DYLIB files
14653
 
         case $cc_basename in
14654
 
           xlc*)
14655
 
           lt_prog_compiler_pic_CXX='-qnocommon'
14656
 
           lt_prog_compiler_wl_CXX='-Wl,'
14657
 
           ;;
14658
 
         esac
14659
 
       ;;
14660
16044
      dgux*)
14661
16045
        case $cc_basename in
14662
16046
          ec++*)
14720
16104
            lt_prog_compiler_wl_CXX='--backend -Wl,'
14721
16105
            lt_prog_compiler_pic_CXX='-fPIC'
14722
16106
            ;;
14723
 
          icpc* | ecpc*)
14724
 
            # Intel C++
 
16107
          ecpc* )
 
16108
            # old Intel C++ for x86_64 which still supported -KPIC.
14725
16109
            lt_prog_compiler_wl_CXX='-Wl,'
14726
16110
            lt_prog_compiler_pic_CXX='-KPIC'
14727
16111
            lt_prog_compiler_static_CXX='-static'
14728
16112
            ;;
 
16113
          icpc* )
 
16114
            # Intel C++, used to be incompatible with GCC.
 
16115
            # ICC 10 doesn't accept -KPIC any more.
 
16116
            lt_prog_compiler_wl_CXX='-Wl,'
 
16117
            lt_prog_compiler_pic_CXX='-fPIC'
 
16118
            lt_prog_compiler_static_CXX='-static'
 
16119
            ;;
14729
16120
          pgCC* | pgcpp*)
14730
 
            # Portland Group C++ compiler.
 
16121
            # Portland Group C++ compiler
14731
16122
            lt_prog_compiler_wl_CXX='-Wl,'
14732
16123
            lt_prog_compiler_pic_CXX='-fpic'
14733
16124
            lt_prog_compiler_static_CXX='-Bstatic'
14739
16130
            lt_prog_compiler_pic_CXX=
14740
16131
            lt_prog_compiler_static_CXX='-non_shared'
14741
16132
            ;;
 
16133
          xlc* | xlC*)
 
16134
            # IBM XL 8.0 on PPC
 
16135
            lt_prog_compiler_wl_CXX='-Wl,'
 
16136
            lt_prog_compiler_pic_CXX='-qpic'
 
16137
            lt_prog_compiler_static_CXX='-qstaticlink'
 
16138
            ;;
14742
16139
          *)
14743
16140
            case `$CC -V 2>&1 | sed 5q` in
14744
16141
            *Sun\ C*)
14766
16163
        ;;
14767
16164
      netbsd*)
14768
16165
        ;;
 
16166
      *qnx* | *nto*)
 
16167
        # QNX uses GNU C++, but need to define -shared option too, otherwise
 
16168
        # it will coredump.
 
16169
        lt_prog_compiler_pic_CXX='-fPIC -shared'
 
16170
        ;;
14769
16171
      osf3* | osf4* | osf5*)
14770
16172
        case $cc_basename in
14771
16173
          KCC*)
14820
16222
            ;;
14821
16223
        esac
14822
16224
        ;;
 
16225
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
16226
        case $cc_basename in
 
16227
          CC*)
 
16228
            lt_prog_compiler_wl_CXX='-Wl,'
 
16229
            lt_prog_compiler_pic_CXX='-KPIC'
 
16230
            lt_prog_compiler_static_CXX='-Bstatic'
 
16231
            ;;
 
16232
        esac
 
16233
        ;;
14823
16234
      tandem*)
14824
16235
        case $cc_basename in
14825
16236
          NCC*)
14830
16241
            ;;
14831
16242
        esac
14832
16243
        ;;
14833
 
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14834
 
        case $cc_basename in
14835
 
          CC*)
14836
 
            lt_prog_compiler_wl_CXX='-Wl,'
14837
 
            lt_prog_compiler_pic_CXX='-KPIC'
14838
 
            lt_prog_compiler_static_CXX='-Bstatic'
14839
 
            ;;
14840
 
        esac
14841
 
        ;;
14842
16244
      vxworks*)
14843
16245
        ;;
14844
16246
      *)
14847
16249
    esac
14848
16250
  fi
14849
16251
 
 
16252
case $host_os in
 
16253
  # For platforms which do not support PIC, -DPIC is meaningless:
 
16254
  *djgpp*)
 
16255
    lt_prog_compiler_pic_CXX=
 
16256
    ;;
 
16257
  *)
 
16258
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
 
16259
    ;;
 
16260
esac
14850
16261
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
14851
16262
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14852
16263
 
 
16264
 
 
16265
 
14853
16266
#
14854
16267
# Check to make sure the PIC flag actually works.
14855
16268
#
14856
16269
if test -n "$lt_prog_compiler_pic_CXX"; then
14857
 
 
14858
 
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
16270
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14859
16271
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14860
16272
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
14861
16273
  $as_echo_n "(cached) " >&6
14862
16274
else
14863
16275
  lt_cv_prog_compiler_pic_works_CXX=no
14864
 
  ac_outfile=conftest.$ac_objext
 
16276
   ac_outfile=conftest.$ac_objext
14865
16277
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14866
16278
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14867
16279
   # Insert the option either (1) after the last *FLAGS variable, or
14873
16285
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14874
16286
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14875
16287
   -e 's:$: $lt_compiler_flag:'`
14876
 
   (eval echo "\"\$as_me:14876: $lt_compile\"" >&5)
 
16288
   (eval echo "\"\$as_me:16288: $lt_compile\"" >&5)
14877
16289
   (eval "$lt_compile" 2>conftest.err)
14878
16290
   ac_status=$?
14879
16291
   cat conftest.err >&5
14880
 
   echo "$as_me:14880: \$? = $ac_status" >&5
 
16292
   echo "$as_me:16292: \$? = $ac_status" >&5
14881
16293
   if (exit $ac_status) && test -s "$ac_outfile"; then
14882
16294
     # The compiler can only warn and ignore the option if not recognized
14883
16295
     # So say no if there are warnings other than the usual output.
14884
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
16296
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14885
16297
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14886
16298
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14887
16299
       lt_cv_prog_compiler_pic_works_CXX=yes
14888
16300
     fi
14889
16301
   fi
14890
 
   $rm conftest*
 
16302
   $RM conftest*
14891
16303
 
14892
16304
fi
14893
16305
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14904
16316
fi
14905
16317
 
14906
16318
fi
14907
 
case $host_os in
14908
 
  # For platforms which do not support PIC, -DPIC is meaningless:
14909
 
  *djgpp*)
14910
 
    lt_prog_compiler_pic_CXX=
14911
 
    ;;
14912
 
  *)
14913
 
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14914
 
    ;;
14915
 
esac
 
16319
 
 
16320
 
14916
16321
 
14917
16322
#
14918
16323
# Check to make sure the static flag actually works.
14933
16338
     if test -s conftest.err; then
14934
16339
       # Append any errors to the config.log.
14935
16340
       cat conftest.err 1>&5
14936
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
16341
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14937
16342
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14938
16343
       if diff conftest.exp conftest.er2 >/dev/null; then
14939
16344
         lt_cv_prog_compiler_static_works_CXX=yes
14942
16347
       lt_cv_prog_compiler_static_works_CXX=yes
14943
16348
     fi
14944
16349
   fi
14945
 
   $rm -r conftest*
 
16350
   $RM -r conftest*
14946
16351
   LDFLAGS="$save_LDFLAGS"
14947
16352
 
14948
16353
fi
14956
16361
fi
14957
16362
 
14958
16363
 
14959
 
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14960
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14961
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14962
 
  $as_echo_n "(cached) " >&6
14963
 
else
14964
 
  lt_cv_prog_compiler_c_o_CXX=no
14965
 
   $rm -r conftest 2>/dev/null
14966
 
   mkdir conftest
14967
 
   cd conftest
14968
 
   mkdir out
14969
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14970
 
 
14971
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
14972
 
   # Insert the option either (1) after the last *FLAGS variable, or
14973
 
   # (2) before a word containing "conftest.", or (3) at the end.
14974
 
   # Note that $ac_compile itself does not contain backslashes and begins
14975
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14976
 
   lt_compile=`echo "$ac_compile" | $SED \
14977
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14978
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14979
 
   -e 's:$: $lt_compiler_flag:'`
14980
 
   (eval echo "\"\$as_me:14980: $lt_compile\"" >&5)
14981
 
   (eval "$lt_compile" 2>out/conftest.err)
14982
 
   ac_status=$?
14983
 
   cat out/conftest.err >&5
14984
 
   echo "$as_me:14984: \$? = $ac_status" >&5
14985
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14986
 
   then
14987
 
     # The compiler can only warn and ignore the option if not recognized
14988
 
     # So say no if there are warnings
14989
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14990
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14991
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14992
 
       lt_cv_prog_compiler_c_o_CXX=yes
14993
 
     fi
14994
 
   fi
14995
 
   chmod u+w . 2>&5
14996
 
   $rm conftest*
14997
 
   # SGI C++ compiler will create directory out/ii_files/ for
14998
 
   # template instantiation
14999
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
15000
 
   $rm out/* && rmdir out
15001
 
   cd ..
15002
 
   rmdir conftest
15003
 
   $rm conftest*
15004
 
 
15005
 
fi
15006
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15007
 
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
16364
 
 
16365
 
 
16366
    { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
16367
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
16368
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
 
16369
  $as_echo_n "(cached) " >&6
 
16370
else
 
16371
  lt_cv_prog_compiler_c_o_CXX=no
 
16372
   $RM -r conftest 2>/dev/null
 
16373
   mkdir conftest
 
16374
   cd conftest
 
16375
   mkdir out
 
16376
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
16377
 
 
16378
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
16379
   # Insert the option either (1) after the last *FLAGS variable, or
 
16380
   # (2) before a word containing "conftest.", or (3) at the end.
 
16381
   # Note that $ac_compile itself does not contain backslashes and begins
 
16382
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
16383
   lt_compile=`echo "$ac_compile" | $SED \
 
16384
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
16385
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
16386
   -e 's:$: $lt_compiler_flag:'`
 
16387
   (eval echo "\"\$as_me:16387: $lt_compile\"" >&5)
 
16388
   (eval "$lt_compile" 2>out/conftest.err)
 
16389
   ac_status=$?
 
16390
   cat out/conftest.err >&5
 
16391
   echo "$as_me:16391: \$? = $ac_status" >&5
 
16392
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
16393
   then
 
16394
     # The compiler can only warn and ignore the option if not recognized
 
16395
     # So say no if there are warnings
 
16396
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
16397
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
16398
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
16399
       lt_cv_prog_compiler_c_o_CXX=yes
 
16400
     fi
 
16401
   fi
 
16402
   chmod u+w . 2>&5
 
16403
   $RM conftest*
 
16404
   # SGI C++ compiler will create directory out/ii_files/ for
 
16405
   # template instantiation
 
16406
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
16407
   $RM out/* && rmdir out
 
16408
   cd ..
 
16409
   $RM -r conftest
 
16410
   $RM conftest*
 
16411
 
 
16412
fi
 
16413
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
16414
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
16415
 
 
16416
 
 
16417
 
 
16418
    { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
16419
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
16420
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
 
16421
  $as_echo_n "(cached) " >&6
 
16422
else
 
16423
  lt_cv_prog_compiler_c_o_CXX=no
 
16424
   $RM -r conftest 2>/dev/null
 
16425
   mkdir conftest
 
16426
   cd conftest
 
16427
   mkdir out
 
16428
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
16429
 
 
16430
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
16431
   # Insert the option either (1) after the last *FLAGS variable, or
 
16432
   # (2) before a word containing "conftest.", or (3) at the end.
 
16433
   # Note that $ac_compile itself does not contain backslashes and begins
 
16434
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
16435
   lt_compile=`echo "$ac_compile" | $SED \
 
16436
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
16437
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
16438
   -e 's:$: $lt_compiler_flag:'`
 
16439
   (eval echo "\"\$as_me:16439: $lt_compile\"" >&5)
 
16440
   (eval "$lt_compile" 2>out/conftest.err)
 
16441
   ac_status=$?
 
16442
   cat out/conftest.err >&5
 
16443
   echo "$as_me:16443: \$? = $ac_status" >&5
 
16444
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
16445
   then
 
16446
     # The compiler can only warn and ignore the option if not recognized
 
16447
     # So say no if there are warnings
 
16448
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
16449
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
16450
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
16451
       lt_cv_prog_compiler_c_o_CXX=yes
 
16452
     fi
 
16453
   fi
 
16454
   chmod u+w . 2>&5
 
16455
   $RM conftest*
 
16456
   # SGI C++ compiler will create directory out/ii_files/ for
 
16457
   # template instantiation
 
16458
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
16459
   $RM out/* && rmdir out
 
16460
   cd ..
 
16461
   $RM -r conftest
 
16462
   $RM conftest*
 
16463
 
 
16464
fi
 
16465
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
16466
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
16467
 
 
16468
 
15008
16469
 
15009
16470
 
15010
16471
hard_links="nottested"
15013
16474
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15014
16475
$as_echo_n "checking if we can lock with hard links... " >&6; }
15015
16476
  hard_links=yes
15016
 
  $rm conftest*
 
16477
  $RM conftest*
15017
16478
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15018
16479
  touch conftest.a
15019
16480
  ln conftest.a conftest.b 2>&5 || hard_links=no
15029
16490
  need_locks=no
15030
16491
fi
15031
16492
 
15032
 
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
16493
 
 
16494
 
 
16495
    { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15033
16496
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15034
16497
 
15035
16498
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15037
16500
  aix[4-9]*)
15038
16501
    # If we're using GNU nm, then we don't want the "-C" option.
15039
16502
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
15040
 
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15041
 
      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'
 
16503
    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
16504
      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'
15042
16505
    else
15043
 
      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'
 
16506
      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'
15044
16507
    fi
15045
16508
    ;;
15046
16509
  pw32*)
15047
16510
    export_symbols_cmds_CXX="$ltdll_cmds"
15048
16511
  ;;
15049
 
  cygwin* | mingw*)
15050
 
    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'
 
16512
  cygwin* | mingw* | cegcc*)
 
16513
    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'
15051
16514
  ;;
15052
16515
  *)
15053
16516
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15059
16522
$as_echo "$ld_shlibs_CXX" >&6; }
15060
16523
test "$ld_shlibs_CXX" = no && can_build_shared=no
15061
16524
 
 
16525
with_gnu_ld_CXX=$with_gnu_ld
 
16526
 
 
16527
 
 
16528
 
 
16529
 
 
16530
 
 
16531
 
15062
16532
#
15063
16533
# Do we need to explicitly link libc?
15064
16534
#
15078
16548
      # to ld, don't add -lc before -lgcc.
15079
16549
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15080
16550
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15081
 
      $rm conftest*
 
16551
      $RM conftest*
15082
16552
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15083
16553
 
15084
16554
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15099
16569
        libname=conftest
15100
16570
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15101
16571
        allow_undefined_flag_CXX=
15102
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15103
 
  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
16572
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
16573
  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15104
16574
  ac_status=$?
15105
16575
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15106
16576
  (exit $ac_status); }
15113
16583
      else
15114
16584
        cat conftest.err 1>&5
15115
16585
      fi
15116
 
      $rm conftest*
 
16586
      $RM conftest*
15117
16587
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
15118
16588
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
15119
16589
      ;;
15122
16592
  ;;
15123
16593
esac
15124
16594
 
15125
 
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
16595
 
 
16596
 
 
16597
 
 
16598
 
 
16599
 
 
16600
 
 
16601
 
 
16602
 
 
16603
 
 
16604
 
 
16605
 
 
16606
 
 
16607
 
 
16608
 
 
16609
 
 
16610
 
 
16611
 
 
16612
 
 
16613
 
 
16614
 
 
16615
 
 
16616
 
 
16617
 
 
16618
 
 
16619
 
 
16620
 
 
16621
 
 
16622
 
 
16623
 
 
16624
 
 
16625
 
 
16626
 
 
16627
 
 
16628
 
 
16629
 
 
16630
 
 
16631
 
 
16632
 
 
16633
 
 
16634
 
 
16635
 
 
16636
 
 
16637
 
 
16638
 
 
16639
 
 
16640
 
 
16641
 
 
16642
 
 
16643
 
 
16644
 
 
16645
 
 
16646
 
 
16647
 
 
16648
 
 
16649
 
 
16650
 
 
16651
 
 
16652
 
 
16653
 
 
16654
 
 
16655
 
 
16656
 
 
16657
 
 
16658
    { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15126
16659
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
16660
 
15127
16661
library_names_spec=
15128
16662
libname_spec='lib$name'
15129
16663
soname_spec=
15137
16671
version_type=none
15138
16672
dynamic_linker="$host_os ld.so"
15139
16673
sys_lib_dlsearch_path_spec="/lib /usr/lib"
15140
 
 
15141
16674
need_lib_prefix=unknown
15142
16675
hardcode_into_libs=no
15143
16676
 
15174
16707
      aix4 | aix4.[01] | aix4.[01].*)
15175
16708
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15176
16709
           echo ' yes '
15177
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
16710
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15178
16711
        :
15179
16712
      else
15180
16713
        can_build_shared=no
15200
16733
  ;;
15201
16734
 
15202
16735
amigaos*)
15203
 
  library_names_spec='$libname.ixlibrary $libname.a'
15204
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
15205
 
  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'
 
16736
  case $host_cpu in
 
16737
  powerpc)
 
16738
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
16739
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
16740
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
16741
    ;;
 
16742
  m68k)
 
16743
    library_names_spec='$libname.ixlibrary $libname.a'
 
16744
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
16745
    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'
 
16746
    ;;
 
16747
  esac
15206
16748
  ;;
15207
16749
 
15208
16750
beos*)
15225
16767
  # libtool to hard-code these into programs
15226
16768
  ;;
15227
16769
 
15228
 
cygwin* | mingw* | pw32*)
 
16770
cygwin* | mingw* | pw32* | cegcc*)
15229
16771
  version_type=windows
15230
16772
  shrext_cmds=".dll"
15231
16773
  need_version=no
15232
16774
  need_lib_prefix=no
15233
16775
 
15234
16776
  case $GCC,$host_os in
15235
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
 
16777
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
15236
16778
    library_names_spec='$libname.dll.a'
15237
16779
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
15238
16780
    postinstall_cmds='base_file=`basename \${file}`~
15239
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 
16781
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15240
16782
      dldir=$destdir/`dirname \$dlpath`~
15241
16783
      test -d \$dldir || mkdir -p \$dldir~
15242
16784
      $install_prog $dir/$dlname \$dldir/$dlname~
15243
 
      chmod a+x \$dldir/$dlname'
 
16785
      chmod a+x \$dldir/$dlname~
 
16786
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
16787
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
16788
      fi'
15244
16789
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15245
16790
      dlpath=$dir/\$dldll~
15246
 
       $rm \$dlpath'
 
16791
       $RM \$dlpath'
15247
16792
    shlibpath_overrides_runpath=yes
15248
16793
 
15249
16794
    case $host_os in
15252
16797
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15253
16798
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15254
16799
      ;;
15255
 
    mingw*)
 
16800
    mingw* | cegcc*)
15256
16801
      # MinGW DLLs use traditional 'lib' prefix
15257
16802
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15258
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15259
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 
16803
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
16804
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15260
16805
        # It is most probably a Windows format PATH printed by
15261
16806
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
15262
16807
        # path with ; separators, and with drive letters. We can handle the
15263
16808
        # drive letters (cygwin fileutils understands them), so leave them,
15264
16809
        # especially as we might pass files found there to a mingw objdump,
15265
16810
        # which wouldn't understand a cygwinified path. Ahh.
15266
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
16811
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15267
16812
      else
15268
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
16813
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
15269
16814
      fi
15270
16815
      ;;
15271
16816
    pw32*)
15289
16834
  version_type=darwin
15290
16835
  need_lib_prefix=no
15291
16836
  need_version=no
15292
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
16837
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15293
16838
  soname_spec='${libname}${release}${major}$shared_ext'
15294
16839
  shlibpath_overrides_runpath=yes
15295
16840
  shlibpath_var=DYLD_LIBRARY_PATH
15387
16932
    fi
15388
16933
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15389
16934
    ;;
15390
 
   hppa*64*)
15391
 
     shrext_cmds='.sl'
15392
 
     hardcode_into_libs=yes
15393
 
     dynamic_linker="$host_os dld.sl"
15394
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15395
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15396
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15397
 
     soname_spec='${libname}${release}${shared_ext}$major'
15398
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15399
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15400
 
     ;;
15401
 
   *)
 
16935
  hppa*64*)
 
16936
    shrext_cmds='.sl'
 
16937
    hardcode_into_libs=yes
 
16938
    dynamic_linker="$host_os dld.sl"
 
16939
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
16940
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
16941
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
16942
    soname_spec='${libname}${release}${shared_ext}$major'
 
16943
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
16944
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
16945
    ;;
 
16946
  *)
15402
16947
    shrext_cmds='.sl'
15403
16948
    dynamic_linker="$host_os dld.sl"
15404
16949
    shlibpath_var=SHLIB_PATH
15475
17020
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15476
17021
  shlibpath_var=LD_LIBRARY_PATH
15477
17022
  shlibpath_overrides_runpath=no
 
17023
  # Some binutils ld are patched to set DT_RUNPATH
 
17024
  save_LDFLAGS=$LDFLAGS
 
17025
  save_libdir=$libdir
 
17026
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
 
17027
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
 
17028
  cat >conftest.$ac_ext <<_ACEOF
 
17029
/* confdefs.h.  */
 
17030
_ACEOF
 
17031
cat confdefs.h >>conftest.$ac_ext
 
17032
cat >>conftest.$ac_ext <<_ACEOF
 
17033
/* end confdefs.h.  */
 
17034
 
 
17035
int
 
17036
main ()
 
17037
{
 
17038
 
 
17039
  ;
 
17040
  return 0;
 
17041
}
 
17042
_ACEOF
 
17043
rm -f conftest.$ac_objext conftest$ac_exeext
 
17044
if { (ac_try="$ac_link"
 
17045
case "(($ac_try" in
 
17046
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17047
  *) ac_try_echo=$ac_try;;
 
17048
esac
 
17049
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17050
$as_echo "$ac_try_echo") >&5
 
17051
  (eval "$ac_link") 2>conftest.er1
 
17052
  ac_status=$?
 
17053
  grep -v '^ *+' conftest.er1 >conftest.err
 
17054
  rm -f conftest.er1
 
17055
  cat conftest.err >&5
 
17056
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17057
  (exit $ac_status); } && {
 
17058
         test -z "$ac_cxx_werror_flag" ||
 
17059
         test ! -s conftest.err
 
17060
       } && test -s conftest$ac_exeext && {
 
17061
         test "$cross_compiling" = yes ||
 
17062
         $as_test_x conftest$ac_exeext
 
17063
       }; then
 
17064
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 
17065
  shlibpath_overrides_runpath=yes
 
17066
fi
 
17067
 
 
17068
else
 
17069
  $as_echo "$as_me: failed program was:" >&5
 
17070
sed 's/^/| /' conftest.$ac_ext >&5
 
17071
 
 
17072
 
 
17073
fi
 
17074
 
 
17075
rm -rf conftest.dSYM
 
17076
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
17077
      conftest$ac_exeext conftest.$ac_ext
 
17078
  LDFLAGS=$save_LDFLAGS
 
17079
  libdir=$save_libdir
 
17080
 
15478
17081
  # This implies no fast_install, which is unacceptable.
15479
17082
  # Some rework will be needed to allow for fast_install
15480
17083
  # before this can be enabled.
15481
17084
  hardcode_into_libs=yes
15482
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15483
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
17085
 
 
17086
  # Add ABI-specific directories to the system library path.
 
17087
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
15484
17088
 
15485
17089
  # Append ld.so.conf contents to the search path
15486
17090
  if test -f /etc/ld.so.conf; then
15487
 
    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' ' '`
 
17091
    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' ' '`
15488
17092
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
15489
17093
  fi
15490
17094
 
15501
17105
  version_type=sunos
15502
17106
  need_lib_prefix=no
15503
17107
  need_version=no
15504
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
17108
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15505
17109
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15506
17110
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15507
17111
    dynamic_linker='NetBSD (a.out) ld.so'
15522
17126
  shlibpath_overrides_runpath=yes
15523
17127
  ;;
15524
17128
 
15525
 
nto-qnx*)
15526
 
  version_type=linux
 
17129
*nto* | *qnx*)
 
17130
  version_type=qnx
15527
17131
  need_lib_prefix=no
15528
17132
  need_version=no
15529
17133
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15530
17134
  soname_spec='${libname}${release}${shared_ext}$major'
15531
17135
  shlibpath_var=LD_LIBRARY_PATH
15532
 
  shlibpath_overrides_runpath=yes
 
17136
  shlibpath_overrides_runpath=no
 
17137
  hardcode_into_libs=yes
 
17138
  dynamic_linker='ldqnx.so'
15533
17139
  ;;
15534
17140
 
15535
17141
openbsd*)
15538
17144
  need_lib_prefix=no
15539
17145
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15540
17146
  case $host_os in
15541
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15542
 
    *)                         need_version=no  ;;
 
17147
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
17148
    *)                          need_version=no  ;;
15543
17149
  esac
15544
17150
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15545
17151
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15546
17152
  shlibpath_var=LD_LIBRARY_PATH
15547
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
17153
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15548
17154
    case $host_os in
15549
17155
      openbsd2.[89] | openbsd2.[89].*)
15550
17156
        shlibpath_overrides_runpath=no
15616
17222
    sni)
15617
17223
      shlibpath_overrides_runpath=no
15618
17224
      need_lib_prefix=no
15619
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
15620
17225
      runpath_var=LD_RUN_PATH
15621
17226
      ;;
15622
17227
    siemens)
15647
17252
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15648
17253
  soname_spec='${libname}${release}${shared_ext}$major'
15649
17254
  shlibpath_var=LD_LIBRARY_PATH
 
17255
  shlibpath_overrides_runpath=yes
15650
17256
  hardcode_into_libs=yes
15651
17257
  if test "$with_gnu_ld" = yes; then
15652
17258
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15653
 
    shlibpath_overrides_runpath=no
15654
17259
  else
15655
17260
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15656
 
    shlibpath_overrides_runpath=yes
15657
17261
    case $host_os in
15658
17262
      sco3.2v5*)
15659
17263
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15663
17267
  sys_lib_dlsearch_path_spec='/usr/lib'
15664
17268
  ;;
15665
17269
 
 
17270
tpf*)
 
17271
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
17272
  version_type=linux
 
17273
  need_lib_prefix=no
 
17274
  need_version=no
 
17275
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
17276
  shlibpath_var=LD_LIBRARY_PATH
 
17277
  shlibpath_overrides_runpath=no
 
17278
  hardcode_into_libs=yes
 
17279
  ;;
 
17280
 
15666
17281
uts4*)
15667
17282
  version_type=linux
15668
17283
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15678
17293
$as_echo "$dynamic_linker" >&6; }
15679
17294
test "$dynamic_linker" = no && can_build_shared=no
15680
17295
 
15681
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15682
 
  $as_echo_n "(cached) " >&6
15683
 
else
15684
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
15685
 
fi
15686
 
 
15687
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15688
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15689
 
  $as_echo_n "(cached) " >&6
15690
 
else
15691
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
15692
 
fi
15693
 
 
15694
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15695
 
 
15696
17296
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15697
17297
if test "$GCC" = yes; then
15698
17298
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15699
17299
fi
15700
17300
 
15701
 
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
17301
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
17302
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
17303
fi
 
17304
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
17305
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
17306
fi
 
17307
 
 
17308
 
 
17309
 
 
17310
 
 
17311
 
 
17312
 
 
17313
 
 
17314
 
 
17315
 
 
17316
 
 
17317
 
 
17318
 
 
17319
 
 
17320
 
 
17321
 
 
17322
 
 
17323
 
 
17324
 
 
17325
 
 
17326
 
 
17327
 
 
17328
 
 
17329
 
 
17330
 
 
17331
 
 
17332
 
 
17333
 
 
17334
 
 
17335
 
 
17336
 
 
17337
 
 
17338
 
 
17339
 
 
17340
 
 
17341
 
 
17342
 
 
17343
    { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15702
17344
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15703
17345
hardcode_action_CXX=
15704
 
if test -n "$hardcode_libdir_flag_spec_CXX" || \
15705
 
   test -n "$runpath_var_CXX" || \
 
17346
if test -n "$hardcode_libdir_flag_spec_CXX" ||
 
17347
   test -n "$runpath_var_CXX" ||
15706
17348
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
15707
17349
 
15708
 
  # We can hardcode non-existant directories.
 
17350
  # We can hardcode non-existent directories.
15709
17351
  if test "$hardcode_direct_CXX" != no &&
15710
17352
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
15711
17353
     # have to relink, otherwise we might link with an installed library
15712
17354
     # when we should be linking with a yet-to-be-installed one
15713
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
 
17355
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15714
17356
     test "$hardcode_minus_L_CXX" != no; then
15715
17357
    # Linking always hardcodes the temporary library directory.
15716
17358
    hardcode_action_CXX=relink
15726
17368
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
15727
17369
$as_echo "$hardcode_action_CXX" >&6; }
15728
17370
 
15729
 
if test "$hardcode_action_CXX" = relink; then
15730
 
  # Fast installation is not supported
15731
 
  enable_fast_install=no
15732
 
elif test "$shlibpath_overrides_runpath" = yes ||
15733
 
     test "$enable_shared" = no; then
15734
 
  # Fast installation is not necessary
15735
 
  enable_fast_install=needless
15736
 
fi
15737
 
 
15738
 
 
15739
 
# The else clause should only fire when bootstrapping the
15740
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
15741
 
# with your package, and you will get complaints that there are
15742
 
# no rules to generate ltmain.sh.
15743
 
if test -f "$ltmain"; then
15744
 
  # See if we are running on zsh, and set the options which allow our commands through
15745
 
  # without removal of \ escapes.
15746
 
  if test -n "${ZSH_VERSION+set}" ; then
15747
 
    setopt NO_GLOB_SUBST
15748
 
  fi
15749
 
  # Now quote all the things that may contain metacharacters while being
15750
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
15751
 
  # variables and quote the copies for generation of the libtool script.
15752
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15753
 
    SED SHELL STRIP \
15754
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15755
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15756
 
    deplibs_check_method reload_flag reload_cmds need_locks \
15757
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15758
 
    lt_cv_sys_global_symbol_to_c_name_address \
15759
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15760
 
    old_postinstall_cmds old_postuninstall_cmds \
15761
 
    compiler_CXX \
15762
 
    CC_CXX \
15763
 
    LD_CXX \
15764
 
    lt_prog_compiler_wl_CXX \
15765
 
    lt_prog_compiler_pic_CXX \
15766
 
    lt_prog_compiler_static_CXX \
15767
 
    lt_prog_compiler_no_builtin_flag_CXX \
15768
 
    export_dynamic_flag_spec_CXX \
15769
 
    thread_safe_flag_spec_CXX \
15770
 
    whole_archive_flag_spec_CXX \
15771
 
    enable_shared_with_static_runtimes_CXX \
15772
 
    old_archive_cmds_CXX \
15773
 
    old_archive_from_new_cmds_CXX \
15774
 
    predep_objects_CXX \
15775
 
    postdep_objects_CXX \
15776
 
    predeps_CXX \
15777
 
    postdeps_CXX \
15778
 
    compiler_lib_search_path_CXX \
15779
 
    compiler_lib_search_dirs_CXX \
15780
 
    archive_cmds_CXX \
15781
 
    archive_expsym_cmds_CXX \
15782
 
    postinstall_cmds_CXX \
15783
 
    postuninstall_cmds_CXX \
15784
 
    old_archive_from_expsyms_cmds_CXX \
15785
 
    allow_undefined_flag_CXX \
15786
 
    no_undefined_flag_CXX \
15787
 
    export_symbols_cmds_CXX \
15788
 
    hardcode_libdir_flag_spec_CXX \
15789
 
    hardcode_libdir_flag_spec_ld_CXX \
15790
 
    hardcode_libdir_separator_CXX \
15791
 
    hardcode_automatic_CXX \
15792
 
    module_cmds_CXX \
15793
 
    module_expsym_cmds_CXX \
15794
 
    lt_cv_prog_compiler_c_o_CXX \
15795
 
    fix_srcfile_path_CXX \
15796
 
    exclude_expsyms_CXX \
15797
 
    include_expsyms_CXX; do
15798
 
 
15799
 
    case $var in
15800
 
    old_archive_cmds_CXX | \
15801
 
    old_archive_from_new_cmds_CXX | \
15802
 
    archive_cmds_CXX | \
15803
 
    archive_expsym_cmds_CXX | \
15804
 
    module_cmds_CXX | \
15805
 
    module_expsym_cmds_CXX | \
15806
 
    old_archive_from_expsyms_cmds_CXX | \
15807
 
    export_symbols_cmds_CXX | \
15808
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
15809
 
    postinstall_cmds | postuninstall_cmds | \
15810
 
    old_postinstall_cmds | old_postuninstall_cmds | \
15811
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
15812
 
      # Double-quote double-evaled strings.
15813
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15814
 
      ;;
15815
 
    *)
15816
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15817
 
      ;;
15818
 
    esac
15819
 
  done
15820
 
 
15821
 
  case $lt_echo in
15822
 
  *'\$0 --fallback-echo"')
15823
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15824
 
    ;;
15825
 
  esac
15826
 
 
15827
 
cfgfile="$ofile"
15828
 
 
15829
 
  cat <<__EOF__ >> "$cfgfile"
15830
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
15831
 
 
15832
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15833
 
 
15834
 
# Shell to use when invoking shell scripts.
15835
 
SHELL=$lt_SHELL
15836
 
 
15837
 
# Whether or not to build shared libraries.
15838
 
build_libtool_libs=$enable_shared
15839
 
 
15840
 
# Whether or not to build static libraries.
15841
 
build_old_libs=$enable_static
15842
 
 
15843
 
# Whether or not to add -lc for building shared libraries.
15844
 
build_libtool_need_lc=$archive_cmds_need_lc_CXX
15845
 
 
15846
 
# Whether or not to disallow shared libs when runtime libs are static
15847
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
15848
 
 
15849
 
# Whether or not to optimize for fast installation.
15850
 
fast_install=$enable_fast_install
15851
 
 
15852
 
# The host system.
15853
 
host_alias=$host_alias
15854
 
host=$host
15855
 
host_os=$host_os
15856
 
 
15857
 
# The build system.
15858
 
build_alias=$build_alias
15859
 
build=$build
15860
 
build_os=$build_os
15861
 
 
15862
 
# An echo program that does not interpret backslashes.
15863
 
echo=$lt_echo
15864
 
 
15865
 
# The archiver.
15866
 
AR=$lt_AR
15867
 
AR_FLAGS=$lt_AR_FLAGS
15868
 
 
15869
 
# A C compiler.
15870
 
LTCC=$lt_LTCC
15871
 
 
15872
 
# LTCC compiler flags.
15873
 
LTCFLAGS=$lt_LTCFLAGS
15874
 
 
15875
 
# A language-specific compiler.
15876
 
CC=$lt_compiler_CXX
15877
 
 
15878
 
# Is the compiler the GNU C compiler?
15879
 
with_gcc=$GCC_CXX
15880
 
 
15881
 
# An ERE matcher.
15882
 
EGREP=$lt_EGREP
15883
 
 
15884
 
# The linker used to build libraries.
15885
 
LD=$lt_LD_CXX
15886
 
 
15887
 
# Whether we need hard or soft links.
15888
 
LN_S=$lt_LN_S
15889
 
 
15890
 
# A BSD-compatible nm program.
15891
 
NM=$lt_NM
15892
 
 
15893
 
# A symbol stripping program
15894
 
STRIP=$lt_STRIP
15895
 
 
15896
 
# Used to examine libraries when file_magic_cmd begins "file"
15897
 
MAGIC_CMD=$MAGIC_CMD
15898
 
 
15899
 
# Used on cygwin: DLL creation program.
15900
 
DLLTOOL="$DLLTOOL"
15901
 
 
15902
 
# Used on cygwin: object dumper.
15903
 
OBJDUMP="$OBJDUMP"
15904
 
 
15905
 
# Used on cygwin: assembler.
15906
 
AS="$AS"
15907
 
 
15908
 
# The name of the directory that contains temporary libtool files.
15909
 
objdir=$objdir
15910
 
 
15911
 
# How to create reloadable object files.
15912
 
reload_flag=$lt_reload_flag
15913
 
reload_cmds=$lt_reload_cmds
15914
 
 
15915
 
# How to pass a linker flag through the compiler.
15916
 
wl=$lt_lt_prog_compiler_wl_CXX
15917
 
 
15918
 
# Object file suffix (normally "o").
15919
 
objext="$ac_objext"
15920
 
 
15921
 
# Old archive suffix (normally "a").
15922
 
libext="$libext"
15923
 
 
15924
 
# Shared library suffix (normally ".so").
15925
 
shrext_cmds='$shrext_cmds'
15926
 
 
15927
 
# Executable file suffix (normally "").
15928
 
exeext="$exeext"
15929
 
 
15930
 
# Additional compiler flags for building library objects.
15931
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
15932
 
pic_mode=$pic_mode
15933
 
 
15934
 
# What is the maximum length of a command?
15935
 
max_cmd_len=$lt_cv_sys_max_cmd_len
15936
 
 
15937
 
# Does compiler simultaneously support -c and -o options?
15938
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
15939
 
 
15940
 
# Must we lock files when doing compilation?
15941
 
need_locks=$lt_need_locks
15942
 
 
15943
 
# Do we need the lib prefix for modules?
15944
 
need_lib_prefix=$need_lib_prefix
15945
 
 
15946
 
# Do we need a version for libraries?
15947
 
need_version=$need_version
15948
 
 
15949
 
# Whether dlopen is supported.
15950
 
dlopen_support=$enable_dlopen
15951
 
 
15952
 
# Whether dlopen of programs is supported.
15953
 
dlopen_self=$enable_dlopen_self
15954
 
 
15955
 
# Whether dlopen of statically linked programs is supported.
15956
 
dlopen_self_static=$enable_dlopen_self_static
15957
 
 
15958
 
# Compiler flag to prevent dynamic linking.
15959
 
link_static_flag=$lt_lt_prog_compiler_static_CXX
15960
 
 
15961
 
# Compiler flag to turn off builtin functions.
15962
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
15963
 
 
15964
 
# Compiler flag to allow reflexive dlopens.
15965
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
15966
 
 
15967
 
# Compiler flag to generate shared objects directly from archives.
15968
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
15969
 
 
15970
 
# Compiler flag to generate thread-safe objects.
15971
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
15972
 
 
15973
 
# Library versioning type.
15974
 
version_type=$version_type
15975
 
 
15976
 
# Format of library name prefix.
15977
 
libname_spec=$lt_libname_spec
15978
 
 
15979
 
# List of archive names.  First name is the real one, the rest are links.
15980
 
# The last name is the one that the linker finds with -lNAME.
15981
 
library_names_spec=$lt_library_names_spec
15982
 
 
15983
 
# The coded name of the library, if different from the real name.
15984
 
soname_spec=$lt_soname_spec
15985
 
 
15986
 
# Commands used to build and install an old-style archive.
15987
 
RANLIB=$lt_RANLIB
15988
 
old_archive_cmds=$lt_old_archive_cmds_CXX
15989
 
old_postinstall_cmds=$lt_old_postinstall_cmds
15990
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
15991
 
 
15992
 
# Create an old-style archive from a shared archive.
15993
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
15994
 
 
15995
 
# Create a temporary old-style archive to link instead of a shared archive.
15996
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
15997
 
 
15998
 
# Commands used to build and install a shared archive.
15999
 
archive_cmds=$lt_archive_cmds_CXX
16000
 
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
16001
 
postinstall_cmds=$lt_postinstall_cmds
16002
 
postuninstall_cmds=$lt_postuninstall_cmds
16003
 
 
16004
 
# Commands used to build a loadable module (assumed same as above if empty)
16005
 
module_cmds=$lt_module_cmds_CXX
16006
 
module_expsym_cmds=$lt_module_expsym_cmds_CXX
16007
 
 
16008
 
# Commands to strip libraries.
16009
 
old_striplib=$lt_old_striplib
16010
 
striplib=$lt_striplib
16011
 
 
16012
 
# Dependencies to place before the objects being linked to create a
16013
 
# shared library.
16014
 
predep_objects=$lt_predep_objects_CXX
16015
 
 
16016
 
# Dependencies to place after the objects being linked to create a
16017
 
# shared library.
16018
 
postdep_objects=$lt_postdep_objects_CXX
16019
 
 
16020
 
# Dependencies to place before the objects being linked to create a
16021
 
# shared library.
16022
 
predeps=$lt_predeps_CXX
16023
 
 
16024
 
# Dependencies to place after the objects being linked to create a
16025
 
# shared library.
16026
 
postdeps=$lt_postdeps_CXX
16027
 
 
16028
 
# The directories searched by this compiler when creating a shared
16029
 
# library
16030
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
16031
 
 
16032
 
# The library search path used internally by the compiler when linking
16033
 
# a shared library.
16034
 
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
16035
 
 
16036
 
# Method to check whether dependent libraries are shared objects.
16037
 
deplibs_check_method=$lt_deplibs_check_method
16038
 
 
16039
 
# Command to use when deplibs_check_method == file_magic.
16040
 
file_magic_cmd=$lt_file_magic_cmd
16041
 
 
16042
 
# Flag that allows shared libraries with undefined symbols to be built.
16043
 
allow_undefined_flag=$lt_allow_undefined_flag_CXX
16044
 
 
16045
 
# Flag that forces no undefined symbols.
16046
 
no_undefined_flag=$lt_no_undefined_flag_CXX
16047
 
 
16048
 
# Commands used to finish a libtool library installation in a directory.
16049
 
finish_cmds=$lt_finish_cmds
16050
 
 
16051
 
# Same as above, but a single script fragment to be evaled but not shown.
16052
 
finish_eval=$lt_finish_eval
16053
 
 
16054
 
# Take the output of nm and produce a listing of raw symbols and C names.
16055
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16056
 
 
16057
 
# Transform the output of nm in a proper C declaration
16058
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16059
 
 
16060
 
# Transform the output of nm in a C name address pair
16061
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16062
 
 
16063
 
# This is the shared library runtime path variable.
16064
 
runpath_var=$runpath_var
16065
 
 
16066
 
# This is the shared library path variable.
16067
 
shlibpath_var=$shlibpath_var
16068
 
 
16069
 
# Is shlibpath searched before the hard-coded library search path?
16070
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16071
 
 
16072
 
# How to hardcode a shared library path into an executable.
16073
 
hardcode_action=$hardcode_action_CXX
16074
 
 
16075
 
# Whether we should hardcode library paths into libraries.
16076
 
hardcode_into_libs=$hardcode_into_libs
16077
 
 
16078
 
# Flag to hardcode \$libdir into a binary during linking.
16079
 
# This must work even if \$libdir does not exist.
16080
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
16081
 
 
16082
 
# If ld is used when linking, flag to hardcode \$libdir into
16083
 
# a binary during linking. This must work even if \$libdir does
16084
 
# not exist.
16085
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
16086
 
 
16087
 
# Whether we need a single -rpath flag with a separated argument.
16088
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
16089
 
 
16090
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16091
 
# resulting binary.
16092
 
hardcode_direct=$hardcode_direct_CXX
16093
 
 
16094
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16095
 
# resulting binary.
16096
 
hardcode_minus_L=$hardcode_minus_L_CXX
16097
 
 
16098
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16099
 
# the resulting binary.
16100
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
16101
 
 
16102
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
16103
 
# and all subsequent libraries and executables linked against it.
16104
 
hardcode_automatic=$hardcode_automatic_CXX
16105
 
 
16106
 
# Variables whose values should be saved in libtool wrapper scripts and
16107
 
# restored at relink time.
16108
 
variables_saved_for_relink="$variables_saved_for_relink"
16109
 
 
16110
 
# Whether libtool must link a program against all its dependency libraries.
16111
 
link_all_deplibs=$link_all_deplibs_CXX
16112
 
 
16113
 
# Compile-time system search path for libraries
16114
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16115
 
 
16116
 
# Run-time system search path for libraries
16117
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16118
 
 
16119
 
# Fix the shell variable \$srcfile for the compiler.
16120
 
fix_srcfile_path=$lt_fix_srcfile_path
16121
 
 
16122
 
# Set to yes if exported symbols are required.
16123
 
always_export_symbols=$always_export_symbols_CXX
16124
 
 
16125
 
# The commands to list exported symbols.
16126
 
export_symbols_cmds=$lt_export_symbols_cmds_CXX
16127
 
 
16128
 
# The commands to extract the exported symbol list from a shared archive.
16129
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
16130
 
 
16131
 
# Symbols that should not be listed in the preloaded symbols.
16132
 
exclude_expsyms=$lt_exclude_expsyms_CXX
16133
 
 
16134
 
# Symbols that must always be exported.
16135
 
include_expsyms=$lt_include_expsyms_CXX
16136
 
 
16137
 
# ### END LIBTOOL TAG CONFIG: $tagname
16138
 
 
16139
 
__EOF__
16140
 
 
16141
 
 
16142
 
else
16143
 
  # If there is no Makefile yet, we rely on a make rule to execute
16144
 
  # `config.status --recheck' to rerun these tests and create the
16145
 
  # libtool script then.
16146
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16147
 
  if test -f "$ltmain_in"; then
16148
 
    test -f Makefile && make "$ltmain"
16149
 
  fi
16150
 
fi
16151
 
 
16152
 
 
16153
 
ac_ext=c
16154
 
ac_cpp='$CPP $CPPFLAGS'
16155
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16156
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16157
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16158
 
 
16159
 
CC=$lt_save_CC
16160
 
LDCXX=$LD
16161
 
LD=$lt_save_LD
16162
 
GCC=$lt_save_GCC
16163
 
with_gnu_ldcxx=$with_gnu_ld
16164
 
with_gnu_ld=$lt_save_with_gnu_ld
16165
 
lt_cv_path_LDCXX=$lt_cv_path_LD
16166
 
lt_cv_path_LD=$lt_save_path_LD
16167
 
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16168
 
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16169
 
 
16170
 
        else
16171
 
          tagname=""
16172
 
        fi
16173
 
        ;;
16174
 
 
16175
 
      F77)
16176
 
        if test -n "$F77" && test "X$F77" != "Xno"; then
16177
 
 
16178
 
ac_ext=f
16179
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
16180
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16181
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
16182
 
 
16183
 
 
16184
 
archive_cmds_need_lc_F77=no
16185
 
allow_undefined_flag_F77=
16186
 
always_export_symbols_F77=no
16187
 
archive_expsym_cmds_F77=
16188
 
export_dynamic_flag_spec_F77=
16189
 
hardcode_direct_F77=no
16190
 
hardcode_libdir_flag_spec_F77=
16191
 
hardcode_libdir_flag_spec_ld_F77=
16192
 
hardcode_libdir_separator_F77=
16193
 
hardcode_minus_L_F77=no
16194
 
hardcode_automatic_F77=no
16195
 
module_cmds_F77=
16196
 
module_expsym_cmds_F77=
16197
 
link_all_deplibs_F77=unknown
16198
 
old_archive_cmds_F77=$old_archive_cmds
16199
 
no_undefined_flag_F77=
16200
 
whole_archive_flag_spec_F77=
16201
 
enable_shared_with_static_runtimes_F77=no
16202
 
 
16203
 
# Source file extension for f77 test sources.
16204
 
ac_ext=f
16205
 
 
16206
 
# Object file extension for compiled f77 test sources.
16207
 
objext=o
16208
 
objext_F77=$objext
16209
 
 
16210
 
# Code to be used in simple compile tests
16211
 
lt_simple_compile_test_code="\
16212
 
      subroutine t
16213
 
      return
16214
 
      end
16215
 
"
16216
 
 
16217
 
# Code to be used in simple link tests
16218
 
lt_simple_link_test_code="\
16219
 
      program t
16220
 
      end
16221
 
"
16222
 
 
16223
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
16224
 
 
16225
 
# If no C compiler was specified, use CC.
16226
 
LTCC=${LTCC-"$CC"}
16227
 
 
16228
 
# If no C compiler flags were specified, use CFLAGS.
16229
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
16230
 
 
16231
 
# Allow CC to be a program name with arguments.
16232
 
compiler=$CC
16233
 
 
16234
 
 
16235
 
# save warnings/boilerplate of simple test code
16236
 
ac_outfile=conftest.$ac_objext
16237
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
16238
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16239
 
_lt_compiler_boilerplate=`cat conftest.err`
16240
 
$rm conftest*
16241
 
 
16242
 
ac_outfile=conftest.$ac_objext
16243
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
16244
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16245
 
_lt_linker_boilerplate=`cat conftest.err`
16246
 
$rm -r conftest*
16247
 
 
16248
 
 
16249
 
# Allow CC to be a program name with arguments.
16250
 
lt_save_CC="$CC"
16251
 
CC=${F77-"f77"}
16252
 
compiler=$CC
16253
 
compiler_F77=$CC
16254
 
for cc_temp in $compiler""; do
16255
 
  case $cc_temp in
16256
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16257
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16258
 
    \-*) ;;
16259
 
    *) break;;
16260
 
  esac
16261
 
done
16262
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16263
 
 
16264
 
 
16265
 
{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
16266
 
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
16267
 
{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
16268
 
$as_echo "$can_build_shared" >&6; }
16269
 
 
16270
 
{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
16271
 
$as_echo_n "checking whether to build shared libraries... " >&6; }
16272
 
test "$can_build_shared" = "no" && enable_shared=no
16273
 
 
16274
 
# On AIX, shared libraries and static libraries use the same namespace, and
16275
 
# are all built from PIC.
16276
 
case $host_os in
16277
 
aix3*)
16278
 
  test "$enable_shared" = yes && enable_static=no
16279
 
  if test -n "$RANLIB"; then
16280
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
16281
 
    postinstall_cmds='$RANLIB $lib'
16282
 
  fi
16283
 
  ;;
16284
 
aix[4-9]*)
16285
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
16286
 
    test "$enable_shared" = yes && enable_static=no
16287
 
  fi
16288
 
  ;;
16289
 
esac
16290
 
{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
16291
 
$as_echo "$enable_shared" >&6; }
16292
 
 
16293
 
{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
16294
 
$as_echo_n "checking whether to build static libraries... " >&6; }
16295
 
# Make sure either enable_shared or enable_static is yes.
16296
 
test "$enable_shared" = yes || enable_static=yes
16297
 
{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
16298
 
$as_echo "$enable_static" >&6; }
16299
 
 
16300
 
GCC_F77="$G77"
16301
 
LD_F77="$LD"
16302
 
 
16303
 
lt_prog_compiler_wl_F77=
16304
 
lt_prog_compiler_pic_F77=
16305
 
lt_prog_compiler_static_F77=
16306
 
 
16307
 
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16308
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16309
 
 
16310
 
  if test "$GCC" = yes; then
16311
 
    lt_prog_compiler_wl_F77='-Wl,'
16312
 
    lt_prog_compiler_static_F77='-static'
16313
 
 
16314
 
    case $host_os in
16315
 
      aix*)
16316
 
      # All AIX code is PIC.
16317
 
      if test "$host_cpu" = ia64; then
16318
 
        # AIX 5 now supports IA64 processor
16319
 
        lt_prog_compiler_static_F77='-Bstatic'
16320
 
      fi
16321
 
      ;;
16322
 
 
16323
 
    amigaos*)
16324
 
      # FIXME: we need at least 68020 code to build shared libraries, but
16325
 
      # adding the `-m68020' flag to GCC prevents building anything better,
16326
 
      # like `-m68040'.
16327
 
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
16328
 
      ;;
16329
 
 
16330
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16331
 
      # PIC is the default for these OSes.
16332
 
      ;;
16333
 
 
16334
 
    mingw* | cygwin* | pw32* | os2*)
16335
 
      # This hack is so that the source file can tell whether it is being
16336
 
      # built for inclusion in a dll (and should export symbols for example).
16337
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
16338
 
      # (--disable-auto-import) libraries
16339
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
16340
 
      ;;
16341
 
 
16342
 
    darwin* | rhapsody*)
16343
 
      # PIC is the default on this platform
16344
 
      # Common symbols not allowed in MH_DYLIB files
16345
 
      lt_prog_compiler_pic_F77='-fno-common'
16346
 
      ;;
16347
 
 
16348
 
    interix[3-9]*)
16349
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16350
 
      # Instead, we relocate shared libraries at runtime.
16351
 
      ;;
16352
 
 
16353
 
    msdosdjgpp*)
16354
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
16355
 
      # on systems that don't support them.
16356
 
      lt_prog_compiler_can_build_shared_F77=no
16357
 
      enable_shared=no
16358
 
      ;;
16359
 
 
16360
 
    sysv4*MP*)
16361
 
      if test -d /usr/nec; then
16362
 
        lt_prog_compiler_pic_F77=-Kconform_pic
16363
 
      fi
16364
 
      ;;
16365
 
 
16366
 
    hpux*)
16367
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16368
 
      # not for PA HP-UX.
16369
 
      case $host_cpu in
16370
 
      hppa*64*|ia64*)
16371
 
        # +Z the default
16372
 
        ;;
16373
 
      *)
16374
 
        lt_prog_compiler_pic_F77='-fPIC'
16375
 
        ;;
16376
 
      esac
16377
 
      ;;
16378
 
 
16379
 
    *)
16380
 
      lt_prog_compiler_pic_F77='-fPIC'
16381
 
      ;;
16382
 
    esac
16383
 
  else
16384
 
    # PORTME Check for flag to pass linker flags through the system compiler.
16385
 
    case $host_os in
16386
 
    aix*)
16387
 
      lt_prog_compiler_wl_F77='-Wl,'
16388
 
      if test "$host_cpu" = ia64; then
16389
 
        # AIX 5 now supports IA64 processor
16390
 
        lt_prog_compiler_static_F77='-Bstatic'
16391
 
      else
16392
 
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
16393
 
      fi
16394
 
      ;;
16395
 
      darwin*)
16396
 
        # PIC is the default on this platform
16397
 
        # Common symbols not allowed in MH_DYLIB files
16398
 
       case $cc_basename in
16399
 
         xlc*)
16400
 
         lt_prog_compiler_pic_F77='-qnocommon'
16401
 
         lt_prog_compiler_wl_F77='-Wl,'
16402
 
         ;;
16403
 
       esac
16404
 
       ;;
16405
 
 
16406
 
    mingw* | cygwin* | pw32* | os2*)
16407
 
      # This hack is so that the source file can tell whether it is being
16408
 
      # built for inclusion in a dll (and should export symbols for example).
16409
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
16410
 
      ;;
16411
 
 
16412
 
    hpux9* | hpux10* | hpux11*)
16413
 
      lt_prog_compiler_wl_F77='-Wl,'
16414
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16415
 
      # not for PA HP-UX.
16416
 
      case $host_cpu in
16417
 
      hppa*64*|ia64*)
16418
 
        # +Z the default
16419
 
        ;;
16420
 
      *)
16421
 
        lt_prog_compiler_pic_F77='+Z'
16422
 
        ;;
16423
 
      esac
16424
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
16425
 
      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
16426
 
      ;;
16427
 
 
16428
 
    irix5* | irix6* | nonstopux*)
16429
 
      lt_prog_compiler_wl_F77='-Wl,'
16430
 
      # PIC (with -KPIC) is the default.
16431
 
      lt_prog_compiler_static_F77='-non_shared'
16432
 
      ;;
16433
 
 
16434
 
    newsos6)
16435
 
      lt_prog_compiler_pic_F77='-KPIC'
16436
 
      lt_prog_compiler_static_F77='-Bstatic'
16437
 
      ;;
16438
 
 
16439
 
    linux* | k*bsd*-gnu)
16440
 
      case $cc_basename in
16441
 
      icc* | ecc*)
16442
 
        lt_prog_compiler_wl_F77='-Wl,'
16443
 
        lt_prog_compiler_pic_F77='-KPIC'
16444
 
        lt_prog_compiler_static_F77='-static'
16445
 
        ;;
16446
 
      pgcc* | pgf77* | pgf90* | pgf95*)
16447
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
16448
 
        # which looks to be a dead project)
16449
 
        lt_prog_compiler_wl_F77='-Wl,'
16450
 
        lt_prog_compiler_pic_F77='-fpic'
16451
 
        lt_prog_compiler_static_F77='-Bstatic'
16452
 
        ;;
16453
 
      ccc*)
16454
 
        lt_prog_compiler_wl_F77='-Wl,'
16455
 
        # All Alpha code is PIC.
16456
 
        lt_prog_compiler_static_F77='-non_shared'
16457
 
        ;;
16458
 
      *)
16459
 
        case `$CC -V 2>&1 | sed 5q` in
16460
 
        *Sun\ C*)
16461
 
          # Sun C 5.9
16462
 
          lt_prog_compiler_pic_F77='-KPIC'
16463
 
          lt_prog_compiler_static_F77='-Bstatic'
16464
 
          lt_prog_compiler_wl_F77='-Wl,'
16465
 
          ;;
16466
 
        *Sun\ F*)
16467
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
16468
 
          lt_prog_compiler_pic_F77='-KPIC'
16469
 
          lt_prog_compiler_static_F77='-Bstatic'
16470
 
          lt_prog_compiler_wl_F77=''
16471
 
          ;;
16472
 
        esac
16473
 
        ;;
16474
 
      esac
16475
 
      ;;
16476
 
 
16477
 
    osf3* | osf4* | osf5*)
16478
 
      lt_prog_compiler_wl_F77='-Wl,'
16479
 
      # All OSF/1 code is PIC.
16480
 
      lt_prog_compiler_static_F77='-non_shared'
16481
 
      ;;
16482
 
 
16483
 
    rdos*)
16484
 
      lt_prog_compiler_static_F77='-non_shared'
16485
 
      ;;
16486
 
 
16487
 
    solaris*)
16488
 
      lt_prog_compiler_pic_F77='-KPIC'
16489
 
      lt_prog_compiler_static_F77='-Bstatic'
16490
 
      case $cc_basename in
16491
 
      f77* | f90* | f95*)
16492
 
        lt_prog_compiler_wl_F77='-Qoption ld ';;
16493
 
      *)
16494
 
        lt_prog_compiler_wl_F77='-Wl,';;
16495
 
      esac
16496
 
      ;;
16497
 
 
16498
 
    sunos4*)
16499
 
      lt_prog_compiler_wl_F77='-Qoption ld '
16500
 
      lt_prog_compiler_pic_F77='-PIC'
16501
 
      lt_prog_compiler_static_F77='-Bstatic'
16502
 
      ;;
16503
 
 
16504
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
16505
 
      lt_prog_compiler_wl_F77='-Wl,'
16506
 
      lt_prog_compiler_pic_F77='-KPIC'
16507
 
      lt_prog_compiler_static_F77='-Bstatic'
16508
 
      ;;
16509
 
 
16510
 
    sysv4*MP*)
16511
 
      if test -d /usr/nec ;then
16512
 
        lt_prog_compiler_pic_F77='-Kconform_pic'
16513
 
        lt_prog_compiler_static_F77='-Bstatic'
16514
 
      fi
16515
 
      ;;
16516
 
 
16517
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16518
 
      lt_prog_compiler_wl_F77='-Wl,'
16519
 
      lt_prog_compiler_pic_F77='-KPIC'
16520
 
      lt_prog_compiler_static_F77='-Bstatic'
16521
 
      ;;
16522
 
 
16523
 
    unicos*)
16524
 
      lt_prog_compiler_wl_F77='-Wl,'
16525
 
      lt_prog_compiler_can_build_shared_F77=no
16526
 
      ;;
16527
 
 
16528
 
    uts4*)
16529
 
      lt_prog_compiler_pic_F77='-pic'
16530
 
      lt_prog_compiler_static_F77='-Bstatic'
16531
 
      ;;
16532
 
 
16533
 
    *)
16534
 
      lt_prog_compiler_can_build_shared_F77=no
16535
 
      ;;
16536
 
    esac
16537
 
  fi
16538
 
 
16539
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
16540
 
$as_echo "$lt_prog_compiler_pic_F77" >&6; }
16541
 
 
16542
 
#
16543
 
# Check to make sure the PIC flag actually works.
16544
 
#
16545
 
if test -n "$lt_prog_compiler_pic_F77"; then
16546
 
 
16547
 
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
16548
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
16549
 
if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
16550
 
  $as_echo_n "(cached) " >&6
16551
 
else
16552
 
  lt_cv_prog_compiler_pic_works_F77=no
16553
 
  ac_outfile=conftest.$ac_objext
16554
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16555
 
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
16556
 
   # Insert the option either (1) after the last *FLAGS variable, or
16557
 
   # (2) before a word containing "conftest.", or (3) at the end.
16558
 
   # Note that $ac_compile itself does not contain backslashes and begins
16559
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16560
 
   # The option is referenced via a variable to avoid confusing sed.
16561
 
   lt_compile=`echo "$ac_compile" | $SED \
16562
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16563
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16564
 
   -e 's:$: $lt_compiler_flag:'`
16565
 
   (eval echo "\"\$as_me:16565: $lt_compile\"" >&5)
16566
 
   (eval "$lt_compile" 2>conftest.err)
16567
 
   ac_status=$?
16568
 
   cat conftest.err >&5
16569
 
   echo "$as_me:16569: \$? = $ac_status" >&5
16570
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
16571
 
     # The compiler can only warn and ignore the option if not recognized
16572
 
     # So say no if there are warnings other than the usual output.
16573
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16574
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16575
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16576
 
       lt_cv_prog_compiler_pic_works_F77=yes
16577
 
     fi
16578
 
   fi
16579
 
   $rm conftest*
16580
 
 
16581
 
fi
16582
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
16583
 
$as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
16584
 
 
16585
 
if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
16586
 
    case $lt_prog_compiler_pic_F77 in
16587
 
     "" | " "*) ;;
16588
 
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
16589
 
     esac
16590
 
else
16591
 
    lt_prog_compiler_pic_F77=
16592
 
     lt_prog_compiler_can_build_shared_F77=no
16593
 
fi
16594
 
 
16595
 
fi
16596
 
case $host_os in
16597
 
  # For platforms which do not support PIC, -DPIC is meaningless:
16598
 
  *djgpp*)
16599
 
    lt_prog_compiler_pic_F77=
16600
 
    ;;
16601
 
  *)
16602
 
    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
16603
 
    ;;
16604
 
esac
16605
 
 
16606
 
#
16607
 
# Check to make sure the static flag actually works.
16608
 
#
16609
 
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
16610
 
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16611
 
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16612
 
if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
16613
 
  $as_echo_n "(cached) " >&6
16614
 
else
16615
 
  lt_cv_prog_compiler_static_works_F77=no
16616
 
   save_LDFLAGS="$LDFLAGS"
16617
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16618
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
16619
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16620
 
     # The linker can only warn and ignore the option if not recognized
16621
 
     # So say no if there are warnings
16622
 
     if test -s conftest.err; then
16623
 
       # Append any errors to the config.log.
16624
 
       cat conftest.err 1>&5
16625
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
16626
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16627
 
       if diff conftest.exp conftest.er2 >/dev/null; then
16628
 
         lt_cv_prog_compiler_static_works_F77=yes
16629
 
       fi
16630
 
     else
16631
 
       lt_cv_prog_compiler_static_works_F77=yes
16632
 
     fi
16633
 
   fi
16634
 
   $rm -r conftest*
16635
 
   LDFLAGS="$save_LDFLAGS"
16636
 
 
16637
 
fi
16638
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
16639
 
$as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
16640
 
 
16641
 
if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
16642
 
    :
16643
 
else
16644
 
    lt_prog_compiler_static_F77=
16645
 
fi
16646
 
 
16647
 
 
16648
 
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16649
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16650
 
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
16651
 
  $as_echo_n "(cached) " >&6
16652
 
else
16653
 
  lt_cv_prog_compiler_c_o_F77=no
16654
 
   $rm -r conftest 2>/dev/null
16655
 
   mkdir conftest
16656
 
   cd conftest
16657
 
   mkdir out
16658
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16659
 
 
16660
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
16661
 
   # Insert the option either (1) after the last *FLAGS variable, or
16662
 
   # (2) before a word containing "conftest.", or (3) at the end.
16663
 
   # Note that $ac_compile itself does not contain backslashes and begins
16664
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16665
 
   lt_compile=`echo "$ac_compile" | $SED \
16666
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16667
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16668
 
   -e 's:$: $lt_compiler_flag:'`
16669
 
   (eval echo "\"\$as_me:16669: $lt_compile\"" >&5)
16670
 
   (eval "$lt_compile" 2>out/conftest.err)
16671
 
   ac_status=$?
16672
 
   cat out/conftest.err >&5
16673
 
   echo "$as_me:16673: \$? = $ac_status" >&5
16674
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16675
 
   then
16676
 
     # The compiler can only warn and ignore the option if not recognized
16677
 
     # So say no if there are warnings
16678
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
16679
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16680
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16681
 
       lt_cv_prog_compiler_c_o_F77=yes
16682
 
     fi
16683
 
   fi
16684
 
   chmod u+w . 2>&5
16685
 
   $rm conftest*
16686
 
   # SGI C++ compiler will create directory out/ii_files/ for
16687
 
   # template instantiation
16688
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
16689
 
   $rm out/* && rmdir out
16690
 
   cd ..
16691
 
   rmdir conftest
16692
 
   $rm conftest*
16693
 
 
16694
 
fi
16695
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
16696
 
$as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
16697
 
 
16698
 
 
16699
 
hard_links="nottested"
16700
 
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
16701
 
  # do not overwrite the value of need_locks provided by the user
16702
 
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16703
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
16704
 
  hard_links=yes
16705
 
  $rm conftest*
16706
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16707
 
  touch conftest.a
16708
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
16709
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16710
 
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
16711
 
$as_echo "$hard_links" >&6; }
16712
 
  if test "$hard_links" = no; then
16713
 
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16714
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16715
 
    need_locks=warn
16716
 
  fi
16717
 
else
16718
 
  need_locks=no
16719
 
fi
16720
 
 
16721
 
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16722
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16723
 
 
16724
 
  runpath_var=
16725
 
  allow_undefined_flag_F77=
16726
 
  enable_shared_with_static_runtimes_F77=no
16727
 
  archive_cmds_F77=
16728
 
  archive_expsym_cmds_F77=
16729
 
  old_archive_From_new_cmds_F77=
16730
 
  old_archive_from_expsyms_cmds_F77=
16731
 
  export_dynamic_flag_spec_F77=
16732
 
  whole_archive_flag_spec_F77=
16733
 
  thread_safe_flag_spec_F77=
16734
 
  hardcode_libdir_flag_spec_F77=
16735
 
  hardcode_libdir_flag_spec_ld_F77=
16736
 
  hardcode_libdir_separator_F77=
16737
 
  hardcode_direct_F77=no
16738
 
  hardcode_minus_L_F77=no
16739
 
  hardcode_shlibpath_var_F77=unsupported
16740
 
  link_all_deplibs_F77=unknown
16741
 
  hardcode_automatic_F77=no
16742
 
  module_cmds_F77=
16743
 
  module_expsym_cmds_F77=
16744
 
  always_export_symbols_F77=no
16745
 
  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16746
 
  # include_expsyms should be a list of space-separated symbols to be *always*
16747
 
  # included in the symbol list
16748
 
  include_expsyms_F77=
16749
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
16750
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
16751
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16752
 
  # as well as any symbol that contains `d'.
16753
 
  exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16754
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16755
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
16756
 
  # the symbol is explicitly referenced.  Since portable code cannot
16757
 
  # rely on this symbol name, it's probably fine to never include it in
16758
 
  # preloaded symbol tables.
16759
 
  # Exclude shared library initialization/finalization symbols.
16760
 
  extract_expsyms_cmds=
16761
 
  # Just being paranoid about ensuring that cc_basename is set.
16762
 
  for cc_temp in $compiler""; do
16763
 
  case $cc_temp in
16764
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16765
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16766
 
    \-*) ;;
16767
 
    *) break;;
16768
 
  esac
16769
 
done
16770
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16771
 
 
16772
 
  case $host_os in
16773
 
  cygwin* | mingw* | pw32*)
16774
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
16775
 
    # When not using gcc, we currently assume that we are using
16776
 
    # Microsoft Visual C++.
16777
 
    if test "$GCC" != yes; then
16778
 
      with_gnu_ld=no
16779
 
    fi
16780
 
    ;;
16781
 
  interix*)
16782
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
16783
 
    with_gnu_ld=yes
16784
 
    ;;
16785
 
  openbsd*)
16786
 
    with_gnu_ld=no
16787
 
    ;;
16788
 
  esac
16789
 
 
16790
 
  ld_shlibs_F77=yes
16791
 
  if test "$with_gnu_ld" = yes; then
16792
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
16793
 
    wlarc='${wl}'
16794
 
 
16795
 
    # Set some defaults for GNU ld with shared library support. These
16796
 
    # are reset later if shared libraries are not supported. Putting them
16797
 
    # here allows them to be overridden if necessary.
16798
 
    runpath_var=LD_RUN_PATH
16799
 
    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
16800
 
    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
16801
 
    # ancient GNU ld didn't support --whole-archive et. al.
16802
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
16803
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16804
 
      else
16805
 
        whole_archive_flag_spec_F77=
16806
 
    fi
16807
 
    supports_anon_versioning=no
16808
 
    case `$LD -v 2>/dev/null` in
16809
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
16810
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
16811
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
16812
 
      *\ 2.11.*) ;; # other 2.11 versions
16813
 
      *) supports_anon_versioning=yes ;;
16814
 
    esac
16815
 
 
16816
 
    # See if GNU ld supports shared libraries.
16817
 
    case $host_os in
16818
 
    aix[3-9]*)
16819
 
      # On AIX/PPC, the GNU linker is very broken
16820
 
      if test "$host_cpu" != ia64; then
16821
 
        ld_shlibs_F77=no
16822
 
        cat <<EOF 1>&2
16823
 
 
16824
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
16825
 
*** to be unable to reliably create shared libraries on AIX.
16826
 
*** Therefore, libtool is disabling shared libraries support.  If you
16827
 
*** really care for shared libraries, you may want to modify your PATH
16828
 
*** so that a non-GNU linker is found, and then restart.
16829
 
 
16830
 
EOF
16831
 
      fi
16832
 
      ;;
16833
 
 
16834
 
    amigaos*)
16835
 
      archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
16836
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16837
 
      hardcode_minus_L_F77=yes
16838
 
 
16839
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16840
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
16841
 
      # to version 4, is to share data among multiple programs linked
16842
 
      # with the same dynamic library.  Since this doesn't match the
16843
 
      # behavior of shared libraries on other platforms, we can't use
16844
 
      # them.
16845
 
      ld_shlibs_F77=no
16846
 
      ;;
16847
 
 
16848
 
    beos*)
16849
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16850
 
        allow_undefined_flag_F77=unsupported
16851
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16852
 
        # support --undefined.  This deserves some investigation.  FIXME
16853
 
        archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16854
 
      else
16855
 
        ld_shlibs_F77=no
16856
 
      fi
16857
 
      ;;
16858
 
 
16859
 
    cygwin* | mingw* | pw32*)
16860
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
16861
 
      # as there is no search path for DLLs.
16862
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16863
 
      allow_undefined_flag_F77=unsupported
16864
 
      always_export_symbols_F77=no
16865
 
      enable_shared_with_static_runtimes_F77=yes
16866
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
16867
 
 
16868
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16869
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16870
 
        # If the export-symbols file already is a .def file (1st line
16871
 
        # is EXPORTS), use it as is; otherwise, prepend...
16872
 
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16873
 
          cp $export_symbols $output_objdir/$soname.def;
16874
 
        else
16875
 
          echo EXPORTS > $output_objdir/$soname.def;
16876
 
          cat $export_symbols >> $output_objdir/$soname.def;
16877
 
        fi~
16878
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16879
 
      else
16880
 
        ld_shlibs_F77=no
16881
 
      fi
16882
 
      ;;
16883
 
 
16884
 
    interix[3-9]*)
16885
 
      hardcode_direct_F77=no
16886
 
      hardcode_shlibpath_var_F77=no
16887
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16888
 
      export_dynamic_flag_spec_F77='${wl}-E'
16889
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16890
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
16891
 
      # default) and relocated if they conflict, which is a slow very memory
16892
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
16893
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16894
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
16895
 
      archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16896
 
      archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16897
 
      ;;
16898
 
 
16899
 
    gnu* | linux* | k*bsd*-gnu)
16900
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16901
 
        tmp_addflag=
16902
 
        case $cc_basename,$host_cpu in
16903
 
        pgcc*)                          # Portland Group C compiler
16904
 
          whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16905
 
          tmp_addflag=' $pic_flag'
16906
 
          ;;
16907
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
16908
 
          whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16909
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
16910
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
16911
 
          tmp_addflag=' -i_dynamic' ;;
16912
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
16913
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
16914
 
        ifc* | ifort*)                  # Intel Fortran compiler
16915
 
          tmp_addflag=' -nofor_main' ;;
16916
 
        esac
16917
 
        case `$CC -V 2>&1 | sed 5q` in
16918
 
        *Sun\ C*)                       # Sun C 5.9
16919
 
          whole_archive_flag_spec_F77='${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'
16920
 
          tmp_sharedflag='-G' ;;
16921
 
        *Sun\ F*)                       # Sun Fortran 8.3
16922
 
          tmp_sharedflag='-G' ;;
16923
 
        *)
16924
 
          tmp_sharedflag='-shared' ;;
16925
 
        esac
16926
 
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16927
 
 
16928
 
        if test $supports_anon_versioning = yes; then
16929
 
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
16930
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16931
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
16932
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16933
 
        fi
16934
 
      else
16935
 
        ld_shlibs_F77=no
16936
 
      fi
16937
 
      ;;
16938
 
 
16939
 
    netbsd*)
16940
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16941
 
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16942
 
        wlarc=
16943
 
      else
16944
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16945
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16946
 
      fi
16947
 
      ;;
16948
 
 
16949
 
    solaris*)
16950
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
16951
 
        ld_shlibs_F77=no
16952
 
        cat <<EOF 1>&2
16953
 
 
16954
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
16955
 
*** create shared libraries on Solaris systems.  Therefore, libtool
16956
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
16957
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
16958
 
*** your PATH or compiler configuration so that the native linker is
16959
 
*** used, and then restart.
16960
 
 
16961
 
EOF
16962
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16963
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16964
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16965
 
      else
16966
 
        ld_shlibs_F77=no
16967
 
      fi
16968
 
      ;;
16969
 
 
16970
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
16971
 
      case `$LD -v 2>&1` in
16972
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
16973
 
        ld_shlibs_F77=no
16974
 
        cat <<_LT_EOF 1>&2
16975
 
 
16976
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16977
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
16978
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
16979
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
16980
 
*** your PATH or compiler configuration so that the native linker is
16981
 
*** used, and then restart.
16982
 
 
16983
 
_LT_EOF
16984
 
        ;;
16985
 
        *)
16986
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16987
 
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
16988
 
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
16989
 
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
16990
 
          else
16991
 
            ld_shlibs_F77=no
16992
 
          fi
16993
 
        ;;
16994
 
      esac
16995
 
      ;;
16996
 
 
16997
 
    sunos4*)
16998
 
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16999
 
      wlarc=
17000
 
      hardcode_direct_F77=yes
17001
 
      hardcode_shlibpath_var_F77=no
17002
 
      ;;
17003
 
 
17004
 
    *)
17005
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17006
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17007
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17008
 
      else
17009
 
        ld_shlibs_F77=no
17010
 
      fi
17011
 
      ;;
17012
 
    esac
17013
 
 
17014
 
    if test "$ld_shlibs_F77" = no; then
17015
 
      runpath_var=
17016
 
      hardcode_libdir_flag_spec_F77=
17017
 
      export_dynamic_flag_spec_F77=
17018
 
      whole_archive_flag_spec_F77=
17019
 
    fi
17020
 
  else
17021
 
    # PORTME fill in a description of your system's linker (not GNU ld)
17022
 
    case $host_os in
17023
 
    aix3*)
17024
 
      allow_undefined_flag_F77=unsupported
17025
 
      always_export_symbols_F77=yes
17026
 
      archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
17027
 
      # Note: this linker hardcodes the directories in LIBPATH if there
17028
 
      # are no directories specified by -L.
17029
 
      hardcode_minus_L_F77=yes
17030
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17031
 
        # Neither direct hardcoding nor static linking is supported with a
17032
 
        # broken collect2.
17033
 
        hardcode_direct_F77=unsupported
17034
 
      fi
17035
 
      ;;
17036
 
 
17037
 
    aix[4-9]*)
17038
 
      if test "$host_cpu" = ia64; then
17039
 
        # On IA64, the linker does run time linking by default, so we don't
17040
 
        # have to do anything special.
17041
 
        aix_use_runtimelinking=no
17042
 
        exp_sym_flag='-Bexport'
17043
 
        no_entry_flag=""
17044
 
      else
17045
 
        # If we're using GNU nm, then we don't want the "-C" option.
17046
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
17047
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17048
 
          export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17049
 
        else
17050
 
          export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17051
 
        fi
17052
 
        aix_use_runtimelinking=no
17053
 
 
17054
 
        # Test if we are trying to use run time linking or normal
17055
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17056
 
        # need to do runtime linking.
17057
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
17058
 
          for ld_flag in $LDFLAGS; do
17059
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
17060
 
            aix_use_runtimelinking=yes
17061
 
            break
17062
 
          fi
17063
 
          done
17064
 
          ;;
17065
 
        esac
17066
 
 
17067
 
        exp_sym_flag='-bexport'
17068
 
        no_entry_flag='-bnoentry'
17069
 
      fi
17070
 
 
17071
 
      # When large executables or shared objects are built, AIX ld can
17072
 
      # have problems creating the table of contents.  If linking a library
17073
 
      # or program results in "error TOC overflow" add -mminimal-toc to
17074
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
17075
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17076
 
 
17077
 
      archive_cmds_F77=''
17078
 
      hardcode_direct_F77=yes
17079
 
      hardcode_libdir_separator_F77=':'
17080
 
      link_all_deplibs_F77=yes
17081
 
 
17082
 
      if test "$GCC" = yes; then
17083
 
        case $host_os in aix4.[012]|aix4.[012].*)
17084
 
        # We only want to do this on AIX 4.2 and lower, the check
17085
 
        # below for broken collect2 doesn't work under 4.3+
17086
 
          collect2name=`${CC} -print-prog-name=collect2`
17087
 
          if test -f "$collect2name" && \
17088
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
17089
 
          then
17090
 
          # We have reworked collect2
17091
 
          :
17092
 
          else
17093
 
          # We have old collect2
17094
 
          hardcode_direct_F77=unsupported
17095
 
          # It fails to find uninstalled libraries when the uninstalled
17096
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
17097
 
          # to unsupported forces relinking
17098
 
          hardcode_minus_L_F77=yes
17099
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
17100
 
          hardcode_libdir_separator_F77=
17101
 
          fi
17102
 
          ;;
17103
 
        esac
17104
 
        shared_flag='-shared'
17105
 
        if test "$aix_use_runtimelinking" = yes; then
17106
 
          shared_flag="$shared_flag "'${wl}-G'
17107
 
        fi
17108
 
      else
17109
 
        # not using gcc
17110
 
        if test "$host_cpu" = ia64; then
17111
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17112
 
        # chokes on -Wl,-G. The following line is correct:
17113
 
          shared_flag='-G'
17114
 
        else
17115
 
          if test "$aix_use_runtimelinking" = yes; then
17116
 
            shared_flag='${wl}-G'
17117
 
          else
17118
 
            shared_flag='${wl}-bM:SRE'
17119
 
          fi
17120
 
        fi
17121
 
      fi
17122
 
 
17123
 
      # It seems that -bexpall does not export symbols beginning with
17124
 
      # underscore (_), so it is better to generate a list of symbols to export.
17125
 
      always_export_symbols_F77=yes
17126
 
      if test "$aix_use_runtimelinking" = yes; then
17127
 
        # Warning - without using the other runtime loading flags (-brtl),
17128
 
        # -berok will link without error, but may produce a broken library.
17129
 
        allow_undefined_flag_F77='-berok'
17130
 
       # Determine the default libpath from the value encoded in an empty executable.
17131
 
       cat >conftest.$ac_ext <<_ACEOF
17132
 
      program main
17133
 
 
17134
 
      end
17135
 
_ACEOF
17136
 
rm -f conftest.$ac_objext conftest$ac_exeext
17137
 
if { (ac_try="$ac_link"
17138
 
case "(($ac_try" in
17139
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17140
 
  *) ac_try_echo=$ac_try;;
17141
 
esac
17142
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17143
 
$as_echo "$ac_try_echo") >&5
17144
 
  (eval "$ac_link") 2>conftest.er1
17145
 
  ac_status=$?
17146
 
  grep -v '^ *+' conftest.er1 >conftest.err
17147
 
  rm -f conftest.er1
17148
 
  cat conftest.err >&5
17149
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17150
 
  (exit $ac_status); } && {
17151
 
         test -z "$ac_f77_werror_flag" ||
17152
 
         test ! -s conftest.err
17153
 
       } && test -s conftest$ac_exeext && {
17154
 
         test "$cross_compiling" = yes ||
17155
 
         $as_test_x conftest$ac_exeext
17156
 
       }; then
17157
 
 
17158
 
lt_aix_libpath_sed='
17159
 
    /Import File Strings/,/^$/ {
17160
 
        /^0/ {
17161
 
            s/^0  *\(.*\)$/\1/
17162
 
            p
17163
 
        }
17164
 
    }'
17165
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17166
 
# Check for a 64-bit object if we didn't find anything.
17167
 
if test -z "$aix_libpath"; then
17168
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17169
 
fi
17170
 
else
17171
 
  $as_echo "$as_me: failed program was:" >&5
17172
 
sed 's/^/| /' conftest.$ac_ext >&5
17173
 
 
17174
 
 
17175
 
fi
17176
 
 
17177
 
rm -rf conftest.dSYM
17178
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17179
 
      conftest$ac_exeext conftest.$ac_ext
17180
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17181
 
 
17182
 
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
17183
 
        archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17184
 
       else
17185
 
        if test "$host_cpu" = ia64; then
17186
 
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
17187
 
          allow_undefined_flag_F77="-z nodefs"
17188
 
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
17189
 
        else
17190
 
         # Determine the default libpath from the value encoded in an empty executable.
17191
 
         cat >conftest.$ac_ext <<_ACEOF
17192
 
      program main
17193
 
 
17194
 
      end
17195
 
_ACEOF
17196
 
rm -f conftest.$ac_objext conftest$ac_exeext
17197
 
if { (ac_try="$ac_link"
17198
 
case "(($ac_try" in
17199
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17200
 
  *) ac_try_echo=$ac_try;;
17201
 
esac
17202
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17203
 
$as_echo "$ac_try_echo") >&5
17204
 
  (eval "$ac_link") 2>conftest.er1
17205
 
  ac_status=$?
17206
 
  grep -v '^ *+' conftest.er1 >conftest.err
17207
 
  rm -f conftest.er1
17208
 
  cat conftest.err >&5
17209
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17210
 
  (exit $ac_status); } && {
17211
 
         test -z "$ac_f77_werror_flag" ||
17212
 
         test ! -s conftest.err
17213
 
       } && test -s conftest$ac_exeext && {
17214
 
         test "$cross_compiling" = yes ||
17215
 
         $as_test_x conftest$ac_exeext
17216
 
       }; then
17217
 
 
17218
 
lt_aix_libpath_sed='
17219
 
    /Import File Strings/,/^$/ {
17220
 
        /^0/ {
17221
 
            s/^0  *\(.*\)$/\1/
17222
 
            p
17223
 
        }
17224
 
    }'
17225
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17226
 
# Check for a 64-bit object if we didn't find anything.
17227
 
if test -z "$aix_libpath"; then
17228
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17229
 
fi
17230
 
else
17231
 
  $as_echo "$as_me: failed program was:" >&5
17232
 
sed 's/^/| /' conftest.$ac_ext >&5
17233
 
 
17234
 
 
17235
 
fi
17236
 
 
17237
 
rm -rf conftest.dSYM
17238
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17239
 
      conftest$ac_exeext conftest.$ac_ext
17240
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17241
 
 
17242
 
         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
17243
 
          # Warning - without using the other run time loading flags,
17244
 
          # -berok will link without error, but may produce a broken library.
17245
 
          no_undefined_flag_F77=' ${wl}-bernotok'
17246
 
          allow_undefined_flag_F77=' ${wl}-berok'
17247
 
          # Exported symbols can be pulled into shared objects from archives
17248
 
          whole_archive_flag_spec_F77='$convenience'
17249
 
          archive_cmds_need_lc_F77=yes
17250
 
          # This is similar to how AIX traditionally builds its shared libraries.
17251
 
          archive_expsym_cmds_F77="\$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'
17252
 
        fi
17253
 
      fi
17254
 
      ;;
17255
 
 
17256
 
    amigaos*)
17257
 
      archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
17258
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17259
 
      hardcode_minus_L_F77=yes
17260
 
      # see comment about different semantics on the GNU ld section
17261
 
      ld_shlibs_F77=no
17262
 
      ;;
17263
 
 
17264
 
    bsdi[45]*)
17265
 
      export_dynamic_flag_spec_F77=-rdynamic
17266
 
      ;;
17267
 
 
17268
 
    cygwin* | mingw* | pw32*)
17269
 
      # When not using gcc, we currently assume that we are using
17270
 
      # Microsoft Visual C++.
17271
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
17272
 
      # no search path for DLLs.
17273
 
      hardcode_libdir_flag_spec_F77=' '
17274
 
      allow_undefined_flag_F77=unsupported
17275
 
      # Tell ltmain to make .lib files, not .a files.
17276
 
      libext=lib
17277
 
      # Tell ltmain to make .dll files, not .so files.
17278
 
      shrext_cmds=".dll"
17279
 
      # FIXME: Setting linknames here is a bad hack.
17280
 
      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17281
 
      # The linker will automatically build a .lib file if we build a DLL.
17282
 
      old_archive_From_new_cmds_F77='true'
17283
 
      # FIXME: Should let the user specify the lib program.
17284
 
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
17285
 
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
17286
 
      enable_shared_with_static_runtimes_F77=yes
17287
 
      ;;
17288
 
 
17289
 
    darwin* | rhapsody*)
17290
 
      case $host_os in
17291
 
        rhapsody* | darwin1.[012])
17292
 
         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
17293
 
         ;;
17294
 
       *) # Darwin 1.3 on
17295
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17296
 
           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17297
 
         else
17298
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
17299
 
             10.[012])
17300
 
               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17301
 
               ;;
17302
 
             10.*)
17303
 
               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
17304
 
               ;;
17305
 
           esac
17306
 
         fi
17307
 
         ;;
17308
 
      esac
17309
 
      archive_cmds_need_lc_F77=no
17310
 
      hardcode_direct_F77=no
17311
 
      hardcode_automatic_F77=yes
17312
 
      hardcode_shlibpath_var_F77=unsupported
17313
 
      whole_archive_flag_spec_F77=''
17314
 
      link_all_deplibs_F77=yes
17315
 
    if test "$GCC" = yes ; then
17316
 
        output_verbose_link_cmd='echo'
17317
 
        archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
17318
 
        module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
17319
 
        archive_expsym_cmds_F77="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}"
17320
 
        module_expsym_cmds_F77="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
17321
 
    else
17322
 
      case $cc_basename in
17323
 
        xlc*)
17324
 
         output_verbose_link_cmd='echo'
17325
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17326
 
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17327
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17328
 
         archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17329
 
          module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17330
 
          ;;
17331
 
       *)
17332
 
         ld_shlibs_F77=no
17333
 
          ;;
17334
 
      esac
17335
 
    fi
17336
 
      ;;
17337
 
 
17338
 
    dgux*)
17339
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17340
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17341
 
      hardcode_shlibpath_var_F77=no
17342
 
      ;;
17343
 
 
17344
 
    freebsd1*)
17345
 
      ld_shlibs_F77=no
17346
 
      ;;
17347
 
 
17348
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17349
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
17350
 
    # does not break anything, and helps significantly (at the cost of a little
17351
 
    # extra space).
17352
 
    freebsd2.2*)
17353
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17354
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
17355
 
      hardcode_direct_F77=yes
17356
 
      hardcode_shlibpath_var_F77=no
17357
 
      ;;
17358
 
 
17359
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17360
 
    freebsd2*)
17361
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17362
 
      hardcode_direct_F77=yes
17363
 
      hardcode_minus_L_F77=yes
17364
 
      hardcode_shlibpath_var_F77=no
17365
 
      ;;
17366
 
 
17367
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17368
 
    freebsd* | dragonfly*)
17369
 
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17370
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
17371
 
      hardcode_direct_F77=yes
17372
 
      hardcode_shlibpath_var_F77=no
17373
 
      ;;
17374
 
 
17375
 
    hpux9*)
17376
 
      if test "$GCC" = yes; then
17377
 
        archive_cmds_F77='$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'
17378
 
      else
17379
 
        archive_cmds_F77='$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'
17380
 
      fi
17381
 
      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
17382
 
      hardcode_libdir_separator_F77=:
17383
 
      hardcode_direct_F77=yes
17384
 
 
17385
 
      # hardcode_minus_L: Not really in the search PATH,
17386
 
      # but as the default location of the library.
17387
 
      hardcode_minus_L_F77=yes
17388
 
      export_dynamic_flag_spec_F77='${wl}-E'
17389
 
      ;;
17390
 
 
17391
 
    hpux10*)
17392
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17393
 
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17394
 
      else
17395
 
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17396
 
      fi
17397
 
      if test "$with_gnu_ld" = no; then
17398
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
17399
 
        hardcode_libdir_separator_F77=:
17400
 
 
17401
 
        hardcode_direct_F77=yes
17402
 
        export_dynamic_flag_spec_F77='${wl}-E'
17403
 
 
17404
 
        # hardcode_minus_L: Not really in the search PATH,
17405
 
        # but as the default location of the library.
17406
 
        hardcode_minus_L_F77=yes
17407
 
      fi
17408
 
      ;;
17409
 
 
17410
 
    hpux11*)
17411
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17412
 
        case $host_cpu in
17413
 
        hppa*64*)
17414
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17415
 
          ;;
17416
 
        ia64*)
17417
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17418
 
          ;;
17419
 
        *)
17420
 
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17421
 
          ;;
17422
 
        esac
17423
 
      else
17424
 
        case $host_cpu in
17425
 
        hppa*64*)
17426
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17427
 
          ;;
17428
 
        ia64*)
17429
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17430
 
          ;;
17431
 
        *)
17432
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17433
 
          ;;
17434
 
        esac
17435
 
      fi
17436
 
      if test "$with_gnu_ld" = no; then
17437
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
17438
 
        hardcode_libdir_separator_F77=:
17439
 
 
17440
 
        case $host_cpu in
17441
 
        hppa*64*|ia64*)
17442
 
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
17443
 
          hardcode_direct_F77=no
17444
 
          hardcode_shlibpath_var_F77=no
17445
 
          ;;
17446
 
        *)
17447
 
          hardcode_direct_F77=yes
17448
 
          export_dynamic_flag_spec_F77='${wl}-E'
17449
 
 
17450
 
          # hardcode_minus_L: Not really in the search PATH,
17451
 
          # but as the default location of the library.
17452
 
          hardcode_minus_L_F77=yes
17453
 
          ;;
17454
 
        esac
17455
 
      fi
17456
 
      ;;
17457
 
 
17458
 
    irix5* | irix6* | nonstopux*)
17459
 
      if test "$GCC" = yes; then
17460
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17461
 
      else
17462
 
        archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17463
 
        hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
17464
 
      fi
17465
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17466
 
      hardcode_libdir_separator_F77=:
17467
 
      link_all_deplibs_F77=yes
17468
 
      ;;
17469
 
 
17470
 
    netbsd*)
17471
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17472
 
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
17473
 
      else
17474
 
        archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
17475
 
      fi
17476
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
17477
 
      hardcode_direct_F77=yes
17478
 
      hardcode_shlibpath_var_F77=no
17479
 
      ;;
17480
 
 
17481
 
    newsos6)
17482
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17483
 
      hardcode_direct_F77=yes
17484
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17485
 
      hardcode_libdir_separator_F77=:
17486
 
      hardcode_shlibpath_var_F77=no
17487
 
      ;;
17488
 
 
17489
 
    openbsd*)
17490
 
      if test -f /usr/libexec/ld.so; then
17491
 
        hardcode_direct_F77=yes
17492
 
        hardcode_shlibpath_var_F77=no
17493
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17494
 
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17495
 
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17496
 
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
17497
 
          export_dynamic_flag_spec_F77='${wl}-E'
17498
 
        else
17499
 
          case $host_os in
17500
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
17501
 
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17502
 
             hardcode_libdir_flag_spec_F77='-R$libdir'
17503
 
             ;;
17504
 
           *)
17505
 
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17506
 
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
17507
 
             ;;
17508
 
          esac
17509
 
        fi
17510
 
      else
17511
 
        ld_shlibs_F77=no
17512
 
      fi
17513
 
      ;;
17514
 
 
17515
 
    os2*)
17516
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17517
 
      hardcode_minus_L_F77=yes
17518
 
      allow_undefined_flag_F77=unsupported
17519
 
      archive_cmds_F77='$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'
17520
 
      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17521
 
      ;;
17522
 
 
17523
 
    osf3*)
17524
 
      if test "$GCC" = yes; then
17525
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
17526
 
        archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17527
 
      else
17528
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
17529
 
        archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17530
 
      fi
17531
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17532
 
      hardcode_libdir_separator_F77=:
17533
 
      ;;
17534
 
 
17535
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
17536
 
      if test "$GCC" = yes; then
17537
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
17538
 
        archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17539
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17540
 
      else
17541
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
17542
 
        archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17543
 
        archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
17544
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
17545
 
 
17546
 
        # Both c and cxx compiler support -rpath directly
17547
 
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
17548
 
      fi
17549
 
      hardcode_libdir_separator_F77=:
17550
 
      ;;
17551
 
 
17552
 
    solaris*)
17553
 
      no_undefined_flag_F77=' -z text'
17554
 
      if test "$GCC" = yes; then
17555
 
        wlarc='${wl}'
17556
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17557
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17558
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17559
 
      else
17560
 
        wlarc=''
17561
 
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17562
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17563
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17564
 
      fi
17565
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
17566
 
      hardcode_shlibpath_var_F77=no
17567
 
      case $host_os in
17568
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
17569
 
      *)
17570
 
        # The compiler driver will combine and reorder linker options,
17571
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
17572
 
        # but is careful enough not to reorder.
17573
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
17574
 
        if test "$GCC" = yes; then
17575
 
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
17576
 
        else
17577
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
17578
 
        fi
17579
 
        ;;
17580
 
      esac
17581
 
      link_all_deplibs_F77=yes
17582
 
      ;;
17583
 
 
17584
 
    sunos4*)
17585
 
      if test "x$host_vendor" = xsequent; then
17586
 
        # Use $CC to link under sequent, because it throws in some extra .o
17587
 
        # files that make .init and .fini sections work.
17588
 
        archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17589
 
      else
17590
 
        archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17591
 
      fi
17592
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17593
 
      hardcode_direct_F77=yes
17594
 
      hardcode_minus_L_F77=yes
17595
 
      hardcode_shlibpath_var_F77=no
17596
 
      ;;
17597
 
 
17598
 
    sysv4)
17599
 
      case $host_vendor in
17600
 
        sni)
17601
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17602
 
          hardcode_direct_F77=yes # is this really true???
17603
 
        ;;
17604
 
        siemens)
17605
 
          ## LD is ld it makes a PLAMLIB
17606
 
          ## CC just makes a GrossModule.
17607
 
          archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17608
 
          reload_cmds_F77='$CC -r -o $output$reload_objs'
17609
 
          hardcode_direct_F77=no
17610
 
        ;;
17611
 
        motorola)
17612
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17613
 
          hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
17614
 
        ;;
17615
 
      esac
17616
 
      runpath_var='LD_RUN_PATH'
17617
 
      hardcode_shlibpath_var_F77=no
17618
 
      ;;
17619
 
 
17620
 
    sysv4.3*)
17621
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17622
 
      hardcode_shlibpath_var_F77=no
17623
 
      export_dynamic_flag_spec_F77='-Bexport'
17624
 
      ;;
17625
 
 
17626
 
    sysv4*MP*)
17627
 
      if test -d /usr/nec; then
17628
 
        archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17629
 
        hardcode_shlibpath_var_F77=no
17630
 
        runpath_var=LD_RUN_PATH
17631
 
        hardcode_runpath_var=yes
17632
 
        ld_shlibs_F77=yes
17633
 
      fi
17634
 
      ;;
17635
 
 
17636
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
17637
 
      no_undefined_flag_F77='${wl}-z,text'
17638
 
      archive_cmds_need_lc_F77=no
17639
 
      hardcode_shlibpath_var_F77=no
17640
 
      runpath_var='LD_RUN_PATH'
17641
 
 
17642
 
      if test "$GCC" = yes; then
17643
 
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17644
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17645
 
      else
17646
 
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17647
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17648
 
      fi
17649
 
      ;;
17650
 
 
17651
 
    sysv5* | sco3.2v5* | sco5v6*)
17652
 
      # Note: We can NOT use -z defs as we might desire, because we do not
17653
 
      # link with -lc, and that would cause any symbols used from libc to
17654
 
      # always be unresolved, which means just about no library would
17655
 
      # ever link correctly.  If we're not using GNU ld we use -z text
17656
 
      # though, which does catch some bad symbols but isn't as heavy-handed
17657
 
      # as -z defs.
17658
 
      no_undefined_flag_F77='${wl}-z,text'
17659
 
      allow_undefined_flag_F77='${wl}-z,nodefs'
17660
 
      archive_cmds_need_lc_F77=no
17661
 
      hardcode_shlibpath_var_F77=no
17662
 
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17663
 
      hardcode_libdir_separator_F77=':'
17664
 
      link_all_deplibs_F77=yes
17665
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
17666
 
      runpath_var='LD_RUN_PATH'
17667
 
 
17668
 
      if test "$GCC" = yes; then
17669
 
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17670
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17671
 
      else
17672
 
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17673
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17674
 
      fi
17675
 
      ;;
17676
 
 
17677
 
    uts4*)
17678
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17679
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
17680
 
      hardcode_shlibpath_var_F77=no
17681
 
      ;;
17682
 
 
17683
 
    *)
17684
 
      ld_shlibs_F77=no
17685
 
      ;;
17686
 
    esac
17687
 
  fi
17688
 
 
17689
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
17690
 
$as_echo "$ld_shlibs_F77" >&6; }
17691
 
test "$ld_shlibs_F77" = no && can_build_shared=no
17692
 
 
17693
 
#
17694
 
# Do we need to explicitly link libc?
17695
 
#
17696
 
case "x$archive_cmds_need_lc_F77" in
17697
 
x|xyes)
17698
 
  # Assume -lc should be added
17699
 
  archive_cmds_need_lc_F77=yes
17700
 
 
17701
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
17702
 
    case $archive_cmds_F77 in
17703
 
    *'~'*)
17704
 
      # FIXME: we may have to deal with multi-command sequences.
17705
 
      ;;
17706
 
    '$CC '*)
17707
 
      # Test whether the compiler implicitly links with -lc since on some
17708
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
17709
 
      # to ld, don't add -lc before -lgcc.
17710
 
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17711
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
17712
 
      $rm conftest*
17713
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17714
 
 
17715
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17716
 
  (eval $ac_compile) 2>&5
17717
 
  ac_status=$?
17718
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17719
 
  (exit $ac_status); } 2>conftest.err; then
17720
 
        soname=conftest
17721
 
        lib=conftest
17722
 
        libobjs=conftest.$ac_objext
17723
 
        deplibs=
17724
 
        wl=$lt_prog_compiler_wl_F77
17725
 
        pic_flag=$lt_prog_compiler_pic_F77
17726
 
        compiler_flags=-v
17727
 
        linker_flags=-v
17728
 
        verstring=
17729
 
        output_objdir=.
17730
 
        libname=conftest
17731
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
17732
 
        allow_undefined_flag_F77=
17733
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17734
 
  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
17735
 
  ac_status=$?
17736
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17737
 
  (exit $ac_status); }
17738
 
        then
17739
 
          archive_cmds_need_lc_F77=no
17740
 
        else
17741
 
          archive_cmds_need_lc_F77=yes
17742
 
        fi
17743
 
        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
17744
 
      else
17745
 
        cat conftest.err 1>&5
17746
 
      fi
17747
 
      $rm conftest*
17748
 
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
17749
 
$as_echo "$archive_cmds_need_lc_F77" >&6; }
17750
 
      ;;
17751
 
    esac
17752
 
  fi
17753
 
  ;;
17754
 
esac
17755
 
 
17756
 
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17757
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
17758
 
library_names_spec=
17759
 
libname_spec='lib$name'
17760
 
soname_spec=
17761
 
shrext_cmds=".so"
17762
 
postinstall_cmds=
17763
 
postuninstall_cmds=
17764
 
finish_cmds=
17765
 
finish_eval=
17766
 
shlibpath_var=
17767
 
shlibpath_overrides_runpath=unknown
17768
 
version_type=none
17769
 
dynamic_linker="$host_os ld.so"
17770
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
17771
 
 
17772
 
need_lib_prefix=unknown
17773
 
hardcode_into_libs=no
17774
 
 
17775
 
# when you set need_version to no, make sure it does not cause -set_version
17776
 
# flags to be left without arguments
17777
 
need_version=unknown
17778
 
 
17779
 
case $host_os in
17780
 
aix3*)
17781
 
  version_type=linux
17782
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
17783
 
  shlibpath_var=LIBPATH
17784
 
 
17785
 
  # AIX 3 has no versioning support, so we append a major version to the name.
17786
 
  soname_spec='${libname}${release}${shared_ext}$major'
17787
 
  ;;
17788
 
 
17789
 
aix[4-9]*)
17790
 
  version_type=linux
17791
 
  need_lib_prefix=no
17792
 
  need_version=no
17793
 
  hardcode_into_libs=yes
17794
 
  if test "$host_cpu" = ia64; then
17795
 
    # AIX 5 supports IA64
17796
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17797
 
    shlibpath_var=LD_LIBRARY_PATH
17798
 
  else
17799
 
    # With GCC up to 2.95.x, collect2 would create an import file
17800
 
    # for dependence libraries.  The import file would start with
17801
 
    # the line `#! .'.  This would cause the generated library to
17802
 
    # depend on `.', always an invalid library.  This was fixed in
17803
 
    # development snapshots of GCC prior to 3.0.
17804
 
    case $host_os in
17805
 
      aix4 | aix4.[01] | aix4.[01].*)
17806
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17807
 
           echo ' yes '
17808
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
17809
 
        :
17810
 
      else
17811
 
        can_build_shared=no
17812
 
      fi
17813
 
      ;;
17814
 
    esac
17815
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17816
 
    # soname into executable. Probably we can add versioning support to
17817
 
    # collect2, so additional links can be useful in future.
17818
 
    if test "$aix_use_runtimelinking" = yes; then
17819
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17820
 
      # instead of lib<name>.a to let people know that these are not
17821
 
      # typical AIX shared libraries.
17822
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17823
 
    else
17824
 
      # We preserve .a as extension for shared libraries through AIX4.2
17825
 
      # and later when we are not doing run time linking.
17826
 
      library_names_spec='${libname}${release}.a $libname.a'
17827
 
      soname_spec='${libname}${release}${shared_ext}$major'
17828
 
    fi
17829
 
    shlibpath_var=LIBPATH
17830
 
  fi
17831
 
  ;;
17832
 
 
17833
 
amigaos*)
17834
 
  library_names_spec='$libname.ixlibrary $libname.a'
17835
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
17836
 
  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'
17837
 
  ;;
17838
 
 
17839
 
beos*)
17840
 
  library_names_spec='${libname}${shared_ext}'
17841
 
  dynamic_linker="$host_os ld.so"
17842
 
  shlibpath_var=LIBRARY_PATH
17843
 
  ;;
17844
 
 
17845
 
bsdi[45]*)
17846
 
  version_type=linux
17847
 
  need_version=no
17848
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17849
 
  soname_spec='${libname}${release}${shared_ext}$major'
17850
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17851
 
  shlibpath_var=LD_LIBRARY_PATH
17852
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17853
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17854
 
  # the default ld.so.conf also contains /usr/contrib/lib and
17855
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17856
 
  # libtool to hard-code these into programs
17857
 
  ;;
17858
 
 
17859
 
cygwin* | mingw* | pw32*)
17860
 
  version_type=windows
17861
 
  shrext_cmds=".dll"
17862
 
  need_version=no
17863
 
  need_lib_prefix=no
17864
 
 
17865
 
  case $GCC,$host_os in
17866
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
17867
 
    library_names_spec='$libname.dll.a'
17868
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
17869
 
    postinstall_cmds='base_file=`basename \${file}`~
17870
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17871
 
      dldir=$destdir/`dirname \$dlpath`~
17872
 
      test -d \$dldir || mkdir -p \$dldir~
17873
 
      $install_prog $dir/$dlname \$dldir/$dlname~
17874
 
      chmod a+x \$dldir/$dlname'
17875
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17876
 
      dlpath=$dir/\$dldll~
17877
 
       $rm \$dlpath'
17878
 
    shlibpath_overrides_runpath=yes
17879
 
 
17880
 
    case $host_os in
17881
 
    cygwin*)
17882
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17883
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17884
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
17885
 
      ;;
17886
 
    mingw*)
17887
 
      # MinGW DLLs use traditional 'lib' prefix
17888
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17889
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17890
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
17891
 
        # It is most probably a Windows format PATH printed by
17892
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
17893
 
        # path with ; separators, and with drive letters. We can handle the
17894
 
        # drive letters (cygwin fileutils understands them), so leave them,
17895
 
        # especially as we might pass files found there to a mingw objdump,
17896
 
        # which wouldn't understand a cygwinified path. Ahh.
17897
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17898
 
      else
17899
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
17900
 
      fi
17901
 
      ;;
17902
 
    pw32*)
17903
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
17904
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17905
 
      ;;
17906
 
    esac
17907
 
    ;;
17908
 
 
17909
 
  *)
17910
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17911
 
    ;;
17912
 
  esac
17913
 
  dynamic_linker='Win32 ld.exe'
17914
 
  # FIXME: first we should search . and the directory the executable is in
17915
 
  shlibpath_var=PATH
17916
 
  ;;
17917
 
 
17918
 
darwin* | rhapsody*)
17919
 
  dynamic_linker="$host_os dyld"
17920
 
  version_type=darwin
17921
 
  need_lib_prefix=no
17922
 
  need_version=no
17923
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17924
 
  soname_spec='${libname}${release}${major}$shared_ext'
17925
 
  shlibpath_overrides_runpath=yes
17926
 
  shlibpath_var=DYLD_LIBRARY_PATH
17927
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17928
 
 
17929
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17930
 
  ;;
17931
 
 
17932
 
dgux*)
17933
 
  version_type=linux
17934
 
  need_lib_prefix=no
17935
 
  need_version=no
17936
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17937
 
  soname_spec='${libname}${release}${shared_ext}$major'
17938
 
  shlibpath_var=LD_LIBRARY_PATH
17939
 
  ;;
17940
 
 
17941
 
freebsd1*)
17942
 
  dynamic_linker=no
17943
 
  ;;
17944
 
 
17945
 
freebsd* | dragonfly*)
17946
 
  # DragonFly does not have aout.  When/if they implement a new
17947
 
  # versioning mechanism, adjust this.
17948
 
  if test -x /usr/bin/objformat; then
17949
 
    objformat=`/usr/bin/objformat`
17950
 
  else
17951
 
    case $host_os in
17952
 
    freebsd[123]*) objformat=aout ;;
17953
 
    *) objformat=elf ;;
17954
 
    esac
17955
 
  fi
17956
 
  version_type=freebsd-$objformat
17957
 
  case $version_type in
17958
 
    freebsd-elf*)
17959
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17960
 
      need_version=no
17961
 
      need_lib_prefix=no
17962
 
      ;;
17963
 
    freebsd-*)
17964
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17965
 
      need_version=yes
17966
 
      ;;
17967
 
  esac
17968
 
  shlibpath_var=LD_LIBRARY_PATH
17969
 
  case $host_os in
17970
 
  freebsd2*)
17971
 
    shlibpath_overrides_runpath=yes
17972
 
    ;;
17973
 
  freebsd3.[01]* | freebsdelf3.[01]*)
17974
 
    shlibpath_overrides_runpath=yes
17975
 
    hardcode_into_libs=yes
17976
 
    ;;
17977
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17978
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17979
 
    shlibpath_overrides_runpath=no
17980
 
    hardcode_into_libs=yes
17981
 
    ;;
17982
 
  *) # from 4.6 on, and DragonFly
17983
 
    shlibpath_overrides_runpath=yes
17984
 
    hardcode_into_libs=yes
17985
 
    ;;
17986
 
  esac
17987
 
  ;;
17988
 
 
17989
 
gnu*)
17990
 
  version_type=linux
17991
 
  need_lib_prefix=no
17992
 
  need_version=no
17993
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17994
 
  soname_spec='${libname}${release}${shared_ext}$major'
17995
 
  shlibpath_var=LD_LIBRARY_PATH
17996
 
  hardcode_into_libs=yes
17997
 
  ;;
17998
 
 
17999
 
hpux9* | hpux10* | hpux11*)
18000
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
18001
 
  # link against other versions.
18002
 
  version_type=sunos
18003
 
  need_lib_prefix=no
18004
 
  need_version=no
18005
 
  case $host_cpu in
18006
 
  ia64*)
18007
 
    shrext_cmds='.so'
18008
 
    hardcode_into_libs=yes
18009
 
    dynamic_linker="$host_os dld.so"
18010
 
    shlibpath_var=LD_LIBRARY_PATH
18011
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18012
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18013
 
    soname_spec='${libname}${release}${shared_ext}$major'
18014
 
    if test "X$HPUX_IA64_MODE" = X32; then
18015
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18016
 
    else
18017
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18018
 
    fi
18019
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18020
 
    ;;
18021
 
   hppa*64*)
18022
 
     shrext_cmds='.sl'
18023
 
     hardcode_into_libs=yes
18024
 
     dynamic_linker="$host_os dld.sl"
18025
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18026
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18027
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18028
 
     soname_spec='${libname}${release}${shared_ext}$major'
18029
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18030
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18031
 
     ;;
18032
 
   *)
18033
 
    shrext_cmds='.sl'
18034
 
    dynamic_linker="$host_os dld.sl"
18035
 
    shlibpath_var=SHLIB_PATH
18036
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18037
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18038
 
    soname_spec='${libname}${release}${shared_ext}$major'
18039
 
    ;;
18040
 
  esac
18041
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
18042
 
  postinstall_cmds='chmod 555 $lib'
18043
 
  ;;
18044
 
 
18045
 
interix[3-9]*)
18046
 
  version_type=linux
18047
 
  need_lib_prefix=no
18048
 
  need_version=no
18049
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18050
 
  soname_spec='${libname}${release}${shared_ext}$major'
18051
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
18052
 
  shlibpath_var=LD_LIBRARY_PATH
18053
 
  shlibpath_overrides_runpath=no
18054
 
  hardcode_into_libs=yes
18055
 
  ;;
18056
 
 
18057
 
irix5* | irix6* | nonstopux*)
18058
 
  case $host_os in
18059
 
    nonstopux*) version_type=nonstopux ;;
18060
 
    *)
18061
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
18062
 
                version_type=linux
18063
 
        else
18064
 
                version_type=irix
18065
 
        fi ;;
18066
 
  esac
18067
 
  need_lib_prefix=no
18068
 
  need_version=no
18069
 
  soname_spec='${libname}${release}${shared_ext}$major'
18070
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18071
 
  case $host_os in
18072
 
  irix5* | nonstopux*)
18073
 
    libsuff= shlibsuff=
18074
 
    ;;
18075
 
  *)
18076
 
    case $LD in # libtool.m4 will add one of these switches to LD
18077
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18078
 
      libsuff= shlibsuff= libmagic=32-bit;;
18079
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18080
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
18081
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18082
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
18083
 
    *) libsuff= shlibsuff= libmagic=never-match;;
18084
 
    esac
18085
 
    ;;
18086
 
  esac
18087
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18088
 
  shlibpath_overrides_runpath=no
18089
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18090
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18091
 
  hardcode_into_libs=yes
18092
 
  ;;
18093
 
 
18094
 
# No shared lib support for Linux oldld, aout, or coff.
18095
 
linux*oldld* | linux*aout* | linux*coff*)
18096
 
  dynamic_linker=no
18097
 
  ;;
18098
 
 
18099
 
# This must be Linux ELF.
18100
 
linux* | k*bsd*-gnu)
18101
 
  version_type=linux
18102
 
  need_lib_prefix=no
18103
 
  need_version=no
18104
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18105
 
  soname_spec='${libname}${release}${shared_ext}$major'
18106
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18107
 
  shlibpath_var=LD_LIBRARY_PATH
18108
 
  shlibpath_overrides_runpath=no
18109
 
  # This implies no fast_install, which is unacceptable.
18110
 
  # Some rework will be needed to allow for fast_install
18111
 
  # before this can be enabled.
18112
 
  hardcode_into_libs=yes
18113
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18114
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18115
 
 
18116
 
  # Append ld.so.conf contents to the search path
18117
 
  if test -f /etc/ld.so.conf; then
18118
 
    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' ' '`
18119
 
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
18120
 
  fi
18121
 
 
18122
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
18123
 
  # powerpc, because MkLinux only supported shared libraries with the
18124
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
18125
 
  # most powerpc-linux boxes support dynamic linking these days and
18126
 
  # people can always --disable-shared, the test was removed, and we
18127
 
  # assume the GNU/Linux dynamic linker is in use.
18128
 
  dynamic_linker='GNU/Linux ld.so'
18129
 
  ;;
18130
 
 
18131
 
netbsd*)
18132
 
  version_type=sunos
18133
 
  need_lib_prefix=no
18134
 
  need_version=no
18135
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18136
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18137
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18138
 
    dynamic_linker='NetBSD (a.out) ld.so'
18139
 
  else
18140
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18141
 
    soname_spec='${libname}${release}${shared_ext}$major'
18142
 
    dynamic_linker='NetBSD ld.elf_so'
18143
 
  fi
18144
 
  shlibpath_var=LD_LIBRARY_PATH
18145
 
  shlibpath_overrides_runpath=yes
18146
 
  hardcode_into_libs=yes
18147
 
  ;;
18148
 
 
18149
 
newsos6)
18150
 
  version_type=linux
18151
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18152
 
  shlibpath_var=LD_LIBRARY_PATH
18153
 
  shlibpath_overrides_runpath=yes
18154
 
  ;;
18155
 
 
18156
 
nto-qnx*)
18157
 
  version_type=linux
18158
 
  need_lib_prefix=no
18159
 
  need_version=no
18160
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18161
 
  soname_spec='${libname}${release}${shared_ext}$major'
18162
 
  shlibpath_var=LD_LIBRARY_PATH
18163
 
  shlibpath_overrides_runpath=yes
18164
 
  ;;
18165
 
 
18166
 
openbsd*)
18167
 
  version_type=sunos
18168
 
  sys_lib_dlsearch_path_spec="/usr/lib"
18169
 
  need_lib_prefix=no
18170
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18171
 
  case $host_os in
18172
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
18173
 
    *)                         need_version=no  ;;
18174
 
  esac
18175
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18176
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18177
 
  shlibpath_var=LD_LIBRARY_PATH
18178
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18179
 
    case $host_os in
18180
 
      openbsd2.[89] | openbsd2.[89].*)
18181
 
        shlibpath_overrides_runpath=no
18182
 
        ;;
18183
 
      *)
18184
 
        shlibpath_overrides_runpath=yes
18185
 
        ;;
18186
 
      esac
18187
 
  else
18188
 
    shlibpath_overrides_runpath=yes
18189
 
  fi
18190
 
  ;;
18191
 
 
18192
 
os2*)
18193
 
  libname_spec='$name'
18194
 
  shrext_cmds=".dll"
18195
 
  need_lib_prefix=no
18196
 
  library_names_spec='$libname${shared_ext} $libname.a'
18197
 
  dynamic_linker='OS/2 ld.exe'
18198
 
  shlibpath_var=LIBPATH
18199
 
  ;;
18200
 
 
18201
 
osf3* | osf4* | osf5*)
18202
 
  version_type=osf
18203
 
  need_lib_prefix=no
18204
 
  need_version=no
18205
 
  soname_spec='${libname}${release}${shared_ext}$major'
18206
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18207
 
  shlibpath_var=LD_LIBRARY_PATH
18208
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18209
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18210
 
  ;;
18211
 
 
18212
 
rdos*)
18213
 
  dynamic_linker=no
18214
 
  ;;
18215
 
 
18216
 
solaris*)
18217
 
  version_type=linux
18218
 
  need_lib_prefix=no
18219
 
  need_version=no
18220
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18221
 
  soname_spec='${libname}${release}${shared_ext}$major'
18222
 
  shlibpath_var=LD_LIBRARY_PATH
18223
 
  shlibpath_overrides_runpath=yes
18224
 
  hardcode_into_libs=yes
18225
 
  # ldd complains unless libraries are executable
18226
 
  postinstall_cmds='chmod +x $lib'
18227
 
  ;;
18228
 
 
18229
 
sunos4*)
18230
 
  version_type=sunos
18231
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18232
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18233
 
  shlibpath_var=LD_LIBRARY_PATH
18234
 
  shlibpath_overrides_runpath=yes
18235
 
  if test "$with_gnu_ld" = yes; then
18236
 
    need_lib_prefix=no
18237
 
  fi
18238
 
  need_version=yes
18239
 
  ;;
18240
 
 
18241
 
sysv4 | sysv4.3*)
18242
 
  version_type=linux
18243
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18244
 
  soname_spec='${libname}${release}${shared_ext}$major'
18245
 
  shlibpath_var=LD_LIBRARY_PATH
18246
 
  case $host_vendor in
18247
 
    sni)
18248
 
      shlibpath_overrides_runpath=no
18249
 
      need_lib_prefix=no
18250
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
18251
 
      runpath_var=LD_RUN_PATH
18252
 
      ;;
18253
 
    siemens)
18254
 
      need_lib_prefix=no
18255
 
      ;;
18256
 
    motorola)
18257
 
      need_lib_prefix=no
18258
 
      need_version=no
18259
 
      shlibpath_overrides_runpath=no
18260
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18261
 
      ;;
18262
 
  esac
18263
 
  ;;
18264
 
 
18265
 
sysv4*MP*)
18266
 
  if test -d /usr/nec ;then
18267
 
    version_type=linux
18268
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18269
 
    soname_spec='$libname${shared_ext}.$major'
18270
 
    shlibpath_var=LD_LIBRARY_PATH
18271
 
  fi
18272
 
  ;;
18273
 
 
18274
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
18275
 
  version_type=freebsd-elf
18276
 
  need_lib_prefix=no
18277
 
  need_version=no
18278
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18279
 
  soname_spec='${libname}${release}${shared_ext}$major'
18280
 
  shlibpath_var=LD_LIBRARY_PATH
18281
 
  hardcode_into_libs=yes
18282
 
  if test "$with_gnu_ld" = yes; then
18283
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18284
 
    shlibpath_overrides_runpath=no
18285
 
  else
18286
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
18287
 
    shlibpath_overrides_runpath=yes
18288
 
    case $host_os in
18289
 
      sco3.2v5*)
18290
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
18291
 
        ;;
18292
 
    esac
18293
 
  fi
18294
 
  sys_lib_dlsearch_path_spec='/usr/lib'
18295
 
  ;;
18296
 
 
18297
 
uts4*)
18298
 
  version_type=linux
18299
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18300
 
  soname_spec='${libname}${release}${shared_ext}$major'
18301
 
  shlibpath_var=LD_LIBRARY_PATH
18302
 
  ;;
18303
 
 
18304
 
*)
18305
 
  dynamic_linker=no
18306
 
  ;;
18307
 
esac
18308
 
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18309
 
$as_echo "$dynamic_linker" >&6; }
18310
 
test "$dynamic_linker" = no && can_build_shared=no
18311
 
 
18312
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
18313
 
  $as_echo_n "(cached) " >&6
18314
 
else
18315
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
18316
 
fi
18317
 
 
18318
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
18319
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
18320
 
  $as_echo_n "(cached) " >&6
18321
 
else
18322
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
18323
 
fi
18324
 
 
18325
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
18326
 
 
18327
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18328
 
if test "$GCC" = yes; then
18329
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18330
 
fi
18331
 
 
18332
 
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18333
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
18334
 
hardcode_action_F77=
18335
 
if test -n "$hardcode_libdir_flag_spec_F77" || \
18336
 
   test -n "$runpath_var_F77" || \
18337
 
   test "X$hardcode_automatic_F77" = "Xyes" ; then
18338
 
 
18339
 
  # We can hardcode non-existant directories.
18340
 
  if test "$hardcode_direct_F77" != no &&
18341
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
18342
 
     # have to relink, otherwise we might link with an installed library
18343
 
     # when we should be linking with a yet-to-be-installed one
18344
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
18345
 
     test "$hardcode_minus_L_F77" != no; then
18346
 
    # Linking always hardcodes the temporary library directory.
18347
 
    hardcode_action_F77=relink
18348
 
  else
18349
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
18350
 
    hardcode_action_F77=immediate
18351
 
  fi
18352
 
else
18353
 
  # We cannot hardcode anything, or else we can only hardcode existing
18354
 
  # directories.
18355
 
  hardcode_action_F77=unsupported
18356
 
fi
18357
 
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
18358
 
$as_echo "$hardcode_action_F77" >&6; }
18359
 
 
18360
 
if test "$hardcode_action_F77" = relink; then
18361
 
  # Fast installation is not supported
18362
 
  enable_fast_install=no
18363
 
elif test "$shlibpath_overrides_runpath" = yes ||
18364
 
     test "$enable_shared" = no; then
18365
 
  # Fast installation is not necessary
18366
 
  enable_fast_install=needless
18367
 
fi
18368
 
 
18369
 
 
18370
 
# The else clause should only fire when bootstrapping the
18371
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
18372
 
# with your package, and you will get complaints that there are
18373
 
# no rules to generate ltmain.sh.
18374
 
if test -f "$ltmain"; then
18375
 
  # See if we are running on zsh, and set the options which allow our commands through
18376
 
  # without removal of \ escapes.
18377
 
  if test -n "${ZSH_VERSION+set}" ; then
18378
 
    setopt NO_GLOB_SUBST
18379
 
  fi
18380
 
  # Now quote all the things that may contain metacharacters while being
18381
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
18382
 
  # variables and quote the copies for generation of the libtool script.
18383
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18384
 
    SED SHELL STRIP \
18385
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18386
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18387
 
    deplibs_check_method reload_flag reload_cmds need_locks \
18388
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18389
 
    lt_cv_sys_global_symbol_to_c_name_address \
18390
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18391
 
    old_postinstall_cmds old_postuninstall_cmds \
18392
 
    compiler_F77 \
18393
 
    CC_F77 \
18394
 
    LD_F77 \
18395
 
    lt_prog_compiler_wl_F77 \
18396
 
    lt_prog_compiler_pic_F77 \
18397
 
    lt_prog_compiler_static_F77 \
18398
 
    lt_prog_compiler_no_builtin_flag_F77 \
18399
 
    export_dynamic_flag_spec_F77 \
18400
 
    thread_safe_flag_spec_F77 \
18401
 
    whole_archive_flag_spec_F77 \
18402
 
    enable_shared_with_static_runtimes_F77 \
18403
 
    old_archive_cmds_F77 \
18404
 
    old_archive_from_new_cmds_F77 \
18405
 
    predep_objects_F77 \
18406
 
    postdep_objects_F77 \
18407
 
    predeps_F77 \
18408
 
    postdeps_F77 \
18409
 
    compiler_lib_search_path_F77 \
18410
 
    compiler_lib_search_dirs_F77 \
18411
 
    archive_cmds_F77 \
18412
 
    archive_expsym_cmds_F77 \
18413
 
    postinstall_cmds_F77 \
18414
 
    postuninstall_cmds_F77 \
18415
 
    old_archive_from_expsyms_cmds_F77 \
18416
 
    allow_undefined_flag_F77 \
18417
 
    no_undefined_flag_F77 \
18418
 
    export_symbols_cmds_F77 \
18419
 
    hardcode_libdir_flag_spec_F77 \
18420
 
    hardcode_libdir_flag_spec_ld_F77 \
18421
 
    hardcode_libdir_separator_F77 \
18422
 
    hardcode_automatic_F77 \
18423
 
    module_cmds_F77 \
18424
 
    module_expsym_cmds_F77 \
18425
 
    lt_cv_prog_compiler_c_o_F77 \
18426
 
    fix_srcfile_path_F77 \
18427
 
    exclude_expsyms_F77 \
18428
 
    include_expsyms_F77; do
18429
 
 
18430
 
    case $var in
18431
 
    old_archive_cmds_F77 | \
18432
 
    old_archive_from_new_cmds_F77 | \
18433
 
    archive_cmds_F77 | \
18434
 
    archive_expsym_cmds_F77 | \
18435
 
    module_cmds_F77 | \
18436
 
    module_expsym_cmds_F77 | \
18437
 
    old_archive_from_expsyms_cmds_F77 | \
18438
 
    export_symbols_cmds_F77 | \
18439
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
18440
 
    postinstall_cmds | postuninstall_cmds | \
18441
 
    old_postinstall_cmds | old_postuninstall_cmds | \
18442
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18443
 
      # Double-quote double-evaled strings.
18444
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18445
 
      ;;
18446
 
    *)
18447
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18448
 
      ;;
18449
 
    esac
18450
 
  done
18451
 
 
18452
 
  case $lt_echo in
18453
 
  *'\$0 --fallback-echo"')
18454
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18455
 
    ;;
18456
 
  esac
18457
 
 
18458
 
cfgfile="$ofile"
18459
 
 
18460
 
  cat <<__EOF__ >> "$cfgfile"
18461
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
18462
 
 
18463
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18464
 
 
18465
 
# Shell to use when invoking shell scripts.
18466
 
SHELL=$lt_SHELL
18467
 
 
18468
 
# Whether or not to build shared libraries.
18469
 
build_libtool_libs=$enable_shared
18470
 
 
18471
 
# Whether or not to build static libraries.
18472
 
build_old_libs=$enable_static
18473
 
 
18474
 
# Whether or not to add -lc for building shared libraries.
18475
 
build_libtool_need_lc=$archive_cmds_need_lc_F77
18476
 
 
18477
 
# Whether or not to disallow shared libs when runtime libs are static
18478
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
18479
 
 
18480
 
# Whether or not to optimize for fast installation.
18481
 
fast_install=$enable_fast_install
18482
 
 
18483
 
# The host system.
18484
 
host_alias=$host_alias
18485
 
host=$host
18486
 
host_os=$host_os
18487
 
 
18488
 
# The build system.
18489
 
build_alias=$build_alias
18490
 
build=$build
18491
 
build_os=$build_os
18492
 
 
18493
 
# An echo program that does not interpret backslashes.
18494
 
echo=$lt_echo
18495
 
 
18496
 
# The archiver.
18497
 
AR=$lt_AR
18498
 
AR_FLAGS=$lt_AR_FLAGS
18499
 
 
18500
 
# A C compiler.
18501
 
LTCC=$lt_LTCC
18502
 
 
18503
 
# LTCC compiler flags.
18504
 
LTCFLAGS=$lt_LTCFLAGS
18505
 
 
18506
 
# A language-specific compiler.
18507
 
CC=$lt_compiler_F77
18508
 
 
18509
 
# Is the compiler the GNU C compiler?
18510
 
with_gcc=$GCC_F77
18511
 
 
18512
 
# An ERE matcher.
18513
 
EGREP=$lt_EGREP
18514
 
 
18515
 
# The linker used to build libraries.
18516
 
LD=$lt_LD_F77
18517
 
 
18518
 
# Whether we need hard or soft links.
18519
 
LN_S=$lt_LN_S
18520
 
 
18521
 
# A BSD-compatible nm program.
18522
 
NM=$lt_NM
18523
 
 
18524
 
# A symbol stripping program
18525
 
STRIP=$lt_STRIP
18526
 
 
18527
 
# Used to examine libraries when file_magic_cmd begins "file"
18528
 
MAGIC_CMD=$MAGIC_CMD
18529
 
 
18530
 
# Used on cygwin: DLL creation program.
18531
 
DLLTOOL="$DLLTOOL"
18532
 
 
18533
 
# Used on cygwin: object dumper.
18534
 
OBJDUMP="$OBJDUMP"
18535
 
 
18536
 
# Used on cygwin: assembler.
18537
 
AS="$AS"
18538
 
 
18539
 
# The name of the directory that contains temporary libtool files.
18540
 
objdir=$objdir
18541
 
 
18542
 
# How to create reloadable object files.
18543
 
reload_flag=$lt_reload_flag
18544
 
reload_cmds=$lt_reload_cmds
18545
 
 
18546
 
# How to pass a linker flag through the compiler.
18547
 
wl=$lt_lt_prog_compiler_wl_F77
18548
 
 
18549
 
# Object file suffix (normally "o").
18550
 
objext="$ac_objext"
18551
 
 
18552
 
# Old archive suffix (normally "a").
18553
 
libext="$libext"
18554
 
 
18555
 
# Shared library suffix (normally ".so").
18556
 
shrext_cmds='$shrext_cmds'
18557
 
 
18558
 
# Executable file suffix (normally "").
18559
 
exeext="$exeext"
18560
 
 
18561
 
# Additional compiler flags for building library objects.
18562
 
pic_flag=$lt_lt_prog_compiler_pic_F77
18563
 
pic_mode=$pic_mode
18564
 
 
18565
 
# What is the maximum length of a command?
18566
 
max_cmd_len=$lt_cv_sys_max_cmd_len
18567
 
 
18568
 
# Does compiler simultaneously support -c and -o options?
18569
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
18570
 
 
18571
 
# Must we lock files when doing compilation?
18572
 
need_locks=$lt_need_locks
18573
 
 
18574
 
# Do we need the lib prefix for modules?
18575
 
need_lib_prefix=$need_lib_prefix
18576
 
 
18577
 
# Do we need a version for libraries?
18578
 
need_version=$need_version
18579
 
 
18580
 
# Whether dlopen is supported.
18581
 
dlopen_support=$enable_dlopen
18582
 
 
18583
 
# Whether dlopen of programs is supported.
18584
 
dlopen_self=$enable_dlopen_self
18585
 
 
18586
 
# Whether dlopen of statically linked programs is supported.
18587
 
dlopen_self_static=$enable_dlopen_self_static
18588
 
 
18589
 
# Compiler flag to prevent dynamic linking.
18590
 
link_static_flag=$lt_lt_prog_compiler_static_F77
18591
 
 
18592
 
# Compiler flag to turn off builtin functions.
18593
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
18594
 
 
18595
 
# Compiler flag to allow reflexive dlopens.
18596
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
18597
 
 
18598
 
# Compiler flag to generate shared objects directly from archives.
18599
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
18600
 
 
18601
 
# Compiler flag to generate thread-safe objects.
18602
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
18603
 
 
18604
 
# Library versioning type.
18605
 
version_type=$version_type
18606
 
 
18607
 
# Format of library name prefix.
18608
 
libname_spec=$lt_libname_spec
18609
 
 
18610
 
# List of archive names.  First name is the real one, the rest are links.
18611
 
# The last name is the one that the linker finds with -lNAME.
18612
 
library_names_spec=$lt_library_names_spec
18613
 
 
18614
 
# The coded name of the library, if different from the real name.
18615
 
soname_spec=$lt_soname_spec
18616
 
 
18617
 
# Commands used to build and install an old-style archive.
18618
 
RANLIB=$lt_RANLIB
18619
 
old_archive_cmds=$lt_old_archive_cmds_F77
18620
 
old_postinstall_cmds=$lt_old_postinstall_cmds
18621
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
18622
 
 
18623
 
# Create an old-style archive from a shared archive.
18624
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
18625
 
 
18626
 
# Create a temporary old-style archive to link instead of a shared archive.
18627
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
18628
 
 
18629
 
# Commands used to build and install a shared archive.
18630
 
archive_cmds=$lt_archive_cmds_F77
18631
 
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
18632
 
postinstall_cmds=$lt_postinstall_cmds
18633
 
postuninstall_cmds=$lt_postuninstall_cmds
18634
 
 
18635
 
# Commands used to build a loadable module (assumed same as above if empty)
18636
 
module_cmds=$lt_module_cmds_F77
18637
 
module_expsym_cmds=$lt_module_expsym_cmds_F77
18638
 
 
18639
 
# Commands to strip libraries.
18640
 
old_striplib=$lt_old_striplib
18641
 
striplib=$lt_striplib
18642
 
 
18643
 
# Dependencies to place before the objects being linked to create a
18644
 
# shared library.
18645
 
predep_objects=$lt_predep_objects_F77
18646
 
 
18647
 
# Dependencies to place after the objects being linked to create a
18648
 
# shared library.
18649
 
postdep_objects=$lt_postdep_objects_F77
18650
 
 
18651
 
# Dependencies to place before the objects being linked to create a
18652
 
# shared library.
18653
 
predeps=$lt_predeps_F77
18654
 
 
18655
 
# Dependencies to place after the objects being linked to create a
18656
 
# shared library.
18657
 
postdeps=$lt_postdeps_F77
18658
 
 
18659
 
# The directories searched by this compiler when creating a shared
18660
 
# library
18661
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
18662
 
 
18663
 
# The library search path used internally by the compiler when linking
18664
 
# a shared library.
18665
 
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
18666
 
 
18667
 
# Method to check whether dependent libraries are shared objects.
18668
 
deplibs_check_method=$lt_deplibs_check_method
18669
 
 
18670
 
# Command to use when deplibs_check_method == file_magic.
18671
 
file_magic_cmd=$lt_file_magic_cmd
18672
 
 
18673
 
# Flag that allows shared libraries with undefined symbols to be built.
18674
 
allow_undefined_flag=$lt_allow_undefined_flag_F77
18675
 
 
18676
 
# Flag that forces no undefined symbols.
18677
 
no_undefined_flag=$lt_no_undefined_flag_F77
18678
 
 
18679
 
# Commands used to finish a libtool library installation in a directory.
18680
 
finish_cmds=$lt_finish_cmds
18681
 
 
18682
 
# Same as above, but a single script fragment to be evaled but not shown.
18683
 
finish_eval=$lt_finish_eval
18684
 
 
18685
 
# Take the output of nm and produce a listing of raw symbols and C names.
18686
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18687
 
 
18688
 
# Transform the output of nm in a proper C declaration
18689
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18690
 
 
18691
 
# Transform the output of nm in a C name address pair
18692
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18693
 
 
18694
 
# This is the shared library runtime path variable.
18695
 
runpath_var=$runpath_var
18696
 
 
18697
 
# This is the shared library path variable.
18698
 
shlibpath_var=$shlibpath_var
18699
 
 
18700
 
# Is shlibpath searched before the hard-coded library search path?
18701
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18702
 
 
18703
 
# How to hardcode a shared library path into an executable.
18704
 
hardcode_action=$hardcode_action_F77
18705
 
 
18706
 
# Whether we should hardcode library paths into libraries.
18707
 
hardcode_into_libs=$hardcode_into_libs
18708
 
 
18709
 
# Flag to hardcode \$libdir into a binary during linking.
18710
 
# This must work even if \$libdir does not exist.
18711
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
18712
 
 
18713
 
# If ld is used when linking, flag to hardcode \$libdir into
18714
 
# a binary during linking. This must work even if \$libdir does
18715
 
# not exist.
18716
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
18717
 
 
18718
 
# Whether we need a single -rpath flag with a separated argument.
18719
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
18720
 
 
18721
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18722
 
# resulting binary.
18723
 
hardcode_direct=$hardcode_direct_F77
18724
 
 
18725
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18726
 
# resulting binary.
18727
 
hardcode_minus_L=$hardcode_minus_L_F77
18728
 
 
18729
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18730
 
# the resulting binary.
18731
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
18732
 
 
18733
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
18734
 
# and all subsequent libraries and executables linked against it.
18735
 
hardcode_automatic=$hardcode_automatic_F77
18736
 
 
18737
 
# Variables whose values should be saved in libtool wrapper scripts and
18738
 
# restored at relink time.
18739
 
variables_saved_for_relink="$variables_saved_for_relink"
18740
 
 
18741
 
# Whether libtool must link a program against all its dependency libraries.
18742
 
link_all_deplibs=$link_all_deplibs_F77
18743
 
 
18744
 
# Compile-time system search path for libraries
18745
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18746
 
 
18747
 
# Run-time system search path for libraries
18748
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18749
 
 
18750
 
# Fix the shell variable \$srcfile for the compiler.
18751
 
fix_srcfile_path=$lt_fix_srcfile_path
18752
 
 
18753
 
# Set to yes if exported symbols are required.
18754
 
always_export_symbols=$always_export_symbols_F77
18755
 
 
18756
 
# The commands to list exported symbols.
18757
 
export_symbols_cmds=$lt_export_symbols_cmds_F77
18758
 
 
18759
 
# The commands to extract the exported symbol list from a shared archive.
18760
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
18761
 
 
18762
 
# Symbols that should not be listed in the preloaded symbols.
18763
 
exclude_expsyms=$lt_exclude_expsyms_F77
18764
 
 
18765
 
# Symbols that must always be exported.
18766
 
include_expsyms=$lt_include_expsyms_F77
18767
 
 
18768
 
# ### END LIBTOOL TAG CONFIG: $tagname
18769
 
 
18770
 
__EOF__
18771
 
 
18772
 
 
18773
 
else
18774
 
  # If there is no Makefile yet, we rely on a make rule to execute
18775
 
  # `config.status --recheck' to rerun these tests and create the
18776
 
  # libtool script then.
18777
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18778
 
  if test -f "$ltmain_in"; then
18779
 
    test -f Makefile && make "$ltmain"
18780
 
  fi
18781
 
fi
18782
 
 
18783
 
 
18784
 
ac_ext=c
18785
 
ac_cpp='$CPP $CPPFLAGS'
18786
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18787
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18788
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
18789
 
 
18790
 
CC="$lt_save_CC"
18791
 
 
18792
 
        else
18793
 
          tagname=""
18794
 
        fi
18795
 
        ;;
18796
 
 
18797
 
      GCJ)
18798
 
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
18799
 
 
18800
 
 
18801
 
# Source file extension for Java test sources.
18802
 
ac_ext=java
18803
 
 
18804
 
# Object file extension for compiled Java test sources.
18805
 
objext=o
18806
 
objext_GCJ=$objext
18807
 
 
18808
 
# Code to be used in simple compile tests
18809
 
lt_simple_compile_test_code="class foo {}"
18810
 
 
18811
 
# Code to be used in simple link tests
18812
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
18813
 
 
18814
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
18815
 
 
18816
 
# If no C compiler was specified, use CC.
18817
 
LTCC=${LTCC-"$CC"}
18818
 
 
18819
 
# If no C compiler flags were specified, use CFLAGS.
18820
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
18821
 
 
18822
 
# Allow CC to be a program name with arguments.
18823
 
compiler=$CC
18824
 
 
18825
 
 
18826
 
# save warnings/boilerplate of simple test code
18827
 
ac_outfile=conftest.$ac_objext
18828
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
18829
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18830
 
_lt_compiler_boilerplate=`cat conftest.err`
18831
 
$rm conftest*
18832
 
 
18833
 
ac_outfile=conftest.$ac_objext
18834
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
18835
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18836
 
_lt_linker_boilerplate=`cat conftest.err`
18837
 
$rm -r conftest*
18838
 
 
18839
 
 
18840
 
# Allow CC to be a program name with arguments.
18841
 
lt_save_CC="$CC"
18842
 
CC=${GCJ-"gcj"}
18843
 
compiler=$CC
18844
 
compiler_GCJ=$CC
18845
 
for cc_temp in $compiler""; do
18846
 
  case $cc_temp in
18847
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18848
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18849
 
    \-*) ;;
18850
 
    *) break;;
18851
 
  esac
18852
 
done
18853
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18854
 
 
18855
 
 
18856
 
# GCJ did not exist at the time GCC didn't implicitly link libc in.
18857
 
archive_cmds_need_lc_GCJ=no
18858
 
 
18859
 
old_archive_cmds_GCJ=$old_archive_cmds
18860
 
 
18861
 
 
18862
 
lt_prog_compiler_no_builtin_flag_GCJ=
18863
 
 
18864
 
if test "$GCC" = yes; then
18865
 
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
18866
 
 
18867
 
 
18868
 
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
18869
 
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
18870
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
18871
 
  $as_echo_n "(cached) " >&6
18872
 
else
18873
 
  lt_cv_prog_compiler_rtti_exceptions=no
18874
 
  ac_outfile=conftest.$ac_objext
18875
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18876
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
18877
 
   # Insert the option either (1) after the last *FLAGS variable, or
18878
 
   # (2) before a word containing "conftest.", or (3) at the end.
18879
 
   # Note that $ac_compile itself does not contain backslashes and begins
18880
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
18881
 
   # The option is referenced via a variable to avoid confusing sed.
18882
 
   lt_compile=`echo "$ac_compile" | $SED \
18883
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18884
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18885
 
   -e 's:$: $lt_compiler_flag:'`
18886
 
   (eval echo "\"\$as_me:18886: $lt_compile\"" >&5)
18887
 
   (eval "$lt_compile" 2>conftest.err)
18888
 
   ac_status=$?
18889
 
   cat conftest.err >&5
18890
 
   echo "$as_me:18890: \$? = $ac_status" >&5
18891
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
18892
 
     # The compiler can only warn and ignore the option if not recognized
18893
 
     # So say no if there are warnings other than the usual output.
18894
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
18895
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18896
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
18897
 
       lt_cv_prog_compiler_rtti_exceptions=yes
18898
 
     fi
18899
 
   fi
18900
 
   $rm conftest*
18901
 
 
18902
 
fi
18903
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
18904
 
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
18905
 
 
18906
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
18907
 
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
18908
 
else
18909
 
    :
18910
 
fi
18911
 
 
18912
 
fi
18913
 
 
18914
 
lt_prog_compiler_wl_GCJ=
18915
 
lt_prog_compiler_pic_GCJ=
18916
 
lt_prog_compiler_static_GCJ=
18917
 
 
18918
 
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
18919
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
18920
 
 
18921
 
  if test "$GCC" = yes; then
18922
 
    lt_prog_compiler_wl_GCJ='-Wl,'
18923
 
    lt_prog_compiler_static_GCJ='-static'
18924
 
 
18925
 
    case $host_os in
18926
 
      aix*)
18927
 
      # All AIX code is PIC.
18928
 
      if test "$host_cpu" = ia64; then
18929
 
        # AIX 5 now supports IA64 processor
18930
 
        lt_prog_compiler_static_GCJ='-Bstatic'
18931
 
      fi
18932
 
      ;;
18933
 
 
18934
 
    amigaos*)
18935
 
      # FIXME: we need at least 68020 code to build shared libraries, but
18936
 
      # adding the `-m68020' flag to GCC prevents building anything better,
18937
 
      # like `-m68040'.
18938
 
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
18939
 
      ;;
18940
 
 
18941
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
18942
 
      # PIC is the default for these OSes.
18943
 
      ;;
18944
 
 
18945
 
    mingw* | cygwin* | pw32* | os2*)
18946
 
      # This hack is so that the source file can tell whether it is being
18947
 
      # built for inclusion in a dll (and should export symbols for example).
18948
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
18949
 
      # (--disable-auto-import) libraries
18950
 
 
18951
 
      ;;
18952
 
 
18953
 
    darwin* | rhapsody*)
18954
 
      # PIC is the default on this platform
18955
 
      # Common symbols not allowed in MH_DYLIB files
18956
 
      lt_prog_compiler_pic_GCJ='-fno-common'
18957
 
      ;;
18958
 
 
18959
 
    interix[3-9]*)
18960
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
18961
 
      # Instead, we relocate shared libraries at runtime.
18962
 
      ;;
18963
 
 
18964
 
    msdosdjgpp*)
18965
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
18966
 
      # on systems that don't support them.
18967
 
      lt_prog_compiler_can_build_shared_GCJ=no
18968
 
      enable_shared=no
18969
 
      ;;
18970
 
 
18971
 
    sysv4*MP*)
18972
 
      if test -d /usr/nec; then
18973
 
        lt_prog_compiler_pic_GCJ=-Kconform_pic
18974
 
      fi
18975
 
      ;;
18976
 
 
18977
 
    hpux*)
18978
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18979
 
      # not for PA HP-UX.
18980
 
      case $host_cpu in
18981
 
      hppa*64*|ia64*)
18982
 
        # +Z the default
18983
 
        ;;
18984
 
      *)
18985
 
        lt_prog_compiler_pic_GCJ='-fPIC'
18986
 
        ;;
18987
 
      esac
18988
 
      ;;
18989
 
 
18990
 
    *)
18991
 
      lt_prog_compiler_pic_GCJ='-fPIC'
18992
 
      ;;
18993
 
    esac
18994
 
  else
18995
 
    # PORTME Check for flag to pass linker flags through the system compiler.
18996
 
    case $host_os in
18997
 
    aix*)
18998
 
      lt_prog_compiler_wl_GCJ='-Wl,'
18999
 
      if test "$host_cpu" = ia64; then
19000
 
        # AIX 5 now supports IA64 processor
19001
 
        lt_prog_compiler_static_GCJ='-Bstatic'
19002
 
      else
19003
 
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
19004
 
      fi
19005
 
      ;;
19006
 
      darwin*)
19007
 
        # PIC is the default on this platform
19008
 
        # Common symbols not allowed in MH_DYLIB files
19009
 
       case $cc_basename in
19010
 
         xlc*)
19011
 
         lt_prog_compiler_pic_GCJ='-qnocommon'
19012
 
         lt_prog_compiler_wl_GCJ='-Wl,'
19013
 
         ;;
19014
 
       esac
19015
 
       ;;
19016
 
 
19017
 
    mingw* | cygwin* | pw32* | os2*)
19018
 
      # This hack is so that the source file can tell whether it is being
19019
 
      # built for inclusion in a dll (and should export symbols for example).
19020
 
 
19021
 
      ;;
19022
 
 
19023
 
    hpux9* | hpux10* | hpux11*)
19024
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19025
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19026
 
      # not for PA HP-UX.
19027
 
      case $host_cpu in
19028
 
      hppa*64*|ia64*)
19029
 
        # +Z the default
19030
 
        ;;
19031
 
      *)
19032
 
        lt_prog_compiler_pic_GCJ='+Z'
19033
 
        ;;
19034
 
      esac
19035
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
19036
 
      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
19037
 
      ;;
19038
 
 
19039
 
    irix5* | irix6* | nonstopux*)
19040
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19041
 
      # PIC (with -KPIC) is the default.
19042
 
      lt_prog_compiler_static_GCJ='-non_shared'
19043
 
      ;;
19044
 
 
19045
 
    newsos6)
19046
 
      lt_prog_compiler_pic_GCJ='-KPIC'
19047
 
      lt_prog_compiler_static_GCJ='-Bstatic'
19048
 
      ;;
19049
 
 
19050
 
    linux* | k*bsd*-gnu)
19051
 
      case $cc_basename in
19052
 
      icc* | ecc*)
19053
 
        lt_prog_compiler_wl_GCJ='-Wl,'
19054
 
        lt_prog_compiler_pic_GCJ='-KPIC'
19055
 
        lt_prog_compiler_static_GCJ='-static'
19056
 
        ;;
19057
 
      pgcc* | pgf77* | pgf90* | pgf95*)
19058
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
19059
 
        # which looks to be a dead project)
19060
 
        lt_prog_compiler_wl_GCJ='-Wl,'
19061
 
        lt_prog_compiler_pic_GCJ='-fpic'
19062
 
        lt_prog_compiler_static_GCJ='-Bstatic'
19063
 
        ;;
19064
 
      ccc*)
19065
 
        lt_prog_compiler_wl_GCJ='-Wl,'
19066
 
        # All Alpha code is PIC.
19067
 
        lt_prog_compiler_static_GCJ='-non_shared'
19068
 
        ;;
19069
 
      *)
19070
 
        case `$CC -V 2>&1 | sed 5q` in
19071
 
        *Sun\ C*)
19072
 
          # Sun C 5.9
19073
 
          lt_prog_compiler_pic_GCJ='-KPIC'
19074
 
          lt_prog_compiler_static_GCJ='-Bstatic'
19075
 
          lt_prog_compiler_wl_GCJ='-Wl,'
19076
 
          ;;
19077
 
        *Sun\ F*)
19078
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
19079
 
          lt_prog_compiler_pic_GCJ='-KPIC'
19080
 
          lt_prog_compiler_static_GCJ='-Bstatic'
19081
 
          lt_prog_compiler_wl_GCJ=''
19082
 
          ;;
19083
 
        esac
19084
 
        ;;
19085
 
      esac
19086
 
      ;;
19087
 
 
19088
 
    osf3* | osf4* | osf5*)
19089
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19090
 
      # All OSF/1 code is PIC.
19091
 
      lt_prog_compiler_static_GCJ='-non_shared'
19092
 
      ;;
19093
 
 
19094
 
    rdos*)
19095
 
      lt_prog_compiler_static_GCJ='-non_shared'
19096
 
      ;;
19097
 
 
19098
 
    solaris*)
19099
 
      lt_prog_compiler_pic_GCJ='-KPIC'
19100
 
      lt_prog_compiler_static_GCJ='-Bstatic'
19101
 
      case $cc_basename in
19102
 
      f77* | f90* | f95*)
19103
 
        lt_prog_compiler_wl_GCJ='-Qoption ld ';;
19104
 
      *)
19105
 
        lt_prog_compiler_wl_GCJ='-Wl,';;
19106
 
      esac
19107
 
      ;;
19108
 
 
19109
 
    sunos4*)
19110
 
      lt_prog_compiler_wl_GCJ='-Qoption ld '
19111
 
      lt_prog_compiler_pic_GCJ='-PIC'
19112
 
      lt_prog_compiler_static_GCJ='-Bstatic'
19113
 
      ;;
19114
 
 
19115
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
19116
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19117
 
      lt_prog_compiler_pic_GCJ='-KPIC'
19118
 
      lt_prog_compiler_static_GCJ='-Bstatic'
19119
 
      ;;
19120
 
 
19121
 
    sysv4*MP*)
19122
 
      if test -d /usr/nec ;then
19123
 
        lt_prog_compiler_pic_GCJ='-Kconform_pic'
19124
 
        lt_prog_compiler_static_GCJ='-Bstatic'
19125
 
      fi
19126
 
      ;;
19127
 
 
19128
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
19129
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19130
 
      lt_prog_compiler_pic_GCJ='-KPIC'
19131
 
      lt_prog_compiler_static_GCJ='-Bstatic'
19132
 
      ;;
19133
 
 
19134
 
    unicos*)
19135
 
      lt_prog_compiler_wl_GCJ='-Wl,'
19136
 
      lt_prog_compiler_can_build_shared_GCJ=no
19137
 
      ;;
19138
 
 
19139
 
    uts4*)
19140
 
      lt_prog_compiler_pic_GCJ='-pic'
19141
 
      lt_prog_compiler_static_GCJ='-Bstatic'
19142
 
      ;;
19143
 
 
19144
 
    *)
19145
 
      lt_prog_compiler_can_build_shared_GCJ=no
19146
 
      ;;
19147
 
    esac
19148
 
  fi
19149
 
 
19150
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
19151
 
$as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
19152
 
 
19153
 
#
19154
 
# Check to make sure the PIC flag actually works.
19155
 
#
19156
 
if test -n "$lt_prog_compiler_pic_GCJ"; then
19157
 
 
19158
 
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
19159
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
19160
 
if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
19161
 
  $as_echo_n "(cached) " >&6
19162
 
else
19163
 
  lt_cv_prog_compiler_pic_works_GCJ=no
19164
 
  ac_outfile=conftest.$ac_objext
19165
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19166
 
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
19167
 
   # Insert the option either (1) after the last *FLAGS variable, or
19168
 
   # (2) before a word containing "conftest.", or (3) at the end.
19169
 
   # Note that $ac_compile itself does not contain backslashes and begins
19170
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
19171
 
   # The option is referenced via a variable to avoid confusing sed.
19172
 
   lt_compile=`echo "$ac_compile" | $SED \
19173
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19174
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19175
 
   -e 's:$: $lt_compiler_flag:'`
19176
 
   (eval echo "\"\$as_me:19176: $lt_compile\"" >&5)
19177
 
   (eval "$lt_compile" 2>conftest.err)
19178
 
   ac_status=$?
19179
 
   cat conftest.err >&5
19180
 
   echo "$as_me:19180: \$? = $ac_status" >&5
19181
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
19182
 
     # The compiler can only warn and ignore the option if not recognized
19183
 
     # So say no if there are warnings other than the usual output.
19184
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
19185
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19186
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
19187
 
       lt_cv_prog_compiler_pic_works_GCJ=yes
19188
 
     fi
19189
 
   fi
19190
 
   $rm conftest*
19191
 
 
19192
 
fi
19193
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
19194
 
$as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
19195
 
 
19196
 
if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
19197
 
    case $lt_prog_compiler_pic_GCJ in
19198
 
     "" | " "*) ;;
19199
 
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
19200
 
     esac
19201
 
else
19202
 
    lt_prog_compiler_pic_GCJ=
19203
 
     lt_prog_compiler_can_build_shared_GCJ=no
19204
 
fi
19205
 
 
19206
 
fi
19207
 
case $host_os in
19208
 
  # For platforms which do not support PIC, -DPIC is meaningless:
19209
 
  *djgpp*)
19210
 
    lt_prog_compiler_pic_GCJ=
19211
 
    ;;
19212
 
  *)
19213
 
    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
19214
 
    ;;
19215
 
esac
19216
 
 
19217
 
#
19218
 
# Check to make sure the static flag actually works.
19219
 
#
19220
 
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
19221
 
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
19222
 
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
19223
 
if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
19224
 
  $as_echo_n "(cached) " >&6
19225
 
else
19226
 
  lt_cv_prog_compiler_static_works_GCJ=no
19227
 
   save_LDFLAGS="$LDFLAGS"
19228
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
19229
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
19230
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
19231
 
     # The linker can only warn and ignore the option if not recognized
19232
 
     # So say no if there are warnings
19233
 
     if test -s conftest.err; then
19234
 
       # Append any errors to the config.log.
19235
 
       cat conftest.err 1>&5
19236
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
19237
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19238
 
       if diff conftest.exp conftest.er2 >/dev/null; then
19239
 
         lt_cv_prog_compiler_static_works_GCJ=yes
19240
 
       fi
19241
 
     else
19242
 
       lt_cv_prog_compiler_static_works_GCJ=yes
19243
 
     fi
19244
 
   fi
19245
 
   $rm -r conftest*
19246
 
   LDFLAGS="$save_LDFLAGS"
19247
 
 
19248
 
fi
19249
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
19250
 
$as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
19251
 
 
19252
 
if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
19253
 
    :
19254
 
else
19255
 
    lt_prog_compiler_static_GCJ=
19256
 
fi
19257
 
 
19258
 
 
19259
 
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
19260
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
19261
 
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
19262
 
  $as_echo_n "(cached) " >&6
19263
 
else
19264
 
  lt_cv_prog_compiler_c_o_GCJ=no
19265
 
   $rm -r conftest 2>/dev/null
19266
 
   mkdir conftest
19267
 
   cd conftest
19268
 
   mkdir out
19269
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19270
 
 
19271
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
19272
 
   # Insert the option either (1) after the last *FLAGS variable, or
19273
 
   # (2) before a word containing "conftest.", or (3) at the end.
19274
 
   # Note that $ac_compile itself does not contain backslashes and begins
19275
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
19276
 
   lt_compile=`echo "$ac_compile" | $SED \
19277
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19278
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19279
 
   -e 's:$: $lt_compiler_flag:'`
19280
 
   (eval echo "\"\$as_me:19280: $lt_compile\"" >&5)
19281
 
   (eval "$lt_compile" 2>out/conftest.err)
19282
 
   ac_status=$?
19283
 
   cat out/conftest.err >&5
19284
 
   echo "$as_me:19284: \$? = $ac_status" >&5
19285
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
19286
 
   then
19287
 
     # The compiler can only warn and ignore the option if not recognized
19288
 
     # So say no if there are warnings
19289
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
19290
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
19291
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
19292
 
       lt_cv_prog_compiler_c_o_GCJ=yes
19293
 
     fi
19294
 
   fi
19295
 
   chmod u+w . 2>&5
19296
 
   $rm conftest*
19297
 
   # SGI C++ compiler will create directory out/ii_files/ for
19298
 
   # template instantiation
19299
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
19300
 
   $rm out/* && rmdir out
19301
 
   cd ..
19302
 
   rmdir conftest
19303
 
   $rm conftest*
19304
 
 
19305
 
fi
19306
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
19307
 
$as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
19308
 
 
19309
 
 
19310
 
hard_links="nottested"
19311
 
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
19312
 
  # do not overwrite the value of need_locks provided by the user
19313
 
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
19314
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
19315
 
  hard_links=yes
19316
 
  $rm conftest*
19317
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
19318
 
  touch conftest.a
19319
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
19320
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
19321
 
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
19322
 
$as_echo "$hard_links" >&6; }
19323
 
  if test "$hard_links" = no; then
19324
 
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19325
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19326
 
    need_locks=warn
19327
 
  fi
19328
 
else
19329
 
  need_locks=no
19330
 
fi
19331
 
 
19332
 
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19333
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
19334
 
 
19335
 
  runpath_var=
19336
 
  allow_undefined_flag_GCJ=
19337
 
  enable_shared_with_static_runtimes_GCJ=no
19338
 
  archive_cmds_GCJ=
19339
 
  archive_expsym_cmds_GCJ=
19340
 
  old_archive_From_new_cmds_GCJ=
19341
 
  old_archive_from_expsyms_cmds_GCJ=
19342
 
  export_dynamic_flag_spec_GCJ=
19343
 
  whole_archive_flag_spec_GCJ=
19344
 
  thread_safe_flag_spec_GCJ=
19345
 
  hardcode_libdir_flag_spec_GCJ=
19346
 
  hardcode_libdir_flag_spec_ld_GCJ=
19347
 
  hardcode_libdir_separator_GCJ=
19348
 
  hardcode_direct_GCJ=no
19349
 
  hardcode_minus_L_GCJ=no
19350
 
  hardcode_shlibpath_var_GCJ=unsupported
19351
 
  link_all_deplibs_GCJ=unknown
19352
 
  hardcode_automatic_GCJ=no
19353
 
  module_cmds_GCJ=
19354
 
  module_expsym_cmds_GCJ=
19355
 
  always_export_symbols_GCJ=no
19356
 
  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19357
 
  # include_expsyms should be a list of space-separated symbols to be *always*
19358
 
  # included in the symbol list
19359
 
  include_expsyms_GCJ=
19360
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
19361
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
19362
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
19363
 
  # as well as any symbol that contains `d'.
19364
 
  exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
19365
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
19366
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
19367
 
  # the symbol is explicitly referenced.  Since portable code cannot
19368
 
  # rely on this symbol name, it's probably fine to never include it in
19369
 
  # preloaded symbol tables.
19370
 
  # Exclude shared library initialization/finalization symbols.
19371
 
  extract_expsyms_cmds=
19372
 
  # Just being paranoid about ensuring that cc_basename is set.
19373
 
  for cc_temp in $compiler""; do
19374
 
  case $cc_temp in
19375
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19376
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19377
 
    \-*) ;;
19378
 
    *) break;;
19379
 
  esac
19380
 
done
19381
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19382
 
 
19383
 
  case $host_os in
19384
 
  cygwin* | mingw* | pw32*)
19385
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
19386
 
    # When not using gcc, we currently assume that we are using
19387
 
    # Microsoft Visual C++.
19388
 
    if test "$GCC" != yes; then
19389
 
      with_gnu_ld=no
19390
 
    fi
19391
 
    ;;
19392
 
  interix*)
19393
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
19394
 
    with_gnu_ld=yes
19395
 
    ;;
19396
 
  openbsd*)
19397
 
    with_gnu_ld=no
19398
 
    ;;
19399
 
  esac
19400
 
 
19401
 
  ld_shlibs_GCJ=yes
19402
 
  if test "$with_gnu_ld" = yes; then
19403
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
19404
 
    wlarc='${wl}'
19405
 
 
19406
 
    # Set some defaults for GNU ld with shared library support. These
19407
 
    # are reset later if shared libraries are not supported. Putting them
19408
 
    # here allows them to be overridden if necessary.
19409
 
    runpath_var=LD_RUN_PATH
19410
 
    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
19411
 
    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
19412
 
    # ancient GNU ld didn't support --whole-archive et. al.
19413
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
19414
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
19415
 
      else
19416
 
        whole_archive_flag_spec_GCJ=
19417
 
    fi
19418
 
    supports_anon_versioning=no
19419
 
    case `$LD -v 2>/dev/null` in
19420
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
19421
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
19422
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
19423
 
      *\ 2.11.*) ;; # other 2.11 versions
19424
 
      *) supports_anon_versioning=yes ;;
19425
 
    esac
19426
 
 
19427
 
    # See if GNU ld supports shared libraries.
19428
 
    case $host_os in
19429
 
    aix[3-9]*)
19430
 
      # On AIX/PPC, the GNU linker is very broken
19431
 
      if test "$host_cpu" != ia64; then
19432
 
        ld_shlibs_GCJ=no
19433
 
        cat <<EOF 1>&2
19434
 
 
19435
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
19436
 
*** to be unable to reliably create shared libraries on AIX.
19437
 
*** Therefore, libtool is disabling shared libraries support.  If you
19438
 
*** really care for shared libraries, you may want to modify your PATH
19439
 
*** so that a non-GNU linker is found, and then restart.
19440
 
 
19441
 
EOF
19442
 
      fi
19443
 
      ;;
19444
 
 
19445
 
    amigaos*)
19446
 
      archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
19447
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19448
 
      hardcode_minus_L_GCJ=yes
19449
 
 
19450
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
19451
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
19452
 
      # to version 4, is to share data among multiple programs linked
19453
 
      # with the same dynamic library.  Since this doesn't match the
19454
 
      # behavior of shared libraries on other platforms, we can't use
19455
 
      # them.
19456
 
      ld_shlibs_GCJ=no
19457
 
      ;;
19458
 
 
19459
 
    beos*)
19460
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19461
 
        allow_undefined_flag_GCJ=unsupported
19462
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
19463
 
        # support --undefined.  This deserves some investigation.  FIXME
19464
 
        archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19465
 
      else
19466
 
        ld_shlibs_GCJ=no
19467
 
      fi
19468
 
      ;;
19469
 
 
19470
 
    cygwin* | mingw* | pw32*)
19471
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
19472
 
      # as there is no search path for DLLs.
19473
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19474
 
      allow_undefined_flag_GCJ=unsupported
19475
 
      always_export_symbols_GCJ=no
19476
 
      enable_shared_with_static_runtimes_GCJ=yes
19477
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
19478
 
 
19479
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
19480
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
19481
 
        # If the export-symbols file already is a .def file (1st line
19482
 
        # is EXPORTS), use it as is; otherwise, prepend...
19483
 
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
19484
 
          cp $export_symbols $output_objdir/$soname.def;
19485
 
        else
19486
 
          echo EXPORTS > $output_objdir/$soname.def;
19487
 
          cat $export_symbols >> $output_objdir/$soname.def;
19488
 
        fi~
19489
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
19490
 
      else
19491
 
        ld_shlibs_GCJ=no
19492
 
      fi
19493
 
      ;;
19494
 
 
19495
 
    interix[3-9]*)
19496
 
      hardcode_direct_GCJ=no
19497
 
      hardcode_shlibpath_var_GCJ=no
19498
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
19499
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
19500
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
19501
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
19502
 
      # default) and relocated if they conflict, which is a slow very memory
19503
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
19504
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
19505
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
19506
 
      archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
19507
 
      archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
19508
 
      ;;
19509
 
 
19510
 
    gnu* | linux* | k*bsd*-gnu)
19511
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19512
 
        tmp_addflag=
19513
 
        case $cc_basename,$host_cpu in
19514
 
        pgcc*)                          # Portland Group C compiler
19515
 
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
19516
 
          tmp_addflag=' $pic_flag'
19517
 
          ;;
19518
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
19519
 
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
19520
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
19521
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
19522
 
          tmp_addflag=' -i_dynamic' ;;
19523
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
19524
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
19525
 
        ifc* | ifort*)                  # Intel Fortran compiler
19526
 
          tmp_addflag=' -nofor_main' ;;
19527
 
        esac
19528
 
        case `$CC -V 2>&1 | sed 5q` in
19529
 
        *Sun\ C*)                       # Sun C 5.9
19530
 
          whole_archive_flag_spec_GCJ='${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'
19531
 
          tmp_sharedflag='-G' ;;
19532
 
        *Sun\ F*)                       # Sun Fortran 8.3
19533
 
          tmp_sharedflag='-G' ;;
19534
 
        *)
19535
 
          tmp_sharedflag='-shared' ;;
19536
 
        esac
19537
 
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19538
 
 
19539
 
        if test $supports_anon_versioning = yes; then
19540
 
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
19541
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
19542
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
19543
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
19544
 
        fi
19545
 
      else
19546
 
        ld_shlibs_GCJ=no
19547
 
      fi
19548
 
      ;;
19549
 
 
19550
 
    netbsd*)
19551
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19552
 
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
19553
 
        wlarc=
19554
 
      else
19555
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19556
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19557
 
      fi
19558
 
      ;;
19559
 
 
19560
 
    solaris*)
19561
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
19562
 
        ld_shlibs_GCJ=no
19563
 
        cat <<EOF 1>&2
19564
 
 
19565
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
19566
 
*** create shared libraries on Solaris systems.  Therefore, libtool
19567
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
19568
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
19569
 
*** your PATH or compiler configuration so that the native linker is
19570
 
*** used, and then restart.
19571
 
 
19572
 
EOF
19573
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19574
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19575
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19576
 
      else
19577
 
        ld_shlibs_GCJ=no
19578
 
      fi
19579
 
      ;;
19580
 
 
19581
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
19582
 
      case `$LD -v 2>&1` in
19583
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
19584
 
        ld_shlibs_GCJ=no
19585
 
        cat <<_LT_EOF 1>&2
19586
 
 
19587
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
19588
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
19589
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
19590
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
19591
 
*** your PATH or compiler configuration so that the native linker is
19592
 
*** used, and then restart.
19593
 
 
19594
 
_LT_EOF
19595
 
        ;;
19596
 
        *)
19597
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19598
 
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
19599
 
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
19600
 
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
19601
 
          else
19602
 
            ld_shlibs_GCJ=no
19603
 
          fi
19604
 
        ;;
19605
 
      esac
19606
 
      ;;
19607
 
 
19608
 
    sunos4*)
19609
 
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19610
 
      wlarc=
19611
 
      hardcode_direct_GCJ=yes
19612
 
      hardcode_shlibpath_var_GCJ=no
19613
 
      ;;
19614
 
 
19615
 
    *)
19616
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19617
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19618
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19619
 
      else
19620
 
        ld_shlibs_GCJ=no
19621
 
      fi
19622
 
      ;;
19623
 
    esac
19624
 
 
19625
 
    if test "$ld_shlibs_GCJ" = no; then
19626
 
      runpath_var=
19627
 
      hardcode_libdir_flag_spec_GCJ=
19628
 
      export_dynamic_flag_spec_GCJ=
19629
 
      whole_archive_flag_spec_GCJ=
19630
 
    fi
19631
 
  else
19632
 
    # PORTME fill in a description of your system's linker (not GNU ld)
19633
 
    case $host_os in
19634
 
    aix3*)
19635
 
      allow_undefined_flag_GCJ=unsupported
19636
 
      always_export_symbols_GCJ=yes
19637
 
      archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
19638
 
      # Note: this linker hardcodes the directories in LIBPATH if there
19639
 
      # are no directories specified by -L.
19640
 
      hardcode_minus_L_GCJ=yes
19641
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
19642
 
        # Neither direct hardcoding nor static linking is supported with a
19643
 
        # broken collect2.
19644
 
        hardcode_direct_GCJ=unsupported
19645
 
      fi
19646
 
      ;;
19647
 
 
19648
 
    aix[4-9]*)
19649
 
      if test "$host_cpu" = ia64; then
19650
 
        # On IA64, the linker does run time linking by default, so we don't
19651
 
        # have to do anything special.
19652
 
        aix_use_runtimelinking=no
19653
 
        exp_sym_flag='-Bexport'
19654
 
        no_entry_flag=""
19655
 
      else
19656
 
        # If we're using GNU nm, then we don't want the "-C" option.
19657
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
19658
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
19659
 
          export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
19660
 
        else
19661
 
          export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
19662
 
        fi
19663
 
        aix_use_runtimelinking=no
19664
 
 
19665
 
        # Test if we are trying to use run time linking or normal
19666
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
19667
 
        # need to do runtime linking.
19668
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
19669
 
          for ld_flag in $LDFLAGS; do
19670
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
19671
 
            aix_use_runtimelinking=yes
19672
 
            break
19673
 
          fi
19674
 
          done
19675
 
          ;;
19676
 
        esac
19677
 
 
19678
 
        exp_sym_flag='-bexport'
19679
 
        no_entry_flag='-bnoentry'
19680
 
      fi
19681
 
 
19682
 
      # When large executables or shared objects are built, AIX ld can
19683
 
      # have problems creating the table of contents.  If linking a library
19684
 
      # or program results in "error TOC overflow" add -mminimal-toc to
19685
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
19686
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
19687
 
 
19688
 
      archive_cmds_GCJ=''
19689
 
      hardcode_direct_GCJ=yes
19690
 
      hardcode_libdir_separator_GCJ=':'
19691
 
      link_all_deplibs_GCJ=yes
19692
 
 
19693
 
      if test "$GCC" = yes; then
19694
 
        case $host_os in aix4.[012]|aix4.[012].*)
19695
 
        # We only want to do this on AIX 4.2 and lower, the check
19696
 
        # below for broken collect2 doesn't work under 4.3+
19697
 
          collect2name=`${CC} -print-prog-name=collect2`
19698
 
          if test -f "$collect2name" && \
19699
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
19700
 
          then
19701
 
          # We have reworked collect2
19702
 
          :
19703
 
          else
19704
 
          # We have old collect2
19705
 
          hardcode_direct_GCJ=unsupported
19706
 
          # It fails to find uninstalled libraries when the uninstalled
19707
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
19708
 
          # to unsupported forces relinking
19709
 
          hardcode_minus_L_GCJ=yes
19710
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
19711
 
          hardcode_libdir_separator_GCJ=
19712
 
          fi
19713
 
          ;;
19714
 
        esac
19715
 
        shared_flag='-shared'
19716
 
        if test "$aix_use_runtimelinking" = yes; then
19717
 
          shared_flag="$shared_flag "'${wl}-G'
19718
 
        fi
19719
 
      else
19720
 
        # not using gcc
19721
 
        if test "$host_cpu" = ia64; then
19722
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
19723
 
        # chokes on -Wl,-G. The following line is correct:
19724
 
          shared_flag='-G'
19725
 
        else
19726
 
          if test "$aix_use_runtimelinking" = yes; then
19727
 
            shared_flag='${wl}-G'
19728
 
          else
19729
 
            shared_flag='${wl}-bM:SRE'
19730
 
          fi
19731
 
        fi
19732
 
      fi
19733
 
 
19734
 
      # It seems that -bexpall does not export symbols beginning with
19735
 
      # underscore (_), so it is better to generate a list of symbols to export.
19736
 
      always_export_symbols_GCJ=yes
19737
 
      if test "$aix_use_runtimelinking" = yes; then
19738
 
        # Warning - without using the other runtime loading flags (-brtl),
19739
 
        # -berok will link without error, but may produce a broken library.
19740
 
        allow_undefined_flag_GCJ='-berok'
19741
 
       # Determine the default libpath from the value encoded in an empty executable.
19742
 
       cat >conftest.$ac_ext <<_ACEOF
19743
 
/* confdefs.h.  */
19744
 
_ACEOF
19745
 
cat confdefs.h >>conftest.$ac_ext
19746
 
cat >>conftest.$ac_ext <<_ACEOF
19747
 
/* end confdefs.h.  */
19748
 
 
19749
 
int
19750
 
main ()
19751
 
{
19752
 
 
19753
 
  ;
19754
 
  return 0;
19755
 
}
19756
 
_ACEOF
19757
 
rm -f conftest.$ac_objext conftest$ac_exeext
19758
 
if { (ac_try="$ac_link"
19759
 
case "(($ac_try" in
19760
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19761
 
  *) ac_try_echo=$ac_try;;
19762
 
esac
19763
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19764
 
$as_echo "$ac_try_echo") >&5
19765
 
  (eval "$ac_link") 2>conftest.er1
19766
 
  ac_status=$?
19767
 
  grep -v '^ *+' conftest.er1 >conftest.err
19768
 
  rm -f conftest.er1
19769
 
  cat conftest.err >&5
19770
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19771
 
  (exit $ac_status); } && {
19772
 
         test -z "$ac_c_werror_flag" ||
19773
 
         test ! -s conftest.err
19774
 
       } && test -s conftest$ac_exeext && {
19775
 
         test "$cross_compiling" = yes ||
19776
 
         $as_test_x conftest$ac_exeext
19777
 
       }; then
19778
 
 
19779
 
lt_aix_libpath_sed='
19780
 
    /Import File Strings/,/^$/ {
19781
 
        /^0/ {
19782
 
            s/^0  *\(.*\)$/\1/
19783
 
            p
19784
 
        }
19785
 
    }'
19786
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19787
 
# Check for a 64-bit object if we didn't find anything.
19788
 
if test -z "$aix_libpath"; then
19789
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19790
 
fi
19791
 
else
19792
 
  $as_echo "$as_me: failed program was:" >&5
19793
 
sed 's/^/| /' conftest.$ac_ext >&5
19794
 
 
19795
 
 
19796
 
fi
19797
 
 
19798
 
rm -rf conftest.dSYM
19799
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19800
 
      conftest$ac_exeext conftest.$ac_ext
19801
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19802
 
 
19803
 
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
19804
 
        archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
19805
 
       else
19806
 
        if test "$host_cpu" = ia64; then
19807
 
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
19808
 
          allow_undefined_flag_GCJ="-z nodefs"
19809
 
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
19810
 
        else
19811
 
         # Determine the default libpath from the value encoded in an empty executable.
19812
 
         cat >conftest.$ac_ext <<_ACEOF
19813
 
/* confdefs.h.  */
19814
 
_ACEOF
19815
 
cat confdefs.h >>conftest.$ac_ext
19816
 
cat >>conftest.$ac_ext <<_ACEOF
19817
 
/* end confdefs.h.  */
19818
 
 
19819
 
int
19820
 
main ()
19821
 
{
19822
 
 
19823
 
  ;
19824
 
  return 0;
19825
 
}
19826
 
_ACEOF
19827
 
rm -f conftest.$ac_objext conftest$ac_exeext
19828
 
if { (ac_try="$ac_link"
19829
 
case "(($ac_try" in
19830
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19831
 
  *) ac_try_echo=$ac_try;;
19832
 
esac
19833
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19834
 
$as_echo "$ac_try_echo") >&5
19835
 
  (eval "$ac_link") 2>conftest.er1
19836
 
  ac_status=$?
19837
 
  grep -v '^ *+' conftest.er1 >conftest.err
19838
 
  rm -f conftest.er1
19839
 
  cat conftest.err >&5
19840
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19841
 
  (exit $ac_status); } && {
19842
 
         test -z "$ac_c_werror_flag" ||
19843
 
         test ! -s conftest.err
19844
 
       } && test -s conftest$ac_exeext && {
19845
 
         test "$cross_compiling" = yes ||
19846
 
         $as_test_x conftest$ac_exeext
19847
 
       }; then
19848
 
 
19849
 
lt_aix_libpath_sed='
19850
 
    /Import File Strings/,/^$/ {
19851
 
        /^0/ {
19852
 
            s/^0  *\(.*\)$/\1/
19853
 
            p
19854
 
        }
19855
 
    }'
19856
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19857
 
# Check for a 64-bit object if we didn't find anything.
19858
 
if test -z "$aix_libpath"; then
19859
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19860
 
fi
19861
 
else
19862
 
  $as_echo "$as_me: failed program was:" >&5
19863
 
sed 's/^/| /' conftest.$ac_ext >&5
19864
 
 
19865
 
 
19866
 
fi
19867
 
 
19868
 
rm -rf conftest.dSYM
19869
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19870
 
      conftest$ac_exeext conftest.$ac_ext
19871
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19872
 
 
19873
 
         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
19874
 
          # Warning - without using the other run time loading flags,
19875
 
          # -berok will link without error, but may produce a broken library.
19876
 
          no_undefined_flag_GCJ=' ${wl}-bernotok'
19877
 
          allow_undefined_flag_GCJ=' ${wl}-berok'
19878
 
          # Exported symbols can be pulled into shared objects from archives
19879
 
          whole_archive_flag_spec_GCJ='$convenience'
19880
 
          archive_cmds_need_lc_GCJ=yes
19881
 
          # This is similar to how AIX traditionally builds its shared libraries.
19882
 
          archive_expsym_cmds_GCJ="\$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'
19883
 
        fi
19884
 
      fi
19885
 
      ;;
19886
 
 
19887
 
    amigaos*)
19888
 
      archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
19889
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19890
 
      hardcode_minus_L_GCJ=yes
19891
 
      # see comment about different semantics on the GNU ld section
19892
 
      ld_shlibs_GCJ=no
19893
 
      ;;
19894
 
 
19895
 
    bsdi[45]*)
19896
 
      export_dynamic_flag_spec_GCJ=-rdynamic
19897
 
      ;;
19898
 
 
19899
 
    cygwin* | mingw* | pw32*)
19900
 
      # When not using gcc, we currently assume that we are using
19901
 
      # Microsoft Visual C++.
19902
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
19903
 
      # no search path for DLLs.
19904
 
      hardcode_libdir_flag_spec_GCJ=' '
19905
 
      allow_undefined_flag_GCJ=unsupported
19906
 
      # Tell ltmain to make .lib files, not .a files.
19907
 
      libext=lib
19908
 
      # Tell ltmain to make .dll files, not .so files.
19909
 
      shrext_cmds=".dll"
19910
 
      # FIXME: Setting linknames here is a bad hack.
19911
 
      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
19912
 
      # The linker will automatically build a .lib file if we build a DLL.
19913
 
      old_archive_From_new_cmds_GCJ='true'
19914
 
      # FIXME: Should let the user specify the lib program.
19915
 
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
19916
 
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
19917
 
      enable_shared_with_static_runtimes_GCJ=yes
19918
 
      ;;
19919
 
 
19920
 
    darwin* | rhapsody*)
19921
 
      case $host_os in
19922
 
        rhapsody* | darwin1.[012])
19923
 
         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
19924
 
         ;;
19925
 
       *) # Darwin 1.3 on
19926
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
19927
 
           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
19928
 
         else
19929
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
19930
 
             10.[012])
19931
 
               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
19932
 
               ;;
19933
 
             10.*)
19934
 
               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
19935
 
               ;;
19936
 
           esac
19937
 
         fi
19938
 
         ;;
19939
 
      esac
19940
 
      archive_cmds_need_lc_GCJ=no
19941
 
      hardcode_direct_GCJ=no
19942
 
      hardcode_automatic_GCJ=yes
19943
 
      hardcode_shlibpath_var_GCJ=unsupported
19944
 
      whole_archive_flag_spec_GCJ=''
19945
 
      link_all_deplibs_GCJ=yes
19946
 
    if test "$GCC" = yes ; then
19947
 
        output_verbose_link_cmd='echo'
19948
 
        archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
19949
 
        module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
19950
 
        archive_expsym_cmds_GCJ="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}"
19951
 
        module_expsym_cmds_GCJ="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
19952
 
    else
19953
 
      case $cc_basename in
19954
 
        xlc*)
19955
 
         output_verbose_link_cmd='echo'
19956
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
19957
 
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
19958
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
19959
 
         archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
19960
 
          module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
19961
 
          ;;
19962
 
       *)
19963
 
         ld_shlibs_GCJ=no
19964
 
          ;;
19965
 
      esac
19966
 
    fi
19967
 
      ;;
19968
 
 
19969
 
    dgux*)
19970
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19971
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19972
 
      hardcode_shlibpath_var_GCJ=no
19973
 
      ;;
19974
 
 
19975
 
    freebsd1*)
19976
 
      ld_shlibs_GCJ=no
19977
 
      ;;
19978
 
 
19979
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
19980
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
19981
 
    # does not break anything, and helps significantly (at the cost of a little
19982
 
    # extra space).
19983
 
    freebsd2.2*)
19984
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
19985
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
19986
 
      hardcode_direct_GCJ=yes
19987
 
      hardcode_shlibpath_var_GCJ=no
19988
 
      ;;
19989
 
 
19990
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
19991
 
    freebsd2*)
19992
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19993
 
      hardcode_direct_GCJ=yes
19994
 
      hardcode_minus_L_GCJ=yes
19995
 
      hardcode_shlibpath_var_GCJ=no
19996
 
      ;;
19997
 
 
19998
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
19999
 
    freebsd* | dragonfly*)
20000
 
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
20001
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
20002
 
      hardcode_direct_GCJ=yes
20003
 
      hardcode_shlibpath_var_GCJ=no
20004
 
      ;;
20005
 
 
20006
 
    hpux9*)
20007
 
      if test "$GCC" = yes; then
20008
 
        archive_cmds_GCJ='$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'
20009
 
      else
20010
 
        archive_cmds_GCJ='$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'
20011
 
      fi
20012
 
      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
20013
 
      hardcode_libdir_separator_GCJ=:
20014
 
      hardcode_direct_GCJ=yes
20015
 
 
20016
 
      # hardcode_minus_L: Not really in the search PATH,
20017
 
      # but as the default location of the library.
20018
 
      hardcode_minus_L_GCJ=yes
20019
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
20020
 
      ;;
20021
 
 
20022
 
    hpux10*)
20023
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
20024
 
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
20025
 
      else
20026
 
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
20027
 
      fi
20028
 
      if test "$with_gnu_ld" = no; then
20029
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
20030
 
        hardcode_libdir_separator_GCJ=:
20031
 
 
20032
 
        hardcode_direct_GCJ=yes
20033
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
20034
 
 
20035
 
        # hardcode_minus_L: Not really in the search PATH,
20036
 
        # but as the default location of the library.
20037
 
        hardcode_minus_L_GCJ=yes
20038
 
      fi
20039
 
      ;;
20040
 
 
20041
 
    hpux11*)
20042
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
20043
 
        case $host_cpu in
20044
 
        hppa*64*)
20045
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
20046
 
          ;;
20047
 
        ia64*)
20048
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
20049
 
          ;;
20050
 
        *)
20051
 
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
20052
 
          ;;
20053
 
        esac
20054
 
      else
20055
 
        case $host_cpu in
20056
 
        hppa*64*)
20057
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
20058
 
          ;;
20059
 
        ia64*)
20060
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
20061
 
          ;;
20062
 
        *)
20063
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
20064
 
          ;;
20065
 
        esac
20066
 
      fi
20067
 
      if test "$with_gnu_ld" = no; then
20068
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
20069
 
        hardcode_libdir_separator_GCJ=:
20070
 
 
20071
 
        case $host_cpu in
20072
 
        hppa*64*|ia64*)
20073
 
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
20074
 
          hardcode_direct_GCJ=no
20075
 
          hardcode_shlibpath_var_GCJ=no
20076
 
          ;;
20077
 
        *)
20078
 
          hardcode_direct_GCJ=yes
20079
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
20080
 
 
20081
 
          # hardcode_minus_L: Not really in the search PATH,
20082
 
          # but as the default location of the library.
20083
 
          hardcode_minus_L_GCJ=yes
20084
 
          ;;
20085
 
        esac
20086
 
      fi
20087
 
      ;;
20088
 
 
20089
 
    irix5* | irix6* | nonstopux*)
20090
 
      if test "$GCC" = yes; then
20091
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
20092
 
      else
20093
 
        archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
20094
 
        hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
20095
 
      fi
20096
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
20097
 
      hardcode_libdir_separator_GCJ=:
20098
 
      link_all_deplibs_GCJ=yes
20099
 
      ;;
20100
 
 
20101
 
    netbsd*)
20102
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20103
 
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
20104
 
      else
20105
 
        archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
20106
 
      fi
20107
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
20108
 
      hardcode_direct_GCJ=yes
20109
 
      hardcode_shlibpath_var_GCJ=no
20110
 
      ;;
20111
 
 
20112
 
    newsos6)
20113
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20114
 
      hardcode_direct_GCJ=yes
20115
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
20116
 
      hardcode_libdir_separator_GCJ=:
20117
 
      hardcode_shlibpath_var_GCJ=no
20118
 
      ;;
20119
 
 
20120
 
    openbsd*)
20121
 
      if test -f /usr/libexec/ld.so; then
20122
 
        hardcode_direct_GCJ=yes
20123
 
        hardcode_shlibpath_var_GCJ=no
20124
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20125
 
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
20126
 
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
20127
 
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
20128
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
20129
 
        else
20130
 
          case $host_os in
20131
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
20132
 
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
20133
 
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
20134
 
             ;;
20135
 
           *)
20136
 
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
20137
 
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
20138
 
             ;;
20139
 
          esac
20140
 
        fi
20141
 
      else
20142
 
        ld_shlibs_GCJ=no
20143
 
      fi
20144
 
      ;;
20145
 
 
20146
 
    os2*)
20147
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
20148
 
      hardcode_minus_L_GCJ=yes
20149
 
      allow_undefined_flag_GCJ=unsupported
20150
 
      archive_cmds_GCJ='$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'
20151
 
      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
20152
 
      ;;
20153
 
 
20154
 
    osf3*)
20155
 
      if test "$GCC" = yes; then
20156
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
20157
 
        archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
20158
 
      else
20159
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
20160
 
        archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
20161
 
      fi
20162
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
20163
 
      hardcode_libdir_separator_GCJ=:
20164
 
      ;;
20165
 
 
20166
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
20167
 
      if test "$GCC" = yes; then
20168
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
20169
 
        archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
20170
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
20171
 
      else
20172
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
20173
 
        archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
20174
 
        archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
20175
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
20176
 
 
20177
 
        # Both c and cxx compiler support -rpath directly
20178
 
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
20179
 
      fi
20180
 
      hardcode_libdir_separator_GCJ=:
20181
 
      ;;
20182
 
 
20183
 
    solaris*)
20184
 
      no_undefined_flag_GCJ=' -z text'
20185
 
      if test "$GCC" = yes; then
20186
 
        wlarc='${wl}'
20187
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
20188
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20189
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
20190
 
      else
20191
 
        wlarc=''
20192
 
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
20193
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20194
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
20195
 
      fi
20196
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
20197
 
      hardcode_shlibpath_var_GCJ=no
20198
 
      case $host_os in
20199
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
20200
 
      *)
20201
 
        # The compiler driver will combine and reorder linker options,
20202
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
20203
 
        # but is careful enough not to reorder.
20204
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
20205
 
        if test "$GCC" = yes; then
20206
 
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
20207
 
        else
20208
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
20209
 
        fi
20210
 
        ;;
20211
 
      esac
20212
 
      link_all_deplibs_GCJ=yes
20213
 
      ;;
20214
 
 
20215
 
    sunos4*)
20216
 
      if test "x$host_vendor" = xsequent; then
20217
 
        # Use $CC to link under sequent, because it throws in some extra .o
20218
 
        # files that make .init and .fini sections work.
20219
 
        archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
20220
 
      else
20221
 
        archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
20222
 
      fi
20223
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
20224
 
      hardcode_direct_GCJ=yes
20225
 
      hardcode_minus_L_GCJ=yes
20226
 
      hardcode_shlibpath_var_GCJ=no
20227
 
      ;;
20228
 
 
20229
 
    sysv4)
20230
 
      case $host_vendor in
20231
 
        sni)
20232
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20233
 
          hardcode_direct_GCJ=yes # is this really true???
20234
 
        ;;
20235
 
        siemens)
20236
 
          ## LD is ld it makes a PLAMLIB
20237
 
          ## CC just makes a GrossModule.
20238
 
          archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
20239
 
          reload_cmds_GCJ='$CC -r -o $output$reload_objs'
20240
 
          hardcode_direct_GCJ=no
20241
 
        ;;
20242
 
        motorola)
20243
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20244
 
          hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
20245
 
        ;;
20246
 
      esac
20247
 
      runpath_var='LD_RUN_PATH'
20248
 
      hardcode_shlibpath_var_GCJ=no
20249
 
      ;;
20250
 
 
20251
 
    sysv4.3*)
20252
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20253
 
      hardcode_shlibpath_var_GCJ=no
20254
 
      export_dynamic_flag_spec_GCJ='-Bexport'
20255
 
      ;;
20256
 
 
20257
 
    sysv4*MP*)
20258
 
      if test -d /usr/nec; then
20259
 
        archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20260
 
        hardcode_shlibpath_var_GCJ=no
20261
 
        runpath_var=LD_RUN_PATH
20262
 
        hardcode_runpath_var=yes
20263
 
        ld_shlibs_GCJ=yes
20264
 
      fi
20265
 
      ;;
20266
 
 
20267
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
20268
 
      no_undefined_flag_GCJ='${wl}-z,text'
20269
 
      archive_cmds_need_lc_GCJ=no
20270
 
      hardcode_shlibpath_var_GCJ=no
20271
 
      runpath_var='LD_RUN_PATH'
20272
 
 
20273
 
      if test "$GCC" = yes; then
20274
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20275
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20276
 
      else
20277
 
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20278
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20279
 
      fi
20280
 
      ;;
20281
 
 
20282
 
    sysv5* | sco3.2v5* | sco5v6*)
20283
 
      # Note: We can NOT use -z defs as we might desire, because we do not
20284
 
      # link with -lc, and that would cause any symbols used from libc to
20285
 
      # always be unresolved, which means just about no library would
20286
 
      # ever link correctly.  If we're not using GNU ld we use -z text
20287
 
      # though, which does catch some bad symbols but isn't as heavy-handed
20288
 
      # as -z defs.
20289
 
      no_undefined_flag_GCJ='${wl}-z,text'
20290
 
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
20291
 
      archive_cmds_need_lc_GCJ=no
20292
 
      hardcode_shlibpath_var_GCJ=no
20293
 
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
20294
 
      hardcode_libdir_separator_GCJ=':'
20295
 
      link_all_deplibs_GCJ=yes
20296
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
20297
 
      runpath_var='LD_RUN_PATH'
20298
 
 
20299
 
      if test "$GCC" = yes; then
20300
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
20301
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
20302
 
      else
20303
 
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
20304
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
20305
 
      fi
20306
 
      ;;
20307
 
 
20308
 
    uts4*)
20309
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20310
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
20311
 
      hardcode_shlibpath_var_GCJ=no
20312
 
      ;;
20313
 
 
20314
 
    *)
20315
 
      ld_shlibs_GCJ=no
20316
 
      ;;
20317
 
    esac
20318
 
  fi
20319
 
 
20320
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
20321
 
$as_echo "$ld_shlibs_GCJ" >&6; }
20322
 
test "$ld_shlibs_GCJ" = no && can_build_shared=no
20323
 
 
20324
 
#
20325
 
# Do we need to explicitly link libc?
20326
 
#
20327
 
case "x$archive_cmds_need_lc_GCJ" in
20328
 
x|xyes)
20329
 
  # Assume -lc should be added
20330
 
  archive_cmds_need_lc_GCJ=yes
20331
 
 
20332
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
20333
 
    case $archive_cmds_GCJ in
20334
 
    *'~'*)
20335
 
      # FIXME: we may have to deal with multi-command sequences.
20336
 
      ;;
20337
 
    '$CC '*)
20338
 
      # Test whether the compiler implicitly links with -lc since on some
20339
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
20340
 
      # to ld, don't add -lc before -lgcc.
20341
 
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
20342
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
20343
 
      $rm conftest*
20344
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20345
 
 
20346
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20347
 
  (eval $ac_compile) 2>&5
20348
 
  ac_status=$?
20349
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20350
 
  (exit $ac_status); } 2>conftest.err; then
20351
 
        soname=conftest
20352
 
        lib=conftest
20353
 
        libobjs=conftest.$ac_objext
20354
 
        deplibs=
20355
 
        wl=$lt_prog_compiler_wl_GCJ
20356
 
        pic_flag=$lt_prog_compiler_pic_GCJ
20357
 
        compiler_flags=-v
20358
 
        linker_flags=-v
20359
 
        verstring=
20360
 
        output_objdir=.
20361
 
        libname=conftest
20362
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
20363
 
        allow_undefined_flag_GCJ=
20364
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
20365
 
  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
20366
 
  ac_status=$?
20367
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20368
 
  (exit $ac_status); }
20369
 
        then
20370
 
          archive_cmds_need_lc_GCJ=no
20371
 
        else
20372
 
          archive_cmds_need_lc_GCJ=yes
20373
 
        fi
20374
 
        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
20375
 
      else
20376
 
        cat conftest.err 1>&5
20377
 
      fi
20378
 
      $rm conftest*
20379
 
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
20380
 
$as_echo "$archive_cmds_need_lc_GCJ" >&6; }
20381
 
      ;;
20382
 
    esac
20383
 
  fi
20384
 
  ;;
20385
 
esac
20386
 
 
20387
 
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
20388
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
20389
 
library_names_spec=
20390
 
libname_spec='lib$name'
20391
 
soname_spec=
20392
 
shrext_cmds=".so"
20393
 
postinstall_cmds=
20394
 
postuninstall_cmds=
20395
 
finish_cmds=
20396
 
finish_eval=
20397
 
shlibpath_var=
20398
 
shlibpath_overrides_runpath=unknown
20399
 
version_type=none
20400
 
dynamic_linker="$host_os ld.so"
20401
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
20402
 
 
20403
 
need_lib_prefix=unknown
20404
 
hardcode_into_libs=no
20405
 
 
20406
 
# when you set need_version to no, make sure it does not cause -set_version
20407
 
# flags to be left without arguments
20408
 
need_version=unknown
20409
 
 
20410
 
case $host_os in
20411
 
aix3*)
20412
 
  version_type=linux
20413
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
20414
 
  shlibpath_var=LIBPATH
20415
 
 
20416
 
  # AIX 3 has no versioning support, so we append a major version to the name.
20417
 
  soname_spec='${libname}${release}${shared_ext}$major'
20418
 
  ;;
20419
 
 
20420
 
aix[4-9]*)
20421
 
  version_type=linux
20422
 
  need_lib_prefix=no
20423
 
  need_version=no
20424
 
  hardcode_into_libs=yes
20425
 
  if test "$host_cpu" = ia64; then
20426
 
    # AIX 5 supports IA64
20427
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
20428
 
    shlibpath_var=LD_LIBRARY_PATH
20429
 
  else
20430
 
    # With GCC up to 2.95.x, collect2 would create an import file
20431
 
    # for dependence libraries.  The import file would start with
20432
 
    # the line `#! .'.  This would cause the generated library to
20433
 
    # depend on `.', always an invalid library.  This was fixed in
20434
 
    # development snapshots of GCC prior to 3.0.
20435
 
    case $host_os in
20436
 
      aix4 | aix4.[01] | aix4.[01].*)
20437
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20438
 
           echo ' yes '
20439
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
20440
 
        :
20441
 
      else
20442
 
        can_build_shared=no
20443
 
      fi
20444
 
      ;;
20445
 
    esac
20446
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
20447
 
    # soname into executable. Probably we can add versioning support to
20448
 
    # collect2, so additional links can be useful in future.
20449
 
    if test "$aix_use_runtimelinking" = yes; then
20450
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
20451
 
      # instead of lib<name>.a to let people know that these are not
20452
 
      # typical AIX shared libraries.
20453
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20454
 
    else
20455
 
      # We preserve .a as extension for shared libraries through AIX4.2
20456
 
      # and later when we are not doing run time linking.
20457
 
      library_names_spec='${libname}${release}.a $libname.a'
20458
 
      soname_spec='${libname}${release}${shared_ext}$major'
20459
 
    fi
20460
 
    shlibpath_var=LIBPATH
20461
 
  fi
20462
 
  ;;
20463
 
 
20464
 
amigaos*)
20465
 
  library_names_spec='$libname.ixlibrary $libname.a'
20466
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
20467
 
  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'
20468
 
  ;;
20469
 
 
20470
 
beos*)
20471
 
  library_names_spec='${libname}${shared_ext}'
20472
 
  dynamic_linker="$host_os ld.so"
20473
 
  shlibpath_var=LIBRARY_PATH
20474
 
  ;;
20475
 
 
20476
 
bsdi[45]*)
20477
 
  version_type=linux
20478
 
  need_version=no
20479
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20480
 
  soname_spec='${libname}${release}${shared_ext}$major'
20481
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
20482
 
  shlibpath_var=LD_LIBRARY_PATH
20483
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20484
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
20485
 
  # the default ld.so.conf also contains /usr/contrib/lib and
20486
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
20487
 
  # libtool to hard-code these into programs
20488
 
  ;;
20489
 
 
20490
 
cygwin* | mingw* | pw32*)
20491
 
  version_type=windows
20492
 
  shrext_cmds=".dll"
20493
 
  need_version=no
20494
 
  need_lib_prefix=no
20495
 
 
20496
 
  case $GCC,$host_os in
20497
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
20498
 
    library_names_spec='$libname.dll.a'
20499
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
20500
 
    postinstall_cmds='base_file=`basename \${file}`~
20501
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
20502
 
      dldir=$destdir/`dirname \$dlpath`~
20503
 
      test -d \$dldir || mkdir -p \$dldir~
20504
 
      $install_prog $dir/$dlname \$dldir/$dlname~
20505
 
      chmod a+x \$dldir/$dlname'
20506
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20507
 
      dlpath=$dir/\$dldll~
20508
 
       $rm \$dlpath'
20509
 
    shlibpath_overrides_runpath=yes
20510
 
 
20511
 
    case $host_os in
20512
 
    cygwin*)
20513
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
20514
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20515
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
20516
 
      ;;
20517
 
    mingw*)
20518
 
      # MinGW DLLs use traditional 'lib' prefix
20519
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20520
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20521
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
20522
 
        # It is most probably a Windows format PATH printed by
20523
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
20524
 
        # path with ; separators, and with drive letters. We can handle the
20525
 
        # drive letters (cygwin fileutils understands them), so leave them,
20526
 
        # especially as we might pass files found there to a mingw objdump,
20527
 
        # which wouldn't understand a cygwinified path. Ahh.
20528
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20529
 
      else
20530
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
20531
 
      fi
20532
 
      ;;
20533
 
    pw32*)
20534
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
20535
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20536
 
      ;;
20537
 
    esac
20538
 
    ;;
20539
 
 
20540
 
  *)
20541
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
20542
 
    ;;
20543
 
  esac
20544
 
  dynamic_linker='Win32 ld.exe'
20545
 
  # FIXME: first we should search . and the directory the executable is in
20546
 
  shlibpath_var=PATH
20547
 
  ;;
20548
 
 
20549
 
darwin* | rhapsody*)
20550
 
  dynamic_linker="$host_os dyld"
20551
 
  version_type=darwin
20552
 
  need_lib_prefix=no
20553
 
  need_version=no
20554
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
20555
 
  soname_spec='${libname}${release}${major}$shared_ext'
20556
 
  shlibpath_overrides_runpath=yes
20557
 
  shlibpath_var=DYLD_LIBRARY_PATH
20558
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
20559
 
 
20560
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
20561
 
  ;;
20562
 
 
20563
 
dgux*)
20564
 
  version_type=linux
20565
 
  need_lib_prefix=no
20566
 
  need_version=no
20567
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
20568
 
  soname_spec='${libname}${release}${shared_ext}$major'
20569
 
  shlibpath_var=LD_LIBRARY_PATH
20570
 
  ;;
20571
 
 
20572
 
freebsd1*)
20573
 
  dynamic_linker=no
20574
 
  ;;
20575
 
 
20576
 
freebsd* | dragonfly*)
20577
 
  # DragonFly does not have aout.  When/if they implement a new
20578
 
  # versioning mechanism, adjust this.
20579
 
  if test -x /usr/bin/objformat; then
20580
 
    objformat=`/usr/bin/objformat`
20581
 
  else
20582
 
    case $host_os in
20583
 
    freebsd[123]*) objformat=aout ;;
20584
 
    *) objformat=elf ;;
20585
 
    esac
20586
 
  fi
20587
 
  version_type=freebsd-$objformat
20588
 
  case $version_type in
20589
 
    freebsd-elf*)
20590
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20591
 
      need_version=no
20592
 
      need_lib_prefix=no
20593
 
      ;;
20594
 
    freebsd-*)
20595
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
20596
 
      need_version=yes
20597
 
      ;;
20598
 
  esac
20599
 
  shlibpath_var=LD_LIBRARY_PATH
20600
 
  case $host_os in
20601
 
  freebsd2*)
20602
 
    shlibpath_overrides_runpath=yes
20603
 
    ;;
20604
 
  freebsd3.[01]* | freebsdelf3.[01]*)
20605
 
    shlibpath_overrides_runpath=yes
20606
 
    hardcode_into_libs=yes
20607
 
    ;;
20608
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
20609
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
20610
 
    shlibpath_overrides_runpath=no
20611
 
    hardcode_into_libs=yes
20612
 
    ;;
20613
 
  *) # from 4.6 on, and DragonFly
20614
 
    shlibpath_overrides_runpath=yes
20615
 
    hardcode_into_libs=yes
20616
 
    ;;
20617
 
  esac
20618
 
  ;;
20619
 
 
20620
 
gnu*)
20621
 
  version_type=linux
20622
 
  need_lib_prefix=no
20623
 
  need_version=no
20624
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20625
 
  soname_spec='${libname}${release}${shared_ext}$major'
20626
 
  shlibpath_var=LD_LIBRARY_PATH
20627
 
  hardcode_into_libs=yes
20628
 
  ;;
20629
 
 
20630
 
hpux9* | hpux10* | hpux11*)
20631
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
20632
 
  # link against other versions.
20633
 
  version_type=sunos
20634
 
  need_lib_prefix=no
20635
 
  need_version=no
20636
 
  case $host_cpu in
20637
 
  ia64*)
20638
 
    shrext_cmds='.so'
20639
 
    hardcode_into_libs=yes
20640
 
    dynamic_linker="$host_os dld.so"
20641
 
    shlibpath_var=LD_LIBRARY_PATH
20642
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20643
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20644
 
    soname_spec='${libname}${release}${shared_ext}$major'
20645
 
    if test "X$HPUX_IA64_MODE" = X32; then
20646
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20647
 
    else
20648
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
20649
 
    fi
20650
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20651
 
    ;;
20652
 
   hppa*64*)
20653
 
     shrext_cmds='.sl'
20654
 
     hardcode_into_libs=yes
20655
 
     dynamic_linker="$host_os dld.sl"
20656
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
20657
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20658
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20659
 
     soname_spec='${libname}${release}${shared_ext}$major'
20660
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20661
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20662
 
     ;;
20663
 
   *)
20664
 
    shrext_cmds='.sl'
20665
 
    dynamic_linker="$host_os dld.sl"
20666
 
    shlibpath_var=SHLIB_PATH
20667
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
20668
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20669
 
    soname_spec='${libname}${release}${shared_ext}$major'
20670
 
    ;;
20671
 
  esac
20672
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
20673
 
  postinstall_cmds='chmod 555 $lib'
20674
 
  ;;
20675
 
 
20676
 
interix[3-9]*)
20677
 
  version_type=linux
20678
 
  need_lib_prefix=no
20679
 
  need_version=no
20680
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20681
 
  soname_spec='${libname}${release}${shared_ext}$major'
20682
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
20683
 
  shlibpath_var=LD_LIBRARY_PATH
20684
 
  shlibpath_overrides_runpath=no
20685
 
  hardcode_into_libs=yes
20686
 
  ;;
20687
 
 
20688
 
irix5* | irix6* | nonstopux*)
20689
 
  case $host_os in
20690
 
    nonstopux*) version_type=nonstopux ;;
20691
 
    *)
20692
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
20693
 
                version_type=linux
20694
 
        else
20695
 
                version_type=irix
20696
 
        fi ;;
20697
 
  esac
20698
 
  need_lib_prefix=no
20699
 
  need_version=no
20700
 
  soname_spec='${libname}${release}${shared_ext}$major'
20701
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20702
 
  case $host_os in
20703
 
  irix5* | nonstopux*)
20704
 
    libsuff= shlibsuff=
20705
 
    ;;
20706
 
  *)
20707
 
    case $LD in # libtool.m4 will add one of these switches to LD
20708
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
20709
 
      libsuff= shlibsuff= libmagic=32-bit;;
20710
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
20711
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
20712
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
20713
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
20714
 
    *) libsuff= shlibsuff= libmagic=never-match;;
20715
 
    esac
20716
 
    ;;
20717
 
  esac
20718
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
20719
 
  shlibpath_overrides_runpath=no
20720
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20721
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
20722
 
  hardcode_into_libs=yes
20723
 
  ;;
20724
 
 
20725
 
# No shared lib support for Linux oldld, aout, or coff.
20726
 
linux*oldld* | linux*aout* | linux*coff*)
20727
 
  dynamic_linker=no
20728
 
  ;;
20729
 
 
20730
 
# This must be Linux ELF.
20731
 
linux* | k*bsd*-gnu)
20732
 
  version_type=linux
20733
 
  need_lib_prefix=no
20734
 
  need_version=no
20735
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20736
 
  soname_spec='${libname}${release}${shared_ext}$major'
20737
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20738
 
  shlibpath_var=LD_LIBRARY_PATH
20739
 
  shlibpath_overrides_runpath=no
20740
 
  # This implies no fast_install, which is unacceptable.
20741
 
  # Some rework will be needed to allow for fast_install
20742
 
  # before this can be enabled.
20743
 
  hardcode_into_libs=yes
20744
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20745
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
20746
 
 
20747
 
  # Append ld.so.conf contents to the search path
20748
 
  if test -f /etc/ld.so.conf; then
20749
 
    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' ' '`
20750
 
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
20751
 
  fi
20752
 
 
20753
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
20754
 
  # powerpc, because MkLinux only supported shared libraries with the
20755
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
20756
 
  # most powerpc-linux boxes support dynamic linking these days and
20757
 
  # people can always --disable-shared, the test was removed, and we
20758
 
  # assume the GNU/Linux dynamic linker is in use.
20759
 
  dynamic_linker='GNU/Linux ld.so'
20760
 
  ;;
20761
 
 
20762
 
netbsd*)
20763
 
  version_type=sunos
20764
 
  need_lib_prefix=no
20765
 
  need_version=no
20766
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20767
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20768
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20769
 
    dynamic_linker='NetBSD (a.out) ld.so'
20770
 
  else
20771
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20772
 
    soname_spec='${libname}${release}${shared_ext}$major'
20773
 
    dynamic_linker='NetBSD ld.elf_so'
20774
 
  fi
20775
 
  shlibpath_var=LD_LIBRARY_PATH
20776
 
  shlibpath_overrides_runpath=yes
20777
 
  hardcode_into_libs=yes
20778
 
  ;;
20779
 
 
20780
 
newsos6)
20781
 
  version_type=linux
20782
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20783
 
  shlibpath_var=LD_LIBRARY_PATH
20784
 
  shlibpath_overrides_runpath=yes
20785
 
  ;;
20786
 
 
20787
 
nto-qnx*)
20788
 
  version_type=linux
20789
 
  need_lib_prefix=no
20790
 
  need_version=no
20791
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20792
 
  soname_spec='${libname}${release}${shared_ext}$major'
20793
 
  shlibpath_var=LD_LIBRARY_PATH
20794
 
  shlibpath_overrides_runpath=yes
20795
 
  ;;
20796
 
 
20797
 
openbsd*)
20798
 
  version_type=sunos
20799
 
  sys_lib_dlsearch_path_spec="/usr/lib"
20800
 
  need_lib_prefix=no
20801
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
20802
 
  case $host_os in
20803
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
20804
 
    *)                         need_version=no  ;;
20805
 
  esac
20806
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20807
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20808
 
  shlibpath_var=LD_LIBRARY_PATH
20809
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20810
 
    case $host_os in
20811
 
      openbsd2.[89] | openbsd2.[89].*)
20812
 
        shlibpath_overrides_runpath=no
20813
 
        ;;
20814
 
      *)
20815
 
        shlibpath_overrides_runpath=yes
20816
 
        ;;
20817
 
      esac
20818
 
  else
20819
 
    shlibpath_overrides_runpath=yes
20820
 
  fi
20821
 
  ;;
20822
 
 
20823
 
os2*)
20824
 
  libname_spec='$name'
20825
 
  shrext_cmds=".dll"
20826
 
  need_lib_prefix=no
20827
 
  library_names_spec='$libname${shared_ext} $libname.a'
20828
 
  dynamic_linker='OS/2 ld.exe'
20829
 
  shlibpath_var=LIBPATH
20830
 
  ;;
20831
 
 
20832
 
osf3* | osf4* | osf5*)
20833
 
  version_type=osf
20834
 
  need_lib_prefix=no
20835
 
  need_version=no
20836
 
  soname_spec='${libname}${release}${shared_ext}$major'
20837
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20838
 
  shlibpath_var=LD_LIBRARY_PATH
20839
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20840
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
20841
 
  ;;
20842
 
 
20843
 
rdos*)
20844
 
  dynamic_linker=no
20845
 
  ;;
20846
 
 
20847
 
solaris*)
20848
 
  version_type=linux
20849
 
  need_lib_prefix=no
20850
 
  need_version=no
20851
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20852
 
  soname_spec='${libname}${release}${shared_ext}$major'
20853
 
  shlibpath_var=LD_LIBRARY_PATH
20854
 
  shlibpath_overrides_runpath=yes
20855
 
  hardcode_into_libs=yes
20856
 
  # ldd complains unless libraries are executable
20857
 
  postinstall_cmds='chmod +x $lib'
20858
 
  ;;
20859
 
 
20860
 
sunos4*)
20861
 
  version_type=sunos
20862
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20863
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20864
 
  shlibpath_var=LD_LIBRARY_PATH
20865
 
  shlibpath_overrides_runpath=yes
20866
 
  if test "$with_gnu_ld" = yes; then
20867
 
    need_lib_prefix=no
20868
 
  fi
20869
 
  need_version=yes
20870
 
  ;;
20871
 
 
20872
 
sysv4 | sysv4.3*)
20873
 
  version_type=linux
20874
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20875
 
  soname_spec='${libname}${release}${shared_ext}$major'
20876
 
  shlibpath_var=LD_LIBRARY_PATH
20877
 
  case $host_vendor in
20878
 
    sni)
20879
 
      shlibpath_overrides_runpath=no
20880
 
      need_lib_prefix=no
20881
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
20882
 
      runpath_var=LD_RUN_PATH
20883
 
      ;;
20884
 
    siemens)
20885
 
      need_lib_prefix=no
20886
 
      ;;
20887
 
    motorola)
20888
 
      need_lib_prefix=no
20889
 
      need_version=no
20890
 
      shlibpath_overrides_runpath=no
20891
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
20892
 
      ;;
20893
 
  esac
20894
 
  ;;
20895
 
 
20896
 
sysv4*MP*)
20897
 
  if test -d /usr/nec ;then
20898
 
    version_type=linux
20899
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20900
 
    soname_spec='$libname${shared_ext}.$major'
20901
 
    shlibpath_var=LD_LIBRARY_PATH
20902
 
  fi
20903
 
  ;;
20904
 
 
20905
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
20906
 
  version_type=freebsd-elf
20907
 
  need_lib_prefix=no
20908
 
  need_version=no
20909
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20910
 
  soname_spec='${libname}${release}${shared_ext}$major'
20911
 
  shlibpath_var=LD_LIBRARY_PATH
20912
 
  hardcode_into_libs=yes
20913
 
  if test "$with_gnu_ld" = yes; then
20914
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20915
 
    shlibpath_overrides_runpath=no
20916
 
  else
20917
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
20918
 
    shlibpath_overrides_runpath=yes
20919
 
    case $host_os in
20920
 
      sco3.2v5*)
20921
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
20922
 
        ;;
20923
 
    esac
20924
 
  fi
20925
 
  sys_lib_dlsearch_path_spec='/usr/lib'
20926
 
  ;;
20927
 
 
20928
 
uts4*)
20929
 
  version_type=linux
20930
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20931
 
  soname_spec='${libname}${release}${shared_ext}$major'
20932
 
  shlibpath_var=LD_LIBRARY_PATH
20933
 
  ;;
20934
 
 
20935
 
*)
20936
 
  dynamic_linker=no
20937
 
  ;;
20938
 
esac
20939
 
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20940
 
$as_echo "$dynamic_linker" >&6; }
20941
 
test "$dynamic_linker" = no && can_build_shared=no
20942
 
 
20943
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
20944
 
  $as_echo_n "(cached) " >&6
20945
 
else
20946
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
20947
 
fi
20948
 
 
20949
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
20950
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
20951
 
  $as_echo_n "(cached) " >&6
20952
 
else
20953
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
20954
 
fi
20955
 
 
20956
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
20957
 
 
20958
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
20959
 
if test "$GCC" = yes; then
20960
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20961
 
fi
20962
 
 
20963
 
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20964
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
20965
 
hardcode_action_GCJ=
20966
 
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
20967
 
   test -n "$runpath_var_GCJ" || \
20968
 
   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
20969
 
 
20970
 
  # We can hardcode non-existant directories.
20971
 
  if test "$hardcode_direct_GCJ" != no &&
20972
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
20973
 
     # have to relink, otherwise we might link with an installed library
20974
 
     # when we should be linking with a yet-to-be-installed one
20975
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
20976
 
     test "$hardcode_minus_L_GCJ" != no; then
20977
 
    # Linking always hardcodes the temporary library directory.
20978
 
    hardcode_action_GCJ=relink
20979
 
  else
20980
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
20981
 
    hardcode_action_GCJ=immediate
20982
 
  fi
20983
 
else
20984
 
  # We cannot hardcode anything, or else we can only hardcode existing
20985
 
  # directories.
20986
 
  hardcode_action_GCJ=unsupported
20987
 
fi
20988
 
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
20989
 
$as_echo "$hardcode_action_GCJ" >&6; }
20990
 
 
20991
 
if test "$hardcode_action_GCJ" = relink; then
20992
 
  # Fast installation is not supported
20993
 
  enable_fast_install=no
20994
 
elif test "$shlibpath_overrides_runpath" = yes ||
20995
 
     test "$enable_shared" = no; then
20996
 
  # Fast installation is not necessary
20997
 
  enable_fast_install=needless
20998
 
fi
20999
 
 
21000
 
 
21001
 
# The else clause should only fire when bootstrapping the
21002
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
21003
 
# with your package, and you will get complaints that there are
21004
 
# no rules to generate ltmain.sh.
21005
 
if test -f "$ltmain"; then
21006
 
  # See if we are running on zsh, and set the options which allow our commands through
21007
 
  # without removal of \ escapes.
21008
 
  if test -n "${ZSH_VERSION+set}" ; then
21009
 
    setopt NO_GLOB_SUBST
21010
 
  fi
21011
 
  # Now quote all the things that may contain metacharacters while being
21012
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
21013
 
  # variables and quote the copies for generation of the libtool script.
21014
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
21015
 
    SED SHELL STRIP \
21016
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
21017
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
21018
 
    deplibs_check_method reload_flag reload_cmds need_locks \
21019
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
21020
 
    lt_cv_sys_global_symbol_to_c_name_address \
21021
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
21022
 
    old_postinstall_cmds old_postuninstall_cmds \
21023
 
    compiler_GCJ \
21024
 
    CC_GCJ \
21025
 
    LD_GCJ \
21026
 
    lt_prog_compiler_wl_GCJ \
21027
 
    lt_prog_compiler_pic_GCJ \
21028
 
    lt_prog_compiler_static_GCJ \
21029
 
    lt_prog_compiler_no_builtin_flag_GCJ \
21030
 
    export_dynamic_flag_spec_GCJ \
21031
 
    thread_safe_flag_spec_GCJ \
21032
 
    whole_archive_flag_spec_GCJ \
21033
 
    enable_shared_with_static_runtimes_GCJ \
21034
 
    old_archive_cmds_GCJ \
21035
 
    old_archive_from_new_cmds_GCJ \
21036
 
    predep_objects_GCJ \
21037
 
    postdep_objects_GCJ \
21038
 
    predeps_GCJ \
21039
 
    postdeps_GCJ \
21040
 
    compiler_lib_search_path_GCJ \
21041
 
    compiler_lib_search_dirs_GCJ \
21042
 
    archive_cmds_GCJ \
21043
 
    archive_expsym_cmds_GCJ \
21044
 
    postinstall_cmds_GCJ \
21045
 
    postuninstall_cmds_GCJ \
21046
 
    old_archive_from_expsyms_cmds_GCJ \
21047
 
    allow_undefined_flag_GCJ \
21048
 
    no_undefined_flag_GCJ \
21049
 
    export_symbols_cmds_GCJ \
21050
 
    hardcode_libdir_flag_spec_GCJ \
21051
 
    hardcode_libdir_flag_spec_ld_GCJ \
21052
 
    hardcode_libdir_separator_GCJ \
21053
 
    hardcode_automatic_GCJ \
21054
 
    module_cmds_GCJ \
21055
 
    module_expsym_cmds_GCJ \
21056
 
    lt_cv_prog_compiler_c_o_GCJ \
21057
 
    fix_srcfile_path_GCJ \
21058
 
    exclude_expsyms_GCJ \
21059
 
    include_expsyms_GCJ; do
21060
 
 
21061
 
    case $var in
21062
 
    old_archive_cmds_GCJ | \
21063
 
    old_archive_from_new_cmds_GCJ | \
21064
 
    archive_cmds_GCJ | \
21065
 
    archive_expsym_cmds_GCJ | \
21066
 
    module_cmds_GCJ | \
21067
 
    module_expsym_cmds_GCJ | \
21068
 
    old_archive_from_expsyms_cmds_GCJ | \
21069
 
    export_symbols_cmds_GCJ | \
21070
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
21071
 
    postinstall_cmds | postuninstall_cmds | \
21072
 
    old_postinstall_cmds | old_postuninstall_cmds | \
21073
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
21074
 
      # Double-quote double-evaled strings.
21075
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
21076
 
      ;;
21077
 
    *)
21078
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
21079
 
      ;;
21080
 
    esac
21081
 
  done
21082
 
 
21083
 
  case $lt_echo in
21084
 
  *'\$0 --fallback-echo"')
21085
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
21086
 
    ;;
21087
 
  esac
21088
 
 
21089
 
cfgfile="$ofile"
21090
 
 
21091
 
  cat <<__EOF__ >> "$cfgfile"
21092
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
21093
 
 
21094
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21095
 
 
21096
 
# Shell to use when invoking shell scripts.
21097
 
SHELL=$lt_SHELL
21098
 
 
21099
 
# Whether or not to build shared libraries.
21100
 
build_libtool_libs=$enable_shared
21101
 
 
21102
 
# Whether or not to build static libraries.
21103
 
build_old_libs=$enable_static
21104
 
 
21105
 
# Whether or not to add -lc for building shared libraries.
21106
 
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
21107
 
 
21108
 
# Whether or not to disallow shared libs when runtime libs are static
21109
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
21110
 
 
21111
 
# Whether or not to optimize for fast installation.
21112
 
fast_install=$enable_fast_install
21113
 
 
21114
 
# The host system.
21115
 
host_alias=$host_alias
21116
 
host=$host
21117
 
host_os=$host_os
21118
 
 
21119
 
# The build system.
21120
 
build_alias=$build_alias
21121
 
build=$build
21122
 
build_os=$build_os
21123
 
 
21124
 
# An echo program that does not interpret backslashes.
21125
 
echo=$lt_echo
21126
 
 
21127
 
# The archiver.
21128
 
AR=$lt_AR
21129
 
AR_FLAGS=$lt_AR_FLAGS
21130
 
 
21131
 
# A C compiler.
21132
 
LTCC=$lt_LTCC
21133
 
 
21134
 
# LTCC compiler flags.
21135
 
LTCFLAGS=$lt_LTCFLAGS
21136
 
 
21137
 
# A language-specific compiler.
21138
 
CC=$lt_compiler_GCJ
21139
 
 
21140
 
# Is the compiler the GNU C compiler?
21141
 
with_gcc=$GCC_GCJ
21142
 
 
21143
 
# An ERE matcher.
21144
 
EGREP=$lt_EGREP
21145
 
 
21146
 
# The linker used to build libraries.
21147
 
LD=$lt_LD_GCJ
21148
 
 
21149
 
# Whether we need hard or soft links.
21150
 
LN_S=$lt_LN_S
21151
 
 
21152
 
# A BSD-compatible nm program.
21153
 
NM=$lt_NM
21154
 
 
21155
 
# A symbol stripping program
21156
 
STRIP=$lt_STRIP
21157
 
 
21158
 
# Used to examine libraries when file_magic_cmd begins "file"
21159
 
MAGIC_CMD=$MAGIC_CMD
21160
 
 
21161
 
# Used on cygwin: DLL creation program.
21162
 
DLLTOOL="$DLLTOOL"
21163
 
 
21164
 
# Used on cygwin: object dumper.
21165
 
OBJDUMP="$OBJDUMP"
21166
 
 
21167
 
# Used on cygwin: assembler.
21168
 
AS="$AS"
21169
 
 
21170
 
# The name of the directory that contains temporary libtool files.
21171
 
objdir=$objdir
21172
 
 
21173
 
# How to create reloadable object files.
21174
 
reload_flag=$lt_reload_flag
21175
 
reload_cmds=$lt_reload_cmds
21176
 
 
21177
 
# How to pass a linker flag through the compiler.
21178
 
wl=$lt_lt_prog_compiler_wl_GCJ
21179
 
 
21180
 
# Object file suffix (normally "o").
21181
 
objext="$ac_objext"
21182
 
 
21183
 
# Old archive suffix (normally "a").
21184
 
libext="$libext"
21185
 
 
21186
 
# Shared library suffix (normally ".so").
21187
 
shrext_cmds='$shrext_cmds'
21188
 
 
21189
 
# Executable file suffix (normally "").
21190
 
exeext="$exeext"
21191
 
 
21192
 
# Additional compiler flags for building library objects.
21193
 
pic_flag=$lt_lt_prog_compiler_pic_GCJ
21194
 
pic_mode=$pic_mode
21195
 
 
21196
 
# What is the maximum length of a command?
21197
 
max_cmd_len=$lt_cv_sys_max_cmd_len
21198
 
 
21199
 
# Does compiler simultaneously support -c and -o options?
21200
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
21201
 
 
21202
 
# Must we lock files when doing compilation?
21203
 
need_locks=$lt_need_locks
21204
 
 
21205
 
# Do we need the lib prefix for modules?
21206
 
need_lib_prefix=$need_lib_prefix
21207
 
 
21208
 
# Do we need a version for libraries?
21209
 
need_version=$need_version
21210
 
 
21211
 
# Whether dlopen is supported.
21212
 
dlopen_support=$enable_dlopen
21213
 
 
21214
 
# Whether dlopen of programs is supported.
21215
 
dlopen_self=$enable_dlopen_self
21216
 
 
21217
 
# Whether dlopen of statically linked programs is supported.
21218
 
dlopen_self_static=$enable_dlopen_self_static
21219
 
 
21220
 
# Compiler flag to prevent dynamic linking.
21221
 
link_static_flag=$lt_lt_prog_compiler_static_GCJ
21222
 
 
21223
 
# Compiler flag to turn off builtin functions.
21224
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
21225
 
 
21226
 
# Compiler flag to allow reflexive dlopens.
21227
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
21228
 
 
21229
 
# Compiler flag to generate shared objects directly from archives.
21230
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
21231
 
 
21232
 
# Compiler flag to generate thread-safe objects.
21233
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
21234
 
 
21235
 
# Library versioning type.
21236
 
version_type=$version_type
21237
 
 
21238
 
# Format of library name prefix.
21239
 
libname_spec=$lt_libname_spec
21240
 
 
21241
 
# List of archive names.  First name is the real one, the rest are links.
21242
 
# The last name is the one that the linker finds with -lNAME.
21243
 
library_names_spec=$lt_library_names_spec
21244
 
 
21245
 
# The coded name of the library, if different from the real name.
21246
 
soname_spec=$lt_soname_spec
21247
 
 
21248
 
# Commands used to build and install an old-style archive.
21249
 
RANLIB=$lt_RANLIB
21250
 
old_archive_cmds=$lt_old_archive_cmds_GCJ
21251
 
old_postinstall_cmds=$lt_old_postinstall_cmds
21252
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
21253
 
 
21254
 
# Create an old-style archive from a shared archive.
21255
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
21256
 
 
21257
 
# Create a temporary old-style archive to link instead of a shared archive.
21258
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
21259
 
 
21260
 
# Commands used to build and install a shared archive.
21261
 
archive_cmds=$lt_archive_cmds_GCJ
21262
 
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
21263
 
postinstall_cmds=$lt_postinstall_cmds
21264
 
postuninstall_cmds=$lt_postuninstall_cmds
21265
 
 
21266
 
# Commands used to build a loadable module (assumed same as above if empty)
21267
 
module_cmds=$lt_module_cmds_GCJ
21268
 
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
21269
 
 
21270
 
# Commands to strip libraries.
21271
 
old_striplib=$lt_old_striplib
21272
 
striplib=$lt_striplib
21273
 
 
21274
 
# Dependencies to place before the objects being linked to create a
21275
 
# shared library.
21276
 
predep_objects=$lt_predep_objects_GCJ
21277
 
 
21278
 
# Dependencies to place after the objects being linked to create a
21279
 
# shared library.
21280
 
postdep_objects=$lt_postdep_objects_GCJ
21281
 
 
21282
 
# Dependencies to place before the objects being linked to create a
21283
 
# shared library.
21284
 
predeps=$lt_predeps_GCJ
21285
 
 
21286
 
# Dependencies to place after the objects being linked to create a
21287
 
# shared library.
21288
 
postdeps=$lt_postdeps_GCJ
21289
 
 
21290
 
# The directories searched by this compiler when creating a shared
21291
 
# library
21292
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
21293
 
 
21294
 
# The library search path used internally by the compiler when linking
21295
 
# a shared library.
21296
 
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
21297
 
 
21298
 
# Method to check whether dependent libraries are shared objects.
21299
 
deplibs_check_method=$lt_deplibs_check_method
21300
 
 
21301
 
# Command to use when deplibs_check_method == file_magic.
21302
 
file_magic_cmd=$lt_file_magic_cmd
21303
 
 
21304
 
# Flag that allows shared libraries with undefined symbols to be built.
21305
 
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
21306
 
 
21307
 
# Flag that forces no undefined symbols.
21308
 
no_undefined_flag=$lt_no_undefined_flag_GCJ
21309
 
 
21310
 
# Commands used to finish a libtool library installation in a directory.
21311
 
finish_cmds=$lt_finish_cmds
21312
 
 
21313
 
# Same as above, but a single script fragment to be evaled but not shown.
21314
 
finish_eval=$lt_finish_eval
21315
 
 
21316
 
# Take the output of nm and produce a listing of raw symbols and C names.
21317
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21318
 
 
21319
 
# Transform the output of nm in a proper C declaration
21320
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21321
 
 
21322
 
# Transform the output of nm in a C name address pair
21323
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21324
 
 
21325
 
# This is the shared library runtime path variable.
21326
 
runpath_var=$runpath_var
21327
 
 
21328
 
# This is the shared library path variable.
21329
 
shlibpath_var=$shlibpath_var
21330
 
 
21331
 
# Is shlibpath searched before the hard-coded library search path?
21332
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21333
 
 
21334
 
# How to hardcode a shared library path into an executable.
21335
 
hardcode_action=$hardcode_action_GCJ
21336
 
 
21337
 
# Whether we should hardcode library paths into libraries.
21338
 
hardcode_into_libs=$hardcode_into_libs
21339
 
 
21340
 
# Flag to hardcode \$libdir into a binary during linking.
21341
 
# This must work even if \$libdir does not exist.
21342
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
21343
 
 
21344
 
# If ld is used when linking, flag to hardcode \$libdir into
21345
 
# a binary during linking. This must work even if \$libdir does
21346
 
# not exist.
21347
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
21348
 
 
21349
 
# Whether we need a single -rpath flag with a separated argument.
21350
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
21351
 
 
21352
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
21353
 
# resulting binary.
21354
 
hardcode_direct=$hardcode_direct_GCJ
21355
 
 
21356
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
21357
 
# resulting binary.
21358
 
hardcode_minus_L=$hardcode_minus_L_GCJ
21359
 
 
21360
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
21361
 
# the resulting binary.
21362
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
21363
 
 
21364
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
21365
 
# and all subsequent libraries and executables linked against it.
21366
 
hardcode_automatic=$hardcode_automatic_GCJ
21367
 
 
21368
 
# Variables whose values should be saved in libtool wrapper scripts and
21369
 
# restored at relink time.
21370
 
variables_saved_for_relink="$variables_saved_for_relink"
21371
 
 
21372
 
# Whether libtool must link a program against all its dependency libraries.
21373
 
link_all_deplibs=$link_all_deplibs_GCJ
21374
 
 
21375
 
# Compile-time system search path for libraries
21376
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21377
 
 
21378
 
# Run-time system search path for libraries
21379
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21380
 
 
21381
 
# Fix the shell variable \$srcfile for the compiler.
21382
 
fix_srcfile_path=$lt_fix_srcfile_path
21383
 
 
21384
 
# Set to yes if exported symbols are required.
21385
 
always_export_symbols=$always_export_symbols_GCJ
21386
 
 
21387
 
# The commands to list exported symbols.
21388
 
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
21389
 
 
21390
 
# The commands to extract the exported symbol list from a shared archive.
21391
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
21392
 
 
21393
 
# Symbols that should not be listed in the preloaded symbols.
21394
 
exclude_expsyms=$lt_exclude_expsyms_GCJ
21395
 
 
21396
 
# Symbols that must always be exported.
21397
 
include_expsyms=$lt_include_expsyms_GCJ
21398
 
 
21399
 
# ### END LIBTOOL TAG CONFIG: $tagname
21400
 
 
21401
 
__EOF__
21402
 
 
21403
 
 
21404
 
else
21405
 
  # If there is no Makefile yet, we rely on a make rule to execute
21406
 
  # `config.status --recheck' to rerun these tests and create the
21407
 
  # libtool script then.
21408
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
21409
 
  if test -f "$ltmain_in"; then
21410
 
    test -f Makefile && make "$ltmain"
21411
 
  fi
21412
 
fi
21413
 
 
21414
 
 
21415
 
ac_ext=c
21416
 
ac_cpp='$CPP $CPPFLAGS'
21417
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21418
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21419
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
21420
 
 
21421
 
CC="$lt_save_CC"
21422
 
 
21423
 
        else
21424
 
          tagname=""
21425
 
        fi
21426
 
        ;;
21427
 
 
21428
 
      RC)
21429
 
 
21430
 
 
21431
 
# Source file extension for RC test sources.
21432
 
ac_ext=rc
21433
 
 
21434
 
# Object file extension for compiled RC test sources.
21435
 
objext=o
21436
 
objext_RC=$objext
21437
 
 
21438
 
# Code to be used in simple compile tests
21439
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
21440
 
 
21441
 
# Code to be used in simple link tests
21442
 
lt_simple_link_test_code="$lt_simple_compile_test_code"
21443
 
 
21444
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
21445
 
 
21446
 
# If no C compiler was specified, use CC.
21447
 
LTCC=${LTCC-"$CC"}
21448
 
 
21449
 
# If no C compiler flags were specified, use CFLAGS.
21450
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
21451
 
 
21452
 
# Allow CC to be a program name with arguments.
21453
 
compiler=$CC
21454
 
 
21455
 
 
21456
 
# save warnings/boilerplate of simple test code
21457
 
ac_outfile=conftest.$ac_objext
21458
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
21459
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
21460
 
_lt_compiler_boilerplate=`cat conftest.err`
21461
 
$rm conftest*
21462
 
 
21463
 
ac_outfile=conftest.$ac_objext
21464
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
21465
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
21466
 
_lt_linker_boilerplate=`cat conftest.err`
21467
 
$rm -r conftest*
21468
 
 
21469
 
 
21470
 
# Allow CC to be a program name with arguments.
21471
 
lt_save_CC="$CC"
21472
 
CC=${RC-"windres"}
21473
 
compiler=$CC
21474
 
compiler_RC=$CC
21475
 
for cc_temp in $compiler""; do
21476
 
  case $cc_temp in
21477
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
21478
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
21479
 
    \-*) ;;
21480
 
    *) break;;
21481
 
  esac
21482
 
done
21483
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
21484
 
 
21485
 
lt_cv_prog_compiler_c_o_RC=yes
21486
 
 
21487
 
# The else clause should only fire when bootstrapping the
21488
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
21489
 
# with your package, and you will get complaints that there are
21490
 
# no rules to generate ltmain.sh.
21491
 
if test -f "$ltmain"; then
21492
 
  # See if we are running on zsh, and set the options which allow our commands through
21493
 
  # without removal of \ escapes.
21494
 
  if test -n "${ZSH_VERSION+set}" ; then
21495
 
    setopt NO_GLOB_SUBST
21496
 
  fi
21497
 
  # Now quote all the things that may contain metacharacters while being
21498
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
21499
 
  # variables and quote the copies for generation of the libtool script.
21500
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
21501
 
    SED SHELL STRIP \
21502
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
21503
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
21504
 
    deplibs_check_method reload_flag reload_cmds need_locks \
21505
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
21506
 
    lt_cv_sys_global_symbol_to_c_name_address \
21507
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
21508
 
    old_postinstall_cmds old_postuninstall_cmds \
21509
 
    compiler_RC \
21510
 
    CC_RC \
21511
 
    LD_RC \
21512
 
    lt_prog_compiler_wl_RC \
21513
 
    lt_prog_compiler_pic_RC \
21514
 
    lt_prog_compiler_static_RC \
21515
 
    lt_prog_compiler_no_builtin_flag_RC \
21516
 
    export_dynamic_flag_spec_RC \
21517
 
    thread_safe_flag_spec_RC \
21518
 
    whole_archive_flag_spec_RC \
21519
 
    enable_shared_with_static_runtimes_RC \
21520
 
    old_archive_cmds_RC \
21521
 
    old_archive_from_new_cmds_RC \
21522
 
    predep_objects_RC \
21523
 
    postdep_objects_RC \
21524
 
    predeps_RC \
21525
 
    postdeps_RC \
21526
 
    compiler_lib_search_path_RC \
21527
 
    compiler_lib_search_dirs_RC \
21528
 
    archive_cmds_RC \
21529
 
    archive_expsym_cmds_RC \
21530
 
    postinstall_cmds_RC \
21531
 
    postuninstall_cmds_RC \
21532
 
    old_archive_from_expsyms_cmds_RC \
21533
 
    allow_undefined_flag_RC \
21534
 
    no_undefined_flag_RC \
21535
 
    export_symbols_cmds_RC \
21536
 
    hardcode_libdir_flag_spec_RC \
21537
 
    hardcode_libdir_flag_spec_ld_RC \
21538
 
    hardcode_libdir_separator_RC \
21539
 
    hardcode_automatic_RC \
21540
 
    module_cmds_RC \
21541
 
    module_expsym_cmds_RC \
21542
 
    lt_cv_prog_compiler_c_o_RC \
21543
 
    fix_srcfile_path_RC \
21544
 
    exclude_expsyms_RC \
21545
 
    include_expsyms_RC; do
21546
 
 
21547
 
    case $var in
21548
 
    old_archive_cmds_RC | \
21549
 
    old_archive_from_new_cmds_RC | \
21550
 
    archive_cmds_RC | \
21551
 
    archive_expsym_cmds_RC | \
21552
 
    module_cmds_RC | \
21553
 
    module_expsym_cmds_RC | \
21554
 
    old_archive_from_expsyms_cmds_RC | \
21555
 
    export_symbols_cmds_RC | \
21556
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
21557
 
    postinstall_cmds | postuninstall_cmds | \
21558
 
    old_postinstall_cmds | old_postuninstall_cmds | \
21559
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
21560
 
      # Double-quote double-evaled strings.
21561
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
21562
 
      ;;
21563
 
    *)
21564
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
21565
 
      ;;
21566
 
    esac
21567
 
  done
21568
 
 
21569
 
  case $lt_echo in
21570
 
  *'\$0 --fallback-echo"')
21571
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
21572
 
    ;;
21573
 
  esac
21574
 
 
21575
 
cfgfile="$ofile"
21576
 
 
21577
 
  cat <<__EOF__ >> "$cfgfile"
21578
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
21579
 
 
21580
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21581
 
 
21582
 
# Shell to use when invoking shell scripts.
21583
 
SHELL=$lt_SHELL
21584
 
 
21585
 
# Whether or not to build shared libraries.
21586
 
build_libtool_libs=$enable_shared
21587
 
 
21588
 
# Whether or not to build static libraries.
21589
 
build_old_libs=$enable_static
21590
 
 
21591
 
# Whether or not to add -lc for building shared libraries.
21592
 
build_libtool_need_lc=$archive_cmds_need_lc_RC
21593
 
 
21594
 
# Whether or not to disallow shared libs when runtime libs are static
21595
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
21596
 
 
21597
 
# Whether or not to optimize for fast installation.
21598
 
fast_install=$enable_fast_install
21599
 
 
21600
 
# The host system.
21601
 
host_alias=$host_alias
21602
 
host=$host
21603
 
host_os=$host_os
21604
 
 
21605
 
# The build system.
21606
 
build_alias=$build_alias
21607
 
build=$build
21608
 
build_os=$build_os
21609
 
 
21610
 
# An echo program that does not interpret backslashes.
21611
 
echo=$lt_echo
21612
 
 
21613
 
# The archiver.
21614
 
AR=$lt_AR
21615
 
AR_FLAGS=$lt_AR_FLAGS
21616
 
 
21617
 
# A C compiler.
21618
 
LTCC=$lt_LTCC
21619
 
 
21620
 
# LTCC compiler flags.
21621
 
LTCFLAGS=$lt_LTCFLAGS
21622
 
 
21623
 
# A language-specific compiler.
21624
 
CC=$lt_compiler_RC
21625
 
 
21626
 
# Is the compiler the GNU C compiler?
21627
 
with_gcc=$GCC_RC
21628
 
 
21629
 
# An ERE matcher.
21630
 
EGREP=$lt_EGREP
21631
 
 
21632
 
# The linker used to build libraries.
21633
 
LD=$lt_LD_RC
21634
 
 
21635
 
# Whether we need hard or soft links.
21636
 
LN_S=$lt_LN_S
21637
 
 
21638
 
# A BSD-compatible nm program.
21639
 
NM=$lt_NM
21640
 
 
21641
 
# A symbol stripping program
21642
 
STRIP=$lt_STRIP
21643
 
 
21644
 
# Used to examine libraries when file_magic_cmd begins "file"
21645
 
MAGIC_CMD=$MAGIC_CMD
21646
 
 
21647
 
# Used on cygwin: DLL creation program.
21648
 
DLLTOOL="$DLLTOOL"
21649
 
 
21650
 
# Used on cygwin: object dumper.
21651
 
OBJDUMP="$OBJDUMP"
21652
 
 
21653
 
# Used on cygwin: assembler.
21654
 
AS="$AS"
21655
 
 
21656
 
# The name of the directory that contains temporary libtool files.
21657
 
objdir=$objdir
21658
 
 
21659
 
# How to create reloadable object files.
21660
 
reload_flag=$lt_reload_flag
21661
 
reload_cmds=$lt_reload_cmds
21662
 
 
21663
 
# How to pass a linker flag through the compiler.
21664
 
wl=$lt_lt_prog_compiler_wl_RC
21665
 
 
21666
 
# Object file suffix (normally "o").
21667
 
objext="$ac_objext"
21668
 
 
21669
 
# Old archive suffix (normally "a").
21670
 
libext="$libext"
21671
 
 
21672
 
# Shared library suffix (normally ".so").
21673
 
shrext_cmds='$shrext_cmds'
21674
 
 
21675
 
# Executable file suffix (normally "").
21676
 
exeext="$exeext"
21677
 
 
21678
 
# Additional compiler flags for building library objects.
21679
 
pic_flag=$lt_lt_prog_compiler_pic_RC
21680
 
pic_mode=$pic_mode
21681
 
 
21682
 
# What is the maximum length of a command?
21683
 
max_cmd_len=$lt_cv_sys_max_cmd_len
21684
 
 
21685
 
# Does compiler simultaneously support -c and -o options?
21686
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
21687
 
 
21688
 
# Must we lock files when doing compilation?
21689
 
need_locks=$lt_need_locks
21690
 
 
21691
 
# Do we need the lib prefix for modules?
21692
 
need_lib_prefix=$need_lib_prefix
21693
 
 
21694
 
# Do we need a version for libraries?
21695
 
need_version=$need_version
21696
 
 
21697
 
# Whether dlopen is supported.
21698
 
dlopen_support=$enable_dlopen
21699
 
 
21700
 
# Whether dlopen of programs is supported.
21701
 
dlopen_self=$enable_dlopen_self
21702
 
 
21703
 
# Whether dlopen of statically linked programs is supported.
21704
 
dlopen_self_static=$enable_dlopen_self_static
21705
 
 
21706
 
# Compiler flag to prevent dynamic linking.
21707
 
link_static_flag=$lt_lt_prog_compiler_static_RC
21708
 
 
21709
 
# Compiler flag to turn off builtin functions.
21710
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
21711
 
 
21712
 
# Compiler flag to allow reflexive dlopens.
21713
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
21714
 
 
21715
 
# Compiler flag to generate shared objects directly from archives.
21716
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
21717
 
 
21718
 
# Compiler flag to generate thread-safe objects.
21719
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
21720
 
 
21721
 
# Library versioning type.
21722
 
version_type=$version_type
21723
 
 
21724
 
# Format of library name prefix.
21725
 
libname_spec=$lt_libname_spec
21726
 
 
21727
 
# List of archive names.  First name is the real one, the rest are links.
21728
 
# The last name is the one that the linker finds with -lNAME.
21729
 
library_names_spec=$lt_library_names_spec
21730
 
 
21731
 
# The coded name of the library, if different from the real name.
21732
 
soname_spec=$lt_soname_spec
21733
 
 
21734
 
# Commands used to build and install an old-style archive.
21735
 
RANLIB=$lt_RANLIB
21736
 
old_archive_cmds=$lt_old_archive_cmds_RC
21737
 
old_postinstall_cmds=$lt_old_postinstall_cmds
21738
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
21739
 
 
21740
 
# Create an old-style archive from a shared archive.
21741
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
21742
 
 
21743
 
# Create a temporary old-style archive to link instead of a shared archive.
21744
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
21745
 
 
21746
 
# Commands used to build and install a shared archive.
21747
 
archive_cmds=$lt_archive_cmds_RC
21748
 
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
21749
 
postinstall_cmds=$lt_postinstall_cmds
21750
 
postuninstall_cmds=$lt_postuninstall_cmds
21751
 
 
21752
 
# Commands used to build a loadable module (assumed same as above if empty)
21753
 
module_cmds=$lt_module_cmds_RC
21754
 
module_expsym_cmds=$lt_module_expsym_cmds_RC
21755
 
 
21756
 
# Commands to strip libraries.
21757
 
old_striplib=$lt_old_striplib
21758
 
striplib=$lt_striplib
21759
 
 
21760
 
# Dependencies to place before the objects being linked to create a
21761
 
# shared library.
21762
 
predep_objects=$lt_predep_objects_RC
21763
 
 
21764
 
# Dependencies to place after the objects being linked to create a
21765
 
# shared library.
21766
 
postdep_objects=$lt_postdep_objects_RC
21767
 
 
21768
 
# Dependencies to place before the objects being linked to create a
21769
 
# shared library.
21770
 
predeps=$lt_predeps_RC
21771
 
 
21772
 
# Dependencies to place after the objects being linked to create a
21773
 
# shared library.
21774
 
postdeps=$lt_postdeps_RC
21775
 
 
21776
 
# The directories searched by this compiler when creating a shared
21777
 
# library
21778
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
21779
 
 
21780
 
# The library search path used internally by the compiler when linking
21781
 
# a shared library.
21782
 
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
21783
 
 
21784
 
# Method to check whether dependent libraries are shared objects.
21785
 
deplibs_check_method=$lt_deplibs_check_method
21786
 
 
21787
 
# Command to use when deplibs_check_method == file_magic.
21788
 
file_magic_cmd=$lt_file_magic_cmd
21789
 
 
21790
 
# Flag that allows shared libraries with undefined symbols to be built.
21791
 
allow_undefined_flag=$lt_allow_undefined_flag_RC
21792
 
 
21793
 
# Flag that forces no undefined symbols.
21794
 
no_undefined_flag=$lt_no_undefined_flag_RC
21795
 
 
21796
 
# Commands used to finish a libtool library installation in a directory.
21797
 
finish_cmds=$lt_finish_cmds
21798
 
 
21799
 
# Same as above, but a single script fragment to be evaled but not shown.
21800
 
finish_eval=$lt_finish_eval
21801
 
 
21802
 
# Take the output of nm and produce a listing of raw symbols and C names.
21803
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21804
 
 
21805
 
# Transform the output of nm in a proper C declaration
21806
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21807
 
 
21808
 
# Transform the output of nm in a C name address pair
21809
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21810
 
 
21811
 
# This is the shared library runtime path variable.
21812
 
runpath_var=$runpath_var
21813
 
 
21814
 
# This is the shared library path variable.
21815
 
shlibpath_var=$shlibpath_var
21816
 
 
21817
 
# Is shlibpath searched before the hard-coded library search path?
21818
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21819
 
 
21820
 
# How to hardcode a shared library path into an executable.
21821
 
hardcode_action=$hardcode_action_RC
21822
 
 
21823
 
# Whether we should hardcode library paths into libraries.
21824
 
hardcode_into_libs=$hardcode_into_libs
21825
 
 
21826
 
# Flag to hardcode \$libdir into a binary during linking.
21827
 
# This must work even if \$libdir does not exist.
21828
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
21829
 
 
21830
 
# If ld is used when linking, flag to hardcode \$libdir into
21831
 
# a binary during linking. This must work even if \$libdir does
21832
 
# not exist.
21833
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
21834
 
 
21835
 
# Whether we need a single -rpath flag with a separated argument.
21836
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
21837
 
 
21838
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
21839
 
# resulting binary.
21840
 
hardcode_direct=$hardcode_direct_RC
21841
 
 
21842
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
21843
 
# resulting binary.
21844
 
hardcode_minus_L=$hardcode_minus_L_RC
21845
 
 
21846
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
21847
 
# the resulting binary.
21848
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
21849
 
 
21850
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
21851
 
# and all subsequent libraries and executables linked against it.
21852
 
hardcode_automatic=$hardcode_automatic_RC
21853
 
 
21854
 
# Variables whose values should be saved in libtool wrapper scripts and
21855
 
# restored at relink time.
21856
 
variables_saved_for_relink="$variables_saved_for_relink"
21857
 
 
21858
 
# Whether libtool must link a program against all its dependency libraries.
21859
 
link_all_deplibs=$link_all_deplibs_RC
21860
 
 
21861
 
# Compile-time system search path for libraries
21862
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21863
 
 
21864
 
# Run-time system search path for libraries
21865
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21866
 
 
21867
 
# Fix the shell variable \$srcfile for the compiler.
21868
 
fix_srcfile_path=$lt_fix_srcfile_path
21869
 
 
21870
 
# Set to yes if exported symbols are required.
21871
 
always_export_symbols=$always_export_symbols_RC
21872
 
 
21873
 
# The commands to list exported symbols.
21874
 
export_symbols_cmds=$lt_export_symbols_cmds_RC
21875
 
 
21876
 
# The commands to extract the exported symbol list from a shared archive.
21877
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
21878
 
 
21879
 
# Symbols that should not be listed in the preloaded symbols.
21880
 
exclude_expsyms=$lt_exclude_expsyms_RC
21881
 
 
21882
 
# Symbols that must always be exported.
21883
 
include_expsyms=$lt_include_expsyms_RC
21884
 
 
21885
 
# ### END LIBTOOL TAG CONFIG: $tagname
21886
 
 
21887
 
__EOF__
21888
 
 
21889
 
 
21890
 
else
21891
 
  # If there is no Makefile yet, we rely on a make rule to execute
21892
 
  # `config.status --recheck' to rerun these tests and create the
21893
 
  # libtool script then.
21894
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
21895
 
  if test -f "$ltmain_in"; then
21896
 
    test -f Makefile && make "$ltmain"
21897
 
  fi
21898
 
fi
21899
 
 
21900
 
 
21901
 
ac_ext=c
21902
 
ac_cpp='$CPP $CPPFLAGS'
21903
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21904
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21905
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
21906
 
 
21907
 
CC="$lt_save_CC"
21908
 
 
21909
 
        ;;
21910
 
 
21911
 
      *)
21912
 
        { { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
21913
 
$as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
21914
 
   { (exit 1); exit 1; }; }
21915
 
        ;;
21916
 
      esac
21917
 
 
21918
 
      # Append the new tag name to the list of available tags.
21919
 
      if test -n "$tagname" ; then
21920
 
      available_tags="$available_tags $tagname"
21921
 
    fi
21922
 
    fi
21923
 
  done
21924
 
  IFS="$lt_save_ifs"
21925
 
 
21926
 
  # Now substitute the updated list of available tags.
21927
 
  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
21928
 
    mv "${ofile}T" "$ofile"
21929
 
    chmod +x "$ofile"
21930
 
  else
21931
 
    rm -f "${ofile}T"
21932
 
    { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
21933
 
$as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
21934
 
   { (exit 1); exit 1; }; }
21935
 
  fi
21936
 
fi
21937
 
 
21938
 
 
21939
 
 
21940
 
# This can be used to rebuild libtool when needed
21941
 
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
21942
 
 
21943
 
# Always use our own libtool.
21944
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
21945
 
 
21946
 
# Prevent multiple expansion
21947
 
 
21948
 
 
21949
 
 
21950
 
 
21951
 
 
21952
 
 
21953
 
 
21954
 
 
21955
 
 
21956
 
 
21957
 
 
21958
 
 
21959
 
 
21960
 
 
21961
 
 
21962
 
 
21963
 
 
21964
 
 
 
17371
if test "$hardcode_action_CXX" = relink ||
 
17372
   test "$inherit_rpath_CXX" = yes; then
 
17373
  # Fast installation is not supported
 
17374
  enable_fast_install=no
 
17375
elif test "$shlibpath_overrides_runpath" = yes ||
 
17376
     test "$enable_shared" = no; then
 
17377
  # Fast installation is not necessary
 
17378
  enable_fast_install=needless
 
17379
fi
 
17380
 
 
17381
 
 
17382
 
 
17383
 
 
17384
 
 
17385
 
 
17386
 
 
17387
  fi # test -n "$compiler"
 
17388
 
 
17389
  CC=$lt_save_CC
 
17390
  LDCXX=$LD
 
17391
  LD=$lt_save_LD
 
17392
  GCC=$lt_save_GCC
 
17393
  with_gnu_ld=$lt_save_with_gnu_ld
 
17394
  lt_cv_path_LDCXX=$lt_cv_path_LD
 
17395
  lt_cv_path_LD=$lt_save_path_LD
 
17396
  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
 
17397
  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
 
17398
fi # test "$_lt_caught_CXX_error" != yes
 
17399
 
 
17400
ac_ext=c
 
17401
ac_cpp='$CPP $CPPFLAGS'
 
17402
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
17403
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
17404
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
17405
 
 
17406
 
 
17407
 
 
17408
 
 
17409
 
 
17410
 
 
17411
 
 
17412
 
 
17413
 
 
17414
 
 
17415
 
 
17416
 
 
17417
 
 
17418
        ac_config_commands="$ac_config_commands libtool"
 
17419
 
 
17420
 
 
17421
 
 
17422
 
 
17423
# Only expand once:
21965
17424
 
21966
17425
 
21967
17426
 
21969
17428
GDK_PIXBUF_REQUIRED="gdk-pixbuf-2.0 >= 2.0.0"
21970
17429
GMODULE_REQUIRED="gmodule-2.0 >= 2.0.0"
21971
17430
LIBBONOBO_REQUIRED="libbonobo-2.0 >= 2.0.0"
21972
 
LIBGNOMEMENU_REQUIRED="libgnome-menu >= 2.11.1"
21973
17431
LIBXML_REQUIRED="libxml-2.0 >= 2.4.6"
21974
17432
GTK_REQUIRED="gtk+-2.0 >= 2.14.0"
21975
17433
GIO_REQUIRED="gio-2.0 >= 2.16.0"
21992
17450
        \$GMODULE_REQUIRED
21993
17451
        \$GIO_REQUIRED
21994
17452
        \$LIBBONOBO_REQUIRED
21995
 
        \$LIBGNOMEMENU_REQUIRED
21996
17453
        \$LIBXML_REQUIRED
21997
17454
        \$GTK_REQUIRED
21998
17455
        \$LIBSOUP_REQUIRED
22005
17462
        $GMODULE_REQUIRED
22006
17463
        $GIO_REQUIRED
22007
17464
        $LIBBONOBO_REQUIRED
22008
 
        $LIBGNOMEMENU_REQUIRED
22009
17465
        $LIBXML_REQUIRED
22010
17466
        $GTK_REQUIRED
22011
17467
        $LIBSOUP_REQUIRED
22021
17477
        $GMODULE_REQUIRED
22022
17478
        $GIO_REQUIRED
22023
17479
        $LIBBONOBO_REQUIRED
22024
 
        $LIBGNOMEMENU_REQUIRED
22025
17480
        $LIBXML_REQUIRED
22026
17481
        $GTK_REQUIRED
22027
17482
        $LIBSOUP_REQUIRED
22044
17499
        \$GMODULE_REQUIRED
22045
17500
        \$GIO_REQUIRED
22046
17501
        \$LIBBONOBO_REQUIRED
22047
 
        \$LIBGNOMEMENU_REQUIRED
22048
17502
        \$LIBXML_REQUIRED
22049
17503
        \$GTK_REQUIRED
22050
17504
        \$LIBSOUP_REQUIRED
22057
17511
        $GMODULE_REQUIRED
22058
17512
        $GIO_REQUIRED
22059
17513
        $LIBBONOBO_REQUIRED
22060
 
        $LIBGNOMEMENU_REQUIRED
22061
17514
        $LIBXML_REQUIRED
22062
17515
        $GTK_REQUIRED
22063
17516
        $LIBSOUP_REQUIRED
22073
17526
        $GMODULE_REQUIRED
22074
17527
        $GIO_REQUIRED
22075
17528
        $LIBBONOBO_REQUIRED
22076
 
        $LIBGNOMEMENU_REQUIRED
22077
17529
        $LIBXML_REQUIRED
22078
17530
        $GTK_REQUIRED
22079
17531
        $LIBSOUP_REQUIRED
22103
17555
        $GMODULE_REQUIRED
22104
17556
        $GIO_REQUIRED
22105
17557
        $LIBBONOBO_REQUIRED
22106
 
        $LIBGNOMEMENU_REQUIRED
22107
17558
        $LIBXML_REQUIRED
22108
17559
        $GTK_REQUIRED
22109
17560
        $LIBSOUP_REQUIRED
22117
17568
        $GMODULE_REQUIRED
22118
17569
        $GIO_REQUIRED
22119
17570
        $LIBBONOBO_REQUIRED
22120
 
        $LIBGNOMEMENU_REQUIRED
22121
17571
        $LIBXML_REQUIRED
22122
17572
        $GTK_REQUIRED
22123
17573
        $LIBSOUP_REQUIRED
22134
17584
        $GMODULE_REQUIRED
22135
17585
        $GIO_REQUIRED
22136
17586
        $LIBBONOBO_REQUIRED
22137
 
        $LIBGNOMEMENU_REQUIRED
22138
17587
        $LIBXML_REQUIRED
22139
17588
        $GTK_REQUIRED
22140
17589
        $LIBSOUP_REQUIRED
22157
17606
        $GMODULE_REQUIRED
22158
17607
        $GIO_REQUIRED
22159
17608
        $LIBBONOBO_REQUIRED
22160
 
        $LIBGNOMEMENU_REQUIRED
22161
17609
        $LIBXML_REQUIRED
22162
17610
        $GTK_REQUIRED
22163
17611
        $LIBSOUP_REQUIRED
24834
20282
 
24835
20283
 
24836
20284
        if test $USE_MAINTAINER_MODE = yes; then
24837
 
                DISABLE_DEPRECATED="-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGCONF_DISABLE_DEPRECATED -DBONOBO_DISABLE_DEPRECATED -DBONOBO_UI_DISABLE_DEPRECATED -DGNOME_VFS_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DLIBGLADE_DISABLE_DEPRECATED"
 
20285
                DISABLE_DEPRECATED="-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGCONF_DISABLE_DEPRECATED -DBONOBO_DISABLE_DEPRECATED -DBONOBO_UI_DISABLE_DEPRECATED -DGNOME_VFS_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DLIBGLADE_DISABLE_DEPRECATED -DWNCK_DISABLE_DEPRECATED -DLIBSOUP_DISABLE_DEPRECATED"
24838
20286
        else
24839
20287
                DISABLE_DEPRECATED=""
24840
20288
        fi
24846
20294
 
24847
20295
fi
24848
20296
 
24849
 
ac_config_files="$ac_config_files Makefile data/Makefile data/icons/Makefile data/bug-buddy.schemas data/bug-buddy.menu data/bug-buddy.desktop.in docs/Makefile po/Makefile.in gnome-breakpad/Makefile src/Makefile"
 
20297
ac_config_files="$ac_config_files Makefile data/Makefile data/icons/Makefile data/bug-buddy.schemas data/bug-buddy.desktop.in docs/Makefile po/Makefile.in gnome-breakpad/Makefile src/Makefile"
24850
20298
 
24851
20299
cat >confcache <<\_ACEOF
24852
20300
# This file is a shell script that caches the results of configure
24945
20393
LTLIBOBJS=$ac_ltlibobjs
24946
20394
 
24947
20395
 
 
20396
 if test -n "$EXEEXT"; then
 
20397
  am__EXEEXT_TRUE=
 
20398
  am__EXEEXT_FALSE='#'
 
20399
else
 
20400
  am__EXEEXT_TRUE='#'
 
20401
  am__EXEEXT_FALSE=
 
20402
fi
 
20403
 
24948
20404
if test -z "${ENABLE_SK_TRUE}" && test -z "${ENABLE_SK_FALSE}"; then
24949
20405
  { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_SK\" was never defined.
24950
20406
Usually this means the macro was only invoked conditionally." >&5
25005
20461
Usually this means the macro was only invoked conditionally." >&2;}
25006
20462
   { (exit 1); exit 1; }; }
25007
20463
fi
 
20464
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 
20465
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
 
20466
Usually this means the macro was only invoked conditionally." >&5
 
20467
$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
 
20468
Usually this means the macro was only invoked conditionally." >&2;}
 
20469
   { (exit 1); exit 1; }; }
 
20470
fi
25008
20471
if test -z "${USE_GOOGLE_BREAKPAD_TRUE}" && test -z "${USE_GOOGLE_BREAKPAD_FALSE}"; then
25009
20472
  { { $as_echo "$as_me:$LINENO: error: conditional \"USE_GOOGLE_BREAKPAD\" was never defined.
25010
20473
Usually this means the macro was only invoked conditionally." >&5
25348
20811
# report actual input values of CONFIG_FILES etc. instead of their
25349
20812
# values after options handling.
25350
20813
ac_log="
25351
 
This file was extended by bug-buddy $as_me 2.27.1, which was
 
20814
This file was extended by bug-buddy $as_me 2.28.0, which was
25352
20815
generated by GNU Autoconf 2.63.  Invocation command line was
25353
20816
 
25354
20817
  CONFIG_FILES    = $CONFIG_FILES
25411
20874
_ACEOF
25412
20875
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25413
20876
ac_cs_version="\\
25414
 
bug-buddy config.status 2.27.1
 
20877
bug-buddy config.status 2.28.0
25415
20878
configured by $0, generated by GNU Autoconf 2.63,
25416
20879
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
25417
20880
 
25527
20990
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25528
20991
 
25529
20992
 
 
20993
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
20994
# if CDPATH is set.
 
20995
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
20996
 
 
20997
sed_quote_subst='$sed_quote_subst'
 
20998
double_quote_subst='$double_quote_subst'
 
20999
delay_variable_subst='$delay_variable_subst'
 
21000
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
 
21001
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
 
21002
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
 
21003
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
 
21004
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
 
21005
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
 
21006
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
21007
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
 
21008
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
 
21009
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
21010
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
 
21011
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
 
21012
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
 
21013
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
 
21014
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
 
21015
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
21016
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
21017
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
 
21018
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
 
21019
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
 
21020
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
 
21021
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
 
21022
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
 
21023
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
 
21024
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
 
21025
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
 
21026
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
21027
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
21028
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
 
21029
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
 
21030
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
 
21031
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
 
21032
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
21033
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
 
21034
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
 
21035
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
21036
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
21037
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
21038
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
 
21039
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
21040
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
 
21041
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
 
21042
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
 
21043
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
 
21044
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"`'
 
21045
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"`'
 
21046
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
 
21047
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
 
21048
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
 
21049
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
 
21050
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
21051
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
 
21052
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
 
21053
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
 
21054
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
 
21055
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
 
21056
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
 
21057
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
 
21058
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
 
21059
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 
21060
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
 
21061
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
 
21062
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
21063
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
21064
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
 
21065
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
 
21066
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
21067
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
21068
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
 
21069
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
21070
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
21071
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
21072
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
21073
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
21074
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
21075
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
21076
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
21077
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
21078
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
21079
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
21080
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
 
21081
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
 
21082
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
 
21083
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
 
21084
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
21085
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
 
21086
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
 
21087
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
 
21088
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
 
21089
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
 
21090
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
21091
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
21092
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
21093
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
21094
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
21095
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
 
21096
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 
21097
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
 
21098
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
 
21099
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
21100
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
21101
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
 
21102
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
21103
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
21104
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
21105
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
21106
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
21107
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
21108
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
 
21109
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
 
21110
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
21111
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
21112
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
 
21113
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
 
21114
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
 
21115
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
 
21116
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
21117
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
21118
compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
 
21119
predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
 
21120
postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
 
21121
predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
 
21122
postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
 
21123
compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
 
21124
LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21125
old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21126
compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21127
GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21128
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21129
lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21130
lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21131
lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21132
lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21133
archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21134
enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21135
export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21136
whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21137
compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21138
old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21139
old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21140
archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21141
archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21142
module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21143
module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21144
with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21145
allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21146
no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21147
hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21148
hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21149
hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21150
hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21151
hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21152
hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21153
hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21154
hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21155
inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21156
link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21157
fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21158
always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21159
export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21160
exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21161
include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21162
prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21163
file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21164
hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21165
compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21166
predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21167
postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21168
predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21169
postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21170
compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
21171
 
 
21172
LTCC='$LTCC'
 
21173
LTCFLAGS='$LTCFLAGS'
 
21174
compiler='$compiler_DEFAULT'
 
21175
 
 
21176
# Quote evaled strings.
 
21177
for var in SED \
 
21178
GREP \
 
21179
EGREP \
 
21180
FGREP \
 
21181
LD \
 
21182
NM \
 
21183
LN_S \
 
21184
lt_SP2NL \
 
21185
lt_NL2SP \
 
21186
reload_flag \
 
21187
OBJDUMP \
 
21188
deplibs_check_method \
 
21189
file_magic_cmd \
 
21190
AR \
 
21191
AR_FLAGS \
 
21192
STRIP \
 
21193
RANLIB \
 
21194
CC \
 
21195
CFLAGS \
 
21196
compiler \
 
21197
lt_cv_sys_global_symbol_pipe \
 
21198
lt_cv_sys_global_symbol_to_cdecl \
 
21199
lt_cv_sys_global_symbol_to_c_name_address \
 
21200
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
21201
SHELL \
 
21202
ECHO \
 
21203
lt_prog_compiler_no_builtin_flag \
 
21204
lt_prog_compiler_wl \
 
21205
lt_prog_compiler_pic \
 
21206
lt_prog_compiler_static \
 
21207
lt_cv_prog_compiler_c_o \
 
21208
need_locks \
 
21209
DSYMUTIL \
 
21210
NMEDIT \
 
21211
LIPO \
 
21212
OTOOL \
 
21213
OTOOL64 \
 
21214
shrext_cmds \
 
21215
export_dynamic_flag_spec \
 
21216
whole_archive_flag_spec \
 
21217
compiler_needs_object \
 
21218
with_gnu_ld \
 
21219
allow_undefined_flag \
 
21220
no_undefined_flag \
 
21221
hardcode_libdir_flag_spec \
 
21222
hardcode_libdir_flag_spec_ld \
 
21223
hardcode_libdir_separator \
 
21224
fix_srcfile_path \
 
21225
exclude_expsyms \
 
21226
include_expsyms \
 
21227
file_list_spec \
 
21228
variables_saved_for_relink \
 
21229
libname_spec \
 
21230
library_names_spec \
 
21231
soname_spec \
 
21232
finish_eval \
 
21233
old_striplib \
 
21234
striplib \
 
21235
compiler_lib_search_dirs \
 
21236
predep_objects \
 
21237
postdep_objects \
 
21238
predeps \
 
21239
postdeps \
 
21240
compiler_lib_search_path \
 
21241
LD_CXX \
 
21242
compiler_CXX \
 
21243
lt_prog_compiler_no_builtin_flag_CXX \
 
21244
lt_prog_compiler_wl_CXX \
 
21245
lt_prog_compiler_pic_CXX \
 
21246
lt_prog_compiler_static_CXX \
 
21247
lt_cv_prog_compiler_c_o_CXX \
 
21248
export_dynamic_flag_spec_CXX \
 
21249
whole_archive_flag_spec_CXX \
 
21250
compiler_needs_object_CXX \
 
21251
with_gnu_ld_CXX \
 
21252
allow_undefined_flag_CXX \
 
21253
no_undefined_flag_CXX \
 
21254
hardcode_libdir_flag_spec_CXX \
 
21255
hardcode_libdir_flag_spec_ld_CXX \
 
21256
hardcode_libdir_separator_CXX \
 
21257
fix_srcfile_path_CXX \
 
21258
exclude_expsyms_CXX \
 
21259
include_expsyms_CXX \
 
21260
file_list_spec_CXX \
 
21261
compiler_lib_search_dirs_CXX \
 
21262
predep_objects_CXX \
 
21263
postdep_objects_CXX \
 
21264
predeps_CXX \
 
21265
postdeps_CXX \
 
21266
compiler_lib_search_path_CXX; do
 
21267
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
21268
    *[\\\\\\\`\\"\\\$]*)
 
21269
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
21270
      ;;
 
21271
    *)
 
21272
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
21273
      ;;
 
21274
    esac
 
21275
done
 
21276
 
 
21277
# Double-quote double-evaled strings.
 
21278
for var in reload_cmds \
 
21279
old_postinstall_cmds \
 
21280
old_postuninstall_cmds \
 
21281
old_archive_cmds \
 
21282
extract_expsyms_cmds \
 
21283
old_archive_from_new_cmds \
 
21284
old_archive_from_expsyms_cmds \
 
21285
archive_cmds \
 
21286
archive_expsym_cmds \
 
21287
module_cmds \
 
21288
module_expsym_cmds \
 
21289
export_symbols_cmds \
 
21290
prelink_cmds \
 
21291
postinstall_cmds \
 
21292
postuninstall_cmds \
 
21293
finish_cmds \
 
21294
sys_lib_search_path_spec \
 
21295
sys_lib_dlsearch_path_spec \
 
21296
old_archive_cmds_CXX \
 
21297
old_archive_from_new_cmds_CXX \
 
21298
old_archive_from_expsyms_cmds_CXX \
 
21299
archive_cmds_CXX \
 
21300
archive_expsym_cmds_CXX \
 
21301
module_cmds_CXX \
 
21302
module_expsym_cmds_CXX \
 
21303
export_symbols_cmds_CXX \
 
21304
prelink_cmds_CXX; do
 
21305
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
21306
    *[\\\\\\\`\\"\\\$]*)
 
21307
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
21308
      ;;
 
21309
    *)
 
21310
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
21311
      ;;
 
21312
    esac
 
21313
done
 
21314
 
 
21315
# Fix-up fallback echo if it was mangled by the above quoting rules.
 
21316
case \$lt_ECHO in
 
21317
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
 
21318
  ;;
 
21319
esac
 
21320
 
 
21321
ac_aux_dir='$ac_aux_dir'
 
21322
xsi_shell='$xsi_shell'
 
21323
lt_shell_append='$lt_shell_append'
 
21324
 
 
21325
# See if we are running on zsh, and set the options which allow our
 
21326
# commands through without removal of \ escapes INIT.
 
21327
if test -n "\${ZSH_VERSION+set}" ; then
 
21328
   setopt NO_GLOB_SUBST
 
21329
fi
 
21330
 
 
21331
 
 
21332
    PACKAGE='$PACKAGE'
 
21333
    VERSION='$VERSION'
 
21334
    TIMESTAMP='$TIMESTAMP'
 
21335
    RM='$RM'
 
21336
    ofile='$ofile'
 
21337
 
 
21338
 
 
21339
 
 
21340
 
 
21341
 
 
21342
 
 
21343
 
25530
21344
_ACEOF
25531
21345
 
25532
21346
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25537
21351
  case $ac_config_target in
25538
21352
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
25539
21353
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
21354
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
25540
21355
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
25541
21356
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
25542
21357
    "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
25543
21358
    "data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;;
25544
21359
    "data/bug-buddy.schemas") CONFIG_FILES="$CONFIG_FILES data/bug-buddy.schemas" ;;
25545
 
    "data/bug-buddy.menu") CONFIG_FILES="$CONFIG_FILES data/bug-buddy.menu" ;;
25546
21360
    "data/bug-buddy.desktop.in") CONFIG_FILES="$CONFIG_FILES data/bug-buddy.desktop.in" ;;
25547
21361
    "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
25548
21362
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
26203
22017
 
26204
22018
 
26205
22019
  case $ac_file$ac_mode in
26206
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
26207
 
  # Strip MF so we end up with the name of the file.
26208
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
26209
 
  # Check whether this is an Automake generated Makefile or not.
26210
 
  # We used to match only the files named `Makefile.in', but
26211
 
  # some people rename them; so instead we look at the file content.
26212
 
  # Grep'ing the first line is not enough: some people post-process
26213
 
  # each Makefile.in and add a new line on top of each file to say so.
26214
 
  # Grep'ing the whole file is not good either: AIX grep has a line
26215
 
  # limit of 2048, but all sed's we know have understand at least 4000.
26216
 
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
26217
 
    dirpart=`$as_dirname -- "$mf" ||
 
22020
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
22021
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
22022
  # are listed without --file.  Let's play safe and only enable the eval
 
22023
  # if we detect the quoting.
 
22024
  case $CONFIG_FILES in
 
22025
  *\'*) eval set x "$CONFIG_FILES" ;;
 
22026
  *)   set x $CONFIG_FILES ;;
 
22027
  esac
 
22028
  shift
 
22029
  for mf
 
22030
  do
 
22031
    # Strip MF so we end up with the name of the file.
 
22032
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
22033
    # Check whether this is an Automake generated Makefile or not.
 
22034
    # We used to match only the files named `Makefile.in', but
 
22035
    # some people rename them; so instead we look at the file content.
 
22036
    # Grep'ing the first line is not enough: some people post-process
 
22037
    # each Makefile.in and add a new line on top of each file to say so.
 
22038
    # Grep'ing the whole file is not good either: AIX grep has a line
 
22039
    # limit of 2048, but all sed's we know have understand at least 4000.
 
22040
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
22041
      dirpart=`$as_dirname -- "$mf" ||
26218
22042
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26219
22043
         X"$mf" : 'X\(//\)[^/]' \| \
26220
22044
         X"$mf" : 'X\(//\)$' \| \
26237
22061
            q
26238
22062
          }
26239
22063
          s/.*/./; q'`
26240
 
  else
26241
 
    continue
26242
 
  fi
26243
 
  # Extract the definition of DEPDIR, am__include, and am__quote
26244
 
  # from the Makefile without running `make'.
26245
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
26246
 
  test -z "$DEPDIR" && continue
26247
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
26248
 
  test -z "am__include" && continue
26249
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
26250
 
  # When using ansi2knr, U may be empty or an underscore; expand it
26251
 
  U=`sed -n 's/^U = //p' < "$mf"`
26252
 
  # Find all dependency output files, they are included files with
26253
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
26254
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
26255
 
  # expansion.
26256
 
  for file in `sed -n "
26257
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
26258
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
26259
 
    # Make sure the directory exists.
26260
 
    test -f "$dirpart/$file" && continue
26261
 
    fdir=`$as_dirname -- "$file" ||
 
22064
    else
 
22065
      continue
 
22066
    fi
 
22067
    # Extract the definition of DEPDIR, am__include, and am__quote
 
22068
    # from the Makefile without running `make'.
 
22069
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
22070
    test -z "$DEPDIR" && continue
 
22071
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
22072
    test -z "am__include" && continue
 
22073
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
22074
    # When using ansi2knr, U may be empty or an underscore; expand it
 
22075
    U=`sed -n 's/^U = //p' < "$mf"`
 
22076
    # Find all dependency output files, they are included files with
 
22077
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
22078
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
22079
    # expansion.
 
22080
    for file in `sed -n "
 
22081
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
22082
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
22083
      # Make sure the directory exists.
 
22084
      test -f "$dirpart/$file" && continue
 
22085
      fdir=`$as_dirname -- "$file" ||
26262
22086
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26263
22087
         X"$file" : 'X\(//\)[^/]' \| \
26264
22088
         X"$file" : 'X\(//\)$' \| \
26281
22105
            q
26282
22106
          }
26283
22107
          s/.*/./; q'`
26284
 
    { as_dir=$dirpart/$fdir
 
22108
      { as_dir=$dirpart/$fdir
26285
22109
  case $as_dir in #(
26286
22110
  -*) as_dir=./$as_dir;;
26287
22111
  esac
26322
22146
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
26323
22147
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
26324
22148
   { (exit 1); exit 1; }; }; }
26325
 
    # echo "creating $dirpart/$file"
26326
 
    echo '# dummy' > "$dirpart/$file"
 
22149
      # echo "creating $dirpart/$file"
 
22150
      echo '# dummy' > "$dirpart/$file"
 
22151
    done
26327
22152
  done
26328
 
done
 
22153
}
 
22154
 ;;
 
22155
    "libtool":C)
 
22156
 
 
22157
    # See if we are running on zsh, and set the options which allow our
 
22158
    # commands through without removal of \ escapes.
 
22159
    if test -n "${ZSH_VERSION+set}" ; then
 
22160
      setopt NO_GLOB_SUBST
 
22161
    fi
 
22162
 
 
22163
    cfgfile="${ofile}T"
 
22164
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
22165
    $RM "$cfgfile"
 
22166
 
 
22167
    cat <<_LT_EOF >> "$cfgfile"
 
22168
#! $SHELL
 
22169
 
 
22170
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
22171
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
22172
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
22173
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
22174
#
 
22175
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
22176
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
22177
#   Written by Gordon Matzigkeit, 1996
 
22178
#
 
22179
#   This file is part of GNU Libtool.
 
22180
#
 
22181
# GNU Libtool is free software; you can redistribute it and/or
 
22182
# modify it under the terms of the GNU General Public License as
 
22183
# published by the Free Software Foundation; either version 2 of
 
22184
# the License, or (at your option) any later version.
 
22185
#
 
22186
# As a special exception to the GNU General Public License,
 
22187
# if you distribute this file as part of a program or library that
 
22188
# is built using GNU Libtool, you may include this file under the
 
22189
# same distribution terms that you use for the rest of that program.
 
22190
#
 
22191
# GNU Libtool is distributed in the hope that it will be useful,
 
22192
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
22193
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
22194
# GNU General Public License for more details.
 
22195
#
 
22196
# You should have received a copy of the GNU General Public License
 
22197
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
22198
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
22199
# obtained by writing to the Free Software Foundation, Inc.,
 
22200
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
22201
 
 
22202
 
 
22203
# The names of the tagged configurations supported by this script.
 
22204
available_tags="CXX "
 
22205
 
 
22206
# ### BEGIN LIBTOOL CONFIG
 
22207
 
 
22208
# Whether or not to build static libraries.
 
22209
build_old_libs=$enable_static
 
22210
 
 
22211
# Which release of libtool.m4 was used?
 
22212
macro_version=$macro_version
 
22213
macro_revision=$macro_revision
 
22214
 
 
22215
# Whether or not to build shared libraries.
 
22216
build_libtool_libs=$enable_shared
 
22217
 
 
22218
# What type of objects to build.
 
22219
pic_mode=$pic_mode
 
22220
 
 
22221
# Whether or not to optimize for fast installation.
 
22222
fast_install=$enable_fast_install
 
22223
 
 
22224
# The host system.
 
22225
host_alias=$host_alias
 
22226
host=$host
 
22227
host_os=$host_os
 
22228
 
 
22229
# The build system.
 
22230
build_alias=$build_alias
 
22231
build=$build
 
22232
build_os=$build_os
 
22233
 
 
22234
# A sed program that does not truncate output.
 
22235
SED=$lt_SED
 
22236
 
 
22237
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
22238
Xsed="\$SED -e 1s/^X//"
 
22239
 
 
22240
# A grep program that handles long lines.
 
22241
GREP=$lt_GREP
 
22242
 
 
22243
# An ERE matcher.
 
22244
EGREP=$lt_EGREP
 
22245
 
 
22246
# A literal string matcher.
 
22247
FGREP=$lt_FGREP
 
22248
 
 
22249
# A BSD- or MS-compatible name lister.
 
22250
NM=$lt_NM
 
22251
 
 
22252
# Whether we need soft or hard links.
 
22253
LN_S=$lt_LN_S
 
22254
 
 
22255
# What is the maximum length of a command?
 
22256
max_cmd_len=$max_cmd_len
 
22257
 
 
22258
# Object file suffix (normally "o").
 
22259
objext=$ac_objext
 
22260
 
 
22261
# Executable file suffix (normally "").
 
22262
exeext=$exeext
 
22263
 
 
22264
# whether the shell understands "unset".
 
22265
lt_unset=$lt_unset
 
22266
 
 
22267
# turn spaces into newlines.
 
22268
SP2NL=$lt_lt_SP2NL
 
22269
 
 
22270
# turn newlines into spaces.
 
22271
NL2SP=$lt_lt_NL2SP
 
22272
 
 
22273
# How to create reloadable object files.
 
22274
reload_flag=$lt_reload_flag
 
22275
reload_cmds=$lt_reload_cmds
 
22276
 
 
22277
# An object symbol dumper.
 
22278
OBJDUMP=$lt_OBJDUMP
 
22279
 
 
22280
# Method to check whether dependent libraries are shared objects.
 
22281
deplibs_check_method=$lt_deplibs_check_method
 
22282
 
 
22283
# Command to use when deplibs_check_method == "file_magic".
 
22284
file_magic_cmd=$lt_file_magic_cmd
 
22285
 
 
22286
# The archiver.
 
22287
AR=$lt_AR
 
22288
AR_FLAGS=$lt_AR_FLAGS
 
22289
 
 
22290
# A symbol stripping program.
 
22291
STRIP=$lt_STRIP
 
22292
 
 
22293
# Commands used to install an old-style archive.
 
22294
RANLIB=$lt_RANLIB
 
22295
old_postinstall_cmds=$lt_old_postinstall_cmds
 
22296
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
22297
 
 
22298
# A C compiler.
 
22299
LTCC=$lt_CC
 
22300
 
 
22301
# LTCC compiler flags.
 
22302
LTCFLAGS=$lt_CFLAGS
 
22303
 
 
22304
# Take the output of nm and produce a listing of raw symbols and C names.
 
22305
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
22306
 
 
22307
# Transform the output of nm in a proper C declaration.
 
22308
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
22309
 
 
22310
# Transform the output of nm in a C name address pair.
 
22311
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
22312
 
 
22313
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
22314
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
22315
 
 
22316
# The name of the directory that contains temporary libtool files.
 
22317
objdir=$objdir
 
22318
 
 
22319
# Shell to use when invoking shell scripts.
 
22320
SHELL=$lt_SHELL
 
22321
 
 
22322
# An echo program that does not interpret backslashes.
 
22323
ECHO=$lt_ECHO
 
22324
 
 
22325
# Used to examine libraries when file_magic_cmd begins with "file".
 
22326
MAGIC_CMD=$MAGIC_CMD
 
22327
 
 
22328
# Must we lock files when doing compilation?
 
22329
need_locks=$lt_need_locks
 
22330
 
 
22331
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
22332
DSYMUTIL=$lt_DSYMUTIL
 
22333
 
 
22334
# Tool to change global to local symbols on Mac OS X.
 
22335
NMEDIT=$lt_NMEDIT
 
22336
 
 
22337
# Tool to manipulate fat objects and archives on Mac OS X.
 
22338
LIPO=$lt_LIPO
 
22339
 
 
22340
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
22341
OTOOL=$lt_OTOOL
 
22342
 
 
22343
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
22344
OTOOL64=$lt_OTOOL64
 
22345
 
 
22346
# Old archive suffix (normally "a").
 
22347
libext=$libext
 
22348
 
 
22349
# Shared library suffix (normally ".so").
 
22350
shrext_cmds=$lt_shrext_cmds
 
22351
 
 
22352
# The commands to extract the exported symbol list from a shared archive.
 
22353
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
22354
 
 
22355
# Variables whose values should be saved in libtool wrapper scripts and
 
22356
# restored at link time.
 
22357
variables_saved_for_relink=$lt_variables_saved_for_relink
 
22358
 
 
22359
# Do we need the "lib" prefix for modules?
 
22360
need_lib_prefix=$need_lib_prefix
 
22361
 
 
22362
# Do we need a version for libraries?
 
22363
need_version=$need_version
 
22364
 
 
22365
# Library versioning type.
 
22366
version_type=$version_type
 
22367
 
 
22368
# Shared library runtime path variable.
 
22369
runpath_var=$runpath_var
 
22370
 
 
22371
# Shared library path variable.
 
22372
shlibpath_var=$shlibpath_var
 
22373
 
 
22374
# Is shlibpath searched before the hard-coded library search path?
 
22375
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
22376
 
 
22377
# Format of library name prefix.
 
22378
libname_spec=$lt_libname_spec
 
22379
 
 
22380
# List of archive names.  First name is the real one, the rest are links.
 
22381
# The last name is the one that the linker finds with -lNAME
 
22382
library_names_spec=$lt_library_names_spec
 
22383
 
 
22384
# The coded name of the library, if different from the real name.
 
22385
soname_spec=$lt_soname_spec
 
22386
 
 
22387
# Command to use after installation of a shared archive.
 
22388
postinstall_cmds=$lt_postinstall_cmds
 
22389
 
 
22390
# Command to use after uninstallation of a shared archive.
 
22391
postuninstall_cmds=$lt_postuninstall_cmds
 
22392
 
 
22393
# Commands used to finish a libtool library installation in a directory.
 
22394
finish_cmds=$lt_finish_cmds
 
22395
 
 
22396
# As "finish_cmds", except a single script fragment to be evaled but
 
22397
# not shown.
 
22398
finish_eval=$lt_finish_eval
 
22399
 
 
22400
# Whether we should hardcode library paths into libraries.
 
22401
hardcode_into_libs=$hardcode_into_libs
 
22402
 
 
22403
# Compile-time system search path for libraries.
 
22404
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
22405
 
 
22406
# Run-time system search path for libraries.
 
22407
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
22408
 
 
22409
# Whether dlopen is supported.
 
22410
dlopen_support=$enable_dlopen
 
22411
 
 
22412
# Whether dlopen of programs is supported.
 
22413
dlopen_self=$enable_dlopen_self
 
22414
 
 
22415
# Whether dlopen of statically linked programs is supported.
 
22416
dlopen_self_static=$enable_dlopen_self_static
 
22417
 
 
22418
# Commands to strip libraries.
 
22419
old_striplib=$lt_old_striplib
 
22420
striplib=$lt_striplib
 
22421
 
 
22422
 
 
22423
# The linker used to build libraries.
 
22424
LD=$lt_LD
 
22425
 
 
22426
# Commands used to build an old-style archive.
 
22427
old_archive_cmds=$lt_old_archive_cmds
 
22428
 
 
22429
# A language specific compiler.
 
22430
CC=$lt_compiler
 
22431
 
 
22432
# Is the compiler the GNU compiler?
 
22433
with_gcc=$GCC
 
22434
 
 
22435
# Compiler flag to turn off builtin functions.
 
22436
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
22437
 
 
22438
# How to pass a linker flag through the compiler.
 
22439
wl=$lt_lt_prog_compiler_wl
 
22440
 
 
22441
# Additional compiler flags for building library objects.
 
22442
pic_flag=$lt_lt_prog_compiler_pic
 
22443
 
 
22444
# Compiler flag to prevent dynamic linking.
 
22445
link_static_flag=$lt_lt_prog_compiler_static
 
22446
 
 
22447
# Does compiler simultaneously support -c and -o options?
 
22448
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
22449
 
 
22450
# Whether or not to add -lc for building shared libraries.
 
22451
build_libtool_need_lc=$archive_cmds_need_lc
 
22452
 
 
22453
# Whether or not to disallow shared libs when runtime libs are static.
 
22454
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
22455
 
 
22456
# Compiler flag to allow reflexive dlopens.
 
22457
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
22458
 
 
22459
# Compiler flag to generate shared objects directly from archives.
 
22460
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
22461
 
 
22462
# Whether the compiler copes with passing no objects directly.
 
22463
compiler_needs_object=$lt_compiler_needs_object
 
22464
 
 
22465
# Create an old-style archive from a shared archive.
 
22466
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
22467
 
 
22468
# Create a temporary old-style archive to link instead of a shared archive.
 
22469
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
22470
 
 
22471
# Commands used to build a shared archive.
 
22472
archive_cmds=$lt_archive_cmds
 
22473
archive_expsym_cmds=$lt_archive_expsym_cmds
 
22474
 
 
22475
# Commands used to build a loadable module if different from building
 
22476
# a shared archive.
 
22477
module_cmds=$lt_module_cmds
 
22478
module_expsym_cmds=$lt_module_expsym_cmds
 
22479
 
 
22480
# Whether we are building with GNU ld or not.
 
22481
with_gnu_ld=$lt_with_gnu_ld
 
22482
 
 
22483
# Flag that allows shared libraries with undefined symbols to be built.
 
22484
allow_undefined_flag=$lt_allow_undefined_flag
 
22485
 
 
22486
# Flag that enforces no undefined symbols.
 
22487
no_undefined_flag=$lt_no_undefined_flag
 
22488
 
 
22489
# Flag to hardcode \$libdir into a binary during linking.
 
22490
# This must work even if \$libdir does not exist
 
22491
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
22492
 
 
22493
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
22494
# during linking.  This must work even if \$libdir does not exist.
 
22495
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 
22496
 
 
22497
# Whether we need a single "-rpath" flag with a separated argument.
 
22498
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
22499
 
 
22500
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
22501
# DIR into the resulting binary.
 
22502
hardcode_direct=$hardcode_direct
 
22503
 
 
22504
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
22505
# DIR into the resulting binary and the resulting library dependency is
 
22506
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
22507
# library is relocated.
 
22508
hardcode_direct_absolute=$hardcode_direct_absolute
 
22509
 
 
22510
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
22511
# into the resulting binary.
 
22512
hardcode_minus_L=$hardcode_minus_L
 
22513
 
 
22514
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
22515
# into the resulting binary.
 
22516
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
22517
 
 
22518
# Set to "yes" if building a shared library automatically hardcodes DIR
 
22519
# into the library and all subsequent libraries and executables linked
 
22520
# against it.
 
22521
hardcode_automatic=$hardcode_automatic
 
22522
 
 
22523
# Set to yes if linker adds runtime paths of dependent libraries
 
22524
# to runtime path list.
 
22525
inherit_rpath=$inherit_rpath
 
22526
 
 
22527
# Whether libtool must link a program against all its dependency libraries.
 
22528
link_all_deplibs=$link_all_deplibs
 
22529
 
 
22530
# Fix the shell variable \$srcfile for the compiler.
 
22531
fix_srcfile_path=$lt_fix_srcfile_path
 
22532
 
 
22533
# Set to "yes" if exported symbols are required.
 
22534
always_export_symbols=$always_export_symbols
 
22535
 
 
22536
# The commands to list exported symbols.
 
22537
export_symbols_cmds=$lt_export_symbols_cmds
 
22538
 
 
22539
# Symbols that should not be listed in the preloaded symbols.
 
22540
exclude_expsyms=$lt_exclude_expsyms
 
22541
 
 
22542
# Symbols that must always be exported.
 
22543
include_expsyms=$lt_include_expsyms
 
22544
 
 
22545
# Commands necessary for linking programs (against libraries) with templates.
 
22546
prelink_cmds=$lt_prelink_cmds
 
22547
 
 
22548
# Specify filename containing input files.
 
22549
file_list_spec=$lt_file_list_spec
 
22550
 
 
22551
# How to hardcode a shared library path into an executable.
 
22552
hardcode_action=$hardcode_action
 
22553
 
 
22554
# The directories searched by this compiler when creating a shared library.
 
22555
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
 
22556
 
 
22557
# Dependencies to place before and after the objects being linked to
 
22558
# create a shared library.
 
22559
predep_objects=$lt_predep_objects
 
22560
postdep_objects=$lt_postdep_objects
 
22561
predeps=$lt_predeps
 
22562
postdeps=$lt_postdeps
 
22563
 
 
22564
# The library search path used internally by the compiler when linking
 
22565
# a shared library.
 
22566
compiler_lib_search_path=$lt_compiler_lib_search_path
 
22567
 
 
22568
# ### END LIBTOOL CONFIG
 
22569
 
 
22570
_LT_EOF
 
22571
 
 
22572
  case $host_os in
 
22573
  aix3*)
 
22574
    cat <<\_LT_EOF >> "$cfgfile"
 
22575
# AIX sometimes has problems with the GCC collect2 program.  For some
 
22576
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
22577
# vanish in a puff of smoke.
 
22578
if test "X${COLLECT_NAMES+set}" != Xset; then
 
22579
  COLLECT_NAMES=
 
22580
  export COLLECT_NAMES
 
22581
fi
 
22582
_LT_EOF
 
22583
    ;;
 
22584
  esac
 
22585
 
 
22586
 
 
22587
ltmain="$ac_aux_dir/ltmain.sh"
 
22588
 
 
22589
 
 
22590
  # We use sed instead of cat because bash on DJGPP gets confused if
 
22591
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
22592
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
22593
  # is reportedly fixed, but why not run on old versions too?
 
22594
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
 
22595
    || (rm -f "$cfgfile"; exit 1)
 
22596
 
 
22597
  case $xsi_shell in
 
22598
  yes)
 
22599
    cat << \_LT_EOF >> "$cfgfile"
 
22600
 
 
22601
# func_dirname file append nondir_replacement
 
22602
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
22603
# otherwise set result to NONDIR_REPLACEMENT.
 
22604
func_dirname ()
 
22605
{
 
22606
  case ${1} in
 
22607
    */*) func_dirname_result="${1%/*}${2}" ;;
 
22608
    *  ) func_dirname_result="${3}" ;;
 
22609
  esac
 
22610
}
 
22611
 
 
22612
# func_basename file
 
22613
func_basename ()
 
22614
{
 
22615
  func_basename_result="${1##*/}"
 
22616
}
 
22617
 
 
22618
# func_dirname_and_basename file append nondir_replacement
 
22619
# perform func_basename and func_dirname in a single function
 
22620
# call:
 
22621
#   dirname:  Compute the dirname of FILE.  If nonempty,
 
22622
#             add APPEND to the result, otherwise set result
 
22623
#             to NONDIR_REPLACEMENT.
 
22624
#             value returned in "$func_dirname_result"
 
22625
#   basename: Compute filename of FILE.
 
22626
#             value retuned in "$func_basename_result"
 
22627
# Implementation must be kept synchronized with func_dirname
 
22628
# and func_basename. For efficiency, we do not delegate to
 
22629
# those functions but instead duplicate the functionality here.
 
22630
func_dirname_and_basename ()
 
22631
{
 
22632
  case ${1} in
 
22633
    */*) func_dirname_result="${1%/*}${2}" ;;
 
22634
    *  ) func_dirname_result="${3}" ;;
 
22635
  esac
 
22636
  func_basename_result="${1##*/}"
 
22637
}
 
22638
 
 
22639
# func_stripname prefix suffix name
 
22640
# strip PREFIX and SUFFIX off of NAME.
 
22641
# PREFIX and SUFFIX must not contain globbing or regex special
 
22642
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
22643
# dot (in which case that matches only a dot).
 
22644
func_stripname ()
 
22645
{
 
22646
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
 
22647
  # positional parameters, so assign one to ordinary parameter first.
 
22648
  func_stripname_result=${3}
 
22649
  func_stripname_result=${func_stripname_result#"${1}"}
 
22650
  func_stripname_result=${func_stripname_result%"${2}"}
 
22651
}
 
22652
 
 
22653
# func_opt_split
 
22654
func_opt_split ()
 
22655
{
 
22656
  func_opt_split_opt=${1%%=*}
 
22657
  func_opt_split_arg=${1#*=}
 
22658
}
 
22659
 
 
22660
# func_lo2o object
 
22661
func_lo2o ()
 
22662
{
 
22663
  case ${1} in
 
22664
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
 
22665
    *)    func_lo2o_result=${1} ;;
 
22666
  esac
 
22667
}
 
22668
 
 
22669
# func_xform libobj-or-source
 
22670
func_xform ()
 
22671
{
 
22672
  func_xform_result=${1%.*}.lo
 
22673
}
 
22674
 
 
22675
# func_arith arithmetic-term...
 
22676
func_arith ()
 
22677
{
 
22678
  func_arith_result=$(( $* ))
 
22679
}
 
22680
 
 
22681
# func_len string
 
22682
# STRING may not start with a hyphen.
 
22683
func_len ()
 
22684
{
 
22685
  func_len_result=${#1}
 
22686
}
 
22687
 
 
22688
_LT_EOF
 
22689
    ;;
 
22690
  *) # Bourne compatible functions.
 
22691
    cat << \_LT_EOF >> "$cfgfile"
 
22692
 
 
22693
# func_dirname file append nondir_replacement
 
22694
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
22695
# otherwise set result to NONDIR_REPLACEMENT.
 
22696
func_dirname ()
 
22697
{
 
22698
  # Extract subdirectory from the argument.
 
22699
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
22700
  if test "X$func_dirname_result" = "X${1}"; then
 
22701
    func_dirname_result="${3}"
 
22702
  else
 
22703
    func_dirname_result="$func_dirname_result${2}"
 
22704
  fi
 
22705
}
 
22706
 
 
22707
# func_basename file
 
22708
func_basename ()
 
22709
{
 
22710
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
22711
}
 
22712
 
 
22713
 
 
22714
# func_stripname prefix suffix name
 
22715
# strip PREFIX and SUFFIX off of NAME.
 
22716
# PREFIX and SUFFIX must not contain globbing or regex special
 
22717
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
22718
# dot (in which case that matches only a dot).
 
22719
# func_strip_suffix prefix name
 
22720
func_stripname ()
 
22721
{
 
22722
  case ${2} in
 
22723
    .*) func_stripname_result=`$ECHO "X${3}" \
 
22724
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
 
22725
    *)  func_stripname_result=`$ECHO "X${3}" \
 
22726
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
22727
  esac
 
22728
}
 
22729
 
 
22730
# sed scripts:
 
22731
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
 
22732
my_sed_long_arg='1s/^-[^=]*=//'
 
22733
 
 
22734
# func_opt_split
 
22735
func_opt_split ()
 
22736
{
 
22737
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
 
22738
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
22739
}
 
22740
 
 
22741
# func_lo2o object
 
22742
func_lo2o ()
 
22743
{
 
22744
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
22745
}
 
22746
 
 
22747
# func_xform libobj-or-source
 
22748
func_xform ()
 
22749
{
 
22750
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
 
22751
}
 
22752
 
 
22753
# func_arith arithmetic-term...
 
22754
func_arith ()
 
22755
{
 
22756
  func_arith_result=`expr "$@"`
 
22757
}
 
22758
 
 
22759
# func_len string
 
22760
# STRING may not start with a hyphen.
 
22761
func_len ()
 
22762
{
 
22763
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
 
22764
}
 
22765
 
 
22766
_LT_EOF
 
22767
esac
 
22768
 
 
22769
case $lt_shell_append in
 
22770
  yes)
 
22771
    cat << \_LT_EOF >> "$cfgfile"
 
22772
 
 
22773
# func_append var value
 
22774
# Append VALUE to the end of shell variable VAR.
 
22775
func_append ()
 
22776
{
 
22777
  eval "$1+=\$2"
 
22778
}
 
22779
_LT_EOF
 
22780
    ;;
 
22781
  *)
 
22782
    cat << \_LT_EOF >> "$cfgfile"
 
22783
 
 
22784
# func_append var value
 
22785
# Append VALUE to the end of shell variable VAR.
 
22786
func_append ()
 
22787
{
 
22788
  eval "$1=\$$1\$2"
 
22789
}
 
22790
 
 
22791
_LT_EOF
 
22792
    ;;
 
22793
  esac
 
22794
 
 
22795
 
 
22796
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
 
22797
    || (rm -f "$cfgfile"; exit 1)
 
22798
 
 
22799
  mv -f "$cfgfile" "$ofile" ||
 
22800
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
22801
  chmod +x "$ofile"
 
22802
 
 
22803
 
 
22804
    cat <<_LT_EOF >> "$ofile"
 
22805
 
 
22806
# ### BEGIN LIBTOOL TAG CONFIG: CXX
 
22807
 
 
22808
# The linker used to build libraries.
 
22809
LD=$lt_LD_CXX
 
22810
 
 
22811
# Commands used to build an old-style archive.
 
22812
old_archive_cmds=$lt_old_archive_cmds_CXX
 
22813
 
 
22814
# A language specific compiler.
 
22815
CC=$lt_compiler_CXX
 
22816
 
 
22817
# Is the compiler the GNU compiler?
 
22818
with_gcc=$GCC_CXX
 
22819
 
 
22820
# Compiler flag to turn off builtin functions.
 
22821
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
 
22822
 
 
22823
# How to pass a linker flag through the compiler.
 
22824
wl=$lt_lt_prog_compiler_wl_CXX
 
22825
 
 
22826
# Additional compiler flags for building library objects.
 
22827
pic_flag=$lt_lt_prog_compiler_pic_CXX
 
22828
 
 
22829
# Compiler flag to prevent dynamic linking.
 
22830
link_static_flag=$lt_lt_prog_compiler_static_CXX
 
22831
 
 
22832
# Does compiler simultaneously support -c and -o options?
 
22833
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
 
22834
 
 
22835
# Whether or not to add -lc for building shared libraries.
 
22836
build_libtool_need_lc=$archive_cmds_need_lc_CXX
 
22837
 
 
22838
# Whether or not to disallow shared libs when runtime libs are static.
 
22839
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
 
22840
 
 
22841
# Compiler flag to allow reflexive dlopens.
 
22842
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
 
22843
 
 
22844
# Compiler flag to generate shared objects directly from archives.
 
22845
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
 
22846
 
 
22847
# Whether the compiler copes with passing no objects directly.
 
22848
compiler_needs_object=$lt_compiler_needs_object_CXX
 
22849
 
 
22850
# Create an old-style archive from a shared archive.
 
22851
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
 
22852
 
 
22853
# Create a temporary old-style archive to link instead of a shared archive.
 
22854
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
 
22855
 
 
22856
# Commands used to build a shared archive.
 
22857
archive_cmds=$lt_archive_cmds_CXX
 
22858
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
 
22859
 
 
22860
# Commands used to build a loadable module if different from building
 
22861
# a shared archive.
 
22862
module_cmds=$lt_module_cmds_CXX
 
22863
module_expsym_cmds=$lt_module_expsym_cmds_CXX
 
22864
 
 
22865
# Whether we are building with GNU ld or not.
 
22866
with_gnu_ld=$lt_with_gnu_ld_CXX
 
22867
 
 
22868
# Flag that allows shared libraries with undefined symbols to be built.
 
22869
allow_undefined_flag=$lt_allow_undefined_flag_CXX
 
22870
 
 
22871
# Flag that enforces no undefined symbols.
 
22872
no_undefined_flag=$lt_no_undefined_flag_CXX
 
22873
 
 
22874
# Flag to hardcode \$libdir into a binary during linking.
 
22875
# This must work even if \$libdir does not exist
 
22876
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
 
22877
 
 
22878
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
22879
# during linking.  This must work even if \$libdir does not exist.
 
22880
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
 
22881
 
 
22882
# Whether we need a single "-rpath" flag with a separated argument.
 
22883
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
 
22884
 
 
22885
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
22886
# DIR into the resulting binary.
 
22887
hardcode_direct=$hardcode_direct_CXX
 
22888
 
 
22889
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
22890
# DIR into the resulting binary and the resulting library dependency is
 
22891
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
22892
# library is relocated.
 
22893
hardcode_direct_absolute=$hardcode_direct_absolute_CXX
 
22894
 
 
22895
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
22896
# into the resulting binary.
 
22897
hardcode_minus_L=$hardcode_minus_L_CXX
 
22898
 
 
22899
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
22900
# into the resulting binary.
 
22901
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
 
22902
 
 
22903
# Set to "yes" if building a shared library automatically hardcodes DIR
 
22904
# into the library and all subsequent libraries and executables linked
 
22905
# against it.
 
22906
hardcode_automatic=$hardcode_automatic_CXX
 
22907
 
 
22908
# Set to yes if linker adds runtime paths of dependent libraries
 
22909
# to runtime path list.
 
22910
inherit_rpath=$inherit_rpath_CXX
 
22911
 
 
22912
# Whether libtool must link a program against all its dependency libraries.
 
22913
link_all_deplibs=$link_all_deplibs_CXX
 
22914
 
 
22915
# Fix the shell variable \$srcfile for the compiler.
 
22916
fix_srcfile_path=$lt_fix_srcfile_path_CXX
 
22917
 
 
22918
# Set to "yes" if exported symbols are required.
 
22919
always_export_symbols=$always_export_symbols_CXX
 
22920
 
 
22921
# The commands to list exported symbols.
 
22922
export_symbols_cmds=$lt_export_symbols_cmds_CXX
 
22923
 
 
22924
# Symbols that should not be listed in the preloaded symbols.
 
22925
exclude_expsyms=$lt_exclude_expsyms_CXX
 
22926
 
 
22927
# Symbols that must always be exported.
 
22928
include_expsyms=$lt_include_expsyms_CXX
 
22929
 
 
22930
# Commands necessary for linking programs (against libraries) with templates.
 
22931
prelink_cmds=$lt_prelink_cmds_CXX
 
22932
 
 
22933
# Specify filename containing input files.
 
22934
file_list_spec=$lt_file_list_spec_CXX
 
22935
 
 
22936
# How to hardcode a shared library path into an executable.
 
22937
hardcode_action=$hardcode_action_CXX
 
22938
 
 
22939
# The directories searched by this compiler when creating a shared library.
 
22940
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
 
22941
 
 
22942
# Dependencies to place before and after the objects being linked to
 
22943
# create a shared library.
 
22944
predep_objects=$lt_predep_objects_CXX
 
22945
postdep_objects=$lt_postdep_objects_CXX
 
22946
predeps=$lt_predeps_CXX
 
22947
postdeps=$lt_postdeps_CXX
 
22948
 
 
22949
# The library search path used internally by the compiler when linking
 
22950
# a shared library.
 
22951
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
 
22952
 
 
22953
# ### END LIBTOOL TAG CONFIG: CXX
 
22954
_LT_EOF
 
22955
 
26329
22956
 ;;
26330
22957
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
26331
22958
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
26332
22959
      esac ;;
26333
22960
    "po/stamp-it":C)
26334
 
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" ; then
 
22961
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
26335
22962
       { { $as_echo "$as_me:$LINENO: error: po/Makefile.in.in was not created by intltoolize." >&5
26336
22963
$as_echo "$as_me: error: po/Makefile.in.in was not created by intltoolize." >&2;}
26337
22964
   { (exit 1); exit 1; }; }