~ubuntu-branches/ubuntu/oneiric/clutter-gst/oneiric-proposed

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Andrew Starr-Bochicchio
  • Date: 2009-09-16 10:43:39 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20090916104339-frm6o7fnk0e4pojv
Tags: 0.10.0-0ubuntu1
* New upstream release.
* Clutter 0.8 -> 1.0 transition. (LP: #364630)
* debian/control:
 - Renaming libclutter-gst-0.8-0 to libclutter-gst-0.10-0,
   libclutter-gst-0.8-dev to libclutter-gst-0.10-dev, and
   libclutter-gst-0.8-dbg to libclutter-gst-0.10-dbg for 
   new soname.
 - Bump build-dep to libclutter-1.0-dev
 - Put libclutter-gst-0.10-dbg in Section: debug
* debian/*.{install,examples}: update packages name

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.61 for clutter-gst 0.8.0.
 
3
# Generated by GNU Autoconf 2.61 for clutter-gst 0.10.0.
4
4
#
5
5
# Report bugs to <http://bugzilla.o-hand.com/enter_bug.cgi?product=Clutter-gst>.
6
6
#
555
555
# Check that we are running under the correct shell.
556
556
SHELL=${CONFIG_SHELL-/bin/sh}
557
557
 
558
 
case X$ECHO in
 
558
case X$lt_ECHO in
559
559
X*--fallback-echo)
560
560
  # Remove one level of quotation (which was required for Make).
561
 
  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
 
561
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
562
562
  ;;
563
563
esac
564
564
 
565
 
echo=${ECHO-echo}
 
565
ECHO=${lt_ECHO-echo}
566
566
if test "X$1" = X--no-reexec; then
567
567
  # Discard the --no-reexec flag, and continue.
568
568
  shift
569
569
elif test "X$1" = X--fallback-echo; then
570
570
  # Avoid inline document here, it may be left over
571
571
  :
572
 
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
573
 
  # Yippee, $echo works!
 
572
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
 
573
  # Yippee, $ECHO works!
574
574
  :
575
575
else
576
576
  # Restart under the correct shell.
580
580
if test "X$1" = X--fallback-echo; then
581
581
  # used as fallback echo
582
582
  shift
583
 
  cat <<EOF
 
583
  cat <<_LT_EOF
584
584
$*
585
 
EOF
 
585
_LT_EOF
586
586
  exit 0
587
587
fi
588
588
 
590
590
# if CDPATH is set.
591
591
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
592
592
 
593
 
if test -z "$ECHO"; then
594
 
if test "X${echo_test_string+set}" != Xset; then
595
 
# find a string as large as possible, as long as the shell can cope with it
596
 
  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
597
 
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
598
 
    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
599
 
       echo_test_string=`eval $cmd` &&
600
 
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
601
 
    then
602
 
      break
603
 
    fi
604
 
  done
605
 
fi
606
 
 
607
 
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
608
 
   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
609
 
   test "X$echo_testing_string" = "X$echo_test_string"; then
610
 
  :
611
 
else
612
 
  # The Solaris, AIX, and Digital Unix default echo programs unquote
613
 
  # backslashes.  This makes it impossible to quote backslashes using
614
 
  #   echo "$something" | sed 's/\\/\\\\/g'
615
 
  #
616
 
  # So, first we look for a working echo in the user's PATH.
617
 
 
618
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
619
 
  for dir in $PATH /usr/ucb; do
 
593
if test -z "$lt_ECHO"; then
 
594
  if test "X${echo_test_string+set}" != Xset; then
 
595
    # find a string as large as possible, as long as the shell can cope with it
 
596
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
 
597
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
 
598
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
 
599
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
 
600
      then
 
601
        break
 
602
      fi
 
603
    done
 
604
  fi
 
605
 
 
606
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
607
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
608
     test "X$echo_testing_string" = "X$echo_test_string"; then
 
609
    :
 
610
  else
 
611
    # The Solaris, AIX, and Digital Unix default echo programs unquote
 
612
    # backslashes.  This makes it impossible to quote backslashes using
 
613
    #   echo "$something" | sed 's/\\/\\\\/g'
 
614
    #
 
615
    # So, first we look for a working echo in the user's PATH.
 
616
 
 
617
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
618
    for dir in $PATH /usr/ucb; do
 
619
      IFS="$lt_save_ifs"
 
620
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
 
621
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
 
622
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
 
623
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
624
        ECHO="$dir/echo"
 
625
        break
 
626
      fi
 
627
    done
620
628
    IFS="$lt_save_ifs"
621
 
    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
622
 
       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
623
 
       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
624
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
625
 
      echo="$dir/echo"
626
 
      break
627
 
    fi
628
 
  done
629
 
  IFS="$lt_save_ifs"
630
629
 
631
 
  if test "X$echo" = Xecho; then
632
 
    # We didn't find a better echo, so look for alternatives.
633
 
    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
634
 
       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
635
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
636
 
      # This shell has a builtin print -r that does the trick.
637
 
      echo='print -r'
638
 
    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
639
 
         test "X$CONFIG_SHELL" != X/bin/ksh; then
640
 
      # If we have ksh, try running configure again with it.
641
 
      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
642
 
      export ORIGINAL_CONFIG_SHELL
643
 
      CONFIG_SHELL=/bin/ksh
644
 
      export CONFIG_SHELL
645
 
      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
646
 
    else
647
 
      # Try using printf.
648
 
      echo='printf %s\n'
649
 
      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
650
 
         echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
651
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
652
 
        # Cool, printf works
653
 
        :
654
 
      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
655
 
           test "X$echo_testing_string" = 'X\t' &&
656
 
           echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
657
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
658
 
        CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
659
 
        export CONFIG_SHELL
660
 
        SHELL="$CONFIG_SHELL"
661
 
        export SHELL
662
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
663
 
      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
664
 
           test "X$echo_testing_string" = 'X\t' &&
665
 
           echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
666
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
667
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
 
630
    if test "X$ECHO" = Xecho; then
 
631
      # We didn't find a better echo, so look for alternatives.
 
632
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
 
633
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
 
634
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
635
        # This shell has a builtin print -r that does the trick.
 
636
        ECHO='print -r'
 
637
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
 
638
           test "X$CONFIG_SHELL" != X/bin/ksh; then
 
639
        # If we have ksh, try running configure again with it.
 
640
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
 
641
        export ORIGINAL_CONFIG_SHELL
 
642
        CONFIG_SHELL=/bin/ksh
 
643
        export CONFIG_SHELL
 
644
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
668
645
      else
669
 
        # maybe with a smaller string...
670
 
        prev=:
671
 
 
672
 
        for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
673
 
          if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
674
 
          then
675
 
            break
 
646
        # Try using printf.
 
647
        ECHO='printf %s\n'
 
648
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
649
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
650
           test "X$echo_testing_string" = "X$echo_test_string"; then
 
651
          # Cool, printf works
 
652
          :
 
653
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
654
             test "X$echo_testing_string" = 'X\t' &&
 
655
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
656
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
657
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
 
658
          export CONFIG_SHELL
 
659
          SHELL="$CONFIG_SHELL"
 
660
          export SHELL
 
661
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
662
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
663
             test "X$echo_testing_string" = 'X\t' &&
 
664
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
665
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
666
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
667
        else
 
668
          # maybe with a smaller string...
 
669
          prev=:
 
670
 
 
671
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
 
672
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
 
673
            then
 
674
              break
 
675
            fi
 
676
            prev="$cmd"
 
677
          done
 
678
 
 
679
          if test "$prev" != 'sed 50q "$0"'; then
 
680
            echo_test_string=`eval $prev`
 
681
            export echo_test_string
 
682
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
 
683
          else
 
684
            # Oops.  We lost completely, so just stick with echo.
 
685
            ECHO=echo
676
686
          fi
677
 
          prev="$cmd"
678
 
        done
679
 
 
680
 
        if test "$prev" != 'sed 50q "$0"'; then
681
 
          echo_test_string=`eval $prev`
682
 
          export echo_test_string
683
 
          exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
684
 
        else
685
 
          # Oops.  We lost completely, so just stick with echo.
686
 
          echo=echo
687
 
        fi
 
687
        fi
688
688
      fi
689
689
    fi
690
690
  fi
691
691
fi
692
 
fi
693
692
 
694
693
# Copy echo and quote the copy suitably for passing to libtool from
695
694
# the Makefile, instead of quoting the original, which is used later.
696
 
ECHO=$echo
697
 
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
698
 
   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
 
695
lt_ECHO=$ECHO
 
696
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
 
697
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
699
698
fi
700
699
 
701
700
 
702
701
 
703
702
 
704
 
tagnames=${tagnames+${tagnames},}CXX
705
 
 
706
 
tagnames=${tagnames+${tagnames},}F77
707
 
 
708
703
exec 7<&0 </dev/null 6>&1
709
704
 
710
705
# Name of the host.
728
723
# Identity of this package.
729
724
PACKAGE_NAME='clutter-gst'
730
725
PACKAGE_TARNAME='clutter-gst'
731
 
PACKAGE_VERSION='0.8.0'
732
 
PACKAGE_STRING='clutter-gst 0.8.0'
 
726
PACKAGE_VERSION='0.10.0'
 
727
PACKAGE_STRING='clutter-gst 0.10.0'
733
728
PACKAGE_BUGREPORT='http://bugzilla.o-hand.com/enter_bug.cgi?product=Clutter-gst'
734
729
 
735
730
ac_unique_file="clutter-gst/clutter-gst.h"
834
829
CLUTTER_GST_VERSION
835
830
CLUTTER_GST_API_VERSION
836
831
CLUTTER_GST_MAJORMINOR
 
832
CLUTTER_API_VERSION
837
833
CLUTTER_GST_LT_VERSION
838
834
CLUTTER_GST_LT_LDFLAGS
839
835
CC
852
848
CCDEPMODE
853
849
am__fastdepCC_TRUE
854
850
am__fastdepCC_FALSE
 
851
LIBTOOL
855
852
build
856
853
build_cpu
857
854
build_vendor
863
860
SED
864
861
GREP
865
862
EGREP
 
863
FGREP
 
864
LD
 
865
DUMPBIN
 
866
ac_ct_DUMPBIN
 
867
NM
866
868
LN_S
867
 
ECHO
868
869
AR
869
870
RANLIB
 
871
lt_ECHO
870
872
DSYMUTIL
871
873
NMEDIT
 
874
LIPO
 
875
OTOOL
 
876
OTOOL64
872
877
CPP
873
 
CXX
874
 
CXXFLAGS
875
 
ac_ct_CXX
876
 
CXXDEPMODE
877
 
am__fastdepCXX_TRUE
878
 
am__fastdepCXX_FALSE
879
 
CXXCPP
880
 
F77
881
 
FFLAGS
882
 
ac_ct_F77
883
 
LIBTOOL
 
878
DOLT_BASH
 
879
LTCOMPILE
 
880
LTCXXCOMPILE
884
881
LIBOBJS
 
882
CGC
 
883
HAVE_CGC_TRUE
 
884
HAVE_CGC_FALSE
 
885
PYTHON
 
886
HAVE_PYTHON_TRUE
 
887
HAVE_PYTHON_FALSE
885
888
PKG_CONFIG
886
889
CLUTTER_GST_CFLAGS
887
890
CLUTTER_GST_LIBS
888
891
GST_CFLAGS
889
892
GST_LIBS
 
893
MAINTAINER_CFLAGS
890
894
HTML_DIR
891
895
GTKDOC_CHECK
892
896
ENABLE_GTK_DOC_TRUE
896
900
BUILD_GTK_DOC_TRUE
897
901
BUILD_GTK_DOC_FALSE
898
902
GCC_FLAGS
 
903
shavedir
 
904
MAKEFLAGS
 
905
AM_MAKEFLAGS
 
906
CXX
 
907
FC
 
908
F77
 
909
V
 
910
Q
899
911
LTLIBOBJS'
900
912
ac_subst_files=''
901
913
      ac_precious_vars='build_alias
907
919
LIBS
908
920
CPPFLAGS
909
921
CPP
910
 
CXX
911
 
CXXFLAGS
912
 
CCC
913
 
CXXCPP
914
 
F77
915
 
FFLAGS
916
922
PKG_CONFIG
917
923
CLUTTER_GST_CFLAGS
918
924
CLUTTER_GST_LIBS
1420
1426
  # Omit some internal or obsolete options to make the list less imposing.
1421
1427
  # This message is too long to be a string in the A/UX 3.1 sh.
1422
1428
  cat <<_ACEOF
1423
 
\`configure' configures clutter-gst 0.8.0 to adapt to many kinds of systems.
 
1429
\`configure' configures clutter-gst 0.10.0 to adapt to many kinds of systems.
1424
1430
 
1425
1431
Usage: $0 [OPTION]... [VAR=VALUE]...
1426
1432
 
1490
1496
 
1491
1497
if test -n "$ac_init_help"; then
1492
1498
  case $ac_init_help in
1493
 
     short | recursive ) echo "Configuration of clutter-gst 0.8.0:";;
 
1499
     short | recursive ) echo "Configuration of clutter-gst 0.10.0:";;
1494
1500
   esac
1495
1501
  cat <<\_ACEOF
1496
1502
 
1504
1510
  --enable-fast-install[=PKGS]
1505
1511
                          optimize for fast installation [default=yes]
1506
1512
  --disable-libtool-lock  avoid locking (might break parallel builds)
 
1513
  --enable-maintainer-flags=[no/yes]
 
1514
                          Use strict compiler flags
 
1515
                          [default=maintainer_flags_default]
1507
1516
  --enable-gtk-doc        use gtk-doc to build documentation [default=no]
 
1517
  --enable-shave          use shave to make the build pretty [default=yes]
1508
1518
 
1509
1519
Optional Packages:
1510
1520
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1511
1521
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1512
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1513
1522
  --with-pic              try to use only PIC/non-PIC objects [default=use
1514
1523
                          both]
1515
 
  --with-tags[=TAGS]      include additional configurations [automatic]
 
1524
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1516
1525
  --with-html-dir=PATH    path to installed docs
1517
1526
 
1518
1527
Some influential environment variables:
1524
1533
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1525
1534
              you have headers in a nonstandard directory <include dir>
1526
1535
  CPP         C preprocessor
1527
 
  CXX         C++ compiler command
1528
 
  CXXFLAGS    C++ compiler flags
1529
 
  CXXCPP      C++ preprocessor
1530
 
  F77         Fortran 77 compiler command
1531
 
  FFLAGS      Fortran 77 compiler flags
1532
1536
  PKG_CONFIG  path to pkg-config utility
1533
1537
  CLUTTER_GST_CFLAGS
1534
1538
              C compiler flags for CLUTTER_GST, overriding pkg-config
1601
1605
test -n "$ac_init_help" && exit $ac_status
1602
1606
if $ac_init_version; then
1603
1607
  cat <<\_ACEOF
1604
 
clutter-gst configure 0.8.0
 
1608
clutter-gst configure 0.10.0
1605
1609
generated by GNU Autoconf 2.61
1606
1610
 
1607
1611
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1615
1619
This file contains any messages produced by compilers while
1616
1620
running configure, to aid debugging if configure makes a mistake.
1617
1621
 
1618
 
It was created by clutter-gst $as_me 0.8.0, which was
 
1622
It was created by clutter-gst $as_me 0.10.0, which was
1619
1623
generated by GNU Autoconf 2.61.  Invocation command line was
1620
1624
 
1621
1625
  $ $0 $@
1969
1973
 
1970
1974
 
1971
1975
 
1972
 
ac_config_headers="$ac_config_headers config.h"
1973
 
 
1974
 
 
1975
 
am__api_version='1.10'
1976
 
 
1977
1976
ac_aux_dir=
1978
 
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
1977
for ac_dir in build/autotools "$srcdir"/build/autotools; do
1979
1978
  if test -f "$ac_dir/install-sh"; then
1980
1979
    ac_aux_dir=$ac_dir
1981
1980
    ac_install_sh="$ac_aux_dir/install-sh -c"
1991
1990
  fi
1992
1991
done
1993
1992
if test -z "$ac_aux_dir"; then
1994
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1995
 
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
 
1993
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build/autotools \"$srcdir\"/build/autotools" >&5
 
1994
echo "$as_me: error: cannot find install-sh or install.sh in build/autotools \"$srcdir\"/build/autotools" >&2;}
1996
1995
   { (exit 1); exit 1; }; }
1997
1996
fi
1998
1997
 
2005
2004
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2006
2005
 
2007
2006
 
 
2007
 
 
2008
ac_config_headers="$ac_config_headers config.h"
 
2009
 
 
2010
 
 
2011
am__api_version='1.10'
 
2012
 
2008
2013
# Find a good install program.  We prefer a C program (faster),
2009
2014
# so one script is as good as another.  But avoid the broken or
2010
2015
# incompatible versions:
2309
2314
 
2310
2315
# Define the identity of the package.
2311
2316
 PACKAGE='clutter-gst'
2312
 
 VERSION='0.8.0'
 
2317
 VERSION='0.10.0'
2313
2318
 
2314
2319
 
2315
2320
cat >>confdefs.h <<_ACEOF
2457
2462
 
2458
2463
 
2459
2464
CLUTTER_GST_MAJOR_VERSION=0
2460
 
CLUTTER_GST_MINOR_VERSION=8
 
2465
CLUTTER_GST_MINOR_VERSION=10
2461
2466
CLUTTER_GST_MICRO_VERSION=0
2462
 
CLUTTER_GST_VERSION=0.8.0
2463
 
CLUTTER_GST_API_VERSION=0.8
2464
 
CLUTTER_GST_MAJORMINOR=0.8
2465
 
 
2466
 
 
2467
 
 
2468
 
 
2469
 
 
2470
 
 
2471
 
 
2472
 
 
2473
 
 
2474
 
 
2475
 
 
2476
 
CLUTTER_GST_LT_CURRENT=800
 
2467
CLUTTER_GST_VERSION=0.10.0
 
2468
CLUTTER_GST_API_VERSION=0.10
 
2469
CLUTTER_GST_MAJORMINOR=0.10
 
2470
CLUTTER_API_VERSION=1.0
 
2471
 
 
2472
 
 
2473
 
 
2474
 
 
2475
 
 
2476
 
 
2477
 
 
2478
 
 
2479
 
 
2480
 
 
2481
 
 
2482
 
 
2483
CLUTTER_GST_LT_CURRENT=1000
2477
2484
CLUTTER_GST_LT_REV=0
2478
 
CLUTTER_GST_LT_AGE=800
 
2485
CLUTTER_GST_LT_AGE=1000
2479
2486
CLUTTER_GST_LT_VERSION="$CLUTTER_GST_LT_CURRENT:$CLUTTER_GST_LT_REV:$CLUTTER_GST_LT_AGE"
2480
2487
CLUTTER_GST_LT_LDFLAGS="-version-info $CLUTTER_GST_LT_VERSION"
2481
2488
 
3573
3580
fi
3574
3581
 
3575
3582
 
 
3583
if test "x$CC" != xcc; then
 
3584
  { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
 
3585
echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
 
3586
else
 
3587
  { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
 
3588
echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
 
3589
fi
 
3590
set dummy $CC; ac_cc=`echo $2 |
 
3591
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 
3592
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
 
3593
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3594
else
 
3595
  cat >conftest.$ac_ext <<_ACEOF
 
3596
/* confdefs.h.  */
 
3597
_ACEOF
 
3598
cat confdefs.h >>conftest.$ac_ext
 
3599
cat >>conftest.$ac_ext <<_ACEOF
 
3600
/* end confdefs.h.  */
 
3601
 
 
3602
int
 
3603
main ()
 
3604
{
 
3605
 
 
3606
  ;
 
3607
  return 0;
 
3608
}
 
3609
_ACEOF
 
3610
# Make sure it works both with $CC and with simple cc.
 
3611
# We do the test twice because some compilers refuse to overwrite an
 
3612
# existing .o file with -o, though they will create one.
 
3613
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 
3614
rm -f conftest2.*
 
3615
if { (case "(($ac_try" in
 
3616
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3617
  *) ac_try_echo=$ac_try;;
 
3618
esac
 
3619
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3620
  (eval "$ac_try") 2>&5
 
3621
  ac_status=$?
 
3622
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3623
  (exit $ac_status); } &&
 
3624
   test -f conftest2.$ac_objext && { (case "(($ac_try" in
 
3625
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3626
  *) ac_try_echo=$ac_try;;
 
3627
esac
 
3628
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3629
  (eval "$ac_try") 2>&5
 
3630
  ac_status=$?
 
3631
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3632
  (exit $ac_status); };
 
3633
then
 
3634
  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
 
3635
  if test "x$CC" != xcc; then
 
3636
    # Test first that cc exists at all.
 
3637
    if { ac_try='cc -c conftest.$ac_ext >&5'
 
3638
  { (case "(($ac_try" in
 
3639
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3640
  *) ac_try_echo=$ac_try;;
 
3641
esac
 
3642
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3643
  (eval "$ac_try") 2>&5
 
3644
  ac_status=$?
 
3645
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3646
  (exit $ac_status); }; }; then
 
3647
      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 
3648
      rm -f conftest2.*
 
3649
      if { (case "(($ac_try" in
 
3650
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3651
  *) ac_try_echo=$ac_try;;
 
3652
esac
 
3653
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3654
  (eval "$ac_try") 2>&5
 
3655
  ac_status=$?
 
3656
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3657
  (exit $ac_status); } &&
 
3658
         test -f conftest2.$ac_objext && { (case "(($ac_try" in
 
3659
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3660
  *) ac_try_echo=$ac_try;;
 
3661
esac
 
3662
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3663
  (eval "$ac_try") 2>&5
 
3664
  ac_status=$?
 
3665
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3666
  (exit $ac_status); };
 
3667
      then
 
3668
        # cc works too.
 
3669
        :
 
3670
      else
 
3671
        # cc exists but doesn't like -o.
 
3672
        eval ac_cv_prog_cc_${ac_cc}_c_o=no
 
3673
      fi
 
3674
    fi
 
3675
  fi
 
3676
else
 
3677
  eval ac_cv_prog_cc_${ac_cc}_c_o=no
 
3678
fi
 
3679
rm -f core conftest*
 
3680
 
 
3681
fi
 
3682
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
 
3683
  { echo "$as_me:$LINENO: result: yes" >&5
 
3684
echo "${ECHO_T}yes" >&6; }
 
3685
else
 
3686
  { echo "$as_me:$LINENO: result: no" >&5
 
3687
echo "${ECHO_T}no" >&6; }
 
3688
 
 
3689
cat >>confdefs.h <<\_ACEOF
 
3690
#define NO_MINUS_C_MINUS_O 1
 
3691
_ACEOF
 
3692
 
 
3693
fi
 
3694
 
 
3695
# FIXME: we rely on the cache variable name because
 
3696
# there is no other way.
 
3697
set dummy $CC
 
3698
ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 
3699
if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
 
3700
   # Losing compiler, so override with the script.
 
3701
   # FIXME: It is wrong to rewrite CC.
 
3702
   # But if we don't then we get into trouble of one sort or another.
 
3703
   # A longer-term fix would be to have automake use am__CC in this case,
 
3704
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 
3705
   CC="$am_aux_dir/compile $CC"
 
3706
fi
 
3707
 
 
3708
 
3576
3709
# Check whether --enable-static was given.
3577
3710
if test "${enable_static+set}" = set; then
3578
3711
  enableval=$enable_static; p=${PACKAGE-default}
3598
3731
 
3599
3732
 
3600
3733
 
3601
 
# Check whether --enable-shared was given.
3602
 
if test "${enable_shared+set}" = set; then
3603
 
  enableval=$enable_shared; p=${PACKAGE-default}
3604
 
    case $enableval in
3605
 
    yes) enable_shared=yes ;;
3606
 
    no) enable_shared=no ;;
3607
 
    *)
3608
 
      enable_shared=no
3609
 
      # Look at the argument we got.  We use all the common list separators.
3610
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3611
 
      for pkg in $enableval; do
3612
 
        IFS="$lt_save_ifs"
3613
 
        if test "X$pkg" = "X$p"; then
3614
 
          enable_shared=yes
3615
 
        fi
3616
 
      done
3617
 
      IFS="$lt_save_ifs"
3618
 
      ;;
3619
 
    esac
3620
 
else
3621
 
  enable_shared=yes
3622
 
fi
3623
 
 
3624
 
 
3625
 
# Check whether --enable-fast-install was given.
3626
 
if test "${enable_fast_install+set}" = set; then
3627
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
3628
 
    case $enableval in
3629
 
    yes) enable_fast_install=yes ;;
3630
 
    no) enable_fast_install=no ;;
3631
 
    *)
3632
 
      enable_fast_install=no
3633
 
      # Look at the argument we got.  We use all the common list separators.
3634
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3635
 
      for pkg in $enableval; do
3636
 
        IFS="$lt_save_ifs"
3637
 
        if test "X$pkg" = "X$p"; then
3638
 
          enable_fast_install=yes
3639
 
        fi
3640
 
      done
3641
 
      IFS="$lt_save_ifs"
3642
 
      ;;
3643
 
    esac
3644
 
else
3645
 
  enable_fast_install=yes
3646
 
fi
3647
 
 
 
3734
 
 
3735
 
 
3736
 
 
3737
 
 
3738
 
 
3739
 
 
3740
case `pwd` in
 
3741
  *\ * | *\     *)
 
3742
    { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
3743
echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
3744
esac
 
3745
 
 
3746
 
 
3747
 
 
3748
macro_version='2.2.4'
 
3749
macro_revision='1.2976'
 
3750
 
 
3751
 
 
3752
 
 
3753
 
 
3754
 
 
3755
 
 
3756
 
 
3757
 
 
3758
 
 
3759
 
 
3760
 
 
3761
 
 
3762
 
 
3763
ltmain="$ac_aux_dir/ltmain.sh"
3648
3764
 
3649
3765
# Make sure we can run config.sub.
3650
3766
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3731
3847
 
3732
3848
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3733
3849
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3734
 
if test "${lt_cv_path_SED+set}" = set; then
3735
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3736
 
else
3737
 
  # Loop through the user's path and test for sed and gsed.
3738
 
# Then use that list of sed's as ones to test for truncation.
 
3850
if test "${ac_cv_path_SED+set}" = set; then
 
3851
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3852
else
 
3853
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
3854
     for ac_i in 1 2 3 4 5 6 7; do
 
3855
       ac_script="$ac_script$as_nl$ac_script"
 
3856
     done
 
3857
     echo "$ac_script" | sed 99q >conftest.sed
 
3858
     $as_unset ac_script || ac_script=
 
3859
     # Extract the first word of "sed gsed" to use in msg output
 
3860
if test -z "$SED"; then
 
3861
set dummy sed gsed; ac_prog_name=$2
 
3862
if test "${ac_cv_path_SED+set}" = set; then
 
3863
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3864
else
 
3865
  ac_path_SED_found=false
 
3866
# Loop through the user's path and test for each of PROGNAME-LIST
3739
3867
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3740
3868
for as_dir in $PATH
3741
3869
do
3742
3870
  IFS=$as_save_IFS
3743
3871
  test -z "$as_dir" && as_dir=.
3744
 
  for lt_ac_prog in sed gsed; do
3745
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3746
 
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
3747
 
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3748
 
      fi
3749
 
    done
3750
 
  done
 
3872
  for ac_prog in sed gsed; do
 
3873
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3874
    ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
3875
    { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
3876
    # Check for GNU ac_path_SED and select it if it is found.
 
3877
  # Check for GNU $ac_path_SED
 
3878
case `"$ac_path_SED" --version 2>&1` in
 
3879
*GNU*)
 
3880
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
3881
*)
 
3882
  ac_count=0
 
3883
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
3884
  while :
 
3885
  do
 
3886
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3887
    mv "conftest.tmp" "conftest.in"
 
3888
    cp "conftest.in" "conftest.nl"
 
3889
    echo '' >> "conftest.nl"
 
3890
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3891
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3892
    ac_count=`expr $ac_count + 1`
 
3893
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
3894
      # Best one so far, save it but keep looking for a better one
 
3895
      ac_cv_path_SED="$ac_path_SED"
 
3896
      ac_path_SED_max=$ac_count
 
3897
    fi
 
3898
    # 10*(2^10) chars as input seems more than enough
 
3899
    test $ac_count -gt 10 && break
 
3900
  done
 
3901
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3902
esac
 
3903
 
 
3904
 
 
3905
    $ac_path_SED_found && break 3
 
3906
  done
 
3907
done
 
3908
 
3751
3909
done
3752
3910
IFS=$as_save_IFS
3753
 
lt_ac_max=0
3754
 
lt_ac_count=0
3755
 
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
3756
 
# along with /bin/sed that truncates output.
3757
 
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3758
 
  test ! -f $lt_ac_sed && continue
3759
 
  cat /dev/null > conftest.in
3760
 
  lt_ac_count=0
3761
 
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3762
 
  # Check for GNU sed and select it if it is found.
3763
 
  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3764
 
    lt_cv_path_SED=$lt_ac_sed
3765
 
    break
3766
 
  fi
3767
 
  while true; do
3768
 
    cat conftest.in conftest.in >conftest.tmp
3769
 
    mv conftest.tmp conftest.in
3770
 
    cp conftest.in conftest.nl
3771
 
    echo >>conftest.nl
3772
 
    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3773
 
    cmp -s conftest.out conftest.nl || break
3774
 
    # 10000 chars as input seems more than enough
3775
 
    test $lt_ac_count -gt 10 && break
3776
 
    lt_ac_count=`expr $lt_ac_count + 1`
3777
 
    if test $lt_ac_count -gt $lt_ac_max; then
3778
 
      lt_ac_max=$lt_ac_count
3779
 
      lt_cv_path_SED=$lt_ac_sed
3780
 
    fi
3781
 
  done
3782
 
done
3783
 
 
3784
 
fi
3785
 
 
3786
 
SED=$lt_cv_path_SED
3787
 
 
3788
 
{ echo "$as_me:$LINENO: result: $SED" >&5
3789
 
echo "${ECHO_T}$SED" >&6; }
 
3911
 
 
3912
 
 
3913
fi
 
3914
 
 
3915
SED="$ac_cv_path_SED"
 
3916
if test -z "$SED"; then
 
3917
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
 
3918
echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
 
3919
   { (exit 1); exit 1; }; }
 
3920
fi
 
3921
 
 
3922
else
 
3923
  ac_cv_path_SED=$SED
 
3924
fi
 
3925
 
 
3926
fi
 
3927
{ echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
 
3928
echo "${ECHO_T}$ac_cv_path_SED" >&6; }
 
3929
 SED="$ac_cv_path_SED"
 
3930
  rm -f conftest.sed
 
3931
 
 
3932
test -z "$SED" && SED=sed
 
3933
Xsed="$SED -e 1s/^X//"
 
3934
 
 
3935
 
 
3936
 
 
3937
 
 
3938
 
 
3939
 
 
3940
 
 
3941
 
 
3942
 
 
3943
 
3790
3944
 
3791
3945
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3792
3946
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3950
4104
 EGREP="$ac_cv_path_EGREP"
3951
4105
 
3952
4106
 
 
4107
{ echo "$as_me:$LINENO: checking for fgrep" >&5
 
4108
echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; }
 
4109
if test "${ac_cv_path_FGREP+set}" = set; then
 
4110
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4111
else
 
4112
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
4113
   then ac_cv_path_FGREP="$GREP -F"
 
4114
   else
 
4115
     # Extract the first word of "fgrep" to use in msg output
 
4116
if test -z "$FGREP"; then
 
4117
set dummy fgrep; ac_prog_name=$2
 
4118
if test "${ac_cv_path_FGREP+set}" = set; then
 
4119
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4120
else
 
4121
  ac_path_FGREP_found=false
 
4122
# Loop through the user's path and test for each of PROGNAME-LIST
 
4123
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4124
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4125
do
 
4126
  IFS=$as_save_IFS
 
4127
  test -z "$as_dir" && as_dir=.
 
4128
  for ac_prog in fgrep; do
 
4129
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4130
    ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4131
    { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
4132
    # Check for GNU ac_path_FGREP and select it if it is found.
 
4133
  # Check for GNU $ac_path_FGREP
 
4134
case `"$ac_path_FGREP" --version 2>&1` in
 
4135
*GNU*)
 
4136
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
4137
*)
 
4138
  ac_count=0
 
4139
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4140
  while :
 
4141
  do
 
4142
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4143
    mv "conftest.tmp" "conftest.in"
 
4144
    cp "conftest.in" "conftest.nl"
 
4145
    echo 'FGREP' >> "conftest.nl"
 
4146
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4147
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4148
    ac_count=`expr $ac_count + 1`
 
4149
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
4150
      # Best one so far, save it but keep looking for a better one
 
4151
      ac_cv_path_FGREP="$ac_path_FGREP"
 
4152
      ac_path_FGREP_max=$ac_count
 
4153
    fi
 
4154
    # 10*(2^10) chars as input seems more than enough
 
4155
    test $ac_count -gt 10 && break
 
4156
  done
 
4157
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4158
esac
 
4159
 
 
4160
 
 
4161
    $ac_path_FGREP_found && break 3
 
4162
  done
 
4163
done
 
4164
 
 
4165
done
 
4166
IFS=$as_save_IFS
 
4167
 
 
4168
 
 
4169
fi
 
4170
 
 
4171
FGREP="$ac_cv_path_FGREP"
 
4172
if test -z "$FGREP"; then
 
4173
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4174
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4175
   { (exit 1); exit 1; }; }
 
4176
fi
 
4177
 
 
4178
else
 
4179
  ac_cv_path_FGREP=$FGREP
 
4180
fi
 
4181
 
 
4182
 
 
4183
   fi
 
4184
fi
 
4185
{ echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
 
4186
echo "${ECHO_T}$ac_cv_path_FGREP" >&6; }
 
4187
 FGREP="$ac_cv_path_FGREP"
 
4188
 
 
4189
 
 
4190
test -z "$GREP" && GREP=grep
 
4191
 
 
4192
 
 
4193
 
 
4194
 
 
4195
 
 
4196
 
 
4197
 
 
4198
 
 
4199
 
 
4200
 
 
4201
 
 
4202
 
 
4203
 
 
4204
 
 
4205
 
 
4206
 
 
4207
 
 
4208
 
3953
4209
 
3954
4210
# Check whether --with-gnu-ld was given.
3955
4211
if test "${with_gnu_ld+set}" = set; then
3975
4231
    [\\/]* | ?:[\\/]*)
3976
4232
      re_direlt='/[^/][^/]*/\.\./'
3977
4233
      # Canonicalize the pathname of ld
3978
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
3979
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3980
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 
4234
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
4235
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
4236
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3981
4237
      done
3982
4238
      test -z "$LD" && LD="$ac_prog"
3983
4239
      ;;
4057
4313
with_gnu_ld=$lt_cv_prog_gnu_ld
4058
4314
 
4059
4315
 
4060
 
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4061
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4062
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
4063
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4064
 
else
4065
 
  lt_cv_ld_reload_flag='-r'
4066
 
fi
4067
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4068
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4069
 
reload_flag=$lt_cv_ld_reload_flag
4070
 
case $reload_flag in
4071
 
"" | " "*) ;;
4072
 
*) reload_flag=" $reload_flag" ;;
4073
 
esac
4074
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4075
 
case $host_os in
4076
 
  darwin*)
4077
 
    if test "$GCC" = yes; then
4078
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4079
 
    else
4080
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
4081
 
    fi
4082
 
    ;;
4083
 
esac
4084
 
 
4085
 
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4086
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
 
4316
 
 
4317
 
 
4318
 
 
4319
 
 
4320
 
 
4321
 
 
4322
 
 
4323
{ echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
 
4324
echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6; }
4087
4325
if test "${lt_cv_path_NM+set}" = set; then
4088
4326
  echo $ECHO_N "(cached) $ECHO_C" >&6
4089
4327
else
4128
4366
    done
4129
4367
    IFS="$lt_save_ifs"
4130
4368
  done
4131
 
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
 
4369
  : ${lt_cv_path_NM=no}
4132
4370
fi
4133
4371
fi
4134
4372
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4135
4373
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4136
 
NM="$lt_cv_path_NM"
 
4374
if test "$lt_cv_path_NM" != "no"; then
 
4375
  NM="$lt_cv_path_NM"
 
4376
else
 
4377
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
4378
  if test -n "$ac_tool_prefix"; then
 
4379
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4380
  do
 
4381
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
4382
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
4383
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4384
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
4385
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
 
4386
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4387
else
 
4388
  if test -n "$DUMPBIN"; then
 
4389
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
4390
else
 
4391
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4392
for as_dir in $PATH
 
4393
do
 
4394
  IFS=$as_save_IFS
 
4395
  test -z "$as_dir" && as_dir=.
 
4396
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4397
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4398
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
4399
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4400
    break 2
 
4401
  fi
 
4402
done
 
4403
done
 
4404
IFS=$as_save_IFS
 
4405
 
 
4406
fi
 
4407
fi
 
4408
DUMPBIN=$ac_cv_prog_DUMPBIN
 
4409
if test -n "$DUMPBIN"; then
 
4410
  { echo "$as_me:$LINENO: result: $DUMPBIN" >&5
 
4411
echo "${ECHO_T}$DUMPBIN" >&6; }
 
4412
else
 
4413
  { echo "$as_me:$LINENO: result: no" >&5
 
4414
echo "${ECHO_T}no" >&6; }
 
4415
fi
 
4416
 
 
4417
 
 
4418
    test -n "$DUMPBIN" && break
 
4419
  done
 
4420
fi
 
4421
if test -z "$DUMPBIN"; then
 
4422
  ac_ct_DUMPBIN=$DUMPBIN
 
4423
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4424
do
 
4425
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
4426
set dummy $ac_prog; ac_word=$2
 
4427
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4428
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
4429
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
 
4430
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4431
else
 
4432
  if test -n "$ac_ct_DUMPBIN"; then
 
4433
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
4434
else
 
4435
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4436
for as_dir in $PATH
 
4437
do
 
4438
  IFS=$as_save_IFS
 
4439
  test -z "$as_dir" && as_dir=.
 
4440
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4441
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4442
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
4443
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4444
    break 2
 
4445
  fi
 
4446
done
 
4447
done
 
4448
IFS=$as_save_IFS
 
4449
 
 
4450
fi
 
4451
fi
 
4452
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
4453
if test -n "$ac_ct_DUMPBIN"; then
 
4454
  { echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
 
4455
echo "${ECHO_T}$ac_ct_DUMPBIN" >&6; }
 
4456
else
 
4457
  { echo "$as_me:$LINENO: result: no" >&5
 
4458
echo "${ECHO_T}no" >&6; }
 
4459
fi
 
4460
 
 
4461
 
 
4462
  test -n "$ac_ct_DUMPBIN" && break
 
4463
done
 
4464
 
 
4465
  if test "x$ac_ct_DUMPBIN" = x; then
 
4466
    DUMPBIN=":"
 
4467
  else
 
4468
    case $cross_compiling:$ac_tool_warned in
 
4469
yes:)
 
4470
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
4471
whose name does not start with the host triplet.  If you think this
 
4472
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
4473
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
4474
whose name does not start with the host triplet.  If you think this
 
4475
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
4476
ac_tool_warned=yes ;;
 
4477
esac
 
4478
    DUMPBIN=$ac_ct_DUMPBIN
 
4479
  fi
 
4480
fi
 
4481
 
 
4482
 
 
4483
  if test "$DUMPBIN" != ":"; then
 
4484
    NM="$DUMPBIN"
 
4485
  fi
 
4486
fi
 
4487
test -z "$NM" && NM=nm
 
4488
 
 
4489
 
 
4490
 
 
4491
 
 
4492
 
 
4493
 
 
4494
{ echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
 
4495
echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6; }
 
4496
if test "${lt_cv_nm_interface+set}" = set; then
 
4497
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4498
else
 
4499
  lt_cv_nm_interface="BSD nm"
 
4500
  echo "int some_variable = 0;" > conftest.$ac_ext
 
4501
  (eval echo "\"\$as_me:4501: $ac_compile\"" >&5)
 
4502
  (eval "$ac_compile" 2>conftest.err)
 
4503
  cat conftest.err >&5
 
4504
  (eval echo "\"\$as_me:4504: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
4505
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
4506
  cat conftest.err >&5
 
4507
  (eval echo "\"\$as_me:4507: output\"" >&5)
 
4508
  cat conftest.out >&5
 
4509
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
4510
    lt_cv_nm_interface="MS dumpbin"
 
4511
  fi
 
4512
  rm -f conftest*
 
4513
fi
 
4514
{ echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
 
4515
echo "${ECHO_T}$lt_cv_nm_interface" >&6; }
4137
4516
 
4138
4517
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
4139
4518
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4146
4525
echo "${ECHO_T}no, using $LN_S" >&6; }
4147
4526
fi
4148
4527
 
 
4528
# find the maximum length of command line arguments
 
4529
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
4530
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
 
4531
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 
4532
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4533
else
 
4534
    i=0
 
4535
  teststring="ABCD"
 
4536
 
 
4537
  case $build_os in
 
4538
  msdosdjgpp*)
 
4539
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
4540
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
4541
    # during glob expansion).  Even if it were fixed, the result of this
 
4542
    # check would be larger than it should be.
 
4543
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
4544
    ;;
 
4545
 
 
4546
  gnu*)
 
4547
    # Under GNU Hurd, this test is not required because there is
 
4548
    # no limit to the length of command line arguments.
 
4549
    # Libtool will interpret -1 as no limit whatsoever
 
4550
    lt_cv_sys_max_cmd_len=-1;
 
4551
    ;;
 
4552
 
 
4553
  cygwin* | mingw*)
 
4554
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
4555
    # about 5 minutes as the teststring grows exponentially.
 
4556
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
4557
    # you end up with a "frozen" computer, even though with patience
 
4558
    # the test eventually succeeds (with a max line length of 256k).
 
4559
    # Instead, let's just punt: use the minimum linelength reported by
 
4560
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
4561
    lt_cv_sys_max_cmd_len=8192;
 
4562
    ;;
 
4563
 
 
4564
  amigaos*)
 
4565
    # On AmigaOS with pdksh, this test takes hours, literally.
 
4566
    # So we just punt and use a minimum line length of 8192.
 
4567
    lt_cv_sys_max_cmd_len=8192;
 
4568
    ;;
 
4569
 
 
4570
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
4571
    # This has been around since 386BSD, at least.  Likely further.
 
4572
    if test -x /sbin/sysctl; then
 
4573
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
4574
    elif test -x /usr/sbin/sysctl; then
 
4575
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
4576
    else
 
4577
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
4578
    fi
 
4579
    # And add a safety zone
 
4580
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
4581
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
4582
    ;;
 
4583
 
 
4584
  interix*)
 
4585
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
4586
    lt_cv_sys_max_cmd_len=196608
 
4587
    ;;
 
4588
 
 
4589
  osf*)
 
4590
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
4591
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
4592
    # nice to cause kernel panics so lets avoid the loop below.
 
4593
    # First set a reasonable default.
 
4594
    lt_cv_sys_max_cmd_len=16384
 
4595
    #
 
4596
    if test -x /sbin/sysconfig; then
 
4597
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
4598
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
4599
      esac
 
4600
    fi
 
4601
    ;;
 
4602
  sco3.2v5*)
 
4603
    lt_cv_sys_max_cmd_len=102400
 
4604
    ;;
 
4605
  sysv5* | sco5v6* | sysv4.2uw2*)
 
4606
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
4607
    if test -n "$kargmax"; then
 
4608
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
4609
    else
 
4610
      lt_cv_sys_max_cmd_len=32768
 
4611
    fi
 
4612
    ;;
 
4613
  *)
 
4614
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
4615
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
4616
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
4617
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
4618
    else
 
4619
      # Make teststring a little bigger before we do anything with it.
 
4620
      # a 1K string should be a reasonable start.
 
4621
      for i in 1 2 3 4 5 6 7 8 ; do
 
4622
        teststring=$teststring$teststring
 
4623
      done
 
4624
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
4625
      # If test is not a shell built-in, we'll probably end up computing a
 
4626
      # maximum length that is only half of the actual maximum length, but
 
4627
      # we can't tell.
 
4628
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
 
4629
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
4630
              test $i != 17 # 1/2 MB should be enough
 
4631
      do
 
4632
        i=`expr $i + 1`
 
4633
        teststring=$teststring$teststring
 
4634
      done
 
4635
      # Only check the string length outside the loop.
 
4636
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
4637
      teststring=
 
4638
      # Add a significant safety factor because C++ compilers can tack on
 
4639
      # massive amounts of additional arguments before passing them to the
 
4640
      # linker.  It appears as though 1/2 is a usable value.
 
4641
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
4642
    fi
 
4643
    ;;
 
4644
  esac
 
4645
 
 
4646
fi
 
4647
 
 
4648
if test -n $lt_cv_sys_max_cmd_len ; then
 
4649
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
4650
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
 
4651
else
 
4652
  { echo "$as_me:$LINENO: result: none" >&5
 
4653
echo "${ECHO_T}none" >&6; }
 
4654
fi
 
4655
max_cmd_len=$lt_cv_sys_max_cmd_len
 
4656
 
 
4657
 
 
4658
 
 
4659
 
 
4660
 
 
4661
 
 
4662
: ${CP="cp -f"}
 
4663
: ${MV="mv -f"}
 
4664
: ${RM="rm -f"}
 
4665
 
 
4666
{ echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
 
4667
echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6; }
 
4668
# Try some XSI features
 
4669
xsi_shell=no
 
4670
( _lt_dummy="a/b/c"
 
4671
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 
4672
      = c,a/b,, \
 
4673
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
4674
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
4675
  && xsi_shell=yes
 
4676
{ echo "$as_me:$LINENO: result: $xsi_shell" >&5
 
4677
echo "${ECHO_T}$xsi_shell" >&6; }
 
4678
 
 
4679
 
 
4680
{ echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
 
4681
echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6; }
 
4682
lt_shell_append=no
 
4683
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
4684
    >/dev/null 2>&1 \
 
4685
  && lt_shell_append=yes
 
4686
{ echo "$as_me:$LINENO: result: $lt_shell_append" >&5
 
4687
echo "${ECHO_T}$lt_shell_append" >&6; }
 
4688
 
 
4689
 
 
4690
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
4691
  lt_unset=unset
 
4692
else
 
4693
  lt_unset=false
 
4694
fi
 
4695
 
 
4696
 
 
4697
 
 
4698
 
 
4699
 
 
4700
# test EBCDIC or ASCII
 
4701
case `echo X|tr X '\101'` in
 
4702
 A) # ASCII based system
 
4703
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
4704
  lt_SP2NL='tr \040 \012'
 
4705
  lt_NL2SP='tr \015\012 \040\040'
 
4706
  ;;
 
4707
 *) # EBCDIC based system
 
4708
  lt_SP2NL='tr \100 \n'
 
4709
  lt_NL2SP='tr \r\n \100\100'
 
4710
  ;;
 
4711
esac
 
4712
 
 
4713
 
 
4714
 
 
4715
 
 
4716
 
 
4717
 
 
4718
 
 
4719
 
 
4720
 
 
4721
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
4722
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
 
4723
if test "${lt_cv_ld_reload_flag+set}" = set; then
 
4724
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4725
else
 
4726
  lt_cv_ld_reload_flag='-r'
 
4727
fi
 
4728
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
4729
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
 
4730
reload_flag=$lt_cv_ld_reload_flag
 
4731
case $reload_flag in
 
4732
"" | " "*) ;;
 
4733
*) reload_flag=" $reload_flag" ;;
 
4734
esac
 
4735
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
4736
case $host_os in
 
4737
  darwin*)
 
4738
    if test "$GCC" = yes; then
 
4739
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
4740
    else
 
4741
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
4742
    fi
 
4743
    ;;
 
4744
esac
 
4745
 
 
4746
 
 
4747
 
 
4748
 
 
4749
 
 
4750
 
 
4751
 
 
4752
 
 
4753
 
 
4754
 
4149
4755
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4150
4756
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4151
4757
if test "${lt_cv_deplibs_check_method+set}" = set; then
4204
4810
  ;;
4205
4811
 
4206
4812
freebsd* | dragonfly*)
4207
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
4813
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4208
4814
    case $host_cpu in
4209
4815
    i*86 )
4210
4816
      # Not sure whether the presence of OpenBSD here was a mistake.
4262
4868
  ;;
4263
4869
 
4264
4870
netbsd* | netbsdelf*-gnu)
4265
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
4871
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4266
4872
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4267
4873
  else
4268
4874
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4275
4881
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
4276
4882
  ;;
4277
4883
 
4278
 
nto-qnx*)
4279
 
  lt_cv_deplibs_check_method=unknown
 
4884
*nto* | *qnx*)
 
4885
  lt_cv_deplibs_check_method=pass_all
4280
4886
  ;;
4281
4887
 
4282
4888
openbsd*)
4283
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
4889
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4284
4890
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4285
4891
  else
4286
4892
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4299
4905
  lt_cv_deplibs_check_method=pass_all
4300
4906
  ;;
4301
4907
 
 
4908
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
4909
  lt_cv_deplibs_check_method=pass_all
 
4910
  ;;
 
4911
 
4302
4912
sysv4 | sysv4.3*)
4303
4913
  case $host_vendor in
4304
4914
  motorola)
4326
4936
  esac
4327
4937
  ;;
4328
4938
 
4329
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
4939
tpf*)
4330
4940
  lt_cv_deplibs_check_method=pass_all
4331
4941
  ;;
4332
4942
esac
4341
4951
 
4342
4952
 
4343
4953
 
 
4954
 
 
4955
 
 
4956
 
 
4957
 
 
4958
 
 
4959
 
 
4960
 
 
4961
 
 
4962
if test -n "$ac_tool_prefix"; then
 
4963
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 
4964
set dummy ${ac_tool_prefix}ar; ac_word=$2
 
4965
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4966
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
4967
if test "${ac_cv_prog_AR+set}" = set; then
 
4968
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4969
else
 
4970
  if test -n "$AR"; then
 
4971
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
4972
else
 
4973
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4974
for as_dir in $PATH
 
4975
do
 
4976
  IFS=$as_save_IFS
 
4977
  test -z "$as_dir" && as_dir=.
 
4978
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4979
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4980
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
4981
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4982
    break 2
 
4983
  fi
 
4984
done
 
4985
done
 
4986
IFS=$as_save_IFS
 
4987
 
 
4988
fi
 
4989
fi
 
4990
AR=$ac_cv_prog_AR
 
4991
if test -n "$AR"; then
 
4992
  { echo "$as_me:$LINENO: result: $AR" >&5
 
4993
echo "${ECHO_T}$AR" >&6; }
 
4994
else
 
4995
  { echo "$as_me:$LINENO: result: no" >&5
 
4996
echo "${ECHO_T}no" >&6; }
 
4997
fi
 
4998
 
 
4999
 
 
5000
fi
 
5001
if test -z "$ac_cv_prog_AR"; then
 
5002
  ac_ct_AR=$AR
 
5003
  # Extract the first word of "ar", so it can be a program name with args.
 
5004
set dummy ar; ac_word=$2
 
5005
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5006
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5007
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
5008
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5009
else
 
5010
  if test -n "$ac_ct_AR"; then
 
5011
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
5012
else
 
5013
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5014
for as_dir in $PATH
 
5015
do
 
5016
  IFS=$as_save_IFS
 
5017
  test -z "$as_dir" && as_dir=.
 
5018
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5019
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5020
    ac_cv_prog_ac_ct_AR="ar"
 
5021
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5022
    break 2
 
5023
  fi
 
5024
done
 
5025
done
 
5026
IFS=$as_save_IFS
 
5027
 
 
5028
fi
 
5029
fi
 
5030
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
5031
if test -n "$ac_ct_AR"; then
 
5032
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
5033
echo "${ECHO_T}$ac_ct_AR" >&6; }
 
5034
else
 
5035
  { echo "$as_me:$LINENO: result: no" >&5
 
5036
echo "${ECHO_T}no" >&6; }
 
5037
fi
 
5038
 
 
5039
  if test "x$ac_ct_AR" = x; then
 
5040
    AR="false"
 
5041
  else
 
5042
    case $cross_compiling:$ac_tool_warned in
 
5043
yes:)
 
5044
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
5045
whose name does not start with the host triplet.  If you think this
 
5046
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
5047
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
5048
whose name does not start with the host triplet.  If you think this
 
5049
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
5050
ac_tool_warned=yes ;;
 
5051
esac
 
5052
    AR=$ac_ct_AR
 
5053
  fi
 
5054
else
 
5055
  AR="$ac_cv_prog_AR"
 
5056
fi
 
5057
 
 
5058
test -z "$AR" && AR=ar
 
5059
test -z "$AR_FLAGS" && AR_FLAGS=cru
 
5060
 
 
5061
 
 
5062
 
 
5063
 
 
5064
 
 
5065
 
 
5066
 
 
5067
 
 
5068
 
 
5069
 
 
5070
 
 
5071
if test -n "$ac_tool_prefix"; then
 
5072
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
5073
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
5074
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5075
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5076
if test "${ac_cv_prog_STRIP+set}" = set; then
 
5077
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5078
else
 
5079
  if test -n "$STRIP"; then
 
5080
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
5081
else
 
5082
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5083
for as_dir in $PATH
 
5084
do
 
5085
  IFS=$as_save_IFS
 
5086
  test -z "$as_dir" && as_dir=.
 
5087
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5088
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5089
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
5090
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5091
    break 2
 
5092
  fi
 
5093
done
 
5094
done
 
5095
IFS=$as_save_IFS
 
5096
 
 
5097
fi
 
5098
fi
 
5099
STRIP=$ac_cv_prog_STRIP
 
5100
if test -n "$STRIP"; then
 
5101
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
5102
echo "${ECHO_T}$STRIP" >&6; }
 
5103
else
 
5104
  { echo "$as_me:$LINENO: result: no" >&5
 
5105
echo "${ECHO_T}no" >&6; }
 
5106
fi
 
5107
 
 
5108
 
 
5109
fi
 
5110
if test -z "$ac_cv_prog_STRIP"; then
 
5111
  ac_ct_STRIP=$STRIP
 
5112
  # Extract the first word of "strip", so it can be a program name with args.
 
5113
set dummy strip; ac_word=$2
 
5114
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5115
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5116
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
5117
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5118
else
 
5119
  if test -n "$ac_ct_STRIP"; then
 
5120
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
5121
else
 
5122
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5123
for as_dir in $PATH
 
5124
do
 
5125
  IFS=$as_save_IFS
 
5126
  test -z "$as_dir" && as_dir=.
 
5127
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5128
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5129
    ac_cv_prog_ac_ct_STRIP="strip"
 
5130
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5131
    break 2
 
5132
  fi
 
5133
done
 
5134
done
 
5135
IFS=$as_save_IFS
 
5136
 
 
5137
fi
 
5138
fi
 
5139
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
5140
if test -n "$ac_ct_STRIP"; then
 
5141
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
5142
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
 
5143
else
 
5144
  { echo "$as_me:$LINENO: result: no" >&5
 
5145
echo "${ECHO_T}no" >&6; }
 
5146
fi
 
5147
 
 
5148
  if test "x$ac_ct_STRIP" = x; then
 
5149
    STRIP=":"
 
5150
  else
 
5151
    case $cross_compiling:$ac_tool_warned in
 
5152
yes:)
 
5153
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
5154
whose name does not start with the host triplet.  If you think this
 
5155
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
5156
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
5157
whose name does not start with the host triplet.  If you think this
 
5158
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
5159
ac_tool_warned=yes ;;
 
5160
esac
 
5161
    STRIP=$ac_ct_STRIP
 
5162
  fi
 
5163
else
 
5164
  STRIP="$ac_cv_prog_STRIP"
 
5165
fi
 
5166
 
 
5167
test -z "$STRIP" && STRIP=:
 
5168
 
 
5169
 
 
5170
 
 
5171
 
 
5172
 
 
5173
 
 
5174
if test -n "$ac_tool_prefix"; then
 
5175
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
5176
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
5177
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5178
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5179
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
5180
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5181
else
 
5182
  if test -n "$RANLIB"; then
 
5183
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
5184
else
 
5185
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5186
for as_dir in $PATH
 
5187
do
 
5188
  IFS=$as_save_IFS
 
5189
  test -z "$as_dir" && as_dir=.
 
5190
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5191
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5192
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
5193
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5194
    break 2
 
5195
  fi
 
5196
done
 
5197
done
 
5198
IFS=$as_save_IFS
 
5199
 
 
5200
fi
 
5201
fi
 
5202
RANLIB=$ac_cv_prog_RANLIB
 
5203
if test -n "$RANLIB"; then
 
5204
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
 
5205
echo "${ECHO_T}$RANLIB" >&6; }
 
5206
else
 
5207
  { echo "$as_me:$LINENO: result: no" >&5
 
5208
echo "${ECHO_T}no" >&6; }
 
5209
fi
 
5210
 
 
5211
 
 
5212
fi
 
5213
if test -z "$ac_cv_prog_RANLIB"; then
 
5214
  ac_ct_RANLIB=$RANLIB
 
5215
  # Extract the first word of "ranlib", so it can be a program name with args.
 
5216
set dummy ranlib; ac_word=$2
 
5217
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5218
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5219
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
5220
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5221
else
 
5222
  if test -n "$ac_ct_RANLIB"; then
 
5223
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
5224
else
 
5225
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5226
for as_dir in $PATH
 
5227
do
 
5228
  IFS=$as_save_IFS
 
5229
  test -z "$as_dir" && as_dir=.
 
5230
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5231
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5232
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
5233
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5234
    break 2
 
5235
  fi
 
5236
done
 
5237
done
 
5238
IFS=$as_save_IFS
 
5239
 
 
5240
fi
 
5241
fi
 
5242
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
5243
if test -n "$ac_ct_RANLIB"; then
 
5244
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
5245
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
 
5246
else
 
5247
  { echo "$as_me:$LINENO: result: no" >&5
 
5248
echo "${ECHO_T}no" >&6; }
 
5249
fi
 
5250
 
 
5251
  if test "x$ac_ct_RANLIB" = x; then
 
5252
    RANLIB=":"
 
5253
  else
 
5254
    case $cross_compiling:$ac_tool_warned in
 
5255
yes:)
 
5256
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
5257
whose name does not start with the host triplet.  If you think this
 
5258
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
5259
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
5260
whose name does not start with the host triplet.  If you think this
 
5261
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
5262
ac_tool_warned=yes ;;
 
5263
esac
 
5264
    RANLIB=$ac_ct_RANLIB
 
5265
  fi
 
5266
else
 
5267
  RANLIB="$ac_cv_prog_RANLIB"
 
5268
fi
 
5269
 
 
5270
test -z "$RANLIB" && RANLIB=:
 
5271
 
 
5272
 
 
5273
 
 
5274
 
 
5275
 
 
5276
 
 
5277
# Determine commands to create old-style static archives.
 
5278
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
5279
old_postinstall_cmds='chmod 644 $oldlib'
 
5280
old_postuninstall_cmds=
 
5281
 
 
5282
if test -n "$RANLIB"; then
 
5283
  case $host_os in
 
5284
  openbsd*)
 
5285
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
5286
    ;;
 
5287
  *)
 
5288
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
5289
    ;;
 
5290
  esac
 
5291
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
5292
fi
 
5293
 
 
5294
 
 
5295
 
 
5296
 
 
5297
 
 
5298
 
 
5299
 
 
5300
 
 
5301
 
 
5302
 
 
5303
 
 
5304
 
 
5305
 
 
5306
 
 
5307
 
 
5308
 
 
5309
 
 
5310
 
 
5311
 
 
5312
 
 
5313
 
 
5314
 
 
5315
 
 
5316
 
 
5317
 
 
5318
 
 
5319
 
 
5320
 
 
5321
 
 
5322
 
 
5323
 
 
5324
 
 
5325
 
 
5326
 
4344
5327
# If no C compiler was specified, use CC.
4345
5328
LTCC=${LTCC-"$CC"}
4346
5329
 
4351
5334
compiler=$CC
4352
5335
 
4353
5336
 
4354
 
# Check whether --enable-libtool-lock was given.
4355
 
if test "${enable_libtool_lock+set}" = set; then
4356
 
  enableval=$enable_libtool_lock;
4357
 
fi
4358
 
 
4359
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4360
 
 
4361
 
# Some flags need to be propagated to the compiler or linker for good
4362
 
# libtool support.
4363
 
case $host in
4364
 
ia64-*-hpux*)
4365
 
  # Find out which ABI we are using.
4366
 
  echo 'int i;' > conftest.$ac_ext
4367
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4368
 
  (eval $ac_compile) 2>&5
4369
 
  ac_status=$?
4370
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4371
 
  (exit $ac_status); }; then
4372
 
    case `/usr/bin/file conftest.$ac_objext` in
4373
 
    *ELF-32*)
4374
 
      HPUX_IA64_MODE="32"
4375
 
      ;;
4376
 
    *ELF-64*)
4377
 
      HPUX_IA64_MODE="64"
4378
 
      ;;
4379
 
    esac
4380
 
  fi
4381
 
  rm -rf conftest*
4382
 
  ;;
4383
 
*-*-irix6*)
4384
 
  # Find out which ABI we are using.
4385
 
  echo '#line 4385 "configure"' > conftest.$ac_ext
4386
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4387
 
  (eval $ac_compile) 2>&5
4388
 
  ac_status=$?
4389
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4390
 
  (exit $ac_status); }; then
4391
 
   if test "$lt_cv_prog_gnu_ld" = yes; then
4392
 
    case `/usr/bin/file conftest.$ac_objext` in
4393
 
    *32-bit*)
4394
 
      LD="${LD-ld} -melf32bsmip"
4395
 
      ;;
4396
 
    *N32*)
4397
 
      LD="${LD-ld} -melf32bmipn32"
4398
 
      ;;
4399
 
    *64-bit*)
4400
 
      LD="${LD-ld} -melf64bmip"
4401
 
      ;;
4402
 
    esac
4403
 
   else
4404
 
    case `/usr/bin/file conftest.$ac_objext` in
4405
 
    *32-bit*)
4406
 
      LD="${LD-ld} -32"
4407
 
      ;;
4408
 
    *N32*)
4409
 
      LD="${LD-ld} -n32"
4410
 
      ;;
4411
 
    *64-bit*)
4412
 
      LD="${LD-ld} -64"
4413
 
      ;;
4414
 
    esac
4415
 
   fi
4416
 
  fi
4417
 
  rm -rf conftest*
4418
 
  ;;
4419
 
 
4420
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
4421
 
s390*-*linux*|sparc*-*linux*)
4422
 
  # Find out which ABI we are using.
4423
 
  echo 'int i;' > conftest.$ac_ext
4424
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4425
 
  (eval $ac_compile) 2>&5
4426
 
  ac_status=$?
4427
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4428
 
  (exit $ac_status); }; then
4429
 
    case `/usr/bin/file conftest.o` in
4430
 
    *32-bit*)
4431
 
      case $host in
4432
 
        x86_64-*kfreebsd*-gnu)
4433
 
          LD="${LD-ld} -m elf_i386_fbsd"
4434
 
          ;;
4435
 
        x86_64-*linux*)
4436
 
          LD="${LD-ld} -m elf_i386"
4437
 
          ;;
4438
 
        ppc64-*linux*|powerpc64-*linux*)
4439
 
          LD="${LD-ld} -m elf32ppclinux"
4440
 
          ;;
4441
 
        s390x-*linux*)
4442
 
          LD="${LD-ld} -m elf_s390"
4443
 
          ;;
4444
 
        sparc64-*linux*)
4445
 
          LD="${LD-ld} -m elf32_sparc"
4446
 
          ;;
4447
 
      esac
4448
 
      ;;
4449
 
    *64-bit*)
4450
 
      case $host in
4451
 
        x86_64-*kfreebsd*-gnu)
4452
 
          LD="${LD-ld} -m elf_x86_64_fbsd"
4453
 
          ;;
4454
 
        x86_64-*linux*)
4455
 
          LD="${LD-ld} -m elf_x86_64"
4456
 
          ;;
4457
 
        ppc*-*linux*|powerpc*-*linux*)
4458
 
          LD="${LD-ld} -m elf64ppc"
4459
 
          ;;
4460
 
        s390*-*linux*)
4461
 
          LD="${LD-ld} -m elf64_s390"
4462
 
          ;;
4463
 
        sparc*-*linux*)
4464
 
          LD="${LD-ld} -m elf64_sparc"
4465
 
          ;;
4466
 
      esac
4467
 
      ;;
4468
 
    esac
4469
 
  fi
4470
 
  rm -rf conftest*
4471
 
  ;;
4472
 
 
4473
 
*-*-sco3.2v5*)
4474
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4475
 
  SAVE_CFLAGS="$CFLAGS"
4476
 
  CFLAGS="$CFLAGS -belf"
4477
 
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4478
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4479
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
4480
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4481
 
else
4482
 
  ac_ext=c
4483
 
ac_cpp='$CPP $CPPFLAGS'
4484
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4485
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4486
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4487
 
 
4488
 
     cat >conftest.$ac_ext <<_ACEOF
4489
 
/* confdefs.h.  */
4490
 
_ACEOF
4491
 
cat confdefs.h >>conftest.$ac_ext
4492
 
cat >>conftest.$ac_ext <<_ACEOF
4493
 
/* end confdefs.h.  */
4494
 
 
4495
 
int
4496
 
main ()
4497
 
{
4498
 
 
4499
 
  ;
4500
 
  return 0;
4501
 
}
4502
 
_ACEOF
4503
 
rm -f conftest.$ac_objext conftest$ac_exeext
4504
 
if { (ac_try="$ac_link"
4505
 
case "(($ac_try" in
4506
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4507
 
  *) ac_try_echo=$ac_try;;
4508
 
esac
4509
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4510
 
  (eval "$ac_link") 2>conftest.er1
4511
 
  ac_status=$?
4512
 
  grep -v '^ *+' conftest.er1 >conftest.err
4513
 
  rm -f conftest.er1
4514
 
  cat conftest.err >&5
4515
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4516
 
  (exit $ac_status); } && {
4517
 
         test -z "$ac_c_werror_flag" ||
4518
 
         test ! -s conftest.err
4519
 
       } && test -s conftest$ac_exeext &&
4520
 
       $as_test_x conftest$ac_exeext; then
4521
 
  lt_cv_cc_needs_belf=yes
4522
 
else
4523
 
  echo "$as_me: failed program was:" >&5
4524
 
sed 's/^/| /' conftest.$ac_ext >&5
4525
 
 
4526
 
        lt_cv_cc_needs_belf=no
4527
 
fi
4528
 
 
4529
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4530
 
      conftest$ac_exeext conftest.$ac_ext
4531
 
     ac_ext=c
4532
 
ac_cpp='$CPP $CPPFLAGS'
4533
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4534
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4535
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4536
 
 
4537
 
fi
4538
 
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4539
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4540
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4541
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4542
 
    CFLAGS="$SAVE_CFLAGS"
4543
 
  fi
4544
 
  ;;
4545
 
sparc*-*solaris*)
4546
 
  # Find out which ABI we are using.
4547
 
  echo 'int i;' > conftest.$ac_ext
4548
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4549
 
  (eval $ac_compile) 2>&5
4550
 
  ac_status=$?
4551
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4552
 
  (exit $ac_status); }; then
4553
 
    case `/usr/bin/file conftest.o` in
4554
 
    *64-bit*)
4555
 
      case $lt_cv_prog_gnu_ld in
4556
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
4557
 
      *)
4558
 
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
4559
 
          LD="${LD-ld} -64"
4560
 
        fi
4561
 
        ;;
4562
 
      esac
4563
 
      ;;
4564
 
    esac
4565
 
  fi
4566
 
  rm -rf conftest*
4567
 
  ;;
4568
 
 
4569
 
 
4570
 
esac
4571
 
 
4572
 
need_locks="$enable_libtool_lock"
4573
 
 
4574
 
 
4575
 
ac_ext=c
4576
 
ac_cpp='$CPP $CPPFLAGS'
4577
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4578
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4579
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4580
 
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4581
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4582
 
# On Suns, sometimes $CPP names a directory.
4583
 
if test -n "$CPP" && test -d "$CPP"; then
4584
 
  CPP=
4585
 
fi
4586
 
if test -z "$CPP"; then
4587
 
  if test "${ac_cv_prog_CPP+set}" = set; then
4588
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4589
 
else
4590
 
      # Double quotes because CPP needs to be expanded
4591
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4592
 
    do
4593
 
      ac_preproc_ok=false
4594
 
for ac_c_preproc_warn_flag in '' yes
4595
 
do
4596
 
  # Use a header file that comes with gcc, so configuring glibc
4597
 
  # with a fresh cross-compiler works.
4598
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4599
 
  # <limits.h> exists even on freestanding compilers.
4600
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4601
 
  # not just through cpp. "Syntax error" is here to catch this case.
4602
 
  cat >conftest.$ac_ext <<_ACEOF
4603
 
/* confdefs.h.  */
4604
 
_ACEOF
4605
 
cat confdefs.h >>conftest.$ac_ext
4606
 
cat >>conftest.$ac_ext <<_ACEOF
4607
 
/* end confdefs.h.  */
4608
 
#ifdef __STDC__
4609
 
# include <limits.h>
4610
 
#else
4611
 
# include <assert.h>
4612
 
#endif
4613
 
                     Syntax error
4614
 
_ACEOF
4615
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4616
 
case "(($ac_try" in
4617
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4618
 
  *) ac_try_echo=$ac_try;;
4619
 
esac
4620
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4621
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4622
 
  ac_status=$?
4623
 
  grep -v '^ *+' conftest.er1 >conftest.err
4624
 
  rm -f conftest.er1
4625
 
  cat conftest.err >&5
4626
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4627
 
  (exit $ac_status); } >/dev/null && {
4628
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4629
 
         test ! -s conftest.err
4630
 
       }; then
4631
 
  :
4632
 
else
4633
 
  echo "$as_me: failed program was:" >&5
4634
 
sed 's/^/| /' conftest.$ac_ext >&5
4635
 
 
4636
 
  # Broken: fails on valid input.
4637
 
continue
4638
 
fi
4639
 
 
4640
 
rm -f conftest.err conftest.$ac_ext
4641
 
 
4642
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4643
 
  # can be detected and how.
4644
 
  cat >conftest.$ac_ext <<_ACEOF
4645
 
/* confdefs.h.  */
4646
 
_ACEOF
4647
 
cat confdefs.h >>conftest.$ac_ext
4648
 
cat >>conftest.$ac_ext <<_ACEOF
4649
 
/* end confdefs.h.  */
4650
 
#include <ac_nonexistent.h>
4651
 
_ACEOF
4652
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4653
 
case "(($ac_try" in
4654
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4655
 
  *) ac_try_echo=$ac_try;;
4656
 
esac
4657
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4658
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4659
 
  ac_status=$?
4660
 
  grep -v '^ *+' conftest.er1 >conftest.err
4661
 
  rm -f conftest.er1
4662
 
  cat conftest.err >&5
4663
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4664
 
  (exit $ac_status); } >/dev/null && {
4665
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4666
 
         test ! -s conftest.err
4667
 
       }; then
4668
 
  # Broken: success on invalid input.
4669
 
continue
4670
 
else
4671
 
  echo "$as_me: failed program was:" >&5
4672
 
sed 's/^/| /' conftest.$ac_ext >&5
4673
 
 
4674
 
  # Passes both tests.
4675
 
ac_preproc_ok=:
4676
 
break
4677
 
fi
4678
 
 
4679
 
rm -f conftest.err conftest.$ac_ext
4680
 
 
4681
 
done
4682
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4683
 
rm -f conftest.err conftest.$ac_ext
4684
 
if $ac_preproc_ok; then
4685
 
  break
4686
 
fi
4687
 
 
4688
 
    done
4689
 
    ac_cv_prog_CPP=$CPP
4690
 
 
4691
 
fi
4692
 
  CPP=$ac_cv_prog_CPP
4693
 
else
4694
 
  ac_cv_prog_CPP=$CPP
4695
 
fi
4696
 
{ echo "$as_me:$LINENO: result: $CPP" >&5
4697
 
echo "${ECHO_T}$CPP" >&6; }
4698
 
ac_preproc_ok=false
4699
 
for ac_c_preproc_warn_flag in '' yes
4700
 
do
4701
 
  # Use a header file that comes with gcc, so configuring glibc
4702
 
  # with a fresh cross-compiler works.
4703
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4704
 
  # <limits.h> exists even on freestanding compilers.
4705
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4706
 
  # not just through cpp. "Syntax error" is here to catch this case.
4707
 
  cat >conftest.$ac_ext <<_ACEOF
4708
 
/* confdefs.h.  */
4709
 
_ACEOF
4710
 
cat confdefs.h >>conftest.$ac_ext
4711
 
cat >>conftest.$ac_ext <<_ACEOF
4712
 
/* end confdefs.h.  */
4713
 
#ifdef __STDC__
4714
 
# include <limits.h>
4715
 
#else
4716
 
# include <assert.h>
4717
 
#endif
4718
 
                     Syntax error
4719
 
_ACEOF
4720
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4721
 
case "(($ac_try" in
4722
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4723
 
  *) ac_try_echo=$ac_try;;
4724
 
esac
4725
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4726
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4727
 
  ac_status=$?
4728
 
  grep -v '^ *+' conftest.er1 >conftest.err
4729
 
  rm -f conftest.er1
4730
 
  cat conftest.err >&5
4731
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4732
 
  (exit $ac_status); } >/dev/null && {
4733
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4734
 
         test ! -s conftest.err
4735
 
       }; then
4736
 
  :
4737
 
else
4738
 
  echo "$as_me: failed program was:" >&5
4739
 
sed 's/^/| /' conftest.$ac_ext >&5
4740
 
 
4741
 
  # Broken: fails on valid input.
4742
 
continue
4743
 
fi
4744
 
 
4745
 
rm -f conftest.err conftest.$ac_ext
4746
 
 
4747
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4748
 
  # can be detected and how.
4749
 
  cat >conftest.$ac_ext <<_ACEOF
4750
 
/* confdefs.h.  */
4751
 
_ACEOF
4752
 
cat confdefs.h >>conftest.$ac_ext
4753
 
cat >>conftest.$ac_ext <<_ACEOF
4754
 
/* end confdefs.h.  */
4755
 
#include <ac_nonexistent.h>
4756
 
_ACEOF
4757
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4758
 
case "(($ac_try" in
4759
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4760
 
  *) ac_try_echo=$ac_try;;
4761
 
esac
4762
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4763
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4764
 
  ac_status=$?
4765
 
  grep -v '^ *+' conftest.er1 >conftest.err
4766
 
  rm -f conftest.er1
4767
 
  cat conftest.err >&5
4768
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4769
 
  (exit $ac_status); } >/dev/null && {
4770
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4771
 
         test ! -s conftest.err
4772
 
       }; then
4773
 
  # Broken: success on invalid input.
4774
 
continue
4775
 
else
4776
 
  echo "$as_me: failed program was:" >&5
4777
 
sed 's/^/| /' conftest.$ac_ext >&5
4778
 
 
4779
 
  # Passes both tests.
4780
 
ac_preproc_ok=:
4781
 
break
4782
 
fi
4783
 
 
4784
 
rm -f conftest.err conftest.$ac_ext
4785
 
 
4786
 
done
4787
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4788
 
rm -f conftest.err conftest.$ac_ext
4789
 
if $ac_preproc_ok; then
4790
 
  :
4791
 
else
4792
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4793
 
See \`config.log' for more details." >&5
4794
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4795
 
See \`config.log' for more details." >&2;}
4796
 
   { (exit 1); exit 1; }; }
4797
 
fi
4798
 
 
4799
 
ac_ext=c
4800
 
ac_cpp='$CPP $CPPFLAGS'
4801
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4802
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4803
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4804
 
 
4805
 
 
4806
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4807
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4808
 
if test "${ac_cv_header_stdc+set}" = set; then
4809
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4810
 
else
4811
 
  cat >conftest.$ac_ext <<_ACEOF
4812
 
/* confdefs.h.  */
4813
 
_ACEOF
4814
 
cat confdefs.h >>conftest.$ac_ext
4815
 
cat >>conftest.$ac_ext <<_ACEOF
4816
 
/* end confdefs.h.  */
4817
 
#include <stdlib.h>
4818
 
#include <stdarg.h>
4819
 
#include <string.h>
4820
 
#include <float.h>
4821
 
 
4822
 
int
4823
 
main ()
4824
 
{
4825
 
 
4826
 
  ;
4827
 
  return 0;
4828
 
}
4829
 
_ACEOF
4830
 
rm -f conftest.$ac_objext
4831
 
if { (ac_try="$ac_compile"
4832
 
case "(($ac_try" in
4833
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4834
 
  *) ac_try_echo=$ac_try;;
4835
 
esac
4836
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4837
 
  (eval "$ac_compile") 2>conftest.er1
4838
 
  ac_status=$?
4839
 
  grep -v '^ *+' conftest.er1 >conftest.err
4840
 
  rm -f conftest.er1
4841
 
  cat conftest.err >&5
4842
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4843
 
  (exit $ac_status); } && {
4844
 
         test -z "$ac_c_werror_flag" ||
4845
 
         test ! -s conftest.err
4846
 
       } && test -s conftest.$ac_objext; then
4847
 
  ac_cv_header_stdc=yes
4848
 
else
4849
 
  echo "$as_me: failed program was:" >&5
4850
 
sed 's/^/| /' conftest.$ac_ext >&5
4851
 
 
4852
 
        ac_cv_header_stdc=no
4853
 
fi
4854
 
 
4855
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4856
 
 
4857
 
if test $ac_cv_header_stdc = yes; then
4858
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4859
 
  cat >conftest.$ac_ext <<_ACEOF
4860
 
/* confdefs.h.  */
4861
 
_ACEOF
4862
 
cat confdefs.h >>conftest.$ac_ext
4863
 
cat >>conftest.$ac_ext <<_ACEOF
4864
 
/* end confdefs.h.  */
4865
 
#include <string.h>
4866
 
 
4867
 
_ACEOF
4868
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4869
 
  $EGREP "memchr" >/dev/null 2>&1; then
4870
 
  :
4871
 
else
4872
 
  ac_cv_header_stdc=no
4873
 
fi
4874
 
rm -f conftest*
4875
 
 
4876
 
fi
4877
 
 
4878
 
if test $ac_cv_header_stdc = yes; then
4879
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4880
 
  cat >conftest.$ac_ext <<_ACEOF
4881
 
/* confdefs.h.  */
4882
 
_ACEOF
4883
 
cat confdefs.h >>conftest.$ac_ext
4884
 
cat >>conftest.$ac_ext <<_ACEOF
4885
 
/* end confdefs.h.  */
4886
 
#include <stdlib.h>
4887
 
 
4888
 
_ACEOF
4889
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4890
 
  $EGREP "free" >/dev/null 2>&1; then
4891
 
  :
4892
 
else
4893
 
  ac_cv_header_stdc=no
4894
 
fi
4895
 
rm -f conftest*
4896
 
 
4897
 
fi
4898
 
 
4899
 
if test $ac_cv_header_stdc = yes; then
4900
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4901
 
  if test "$cross_compiling" = yes; then
4902
 
  :
4903
 
else
4904
 
  cat >conftest.$ac_ext <<_ACEOF
4905
 
/* confdefs.h.  */
4906
 
_ACEOF
4907
 
cat confdefs.h >>conftest.$ac_ext
4908
 
cat >>conftest.$ac_ext <<_ACEOF
4909
 
/* end confdefs.h.  */
4910
 
#include <ctype.h>
4911
 
#include <stdlib.h>
4912
 
#if ((' ' & 0x0FF) == 0x020)
4913
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4914
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4915
 
#else
4916
 
# define ISLOWER(c) \
4917
 
                   (('a' <= (c) && (c) <= 'i') \
4918
 
                     || ('j' <= (c) && (c) <= 'r') \
4919
 
                     || ('s' <= (c) && (c) <= 'z'))
4920
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4921
 
#endif
4922
 
 
4923
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4924
 
int
4925
 
main ()
4926
 
{
4927
 
  int i;
4928
 
  for (i = 0; i < 256; i++)
4929
 
    if (XOR (islower (i), ISLOWER (i))
4930
 
        || toupper (i) != TOUPPER (i))
4931
 
      return 2;
4932
 
  return 0;
4933
 
}
4934
 
_ACEOF
4935
 
rm -f conftest$ac_exeext
4936
 
if { (ac_try="$ac_link"
4937
 
case "(($ac_try" in
4938
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4939
 
  *) ac_try_echo=$ac_try;;
4940
 
esac
4941
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4942
 
  (eval "$ac_link") 2>&5
4943
 
  ac_status=$?
4944
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4945
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4946
 
  { (case "(($ac_try" in
4947
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4948
 
  *) ac_try_echo=$ac_try;;
4949
 
esac
4950
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4951
 
  (eval "$ac_try") 2>&5
4952
 
  ac_status=$?
4953
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4954
 
  (exit $ac_status); }; }; then
4955
 
  :
4956
 
else
4957
 
  echo "$as_me: program exited with status $ac_status" >&5
4958
 
echo "$as_me: failed program was:" >&5
4959
 
sed 's/^/| /' conftest.$ac_ext >&5
4960
 
 
4961
 
( exit $ac_status )
4962
 
ac_cv_header_stdc=no
4963
 
fi
4964
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4965
 
fi
4966
 
 
4967
 
 
4968
 
fi
4969
 
fi
4970
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4971
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4972
 
if test $ac_cv_header_stdc = yes; then
4973
 
 
4974
 
cat >>confdefs.h <<\_ACEOF
4975
 
#define STDC_HEADERS 1
4976
 
_ACEOF
4977
 
 
4978
 
fi
4979
 
 
4980
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4981
 
 
4982
 
 
4983
 
 
4984
 
 
4985
 
 
4986
 
 
4987
 
 
4988
 
 
4989
 
 
4990
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4991
 
                  inttypes.h stdint.h unistd.h
4992
 
do
4993
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4994
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4995
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4996
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4997
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4998
 
else
4999
 
  cat >conftest.$ac_ext <<_ACEOF
5000
 
/* confdefs.h.  */
5001
 
_ACEOF
5002
 
cat confdefs.h >>conftest.$ac_ext
5003
 
cat >>conftest.$ac_ext <<_ACEOF
5004
 
/* end confdefs.h.  */
5005
 
$ac_includes_default
5006
 
 
5007
 
#include <$ac_header>
5008
 
_ACEOF
5009
 
rm -f conftest.$ac_objext
5010
 
if { (ac_try="$ac_compile"
5011
 
case "(($ac_try" in
5012
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5013
 
  *) ac_try_echo=$ac_try;;
5014
 
esac
5015
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5016
 
  (eval "$ac_compile") 2>conftest.er1
5017
 
  ac_status=$?
5018
 
  grep -v '^ *+' conftest.er1 >conftest.err
5019
 
  rm -f conftest.er1
5020
 
  cat conftest.err >&5
5021
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5022
 
  (exit $ac_status); } && {
5023
 
         test -z "$ac_c_werror_flag" ||
5024
 
         test ! -s conftest.err
5025
 
       } && test -s conftest.$ac_objext; then
5026
 
  eval "$as_ac_Header=yes"
5027
 
else
5028
 
  echo "$as_me: failed program was:" >&5
5029
 
sed 's/^/| /' conftest.$ac_ext >&5
5030
 
 
5031
 
        eval "$as_ac_Header=no"
5032
 
fi
5033
 
 
5034
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5035
 
fi
5036
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5037
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5038
 
echo "${ECHO_T}$ac_res" >&6; }
5039
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5040
 
  cat >>confdefs.h <<_ACEOF
5041
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5042
 
_ACEOF
5043
 
 
5044
 
fi
5045
 
 
5046
 
done
5047
 
 
5048
 
 
5049
 
 
5050
 
for ac_header in dlfcn.h
5051
 
do
5052
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5053
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5054
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
5055
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5056
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5057
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5058
 
fi
5059
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5060
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5061
 
echo "${ECHO_T}$ac_res" >&6; }
5062
 
else
5063
 
  # Is the header compilable?
5064
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5065
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5066
 
cat >conftest.$ac_ext <<_ACEOF
5067
 
/* confdefs.h.  */
5068
 
_ACEOF
5069
 
cat confdefs.h >>conftest.$ac_ext
5070
 
cat >>conftest.$ac_ext <<_ACEOF
5071
 
/* end confdefs.h.  */
5072
 
$ac_includes_default
5073
 
#include <$ac_header>
5074
 
_ACEOF
5075
 
rm -f conftest.$ac_objext
5076
 
if { (ac_try="$ac_compile"
5077
 
case "(($ac_try" in
5078
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5079
 
  *) ac_try_echo=$ac_try;;
5080
 
esac
5081
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5082
 
  (eval "$ac_compile") 2>conftest.er1
5083
 
  ac_status=$?
5084
 
  grep -v '^ *+' conftest.er1 >conftest.err
5085
 
  rm -f conftest.er1
5086
 
  cat conftest.err >&5
5087
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5088
 
  (exit $ac_status); } && {
5089
 
         test -z "$ac_c_werror_flag" ||
5090
 
         test ! -s conftest.err
5091
 
       } && test -s conftest.$ac_objext; then
5092
 
  ac_header_compiler=yes
5093
 
else
5094
 
  echo "$as_me: failed program was:" >&5
5095
 
sed 's/^/| /' conftest.$ac_ext >&5
5096
 
 
5097
 
        ac_header_compiler=no
5098
 
fi
5099
 
 
5100
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5101
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5102
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
5103
 
 
5104
 
# Is the header present?
5105
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5106
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5107
 
cat >conftest.$ac_ext <<_ACEOF
5108
 
/* confdefs.h.  */
5109
 
_ACEOF
5110
 
cat confdefs.h >>conftest.$ac_ext
5111
 
cat >>conftest.$ac_ext <<_ACEOF
5112
 
/* end confdefs.h.  */
5113
 
#include <$ac_header>
5114
 
_ACEOF
5115
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5116
 
case "(($ac_try" in
5117
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5118
 
  *) ac_try_echo=$ac_try;;
5119
 
esac
5120
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5121
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5122
 
  ac_status=$?
5123
 
  grep -v '^ *+' conftest.er1 >conftest.err
5124
 
  rm -f conftest.er1
5125
 
  cat conftest.err >&5
5126
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5127
 
  (exit $ac_status); } >/dev/null && {
5128
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5129
 
         test ! -s conftest.err
5130
 
       }; then
5131
 
  ac_header_preproc=yes
5132
 
else
5133
 
  echo "$as_me: failed program was:" >&5
5134
 
sed 's/^/| /' conftest.$ac_ext >&5
5135
 
 
5136
 
  ac_header_preproc=no
5137
 
fi
5138
 
 
5139
 
rm -f conftest.err conftest.$ac_ext
5140
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5141
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
5142
 
 
5143
 
# So?  What about this header?
5144
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5145
 
  yes:no: )
5146
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5147
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5148
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5149
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5150
 
    ac_header_preproc=yes
5151
 
    ;;
5152
 
  no:yes:* )
5153
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5154
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5155
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5156
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5157
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5158
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5159
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5160
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5161
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5162
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5163
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5164
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5165
 
    ( cat <<\_ASBOX
5166
 
## --------------------------------------------------------------------------- ##
5167
 
## Report this to http://bugzilla.o-hand.com/enter_bug.cgi?product=Clutter-gst ##
5168
 
## --------------------------------------------------------------------------- ##
5169
 
_ASBOX
5170
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
5171
 
    ;;
5172
 
esac
5173
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5174
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5175
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5176
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5177
 
else
5178
 
  eval "$as_ac_Header=\$ac_header_preproc"
5179
 
fi
5180
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5181
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5182
 
echo "${ECHO_T}$ac_res" >&6; }
5183
 
 
5184
 
fi
5185
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5186
 
  cat >>confdefs.h <<_ACEOF
5187
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5188
 
_ACEOF
5189
 
 
5190
 
fi
5191
 
 
5192
 
done
5193
 
 
5194
 
ac_ext=cpp
5195
 
ac_cpp='$CXXCPP $CPPFLAGS'
5196
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5197
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5198
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5199
 
if test -z "$CXX"; then
5200
 
  if test -n "$CCC"; then
5201
 
    CXX=$CCC
5202
 
  else
5203
 
    if test -n "$ac_tool_prefix"; then
5204
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5205
 
  do
5206
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5207
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5208
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5209
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5210
 
if test "${ac_cv_prog_CXX+set}" = set; then
5211
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5212
 
else
5213
 
  if test -n "$CXX"; then
5214
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
5215
 
else
5216
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5217
 
for as_dir in $PATH
5218
 
do
5219
 
  IFS=$as_save_IFS
5220
 
  test -z "$as_dir" && as_dir=.
5221
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5222
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5223
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5224
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5225
 
    break 2
5226
 
  fi
5227
 
done
5228
 
done
5229
 
IFS=$as_save_IFS
5230
 
 
5231
 
fi
5232
 
fi
5233
 
CXX=$ac_cv_prog_CXX
5234
 
if test -n "$CXX"; then
5235
 
  { echo "$as_me:$LINENO: result: $CXX" >&5
5236
 
echo "${ECHO_T}$CXX" >&6; }
5237
 
else
5238
 
  { echo "$as_me:$LINENO: result: no" >&5
5239
 
echo "${ECHO_T}no" >&6; }
5240
 
fi
5241
 
 
5242
 
 
5243
 
    test -n "$CXX" && break
5244
 
  done
5245
 
fi
5246
 
if test -z "$CXX"; then
5247
 
  ac_ct_CXX=$CXX
5248
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5249
 
do
5250
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5251
 
set dummy $ac_prog; ac_word=$2
5252
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5253
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5254
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5255
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5256
 
else
5257
 
  if test -n "$ac_ct_CXX"; then
5258
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5259
 
else
5260
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5261
 
for as_dir in $PATH
5262
 
do
5263
 
  IFS=$as_save_IFS
5264
 
  test -z "$as_dir" && as_dir=.
5265
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5266
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5267
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
5268
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5269
 
    break 2
5270
 
  fi
5271
 
done
5272
 
done
5273
 
IFS=$as_save_IFS
5274
 
 
5275
 
fi
5276
 
fi
5277
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5278
 
if test -n "$ac_ct_CXX"; then
5279
 
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5280
 
echo "${ECHO_T}$ac_ct_CXX" >&6; }
5281
 
else
5282
 
  { echo "$as_me:$LINENO: result: no" >&5
5283
 
echo "${ECHO_T}no" >&6; }
5284
 
fi
5285
 
 
5286
 
 
5287
 
  test -n "$ac_ct_CXX" && break
5288
 
done
5289
 
 
5290
 
  if test "x$ac_ct_CXX" = x; then
5291
 
    CXX="g++"
5292
 
  else
5293
 
    case $cross_compiling:$ac_tool_warned in
5294
 
yes:)
5295
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5296
 
whose name does not start with the host triplet.  If you think this
5297
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
5298
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5299
 
whose name does not start with the host triplet.  If you think this
5300
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5301
 
ac_tool_warned=yes ;;
5302
 
esac
5303
 
    CXX=$ac_ct_CXX
5304
 
  fi
5305
 
fi
5306
 
 
5307
 
  fi
5308
 
fi
5309
 
# Provide some information about the compiler.
5310
 
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5311
 
ac_compiler=`set X $ac_compile; echo $2`
5312
 
{ (ac_try="$ac_compiler --version >&5"
5313
 
case "(($ac_try" in
5314
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5315
 
  *) ac_try_echo=$ac_try;;
5316
 
esac
5317
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5318
 
  (eval "$ac_compiler --version >&5") 2>&5
5319
 
  ac_status=$?
5320
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5321
 
  (exit $ac_status); }
5322
 
{ (ac_try="$ac_compiler -v >&5"
5323
 
case "(($ac_try" in
5324
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5325
 
  *) ac_try_echo=$ac_try;;
5326
 
esac
5327
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5328
 
  (eval "$ac_compiler -v >&5") 2>&5
5329
 
  ac_status=$?
5330
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5331
 
  (exit $ac_status); }
5332
 
{ (ac_try="$ac_compiler -V >&5"
5333
 
case "(($ac_try" in
5334
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5335
 
  *) ac_try_echo=$ac_try;;
5336
 
esac
5337
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5338
 
  (eval "$ac_compiler -V >&5") 2>&5
5339
 
  ac_status=$?
5340
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5341
 
  (exit $ac_status); }
5342
 
 
5343
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5344
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5345
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5346
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5347
 
else
5348
 
  cat >conftest.$ac_ext <<_ACEOF
5349
 
/* confdefs.h.  */
5350
 
_ACEOF
5351
 
cat confdefs.h >>conftest.$ac_ext
5352
 
cat >>conftest.$ac_ext <<_ACEOF
5353
 
/* end confdefs.h.  */
5354
 
 
5355
 
int
5356
 
main ()
5357
 
{
5358
 
#ifndef __GNUC__
5359
 
       choke me
5360
 
#endif
5361
 
 
5362
 
  ;
5363
 
  return 0;
5364
 
}
5365
 
_ACEOF
5366
 
rm -f conftest.$ac_objext
5367
 
if { (ac_try="$ac_compile"
5368
 
case "(($ac_try" in
5369
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5370
 
  *) ac_try_echo=$ac_try;;
5371
 
esac
5372
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5373
 
  (eval "$ac_compile") 2>conftest.er1
5374
 
  ac_status=$?
5375
 
  grep -v '^ *+' conftest.er1 >conftest.err
5376
 
  rm -f conftest.er1
5377
 
  cat conftest.err >&5
5378
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5379
 
  (exit $ac_status); } && {
5380
 
         test -z "$ac_cxx_werror_flag" ||
5381
 
         test ! -s conftest.err
5382
 
       } && test -s conftest.$ac_objext; then
5383
 
  ac_compiler_gnu=yes
5384
 
else
5385
 
  echo "$as_me: failed program was:" >&5
5386
 
sed 's/^/| /' conftest.$ac_ext >&5
5387
 
 
5388
 
        ac_compiler_gnu=no
5389
 
fi
5390
 
 
5391
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5392
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5393
 
 
5394
 
fi
5395
 
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5396
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5397
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
5398
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
5399
 
ac_save_CXXFLAGS=$CXXFLAGS
5400
 
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5401
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5402
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
5403
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5404
 
else
5405
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5406
 
   ac_cxx_werror_flag=yes
5407
 
   ac_cv_prog_cxx_g=no
5408
 
   CXXFLAGS="-g"
5409
 
   cat >conftest.$ac_ext <<_ACEOF
5410
 
/* confdefs.h.  */
5411
 
_ACEOF
5412
 
cat confdefs.h >>conftest.$ac_ext
5413
 
cat >>conftest.$ac_ext <<_ACEOF
5414
 
/* end confdefs.h.  */
5415
 
 
5416
 
int
5417
 
main ()
5418
 
{
5419
 
 
5420
 
  ;
5421
 
  return 0;
5422
 
}
5423
 
_ACEOF
5424
 
rm -f conftest.$ac_objext
5425
 
if { (ac_try="$ac_compile"
5426
 
case "(($ac_try" in
5427
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5428
 
  *) ac_try_echo=$ac_try;;
5429
 
esac
5430
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5431
 
  (eval "$ac_compile") 2>conftest.er1
5432
 
  ac_status=$?
5433
 
  grep -v '^ *+' conftest.er1 >conftest.err
5434
 
  rm -f conftest.er1
5435
 
  cat conftest.err >&5
5436
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5437
 
  (exit $ac_status); } && {
5438
 
         test -z "$ac_cxx_werror_flag" ||
5439
 
         test ! -s conftest.err
5440
 
       } && test -s conftest.$ac_objext; then
5441
 
  ac_cv_prog_cxx_g=yes
5442
 
else
5443
 
  echo "$as_me: failed program was:" >&5
5444
 
sed 's/^/| /' conftest.$ac_ext >&5
5445
 
 
5446
 
        CXXFLAGS=""
5447
 
      cat >conftest.$ac_ext <<_ACEOF
5448
 
/* confdefs.h.  */
5449
 
_ACEOF
5450
 
cat confdefs.h >>conftest.$ac_ext
5451
 
cat >>conftest.$ac_ext <<_ACEOF
5452
 
/* end confdefs.h.  */
5453
 
 
5454
 
int
5455
 
main ()
5456
 
{
5457
 
 
5458
 
  ;
5459
 
  return 0;
5460
 
}
5461
 
_ACEOF
5462
 
rm -f conftest.$ac_objext
5463
 
if { (ac_try="$ac_compile"
5464
 
case "(($ac_try" in
5465
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5466
 
  *) ac_try_echo=$ac_try;;
5467
 
esac
5468
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5469
 
  (eval "$ac_compile") 2>conftest.er1
5470
 
  ac_status=$?
5471
 
  grep -v '^ *+' conftest.er1 >conftest.err
5472
 
  rm -f conftest.er1
5473
 
  cat conftest.err >&5
5474
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5475
 
  (exit $ac_status); } && {
5476
 
         test -z "$ac_cxx_werror_flag" ||
5477
 
         test ! -s conftest.err
5478
 
       } && test -s conftest.$ac_objext; then
5479
 
  :
5480
 
else
5481
 
  echo "$as_me: failed program was:" >&5
5482
 
sed 's/^/| /' conftest.$ac_ext >&5
5483
 
 
5484
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5485
 
         CXXFLAGS="-g"
5486
 
         cat >conftest.$ac_ext <<_ACEOF
5487
 
/* confdefs.h.  */
5488
 
_ACEOF
5489
 
cat confdefs.h >>conftest.$ac_ext
5490
 
cat >>conftest.$ac_ext <<_ACEOF
5491
 
/* end confdefs.h.  */
5492
 
 
5493
 
int
5494
 
main ()
5495
 
{
5496
 
 
5497
 
  ;
5498
 
  return 0;
5499
 
}
5500
 
_ACEOF
5501
 
rm -f conftest.$ac_objext
5502
 
if { (ac_try="$ac_compile"
5503
 
case "(($ac_try" in
5504
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5505
 
  *) ac_try_echo=$ac_try;;
5506
 
esac
5507
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5508
 
  (eval "$ac_compile") 2>conftest.er1
5509
 
  ac_status=$?
5510
 
  grep -v '^ *+' conftest.er1 >conftest.err
5511
 
  rm -f conftest.er1
5512
 
  cat conftest.err >&5
5513
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5514
 
  (exit $ac_status); } && {
5515
 
         test -z "$ac_cxx_werror_flag" ||
5516
 
         test ! -s conftest.err
5517
 
       } && test -s conftest.$ac_objext; then
5518
 
  ac_cv_prog_cxx_g=yes
5519
 
else
5520
 
  echo "$as_me: failed program was:" >&5
5521
 
sed 's/^/| /' conftest.$ac_ext >&5
5522
 
 
5523
 
 
5524
 
fi
5525
 
 
5526
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5527
 
fi
5528
 
 
5529
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5530
 
fi
5531
 
 
5532
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5533
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5534
 
fi
5535
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5536
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5537
 
if test "$ac_test_CXXFLAGS" = set; then
5538
 
  CXXFLAGS=$ac_save_CXXFLAGS
5539
 
elif test $ac_cv_prog_cxx_g = yes; then
5540
 
  if test "$GXX" = yes; then
5541
 
    CXXFLAGS="-g -O2"
5542
 
  else
5543
 
    CXXFLAGS="-g"
5544
 
  fi
5545
 
else
5546
 
  if test "$GXX" = yes; then
5547
 
    CXXFLAGS="-O2"
5548
 
  else
5549
 
    CXXFLAGS=
5550
 
  fi
5551
 
fi
5552
 
ac_ext=cpp
5553
 
ac_cpp='$CXXCPP $CPPFLAGS'
5554
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5555
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5556
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5557
 
 
5558
 
depcc="$CXX"  am_compiler_list=
5559
 
 
5560
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5561
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5562
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5563
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5564
 
else
5565
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5566
 
  # We make a subdir and do the tests there.  Otherwise we can end up
5567
 
  # making bogus files that we don't know about and never remove.  For
5568
 
  # instance it was reported that on HP-UX the gcc test will end up
5569
 
  # making a dummy file named `D' -- because `-MD' means `put the output
5570
 
  # in D'.
5571
 
  mkdir conftest.dir
5572
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
5573
 
  # using a relative directory.
5574
 
  cp "$am_depcomp" conftest.dir
5575
 
  cd conftest.dir
5576
 
  # We will build objects and dependencies in a subdirectory because
5577
 
  # it helps to detect inapplicable dependency modes.  For instance
5578
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
5579
 
  # side effect of compilation, but ICC will put the dependencies in
5580
 
  # the current directory while Tru64 will put them in the object
5581
 
  # directory.
5582
 
  mkdir sub
5583
 
 
5584
 
  am_cv_CXX_dependencies_compiler_type=none
5585
 
  if test "$am_compiler_list" = ""; then
5586
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5587
 
  fi
5588
 
  for depmode in $am_compiler_list; do
5589
 
    # Setup a source with many dependencies, because some compilers
5590
 
    # like to wrap large dependency lists on column 80 (with \), and
5591
 
    # we should not choose a depcomp mode which is confused by this.
5592
 
    #
5593
 
    # We need to recreate these files for each test, as the compiler may
5594
 
    # overwrite some of them when testing with obscure command lines.
5595
 
    # This happens at least with the AIX C compiler.
5596
 
    : > sub/conftest.c
5597
 
    for i in 1 2 3 4 5 6; do
5598
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5599
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5600
 
      # Solaris 8's {/usr,}/bin/sh.
5601
 
      touch sub/conftst$i.h
5602
 
    done
5603
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5604
 
 
5605
 
    case $depmode in
5606
 
    nosideeffect)
5607
 
      # after this tag, mechanisms are not by side-effect, so they'll
5608
 
      # only be used when explicitly requested
5609
 
      if test "x$enable_dependency_tracking" = xyes; then
5610
 
        continue
5611
 
      else
5612
 
        break
5613
 
      fi
5614
 
      ;;
5615
 
    none) break ;;
5616
 
    esac
5617
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
5618
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
5619
 
    # handle `-M -o', and we need to detect this.
5620
 
    if depmode=$depmode \
5621
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5622
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5623
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5624
 
         >/dev/null 2>conftest.err &&
5625
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5626
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5627
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5628
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5629
 
      # icc doesn't choke on unknown options, it will just issue warnings
5630
 
      # or remarks (even with -Werror).  So we grep stderr for any message
5631
 
      # that says an option was ignored or not supported.
5632
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
5633
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
5634
 
      # The diagnosis changed in icc 8.0:
5635
 
      #   icc: Command line remark: option '-MP' not supported
5636
 
      if (grep 'ignoring option' conftest.err ||
5637
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5638
 
        am_cv_CXX_dependencies_compiler_type=$depmode
5639
 
        break
5640
 
      fi
5641
 
    fi
5642
 
  done
5643
 
 
5644
 
  cd ..
5645
 
  rm -rf conftest.dir
5646
 
else
5647
 
  am_cv_CXX_dependencies_compiler_type=none
5648
 
fi
5649
 
 
5650
 
fi
5651
 
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5652
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5653
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5654
 
 
5655
 
 if
5656
 
  test "x$enable_dependency_tracking" != xno \
5657
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5658
 
  am__fastdepCXX_TRUE=
5659
 
  am__fastdepCXX_FALSE='#'
5660
 
else
5661
 
  am__fastdepCXX_TRUE='#'
5662
 
  am__fastdepCXX_FALSE=
5663
 
fi
5664
 
 
5665
 
 
5666
 
 
5667
 
 
5668
 
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5669
 
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5670
 
    (test "X$CXX" != "Xg++"))) ; then
5671
 
  ac_ext=cpp
5672
 
ac_cpp='$CXXCPP $CPPFLAGS'
5673
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5674
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5675
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5676
 
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5677
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5678
 
if test -z "$CXXCPP"; then
5679
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
5680
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5681
 
else
5682
 
      # Double quotes because CXXCPP needs to be expanded
5683
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
5684
 
    do
5685
 
      ac_preproc_ok=false
5686
 
for ac_cxx_preproc_warn_flag in '' yes
5687
 
do
5688
 
  # Use a header file that comes with gcc, so configuring glibc
5689
 
  # with a fresh cross-compiler works.
5690
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5691
 
  # <limits.h> exists even on freestanding compilers.
5692
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5693
 
  # not just through cpp. "Syntax error" is here to catch this case.
5694
 
  cat >conftest.$ac_ext <<_ACEOF
5695
 
/* confdefs.h.  */
5696
 
_ACEOF
5697
 
cat confdefs.h >>conftest.$ac_ext
5698
 
cat >>conftest.$ac_ext <<_ACEOF
5699
 
/* end confdefs.h.  */
5700
 
#ifdef __STDC__
5701
 
# include <limits.h>
5702
 
#else
5703
 
# include <assert.h>
5704
 
#endif
5705
 
                     Syntax error
5706
 
_ACEOF
5707
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5708
 
case "(($ac_try" in
5709
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5710
 
  *) ac_try_echo=$ac_try;;
5711
 
esac
5712
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5713
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5714
 
  ac_status=$?
5715
 
  grep -v '^ *+' conftest.er1 >conftest.err
5716
 
  rm -f conftest.er1
5717
 
  cat conftest.err >&5
5718
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5719
 
  (exit $ac_status); } >/dev/null && {
5720
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5721
 
         test ! -s conftest.err
5722
 
       }; then
5723
 
  :
5724
 
else
5725
 
  echo "$as_me: failed program was:" >&5
5726
 
sed 's/^/| /' conftest.$ac_ext >&5
5727
 
 
5728
 
  # Broken: fails on valid input.
5729
 
continue
5730
 
fi
5731
 
 
5732
 
rm -f conftest.err conftest.$ac_ext
5733
 
 
5734
 
  # OK, works on sane cases.  Now check whether nonexistent headers
5735
 
  # can be detected and how.
5736
 
  cat >conftest.$ac_ext <<_ACEOF
5737
 
/* confdefs.h.  */
5738
 
_ACEOF
5739
 
cat confdefs.h >>conftest.$ac_ext
5740
 
cat >>conftest.$ac_ext <<_ACEOF
5741
 
/* end confdefs.h.  */
5742
 
#include <ac_nonexistent.h>
5743
 
_ACEOF
5744
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5745
 
case "(($ac_try" in
5746
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5747
 
  *) ac_try_echo=$ac_try;;
5748
 
esac
5749
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5750
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5751
 
  ac_status=$?
5752
 
  grep -v '^ *+' conftest.er1 >conftest.err
5753
 
  rm -f conftest.er1
5754
 
  cat conftest.err >&5
5755
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5756
 
  (exit $ac_status); } >/dev/null && {
5757
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5758
 
         test ! -s conftest.err
5759
 
       }; then
5760
 
  # Broken: success on invalid input.
5761
 
continue
5762
 
else
5763
 
  echo "$as_me: failed program was:" >&5
5764
 
sed 's/^/| /' conftest.$ac_ext >&5
5765
 
 
5766
 
  # Passes both tests.
5767
 
ac_preproc_ok=:
5768
 
break
5769
 
fi
5770
 
 
5771
 
rm -f conftest.err conftest.$ac_ext
5772
 
 
5773
 
done
5774
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5775
 
rm -f conftest.err conftest.$ac_ext
5776
 
if $ac_preproc_ok; then
5777
 
  break
5778
 
fi
5779
 
 
5780
 
    done
5781
 
    ac_cv_prog_CXXCPP=$CXXCPP
5782
 
 
5783
 
fi
5784
 
  CXXCPP=$ac_cv_prog_CXXCPP
5785
 
else
5786
 
  ac_cv_prog_CXXCPP=$CXXCPP
5787
 
fi
5788
 
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
5789
 
echo "${ECHO_T}$CXXCPP" >&6; }
5790
 
ac_preproc_ok=false
5791
 
for ac_cxx_preproc_warn_flag in '' yes
5792
 
do
5793
 
  # Use a header file that comes with gcc, so configuring glibc
5794
 
  # with a fresh cross-compiler works.
5795
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5796
 
  # <limits.h> exists even on freestanding compilers.
5797
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5798
 
  # not just through cpp. "Syntax error" is here to catch this case.
5799
 
  cat >conftest.$ac_ext <<_ACEOF
5800
 
/* confdefs.h.  */
5801
 
_ACEOF
5802
 
cat confdefs.h >>conftest.$ac_ext
5803
 
cat >>conftest.$ac_ext <<_ACEOF
5804
 
/* end confdefs.h.  */
5805
 
#ifdef __STDC__
5806
 
# include <limits.h>
5807
 
#else
5808
 
# include <assert.h>
5809
 
#endif
5810
 
                     Syntax error
5811
 
_ACEOF
5812
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5813
 
case "(($ac_try" in
5814
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5815
 
  *) ac_try_echo=$ac_try;;
5816
 
esac
5817
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5818
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5819
 
  ac_status=$?
5820
 
  grep -v '^ *+' conftest.er1 >conftest.err
5821
 
  rm -f conftest.er1
5822
 
  cat conftest.err >&5
5823
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5824
 
  (exit $ac_status); } >/dev/null && {
5825
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5826
 
         test ! -s conftest.err
5827
 
       }; then
5828
 
  :
5829
 
else
5830
 
  echo "$as_me: failed program was:" >&5
5831
 
sed 's/^/| /' conftest.$ac_ext >&5
5832
 
 
5833
 
  # Broken: fails on valid input.
5834
 
continue
5835
 
fi
5836
 
 
5837
 
rm -f conftest.err conftest.$ac_ext
5838
 
 
5839
 
  # OK, works on sane cases.  Now check whether nonexistent headers
5840
 
  # can be detected and how.
5841
 
  cat >conftest.$ac_ext <<_ACEOF
5842
 
/* confdefs.h.  */
5843
 
_ACEOF
5844
 
cat confdefs.h >>conftest.$ac_ext
5845
 
cat >>conftest.$ac_ext <<_ACEOF
5846
 
/* end confdefs.h.  */
5847
 
#include <ac_nonexistent.h>
5848
 
_ACEOF
5849
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5850
 
case "(($ac_try" in
5851
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5852
 
  *) ac_try_echo=$ac_try;;
5853
 
esac
5854
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5855
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5856
 
  ac_status=$?
5857
 
  grep -v '^ *+' conftest.er1 >conftest.err
5858
 
  rm -f conftest.er1
5859
 
  cat conftest.err >&5
5860
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5861
 
  (exit $ac_status); } >/dev/null && {
5862
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5863
 
         test ! -s conftest.err
5864
 
       }; then
5865
 
  # Broken: success on invalid input.
5866
 
continue
5867
 
else
5868
 
  echo "$as_me: failed program was:" >&5
5869
 
sed 's/^/| /' conftest.$ac_ext >&5
5870
 
 
5871
 
  # Passes both tests.
5872
 
ac_preproc_ok=:
5873
 
break
5874
 
fi
5875
 
 
5876
 
rm -f conftest.err conftest.$ac_ext
5877
 
 
5878
 
done
5879
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5880
 
rm -f conftest.err conftest.$ac_ext
5881
 
if $ac_preproc_ok; then
5882
 
  :
5883
 
else
5884
 
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5885
 
See \`config.log' for more details." >&5
5886
 
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5887
 
See \`config.log' for more details." >&2;}
5888
 
   { (exit 1); exit 1; }; }
5889
 
fi
5890
 
 
5891
 
ac_ext=cpp
5892
 
ac_cpp='$CXXCPP $CPPFLAGS'
5893
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5894
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5895
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5896
 
 
5897
 
fi
5898
 
 
5899
 
 
5900
 
ac_ext=f
5901
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5902
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5903
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5904
 
if test -n "$ac_tool_prefix"; then
5905
 
  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
5906
 
  do
5907
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5908
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5909
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5910
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5911
 
if test "${ac_cv_prog_F77+set}" = set; then
5912
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5913
 
else
5914
 
  if test -n "$F77"; then
5915
 
  ac_cv_prog_F77="$F77" # Let the user override the test.
5916
 
else
5917
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5918
 
for as_dir in $PATH
5919
 
do
5920
 
  IFS=$as_save_IFS
5921
 
  test -z "$as_dir" && as_dir=.
5922
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5923
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5924
 
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5925
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5926
 
    break 2
5927
 
  fi
5928
 
done
5929
 
done
5930
 
IFS=$as_save_IFS
5931
 
 
5932
 
fi
5933
 
fi
5934
 
F77=$ac_cv_prog_F77
5935
 
if test -n "$F77"; then
5936
 
  { echo "$as_me:$LINENO: result: $F77" >&5
5937
 
echo "${ECHO_T}$F77" >&6; }
5938
 
else
5939
 
  { echo "$as_me:$LINENO: result: no" >&5
5940
 
echo "${ECHO_T}no" >&6; }
5941
 
fi
5942
 
 
5943
 
 
5944
 
    test -n "$F77" && break
5945
 
  done
5946
 
fi
5947
 
if test -z "$F77"; then
5948
 
  ac_ct_F77=$F77
5949
 
  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
5950
 
do
5951
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5952
 
set dummy $ac_prog; ac_word=$2
5953
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5954
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5955
 
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5956
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5957
 
else
5958
 
  if test -n "$ac_ct_F77"; then
5959
 
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
5960
 
else
5961
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5962
 
for as_dir in $PATH
5963
 
do
5964
 
  IFS=$as_save_IFS
5965
 
  test -z "$as_dir" && as_dir=.
5966
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5967
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5968
 
    ac_cv_prog_ac_ct_F77="$ac_prog"
5969
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5970
 
    break 2
5971
 
  fi
5972
 
done
5973
 
done
5974
 
IFS=$as_save_IFS
5975
 
 
5976
 
fi
5977
 
fi
5978
 
ac_ct_F77=$ac_cv_prog_ac_ct_F77
5979
 
if test -n "$ac_ct_F77"; then
5980
 
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5981
 
echo "${ECHO_T}$ac_ct_F77" >&6; }
5982
 
else
5983
 
  { echo "$as_me:$LINENO: result: no" >&5
5984
 
echo "${ECHO_T}no" >&6; }
5985
 
fi
5986
 
 
5987
 
 
5988
 
  test -n "$ac_ct_F77" && break
5989
 
done
5990
 
 
5991
 
  if test "x$ac_ct_F77" = x; then
5992
 
    F77=""
5993
 
  else
5994
 
    case $cross_compiling:$ac_tool_warned in
5995
 
yes:)
5996
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5997
 
whose name does not start with the host triplet.  If you think this
5998
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
5999
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6000
 
whose name does not start with the host triplet.  If you think this
6001
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6002
 
ac_tool_warned=yes ;;
6003
 
esac
6004
 
    F77=$ac_ct_F77
6005
 
  fi
6006
 
fi
6007
 
 
6008
 
 
6009
 
# Provide some information about the compiler.
6010
 
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6011
 
ac_compiler=`set X $ac_compile; echo $2`
6012
 
{ (ac_try="$ac_compiler --version >&5"
6013
 
case "(($ac_try" in
6014
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6015
 
  *) ac_try_echo=$ac_try;;
6016
 
esac
6017
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6018
 
  (eval "$ac_compiler --version >&5") 2>&5
6019
 
  ac_status=$?
6020
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6021
 
  (exit $ac_status); }
6022
 
{ (ac_try="$ac_compiler -v >&5"
6023
 
case "(($ac_try" in
6024
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6025
 
  *) ac_try_echo=$ac_try;;
6026
 
esac
6027
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6028
 
  (eval "$ac_compiler -v >&5") 2>&5
6029
 
  ac_status=$?
6030
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6031
 
  (exit $ac_status); }
6032
 
{ (ac_try="$ac_compiler -V >&5"
6033
 
case "(($ac_try" in
6034
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6035
 
  *) ac_try_echo=$ac_try;;
6036
 
esac
6037
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6038
 
  (eval "$ac_compiler -V >&5") 2>&5
6039
 
  ac_status=$?
6040
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6041
 
  (exit $ac_status); }
6042
 
rm -f a.out
6043
 
 
6044
 
# If we don't use `.F' as extension, the preprocessor is not run on the
6045
 
# input file.  (Note that this only needs to work for GNU compilers.)
6046
 
ac_save_ext=$ac_ext
6047
 
ac_ext=F
6048
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6049
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6050
 
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6051
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6052
 
else
6053
 
  cat >conftest.$ac_ext <<_ACEOF
6054
 
      program main
6055
 
#ifndef __GNUC__
6056
 
       choke me
6057
 
#endif
6058
 
 
6059
 
      end
6060
 
_ACEOF
6061
 
rm -f conftest.$ac_objext
6062
 
if { (ac_try="$ac_compile"
6063
 
case "(($ac_try" in
6064
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6065
 
  *) ac_try_echo=$ac_try;;
6066
 
esac
6067
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6068
 
  (eval "$ac_compile") 2>conftest.er1
6069
 
  ac_status=$?
6070
 
  grep -v '^ *+' conftest.er1 >conftest.err
6071
 
  rm -f conftest.er1
6072
 
  cat conftest.err >&5
6073
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6074
 
  (exit $ac_status); } && {
6075
 
         test -z "$ac_f77_werror_flag" ||
6076
 
         test ! -s conftest.err
6077
 
       } && test -s conftest.$ac_objext; then
6078
 
  ac_compiler_gnu=yes
6079
 
else
6080
 
  echo "$as_me: failed program was:" >&5
6081
 
sed 's/^/| /' conftest.$ac_ext >&5
6082
 
 
6083
 
        ac_compiler_gnu=no
6084
 
fi
6085
 
 
6086
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6087
 
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6088
 
 
6089
 
fi
6090
 
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6091
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6092
 
ac_ext=$ac_save_ext
6093
 
ac_test_FFLAGS=${FFLAGS+set}
6094
 
ac_save_FFLAGS=$FFLAGS
6095
 
FFLAGS=
6096
 
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6097
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6098
 
if test "${ac_cv_prog_f77_g+set}" = set; then
6099
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6100
 
else
6101
 
  FFLAGS=-g
6102
 
cat >conftest.$ac_ext <<_ACEOF
6103
 
      program main
6104
 
 
6105
 
      end
6106
 
_ACEOF
6107
 
rm -f conftest.$ac_objext
6108
 
if { (ac_try="$ac_compile"
6109
 
case "(($ac_try" in
6110
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6111
 
  *) ac_try_echo=$ac_try;;
6112
 
esac
6113
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6114
 
  (eval "$ac_compile") 2>conftest.er1
6115
 
  ac_status=$?
6116
 
  grep -v '^ *+' conftest.er1 >conftest.err
6117
 
  rm -f conftest.er1
6118
 
  cat conftest.err >&5
6119
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6120
 
  (exit $ac_status); } && {
6121
 
         test -z "$ac_f77_werror_flag" ||
6122
 
         test ! -s conftest.err
6123
 
       } && test -s conftest.$ac_objext; then
6124
 
  ac_cv_prog_f77_g=yes
6125
 
else
6126
 
  echo "$as_me: failed program was:" >&5
6127
 
sed 's/^/| /' conftest.$ac_ext >&5
6128
 
 
6129
 
        ac_cv_prog_f77_g=no
6130
 
fi
6131
 
 
6132
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6133
 
 
6134
 
fi
6135
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6136
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6137
 
if test "$ac_test_FFLAGS" = set; then
6138
 
  FFLAGS=$ac_save_FFLAGS
6139
 
elif test $ac_cv_prog_f77_g = yes; then
6140
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6141
 
    FFLAGS="-g -O2"
6142
 
  else
6143
 
    FFLAGS="-g"
6144
 
  fi
6145
 
else
6146
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6147
 
    FFLAGS="-O2"
6148
 
  else
6149
 
    FFLAGS=
6150
 
  fi
6151
 
fi
6152
 
 
6153
 
G77=`test $ac_compiler_gnu = yes && echo yes`
6154
 
ac_ext=c
6155
 
ac_cpp='$CPP $CPPFLAGS'
6156
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6157
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6158
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6159
 
 
6160
 
 
6161
 
 
6162
 
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
6163
 
# find the maximum length of command line arguments
6164
 
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6165
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6166
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6167
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6168
 
else
6169
 
    i=0
6170
 
  teststring="ABCD"
6171
 
 
6172
 
  case $build_os in
6173
 
  msdosdjgpp*)
6174
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
6175
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
6176
 
    # during glob expansion).  Even if it were fixed, the result of this
6177
 
    # check would be larger than it should be.
6178
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6179
 
    ;;
6180
 
 
6181
 
  gnu*)
6182
 
    # Under GNU Hurd, this test is not required because there is
6183
 
    # no limit to the length of command line arguments.
6184
 
    # Libtool will interpret -1 as no limit whatsoever
6185
 
    lt_cv_sys_max_cmd_len=-1;
6186
 
    ;;
6187
 
 
6188
 
  cygwin* | mingw*)
6189
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
6190
 
    # about 5 minutes as the teststring grows exponentially.
6191
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
6192
 
    # you end up with a "frozen" computer, even though with patience
6193
 
    # the test eventually succeeds (with a max line length of 256k).
6194
 
    # Instead, let's just punt: use the minimum linelength reported by
6195
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
6196
 
    lt_cv_sys_max_cmd_len=8192;
6197
 
    ;;
6198
 
 
6199
 
  amigaos*)
6200
 
    # On AmigaOS with pdksh, this test takes hours, literally.
6201
 
    # So we just punt and use a minimum line length of 8192.
6202
 
    lt_cv_sys_max_cmd_len=8192;
6203
 
    ;;
6204
 
 
6205
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6206
 
    # This has been around since 386BSD, at least.  Likely further.
6207
 
    if test -x /sbin/sysctl; then
6208
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6209
 
    elif test -x /usr/sbin/sysctl; then
6210
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6211
 
    else
6212
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6213
 
    fi
6214
 
    # And add a safety zone
6215
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6216
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6217
 
    ;;
6218
 
 
6219
 
  interix*)
6220
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6221
 
    lt_cv_sys_max_cmd_len=196608
6222
 
    ;;
6223
 
 
6224
 
  osf*)
6225
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6226
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6227
 
    # nice to cause kernel panics so lets avoid the loop below.
6228
 
    # First set a reasonable default.
6229
 
    lt_cv_sys_max_cmd_len=16384
6230
 
    #
6231
 
    if test -x /sbin/sysconfig; then
6232
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6233
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6234
 
      esac
6235
 
    fi
6236
 
    ;;
6237
 
  sco3.2v5*)
6238
 
    lt_cv_sys_max_cmd_len=102400
6239
 
    ;;
6240
 
  sysv5* | sco5v6* | sysv4.2uw2*)
6241
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6242
 
    if test -n "$kargmax"; then
6243
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
6244
 
    else
6245
 
      lt_cv_sys_max_cmd_len=32768
6246
 
    fi
6247
 
    ;;
6248
 
  *)
6249
 
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6250
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
6251
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6252
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6253
 
    else
6254
 
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6255
 
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6256
 
               = "XX$teststring") >/dev/null 2>&1 &&
6257
 
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
6258
 
              lt_cv_sys_max_cmd_len=$new_result &&
6259
 
              test $i != 17 # 1/2 MB should be enough
6260
 
      do
6261
 
        i=`expr $i + 1`
6262
 
        teststring=$teststring$teststring
6263
 
      done
6264
 
      teststring=
6265
 
      # Add a significant safety factor because C++ compilers can tack on massive
6266
 
      # amounts of additional arguments before passing them to the linker.
6267
 
      # It appears as though 1/2 is a usable value.
6268
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6269
 
    fi
6270
 
    ;;
6271
 
  esac
6272
 
 
6273
 
fi
6274
 
 
6275
 
if test -n $lt_cv_sys_max_cmd_len ; then
6276
 
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6277
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6278
 
else
6279
 
  { echo "$as_me:$LINENO: result: none" >&5
6280
 
echo "${ECHO_T}none" >&6; }
6281
 
fi
6282
 
 
6283
 
 
6284
 
 
6285
 
 
6286
 
 
6287
5337
# Check for command to grab the raw symbol name followed by C symbol from nm.
6288
5338
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6289
5339
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6300
5350
# Regexp to match symbols that can be accessed directly from C.
6301
5351
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6302
5352
 
6303
 
# Transform an extracted symbol line into a proper C declaration
6304
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6305
 
 
6306
 
# Transform an extracted symbol line into symbol name and symbol address
6307
 
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'"
6308
 
 
6309
5353
# Define system-specific variables.
6310
5354
case $host_os in
6311
5355
aix*)
6314
5358
cygwin* | mingw* | pw32*)
6315
5359
  symcode='[ABCDGISTW]'
6316
5360
  ;;
6317
 
hpux*) # Its linker distinguishes data from code symbols
 
5361
hpux*)
6318
5362
  if test "$host_cpu" = ia64; then
6319
5363
    symcode='[ABCDEGRST]'
6320
5364
  fi
6321
 
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6322
 
  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'"
6323
 
  ;;
6324
 
linux* | k*bsd*-gnu)
6325
 
  if test "$host_cpu" = ia64; then
6326
 
    symcode='[ABCDGIRSTW]'
6327
 
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6328
 
    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'"
6329
 
  fi
6330
5365
  ;;
6331
5366
irix* | nonstopux*)
6332
5367
  symcode='[BCDEGRST]'
6351
5386
  ;;
6352
5387
esac
6353
5388
 
 
5389
# If we're using GNU nm, then use its standard symbol codes.
 
5390
case `$NM -V 2>&1` in
 
5391
*GNU* | *'with BFD'*)
 
5392
  symcode='[ABCDGIRSTW]' ;;
 
5393
esac
 
5394
 
 
5395
# Transform an extracted symbol line into a proper C declaration.
 
5396
# Some systems (esp. on ia64) link data and code symbols differently,
 
5397
# so use this general approach.
 
5398
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
5399
 
 
5400
# Transform an extracted symbol line into symbol name and symbol address
 
5401
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
5402
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'"
 
5403
 
6354
5404
# Handle CRLF in mingw tool chain
6355
5405
opt_cr=
6356
5406
case $build_os in
6357
5407
mingw*)
6358
 
  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
5408
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6359
5409
  ;;
6360
5410
esac
6361
5411
 
6362
 
# If we're using GNU nm, then use its standard symbol codes.
6363
 
case `$NM -V 2>&1` in
6364
 
*GNU* | *'with BFD'*)
6365
 
  symcode='[ABCDGIRSTW]' ;;
6366
 
esac
6367
 
 
6368
 
# Try without a prefix undercore, then with it.
 
5412
# Try without a prefix underscore, then with it.
6369
5413
for ac_symprfx in "" "_"; do
6370
5414
 
6371
5415
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6372
5416
  symxfrm="\\1 $ac_symprfx\\2 \\2"
6373
5417
 
6374
5418
  # Write the raw and C identifiers.
6375
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
5419
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
5420
    # Fake it for dumpbin and say T for any non-static function
 
5421
    # and D for any global variable.
 
5422
    # Also find C++ and __fastcall symbols from MSVC++,
 
5423
    # which start with @ or ?.
 
5424
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
5425
"     {last_section=section; section=\$ 3};"\
 
5426
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
5427
"     \$ 0!~/External *\|/{next};"\
 
5428
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
5429
"     {if(hide[section]) next};"\
 
5430
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
5431
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
5432
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
5433
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
5434
"     ' prfx=^$ac_symprfx"
 
5435
  else
 
5436
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
5437
  fi
6376
5438
 
6377
5439
  # Check to see that the pipe works correctly.
6378
5440
  pipe_works=no
6379
5441
 
6380
5442
  rm -f conftest*
6381
 
  cat > conftest.$ac_ext <<EOF
 
5443
  cat > conftest.$ac_ext <<_LT_EOF
6382
5444
#ifdef __cplusplus
6383
5445
extern "C" {
6384
5446
#endif
6385
5447
char nm_test_var;
6386
 
void nm_test_func(){}
 
5448
void nm_test_func(void);
 
5449
void nm_test_func(void){}
6387
5450
#ifdef __cplusplus
6388
5451
}
6389
5452
#endif
6390
5453
int main(){nm_test_var='a';nm_test_func();return(0);}
6391
 
EOF
 
5454
_LT_EOF
6392
5455
 
6393
5456
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6394
5457
  (eval $ac_compile) 2>&5
6410
5473
      fi
6411
5474
 
6412
5475
      # Make sure that we snagged all the symbols we need.
6413
 
      if grep ' nm_test_var$' "$nlist" >/dev/null; then
6414
 
        if grep ' nm_test_func$' "$nlist" >/dev/null; then
6415
 
          cat <<EOF > conftest.$ac_ext
 
5476
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
5477
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
5478
          cat <<_LT_EOF > conftest.$ac_ext
6416
5479
#ifdef __cplusplus
6417
5480
extern "C" {
6418
5481
#endif
6419
5482
 
6420
 
EOF
 
5483
_LT_EOF
6421
5484
          # Now generate the symbol file.
6422
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6423
 
 
6424
 
          cat <<EOF >> conftest.$ac_ext
6425
 
#if defined (__STDC__) && __STDC__
6426
 
# define lt_ptr_t void *
6427
 
#else
6428
 
# define lt_ptr_t char *
6429
 
# define const
6430
 
#endif
6431
 
 
6432
 
/* The mapping between symbol names and symbols. */
 
5485
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
5486
 
 
5487
          cat <<_LT_EOF >> conftest.$ac_ext
 
5488
 
 
5489
/* The mapping between symbol names and symbols.  */
6433
5490
const struct {
6434
5491
  const char *name;
6435
 
  lt_ptr_t address;
 
5492
  void       *address;
6436
5493
}
6437
 
lt_preloaded_symbols[] =
 
5494
lt__PROGRAM__LTX_preloaded_symbols[] =
6438
5495
{
6439
 
EOF
6440
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
6441
 
          cat <<\EOF >> conftest.$ac_ext
6442
 
  {0, (lt_ptr_t) 0}
 
5496
  { "@PROGRAM@", (void *) 0 },
 
5497
_LT_EOF
 
5498
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
5499
          cat <<\_LT_EOF >> conftest.$ac_ext
 
5500
  {0, (void *) 0}
6443
5501
};
6444
5502
 
 
5503
/* This works around a problem in FreeBSD linker */
 
5504
#ifdef FREEBSD_WORKAROUND
 
5505
static const void *lt_preloaded_setup() {
 
5506
  return lt__PROGRAM__LTX_preloaded_symbols;
 
5507
}
 
5508
#endif
 
5509
 
6445
5510
#ifdef __cplusplus
6446
5511
}
6447
5512
#endif
6448
 
EOF
 
5513
_LT_EOF
6449
5514
          # Now try linking the two files.
6450
5515
          mv conftest.$ac_objext conftstm.$ac_objext
6451
5516
          lt_save_LIBS="$LIBS"
6497
5562
echo "${ECHO_T}ok" >&6; }
6498
5563
fi
6499
5564
 
6500
 
{ echo "$as_me:$LINENO: checking for objdir" >&5
6501
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6502
 
if test "${lt_cv_objdir+set}" = set; then
6503
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6504
 
else
6505
 
  rm -f .libs 2>/dev/null
6506
 
mkdir .libs 2>/dev/null
6507
 
if test -d .libs; then
6508
 
  lt_cv_objdir=.libs
6509
 
else
6510
 
  # MS-DOS does not allow filenames that begin with a dot.
6511
 
  lt_cv_objdir=_libs
6512
 
fi
6513
 
rmdir .libs 2>/dev/null
6514
 
fi
6515
 
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6516
 
echo "${ECHO_T}$lt_cv_objdir" >&6; }
6517
 
objdir=$lt_cv_objdir
6518
 
 
6519
 
 
6520
 
 
6521
 
 
6522
 
 
6523
 
case $host_os in
6524
 
aix3*)
6525
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
6526
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
6527
 
  # vanish in a puff of smoke.
6528
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
6529
 
    COLLECT_NAMES=
6530
 
    export COLLECT_NAMES
6531
 
  fi
6532
 
  ;;
6533
 
esac
6534
 
 
6535
 
# Sed substitution that helps us do robust quoting.  It backslashifies
6536
 
# metacharacters that are still active within double-quoted strings.
6537
 
Xsed='sed -e 1s/^X//'
6538
 
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
6539
 
 
6540
 
# Same as above, but do not quote variable references.
6541
 
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
6542
 
 
6543
 
# Sed substitution to delay expansion of an escaped shell variable in a
6544
 
# double_quote_subst'ed string.
6545
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6546
 
 
6547
 
# Sed substitution to avoid accidental globbing in evaled expressions
6548
 
no_glob_subst='s/\*/\\\*/g'
6549
 
 
6550
 
# Constants:
6551
 
rm="rm -f"
6552
 
 
6553
 
# Global variables:
6554
 
default_ofile=libtool
6555
 
can_build_shared=yes
6556
 
 
6557
 
# All known linkers require a `.a' archive for static linking (except MSVC,
6558
 
# which needs '.lib').
6559
 
libext=a
6560
 
ltmain="$ac_aux_dir/ltmain.sh"
6561
 
ofile="$default_ofile"
6562
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
6563
 
 
6564
 
if test -n "$ac_tool_prefix"; then
6565
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6566
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
6567
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6568
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6569
 
if test "${ac_cv_prog_AR+set}" = set; then
6570
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6571
 
else
6572
 
  if test -n "$AR"; then
6573
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
6574
 
else
6575
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6576
 
for as_dir in $PATH
6577
 
do
6578
 
  IFS=$as_save_IFS
6579
 
  test -z "$as_dir" && as_dir=.
6580
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6581
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6582
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
6583
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6584
 
    break 2
6585
 
  fi
6586
 
done
6587
 
done
6588
 
IFS=$as_save_IFS
6589
 
 
6590
 
fi
6591
 
fi
6592
 
AR=$ac_cv_prog_AR
6593
 
if test -n "$AR"; then
6594
 
  { echo "$as_me:$LINENO: result: $AR" >&5
6595
 
echo "${ECHO_T}$AR" >&6; }
6596
 
else
6597
 
  { echo "$as_me:$LINENO: result: no" >&5
6598
 
echo "${ECHO_T}no" >&6; }
6599
 
fi
6600
 
 
6601
 
 
6602
 
fi
6603
 
if test -z "$ac_cv_prog_AR"; then
6604
 
  ac_ct_AR=$AR
6605
 
  # Extract the first word of "ar", so it can be a program name with args.
6606
 
set dummy ar; ac_word=$2
6607
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6608
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6609
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6610
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6611
 
else
6612
 
  if test -n "$ac_ct_AR"; then
6613
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6614
 
else
6615
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6616
 
for as_dir in $PATH
6617
 
do
6618
 
  IFS=$as_save_IFS
6619
 
  test -z "$as_dir" && as_dir=.
6620
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6621
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6622
 
    ac_cv_prog_ac_ct_AR="ar"
6623
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6624
 
    break 2
6625
 
  fi
6626
 
done
6627
 
done
6628
 
IFS=$as_save_IFS
6629
 
 
6630
 
fi
6631
 
fi
6632
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6633
 
if test -n "$ac_ct_AR"; then
6634
 
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6635
 
echo "${ECHO_T}$ac_ct_AR" >&6; }
6636
 
else
6637
 
  { echo "$as_me:$LINENO: result: no" >&5
6638
 
echo "${ECHO_T}no" >&6; }
6639
 
fi
6640
 
 
6641
 
  if test "x$ac_ct_AR" = x; then
6642
 
    AR="false"
6643
 
  else
6644
 
    case $cross_compiling:$ac_tool_warned in
6645
 
yes:)
6646
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6647
 
whose name does not start with the host triplet.  If you think this
6648
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6649
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6650
 
whose name does not start with the host triplet.  If you think this
6651
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6652
 
ac_tool_warned=yes ;;
6653
 
esac
6654
 
    AR=$ac_ct_AR
6655
 
  fi
6656
 
else
6657
 
  AR="$ac_cv_prog_AR"
6658
 
fi
6659
 
 
6660
 
if test -n "$ac_tool_prefix"; then
6661
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6662
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6663
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6664
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6665
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
6666
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6667
 
else
6668
 
  if test -n "$RANLIB"; then
6669
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6670
 
else
6671
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6672
 
for as_dir in $PATH
6673
 
do
6674
 
  IFS=$as_save_IFS
6675
 
  test -z "$as_dir" && as_dir=.
6676
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6677
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6678
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6679
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6680
 
    break 2
6681
 
  fi
6682
 
done
6683
 
done
6684
 
IFS=$as_save_IFS
6685
 
 
6686
 
fi
6687
 
fi
6688
 
RANLIB=$ac_cv_prog_RANLIB
6689
 
if test -n "$RANLIB"; then
6690
 
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
6691
 
echo "${ECHO_T}$RANLIB" >&6; }
6692
 
else
6693
 
  { echo "$as_me:$LINENO: result: no" >&5
6694
 
echo "${ECHO_T}no" >&6; }
6695
 
fi
6696
 
 
6697
 
 
6698
 
fi
6699
 
if test -z "$ac_cv_prog_RANLIB"; then
6700
 
  ac_ct_RANLIB=$RANLIB
6701
 
  # Extract the first word of "ranlib", so it can be a program name with args.
6702
 
set dummy ranlib; ac_word=$2
6703
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6704
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6705
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6706
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6707
 
else
6708
 
  if test -n "$ac_ct_RANLIB"; then
6709
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6710
 
else
6711
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6712
 
for as_dir in $PATH
6713
 
do
6714
 
  IFS=$as_save_IFS
6715
 
  test -z "$as_dir" && as_dir=.
6716
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6717
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6718
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6719
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6720
 
    break 2
6721
 
  fi
6722
 
done
6723
 
done
6724
 
IFS=$as_save_IFS
6725
 
 
6726
 
fi
6727
 
fi
6728
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6729
 
if test -n "$ac_ct_RANLIB"; then
6730
 
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6731
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6732
 
else
6733
 
  { echo "$as_me:$LINENO: result: no" >&5
6734
 
echo "${ECHO_T}no" >&6; }
6735
 
fi
6736
 
 
6737
 
  if test "x$ac_ct_RANLIB" = x; then
6738
 
    RANLIB=":"
6739
 
  else
6740
 
    case $cross_compiling:$ac_tool_warned in
6741
 
yes:)
6742
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6743
 
whose name does not start with the host triplet.  If you think this
6744
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6745
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6746
 
whose name does not start with the host triplet.  If you think this
6747
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6748
 
ac_tool_warned=yes ;;
6749
 
esac
6750
 
    RANLIB=$ac_ct_RANLIB
6751
 
  fi
6752
 
else
6753
 
  RANLIB="$ac_cv_prog_RANLIB"
6754
 
fi
6755
 
 
6756
 
if test -n "$ac_tool_prefix"; then
6757
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6758
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
6759
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6760
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6761
 
if test "${ac_cv_prog_STRIP+set}" = set; then
6762
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6763
 
else
6764
 
  if test -n "$STRIP"; then
6765
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6766
 
else
6767
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6768
 
for as_dir in $PATH
6769
 
do
6770
 
  IFS=$as_save_IFS
6771
 
  test -z "$as_dir" && as_dir=.
6772
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6773
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6774
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6775
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6776
 
    break 2
6777
 
  fi
6778
 
done
6779
 
done
6780
 
IFS=$as_save_IFS
6781
 
 
6782
 
fi
6783
 
fi
6784
 
STRIP=$ac_cv_prog_STRIP
6785
 
if test -n "$STRIP"; then
6786
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
6787
 
echo "${ECHO_T}$STRIP" >&6; }
6788
 
else
6789
 
  { echo "$as_me:$LINENO: result: no" >&5
6790
 
echo "${ECHO_T}no" >&6; }
6791
 
fi
6792
 
 
6793
 
 
6794
 
fi
6795
 
if test -z "$ac_cv_prog_STRIP"; then
6796
 
  ac_ct_STRIP=$STRIP
6797
 
  # Extract the first word of "strip", so it can be a program name with args.
6798
 
set dummy strip; ac_word=$2
6799
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6800
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6801
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6802
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6803
 
else
6804
 
  if test -n "$ac_ct_STRIP"; then
6805
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6806
 
else
6807
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6808
 
for as_dir in $PATH
6809
 
do
6810
 
  IFS=$as_save_IFS
6811
 
  test -z "$as_dir" && as_dir=.
6812
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6813
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6814
 
    ac_cv_prog_ac_ct_STRIP="strip"
6815
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6816
 
    break 2
6817
 
  fi
6818
 
done
6819
 
done
6820
 
IFS=$as_save_IFS
6821
 
 
6822
 
fi
6823
 
fi
6824
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6825
 
if test -n "$ac_ct_STRIP"; then
6826
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6827
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6828
 
else
6829
 
  { echo "$as_me:$LINENO: result: no" >&5
6830
 
echo "${ECHO_T}no" >&6; }
6831
 
fi
6832
 
 
6833
 
  if test "x$ac_ct_STRIP" = x; then
6834
 
    STRIP=":"
6835
 
  else
6836
 
    case $cross_compiling:$ac_tool_warned in
6837
 
yes:)
6838
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6839
 
whose name does not start with the host triplet.  If you think this
6840
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6841
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6842
 
whose name does not start with the host triplet.  If you think this
6843
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6844
 
ac_tool_warned=yes ;;
6845
 
esac
6846
 
    STRIP=$ac_ct_STRIP
6847
 
  fi
6848
 
else
6849
 
  STRIP="$ac_cv_prog_STRIP"
6850
 
fi
6851
 
 
6852
 
 
6853
 
old_CC="$CC"
6854
 
old_CFLAGS="$CFLAGS"
6855
 
 
6856
 
# Set sane defaults for various variables
6857
 
test -z "$AR" && AR=ar
6858
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
6859
 
test -z "$AS" && AS=as
6860
 
test -z "$CC" && CC=cc
6861
 
test -z "$LTCC" && LTCC=$CC
6862
 
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6863
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
6864
 
test -z "$LD" && LD=ld
6865
 
test -z "$LN_S" && LN_S="ln -s"
6866
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
6867
 
test -z "$NM" && NM=nm
6868
 
test -z "$SED" && SED=sed
6869
 
test -z "$OBJDUMP" && OBJDUMP=objdump
6870
 
test -z "$RANLIB" && RANLIB=:
6871
 
test -z "$STRIP" && STRIP=:
6872
 
test -z "$ac_objext" && ac_objext=o
6873
 
 
6874
 
# Determine commands to create old-style static archives.
6875
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6876
 
old_postinstall_cmds='chmod 644 $oldlib'
6877
 
old_postuninstall_cmds=
6878
 
 
6879
 
if test -n "$RANLIB"; then
6880
 
  case $host_os in
6881
 
  openbsd*)
6882
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6883
 
    ;;
6884
 
  *)
6885
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6886
 
    ;;
6887
 
  esac
6888
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6889
 
fi
6890
 
 
6891
 
for cc_temp in $compiler""; do
6892
 
  case $cc_temp in
6893
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6894
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6895
 
    \-*) ;;
6896
 
    *) break;;
6897
 
  esac
6898
 
done
6899
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6900
 
 
6901
 
 
6902
 
# Only perform the check for file, if the check method requires it
6903
 
case $deplibs_check_method in
6904
 
file_magic*)
6905
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6906
 
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6907
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6908
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6909
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6910
 
else
6911
 
  case $MAGIC_CMD in
6912
 
[\\/*] |  ?:[\\/]*)
6913
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6914
 
  ;;
6915
 
*)
6916
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
6917
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6918
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6919
 
  for ac_dir in $ac_dummy; do
6920
 
    IFS="$lt_save_ifs"
6921
 
    test -z "$ac_dir" && ac_dir=.
6922
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
6923
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6924
 
      if test -n "$file_magic_test_file"; then
6925
 
        case $deplibs_check_method in
6926
 
        "file_magic "*)
6927
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6928
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6929
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6930
 
            $EGREP "$file_magic_regex" > /dev/null; then
6931
 
            :
6932
 
          else
6933
 
            cat <<EOF 1>&2
6934
 
 
6935
 
*** Warning: the command libtool uses to detect shared libraries,
6936
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
6937
 
*** The result is that libtool may fail to recognize shared libraries
6938
 
*** as such.  This will affect the creation of libtool libraries that
6939
 
*** depend on shared libraries, but programs linked with such libtool
6940
 
*** libraries will work regardless of this problem.  Nevertheless, you
6941
 
*** may want to report the problem to your system manager and/or to
6942
 
*** bug-libtool@gnu.org
6943
 
 
6944
 
EOF
6945
 
          fi ;;
6946
 
        esac
6947
 
      fi
6948
 
      break
6949
 
    fi
6950
 
  done
6951
 
  IFS="$lt_save_ifs"
6952
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
6953
 
  ;;
6954
 
esac
6955
 
fi
6956
 
 
6957
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6958
 
if test -n "$MAGIC_CMD"; then
6959
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6960
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6961
 
else
6962
 
  { echo "$as_me:$LINENO: result: no" >&5
6963
 
echo "${ECHO_T}no" >&6; }
6964
 
fi
6965
 
 
6966
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
6967
 
  if test -n "$ac_tool_prefix"; then
6968
 
    { echo "$as_me:$LINENO: checking for file" >&5
6969
 
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6970
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6971
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6972
 
else
6973
 
  case $MAGIC_CMD in
6974
 
[\\/*] |  ?:[\\/]*)
6975
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6976
 
  ;;
6977
 
*)
6978
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
6979
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6980
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6981
 
  for ac_dir in $ac_dummy; do
6982
 
    IFS="$lt_save_ifs"
6983
 
    test -z "$ac_dir" && ac_dir=.
6984
 
    if test -f $ac_dir/file; then
6985
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
6986
 
      if test -n "$file_magic_test_file"; then
6987
 
        case $deplibs_check_method in
6988
 
        "file_magic "*)
6989
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6990
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6991
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6992
 
            $EGREP "$file_magic_regex" > /dev/null; then
6993
 
            :
6994
 
          else
6995
 
            cat <<EOF 1>&2
6996
 
 
6997
 
*** Warning: the command libtool uses to detect shared libraries,
6998
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
6999
 
*** The result is that libtool may fail to recognize shared libraries
7000
 
*** as such.  This will affect the creation of libtool libraries that
7001
 
*** depend on shared libraries, but programs linked with such libtool
7002
 
*** libraries will work regardless of this problem.  Nevertheless, you
7003
 
*** may want to report the problem to your system manager and/or to
7004
 
*** bug-libtool@gnu.org
7005
 
 
7006
 
EOF
7007
 
          fi ;;
7008
 
        esac
7009
 
      fi
7010
 
      break
7011
 
    fi
7012
 
  done
7013
 
  IFS="$lt_save_ifs"
7014
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
7015
 
  ;;
7016
 
esac
7017
 
fi
7018
 
 
7019
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7020
 
if test -n "$MAGIC_CMD"; then
7021
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7022
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
7023
 
else
7024
 
  { echo "$as_me:$LINENO: result: no" >&5
7025
 
echo "${ECHO_T}no" >&6; }
7026
 
fi
7027
 
 
7028
 
  else
7029
 
    MAGIC_CMD=:
7030
 
  fi
7031
 
fi
7032
 
 
7033
 
  fi
7034
 
  ;;
7035
 
esac
 
5565
 
 
5566
 
 
5567
 
 
5568
 
 
5569
 
 
5570
 
 
5571
 
 
5572
 
 
5573
 
 
5574
 
 
5575
 
 
5576
 
 
5577
 
 
5578
 
 
5579
 
 
5580
 
 
5581
 
 
5582
 
 
5583
 
 
5584
 
 
5585
 
 
5586
 
 
5587
# Check whether --enable-libtool-lock was given.
 
5588
if test "${enable_libtool_lock+set}" = set; then
 
5589
  enableval=$enable_libtool_lock;
 
5590
fi
 
5591
 
 
5592
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
5593
 
 
5594
# Some flags need to be propagated to the compiler or linker for good
 
5595
# libtool support.
 
5596
case $host in
 
5597
ia64-*-hpux*)
 
5598
  # Find out which ABI we are using.
 
5599
  echo 'int i;' > conftest.$ac_ext
 
5600
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5601
  (eval $ac_compile) 2>&5
 
5602
  ac_status=$?
 
5603
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5604
  (exit $ac_status); }; then
 
5605
    case `/usr/bin/file conftest.$ac_objext` in
 
5606
      *ELF-32*)
 
5607
        HPUX_IA64_MODE="32"
 
5608
        ;;
 
5609
      *ELF-64*)
 
5610
        HPUX_IA64_MODE="64"
 
5611
        ;;
 
5612
    esac
 
5613
  fi
 
5614
  rm -rf conftest*
 
5615
  ;;
 
5616
*-*-irix6*)
 
5617
  # Find out which ABI we are using.
 
5618
  echo '#line 5618 "configure"' > conftest.$ac_ext
 
5619
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5620
  (eval $ac_compile) 2>&5
 
5621
  ac_status=$?
 
5622
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5623
  (exit $ac_status); }; then
 
5624
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
5625
      case `/usr/bin/file conftest.$ac_objext` in
 
5626
        *32-bit*)
 
5627
          LD="${LD-ld} -melf32bsmip"
 
5628
          ;;
 
5629
        *N32*)
 
5630
          LD="${LD-ld} -melf32bmipn32"
 
5631
          ;;
 
5632
        *64-bit*)
 
5633
          LD="${LD-ld} -melf64bmip"
 
5634
        ;;
 
5635
      esac
 
5636
    else
 
5637
      case `/usr/bin/file conftest.$ac_objext` in
 
5638
        *32-bit*)
 
5639
          LD="${LD-ld} -32"
 
5640
          ;;
 
5641
        *N32*)
 
5642
          LD="${LD-ld} -n32"
 
5643
          ;;
 
5644
        *64-bit*)
 
5645
          LD="${LD-ld} -64"
 
5646
          ;;
 
5647
      esac
 
5648
    fi
 
5649
  fi
 
5650
  rm -rf conftest*
 
5651
  ;;
 
5652
 
 
5653
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
5654
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
5655
  # Find out which ABI we are using.
 
5656
  echo 'int i;' > conftest.$ac_ext
 
5657
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5658
  (eval $ac_compile) 2>&5
 
5659
  ac_status=$?
 
5660
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5661
  (exit $ac_status); }; then
 
5662
    case `/usr/bin/file conftest.o` in
 
5663
      *32-bit*)
 
5664
        case $host in
 
5665
          x86_64-*kfreebsd*-gnu)
 
5666
            LD="${LD-ld} -m elf_i386_fbsd"
 
5667
            ;;
 
5668
          x86_64-*linux*)
 
5669
            LD="${LD-ld} -m elf_i386"
 
5670
            ;;
 
5671
          ppc64-*linux*|powerpc64-*linux*)
 
5672
            LD="${LD-ld} -m elf32ppclinux"
 
5673
            ;;
 
5674
          s390x-*linux*)
 
5675
            LD="${LD-ld} -m elf_s390"
 
5676
            ;;
 
5677
          sparc64-*linux*)
 
5678
            LD="${LD-ld} -m elf32_sparc"
 
5679
            ;;
 
5680
        esac
 
5681
        ;;
 
5682
      *64-bit*)
 
5683
        case $host in
 
5684
          x86_64-*kfreebsd*-gnu)
 
5685
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
5686
            ;;
 
5687
          x86_64-*linux*)
 
5688
            LD="${LD-ld} -m elf_x86_64"
 
5689
            ;;
 
5690
          ppc*-*linux*|powerpc*-*linux*)
 
5691
            LD="${LD-ld} -m elf64ppc"
 
5692
            ;;
 
5693
          s390*-*linux*|s390*-*tpf*)
 
5694
            LD="${LD-ld} -m elf64_s390"
 
5695
            ;;
 
5696
          sparc*-*linux*)
 
5697
            LD="${LD-ld} -m elf64_sparc"
 
5698
            ;;
 
5699
        esac
 
5700
        ;;
 
5701
    esac
 
5702
  fi
 
5703
  rm -rf conftest*
 
5704
  ;;
 
5705
 
 
5706
*-*-sco3.2v5*)
 
5707
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
5708
  SAVE_CFLAGS="$CFLAGS"
 
5709
  CFLAGS="$CFLAGS -belf"
 
5710
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
5711
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
 
5712
if test "${lt_cv_cc_needs_belf+set}" = set; then
 
5713
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5714
else
 
5715
  ac_ext=c
 
5716
ac_cpp='$CPP $CPPFLAGS'
 
5717
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5718
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5719
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
5720
 
 
5721
     cat >conftest.$ac_ext <<_ACEOF
 
5722
/* confdefs.h.  */
 
5723
_ACEOF
 
5724
cat confdefs.h >>conftest.$ac_ext
 
5725
cat >>conftest.$ac_ext <<_ACEOF
 
5726
/* end confdefs.h.  */
 
5727
 
 
5728
int
 
5729
main ()
 
5730
{
 
5731
 
 
5732
  ;
 
5733
  return 0;
 
5734
}
 
5735
_ACEOF
 
5736
rm -f conftest.$ac_objext conftest$ac_exeext
 
5737
if { (ac_try="$ac_link"
 
5738
case "(($ac_try" in
 
5739
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5740
  *) ac_try_echo=$ac_try;;
 
5741
esac
 
5742
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5743
  (eval "$ac_link") 2>conftest.er1
 
5744
  ac_status=$?
 
5745
  grep -v '^ *+' conftest.er1 >conftest.err
 
5746
  rm -f conftest.er1
 
5747
  cat conftest.err >&5
 
5748
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5749
  (exit $ac_status); } && {
 
5750
         test -z "$ac_c_werror_flag" ||
 
5751
         test ! -s conftest.err
 
5752
       } && test -s conftest$ac_exeext &&
 
5753
       $as_test_x conftest$ac_exeext; then
 
5754
  lt_cv_cc_needs_belf=yes
 
5755
else
 
5756
  echo "$as_me: failed program was:" >&5
 
5757
sed 's/^/| /' conftest.$ac_ext >&5
 
5758
 
 
5759
        lt_cv_cc_needs_belf=no
 
5760
fi
 
5761
 
 
5762
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
5763
      conftest$ac_exeext conftest.$ac_ext
 
5764
     ac_ext=c
 
5765
ac_cpp='$CPP $CPPFLAGS'
 
5766
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5767
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5768
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
5769
 
 
5770
fi
 
5771
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
5772
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
 
5773
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
5774
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
5775
    CFLAGS="$SAVE_CFLAGS"
 
5776
  fi
 
5777
  ;;
 
5778
sparc*-*solaris*)
 
5779
  # Find out which ABI we are using.
 
5780
  echo 'int i;' > conftest.$ac_ext
 
5781
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5782
  (eval $ac_compile) 2>&5
 
5783
  ac_status=$?
 
5784
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5785
  (exit $ac_status); }; then
 
5786
    case `/usr/bin/file conftest.o` in
 
5787
    *64-bit*)
 
5788
      case $lt_cv_prog_gnu_ld in
 
5789
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
5790
      *)
 
5791
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
5792
          LD="${LD-ld} -64"
 
5793
        fi
 
5794
        ;;
 
5795
      esac
 
5796
      ;;
 
5797
    esac
 
5798
  fi
 
5799
  rm -rf conftest*
 
5800
  ;;
 
5801
esac
 
5802
 
 
5803
need_locks="$enable_libtool_lock"
7036
5804
 
7037
5805
 
7038
5806
  case $host_os in
7229
5997
  NMEDIT="$ac_cv_prog_NMEDIT"
7230
5998
fi
7231
5999
 
 
6000
    if test -n "$ac_tool_prefix"; then
 
6001
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
6002
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
6003
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6004
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6005
if test "${ac_cv_prog_LIPO+set}" = set; then
 
6006
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6007
else
 
6008
  if test -n "$LIPO"; then
 
6009
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
6010
else
 
6011
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6012
for as_dir in $PATH
 
6013
do
 
6014
  IFS=$as_save_IFS
 
6015
  test -z "$as_dir" && as_dir=.
 
6016
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6017
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6018
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
6019
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6020
    break 2
 
6021
  fi
 
6022
done
 
6023
done
 
6024
IFS=$as_save_IFS
 
6025
 
 
6026
fi
 
6027
fi
 
6028
LIPO=$ac_cv_prog_LIPO
 
6029
if test -n "$LIPO"; then
 
6030
  { echo "$as_me:$LINENO: result: $LIPO" >&5
 
6031
echo "${ECHO_T}$LIPO" >&6; }
 
6032
else
 
6033
  { echo "$as_me:$LINENO: result: no" >&5
 
6034
echo "${ECHO_T}no" >&6; }
 
6035
fi
 
6036
 
 
6037
 
 
6038
fi
 
6039
if test -z "$ac_cv_prog_LIPO"; then
 
6040
  ac_ct_LIPO=$LIPO
 
6041
  # Extract the first word of "lipo", so it can be a program name with args.
 
6042
set dummy lipo; ac_word=$2
 
6043
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6044
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6045
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
 
6046
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6047
else
 
6048
  if test -n "$ac_ct_LIPO"; then
 
6049
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
6050
else
 
6051
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6052
for as_dir in $PATH
 
6053
do
 
6054
  IFS=$as_save_IFS
 
6055
  test -z "$as_dir" && as_dir=.
 
6056
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6057
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6058
    ac_cv_prog_ac_ct_LIPO="lipo"
 
6059
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6060
    break 2
 
6061
  fi
 
6062
done
 
6063
done
 
6064
IFS=$as_save_IFS
 
6065
 
 
6066
fi
 
6067
fi
 
6068
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
6069
if test -n "$ac_ct_LIPO"; then
 
6070
  { echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
 
6071
echo "${ECHO_T}$ac_ct_LIPO" >&6; }
 
6072
else
 
6073
  { echo "$as_me:$LINENO: result: no" >&5
 
6074
echo "${ECHO_T}no" >&6; }
 
6075
fi
 
6076
 
 
6077
  if test "x$ac_ct_LIPO" = x; then
 
6078
    LIPO=":"
 
6079
  else
 
6080
    case $cross_compiling:$ac_tool_warned in
 
6081
yes:)
 
6082
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6083
whose name does not start with the host triplet.  If you think this
 
6084
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6085
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6086
whose name does not start with the host triplet.  If you think this
 
6087
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6088
ac_tool_warned=yes ;;
 
6089
esac
 
6090
    LIPO=$ac_ct_LIPO
 
6091
  fi
 
6092
else
 
6093
  LIPO="$ac_cv_prog_LIPO"
 
6094
fi
 
6095
 
 
6096
    if test -n "$ac_tool_prefix"; then
 
6097
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
6098
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
6099
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6100
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6101
if test "${ac_cv_prog_OTOOL+set}" = set; then
 
6102
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6103
else
 
6104
  if test -n "$OTOOL"; then
 
6105
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
6106
else
 
6107
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6108
for as_dir in $PATH
 
6109
do
 
6110
  IFS=$as_save_IFS
 
6111
  test -z "$as_dir" && as_dir=.
 
6112
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6113
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6114
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
6115
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6116
    break 2
 
6117
  fi
 
6118
done
 
6119
done
 
6120
IFS=$as_save_IFS
 
6121
 
 
6122
fi
 
6123
fi
 
6124
OTOOL=$ac_cv_prog_OTOOL
 
6125
if test -n "$OTOOL"; then
 
6126
  { echo "$as_me:$LINENO: result: $OTOOL" >&5
 
6127
echo "${ECHO_T}$OTOOL" >&6; }
 
6128
else
 
6129
  { echo "$as_me:$LINENO: result: no" >&5
 
6130
echo "${ECHO_T}no" >&6; }
 
6131
fi
 
6132
 
 
6133
 
 
6134
fi
 
6135
if test -z "$ac_cv_prog_OTOOL"; then
 
6136
  ac_ct_OTOOL=$OTOOL
 
6137
  # Extract the first word of "otool", so it can be a program name with args.
 
6138
set dummy otool; ac_word=$2
 
6139
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6140
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6141
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
 
6142
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6143
else
 
6144
  if test -n "$ac_ct_OTOOL"; then
 
6145
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
6146
else
 
6147
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6148
for as_dir in $PATH
 
6149
do
 
6150
  IFS=$as_save_IFS
 
6151
  test -z "$as_dir" && as_dir=.
 
6152
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6153
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6154
    ac_cv_prog_ac_ct_OTOOL="otool"
 
6155
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6156
    break 2
 
6157
  fi
 
6158
done
 
6159
done
 
6160
IFS=$as_save_IFS
 
6161
 
 
6162
fi
 
6163
fi
 
6164
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
6165
if test -n "$ac_ct_OTOOL"; then
 
6166
  { echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
 
6167
echo "${ECHO_T}$ac_ct_OTOOL" >&6; }
 
6168
else
 
6169
  { echo "$as_me:$LINENO: result: no" >&5
 
6170
echo "${ECHO_T}no" >&6; }
 
6171
fi
 
6172
 
 
6173
  if test "x$ac_ct_OTOOL" = x; then
 
6174
    OTOOL=":"
 
6175
  else
 
6176
    case $cross_compiling:$ac_tool_warned in
 
6177
yes:)
 
6178
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6179
whose name does not start with the host triplet.  If you think this
 
6180
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6181
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6182
whose name does not start with the host triplet.  If you think this
 
6183
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6184
ac_tool_warned=yes ;;
 
6185
esac
 
6186
    OTOOL=$ac_ct_OTOOL
 
6187
  fi
 
6188
else
 
6189
  OTOOL="$ac_cv_prog_OTOOL"
 
6190
fi
 
6191
 
 
6192
    if test -n "$ac_tool_prefix"; then
 
6193
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
6194
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
6195
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6196
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6197
if test "${ac_cv_prog_OTOOL64+set}" = set; then
 
6198
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6199
else
 
6200
  if test -n "$OTOOL64"; then
 
6201
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
6202
else
 
6203
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6204
for as_dir in $PATH
 
6205
do
 
6206
  IFS=$as_save_IFS
 
6207
  test -z "$as_dir" && as_dir=.
 
6208
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6209
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6210
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
6211
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6212
    break 2
 
6213
  fi
 
6214
done
 
6215
done
 
6216
IFS=$as_save_IFS
 
6217
 
 
6218
fi
 
6219
fi
 
6220
OTOOL64=$ac_cv_prog_OTOOL64
 
6221
if test -n "$OTOOL64"; then
 
6222
  { echo "$as_me:$LINENO: result: $OTOOL64" >&5
 
6223
echo "${ECHO_T}$OTOOL64" >&6; }
 
6224
else
 
6225
  { echo "$as_me:$LINENO: result: no" >&5
 
6226
echo "${ECHO_T}no" >&6; }
 
6227
fi
 
6228
 
 
6229
 
 
6230
fi
 
6231
if test -z "$ac_cv_prog_OTOOL64"; then
 
6232
  ac_ct_OTOOL64=$OTOOL64
 
6233
  # Extract the first word of "otool64", so it can be a program name with args.
 
6234
set dummy otool64; ac_word=$2
 
6235
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6236
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6237
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
 
6238
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6239
else
 
6240
  if test -n "$ac_ct_OTOOL64"; then
 
6241
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
6242
else
 
6243
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6244
for as_dir in $PATH
 
6245
do
 
6246
  IFS=$as_save_IFS
 
6247
  test -z "$as_dir" && as_dir=.
 
6248
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6249
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6250
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
6251
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6252
    break 2
 
6253
  fi
 
6254
done
 
6255
done
 
6256
IFS=$as_save_IFS
 
6257
 
 
6258
fi
 
6259
fi
 
6260
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
6261
if test -n "$ac_ct_OTOOL64"; then
 
6262
  { echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
 
6263
echo "${ECHO_T}$ac_ct_OTOOL64" >&6; }
 
6264
else
 
6265
  { echo "$as_me:$LINENO: result: no" >&5
 
6266
echo "${ECHO_T}no" >&6; }
 
6267
fi
 
6268
 
 
6269
  if test "x$ac_ct_OTOOL64" = x; then
 
6270
    OTOOL64=":"
 
6271
  else
 
6272
    case $cross_compiling:$ac_tool_warned in
 
6273
yes:)
 
6274
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6275
whose name does not start with the host triplet.  If you think this
 
6276
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6277
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6278
whose name does not start with the host triplet.  If you think this
 
6279
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6280
ac_tool_warned=yes ;;
 
6281
esac
 
6282
    OTOOL64=$ac_ct_OTOOL64
 
6283
  fi
 
6284
else
 
6285
  OTOOL64="$ac_cv_prog_OTOOL64"
 
6286
fi
 
6287
 
 
6288
 
 
6289
 
 
6290
 
 
6291
 
 
6292
 
 
6293
 
 
6294
 
 
6295
 
 
6296
 
 
6297
 
 
6298
 
 
6299
 
 
6300
 
 
6301
 
 
6302
 
 
6303
 
 
6304
 
 
6305
 
 
6306
 
 
6307
 
 
6308
 
 
6309
 
 
6310
 
 
6311
 
 
6312
 
7232
6313
 
7233
6314
    { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7234
6315
echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
7237
6318
else
7238
6319
  lt_cv_apple_cc_single_mod=no
7239
6320
      if test -z "${LT_MULTI_MODULE}"; then
7240
 
   # By default we will add the -single_module flag. You can override
7241
 
   # by either setting the environment variable LT_MULTI_MODULE
7242
 
   # non-empty at configure time, or by adding -multi_module to the
7243
 
   # link flags.
7244
 
   echo "int foo(void){return 1;}" > conftest.c
7245
 
   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7246
 
     -dynamiclib ${wl}-single_module conftest.c
7247
 
   if test -f libconftest.dylib; then
7248
 
     lt_cv_apple_cc_single_mod=yes
7249
 
     rm -rf libconftest.dylib*
7250
 
   fi
7251
 
   rm conftest.c
 
6321
        # By default we will add the -single_module flag. You can override
 
6322
        # by either setting the environment variable LT_MULTI_MODULE
 
6323
        # non-empty at configure time, or by adding -multi_module to the
 
6324
        # link flags.
 
6325
        rm -rf libconftest.dylib*
 
6326
        echo "int foo(void){return 1;}" > conftest.c
 
6327
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
6328
-dynamiclib -Wl,-single_module conftest.c" >&5
 
6329
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
6330
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
6331
        _lt_result=$?
 
6332
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
6333
          lt_cv_apple_cc_single_mod=yes
 
6334
        else
 
6335
          cat conftest.err >&5
 
6336
        fi
 
6337
        rm -rf libconftest.dylib*
 
6338
        rm -f conftest.*
7252
6339
      fi
7253
6340
fi
7254
6341
{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7305
6392
 
7306
6393
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7307
6394
      conftest$ac_exeext conftest.$ac_ext
7308
 
   LDFLAGS="$save_LDFLAGS"
 
6395
        LDFLAGS="$save_LDFLAGS"
7309
6396
 
7310
6397
fi
7311
6398
{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7312
6399
echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
7313
6400
    case $host_os in
7314
 
    rhapsody* | darwin1.[0123])
 
6401
    rhapsody* | darwin1.[012])
7315
6402
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7316
6403
    darwin1.*)
7317
 
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7318
 
    darwin*)
 
6404
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
6405
    darwin*) # darwin 5.x on
7319
6406
      # if running on 10.5 or later, the deployment target defaults
7320
6407
      # to the OS version, if on x86, and 10.4, the deployment
7321
6408
      # target defaults to 10.4. Don't you love it?
7322
6409
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7323
 
   10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7324
 
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7325
 
   10.[012]*)
7326
 
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7327
 
   10.*)
7328
 
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
6410
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
6411
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
6412
        10.[012]*)
 
6413
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
6414
        10.*)
 
6415
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7329
6416
      esac
7330
6417
    ;;
7331
6418
  esac
7335
6422
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7336
6423
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7337
6424
    else
7338
 
      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
 
6425
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7339
6426
    fi
7340
6427
    if test "$DSYMUTIL" != ":"; then
7341
 
      _lt_dsymutil="~$DSYMUTIL \$lib || :"
 
6428
      _lt_dsymutil='~$DSYMUTIL $lib || :'
7342
6429
    else
7343
6430
      _lt_dsymutil=
7344
6431
    fi
7345
6432
    ;;
7346
6433
  esac
7347
6434
 
7348
 
 
7349
 
enable_dlopen=no
7350
 
enable_win32_dll=no
7351
 
 
7352
 
# Check whether --enable-libtool-lock was given.
7353
 
if test "${enable_libtool_lock+set}" = set; then
7354
 
  enableval=$enable_libtool_lock;
7355
 
fi
7356
 
 
7357
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
6435
ac_ext=c
 
6436
ac_cpp='$CPP $CPPFLAGS'
 
6437
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6438
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6439
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6440
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
6441
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
 
6442
# On Suns, sometimes $CPP names a directory.
 
6443
if test -n "$CPP" && test -d "$CPP"; then
 
6444
  CPP=
 
6445
fi
 
6446
if test -z "$CPP"; then
 
6447
  if test "${ac_cv_prog_CPP+set}" = set; then
 
6448
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6449
else
 
6450
      # Double quotes because CPP needs to be expanded
 
6451
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
6452
    do
 
6453
      ac_preproc_ok=false
 
6454
for ac_c_preproc_warn_flag in '' yes
 
6455
do
 
6456
  # Use a header file that comes with gcc, so configuring glibc
 
6457
  # with a fresh cross-compiler works.
 
6458
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
6459
  # <limits.h> exists even on freestanding compilers.
 
6460
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
6461
  # not just through cpp. "Syntax error" is here to catch this case.
 
6462
  cat >conftest.$ac_ext <<_ACEOF
 
6463
/* confdefs.h.  */
 
6464
_ACEOF
 
6465
cat confdefs.h >>conftest.$ac_ext
 
6466
cat >>conftest.$ac_ext <<_ACEOF
 
6467
/* end confdefs.h.  */
 
6468
#ifdef __STDC__
 
6469
# include <limits.h>
 
6470
#else
 
6471
# include <assert.h>
 
6472
#endif
 
6473
                     Syntax error
 
6474
_ACEOF
 
6475
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6476
case "(($ac_try" in
 
6477
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6478
  *) ac_try_echo=$ac_try;;
 
6479
esac
 
6480
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6481
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
6482
  ac_status=$?
 
6483
  grep -v '^ *+' conftest.er1 >conftest.err
 
6484
  rm -f conftest.er1
 
6485
  cat conftest.err >&5
 
6486
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6487
  (exit $ac_status); } >/dev/null && {
 
6488
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
6489
         test ! -s conftest.err
 
6490
       }; then
 
6491
  :
 
6492
else
 
6493
  echo "$as_me: failed program was:" >&5
 
6494
sed 's/^/| /' conftest.$ac_ext >&5
 
6495
 
 
6496
  # Broken: fails on valid input.
 
6497
continue
 
6498
fi
 
6499
 
 
6500
rm -f conftest.err conftest.$ac_ext
 
6501
 
 
6502
  # OK, works on sane cases.  Now check whether nonexistent headers
 
6503
  # can be detected and how.
 
6504
  cat >conftest.$ac_ext <<_ACEOF
 
6505
/* confdefs.h.  */
 
6506
_ACEOF
 
6507
cat confdefs.h >>conftest.$ac_ext
 
6508
cat >>conftest.$ac_ext <<_ACEOF
 
6509
/* end confdefs.h.  */
 
6510
#include <ac_nonexistent.h>
 
6511
_ACEOF
 
6512
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6513
case "(($ac_try" in
 
6514
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6515
  *) ac_try_echo=$ac_try;;
 
6516
esac
 
6517
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6518
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
6519
  ac_status=$?
 
6520
  grep -v '^ *+' conftest.er1 >conftest.err
 
6521
  rm -f conftest.er1
 
6522
  cat conftest.err >&5
 
6523
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6524
  (exit $ac_status); } >/dev/null && {
 
6525
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
6526
         test ! -s conftest.err
 
6527
       }; then
 
6528
  # Broken: success on invalid input.
 
6529
continue
 
6530
else
 
6531
  echo "$as_me: failed program was:" >&5
 
6532
sed 's/^/| /' conftest.$ac_ext >&5
 
6533
 
 
6534
  # Passes both tests.
 
6535
ac_preproc_ok=:
 
6536
break
 
6537
fi
 
6538
 
 
6539
rm -f conftest.err conftest.$ac_ext
 
6540
 
 
6541
done
 
6542
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
6543
rm -f conftest.err conftest.$ac_ext
 
6544
if $ac_preproc_ok; then
 
6545
  break
 
6546
fi
 
6547
 
 
6548
    done
 
6549
    ac_cv_prog_CPP=$CPP
 
6550
 
 
6551
fi
 
6552
  CPP=$ac_cv_prog_CPP
 
6553
else
 
6554
  ac_cv_prog_CPP=$CPP
 
6555
fi
 
6556
{ echo "$as_me:$LINENO: result: $CPP" >&5
 
6557
echo "${ECHO_T}$CPP" >&6; }
 
6558
ac_preproc_ok=false
 
6559
for ac_c_preproc_warn_flag in '' yes
 
6560
do
 
6561
  # Use a header file that comes with gcc, so configuring glibc
 
6562
  # with a fresh cross-compiler works.
 
6563
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
6564
  # <limits.h> exists even on freestanding compilers.
 
6565
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
6566
  # not just through cpp. "Syntax error" is here to catch this case.
 
6567
  cat >conftest.$ac_ext <<_ACEOF
 
6568
/* confdefs.h.  */
 
6569
_ACEOF
 
6570
cat confdefs.h >>conftest.$ac_ext
 
6571
cat >>conftest.$ac_ext <<_ACEOF
 
6572
/* end confdefs.h.  */
 
6573
#ifdef __STDC__
 
6574
# include <limits.h>
 
6575
#else
 
6576
# include <assert.h>
 
6577
#endif
 
6578
                     Syntax error
 
6579
_ACEOF
 
6580
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6581
case "(($ac_try" in
 
6582
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6583
  *) ac_try_echo=$ac_try;;
 
6584
esac
 
6585
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6586
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
6587
  ac_status=$?
 
6588
  grep -v '^ *+' conftest.er1 >conftest.err
 
6589
  rm -f conftest.er1
 
6590
  cat conftest.err >&5
 
6591
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6592
  (exit $ac_status); } >/dev/null && {
 
6593
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
6594
         test ! -s conftest.err
 
6595
       }; then
 
6596
  :
 
6597
else
 
6598
  echo "$as_me: failed program was:" >&5
 
6599
sed 's/^/| /' conftest.$ac_ext >&5
 
6600
 
 
6601
  # Broken: fails on valid input.
 
6602
continue
 
6603
fi
 
6604
 
 
6605
rm -f conftest.err conftest.$ac_ext
 
6606
 
 
6607
  # OK, works on sane cases.  Now check whether nonexistent headers
 
6608
  # can be detected and how.
 
6609
  cat >conftest.$ac_ext <<_ACEOF
 
6610
/* confdefs.h.  */
 
6611
_ACEOF
 
6612
cat confdefs.h >>conftest.$ac_ext
 
6613
cat >>conftest.$ac_ext <<_ACEOF
 
6614
/* end confdefs.h.  */
 
6615
#include <ac_nonexistent.h>
 
6616
_ACEOF
 
6617
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6618
case "(($ac_try" in
 
6619
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6620
  *) ac_try_echo=$ac_try;;
 
6621
esac
 
6622
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6623
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
6624
  ac_status=$?
 
6625
  grep -v '^ *+' conftest.er1 >conftest.err
 
6626
  rm -f conftest.er1
 
6627
  cat conftest.err >&5
 
6628
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6629
  (exit $ac_status); } >/dev/null && {
 
6630
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
6631
         test ! -s conftest.err
 
6632
       }; then
 
6633
  # Broken: success on invalid input.
 
6634
continue
 
6635
else
 
6636
  echo "$as_me: failed program was:" >&5
 
6637
sed 's/^/| /' conftest.$ac_ext >&5
 
6638
 
 
6639
  # Passes both tests.
 
6640
ac_preproc_ok=:
 
6641
break
 
6642
fi
 
6643
 
 
6644
rm -f conftest.err conftest.$ac_ext
 
6645
 
 
6646
done
 
6647
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
6648
rm -f conftest.err conftest.$ac_ext
 
6649
if $ac_preproc_ok; then
 
6650
  :
 
6651
else
 
6652
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
6653
See \`config.log' for more details." >&5
 
6654
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
6655
See \`config.log' for more details." >&2;}
 
6656
   { (exit 1); exit 1; }; }
 
6657
fi
 
6658
 
 
6659
ac_ext=c
 
6660
ac_cpp='$CPP $CPPFLAGS'
 
6661
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6662
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6663
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6664
 
 
6665
 
 
6666
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
6667
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
 
6668
if test "${ac_cv_header_stdc+set}" = set; then
 
6669
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6670
else
 
6671
  cat >conftest.$ac_ext <<_ACEOF
 
6672
/* confdefs.h.  */
 
6673
_ACEOF
 
6674
cat confdefs.h >>conftest.$ac_ext
 
6675
cat >>conftest.$ac_ext <<_ACEOF
 
6676
/* end confdefs.h.  */
 
6677
#include <stdlib.h>
 
6678
#include <stdarg.h>
 
6679
#include <string.h>
 
6680
#include <float.h>
 
6681
 
 
6682
int
 
6683
main ()
 
6684
{
 
6685
 
 
6686
  ;
 
6687
  return 0;
 
6688
}
 
6689
_ACEOF
 
6690
rm -f conftest.$ac_objext
 
6691
if { (ac_try="$ac_compile"
 
6692
case "(($ac_try" in
 
6693
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6694
  *) ac_try_echo=$ac_try;;
 
6695
esac
 
6696
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6697
  (eval "$ac_compile") 2>conftest.er1
 
6698
  ac_status=$?
 
6699
  grep -v '^ *+' conftest.er1 >conftest.err
 
6700
  rm -f conftest.er1
 
6701
  cat conftest.err >&5
 
6702
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6703
  (exit $ac_status); } && {
 
6704
         test -z "$ac_c_werror_flag" ||
 
6705
         test ! -s conftest.err
 
6706
       } && test -s conftest.$ac_objext; then
 
6707
  ac_cv_header_stdc=yes
 
6708
else
 
6709
  echo "$as_me: failed program was:" >&5
 
6710
sed 's/^/| /' conftest.$ac_ext >&5
 
6711
 
 
6712
        ac_cv_header_stdc=no
 
6713
fi
 
6714
 
 
6715
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6716
 
 
6717
if test $ac_cv_header_stdc = yes; then
 
6718
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
6719
  cat >conftest.$ac_ext <<_ACEOF
 
6720
/* confdefs.h.  */
 
6721
_ACEOF
 
6722
cat confdefs.h >>conftest.$ac_ext
 
6723
cat >>conftest.$ac_ext <<_ACEOF
 
6724
/* end confdefs.h.  */
 
6725
#include <string.h>
 
6726
 
 
6727
_ACEOF
 
6728
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
6729
  $EGREP "memchr" >/dev/null 2>&1; then
 
6730
  :
 
6731
else
 
6732
  ac_cv_header_stdc=no
 
6733
fi
 
6734
rm -f conftest*
 
6735
 
 
6736
fi
 
6737
 
 
6738
if test $ac_cv_header_stdc = yes; then
 
6739
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
6740
  cat >conftest.$ac_ext <<_ACEOF
 
6741
/* confdefs.h.  */
 
6742
_ACEOF
 
6743
cat confdefs.h >>conftest.$ac_ext
 
6744
cat >>conftest.$ac_ext <<_ACEOF
 
6745
/* end confdefs.h.  */
 
6746
#include <stdlib.h>
 
6747
 
 
6748
_ACEOF
 
6749
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
6750
  $EGREP "free" >/dev/null 2>&1; then
 
6751
  :
 
6752
else
 
6753
  ac_cv_header_stdc=no
 
6754
fi
 
6755
rm -f conftest*
 
6756
 
 
6757
fi
 
6758
 
 
6759
if test $ac_cv_header_stdc = yes; then
 
6760
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
6761
  if test "$cross_compiling" = yes; then
 
6762
  :
 
6763
else
 
6764
  cat >conftest.$ac_ext <<_ACEOF
 
6765
/* confdefs.h.  */
 
6766
_ACEOF
 
6767
cat confdefs.h >>conftest.$ac_ext
 
6768
cat >>conftest.$ac_ext <<_ACEOF
 
6769
/* end confdefs.h.  */
 
6770
#include <ctype.h>
 
6771
#include <stdlib.h>
 
6772
#if ((' ' & 0x0FF) == 0x020)
 
6773
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
6774
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
6775
#else
 
6776
# define ISLOWER(c) \
 
6777
                   (('a' <= (c) && (c) <= 'i') \
 
6778
                     || ('j' <= (c) && (c) <= 'r') \
 
6779
                     || ('s' <= (c) && (c) <= 'z'))
 
6780
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
6781
#endif
 
6782
 
 
6783
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
6784
int
 
6785
main ()
 
6786
{
 
6787
  int i;
 
6788
  for (i = 0; i < 256; i++)
 
6789
    if (XOR (islower (i), ISLOWER (i))
 
6790
        || toupper (i) != TOUPPER (i))
 
6791
      return 2;
 
6792
  return 0;
 
6793
}
 
6794
_ACEOF
 
6795
rm -f conftest$ac_exeext
 
6796
if { (ac_try="$ac_link"
 
6797
case "(($ac_try" in
 
6798
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6799
  *) ac_try_echo=$ac_try;;
 
6800
esac
 
6801
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6802
  (eval "$ac_link") 2>&5
 
6803
  ac_status=$?
 
6804
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6805
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
6806
  { (case "(($ac_try" in
 
6807
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6808
  *) ac_try_echo=$ac_try;;
 
6809
esac
 
6810
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6811
  (eval "$ac_try") 2>&5
 
6812
  ac_status=$?
 
6813
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6814
  (exit $ac_status); }; }; then
 
6815
  :
 
6816
else
 
6817
  echo "$as_me: program exited with status $ac_status" >&5
 
6818
echo "$as_me: failed program was:" >&5
 
6819
sed 's/^/| /' conftest.$ac_ext >&5
 
6820
 
 
6821
( exit $ac_status )
 
6822
ac_cv_header_stdc=no
 
6823
fi
 
6824
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
6825
fi
 
6826
 
 
6827
 
 
6828
fi
 
6829
fi
 
6830
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
6831
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
 
6832
if test $ac_cv_header_stdc = yes; then
 
6833
 
 
6834
cat >>confdefs.h <<\_ACEOF
 
6835
#define STDC_HEADERS 1
 
6836
_ACEOF
 
6837
 
 
6838
fi
 
6839
 
 
6840
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
6841
 
 
6842
 
 
6843
 
 
6844
 
 
6845
 
 
6846
 
 
6847
 
 
6848
 
 
6849
 
 
6850
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
6851
                  inttypes.h stdint.h unistd.h
 
6852
do
 
6853
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
6854
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
6855
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
6856
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
6857
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6858
else
 
6859
  cat >conftest.$ac_ext <<_ACEOF
 
6860
/* confdefs.h.  */
 
6861
_ACEOF
 
6862
cat confdefs.h >>conftest.$ac_ext
 
6863
cat >>conftest.$ac_ext <<_ACEOF
 
6864
/* end confdefs.h.  */
 
6865
$ac_includes_default
 
6866
 
 
6867
#include <$ac_header>
 
6868
_ACEOF
 
6869
rm -f conftest.$ac_objext
 
6870
if { (ac_try="$ac_compile"
 
6871
case "(($ac_try" in
 
6872
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6873
  *) ac_try_echo=$ac_try;;
 
6874
esac
 
6875
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6876
  (eval "$ac_compile") 2>conftest.er1
 
6877
  ac_status=$?
 
6878
  grep -v '^ *+' conftest.er1 >conftest.err
 
6879
  rm -f conftest.er1
 
6880
  cat conftest.err >&5
 
6881
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6882
  (exit $ac_status); } && {
 
6883
         test -z "$ac_c_werror_flag" ||
 
6884
         test ! -s conftest.err
 
6885
       } && test -s conftest.$ac_objext; then
 
6886
  eval "$as_ac_Header=yes"
 
6887
else
 
6888
  echo "$as_me: failed program was:" >&5
 
6889
sed 's/^/| /' conftest.$ac_ext >&5
 
6890
 
 
6891
        eval "$as_ac_Header=no"
 
6892
fi
 
6893
 
 
6894
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6895
fi
 
6896
ac_res=`eval echo '${'$as_ac_Header'}'`
 
6897
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
6898
echo "${ECHO_T}$ac_res" >&6; }
 
6899
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
6900
  cat >>confdefs.h <<_ACEOF
 
6901
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
6902
_ACEOF
 
6903
 
 
6904
fi
 
6905
 
 
6906
done
 
6907
 
 
6908
 
 
6909
 
 
6910
for ac_header in dlfcn.h
 
6911
do
 
6912
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
6913
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
6914
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
6915
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
6916
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6917
else
 
6918
  cat >conftest.$ac_ext <<_ACEOF
 
6919
/* confdefs.h.  */
 
6920
_ACEOF
 
6921
cat confdefs.h >>conftest.$ac_ext
 
6922
cat >>conftest.$ac_ext <<_ACEOF
 
6923
/* end confdefs.h.  */
 
6924
$ac_includes_default
 
6925
 
 
6926
#include <$ac_header>
 
6927
_ACEOF
 
6928
rm -f conftest.$ac_objext
 
6929
if { (ac_try="$ac_compile"
 
6930
case "(($ac_try" in
 
6931
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6932
  *) ac_try_echo=$ac_try;;
 
6933
esac
 
6934
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6935
  (eval "$ac_compile") 2>conftest.er1
 
6936
  ac_status=$?
 
6937
  grep -v '^ *+' conftest.er1 >conftest.err
 
6938
  rm -f conftest.er1
 
6939
  cat conftest.err >&5
 
6940
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6941
  (exit $ac_status); } && {
 
6942
         test -z "$ac_c_werror_flag" ||
 
6943
         test ! -s conftest.err
 
6944
       } && test -s conftest.$ac_objext; then
 
6945
  eval "$as_ac_Header=yes"
 
6946
else
 
6947
  echo "$as_me: failed program was:" >&5
 
6948
sed 's/^/| /' conftest.$ac_ext >&5
 
6949
 
 
6950
        eval "$as_ac_Header=no"
 
6951
fi
 
6952
 
 
6953
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6954
fi
 
6955
ac_res=`eval echo '${'$as_ac_Header'}'`
 
6956
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
6957
echo "${ECHO_T}$ac_res" >&6; }
 
6958
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
6959
  cat >>confdefs.h <<_ACEOF
 
6960
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
6961
_ACEOF
 
6962
 
 
6963
fi
 
6964
 
 
6965
done
 
6966
 
 
6967
 
 
6968
 
 
6969
# Set options
 
6970
 
 
6971
 
 
6972
 
 
6973
        enable_dlopen=no
 
6974
 
 
6975
 
 
6976
  enable_win32_dll=no
 
6977
 
 
6978
 
 
6979
            # Check whether --enable-shared was given.
 
6980
if test "${enable_shared+set}" = set; then
 
6981
  enableval=$enable_shared; p=${PACKAGE-default}
 
6982
    case $enableval in
 
6983
    yes) enable_shared=yes ;;
 
6984
    no) enable_shared=no ;;
 
6985
    *)
 
6986
      enable_shared=no
 
6987
      # Look at the argument we got.  We use all the common list separators.
 
6988
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
6989
      for pkg in $enableval; do
 
6990
        IFS="$lt_save_ifs"
 
6991
        if test "X$pkg" = "X$p"; then
 
6992
          enable_shared=yes
 
6993
        fi
 
6994
      done
 
6995
      IFS="$lt_save_ifs"
 
6996
      ;;
 
6997
    esac
 
6998
else
 
6999
  enable_shared=yes
 
7000
fi
 
7001
 
 
7002
 
 
7003
 
 
7004
 
 
7005
 
 
7006
 
 
7007
 
 
7008
 
 
7009
 
7358
7010
 
7359
7011
 
7360
7012
# Check whether --with-pic was given.
7364
7016
  pic_mode=default
7365
7017
fi
7366
7018
 
 
7019
 
7367
7020
test -z "$pic_mode" && pic_mode=default
7368
7021
 
 
7022
 
 
7023
 
 
7024
 
 
7025
 
 
7026
 
 
7027
 
 
7028
  # Check whether --enable-fast-install was given.
 
7029
if test "${enable_fast_install+set}" = set; then
 
7030
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
7031
    case $enableval in
 
7032
    yes) enable_fast_install=yes ;;
 
7033
    no) enable_fast_install=no ;;
 
7034
    *)
 
7035
      enable_fast_install=no
 
7036
      # Look at the argument we got.  We use all the common list separators.
 
7037
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7038
      for pkg in $enableval; do
 
7039
        IFS="$lt_save_ifs"
 
7040
        if test "X$pkg" = "X$p"; then
 
7041
          enable_fast_install=yes
 
7042
        fi
 
7043
      done
 
7044
      IFS="$lt_save_ifs"
 
7045
      ;;
 
7046
    esac
 
7047
else
 
7048
  enable_fast_install=yes
 
7049
fi
 
7050
 
 
7051
 
 
7052
 
 
7053
 
 
7054
 
 
7055
 
 
7056
 
 
7057
 
 
7058
 
 
7059
 
 
7060
 
 
7061
# This can be used to rebuild libtool when needed
 
7062
LIBTOOL_DEPS="$ltmain"
 
7063
 
 
7064
# Always use our own libtool.
 
7065
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
7066
 
 
7067
 
 
7068
 
 
7069
 
 
7070
 
 
7071
 
 
7072
 
 
7073
 
 
7074
 
 
7075
 
 
7076
 
 
7077
 
 
7078
 
 
7079
 
 
7080
 
 
7081
 
 
7082
 
 
7083
 
 
7084
 
 
7085
 
 
7086
 
 
7087
 
 
7088
 
 
7089
 
 
7090
 
 
7091
test -z "$LN_S" && LN_S="ln -s"
 
7092
 
 
7093
 
 
7094
 
 
7095
 
 
7096
 
 
7097
 
 
7098
 
 
7099
 
 
7100
 
 
7101
 
 
7102
 
 
7103
 
 
7104
 
 
7105
 
 
7106
if test -n "${ZSH_VERSION+set}" ; then
 
7107
   setopt NO_GLOB_SUBST
 
7108
fi
 
7109
 
 
7110
{ echo "$as_me:$LINENO: checking for objdir" >&5
 
7111
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
 
7112
if test "${lt_cv_objdir+set}" = set; then
 
7113
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7114
else
 
7115
  rm -f .libs 2>/dev/null
 
7116
mkdir .libs 2>/dev/null
 
7117
if test -d .libs; then
 
7118
  lt_cv_objdir=.libs
 
7119
else
 
7120
  # MS-DOS does not allow filenames that begin with a dot.
 
7121
  lt_cv_objdir=_libs
 
7122
fi
 
7123
rmdir .libs 2>/dev/null
 
7124
fi
 
7125
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
7126
echo "${ECHO_T}$lt_cv_objdir" >&6; }
 
7127
objdir=$lt_cv_objdir
 
7128
 
 
7129
 
 
7130
 
 
7131
 
 
7132
 
 
7133
cat >>confdefs.h <<_ACEOF
 
7134
#define LT_OBJDIR "$lt_cv_objdir/"
 
7135
_ACEOF
 
7136
 
 
7137
 
 
7138
 
 
7139
 
 
7140
 
 
7141
 
 
7142
 
 
7143
 
 
7144
 
 
7145
 
 
7146
 
 
7147
 
 
7148
 
 
7149
 
 
7150
 
 
7151
 
 
7152
 
 
7153
case $host_os in
 
7154
aix3*)
 
7155
  # AIX sometimes has problems with the GCC collect2 program.  For some
 
7156
  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
7157
  # vanish in a puff of smoke.
 
7158
  if test "X${COLLECT_NAMES+set}" != Xset; then
 
7159
    COLLECT_NAMES=
 
7160
    export COLLECT_NAMES
 
7161
  fi
 
7162
  ;;
 
7163
esac
 
7164
 
 
7165
# Sed substitution that helps us do robust quoting.  It backslashifies
 
7166
# metacharacters that are still active within double-quoted strings.
 
7167
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
7168
 
 
7169
# Same as above, but do not quote variable references.
 
7170
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
7171
 
 
7172
# Sed substitution to delay expansion of an escaped shell variable in a
 
7173
# double_quote_subst'ed string.
 
7174
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
7175
 
 
7176
# Sed substitution to delay expansion of an escaped single quote.
 
7177
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
7178
 
 
7179
# Sed substitution to avoid accidental globbing in evaled expressions
 
7180
no_glob_subst='s/\*/\\\*/g'
 
7181
 
 
7182
# Global variables:
 
7183
ofile=libtool
 
7184
can_build_shared=yes
 
7185
 
 
7186
# All known linkers require a `.a' archive for static linking (except MSVC,
 
7187
# which needs '.lib').
 
7188
libext=a
 
7189
 
 
7190
with_gnu_ld="$lt_cv_prog_gnu_ld"
 
7191
 
 
7192
old_CC="$CC"
 
7193
old_CFLAGS="$CFLAGS"
 
7194
 
 
7195
# Set sane defaults for various variables
 
7196
test -z "$CC" && CC=cc
 
7197
test -z "$LTCC" && LTCC=$CC
 
7198
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
7199
test -z "$LD" && LD=ld
 
7200
test -z "$ac_objext" && ac_objext=o
 
7201
 
 
7202
for cc_temp in $compiler""; do
 
7203
  case $cc_temp in
 
7204
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
7205
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
7206
    \-*) ;;
 
7207
    *) break;;
 
7208
  esac
 
7209
done
 
7210
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
7211
 
 
7212
 
 
7213
# Only perform the check for file, if the check method requires it
 
7214
test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
7215
case $deplibs_check_method in
 
7216
file_magic*)
 
7217
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
7218
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
7219
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
 
7220
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
7221
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7222
else
 
7223
  case $MAGIC_CMD in
 
7224
[\\/*] |  ?:[\\/]*)
 
7225
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
7226
  ;;
 
7227
*)
 
7228
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
7229
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
7230
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
7231
  for ac_dir in $ac_dummy; do
 
7232
    IFS="$lt_save_ifs"
 
7233
    test -z "$ac_dir" && ac_dir=.
 
7234
    if test -f $ac_dir/${ac_tool_prefix}file; then
 
7235
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
7236
      if test -n "$file_magic_test_file"; then
 
7237
        case $deplibs_check_method in
 
7238
        "file_magic "*)
 
7239
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
7240
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7241
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
7242
            $EGREP "$file_magic_regex" > /dev/null; then
 
7243
            :
 
7244
          else
 
7245
            cat <<_LT_EOF 1>&2
 
7246
 
 
7247
*** Warning: the command libtool uses to detect shared libraries,
 
7248
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
7249
*** The result is that libtool may fail to recognize shared libraries
 
7250
*** as such.  This will affect the creation of libtool libraries that
 
7251
*** depend on shared libraries, but programs linked with such libtool
 
7252
*** libraries will work regardless of this problem.  Nevertheless, you
 
7253
*** may want to report the problem to your system manager and/or to
 
7254
*** bug-libtool@gnu.org
 
7255
 
 
7256
_LT_EOF
 
7257
          fi ;;
 
7258
        esac
 
7259
      fi
 
7260
      break
 
7261
    fi
 
7262
  done
 
7263
  IFS="$lt_save_ifs"
 
7264
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
7265
  ;;
 
7266
esac
 
7267
fi
 
7268
 
 
7269
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7270
if test -n "$MAGIC_CMD"; then
 
7271
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7272
echo "${ECHO_T}$MAGIC_CMD" >&6; }
 
7273
else
 
7274
  { echo "$as_me:$LINENO: result: no" >&5
 
7275
echo "${ECHO_T}no" >&6; }
 
7276
fi
 
7277
 
 
7278
 
 
7279
 
 
7280
 
 
7281
 
 
7282
if test -z "$lt_cv_path_MAGIC_CMD"; then
 
7283
  if test -n "$ac_tool_prefix"; then
 
7284
    { echo "$as_me:$LINENO: checking for file" >&5
 
7285
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
 
7286
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
7287
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7288
else
 
7289
  case $MAGIC_CMD in
 
7290
[\\/*] |  ?:[\\/]*)
 
7291
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
7292
  ;;
 
7293
*)
 
7294
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
7295
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
7296
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
7297
  for ac_dir in $ac_dummy; do
 
7298
    IFS="$lt_save_ifs"
 
7299
    test -z "$ac_dir" && ac_dir=.
 
7300
    if test -f $ac_dir/file; then
 
7301
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
7302
      if test -n "$file_magic_test_file"; then
 
7303
        case $deplibs_check_method in
 
7304
        "file_magic "*)
 
7305
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
7306
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7307
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
7308
            $EGREP "$file_magic_regex" > /dev/null; then
 
7309
            :
 
7310
          else
 
7311
            cat <<_LT_EOF 1>&2
 
7312
 
 
7313
*** Warning: the command libtool uses to detect shared libraries,
 
7314
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
7315
*** The result is that libtool may fail to recognize shared libraries
 
7316
*** as such.  This will affect the creation of libtool libraries that
 
7317
*** depend on shared libraries, but programs linked with such libtool
 
7318
*** libraries will work regardless of this problem.  Nevertheless, you
 
7319
*** may want to report the problem to your system manager and/or to
 
7320
*** bug-libtool@gnu.org
 
7321
 
 
7322
_LT_EOF
 
7323
          fi ;;
 
7324
        esac
 
7325
      fi
 
7326
      break
 
7327
    fi
 
7328
  done
 
7329
  IFS="$lt_save_ifs"
 
7330
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
7331
  ;;
 
7332
esac
 
7333
fi
 
7334
 
 
7335
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7336
if test -n "$MAGIC_CMD"; then
 
7337
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7338
echo "${ECHO_T}$MAGIC_CMD" >&6; }
 
7339
else
 
7340
  { echo "$as_me:$LINENO: result: no" >&5
 
7341
echo "${ECHO_T}no" >&6; }
 
7342
fi
 
7343
 
 
7344
 
 
7345
  else
 
7346
    MAGIC_CMD=:
 
7347
  fi
 
7348
fi
 
7349
 
 
7350
  fi
 
7351
  ;;
 
7352
esac
 
7353
 
7369
7354
# Use C for the default configuration in the libtool script
7370
 
tagname=
 
7355
 
7371
7356
lt_save_CC="$CC"
7372
7357
ac_ext=c
7373
7358
ac_cpp='$CPP $CPPFLAGS'
7390
7375
lt_simple_link_test_code='int main(){return(0);}'
7391
7376
 
7392
7377
 
 
7378
 
 
7379
 
 
7380
 
 
7381
 
 
7382
 
7393
7383
# If no C compiler was specified, use CC.
7394
7384
LTCC=${LTCC-"$CC"}
7395
7385
 
7399
7389
# Allow CC to be a program name with arguments.
7400
7390
compiler=$CC
7401
7391
 
 
7392
# Save the default compiler, since it gets overwritten when the other
 
7393
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
7394
compiler_DEFAULT=$CC
7402
7395
 
7403
7396
# save warnings/boilerplate of simple test code
7404
7397
ac_outfile=conftest.$ac_objext
7405
7398
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7406
7399
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7407
7400
_lt_compiler_boilerplate=`cat conftest.err`
7408
 
$rm conftest*
 
7401
$RM conftest*
7409
7402
 
7410
7403
ac_outfile=conftest.$ac_objext
7411
7404
echo "$lt_simple_link_test_code" >conftest.$ac_ext
7412
7405
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7413
7406
_lt_linker_boilerplate=`cat conftest.err`
7414
 
$rm -r conftest*
7415
 
 
7416
 
 
 
7407
$RM -r conftest*
 
7408
 
 
7409
 
 
7410
## CAVEAT EMPTOR:
 
7411
## There is no encapsulation within the following macros, do not change
 
7412
## the running order or otherwise move them around unless you know exactly
 
7413
## what you are doing...
 
7414
if test -n "$compiler"; then
7417
7415
 
7418
7416
lt_prog_compiler_no_builtin_flag=
7419
7417
 
7420
7418
if test "$GCC" = yes; then
7421
7419
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7422
7420
 
7423
 
 
7424
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
7421
  { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7425
7422
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7426
7423
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7427
7424
  echo $ECHO_N "(cached) $ECHO_C" >&6
7428
7425
else
7429
7426
  lt_cv_prog_compiler_rtti_exceptions=no
7430
 
  ac_outfile=conftest.$ac_objext
 
7427
   ac_outfile=conftest.$ac_objext
7431
7428
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7432
7429
   lt_compiler_flag="-fno-rtti -fno-exceptions"
7433
7430
   # Insert the option either (1) after the last *FLAGS variable, or
7439
7436
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7440
7437
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7441
7438
   -e 's:$: $lt_compiler_flag:'`
7442
 
   (eval echo "\"\$as_me:7442: $lt_compile\"" >&5)
 
7439
   (eval echo "\"\$as_me:7439: $lt_compile\"" >&5)
7443
7440
   (eval "$lt_compile" 2>conftest.err)
7444
7441
   ac_status=$?
7445
7442
   cat conftest.err >&5
7446
 
   echo "$as_me:7446: \$? = $ac_status" >&5
 
7443
   echo "$as_me:7443: \$? = $ac_status" >&5
7447
7444
   if (exit $ac_status) && test -s "$ac_outfile"; then
7448
7445
     # The compiler can only warn and ignore the option if not recognized
7449
7446
     # So say no if there are warnings other than the usual output.
7450
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
7447
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7451
7448
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7452
7449
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7453
7450
       lt_cv_prog_compiler_rtti_exceptions=yes
7454
7451
     fi
7455
7452
   fi
7456
 
   $rm conftest*
 
7453
   $RM conftest*
7457
7454
 
7458
7455
fi
7459
7456
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7467
7464
 
7468
7465
fi
7469
7466
 
7470
 
lt_prog_compiler_wl=
 
7467
 
 
7468
 
 
7469
 
 
7470
 
 
7471
 
 
7472
  lt_prog_compiler_wl=
7471
7473
lt_prog_compiler_pic=
7472
7474
lt_prog_compiler_static=
7473
7475
 
7488
7490
      ;;
7489
7491
 
7490
7492
    amigaos*)
7491
 
      # FIXME: we need at least 68020 code to build shared libraries, but
7492
 
      # adding the `-m68020' flag to GCC prevents building anything better,
7493
 
      # like `-m68040'.
7494
 
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
7493
      case $host_cpu in
 
7494
      powerpc)
 
7495
            # see comment about AmigaOS4 .so support
 
7496
            lt_prog_compiler_pic='-fPIC'
 
7497
        ;;
 
7498
      m68k)
 
7499
            # FIXME: we need at least 68020 code to build shared libraries, but
 
7500
            # adding the `-m68020' flag to GCC prevents building anything better,
 
7501
            # like `-m68040'.
 
7502
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
7503
        ;;
 
7504
      esac
7495
7505
      ;;
7496
7506
 
7497
7507
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7512
7522
      lt_prog_compiler_pic='-fno-common'
7513
7523
      ;;
7514
7524
 
 
7525
    hpux*)
 
7526
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
7527
      # not for PA HP-UX.
 
7528
      case $host_cpu in
 
7529
      hppa*64*|ia64*)
 
7530
        # +Z the default
 
7531
        ;;
 
7532
      *)
 
7533
        lt_prog_compiler_pic='-fPIC'
 
7534
        ;;
 
7535
      esac
 
7536
      ;;
 
7537
 
7515
7538
    interix[3-9]*)
7516
7539
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7517
7540
      # Instead, we relocate shared libraries at runtime.
7524
7547
      enable_shared=no
7525
7548
      ;;
7526
7549
 
 
7550
    *nto* | *qnx*)
 
7551
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
7552
      # it will coredump.
 
7553
      lt_prog_compiler_pic='-fPIC -shared'
 
7554
      ;;
 
7555
 
7527
7556
    sysv4*MP*)
7528
7557
      if test -d /usr/nec; then
7529
7558
        lt_prog_compiler_pic=-Kconform_pic
7530
7559
      fi
7531
7560
      ;;
7532
7561
 
7533
 
    hpux*)
7534
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7535
 
      # not for PA HP-UX.
7536
 
      case $host_cpu in
7537
 
      hppa*64*|ia64*)
7538
 
        # +Z the default
7539
 
        ;;
7540
 
      *)
7541
 
        lt_prog_compiler_pic='-fPIC'
7542
 
        ;;
7543
 
      esac
7544
 
      ;;
7545
 
 
7546
7562
    *)
7547
7563
      lt_prog_compiler_pic='-fPIC'
7548
7564
      ;;
7559
7575
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7560
7576
      fi
7561
7577
      ;;
7562
 
      darwin*)
7563
 
        # PIC is the default on this platform
7564
 
        # Common symbols not allowed in MH_DYLIB files
7565
 
       case $cc_basename in
7566
 
         xlc*)
7567
 
         lt_prog_compiler_pic='-qnocommon'
7568
 
         lt_prog_compiler_wl='-Wl,'
7569
 
         ;;
7570
 
       esac
7571
 
       ;;
7572
7578
 
7573
7579
    mingw* | cygwin* | pw32* | os2*)
7574
7580
      # This hack is so that the source file can tell whether it is being
7598
7604
      lt_prog_compiler_static='-non_shared'
7599
7605
      ;;
7600
7606
 
7601
 
    newsos6)
7602
 
      lt_prog_compiler_pic='-KPIC'
7603
 
      lt_prog_compiler_static='-Bstatic'
7604
 
      ;;
7605
 
 
7606
7607
    linux* | k*bsd*-gnu)
7607
7608
      case $cc_basename in
7608
 
      icc* | ecc*)
 
7609
      icc* | ecc* | ifort*)
7609
7610
        lt_prog_compiler_wl='-Wl,'
7610
7611
        lt_prog_compiler_pic='-KPIC'
7611
7612
        lt_prog_compiler_static='-static'
7622
7623
        # All Alpha code is PIC.
7623
7624
        lt_prog_compiler_static='-non_shared'
7624
7625
        ;;
 
7626
      xl*)
 
7627
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
7628
        lt_prog_compiler_wl='-Wl,'
 
7629
        lt_prog_compiler_pic='-qpic'
 
7630
        lt_prog_compiler_static='-qstaticlink'
 
7631
        ;;
7625
7632
      *)
7626
 
        case `$CC -V 2>&1 | sed 5q` in
 
7633
        case `$CC -V 2>&1 | sed 5q` in
7627
7634
        *Sun\ C*)
7628
7635
          # Sun C 5.9
7629
7636
          lt_prog_compiler_pic='-KPIC'
7641
7648
      esac
7642
7649
      ;;
7643
7650
 
 
7651
    newsos6)
 
7652
      lt_prog_compiler_pic='-KPIC'
 
7653
      lt_prog_compiler_static='-Bstatic'
 
7654
      ;;
 
7655
 
 
7656
    *nto* | *qnx*)
 
7657
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
7658
      # it will coredump.
 
7659
      lt_prog_compiler_pic='-fPIC -shared'
 
7660
      ;;
 
7661
 
7644
7662
    osf3* | osf4* | osf5*)
7645
7663
      lt_prog_compiler_wl='-Wl,'
7646
7664
      # All OSF/1 code is PIC.
7703
7721
    esac
7704
7722
  fi
7705
7723
 
 
7724
case $host_os in
 
7725
  # For platforms which do not support PIC, -DPIC is meaningless:
 
7726
  *djgpp*)
 
7727
    lt_prog_compiler_pic=
 
7728
    ;;
 
7729
  *)
 
7730
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
7731
    ;;
 
7732
esac
7706
7733
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7707
7734
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7708
7735
 
 
7736
 
 
7737
 
 
7738
 
 
7739
 
 
7740
 
7709
7741
#
7710
7742
# Check to make sure the PIC flag actually works.
7711
7743
#
7712
7744
if test -n "$lt_prog_compiler_pic"; then
7713
 
 
7714
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
7745
  { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7715
7746
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7716
7747
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7717
7748
  echo $ECHO_N "(cached) $ECHO_C" >&6
7718
7749
else
7719
7750
  lt_cv_prog_compiler_pic_works=no
7720
 
  ac_outfile=conftest.$ac_objext
 
7751
   ac_outfile=conftest.$ac_objext
7721
7752
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7722
7753
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7723
7754
   # Insert the option either (1) after the last *FLAGS variable, or
7729
7760
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7730
7761
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7731
7762
   -e 's:$: $lt_compiler_flag:'`
7732
 
   (eval echo "\"\$as_me:7732: $lt_compile\"" >&5)
 
7763
   (eval echo "\"\$as_me:7763: $lt_compile\"" >&5)
7733
7764
   (eval "$lt_compile" 2>conftest.err)
7734
7765
   ac_status=$?
7735
7766
   cat conftest.err >&5
7736
 
   echo "$as_me:7736: \$? = $ac_status" >&5
 
7767
   echo "$as_me:7767: \$? = $ac_status" >&5
7737
7768
   if (exit $ac_status) && test -s "$ac_outfile"; then
7738
7769
     # The compiler can only warn and ignore the option if not recognized
7739
7770
     # So say no if there are warnings other than the usual output.
7740
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
7771
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7741
7772
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7742
7773
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7743
7774
       lt_cv_prog_compiler_pic_works=yes
7744
7775
     fi
7745
7776
   fi
7746
 
   $rm conftest*
 
7777
   $RM conftest*
7747
7778
 
7748
7779
fi
7749
7780
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7760
7791
fi
7761
7792
 
7762
7793
fi
7763
 
case $host_os in
7764
 
  # For platforms which do not support PIC, -DPIC is meaningless:
7765
 
  *djgpp*)
7766
 
    lt_prog_compiler_pic=
7767
 
    ;;
7768
 
  *)
7769
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7770
 
    ;;
7771
 
esac
 
7794
 
 
7795
 
 
7796
 
 
7797
 
 
7798
 
7772
7799
 
7773
7800
#
7774
7801
# Check to make sure the static flag actually works.
7789
7816
     if test -s conftest.err; then
7790
7817
       # Append any errors to the config.log.
7791
7818
       cat conftest.err 1>&5
7792
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
7819
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7793
7820
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7794
7821
       if diff conftest.exp conftest.er2 >/dev/null; then
7795
7822
         lt_cv_prog_compiler_static_works=yes
7798
7825
       lt_cv_prog_compiler_static_works=yes
7799
7826
     fi
7800
7827
   fi
7801
 
   $rm -r conftest*
 
7828
   $RM -r conftest*
7802
7829
   LDFLAGS="$save_LDFLAGS"
7803
7830
 
7804
7831
fi
7812
7839
fi
7813
7840
 
7814
7841
 
7815
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7816
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7817
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7818
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7819
 
else
7820
 
  lt_cv_prog_compiler_c_o=no
7821
 
   $rm -r conftest 2>/dev/null
7822
 
   mkdir conftest
7823
 
   cd conftest
7824
 
   mkdir out
7825
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7826
 
 
7827
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
7828
 
   # Insert the option either (1) after the last *FLAGS variable, or
7829
 
   # (2) before a word containing "conftest.", or (3) at the end.
7830
 
   # Note that $ac_compile itself does not contain backslashes and begins
7831
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7832
 
   lt_compile=`echo "$ac_compile" | $SED \
7833
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7834
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7835
 
   -e 's:$: $lt_compiler_flag:'`
7836
 
   (eval echo "\"\$as_me:7836: $lt_compile\"" >&5)
7837
 
   (eval "$lt_compile" 2>out/conftest.err)
7838
 
   ac_status=$?
7839
 
   cat out/conftest.err >&5
7840
 
   echo "$as_me:7840: \$? = $ac_status" >&5
7841
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7842
 
   then
7843
 
     # The compiler can only warn and ignore the option if not recognized
7844
 
     # So say no if there are warnings
7845
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7846
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7847
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7848
 
       lt_cv_prog_compiler_c_o=yes
7849
 
     fi
7850
 
   fi
7851
 
   chmod u+w . 2>&5
7852
 
   $rm conftest*
7853
 
   # SGI C++ compiler will create directory out/ii_files/ for
7854
 
   # template instantiation
7855
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
7856
 
   $rm out/* && rmdir out
7857
 
   cd ..
7858
 
   rmdir conftest
7859
 
   $rm conftest*
7860
 
 
7861
 
fi
7862
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7863
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
 
7842
 
 
7843
 
 
7844
 
 
7845
 
 
7846
 
 
7847
  { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
7848
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
 
7849
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
7850
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7851
else
 
7852
  lt_cv_prog_compiler_c_o=no
 
7853
   $RM -r conftest 2>/dev/null
 
7854
   mkdir conftest
 
7855
   cd conftest
 
7856
   mkdir out
 
7857
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7858
 
 
7859
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
7860
   # Insert the option either (1) after the last *FLAGS variable, or
 
7861
   # (2) before a word containing "conftest.", or (3) at the end.
 
7862
   # Note that $ac_compile itself does not contain backslashes and begins
 
7863
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
7864
   lt_compile=`echo "$ac_compile" | $SED \
 
7865
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
7866
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
7867
   -e 's:$: $lt_compiler_flag:'`
 
7868
   (eval echo "\"\$as_me:7868: $lt_compile\"" >&5)
 
7869
   (eval "$lt_compile" 2>out/conftest.err)
 
7870
   ac_status=$?
 
7871
   cat out/conftest.err >&5
 
7872
   echo "$as_me:7872: \$? = $ac_status" >&5
 
7873
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
7874
   then
 
7875
     # The compiler can only warn and ignore the option if not recognized
 
7876
     # So say no if there are warnings
 
7877
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
7878
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
7879
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
7880
       lt_cv_prog_compiler_c_o=yes
 
7881
     fi
 
7882
   fi
 
7883
   chmod u+w . 2>&5
 
7884
   $RM conftest*
 
7885
   # SGI C++ compiler will create directory out/ii_files/ for
 
7886
   # template instantiation
 
7887
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
7888
   $RM out/* && rmdir out
 
7889
   cd ..
 
7890
   $RM -r conftest
 
7891
   $RM conftest*
 
7892
 
 
7893
fi
 
7894
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
7895
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
 
7896
 
 
7897
 
 
7898
 
 
7899
 
 
7900
 
 
7901
 
 
7902
  { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
7903
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
 
7904
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
7905
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7906
else
 
7907
  lt_cv_prog_compiler_c_o=no
 
7908
   $RM -r conftest 2>/dev/null
 
7909
   mkdir conftest
 
7910
   cd conftest
 
7911
   mkdir out
 
7912
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7913
 
 
7914
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
7915
   # Insert the option either (1) after the last *FLAGS variable, or
 
7916
   # (2) before a word containing "conftest.", or (3) at the end.
 
7917
   # Note that $ac_compile itself does not contain backslashes and begins
 
7918
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
7919
   lt_compile=`echo "$ac_compile" | $SED \
 
7920
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
7921
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
7922
   -e 's:$: $lt_compiler_flag:'`
 
7923
   (eval echo "\"\$as_me:7923: $lt_compile\"" >&5)
 
7924
   (eval "$lt_compile" 2>out/conftest.err)
 
7925
   ac_status=$?
 
7926
   cat out/conftest.err >&5
 
7927
   echo "$as_me:7927: \$? = $ac_status" >&5
 
7928
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
7929
   then
 
7930
     # The compiler can only warn and ignore the option if not recognized
 
7931
     # So say no if there are warnings
 
7932
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
7933
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
7934
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
7935
       lt_cv_prog_compiler_c_o=yes
 
7936
     fi
 
7937
   fi
 
7938
   chmod u+w . 2>&5
 
7939
   $RM conftest*
 
7940
   # SGI C++ compiler will create directory out/ii_files/ for
 
7941
   # template instantiation
 
7942
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
7943
   $RM out/* && rmdir out
 
7944
   cd ..
 
7945
   $RM -r conftest
 
7946
   $RM conftest*
 
7947
 
 
7948
fi
 
7949
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
7950
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
 
7951
 
 
7952
 
7864
7953
 
7865
7954
 
7866
7955
hard_links="nottested"
7869
7958
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7870
7959
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7871
7960
  hard_links=yes
7872
 
  $rm conftest*
 
7961
  $RM conftest*
7873
7962
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7874
7963
  touch conftest.a
7875
7964
  ln conftest.a conftest.b 2>&5 || hard_links=no
7885
7974
  need_locks=no
7886
7975
fi
7887
7976
 
7888
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
7977
 
 
7978
 
 
7979
 
 
7980
 
 
7981
 
 
7982
  { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7889
7983
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7890
7984
 
7891
7985
  runpath_var=
7892
7986
  allow_undefined_flag=
7893
 
  enable_shared_with_static_runtimes=no
 
7987
  always_export_symbols=no
7894
7988
  archive_cmds=
7895
7989
  archive_expsym_cmds=
7896
 
  old_archive_From_new_cmds=
7897
 
  old_archive_from_expsyms_cmds=
 
7990
  compiler_needs_object=no
 
7991
  enable_shared_with_static_runtimes=no
7898
7992
  export_dynamic_flag_spec=
7899
 
  whole_archive_flag_spec=
7900
 
  thread_safe_flag_spec=
 
7993
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
7994
  hardcode_automatic=no
 
7995
  hardcode_direct=no
 
7996
  hardcode_direct_absolute=no
7901
7997
  hardcode_libdir_flag_spec=
7902
7998
  hardcode_libdir_flag_spec_ld=
7903
7999
  hardcode_libdir_separator=
7904
 
  hardcode_direct=no
7905
8000
  hardcode_minus_L=no
7906
8001
  hardcode_shlibpath_var=unsupported
 
8002
  inherit_rpath=no
7907
8003
  link_all_deplibs=unknown
7908
 
  hardcode_automatic=no
7909
8004
  module_cmds=
7910
8005
  module_expsym_cmds=
7911
 
  always_export_symbols=no
7912
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
8006
  old_archive_from_new_cmds=
 
8007
  old_archive_from_expsyms_cmds=
 
8008
  thread_safe_flag_spec=
 
8009
  whole_archive_flag_spec=
7913
8010
  # include_expsyms should be a list of space-separated symbols to be *always*
7914
8011
  # included in the symbol list
7915
8012
  include_expsyms=
7925
8022
  # preloaded symbol tables.
7926
8023
  # Exclude shared library initialization/finalization symbols.
7927
8024
  extract_expsyms_cmds=
7928
 
  # Just being paranoid about ensuring that cc_basename is set.
7929
 
  for cc_temp in $compiler""; do
7930
 
  case $cc_temp in
7931
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7932
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7933
 
    \-*) ;;
7934
 
    *) break;;
7935
 
  esac
7936
 
done
7937
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7938
8025
 
7939
8026
  case $host_os in
7940
8027
  cygwin* | mingw* | pw32*)
7963
8050
    # are reset later if shared libraries are not supported. Putting them
7964
8051
    # here allows them to be overridden if necessary.
7965
8052
    runpath_var=LD_RUN_PATH
7966
 
    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
 
8053
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7967
8054
    export_dynamic_flag_spec='${wl}--export-dynamic'
7968
8055
    # ancient GNU ld didn't support --whole-archive et. al.
7969
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
7970
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7971
 
      else
7972
 
        whole_archive_flag_spec=
 
8056
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
8057
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
8058
    else
 
8059
      whole_archive_flag_spec=
7973
8060
    fi
7974
8061
    supports_anon_versioning=no
7975
 
    case `$LD -v 2>/dev/null` in
 
8062
    case `$LD -v 2>&1` in
7976
8063
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7977
8064
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7978
8065
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7986
8073
      # On AIX/PPC, the GNU linker is very broken
7987
8074
      if test "$host_cpu" != ia64; then
7988
8075
        ld_shlibs=no
7989
 
        cat <<EOF 1>&2
 
8076
        cat <<_LT_EOF 1>&2
7990
8077
 
7991
8078
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
7992
8079
*** to be unable to reliably create shared libraries on AIX.
7994
8081
*** really care for shared libraries, you may want to modify your PATH
7995
8082
*** so that a non-GNU linker is found, and then restart.
7996
8083
 
7997
 
EOF
 
8084
_LT_EOF
7998
8085
      fi
7999
8086
      ;;
8000
8087
 
8001
8088
    amigaos*)
8002
 
      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)'
8003
 
      hardcode_libdir_flag_spec='-L$libdir'
8004
 
      hardcode_minus_L=yes
8005
 
 
8006
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8007
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
8008
 
      # to version 4, is to share data among multiple programs linked
8009
 
      # with the same dynamic library.  Since this doesn't match the
8010
 
      # behavior of shared libraries on other platforms, we can't use
8011
 
      # them.
8012
 
      ld_shlibs=no
 
8089
      case $host_cpu in
 
8090
      powerpc)
 
8091
            # see comment about AmigaOS4 .so support
 
8092
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8093
            archive_expsym_cmds=''
 
8094
        ;;
 
8095
      m68k)
 
8096
            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)'
 
8097
            hardcode_libdir_flag_spec='-L$libdir'
 
8098
            hardcode_minus_L=yes
 
8099
        ;;
 
8100
      esac
8013
8101
      ;;
8014
8102
 
8015
8103
    beos*)
8016
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
8104
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8017
8105
        allow_undefined_flag=unsupported
8018
8106
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8019
8107
        # support --undefined.  This deserves some investigation.  FIXME
8024
8112
      ;;
8025
8113
 
8026
8114
    cygwin* | mingw* | pw32*)
8027
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
8115
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8028
8116
      # as there is no search path for DLLs.
8029
8117
      hardcode_libdir_flag_spec='-L$libdir'
8030
8118
      allow_undefined_flag=unsupported
8031
8119
      always_export_symbols=no
8032
8120
      enable_shared_with_static_runtimes=yes
8033
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
8121
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8034
8122
 
8035
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 
8123
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8036
8124
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8037
8125
        # If the export-symbols file already is a .def file (1st line
8038
8126
        # is EXPORTS), use it as is; otherwise, prepend...
8063
8151
      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'
8064
8152
      ;;
8065
8153
 
8066
 
    gnu* | linux* | k*bsd*-gnu)
8067
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
8154
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
8155
      tmp_diet=no
 
8156
      if test "$host_os" = linux-dietlibc; then
 
8157
        case $cc_basename in
 
8158
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
8159
        esac
 
8160
      fi
 
8161
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
8162
         && test "$tmp_diet" = no
 
8163
      then
8068
8164
        tmp_addflag=
 
8165
        tmp_sharedflag='-shared'
8069
8166
        case $cc_basename,$host_cpu in
8070
 
        pgcc*)                          # Portland Group C compiler
8071
 
          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'
 
8167
        pgcc*)                          # Portland Group C compiler
 
8168
          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'
8072
8169
          tmp_addflag=' $pic_flag'
8073
8170
          ;;
8074
8171
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8075
 
          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'
 
8172
          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'
8076
8173
          tmp_addflag=' $pic_flag -Mnomain' ;;
8077
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
8174
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8078
8175
          tmp_addflag=' -i_dynamic' ;;
8079
8176
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8080
8177
          tmp_addflag=' -i_dynamic -nofor_main' ;;
8081
8178
        ifc* | ifort*)                  # Intel Fortran compiler
8082
8179
          tmp_addflag=' -nofor_main' ;;
 
8180
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
8181
          tmp_sharedflag='-qmkshrobj'
 
8182
          tmp_addflag= ;;
8083
8183
        esac
8084
8184
        case `$CC -V 2>&1 | sed 5q` in
8085
8185
        *Sun\ C*)                       # Sun C 5.9
8086
 
          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'
 
8186
          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'
 
8187
          compiler_needs_object=yes
8087
8188
          tmp_sharedflag='-G' ;;
8088
8189
        *Sun\ F*)                       # Sun Fortran 8.3
8089
8190
          tmp_sharedflag='-G' ;;
8090
 
        *)
8091
 
          tmp_sharedflag='-shared' ;;
8092
8191
        esac
8093
8192
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8094
8193
 
8095
 
        if test $supports_anon_versioning = yes; then
8096
 
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
8097
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8098
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
8099
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8100
 
        fi
8101
 
        link_all_deplibs=no
 
8194
        if test "x$supports_anon_versioning" = xyes; then
 
8195
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
8196
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
8197
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
8198
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
8199
        fi
 
8200
 
 
8201
        case $cc_basename in
 
8202
        xlf*)
 
8203
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
8204
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
8205
          hardcode_libdir_flag_spec=
 
8206
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
8207
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
8208
          if test "x$supports_anon_versioning" = xyes; then
 
8209
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
8210
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
8211
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
8212
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
8213
          fi
 
8214
          ;;
 
8215
        esac
8102
8216
      else
8103
 
        ld_shlibs=no
 
8217
        ld_shlibs=no
8104
8218
      fi
8105
8219
      ;;
8106
8220
 
8107
8221
    netbsd* | netbsdelf*-gnu)
8108
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
8222
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8109
8223
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8110
8224
        wlarc=
8111
8225
      else
8115
8229
      ;;
8116
8230
 
8117
8231
    solaris*)
8118
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 
8232
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8119
8233
        ld_shlibs=no
8120
 
        cat <<EOF 1>&2
 
8234
        cat <<_LT_EOF 1>&2
8121
8235
 
8122
8236
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8123
8237
*** create shared libraries on Solaris systems.  Therefore, libtool
8126
8240
*** your PATH or compiler configuration so that the native linker is
8127
8241
*** used, and then restart.
8128
8242
 
8129
 
EOF
8130
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
8243
_LT_EOF
 
8244
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8131
8245
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8132
8246
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8133
8247
      else
8151
8265
_LT_EOF
8152
8266
        ;;
8153
8267
        *)
8154
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8155
 
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8156
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8157
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
8268
          # For security reasons, it is highly recommended that you always
 
8269
          # use absolute paths for naming shared libraries, and exclude the
 
8270
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
8271
          # requires that you compile everything twice, which is a pain.
 
8272
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
8273
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
8274
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8275
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8158
8276
          else
8159
8277
            ld_shlibs=no
8160
8278
          fi
8170
8288
      ;;
8171
8289
 
8172
8290
    *)
8173
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
8291
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8174
8292
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8175
8293
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8176
8294
      else
8212
8330
      else
8213
8331
        # If we're using GNU nm, then we don't want the "-C" option.
8214
8332
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
8215
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
8216
 
          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'
 
8333
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
8334
          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'
8217
8335
        else
8218
 
          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'
 
8336
          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'
8219
8337
        fi
8220
8338
        aix_use_runtimelinking=no
8221
8339
 
8224
8342
        # need to do runtime linking.
8225
8343
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8226
8344
          for ld_flag in $LDFLAGS; do
8227
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8228
 
            aix_use_runtimelinking=yes
8229
 
            break
8230
 
          fi
 
8345
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
8346
            aix_use_runtimelinking=yes
 
8347
            break
 
8348
          fi
8231
8349
          done
8232
8350
          ;;
8233
8351
        esac
8244
8362
 
8245
8363
      archive_cmds=''
8246
8364
      hardcode_direct=yes
 
8365
      hardcode_direct_absolute=yes
8247
8366
      hardcode_libdir_separator=':'
8248
8367
      link_all_deplibs=yes
 
8368
      file_list_spec='${wl}-f,'
8249
8369
 
8250
8370
      if test "$GCC" = yes; then
8251
8371
        case $host_os in aix4.[012]|aix4.[012].*)
8252
8372
        # We only want to do this on AIX 4.2 and lower, the check
8253
8373
        # below for broken collect2 doesn't work under 4.3+
8254
8374
          collect2name=`${CC} -print-prog-name=collect2`
8255
 
          if test -f "$collect2name" && \
8256
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
 
8375
          if test -f "$collect2name" &&
 
8376
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8257
8377
          then
8258
 
          # We have reworked collect2
8259
 
          :
 
8378
          # We have reworked collect2
 
8379
          :
8260
8380
          else
8261
 
          # We have old collect2
8262
 
          hardcode_direct=unsupported
8263
 
          # It fails to find uninstalled libraries when the uninstalled
8264
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
8265
 
          # to unsupported forces relinking
8266
 
          hardcode_minus_L=yes
8267
 
          hardcode_libdir_flag_spec='-L$libdir'
8268
 
          hardcode_libdir_separator=
 
8381
          # We have old collect2
 
8382
          hardcode_direct=unsupported
 
8383
          # It fails to find uninstalled libraries when the uninstalled
 
8384
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
8385
          # to unsupported forces relinking
 
8386
          hardcode_minus_L=yes
 
8387
          hardcode_libdir_flag_spec='-L$libdir'
 
8388
          hardcode_libdir_separator=
8269
8389
          fi
8270
8390
          ;;
8271
8391
        esac
8273
8393
        if test "$aix_use_runtimelinking" = yes; then
8274
8394
          shared_flag="$shared_flag "'${wl}-G'
8275
8395
        fi
 
8396
        link_all_deplibs=no
8276
8397
      else
8277
8398
        # not using gcc
8278
8399
        if test "$host_cpu" = ia64; then
8279
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8280
 
        # chokes on -Wl,-G. The following line is correct:
 
8400
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
8401
        # chokes on -Wl,-G. The following line is correct:
8281
8402
          shared_flag='-G'
8282
8403
        else
8283
8404
          if test "$aix_use_runtimelinking" = yes; then
8295
8416
        # Warning - without using the other runtime loading flags (-brtl),
8296
8417
        # -berok will link without error, but may produce a broken library.
8297
8418
        allow_undefined_flag='-berok'
8298
 
       # Determine the default libpath from the value encoded in an empty executable.
8299
 
       cat >conftest.$ac_ext <<_ACEOF
 
8419
        # Determine the default libpath from the value encoded in an
 
8420
        # empty executable.
 
8421
        cat >conftest.$ac_ext <<_ACEOF
8300
8422
/* confdefs.h.  */
8301
8423
_ACEOF
8302
8424
cat confdefs.h >>conftest.$ac_ext
8353
8475
      conftest$ac_exeext conftest.$ac_ext
8354
8476
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8355
8477
 
8356
 
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8357
 
        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"
8358
 
       else
 
8478
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
8479
        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"
 
8480
      else
8359
8481
        if test "$host_cpu" = ia64; then
8360
8482
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8361
8483
          allow_undefined_flag="-z nodefs"
8362
8484
          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"
8363
8485
        else
8364
 
         # Determine the default libpath from the value encoded in an empty executable.
 
8486
         # Determine the default libpath from the value encoded in an
 
8487
         # empty executable.
8365
8488
         cat >conftest.$ac_ext <<_ACEOF
8366
8489
/* confdefs.h.  */
8367
8490
_ACEOF
8434
8557
      ;;
8435
8558
 
8436
8559
    amigaos*)
8437
 
      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)'
8438
 
      hardcode_libdir_flag_spec='-L$libdir'
8439
 
      hardcode_minus_L=yes
8440
 
      # see comment about different semantics on the GNU ld section
8441
 
      ld_shlibs=no
 
8560
      case $host_cpu in
 
8561
      powerpc)
 
8562
            # see comment about AmigaOS4 .so support
 
8563
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8564
            archive_expsym_cmds=''
 
8565
        ;;
 
8566
      m68k)
 
8567
            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)'
 
8568
            hardcode_libdir_flag_spec='-L$libdir'
 
8569
            hardcode_minus_L=yes
 
8570
        ;;
 
8571
      esac
8442
8572
      ;;
8443
8573
 
8444
8574
    bsdi[45]*)
8457
8587
      # Tell ltmain to make .dll files, not .so files.
8458
8588
      shrext_cmds=".dll"
8459
8589
      # FIXME: Setting linknames here is a bad hack.
8460
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
8590
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8461
8591
      # The linker will automatically build a .lib file if we build a DLL.
8462
 
      old_archive_From_new_cmds='true'
 
8592
      old_archive_from_new_cmds='true'
8463
8593
      # FIXME: Should let the user specify the lib program.
8464
8594
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8465
8595
      fix_srcfile_path='`cygpath -w "$srcfile"`'
8467
8597
      ;;
8468
8598
 
8469
8599
    darwin* | rhapsody*)
8470
 
      case $host_os in
8471
 
        rhapsody* | darwin1.[012])
8472
 
         allow_undefined_flag='${wl}-undefined ${wl}suppress'
8473
 
         ;;
8474
 
       *) # Darwin 1.3 on
8475
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8476
 
           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8477
 
         else
8478
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
8479
 
             10.[012])
8480
 
               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8481
 
               ;;
8482
 
             10.*)
8483
 
               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8484
 
               ;;
8485
 
           esac
8486
 
         fi
8487
 
         ;;
8488
 
      esac
8489
 
      archive_cmds_need_lc=no
8490
 
      hardcode_direct=no
8491
 
      hardcode_automatic=yes
8492
 
      hardcode_shlibpath_var=unsupported
8493
 
      whole_archive_flag_spec=''
8494
 
      link_all_deplibs=yes
8495
 
    if test "$GCC" = yes ; then
8496
 
        output_verbose_link_cmd='echo'
8497
 
        archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8498
 
        module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8499
 
        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}"
8500
 
        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}"
8501
 
    else
8502
 
      case $cc_basename in
8503
 
        xlc*)
8504
 
         output_verbose_link_cmd='echo'
8505
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8506
 
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8507
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8508
 
         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}'
8509
 
          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}'
8510
 
          ;;
8511
 
       *)
8512
 
         ld_shlibs=no
8513
 
          ;;
8514
 
      esac
8515
 
    fi
 
8600
 
 
8601
 
 
8602
  archive_cmds_need_lc=no
 
8603
  hardcode_direct=no
 
8604
  hardcode_automatic=yes
 
8605
  hardcode_shlibpath_var=unsupported
 
8606
  whole_archive_flag_spec=''
 
8607
  link_all_deplibs=yes
 
8608
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
8609
  if test "$GCC" = "yes"; then
 
8610
    output_verbose_link_cmd=echo
 
8611
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
8612
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
8613
    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}"
 
8614
    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}"
 
8615
 
 
8616
  else
 
8617
  ld_shlibs=no
 
8618
  fi
 
8619
 
8516
8620
      ;;
8517
8621
 
8518
8622
    dgux*)
8554
8658
 
8555
8659
    hpux9*)
8556
8660
      if test "$GCC" = yes; then
8557
 
        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'
 
8661
        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'
8558
8662
      else
8559
 
        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'
 
8663
        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'
8560
8664
      fi
8561
8665
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8562
8666
      hardcode_libdir_separator=:
8576
8680
      fi
8577
8681
      if test "$with_gnu_ld" = no; then
8578
8682
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
8683
        hardcode_libdir_flag_spec_ld='+b $libdir'
8579
8684
        hardcode_libdir_separator=:
8580
 
 
8581
8685
        hardcode_direct=yes
 
8686
        hardcode_direct_absolute=yes
8582
8687
        export_dynamic_flag_spec='${wl}-E'
8583
 
 
8584
8688
        # hardcode_minus_L: Not really in the search PATH,
8585
8689
        # but as the default location of the library.
8586
8690
        hardcode_minus_L=yes
8619
8723
 
8620
8724
        case $host_cpu in
8621
8725
        hppa*64*|ia64*)
8622
 
          hardcode_libdir_flag_spec_ld='+b $libdir'
8623
8726
          hardcode_direct=no
8624
8727
          hardcode_shlibpath_var=no
8625
8728
          ;;
8626
8729
        *)
8627
8730
          hardcode_direct=yes
 
8731
          hardcode_direct_absolute=yes
8628
8732
          export_dynamic_flag_spec='${wl}-E'
8629
8733
 
8630
8734
          # hardcode_minus_L: Not really in the search PATH,
8637
8741
 
8638
8742
    irix5* | irix6* | nonstopux*)
8639
8743
      if test "$GCC" = yes; then
8640
 
        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'
 
8744
        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'
 
8745
        # Try to use the -exported_symbol ld option, if it does not
 
8746
        # work, assume that -exports_file does not work either and
 
8747
        # implicitly export all symbols.
 
8748
        save_LDFLAGS="$LDFLAGS"
 
8749
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
8750
        cat >conftest.$ac_ext <<_ACEOF
 
8751
int foo(void) {}
 
8752
_ACEOF
 
8753
rm -f conftest.$ac_objext conftest$ac_exeext
 
8754
if { (ac_try="$ac_link"
 
8755
case "(($ac_try" in
 
8756
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8757
  *) ac_try_echo=$ac_try;;
 
8758
esac
 
8759
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8760
  (eval "$ac_link") 2>conftest.er1
 
8761
  ac_status=$?
 
8762
  grep -v '^ *+' conftest.er1 >conftest.err
 
8763
  rm -f conftest.er1
 
8764
  cat conftest.err >&5
 
8765
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8766
  (exit $ac_status); } && {
 
8767
         test -z "$ac_c_werror_flag" ||
 
8768
         test ! -s conftest.err
 
8769
       } && test -s conftest$ac_exeext &&
 
8770
       $as_test_x conftest$ac_exeext; then
 
8771
  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'
 
8772
 
 
8773
else
 
8774
  echo "$as_me: failed program was:" >&5
 
8775
sed 's/^/| /' conftest.$ac_ext >&5
 
8776
 
 
8777
 
 
8778
fi
 
8779
 
 
8780
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
8781
      conftest$ac_exeext conftest.$ac_ext
 
8782
        LDFLAGS="$save_LDFLAGS"
8641
8783
      else
8642
 
        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'
8643
 
        hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
8784
        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'
 
8785
        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'
8644
8786
      fi
 
8787
      archive_cmds_need_lc='no'
8645
8788
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8646
8789
      hardcode_libdir_separator=:
 
8790
      inherit_rpath=yes
8647
8791
      link_all_deplibs=yes
8648
8792
      ;;
8649
8793
 
8650
8794
    netbsd* | netbsdelf*-gnu)
8651
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
8795
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8652
8796
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8653
8797
      else
8654
8798
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8666
8810
      hardcode_shlibpath_var=no
8667
8811
      ;;
8668
8812
 
 
8813
    *nto* | *qnx*)
 
8814
      ;;
 
8815
 
8669
8816
    openbsd*)
8670
8817
      if test -f /usr/libexec/ld.so; then
8671
8818
        hardcode_direct=yes
8672
8819
        hardcode_shlibpath_var=no
8673
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
8820
        hardcode_direct_absolute=yes
 
8821
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8674
8822
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8675
8823
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8676
8824
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8686
8834
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8687
8835
             ;;
8688
8836
          esac
8689
 
        fi
 
8837
        fi
8690
8838
      else
8691
8839
        ld_shlibs=no
8692
8840
      fi
8696
8844
      hardcode_libdir_flag_spec='-L$libdir'
8697
8845
      hardcode_minus_L=yes
8698
8846
      allow_undefined_flag=unsupported
8699
 
      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'
8700
 
      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
8847
      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'
 
8848
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8701
8849
      ;;
8702
8850
 
8703
8851
    osf3*)
8704
8852
      if test "$GCC" = yes; then
8705
8853
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8706
 
        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'
 
8854
        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'
8707
8855
      else
8708
8856
        allow_undefined_flag=' -expect_unresolved \*'
8709
 
        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'
 
8857
        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'
8710
8858
      fi
 
8859
      archive_cmds_need_lc='no'
8711
8860
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8712
8861
      hardcode_libdir_separator=:
8713
8862
      ;;
8715
8864
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
8716
8865
      if test "$GCC" = yes; then
8717
8866
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8718
 
        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'
 
8867
        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'
8719
8868
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8720
8869
      else
8721
8870
        allow_undefined_flag=' -expect_unresolved \*'
8722
 
        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'
8723
 
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8724
 
        $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'
 
8871
        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'
 
8872
        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~
 
8873
        $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'
8725
8874
 
8726
8875
        # Both c and cxx compiler support -rpath directly
8727
8876
        hardcode_libdir_flag_spec='-rpath $libdir'
8728
8877
      fi
 
8878
      archive_cmds_need_lc='no'
8729
8879
      hardcode_libdir_separator=:
8730
8880
      ;;
8731
8881
 
8732
8882
    solaris*)
8733
 
      no_undefined_flag=' -z text'
 
8883
      no_undefined_flag=' -z defs'
8734
8884
      if test "$GCC" = yes; then
8735
8885
        wlarc='${wl}'
8736
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8737
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8738
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 
8886
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8887
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
8888
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8739
8889
      else
8740
 
        wlarc=''
8741
 
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8742
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8743
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 
8890
        case `$CC -V 2>&1` in
 
8891
        *"Compilers 5.0"*)
 
8892
          wlarc=''
 
8893
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
8894
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
8895
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
8896
          ;;
 
8897
        *)
 
8898
          wlarc='${wl}'
 
8899
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
8900
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
8901
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
8902
          ;;
 
8903
        esac
8744
8904
      fi
8745
8905
      hardcode_libdir_flag_spec='-R$libdir'
8746
8906
      hardcode_shlibpath_var=no
8750
8910
        # The compiler driver will combine and reorder linker options,
8751
8911
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
8752
8912
        # but is careful enough not to reorder.
8753
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
8913
        # Supported since Solaris 2.6 (maybe 2.5.1?)
8754
8914
        if test "$GCC" = yes; then
8755
8915
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8756
8916
        else
8839
8999
      allow_undefined_flag='${wl}-z,nodefs'
8840
9000
      archive_cmds_need_lc=no
8841
9001
      hardcode_shlibpath_var=no
8842
 
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
9002
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
8843
9003
      hardcode_libdir_separator=':'
8844
9004
      link_all_deplibs=yes
8845
9005
      export_dynamic_flag_spec='${wl}-Bexport'
8846
9006
      runpath_var='LD_RUN_PATH'
8847
9007
 
8848
9008
      if test "$GCC" = yes; then
8849
 
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8850
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9009
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9010
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8851
9011
      else
8852
 
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8853
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9012
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9013
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8854
9014
      fi
8855
9015
      ;;
8856
9016
 
8864
9024
      ld_shlibs=no
8865
9025
      ;;
8866
9026
    esac
 
9027
 
 
9028
    if test x$host_vendor = xsni; then
 
9029
      case $host in
 
9030
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
9031
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
9032
        ;;
 
9033
      esac
 
9034
    fi
8867
9035
  fi
8868
9036
 
8869
9037
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8870
9038
echo "${ECHO_T}$ld_shlibs" >&6; }
8871
9039
test "$ld_shlibs" = no && can_build_shared=no
8872
9040
 
 
9041
with_gnu_ld=$with_gnu_ld
 
9042
 
 
9043
 
 
9044
 
 
9045
 
 
9046
 
 
9047
 
 
9048
 
 
9049
 
 
9050
 
 
9051
 
 
9052
 
 
9053
 
 
9054
 
 
9055
 
 
9056
 
8873
9057
#
8874
9058
# Do we need to explicitly link libc?
8875
9059
#
8889
9073
      # to ld, don't add -lc before -lgcc.
8890
9074
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8891
9075
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8892
 
      $rm conftest*
 
9076
      $RM conftest*
8893
9077
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8894
9078
 
8895
9079
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8910
9094
        libname=conftest
8911
9095
        lt_save_allow_undefined_flag=$allow_undefined_flag
8912
9096
        allow_undefined_flag=
8913
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8914
 
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
9097
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
9098
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8915
9099
  ac_status=$?
8916
9100
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8917
9101
  (exit $ac_status); }
8924
9108
      else
8925
9109
        cat conftest.err 1>&5
8926
9110
      fi
8927
 
      $rm conftest*
 
9111
      $RM conftest*
8928
9112
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8929
9113
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8930
9114
      ;;
8933
9117
  ;;
8934
9118
esac
8935
9119
 
8936
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
9120
 
 
9121
 
 
9122
 
 
9123
 
 
9124
 
 
9125
 
 
9126
 
 
9127
 
 
9128
 
 
9129
 
 
9130
 
 
9131
 
 
9132
 
 
9133
 
 
9134
 
 
9135
 
 
9136
 
 
9137
 
 
9138
 
 
9139
 
 
9140
 
 
9141
 
 
9142
 
 
9143
 
 
9144
 
 
9145
 
 
9146
 
 
9147
 
 
9148
 
 
9149
 
 
9150
 
 
9151
 
 
9152
 
 
9153
 
 
9154
 
 
9155
 
 
9156
 
 
9157
 
 
9158
 
 
9159
 
 
9160
 
 
9161
 
 
9162
 
 
9163
 
 
9164
 
 
9165
 
 
9166
 
 
9167
 
 
9168
 
 
9169
 
 
9170
 
 
9171
 
 
9172
 
 
9173
 
 
9174
 
 
9175
 
 
9176
 
 
9177
 
 
9178
 
 
9179
 
 
9180
 
 
9181
 
 
9182
 
 
9183
 
 
9184
 
 
9185
 
 
9186
 
 
9187
 
 
9188
 
 
9189
 
 
9190
 
 
9191
 
 
9192
 
 
9193
 
 
9194
 
 
9195
 
 
9196
 
 
9197
 
 
9198
 
 
9199
 
 
9200
 
 
9201
 
 
9202
 
 
9203
 
 
9204
 
 
9205
 
 
9206
 
 
9207
 
 
9208
 
 
9209
 
 
9210
 
 
9211
 
 
9212
 
 
9213
 
 
9214
 
 
9215
 
 
9216
 
 
9217
 
 
9218
 
 
9219
 
 
9220
 
 
9221
 
 
9222
 
 
9223
 
 
9224
 
 
9225
 
 
9226
 
 
9227
 
 
9228
 
 
9229
 
 
9230
 
 
9231
 
 
9232
 
 
9233
 
 
9234
 
 
9235
 
 
9236
 
 
9237
 
 
9238
 
 
9239
 
 
9240
 
 
9241
 
 
9242
 
 
9243
 
 
9244
 
 
9245
 
 
9246
 
 
9247
 
 
9248
 
 
9249
 
 
9250
 
 
9251
 
 
9252
 
 
9253
 
 
9254
 
 
9255
 
 
9256
 
 
9257
 
 
9258
 
 
9259
 
 
9260
 
 
9261
 
 
9262
 
 
9263
 
 
9264
 
 
9265
 
 
9266
 
 
9267
 
 
9268
 
 
9269
 
 
9270
 
 
9271
 
 
9272
 
 
9273
 
 
9274
 
 
9275
 
 
9276
  { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8937
9277
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8938
 
library_names_spec=
8939
 
libname_spec='lib$name'
8940
 
soname_spec=
8941
 
shrext_cmds=".so"
8942
 
postinstall_cmds=
8943
 
postuninstall_cmds=
8944
 
finish_cmds=
8945
 
finish_eval=
8946
 
shlibpath_var=
8947
 
shlibpath_overrides_runpath=unknown
8948
 
version_type=none
8949
 
dynamic_linker="$host_os ld.so"
8950
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
8951
9278
 
8952
9279
if test "$GCC" = yes; then
8953
9280
  case $host_os in
8955
9282
    *) lt_awk_arg="/^libraries:/" ;;
8956
9283
  esac
8957
9284
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8958
 
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
 
9285
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
8959
9286
    # if the path contains ";" then we assume it to be the separator
8960
9287
    # otherwise default to the standard path separator (i.e. ":") - it is
8961
9288
    # assumed that no part of a normal pathname contains ";" but that should
8962
9289
    # okay in the real world where ";" in dirpaths is itself problematic.
8963
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 
9290
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8964
9291
  else
8965
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
9292
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
8966
9293
  fi
8967
9294
  # Ok, now we have the path, separated by spaces, we can step through it
8968
9295
  # and add multilib dir if necessary.
8976
9303
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
8977
9304
    fi
8978
9305
  done
8979
 
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
 
9306
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8980
9307
BEGIN {RS=" "; FS="/|\n";} {
8981
9308
  lt_foo="";
8982
9309
  lt_count=0;
8996
9323
  if (lt_foo != "") { lt_freq[lt_foo]++; }
8997
9324
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
8998
9325
}'`
8999
 
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
 
9326
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9000
9327
else
9001
9328
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9002
9329
fi
 
9330
library_names_spec=
 
9331
libname_spec='lib$name'
 
9332
soname_spec=
 
9333
shrext_cmds=".so"
 
9334
postinstall_cmds=
 
9335
postuninstall_cmds=
 
9336
finish_cmds=
 
9337
finish_eval=
 
9338
shlibpath_var=
 
9339
shlibpath_overrides_runpath=unknown
 
9340
version_type=none
 
9341
dynamic_linker="$host_os ld.so"
 
9342
sys_lib_dlsearch_path_spec="/lib /usr/lib"
9003
9343
need_lib_prefix=unknown
9004
9344
hardcode_into_libs=no
9005
9345
 
9036
9376
      aix4 | aix4.[01] | aix4.[01].*)
9037
9377
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9038
9378
           echo ' yes '
9039
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
9379
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9040
9380
        :
9041
9381
      else
9042
9382
        can_build_shared=no
9062
9402
  ;;
9063
9403
 
9064
9404
amigaos*)
9065
 
  library_names_spec='$libname.ixlibrary $libname.a'
9066
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
9067
 
  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'
 
9405
  case $host_cpu in
 
9406
  powerpc)
 
9407
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
9408
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
9409
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9410
    ;;
 
9411
  m68k)
 
9412
    library_names_spec='$libname.ixlibrary $libname.a'
 
9413
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
9414
    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'
 
9415
    ;;
 
9416
  esac
9068
9417
  ;;
9069
9418
 
9070
9419
beos*)
9098
9447
    library_names_spec='$libname.dll.a'
9099
9448
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9100
9449
    postinstall_cmds='base_file=`basename \${file}`~
9101
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 
9450
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9102
9451
      dldir=$destdir/`dirname \$dlpath`~
9103
9452
      test -d \$dldir || mkdir -p \$dldir~
9104
9453
      $install_prog $dir/$dlname \$dldir/$dlname~
9105
 
      chmod a+x \$dldir/$dlname'
 
9454
      chmod a+x \$dldir/$dlname~
 
9455
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
9456
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
9457
      fi'
9106
9458
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9107
9459
      dlpath=$dir/\$dldll~
9108
 
       $rm \$dlpath'
 
9460
       $RM \$dlpath'
9109
9461
    shlibpath_overrides_runpath=yes
9110
9462
 
9111
9463
    case $host_os in
9117
9469
    mingw*)
9118
9470
      # MinGW DLLs use traditional 'lib' prefix
9119
9471
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9120
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9121
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 
9472
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
9473
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9122
9474
        # It is most probably a Windows format PATH printed by
9123
9475
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9124
9476
        # path with ; separators, and with drive letters. We can handle the
9125
9477
        # drive letters (cygwin fileutils understands them), so leave them,
9126
9478
        # especially as we might pass files found there to a mingw objdump,
9127
9479
        # which wouldn't understand a cygwinified path. Ahh.
9128
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
9480
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9129
9481
      else
9130
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
9482
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9131
9483
      fi
9132
9484
      ;;
9133
9485
    pw32*)
9151
9503
  version_type=darwin
9152
9504
  need_lib_prefix=no
9153
9505
  need_version=no
9154
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
9506
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9155
9507
  soname_spec='${libname}${release}${major}$shared_ext'
9156
9508
  shlibpath_overrides_runpath=yes
9157
9509
  shlibpath_var=DYLD_LIBRARY_PATH
9250
9602
    fi
9251
9603
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9252
9604
    ;;
9253
 
   hppa*64*)
9254
 
     shrext_cmds='.sl'
9255
 
     hardcode_into_libs=yes
9256
 
     dynamic_linker="$host_os dld.sl"
9257
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9258
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9259
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9260
 
     soname_spec='${libname}${release}${shared_ext}$major'
9261
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9262
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9263
 
     ;;
9264
 
   *)
 
9605
  hppa*64*)
 
9606
    shrext_cmds='.sl'
 
9607
    hardcode_into_libs=yes
 
9608
    dynamic_linker="$host_os dld.sl"
 
9609
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
9610
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
9611
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9612
    soname_spec='${libname}${release}${shared_ext}$major'
 
9613
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
9614
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
9615
    ;;
 
9616
  *)
9265
9617
    shrext_cmds='.sl'
9266
9618
    dynamic_linker="$host_os dld.sl"
9267
9619
    shlibpath_var=SHLIB_PATH
9338
9690
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9339
9691
  shlibpath_var=LD_LIBRARY_PATH
9340
9692
  shlibpath_overrides_runpath=no
 
9693
  # Some binutils ld are patched to set DT_RUNPATH
 
9694
  save_LDFLAGS=$LDFLAGS
 
9695
  save_libdir=$libdir
 
9696
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
9697
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
9698
  cat >conftest.$ac_ext <<_ACEOF
 
9699
/* confdefs.h.  */
 
9700
_ACEOF
 
9701
cat confdefs.h >>conftest.$ac_ext
 
9702
cat >>conftest.$ac_ext <<_ACEOF
 
9703
/* end confdefs.h.  */
 
9704
 
 
9705
int
 
9706
main ()
 
9707
{
 
9708
 
 
9709
  ;
 
9710
  return 0;
 
9711
}
 
9712
_ACEOF
 
9713
rm -f conftest.$ac_objext conftest$ac_exeext
 
9714
if { (ac_try="$ac_link"
 
9715
case "(($ac_try" in
 
9716
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9717
  *) ac_try_echo=$ac_try;;
 
9718
esac
 
9719
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9720
  (eval "$ac_link") 2>conftest.er1
 
9721
  ac_status=$?
 
9722
  grep -v '^ *+' conftest.er1 >conftest.err
 
9723
  rm -f conftest.er1
 
9724
  cat conftest.err >&5
 
9725
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9726
  (exit $ac_status); } && {
 
9727
         test -z "$ac_c_werror_flag" ||
 
9728
         test ! -s conftest.err
 
9729
       } && test -s conftest$ac_exeext &&
 
9730
       $as_test_x conftest$ac_exeext; then
 
9731
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 
9732
  shlibpath_overrides_runpath=yes
 
9733
fi
 
9734
 
 
9735
else
 
9736
  echo "$as_me: failed program was:" >&5
 
9737
sed 's/^/| /' conftest.$ac_ext >&5
 
9738
 
 
9739
 
 
9740
fi
 
9741
 
 
9742
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
9743
      conftest$ac_exeext conftest.$ac_ext
 
9744
  LDFLAGS=$save_LDFLAGS
 
9745
  libdir=$save_libdir
 
9746
 
9341
9747
  # This implies no fast_install, which is unacceptable.
9342
9748
  # Some rework will be needed to allow for fast_install
9343
9749
  # before this can be enabled.
9345
9751
 
9346
9752
  # Append ld.so.conf contents to the search path
9347
9753
  if test -f /etc/ld.so.conf; then
9348
 
    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' ' '`
 
9754
    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' ' '`
9349
9755
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9350
9756
  fi
9351
9757
 
9374
9780
  version_type=sunos
9375
9781
  need_lib_prefix=no
9376
9782
  need_version=no
9377
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
9783
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9378
9784
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9379
9785
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9380
9786
    dynamic_linker='NetBSD (a.out) ld.so'
9395
9801
  shlibpath_overrides_runpath=yes
9396
9802
  ;;
9397
9803
 
9398
 
nto-qnx*)
9399
 
  version_type=linux
 
9804
*nto* | *qnx*)
 
9805
  version_type=qnx
9400
9806
  need_lib_prefix=no
9401
9807
  need_version=no
9402
9808
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9403
9809
  soname_spec='${libname}${release}${shared_ext}$major'
9404
9810
  shlibpath_var=LD_LIBRARY_PATH
9405
 
  shlibpath_overrides_runpath=yes
 
9811
  shlibpath_overrides_runpath=no
 
9812
  hardcode_into_libs=yes
 
9813
  dynamic_linker='ldqnx.so'
9406
9814
  ;;
9407
9815
 
9408
9816
openbsd*)
9411
9819
  need_lib_prefix=no
9412
9820
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9413
9821
  case $host_os in
9414
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9415
 
    *)                         need_version=no  ;;
 
9822
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
9823
    *)                          need_version=no  ;;
9416
9824
  esac
9417
9825
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9418
9826
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9419
9827
  shlibpath_var=LD_LIBRARY_PATH
9420
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
9828
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9421
9829
    case $host_os in
9422
9830
      openbsd2.[89] | openbsd2.[89].*)
9423
9831
        shlibpath_overrides_runpath=no
9489
9897
    sni)
9490
9898
      shlibpath_overrides_runpath=no
9491
9899
      need_lib_prefix=no
9492
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
9493
9900
      runpath_var=LD_RUN_PATH
9494
9901
      ;;
9495
9902
    siemens)
9520
9927
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9521
9928
  soname_spec='${libname}${release}${shared_ext}$major'
9522
9929
  shlibpath_var=LD_LIBRARY_PATH
 
9930
  shlibpath_overrides_runpath=yes
9523
9931
  hardcode_into_libs=yes
9524
9932
  if test "$with_gnu_ld" = yes; then
9525
9933
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9526
 
    shlibpath_overrides_runpath=no
9527
9934
  else
9528
9935
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9529
 
    shlibpath_overrides_runpath=yes
9530
9936
    case $host_os in
9531
9937
      sco3.2v5*)
9532
9938
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9536
9942
  sys_lib_dlsearch_path_spec='/usr/lib'
9537
9943
  ;;
9538
9944
 
 
9945
tpf*)
 
9946
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
9947
  version_type=linux
 
9948
  need_lib_prefix=no
 
9949
  need_version=no
 
9950
  library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9951
  shlibpath_var=LD_LIBRARY_PATH
 
9952
  shlibpath_overrides_runpath=no
 
9953
  hardcode_into_libs=yes
 
9954
  ;;
 
9955
 
9539
9956
uts4*)
9540
9957
  version_type=linux
9541
9958
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9551
9968
echo "${ECHO_T}$dynamic_linker" >&6; }
9552
9969
test "$dynamic_linker" = no && can_build_shared=no
9553
9970
 
9554
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9555
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9556
 
else
9557
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
9558
 
fi
9559
 
 
9560
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9561
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9562
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9563
 
else
9564
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
9565
 
fi
9566
 
 
9567
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
9568
 
 
9569
9971
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9570
9972
if test "$GCC" = yes; then
9571
9973
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9572
9974
fi
9573
9975
 
9574
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
9976
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
9977
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
9978
fi
 
9979
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
9980
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
9981
fi
 
9982
 
 
9983
 
 
9984
 
 
9985
 
 
9986
 
 
9987
 
 
9988
 
 
9989
 
 
9990
 
 
9991
 
 
9992
 
 
9993
 
 
9994
 
 
9995
 
 
9996
 
 
9997
 
 
9998
 
 
9999
 
 
10000
 
 
10001
 
 
10002
 
 
10003
 
 
10004
 
 
10005
 
 
10006
 
 
10007
 
 
10008
 
 
10009
 
 
10010
 
 
10011
 
 
10012
 
 
10013
 
 
10014
 
 
10015
 
 
10016
 
 
10017
 
 
10018
 
 
10019
 
 
10020
 
 
10021
 
 
10022
 
 
10023
 
 
10024
 
 
10025
 
 
10026
 
 
10027
 
 
10028
 
 
10029
 
 
10030
 
 
10031
 
 
10032
 
 
10033
 
 
10034
 
 
10035
 
 
10036
 
 
10037
 
 
10038
 
 
10039
 
 
10040
 
 
10041
 
 
10042
 
 
10043
 
 
10044
 
 
10045
 
 
10046
 
 
10047
 
 
10048
 
 
10049
 
 
10050
 
 
10051
 
 
10052
 
 
10053
 
 
10054
 
 
10055
 
 
10056
 
 
10057
 
 
10058
 
 
10059
 
 
10060
 
 
10061
 
 
10062
 
 
10063
 
 
10064
 
 
10065
 
 
10066
 
 
10067
 
 
10068
 
 
10069
  { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9575
10070
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9576
10071
hardcode_action=
9577
 
if test -n "$hardcode_libdir_flag_spec" || \
9578
 
   test -n "$runpath_var" || \
 
10072
if test -n "$hardcode_libdir_flag_spec" ||
 
10073
   test -n "$runpath_var" ||
9579
10074
   test "X$hardcode_automatic" = "Xyes" ; then
9580
10075
 
9581
 
  # We can hardcode non-existant directories.
 
10076
  # We can hardcode non-existent directories.
9582
10077
  if test "$hardcode_direct" != no &&
9583
10078
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
9584
10079
     # have to relink, otherwise we might link with an installed library
9585
10080
     # when we should be linking with a yet-to-be-installed one
9586
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
10081
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9587
10082
     test "$hardcode_minus_L" != no; then
9588
10083
    # Linking always hardcodes the temporary library directory.
9589
10084
    hardcode_action=relink
9599
10094
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
9600
10095
echo "${ECHO_T}$hardcode_action" >&6; }
9601
10096
 
9602
 
if test "$hardcode_action" = relink; then
 
10097
if test "$hardcode_action" = relink ||
 
10098
   test "$inherit_rpath" = yes; then
9603
10099
  # Fast installation is not supported
9604
10100
  enable_fast_install=no
9605
10101
elif test "$shlibpath_overrides_runpath" = yes ||
9608
10104
  enable_fast_install=needless
9609
10105
fi
9610
10106
 
9611
 
striplib=
9612
 
old_striplib=
9613
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9614
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9615
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
9616
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
9617
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
9618
 
  { echo "$as_me:$LINENO: result: yes" >&5
9619
 
echo "${ECHO_T}yes" >&6; }
9620
 
else
9621
 
# FIXME - insert some real tests, host_os isn't really good enough
9622
 
  case $host_os in
9623
 
   darwin*)
9624
 
       if test -n "$STRIP" ; then
9625
 
         striplib="$STRIP -x"
9626
 
         old_striplib="$STRIP -S"
9627
 
         { echo "$as_me:$LINENO: result: yes" >&5
9628
 
echo "${ECHO_T}yes" >&6; }
9629
 
       else
9630
 
  { echo "$as_me:$LINENO: result: no" >&5
9631
 
echo "${ECHO_T}no" >&6; }
9632
 
fi
9633
 
       ;;
9634
 
   *)
9635
 
  { echo "$as_me:$LINENO: result: no" >&5
9636
 
echo "${ECHO_T}no" >&6; }
9637
 
    ;;
9638
 
  esac
9639
 
fi
9640
 
 
9641
 
if test "x$enable_dlopen" != xyes; then
 
10107
 
 
10108
 
 
10109
 
 
10110
 
 
10111
 
 
10112
  if test "x$enable_dlopen" != xyes; then
9642
10113
  enable_dlopen=unknown
9643
10114
  enable_dlopen_self=unknown
9644
10115
  enable_dlopen_self_static=unknown
9656
10127
  mingw* | pw32*)
9657
10128
    lt_cv_dlopen="LoadLibrary"
9658
10129
    lt_cv_dlopen_libs=
9659
 
   ;;
 
10130
    ;;
9660
10131
 
9661
10132
  cygwin*)
9662
10133
    lt_cv_dlopen="dlopen"
9663
10134
    lt_cv_dlopen_libs=
9664
 
   ;;
 
10135
    ;;
9665
10136
 
9666
10137
  darwin*)
9667
10138
  # if libdl is installed we need to link against it
9736
10207
 
9737
10208
fi
9738
10209
 
9739
 
   ;;
 
10210
    ;;
9740
10211
 
9741
10212
  *)
9742
10213
    { echo "$as_me:$LINENO: checking for shl_load" >&5
10209
10680
else
10210
10681
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10211
10682
  lt_status=$lt_dlunknown
10212
 
  cat > conftest.$ac_ext <<EOF
10213
 
#line 10213 "configure"
 
10683
  cat > conftest.$ac_ext <<_LT_EOF
 
10684
#line 10684 "configure"
10214
10685
#include "confdefs.h"
10215
10686
 
10216
10687
#if HAVE_DLFCN_H
10272
10743
 
10273
10744
    exit (status);
10274
10745
}
10275
 
EOF
 
10746
_LT_EOF
10276
10747
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10277
10748
  (eval $ac_link) 2>&5
10278
10749
  ac_status=$?
10309
10780
else
10310
10781
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10311
10782
  lt_status=$lt_dlunknown
10312
 
  cat > conftest.$ac_ext <<EOF
10313
 
#line 10313 "configure"
 
10783
  cat > conftest.$ac_ext <<_LT_EOF
 
10784
#line 10784 "configure"
10314
10785
#include "confdefs.h"
10315
10786
 
10316
10787
#if HAVE_DLFCN_H
10372
10843
 
10373
10844
    exit (status);
10374
10845
}
10375
 
EOF
 
10846
_LT_EOF
10376
10847
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10377
10848
  (eval $ac_link) 2>&5
10378
10849
  ac_status=$?
10416
10887
fi
10417
10888
 
10418
10889
 
10419
 
# Report which library types will actually be built
10420
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
10890
 
 
10891
 
 
10892
 
 
10893
 
 
10894
 
 
10895
 
 
10896
 
 
10897
 
 
10898
 
 
10899
 
 
10900
 
 
10901
 
 
10902
 
 
10903
 
 
10904
 
 
10905
striplib=
 
10906
old_striplib=
 
10907
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
10908
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
 
10909
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
10910
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
10911
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
10912
  { echo "$as_me:$LINENO: result: yes" >&5
 
10913
echo "${ECHO_T}yes" >&6; }
 
10914
else
 
10915
# FIXME - insert some real tests, host_os isn't really good enough
 
10916
  case $host_os in
 
10917
  darwin*)
 
10918
    if test -n "$STRIP" ; then
 
10919
      striplib="$STRIP -x"
 
10920
      old_striplib="$STRIP -S"
 
10921
      { echo "$as_me:$LINENO: result: yes" >&5
 
10922
echo "${ECHO_T}yes" >&6; }
 
10923
    else
 
10924
      { echo "$as_me:$LINENO: result: no" >&5
 
10925
echo "${ECHO_T}no" >&6; }
 
10926
    fi
 
10927
    ;;
 
10928
  *)
 
10929
    { echo "$as_me:$LINENO: result: no" >&5
 
10930
echo "${ECHO_T}no" >&6; }
 
10931
    ;;
 
10932
  esac
 
10933
fi
 
10934
 
 
10935
 
 
10936
 
 
10937
 
 
10938
 
 
10939
 
 
10940
 
 
10941
 
 
10942
 
 
10943
 
 
10944
 
 
10945
 
 
10946
  # Report which library types will actually be built
 
10947
  { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10421
10948
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10422
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
10949
  { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10423
10950
echo "${ECHO_T}$can_build_shared" >&6; }
10424
10951
 
10425
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
10952
  { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10426
10953
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10427
 
test "$can_build_shared" = "no" && enable_shared=no
10428
 
 
10429
 
# On AIX, shared libraries and static libraries use the same namespace, and
10430
 
# are all built from PIC.
10431
 
case $host_os in
10432
 
aix3*)
10433
 
  test "$enable_shared" = yes && enable_static=no
10434
 
  if test -n "$RANLIB"; then
10435
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
10436
 
    postinstall_cmds='$RANLIB $lib'
10437
 
  fi
10438
 
  ;;
10439
 
 
10440
 
aix[4-9]*)
10441
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
10954
  test "$can_build_shared" = "no" && enable_shared=no
 
10955
 
 
10956
  # On AIX, shared libraries and static libraries use the same namespace, and
 
10957
  # are all built from PIC.
 
10958
  case $host_os in
 
10959
  aix3*)
10442
10960
    test "$enable_shared" = yes && enable_static=no
10443
 
  fi
10444
 
    ;;
10445
 
esac
10446
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
10961
    if test -n "$RANLIB"; then
 
10962
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
10963
      postinstall_cmds='$RANLIB $lib'
 
10964
    fi
 
10965
    ;;
 
10966
 
 
10967
  aix[4-9]*)
 
10968
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
10969
      test "$enable_shared" = yes && enable_static=no
 
10970
    fi
 
10971
    ;;
 
10972
  esac
 
10973
  { echo "$as_me:$LINENO: result: $enable_shared" >&5
10447
10974
echo "${ECHO_T}$enable_shared" >&6; }
10448
10975
 
10449
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
10976
  { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10450
10977
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10451
 
# Make sure either enable_shared or enable_static is yes.
10452
 
test "$enable_shared" = yes || enable_static=yes
10453
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
10978
  # Make sure either enable_shared or enable_static is yes.
 
10979
  test "$enable_shared" = yes || enable_static=yes
 
10980
  { echo "$as_me:$LINENO: result: $enable_static" >&5
10454
10981
echo "${ECHO_T}$enable_static" >&6; }
10455
10982
 
10456
 
# The else clause should only fire when bootstrapping the
10457
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
10458
 
# with your package, and you will get complaints that there are
10459
 
# no rules to generate ltmain.sh.
10460
 
if test -f "$ltmain"; then
10461
 
  # See if we are running on zsh, and set the options which allow our commands through
10462
 
  # without removal of \ escapes.
10463
 
  if test -n "${ZSH_VERSION+set}" ; then
10464
 
    setopt NO_GLOB_SUBST
10465
 
  fi
10466
 
  # Now quote all the things that may contain metacharacters while being
10467
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
10468
 
  # variables and quote the copies for generation of the libtool script.
10469
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10470
 
    SED SHELL STRIP \
10471
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10472
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10473
 
    deplibs_check_method reload_flag reload_cmds need_locks \
10474
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10475
 
    lt_cv_sys_global_symbol_to_c_name_address \
10476
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10477
 
    old_postinstall_cmds old_postuninstall_cmds \
10478
 
    compiler \
10479
 
    CC \
10480
 
    LD \
10481
 
    lt_prog_compiler_wl \
10482
 
    lt_prog_compiler_pic \
10483
 
    lt_prog_compiler_static \
10484
 
    lt_prog_compiler_no_builtin_flag \
10485
 
    export_dynamic_flag_spec \
10486
 
    thread_safe_flag_spec \
10487
 
    whole_archive_flag_spec \
10488
 
    enable_shared_with_static_runtimes \
10489
 
    old_archive_cmds \
10490
 
    old_archive_from_new_cmds \
10491
 
    predep_objects \
10492
 
    postdep_objects \
10493
 
    predeps \
10494
 
    postdeps \
10495
 
    compiler_lib_search_path \
10496
 
    compiler_lib_search_dirs \
10497
 
    archive_cmds \
10498
 
    archive_expsym_cmds \
10499
 
    postinstall_cmds \
10500
 
    postuninstall_cmds \
10501
 
    old_archive_from_expsyms_cmds \
10502
 
    allow_undefined_flag \
10503
 
    no_undefined_flag \
10504
 
    export_symbols_cmds \
10505
 
    hardcode_libdir_flag_spec \
10506
 
    hardcode_libdir_flag_spec_ld \
10507
 
    hardcode_libdir_separator \
10508
 
    hardcode_automatic \
10509
 
    module_cmds \
10510
 
    module_expsym_cmds \
10511
 
    lt_cv_prog_compiler_c_o \
10512
 
    fix_srcfile_path \
10513
 
    exclude_expsyms \
10514
 
    include_expsyms; do
10515
 
 
10516
 
    case $var in
10517
 
    old_archive_cmds | \
10518
 
    old_archive_from_new_cmds | \
10519
 
    archive_cmds | \
10520
 
    archive_expsym_cmds | \
10521
 
    module_cmds | \
10522
 
    module_expsym_cmds | \
10523
 
    old_archive_from_expsyms_cmds | \
10524
 
    export_symbols_cmds | \
10525
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
10526
 
    postinstall_cmds | postuninstall_cmds | \
10527
 
    old_postinstall_cmds | old_postuninstall_cmds | \
10528
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10529
 
      # Double-quote double-evaled strings.
10530
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
10531
 
      ;;
10532
 
    *)
10533
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
10534
 
      ;;
10535
 
    esac
10536
 
  done
10537
 
 
10538
 
  case $lt_echo in
10539
 
  *'\$0 --fallback-echo"')
10540
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10541
 
    ;;
10542
 
  esac
10543
 
 
10544
 
cfgfile="${ofile}T"
10545
 
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10546
 
  $rm -f "$cfgfile"
10547
 
  { echo "$as_me:$LINENO: creating $ofile" >&5
10548
 
echo "$as_me: creating $ofile" >&6;}
10549
 
 
10550
 
  cat <<__EOF__ >> "$cfgfile"
10551
 
#! $SHELL
10552
 
 
10553
 
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
10554
 
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10555
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
10556
 
#
10557
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
10558
 
# Free Software Foundation, Inc.
10559
 
#
10560
 
# This file is part of GNU Libtool:
10561
 
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10562
 
#
10563
 
# This program is free software; you can redistribute it and/or modify
10564
 
# it under the terms of the GNU General Public License as published by
10565
 
# the Free Software Foundation; either version 2 of the License, or
10566
 
# (at your option) any later version.
10567
 
#
10568
 
# This program is distributed in the hope that it will be useful, but
10569
 
# WITHOUT ANY WARRANTY; without even the implied warranty of
10570
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
10571
 
# General Public License for more details.
10572
 
#
10573
 
# You should have received a copy of the GNU General Public License
10574
 
# along with this program; if not, write to the Free Software
10575
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10576
 
#
10577
 
# As a special exception to the GNU General Public License, if you
10578
 
# distribute this file as part of a program that contains a
10579
 
# configuration script generated by Autoconf, you may include it under
10580
 
# the same distribution terms that you use for the rest of that program.
10581
 
 
10582
 
# A sed program that does not truncate output.
10583
 
SED=$lt_SED
10584
 
 
10585
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
10586
 
Xsed="$SED -e 1s/^X//"
10587
 
 
10588
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
10589
 
# if CDPATH is set.
10590
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10591
 
 
10592
 
# The names of the tagged configurations supported by this script.
10593
 
available_tags=
10594
 
 
10595
 
# ### BEGIN LIBTOOL CONFIG
10596
 
 
10597
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
10598
 
 
10599
 
# Shell to use when invoking shell scripts.
10600
 
SHELL=$lt_SHELL
10601
 
 
10602
 
# Whether or not to build shared libraries.
10603
 
build_libtool_libs=$enable_shared
10604
 
 
10605
 
# Whether or not to build static libraries.
10606
 
build_old_libs=$enable_static
10607
 
 
10608
 
# Whether or not to add -lc for building shared libraries.
10609
 
build_libtool_need_lc=$archive_cmds_need_lc
10610
 
 
10611
 
# Whether or not to disallow shared libs when runtime libs are static
10612
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10613
 
 
10614
 
# Whether or not to optimize for fast installation.
10615
 
fast_install=$enable_fast_install
10616
 
 
10617
 
# The host system.
10618
 
host_alias=$host_alias
10619
 
host=$host
10620
 
host_os=$host_os
10621
 
 
10622
 
# The build system.
10623
 
build_alias=$build_alias
10624
 
build=$build
10625
 
build_os=$build_os
10626
 
 
10627
 
# An echo program that does not interpret backslashes.
10628
 
echo=$lt_echo
10629
 
 
10630
 
# The archiver.
10631
 
AR=$lt_AR
10632
 
AR_FLAGS=$lt_AR_FLAGS
10633
 
 
10634
 
# A C compiler.
10635
 
LTCC=$lt_LTCC
10636
 
 
10637
 
# LTCC compiler flags.
10638
 
LTCFLAGS=$lt_LTCFLAGS
10639
 
 
10640
 
# A language-specific compiler.
10641
 
CC=$lt_compiler
10642
 
 
10643
 
# Is the compiler the GNU C compiler?
10644
 
with_gcc=$GCC
10645
 
 
10646
 
# An ERE matcher.
10647
 
EGREP=$lt_EGREP
10648
 
 
10649
 
# The linker used to build libraries.
10650
 
LD=$lt_LD
10651
 
 
10652
 
# Whether we need hard or soft links.
10653
 
LN_S=$lt_LN_S
10654
 
 
10655
 
# A BSD-compatible nm program.
10656
 
NM=$lt_NM
10657
 
 
10658
 
# A symbol stripping program
10659
 
STRIP=$lt_STRIP
10660
 
 
10661
 
# Used to examine libraries when file_magic_cmd begins "file"
10662
 
MAGIC_CMD=$MAGIC_CMD
10663
 
 
10664
 
# Used on cygwin: DLL creation program.
10665
 
DLLTOOL="$DLLTOOL"
10666
 
 
10667
 
# Used on cygwin: object dumper.
10668
 
OBJDUMP="$OBJDUMP"
10669
 
 
10670
 
# Used on cygwin: assembler.
10671
 
AS="$AS"
10672
 
 
10673
 
# The name of the directory that contains temporary libtool files.
10674
 
objdir=$objdir
10675
 
 
10676
 
# How to create reloadable object files.
10677
 
reload_flag=$lt_reload_flag
10678
 
reload_cmds=$lt_reload_cmds
10679
 
 
10680
 
# How to pass a linker flag through the compiler.
10681
 
wl=$lt_lt_prog_compiler_wl
10682
 
 
10683
 
# Object file suffix (normally "o").
10684
 
objext="$ac_objext"
10685
 
 
10686
 
# Old archive suffix (normally "a").
10687
 
libext="$libext"
10688
 
 
10689
 
# Shared library suffix (normally ".so").
10690
 
shrext_cmds='$shrext_cmds'
10691
 
 
10692
 
# Executable file suffix (normally "").
10693
 
exeext="$exeext"
10694
 
 
10695
 
# Additional compiler flags for building library objects.
10696
 
pic_flag=$lt_lt_prog_compiler_pic
10697
 
pic_mode=$pic_mode
10698
 
 
10699
 
# What is the maximum length of a command?
10700
 
max_cmd_len=$lt_cv_sys_max_cmd_len
10701
 
 
10702
 
# Does compiler simultaneously support -c and -o options?
10703
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10704
 
 
10705
 
# Must we lock files when doing compilation?
10706
 
need_locks=$lt_need_locks
10707
 
 
10708
 
# Do we need the lib prefix for modules?
10709
 
need_lib_prefix=$need_lib_prefix
10710
 
 
10711
 
# Do we need a version for libraries?
10712
 
need_version=$need_version
10713
 
 
10714
 
# Whether dlopen is supported.
10715
 
dlopen_support=$enable_dlopen
10716
 
 
10717
 
# Whether dlopen of programs is supported.
10718
 
dlopen_self=$enable_dlopen_self
10719
 
 
10720
 
# Whether dlopen of statically linked programs is supported.
10721
 
dlopen_self_static=$enable_dlopen_self_static
10722
 
 
10723
 
# Compiler flag to prevent dynamic linking.
10724
 
link_static_flag=$lt_lt_prog_compiler_static
10725
 
 
10726
 
# Compiler flag to turn off builtin functions.
10727
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10728
 
 
10729
 
# Compiler flag to allow reflexive dlopens.
10730
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10731
 
 
10732
 
# Compiler flag to generate shared objects directly from archives.
10733
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
10734
 
 
10735
 
# Compiler flag to generate thread-safe objects.
10736
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec
10737
 
 
10738
 
# Library versioning type.
10739
 
version_type=$version_type
10740
 
 
10741
 
# Format of library name prefix.
10742
 
libname_spec=$lt_libname_spec
10743
 
 
10744
 
# List of archive names.  First name is the real one, the rest are links.
10745
 
# The last name is the one that the linker finds with -lNAME.
10746
 
library_names_spec=$lt_library_names_spec
10747
 
 
10748
 
# The coded name of the library, if different from the real name.
10749
 
soname_spec=$lt_soname_spec
10750
 
 
10751
 
# Commands used to build and install an old-style archive.
10752
 
RANLIB=$lt_RANLIB
10753
 
old_archive_cmds=$lt_old_archive_cmds
10754
 
old_postinstall_cmds=$lt_old_postinstall_cmds
10755
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
10756
 
 
10757
 
# Create an old-style archive from a shared archive.
10758
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10759
 
 
10760
 
# Create a temporary old-style archive to link instead of a shared archive.
10761
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10762
 
 
10763
 
# Commands used to build and install a shared archive.
10764
 
archive_cmds=$lt_archive_cmds
10765
 
archive_expsym_cmds=$lt_archive_expsym_cmds
10766
 
postinstall_cmds=$lt_postinstall_cmds
10767
 
postuninstall_cmds=$lt_postuninstall_cmds
10768
 
 
10769
 
# Commands used to build a loadable module (assumed same as above if empty)
10770
 
module_cmds=$lt_module_cmds
10771
 
module_expsym_cmds=$lt_module_expsym_cmds
10772
 
 
10773
 
# Commands to strip libraries.
10774
 
old_striplib=$lt_old_striplib
10775
 
striplib=$lt_striplib
10776
 
 
10777
 
# Dependencies to place before the objects being linked to create a
10778
 
# shared library.
10779
 
predep_objects=$lt_predep_objects
10780
 
 
10781
 
# Dependencies to place after the objects being linked to create a
10782
 
# shared library.
10783
 
postdep_objects=$lt_postdep_objects
10784
 
 
10785
 
# Dependencies to place before the objects being linked to create a
10786
 
# shared library.
10787
 
predeps=$lt_predeps
10788
 
 
10789
 
# Dependencies to place after the objects being linked to create a
10790
 
# shared library.
10791
 
postdeps=$lt_postdeps
10792
 
 
10793
 
# The directories searched by this compiler when creating a shared
10794
 
# library
10795
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
10796
 
 
10797
 
# The library search path used internally by the compiler when linking
10798
 
# a shared library.
10799
 
compiler_lib_search_path=$lt_compiler_lib_search_path
10800
 
 
10801
 
# Method to check whether dependent libraries are shared objects.
10802
 
deplibs_check_method=$lt_deplibs_check_method
10803
 
 
10804
 
# Command to use when deplibs_check_method == file_magic.
10805
 
file_magic_cmd=$lt_file_magic_cmd
10806
 
 
10807
 
# Flag that allows shared libraries with undefined symbols to be built.
10808
 
allow_undefined_flag=$lt_allow_undefined_flag
10809
 
 
10810
 
# Flag that forces no undefined symbols.
10811
 
no_undefined_flag=$lt_no_undefined_flag
10812
 
 
10813
 
# Commands used to finish a libtool library installation in a directory.
10814
 
finish_cmds=$lt_finish_cmds
10815
 
 
10816
 
# Same as above, but a single script fragment to be evaled but not shown.
10817
 
finish_eval=$lt_finish_eval
10818
 
 
10819
 
# Take the output of nm and produce a listing of raw symbols and C names.
10820
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10821
 
 
10822
 
# Transform the output of nm in a proper C declaration
10823
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10824
 
 
10825
 
# Transform the output of nm in a C name address pair
10826
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10827
 
 
10828
 
# This is the shared library runtime path variable.
10829
 
runpath_var=$runpath_var
10830
 
 
10831
 
# This is the shared library path variable.
10832
 
shlibpath_var=$shlibpath_var
10833
 
 
10834
 
# Is shlibpath searched before the hard-coded library search path?
10835
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10836
 
 
10837
 
# How to hardcode a shared library path into an executable.
10838
 
hardcode_action=$hardcode_action
10839
 
 
10840
 
# Whether we should hardcode library paths into libraries.
10841
 
hardcode_into_libs=$hardcode_into_libs
10842
 
 
10843
 
# Flag to hardcode \$libdir into a binary during linking.
10844
 
# This must work even if \$libdir does not exist.
10845
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10846
 
 
10847
 
# If ld is used when linking, flag to hardcode \$libdir into
10848
 
# a binary during linking. This must work even if \$libdir does
10849
 
# not exist.
10850
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10851
 
 
10852
 
# Whether we need a single -rpath flag with a separated argument.
10853
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
10854
 
 
10855
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10856
 
# resulting binary.
10857
 
hardcode_direct=$hardcode_direct
10858
 
 
10859
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10860
 
# resulting binary.
10861
 
hardcode_minus_L=$hardcode_minus_L
10862
 
 
10863
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10864
 
# the resulting binary.
10865
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
10866
 
 
10867
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
10868
 
# and all subsequent libraries and executables linked against it.
10869
 
hardcode_automatic=$hardcode_automatic
10870
 
 
10871
 
# Variables whose values should be saved in libtool wrapper scripts and
10872
 
# restored at relink time.
10873
 
variables_saved_for_relink="$variables_saved_for_relink"
10874
 
 
10875
 
# Whether libtool must link a program against all its dependency libraries.
10876
 
link_all_deplibs=$link_all_deplibs
10877
 
 
10878
 
# Compile-time system search path for libraries
10879
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10880
 
 
10881
 
# Run-time system search path for libraries
10882
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10883
 
 
10884
 
# Fix the shell variable \$srcfile for the compiler.
10885
 
fix_srcfile_path=$lt_fix_srcfile_path
10886
 
 
10887
 
# Set to yes if exported symbols are required.
10888
 
always_export_symbols=$always_export_symbols
10889
 
 
10890
 
# The commands to list exported symbols.
10891
 
export_symbols_cmds=$lt_export_symbols_cmds
10892
 
 
10893
 
# The commands to extract the exported symbol list from a shared archive.
10894
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
10895
 
 
10896
 
# Symbols that should not be listed in the preloaded symbols.
10897
 
exclude_expsyms=$lt_exclude_expsyms
10898
 
 
10899
 
# Symbols that must always be exported.
10900
 
include_expsyms=$lt_include_expsyms
10901
 
 
10902
 
# ### END LIBTOOL CONFIG
10903
 
 
10904
 
__EOF__
10905
 
 
10906
 
 
10907
 
  case $host_os in
10908
 
  aix3*)
10909
 
    cat <<\EOF >> "$cfgfile"
10910
 
 
10911
 
# AIX sometimes has problems with the GCC collect2 program.  For some
10912
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
10913
 
# vanish in a puff of smoke.
10914
 
if test "X${COLLECT_NAMES+set}" != Xset; then
10915
 
  COLLECT_NAMES=
10916
 
  export COLLECT_NAMES
10917
 
fi
10918
 
EOF
10919
 
    ;;
10920
 
  esac
10921
 
 
10922
 
  # We use sed instead of cat because bash on DJGPP gets confused if
10923
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
10924
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
10925
 
  # is reportedly fixed, but why not run on old versions too?
10926
 
  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10927
 
 
10928
 
  mv -f "$cfgfile" "$ofile" || \
10929
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10930
 
  chmod +x "$ofile"
10931
 
 
10932
 
else
10933
 
  # If there is no Makefile yet, we rely on a make rule to execute
10934
 
  # `config.status --recheck' to rerun these tests and create the
10935
 
  # libtool script then.
10936
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
10937
 
  if test -f "$ltmain_in"; then
10938
 
    test -f Makefile && make "$ltmain"
10939
 
  fi
10940
 
fi
10941
 
 
10942
 
 
 
10983
 
 
10984
 
 
10985
 
 
10986
fi
10943
10987
ac_ext=c
10944
10988
ac_cpp='$CPP $CPPFLAGS'
10945
10989
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10949
10993
CC="$lt_save_CC"
10950
10994
 
10951
10995
 
10952
 
# Check whether --with-tags was given.
10953
 
if test "${with_tags+set}" = set; then
10954
 
  withval=$with_tags; tagnames="$withval"
10955
 
fi
10956
 
 
10957
 
 
10958
 
if test -f "$ltmain" && test -n "$tagnames"; then
10959
 
  if test ! -f "${ofile}"; then
10960
 
    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
10961
 
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
10962
 
  fi
10963
 
 
10964
 
  if test -z "$LTCC"; then
10965
 
    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
10966
 
    if test -z "$LTCC"; then
10967
 
      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10968
 
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
10969
 
    else
10970
 
      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
10971
 
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
10972
 
    fi
10973
 
  fi
10974
 
  if test -z "$LTCFLAGS"; then
10975
 
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
10976
 
  fi
10977
 
 
10978
 
  # Extract list of available tagged configurations in $ofile.
10979
 
  # Note that this assumes the entire list is on one line.
10980
 
  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10981
 
 
10982
 
  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10983
 
  for tagname in $tagnames; do
10984
 
    IFS="$lt_save_ifs"
10985
 
    # Check whether tagname contains only valid characters
10986
 
    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10987
 
    "") ;;
10988
 
    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10989
 
echo "$as_me: error: invalid tag name: $tagname" >&2;}
10990
 
   { (exit 1); exit 1; }; }
10991
 
        ;;
10992
 
    esac
10993
 
 
10994
 
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10995
 
    then
10996
 
      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10997
 
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10998
 
   { (exit 1); exit 1; }; }
10999
 
    fi
11000
 
 
11001
 
    # Update the list of available tags.
11002
 
    if test -n "$tagname"; then
11003
 
      echo appending configuration tag \"$tagname\" to $ofile
11004
 
 
11005
 
      case $tagname in
11006
 
      CXX)
11007
 
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11008
 
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11009
 
            (test "X$CXX" != "Xg++"))) ; then
11010
 
          ac_ext=cpp
11011
 
ac_cpp='$CXXCPP $CPPFLAGS'
11012
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11013
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11014
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11015
 
 
11016
 
 
11017
 
 
11018
 
 
11019
 
archive_cmds_need_lc_CXX=no
11020
 
allow_undefined_flag_CXX=
11021
 
always_export_symbols_CXX=no
11022
 
archive_expsym_cmds_CXX=
11023
 
export_dynamic_flag_spec_CXX=
11024
 
hardcode_direct_CXX=no
11025
 
hardcode_libdir_flag_spec_CXX=
11026
 
hardcode_libdir_flag_spec_ld_CXX=
11027
 
hardcode_libdir_separator_CXX=
11028
 
hardcode_minus_L_CXX=no
11029
 
hardcode_shlibpath_var_CXX=unsupported
11030
 
hardcode_automatic_CXX=no
11031
 
module_cmds_CXX=
11032
 
module_expsym_cmds_CXX=
11033
 
link_all_deplibs_CXX=unknown
11034
 
old_archive_cmds_CXX=$old_archive_cmds
11035
 
no_undefined_flag_CXX=
11036
 
whole_archive_flag_spec_CXX=
11037
 
enable_shared_with_static_runtimes_CXX=no
11038
 
 
11039
 
# Dependencies to place before and after the object being linked:
11040
 
predep_objects_CXX=
11041
 
postdep_objects_CXX=
11042
 
predeps_CXX=
11043
 
postdeps_CXX=
11044
 
compiler_lib_search_path_CXX=
11045
 
compiler_lib_search_dirs_CXX=
11046
 
 
11047
 
# Source file extension for C++ test sources.
11048
 
ac_ext=cpp
11049
 
 
11050
 
# Object file extension for compiled C++ test sources.
11051
 
objext=o
11052
 
objext_CXX=$objext
11053
 
 
11054
 
# Code to be used in simple compile tests
11055
 
lt_simple_compile_test_code="int some_variable = 0;"
11056
 
 
11057
 
# Code to be used in simple link tests
11058
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11059
 
 
11060
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
11061
 
 
11062
 
# If no C compiler was specified, use CC.
11063
 
LTCC=${LTCC-"$CC"}
11064
 
 
11065
 
# If no C compiler flags were specified, use CFLAGS.
11066
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11067
 
 
11068
 
# Allow CC to be a program name with arguments.
11069
 
compiler=$CC
11070
 
 
11071
 
 
11072
 
# save warnings/boilerplate of simple test code
11073
 
ac_outfile=conftest.$ac_objext
11074
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11075
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11076
 
_lt_compiler_boilerplate=`cat conftest.err`
11077
 
$rm conftest*
11078
 
 
11079
 
ac_outfile=conftest.$ac_objext
11080
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
11081
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11082
 
_lt_linker_boilerplate=`cat conftest.err`
11083
 
$rm -r conftest*
11084
 
 
11085
 
 
11086
 
# Allow CC to be a program name with arguments.
11087
 
lt_save_CC=$CC
11088
 
lt_save_LD=$LD
11089
 
lt_save_GCC=$GCC
11090
 
GCC=$GXX
11091
 
lt_save_with_gnu_ld=$with_gnu_ld
11092
 
lt_save_path_LD=$lt_cv_path_LD
11093
 
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11094
 
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11095
 
else
11096
 
  $as_unset lt_cv_prog_gnu_ld
11097
 
fi
11098
 
if test -n "${lt_cv_path_LDCXX+set}"; then
11099
 
  lt_cv_path_LD=$lt_cv_path_LDCXX
11100
 
else
11101
 
  $as_unset lt_cv_path_LD
11102
 
fi
11103
 
test -z "${LDCXX+set}" || LD=$LDCXX
11104
 
CC=${CXX-"c++"}
11105
 
compiler=$CC
11106
 
compiler_CXX=$CC
11107
 
for cc_temp in $compiler""; do
11108
 
  case $cc_temp in
11109
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11110
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11111
 
    \-*) ;;
11112
 
    *) break;;
11113
 
  esac
11114
 
done
11115
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11116
 
 
11117
 
 
11118
 
# We don't want -fno-exception wen compiling C++ code, so set the
11119
 
# no_builtin_flag separately
11120
 
if test "$GXX" = yes; then
11121
 
  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11122
 
else
11123
 
  lt_prog_compiler_no_builtin_flag_CXX=
11124
 
fi
11125
 
 
11126
 
if test "$GXX" = yes; then
11127
 
  # Set up default GNU C++ configuration
11128
 
 
11129
 
 
11130
 
# Check whether --with-gnu-ld was given.
11131
 
if test "${with_gnu_ld+set}" = set; then
11132
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11133
 
else
11134
 
  with_gnu_ld=no
11135
 
fi
11136
 
 
11137
 
ac_prog=ld
11138
 
if test "$GCC" = yes; then
11139
 
  # Check if gcc -print-prog-name=ld gives a path.
11140
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11141
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
11142
 
  case $host in
11143
 
  *-*-mingw*)
11144
 
    # gcc leaves a trailing carriage return which upsets mingw
11145
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11146
 
  *)
11147
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11148
 
  esac
11149
 
  case $ac_prog in
11150
 
    # Accept absolute paths.
11151
 
    [\\/]* | ?:[\\/]*)
11152
 
      re_direlt='/[^/][^/]*/\.\./'
11153
 
      # Canonicalize the pathname of ld
11154
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
11155
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11156
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
11157
 
      done
11158
 
      test -z "$LD" && LD="$ac_prog"
11159
 
      ;;
11160
 
  "")
11161
 
    # If it fails, then pretend we aren't using GCC.
11162
 
    ac_prog=ld
11163
 
    ;;
11164
 
  *)
11165
 
    # If it is relative, then search for the first ld in PATH.
11166
 
    with_gnu_ld=unknown
11167
 
    ;;
11168
 
  esac
11169
 
elif test "$with_gnu_ld" = yes; then
11170
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
11171
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
11172
 
else
11173
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11174
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
11175
 
fi
11176
 
if test "${lt_cv_path_LD+set}" = set; then
 
10996
 
 
10997
 
 
10998
 
 
10999
 
 
11000
 
 
11001
 
 
11002
 
 
11003
 
 
11004
 
 
11005
 
 
11006
 
 
11007
        ac_config_commands="$ac_config_commands libtool"
 
11008
 
 
11009
 
 
11010
 
 
11011
 
 
11012
# Only expand once:
 
11013
 
 
11014
 
 
11015
 
 
11016
 
 
11017
# dolt, a replacement for libtool
 
11018
# Josh Triplett <josh@freedesktop.org>
 
11019
# Extract the first word of "bash", so it can be a program name with args.
 
11020
set dummy bash; ac_word=$2
 
11021
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11022
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
11023
if test "${ac_cv_path_DOLT_BASH+set}" = set; then
11177
11024
  echo $ECHO_N "(cached) $ECHO_C" >&6
11178
11025
else
11179
 
  if test -z "$LD"; then
11180
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11181
 
  for ac_dir in $PATH; do
11182
 
    IFS="$lt_save_ifs"
11183
 
    test -z "$ac_dir" && ac_dir=.
11184
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11185
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
11186
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
11187
 
      # but apparently some variants of GNU ld only accept -v.
11188
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
11189
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11190
 
      *GNU* | *'with BFD'*)
11191
 
        test "$with_gnu_ld" != no && break
11192
 
        ;;
11193
 
      *)
11194
 
        test "$with_gnu_ld" != yes && break
11195
 
        ;;
11196
 
      esac
11197
 
    fi
11198
 
  done
11199
 
  IFS="$lt_save_ifs"
11200
 
else
11201
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
11202
 
fi
11203
 
fi
 
11026
  case $DOLT_BASH in
 
11027
  [\\/]* | ?:[\\/]*)
 
11028
  ac_cv_path_DOLT_BASH="$DOLT_BASH" # Let the user override the test with a path.
 
11029
  ;;
 
11030
  *)
 
11031
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11032
for as_dir in $PATH
 
11033
do
 
11034
  IFS=$as_save_IFS
 
11035
  test -z "$as_dir" && as_dir=.
 
11036
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11037
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
11038
    ac_cv_path_DOLT_BASH="$as_dir/$ac_word$ac_exec_ext"
 
11039
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11040
    break 2
 
11041
  fi
 
11042
done
 
11043
done
 
11044
IFS=$as_save_IFS
11204
11045
 
11205
 
LD="$lt_cv_path_LD"
11206
 
if test -n "$LD"; then
11207
 
  { echo "$as_me:$LINENO: result: $LD" >&5
11208
 
echo "${ECHO_T}$LD" >&6; }
 
11046
  ;;
 
11047
esac
 
11048
fi
 
11049
DOLT_BASH=$ac_cv_path_DOLT_BASH
 
11050
if test -n "$DOLT_BASH"; then
 
11051
  { echo "$as_me:$LINENO: result: $DOLT_BASH" >&5
 
11052
echo "${ECHO_T}$DOLT_BASH" >&6; }
11209
11053
else
11210
11054
  { echo "$as_me:$LINENO: result: no" >&5
11211
11055
echo "${ECHO_T}no" >&6; }
11212
11056
fi
11213
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11214
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11215
 
   { (exit 1); exit 1; }; }
11216
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11217
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11218
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
11219
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11220
 
else
11221
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
11222
 
case `$LD -v 2>&1 </dev/null` in
11223
 
*GNU* | *'with BFD'*)
11224
 
  lt_cv_prog_gnu_ld=yes
11225
 
  ;;
11226
 
*)
11227
 
  lt_cv_prog_gnu_ld=no
11228
 
  ;;
11229
 
esac
11230
 
fi
11231
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11232
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
11233
 
with_gnu_ld=$lt_cv_prog_gnu_ld
11234
 
 
11235
 
 
11236
 
 
11237
 
  # Check if GNU C++ uses GNU ld as the underlying linker, since the
11238
 
  # archiving commands below assume that GNU ld is being used.
11239
 
  if test "$with_gnu_ld" = yes; then
11240
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11241
 
    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'
11242
 
 
11243
 
    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11244
 
    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11245
 
 
11246
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
11247
 
    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11248
 
    #     investigate it a little bit more. (MM)
11249
 
    wlarc='${wl}'
11250
 
 
11251
 
    # ancient GNU ld didn't support --whole-archive et. al.
11252
 
    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
11253
 
        grep 'no-whole-archive' > /dev/null; then
11254
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11255
 
    else
11256
 
      whole_archive_flag_spec_CXX=
11257
 
    fi
11258
 
  else
11259
 
    with_gnu_ld=no
11260
 
    wlarc=
11261
 
 
11262
 
    # A generic and very simple default shared library creation
11263
 
    # command for GNU C++ for the case where it uses the native
11264
 
    # linker, instead of GNU ld.  If possible, this setting should
11265
 
    # overridden to take advantage of the native linker features on
11266
 
    # the platform it is being used on.
11267
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11268
 
  fi
11269
 
 
11270
 
  # Commands to make compiler produce verbose output that lists
11271
 
  # what "hidden" libraries, object files and flags are used when
11272
 
  # linking a shared library.
11273
 
  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11274
 
 
11275
 
else
11276
 
  GXX=no
11277
 
  with_gnu_ld=no
11278
 
  wlarc=
11279
 
fi
11280
 
 
11281
 
# PORTME: fill in a description of your system's C++ link characteristics
11282
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11283
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11284
 
ld_shlibs_CXX=yes
11285
 
case $host_os in
11286
 
  aix3*)
11287
 
    # FIXME: insert proper C++ library support
11288
 
    ld_shlibs_CXX=no
11289
 
    ;;
11290
 
  aix[4-9]*)
11291
 
    if test "$host_cpu" = ia64; then
11292
 
      # On IA64, the linker does run time linking by default, so we don't
11293
 
      # have to do anything special.
11294
 
      aix_use_runtimelinking=no
11295
 
      exp_sym_flag='-Bexport'
11296
 
      no_entry_flag=""
11297
 
    else
11298
 
      aix_use_runtimelinking=no
11299
 
 
11300
 
      # Test if we are trying to use run time linking or normal
11301
 
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11302
 
      # need to do runtime linking.
11303
 
      case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11304
 
        for ld_flag in $LDFLAGS; do
11305
 
          case $ld_flag in
11306
 
          *-brtl*)
11307
 
            aix_use_runtimelinking=yes
11308
 
            break
11309
 
            ;;
11310
 
          esac
11311
 
        done
11312
 
        ;;
11313
 
      esac
11314
 
 
11315
 
      exp_sym_flag='-bexport'
11316
 
      no_entry_flag='-bnoentry'
11317
 
    fi
11318
 
 
11319
 
    # When large executables or shared objects are built, AIX ld can
11320
 
    # have problems creating the table of contents.  If linking a library
11321
 
    # or program results in "error TOC overflow" add -mminimal-toc to
11322
 
    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11323
 
    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11324
 
 
11325
 
    archive_cmds_CXX=''
11326
 
    hardcode_direct_CXX=yes
11327
 
    hardcode_libdir_separator_CXX=':'
11328
 
    link_all_deplibs_CXX=yes
11329
 
 
11330
 
    if test "$GXX" = yes; then
11331
 
      case $host_os in aix4.[012]|aix4.[012].*)
11332
 
      # We only want to do this on AIX 4.2 and lower, the check
11333
 
      # below for broken collect2 doesn't work under 4.3+
11334
 
        collect2name=`${CC} -print-prog-name=collect2`
11335
 
        if test -f "$collect2name" && \
11336
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
11337
 
        then
11338
 
          # We have reworked collect2
11339
 
          :
11340
 
        else
11341
 
          # We have old collect2
11342
 
          hardcode_direct_CXX=unsupported
11343
 
          # It fails to find uninstalled libraries when the uninstalled
11344
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
11345
 
          # to unsupported forces relinking
11346
 
          hardcode_minus_L_CXX=yes
11347
 
          hardcode_libdir_flag_spec_CXX='-L$libdir'
11348
 
          hardcode_libdir_separator_CXX=
11349
 
        fi
11350
 
        ;;
11351
 
      esac
11352
 
      shared_flag='-shared'
11353
 
      if test "$aix_use_runtimelinking" = yes; then
11354
 
        shared_flag="$shared_flag "'${wl}-G'
11355
 
      fi
11356
 
    else
11357
 
      # not using gcc
11358
 
      if test "$host_cpu" = ia64; then
11359
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11360
 
        # chokes on -Wl,-G. The following line is correct:
11361
 
        shared_flag='-G'
11362
 
      else
11363
 
        if test "$aix_use_runtimelinking" = yes; then
11364
 
          shared_flag='${wl}-G'
11365
 
        else
11366
 
          shared_flag='${wl}-bM:SRE'
11367
 
        fi
11368
 
      fi
11369
 
    fi
11370
 
 
11371
 
    # It seems that -bexpall does not export symbols beginning with
11372
 
    # underscore (_), so it is better to generate a list of symbols to export.
11373
 
    always_export_symbols_CXX=yes
11374
 
    if test "$aix_use_runtimelinking" = yes; then
11375
 
      # Warning - without using the other runtime loading flags (-brtl),
11376
 
      # -berok will link without error, but may produce a broken library.
11377
 
      allow_undefined_flag_CXX='-berok'
11378
 
      # Determine the default libpath from the value encoded in an empty executable.
11379
 
      cat >conftest.$ac_ext <<_ACEOF
11380
 
/* confdefs.h.  */
11381
 
_ACEOF
11382
 
cat confdefs.h >>conftest.$ac_ext
11383
 
cat >>conftest.$ac_ext <<_ACEOF
11384
 
/* end confdefs.h.  */
11385
 
 
11386
 
int
11387
 
main ()
11388
 
{
11389
 
 
11390
 
  ;
11391
 
  return 0;
11392
 
}
11393
 
_ACEOF
11394
 
rm -f conftest.$ac_objext conftest$ac_exeext
11395
 
if { (ac_try="$ac_link"
11396
 
case "(($ac_try" in
11397
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11398
 
  *) ac_try_echo=$ac_try;;
11399
 
esac
11400
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11401
 
  (eval "$ac_link") 2>conftest.er1
11402
 
  ac_status=$?
11403
 
  grep -v '^ *+' conftest.er1 >conftest.err
11404
 
  rm -f conftest.er1
11405
 
  cat conftest.err >&5
11406
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11407
 
  (exit $ac_status); } && {
11408
 
         test -z "$ac_cxx_werror_flag" ||
11409
 
         test ! -s conftest.err
11410
 
       } && test -s conftest$ac_exeext &&
11411
 
       $as_test_x conftest$ac_exeext; then
11412
 
 
11413
 
lt_aix_libpath_sed='
11414
 
    /Import File Strings/,/^$/ {
11415
 
        /^0/ {
11416
 
            s/^0  *\(.*\)$/\1/
11417
 
            p
11418
 
        }
11419
 
    }'
11420
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11421
 
# Check for a 64-bit object if we didn't find anything.
11422
 
if test -z "$aix_libpath"; then
11423
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11424
 
fi
11425
 
else
11426
 
  echo "$as_me: failed program was:" >&5
11427
 
sed 's/^/| /' conftest.$ac_ext >&5
11428
 
 
11429
 
 
11430
 
fi
11431
 
 
11432
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11433
 
      conftest$ac_exeext conftest.$ac_ext
11434
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11435
 
 
11436
 
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11437
 
 
11438
 
      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"
11439
 
     else
11440
 
      if test "$host_cpu" = ia64; then
11441
 
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11442
 
        allow_undefined_flag_CXX="-z nodefs"
11443
 
        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"
11444
 
      else
11445
 
        # Determine the default libpath from the value encoded in an empty executable.
11446
 
        cat >conftest.$ac_ext <<_ACEOF
11447
 
/* confdefs.h.  */
11448
 
_ACEOF
11449
 
cat confdefs.h >>conftest.$ac_ext
11450
 
cat >>conftest.$ac_ext <<_ACEOF
11451
 
/* end confdefs.h.  */
11452
 
 
11453
 
int
11454
 
main ()
11455
 
{
11456
 
 
11457
 
  ;
11458
 
  return 0;
11459
 
}
11460
 
_ACEOF
11461
 
rm -f conftest.$ac_objext conftest$ac_exeext
11462
 
if { (ac_try="$ac_link"
11463
 
case "(($ac_try" in
11464
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11465
 
  *) ac_try_echo=$ac_try;;
11466
 
esac
11467
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11468
 
  (eval "$ac_link") 2>conftest.er1
11469
 
  ac_status=$?
11470
 
  grep -v '^ *+' conftest.er1 >conftest.err
11471
 
  rm -f conftest.er1
11472
 
  cat conftest.err >&5
11473
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11474
 
  (exit $ac_status); } && {
11475
 
         test -z "$ac_cxx_werror_flag" ||
11476
 
         test ! -s conftest.err
11477
 
       } && test -s conftest$ac_exeext &&
11478
 
       $as_test_x conftest$ac_exeext; then
11479
 
 
11480
 
lt_aix_libpath_sed='
11481
 
    /Import File Strings/,/^$/ {
11482
 
        /^0/ {
11483
 
            s/^0  *\(.*\)$/\1/
11484
 
            p
11485
 
        }
11486
 
    }'
11487
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11488
 
# Check for a 64-bit object if we didn't find anything.
11489
 
if test -z "$aix_libpath"; then
11490
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11491
 
fi
11492
 
else
11493
 
  echo "$as_me: failed program was:" >&5
11494
 
sed 's/^/| /' conftest.$ac_ext >&5
11495
 
 
11496
 
 
11497
 
fi
11498
 
 
11499
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11500
 
      conftest$ac_exeext conftest.$ac_ext
11501
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11502
 
 
11503
 
        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11504
 
        # Warning - without using the other run time loading flags,
11505
 
        # -berok will link without error, but may produce a broken library.
11506
 
        no_undefined_flag_CXX=' ${wl}-bernotok'
11507
 
        allow_undefined_flag_CXX=' ${wl}-berok'
11508
 
        # Exported symbols can be pulled into shared objects from archives
11509
 
        whole_archive_flag_spec_CXX='$convenience'
11510
 
        archive_cmds_need_lc_CXX=yes
11511
 
        # This is similar to how AIX traditionally builds its shared libraries.
11512
 
        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'
11513
 
      fi
11514
 
    fi
11515
 
    ;;
11516
 
 
11517
 
  beos*)
11518
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11519
 
      allow_undefined_flag_CXX=unsupported
11520
 
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11521
 
      # support --undefined.  This deserves some investigation.  FIXME
11522
 
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11523
 
    else
11524
 
      ld_shlibs_CXX=no
11525
 
    fi
11526
 
    ;;
11527
 
 
11528
 
  chorus*)
11529
 
    case $cc_basename in
11530
 
      *)
11531
 
        # FIXME: insert proper C++ library support
11532
 
        ld_shlibs_CXX=no
11533
 
        ;;
11534
 
    esac
11535
 
    ;;
11536
 
 
11537
 
  cygwin* | mingw* | pw32*)
11538
 
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11539
 
    # as there is no search path for DLLs.
11540
 
    hardcode_libdir_flag_spec_CXX='-L$libdir'
11541
 
    allow_undefined_flag_CXX=unsupported
11542
 
    always_export_symbols_CXX=no
11543
 
    enable_shared_with_static_runtimes_CXX=yes
11544
 
 
11545
 
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11546
 
      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'
11547
 
      # If the export-symbols file already is a .def file (1st line
11548
 
      # is EXPORTS), use it as is; otherwise, prepend...
11549
 
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11550
 
        cp $export_symbols $output_objdir/$soname.def;
11551
 
      else
11552
 
        echo EXPORTS > $output_objdir/$soname.def;
11553
 
        cat $export_symbols >> $output_objdir/$soname.def;
11554
 
      fi~
11555
 
      $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'
11556
 
    else
11557
 
      ld_shlibs_CXX=no
11558
 
    fi
11559
 
  ;;
11560
 
      darwin* | rhapsody*)
11561
 
      archive_cmds_need_lc_CXX=no
11562
 
      hardcode_direct_CXX=no
11563
 
      hardcode_automatic_CXX=yes
11564
 
      hardcode_shlibpath_var_CXX=unsupported
11565
 
      whole_archive_flag_spec_CXX=''
11566
 
      link_all_deplibs_CXX=yes
11567
 
      allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
11568
 
      if test "$GXX" = yes ; then
11569
 
      output_verbose_link_cmd='echo'
11570
 
      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}"
11571
 
      module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11572
 
      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}"
11573
 
      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}"
11574
 
      if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11575
 
        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}"
11576
 
        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}"
11577
 
      fi
11578
 
      else
11579
 
      case $cc_basename in
11580
 
        xlc*)
11581
 
         output_verbose_link_cmd='echo'
11582
 
          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'
11583
 
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11584
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11585
 
          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}'
11586
 
          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}'
11587
 
          ;;
11588
 
       *)
11589
 
         ld_shlibs_CXX=no
11590
 
          ;;
11591
 
      esac
11592
 
      fi
11593
 
        ;;
11594
 
 
11595
 
  dgux*)
11596
 
    case $cc_basename in
11597
 
      ec++*)
11598
 
        # FIXME: insert proper C++ library support
11599
 
        ld_shlibs_CXX=no
11600
 
        ;;
11601
 
      ghcx*)
11602
 
        # Green Hills C++ Compiler
11603
 
        # FIXME: insert proper C++ library support
11604
 
        ld_shlibs_CXX=no
11605
 
        ;;
11606
 
      *)
11607
 
        # FIXME: insert proper C++ library support
11608
 
        ld_shlibs_CXX=no
11609
 
        ;;
11610
 
    esac
11611
 
    ;;
11612
 
  freebsd[12]*)
11613
 
    # C++ shared libraries reported to be fairly broken before switch to ELF
11614
 
    ld_shlibs_CXX=no
11615
 
    ;;
11616
 
  freebsd-elf*)
11617
 
    archive_cmds_need_lc_CXX=no
11618
 
    ;;
11619
 
  freebsd* | dragonfly*)
11620
 
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11621
 
    # conventions
11622
 
    ld_shlibs_CXX=yes
11623
 
    ;;
11624
 
  gnu*)
11625
 
    ;;
11626
 
  hpux9*)
11627
 
    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11628
 
    hardcode_libdir_separator_CXX=:
11629
 
    export_dynamic_flag_spec_CXX='${wl}-E'
11630
 
    hardcode_direct_CXX=yes
11631
 
    hardcode_minus_L_CXX=yes # Not in the search PATH,
11632
 
                                # but as the default
11633
 
                                # location of the library.
11634
 
 
11635
 
    case $cc_basename in
11636
 
    CC*)
11637
 
      # FIXME: insert proper C++ library support
11638
 
      ld_shlibs_CXX=no
11639
 
      ;;
11640
 
    aCC*)
11641
 
      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'
11642
 
      # Commands to make compiler produce verbose output that lists
11643
 
      # what "hidden" libraries, object files and flags are used when
11644
 
      # linking a shared library.
11645
 
      #
11646
 
      # There doesn't appear to be a way to prevent this compiler from
11647
 
      # explicitly linking system object files so we need to strip them
11648
 
      # from the output so that they don't get included in the library
11649
 
      # dependencies.
11650
 
      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'
11651
 
      ;;
11652
 
    *)
11653
 
      if test "$GXX" = yes; then
11654
 
        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'
11655
 
      else
11656
 
        # FIXME: insert proper C++ library support
11657
 
        ld_shlibs_CXX=no
11658
 
      fi
11659
 
      ;;
11660
 
    esac
11661
 
    ;;
11662
 
  hpux10*|hpux11*)
11663
 
    if test $with_gnu_ld = no; then
11664
 
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11665
 
      hardcode_libdir_separator_CXX=:
11666
 
 
11667
 
      case $host_cpu in
11668
 
      hppa*64*|ia64*) ;;
11669
 
      *)
11670
 
        export_dynamic_flag_spec_CXX='${wl}-E'
11671
 
        ;;
11672
 
      esac
11673
 
    fi
11674
 
    case $host_cpu in
11675
 
    hppa*64*|ia64*)
11676
 
      hardcode_direct_CXX=no
11677
 
      hardcode_shlibpath_var_CXX=no
11678
 
      ;;
11679
 
    *)
11680
 
      hardcode_direct_CXX=yes
11681
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
11682
 
                                              # but as the default
11683
 
                                              # location of the library.
11684
 
      ;;
11685
 
    esac
11686
 
 
11687
 
    case $cc_basename in
11688
 
      CC*)
11689
 
        # FIXME: insert proper C++ library support
11690
 
        ld_shlibs_CXX=no
11691
 
        ;;
11692
 
      aCC*)
11693
 
        case $host_cpu in
11694
 
        hppa*64*)
11695
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11696
 
          ;;
11697
 
        ia64*)
11698
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11699
 
          ;;
11700
 
        *)
11701
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11702
 
          ;;
11703
 
        esac
11704
 
        # Commands to make compiler produce verbose output that lists
11705
 
        # what "hidden" libraries, object files and flags are used when
11706
 
        # linking a shared library.
11707
 
        #
11708
 
        # There doesn't appear to be a way to prevent this compiler from
11709
 
        # explicitly linking system object files so we need to strip them
11710
 
        # from the output so that they don't get included in the library
11711
 
        # dependencies.
11712
 
        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'
11713
 
        ;;
11714
 
      *)
11715
 
        if test "$GXX" = yes; then
11716
 
          if test $with_gnu_ld = no; then
11717
 
            case $host_cpu in
11718
 
            hppa*64*)
11719
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11720
 
              ;;
11721
 
            ia64*)
11722
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11723
 
              ;;
11724
 
            *)
11725
 
              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'
11726
 
              ;;
11727
 
            esac
11728
 
          fi
11729
 
        else
11730
 
          # FIXME: insert proper C++ library support
11731
 
          ld_shlibs_CXX=no
11732
 
        fi
11733
 
        ;;
11734
 
    esac
11735
 
    ;;
11736
 
  interix[3-9]*)
11737
 
    hardcode_direct_CXX=no
11738
 
    hardcode_shlibpath_var_CXX=no
11739
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11740
 
    export_dynamic_flag_spec_CXX='${wl}-E'
11741
 
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11742
 
    # Instead, shared libraries are loaded at an image base (0x10000000 by
11743
 
    # default) and relocated if they conflict, which is a slow very memory
11744
 
    # consuming and fragmenting process.  To avoid this, we pick a random,
11745
 
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11746
 
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
11747
 
    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'
11748
 
    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'
11749
 
    ;;
11750
 
  irix5* | irix6*)
11751
 
    case $cc_basename in
11752
 
      CC*)
11753
 
        # SGI C++
11754
 
        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'
11755
 
 
11756
 
        # Archives containing C++ object files must be created using
11757
 
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
11758
 
        # necessary to make sure instantiated templates are included
11759
 
        # in the archive.
11760
 
        old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11761
 
        ;;
11762
 
      *)
11763
 
        if test "$GXX" = yes; then
11764
 
          if test "$with_gnu_ld" = no; then
11765
 
            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'
11766
 
          else
11767
 
            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'
11768
 
          fi
11769
 
        fi
11770
 
        link_all_deplibs_CXX=yes
11771
 
        ;;
11772
 
    esac
11773
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11774
 
    hardcode_libdir_separator_CXX=:
11775
 
    ;;
11776
 
  linux* | k*bsd*-gnu)
11777
 
    case $cc_basename in
11778
 
      KCC*)
11779
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11780
 
 
11781
 
        # KCC will only create a shared library if the output file
11782
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
11783
 
        # to its proper name (with version) after linking.
11784
 
        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'
11785
 
        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'
11786
 
        # Commands to make compiler produce verbose output that lists
11787
 
        # what "hidden" libraries, object files and flags are used when
11788
 
        # linking a shared library.
11789
 
        #
11790
 
        # There doesn't appear to be a way to prevent this compiler from
11791
 
        # explicitly linking system object files so we need to strip them
11792
 
        # from the output so that they don't get included in the library
11793
 
        # dependencies.
11794
 
        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'
11795
 
 
11796
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
11797
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11798
 
 
11799
 
        # Archives containing C++ object files must be created using
11800
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11801
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11802
 
        ;;
11803
 
      icpc*)
11804
 
        # Intel C++
11805
 
        with_gnu_ld=yes
11806
 
        # version 8.0 and above of icpc choke on multiply defined symbols
11807
 
        # if we add $predep_objects and $postdep_objects, however 7.1 and
11808
 
        # earlier do not add the objects themselves.
11809
 
        case `$CC -V 2>&1` in
11810
 
        *"Version 7."*)
11811
 
          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11812
 
          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'
11813
 
          ;;
11814
 
        *)  # Version 8.0 or newer
11815
 
          tmp_idyn=
11816
 
          case $host_cpu in
11817
 
            ia64*) tmp_idyn=' -i_dynamic';;
11818
 
          esac
11819
 
          archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11820
 
          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'
11821
 
          ;;
11822
 
        esac
11823
 
        archive_cmds_need_lc_CXX=no
11824
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11825
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11826
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11827
 
        ;;
11828
 
      pgCC* | pgcpp*)
11829
 
        # Portland Group C++ compiler
11830
 
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11831
 
        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'
11832
 
 
11833
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11834
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11835
 
        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'
11836
 
        ;;
11837
 
      cxx*)
11838
 
        # Compaq C++
11839
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11840
 
        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'
11841
 
 
11842
 
        runpath_var=LD_RUN_PATH
11843
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11844
 
        hardcode_libdir_separator_CXX=:
11845
 
 
11846
 
        # Commands to make compiler produce verbose output that lists
11847
 
        # what "hidden" libraries, object files and flags are used when
11848
 
        # linking a shared library.
11849
 
        #
11850
 
        # There doesn't appear to be a way to prevent this compiler from
11851
 
        # explicitly linking system object files so we need to strip them
11852
 
        # from the output so that they don't get included in the library
11853
 
        # dependencies.
11854
 
        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'
11855
 
        ;;
11856
 
      *)
11857
 
        case `$CC -V 2>&1 | sed 5q` in
11858
 
        *Sun\ C*)
11859
 
          # Sun C++ 5.9
11860
 
          no_undefined_flag_CXX=' -zdefs'
11861
 
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11862
 
          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'
11863
 
          hardcode_libdir_flag_spec_CXX='-R$libdir'
11864
 
          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'
11865
 
 
11866
 
          # Not sure whether something based on
11867
 
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11868
 
          # would be better.
11869
 
          output_verbose_link_cmd='echo'
11870
 
 
11871
 
          # Archives containing C++ object files must be created using
11872
 
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
11873
 
          # necessary to make sure instantiated templates are included
11874
 
          # in the archive.
11875
 
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11876
 
          ;;
11877
 
        esac
11878
 
        ;;
11879
 
    esac
11880
 
    ;;
11881
 
  lynxos*)
11882
 
    # FIXME: insert proper C++ library support
11883
 
    ld_shlibs_CXX=no
11884
 
    ;;
11885
 
  m88k*)
11886
 
    # FIXME: insert proper C++ library support
11887
 
    ld_shlibs_CXX=no
11888
 
    ;;
11889
 
  mvs*)
11890
 
    case $cc_basename in
11891
 
      cxx*)
11892
 
        # FIXME: insert proper C++ library support
11893
 
        ld_shlibs_CXX=no
11894
 
        ;;
11895
 
      *)
11896
 
        # FIXME: insert proper C++ library support
11897
 
        ld_shlibs_CXX=no
11898
 
        ;;
11899
 
    esac
11900
 
    ;;
11901
 
  netbsd* | netbsdelf*-gnu)
11902
 
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11903
 
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11904
 
      wlarc=
11905
 
      hardcode_libdir_flag_spec_CXX='-R$libdir'
11906
 
      hardcode_direct_CXX=yes
11907
 
      hardcode_shlibpath_var_CXX=no
11908
 
    fi
11909
 
    # Workaround some broken pre-1.5 toolchains
11910
 
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11911
 
    ;;
11912
 
  openbsd2*)
11913
 
    # C++ shared libraries are fairly broken
11914
 
    ld_shlibs_CXX=no
11915
 
    ;;
11916
 
  openbsd*)
11917
 
    if test -f /usr/libexec/ld.so; then
11918
 
      hardcode_direct_CXX=yes
11919
 
      hardcode_shlibpath_var_CXX=no
11920
 
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11921
 
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11922
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11923
 
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11924
 
        export_dynamic_flag_spec_CXX='${wl}-E'
11925
 
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11926
 
      fi
11927
 
      output_verbose_link_cmd='echo'
11928
 
    else
11929
 
      ld_shlibs_CXX=no
11930
 
    fi
11931
 
    ;;
11932
 
  osf3*)
11933
 
    case $cc_basename in
11934
 
      KCC*)
11935
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11936
 
 
11937
 
        # KCC will only create a shared library if the output file
11938
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
11939
 
        # to its proper name (with version) after linking.
11940
 
        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'
11941
 
 
11942
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11943
 
        hardcode_libdir_separator_CXX=:
11944
 
 
11945
 
        # Archives containing C++ object files must be created using
11946
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11947
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11948
 
 
11949
 
        ;;
11950
 
      RCC*)
11951
 
        # Rational C++ 2.4.1
11952
 
        # FIXME: insert proper C++ library support
11953
 
        ld_shlibs_CXX=no
11954
 
        ;;
11955
 
      cxx*)
11956
 
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11957
 
        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'
11958
 
 
11959
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11960
 
        hardcode_libdir_separator_CXX=:
11961
 
 
11962
 
        # Commands to make compiler produce verbose output that lists
11963
 
        # what "hidden" libraries, object files and flags are used when
11964
 
        # linking a shared library.
11965
 
        #
11966
 
        # There doesn't appear to be a way to prevent this compiler from
11967
 
        # explicitly linking system object files so we need to strip them
11968
 
        # from the output so that they don't get included in the library
11969
 
        # dependencies.
11970
 
        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'
11971
 
        ;;
11972
 
      *)
11973
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11974
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11975
 
          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'
11976
 
 
11977
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11978
 
          hardcode_libdir_separator_CXX=:
11979
 
 
11980
 
          # Commands to make compiler produce verbose output that lists
11981
 
          # what "hidden" libraries, object files and flags are used when
11982
 
          # linking a shared library.
11983
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11984
 
 
11985
 
        else
11986
 
          # FIXME: insert proper C++ library support
11987
 
          ld_shlibs_CXX=no
11988
 
        fi
11989
 
        ;;
11990
 
    esac
11991
 
    ;;
11992
 
  osf4* | osf5*)
11993
 
    case $cc_basename in
11994
 
      KCC*)
11995
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11996
 
 
11997
 
        # KCC will only create a shared library if the output file
11998
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
11999
 
        # to its proper name (with version) after linking.
12000
 
        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'
12001
 
 
12002
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12003
 
        hardcode_libdir_separator_CXX=:
12004
 
 
12005
 
        # Archives containing C++ object files must be created using
12006
 
        # the KAI C++ compiler.
12007
 
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
12008
 
        ;;
12009
 
      RCC*)
12010
 
        # Rational C++ 2.4.1
12011
 
        # FIXME: insert proper C++ library support
12012
 
        ld_shlibs_CXX=no
12013
 
        ;;
12014
 
      cxx*)
12015
 
        allow_undefined_flag_CXX=' -expect_unresolved \*'
12016
 
        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'
12017
 
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12018
 
          echo "-hidden">> $lib.exp~
12019
 
          $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~
12020
 
          $rm $lib.exp'
12021
 
 
12022
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12023
 
        hardcode_libdir_separator_CXX=:
12024
 
 
12025
 
        # Commands to make compiler produce verbose output that lists
12026
 
        # what "hidden" libraries, object files and flags are used when
12027
 
        # linking a shared library.
12028
 
        #
12029
 
        # There doesn't appear to be a way to prevent this compiler from
12030
 
        # explicitly linking system object files so we need to strip them
12031
 
        # from the output so that they don't get included in the library
12032
 
        # dependencies.
12033
 
        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'
12034
 
        ;;
12035
 
      *)
12036
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12037
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12038
 
         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'
12039
 
 
12040
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12041
 
          hardcode_libdir_separator_CXX=:
12042
 
 
12043
 
          # Commands to make compiler produce verbose output that lists
12044
 
          # what "hidden" libraries, object files and flags are used when
12045
 
          # linking a shared library.
12046
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12047
 
 
12048
 
        else
12049
 
          # FIXME: insert proper C++ library support
12050
 
          ld_shlibs_CXX=no
12051
 
        fi
12052
 
        ;;
12053
 
    esac
12054
 
    ;;
12055
 
  psos*)
12056
 
    # FIXME: insert proper C++ library support
12057
 
    ld_shlibs_CXX=no
12058
 
    ;;
12059
 
  sunos4*)
12060
 
    case $cc_basename in
12061
 
      CC*)
12062
 
        # Sun C++ 4.x
12063
 
        # FIXME: insert proper C++ library support
12064
 
        ld_shlibs_CXX=no
12065
 
        ;;
12066
 
      lcc*)
12067
 
        # Lucid
12068
 
        # FIXME: insert proper C++ library support
12069
 
        ld_shlibs_CXX=no
12070
 
        ;;
12071
 
      *)
12072
 
        # FIXME: insert proper C++ library support
12073
 
        ld_shlibs_CXX=no
12074
 
        ;;
12075
 
    esac
12076
 
    ;;
12077
 
  solaris*)
12078
 
    case $cc_basename in
12079
 
      CC*)
12080
 
        # Sun C++ 4.2, 5.x and Centerline C++
12081
 
        archive_cmds_need_lc_CXX=yes
12082
 
        no_undefined_flag_CXX=' -zdefs'
12083
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12084
 
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12085
 
        $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'
12086
 
 
12087
 
        hardcode_libdir_flag_spec_CXX='-R$libdir'
12088
 
        hardcode_shlibpath_var_CXX=no
12089
 
        case $host_os in
12090
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
12091
 
          *)
12092
 
            # The compiler driver will combine and reorder linker options,
12093
 
            # but understands `-z linker_flag'.
12094
 
            # Supported since Solaris 2.6 (maybe 2.5.1?)
12095
 
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12096
 
            ;;
12097
 
        esac
12098
 
        link_all_deplibs_CXX=yes
12099
 
 
12100
 
        output_verbose_link_cmd='echo'
12101
 
 
12102
 
        # Archives containing C++ object files must be created using
12103
 
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12104
 
        # necessary to make sure instantiated templates are included
12105
 
        # in the archive.
12106
 
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12107
 
        ;;
12108
 
      gcx*)
12109
 
        # Green Hills C++ Compiler
12110
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12111
 
 
12112
 
        # The C++ compiler must be used to create the archive.
12113
 
        old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12114
 
        ;;
12115
 
      *)
12116
 
        # GNU C++ compiler with Solaris linker
12117
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12118
 
          no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12119
 
          if $CC --version | grep -v '^2\.7' > /dev/null; then
12120
 
            archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12121
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12122
 
                $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12123
 
 
12124
 
            # Commands to make compiler produce verbose output that lists
12125
 
            # what "hidden" libraries, object files and flags are used when
12126
 
            # linking a shared library.
12127
 
            output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12128
 
          else
12129
 
            # g++ 2.7 appears to require `-G' NOT `-shared' on this
12130
 
            # platform.
12131
 
            archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12132
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12133
 
                $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12134
 
 
12135
 
            # Commands to make compiler produce verbose output that lists
12136
 
            # what "hidden" libraries, object files and flags are used when
12137
 
            # linking a shared library.
12138
 
            output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12139
 
          fi
12140
 
 
12141
 
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12142
 
          case $host_os in
12143
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
12144
 
          *)
12145
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12146
 
            ;;
12147
 
          esac
12148
 
        fi
12149
 
        ;;
12150
 
    esac
12151
 
    ;;
12152
 
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12153
 
    no_undefined_flag_CXX='${wl}-z,text'
12154
 
    archive_cmds_need_lc_CXX=no
12155
 
    hardcode_shlibpath_var_CXX=no
12156
 
    runpath_var='LD_RUN_PATH'
12157
 
 
12158
 
    case $cc_basename in
12159
 
      CC*)
12160
 
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12161
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12162
 
        ;;
12163
 
      *)
12164
 
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12165
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12166
 
        ;;
12167
 
    esac
12168
 
    ;;
12169
 
  sysv5* | sco3.2v5* | sco5v6*)
12170
 
    # Note: We can NOT use -z defs as we might desire, because we do not
12171
 
    # link with -lc, and that would cause any symbols used from libc to
12172
 
    # always be unresolved, which means just about no library would
12173
 
    # ever link correctly.  If we're not using GNU ld we use -z text
12174
 
    # though, which does catch some bad symbols but isn't as heavy-handed
12175
 
    # as -z defs.
12176
 
    # For security reasons, it is highly recommended that you always
12177
 
    # use absolute paths for naming shared libraries, and exclude the
12178
 
    # DT_RUNPATH tag from executables and libraries.  But doing so
12179
 
    # requires that you compile everything twice, which is a pain.
12180
 
    # So that behaviour is only enabled if SCOABSPATH is set to a
12181
 
    # non-empty value in the environment.  Most likely only useful for
12182
 
    # creating official distributions of packages.
12183
 
    # This is a hack until libtool officially supports absolute path
12184
 
    # names for shared libraries.
12185
 
    no_undefined_flag_CXX='${wl}-z,text'
12186
 
    allow_undefined_flag_CXX='${wl}-z,nodefs'
12187
 
    archive_cmds_need_lc_CXX=no
12188
 
    hardcode_shlibpath_var_CXX=no
12189
 
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12190
 
    hardcode_libdir_separator_CXX=':'
12191
 
    link_all_deplibs_CXX=yes
12192
 
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
12193
 
    runpath_var='LD_RUN_PATH'
12194
 
 
12195
 
    case $cc_basename in
12196
 
      CC*)
12197
 
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12198
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12199
 
        ;;
12200
 
      *)
12201
 
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12202
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12203
 
        ;;
12204
 
    esac
12205
 
    ;;
12206
 
  tandem*)
12207
 
    case $cc_basename in
12208
 
      NCC*)
12209
 
        # NonStop-UX NCC 3.20
12210
 
        # FIXME: insert proper C++ library support
12211
 
        ld_shlibs_CXX=no
12212
 
        ;;
12213
 
      *)
12214
 
        # FIXME: insert proper C++ library support
12215
 
        ld_shlibs_CXX=no
12216
 
        ;;
12217
 
    esac
12218
 
    ;;
12219
 
  vxworks*)
12220
 
    # FIXME: insert proper C++ library support
12221
 
    ld_shlibs_CXX=no
12222
 
    ;;
12223
 
  *)
12224
 
    # FIXME: insert proper C++ library support
12225
 
    ld_shlibs_CXX=no
12226
 
    ;;
12227
 
esac
12228
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12229
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12230
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
12231
 
 
12232
 
GCC_CXX="$GXX"
12233
 
LD_CXX="$LD"
12234
 
 
12235
 
cat > conftest.$ac_ext <<EOF
12236
 
class Foo
12237
 
{
12238
 
public:
12239
 
  Foo (void) { a = 0; }
12240
 
private:
12241
 
  int a;
12242
 
};
12243
 
EOF
12244
 
 
12245
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12246
 
  (eval $ac_compile) 2>&5
12247
 
  ac_status=$?
12248
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12249
 
  (exit $ac_status); }; then
12250
 
  # Parse the compiler output and extract the necessary
12251
 
  # objects, libraries and library flags.
12252
 
 
12253
 
  # Sentinel used to keep track of whether or not we are before
12254
 
  # the conftest object file.
12255
 
  pre_test_object_deps_done=no
12256
 
 
12257
 
  # The `*' in the case matches for architectures that use `case' in
12258
 
  # $output_verbose_cmd can trigger glob expansion during the loop
12259
 
  # eval without this substitution.
12260
 
  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12261
 
 
12262
 
  for p in `eval $output_verbose_link_cmd`; do
12263
 
    case $p in
12264
 
 
12265
 
    -L* | -R* | -l*)
12266
 
       # Some compilers place space between "-{L,R}" and the path.
12267
 
       # Remove the space.
12268
 
       if test $p = "-L" \
12269
 
          || test $p = "-R"; then
12270
 
         prev=$p
12271
 
         continue
12272
 
       else
12273
 
         prev=
12274
 
       fi
12275
 
 
12276
 
       if test "$pre_test_object_deps_done" = no; then
12277
 
         case $p in
12278
 
         -L* | -R*)
12279
 
           # Internal compiler library paths should come after those
12280
 
           # provided the user.  The postdeps already come after the
12281
 
           # user supplied libs so there is no need to process them.
12282
 
           if test -z "$compiler_lib_search_path_CXX"; then
12283
 
             compiler_lib_search_path_CXX="${prev}${p}"
12284
 
           else
12285
 
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12286
 
           fi
12287
 
           ;;
12288
 
         # The "-l" case would never come before the object being
12289
 
         # linked, so don't bother handling this case.
12290
 
         esac
12291
 
       else
12292
 
         if test -z "$postdeps_CXX"; then
12293
 
           postdeps_CXX="${prev}${p}"
12294
 
         else
12295
 
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12296
 
         fi
12297
 
       fi
12298
 
       ;;
12299
 
 
12300
 
    *.$objext)
12301
 
       # This assumes that the test object file only shows up
12302
 
       # once in the compiler output.
12303
 
       if test "$p" = "conftest.$objext"; then
12304
 
         pre_test_object_deps_done=yes
12305
 
         continue
12306
 
       fi
12307
 
 
12308
 
       if test "$pre_test_object_deps_done" = no; then
12309
 
         if test -z "$predep_objects_CXX"; then
12310
 
           predep_objects_CXX="$p"
12311
 
         else
12312
 
           predep_objects_CXX="$predep_objects_CXX $p"
12313
 
         fi
12314
 
       else
12315
 
         if test -z "$postdep_objects_CXX"; then
12316
 
           postdep_objects_CXX="$p"
12317
 
         else
12318
 
           postdep_objects_CXX="$postdep_objects_CXX $p"
12319
 
         fi
12320
 
       fi
12321
 
       ;;
12322
 
 
12323
 
    *) ;; # Ignore the rest.
12324
 
 
12325
 
    esac
12326
 
  done
12327
 
 
12328
 
  # Clean up.
12329
 
  rm -f a.out a.exe
12330
 
else
12331
 
  echo "libtool.m4: error: problem compiling CXX test program"
12332
 
fi
12333
 
 
12334
 
$rm -f confest.$objext
12335
 
 
12336
 
compiler_lib_search_dirs_CXX=
12337
 
if test -n "$compiler_lib_search_path_CXX"; then
12338
 
  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12339
 
fi
12340
 
 
12341
 
# PORTME: override above test on systems where it is broken
12342
 
case $host_os in
12343
 
interix[3-9]*)
12344
 
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
12345
 
  # hack all around it, let's just trust "g++" to DTRT.
12346
 
  predep_objects_CXX=
12347
 
  postdep_objects_CXX=
12348
 
  postdeps_CXX=
12349
 
  ;;
12350
 
 
12351
 
linux*)
12352
 
  case `$CC -V 2>&1 | sed 5q` in
12353
 
  *Sun\ C*)
12354
 
    # Sun C++ 5.9
12355
 
    #
12356
 
    # The more standards-conforming stlport4 library is
12357
 
    # incompatible with the Cstd library. Avoid specifying
12358
 
    # it if it's in CXXFLAGS. Ignore libCrun as
12359
 
    # -library=stlport4 depends on it.
12360
 
    case " $CXX $CXXFLAGS " in
12361
 
    *" -library=stlport4 "*)
12362
 
      solaris_use_stlport4=yes
12363
 
      ;;
12364
 
    esac
12365
 
    if test "$solaris_use_stlport4" != yes; then
12366
 
      postdeps_CXX='-library=Cstd -library=Crun'
12367
 
    fi
12368
 
    ;;
12369
 
  esac
12370
 
  ;;
12371
 
 
12372
 
solaris*)
12373
 
  case $cc_basename in
12374
 
  CC*)
12375
 
    # The more standards-conforming stlport4 library is
12376
 
    # incompatible with the Cstd library. Avoid specifying
12377
 
    # it if it's in CXXFLAGS. Ignore libCrun as
12378
 
    # -library=stlport4 depends on it.
12379
 
    case " $CXX $CXXFLAGS " in
12380
 
    *" -library=stlport4 "*)
12381
 
      solaris_use_stlport4=yes
12382
 
      ;;
12383
 
    esac
12384
 
 
12385
 
    # Adding this requires a known-good setup of shared libraries for
12386
 
    # Sun compiler versions before 5.6, else PIC objects from an old
12387
 
    # archive will be linked into the output, leading to subtle bugs.
12388
 
    if test "$solaris_use_stlport4" != yes; then
12389
 
      postdeps_CXX='-library=Cstd -library=Crun'
12390
 
    fi
12391
 
    ;;
12392
 
  esac
12393
 
  ;;
12394
 
esac
12395
 
 
12396
 
case " $postdeps_CXX " in
12397
 
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
12398
 
esac
12399
 
 
12400
 
lt_prog_compiler_wl_CXX=
12401
 
lt_prog_compiler_pic_CXX=
12402
 
lt_prog_compiler_static_CXX=
12403
 
 
12404
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12405
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12406
 
 
12407
 
  # C++ specific cases for pic, static, wl, etc.
12408
 
  if test "$GXX" = yes; then
12409
 
    lt_prog_compiler_wl_CXX='-Wl,'
12410
 
    lt_prog_compiler_static_CXX='-static'
12411
 
 
12412
 
    case $host_os in
12413
 
    aix*)
12414
 
      # All AIX code is PIC.
12415
 
      if test "$host_cpu" = ia64; then
12416
 
        # AIX 5 now supports IA64 processor
12417
 
        lt_prog_compiler_static_CXX='-Bstatic'
12418
 
      fi
12419
 
      ;;
12420
 
    amigaos*)
12421
 
      # FIXME: we need at least 68020 code to build shared libraries, but
12422
 
      # adding the `-m68020' flag to GCC prevents building anything better,
12423
 
      # like `-m68040'.
12424
 
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12425
 
      ;;
12426
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12427
 
      # PIC is the default for these OSes.
12428
 
      ;;
12429
 
    mingw* | cygwin* | os2* | pw32*)
12430
 
      # This hack is so that the source file can tell whether it is being
12431
 
      # built for inclusion in a dll (and should export symbols for example).
12432
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
12433
 
      # (--disable-auto-import) libraries
12434
 
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12435
 
      ;;
12436
 
    darwin* | rhapsody*)
12437
 
      # PIC is the default on this platform
12438
 
      # Common symbols not allowed in MH_DYLIB files
12439
 
      lt_prog_compiler_pic_CXX='-fno-common'
12440
 
      ;;
12441
 
    *djgpp*)
12442
 
      # DJGPP does not support shared libraries at all
12443
 
      lt_prog_compiler_pic_CXX=
12444
 
      ;;
12445
 
    interix[3-9]*)
12446
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12447
 
      # Instead, we relocate shared libraries at runtime.
12448
 
      ;;
12449
 
    sysv4*MP*)
12450
 
      if test -d /usr/nec; then
12451
 
        lt_prog_compiler_pic_CXX=-Kconform_pic
12452
 
      fi
12453
 
      ;;
12454
 
    hpux*)
12455
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12456
 
      # not for PA HP-UX.
12457
 
      case $host_cpu in
12458
 
      hppa*64*|ia64*)
12459
 
        ;;
12460
 
      *)
12461
 
        lt_prog_compiler_pic_CXX='-fPIC'
12462
 
        ;;
12463
 
      esac
12464
 
      ;;
12465
 
    *)
12466
 
      lt_prog_compiler_pic_CXX='-fPIC'
12467
 
      ;;
12468
 
    esac
12469
 
  else
12470
 
    case $host_os in
12471
 
      aix[4-9]*)
12472
 
        # All AIX code is PIC.
12473
 
        if test "$host_cpu" = ia64; then
12474
 
          # AIX 5 now supports IA64 processor
12475
 
          lt_prog_compiler_static_CXX='-Bstatic'
12476
 
        else
12477
 
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12478
 
        fi
12479
 
        ;;
12480
 
      chorus*)
12481
 
        case $cc_basename in
12482
 
        cxch68*)
12483
 
          # Green Hills C++ Compiler
12484
 
          # _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"
12485
 
          ;;
12486
 
        esac
12487
 
        ;;
12488
 
       darwin*)
12489
 
         # PIC is the default on this platform
12490
 
         # Common symbols not allowed in MH_DYLIB files
12491
 
         case $cc_basename in
12492
 
           xlc*)
12493
 
           lt_prog_compiler_pic_CXX='-qnocommon'
12494
 
           lt_prog_compiler_wl_CXX='-Wl,'
12495
 
           ;;
12496
 
         esac
12497
 
       ;;
12498
 
      dgux*)
12499
 
        case $cc_basename in
12500
 
          ec++*)
12501
 
            lt_prog_compiler_pic_CXX='-KPIC'
12502
 
            ;;
12503
 
          ghcx*)
12504
 
            # Green Hills C++ Compiler
12505
 
            lt_prog_compiler_pic_CXX='-pic'
12506
 
            ;;
12507
 
          *)
12508
 
            ;;
12509
 
        esac
12510
 
        ;;
12511
 
      freebsd* | dragonfly*)
12512
 
        # FreeBSD uses GNU C++
12513
 
        ;;
12514
 
      hpux9* | hpux10* | hpux11*)
12515
 
        case $cc_basename in
12516
 
          CC*)
12517
 
            lt_prog_compiler_wl_CXX='-Wl,'
12518
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12519
 
            if test "$host_cpu" != ia64; then
12520
 
              lt_prog_compiler_pic_CXX='+Z'
12521
 
            fi
12522
 
            ;;
12523
 
          aCC*)
12524
 
            lt_prog_compiler_wl_CXX='-Wl,'
12525
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12526
 
            case $host_cpu in
12527
 
            hppa*64*|ia64*)
12528
 
              # +Z the default
12529
 
              ;;
12530
 
            *)
12531
 
              lt_prog_compiler_pic_CXX='+Z'
12532
 
              ;;
12533
 
            esac
12534
 
            ;;
12535
 
          *)
12536
 
            ;;
12537
 
        esac
12538
 
        ;;
12539
 
      interix*)
12540
 
        # This is c89, which is MS Visual C++ (no shared libs)
12541
 
        # Anyone wants to do a port?
12542
 
        ;;
12543
 
      irix5* | irix6* | nonstopux*)
12544
 
        case $cc_basename in
12545
 
          CC*)
12546
 
            lt_prog_compiler_wl_CXX='-Wl,'
12547
 
            lt_prog_compiler_static_CXX='-non_shared'
12548
 
            # CC pic flag -KPIC is the default.
12549
 
            ;;
12550
 
          *)
12551
 
            ;;
12552
 
        esac
12553
 
        ;;
12554
 
      linux* | k*bsd*-gnu)
12555
 
        case $cc_basename in
12556
 
          KCC*)
12557
 
            # KAI C++ Compiler
12558
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
12559
 
            lt_prog_compiler_pic_CXX='-fPIC'
12560
 
            ;;
12561
 
          icpc* | ecpc*)
12562
 
            # Intel C++
12563
 
            lt_prog_compiler_wl_CXX='-Wl,'
12564
 
            lt_prog_compiler_pic_CXX='-KPIC'
12565
 
            lt_prog_compiler_static_CXX='-static'
12566
 
            ;;
12567
 
          pgCC* | pgcpp*)
12568
 
            # Portland Group C++ compiler.
12569
 
            lt_prog_compiler_wl_CXX='-Wl,'
12570
 
            lt_prog_compiler_pic_CXX='-fpic'
12571
 
            lt_prog_compiler_static_CXX='-Bstatic'
12572
 
            ;;
12573
 
          cxx*)
12574
 
            # Compaq C++
12575
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
12576
 
            # Linux and Compaq Tru64 Unix objects are PIC.
12577
 
            lt_prog_compiler_pic_CXX=
12578
 
            lt_prog_compiler_static_CXX='-non_shared'
12579
 
            ;;
12580
 
          *)
12581
 
            case `$CC -V 2>&1 | sed 5q` in
12582
 
            *Sun\ C*)
12583
 
              # Sun C++ 5.9
12584
 
              lt_prog_compiler_pic_CXX='-KPIC'
12585
 
              lt_prog_compiler_static_CXX='-Bstatic'
12586
 
              lt_prog_compiler_wl_CXX='-Qoption ld '
12587
 
              ;;
12588
 
            esac
12589
 
            ;;
12590
 
        esac
12591
 
        ;;
12592
 
      lynxos*)
12593
 
        ;;
12594
 
      m88k*)
12595
 
        ;;
12596
 
      mvs*)
12597
 
        case $cc_basename in
12598
 
          cxx*)
12599
 
            lt_prog_compiler_pic_CXX='-W c,exportall'
12600
 
            ;;
12601
 
          *)
12602
 
            ;;
12603
 
        esac
12604
 
        ;;
12605
 
      netbsd* | netbsdelf*-gnu)
12606
 
        ;;
12607
 
      osf3* | osf4* | osf5*)
12608
 
        case $cc_basename in
12609
 
          KCC*)
12610
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
12611
 
            ;;
12612
 
          RCC*)
12613
 
            # Rational C++ 2.4.1
12614
 
            lt_prog_compiler_pic_CXX='-pic'
12615
 
            ;;
12616
 
          cxx*)
12617
 
            # Digital/Compaq C++
12618
 
            lt_prog_compiler_wl_CXX='-Wl,'
12619
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
12620
 
            # Linux and Compaq Tru64 Unix objects are PIC.
12621
 
            lt_prog_compiler_pic_CXX=
12622
 
            lt_prog_compiler_static_CXX='-non_shared'
12623
 
            ;;
12624
 
          *)
12625
 
            ;;
12626
 
        esac
12627
 
        ;;
12628
 
      psos*)
12629
 
        ;;
12630
 
      solaris*)
12631
 
        case $cc_basename in
12632
 
          CC*)
12633
 
            # Sun C++ 4.2, 5.x and Centerline C++
12634
 
            lt_prog_compiler_pic_CXX='-KPIC'
12635
 
            lt_prog_compiler_static_CXX='-Bstatic'
12636
 
            lt_prog_compiler_wl_CXX='-Qoption ld '
12637
 
            ;;
12638
 
          gcx*)
12639
 
            # Green Hills C++ Compiler
12640
 
            lt_prog_compiler_pic_CXX='-PIC'
12641
 
            ;;
12642
 
          *)
12643
 
            ;;
12644
 
        esac
12645
 
        ;;
12646
 
      sunos4*)
12647
 
        case $cc_basename in
12648
 
          CC*)
12649
 
            # Sun C++ 4.x
12650
 
            lt_prog_compiler_pic_CXX='-pic'
12651
 
            lt_prog_compiler_static_CXX='-Bstatic'
12652
 
            ;;
12653
 
          lcc*)
12654
 
            # Lucid
12655
 
            lt_prog_compiler_pic_CXX='-pic'
12656
 
            ;;
12657
 
          *)
12658
 
            ;;
12659
 
        esac
12660
 
        ;;
12661
 
      tandem*)
12662
 
        case $cc_basename in
12663
 
          NCC*)
12664
 
            # NonStop-UX NCC 3.20
12665
 
            lt_prog_compiler_pic_CXX='-KPIC'
12666
 
            ;;
12667
 
          *)
12668
 
            ;;
12669
 
        esac
12670
 
        ;;
12671
 
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12672
 
        case $cc_basename in
12673
 
          CC*)
12674
 
            lt_prog_compiler_wl_CXX='-Wl,'
12675
 
            lt_prog_compiler_pic_CXX='-KPIC'
12676
 
            lt_prog_compiler_static_CXX='-Bstatic'
12677
 
            ;;
12678
 
        esac
12679
 
        ;;
12680
 
      vxworks*)
12681
 
        ;;
12682
 
      *)
12683
 
        lt_prog_compiler_can_build_shared_CXX=no
12684
 
        ;;
12685
 
    esac
12686
 
  fi
12687
 
 
12688
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12689
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12690
 
 
12691
 
#
12692
 
# Check to make sure the PIC flag actually works.
12693
 
#
12694
 
if test -n "$lt_prog_compiler_pic_CXX"; then
12695
 
 
12696
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12697
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12698
 
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
12699
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12700
 
else
12701
 
  lt_cv_prog_compiler_pic_works_CXX=no
12702
 
  ac_outfile=conftest.$ac_objext
12703
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12704
 
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12705
 
   # Insert the option either (1) after the last *FLAGS variable, or
12706
 
   # (2) before a word containing "conftest.", or (3) at the end.
12707
 
   # Note that $ac_compile itself does not contain backslashes and begins
12708
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
12709
 
   # The option is referenced via a variable to avoid confusing sed.
12710
 
   lt_compile=`echo "$ac_compile" | $SED \
12711
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12712
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12713
 
   -e 's:$: $lt_compiler_flag:'`
12714
 
   (eval echo "\"\$as_me:12714: $lt_compile\"" >&5)
12715
 
   (eval "$lt_compile" 2>conftest.err)
12716
 
   ac_status=$?
12717
 
   cat conftest.err >&5
12718
 
   echo "$as_me:12718: \$? = $ac_status" >&5
12719
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
12720
 
     # The compiler can only warn and ignore the option if not recognized
12721
 
     # So say no if there are warnings other than the usual output.
12722
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12723
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12724
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12725
 
       lt_cv_prog_compiler_pic_works_CXX=yes
12726
 
     fi
12727
 
   fi
12728
 
   $rm conftest*
12729
 
 
12730
 
fi
12731
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
12732
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
12733
 
 
12734
 
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
12735
 
    case $lt_prog_compiler_pic_CXX in
12736
 
     "" | " "*) ;;
12737
 
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12738
 
     esac
12739
 
else
12740
 
    lt_prog_compiler_pic_CXX=
12741
 
     lt_prog_compiler_can_build_shared_CXX=no
12742
 
fi
12743
 
 
12744
 
fi
12745
 
case $host_os in
12746
 
  # For platforms which do not support PIC, -DPIC is meaningless:
12747
 
  *djgpp*)
12748
 
    lt_prog_compiler_pic_CXX=
12749
 
    ;;
12750
 
  *)
12751
 
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
12752
 
    ;;
12753
 
esac
12754
 
 
12755
 
#
12756
 
# Check to make sure the static flag actually works.
12757
 
#
12758
 
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12759
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12760
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12761
 
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
12762
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12763
 
else
12764
 
  lt_cv_prog_compiler_static_works_CXX=no
12765
 
   save_LDFLAGS="$LDFLAGS"
12766
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12767
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
12768
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12769
 
     # The linker can only warn and ignore the option if not recognized
12770
 
     # So say no if there are warnings
12771
 
     if test -s conftest.err; then
12772
 
       # Append any errors to the config.log.
12773
 
       cat conftest.err 1>&5
12774
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12775
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12776
 
       if diff conftest.exp conftest.er2 >/dev/null; then
12777
 
         lt_cv_prog_compiler_static_works_CXX=yes
12778
 
       fi
12779
 
     else
12780
 
       lt_cv_prog_compiler_static_works_CXX=yes
12781
 
     fi
12782
 
   fi
12783
 
   $rm -r conftest*
12784
 
   LDFLAGS="$save_LDFLAGS"
12785
 
 
12786
 
fi
12787
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
12788
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
12789
 
 
12790
 
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
12791
 
    :
12792
 
else
12793
 
    lt_prog_compiler_static_CXX=
12794
 
fi
12795
 
 
12796
 
 
12797
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12798
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12799
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12800
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12801
 
else
12802
 
  lt_cv_prog_compiler_c_o_CXX=no
12803
 
   $rm -r conftest 2>/dev/null
12804
 
   mkdir conftest
12805
 
   cd conftest
12806
 
   mkdir out
12807
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12808
 
 
12809
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
12810
 
   # Insert the option either (1) after the last *FLAGS variable, or
12811
 
   # (2) before a word containing "conftest.", or (3) at the end.
12812
 
   # Note that $ac_compile itself does not contain backslashes and begins
12813
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
12814
 
   lt_compile=`echo "$ac_compile" | $SED \
12815
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12816
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12817
 
   -e 's:$: $lt_compiler_flag:'`
12818
 
   (eval echo "\"\$as_me:12818: $lt_compile\"" >&5)
12819
 
   (eval "$lt_compile" 2>out/conftest.err)
12820
 
   ac_status=$?
12821
 
   cat out/conftest.err >&5
12822
 
   echo "$as_me:12822: \$? = $ac_status" >&5
12823
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
12824
 
   then
12825
 
     # The compiler can only warn and ignore the option if not recognized
12826
 
     # So say no if there are warnings
12827
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12828
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12829
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12830
 
       lt_cv_prog_compiler_c_o_CXX=yes
12831
 
     fi
12832
 
   fi
12833
 
   chmod u+w . 2>&5
12834
 
   $rm conftest*
12835
 
   # SGI C++ compiler will create directory out/ii_files/ for
12836
 
   # template instantiation
12837
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
12838
 
   $rm out/* && rmdir out
12839
 
   cd ..
12840
 
   rmdir conftest
12841
 
   $rm conftest*
12842
 
 
12843
 
fi
12844
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12845
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12846
 
 
12847
 
 
12848
 
hard_links="nottested"
12849
 
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12850
 
  # do not overwrite the value of need_locks provided by the user
12851
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12852
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12853
 
  hard_links=yes
12854
 
  $rm conftest*
12855
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
12856
 
  touch conftest.a
12857
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
12858
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
12859
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
12860
 
echo "${ECHO_T}$hard_links" >&6; }
12861
 
  if test "$hard_links" = no; then
12862
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12863
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12864
 
    need_locks=warn
12865
 
  fi
12866
 
else
12867
 
  need_locks=no
12868
 
fi
12869
 
 
12870
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12871
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12872
 
 
12873
 
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12874
 
  case $host_os in
12875
 
  aix[4-9]*)
12876
 
    # If we're using GNU nm, then we don't want the "-C" option.
12877
 
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
12878
 
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
12879
 
      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'
12880
 
    else
12881
 
      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'
12882
 
    fi
12883
 
    ;;
12884
 
  pw32*)
12885
 
    export_symbols_cmds_CXX="$ltdll_cmds"
12886
 
  ;;
12887
 
  cygwin* | mingw*)
12888
 
    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'
12889
 
  ;;
12890
 
  linux* | k*bsd*-gnu)
12891
 
    link_all_deplibs_CXX=no
12892
 
  ;;
12893
 
  *)
12894
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12895
 
  ;;
12896
 
  esac
12897
 
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12898
 
 
12899
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12900
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12901
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
12902
 
 
12903
 
#
12904
 
# Do we need to explicitly link libc?
12905
 
#
12906
 
case "x$archive_cmds_need_lc_CXX" in
12907
 
x|xyes)
12908
 
  # Assume -lc should be added
12909
 
  archive_cmds_need_lc_CXX=yes
12910
 
 
12911
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
12912
 
    case $archive_cmds_CXX in
12913
 
    *'~'*)
12914
 
      # FIXME: we may have to deal with multi-command sequences.
12915
 
      ;;
12916
 
    '$CC '*)
12917
 
      # Test whether the compiler implicitly links with -lc since on some
12918
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
12919
 
      # to ld, don't add -lc before -lgcc.
12920
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12921
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12922
 
      $rm conftest*
12923
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12924
 
 
12925
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12926
 
  (eval $ac_compile) 2>&5
12927
 
  ac_status=$?
12928
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12929
 
  (exit $ac_status); } 2>conftest.err; then
12930
 
        soname=conftest
12931
 
        lib=conftest
12932
 
        libobjs=conftest.$ac_objext
12933
 
        deplibs=
12934
 
        wl=$lt_prog_compiler_wl_CXX
12935
 
        pic_flag=$lt_prog_compiler_pic_CXX
12936
 
        compiler_flags=-v
12937
 
        linker_flags=-v
12938
 
        verstring=
12939
 
        output_objdir=.
12940
 
        libname=conftest
12941
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
12942
 
        allow_undefined_flag_CXX=
12943
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12944
 
  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
12945
 
  ac_status=$?
12946
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12947
 
  (exit $ac_status); }
12948
 
        then
12949
 
          archive_cmds_need_lc_CXX=no
12950
 
        else
12951
 
          archive_cmds_need_lc_CXX=yes
12952
 
        fi
12953
 
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
12954
 
      else
12955
 
        cat conftest.err 1>&5
12956
 
      fi
12957
 
      $rm conftest*
12958
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12959
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12960
 
      ;;
12961
 
    esac
12962
 
  fi
12963
 
  ;;
12964
 
esac
12965
 
 
12966
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12967
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12968
 
library_names_spec=
12969
 
libname_spec='lib$name'
12970
 
soname_spec=
12971
 
shrext_cmds=".so"
12972
 
postinstall_cmds=
12973
 
postuninstall_cmds=
12974
 
finish_cmds=
12975
 
finish_eval=
12976
 
shlibpath_var=
12977
 
shlibpath_overrides_runpath=unknown
12978
 
version_type=none
12979
 
dynamic_linker="$host_os ld.so"
12980
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
12981
 
 
12982
 
need_lib_prefix=unknown
12983
 
hardcode_into_libs=no
12984
 
 
12985
 
# when you set need_version to no, make sure it does not cause -set_version
12986
 
# flags to be left without arguments
12987
 
need_version=unknown
12988
 
 
12989
 
case $host_os in
12990
 
aix3*)
12991
 
  version_type=linux
12992
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12993
 
  shlibpath_var=LIBPATH
12994
 
 
12995
 
  # AIX 3 has no versioning support, so we append a major version to the name.
12996
 
  soname_spec='${libname}${release}${shared_ext}$major'
12997
 
  ;;
12998
 
 
12999
 
aix[4-9]*)
13000
 
  version_type=linux
13001
 
  need_lib_prefix=no
13002
 
  need_version=no
13003
 
  hardcode_into_libs=yes
13004
 
  if test "$host_cpu" = ia64; then
13005
 
    # AIX 5 supports IA64
13006
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13007
 
    shlibpath_var=LD_LIBRARY_PATH
13008
 
  else
13009
 
    # With GCC up to 2.95.x, collect2 would create an import file
13010
 
    # for dependence libraries.  The import file would start with
13011
 
    # the line `#! .'.  This would cause the generated library to
13012
 
    # depend on `.', always an invalid library.  This was fixed in
13013
 
    # development snapshots of GCC prior to 3.0.
13014
 
    case $host_os in
13015
 
      aix4 | aix4.[01] | aix4.[01].*)
13016
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13017
 
           echo ' yes '
13018
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
13019
 
        :
13020
 
      else
13021
 
        can_build_shared=no
13022
 
      fi
13023
 
      ;;
13024
 
    esac
13025
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13026
 
    # soname into executable. Probably we can add versioning support to
13027
 
    # collect2, so additional links can be useful in future.
13028
 
    if test "$aix_use_runtimelinking" = yes; then
13029
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13030
 
      # instead of lib<name>.a to let people know that these are not
13031
 
      # typical AIX shared libraries.
13032
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13033
 
    else
13034
 
      # We preserve .a as extension for shared libraries through AIX4.2
13035
 
      # and later when we are not doing run time linking.
13036
 
      library_names_spec='${libname}${release}.a $libname.a'
13037
 
      soname_spec='${libname}${release}${shared_ext}$major'
13038
 
    fi
13039
 
    shlibpath_var=LIBPATH
13040
 
  fi
13041
 
  ;;
13042
 
 
13043
 
amigaos*)
13044
 
  library_names_spec='$libname.ixlibrary $libname.a'
13045
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
13046
 
  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'
13047
 
  ;;
13048
 
 
13049
 
beos*)
13050
 
  library_names_spec='${libname}${shared_ext}'
13051
 
  dynamic_linker="$host_os ld.so"
13052
 
  shlibpath_var=LIBRARY_PATH
13053
 
  ;;
13054
 
 
13055
 
bsdi[45]*)
13056
 
  version_type=linux
13057
 
  need_version=no
13058
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13059
 
  soname_spec='${libname}${release}${shared_ext}$major'
13060
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13061
 
  shlibpath_var=LD_LIBRARY_PATH
13062
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13063
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13064
 
  # the default ld.so.conf also contains /usr/contrib/lib and
13065
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13066
 
  # libtool to hard-code these into programs
13067
 
  ;;
13068
 
 
13069
 
cygwin* | mingw* | pw32*)
13070
 
  version_type=windows
13071
 
  shrext_cmds=".dll"
13072
 
  need_version=no
13073
 
  need_lib_prefix=no
13074
 
 
13075
 
  case $GCC,$host_os in
13076
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
13077
 
    library_names_spec='$libname.dll.a'
13078
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
13079
 
    postinstall_cmds='base_file=`basename \${file}`~
13080
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13081
 
      dldir=$destdir/`dirname \$dlpath`~
13082
 
      test -d \$dldir || mkdir -p \$dldir~
13083
 
      $install_prog $dir/$dlname \$dldir/$dlname~
13084
 
      chmod a+x \$dldir/$dlname'
13085
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13086
 
      dlpath=$dir/\$dldll~
13087
 
       $rm \$dlpath'
13088
 
    shlibpath_overrides_runpath=yes
13089
 
 
13090
 
    case $host_os in
13091
 
    cygwin*)
13092
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13093
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13094
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13095
 
      ;;
13096
 
    mingw*)
13097
 
      # MinGW DLLs use traditional 'lib' prefix
13098
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13099
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13100
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
13101
 
        # It is most probably a Windows format PATH printed by
13102
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
13103
 
        # path with ; separators, and with drive letters. We can handle the
13104
 
        # drive letters (cygwin fileutils understands them), so leave them,
13105
 
        # especially as we might pass files found there to a mingw objdump,
13106
 
        # which wouldn't understand a cygwinified path. Ahh.
13107
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13108
 
      else
13109
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
13110
 
      fi
13111
 
      ;;
13112
 
    pw32*)
13113
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
13114
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13115
 
      ;;
13116
 
    esac
13117
 
    ;;
13118
 
 
13119
 
  *)
13120
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13121
 
    ;;
13122
 
  esac
13123
 
  dynamic_linker='Win32 ld.exe'
13124
 
  # FIXME: first we should search . and the directory the executable is in
13125
 
  shlibpath_var=PATH
13126
 
  ;;
13127
 
 
13128
 
darwin* | rhapsody*)
13129
 
  dynamic_linker="$host_os dyld"
13130
 
  version_type=darwin
13131
 
  need_lib_prefix=no
13132
 
  need_version=no
13133
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13134
 
  soname_spec='${libname}${release}${major}$shared_ext'
13135
 
  shlibpath_overrides_runpath=yes
13136
 
  shlibpath_var=DYLD_LIBRARY_PATH
13137
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13138
 
 
13139
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13140
 
  ;;
13141
 
 
13142
 
dgux*)
13143
 
  version_type=linux
13144
 
  need_lib_prefix=no
13145
 
  need_version=no
13146
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13147
 
  soname_spec='${libname}${release}${shared_ext}$major'
13148
 
  shlibpath_var=LD_LIBRARY_PATH
13149
 
  ;;
13150
 
 
13151
 
freebsd1*)
13152
 
  dynamic_linker=no
13153
 
  ;;
13154
 
 
13155
 
freebsd* | dragonfly*)
13156
 
  # DragonFly does not have aout.  When/if they implement a new
13157
 
  # versioning mechanism, adjust this.
13158
 
  if test -x /usr/bin/objformat; then
13159
 
    objformat=`/usr/bin/objformat`
13160
 
  else
13161
 
    case $host_os in
13162
 
    freebsd[123]*) objformat=aout ;;
13163
 
    *) objformat=elf ;;
13164
 
    esac
13165
 
  fi
13166
 
  version_type=freebsd-$objformat
13167
 
  case $version_type in
13168
 
    freebsd-elf*)
13169
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13170
 
      need_version=no
13171
 
      need_lib_prefix=no
13172
 
      ;;
13173
 
    freebsd-*)
13174
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13175
 
      need_version=yes
13176
 
      ;;
13177
 
  esac
13178
 
  shlibpath_var=LD_LIBRARY_PATH
13179
 
  case $host_os in
13180
 
  freebsd2*)
13181
 
    shlibpath_overrides_runpath=yes
13182
 
    ;;
13183
 
  freebsd3.[01]* | freebsdelf3.[01]*)
13184
 
    shlibpath_overrides_runpath=yes
13185
 
    hardcode_into_libs=yes
13186
 
    ;;
13187
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13188
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13189
 
    shlibpath_overrides_runpath=no
13190
 
    hardcode_into_libs=yes
13191
 
    ;;
13192
 
  *) # from 4.6 on, and DragonFly
13193
 
    shlibpath_overrides_runpath=yes
13194
 
    hardcode_into_libs=yes
13195
 
    ;;
13196
 
  esac
13197
 
  ;;
13198
 
 
13199
 
gnu*)
13200
 
  version_type=linux
13201
 
  need_lib_prefix=no
13202
 
  need_version=no
13203
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13204
 
  soname_spec='${libname}${release}${shared_ext}$major'
13205
 
  shlibpath_var=LD_LIBRARY_PATH
13206
 
  hardcode_into_libs=yes
13207
 
  ;;
13208
 
 
13209
 
hpux9* | hpux10* | hpux11*)
13210
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
13211
 
  # link against other versions.
13212
 
  version_type=sunos
13213
 
  need_lib_prefix=no
13214
 
  need_version=no
13215
 
  case $host_cpu in
13216
 
  ia64*)
13217
 
    shrext_cmds='.so'
13218
 
    hardcode_into_libs=yes
13219
 
    dynamic_linker="$host_os dld.so"
13220
 
    shlibpath_var=LD_LIBRARY_PATH
13221
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13222
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13223
 
    soname_spec='${libname}${release}${shared_ext}$major'
13224
 
    if test "X$HPUX_IA64_MODE" = X32; then
13225
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13226
 
    else
13227
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13228
 
    fi
13229
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13230
 
    ;;
13231
 
   hppa*64*)
13232
 
     shrext_cmds='.sl'
13233
 
     hardcode_into_libs=yes
13234
 
     dynamic_linker="$host_os dld.sl"
13235
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13236
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13237
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13238
 
     soname_spec='${libname}${release}${shared_ext}$major'
13239
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13240
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13241
 
     ;;
13242
 
   *)
13243
 
    shrext_cmds='.sl'
13244
 
    dynamic_linker="$host_os dld.sl"
13245
 
    shlibpath_var=SHLIB_PATH
13246
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13247
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13248
 
    soname_spec='${libname}${release}${shared_ext}$major'
13249
 
    ;;
13250
 
  esac
13251
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
13252
 
  postinstall_cmds='chmod 555 $lib'
13253
 
  ;;
13254
 
 
13255
 
interix[3-9]*)
13256
 
  version_type=linux
13257
 
  need_lib_prefix=no
13258
 
  need_version=no
13259
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13260
 
  soname_spec='${libname}${release}${shared_ext}$major'
13261
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13262
 
  shlibpath_var=LD_LIBRARY_PATH
13263
 
  shlibpath_overrides_runpath=no
13264
 
  hardcode_into_libs=yes
13265
 
  ;;
13266
 
 
13267
 
irix5* | irix6* | nonstopux*)
13268
 
  case $host_os in
13269
 
    nonstopux*) version_type=nonstopux ;;
13270
 
    *)
13271
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
13272
 
                version_type=linux
13273
 
        else
13274
 
                version_type=irix
13275
 
        fi ;;
13276
 
  esac
13277
 
  need_lib_prefix=no
13278
 
  need_version=no
13279
 
  soname_spec='${libname}${release}${shared_ext}$major'
13280
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13281
 
  case $host_os in
13282
 
  irix5* | nonstopux*)
13283
 
    libsuff= shlibsuff=
13284
 
    ;;
13285
 
  *)
13286
 
    case $LD in # libtool.m4 will add one of these switches to LD
13287
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13288
 
      libsuff= shlibsuff= libmagic=32-bit;;
13289
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13290
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
13291
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13292
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
13293
 
    *) libsuff= shlibsuff= libmagic=never-match;;
13294
 
    esac
13295
 
    ;;
13296
 
  esac
13297
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13298
 
  shlibpath_overrides_runpath=no
13299
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13300
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13301
 
  hardcode_into_libs=yes
13302
 
  ;;
13303
 
 
13304
 
# No shared lib support for Linux oldld, aout, or coff.
13305
 
linux*oldld* | linux*aout* | linux*coff*)
13306
 
  dynamic_linker=no
13307
 
  ;;
13308
 
 
13309
 
# This must be Linux ELF.
13310
 
linux* | k*bsd*-gnu)
13311
 
  version_type=linux
13312
 
  need_lib_prefix=no
13313
 
  need_version=no
13314
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13315
 
  soname_spec='${libname}${release}${shared_ext}$major'
13316
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13317
 
  shlibpath_var=LD_LIBRARY_PATH
13318
 
  shlibpath_overrides_runpath=no
13319
 
  # This implies no fast_install, which is unacceptable.
13320
 
  # Some rework will be needed to allow for fast_install
13321
 
  # before this can be enabled.
13322
 
  hardcode_into_libs=yes
13323
 
 
13324
 
  # Append ld.so.conf contents to the search path
13325
 
  if test -f /etc/ld.so.conf; then
13326
 
    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' ' '`
13327
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13328
 
  fi
13329
 
 
13330
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
13331
 
  # powerpc, because MkLinux only supported shared libraries with the
13332
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
13333
 
  # most powerpc-linux boxes support dynamic linking these days and
13334
 
  # people can always --disable-shared, the test was removed, and we
13335
 
  # assume the GNU/Linux dynamic linker is in use.
13336
 
  dynamic_linker='GNU/Linux ld.so'
13337
 
  ;;
13338
 
 
13339
 
netbsdelf*-gnu)
13340
 
  version_type=linux
13341
 
  need_lib_prefix=no
13342
 
  need_version=no
13343
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13344
 
  soname_spec='${libname}${release}${shared_ext}$major'
13345
 
  shlibpath_var=LD_LIBRARY_PATH
13346
 
  shlibpath_overrides_runpath=no
13347
 
  hardcode_into_libs=yes
13348
 
  dynamic_linker='NetBSD ld.elf_so'
13349
 
  ;;
13350
 
 
13351
 
netbsd*)
13352
 
  version_type=sunos
13353
 
  need_lib_prefix=no
13354
 
  need_version=no
13355
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13356
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13357
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13358
 
    dynamic_linker='NetBSD (a.out) ld.so'
13359
 
  else
13360
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13361
 
    soname_spec='${libname}${release}${shared_ext}$major'
13362
 
    dynamic_linker='NetBSD ld.elf_so'
13363
 
  fi
13364
 
  shlibpath_var=LD_LIBRARY_PATH
13365
 
  shlibpath_overrides_runpath=yes
13366
 
  hardcode_into_libs=yes
13367
 
  ;;
13368
 
 
13369
 
newsos6)
13370
 
  version_type=linux
13371
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13372
 
  shlibpath_var=LD_LIBRARY_PATH
13373
 
  shlibpath_overrides_runpath=yes
13374
 
  ;;
13375
 
 
13376
 
nto-qnx*)
13377
 
  version_type=linux
13378
 
  need_lib_prefix=no
13379
 
  need_version=no
13380
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13381
 
  soname_spec='${libname}${release}${shared_ext}$major'
13382
 
  shlibpath_var=LD_LIBRARY_PATH
13383
 
  shlibpath_overrides_runpath=yes
13384
 
  ;;
13385
 
 
13386
 
openbsd*)
13387
 
  version_type=sunos
13388
 
  sys_lib_dlsearch_path_spec="/usr/lib"
13389
 
  need_lib_prefix=no
13390
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13391
 
  case $host_os in
13392
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13393
 
    *)                         need_version=no  ;;
13394
 
  esac
13395
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13396
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13397
 
  shlibpath_var=LD_LIBRARY_PATH
13398
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13399
 
    case $host_os in
13400
 
      openbsd2.[89] | openbsd2.[89].*)
13401
 
        shlibpath_overrides_runpath=no
13402
 
        ;;
13403
 
      *)
13404
 
        shlibpath_overrides_runpath=yes
13405
 
        ;;
13406
 
      esac
13407
 
  else
13408
 
    shlibpath_overrides_runpath=yes
13409
 
  fi
13410
 
  ;;
13411
 
 
13412
 
os2*)
13413
 
  libname_spec='$name'
13414
 
  shrext_cmds=".dll"
13415
 
  need_lib_prefix=no
13416
 
  library_names_spec='$libname${shared_ext} $libname.a'
13417
 
  dynamic_linker='OS/2 ld.exe'
13418
 
  shlibpath_var=LIBPATH
13419
 
  ;;
13420
 
 
13421
 
osf3* | osf4* | osf5*)
13422
 
  version_type=osf
13423
 
  need_lib_prefix=no
13424
 
  need_version=no
13425
 
  soname_spec='${libname}${release}${shared_ext}$major'
13426
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13427
 
  shlibpath_var=LD_LIBRARY_PATH
13428
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13429
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13430
 
  ;;
13431
 
 
13432
 
rdos*)
13433
 
  dynamic_linker=no
13434
 
  ;;
13435
 
 
13436
 
solaris*)
13437
 
  version_type=linux
13438
 
  need_lib_prefix=no
13439
 
  need_version=no
13440
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13441
 
  soname_spec='${libname}${release}${shared_ext}$major'
13442
 
  shlibpath_var=LD_LIBRARY_PATH
13443
 
  shlibpath_overrides_runpath=yes
13444
 
  hardcode_into_libs=yes
13445
 
  # ldd complains unless libraries are executable
13446
 
  postinstall_cmds='chmod +x $lib'
13447
 
  ;;
13448
 
 
13449
 
sunos4*)
13450
 
  version_type=sunos
13451
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13452
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13453
 
  shlibpath_var=LD_LIBRARY_PATH
13454
 
  shlibpath_overrides_runpath=yes
13455
 
  if test "$with_gnu_ld" = yes; then
13456
 
    need_lib_prefix=no
13457
 
  fi
13458
 
  need_version=yes
13459
 
  ;;
13460
 
 
13461
 
sysv4 | sysv4.3*)
13462
 
  version_type=linux
13463
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13464
 
  soname_spec='${libname}${release}${shared_ext}$major'
13465
 
  shlibpath_var=LD_LIBRARY_PATH
13466
 
  case $host_vendor in
13467
 
    sni)
13468
 
      shlibpath_overrides_runpath=no
13469
 
      need_lib_prefix=no
13470
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
13471
 
      runpath_var=LD_RUN_PATH
13472
 
      ;;
13473
 
    siemens)
13474
 
      need_lib_prefix=no
13475
 
      ;;
13476
 
    motorola)
13477
 
      need_lib_prefix=no
13478
 
      need_version=no
13479
 
      shlibpath_overrides_runpath=no
13480
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13481
 
      ;;
13482
 
  esac
13483
 
  ;;
13484
 
 
13485
 
sysv4*MP*)
13486
 
  if test -d /usr/nec ;then
13487
 
    version_type=linux
13488
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13489
 
    soname_spec='$libname${shared_ext}.$major'
13490
 
    shlibpath_var=LD_LIBRARY_PATH
13491
 
  fi
13492
 
  ;;
13493
 
 
13494
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13495
 
  version_type=freebsd-elf
13496
 
  need_lib_prefix=no
13497
 
  need_version=no
13498
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13499
 
  soname_spec='${libname}${release}${shared_ext}$major'
13500
 
  shlibpath_var=LD_LIBRARY_PATH
13501
 
  hardcode_into_libs=yes
13502
 
  if test "$with_gnu_ld" = yes; then
13503
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13504
 
    shlibpath_overrides_runpath=no
13505
 
  else
13506
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13507
 
    shlibpath_overrides_runpath=yes
13508
 
    case $host_os in
13509
 
      sco3.2v5*)
13510
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13511
 
        ;;
13512
 
    esac
13513
 
  fi
13514
 
  sys_lib_dlsearch_path_spec='/usr/lib'
13515
 
  ;;
13516
 
 
13517
 
uts4*)
13518
 
  version_type=linux
13519
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13520
 
  soname_spec='${libname}${release}${shared_ext}$major'
13521
 
  shlibpath_var=LD_LIBRARY_PATH
13522
 
  ;;
13523
 
 
13524
 
*)
13525
 
  dynamic_linker=no
13526
 
  ;;
13527
 
esac
13528
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13529
 
echo "${ECHO_T}$dynamic_linker" >&6; }
13530
 
test "$dynamic_linker" = no && can_build_shared=no
13531
 
 
13532
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13533
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13534
 
else
13535
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
13536
 
fi
13537
 
 
13538
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
13539
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13540
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13541
 
else
13542
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
13543
 
fi
13544
 
 
13545
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
13546
 
 
13547
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13548
 
if test "$GCC" = yes; then
13549
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13550
 
fi
13551
 
 
13552
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13553
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13554
 
hardcode_action_CXX=
13555
 
if test -n "$hardcode_libdir_flag_spec_CXX" || \
13556
 
   test -n "$runpath_var_CXX" || \
13557
 
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
13558
 
 
13559
 
  # We can hardcode non-existant directories.
13560
 
  if test "$hardcode_direct_CXX" != no &&
13561
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
13562
 
     # have to relink, otherwise we might link with an installed library
13563
 
     # when we should be linking with a yet-to-be-installed one
13564
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13565
 
     test "$hardcode_minus_L_CXX" != no; then
13566
 
    # Linking always hardcodes the temporary library directory.
13567
 
    hardcode_action_CXX=relink
13568
 
  else
13569
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
13570
 
    hardcode_action_CXX=immediate
13571
 
  fi
13572
 
else
13573
 
  # We cannot hardcode anything, or else we can only hardcode existing
13574
 
  # directories.
13575
 
  hardcode_action_CXX=unsupported
13576
 
fi
13577
 
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13578
 
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13579
 
 
13580
 
if test "$hardcode_action_CXX" = relink; then
13581
 
  # Fast installation is not supported
13582
 
  enable_fast_install=no
13583
 
elif test "$shlibpath_overrides_runpath" = yes ||
13584
 
     test "$enable_shared" = no; then
13585
 
  # Fast installation is not necessary
13586
 
  enable_fast_install=needless
13587
 
fi
13588
 
 
13589
 
 
13590
 
# The else clause should only fire when bootstrapping the
13591
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
13592
 
# with your package, and you will get complaints that there are
13593
 
# no rules to generate ltmain.sh.
13594
 
if test -f "$ltmain"; then
13595
 
  # See if we are running on zsh, and set the options which allow our commands through
13596
 
  # without removal of \ escapes.
13597
 
  if test -n "${ZSH_VERSION+set}" ; then
13598
 
    setopt NO_GLOB_SUBST
13599
 
  fi
13600
 
  # Now quote all the things that may contain metacharacters while being
13601
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
13602
 
  # variables and quote the copies for generation of the libtool script.
13603
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13604
 
    SED SHELL STRIP \
13605
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13606
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13607
 
    deplibs_check_method reload_flag reload_cmds need_locks \
13608
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13609
 
    lt_cv_sys_global_symbol_to_c_name_address \
13610
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13611
 
    old_postinstall_cmds old_postuninstall_cmds \
13612
 
    compiler_CXX \
13613
 
    CC_CXX \
13614
 
    LD_CXX \
13615
 
    lt_prog_compiler_wl_CXX \
13616
 
    lt_prog_compiler_pic_CXX \
13617
 
    lt_prog_compiler_static_CXX \
13618
 
    lt_prog_compiler_no_builtin_flag_CXX \
13619
 
    export_dynamic_flag_spec_CXX \
13620
 
    thread_safe_flag_spec_CXX \
13621
 
    whole_archive_flag_spec_CXX \
13622
 
    enable_shared_with_static_runtimes_CXX \
13623
 
    old_archive_cmds_CXX \
13624
 
    old_archive_from_new_cmds_CXX \
13625
 
    predep_objects_CXX \
13626
 
    postdep_objects_CXX \
13627
 
    predeps_CXX \
13628
 
    postdeps_CXX \
13629
 
    compiler_lib_search_path_CXX \
13630
 
    compiler_lib_search_dirs_CXX \
13631
 
    archive_cmds_CXX \
13632
 
    archive_expsym_cmds_CXX \
13633
 
    postinstall_cmds_CXX \
13634
 
    postuninstall_cmds_CXX \
13635
 
    old_archive_from_expsyms_cmds_CXX \
13636
 
    allow_undefined_flag_CXX \
13637
 
    no_undefined_flag_CXX \
13638
 
    export_symbols_cmds_CXX \
13639
 
    hardcode_libdir_flag_spec_CXX \
13640
 
    hardcode_libdir_flag_spec_ld_CXX \
13641
 
    hardcode_libdir_separator_CXX \
13642
 
    hardcode_automatic_CXX \
13643
 
    module_cmds_CXX \
13644
 
    module_expsym_cmds_CXX \
13645
 
    lt_cv_prog_compiler_c_o_CXX \
13646
 
    fix_srcfile_path_CXX \
13647
 
    exclude_expsyms_CXX \
13648
 
    include_expsyms_CXX; do
13649
 
 
13650
 
    case $var in
13651
 
    old_archive_cmds_CXX | \
13652
 
    old_archive_from_new_cmds_CXX | \
13653
 
    archive_cmds_CXX | \
13654
 
    archive_expsym_cmds_CXX | \
13655
 
    module_cmds_CXX | \
13656
 
    module_expsym_cmds_CXX | \
13657
 
    old_archive_from_expsyms_cmds_CXX | \
13658
 
    export_symbols_cmds_CXX | \
13659
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
13660
 
    postinstall_cmds | postuninstall_cmds | \
13661
 
    old_postinstall_cmds | old_postuninstall_cmds | \
13662
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
13663
 
      # Double-quote double-evaled strings.
13664
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13665
 
      ;;
13666
 
    *)
13667
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13668
 
      ;;
13669
 
    esac
13670
 
  done
13671
 
 
13672
 
  case $lt_echo in
13673
 
  *'\$0 --fallback-echo"')
13674
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13675
 
    ;;
13676
 
  esac
13677
 
 
13678
 
cfgfile="$ofile"
13679
 
 
13680
 
  cat <<__EOF__ >> "$cfgfile"
13681
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
13682
 
 
13683
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13684
 
 
13685
 
# Shell to use when invoking shell scripts.
13686
 
SHELL=$lt_SHELL
13687
 
 
13688
 
# Whether or not to build shared libraries.
13689
 
build_libtool_libs=$enable_shared
13690
 
 
13691
 
# Whether or not to build static libraries.
13692
 
build_old_libs=$enable_static
13693
 
 
13694
 
# Whether or not to add -lc for building shared libraries.
13695
 
build_libtool_need_lc=$archive_cmds_need_lc_CXX
13696
 
 
13697
 
# Whether or not to disallow shared libs when runtime libs are static
13698
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13699
 
 
13700
 
# Whether or not to optimize for fast installation.
13701
 
fast_install=$enable_fast_install
13702
 
 
13703
 
# The host system.
13704
 
host_alias=$host_alias
13705
 
host=$host
13706
 
host_os=$host_os
13707
 
 
13708
 
# The build system.
13709
 
build_alias=$build_alias
13710
 
build=$build
13711
 
build_os=$build_os
13712
 
 
13713
 
# An echo program that does not interpret backslashes.
13714
 
echo=$lt_echo
13715
 
 
13716
 
# The archiver.
13717
 
AR=$lt_AR
13718
 
AR_FLAGS=$lt_AR_FLAGS
13719
 
 
13720
 
# A C compiler.
13721
 
LTCC=$lt_LTCC
13722
 
 
13723
 
# LTCC compiler flags.
13724
 
LTCFLAGS=$lt_LTCFLAGS
13725
 
 
13726
 
# A language-specific compiler.
13727
 
CC=$lt_compiler_CXX
13728
 
 
13729
 
# Is the compiler the GNU C compiler?
13730
 
with_gcc=$GCC_CXX
13731
 
 
13732
 
# An ERE matcher.
13733
 
EGREP=$lt_EGREP
13734
 
 
13735
 
# The linker used to build libraries.
13736
 
LD=$lt_LD_CXX
13737
 
 
13738
 
# Whether we need hard or soft links.
13739
 
LN_S=$lt_LN_S
13740
 
 
13741
 
# A BSD-compatible nm program.
13742
 
NM=$lt_NM
13743
 
 
13744
 
# A symbol stripping program
13745
 
STRIP=$lt_STRIP
13746
 
 
13747
 
# Used to examine libraries when file_magic_cmd begins "file"
13748
 
MAGIC_CMD=$MAGIC_CMD
13749
 
 
13750
 
# Used on cygwin: DLL creation program.
13751
 
DLLTOOL="$DLLTOOL"
13752
 
 
13753
 
# Used on cygwin: object dumper.
13754
 
OBJDUMP="$OBJDUMP"
13755
 
 
13756
 
# Used on cygwin: assembler.
13757
 
AS="$AS"
13758
 
 
13759
 
# The name of the directory that contains temporary libtool files.
13760
 
objdir=$objdir
13761
 
 
13762
 
# How to create reloadable object files.
13763
 
reload_flag=$lt_reload_flag
13764
 
reload_cmds=$lt_reload_cmds
13765
 
 
13766
 
# How to pass a linker flag through the compiler.
13767
 
wl=$lt_lt_prog_compiler_wl_CXX
13768
 
 
13769
 
# Object file suffix (normally "o").
13770
 
objext="$ac_objext"
13771
 
 
13772
 
# Old archive suffix (normally "a").
13773
 
libext="$libext"
13774
 
 
13775
 
# Shared library suffix (normally ".so").
13776
 
shrext_cmds='$shrext_cmds'
13777
 
 
13778
 
# Executable file suffix (normally "").
13779
 
exeext="$exeext"
13780
 
 
13781
 
# Additional compiler flags for building library objects.
13782
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
13783
 
pic_mode=$pic_mode
13784
 
 
13785
 
# What is the maximum length of a command?
13786
 
max_cmd_len=$lt_cv_sys_max_cmd_len
13787
 
 
13788
 
# Does compiler simultaneously support -c and -o options?
13789
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13790
 
 
13791
 
# Must we lock files when doing compilation?
13792
 
need_locks=$lt_need_locks
13793
 
 
13794
 
# Do we need the lib prefix for modules?
13795
 
need_lib_prefix=$need_lib_prefix
13796
 
 
13797
 
# Do we need a version for libraries?
13798
 
need_version=$need_version
13799
 
 
13800
 
# Whether dlopen is supported.
13801
 
dlopen_support=$enable_dlopen
13802
 
 
13803
 
# Whether dlopen of programs is supported.
13804
 
dlopen_self=$enable_dlopen_self
13805
 
 
13806
 
# Whether dlopen of statically linked programs is supported.
13807
 
dlopen_self_static=$enable_dlopen_self_static
13808
 
 
13809
 
# Compiler flag to prevent dynamic linking.
13810
 
link_static_flag=$lt_lt_prog_compiler_static_CXX
13811
 
 
13812
 
# Compiler flag to turn off builtin functions.
13813
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13814
 
 
13815
 
# Compiler flag to allow reflexive dlopens.
13816
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13817
 
 
13818
 
# Compiler flag to generate shared objects directly from archives.
13819
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13820
 
 
13821
 
# Compiler flag to generate thread-safe objects.
13822
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13823
 
 
13824
 
# Library versioning type.
13825
 
version_type=$version_type
13826
 
 
13827
 
# Format of library name prefix.
13828
 
libname_spec=$lt_libname_spec
13829
 
 
13830
 
# List of archive names.  First name is the real one, the rest are links.
13831
 
# The last name is the one that the linker finds with -lNAME.
13832
 
library_names_spec=$lt_library_names_spec
13833
 
 
13834
 
# The coded name of the library, if different from the real name.
13835
 
soname_spec=$lt_soname_spec
13836
 
 
13837
 
# Commands used to build and install an old-style archive.
13838
 
RANLIB=$lt_RANLIB
13839
 
old_archive_cmds=$lt_old_archive_cmds_CXX
13840
 
old_postinstall_cmds=$lt_old_postinstall_cmds
13841
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
13842
 
 
13843
 
# Create an old-style archive from a shared archive.
13844
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13845
 
 
13846
 
# Create a temporary old-style archive to link instead of a shared archive.
13847
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13848
 
 
13849
 
# Commands used to build and install a shared archive.
13850
 
archive_cmds=$lt_archive_cmds_CXX
13851
 
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13852
 
postinstall_cmds=$lt_postinstall_cmds
13853
 
postuninstall_cmds=$lt_postuninstall_cmds
13854
 
 
13855
 
# Commands used to build a loadable module (assumed same as above if empty)
13856
 
module_cmds=$lt_module_cmds_CXX
13857
 
module_expsym_cmds=$lt_module_expsym_cmds_CXX
13858
 
 
13859
 
# Commands to strip libraries.
13860
 
old_striplib=$lt_old_striplib
13861
 
striplib=$lt_striplib
13862
 
 
13863
 
# Dependencies to place before the objects being linked to create a
13864
 
# shared library.
13865
 
predep_objects=$lt_predep_objects_CXX
13866
 
 
13867
 
# Dependencies to place after the objects being linked to create a
13868
 
# shared library.
13869
 
postdep_objects=$lt_postdep_objects_CXX
13870
 
 
13871
 
# Dependencies to place before the objects being linked to create a
13872
 
# shared library.
13873
 
predeps=$lt_predeps_CXX
13874
 
 
13875
 
# Dependencies to place after the objects being linked to create a
13876
 
# shared library.
13877
 
postdeps=$lt_postdeps_CXX
13878
 
 
13879
 
# The directories searched by this compiler when creating a shared
13880
 
# library
13881
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
13882
 
 
13883
 
# The library search path used internally by the compiler when linking
13884
 
# a shared library.
13885
 
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13886
 
 
13887
 
# Method to check whether dependent libraries are shared objects.
13888
 
deplibs_check_method=$lt_deplibs_check_method
13889
 
 
13890
 
# Command to use when deplibs_check_method == file_magic.
13891
 
file_magic_cmd=$lt_file_magic_cmd
13892
 
 
13893
 
# Flag that allows shared libraries with undefined symbols to be built.
13894
 
allow_undefined_flag=$lt_allow_undefined_flag_CXX
13895
 
 
13896
 
# Flag that forces no undefined symbols.
13897
 
no_undefined_flag=$lt_no_undefined_flag_CXX
13898
 
 
13899
 
# Commands used to finish a libtool library installation in a directory.
13900
 
finish_cmds=$lt_finish_cmds
13901
 
 
13902
 
# Same as above, but a single script fragment to be evaled but not shown.
13903
 
finish_eval=$lt_finish_eval
13904
 
 
13905
 
# Take the output of nm and produce a listing of raw symbols and C names.
13906
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13907
 
 
13908
 
# Transform the output of nm in a proper C declaration
13909
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13910
 
 
13911
 
# Transform the output of nm in a C name address pair
13912
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13913
 
 
13914
 
# This is the shared library runtime path variable.
13915
 
runpath_var=$runpath_var
13916
 
 
13917
 
# This is the shared library path variable.
13918
 
shlibpath_var=$shlibpath_var
13919
 
 
13920
 
# Is shlibpath searched before the hard-coded library search path?
13921
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13922
 
 
13923
 
# How to hardcode a shared library path into an executable.
13924
 
hardcode_action=$hardcode_action_CXX
13925
 
 
13926
 
# Whether we should hardcode library paths into libraries.
13927
 
hardcode_into_libs=$hardcode_into_libs
13928
 
 
13929
 
# Flag to hardcode \$libdir into a binary during linking.
13930
 
# This must work even if \$libdir does not exist.
13931
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13932
 
 
13933
 
# If ld is used when linking, flag to hardcode \$libdir into
13934
 
# a binary during linking. This must work even if \$libdir does
13935
 
# not exist.
13936
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13937
 
 
13938
 
# Whether we need a single -rpath flag with a separated argument.
13939
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13940
 
 
13941
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13942
 
# resulting binary.
13943
 
hardcode_direct=$hardcode_direct_CXX
13944
 
 
13945
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13946
 
# resulting binary.
13947
 
hardcode_minus_L=$hardcode_minus_L_CXX
13948
 
 
13949
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13950
 
# the resulting binary.
13951
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13952
 
 
13953
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
13954
 
# and all subsequent libraries and executables linked against it.
13955
 
hardcode_automatic=$hardcode_automatic_CXX
13956
 
 
13957
 
# Variables whose values should be saved in libtool wrapper scripts and
13958
 
# restored at relink time.
13959
 
variables_saved_for_relink="$variables_saved_for_relink"
13960
 
 
13961
 
# Whether libtool must link a program against all its dependency libraries.
13962
 
link_all_deplibs=$link_all_deplibs_CXX
13963
 
 
13964
 
# Compile-time system search path for libraries
13965
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13966
 
 
13967
 
# Run-time system search path for libraries
13968
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13969
 
 
13970
 
# Fix the shell variable \$srcfile for the compiler.
13971
 
fix_srcfile_path=$lt_fix_srcfile_path
13972
 
 
13973
 
# Set to yes if exported symbols are required.
13974
 
always_export_symbols=$always_export_symbols_CXX
13975
 
 
13976
 
# The commands to list exported symbols.
13977
 
export_symbols_cmds=$lt_export_symbols_cmds_CXX
13978
 
 
13979
 
# The commands to extract the exported symbol list from a shared archive.
13980
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
13981
 
 
13982
 
# Symbols that should not be listed in the preloaded symbols.
13983
 
exclude_expsyms=$lt_exclude_expsyms_CXX
13984
 
 
13985
 
# Symbols that must always be exported.
13986
 
include_expsyms=$lt_include_expsyms_CXX
13987
 
 
13988
 
# ### END LIBTOOL TAG CONFIG: $tagname
13989
 
 
13990
 
__EOF__
13991
 
 
13992
 
 
13993
 
else
13994
 
  # If there is no Makefile yet, we rely on a make rule to execute
13995
 
  # `config.status --recheck' to rerun these tests and create the
13996
 
  # libtool script then.
13997
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13998
 
  if test -f "$ltmain_in"; then
13999
 
    test -f Makefile && make "$ltmain"
14000
 
  fi
14001
 
fi
14002
 
 
14003
 
 
14004
 
ac_ext=c
14005
 
ac_cpp='$CPP $CPPFLAGS'
14006
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14007
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14008
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
14009
 
 
14010
 
CC=$lt_save_CC
14011
 
LDCXX=$LD
14012
 
LD=$lt_save_LD
14013
 
GCC=$lt_save_GCC
14014
 
with_gnu_ldcxx=$with_gnu_ld
14015
 
with_gnu_ld=$lt_save_with_gnu_ld
14016
 
lt_cv_path_LDCXX=$lt_cv_path_LD
14017
 
lt_cv_path_LD=$lt_save_path_LD
14018
 
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14019
 
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14020
 
 
14021
 
        else
14022
 
          tagname=""
14023
 
        fi
14024
 
        ;;
14025
 
 
14026
 
      F77)
14027
 
        if test -n "$F77" && test "X$F77" != "Xno"; then
14028
 
 
14029
 
ac_ext=f
14030
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14031
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14032
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
14033
 
 
14034
 
 
14035
 
archive_cmds_need_lc_F77=no
14036
 
allow_undefined_flag_F77=
14037
 
always_export_symbols_F77=no
14038
 
archive_expsym_cmds_F77=
14039
 
export_dynamic_flag_spec_F77=
14040
 
hardcode_direct_F77=no
14041
 
hardcode_libdir_flag_spec_F77=
14042
 
hardcode_libdir_flag_spec_ld_F77=
14043
 
hardcode_libdir_separator_F77=
14044
 
hardcode_minus_L_F77=no
14045
 
hardcode_automatic_F77=no
14046
 
module_cmds_F77=
14047
 
module_expsym_cmds_F77=
14048
 
link_all_deplibs_F77=unknown
14049
 
old_archive_cmds_F77=$old_archive_cmds
14050
 
no_undefined_flag_F77=
14051
 
whole_archive_flag_spec_F77=
14052
 
enable_shared_with_static_runtimes_F77=no
14053
 
 
14054
 
# Source file extension for f77 test sources.
14055
 
ac_ext=f
14056
 
 
14057
 
# Object file extension for compiled f77 test sources.
14058
 
objext=o
14059
 
objext_F77=$objext
14060
 
 
14061
 
# Code to be used in simple compile tests
14062
 
lt_simple_compile_test_code="\
14063
 
      subroutine t
14064
 
      return
14065
 
      end
14066
 
"
14067
 
 
14068
 
# Code to be used in simple link tests
14069
 
lt_simple_link_test_code="\
14070
 
      program t
14071
 
      end
14072
 
"
14073
 
 
14074
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
14075
 
 
14076
 
# If no C compiler was specified, use CC.
14077
 
LTCC=${LTCC-"$CC"}
14078
 
 
14079
 
# If no C compiler flags were specified, use CFLAGS.
14080
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14081
 
 
14082
 
# Allow CC to be a program name with arguments.
14083
 
compiler=$CC
14084
 
 
14085
 
 
14086
 
# save warnings/boilerplate of simple test code
14087
 
ac_outfile=conftest.$ac_objext
14088
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14089
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14090
 
_lt_compiler_boilerplate=`cat conftest.err`
14091
 
$rm conftest*
14092
 
 
14093
 
ac_outfile=conftest.$ac_objext
14094
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
14095
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14096
 
_lt_linker_boilerplate=`cat conftest.err`
14097
 
$rm -r conftest*
14098
 
 
14099
 
 
14100
 
# Allow CC to be a program name with arguments.
14101
 
lt_save_CC="$CC"
14102
 
CC=${F77-"f77"}
14103
 
compiler=$CC
14104
 
compiler_F77=$CC
14105
 
for cc_temp in $compiler""; do
14106
 
  case $cc_temp in
14107
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14108
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14109
 
    \-*) ;;
14110
 
    *) break;;
14111
 
  esac
14112
 
done
14113
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14114
 
 
14115
 
 
14116
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14117
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
14118
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
14119
 
echo "${ECHO_T}$can_build_shared" >&6; }
14120
 
 
14121
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14122
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
14123
 
test "$can_build_shared" = "no" && enable_shared=no
14124
 
 
14125
 
# On AIX, shared libraries and static libraries use the same namespace, and
14126
 
# are all built from PIC.
14127
 
case $host_os in
14128
 
aix3*)
14129
 
  test "$enable_shared" = yes && enable_static=no
14130
 
  if test -n "$RANLIB"; then
14131
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
14132
 
    postinstall_cmds='$RANLIB $lib'
14133
 
  fi
14134
 
  ;;
14135
 
aix[4-9]*)
14136
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
14137
 
    test "$enable_shared" = yes && enable_static=no
14138
 
  fi
14139
 
  ;;
14140
 
esac
14141
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
14142
 
echo "${ECHO_T}$enable_shared" >&6; }
14143
 
 
14144
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14145
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
14146
 
# Make sure either enable_shared or enable_static is yes.
14147
 
test "$enable_shared" = yes || enable_static=yes
14148
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
14149
 
echo "${ECHO_T}$enable_static" >&6; }
14150
 
 
14151
 
GCC_F77="$G77"
14152
 
LD_F77="$LD"
14153
 
 
14154
 
lt_prog_compiler_wl_F77=
14155
 
lt_prog_compiler_pic_F77=
14156
 
lt_prog_compiler_static_F77=
14157
 
 
14158
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14159
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14160
 
 
14161
 
  if test "$GCC" = yes; then
14162
 
    lt_prog_compiler_wl_F77='-Wl,'
14163
 
    lt_prog_compiler_static_F77='-static'
14164
 
 
14165
 
    case $host_os in
14166
 
      aix*)
14167
 
      # All AIX code is PIC.
14168
 
      if test "$host_cpu" = ia64; then
14169
 
        # AIX 5 now supports IA64 processor
14170
 
        lt_prog_compiler_static_F77='-Bstatic'
14171
 
      fi
14172
 
      ;;
14173
 
 
14174
 
    amigaos*)
14175
 
      # FIXME: we need at least 68020 code to build shared libraries, but
14176
 
      # adding the `-m68020' flag to GCC prevents building anything better,
14177
 
      # like `-m68040'.
14178
 
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
14179
 
      ;;
14180
 
 
14181
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14182
 
      # PIC is the default for these OSes.
14183
 
      ;;
14184
 
 
14185
 
    mingw* | cygwin* | pw32* | os2*)
14186
 
      # This hack is so that the source file can tell whether it is being
14187
 
      # built for inclusion in a dll (and should export symbols for example).
14188
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
14189
 
      # (--disable-auto-import) libraries
14190
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14191
 
      ;;
14192
 
 
14193
 
    darwin* | rhapsody*)
14194
 
      # PIC is the default on this platform
14195
 
      # Common symbols not allowed in MH_DYLIB files
14196
 
      lt_prog_compiler_pic_F77='-fno-common'
14197
 
      ;;
14198
 
 
14199
 
    interix[3-9]*)
14200
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14201
 
      # Instead, we relocate shared libraries at runtime.
14202
 
      ;;
14203
 
 
14204
 
    msdosdjgpp*)
14205
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
14206
 
      # on systems that don't support them.
14207
 
      lt_prog_compiler_can_build_shared_F77=no
14208
 
      enable_shared=no
14209
 
      ;;
14210
 
 
14211
 
    sysv4*MP*)
14212
 
      if test -d /usr/nec; then
14213
 
        lt_prog_compiler_pic_F77=-Kconform_pic
14214
 
      fi
14215
 
      ;;
14216
 
 
14217
 
    hpux*)
14218
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14219
 
      # not for PA HP-UX.
14220
 
      case $host_cpu in
14221
 
      hppa*64*|ia64*)
14222
 
        # +Z the default
14223
 
        ;;
14224
 
      *)
14225
 
        lt_prog_compiler_pic_F77='-fPIC'
14226
 
        ;;
14227
 
      esac
14228
 
      ;;
14229
 
 
14230
 
    *)
14231
 
      lt_prog_compiler_pic_F77='-fPIC'
14232
 
      ;;
14233
 
    esac
14234
 
  else
14235
 
    # PORTME Check for flag to pass linker flags through the system compiler.
14236
 
    case $host_os in
14237
 
    aix*)
14238
 
      lt_prog_compiler_wl_F77='-Wl,'
14239
 
      if test "$host_cpu" = ia64; then
14240
 
        # AIX 5 now supports IA64 processor
14241
 
        lt_prog_compiler_static_F77='-Bstatic'
14242
 
      else
14243
 
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
14244
 
      fi
14245
 
      ;;
14246
 
      darwin*)
14247
 
        # PIC is the default on this platform
14248
 
        # Common symbols not allowed in MH_DYLIB files
14249
 
       case $cc_basename in
14250
 
         xlc*)
14251
 
         lt_prog_compiler_pic_F77='-qnocommon'
14252
 
         lt_prog_compiler_wl_F77='-Wl,'
14253
 
         ;;
14254
 
       esac
14255
 
       ;;
14256
 
 
14257
 
    mingw* | cygwin* | pw32* | os2*)
14258
 
      # This hack is so that the source file can tell whether it is being
14259
 
      # built for inclusion in a dll (and should export symbols for example).
14260
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14261
 
      ;;
14262
 
 
14263
 
    hpux9* | hpux10* | hpux11*)
14264
 
      lt_prog_compiler_wl_F77='-Wl,'
14265
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14266
 
      # not for PA HP-UX.
14267
 
      case $host_cpu in
14268
 
      hppa*64*|ia64*)
14269
 
        # +Z the default
14270
 
        ;;
14271
 
      *)
14272
 
        lt_prog_compiler_pic_F77='+Z'
14273
 
        ;;
14274
 
      esac
14275
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
14276
 
      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
14277
 
      ;;
14278
 
 
14279
 
    irix5* | irix6* | nonstopux*)
14280
 
      lt_prog_compiler_wl_F77='-Wl,'
14281
 
      # PIC (with -KPIC) is the default.
14282
 
      lt_prog_compiler_static_F77='-non_shared'
14283
 
      ;;
14284
 
 
14285
 
    newsos6)
14286
 
      lt_prog_compiler_pic_F77='-KPIC'
14287
 
      lt_prog_compiler_static_F77='-Bstatic'
14288
 
      ;;
14289
 
 
14290
 
    linux* | k*bsd*-gnu)
14291
 
      case $cc_basename in
14292
 
      icc* | ecc*)
14293
 
        lt_prog_compiler_wl_F77='-Wl,'
14294
 
        lt_prog_compiler_pic_F77='-KPIC'
14295
 
        lt_prog_compiler_static_F77='-static'
14296
 
        ;;
14297
 
      pgcc* | pgf77* | pgf90* | pgf95*)
14298
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
14299
 
        # which looks to be a dead project)
14300
 
        lt_prog_compiler_wl_F77='-Wl,'
14301
 
        lt_prog_compiler_pic_F77='-fpic'
14302
 
        lt_prog_compiler_static_F77='-Bstatic'
14303
 
        ;;
14304
 
      ccc*)
14305
 
        lt_prog_compiler_wl_F77='-Wl,'
14306
 
        # All Alpha code is PIC.
14307
 
        lt_prog_compiler_static_F77='-non_shared'
14308
 
        ;;
14309
 
      *)
14310
 
        case `$CC -V 2>&1 | sed 5q` in
14311
 
        *Sun\ C*)
14312
 
          # Sun C 5.9
14313
 
          lt_prog_compiler_pic_F77='-KPIC'
14314
 
          lt_prog_compiler_static_F77='-Bstatic'
14315
 
          lt_prog_compiler_wl_F77='-Wl,'
14316
 
          ;;
14317
 
        *Sun\ F*)
14318
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
14319
 
          lt_prog_compiler_pic_F77='-KPIC'
14320
 
          lt_prog_compiler_static_F77='-Bstatic'
14321
 
          lt_prog_compiler_wl_F77=''
14322
 
          ;;
14323
 
        esac
14324
 
        ;;
14325
 
      esac
14326
 
      ;;
14327
 
 
14328
 
    osf3* | osf4* | osf5*)
14329
 
      lt_prog_compiler_wl_F77='-Wl,'
14330
 
      # All OSF/1 code is PIC.
14331
 
      lt_prog_compiler_static_F77='-non_shared'
14332
 
      ;;
14333
 
 
14334
 
    rdos*)
14335
 
      lt_prog_compiler_static_F77='-non_shared'
14336
 
      ;;
14337
 
 
14338
 
    solaris*)
14339
 
      lt_prog_compiler_pic_F77='-KPIC'
14340
 
      lt_prog_compiler_static_F77='-Bstatic'
14341
 
      case $cc_basename in
14342
 
      f77* | f90* | f95*)
14343
 
        lt_prog_compiler_wl_F77='-Qoption ld ';;
14344
 
      *)
14345
 
        lt_prog_compiler_wl_F77='-Wl,';;
14346
 
      esac
14347
 
      ;;
14348
 
 
14349
 
    sunos4*)
14350
 
      lt_prog_compiler_wl_F77='-Qoption ld '
14351
 
      lt_prog_compiler_pic_F77='-PIC'
14352
 
      lt_prog_compiler_static_F77='-Bstatic'
14353
 
      ;;
14354
 
 
14355
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
14356
 
      lt_prog_compiler_wl_F77='-Wl,'
14357
 
      lt_prog_compiler_pic_F77='-KPIC'
14358
 
      lt_prog_compiler_static_F77='-Bstatic'
14359
 
      ;;
14360
 
 
14361
 
    sysv4*MP*)
14362
 
      if test -d /usr/nec ;then
14363
 
        lt_prog_compiler_pic_F77='-Kconform_pic'
14364
 
        lt_prog_compiler_static_F77='-Bstatic'
14365
 
      fi
14366
 
      ;;
14367
 
 
14368
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14369
 
      lt_prog_compiler_wl_F77='-Wl,'
14370
 
      lt_prog_compiler_pic_F77='-KPIC'
14371
 
      lt_prog_compiler_static_F77='-Bstatic'
14372
 
      ;;
14373
 
 
14374
 
    unicos*)
14375
 
      lt_prog_compiler_wl_F77='-Wl,'
14376
 
      lt_prog_compiler_can_build_shared_F77=no
14377
 
      ;;
14378
 
 
14379
 
    uts4*)
14380
 
      lt_prog_compiler_pic_F77='-pic'
14381
 
      lt_prog_compiler_static_F77='-Bstatic'
14382
 
      ;;
14383
 
 
14384
 
    *)
14385
 
      lt_prog_compiler_can_build_shared_F77=no
14386
 
      ;;
14387
 
    esac
14388
 
  fi
14389
 
 
14390
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14391
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14392
 
 
14393
 
#
14394
 
# Check to make sure the PIC flag actually works.
14395
 
#
14396
 
if test -n "$lt_prog_compiler_pic_F77"; then
14397
 
 
14398
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14399
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14400
 
if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
14401
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14402
 
else
14403
 
  lt_cv_prog_compiler_pic_works_F77=no
14404
 
  ac_outfile=conftest.$ac_objext
14405
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14406
 
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
14407
 
   # Insert the option either (1) after the last *FLAGS variable, or
14408
 
   # (2) before a word containing "conftest.", or (3) at the end.
14409
 
   # Note that $ac_compile itself does not contain backslashes and begins
14410
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14411
 
   # The option is referenced via a variable to avoid confusing sed.
14412
 
   lt_compile=`echo "$ac_compile" | $SED \
14413
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14414
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14415
 
   -e 's:$: $lt_compiler_flag:'`
14416
 
   (eval echo "\"\$as_me:14416: $lt_compile\"" >&5)
14417
 
   (eval "$lt_compile" 2>conftest.err)
14418
 
   ac_status=$?
14419
 
   cat conftest.err >&5
14420
 
   echo "$as_me:14420: \$? = $ac_status" >&5
14421
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
14422
 
     # The compiler can only warn and ignore the option if not recognized
14423
 
     # So say no if there are warnings other than the usual output.
14424
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14425
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14426
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14427
 
       lt_cv_prog_compiler_pic_works_F77=yes
14428
 
     fi
14429
 
   fi
14430
 
   $rm conftest*
14431
 
 
14432
 
fi
14433
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
14434
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
14435
 
 
14436
 
if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
14437
 
    case $lt_prog_compiler_pic_F77 in
14438
 
     "" | " "*) ;;
14439
 
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
14440
 
     esac
14441
 
else
14442
 
    lt_prog_compiler_pic_F77=
14443
 
     lt_prog_compiler_can_build_shared_F77=no
14444
 
fi
14445
 
 
14446
 
fi
14447
 
case $host_os in
14448
 
  # For platforms which do not support PIC, -DPIC is meaningless:
14449
 
  *djgpp*)
14450
 
    lt_prog_compiler_pic_F77=
14451
 
    ;;
14452
 
  *)
14453
 
    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
14454
 
    ;;
14455
 
esac
14456
 
 
14457
 
#
14458
 
# Check to make sure the static flag actually works.
14459
 
#
14460
 
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
14461
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14462
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14463
 
if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
14464
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14465
 
else
14466
 
  lt_cv_prog_compiler_static_works_F77=no
14467
 
   save_LDFLAGS="$LDFLAGS"
14468
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14469
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
14470
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14471
 
     # The linker can only warn and ignore the option if not recognized
14472
 
     # So say no if there are warnings
14473
 
     if test -s conftest.err; then
14474
 
       # Append any errors to the config.log.
14475
 
       cat conftest.err 1>&5
14476
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14477
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14478
 
       if diff conftest.exp conftest.er2 >/dev/null; then
14479
 
         lt_cv_prog_compiler_static_works_F77=yes
14480
 
       fi
14481
 
     else
14482
 
       lt_cv_prog_compiler_static_works_F77=yes
14483
 
     fi
14484
 
   fi
14485
 
   $rm -r conftest*
14486
 
   LDFLAGS="$save_LDFLAGS"
14487
 
 
14488
 
fi
14489
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
14490
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
14491
 
 
14492
 
if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
14493
 
    :
14494
 
else
14495
 
    lt_prog_compiler_static_F77=
14496
 
fi
14497
 
 
14498
 
 
14499
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14500
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14501
 
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14502
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14503
 
else
14504
 
  lt_cv_prog_compiler_c_o_F77=no
14505
 
   $rm -r conftest 2>/dev/null
14506
 
   mkdir conftest
14507
 
   cd conftest
14508
 
   mkdir out
14509
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14510
 
 
14511
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
14512
 
   # Insert the option either (1) after the last *FLAGS variable, or
14513
 
   # (2) before a word containing "conftest.", or (3) at the end.
14514
 
   # Note that $ac_compile itself does not contain backslashes and begins
14515
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14516
 
   lt_compile=`echo "$ac_compile" | $SED \
14517
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14518
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14519
 
   -e 's:$: $lt_compiler_flag:'`
14520
 
   (eval echo "\"\$as_me:14520: $lt_compile\"" >&5)
14521
 
   (eval "$lt_compile" 2>out/conftest.err)
14522
 
   ac_status=$?
14523
 
   cat out/conftest.err >&5
14524
 
   echo "$as_me:14524: \$? = $ac_status" >&5
14525
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14526
 
   then
14527
 
     # The compiler can only warn and ignore the option if not recognized
14528
 
     # So say no if there are warnings
14529
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14530
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14531
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14532
 
       lt_cv_prog_compiler_c_o_F77=yes
14533
 
     fi
14534
 
   fi
14535
 
   chmod u+w . 2>&5
14536
 
   $rm conftest*
14537
 
   # SGI C++ compiler will create directory out/ii_files/ for
14538
 
   # template instantiation
14539
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
14540
 
   $rm out/* && rmdir out
14541
 
   cd ..
14542
 
   rmdir conftest
14543
 
   $rm conftest*
14544
 
 
14545
 
fi
14546
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14547
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14548
 
 
14549
 
 
14550
 
hard_links="nottested"
14551
 
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
14552
 
  # do not overwrite the value of need_locks provided by the user
14553
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14554
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14555
 
  hard_links=yes
14556
 
  $rm conftest*
14557
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14558
 
  touch conftest.a
14559
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
14560
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14561
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
14562
 
echo "${ECHO_T}$hard_links" >&6; }
14563
 
  if test "$hard_links" = no; then
14564
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14565
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14566
 
    need_locks=warn
14567
 
  fi
14568
 
else
14569
 
  need_locks=no
14570
 
fi
14571
 
 
14572
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14573
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14574
 
 
14575
 
  runpath_var=
14576
 
  allow_undefined_flag_F77=
14577
 
  enable_shared_with_static_runtimes_F77=no
14578
 
  archive_cmds_F77=
14579
 
  archive_expsym_cmds_F77=
14580
 
  old_archive_From_new_cmds_F77=
14581
 
  old_archive_from_expsyms_cmds_F77=
14582
 
  export_dynamic_flag_spec_F77=
14583
 
  whole_archive_flag_spec_F77=
14584
 
  thread_safe_flag_spec_F77=
14585
 
  hardcode_libdir_flag_spec_F77=
14586
 
  hardcode_libdir_flag_spec_ld_F77=
14587
 
  hardcode_libdir_separator_F77=
14588
 
  hardcode_direct_F77=no
14589
 
  hardcode_minus_L_F77=no
14590
 
  hardcode_shlibpath_var_F77=unsupported
14591
 
  link_all_deplibs_F77=unknown
14592
 
  hardcode_automatic_F77=no
14593
 
  module_cmds_F77=
14594
 
  module_expsym_cmds_F77=
14595
 
  always_export_symbols_F77=no
14596
 
  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14597
 
  # include_expsyms should be a list of space-separated symbols to be *always*
14598
 
  # included in the symbol list
14599
 
  include_expsyms_F77=
14600
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
14601
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
14602
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14603
 
  # as well as any symbol that contains `d'.
14604
 
  exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14605
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14606
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
14607
 
  # the symbol is explicitly referenced.  Since portable code cannot
14608
 
  # rely on this symbol name, it's probably fine to never include it in
14609
 
  # preloaded symbol tables.
14610
 
  # Exclude shared library initialization/finalization symbols.
14611
 
  extract_expsyms_cmds=
14612
 
  # Just being paranoid about ensuring that cc_basename is set.
14613
 
  for cc_temp in $compiler""; do
14614
 
  case $cc_temp in
14615
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14616
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14617
 
    \-*) ;;
14618
 
    *) break;;
14619
 
  esac
14620
 
done
14621
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14622
 
 
14623
 
  case $host_os in
14624
 
  cygwin* | mingw* | pw32*)
14625
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
14626
 
    # When not using gcc, we currently assume that we are using
14627
 
    # Microsoft Visual C++.
14628
 
    if test "$GCC" != yes; then
14629
 
      with_gnu_ld=no
14630
 
    fi
14631
 
    ;;
14632
 
  interix*)
14633
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
14634
 
    with_gnu_ld=yes
14635
 
    ;;
14636
 
  openbsd*)
14637
 
    with_gnu_ld=no
14638
 
    ;;
14639
 
  esac
14640
 
 
14641
 
  ld_shlibs_F77=yes
14642
 
  if test "$with_gnu_ld" = yes; then
14643
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
14644
 
    wlarc='${wl}'
14645
 
 
14646
 
    # Set some defaults for GNU ld with shared library support. These
14647
 
    # are reset later if shared libraries are not supported. Putting them
14648
 
    # here allows them to be overridden if necessary.
14649
 
    runpath_var=LD_RUN_PATH
14650
 
    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
14651
 
    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
14652
 
    # ancient GNU ld didn't support --whole-archive et. al.
14653
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
14654
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14655
 
      else
14656
 
        whole_archive_flag_spec_F77=
14657
 
    fi
14658
 
    supports_anon_versioning=no
14659
 
    case `$LD -v 2>/dev/null` in
14660
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14661
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14662
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14663
 
      *\ 2.11.*) ;; # other 2.11 versions
14664
 
      *) supports_anon_versioning=yes ;;
14665
 
    esac
14666
 
 
14667
 
    # See if GNU ld supports shared libraries.
14668
 
    case $host_os in
14669
 
    aix[3-9]*)
14670
 
      # On AIX/PPC, the GNU linker is very broken
14671
 
      if test "$host_cpu" != ia64; then
14672
 
        ld_shlibs_F77=no
14673
 
        cat <<EOF 1>&2
14674
 
 
14675
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
14676
 
*** to be unable to reliably create shared libraries on AIX.
14677
 
*** Therefore, libtool is disabling shared libraries support.  If you
14678
 
*** really care for shared libraries, you may want to modify your PATH
14679
 
*** so that a non-GNU linker is found, and then restart.
14680
 
 
14681
 
EOF
14682
 
      fi
14683
 
      ;;
14684
 
 
14685
 
    amigaos*)
14686
 
      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)'
14687
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14688
 
      hardcode_minus_L_F77=yes
14689
 
 
14690
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14691
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
14692
 
      # to version 4, is to share data among multiple programs linked
14693
 
      # with the same dynamic library.  Since this doesn't match the
14694
 
      # behavior of shared libraries on other platforms, we can't use
14695
 
      # them.
14696
 
      ld_shlibs_F77=no
14697
 
      ;;
14698
 
 
14699
 
    beos*)
14700
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14701
 
        allow_undefined_flag_F77=unsupported
14702
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14703
 
        # support --undefined.  This deserves some investigation.  FIXME
14704
 
        archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14705
 
      else
14706
 
        ld_shlibs_F77=no
14707
 
      fi
14708
 
      ;;
14709
 
 
14710
 
    cygwin* | mingw* | pw32*)
14711
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14712
 
      # as there is no search path for DLLs.
14713
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14714
 
      allow_undefined_flag_F77=unsupported
14715
 
      always_export_symbols_F77=no
14716
 
      enable_shared_with_static_runtimes_F77=yes
14717
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14718
 
 
14719
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14720
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14721
 
        # If the export-symbols file already is a .def file (1st line
14722
 
        # is EXPORTS), use it as is; otherwise, prepend...
14723
 
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14724
 
          cp $export_symbols $output_objdir/$soname.def;
14725
 
        else
14726
 
          echo EXPORTS > $output_objdir/$soname.def;
14727
 
          cat $export_symbols >> $output_objdir/$soname.def;
14728
 
        fi~
14729
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14730
 
      else
14731
 
        ld_shlibs_F77=no
14732
 
      fi
14733
 
      ;;
14734
 
 
14735
 
    interix[3-9]*)
14736
 
      hardcode_direct_F77=no
14737
 
      hardcode_shlibpath_var_F77=no
14738
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14739
 
      export_dynamic_flag_spec_F77='${wl}-E'
14740
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14741
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
14742
 
      # default) and relocated if they conflict, which is a slow very memory
14743
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
14744
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14745
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
14746
 
      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'
14747
 
      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'
14748
 
      ;;
14749
 
 
14750
 
    gnu* | linux* | k*bsd*-gnu)
14751
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14752
 
        tmp_addflag=
14753
 
        case $cc_basename,$host_cpu in
14754
 
        pgcc*)                          # Portland Group C compiler
14755
 
          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'
14756
 
          tmp_addflag=' $pic_flag'
14757
 
          ;;
14758
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
14759
 
          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'
14760
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
14761
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
14762
 
          tmp_addflag=' -i_dynamic' ;;
14763
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
14764
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
14765
 
        ifc* | ifort*)                  # Intel Fortran compiler
14766
 
          tmp_addflag=' -nofor_main' ;;
14767
 
        esac
14768
 
        case `$CC -V 2>&1 | sed 5q` in
14769
 
        *Sun\ C*)                       # Sun C 5.9
14770
 
          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'
14771
 
          tmp_sharedflag='-G' ;;
14772
 
        *Sun\ F*)                       # Sun Fortran 8.3
14773
 
          tmp_sharedflag='-G' ;;
14774
 
        *)
14775
 
          tmp_sharedflag='-shared' ;;
14776
 
        esac
14777
 
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14778
 
 
14779
 
        if test $supports_anon_versioning = yes; then
14780
 
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
14781
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14782
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
14783
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14784
 
        fi
14785
 
        link_all_deplibs_F77=no
14786
 
      else
14787
 
        ld_shlibs_F77=no
14788
 
      fi
14789
 
      ;;
14790
 
 
14791
 
    netbsd* | netbsdelf*-gnu)
14792
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14793
 
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14794
 
        wlarc=
14795
 
      else
14796
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14797
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14798
 
      fi
14799
 
      ;;
14800
 
 
14801
 
    solaris*)
14802
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
14803
 
        ld_shlibs_F77=no
14804
 
        cat <<EOF 1>&2
14805
 
 
14806
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
14807
 
*** create shared libraries on Solaris systems.  Therefore, libtool
14808
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
14809
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
14810
 
*** your PATH or compiler configuration so that the native linker is
14811
 
*** used, and then restart.
14812
 
 
14813
 
EOF
14814
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14815
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14816
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14817
 
      else
14818
 
        ld_shlibs_F77=no
14819
 
      fi
14820
 
      ;;
14821
 
 
14822
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14823
 
      case `$LD -v 2>&1` in
14824
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14825
 
        ld_shlibs_F77=no
14826
 
        cat <<_LT_EOF 1>&2
14827
 
 
14828
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14829
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
14830
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
14831
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
14832
 
*** your PATH or compiler configuration so that the native linker is
14833
 
*** used, and then restart.
14834
 
 
14835
 
_LT_EOF
14836
 
        ;;
14837
 
        *)
14838
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14839
 
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14840
 
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14841
 
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14842
 
          else
14843
 
            ld_shlibs_F77=no
14844
 
          fi
14845
 
        ;;
14846
 
      esac
14847
 
      ;;
14848
 
 
14849
 
    sunos4*)
14850
 
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14851
 
      wlarc=
14852
 
      hardcode_direct_F77=yes
14853
 
      hardcode_shlibpath_var_F77=no
14854
 
      ;;
14855
 
 
14856
 
    *)
14857
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14858
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14859
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14860
 
      else
14861
 
        ld_shlibs_F77=no
14862
 
      fi
14863
 
      ;;
14864
 
    esac
14865
 
 
14866
 
    if test "$ld_shlibs_F77" = no; then
14867
 
      runpath_var=
14868
 
      hardcode_libdir_flag_spec_F77=
14869
 
      export_dynamic_flag_spec_F77=
14870
 
      whole_archive_flag_spec_F77=
14871
 
    fi
14872
 
  else
14873
 
    # PORTME fill in a description of your system's linker (not GNU ld)
14874
 
    case $host_os in
14875
 
    aix3*)
14876
 
      allow_undefined_flag_F77=unsupported
14877
 
      always_export_symbols_F77=yes
14878
 
      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'
14879
 
      # Note: this linker hardcodes the directories in LIBPATH if there
14880
 
      # are no directories specified by -L.
14881
 
      hardcode_minus_L_F77=yes
14882
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14883
 
        # Neither direct hardcoding nor static linking is supported with a
14884
 
        # broken collect2.
14885
 
        hardcode_direct_F77=unsupported
14886
 
      fi
14887
 
      ;;
14888
 
 
14889
 
    aix[4-9]*)
14890
 
      if test "$host_cpu" = ia64; then
14891
 
        # On IA64, the linker does run time linking by default, so we don't
14892
 
        # have to do anything special.
14893
 
        aix_use_runtimelinking=no
14894
 
        exp_sym_flag='-Bexport'
14895
 
        no_entry_flag=""
14896
 
      else
14897
 
        # If we're using GNU nm, then we don't want the "-C" option.
14898
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
14899
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
14900
 
          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'
14901
 
        else
14902
 
          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'
14903
 
        fi
14904
 
        aix_use_runtimelinking=no
14905
 
 
14906
 
        # Test if we are trying to use run time linking or normal
14907
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14908
 
        # need to do runtime linking.
14909
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14910
 
          for ld_flag in $LDFLAGS; do
14911
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14912
 
            aix_use_runtimelinking=yes
14913
 
            break
14914
 
          fi
14915
 
          done
14916
 
          ;;
14917
 
        esac
14918
 
 
14919
 
        exp_sym_flag='-bexport'
14920
 
        no_entry_flag='-bnoentry'
14921
 
      fi
14922
 
 
14923
 
      # When large executables or shared objects are built, AIX ld can
14924
 
      # have problems creating the table of contents.  If linking a library
14925
 
      # or program results in "error TOC overflow" add -mminimal-toc to
14926
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
14927
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14928
 
 
14929
 
      archive_cmds_F77=''
14930
 
      hardcode_direct_F77=yes
14931
 
      hardcode_libdir_separator_F77=':'
14932
 
      link_all_deplibs_F77=yes
14933
 
 
14934
 
      if test "$GCC" = yes; then
14935
 
        case $host_os in aix4.[012]|aix4.[012].*)
14936
 
        # We only want to do this on AIX 4.2 and lower, the check
14937
 
        # below for broken collect2 doesn't work under 4.3+
14938
 
          collect2name=`${CC} -print-prog-name=collect2`
14939
 
          if test -f "$collect2name" && \
14940
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
14941
 
          then
14942
 
          # We have reworked collect2
14943
 
          :
14944
 
          else
14945
 
          # We have old collect2
14946
 
          hardcode_direct_F77=unsupported
14947
 
          # It fails to find uninstalled libraries when the uninstalled
14948
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
14949
 
          # to unsupported forces relinking
14950
 
          hardcode_minus_L_F77=yes
14951
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
14952
 
          hardcode_libdir_separator_F77=
14953
 
          fi
14954
 
          ;;
14955
 
        esac
14956
 
        shared_flag='-shared'
14957
 
        if test "$aix_use_runtimelinking" = yes; then
14958
 
          shared_flag="$shared_flag "'${wl}-G'
14959
 
        fi
14960
 
      else
14961
 
        # not using gcc
14962
 
        if test "$host_cpu" = ia64; then
14963
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14964
 
        # chokes on -Wl,-G. The following line is correct:
14965
 
          shared_flag='-G'
14966
 
        else
14967
 
          if test "$aix_use_runtimelinking" = yes; then
14968
 
            shared_flag='${wl}-G'
14969
 
          else
14970
 
            shared_flag='${wl}-bM:SRE'
14971
 
          fi
14972
 
        fi
14973
 
      fi
14974
 
 
14975
 
      # It seems that -bexpall does not export symbols beginning with
14976
 
      # underscore (_), so it is better to generate a list of symbols to export.
14977
 
      always_export_symbols_F77=yes
14978
 
      if test "$aix_use_runtimelinking" = yes; then
14979
 
        # Warning - without using the other runtime loading flags (-brtl),
14980
 
        # -berok will link without error, but may produce a broken library.
14981
 
        allow_undefined_flag_F77='-berok'
14982
 
       # Determine the default libpath from the value encoded in an empty executable.
14983
 
       cat >conftest.$ac_ext <<_ACEOF
14984
 
      program main
14985
 
 
14986
 
      end
14987
 
_ACEOF
14988
 
rm -f conftest.$ac_objext conftest$ac_exeext
14989
 
if { (ac_try="$ac_link"
14990
 
case "(($ac_try" in
14991
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14992
 
  *) ac_try_echo=$ac_try;;
14993
 
esac
14994
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14995
 
  (eval "$ac_link") 2>conftest.er1
14996
 
  ac_status=$?
14997
 
  grep -v '^ *+' conftest.er1 >conftest.err
14998
 
  rm -f conftest.er1
14999
 
  cat conftest.err >&5
15000
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15001
 
  (exit $ac_status); } && {
15002
 
         test -z "$ac_f77_werror_flag" ||
15003
 
         test ! -s conftest.err
15004
 
       } && test -s conftest$ac_exeext &&
15005
 
       $as_test_x conftest$ac_exeext; then
15006
 
 
15007
 
lt_aix_libpath_sed='
15008
 
    /Import File Strings/,/^$/ {
15009
 
        /^0/ {
15010
 
            s/^0  *\(.*\)$/\1/
15011
 
            p
15012
 
        }
15013
 
    }'
15014
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15015
 
# Check for a 64-bit object if we didn't find anything.
15016
 
if test -z "$aix_libpath"; then
15017
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15018
 
fi
15019
 
else
15020
 
  echo "$as_me: failed program was:" >&5
15021
 
sed 's/^/| /' conftest.$ac_ext >&5
15022
 
 
15023
 
 
15024
 
fi
15025
 
 
15026
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15027
 
      conftest$ac_exeext conftest.$ac_ext
15028
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15029
 
 
15030
 
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15031
 
        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"
15032
 
       else
15033
 
        if test "$host_cpu" = ia64; then
15034
 
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
15035
 
          allow_undefined_flag_F77="-z nodefs"
15036
 
          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"
15037
 
        else
15038
 
         # Determine the default libpath from the value encoded in an empty executable.
15039
 
         cat >conftest.$ac_ext <<_ACEOF
15040
 
      program main
15041
 
 
15042
 
      end
15043
 
_ACEOF
15044
 
rm -f conftest.$ac_objext conftest$ac_exeext
15045
 
if { (ac_try="$ac_link"
15046
 
case "(($ac_try" in
15047
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15048
 
  *) ac_try_echo=$ac_try;;
15049
 
esac
15050
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15051
 
  (eval "$ac_link") 2>conftest.er1
15052
 
  ac_status=$?
15053
 
  grep -v '^ *+' conftest.er1 >conftest.err
15054
 
  rm -f conftest.er1
15055
 
  cat conftest.err >&5
15056
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15057
 
  (exit $ac_status); } && {
15058
 
         test -z "$ac_f77_werror_flag" ||
15059
 
         test ! -s conftest.err
15060
 
       } && test -s conftest$ac_exeext &&
15061
 
       $as_test_x conftest$ac_exeext; then
15062
 
 
15063
 
lt_aix_libpath_sed='
15064
 
    /Import File Strings/,/^$/ {
15065
 
        /^0/ {
15066
 
            s/^0  *\(.*\)$/\1/
15067
 
            p
15068
 
        }
15069
 
    }'
15070
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15071
 
# Check for a 64-bit object if we didn't find anything.
15072
 
if test -z "$aix_libpath"; then
15073
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15074
 
fi
15075
 
else
15076
 
  echo "$as_me: failed program was:" >&5
15077
 
sed 's/^/| /' conftest.$ac_ext >&5
15078
 
 
15079
 
 
15080
 
fi
15081
 
 
15082
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15083
 
      conftest$ac_exeext conftest.$ac_ext
15084
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15085
 
 
15086
 
         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15087
 
          # Warning - without using the other run time loading flags,
15088
 
          # -berok will link without error, but may produce a broken library.
15089
 
          no_undefined_flag_F77=' ${wl}-bernotok'
15090
 
          allow_undefined_flag_F77=' ${wl}-berok'
15091
 
          # Exported symbols can be pulled into shared objects from archives
15092
 
          whole_archive_flag_spec_F77='$convenience'
15093
 
          archive_cmds_need_lc_F77=yes
15094
 
          # This is similar to how AIX traditionally builds its shared libraries.
15095
 
          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'
15096
 
        fi
15097
 
      fi
15098
 
      ;;
15099
 
 
15100
 
    amigaos*)
15101
 
      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)'
15102
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15103
 
      hardcode_minus_L_F77=yes
15104
 
      # see comment about different semantics on the GNU ld section
15105
 
      ld_shlibs_F77=no
15106
 
      ;;
15107
 
 
15108
 
    bsdi[45]*)
15109
 
      export_dynamic_flag_spec_F77=-rdynamic
15110
 
      ;;
15111
 
 
15112
 
    cygwin* | mingw* | pw32*)
15113
 
      # When not using gcc, we currently assume that we are using
15114
 
      # Microsoft Visual C++.
15115
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
15116
 
      # no search path for DLLs.
15117
 
      hardcode_libdir_flag_spec_F77=' '
15118
 
      allow_undefined_flag_F77=unsupported
15119
 
      # Tell ltmain to make .lib files, not .a files.
15120
 
      libext=lib
15121
 
      # Tell ltmain to make .dll files, not .so files.
15122
 
      shrext_cmds=".dll"
15123
 
      # FIXME: Setting linknames here is a bad hack.
15124
 
      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15125
 
      # The linker will automatically build a .lib file if we build a DLL.
15126
 
      old_archive_From_new_cmds_F77='true'
15127
 
      # FIXME: Should let the user specify the lib program.
15128
 
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
15129
 
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
15130
 
      enable_shared_with_static_runtimes_F77=yes
15131
 
      ;;
15132
 
 
15133
 
    darwin* | rhapsody*)
15134
 
      case $host_os in
15135
 
        rhapsody* | darwin1.[012])
15136
 
         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
15137
 
         ;;
15138
 
       *) # Darwin 1.3 on
15139
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15140
 
           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15141
 
         else
15142
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
15143
 
             10.[012])
15144
 
               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15145
 
               ;;
15146
 
             10.*)
15147
 
               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
15148
 
               ;;
15149
 
           esac
15150
 
         fi
15151
 
         ;;
15152
 
      esac
15153
 
      archive_cmds_need_lc_F77=no
15154
 
      hardcode_direct_F77=no
15155
 
      hardcode_automatic_F77=yes
15156
 
      hardcode_shlibpath_var_F77=unsupported
15157
 
      whole_archive_flag_spec_F77=''
15158
 
      link_all_deplibs_F77=yes
15159
 
    if test "$GCC" = yes ; then
15160
 
        output_verbose_link_cmd='echo'
15161
 
        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}"
15162
 
        module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15163
 
        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}"
15164
 
        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}"
15165
 
    else
15166
 
      case $cc_basename in
15167
 
        xlc*)
15168
 
         output_verbose_link_cmd='echo'
15169
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
15170
 
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15171
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15172
 
         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}'
15173
 
          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}'
15174
 
          ;;
15175
 
       *)
15176
 
         ld_shlibs_F77=no
15177
 
          ;;
15178
 
      esac
15179
 
    fi
15180
 
      ;;
15181
 
 
15182
 
    dgux*)
15183
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15184
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15185
 
      hardcode_shlibpath_var_F77=no
15186
 
      ;;
15187
 
 
15188
 
    freebsd1*)
15189
 
      ld_shlibs_F77=no
15190
 
      ;;
15191
 
 
15192
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15193
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
15194
 
    # does not break anything, and helps significantly (at the cost of a little
15195
 
    # extra space).
15196
 
    freebsd2.2*)
15197
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15198
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15199
 
      hardcode_direct_F77=yes
15200
 
      hardcode_shlibpath_var_F77=no
15201
 
      ;;
15202
 
 
15203
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15204
 
    freebsd2*)
15205
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15206
 
      hardcode_direct_F77=yes
15207
 
      hardcode_minus_L_F77=yes
15208
 
      hardcode_shlibpath_var_F77=no
15209
 
      ;;
15210
 
 
15211
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15212
 
    freebsd* | dragonfly*)
15213
 
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15214
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15215
 
      hardcode_direct_F77=yes
15216
 
      hardcode_shlibpath_var_F77=no
15217
 
      ;;
15218
 
 
15219
 
    hpux9*)
15220
 
      if test "$GCC" = yes; then
15221
 
        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'
15222
 
      else
15223
 
        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'
15224
 
      fi
15225
 
      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15226
 
      hardcode_libdir_separator_F77=:
15227
 
      hardcode_direct_F77=yes
15228
 
 
15229
 
      # hardcode_minus_L: Not really in the search PATH,
15230
 
      # but as the default location of the library.
15231
 
      hardcode_minus_L_F77=yes
15232
 
      export_dynamic_flag_spec_F77='${wl}-E'
15233
 
      ;;
15234
 
 
15235
 
    hpux10*)
15236
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15237
 
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15238
 
      else
15239
 
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15240
 
      fi
15241
 
      if test "$with_gnu_ld" = no; then
15242
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15243
 
        hardcode_libdir_separator_F77=:
15244
 
 
15245
 
        hardcode_direct_F77=yes
15246
 
        export_dynamic_flag_spec_F77='${wl}-E'
15247
 
 
15248
 
        # hardcode_minus_L: Not really in the search PATH,
15249
 
        # but as the default location of the library.
15250
 
        hardcode_minus_L_F77=yes
15251
 
      fi
15252
 
      ;;
15253
 
 
15254
 
    hpux11*)
15255
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15256
 
        case $host_cpu in
15257
 
        hppa*64*)
15258
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15259
 
          ;;
15260
 
        ia64*)
15261
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15262
 
          ;;
15263
 
        *)
15264
 
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15265
 
          ;;
15266
 
        esac
15267
 
      else
15268
 
        case $host_cpu in
15269
 
        hppa*64*)
15270
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15271
 
          ;;
15272
 
        ia64*)
15273
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15274
 
          ;;
15275
 
        *)
15276
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15277
 
          ;;
15278
 
        esac
15279
 
      fi
15280
 
      if test "$with_gnu_ld" = no; then
15281
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15282
 
        hardcode_libdir_separator_F77=:
15283
 
 
15284
 
        case $host_cpu in
15285
 
        hppa*64*|ia64*)
15286
 
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
15287
 
          hardcode_direct_F77=no
15288
 
          hardcode_shlibpath_var_F77=no
15289
 
          ;;
15290
 
        *)
15291
 
          hardcode_direct_F77=yes
15292
 
          export_dynamic_flag_spec_F77='${wl}-E'
15293
 
 
15294
 
          # hardcode_minus_L: Not really in the search PATH,
15295
 
          # but as the default location of the library.
15296
 
          hardcode_minus_L_F77=yes
15297
 
          ;;
15298
 
        esac
15299
 
      fi
15300
 
      ;;
15301
 
 
15302
 
    irix5* | irix6* | nonstopux*)
15303
 
      if test "$GCC" = yes; then
15304
 
        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'
15305
 
      else
15306
 
        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'
15307
 
        hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
15308
 
      fi
15309
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15310
 
      hardcode_libdir_separator_F77=:
15311
 
      link_all_deplibs_F77=yes
15312
 
      ;;
15313
 
 
15314
 
    netbsd* | netbsdelf*-gnu)
15315
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15316
 
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
15317
 
      else
15318
 
        archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
15319
 
      fi
15320
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15321
 
      hardcode_direct_F77=yes
15322
 
      hardcode_shlibpath_var_F77=no
15323
 
      ;;
15324
 
 
15325
 
    newsos6)
15326
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15327
 
      hardcode_direct_F77=yes
15328
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15329
 
      hardcode_libdir_separator_F77=:
15330
 
      hardcode_shlibpath_var_F77=no
15331
 
      ;;
15332
 
 
15333
 
    openbsd*)
15334
 
      if test -f /usr/libexec/ld.so; then
15335
 
        hardcode_direct_F77=yes
15336
 
        hardcode_shlibpath_var_F77=no
15337
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15338
 
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15339
 
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15340
 
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15341
 
          export_dynamic_flag_spec_F77='${wl}-E'
15342
 
        else
15343
 
          case $host_os in
15344
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15345
 
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15346
 
             hardcode_libdir_flag_spec_F77='-R$libdir'
15347
 
             ;;
15348
 
           *)
15349
 
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15350
 
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15351
 
             ;;
15352
 
          esac
15353
 
        fi
15354
 
      else
15355
 
        ld_shlibs_F77=no
15356
 
      fi
15357
 
      ;;
15358
 
 
15359
 
    os2*)
15360
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15361
 
      hardcode_minus_L_F77=yes
15362
 
      allow_undefined_flag_F77=unsupported
15363
 
      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'
15364
 
      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15365
 
      ;;
15366
 
 
15367
 
    osf3*)
15368
 
      if test "$GCC" = yes; then
15369
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15370
 
        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'
15371
 
      else
15372
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
15373
 
        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'
15374
 
      fi
15375
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15376
 
      hardcode_libdir_separator_F77=:
15377
 
      ;;
15378
 
 
15379
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
15380
 
      if test "$GCC" = yes; then
15381
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15382
 
        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'
15383
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15384
 
      else
15385
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
15386
 
        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'
15387
 
        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~
15388
 
        $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'
15389
 
 
15390
 
        # Both c and cxx compiler support -rpath directly
15391
 
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
15392
 
      fi
15393
 
      hardcode_libdir_separator_F77=:
15394
 
      ;;
15395
 
 
15396
 
    solaris*)
15397
 
      no_undefined_flag_F77=' -z text'
15398
 
      if test "$GCC" = yes; then
15399
 
        wlarc='${wl}'
15400
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15401
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15402
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15403
 
      else
15404
 
        wlarc=''
15405
 
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15406
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15407
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15408
 
      fi
15409
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15410
 
      hardcode_shlibpath_var_F77=no
15411
 
      case $host_os in
15412
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
15413
 
      *)
15414
 
        # The compiler driver will combine and reorder linker options,
15415
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
15416
 
        # but is careful enough not to reorder.
15417
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
15418
 
        if test "$GCC" = yes; then
15419
 
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15420
 
        else
15421
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
15422
 
        fi
15423
 
        ;;
15424
 
      esac
15425
 
      link_all_deplibs_F77=yes
15426
 
      ;;
15427
 
 
15428
 
    sunos4*)
15429
 
      if test "x$host_vendor" = xsequent; then
15430
 
        # Use $CC to link under sequent, because it throws in some extra .o
15431
 
        # files that make .init and .fini sections work.
15432
 
        archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15433
 
      else
15434
 
        archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15435
 
      fi
15436
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15437
 
      hardcode_direct_F77=yes
15438
 
      hardcode_minus_L_F77=yes
15439
 
      hardcode_shlibpath_var_F77=no
15440
 
      ;;
15441
 
 
15442
 
    sysv4)
15443
 
      case $host_vendor in
15444
 
        sni)
15445
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15446
 
          hardcode_direct_F77=yes # is this really true???
15447
 
        ;;
15448
 
        siemens)
15449
 
          ## LD is ld it makes a PLAMLIB
15450
 
          ## CC just makes a GrossModule.
15451
 
          archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15452
 
          reload_cmds_F77='$CC -r -o $output$reload_objs'
15453
 
          hardcode_direct_F77=no
15454
 
        ;;
15455
 
        motorola)
15456
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15457
 
          hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
15458
 
        ;;
15459
 
      esac
15460
 
      runpath_var='LD_RUN_PATH'
15461
 
      hardcode_shlibpath_var_F77=no
15462
 
      ;;
15463
 
 
15464
 
    sysv4.3*)
15465
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15466
 
      hardcode_shlibpath_var_F77=no
15467
 
      export_dynamic_flag_spec_F77='-Bexport'
15468
 
      ;;
15469
 
 
15470
 
    sysv4*MP*)
15471
 
      if test -d /usr/nec; then
15472
 
        archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15473
 
        hardcode_shlibpath_var_F77=no
15474
 
        runpath_var=LD_RUN_PATH
15475
 
        hardcode_runpath_var=yes
15476
 
        ld_shlibs_F77=yes
15477
 
      fi
15478
 
      ;;
15479
 
 
15480
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15481
 
      no_undefined_flag_F77='${wl}-z,text'
15482
 
      archive_cmds_need_lc_F77=no
15483
 
      hardcode_shlibpath_var_F77=no
15484
 
      runpath_var='LD_RUN_PATH'
15485
 
 
15486
 
      if test "$GCC" = yes; then
15487
 
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15488
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15489
 
      else
15490
 
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15491
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15492
 
      fi
15493
 
      ;;
15494
 
 
15495
 
    sysv5* | sco3.2v5* | sco5v6*)
15496
 
      # Note: We can NOT use -z defs as we might desire, because we do not
15497
 
      # link with -lc, and that would cause any symbols used from libc to
15498
 
      # always be unresolved, which means just about no library would
15499
 
      # ever link correctly.  If we're not using GNU ld we use -z text
15500
 
      # though, which does catch some bad symbols but isn't as heavy-handed
15501
 
      # as -z defs.
15502
 
      no_undefined_flag_F77='${wl}-z,text'
15503
 
      allow_undefined_flag_F77='${wl}-z,nodefs'
15504
 
      archive_cmds_need_lc_F77=no
15505
 
      hardcode_shlibpath_var_F77=no
15506
 
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15507
 
      hardcode_libdir_separator_F77=':'
15508
 
      link_all_deplibs_F77=yes
15509
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
15510
 
      runpath_var='LD_RUN_PATH'
15511
 
 
15512
 
      if test "$GCC" = yes; then
15513
 
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15514
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15515
 
      else
15516
 
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15517
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15518
 
      fi
15519
 
      ;;
15520
 
 
15521
 
    uts4*)
15522
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15523
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15524
 
      hardcode_shlibpath_var_F77=no
15525
 
      ;;
15526
 
 
15527
 
    *)
15528
 
      ld_shlibs_F77=no
15529
 
      ;;
15530
 
    esac
15531
 
  fi
15532
 
 
15533
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15534
 
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15535
 
test "$ld_shlibs_F77" = no && can_build_shared=no
15536
 
 
15537
 
#
15538
 
# Do we need to explicitly link libc?
15539
 
#
15540
 
case "x$archive_cmds_need_lc_F77" in
15541
 
x|xyes)
15542
 
  # Assume -lc should be added
15543
 
  archive_cmds_need_lc_F77=yes
15544
 
 
15545
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
15546
 
    case $archive_cmds_F77 in
15547
 
    *'~'*)
15548
 
      # FIXME: we may have to deal with multi-command sequences.
15549
 
      ;;
15550
 
    '$CC '*)
15551
 
      # Test whether the compiler implicitly links with -lc since on some
15552
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
15553
 
      # to ld, don't add -lc before -lgcc.
15554
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15555
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15556
 
      $rm conftest*
15557
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15558
 
 
15559
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15560
 
  (eval $ac_compile) 2>&5
15561
 
  ac_status=$?
15562
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15563
 
  (exit $ac_status); } 2>conftest.err; then
15564
 
        soname=conftest
15565
 
        lib=conftest
15566
 
        libobjs=conftest.$ac_objext
15567
 
        deplibs=
15568
 
        wl=$lt_prog_compiler_wl_F77
15569
 
        pic_flag=$lt_prog_compiler_pic_F77
15570
 
        compiler_flags=-v
15571
 
        linker_flags=-v
15572
 
        verstring=
15573
 
        output_objdir=.
15574
 
        libname=conftest
15575
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
15576
 
        allow_undefined_flag_F77=
15577
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15578
 
  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
15579
 
  ac_status=$?
15580
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15581
 
  (exit $ac_status); }
15582
 
        then
15583
 
          archive_cmds_need_lc_F77=no
15584
 
        else
15585
 
          archive_cmds_need_lc_F77=yes
15586
 
        fi
15587
 
        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
15588
 
      else
15589
 
        cat conftest.err 1>&5
15590
 
      fi
15591
 
      $rm conftest*
15592
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15593
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15594
 
      ;;
15595
 
    esac
15596
 
  fi
15597
 
  ;;
15598
 
esac
15599
 
 
15600
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15601
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15602
 
library_names_spec=
15603
 
libname_spec='lib$name'
15604
 
soname_spec=
15605
 
shrext_cmds=".so"
15606
 
postinstall_cmds=
15607
 
postuninstall_cmds=
15608
 
finish_cmds=
15609
 
finish_eval=
15610
 
shlibpath_var=
15611
 
shlibpath_overrides_runpath=unknown
15612
 
version_type=none
15613
 
dynamic_linker="$host_os ld.so"
15614
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
15615
 
 
15616
 
need_lib_prefix=unknown
15617
 
hardcode_into_libs=no
15618
 
 
15619
 
# when you set need_version to no, make sure it does not cause -set_version
15620
 
# flags to be left without arguments
15621
 
need_version=unknown
15622
 
 
15623
 
case $host_os in
15624
 
aix3*)
15625
 
  version_type=linux
15626
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15627
 
  shlibpath_var=LIBPATH
15628
 
 
15629
 
  # AIX 3 has no versioning support, so we append a major version to the name.
15630
 
  soname_spec='${libname}${release}${shared_ext}$major'
15631
 
  ;;
15632
 
 
15633
 
aix[4-9]*)
15634
 
  version_type=linux
15635
 
  need_lib_prefix=no
15636
 
  need_version=no
15637
 
  hardcode_into_libs=yes
15638
 
  if test "$host_cpu" = ia64; then
15639
 
    # AIX 5 supports IA64
15640
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15641
 
    shlibpath_var=LD_LIBRARY_PATH
15642
 
  else
15643
 
    # With GCC up to 2.95.x, collect2 would create an import file
15644
 
    # for dependence libraries.  The import file would start with
15645
 
    # the line `#! .'.  This would cause the generated library to
15646
 
    # depend on `.', always an invalid library.  This was fixed in
15647
 
    # development snapshots of GCC prior to 3.0.
15648
 
    case $host_os in
15649
 
      aix4 | aix4.[01] | aix4.[01].*)
15650
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15651
 
           echo ' yes '
15652
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
15653
 
        :
15654
 
      else
15655
 
        can_build_shared=no
15656
 
      fi
15657
 
      ;;
15658
 
    esac
15659
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15660
 
    # soname into executable. Probably we can add versioning support to
15661
 
    # collect2, so additional links can be useful in future.
15662
 
    if test "$aix_use_runtimelinking" = yes; then
15663
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15664
 
      # instead of lib<name>.a to let people know that these are not
15665
 
      # typical AIX shared libraries.
15666
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15667
 
    else
15668
 
      # We preserve .a as extension for shared libraries through AIX4.2
15669
 
      # and later when we are not doing run time linking.
15670
 
      library_names_spec='${libname}${release}.a $libname.a'
15671
 
      soname_spec='${libname}${release}${shared_ext}$major'
15672
 
    fi
15673
 
    shlibpath_var=LIBPATH
15674
 
  fi
15675
 
  ;;
15676
 
 
15677
 
amigaos*)
15678
 
  library_names_spec='$libname.ixlibrary $libname.a'
15679
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
15680
 
  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'
15681
 
  ;;
15682
 
 
15683
 
beos*)
15684
 
  library_names_spec='${libname}${shared_ext}'
15685
 
  dynamic_linker="$host_os ld.so"
15686
 
  shlibpath_var=LIBRARY_PATH
15687
 
  ;;
15688
 
 
15689
 
bsdi[45]*)
15690
 
  version_type=linux
15691
 
  need_version=no
15692
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15693
 
  soname_spec='${libname}${release}${shared_ext}$major'
15694
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15695
 
  shlibpath_var=LD_LIBRARY_PATH
15696
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15697
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15698
 
  # the default ld.so.conf also contains /usr/contrib/lib and
15699
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15700
 
  # libtool to hard-code these into programs
15701
 
  ;;
15702
 
 
15703
 
cygwin* | mingw* | pw32*)
15704
 
  version_type=windows
15705
 
  shrext_cmds=".dll"
15706
 
  need_version=no
15707
 
  need_lib_prefix=no
15708
 
 
15709
 
  case $GCC,$host_os in
15710
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
15711
 
    library_names_spec='$libname.dll.a'
15712
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
15713
 
    postinstall_cmds='base_file=`basename \${file}`~
15714
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15715
 
      dldir=$destdir/`dirname \$dlpath`~
15716
 
      test -d \$dldir || mkdir -p \$dldir~
15717
 
      $install_prog $dir/$dlname \$dldir/$dlname~
15718
 
      chmod a+x \$dldir/$dlname'
15719
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15720
 
      dlpath=$dir/\$dldll~
15721
 
       $rm \$dlpath'
15722
 
    shlibpath_overrides_runpath=yes
15723
 
 
15724
 
    case $host_os in
15725
 
    cygwin*)
15726
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15727
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15728
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15729
 
      ;;
15730
 
    mingw*)
15731
 
      # MinGW DLLs use traditional 'lib' prefix
15732
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15733
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15734
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
15735
 
        # It is most probably a Windows format PATH printed by
15736
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
15737
 
        # path with ; separators, and with drive letters. We can handle the
15738
 
        # drive letters (cygwin fileutils understands them), so leave them,
15739
 
        # especially as we might pass files found there to a mingw objdump,
15740
 
        # which wouldn't understand a cygwinified path. Ahh.
15741
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15742
 
      else
15743
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
15744
 
      fi
15745
 
      ;;
15746
 
    pw32*)
15747
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
15748
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15749
 
      ;;
15750
 
    esac
15751
 
    ;;
15752
 
 
15753
 
  *)
15754
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15755
 
    ;;
15756
 
  esac
15757
 
  dynamic_linker='Win32 ld.exe'
15758
 
  # FIXME: first we should search . and the directory the executable is in
15759
 
  shlibpath_var=PATH
15760
 
  ;;
15761
 
 
15762
 
darwin* | rhapsody*)
15763
 
  dynamic_linker="$host_os dyld"
15764
 
  version_type=darwin
15765
 
  need_lib_prefix=no
15766
 
  need_version=no
15767
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15768
 
  soname_spec='${libname}${release}${major}$shared_ext'
15769
 
  shlibpath_overrides_runpath=yes
15770
 
  shlibpath_var=DYLD_LIBRARY_PATH
15771
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15772
 
 
15773
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15774
 
  ;;
15775
 
 
15776
 
dgux*)
15777
 
  version_type=linux
15778
 
  need_lib_prefix=no
15779
 
  need_version=no
15780
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15781
 
  soname_spec='${libname}${release}${shared_ext}$major'
15782
 
  shlibpath_var=LD_LIBRARY_PATH
15783
 
  ;;
15784
 
 
15785
 
freebsd1*)
15786
 
  dynamic_linker=no
15787
 
  ;;
15788
 
 
15789
 
freebsd* | dragonfly*)
15790
 
  # DragonFly does not have aout.  When/if they implement a new
15791
 
  # versioning mechanism, adjust this.
15792
 
  if test -x /usr/bin/objformat; then
15793
 
    objformat=`/usr/bin/objformat`
15794
 
  else
15795
 
    case $host_os in
15796
 
    freebsd[123]*) objformat=aout ;;
15797
 
    *) objformat=elf ;;
15798
 
    esac
15799
 
  fi
15800
 
  version_type=freebsd-$objformat
15801
 
  case $version_type in
15802
 
    freebsd-elf*)
15803
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15804
 
      need_version=no
15805
 
      need_lib_prefix=no
15806
 
      ;;
15807
 
    freebsd-*)
15808
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15809
 
      need_version=yes
15810
 
      ;;
15811
 
  esac
15812
 
  shlibpath_var=LD_LIBRARY_PATH
15813
 
  case $host_os in
15814
 
  freebsd2*)
15815
 
    shlibpath_overrides_runpath=yes
15816
 
    ;;
15817
 
  freebsd3.[01]* | freebsdelf3.[01]*)
15818
 
    shlibpath_overrides_runpath=yes
15819
 
    hardcode_into_libs=yes
15820
 
    ;;
15821
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15822
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15823
 
    shlibpath_overrides_runpath=no
15824
 
    hardcode_into_libs=yes
15825
 
    ;;
15826
 
  *) # from 4.6 on, and DragonFly
15827
 
    shlibpath_overrides_runpath=yes
15828
 
    hardcode_into_libs=yes
15829
 
    ;;
15830
 
  esac
15831
 
  ;;
15832
 
 
15833
 
gnu*)
15834
 
  version_type=linux
15835
 
  need_lib_prefix=no
15836
 
  need_version=no
15837
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15838
 
  soname_spec='${libname}${release}${shared_ext}$major'
15839
 
  shlibpath_var=LD_LIBRARY_PATH
15840
 
  hardcode_into_libs=yes
15841
 
  ;;
15842
 
 
15843
 
hpux9* | hpux10* | hpux11*)
15844
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
15845
 
  # link against other versions.
15846
 
  version_type=sunos
15847
 
  need_lib_prefix=no
15848
 
  need_version=no
15849
 
  case $host_cpu in
15850
 
  ia64*)
15851
 
    shrext_cmds='.so'
15852
 
    hardcode_into_libs=yes
15853
 
    dynamic_linker="$host_os dld.so"
15854
 
    shlibpath_var=LD_LIBRARY_PATH
15855
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15856
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15857
 
    soname_spec='${libname}${release}${shared_ext}$major'
15858
 
    if test "X$HPUX_IA64_MODE" = X32; then
15859
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15860
 
    else
15861
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15862
 
    fi
15863
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15864
 
    ;;
15865
 
   hppa*64*)
15866
 
     shrext_cmds='.sl'
15867
 
     hardcode_into_libs=yes
15868
 
     dynamic_linker="$host_os dld.sl"
15869
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15870
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15871
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15872
 
     soname_spec='${libname}${release}${shared_ext}$major'
15873
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15874
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15875
 
     ;;
15876
 
   *)
15877
 
    shrext_cmds='.sl'
15878
 
    dynamic_linker="$host_os dld.sl"
15879
 
    shlibpath_var=SHLIB_PATH
15880
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15881
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15882
 
    soname_spec='${libname}${release}${shared_ext}$major'
15883
 
    ;;
15884
 
  esac
15885
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
15886
 
  postinstall_cmds='chmod 555 $lib'
15887
 
  ;;
15888
 
 
15889
 
interix[3-9]*)
15890
 
  version_type=linux
15891
 
  need_lib_prefix=no
15892
 
  need_version=no
15893
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15894
 
  soname_spec='${libname}${release}${shared_ext}$major'
15895
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15896
 
  shlibpath_var=LD_LIBRARY_PATH
15897
 
  shlibpath_overrides_runpath=no
15898
 
  hardcode_into_libs=yes
15899
 
  ;;
15900
 
 
15901
 
irix5* | irix6* | nonstopux*)
15902
 
  case $host_os in
15903
 
    nonstopux*) version_type=nonstopux ;;
15904
 
    *)
15905
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
15906
 
                version_type=linux
15907
 
        else
15908
 
                version_type=irix
15909
 
        fi ;;
15910
 
  esac
15911
 
  need_lib_prefix=no
15912
 
  need_version=no
15913
 
  soname_spec='${libname}${release}${shared_ext}$major'
15914
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15915
 
  case $host_os in
15916
 
  irix5* | nonstopux*)
15917
 
    libsuff= shlibsuff=
15918
 
    ;;
15919
 
  *)
15920
 
    case $LD in # libtool.m4 will add one of these switches to LD
15921
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15922
 
      libsuff= shlibsuff= libmagic=32-bit;;
15923
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15924
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
15925
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15926
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
15927
 
    *) libsuff= shlibsuff= libmagic=never-match;;
15928
 
    esac
15929
 
    ;;
15930
 
  esac
15931
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15932
 
  shlibpath_overrides_runpath=no
15933
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15934
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15935
 
  hardcode_into_libs=yes
15936
 
  ;;
15937
 
 
15938
 
# No shared lib support for Linux oldld, aout, or coff.
15939
 
linux*oldld* | linux*aout* | linux*coff*)
15940
 
  dynamic_linker=no
15941
 
  ;;
15942
 
 
15943
 
# This must be Linux ELF.
15944
 
linux* | k*bsd*-gnu)
15945
 
  version_type=linux
15946
 
  need_lib_prefix=no
15947
 
  need_version=no
15948
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15949
 
  soname_spec='${libname}${release}${shared_ext}$major'
15950
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15951
 
  shlibpath_var=LD_LIBRARY_PATH
15952
 
  shlibpath_overrides_runpath=no
15953
 
  # This implies no fast_install, which is unacceptable.
15954
 
  # Some rework will be needed to allow for fast_install
15955
 
  # before this can be enabled.
15956
 
  hardcode_into_libs=yes
15957
 
 
15958
 
  # Append ld.so.conf contents to the search path
15959
 
  if test -f /etc/ld.so.conf; then
15960
 
    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' ' '`
15961
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15962
 
  fi
15963
 
 
15964
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
15965
 
  # powerpc, because MkLinux only supported shared libraries with the
15966
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
15967
 
  # most powerpc-linux boxes support dynamic linking these days and
15968
 
  # people can always --disable-shared, the test was removed, and we
15969
 
  # assume the GNU/Linux dynamic linker is in use.
15970
 
  dynamic_linker='GNU/Linux ld.so'
15971
 
  ;;
15972
 
 
15973
 
netbsdelf*-gnu)
15974
 
  version_type=linux
15975
 
  need_lib_prefix=no
15976
 
  need_version=no
15977
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15978
 
  soname_spec='${libname}${release}${shared_ext}$major'
15979
 
  shlibpath_var=LD_LIBRARY_PATH
15980
 
  shlibpath_overrides_runpath=no
15981
 
  hardcode_into_libs=yes
15982
 
  dynamic_linker='NetBSD ld.elf_so'
15983
 
  ;;
15984
 
 
15985
 
netbsd*)
15986
 
  version_type=sunos
15987
 
  need_lib_prefix=no
15988
 
  need_version=no
15989
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15990
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15991
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15992
 
    dynamic_linker='NetBSD (a.out) ld.so'
15993
 
  else
15994
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15995
 
    soname_spec='${libname}${release}${shared_ext}$major'
15996
 
    dynamic_linker='NetBSD ld.elf_so'
15997
 
  fi
15998
 
  shlibpath_var=LD_LIBRARY_PATH
15999
 
  shlibpath_overrides_runpath=yes
16000
 
  hardcode_into_libs=yes
16001
 
  ;;
16002
 
 
16003
 
newsos6)
16004
 
  version_type=linux
16005
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16006
 
  shlibpath_var=LD_LIBRARY_PATH
16007
 
  shlibpath_overrides_runpath=yes
16008
 
  ;;
16009
 
 
16010
 
nto-qnx*)
16011
 
  version_type=linux
16012
 
  need_lib_prefix=no
16013
 
  need_version=no
16014
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16015
 
  soname_spec='${libname}${release}${shared_ext}$major'
16016
 
  shlibpath_var=LD_LIBRARY_PATH
16017
 
  shlibpath_overrides_runpath=yes
16018
 
  ;;
16019
 
 
16020
 
openbsd*)
16021
 
  version_type=sunos
16022
 
  sys_lib_dlsearch_path_spec="/usr/lib"
16023
 
  need_lib_prefix=no
16024
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16025
 
  case $host_os in
16026
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16027
 
    *)                         need_version=no  ;;
16028
 
  esac
16029
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16030
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16031
 
  shlibpath_var=LD_LIBRARY_PATH
16032
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16033
 
    case $host_os in
16034
 
      openbsd2.[89] | openbsd2.[89].*)
16035
 
        shlibpath_overrides_runpath=no
16036
 
        ;;
16037
 
      *)
16038
 
        shlibpath_overrides_runpath=yes
16039
 
        ;;
16040
 
      esac
16041
 
  else
16042
 
    shlibpath_overrides_runpath=yes
16043
 
  fi
16044
 
  ;;
16045
 
 
16046
 
os2*)
16047
 
  libname_spec='$name'
16048
 
  shrext_cmds=".dll"
16049
 
  need_lib_prefix=no
16050
 
  library_names_spec='$libname${shared_ext} $libname.a'
16051
 
  dynamic_linker='OS/2 ld.exe'
16052
 
  shlibpath_var=LIBPATH
16053
 
  ;;
16054
 
 
16055
 
osf3* | osf4* | osf5*)
16056
 
  version_type=osf
16057
 
  need_lib_prefix=no
16058
 
  need_version=no
16059
 
  soname_spec='${libname}${release}${shared_ext}$major'
16060
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16061
 
  shlibpath_var=LD_LIBRARY_PATH
16062
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16063
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16064
 
  ;;
16065
 
 
16066
 
rdos*)
16067
 
  dynamic_linker=no
16068
 
  ;;
16069
 
 
16070
 
solaris*)
16071
 
  version_type=linux
16072
 
  need_lib_prefix=no
16073
 
  need_version=no
16074
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16075
 
  soname_spec='${libname}${release}${shared_ext}$major'
16076
 
  shlibpath_var=LD_LIBRARY_PATH
16077
 
  shlibpath_overrides_runpath=yes
16078
 
  hardcode_into_libs=yes
16079
 
  # ldd complains unless libraries are executable
16080
 
  postinstall_cmds='chmod +x $lib'
16081
 
  ;;
16082
 
 
16083
 
sunos4*)
16084
 
  version_type=sunos
16085
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16086
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16087
 
  shlibpath_var=LD_LIBRARY_PATH
16088
 
  shlibpath_overrides_runpath=yes
16089
 
  if test "$with_gnu_ld" = yes; then
16090
 
    need_lib_prefix=no
16091
 
  fi
16092
 
  need_version=yes
16093
 
  ;;
16094
 
 
16095
 
sysv4 | sysv4.3*)
16096
 
  version_type=linux
16097
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16098
 
  soname_spec='${libname}${release}${shared_ext}$major'
16099
 
  shlibpath_var=LD_LIBRARY_PATH
16100
 
  case $host_vendor in
16101
 
    sni)
16102
 
      shlibpath_overrides_runpath=no
16103
 
      need_lib_prefix=no
16104
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
16105
 
      runpath_var=LD_RUN_PATH
16106
 
      ;;
16107
 
    siemens)
16108
 
      need_lib_prefix=no
16109
 
      ;;
16110
 
    motorola)
16111
 
      need_lib_prefix=no
16112
 
      need_version=no
16113
 
      shlibpath_overrides_runpath=no
16114
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16115
 
      ;;
16116
 
  esac
16117
 
  ;;
16118
 
 
16119
 
sysv4*MP*)
16120
 
  if test -d /usr/nec ;then
16121
 
    version_type=linux
16122
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16123
 
    soname_spec='$libname${shared_ext}.$major'
16124
 
    shlibpath_var=LD_LIBRARY_PATH
16125
 
  fi
16126
 
  ;;
16127
 
 
16128
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16129
 
  version_type=freebsd-elf
16130
 
  need_lib_prefix=no
16131
 
  need_version=no
16132
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16133
 
  soname_spec='${libname}${release}${shared_ext}$major'
16134
 
  shlibpath_var=LD_LIBRARY_PATH
16135
 
  hardcode_into_libs=yes
16136
 
  if test "$with_gnu_ld" = yes; then
16137
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16138
 
    shlibpath_overrides_runpath=no
16139
 
  else
16140
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16141
 
    shlibpath_overrides_runpath=yes
16142
 
    case $host_os in
16143
 
      sco3.2v5*)
16144
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16145
 
        ;;
16146
 
    esac
16147
 
  fi
16148
 
  sys_lib_dlsearch_path_spec='/usr/lib'
16149
 
  ;;
16150
 
 
16151
 
uts4*)
16152
 
  version_type=linux
16153
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16154
 
  soname_spec='${libname}${release}${shared_ext}$major'
16155
 
  shlibpath_var=LD_LIBRARY_PATH
16156
 
  ;;
16157
 
 
16158
 
*)
16159
 
  dynamic_linker=no
16160
 
  ;;
16161
 
esac
16162
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16163
 
echo "${ECHO_T}$dynamic_linker" >&6; }
16164
 
test "$dynamic_linker" = no && can_build_shared=no
16165
 
 
16166
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16167
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16168
 
else
16169
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
16170
 
fi
16171
 
 
16172
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16173
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16174
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16175
 
else
16176
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
16177
 
fi
16178
 
 
16179
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16180
 
 
16181
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16182
 
if test "$GCC" = yes; then
16183
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16184
 
fi
16185
 
 
16186
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16187
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16188
 
hardcode_action_F77=
16189
 
if test -n "$hardcode_libdir_flag_spec_F77" || \
16190
 
   test -n "$runpath_var_F77" || \
16191
 
   test "X$hardcode_automatic_F77" = "Xyes" ; then
16192
 
 
16193
 
  # We can hardcode non-existant directories.
16194
 
  if test "$hardcode_direct_F77" != no &&
16195
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
16196
 
     # have to relink, otherwise we might link with an installed library
16197
 
     # when we should be linking with a yet-to-be-installed one
16198
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16199
 
     test "$hardcode_minus_L_F77" != no; then
16200
 
    # Linking always hardcodes the temporary library directory.
16201
 
    hardcode_action_F77=relink
16202
 
  else
16203
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
16204
 
    hardcode_action_F77=immediate
16205
 
  fi
16206
 
else
16207
 
  # We cannot hardcode anything, or else we can only hardcode existing
16208
 
  # directories.
16209
 
  hardcode_action_F77=unsupported
16210
 
fi
16211
 
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16212
 
echo "${ECHO_T}$hardcode_action_F77" >&6; }
16213
 
 
16214
 
if test "$hardcode_action_F77" = relink; then
16215
 
  # Fast installation is not supported
16216
 
  enable_fast_install=no
16217
 
elif test "$shlibpath_overrides_runpath" = yes ||
16218
 
     test "$enable_shared" = no; then
16219
 
  # Fast installation is not necessary
16220
 
  enable_fast_install=needless
16221
 
fi
16222
 
 
16223
 
 
16224
 
# The else clause should only fire when bootstrapping the
16225
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
16226
 
# with your package, and you will get complaints that there are
16227
 
# no rules to generate ltmain.sh.
16228
 
if test -f "$ltmain"; then
16229
 
  # See if we are running on zsh, and set the options which allow our commands through
16230
 
  # without removal of \ escapes.
16231
 
  if test -n "${ZSH_VERSION+set}" ; then
16232
 
    setopt NO_GLOB_SUBST
16233
 
  fi
16234
 
  # Now quote all the things that may contain metacharacters while being
16235
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
16236
 
  # variables and quote the copies for generation of the libtool script.
16237
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16238
 
    SED SHELL STRIP \
16239
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16240
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16241
 
    deplibs_check_method reload_flag reload_cmds need_locks \
16242
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16243
 
    lt_cv_sys_global_symbol_to_c_name_address \
16244
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16245
 
    old_postinstall_cmds old_postuninstall_cmds \
16246
 
    compiler_F77 \
16247
 
    CC_F77 \
16248
 
    LD_F77 \
16249
 
    lt_prog_compiler_wl_F77 \
16250
 
    lt_prog_compiler_pic_F77 \
16251
 
    lt_prog_compiler_static_F77 \
16252
 
    lt_prog_compiler_no_builtin_flag_F77 \
16253
 
    export_dynamic_flag_spec_F77 \
16254
 
    thread_safe_flag_spec_F77 \
16255
 
    whole_archive_flag_spec_F77 \
16256
 
    enable_shared_with_static_runtimes_F77 \
16257
 
    old_archive_cmds_F77 \
16258
 
    old_archive_from_new_cmds_F77 \
16259
 
    predep_objects_F77 \
16260
 
    postdep_objects_F77 \
16261
 
    predeps_F77 \
16262
 
    postdeps_F77 \
16263
 
    compiler_lib_search_path_F77 \
16264
 
    compiler_lib_search_dirs_F77 \
16265
 
    archive_cmds_F77 \
16266
 
    archive_expsym_cmds_F77 \
16267
 
    postinstall_cmds_F77 \
16268
 
    postuninstall_cmds_F77 \
16269
 
    old_archive_from_expsyms_cmds_F77 \
16270
 
    allow_undefined_flag_F77 \
16271
 
    no_undefined_flag_F77 \
16272
 
    export_symbols_cmds_F77 \
16273
 
    hardcode_libdir_flag_spec_F77 \
16274
 
    hardcode_libdir_flag_spec_ld_F77 \
16275
 
    hardcode_libdir_separator_F77 \
16276
 
    hardcode_automatic_F77 \
16277
 
    module_cmds_F77 \
16278
 
    module_expsym_cmds_F77 \
16279
 
    lt_cv_prog_compiler_c_o_F77 \
16280
 
    fix_srcfile_path_F77 \
16281
 
    exclude_expsyms_F77 \
16282
 
    include_expsyms_F77; do
16283
 
 
16284
 
    case $var in
16285
 
    old_archive_cmds_F77 | \
16286
 
    old_archive_from_new_cmds_F77 | \
16287
 
    archive_cmds_F77 | \
16288
 
    archive_expsym_cmds_F77 | \
16289
 
    module_cmds_F77 | \
16290
 
    module_expsym_cmds_F77 | \
16291
 
    old_archive_from_expsyms_cmds_F77 | \
16292
 
    export_symbols_cmds_F77 | \
16293
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
16294
 
    postinstall_cmds | postuninstall_cmds | \
16295
 
    old_postinstall_cmds | old_postuninstall_cmds | \
16296
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
16297
 
      # Double-quote double-evaled strings.
16298
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16299
 
      ;;
16300
 
    *)
16301
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16302
 
      ;;
16303
 
    esac
16304
 
  done
16305
 
 
16306
 
  case $lt_echo in
16307
 
  *'\$0 --fallback-echo"')
16308
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16309
 
    ;;
16310
 
  esac
16311
 
 
16312
 
cfgfile="$ofile"
16313
 
 
16314
 
  cat <<__EOF__ >> "$cfgfile"
16315
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
16316
 
 
16317
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16318
 
 
16319
 
# Shell to use when invoking shell scripts.
16320
 
SHELL=$lt_SHELL
16321
 
 
16322
 
# Whether or not to build shared libraries.
16323
 
build_libtool_libs=$enable_shared
16324
 
 
16325
 
# Whether or not to build static libraries.
16326
 
build_old_libs=$enable_static
16327
 
 
16328
 
# Whether or not to add -lc for building shared libraries.
16329
 
build_libtool_need_lc=$archive_cmds_need_lc_F77
16330
 
 
16331
 
# Whether or not to disallow shared libs when runtime libs are static
16332
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16333
 
 
16334
 
# Whether or not to optimize for fast installation.
16335
 
fast_install=$enable_fast_install
16336
 
 
16337
 
# The host system.
16338
 
host_alias=$host_alias
16339
 
host=$host
16340
 
host_os=$host_os
16341
 
 
16342
 
# The build system.
16343
 
build_alias=$build_alias
16344
 
build=$build
16345
 
build_os=$build_os
16346
 
 
16347
 
# An echo program that does not interpret backslashes.
16348
 
echo=$lt_echo
16349
 
 
16350
 
# The archiver.
16351
 
AR=$lt_AR
16352
 
AR_FLAGS=$lt_AR_FLAGS
16353
 
 
16354
 
# A C compiler.
16355
 
LTCC=$lt_LTCC
16356
 
 
16357
 
# LTCC compiler flags.
16358
 
LTCFLAGS=$lt_LTCFLAGS
16359
 
 
16360
 
# A language-specific compiler.
16361
 
CC=$lt_compiler_F77
16362
 
 
16363
 
# Is the compiler the GNU C compiler?
16364
 
with_gcc=$GCC_F77
16365
 
 
16366
 
# An ERE matcher.
16367
 
EGREP=$lt_EGREP
16368
 
 
16369
 
# The linker used to build libraries.
16370
 
LD=$lt_LD_F77
16371
 
 
16372
 
# Whether we need hard or soft links.
16373
 
LN_S=$lt_LN_S
16374
 
 
16375
 
# A BSD-compatible nm program.
16376
 
NM=$lt_NM
16377
 
 
16378
 
# A symbol stripping program
16379
 
STRIP=$lt_STRIP
16380
 
 
16381
 
# Used to examine libraries when file_magic_cmd begins "file"
16382
 
MAGIC_CMD=$MAGIC_CMD
16383
 
 
16384
 
# Used on cygwin: DLL creation program.
16385
 
DLLTOOL="$DLLTOOL"
16386
 
 
16387
 
# Used on cygwin: object dumper.
16388
 
OBJDUMP="$OBJDUMP"
16389
 
 
16390
 
# Used on cygwin: assembler.
16391
 
AS="$AS"
16392
 
 
16393
 
# The name of the directory that contains temporary libtool files.
16394
 
objdir=$objdir
16395
 
 
16396
 
# How to create reloadable object files.
16397
 
reload_flag=$lt_reload_flag
16398
 
reload_cmds=$lt_reload_cmds
16399
 
 
16400
 
# How to pass a linker flag through the compiler.
16401
 
wl=$lt_lt_prog_compiler_wl_F77
16402
 
 
16403
 
# Object file suffix (normally "o").
16404
 
objext="$ac_objext"
16405
 
 
16406
 
# Old archive suffix (normally "a").
16407
 
libext="$libext"
16408
 
 
16409
 
# Shared library suffix (normally ".so").
16410
 
shrext_cmds='$shrext_cmds'
16411
 
 
16412
 
# Executable file suffix (normally "").
16413
 
exeext="$exeext"
16414
 
 
16415
 
# Additional compiler flags for building library objects.
16416
 
pic_flag=$lt_lt_prog_compiler_pic_F77
16417
 
pic_mode=$pic_mode
16418
 
 
16419
 
# What is the maximum length of a command?
16420
 
max_cmd_len=$lt_cv_sys_max_cmd_len
16421
 
 
16422
 
# Does compiler simultaneously support -c and -o options?
16423
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16424
 
 
16425
 
# Must we lock files when doing compilation?
16426
 
need_locks=$lt_need_locks
16427
 
 
16428
 
# Do we need the lib prefix for modules?
16429
 
need_lib_prefix=$need_lib_prefix
16430
 
 
16431
 
# Do we need a version for libraries?
16432
 
need_version=$need_version
16433
 
 
16434
 
# Whether dlopen is supported.
16435
 
dlopen_support=$enable_dlopen
16436
 
 
16437
 
# Whether dlopen of programs is supported.
16438
 
dlopen_self=$enable_dlopen_self
16439
 
 
16440
 
# Whether dlopen of statically linked programs is supported.
16441
 
dlopen_self_static=$enable_dlopen_self_static
16442
 
 
16443
 
# Compiler flag to prevent dynamic linking.
16444
 
link_static_flag=$lt_lt_prog_compiler_static_F77
16445
 
 
16446
 
# Compiler flag to turn off builtin functions.
16447
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16448
 
 
16449
 
# Compiler flag to allow reflexive dlopens.
16450
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16451
 
 
16452
 
# Compiler flag to generate shared objects directly from archives.
16453
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16454
 
 
16455
 
# Compiler flag to generate thread-safe objects.
16456
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16457
 
 
16458
 
# Library versioning type.
16459
 
version_type=$version_type
16460
 
 
16461
 
# Format of library name prefix.
16462
 
libname_spec=$lt_libname_spec
16463
 
 
16464
 
# List of archive names.  First name is the real one, the rest are links.
16465
 
# The last name is the one that the linker finds with -lNAME.
16466
 
library_names_spec=$lt_library_names_spec
16467
 
 
16468
 
# The coded name of the library, if different from the real name.
16469
 
soname_spec=$lt_soname_spec
16470
 
 
16471
 
# Commands used to build and install an old-style archive.
16472
 
RANLIB=$lt_RANLIB
16473
 
old_archive_cmds=$lt_old_archive_cmds_F77
16474
 
old_postinstall_cmds=$lt_old_postinstall_cmds
16475
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
16476
 
 
16477
 
# Create an old-style archive from a shared archive.
16478
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16479
 
 
16480
 
# Create a temporary old-style archive to link instead of a shared archive.
16481
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16482
 
 
16483
 
# Commands used to build and install a shared archive.
16484
 
archive_cmds=$lt_archive_cmds_F77
16485
 
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16486
 
postinstall_cmds=$lt_postinstall_cmds
16487
 
postuninstall_cmds=$lt_postuninstall_cmds
16488
 
 
16489
 
# Commands used to build a loadable module (assumed same as above if empty)
16490
 
module_cmds=$lt_module_cmds_F77
16491
 
module_expsym_cmds=$lt_module_expsym_cmds_F77
16492
 
 
16493
 
# Commands to strip libraries.
16494
 
old_striplib=$lt_old_striplib
16495
 
striplib=$lt_striplib
16496
 
 
16497
 
# Dependencies to place before the objects being linked to create a
16498
 
# shared library.
16499
 
predep_objects=$lt_predep_objects_F77
16500
 
 
16501
 
# Dependencies to place after the objects being linked to create a
16502
 
# shared library.
16503
 
postdep_objects=$lt_postdep_objects_F77
16504
 
 
16505
 
# Dependencies to place before the objects being linked to create a
16506
 
# shared library.
16507
 
predeps=$lt_predeps_F77
16508
 
 
16509
 
# Dependencies to place after the objects being linked to create a
16510
 
# shared library.
16511
 
postdeps=$lt_postdeps_F77
16512
 
 
16513
 
# The directories searched by this compiler when creating a shared
16514
 
# library
16515
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
16516
 
 
16517
 
# The library search path used internally by the compiler when linking
16518
 
# a shared library.
16519
 
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16520
 
 
16521
 
# Method to check whether dependent libraries are shared objects.
16522
 
deplibs_check_method=$lt_deplibs_check_method
16523
 
 
16524
 
# Command to use when deplibs_check_method == file_magic.
16525
 
file_magic_cmd=$lt_file_magic_cmd
16526
 
 
16527
 
# Flag that allows shared libraries with undefined symbols to be built.
16528
 
allow_undefined_flag=$lt_allow_undefined_flag_F77
16529
 
 
16530
 
# Flag that forces no undefined symbols.
16531
 
no_undefined_flag=$lt_no_undefined_flag_F77
16532
 
 
16533
 
# Commands used to finish a libtool library installation in a directory.
16534
 
finish_cmds=$lt_finish_cmds
16535
 
 
16536
 
# Same as above, but a single script fragment to be evaled but not shown.
16537
 
finish_eval=$lt_finish_eval
16538
 
 
16539
 
# Take the output of nm and produce a listing of raw symbols and C names.
16540
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16541
 
 
16542
 
# Transform the output of nm in a proper C declaration
16543
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16544
 
 
16545
 
# Transform the output of nm in a C name address pair
16546
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16547
 
 
16548
 
# This is the shared library runtime path variable.
16549
 
runpath_var=$runpath_var
16550
 
 
16551
 
# This is the shared library path variable.
16552
 
shlibpath_var=$shlibpath_var
16553
 
 
16554
 
# Is shlibpath searched before the hard-coded library search path?
16555
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16556
 
 
16557
 
# How to hardcode a shared library path into an executable.
16558
 
hardcode_action=$hardcode_action_F77
16559
 
 
16560
 
# Whether we should hardcode library paths into libraries.
16561
 
hardcode_into_libs=$hardcode_into_libs
16562
 
 
16563
 
# Flag to hardcode \$libdir into a binary during linking.
16564
 
# This must work even if \$libdir does not exist.
16565
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16566
 
 
16567
 
# If ld is used when linking, flag to hardcode \$libdir into
16568
 
# a binary during linking. This must work even if \$libdir does
16569
 
# not exist.
16570
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16571
 
 
16572
 
# Whether we need a single -rpath flag with a separated argument.
16573
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16574
 
 
16575
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16576
 
# resulting binary.
16577
 
hardcode_direct=$hardcode_direct_F77
16578
 
 
16579
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16580
 
# resulting binary.
16581
 
hardcode_minus_L=$hardcode_minus_L_F77
16582
 
 
16583
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16584
 
# the resulting binary.
16585
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16586
 
 
16587
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
16588
 
# and all subsequent libraries and executables linked against it.
16589
 
hardcode_automatic=$hardcode_automatic_F77
16590
 
 
16591
 
# Variables whose values should be saved in libtool wrapper scripts and
16592
 
# restored at relink time.
16593
 
variables_saved_for_relink="$variables_saved_for_relink"
16594
 
 
16595
 
# Whether libtool must link a program against all its dependency libraries.
16596
 
link_all_deplibs=$link_all_deplibs_F77
16597
 
 
16598
 
# Compile-time system search path for libraries
16599
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16600
 
 
16601
 
# Run-time system search path for libraries
16602
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16603
 
 
16604
 
# Fix the shell variable \$srcfile for the compiler.
16605
 
fix_srcfile_path=$lt_fix_srcfile_path
16606
 
 
16607
 
# Set to yes if exported symbols are required.
16608
 
always_export_symbols=$always_export_symbols_F77
16609
 
 
16610
 
# The commands to list exported symbols.
16611
 
export_symbols_cmds=$lt_export_symbols_cmds_F77
16612
 
 
16613
 
# The commands to extract the exported symbol list from a shared archive.
16614
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
16615
 
 
16616
 
# Symbols that should not be listed in the preloaded symbols.
16617
 
exclude_expsyms=$lt_exclude_expsyms_F77
16618
 
 
16619
 
# Symbols that must always be exported.
16620
 
include_expsyms=$lt_include_expsyms_F77
16621
 
 
16622
 
# ### END LIBTOOL TAG CONFIG: $tagname
16623
 
 
16624
 
__EOF__
16625
 
 
16626
 
 
16627
 
else
16628
 
  # If there is no Makefile yet, we rely on a make rule to execute
16629
 
  # `config.status --recheck' to rerun these tests and create the
16630
 
  # libtool script then.
16631
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16632
 
  if test -f "$ltmain_in"; then
16633
 
    test -f Makefile && make "$ltmain"
16634
 
  fi
16635
 
fi
16636
 
 
16637
 
 
16638
 
ac_ext=c
16639
 
ac_cpp='$CPP $CPPFLAGS'
16640
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16641
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16642
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16643
 
 
16644
 
CC="$lt_save_CC"
16645
 
 
16646
 
        else
16647
 
          tagname=""
16648
 
        fi
16649
 
        ;;
16650
 
 
16651
 
      GCJ)
16652
 
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16653
 
 
16654
 
 
16655
 
# Source file extension for Java test sources.
16656
 
ac_ext=java
16657
 
 
16658
 
# Object file extension for compiled Java test sources.
16659
 
objext=o
16660
 
objext_GCJ=$objext
16661
 
 
16662
 
# Code to be used in simple compile tests
16663
 
lt_simple_compile_test_code="class foo {}"
16664
 
 
16665
 
# Code to be used in simple link tests
16666
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
16667
 
 
16668
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
16669
 
 
16670
 
# If no C compiler was specified, use CC.
16671
 
LTCC=${LTCC-"$CC"}
16672
 
 
16673
 
# If no C compiler flags were specified, use CFLAGS.
16674
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
16675
 
 
16676
 
# Allow CC to be a program name with arguments.
16677
 
compiler=$CC
16678
 
 
16679
 
 
16680
 
# save warnings/boilerplate of simple test code
16681
 
ac_outfile=conftest.$ac_objext
16682
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
16683
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16684
 
_lt_compiler_boilerplate=`cat conftest.err`
16685
 
$rm conftest*
16686
 
 
16687
 
ac_outfile=conftest.$ac_objext
16688
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
16689
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16690
 
_lt_linker_boilerplate=`cat conftest.err`
16691
 
$rm -r conftest*
16692
 
 
16693
 
 
16694
 
# Allow CC to be a program name with arguments.
16695
 
lt_save_CC="$CC"
16696
 
CC=${GCJ-"gcj"}
16697
 
compiler=$CC
16698
 
compiler_GCJ=$CC
16699
 
for cc_temp in $compiler""; do
16700
 
  case $cc_temp in
16701
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16702
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16703
 
    \-*) ;;
16704
 
    *) break;;
16705
 
  esac
16706
 
done
16707
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16708
 
 
16709
 
 
16710
 
# GCJ did not exist at the time GCC didn't implicitly link libc in.
16711
 
archive_cmds_need_lc_GCJ=no
16712
 
 
16713
 
old_archive_cmds_GCJ=$old_archive_cmds
16714
 
 
16715
 
 
16716
 
lt_prog_compiler_no_builtin_flag_GCJ=
16717
 
 
16718
 
if test "$GCC" = yes; then
16719
 
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
16720
 
 
16721
 
 
16722
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16723
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16724
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16725
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16726
 
else
16727
 
  lt_cv_prog_compiler_rtti_exceptions=no
16728
 
  ac_outfile=conftest.$ac_objext
16729
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16730
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
16731
 
   # Insert the option either (1) after the last *FLAGS variable, or
16732
 
   # (2) before a word containing "conftest.", or (3) at the end.
16733
 
   # Note that $ac_compile itself does not contain backslashes and begins
16734
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16735
 
   # The option is referenced via a variable to avoid confusing sed.
16736
 
   lt_compile=`echo "$ac_compile" | $SED \
16737
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16738
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16739
 
   -e 's:$: $lt_compiler_flag:'`
16740
 
   (eval echo "\"\$as_me:16740: $lt_compile\"" >&5)
16741
 
   (eval "$lt_compile" 2>conftest.err)
16742
 
   ac_status=$?
16743
 
   cat conftest.err >&5
16744
 
   echo "$as_me:16744: \$? = $ac_status" >&5
16745
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
16746
 
     # The compiler can only warn and ignore the option if not recognized
16747
 
     # So say no if there are warnings other than the usual output.
16748
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16749
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16750
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16751
 
       lt_cv_prog_compiler_rtti_exceptions=yes
16752
 
     fi
16753
 
   fi
16754
 
   $rm conftest*
16755
 
 
16756
 
fi
16757
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16758
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16759
 
 
16760
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
16761
 
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16762
 
else
16763
 
    :
16764
 
fi
16765
 
 
16766
 
fi
16767
 
 
16768
 
lt_prog_compiler_wl_GCJ=
16769
 
lt_prog_compiler_pic_GCJ=
16770
 
lt_prog_compiler_static_GCJ=
16771
 
 
16772
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16773
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16774
 
 
16775
 
  if test "$GCC" = yes; then
16776
 
    lt_prog_compiler_wl_GCJ='-Wl,'
16777
 
    lt_prog_compiler_static_GCJ='-static'
16778
 
 
16779
 
    case $host_os in
16780
 
      aix*)
16781
 
      # All AIX code is PIC.
16782
 
      if test "$host_cpu" = ia64; then
16783
 
        # AIX 5 now supports IA64 processor
16784
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16785
 
      fi
16786
 
      ;;
16787
 
 
16788
 
    amigaos*)
16789
 
      # FIXME: we need at least 68020 code to build shared libraries, but
16790
 
      # adding the `-m68020' flag to GCC prevents building anything better,
16791
 
      # like `-m68040'.
16792
 
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
16793
 
      ;;
16794
 
 
16795
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16796
 
      # PIC is the default for these OSes.
16797
 
      ;;
16798
 
 
16799
 
    mingw* | cygwin* | pw32* | os2*)
16800
 
      # This hack is so that the source file can tell whether it is being
16801
 
      # built for inclusion in a dll (and should export symbols for example).
16802
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
16803
 
      # (--disable-auto-import) libraries
16804
 
 
16805
 
      ;;
16806
 
 
16807
 
    darwin* | rhapsody*)
16808
 
      # PIC is the default on this platform
16809
 
      # Common symbols not allowed in MH_DYLIB files
16810
 
      lt_prog_compiler_pic_GCJ='-fno-common'
16811
 
      ;;
16812
 
 
16813
 
    interix[3-9]*)
16814
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16815
 
      # Instead, we relocate shared libraries at runtime.
16816
 
      ;;
16817
 
 
16818
 
    msdosdjgpp*)
16819
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
16820
 
      # on systems that don't support them.
16821
 
      lt_prog_compiler_can_build_shared_GCJ=no
16822
 
      enable_shared=no
16823
 
      ;;
16824
 
 
16825
 
    sysv4*MP*)
16826
 
      if test -d /usr/nec; then
16827
 
        lt_prog_compiler_pic_GCJ=-Kconform_pic
16828
 
      fi
16829
 
      ;;
16830
 
 
16831
 
    hpux*)
16832
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16833
 
      # not for PA HP-UX.
16834
 
      case $host_cpu in
16835
 
      hppa*64*|ia64*)
16836
 
        # +Z the default
16837
 
        ;;
16838
 
      *)
16839
 
        lt_prog_compiler_pic_GCJ='-fPIC'
16840
 
        ;;
16841
 
      esac
16842
 
      ;;
16843
 
 
16844
 
    *)
16845
 
      lt_prog_compiler_pic_GCJ='-fPIC'
16846
 
      ;;
16847
 
    esac
16848
 
  else
16849
 
    # PORTME Check for flag to pass linker flags through the system compiler.
16850
 
    case $host_os in
16851
 
    aix*)
16852
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16853
 
      if test "$host_cpu" = ia64; then
16854
 
        # AIX 5 now supports IA64 processor
16855
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16856
 
      else
16857
 
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
16858
 
      fi
16859
 
      ;;
16860
 
      darwin*)
16861
 
        # PIC is the default on this platform
16862
 
        # Common symbols not allowed in MH_DYLIB files
16863
 
       case $cc_basename in
16864
 
         xlc*)
16865
 
         lt_prog_compiler_pic_GCJ='-qnocommon'
16866
 
         lt_prog_compiler_wl_GCJ='-Wl,'
16867
 
         ;;
16868
 
       esac
16869
 
       ;;
16870
 
 
16871
 
    mingw* | cygwin* | pw32* | os2*)
16872
 
      # This hack is so that the source file can tell whether it is being
16873
 
      # built for inclusion in a dll (and should export symbols for example).
16874
 
 
16875
 
      ;;
16876
 
 
16877
 
    hpux9* | hpux10* | hpux11*)
16878
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16879
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16880
 
      # not for PA HP-UX.
16881
 
      case $host_cpu in
16882
 
      hppa*64*|ia64*)
16883
 
        # +Z the default
16884
 
        ;;
16885
 
      *)
16886
 
        lt_prog_compiler_pic_GCJ='+Z'
16887
 
        ;;
16888
 
      esac
16889
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
16890
 
      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
16891
 
      ;;
16892
 
 
16893
 
    irix5* | irix6* | nonstopux*)
16894
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16895
 
      # PIC (with -KPIC) is the default.
16896
 
      lt_prog_compiler_static_GCJ='-non_shared'
16897
 
      ;;
16898
 
 
16899
 
    newsos6)
16900
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16901
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16902
 
      ;;
16903
 
 
16904
 
    linux* | k*bsd*-gnu)
16905
 
      case $cc_basename in
16906
 
      icc* | ecc*)
16907
 
        lt_prog_compiler_wl_GCJ='-Wl,'
16908
 
        lt_prog_compiler_pic_GCJ='-KPIC'
16909
 
        lt_prog_compiler_static_GCJ='-static'
16910
 
        ;;
16911
 
      pgcc* | pgf77* | pgf90* | pgf95*)
16912
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
16913
 
        # which looks to be a dead project)
16914
 
        lt_prog_compiler_wl_GCJ='-Wl,'
16915
 
        lt_prog_compiler_pic_GCJ='-fpic'
16916
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16917
 
        ;;
16918
 
      ccc*)
16919
 
        lt_prog_compiler_wl_GCJ='-Wl,'
16920
 
        # All Alpha code is PIC.
16921
 
        lt_prog_compiler_static_GCJ='-non_shared'
16922
 
        ;;
16923
 
      *)
16924
 
        case `$CC -V 2>&1 | sed 5q` in
16925
 
        *Sun\ C*)
16926
 
          # Sun C 5.9
16927
 
          lt_prog_compiler_pic_GCJ='-KPIC'
16928
 
          lt_prog_compiler_static_GCJ='-Bstatic'
16929
 
          lt_prog_compiler_wl_GCJ='-Wl,'
16930
 
          ;;
16931
 
        *Sun\ F*)
16932
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
16933
 
          lt_prog_compiler_pic_GCJ='-KPIC'
16934
 
          lt_prog_compiler_static_GCJ='-Bstatic'
16935
 
          lt_prog_compiler_wl_GCJ=''
16936
 
          ;;
16937
 
        esac
16938
 
        ;;
16939
 
      esac
16940
 
      ;;
16941
 
 
16942
 
    osf3* | osf4* | osf5*)
16943
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16944
 
      # All OSF/1 code is PIC.
16945
 
      lt_prog_compiler_static_GCJ='-non_shared'
16946
 
      ;;
16947
 
 
16948
 
    rdos*)
16949
 
      lt_prog_compiler_static_GCJ='-non_shared'
16950
 
      ;;
16951
 
 
16952
 
    solaris*)
16953
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16954
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16955
 
      case $cc_basename in
16956
 
      f77* | f90* | f95*)
16957
 
        lt_prog_compiler_wl_GCJ='-Qoption ld ';;
16958
 
      *)
16959
 
        lt_prog_compiler_wl_GCJ='-Wl,';;
16960
 
      esac
16961
 
      ;;
16962
 
 
16963
 
    sunos4*)
16964
 
      lt_prog_compiler_wl_GCJ='-Qoption ld '
16965
 
      lt_prog_compiler_pic_GCJ='-PIC'
16966
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16967
 
      ;;
16968
 
 
16969
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
16970
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16971
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16972
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16973
 
      ;;
16974
 
 
16975
 
    sysv4*MP*)
16976
 
      if test -d /usr/nec ;then
16977
 
        lt_prog_compiler_pic_GCJ='-Kconform_pic'
16978
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16979
 
      fi
16980
 
      ;;
16981
 
 
16982
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16983
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16984
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16985
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16986
 
      ;;
16987
 
 
16988
 
    unicos*)
16989
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16990
 
      lt_prog_compiler_can_build_shared_GCJ=no
16991
 
      ;;
16992
 
 
16993
 
    uts4*)
16994
 
      lt_prog_compiler_pic_GCJ='-pic'
16995
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16996
 
      ;;
16997
 
 
16998
 
    *)
16999
 
      lt_prog_compiler_can_build_shared_GCJ=no
17000
 
      ;;
17001
 
    esac
17002
 
  fi
17003
 
 
17004
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
17005
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
17006
 
 
17007
 
#
17008
 
# Check to make sure the PIC flag actually works.
17009
 
#
17010
 
if test -n "$lt_prog_compiler_pic_GCJ"; then
17011
 
 
17012
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17013
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
17014
 
if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
17015
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17016
 
else
17017
 
  lt_cv_prog_compiler_pic_works_GCJ=no
17018
 
  ac_outfile=conftest.$ac_objext
17019
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17020
 
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
17021
 
   # Insert the option either (1) after the last *FLAGS variable, or
17022
 
   # (2) before a word containing "conftest.", or (3) at the end.
17023
 
   # Note that $ac_compile itself does not contain backslashes and begins
17024
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
17025
 
   # The option is referenced via a variable to avoid confusing sed.
17026
 
   lt_compile=`echo "$ac_compile" | $SED \
17027
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17028
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17029
 
   -e 's:$: $lt_compiler_flag:'`
17030
 
   (eval echo "\"\$as_me:17030: $lt_compile\"" >&5)
17031
 
   (eval "$lt_compile" 2>conftest.err)
17032
 
   ac_status=$?
17033
 
   cat conftest.err >&5
17034
 
   echo "$as_me:17034: \$? = $ac_status" >&5
17035
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
17036
 
     # The compiler can only warn and ignore the option if not recognized
17037
 
     # So say no if there are warnings other than the usual output.
17038
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17039
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17040
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17041
 
       lt_cv_prog_compiler_pic_works_GCJ=yes
17042
 
     fi
17043
 
   fi
17044
 
   $rm conftest*
17045
 
 
17046
 
fi
17047
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
17048
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
17049
 
 
17050
 
if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
17051
 
    case $lt_prog_compiler_pic_GCJ in
17052
 
     "" | " "*) ;;
17053
 
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
17054
 
     esac
17055
 
else
17056
 
    lt_prog_compiler_pic_GCJ=
17057
 
     lt_prog_compiler_can_build_shared_GCJ=no
17058
 
fi
17059
 
 
17060
 
fi
17061
 
case $host_os in
17062
 
  # For platforms which do not support PIC, -DPIC is meaningless:
17063
 
  *djgpp*)
17064
 
    lt_prog_compiler_pic_GCJ=
17065
 
    ;;
17066
 
  *)
17067
 
    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
17068
 
    ;;
17069
 
esac
17070
 
 
17071
 
#
17072
 
# Check to make sure the static flag actually works.
17073
 
#
17074
 
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
17075
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17076
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
17077
 
if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
17078
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17079
 
else
17080
 
  lt_cv_prog_compiler_static_works_GCJ=no
17081
 
   save_LDFLAGS="$LDFLAGS"
17082
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
17083
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
17084
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17085
 
     # The linker can only warn and ignore the option if not recognized
17086
 
     # So say no if there are warnings
17087
 
     if test -s conftest.err; then
17088
 
       # Append any errors to the config.log.
17089
 
       cat conftest.err 1>&5
17090
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
17091
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17092
 
       if diff conftest.exp conftest.er2 >/dev/null; then
17093
 
         lt_cv_prog_compiler_static_works_GCJ=yes
17094
 
       fi
17095
 
     else
17096
 
       lt_cv_prog_compiler_static_works_GCJ=yes
17097
 
     fi
17098
 
   fi
17099
 
   $rm -r conftest*
17100
 
   LDFLAGS="$save_LDFLAGS"
17101
 
 
17102
 
fi
17103
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
17104
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
17105
 
 
17106
 
if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
17107
 
    :
17108
 
else
17109
 
    lt_prog_compiler_static_GCJ=
17110
 
fi
17111
 
 
17112
 
 
17113
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17114
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
17115
 
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17116
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17117
 
else
17118
 
  lt_cv_prog_compiler_c_o_GCJ=no
17119
 
   $rm -r conftest 2>/dev/null
17120
 
   mkdir conftest
17121
 
   cd conftest
17122
 
   mkdir out
17123
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17124
 
 
17125
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
17126
 
   # Insert the option either (1) after the last *FLAGS variable, or
17127
 
   # (2) before a word containing "conftest.", or (3) at the end.
17128
 
   # Note that $ac_compile itself does not contain backslashes and begins
17129
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
17130
 
   lt_compile=`echo "$ac_compile" | $SED \
17131
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17132
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17133
 
   -e 's:$: $lt_compiler_flag:'`
17134
 
   (eval echo "\"\$as_me:17134: $lt_compile\"" >&5)
17135
 
   (eval "$lt_compile" 2>out/conftest.err)
17136
 
   ac_status=$?
17137
 
   cat out/conftest.err >&5
17138
 
   echo "$as_me:17138: \$? = $ac_status" >&5
17139
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
17140
 
   then
17141
 
     # The compiler can only warn and ignore the option if not recognized
17142
 
     # So say no if there are warnings
17143
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
17144
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17145
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17146
 
       lt_cv_prog_compiler_c_o_GCJ=yes
17147
 
     fi
17148
 
   fi
17149
 
   chmod u+w . 2>&5
17150
 
   $rm conftest*
17151
 
   # SGI C++ compiler will create directory out/ii_files/ for
17152
 
   # template instantiation
17153
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
17154
 
   $rm out/* && rmdir out
17155
 
   cd ..
17156
 
   rmdir conftest
17157
 
   $rm conftest*
17158
 
 
17159
 
fi
17160
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17161
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17162
 
 
17163
 
 
17164
 
hard_links="nottested"
17165
 
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
17166
 
  # do not overwrite the value of need_locks provided by the user
17167
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17168
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17169
 
  hard_links=yes
17170
 
  $rm conftest*
17171
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17172
 
  touch conftest.a
17173
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
17174
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17175
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
17176
 
echo "${ECHO_T}$hard_links" >&6; }
17177
 
  if test "$hard_links" = no; then
17178
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17179
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17180
 
    need_locks=warn
17181
 
  fi
17182
 
else
17183
 
  need_locks=no
17184
 
fi
17185
 
 
17186
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17187
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17188
 
 
17189
 
  runpath_var=
17190
 
  allow_undefined_flag_GCJ=
17191
 
  enable_shared_with_static_runtimes_GCJ=no
17192
 
  archive_cmds_GCJ=
17193
 
  archive_expsym_cmds_GCJ=
17194
 
  old_archive_From_new_cmds_GCJ=
17195
 
  old_archive_from_expsyms_cmds_GCJ=
17196
 
  export_dynamic_flag_spec_GCJ=
17197
 
  whole_archive_flag_spec_GCJ=
17198
 
  thread_safe_flag_spec_GCJ=
17199
 
  hardcode_libdir_flag_spec_GCJ=
17200
 
  hardcode_libdir_flag_spec_ld_GCJ=
17201
 
  hardcode_libdir_separator_GCJ=
17202
 
  hardcode_direct_GCJ=no
17203
 
  hardcode_minus_L_GCJ=no
17204
 
  hardcode_shlibpath_var_GCJ=unsupported
17205
 
  link_all_deplibs_GCJ=unknown
17206
 
  hardcode_automatic_GCJ=no
17207
 
  module_cmds_GCJ=
17208
 
  module_expsym_cmds_GCJ=
17209
 
  always_export_symbols_GCJ=no
17210
 
  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17211
 
  # include_expsyms should be a list of space-separated symbols to be *always*
17212
 
  # included in the symbol list
17213
 
  include_expsyms_GCJ=
17214
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
17215
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
17216
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17217
 
  # as well as any symbol that contains `d'.
17218
 
  exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17219
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17220
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
17221
 
  # the symbol is explicitly referenced.  Since portable code cannot
17222
 
  # rely on this symbol name, it's probably fine to never include it in
17223
 
  # preloaded symbol tables.
17224
 
  # Exclude shared library initialization/finalization symbols.
17225
 
  extract_expsyms_cmds=
17226
 
  # Just being paranoid about ensuring that cc_basename is set.
17227
 
  for cc_temp in $compiler""; do
17228
 
  case $cc_temp in
17229
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17230
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17231
 
    \-*) ;;
17232
 
    *) break;;
17233
 
  esac
17234
 
done
17235
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17236
 
 
17237
 
  case $host_os in
17238
 
  cygwin* | mingw* | pw32*)
17239
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
17240
 
    # When not using gcc, we currently assume that we are using
17241
 
    # Microsoft Visual C++.
17242
 
    if test "$GCC" != yes; then
17243
 
      with_gnu_ld=no
17244
 
    fi
17245
 
    ;;
17246
 
  interix*)
17247
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
17248
 
    with_gnu_ld=yes
17249
 
    ;;
17250
 
  openbsd*)
17251
 
    with_gnu_ld=no
17252
 
    ;;
17253
 
  esac
17254
 
 
17255
 
  ld_shlibs_GCJ=yes
17256
 
  if test "$with_gnu_ld" = yes; then
17257
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
17258
 
    wlarc='${wl}'
17259
 
 
17260
 
    # Set some defaults for GNU ld with shared library support. These
17261
 
    # are reset later if shared libraries are not supported. Putting them
17262
 
    # here allows them to be overridden if necessary.
17263
 
    runpath_var=LD_RUN_PATH
17264
 
    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
17265
 
    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
17266
 
    # ancient GNU ld didn't support --whole-archive et. al.
17267
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
17268
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17269
 
      else
17270
 
        whole_archive_flag_spec_GCJ=
17271
 
    fi
17272
 
    supports_anon_versioning=no
17273
 
    case `$LD -v 2>/dev/null` in
17274
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
17275
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
17276
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
17277
 
      *\ 2.11.*) ;; # other 2.11 versions
17278
 
      *) supports_anon_versioning=yes ;;
17279
 
    esac
17280
 
 
17281
 
    # See if GNU ld supports shared libraries.
17282
 
    case $host_os in
17283
 
    aix[3-9]*)
17284
 
      # On AIX/PPC, the GNU linker is very broken
17285
 
      if test "$host_cpu" != ia64; then
17286
 
        ld_shlibs_GCJ=no
17287
 
        cat <<EOF 1>&2
17288
 
 
17289
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
17290
 
*** to be unable to reliably create shared libraries on AIX.
17291
 
*** Therefore, libtool is disabling shared libraries support.  If you
17292
 
*** really care for shared libraries, you may want to modify your PATH
17293
 
*** so that a non-GNU linker is found, and then restart.
17294
 
 
17295
 
EOF
17296
 
      fi
17297
 
      ;;
17298
 
 
17299
 
    amigaos*)
17300
 
      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)'
17301
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17302
 
      hardcode_minus_L_GCJ=yes
17303
 
 
17304
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17305
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
17306
 
      # to version 4, is to share data among multiple programs linked
17307
 
      # with the same dynamic library.  Since this doesn't match the
17308
 
      # behavior of shared libraries on other platforms, we can't use
17309
 
      # them.
17310
 
      ld_shlibs_GCJ=no
17311
 
      ;;
17312
 
 
17313
 
    beos*)
17314
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17315
 
        allow_undefined_flag_GCJ=unsupported
17316
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17317
 
        # support --undefined.  This deserves some investigation.  FIXME
17318
 
        archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17319
 
      else
17320
 
        ld_shlibs_GCJ=no
17321
 
      fi
17322
 
      ;;
17323
 
 
17324
 
    cygwin* | mingw* | pw32*)
17325
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17326
 
      # as there is no search path for DLLs.
17327
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17328
 
      allow_undefined_flag_GCJ=unsupported
17329
 
      always_export_symbols_GCJ=no
17330
 
      enable_shared_with_static_runtimes_GCJ=yes
17331
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17332
 
 
17333
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17334
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17335
 
        # If the export-symbols file already is a .def file (1st line
17336
 
        # is EXPORTS), use it as is; otherwise, prepend...
17337
 
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17338
 
          cp $export_symbols $output_objdir/$soname.def;
17339
 
        else
17340
 
          echo EXPORTS > $output_objdir/$soname.def;
17341
 
          cat $export_symbols >> $output_objdir/$soname.def;
17342
 
        fi~
17343
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17344
 
      else
17345
 
        ld_shlibs_GCJ=no
17346
 
      fi
17347
 
      ;;
17348
 
 
17349
 
    interix[3-9]*)
17350
 
      hardcode_direct_GCJ=no
17351
 
      hardcode_shlibpath_var_GCJ=no
17352
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17353
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
17354
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17355
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
17356
 
      # default) and relocated if they conflict, which is a slow very memory
17357
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
17358
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17359
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
17360
 
      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'
17361
 
      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'
17362
 
      ;;
17363
 
 
17364
 
    gnu* | linux* | k*bsd*-gnu)
17365
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17366
 
        tmp_addflag=
17367
 
        case $cc_basename,$host_cpu in
17368
 
        pgcc*)                          # Portland Group C compiler
17369
 
          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'
17370
 
          tmp_addflag=' $pic_flag'
17371
 
          ;;
17372
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
17373
 
          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'
17374
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
17375
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
17376
 
          tmp_addflag=' -i_dynamic' ;;
17377
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
17378
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
17379
 
        ifc* | ifort*)                  # Intel Fortran compiler
17380
 
          tmp_addflag=' -nofor_main' ;;
17381
 
        esac
17382
 
        case `$CC -V 2>&1 | sed 5q` in
17383
 
        *Sun\ C*)                       # Sun C 5.9
17384
 
          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'
17385
 
          tmp_sharedflag='-G' ;;
17386
 
        *Sun\ F*)                       # Sun Fortran 8.3
17387
 
          tmp_sharedflag='-G' ;;
17388
 
        *)
17389
 
          tmp_sharedflag='-shared' ;;
17390
 
        esac
17391
 
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17392
 
 
17393
 
        if test $supports_anon_versioning = yes; then
17394
 
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
17395
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17396
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
17397
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17398
 
        fi
17399
 
        link_all_deplibs_GCJ=no
17400
 
      else
17401
 
        ld_shlibs_GCJ=no
17402
 
      fi
17403
 
      ;;
17404
 
 
17405
 
    netbsd* | netbsdelf*-gnu)
17406
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17407
 
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17408
 
        wlarc=
17409
 
      else
17410
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17411
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17412
 
      fi
17413
 
      ;;
17414
 
 
17415
 
    solaris*)
17416
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
17417
 
        ld_shlibs_GCJ=no
17418
 
        cat <<EOF 1>&2
17419
 
 
17420
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
17421
 
*** create shared libraries on Solaris systems.  Therefore, libtool
17422
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
17423
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
17424
 
*** your PATH or compiler configuration so that the native linker is
17425
 
*** used, and then restart.
17426
 
 
17427
 
EOF
17428
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17429
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17430
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17431
 
      else
17432
 
        ld_shlibs_GCJ=no
17433
 
      fi
17434
 
      ;;
17435
 
 
17436
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
17437
 
      case `$LD -v 2>&1` in
17438
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
17439
 
        ld_shlibs_GCJ=no
17440
 
        cat <<_LT_EOF 1>&2
17441
 
 
17442
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17443
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
17444
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
17445
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
17446
 
*** your PATH or compiler configuration so that the native linker is
17447
 
*** used, and then restart.
17448
 
 
17449
 
_LT_EOF
17450
 
        ;;
17451
 
        *)
17452
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17453
 
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17454
 
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17455
 
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17456
 
          else
17457
 
            ld_shlibs_GCJ=no
17458
 
          fi
17459
 
        ;;
17460
 
      esac
17461
 
      ;;
17462
 
 
17463
 
    sunos4*)
17464
 
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17465
 
      wlarc=
17466
 
      hardcode_direct_GCJ=yes
17467
 
      hardcode_shlibpath_var_GCJ=no
17468
 
      ;;
17469
 
 
17470
 
    *)
17471
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17472
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17473
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17474
 
      else
17475
 
        ld_shlibs_GCJ=no
17476
 
      fi
17477
 
      ;;
17478
 
    esac
17479
 
 
17480
 
    if test "$ld_shlibs_GCJ" = no; then
17481
 
      runpath_var=
17482
 
      hardcode_libdir_flag_spec_GCJ=
17483
 
      export_dynamic_flag_spec_GCJ=
17484
 
      whole_archive_flag_spec_GCJ=
17485
 
    fi
17486
 
  else
17487
 
    # PORTME fill in a description of your system's linker (not GNU ld)
17488
 
    case $host_os in
17489
 
    aix3*)
17490
 
      allow_undefined_flag_GCJ=unsupported
17491
 
      always_export_symbols_GCJ=yes
17492
 
      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'
17493
 
      # Note: this linker hardcodes the directories in LIBPATH if there
17494
 
      # are no directories specified by -L.
17495
 
      hardcode_minus_L_GCJ=yes
17496
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17497
 
        # Neither direct hardcoding nor static linking is supported with a
17498
 
        # broken collect2.
17499
 
        hardcode_direct_GCJ=unsupported
17500
 
      fi
17501
 
      ;;
17502
 
 
17503
 
    aix[4-9]*)
17504
 
      if test "$host_cpu" = ia64; then
17505
 
        # On IA64, the linker does run time linking by default, so we don't
17506
 
        # have to do anything special.
17507
 
        aix_use_runtimelinking=no
17508
 
        exp_sym_flag='-Bexport'
17509
 
        no_entry_flag=""
17510
 
      else
17511
 
        # If we're using GNU nm, then we don't want the "-C" option.
17512
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
17513
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17514
 
          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'
17515
 
        else
17516
 
          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'
17517
 
        fi
17518
 
        aix_use_runtimelinking=no
17519
 
 
17520
 
        # Test if we are trying to use run time linking or normal
17521
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17522
 
        # need to do runtime linking.
17523
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
17524
 
          for ld_flag in $LDFLAGS; do
17525
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
17526
 
            aix_use_runtimelinking=yes
17527
 
            break
17528
 
          fi
17529
 
          done
17530
 
          ;;
17531
 
        esac
17532
 
 
17533
 
        exp_sym_flag='-bexport'
17534
 
        no_entry_flag='-bnoentry'
17535
 
      fi
17536
 
 
17537
 
      # When large executables or shared objects are built, AIX ld can
17538
 
      # have problems creating the table of contents.  If linking a library
17539
 
      # or program results in "error TOC overflow" add -mminimal-toc to
17540
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
17541
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17542
 
 
17543
 
      archive_cmds_GCJ=''
17544
 
      hardcode_direct_GCJ=yes
17545
 
      hardcode_libdir_separator_GCJ=':'
17546
 
      link_all_deplibs_GCJ=yes
17547
 
 
17548
 
      if test "$GCC" = yes; then
17549
 
        case $host_os in aix4.[012]|aix4.[012].*)
17550
 
        # We only want to do this on AIX 4.2 and lower, the check
17551
 
        # below for broken collect2 doesn't work under 4.3+
17552
 
          collect2name=`${CC} -print-prog-name=collect2`
17553
 
          if test -f "$collect2name" && \
17554
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
17555
 
          then
17556
 
          # We have reworked collect2
17557
 
          :
17558
 
          else
17559
 
          # We have old collect2
17560
 
          hardcode_direct_GCJ=unsupported
17561
 
          # It fails to find uninstalled libraries when the uninstalled
17562
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
17563
 
          # to unsupported forces relinking
17564
 
          hardcode_minus_L_GCJ=yes
17565
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
17566
 
          hardcode_libdir_separator_GCJ=
17567
 
          fi
17568
 
          ;;
17569
 
        esac
17570
 
        shared_flag='-shared'
17571
 
        if test "$aix_use_runtimelinking" = yes; then
17572
 
          shared_flag="$shared_flag "'${wl}-G'
17573
 
        fi
17574
 
      else
17575
 
        # not using gcc
17576
 
        if test "$host_cpu" = ia64; then
17577
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17578
 
        # chokes on -Wl,-G. The following line is correct:
17579
 
          shared_flag='-G'
17580
 
        else
17581
 
          if test "$aix_use_runtimelinking" = yes; then
17582
 
            shared_flag='${wl}-G'
17583
 
          else
17584
 
            shared_flag='${wl}-bM:SRE'
17585
 
          fi
17586
 
        fi
17587
 
      fi
17588
 
 
17589
 
      # It seems that -bexpall does not export symbols beginning with
17590
 
      # underscore (_), so it is better to generate a list of symbols to export.
17591
 
      always_export_symbols_GCJ=yes
17592
 
      if test "$aix_use_runtimelinking" = yes; then
17593
 
        # Warning - without using the other runtime loading flags (-brtl),
17594
 
        # -berok will link without error, but may produce a broken library.
17595
 
        allow_undefined_flag_GCJ='-berok'
17596
 
       # Determine the default libpath from the value encoded in an empty executable.
17597
 
       cat >conftest.$ac_ext <<_ACEOF
17598
 
/* confdefs.h.  */
17599
 
_ACEOF
17600
 
cat confdefs.h >>conftest.$ac_ext
17601
 
cat >>conftest.$ac_ext <<_ACEOF
17602
 
/* end confdefs.h.  */
17603
 
 
17604
 
int
17605
 
main ()
17606
 
{
17607
 
 
17608
 
  ;
17609
 
  return 0;
17610
 
}
17611
 
_ACEOF
17612
 
rm -f conftest.$ac_objext conftest$ac_exeext
17613
 
if { (ac_try="$ac_link"
17614
 
case "(($ac_try" in
17615
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17616
 
  *) ac_try_echo=$ac_try;;
17617
 
esac
17618
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17619
 
  (eval "$ac_link") 2>conftest.er1
17620
 
  ac_status=$?
17621
 
  grep -v '^ *+' conftest.er1 >conftest.err
17622
 
  rm -f conftest.er1
17623
 
  cat conftest.err >&5
17624
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17625
 
  (exit $ac_status); } && {
17626
 
         test -z "$ac_c_werror_flag" ||
17627
 
         test ! -s conftest.err
17628
 
       } && test -s conftest$ac_exeext &&
17629
 
       $as_test_x conftest$ac_exeext; then
17630
 
 
17631
 
lt_aix_libpath_sed='
17632
 
    /Import File Strings/,/^$/ {
17633
 
        /^0/ {
17634
 
            s/^0  *\(.*\)$/\1/
17635
 
            p
17636
 
        }
17637
 
    }'
17638
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17639
 
# Check for a 64-bit object if we didn't find anything.
17640
 
if test -z "$aix_libpath"; then
17641
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17642
 
fi
17643
 
else
17644
 
  echo "$as_me: failed program was:" >&5
17645
 
sed 's/^/| /' conftest.$ac_ext >&5
17646
 
 
17647
 
 
17648
 
fi
17649
 
 
17650
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17651
 
      conftest$ac_exeext conftest.$ac_ext
17652
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17653
 
 
17654
 
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17655
 
        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"
17656
 
       else
17657
 
        if test "$host_cpu" = ia64; then
17658
 
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17659
 
          allow_undefined_flag_GCJ="-z nodefs"
17660
 
          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"
17661
 
        else
17662
 
         # Determine the default libpath from the value encoded in an empty executable.
17663
 
         cat >conftest.$ac_ext <<_ACEOF
17664
 
/* confdefs.h.  */
17665
 
_ACEOF
17666
 
cat confdefs.h >>conftest.$ac_ext
17667
 
cat >>conftest.$ac_ext <<_ACEOF
17668
 
/* end confdefs.h.  */
17669
 
 
17670
 
int
17671
 
main ()
17672
 
{
17673
 
 
17674
 
  ;
17675
 
  return 0;
17676
 
}
17677
 
_ACEOF
17678
 
rm -f conftest.$ac_objext conftest$ac_exeext
17679
 
if { (ac_try="$ac_link"
17680
 
case "(($ac_try" in
17681
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17682
 
  *) ac_try_echo=$ac_try;;
17683
 
esac
17684
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17685
 
  (eval "$ac_link") 2>conftest.er1
17686
 
  ac_status=$?
17687
 
  grep -v '^ *+' conftest.er1 >conftest.err
17688
 
  rm -f conftest.er1
17689
 
  cat conftest.err >&5
17690
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17691
 
  (exit $ac_status); } && {
17692
 
         test -z "$ac_c_werror_flag" ||
17693
 
         test ! -s conftest.err
17694
 
       } && test -s conftest$ac_exeext &&
17695
 
       $as_test_x conftest$ac_exeext; then
17696
 
 
17697
 
lt_aix_libpath_sed='
17698
 
    /Import File Strings/,/^$/ {
17699
 
        /^0/ {
17700
 
            s/^0  *\(.*\)$/\1/
17701
 
            p
17702
 
        }
17703
 
    }'
17704
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17705
 
# Check for a 64-bit object if we didn't find anything.
17706
 
if test -z "$aix_libpath"; then
17707
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17708
 
fi
17709
 
else
17710
 
  echo "$as_me: failed program was:" >&5
17711
 
sed 's/^/| /' conftest.$ac_ext >&5
17712
 
 
17713
 
 
17714
 
fi
17715
 
 
17716
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17717
 
      conftest$ac_exeext conftest.$ac_ext
17718
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17719
 
 
17720
 
         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17721
 
          # Warning - without using the other run time loading flags,
17722
 
          # -berok will link without error, but may produce a broken library.
17723
 
          no_undefined_flag_GCJ=' ${wl}-bernotok'
17724
 
          allow_undefined_flag_GCJ=' ${wl}-berok'
17725
 
          # Exported symbols can be pulled into shared objects from archives
17726
 
          whole_archive_flag_spec_GCJ='$convenience'
17727
 
          archive_cmds_need_lc_GCJ=yes
17728
 
          # This is similar to how AIX traditionally builds its shared libraries.
17729
 
          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'
17730
 
        fi
17731
 
      fi
17732
 
      ;;
17733
 
 
17734
 
    amigaos*)
17735
 
      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)'
17736
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17737
 
      hardcode_minus_L_GCJ=yes
17738
 
      # see comment about different semantics on the GNU ld section
17739
 
      ld_shlibs_GCJ=no
17740
 
      ;;
17741
 
 
17742
 
    bsdi[45]*)
17743
 
      export_dynamic_flag_spec_GCJ=-rdynamic
17744
 
      ;;
17745
 
 
17746
 
    cygwin* | mingw* | pw32*)
17747
 
      # When not using gcc, we currently assume that we are using
17748
 
      # Microsoft Visual C++.
17749
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
17750
 
      # no search path for DLLs.
17751
 
      hardcode_libdir_flag_spec_GCJ=' '
17752
 
      allow_undefined_flag_GCJ=unsupported
17753
 
      # Tell ltmain to make .lib files, not .a files.
17754
 
      libext=lib
17755
 
      # Tell ltmain to make .dll files, not .so files.
17756
 
      shrext_cmds=".dll"
17757
 
      # FIXME: Setting linknames here is a bad hack.
17758
 
      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17759
 
      # The linker will automatically build a .lib file if we build a DLL.
17760
 
      old_archive_From_new_cmds_GCJ='true'
17761
 
      # FIXME: Should let the user specify the lib program.
17762
 
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
17763
 
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
17764
 
      enable_shared_with_static_runtimes_GCJ=yes
17765
 
      ;;
17766
 
 
17767
 
    darwin* | rhapsody*)
17768
 
      case $host_os in
17769
 
        rhapsody* | darwin1.[012])
17770
 
         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
17771
 
         ;;
17772
 
       *) # Darwin 1.3 on
17773
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17774
 
           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17775
 
         else
17776
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
17777
 
             10.[012])
17778
 
               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17779
 
               ;;
17780
 
             10.*)
17781
 
               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
17782
 
               ;;
17783
 
           esac
17784
 
         fi
17785
 
         ;;
17786
 
      esac
17787
 
      archive_cmds_need_lc_GCJ=no
17788
 
      hardcode_direct_GCJ=no
17789
 
      hardcode_automatic_GCJ=yes
17790
 
      hardcode_shlibpath_var_GCJ=unsupported
17791
 
      whole_archive_flag_spec_GCJ=''
17792
 
      link_all_deplibs_GCJ=yes
17793
 
    if test "$GCC" = yes ; then
17794
 
        output_verbose_link_cmd='echo'
17795
 
        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}"
17796
 
        module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
17797
 
        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}"
17798
 
        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}"
17799
 
    else
17800
 
      case $cc_basename in
17801
 
        xlc*)
17802
 
         output_verbose_link_cmd='echo'
17803
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17804
 
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17805
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17806
 
         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}'
17807
 
          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}'
17808
 
          ;;
17809
 
       *)
17810
 
         ld_shlibs_GCJ=no
17811
 
          ;;
17812
 
      esac
17813
 
    fi
17814
 
      ;;
17815
 
 
17816
 
    dgux*)
17817
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17818
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17819
 
      hardcode_shlibpath_var_GCJ=no
17820
 
      ;;
17821
 
 
17822
 
    freebsd1*)
17823
 
      ld_shlibs_GCJ=no
17824
 
      ;;
17825
 
 
17826
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17827
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
17828
 
    # does not break anything, and helps significantly (at the cost of a little
17829
 
    # extra space).
17830
 
    freebsd2.2*)
17831
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17832
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17833
 
      hardcode_direct_GCJ=yes
17834
 
      hardcode_shlibpath_var_GCJ=no
17835
 
      ;;
17836
 
 
17837
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17838
 
    freebsd2*)
17839
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17840
 
      hardcode_direct_GCJ=yes
17841
 
      hardcode_minus_L_GCJ=yes
17842
 
      hardcode_shlibpath_var_GCJ=no
17843
 
      ;;
17844
 
 
17845
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17846
 
    freebsd* | dragonfly*)
17847
 
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17848
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17849
 
      hardcode_direct_GCJ=yes
17850
 
      hardcode_shlibpath_var_GCJ=no
17851
 
      ;;
17852
 
 
17853
 
    hpux9*)
17854
 
      if test "$GCC" = yes; then
17855
 
        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'
17856
 
      else
17857
 
        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'
17858
 
      fi
17859
 
      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17860
 
      hardcode_libdir_separator_GCJ=:
17861
 
      hardcode_direct_GCJ=yes
17862
 
 
17863
 
      # hardcode_minus_L: Not really in the search PATH,
17864
 
      # but as the default location of the library.
17865
 
      hardcode_minus_L_GCJ=yes
17866
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
17867
 
      ;;
17868
 
 
17869
 
    hpux10*)
17870
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17871
 
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17872
 
      else
17873
 
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17874
 
      fi
17875
 
      if test "$with_gnu_ld" = no; then
17876
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17877
 
        hardcode_libdir_separator_GCJ=:
17878
 
 
17879
 
        hardcode_direct_GCJ=yes
17880
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
17881
 
 
17882
 
        # hardcode_minus_L: Not really in the search PATH,
17883
 
        # but as the default location of the library.
17884
 
        hardcode_minus_L_GCJ=yes
17885
 
      fi
17886
 
      ;;
17887
 
 
17888
 
    hpux11*)
17889
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17890
 
        case $host_cpu in
17891
 
        hppa*64*)
17892
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17893
 
          ;;
17894
 
        ia64*)
17895
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17896
 
          ;;
17897
 
        *)
17898
 
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17899
 
          ;;
17900
 
        esac
17901
 
      else
17902
 
        case $host_cpu in
17903
 
        hppa*64*)
17904
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17905
 
          ;;
17906
 
        ia64*)
17907
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17908
 
          ;;
17909
 
        *)
17910
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17911
 
          ;;
17912
 
        esac
17913
 
      fi
17914
 
      if test "$with_gnu_ld" = no; then
17915
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17916
 
        hardcode_libdir_separator_GCJ=:
17917
 
 
17918
 
        case $host_cpu in
17919
 
        hppa*64*|ia64*)
17920
 
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
17921
 
          hardcode_direct_GCJ=no
17922
 
          hardcode_shlibpath_var_GCJ=no
17923
 
          ;;
17924
 
        *)
17925
 
          hardcode_direct_GCJ=yes
17926
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
17927
 
 
17928
 
          # hardcode_minus_L: Not really in the search PATH,
17929
 
          # but as the default location of the library.
17930
 
          hardcode_minus_L_GCJ=yes
17931
 
          ;;
17932
 
        esac
17933
 
      fi
17934
 
      ;;
17935
 
 
17936
 
    irix5* | irix6* | nonstopux*)
17937
 
      if test "$GCC" = yes; then
17938
 
        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'
17939
 
      else
17940
 
        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'
17941
 
        hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
17942
 
      fi
17943
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17944
 
      hardcode_libdir_separator_GCJ=:
17945
 
      link_all_deplibs_GCJ=yes
17946
 
      ;;
17947
 
 
17948
 
    netbsd* | netbsdelf*-gnu)
17949
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17950
 
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
17951
 
      else
17952
 
        archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
17953
 
      fi
17954
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17955
 
      hardcode_direct_GCJ=yes
17956
 
      hardcode_shlibpath_var_GCJ=no
17957
 
      ;;
17958
 
 
17959
 
    newsos6)
17960
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17961
 
      hardcode_direct_GCJ=yes
17962
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17963
 
      hardcode_libdir_separator_GCJ=:
17964
 
      hardcode_shlibpath_var_GCJ=no
17965
 
      ;;
17966
 
 
17967
 
    openbsd*)
17968
 
      if test -f /usr/libexec/ld.so; then
17969
 
        hardcode_direct_GCJ=yes
17970
 
        hardcode_shlibpath_var_GCJ=no
17971
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17972
 
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17973
 
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17974
 
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17975
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
17976
 
        else
17977
 
          case $host_os in
17978
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
17979
 
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17980
 
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
17981
 
             ;;
17982
 
           *)
17983
 
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17984
 
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17985
 
             ;;
17986
 
          esac
17987
 
        fi
17988
 
      else
17989
 
        ld_shlibs_GCJ=no
17990
 
      fi
17991
 
      ;;
17992
 
 
17993
 
    os2*)
17994
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17995
 
      hardcode_minus_L_GCJ=yes
17996
 
      allow_undefined_flag_GCJ=unsupported
17997
 
      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'
17998
 
      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17999
 
      ;;
18000
 
 
18001
 
    osf3*)
18002
 
      if test "$GCC" = yes; then
18003
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18004
 
        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'
18005
 
      else
18006
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
18007
 
        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'
18008
 
      fi
18009
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18010
 
      hardcode_libdir_separator_GCJ=:
18011
 
      ;;
18012
 
 
18013
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
18014
 
      if test "$GCC" = yes; then
18015
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18016
 
        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'
18017
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18018
 
      else
18019
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
18020
 
        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'
18021
 
        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~
18022
 
        $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'
18023
 
 
18024
 
        # Both c and cxx compiler support -rpath directly
18025
 
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
18026
 
      fi
18027
 
      hardcode_libdir_separator_GCJ=:
18028
 
      ;;
18029
 
 
18030
 
    solaris*)
18031
 
      no_undefined_flag_GCJ=' -z text'
18032
 
      if test "$GCC" = yes; then
18033
 
        wlarc='${wl}'
18034
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18035
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18036
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18037
 
      else
18038
 
        wlarc=''
18039
 
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18040
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18041
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18042
 
      fi
18043
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18044
 
      hardcode_shlibpath_var_GCJ=no
18045
 
      case $host_os in
18046
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
18047
 
      *)
18048
 
        # The compiler driver will combine and reorder linker options,
18049
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
18050
 
        # but is careful enough not to reorder.
18051
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
18052
 
        if test "$GCC" = yes; then
18053
 
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18054
 
        else
18055
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
18056
 
        fi
18057
 
        ;;
18058
 
      esac
18059
 
      link_all_deplibs_GCJ=yes
18060
 
      ;;
18061
 
 
18062
 
    sunos4*)
18063
 
      if test "x$host_vendor" = xsequent; then
18064
 
        # Use $CC to link under sequent, because it throws in some extra .o
18065
 
        # files that make .init and .fini sections work.
18066
 
        archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18067
 
      else
18068
 
        archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18069
 
      fi
18070
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18071
 
      hardcode_direct_GCJ=yes
18072
 
      hardcode_minus_L_GCJ=yes
18073
 
      hardcode_shlibpath_var_GCJ=no
18074
 
      ;;
18075
 
 
18076
 
    sysv4)
18077
 
      case $host_vendor in
18078
 
        sni)
18079
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18080
 
          hardcode_direct_GCJ=yes # is this really true???
18081
 
        ;;
18082
 
        siemens)
18083
 
          ## LD is ld it makes a PLAMLIB
18084
 
          ## CC just makes a GrossModule.
18085
 
          archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18086
 
          reload_cmds_GCJ='$CC -r -o $output$reload_objs'
18087
 
          hardcode_direct_GCJ=no
18088
 
        ;;
18089
 
        motorola)
18090
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18091
 
          hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
18092
 
        ;;
18093
 
      esac
18094
 
      runpath_var='LD_RUN_PATH'
18095
 
      hardcode_shlibpath_var_GCJ=no
18096
 
      ;;
18097
 
 
18098
 
    sysv4.3*)
18099
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18100
 
      hardcode_shlibpath_var_GCJ=no
18101
 
      export_dynamic_flag_spec_GCJ='-Bexport'
18102
 
      ;;
18103
 
 
18104
 
    sysv4*MP*)
18105
 
      if test -d /usr/nec; then
18106
 
        archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18107
 
        hardcode_shlibpath_var_GCJ=no
18108
 
        runpath_var=LD_RUN_PATH
18109
 
        hardcode_runpath_var=yes
18110
 
        ld_shlibs_GCJ=yes
18111
 
      fi
18112
 
      ;;
18113
 
 
18114
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
18115
 
      no_undefined_flag_GCJ='${wl}-z,text'
18116
 
      archive_cmds_need_lc_GCJ=no
18117
 
      hardcode_shlibpath_var_GCJ=no
18118
 
      runpath_var='LD_RUN_PATH'
18119
 
 
18120
 
      if test "$GCC" = yes; then
18121
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18122
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18123
 
      else
18124
 
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18125
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18126
 
      fi
18127
 
      ;;
18128
 
 
18129
 
    sysv5* | sco3.2v5* | sco5v6*)
18130
 
      # Note: We can NOT use -z defs as we might desire, because we do not
18131
 
      # link with -lc, and that would cause any symbols used from libc to
18132
 
      # always be unresolved, which means just about no library would
18133
 
      # ever link correctly.  If we're not using GNU ld we use -z text
18134
 
      # though, which does catch some bad symbols but isn't as heavy-handed
18135
 
      # as -z defs.
18136
 
      no_undefined_flag_GCJ='${wl}-z,text'
18137
 
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
18138
 
      archive_cmds_need_lc_GCJ=no
18139
 
      hardcode_shlibpath_var_GCJ=no
18140
 
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18141
 
      hardcode_libdir_separator_GCJ=':'
18142
 
      link_all_deplibs_GCJ=yes
18143
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
18144
 
      runpath_var='LD_RUN_PATH'
18145
 
 
18146
 
      if test "$GCC" = yes; then
18147
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18148
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18149
 
      else
18150
 
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18151
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18152
 
      fi
18153
 
      ;;
18154
 
 
18155
 
    uts4*)
18156
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18157
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18158
 
      hardcode_shlibpath_var_GCJ=no
18159
 
      ;;
18160
 
 
18161
 
    *)
18162
 
      ld_shlibs_GCJ=no
18163
 
      ;;
18164
 
    esac
18165
 
  fi
18166
 
 
18167
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18168
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
18169
 
test "$ld_shlibs_GCJ" = no && can_build_shared=no
18170
 
 
18171
 
#
18172
 
# Do we need to explicitly link libc?
18173
 
#
18174
 
case "x$archive_cmds_need_lc_GCJ" in
18175
 
x|xyes)
18176
 
  # Assume -lc should be added
18177
 
  archive_cmds_need_lc_GCJ=yes
18178
 
 
18179
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
18180
 
    case $archive_cmds_GCJ in
18181
 
    *'~'*)
18182
 
      # FIXME: we may have to deal with multi-command sequences.
18183
 
      ;;
18184
 
    '$CC '*)
18185
 
      # Test whether the compiler implicitly links with -lc since on some
18186
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
18187
 
      # to ld, don't add -lc before -lgcc.
18188
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18189
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18190
 
      $rm conftest*
18191
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18192
 
 
18193
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18194
 
  (eval $ac_compile) 2>&5
18195
 
  ac_status=$?
18196
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18197
 
  (exit $ac_status); } 2>conftest.err; then
18198
 
        soname=conftest
18199
 
        lib=conftest
18200
 
        libobjs=conftest.$ac_objext
18201
 
        deplibs=
18202
 
        wl=$lt_prog_compiler_wl_GCJ
18203
 
        pic_flag=$lt_prog_compiler_pic_GCJ
18204
 
        compiler_flags=-v
18205
 
        linker_flags=-v
18206
 
        verstring=
18207
 
        output_objdir=.
18208
 
        libname=conftest
18209
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
18210
 
        allow_undefined_flag_GCJ=
18211
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18212
 
  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
18213
 
  ac_status=$?
18214
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18215
 
  (exit $ac_status); }
18216
 
        then
18217
 
          archive_cmds_need_lc_GCJ=no
18218
 
        else
18219
 
          archive_cmds_need_lc_GCJ=yes
18220
 
        fi
18221
 
        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
18222
 
      else
18223
 
        cat conftest.err 1>&5
18224
 
      fi
18225
 
      $rm conftest*
18226
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18227
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
18228
 
      ;;
18229
 
    esac
18230
 
  fi
18231
 
  ;;
18232
 
esac
18233
 
 
18234
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18235
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18236
 
library_names_spec=
18237
 
libname_spec='lib$name'
18238
 
soname_spec=
18239
 
shrext_cmds=".so"
18240
 
postinstall_cmds=
18241
 
postuninstall_cmds=
18242
 
finish_cmds=
18243
 
finish_eval=
18244
 
shlibpath_var=
18245
 
shlibpath_overrides_runpath=unknown
18246
 
version_type=none
18247
 
dynamic_linker="$host_os ld.so"
18248
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
18249
 
 
18250
 
need_lib_prefix=unknown
18251
 
hardcode_into_libs=no
18252
 
 
18253
 
# when you set need_version to no, make sure it does not cause -set_version
18254
 
# flags to be left without arguments
18255
 
need_version=unknown
18256
 
 
18257
 
case $host_os in
18258
 
aix3*)
18259
 
  version_type=linux
18260
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
18261
 
  shlibpath_var=LIBPATH
18262
 
 
18263
 
  # AIX 3 has no versioning support, so we append a major version to the name.
18264
 
  soname_spec='${libname}${release}${shared_ext}$major'
18265
 
  ;;
18266
 
 
18267
 
aix[4-9]*)
18268
 
  version_type=linux
18269
 
  need_lib_prefix=no
18270
 
  need_version=no
18271
 
  hardcode_into_libs=yes
18272
 
  if test "$host_cpu" = ia64; then
18273
 
    # AIX 5 supports IA64
18274
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18275
 
    shlibpath_var=LD_LIBRARY_PATH
18276
 
  else
18277
 
    # With GCC up to 2.95.x, collect2 would create an import file
18278
 
    # for dependence libraries.  The import file would start with
18279
 
    # the line `#! .'.  This would cause the generated library to
18280
 
    # depend on `.', always an invalid library.  This was fixed in
18281
 
    # development snapshots of GCC prior to 3.0.
18282
 
    case $host_os in
18283
 
      aix4 | aix4.[01] | aix4.[01].*)
18284
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18285
 
           echo ' yes '
18286
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
18287
 
        :
18288
 
      else
18289
 
        can_build_shared=no
18290
 
      fi
18291
 
      ;;
18292
 
    esac
18293
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18294
 
    # soname into executable. Probably we can add versioning support to
18295
 
    # collect2, so additional links can be useful in future.
18296
 
    if test "$aix_use_runtimelinking" = yes; then
18297
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18298
 
      # instead of lib<name>.a to let people know that these are not
18299
 
      # typical AIX shared libraries.
18300
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18301
 
    else
18302
 
      # We preserve .a as extension for shared libraries through AIX4.2
18303
 
      # and later when we are not doing run time linking.
18304
 
      library_names_spec='${libname}${release}.a $libname.a'
18305
 
      soname_spec='${libname}${release}${shared_ext}$major'
18306
 
    fi
18307
 
    shlibpath_var=LIBPATH
18308
 
  fi
18309
 
  ;;
18310
 
 
18311
 
amigaos*)
18312
 
  library_names_spec='$libname.ixlibrary $libname.a'
18313
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
18314
 
  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'
18315
 
  ;;
18316
 
 
18317
 
beos*)
18318
 
  library_names_spec='${libname}${shared_ext}'
18319
 
  dynamic_linker="$host_os ld.so"
18320
 
  shlibpath_var=LIBRARY_PATH
18321
 
  ;;
18322
 
 
18323
 
bsdi[45]*)
18324
 
  version_type=linux
18325
 
  need_version=no
18326
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18327
 
  soname_spec='${libname}${release}${shared_ext}$major'
18328
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18329
 
  shlibpath_var=LD_LIBRARY_PATH
18330
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18331
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18332
 
  # the default ld.so.conf also contains /usr/contrib/lib and
18333
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18334
 
  # libtool to hard-code these into programs
18335
 
  ;;
18336
 
 
18337
 
cygwin* | mingw* | pw32*)
18338
 
  version_type=windows
18339
 
  shrext_cmds=".dll"
18340
 
  need_version=no
18341
 
  need_lib_prefix=no
18342
 
 
18343
 
  case $GCC,$host_os in
18344
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
18345
 
    library_names_spec='$libname.dll.a'
18346
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
18347
 
    postinstall_cmds='base_file=`basename \${file}`~
18348
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18349
 
      dldir=$destdir/`dirname \$dlpath`~
18350
 
      test -d \$dldir || mkdir -p \$dldir~
18351
 
      $install_prog $dir/$dlname \$dldir/$dlname~
18352
 
      chmod a+x \$dldir/$dlname'
18353
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18354
 
      dlpath=$dir/\$dldll~
18355
 
       $rm \$dlpath'
18356
 
    shlibpath_overrides_runpath=yes
18357
 
 
18358
 
    case $host_os in
18359
 
    cygwin*)
18360
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18361
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18362
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
18363
 
      ;;
18364
 
    mingw*)
18365
 
      # MinGW DLLs use traditional 'lib' prefix
18366
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18367
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18368
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
18369
 
        # It is most probably a Windows format PATH printed by
18370
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
18371
 
        # path with ; separators, and with drive letters. We can handle the
18372
 
        # drive letters (cygwin fileutils understands them), so leave them,
18373
 
        # especially as we might pass files found there to a mingw objdump,
18374
 
        # which wouldn't understand a cygwinified path. Ahh.
18375
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18376
 
      else
18377
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
18378
 
      fi
18379
 
      ;;
18380
 
    pw32*)
18381
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
18382
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18383
 
      ;;
18384
 
    esac
18385
 
    ;;
18386
 
 
18387
 
  *)
18388
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18389
 
    ;;
18390
 
  esac
18391
 
  dynamic_linker='Win32 ld.exe'
18392
 
  # FIXME: first we should search . and the directory the executable is in
18393
 
  shlibpath_var=PATH
18394
 
  ;;
18395
 
 
18396
 
darwin* | rhapsody*)
18397
 
  dynamic_linker="$host_os dyld"
18398
 
  version_type=darwin
18399
 
  need_lib_prefix=no
18400
 
  need_version=no
18401
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18402
 
  soname_spec='${libname}${release}${major}$shared_ext'
18403
 
  shlibpath_overrides_runpath=yes
18404
 
  shlibpath_var=DYLD_LIBRARY_PATH
18405
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18406
 
 
18407
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18408
 
  ;;
18409
 
 
18410
 
dgux*)
18411
 
  version_type=linux
18412
 
  need_lib_prefix=no
18413
 
  need_version=no
18414
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18415
 
  soname_spec='${libname}${release}${shared_ext}$major'
18416
 
  shlibpath_var=LD_LIBRARY_PATH
18417
 
  ;;
18418
 
 
18419
 
freebsd1*)
18420
 
  dynamic_linker=no
18421
 
  ;;
18422
 
 
18423
 
freebsd* | dragonfly*)
18424
 
  # DragonFly does not have aout.  When/if they implement a new
18425
 
  # versioning mechanism, adjust this.
18426
 
  if test -x /usr/bin/objformat; then
18427
 
    objformat=`/usr/bin/objformat`
18428
 
  else
18429
 
    case $host_os in
18430
 
    freebsd[123]*) objformat=aout ;;
18431
 
    *) objformat=elf ;;
18432
 
    esac
18433
 
  fi
18434
 
  version_type=freebsd-$objformat
18435
 
  case $version_type in
18436
 
    freebsd-elf*)
18437
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18438
 
      need_version=no
18439
 
      need_lib_prefix=no
18440
 
      ;;
18441
 
    freebsd-*)
18442
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18443
 
      need_version=yes
18444
 
      ;;
18445
 
  esac
18446
 
  shlibpath_var=LD_LIBRARY_PATH
18447
 
  case $host_os in
18448
 
  freebsd2*)
18449
 
    shlibpath_overrides_runpath=yes
18450
 
    ;;
18451
 
  freebsd3.[01]* | freebsdelf3.[01]*)
18452
 
    shlibpath_overrides_runpath=yes
18453
 
    hardcode_into_libs=yes
18454
 
    ;;
18455
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
18456
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
18457
 
    shlibpath_overrides_runpath=no
18458
 
    hardcode_into_libs=yes
18459
 
    ;;
18460
 
  *) # from 4.6 on, and DragonFly
18461
 
    shlibpath_overrides_runpath=yes
18462
 
    hardcode_into_libs=yes
18463
 
    ;;
18464
 
  esac
18465
 
  ;;
18466
 
 
18467
 
gnu*)
18468
 
  version_type=linux
18469
 
  need_lib_prefix=no
18470
 
  need_version=no
18471
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18472
 
  soname_spec='${libname}${release}${shared_ext}$major'
18473
 
  shlibpath_var=LD_LIBRARY_PATH
18474
 
  hardcode_into_libs=yes
18475
 
  ;;
18476
 
 
18477
 
hpux9* | hpux10* | hpux11*)
18478
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
18479
 
  # link against other versions.
18480
 
  version_type=sunos
18481
 
  need_lib_prefix=no
18482
 
  need_version=no
18483
 
  case $host_cpu in
18484
 
  ia64*)
18485
 
    shrext_cmds='.so'
18486
 
    hardcode_into_libs=yes
18487
 
    dynamic_linker="$host_os dld.so"
18488
 
    shlibpath_var=LD_LIBRARY_PATH
18489
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18490
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18491
 
    soname_spec='${libname}${release}${shared_ext}$major'
18492
 
    if test "X$HPUX_IA64_MODE" = X32; then
18493
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18494
 
    else
18495
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18496
 
    fi
18497
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18498
 
    ;;
18499
 
   hppa*64*)
18500
 
     shrext_cmds='.sl'
18501
 
     hardcode_into_libs=yes
18502
 
     dynamic_linker="$host_os dld.sl"
18503
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18504
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18505
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18506
 
     soname_spec='${libname}${release}${shared_ext}$major'
18507
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18508
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18509
 
     ;;
18510
 
   *)
18511
 
    shrext_cmds='.sl'
18512
 
    dynamic_linker="$host_os dld.sl"
18513
 
    shlibpath_var=SHLIB_PATH
18514
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18515
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18516
 
    soname_spec='${libname}${release}${shared_ext}$major'
18517
 
    ;;
18518
 
  esac
18519
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
18520
 
  postinstall_cmds='chmod 555 $lib'
18521
 
  ;;
18522
 
 
18523
 
interix[3-9]*)
18524
 
  version_type=linux
18525
 
  need_lib_prefix=no
18526
 
  need_version=no
18527
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18528
 
  soname_spec='${libname}${release}${shared_ext}$major'
18529
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
18530
 
  shlibpath_var=LD_LIBRARY_PATH
18531
 
  shlibpath_overrides_runpath=no
18532
 
  hardcode_into_libs=yes
18533
 
  ;;
18534
 
 
18535
 
irix5* | irix6* | nonstopux*)
18536
 
  case $host_os in
18537
 
    nonstopux*) version_type=nonstopux ;;
18538
 
    *)
18539
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
18540
 
                version_type=linux
18541
 
        else
18542
 
                version_type=irix
18543
 
        fi ;;
18544
 
  esac
18545
 
  need_lib_prefix=no
18546
 
  need_version=no
18547
 
  soname_spec='${libname}${release}${shared_ext}$major'
18548
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18549
 
  case $host_os in
18550
 
  irix5* | nonstopux*)
18551
 
    libsuff= shlibsuff=
18552
 
    ;;
18553
 
  *)
18554
 
    case $LD in # libtool.m4 will add one of these switches to LD
18555
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18556
 
      libsuff= shlibsuff= libmagic=32-bit;;
18557
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18558
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
18559
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18560
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
18561
 
    *) libsuff= shlibsuff= libmagic=never-match;;
18562
 
    esac
18563
 
    ;;
18564
 
  esac
18565
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18566
 
  shlibpath_overrides_runpath=no
18567
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18568
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18569
 
  hardcode_into_libs=yes
18570
 
  ;;
18571
 
 
18572
 
# No shared lib support for Linux oldld, aout, or coff.
18573
 
linux*oldld* | linux*aout* | linux*coff*)
18574
 
  dynamic_linker=no
18575
 
  ;;
18576
 
 
18577
 
# This must be Linux ELF.
18578
 
linux* | k*bsd*-gnu)
18579
 
  version_type=linux
18580
 
  need_lib_prefix=no
18581
 
  need_version=no
18582
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18583
 
  soname_spec='${libname}${release}${shared_ext}$major'
18584
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18585
 
  shlibpath_var=LD_LIBRARY_PATH
18586
 
  shlibpath_overrides_runpath=no
18587
 
  # This implies no fast_install, which is unacceptable.
18588
 
  # Some rework will be needed to allow for fast_install
18589
 
  # before this can be enabled.
18590
 
  hardcode_into_libs=yes
18591
 
 
18592
 
  # Append ld.so.conf contents to the search path
18593
 
  if test -f /etc/ld.so.conf; then
18594
 
    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' ' '`
18595
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
18596
 
  fi
18597
 
 
18598
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
18599
 
  # powerpc, because MkLinux only supported shared libraries with the
18600
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
18601
 
  # most powerpc-linux boxes support dynamic linking these days and
18602
 
  # people can always --disable-shared, the test was removed, and we
18603
 
  # assume the GNU/Linux dynamic linker is in use.
18604
 
  dynamic_linker='GNU/Linux ld.so'
18605
 
  ;;
18606
 
 
18607
 
netbsdelf*-gnu)
18608
 
  version_type=linux
18609
 
  need_lib_prefix=no
18610
 
  need_version=no
18611
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18612
 
  soname_spec='${libname}${release}${shared_ext}$major'
18613
 
  shlibpath_var=LD_LIBRARY_PATH
18614
 
  shlibpath_overrides_runpath=no
18615
 
  hardcode_into_libs=yes
18616
 
  dynamic_linker='NetBSD ld.elf_so'
18617
 
  ;;
18618
 
 
18619
 
netbsd*)
18620
 
  version_type=sunos
18621
 
  need_lib_prefix=no
18622
 
  need_version=no
18623
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18624
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18625
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18626
 
    dynamic_linker='NetBSD (a.out) ld.so'
18627
 
  else
18628
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18629
 
    soname_spec='${libname}${release}${shared_ext}$major'
18630
 
    dynamic_linker='NetBSD ld.elf_so'
18631
 
  fi
18632
 
  shlibpath_var=LD_LIBRARY_PATH
18633
 
  shlibpath_overrides_runpath=yes
18634
 
  hardcode_into_libs=yes
18635
 
  ;;
18636
 
 
18637
 
newsos6)
18638
 
  version_type=linux
18639
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18640
 
  shlibpath_var=LD_LIBRARY_PATH
18641
 
  shlibpath_overrides_runpath=yes
18642
 
  ;;
18643
 
 
18644
 
nto-qnx*)
18645
 
  version_type=linux
18646
 
  need_lib_prefix=no
18647
 
  need_version=no
18648
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18649
 
  soname_spec='${libname}${release}${shared_ext}$major'
18650
 
  shlibpath_var=LD_LIBRARY_PATH
18651
 
  shlibpath_overrides_runpath=yes
18652
 
  ;;
18653
 
 
18654
 
openbsd*)
18655
 
  version_type=sunos
18656
 
  sys_lib_dlsearch_path_spec="/usr/lib"
18657
 
  need_lib_prefix=no
18658
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18659
 
  case $host_os in
18660
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
18661
 
    *)                         need_version=no  ;;
18662
 
  esac
18663
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18664
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18665
 
  shlibpath_var=LD_LIBRARY_PATH
18666
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18667
 
    case $host_os in
18668
 
      openbsd2.[89] | openbsd2.[89].*)
18669
 
        shlibpath_overrides_runpath=no
18670
 
        ;;
18671
 
      *)
18672
 
        shlibpath_overrides_runpath=yes
18673
 
        ;;
18674
 
      esac
18675
 
  else
18676
 
    shlibpath_overrides_runpath=yes
18677
 
  fi
18678
 
  ;;
18679
 
 
18680
 
os2*)
18681
 
  libname_spec='$name'
18682
 
  shrext_cmds=".dll"
18683
 
  need_lib_prefix=no
18684
 
  library_names_spec='$libname${shared_ext} $libname.a'
18685
 
  dynamic_linker='OS/2 ld.exe'
18686
 
  shlibpath_var=LIBPATH
18687
 
  ;;
18688
 
 
18689
 
osf3* | osf4* | osf5*)
18690
 
  version_type=osf
18691
 
  need_lib_prefix=no
18692
 
  need_version=no
18693
 
  soname_spec='${libname}${release}${shared_ext}$major'
18694
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18695
 
  shlibpath_var=LD_LIBRARY_PATH
18696
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18697
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18698
 
  ;;
18699
 
 
18700
 
rdos*)
18701
 
  dynamic_linker=no
18702
 
  ;;
18703
 
 
18704
 
solaris*)
18705
 
  version_type=linux
18706
 
  need_lib_prefix=no
18707
 
  need_version=no
18708
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18709
 
  soname_spec='${libname}${release}${shared_ext}$major'
18710
 
  shlibpath_var=LD_LIBRARY_PATH
18711
 
  shlibpath_overrides_runpath=yes
18712
 
  hardcode_into_libs=yes
18713
 
  # ldd complains unless libraries are executable
18714
 
  postinstall_cmds='chmod +x $lib'
18715
 
  ;;
18716
 
 
18717
 
sunos4*)
18718
 
  version_type=sunos
18719
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18720
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18721
 
  shlibpath_var=LD_LIBRARY_PATH
18722
 
  shlibpath_overrides_runpath=yes
18723
 
  if test "$with_gnu_ld" = yes; then
18724
 
    need_lib_prefix=no
18725
 
  fi
18726
 
  need_version=yes
18727
 
  ;;
18728
 
 
18729
 
sysv4 | sysv4.3*)
18730
 
  version_type=linux
18731
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18732
 
  soname_spec='${libname}${release}${shared_ext}$major'
18733
 
  shlibpath_var=LD_LIBRARY_PATH
18734
 
  case $host_vendor in
18735
 
    sni)
18736
 
      shlibpath_overrides_runpath=no
18737
 
      need_lib_prefix=no
18738
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
18739
 
      runpath_var=LD_RUN_PATH
18740
 
      ;;
18741
 
    siemens)
18742
 
      need_lib_prefix=no
18743
 
      ;;
18744
 
    motorola)
18745
 
      need_lib_prefix=no
18746
 
      need_version=no
18747
 
      shlibpath_overrides_runpath=no
18748
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18749
 
      ;;
18750
 
  esac
18751
 
  ;;
18752
 
 
18753
 
sysv4*MP*)
18754
 
  if test -d /usr/nec ;then
18755
 
    version_type=linux
18756
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18757
 
    soname_spec='$libname${shared_ext}.$major'
18758
 
    shlibpath_var=LD_LIBRARY_PATH
18759
 
  fi
18760
 
  ;;
18761
 
 
18762
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
18763
 
  version_type=freebsd-elf
18764
 
  need_lib_prefix=no
18765
 
  need_version=no
18766
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18767
 
  soname_spec='${libname}${release}${shared_ext}$major'
18768
 
  shlibpath_var=LD_LIBRARY_PATH
18769
 
  hardcode_into_libs=yes
18770
 
  if test "$with_gnu_ld" = yes; then
18771
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18772
 
    shlibpath_overrides_runpath=no
18773
 
  else
18774
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
18775
 
    shlibpath_overrides_runpath=yes
18776
 
    case $host_os in
18777
 
      sco3.2v5*)
18778
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
18779
 
        ;;
18780
 
    esac
18781
 
  fi
18782
 
  sys_lib_dlsearch_path_spec='/usr/lib'
18783
 
  ;;
18784
 
 
18785
 
uts4*)
18786
 
  version_type=linux
18787
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18788
 
  soname_spec='${libname}${release}${shared_ext}$major'
18789
 
  shlibpath_var=LD_LIBRARY_PATH
18790
 
  ;;
18791
 
 
18792
 
*)
18793
 
  dynamic_linker=no
18794
 
  ;;
18795
 
esac
18796
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18797
 
echo "${ECHO_T}$dynamic_linker" >&6; }
18798
 
test "$dynamic_linker" = no && can_build_shared=no
18799
 
 
18800
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
18801
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18802
 
else
18803
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
18804
 
fi
18805
 
 
18806
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
18807
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
18808
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18809
 
else
18810
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
18811
 
fi
18812
 
 
18813
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
18814
 
 
18815
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18816
 
if test "$GCC" = yes; then
18817
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18818
 
fi
18819
 
 
18820
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18821
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18822
 
hardcode_action_GCJ=
18823
 
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18824
 
   test -n "$runpath_var_GCJ" || \
18825
 
   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18826
 
 
18827
 
  # We can hardcode non-existant directories.
18828
 
  if test "$hardcode_direct_GCJ" != no &&
18829
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
18830
 
     # have to relink, otherwise we might link with an installed library
18831
 
     # when we should be linking with a yet-to-be-installed one
18832
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18833
 
     test "$hardcode_minus_L_GCJ" != no; then
18834
 
    # Linking always hardcodes the temporary library directory.
18835
 
    hardcode_action_GCJ=relink
18836
 
  else
18837
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
18838
 
    hardcode_action_GCJ=immediate
18839
 
  fi
18840
 
else
18841
 
  # We cannot hardcode anything, or else we can only hardcode existing
18842
 
  # directories.
18843
 
  hardcode_action_GCJ=unsupported
18844
 
fi
18845
 
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18846
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18847
 
 
18848
 
if test "$hardcode_action_GCJ" = relink; then
18849
 
  # Fast installation is not supported
18850
 
  enable_fast_install=no
18851
 
elif test "$shlibpath_overrides_runpath" = yes ||
18852
 
     test "$enable_shared" = no; then
18853
 
  # Fast installation is not necessary
18854
 
  enable_fast_install=needless
18855
 
fi
18856
 
 
18857
 
 
18858
 
# The else clause should only fire when bootstrapping the
18859
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
18860
 
# with your package, and you will get complaints that there are
18861
 
# no rules to generate ltmain.sh.
18862
 
if test -f "$ltmain"; then
18863
 
  # See if we are running on zsh, and set the options which allow our commands through
18864
 
  # without removal of \ escapes.
18865
 
  if test -n "${ZSH_VERSION+set}" ; then
18866
 
    setopt NO_GLOB_SUBST
18867
 
  fi
18868
 
  # Now quote all the things that may contain metacharacters while being
18869
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
18870
 
  # variables and quote the copies for generation of the libtool script.
18871
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18872
 
    SED SHELL STRIP \
18873
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18874
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18875
 
    deplibs_check_method reload_flag reload_cmds need_locks \
18876
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18877
 
    lt_cv_sys_global_symbol_to_c_name_address \
18878
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18879
 
    old_postinstall_cmds old_postuninstall_cmds \
18880
 
    compiler_GCJ \
18881
 
    CC_GCJ \
18882
 
    LD_GCJ \
18883
 
    lt_prog_compiler_wl_GCJ \
18884
 
    lt_prog_compiler_pic_GCJ \
18885
 
    lt_prog_compiler_static_GCJ \
18886
 
    lt_prog_compiler_no_builtin_flag_GCJ \
18887
 
    export_dynamic_flag_spec_GCJ \
18888
 
    thread_safe_flag_spec_GCJ \
18889
 
    whole_archive_flag_spec_GCJ \
18890
 
    enable_shared_with_static_runtimes_GCJ \
18891
 
    old_archive_cmds_GCJ \
18892
 
    old_archive_from_new_cmds_GCJ \
18893
 
    predep_objects_GCJ \
18894
 
    postdep_objects_GCJ \
18895
 
    predeps_GCJ \
18896
 
    postdeps_GCJ \
18897
 
    compiler_lib_search_path_GCJ \
18898
 
    compiler_lib_search_dirs_GCJ \
18899
 
    archive_cmds_GCJ \
18900
 
    archive_expsym_cmds_GCJ \
18901
 
    postinstall_cmds_GCJ \
18902
 
    postuninstall_cmds_GCJ \
18903
 
    old_archive_from_expsyms_cmds_GCJ \
18904
 
    allow_undefined_flag_GCJ \
18905
 
    no_undefined_flag_GCJ \
18906
 
    export_symbols_cmds_GCJ \
18907
 
    hardcode_libdir_flag_spec_GCJ \
18908
 
    hardcode_libdir_flag_spec_ld_GCJ \
18909
 
    hardcode_libdir_separator_GCJ \
18910
 
    hardcode_automatic_GCJ \
18911
 
    module_cmds_GCJ \
18912
 
    module_expsym_cmds_GCJ \
18913
 
    lt_cv_prog_compiler_c_o_GCJ \
18914
 
    fix_srcfile_path_GCJ \
18915
 
    exclude_expsyms_GCJ \
18916
 
    include_expsyms_GCJ; do
18917
 
 
18918
 
    case $var in
18919
 
    old_archive_cmds_GCJ | \
18920
 
    old_archive_from_new_cmds_GCJ | \
18921
 
    archive_cmds_GCJ | \
18922
 
    archive_expsym_cmds_GCJ | \
18923
 
    module_cmds_GCJ | \
18924
 
    module_expsym_cmds_GCJ | \
18925
 
    old_archive_from_expsyms_cmds_GCJ | \
18926
 
    export_symbols_cmds_GCJ | \
18927
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
18928
 
    postinstall_cmds | postuninstall_cmds | \
18929
 
    old_postinstall_cmds | old_postuninstall_cmds | \
18930
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18931
 
      # Double-quote double-evaled strings.
18932
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18933
 
      ;;
18934
 
    *)
18935
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18936
 
      ;;
18937
 
    esac
18938
 
  done
18939
 
 
18940
 
  case $lt_echo in
18941
 
  *'\$0 --fallback-echo"')
18942
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18943
 
    ;;
18944
 
  esac
18945
 
 
18946
 
cfgfile="$ofile"
18947
 
 
18948
 
  cat <<__EOF__ >> "$cfgfile"
18949
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
18950
 
 
18951
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18952
 
 
18953
 
# Shell to use when invoking shell scripts.
18954
 
SHELL=$lt_SHELL
18955
 
 
18956
 
# Whether or not to build shared libraries.
18957
 
build_libtool_libs=$enable_shared
18958
 
 
18959
 
# Whether or not to build static libraries.
18960
 
build_old_libs=$enable_static
18961
 
 
18962
 
# Whether or not to add -lc for building shared libraries.
18963
 
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18964
 
 
18965
 
# Whether or not to disallow shared libs when runtime libs are static
18966
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18967
 
 
18968
 
# Whether or not to optimize for fast installation.
18969
 
fast_install=$enable_fast_install
18970
 
 
18971
 
# The host system.
18972
 
host_alias=$host_alias
18973
 
host=$host
18974
 
host_os=$host_os
18975
 
 
18976
 
# The build system.
18977
 
build_alias=$build_alias
18978
 
build=$build
18979
 
build_os=$build_os
18980
 
 
18981
 
# An echo program that does not interpret backslashes.
18982
 
echo=$lt_echo
18983
 
 
18984
 
# The archiver.
18985
 
AR=$lt_AR
18986
 
AR_FLAGS=$lt_AR_FLAGS
18987
 
 
18988
 
# A C compiler.
18989
 
LTCC=$lt_LTCC
18990
 
 
18991
 
# LTCC compiler flags.
18992
 
LTCFLAGS=$lt_LTCFLAGS
18993
 
 
18994
 
# A language-specific compiler.
18995
 
CC=$lt_compiler_GCJ
18996
 
 
18997
 
# Is the compiler the GNU C compiler?
18998
 
with_gcc=$GCC_GCJ
18999
 
 
19000
 
# An ERE matcher.
19001
 
EGREP=$lt_EGREP
19002
 
 
19003
 
# The linker used to build libraries.
19004
 
LD=$lt_LD_GCJ
19005
 
 
19006
 
# Whether we need hard or soft links.
19007
 
LN_S=$lt_LN_S
19008
 
 
19009
 
# A BSD-compatible nm program.
19010
 
NM=$lt_NM
19011
 
 
19012
 
# A symbol stripping program
19013
 
STRIP=$lt_STRIP
19014
 
 
19015
 
# Used to examine libraries when file_magic_cmd begins "file"
19016
 
MAGIC_CMD=$MAGIC_CMD
19017
 
 
19018
 
# Used on cygwin: DLL creation program.
19019
 
DLLTOOL="$DLLTOOL"
19020
 
 
19021
 
# Used on cygwin: object dumper.
19022
 
OBJDUMP="$OBJDUMP"
19023
 
 
19024
 
# Used on cygwin: assembler.
19025
 
AS="$AS"
19026
 
 
19027
 
# The name of the directory that contains temporary libtool files.
19028
 
objdir=$objdir
19029
 
 
19030
 
# How to create reloadable object files.
19031
 
reload_flag=$lt_reload_flag
19032
 
reload_cmds=$lt_reload_cmds
19033
 
 
19034
 
# How to pass a linker flag through the compiler.
19035
 
wl=$lt_lt_prog_compiler_wl_GCJ
19036
 
 
19037
 
# Object file suffix (normally "o").
19038
 
objext="$ac_objext"
19039
 
 
19040
 
# Old archive suffix (normally "a").
19041
 
libext="$libext"
19042
 
 
19043
 
# Shared library suffix (normally ".so").
19044
 
shrext_cmds='$shrext_cmds'
19045
 
 
19046
 
# Executable file suffix (normally "").
19047
 
exeext="$exeext"
19048
 
 
19049
 
# Additional compiler flags for building library objects.
19050
 
pic_flag=$lt_lt_prog_compiler_pic_GCJ
19051
 
pic_mode=$pic_mode
19052
 
 
19053
 
# What is the maximum length of a command?
19054
 
max_cmd_len=$lt_cv_sys_max_cmd_len
19055
 
 
19056
 
# Does compiler simultaneously support -c and -o options?
19057
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19058
 
 
19059
 
# Must we lock files when doing compilation?
19060
 
need_locks=$lt_need_locks
19061
 
 
19062
 
# Do we need the lib prefix for modules?
19063
 
need_lib_prefix=$need_lib_prefix
19064
 
 
19065
 
# Do we need a version for libraries?
19066
 
need_version=$need_version
19067
 
 
19068
 
# Whether dlopen is supported.
19069
 
dlopen_support=$enable_dlopen
19070
 
 
19071
 
# Whether dlopen of programs is supported.
19072
 
dlopen_self=$enable_dlopen_self
19073
 
 
19074
 
# Whether dlopen of statically linked programs is supported.
19075
 
dlopen_self_static=$enable_dlopen_self_static
19076
 
 
19077
 
# Compiler flag to prevent dynamic linking.
19078
 
link_static_flag=$lt_lt_prog_compiler_static_GCJ
19079
 
 
19080
 
# Compiler flag to turn off builtin functions.
19081
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19082
 
 
19083
 
# Compiler flag to allow reflexive dlopens.
19084
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19085
 
 
19086
 
# Compiler flag to generate shared objects directly from archives.
19087
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19088
 
 
19089
 
# Compiler flag to generate thread-safe objects.
19090
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19091
 
 
19092
 
# Library versioning type.
19093
 
version_type=$version_type
19094
 
 
19095
 
# Format of library name prefix.
19096
 
libname_spec=$lt_libname_spec
19097
 
 
19098
 
# List of archive names.  First name is the real one, the rest are links.
19099
 
# The last name is the one that the linker finds with -lNAME.
19100
 
library_names_spec=$lt_library_names_spec
19101
 
 
19102
 
# The coded name of the library, if different from the real name.
19103
 
soname_spec=$lt_soname_spec
19104
 
 
19105
 
# Commands used to build and install an old-style archive.
19106
 
RANLIB=$lt_RANLIB
19107
 
old_archive_cmds=$lt_old_archive_cmds_GCJ
19108
 
old_postinstall_cmds=$lt_old_postinstall_cmds
19109
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
19110
 
 
19111
 
# Create an old-style archive from a shared archive.
19112
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19113
 
 
19114
 
# Create a temporary old-style archive to link instead of a shared archive.
19115
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19116
 
 
19117
 
# Commands used to build and install a shared archive.
19118
 
archive_cmds=$lt_archive_cmds_GCJ
19119
 
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19120
 
postinstall_cmds=$lt_postinstall_cmds
19121
 
postuninstall_cmds=$lt_postuninstall_cmds
19122
 
 
19123
 
# Commands used to build a loadable module (assumed same as above if empty)
19124
 
module_cmds=$lt_module_cmds_GCJ
19125
 
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19126
 
 
19127
 
# Commands to strip libraries.
19128
 
old_striplib=$lt_old_striplib
19129
 
striplib=$lt_striplib
19130
 
 
19131
 
# Dependencies to place before the objects being linked to create a
19132
 
# shared library.
19133
 
predep_objects=$lt_predep_objects_GCJ
19134
 
 
19135
 
# Dependencies to place after the objects being linked to create a
19136
 
# shared library.
19137
 
postdep_objects=$lt_postdep_objects_GCJ
19138
 
 
19139
 
# Dependencies to place before the objects being linked to create a
19140
 
# shared library.
19141
 
predeps=$lt_predeps_GCJ
19142
 
 
19143
 
# Dependencies to place after the objects being linked to create a
19144
 
# shared library.
19145
 
postdeps=$lt_postdeps_GCJ
19146
 
 
19147
 
# The directories searched by this compiler when creating a shared
19148
 
# library
19149
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
19150
 
 
19151
 
# The library search path used internally by the compiler when linking
19152
 
# a shared library.
19153
 
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19154
 
 
19155
 
# Method to check whether dependent libraries are shared objects.
19156
 
deplibs_check_method=$lt_deplibs_check_method
19157
 
 
19158
 
# Command to use when deplibs_check_method == file_magic.
19159
 
file_magic_cmd=$lt_file_magic_cmd
19160
 
 
19161
 
# Flag that allows shared libraries with undefined symbols to be built.
19162
 
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19163
 
 
19164
 
# Flag that forces no undefined symbols.
19165
 
no_undefined_flag=$lt_no_undefined_flag_GCJ
19166
 
 
19167
 
# Commands used to finish a libtool library installation in a directory.
19168
 
finish_cmds=$lt_finish_cmds
19169
 
 
19170
 
# Same as above, but a single script fragment to be evaled but not shown.
19171
 
finish_eval=$lt_finish_eval
19172
 
 
19173
 
# Take the output of nm and produce a listing of raw symbols and C names.
19174
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19175
 
 
19176
 
# Transform the output of nm in a proper C declaration
19177
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19178
 
 
19179
 
# Transform the output of nm in a C name address pair
19180
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19181
 
 
19182
 
# This is the shared library runtime path variable.
19183
 
runpath_var=$runpath_var
19184
 
 
19185
 
# This is the shared library path variable.
19186
 
shlibpath_var=$shlibpath_var
19187
 
 
19188
 
# Is shlibpath searched before the hard-coded library search path?
19189
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19190
 
 
19191
 
# How to hardcode a shared library path into an executable.
19192
 
hardcode_action=$hardcode_action_GCJ
19193
 
 
19194
 
# Whether we should hardcode library paths into libraries.
19195
 
hardcode_into_libs=$hardcode_into_libs
19196
 
 
19197
 
# Flag to hardcode \$libdir into a binary during linking.
19198
 
# This must work even if \$libdir does not exist.
19199
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19200
 
 
19201
 
# If ld is used when linking, flag to hardcode \$libdir into
19202
 
# a binary during linking. This must work even if \$libdir does
19203
 
# not exist.
19204
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19205
 
 
19206
 
# Whether we need a single -rpath flag with a separated argument.
19207
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19208
 
 
19209
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19210
 
# resulting binary.
19211
 
hardcode_direct=$hardcode_direct_GCJ
19212
 
 
19213
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19214
 
# resulting binary.
19215
 
hardcode_minus_L=$hardcode_minus_L_GCJ
19216
 
 
19217
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19218
 
# the resulting binary.
19219
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19220
 
 
19221
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
19222
 
# and all subsequent libraries and executables linked against it.
19223
 
hardcode_automatic=$hardcode_automatic_GCJ
19224
 
 
19225
 
# Variables whose values should be saved in libtool wrapper scripts and
19226
 
# restored at relink time.
19227
 
variables_saved_for_relink="$variables_saved_for_relink"
19228
 
 
19229
 
# Whether libtool must link a program against all its dependency libraries.
19230
 
link_all_deplibs=$link_all_deplibs_GCJ
19231
 
 
19232
 
# Compile-time system search path for libraries
19233
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19234
 
 
19235
 
# Run-time system search path for libraries
19236
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19237
 
 
19238
 
# Fix the shell variable \$srcfile for the compiler.
19239
 
fix_srcfile_path=$lt_fix_srcfile_path
19240
 
 
19241
 
# Set to yes if exported symbols are required.
19242
 
always_export_symbols=$always_export_symbols_GCJ
19243
 
 
19244
 
# The commands to list exported symbols.
19245
 
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19246
 
 
19247
 
# The commands to extract the exported symbol list from a shared archive.
19248
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
19249
 
 
19250
 
# Symbols that should not be listed in the preloaded symbols.
19251
 
exclude_expsyms=$lt_exclude_expsyms_GCJ
19252
 
 
19253
 
# Symbols that must always be exported.
19254
 
include_expsyms=$lt_include_expsyms_GCJ
19255
 
 
19256
 
# ### END LIBTOOL TAG CONFIG: $tagname
19257
 
 
19258
 
__EOF__
19259
 
 
19260
 
 
19261
 
else
19262
 
  # If there is no Makefile yet, we rely on a make rule to execute
19263
 
  # `config.status --recheck' to rerun these tests and create the
19264
 
  # libtool script then.
19265
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19266
 
  if test -f "$ltmain_in"; then
19267
 
    test -f Makefile && make "$ltmain"
19268
 
  fi
19269
 
fi
19270
 
 
19271
 
 
19272
 
ac_ext=c
19273
 
ac_cpp='$CPP $CPPFLAGS'
19274
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19275
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19276
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19277
 
 
19278
 
CC="$lt_save_CC"
19279
 
 
19280
 
        else
19281
 
          tagname=""
19282
 
        fi
19283
 
        ;;
19284
 
 
19285
 
      RC)
19286
 
 
19287
 
 
19288
 
# Source file extension for RC test sources.
19289
 
ac_ext=rc
19290
 
 
19291
 
# Object file extension for compiled RC test sources.
19292
 
objext=o
19293
 
objext_RC=$objext
19294
 
 
19295
 
# Code to be used in simple compile tests
19296
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
19297
 
 
19298
 
# Code to be used in simple link tests
19299
 
lt_simple_link_test_code="$lt_simple_compile_test_code"
19300
 
 
19301
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
19302
 
 
19303
 
# If no C compiler was specified, use CC.
19304
 
LTCC=${LTCC-"$CC"}
19305
 
 
19306
 
# If no C compiler flags were specified, use CFLAGS.
19307
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
19308
 
 
19309
 
# Allow CC to be a program name with arguments.
19310
 
compiler=$CC
19311
 
 
19312
 
 
19313
 
# save warnings/boilerplate of simple test code
19314
 
ac_outfile=conftest.$ac_objext
19315
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
19316
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19317
 
_lt_compiler_boilerplate=`cat conftest.err`
19318
 
$rm conftest*
19319
 
 
19320
 
ac_outfile=conftest.$ac_objext
19321
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
19322
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19323
 
_lt_linker_boilerplate=`cat conftest.err`
19324
 
$rm -r conftest*
19325
 
 
19326
 
 
19327
 
# Allow CC to be a program name with arguments.
19328
 
lt_save_CC="$CC"
19329
 
CC=${RC-"windres"}
19330
 
compiler=$CC
19331
 
compiler_RC=$CC
19332
 
for cc_temp in $compiler""; do
19333
 
  case $cc_temp in
19334
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19335
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19336
 
    \-*) ;;
19337
 
    *) break;;
19338
 
  esac
19339
 
done
19340
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19341
 
 
19342
 
lt_cv_prog_compiler_c_o_RC=yes
19343
 
 
19344
 
# The else clause should only fire when bootstrapping the
19345
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
19346
 
# with your package, and you will get complaints that there are
19347
 
# no rules to generate ltmain.sh.
19348
 
if test -f "$ltmain"; then
19349
 
  # See if we are running on zsh, and set the options which allow our commands through
19350
 
  # without removal of \ escapes.
19351
 
  if test -n "${ZSH_VERSION+set}" ; then
19352
 
    setopt NO_GLOB_SUBST
19353
 
  fi
19354
 
  # Now quote all the things that may contain metacharacters while being
19355
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
19356
 
  # variables and quote the copies for generation of the libtool script.
19357
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19358
 
    SED SHELL STRIP \
19359
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19360
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19361
 
    deplibs_check_method reload_flag reload_cmds need_locks \
19362
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19363
 
    lt_cv_sys_global_symbol_to_c_name_address \
19364
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19365
 
    old_postinstall_cmds old_postuninstall_cmds \
19366
 
    compiler_RC \
19367
 
    CC_RC \
19368
 
    LD_RC \
19369
 
    lt_prog_compiler_wl_RC \
19370
 
    lt_prog_compiler_pic_RC \
19371
 
    lt_prog_compiler_static_RC \
19372
 
    lt_prog_compiler_no_builtin_flag_RC \
19373
 
    export_dynamic_flag_spec_RC \
19374
 
    thread_safe_flag_spec_RC \
19375
 
    whole_archive_flag_spec_RC \
19376
 
    enable_shared_with_static_runtimes_RC \
19377
 
    old_archive_cmds_RC \
19378
 
    old_archive_from_new_cmds_RC \
19379
 
    predep_objects_RC \
19380
 
    postdep_objects_RC \
19381
 
    predeps_RC \
19382
 
    postdeps_RC \
19383
 
    compiler_lib_search_path_RC \
19384
 
    compiler_lib_search_dirs_RC \
19385
 
    archive_cmds_RC \
19386
 
    archive_expsym_cmds_RC \
19387
 
    postinstall_cmds_RC \
19388
 
    postuninstall_cmds_RC \
19389
 
    old_archive_from_expsyms_cmds_RC \
19390
 
    allow_undefined_flag_RC \
19391
 
    no_undefined_flag_RC \
19392
 
    export_symbols_cmds_RC \
19393
 
    hardcode_libdir_flag_spec_RC \
19394
 
    hardcode_libdir_flag_spec_ld_RC \
19395
 
    hardcode_libdir_separator_RC \
19396
 
    hardcode_automatic_RC \
19397
 
    module_cmds_RC \
19398
 
    module_expsym_cmds_RC \
19399
 
    lt_cv_prog_compiler_c_o_RC \
19400
 
    fix_srcfile_path_RC \
19401
 
    exclude_expsyms_RC \
19402
 
    include_expsyms_RC; do
19403
 
 
19404
 
    case $var in
19405
 
    old_archive_cmds_RC | \
19406
 
    old_archive_from_new_cmds_RC | \
19407
 
    archive_cmds_RC | \
19408
 
    archive_expsym_cmds_RC | \
19409
 
    module_cmds_RC | \
19410
 
    module_expsym_cmds_RC | \
19411
 
    old_archive_from_expsyms_cmds_RC | \
19412
 
    export_symbols_cmds_RC | \
19413
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
19414
 
    postinstall_cmds | postuninstall_cmds | \
19415
 
    old_postinstall_cmds | old_postuninstall_cmds | \
19416
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19417
 
      # Double-quote double-evaled strings.
19418
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19419
 
      ;;
19420
 
    *)
19421
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19422
 
      ;;
19423
 
    esac
19424
 
  done
19425
 
 
19426
 
  case $lt_echo in
19427
 
  *'\$0 --fallback-echo"')
19428
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19429
 
    ;;
19430
 
  esac
19431
 
 
19432
 
cfgfile="$ofile"
19433
 
 
19434
 
  cat <<__EOF__ >> "$cfgfile"
19435
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
19436
 
 
19437
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19438
 
 
19439
 
# Shell to use when invoking shell scripts.
19440
 
SHELL=$lt_SHELL
19441
 
 
19442
 
# Whether or not to build shared libraries.
19443
 
build_libtool_libs=$enable_shared
19444
 
 
19445
 
# Whether or not to build static libraries.
19446
 
build_old_libs=$enable_static
19447
 
 
19448
 
# Whether or not to add -lc for building shared libraries.
19449
 
build_libtool_need_lc=$archive_cmds_need_lc_RC
19450
 
 
19451
 
# Whether or not to disallow shared libs when runtime libs are static
19452
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19453
 
 
19454
 
# Whether or not to optimize for fast installation.
19455
 
fast_install=$enable_fast_install
19456
 
 
19457
 
# The host system.
19458
 
host_alias=$host_alias
19459
 
host=$host
19460
 
host_os=$host_os
19461
 
 
19462
 
# The build system.
19463
 
build_alias=$build_alias
19464
 
build=$build
19465
 
build_os=$build_os
19466
 
 
19467
 
# An echo program that does not interpret backslashes.
19468
 
echo=$lt_echo
19469
 
 
19470
 
# The archiver.
19471
 
AR=$lt_AR
19472
 
AR_FLAGS=$lt_AR_FLAGS
19473
 
 
19474
 
# A C compiler.
19475
 
LTCC=$lt_LTCC
19476
 
 
19477
 
# LTCC compiler flags.
19478
 
LTCFLAGS=$lt_LTCFLAGS
19479
 
 
19480
 
# A language-specific compiler.
19481
 
CC=$lt_compiler_RC
19482
 
 
19483
 
# Is the compiler the GNU C compiler?
19484
 
with_gcc=$GCC_RC
19485
 
 
19486
 
# An ERE matcher.
19487
 
EGREP=$lt_EGREP
19488
 
 
19489
 
# The linker used to build libraries.
19490
 
LD=$lt_LD_RC
19491
 
 
19492
 
# Whether we need hard or soft links.
19493
 
LN_S=$lt_LN_S
19494
 
 
19495
 
# A BSD-compatible nm program.
19496
 
NM=$lt_NM
19497
 
 
19498
 
# A symbol stripping program
19499
 
STRIP=$lt_STRIP
19500
 
 
19501
 
# Used to examine libraries when file_magic_cmd begins "file"
19502
 
MAGIC_CMD=$MAGIC_CMD
19503
 
 
19504
 
# Used on cygwin: DLL creation program.
19505
 
DLLTOOL="$DLLTOOL"
19506
 
 
19507
 
# Used on cygwin: object dumper.
19508
 
OBJDUMP="$OBJDUMP"
19509
 
 
19510
 
# Used on cygwin: assembler.
19511
 
AS="$AS"
19512
 
 
19513
 
# The name of the directory that contains temporary libtool files.
19514
 
objdir=$objdir
19515
 
 
19516
 
# How to create reloadable object files.
19517
 
reload_flag=$lt_reload_flag
19518
 
reload_cmds=$lt_reload_cmds
19519
 
 
19520
 
# How to pass a linker flag through the compiler.
19521
 
wl=$lt_lt_prog_compiler_wl_RC
19522
 
 
19523
 
# Object file suffix (normally "o").
19524
 
objext="$ac_objext"
19525
 
 
19526
 
# Old archive suffix (normally "a").
19527
 
libext="$libext"
19528
 
 
19529
 
# Shared library suffix (normally ".so").
19530
 
shrext_cmds='$shrext_cmds'
19531
 
 
19532
 
# Executable file suffix (normally "").
19533
 
exeext="$exeext"
19534
 
 
19535
 
# Additional compiler flags for building library objects.
19536
 
pic_flag=$lt_lt_prog_compiler_pic_RC
19537
 
pic_mode=$pic_mode
19538
 
 
19539
 
# What is the maximum length of a command?
19540
 
max_cmd_len=$lt_cv_sys_max_cmd_len
19541
 
 
19542
 
# Does compiler simultaneously support -c and -o options?
19543
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19544
 
 
19545
 
# Must we lock files when doing compilation?
19546
 
need_locks=$lt_need_locks
19547
 
 
19548
 
# Do we need the lib prefix for modules?
19549
 
need_lib_prefix=$need_lib_prefix
19550
 
 
19551
 
# Do we need a version for libraries?
19552
 
need_version=$need_version
19553
 
 
19554
 
# Whether dlopen is supported.
19555
 
dlopen_support=$enable_dlopen
19556
 
 
19557
 
# Whether dlopen of programs is supported.
19558
 
dlopen_self=$enable_dlopen_self
19559
 
 
19560
 
# Whether dlopen of statically linked programs is supported.
19561
 
dlopen_self_static=$enable_dlopen_self_static
19562
 
 
19563
 
# Compiler flag to prevent dynamic linking.
19564
 
link_static_flag=$lt_lt_prog_compiler_static_RC
19565
 
 
19566
 
# Compiler flag to turn off builtin functions.
19567
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19568
 
 
19569
 
# Compiler flag to allow reflexive dlopens.
19570
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19571
 
 
19572
 
# Compiler flag to generate shared objects directly from archives.
19573
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19574
 
 
19575
 
# Compiler flag to generate thread-safe objects.
19576
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19577
 
 
19578
 
# Library versioning type.
19579
 
version_type=$version_type
19580
 
 
19581
 
# Format of library name prefix.
19582
 
libname_spec=$lt_libname_spec
19583
 
 
19584
 
# List of archive names.  First name is the real one, the rest are links.
19585
 
# The last name is the one that the linker finds with -lNAME.
19586
 
library_names_spec=$lt_library_names_spec
19587
 
 
19588
 
# The coded name of the library, if different from the real name.
19589
 
soname_spec=$lt_soname_spec
19590
 
 
19591
 
# Commands used to build and install an old-style archive.
19592
 
RANLIB=$lt_RANLIB
19593
 
old_archive_cmds=$lt_old_archive_cmds_RC
19594
 
old_postinstall_cmds=$lt_old_postinstall_cmds
19595
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
19596
 
 
19597
 
# Create an old-style archive from a shared archive.
19598
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19599
 
 
19600
 
# Create a temporary old-style archive to link instead of a shared archive.
19601
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19602
 
 
19603
 
# Commands used to build and install a shared archive.
19604
 
archive_cmds=$lt_archive_cmds_RC
19605
 
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19606
 
postinstall_cmds=$lt_postinstall_cmds
19607
 
postuninstall_cmds=$lt_postuninstall_cmds
19608
 
 
19609
 
# Commands used to build a loadable module (assumed same as above if empty)
19610
 
module_cmds=$lt_module_cmds_RC
19611
 
module_expsym_cmds=$lt_module_expsym_cmds_RC
19612
 
 
19613
 
# Commands to strip libraries.
19614
 
old_striplib=$lt_old_striplib
19615
 
striplib=$lt_striplib
19616
 
 
19617
 
# Dependencies to place before the objects being linked to create a
19618
 
# shared library.
19619
 
predep_objects=$lt_predep_objects_RC
19620
 
 
19621
 
# Dependencies to place after the objects being linked to create a
19622
 
# shared library.
19623
 
postdep_objects=$lt_postdep_objects_RC
19624
 
 
19625
 
# Dependencies to place before the objects being linked to create a
19626
 
# shared library.
19627
 
predeps=$lt_predeps_RC
19628
 
 
19629
 
# Dependencies to place after the objects being linked to create a
19630
 
# shared library.
19631
 
postdeps=$lt_postdeps_RC
19632
 
 
19633
 
# The directories searched by this compiler when creating a shared
19634
 
# library
19635
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
19636
 
 
19637
 
# The library search path used internally by the compiler when linking
19638
 
# a shared library.
19639
 
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19640
 
 
19641
 
# Method to check whether dependent libraries are shared objects.
19642
 
deplibs_check_method=$lt_deplibs_check_method
19643
 
 
19644
 
# Command to use when deplibs_check_method == file_magic.
19645
 
file_magic_cmd=$lt_file_magic_cmd
19646
 
 
19647
 
# Flag that allows shared libraries with undefined symbols to be built.
19648
 
allow_undefined_flag=$lt_allow_undefined_flag_RC
19649
 
 
19650
 
# Flag that forces no undefined symbols.
19651
 
no_undefined_flag=$lt_no_undefined_flag_RC
19652
 
 
19653
 
# Commands used to finish a libtool library installation in a directory.
19654
 
finish_cmds=$lt_finish_cmds
19655
 
 
19656
 
# Same as above, but a single script fragment to be evaled but not shown.
19657
 
finish_eval=$lt_finish_eval
19658
 
 
19659
 
# Take the output of nm and produce a listing of raw symbols and C names.
19660
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19661
 
 
19662
 
# Transform the output of nm in a proper C declaration
19663
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19664
 
 
19665
 
# Transform the output of nm in a C name address pair
19666
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19667
 
 
19668
 
# This is the shared library runtime path variable.
19669
 
runpath_var=$runpath_var
19670
 
 
19671
 
# This is the shared library path variable.
19672
 
shlibpath_var=$shlibpath_var
19673
 
 
19674
 
# Is shlibpath searched before the hard-coded library search path?
19675
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19676
 
 
19677
 
# How to hardcode a shared library path into an executable.
19678
 
hardcode_action=$hardcode_action_RC
19679
 
 
19680
 
# Whether we should hardcode library paths into libraries.
19681
 
hardcode_into_libs=$hardcode_into_libs
19682
 
 
19683
 
# Flag to hardcode \$libdir into a binary during linking.
19684
 
# This must work even if \$libdir does not exist.
19685
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19686
 
 
19687
 
# If ld is used when linking, flag to hardcode \$libdir into
19688
 
# a binary during linking. This must work even if \$libdir does
19689
 
# not exist.
19690
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19691
 
 
19692
 
# Whether we need a single -rpath flag with a separated argument.
19693
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19694
 
 
19695
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19696
 
# resulting binary.
19697
 
hardcode_direct=$hardcode_direct_RC
19698
 
 
19699
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19700
 
# resulting binary.
19701
 
hardcode_minus_L=$hardcode_minus_L_RC
19702
 
 
19703
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19704
 
# the resulting binary.
19705
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19706
 
 
19707
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
19708
 
# and all subsequent libraries and executables linked against it.
19709
 
hardcode_automatic=$hardcode_automatic_RC
19710
 
 
19711
 
# Variables whose values should be saved in libtool wrapper scripts and
19712
 
# restored at relink time.
19713
 
variables_saved_for_relink="$variables_saved_for_relink"
19714
 
 
19715
 
# Whether libtool must link a program against all its dependency libraries.
19716
 
link_all_deplibs=$link_all_deplibs_RC
19717
 
 
19718
 
# Compile-time system search path for libraries
19719
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19720
 
 
19721
 
# Run-time system search path for libraries
19722
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19723
 
 
19724
 
# Fix the shell variable \$srcfile for the compiler.
19725
 
fix_srcfile_path=$lt_fix_srcfile_path
19726
 
 
19727
 
# Set to yes if exported symbols are required.
19728
 
always_export_symbols=$always_export_symbols_RC
19729
 
 
19730
 
# The commands to list exported symbols.
19731
 
export_symbols_cmds=$lt_export_symbols_cmds_RC
19732
 
 
19733
 
# The commands to extract the exported symbol list from a shared archive.
19734
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
19735
 
 
19736
 
# Symbols that should not be listed in the preloaded symbols.
19737
 
exclude_expsyms=$lt_exclude_expsyms_RC
19738
 
 
19739
 
# Symbols that must always be exported.
19740
 
include_expsyms=$lt_include_expsyms_RC
19741
 
 
19742
 
# ### END LIBTOOL TAG CONFIG: $tagname
19743
 
 
19744
 
__EOF__
19745
 
 
19746
 
 
19747
 
else
19748
 
  # If there is no Makefile yet, we rely on a make rule to execute
19749
 
  # `config.status --recheck' to rerun these tests and create the
19750
 
  # libtool script then.
19751
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19752
 
  if test -f "$ltmain_in"; then
19753
 
    test -f Makefile && make "$ltmain"
19754
 
  fi
19755
 
fi
19756
 
 
19757
 
 
19758
 
ac_ext=c
19759
 
ac_cpp='$CPP $CPPFLAGS'
19760
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19761
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19762
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19763
 
 
19764
 
CC="$lt_save_CC"
19765
 
 
19766
 
        ;;
19767
 
 
19768
 
      *)
19769
 
        { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19770
 
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19771
 
   { (exit 1); exit 1; }; }
19772
 
        ;;
19773
 
      esac
19774
 
 
19775
 
      # Append the new tag name to the list of available tags.
19776
 
      if test -n "$tagname" ; then
19777
 
      available_tags="$available_tags $tagname"
19778
 
    fi
19779
 
    fi
19780
 
  done
19781
 
  IFS="$lt_save_ifs"
19782
 
 
19783
 
  # Now substitute the updated list of available tags.
19784
 
  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19785
 
    mv "${ofile}T" "$ofile"
19786
 
    chmod +x "$ofile"
19787
 
  else
19788
 
    rm -f "${ofile}T"
19789
 
    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19790
 
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19791
 
   { (exit 1); exit 1; }; }
19792
 
  fi
19793
 
fi
19794
 
 
19795
 
 
19796
 
 
19797
 
# This can be used to rebuild libtool when needed
19798
 
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
19799
 
 
19800
 
# Always use our own libtool.
19801
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
19802
 
 
19803
 
# Prevent multiple expansion
19804
 
 
19805
 
 
19806
 
 
19807
 
 
19808
 
 
19809
 
 
19810
 
 
19811
 
 
19812
 
 
19813
 
 
19814
 
 
19815
 
 
19816
 
 
19817
 
 
19818
 
 
19819
 
 
19820
 
 
19821
 
 
19822
 
 
 
11057
 
 
11058
 
 
11059
{ echo "$as_me:$LINENO: checking if dolt supports this host" >&5
 
11060
echo $ECHO_N "checking if dolt supports this host... $ECHO_C" >&6; }
 
11061
dolt_supported=yes
 
11062
if test x$DOLT_BASH = x; then
 
11063
    dolt_supported=no
 
11064
fi
 
11065
if test x$GCC != xyes; then
 
11066
    dolt_supported=no
 
11067
fi
 
11068
case $host in
 
11069
i?86-*-linux*|x86_64-*-linux*|powerpc-*-linux* \
 
11070
|amd64-*-freebsd*|i?86-*-freebsd*|ia64-*-freebsd*)
 
11071
    pic_options='-fPIC'
 
11072
    ;;
 
11073
i?86-apple-darwin*)
 
11074
    pic_options='-fno-common'
 
11075
    ;;
 
11076
*)
 
11077
    dolt_supported=no
 
11078
    ;;
 
11079
esac
 
11080
if test x$dolt_supported = xno ; then
 
11081
    { echo "$as_me:$LINENO: result: no, falling back to libtool" >&5
 
11082
echo "${ECHO_T}no, falling back to libtool" >&6; }
 
11083
    LTCOMPILE='$(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(COMPILE)'
 
11084
    LTCXXCOMPILE='$(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXXCOMPILE)'
 
11085
else
 
11086
    { echo "$as_me:$LINENO: result: yes, replacing libtool" >&5
 
11087
echo "${ECHO_T}yes, replacing libtool" >&6; }
 
11088
 
 
11089
    cat <<__DOLTCOMPILE__EOF__ >doltcompile
 
11090
#!$DOLT_BASH
 
11091
__DOLTCOMPILE__EOF__
 
11092
    cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
 
11093
args=("$@")
 
11094
for ((arg=0; arg<${#args[@]}; arg++)) ; do
 
11095
    if test x"${args[$arg]}" = x-o ; then
 
11096
        objarg=$((arg+1))
 
11097
        break
 
11098
    fi
 
11099
done
 
11100
if test x$objarg = x ; then
 
11101
    echo 'Error: no -o on compiler command line' 1>&2
 
11102
    exit 1
 
11103
fi
 
11104
lo="${args[$objarg]}"
 
11105
obj="${lo%.lo}"
 
11106
if test x"$lo" = x"$obj" ; then
 
11107
    echo "Error: libtool object file name \"$lo\" does not end in .lo" 1>&2
 
11108
    exit 1
 
11109
fi
 
11110
objbase="${obj##*/}"
 
11111
__DOLTCOMPILE__EOF__
 
11112
 
 
11113
    if test x$enable_shared = xyes; then
 
11114
        cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
 
11115
libobjdir="${obj%$objbase}.libs"
 
11116
if test ! -d "$libobjdir" ; then
 
11117
    mkdir_out="$(mkdir "$libobjdir" 2>&1)"
 
11118
    mkdir_ret=$?
 
11119
    if test "$mkdir_ret" -ne 0 && test ! -d "$libobjdir" ; then
 
11120
        echo "$mkdir_out" 1>&2
 
11121
        exit $mkdir_ret
 
11122
    fi
 
11123
fi
 
11124
pic_object="$libobjdir/$objbase.o"
 
11125
args[$objarg]="$pic_object"
 
11126
__DOLTCOMPILE__EOF__
 
11127
    cat <<__DOLTCOMPILE__EOF__ >>doltcompile
 
11128
"\${args[@]}" $pic_options -DPIC || exit \$?
 
11129
__DOLTCOMPILE__EOF__
 
11130
    fi
 
11131
 
 
11132
    if test x$enable_static = xyes; then
 
11133
        cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
 
11134
non_pic_object="$obj.o"
 
11135
args[$objarg]="$non_pic_object"
 
11136
__DOLTCOMPILE__EOF__
 
11137
        if test x$enable_shared = xyes; then
 
11138
            cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
 
11139
"${args[@]}" >/dev/null 2>&1 || exit $?
 
11140
__DOLTCOMPILE__EOF__
 
11141
        else
 
11142
            cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
 
11143
"${args[@]}" || exit $?
 
11144
__DOLTCOMPILE__EOF__
 
11145
        fi
 
11146
    fi
 
11147
 
 
11148
    cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
 
11149
{
 
11150
echo "# $lo - a libtool object file"
 
11151
echo "# Generated by doltcompile, not libtool"
 
11152
__DOLTCOMPILE__EOF__
 
11153
 
 
11154
    if test x$enable_shared = xyes; then
 
11155
        cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
 
11156
echo "pic_object='.libs/${objbase}.o'"
 
11157
__DOLTCOMPILE__EOF__
 
11158
    else
 
11159
        cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
 
11160
echo pic_object=none
 
11161
__DOLTCOMPILE__EOF__
 
11162
    fi
 
11163
 
 
11164
    if test x$enable_static = xyes; then
 
11165
        cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
 
11166
echo "non_pic_object='${objbase}.o'"
 
11167
__DOLTCOMPILE__EOF__
 
11168
    else
 
11169
        cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
 
11170
echo non_pic_object=none
 
11171
__DOLTCOMPILE__EOF__
 
11172
    fi
 
11173
 
 
11174
    cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
 
11175
} > "$lo"
 
11176
__DOLTCOMPILE__EOF__
 
11177
 
 
11178
    chmod +x doltcompile
 
11179
    LTCOMPILE='$(top_builddir)/doltcompile $(COMPILE)'
 
11180
    LTCXXCOMPILE='$(top_builddir)/doltcompile $(CXXCOMPILE)'
 
11181
 
 
11182
    cat <<__DOLTLIBTOOL__EOF__ > doltlibtool
 
11183
#!$DOLT_BASH
 
11184
__DOLTLIBTOOL__EOF__
 
11185
    cat <<'__DOLTLIBTOOL__EOF__' >>doltlibtool
 
11186
top_builddir_slash="${0%%doltlibtool}"
 
11187
: ${top_builddir_slash:=./}
 
11188
args=()
 
11189
modeok=false
 
11190
tagok=false
 
11191
for arg in "$@"; do
 
11192
    case "$arg" in
 
11193
        --silent) ;;
 
11194
        --mode=compile) modeok=true ;;
 
11195
        --tag=CC|--tag=CXX) tagok=true ;;
 
11196
        *) args[${#args[@]}]="$arg" ;;
 
11197
    esac
 
11198
done
 
11199
if $modeok && $tagok ; then
 
11200
    . ${top_builddir_slash}doltcompile "${args[@]}"
 
11201
else
 
11202
    exec ${top_builddir_slash}libtool "$@"
 
11203
fi
 
11204
__DOLTLIBTOOL__EOF__
 
11205
 
 
11206
    chmod +x doltlibtool
 
11207
    LIBTOOL='$(top_builddir)/doltlibtool'
 
11208
fi
 
11209
 
 
11210
 
 
11211
# end dolt
19823
11212
 
19824
11213
 
19825
11214
# Checks for header files.
21015
12404
 
21016
12405
 
21017
12406
 
21018
 
 
21019
 
pkg_modules="clutter-0.8 >= 0.8.0"
 
12407
# Extract the first word of "cgc", so it can be a program name with args.
 
12408
set dummy cgc; ac_word=$2
 
12409
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12410
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
12411
if test "${ac_cv_prog_CGC+set}" = set; then
 
12412
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12413
else
 
12414
  if test -n "$CGC"; then
 
12415
  ac_cv_prog_CGC="$CGC" # Let the user override the test.
 
12416
else
 
12417
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12418
for as_dir in $PATH
 
12419
do
 
12420
  IFS=$as_save_IFS
 
12421
  test -z "$as_dir" && as_dir=.
 
12422
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12423
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12424
    ac_cv_prog_CGC="cgc"
 
12425
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12426
    break 2
 
12427
  fi
 
12428
done
 
12429
done
 
12430
IFS=$as_save_IFS
 
12431
 
 
12432
  test -z "$ac_cv_prog_CGC" && ac_cv_prog_CGC="no"
 
12433
fi
 
12434
fi
 
12435
CGC=$ac_cv_prog_CGC
 
12436
if test -n "$CGC"; then
 
12437
  { echo "$as_me:$LINENO: result: $CGC" >&5
 
12438
echo "${ECHO_T}$CGC" >&6; }
 
12439
else
 
12440
  { echo "$as_me:$LINENO: result: no" >&5
 
12441
echo "${ECHO_T}no" >&6; }
 
12442
fi
 
12443
 
 
12444
 
 
12445
have_cgc="no"
 
12446
if test "x$CGC" = "xcgc"; then
 
12447
        have_cgc="yes"
 
12448
fi
 
12449
 if test "x$have_cgc" = "xyes"; then
 
12450
  HAVE_CGC_TRUE=
 
12451
  HAVE_CGC_FALSE='#'
 
12452
else
 
12453
  HAVE_CGC_TRUE='#'
 
12454
  HAVE_CGC_FALSE=
 
12455
fi
 
12456
 
 
12457
 
 
12458
 
 
12459
# Extract the first word of "python", so it can be a program name with args.
 
12460
set dummy python; ac_word=$2
 
12461
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12462
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
12463
if test "${ac_cv_prog_PYTHON+set}" = set; then
 
12464
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12465
else
 
12466
  if test -n "$PYTHON"; then
 
12467
  ac_cv_prog_PYTHON="$PYTHON" # Let the user override the test.
 
12468
else
 
12469
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12470
for as_dir in $PATH
 
12471
do
 
12472
  IFS=$as_save_IFS
 
12473
  test -z "$as_dir" && as_dir=.
 
12474
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12475
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12476
    ac_cv_prog_PYTHON="python"
 
12477
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12478
    break 2
 
12479
  fi
 
12480
done
 
12481
done
 
12482
IFS=$as_save_IFS
 
12483
 
 
12484
  test -z "$ac_cv_prog_PYTHON" && ac_cv_prog_PYTHON="no"
 
12485
fi
 
12486
fi
 
12487
PYTHON=$ac_cv_prog_PYTHON
 
12488
if test -n "$PYTHON"; then
 
12489
  { echo "$as_me:$LINENO: result: $PYTHON" >&5
 
12490
echo "${ECHO_T}$PYTHON" >&6; }
 
12491
else
 
12492
  { echo "$as_me:$LINENO: result: no" >&5
 
12493
echo "${ECHO_T}no" >&6; }
 
12494
fi
 
12495
 
 
12496
 
 
12497
have_python="no"
 
12498
if test "x$PYTHON" = "xpython"; then
 
12499
        have_python="yes"
 
12500
fi
 
12501
 if test "x$have_python" = "xyes"; then
 
12502
  HAVE_PYTHON_TRUE=
 
12503
  HAVE_PYTHON_FALSE='#'
 
12504
else
 
12505
  HAVE_PYTHON_TRUE='#'
 
12506
  HAVE_PYTHON_FALSE=
 
12507
fi
 
12508
 
 
12509
 
 
12510
 
 
12511
pkg_modules="clutter-1.0 >= 1.0.0"
21020
12512
 
21021
12513
 
21022
12514
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
21252
12744
 
21253
12745
GST_MAJORMINOR=0.10
21254
12746
 
21255
 
pkg_modules="gstreamer-$GST_MAJORMINOR gstreamer-plugins-base-$GST_MAJORMINOR"
 
12747
pkg_modules="gstreamer-$GST_MAJORMINOR gstreamer-plugins-base-$GST_MAJORMINOR gstreamer-base-$GST_MAJORMINOR"
21256
12748
 
21257
12749
pkg_failed=no
21258
12750
{ echo "$as_me:$LINENO: checking for GST" >&5
21368
12860
GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_MAJORMINOR -lgstvideo-$GST_MAJORMINOR -lgstaudio-$GST_MAJORMINOR"
21369
12861
 
21370
12862
 
21371
 
if test "x$GCC" = "xyes"; then
21372
 
        GCC_FLAGS="-g -Wall"
21373
 
fi
 
12863
 
 
12864
# Check whether --enable-maintainer-flags was given.
 
12865
if test "${enable_maintainer_flags+set}" = set; then
 
12866
  enableval=$enable_maintainer_flags;
 
12867
else
 
12868
  enable_maintainer_flags=yes
 
12869
fi
 
12870
 
 
12871
 
 
12872
if test "x$enable_maintainer_flags" = "xyes" && test "x$GCC" = "xyes"; then
 
12873
 
 
12874
 
 
12875
  list="-Wall -Wshadow -Wcast-align -Wno-uninitialized
 
12876
                            -Wno-strict-aliasing -Wempty-body -Wformat-security
 
12877
                            -Winit-self"
 
12878
  flags_supported=""
 
12879
  flags_unsupported=""
 
12880
  { echo "$as_me:$LINENO: checking for supported compiler flags" >&5
 
12881
echo $ECHO_N "checking for supported compiler flags... $ECHO_C" >&6; }
 
12882
  for each in $list
 
12883
  do
 
12884
    save_CFLAGS="$CFLAGS"
 
12885
    CFLAGS="$CFLAGS $each"
 
12886
    cat >conftest.$ac_ext <<_ACEOF
 
12887
/* confdefs.h.  */
 
12888
_ACEOF
 
12889
cat confdefs.h >>conftest.$ac_ext
 
12890
cat >>conftest.$ac_ext <<_ACEOF
 
12891
/* end confdefs.h.  */
 
12892
 
 
12893
int
 
12894
main ()
 
12895
{
 
12896
 
 
12897
  ;
 
12898
  return 0;
 
12899
}
 
12900
_ACEOF
 
12901
rm -f conftest.$ac_objext
 
12902
if { (ac_try="$ac_compile"
 
12903
case "(($ac_try" in
 
12904
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12905
  *) ac_try_echo=$ac_try;;
 
12906
esac
 
12907
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12908
  (eval "$ac_compile") 2>conftest.er1
 
12909
  ac_status=$?
 
12910
  grep -v '^ *+' conftest.er1 >conftest.err
 
12911
  rm -f conftest.er1
 
12912
  cat conftest.err >&5
 
12913
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12914
  (exit $ac_status); } && {
 
12915
         test -z "$ac_c_werror_flag" ||
 
12916
         test ! -s conftest.err
 
12917
       } && test -s conftest.$ac_objext; then
 
12918
  flag_ok=yes
 
12919
else
 
12920
  echo "$as_me: failed program was:" >&5
 
12921
sed 's/^/| /' conftest.$ac_ext >&5
 
12922
 
 
12923
        flag_ok=no
 
12924
fi
 
12925
 
 
12926
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
12927
    CFLAGS="$save_CFLAGS"
 
12928
 
 
12929
    if test "X$flag_ok" = Xyes ; then
 
12930
      flags_supported="$flags_supported $each"
 
12931
    else
 
12932
      flags_unsupported="$flags_unsupported $each"
 
12933
    fi
 
12934
  done
 
12935
  { echo "$as_me:$LINENO: result: $flags_supported" >&5
 
12936
echo "${ECHO_T}$flags_supported" >&6; }
 
12937
  if test "X$flags_unsupported" != X ; then
 
12938
    { echo "$as_me:$LINENO: WARNING: unsupported compiler flags: $flags_unsupported" >&5
 
12939
echo "$as_me: WARNING: unsupported compiler flags: $flags_unsupported" >&2;}
 
12940
  fi
 
12941
  MAINTAINER_CFLAGS="$MAINTAINER_CFLAGS $flags_supported"
 
12942
 
 
12943
 
 
12944
 
 
12945
fi
 
12946
 
 
12947
 
 
12948
 
21374
12949
 
21375
12950
 
21376
12951
 
21494
13069
 
21495
13070
 
21496
13071
 
21497
 
ac_config_files="$ac_config_files Makefile clutter-gst/Makefile clutter-gst/clutter-gst-version.h examples/Makefile doc/Makefile doc/reference/Makefile doc/reference/version.xml clutter-gst.pc"
 
13072
 
 
13073
 
 
13074
  # Check whether --enable-shave was given.
 
13075
if test "${enable_shave+set}" = set; then
 
13076
  enableval=$enable_shave;
 
13077
else
 
13078
  enable_shave=yes
 
13079
 
 
13080
fi
 
13081
 
 
13082
 
 
13083
 
 
13084
  if test x"$enable_shave" = xyes; then
 
13085
        shavedir="$ac_pwd/build/autotools"
 
13086
 
 
13087
 
 
13088
        MAKEFLAGS=-s
 
13089
 
 
13090
    AM_MAKEFLAGS='`test -z $V && echo -s`'
 
13091
 
 
13092
 
 
13093
        # Extract the first word of "sed", so it can be a program name with args.
 
13094
set dummy sed; ac_word=$2
 
13095
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13096
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
13097
if test "${ac_cv_prog_SED+set}" = set; then
 
13098
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13099
else
 
13100
  if test -n "$SED"; then
 
13101
  ac_cv_prog_SED="$SED" # Let the user override the test.
 
13102
else
 
13103
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13104
for as_dir in $PATH
 
13105
do
 
13106
  IFS=$as_save_IFS
 
13107
  test -z "$as_dir" && as_dir=.
 
13108
  for ac_exec_ext in '' $ac_executable_extensions; do
 
13109
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
13110
    ac_cv_prog_SED="sed"
 
13111
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13112
    break 2
 
13113
  fi
 
13114
done
 
13115
done
 
13116
IFS=$as_save_IFS
 
13117
 
 
13118
  test -z "$ac_cv_prog_SED" && ac_cv_prog_SED="false"
 
13119
fi
 
13120
fi
 
13121
SED=$ac_cv_prog_SED
 
13122
if test -n "$SED"; then
 
13123
  { echo "$as_me:$LINENO: result: $SED" >&5
 
13124
echo "${ECHO_T}$SED" >&6; }
 
13125
else
 
13126
  { echo "$as_me:$LINENO: result: no" >&5
 
13127
echo "${ECHO_T}no" >&6; }
 
13128
fi
 
13129
 
 
13130
 
 
13131
 
 
13132
        SHAVE_SAVED_LIBTOOL=$LIBTOOL
 
13133
    LIBTOOL="${SHELL} ${shavedir}/shave-libtool '${SHAVE_SAVED_LIBTOOL}'"
 
13134
 
 
13135
 
 
13136
        SHAVE_SAVED_CC=$CC
 
13137
    SHAVE_SAVED_CXX=$CXX
 
13138
    SHAVE_SAVED_FC=$FC
 
13139
    SHAVE_SAVED_F77=$F77
 
13140
    CC="${SHELL} ${shavedir}/shave cc ${SHAVE_SAVED_CC}"
 
13141
    CXX="${SHELL} ${shavedir}/shave cxx ${SHAVE_SAVED_CXX}"
 
13142
    FC="${SHELL} ${shavedir}/shave fc ${SHAVE_SAVED_FC}"
 
13143
    F77="${SHELL} ${shavedir}/shave f77 ${SHAVE_SAVED_F77}"
 
13144
 
 
13145
 
 
13146
 
 
13147
 
 
13148
 
 
13149
    V=@
 
13150
  else
 
13151
    V=1
 
13152
  fi
 
13153
  Q='$(V:1=)'
 
13154
 
 
13155
 
 
13156
 
 
13157
 
 
13158
ac_config_files="$ac_config_files Makefile build/Makefile build/autotools/Makefile build/autotools/shave build/autotools/shave-libtool scripts/Makefile clutter-gst/Makefile clutter-gst/clutter-gst-version.h clutter-gst/shaders/Makefile tests/Makefile examples/Makefile doc/Makefile doc/reference/Makefile doc/reference/version.xml clutter-gst.pc"
21498
13159
 
21499
13160
cat >confcache <<\_ACEOF
21500
13161
# This file is a shell script that caches the results of configure
21606
13267
Usually this means the macro was only invoked conditionally." >&2;}
21607
13268
   { (exit 1); exit 1; }; }
21608
13269
fi
21609
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21610
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
21611
 
Usually this means the macro was only invoked conditionally." >&5
21612
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
 
13270
if test -z "${HAVE_CGC_TRUE}" && test -z "${HAVE_CGC_FALSE}"; then
 
13271
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_CGC\" was never defined.
 
13272
Usually this means the macro was only invoked conditionally." >&5
 
13273
echo "$as_me: error: conditional \"HAVE_CGC\" was never defined.
 
13274
Usually this means the macro was only invoked conditionally." >&2;}
 
13275
   { (exit 1); exit 1; }; }
 
13276
fi
 
13277
if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then
 
13278
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_PYTHON\" was never defined.
 
13279
Usually this means the macro was only invoked conditionally." >&5
 
13280
echo "$as_me: error: conditional \"HAVE_PYTHON\" was never defined.
21613
13281
Usually this means the macro was only invoked conditionally." >&2;}
21614
13282
   { (exit 1); exit 1; }; }
21615
13283
fi
21934
13602
# report actual input values of CONFIG_FILES etc. instead of their
21935
13603
# values after options handling.
21936
13604
ac_log="
21937
 
This file was extended by clutter-gst $as_me 0.8.0, which was
 
13605
This file was extended by clutter-gst $as_me 0.10.0, which was
21938
13606
generated by GNU Autoconf 2.61.  Invocation command line was
21939
13607
 
21940
13608
  CONFIG_FILES    = $CONFIG_FILES
21987
13655
_ACEOF
21988
13656
cat >>$CONFIG_STATUS <<_ACEOF
21989
13657
ac_cs_version="\\
21990
 
clutter-gst config.status 0.8.0
 
13658
clutter-gst config.status 0.10.0
21991
13659
configured by $0, generated by GNU Autoconf 2.61,
21992
13660
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21993
13661
 
22093
13761
#
22094
13762
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22095
13763
 
 
13764
 
 
13765
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
13766
# if CDPATH is set.
 
13767
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
13768
 
 
13769
sed_quote_subst='$sed_quote_subst'
 
13770
double_quote_subst='$double_quote_subst'
 
13771
delay_variable_subst='$delay_variable_subst'
 
13772
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
 
13773
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
 
13774
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
 
13775
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
 
13776
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
 
13777
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
 
13778
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
13779
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
 
13780
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
 
13781
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
13782
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
 
13783
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
 
13784
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
 
13785
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
 
13786
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
 
13787
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
13788
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
13789
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
 
13790
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
 
13791
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
 
13792
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
 
13793
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
 
13794
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
 
13795
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
 
13796
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
 
13797
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
 
13798
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
13799
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13800
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
 
13801
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
 
13802
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
 
13803
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
13804
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
 
13805
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
 
13806
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13807
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13808
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13809
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
 
13810
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
13811
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
 
13812
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
 
13813
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
 
13814
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
 
13815
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"`'
 
13816
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"`'
 
13817
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
 
13818
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
 
13819
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
 
13820
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
 
13821
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
13822
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
 
13823
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
 
13824
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
 
13825
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
 
13826
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
 
13827
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
 
13828
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
 
13829
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
 
13830
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 
13831
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
 
13832
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
 
13833
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13834
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13835
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
 
13836
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
 
13837
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
13838
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
13839
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
 
13840
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13841
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13842
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13843
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13844
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13845
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13846
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
13847
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
13848
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
13849
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
13850
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
13851
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
 
13852
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
 
13853
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
 
13854
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
 
13855
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
13856
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
 
13857
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
 
13858
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
 
13859
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
 
13860
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
 
13861
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13862
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
13863
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
13864
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13865
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
13866
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
 
13867
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 
13868
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
 
13869
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
 
13870
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
13871
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
13872
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
 
13873
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
13874
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
13875
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
13876
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13877
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13878
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13879
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
 
13880
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
 
13881
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
13882
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
13883
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
 
13884
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
 
13885
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
 
13886
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
 
13887
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
13888
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
13889
 
 
13890
LTCC='$LTCC'
 
13891
LTCFLAGS='$LTCFLAGS'
 
13892
compiler='$compiler_DEFAULT'
 
13893
 
 
13894
# Quote evaled strings.
 
13895
for var in SED \
 
13896
GREP \
 
13897
EGREP \
 
13898
FGREP \
 
13899
LD \
 
13900
NM \
 
13901
LN_S \
 
13902
lt_SP2NL \
 
13903
lt_NL2SP \
 
13904
reload_flag \
 
13905
deplibs_check_method \
 
13906
file_magic_cmd \
 
13907
AR \
 
13908
AR_FLAGS \
 
13909
STRIP \
 
13910
RANLIB \
 
13911
CC \
 
13912
CFLAGS \
 
13913
compiler \
 
13914
lt_cv_sys_global_symbol_pipe \
 
13915
lt_cv_sys_global_symbol_to_cdecl \
 
13916
lt_cv_sys_global_symbol_to_c_name_address \
 
13917
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
13918
SHELL \
 
13919
ECHO \
 
13920
lt_prog_compiler_no_builtin_flag \
 
13921
lt_prog_compiler_wl \
 
13922
lt_prog_compiler_pic \
 
13923
lt_prog_compiler_static \
 
13924
lt_cv_prog_compiler_c_o \
 
13925
need_locks \
 
13926
DSYMUTIL \
 
13927
NMEDIT \
 
13928
LIPO \
 
13929
OTOOL \
 
13930
OTOOL64 \
 
13931
shrext_cmds \
 
13932
export_dynamic_flag_spec \
 
13933
whole_archive_flag_spec \
 
13934
compiler_needs_object \
 
13935
with_gnu_ld \
 
13936
allow_undefined_flag \
 
13937
no_undefined_flag \
 
13938
hardcode_libdir_flag_spec \
 
13939
hardcode_libdir_flag_spec_ld \
 
13940
hardcode_libdir_separator \
 
13941
fix_srcfile_path \
 
13942
exclude_expsyms \
 
13943
include_expsyms \
 
13944
file_list_spec \
 
13945
variables_saved_for_relink \
 
13946
libname_spec \
 
13947
library_names_spec \
 
13948
soname_spec \
 
13949
finish_eval \
 
13950
old_striplib \
 
13951
striplib; do
 
13952
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
13953
    *[\\\\\\\`\\"\\\$]*)
 
13954
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
13955
      ;;
 
13956
    *)
 
13957
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
13958
      ;;
 
13959
    esac
 
13960
done
 
13961
 
 
13962
# Double-quote double-evaled strings.
 
13963
for var in reload_cmds \
 
13964
old_postinstall_cmds \
 
13965
old_postuninstall_cmds \
 
13966
old_archive_cmds \
 
13967
extract_expsyms_cmds \
 
13968
old_archive_from_new_cmds \
 
13969
old_archive_from_expsyms_cmds \
 
13970
archive_cmds \
 
13971
archive_expsym_cmds \
 
13972
module_cmds \
 
13973
module_expsym_cmds \
 
13974
export_symbols_cmds \
 
13975
prelink_cmds \
 
13976
postinstall_cmds \
 
13977
postuninstall_cmds \
 
13978
finish_cmds \
 
13979
sys_lib_search_path_spec \
 
13980
sys_lib_dlsearch_path_spec; do
 
13981
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
13982
    *[\\\\\\\`\\"\\\$]*)
 
13983
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
13984
      ;;
 
13985
    *)
 
13986
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
13987
      ;;
 
13988
    esac
 
13989
done
 
13990
 
 
13991
# Fix-up fallback echo if it was mangled by the above quoting rules.
 
13992
case \$lt_ECHO in
 
13993
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
 
13994
  ;;
 
13995
esac
 
13996
 
 
13997
ac_aux_dir='$ac_aux_dir'
 
13998
xsi_shell='$xsi_shell'
 
13999
lt_shell_append='$lt_shell_append'
 
14000
 
 
14001
# See if we are running on zsh, and set the options which allow our
 
14002
# commands through without removal of \ escapes INIT.
 
14003
if test -n "\${ZSH_VERSION+set}" ; then
 
14004
   setopt NO_GLOB_SUBST
 
14005
fi
 
14006
 
 
14007
 
 
14008
    PACKAGE='$PACKAGE'
 
14009
    VERSION='$VERSION'
 
14010
    TIMESTAMP='$TIMESTAMP'
 
14011
    RM='$RM'
 
14012
    ofile='$ofile'
 
14013
 
 
14014
 
 
14015
 
 
14016
 
22096
14017
_ACEOF
22097
14018
 
22098
14019
cat >>$CONFIG_STATUS <<\_ACEOF
22103
14024
  case $ac_config_target in
22104
14025
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
22105
14026
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
14027
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
22106
14028
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
14029
    "build/Makefile") CONFIG_FILES="$CONFIG_FILES build/Makefile" ;;
 
14030
    "build/autotools/Makefile") CONFIG_FILES="$CONFIG_FILES build/autotools/Makefile" ;;
 
14031
    "build/autotools/shave") CONFIG_FILES="$CONFIG_FILES build/autotools/shave" ;;
 
14032
    "build/autotools/shave-libtool") CONFIG_FILES="$CONFIG_FILES build/autotools/shave-libtool" ;;
 
14033
    "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
22107
14034
    "clutter-gst/Makefile") CONFIG_FILES="$CONFIG_FILES clutter-gst/Makefile" ;;
22108
14035
    "clutter-gst/clutter-gst-version.h") CONFIG_FILES="$CONFIG_FILES clutter-gst/clutter-gst-version.h" ;;
 
14036
    "clutter-gst/shaders/Makefile") CONFIG_FILES="$CONFIG_FILES clutter-gst/shaders/Makefile" ;;
 
14037
    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
22109
14038
    "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
22110
14039
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
22111
14040
    "doc/reference/Makefile") CONFIG_FILES="$CONFIG_FILES doc/reference/Makefile" ;;
22238
14167
CLUTTER_GST_VERSION!$CLUTTER_GST_VERSION$ac_delim
22239
14168
CLUTTER_GST_API_VERSION!$CLUTTER_GST_API_VERSION$ac_delim
22240
14169
CLUTTER_GST_MAJORMINOR!$CLUTTER_GST_MAJORMINOR$ac_delim
 
14170
CLUTTER_API_VERSION!$CLUTTER_API_VERSION$ac_delim
22241
14171
CLUTTER_GST_LT_VERSION!$CLUTTER_GST_LT_VERSION$ac_delim
22242
14172
CLUTTER_GST_LT_LDFLAGS!$CLUTTER_GST_LT_LDFLAGS$ac_delim
22243
14173
CC!$CC$ac_delim
22256
14186
CCDEPMODE!$CCDEPMODE$ac_delim
22257
14187
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
22258
14188
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
 
14189
LIBTOOL!$LIBTOOL$ac_delim
22259
14190
build!$build$ac_delim
22260
14191
build_cpu!$build_cpu$ac_delim
22261
14192
build_vendor!$build_vendor$ac_delim
22267
14198
SED!$SED$ac_delim
22268
14199
GREP!$GREP$ac_delim
22269
14200
EGREP!$EGREP$ac_delim
 
14201
FGREP!$FGREP$ac_delim
 
14202
_ACEOF
 
14203
 
 
14204
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
14205
    break
 
14206
  elif $ac_last_try; then
 
14207
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
14208
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
14209
   { (exit 1); exit 1; }; }
 
14210
  else
 
14211
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
14212
  fi
 
14213
done
 
14214
 
 
14215
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
14216
if test -n "$ac_eof"; then
 
14217
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
14218
  ac_eof=`expr $ac_eof + 1`
 
14219
fi
 
14220
 
 
14221
cat >>$CONFIG_STATUS <<_ACEOF
 
14222
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
14223
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
14224
_ACEOF
 
14225
sed '
 
14226
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
14227
s/^/s,@/; s/!/@,|#_!!_#|/
 
14228
:n
 
14229
t n
 
14230
s/'"$ac_delim"'$/,g/; t
 
14231
s/$/\\/; p
 
14232
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
14233
' >>$CONFIG_STATUS <conf$$subs.sed
 
14234
rm -f conf$$subs.sed
 
14235
cat >>$CONFIG_STATUS <<_ACEOF
 
14236
CEOF$ac_eof
 
14237
_ACEOF
 
14238
 
 
14239
 
 
14240
ac_delim='%!_!# '
 
14241
for ac_last_try in false false false false false :; do
 
14242
  cat >conf$$subs.sed <<_ACEOF
 
14243
LD!$LD$ac_delim
 
14244
DUMPBIN!$DUMPBIN$ac_delim
 
14245
ac_ct_DUMPBIN!$ac_ct_DUMPBIN$ac_delim
 
14246
NM!$NM$ac_delim
22270
14247
LN_S!$LN_S$ac_delim
22271
 
ECHO!$ECHO$ac_delim
22272
14248
AR!$AR$ac_delim
22273
 
_ACEOF
22274
 
 
22275
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
22276
 
    break
22277
 
  elif $ac_last_try; then
22278
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22279
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22280
 
   { (exit 1); exit 1; }; }
22281
 
  else
22282
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22283
 
  fi
22284
 
done
22285
 
 
22286
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22287
 
if test -n "$ac_eof"; then
22288
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22289
 
  ac_eof=`expr $ac_eof + 1`
22290
 
fi
22291
 
 
22292
 
cat >>$CONFIG_STATUS <<_ACEOF
22293
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22294
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22295
 
_ACEOF
22296
 
sed '
22297
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22298
 
s/^/s,@/; s/!/@,|#_!!_#|/
22299
 
:n
22300
 
t n
22301
 
s/'"$ac_delim"'$/,g/; t
22302
 
s/$/\\/; p
22303
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22304
 
' >>$CONFIG_STATUS <conf$$subs.sed
22305
 
rm -f conf$$subs.sed
22306
 
cat >>$CONFIG_STATUS <<_ACEOF
22307
 
CEOF$ac_eof
22308
 
_ACEOF
22309
 
 
22310
 
 
22311
 
ac_delim='%!_!# '
22312
 
for ac_last_try in false false false false false :; do
22313
 
  cat >conf$$subs.sed <<_ACEOF
22314
14249
RANLIB!$RANLIB$ac_delim
 
14250
lt_ECHO!$lt_ECHO$ac_delim
22315
14251
DSYMUTIL!$DSYMUTIL$ac_delim
22316
14252
NMEDIT!$NMEDIT$ac_delim
 
14253
LIPO!$LIPO$ac_delim
 
14254
OTOOL!$OTOOL$ac_delim
 
14255
OTOOL64!$OTOOL64$ac_delim
22317
14256
CPP!$CPP$ac_delim
22318
 
CXX!$CXX$ac_delim
22319
 
CXXFLAGS!$CXXFLAGS$ac_delim
22320
 
ac_ct_CXX!$ac_ct_CXX$ac_delim
22321
 
CXXDEPMODE!$CXXDEPMODE$ac_delim
22322
 
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
22323
 
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
22324
 
CXXCPP!$CXXCPP$ac_delim
22325
 
F77!$F77$ac_delim
22326
 
FFLAGS!$FFLAGS$ac_delim
22327
 
ac_ct_F77!$ac_ct_F77$ac_delim
22328
 
LIBTOOL!$LIBTOOL$ac_delim
 
14257
DOLT_BASH!$DOLT_BASH$ac_delim
 
14258
LTCOMPILE!$LTCOMPILE$ac_delim
 
14259
LTCXXCOMPILE!$LTCXXCOMPILE$ac_delim
22329
14260
LIBOBJS!$LIBOBJS$ac_delim
 
14261
CGC!$CGC$ac_delim
 
14262
HAVE_CGC_TRUE!$HAVE_CGC_TRUE$ac_delim
 
14263
HAVE_CGC_FALSE!$HAVE_CGC_FALSE$ac_delim
 
14264
PYTHON!$PYTHON$ac_delim
 
14265
HAVE_PYTHON_TRUE!$HAVE_PYTHON_TRUE$ac_delim
 
14266
HAVE_PYTHON_FALSE!$HAVE_PYTHON_FALSE$ac_delim
22330
14267
PKG_CONFIG!$PKG_CONFIG$ac_delim
22331
14268
CLUTTER_GST_CFLAGS!$CLUTTER_GST_CFLAGS$ac_delim
22332
14269
CLUTTER_GST_LIBS!$CLUTTER_GST_LIBS$ac_delim
22333
14270
GST_CFLAGS!$GST_CFLAGS$ac_delim
22334
14271
GST_LIBS!$GST_LIBS$ac_delim
 
14272
MAINTAINER_CFLAGS!$MAINTAINER_CFLAGS$ac_delim
22335
14273
HTML_DIR!$HTML_DIR$ac_delim
22336
14274
GTKDOC_CHECK!$GTKDOC_CHECK$ac_delim
22337
14275
ENABLE_GTK_DOC_TRUE!$ENABLE_GTK_DOC_TRUE$ac_delim
22341
14279
BUILD_GTK_DOC_TRUE!$BUILD_GTK_DOC_TRUE$ac_delim
22342
14280
BUILD_GTK_DOC_FALSE!$BUILD_GTK_DOC_FALSE$ac_delim
22343
14281
GCC_FLAGS!$GCC_FLAGS$ac_delim
 
14282
shavedir!$shavedir$ac_delim
 
14283
MAKEFLAGS!$MAKEFLAGS$ac_delim
 
14284
AM_MAKEFLAGS!$AM_MAKEFLAGS$ac_delim
 
14285
CXX!$CXX$ac_delim
 
14286
FC!$FC$ac_delim
 
14287
F77!$F77$ac_delim
 
14288
V!$V$ac_delim
 
14289
Q!$Q$ac_delim
22344
14290
LTLIBOBJS!$LTLIBOBJS$ac_delim
22345
14291
_ACEOF
22346
14292
 
22347
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 31; then
 
14293
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 48; then
22348
14294
    break
22349
14295
  elif $ac_last_try; then
22350
14296
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22911
14857
  done
22912
14858
done
22913
14859
 ;;
 
14860
    "libtool":C)
 
14861
 
 
14862
    # See if we are running on zsh, and set the options which allow our
 
14863
    # commands through without removal of \ escapes.
 
14864
    if test -n "${ZSH_VERSION+set}" ; then
 
14865
      setopt NO_GLOB_SUBST
 
14866
    fi
 
14867
 
 
14868
    cfgfile="${ofile}T"
 
14869
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
14870
    $RM "$cfgfile"
 
14871
 
 
14872
    cat <<_LT_EOF >> "$cfgfile"
 
14873
#! $SHELL
 
14874
 
 
14875
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
14876
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
14877
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
14878
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
14879
#
 
14880
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
14881
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
14882
#   Written by Gordon Matzigkeit, 1996
 
14883
#
 
14884
#   This file is part of GNU Libtool.
 
14885
#
 
14886
# GNU Libtool is free software; you can redistribute it and/or
 
14887
# modify it under the terms of the GNU General Public License as
 
14888
# published by the Free Software Foundation; either version 2 of
 
14889
# the License, or (at your option) any later version.
 
14890
#
 
14891
# As a special exception to the GNU General Public License,
 
14892
# if you distribute this file as part of a program or library that
 
14893
# is built using GNU Libtool, you may include this file under the
 
14894
# same distribution terms that you use for the rest of that program.
 
14895
#
 
14896
# GNU Libtool is distributed in the hope that it will be useful,
 
14897
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14898
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
14899
# GNU General Public License for more details.
 
14900
#
 
14901
# You should have received a copy of the GNU General Public License
 
14902
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
14903
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
14904
# obtained by writing to the Free Software Foundation, Inc.,
 
14905
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
14906
 
 
14907
 
 
14908
# The names of the tagged configurations supported by this script.
 
14909
available_tags=""
 
14910
 
 
14911
# ### BEGIN LIBTOOL CONFIG
 
14912
 
 
14913
# Whether or not to build static libraries.
 
14914
build_old_libs=$enable_static
 
14915
 
 
14916
# Which release of libtool.m4 was used?
 
14917
macro_version=$macro_version
 
14918
macro_revision=$macro_revision
 
14919
 
 
14920
# Whether or not to build shared libraries.
 
14921
build_libtool_libs=$enable_shared
 
14922
 
 
14923
# What type of objects to build.
 
14924
pic_mode=$pic_mode
 
14925
 
 
14926
# Whether or not to optimize for fast installation.
 
14927
fast_install=$enable_fast_install
 
14928
 
 
14929
# The host system.
 
14930
host_alias=$host_alias
 
14931
host=$host
 
14932
host_os=$host_os
 
14933
 
 
14934
# The build system.
 
14935
build_alias=$build_alias
 
14936
build=$build
 
14937
build_os=$build_os
 
14938
 
 
14939
# A sed program that does not truncate output.
 
14940
SED=$lt_SED
 
14941
 
 
14942
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
14943
Xsed="\$SED -e 1s/^X//"
 
14944
 
 
14945
# A grep program that handles long lines.
 
14946
GREP=$lt_GREP
 
14947
 
 
14948
# An ERE matcher.
 
14949
EGREP=$lt_EGREP
 
14950
 
 
14951
# A literal string matcher.
 
14952
FGREP=$lt_FGREP
 
14953
 
 
14954
# A BSD- or MS-compatible name lister.
 
14955
NM=$lt_NM
 
14956
 
 
14957
# Whether we need soft or hard links.
 
14958
LN_S=$lt_LN_S
 
14959
 
 
14960
# What is the maximum length of a command?
 
14961
max_cmd_len=$max_cmd_len
 
14962
 
 
14963
# Object file suffix (normally "o").
 
14964
objext=$ac_objext
 
14965
 
 
14966
# Executable file suffix (normally "").
 
14967
exeext=$exeext
 
14968
 
 
14969
# whether the shell understands "unset".
 
14970
lt_unset=$lt_unset
 
14971
 
 
14972
# turn spaces into newlines.
 
14973
SP2NL=$lt_lt_SP2NL
 
14974
 
 
14975
# turn newlines into spaces.
 
14976
NL2SP=$lt_lt_NL2SP
 
14977
 
 
14978
# How to create reloadable object files.
 
14979
reload_flag=$lt_reload_flag
 
14980
reload_cmds=$lt_reload_cmds
 
14981
 
 
14982
# Method to check whether dependent libraries are shared objects.
 
14983
deplibs_check_method=$lt_deplibs_check_method
 
14984
 
 
14985
# Command to use when deplibs_check_method == "file_magic".
 
14986
file_magic_cmd=$lt_file_magic_cmd
 
14987
 
 
14988
# The archiver.
 
14989
AR=$lt_AR
 
14990
AR_FLAGS=$lt_AR_FLAGS
 
14991
 
 
14992
# A symbol stripping program.
 
14993
STRIP=$lt_STRIP
 
14994
 
 
14995
# Commands used to install an old-style archive.
 
14996
RANLIB=$lt_RANLIB
 
14997
old_postinstall_cmds=$lt_old_postinstall_cmds
 
14998
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
14999
 
 
15000
# A C compiler.
 
15001
LTCC=$lt_CC
 
15002
 
 
15003
# LTCC compiler flags.
 
15004
LTCFLAGS=$lt_CFLAGS
 
15005
 
 
15006
# Take the output of nm and produce a listing of raw symbols and C names.
 
15007
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
15008
 
 
15009
# Transform the output of nm in a proper C declaration.
 
15010
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
15011
 
 
15012
# Transform the output of nm in a C name address pair.
 
15013
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
15014
 
 
15015
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
15016
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
15017
 
 
15018
# The name of the directory that contains temporary libtool files.
 
15019
objdir=$objdir
 
15020
 
 
15021
# Shell to use when invoking shell scripts.
 
15022
SHELL=$lt_SHELL
 
15023
 
 
15024
# An echo program that does not interpret backslashes.
 
15025
ECHO=$lt_ECHO
 
15026
 
 
15027
# Used to examine libraries when file_magic_cmd begins with "file".
 
15028
MAGIC_CMD=$MAGIC_CMD
 
15029
 
 
15030
# Must we lock files when doing compilation?
 
15031
need_locks=$lt_need_locks
 
15032
 
 
15033
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
15034
DSYMUTIL=$lt_DSYMUTIL
 
15035
 
 
15036
# Tool to change global to local symbols on Mac OS X.
 
15037
NMEDIT=$lt_NMEDIT
 
15038
 
 
15039
# Tool to manipulate fat objects and archives on Mac OS X.
 
15040
LIPO=$lt_LIPO
 
15041
 
 
15042
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
15043
OTOOL=$lt_OTOOL
 
15044
 
 
15045
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
15046
OTOOL64=$lt_OTOOL64
 
15047
 
 
15048
# Old archive suffix (normally "a").
 
15049
libext=$libext
 
15050
 
 
15051
# Shared library suffix (normally ".so").
 
15052
shrext_cmds=$lt_shrext_cmds
 
15053
 
 
15054
# The commands to extract the exported symbol list from a shared archive.
 
15055
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
15056
 
 
15057
# Variables whose values should be saved in libtool wrapper scripts and
 
15058
# restored at link time.
 
15059
variables_saved_for_relink=$lt_variables_saved_for_relink
 
15060
 
 
15061
# Do we need the "lib" prefix for modules?
 
15062
need_lib_prefix=$need_lib_prefix
 
15063
 
 
15064
# Do we need a version for libraries?
 
15065
need_version=$need_version
 
15066
 
 
15067
# Library versioning type.
 
15068
version_type=$version_type
 
15069
 
 
15070
# Shared library runtime path variable.
 
15071
runpath_var=$runpath_var
 
15072
 
 
15073
# Shared library path variable.
 
15074
shlibpath_var=$shlibpath_var
 
15075
 
 
15076
# Is shlibpath searched before the hard-coded library search path?
 
15077
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
15078
 
 
15079
# Format of library name prefix.
 
15080
libname_spec=$lt_libname_spec
 
15081
 
 
15082
# List of archive names.  First name is the real one, the rest are links.
 
15083
# The last name is the one that the linker finds with -lNAME
 
15084
library_names_spec=$lt_library_names_spec
 
15085
 
 
15086
# The coded name of the library, if different from the real name.
 
15087
soname_spec=$lt_soname_spec
 
15088
 
 
15089
# Command to use after installation of a shared archive.
 
15090
postinstall_cmds=$lt_postinstall_cmds
 
15091
 
 
15092
# Command to use after uninstallation of a shared archive.
 
15093
postuninstall_cmds=$lt_postuninstall_cmds
 
15094
 
 
15095
# Commands used to finish a libtool library installation in a directory.
 
15096
finish_cmds=$lt_finish_cmds
 
15097
 
 
15098
# As "finish_cmds", except a single script fragment to be evaled but
 
15099
# not shown.
 
15100
finish_eval=$lt_finish_eval
 
15101
 
 
15102
# Whether we should hardcode library paths into libraries.
 
15103
hardcode_into_libs=$hardcode_into_libs
 
15104
 
 
15105
# Compile-time system search path for libraries.
 
15106
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
15107
 
 
15108
# Run-time system search path for libraries.
 
15109
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
15110
 
 
15111
# Whether dlopen is supported.
 
15112
dlopen_support=$enable_dlopen
 
15113
 
 
15114
# Whether dlopen of programs is supported.
 
15115
dlopen_self=$enable_dlopen_self
 
15116
 
 
15117
# Whether dlopen of statically linked programs is supported.
 
15118
dlopen_self_static=$enable_dlopen_self_static
 
15119
 
 
15120
# Commands to strip libraries.
 
15121
old_striplib=$lt_old_striplib
 
15122
striplib=$lt_striplib
 
15123
 
 
15124
 
 
15125
# The linker used to build libraries.
 
15126
LD=$lt_LD
 
15127
 
 
15128
# Commands used to build an old-style archive.
 
15129
old_archive_cmds=$lt_old_archive_cmds
 
15130
 
 
15131
# A language specific compiler.
 
15132
CC=$lt_compiler
 
15133
 
 
15134
# Is the compiler the GNU compiler?
 
15135
with_gcc=$GCC
 
15136
 
 
15137
# Compiler flag to turn off builtin functions.
 
15138
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
15139
 
 
15140
# How to pass a linker flag through the compiler.
 
15141
wl=$lt_lt_prog_compiler_wl
 
15142
 
 
15143
# Additional compiler flags for building library objects.
 
15144
pic_flag=$lt_lt_prog_compiler_pic
 
15145
 
 
15146
# Compiler flag to prevent dynamic linking.
 
15147
link_static_flag=$lt_lt_prog_compiler_static
 
15148
 
 
15149
# Does compiler simultaneously support -c and -o options?
 
15150
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
15151
 
 
15152
# Whether or not to add -lc for building shared libraries.
 
15153
build_libtool_need_lc=$archive_cmds_need_lc
 
15154
 
 
15155
# Whether or not to disallow shared libs when runtime libs are static.
 
15156
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
15157
 
 
15158
# Compiler flag to allow reflexive dlopens.
 
15159
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
15160
 
 
15161
# Compiler flag to generate shared objects directly from archives.
 
15162
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
15163
 
 
15164
# Whether the compiler copes with passing no objects directly.
 
15165
compiler_needs_object=$lt_compiler_needs_object
 
15166
 
 
15167
# Create an old-style archive from a shared archive.
 
15168
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
15169
 
 
15170
# Create a temporary old-style archive to link instead of a shared archive.
 
15171
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
15172
 
 
15173
# Commands used to build a shared archive.
 
15174
archive_cmds=$lt_archive_cmds
 
15175
archive_expsym_cmds=$lt_archive_expsym_cmds
 
15176
 
 
15177
# Commands used to build a loadable module if different from building
 
15178
# a shared archive.
 
15179
module_cmds=$lt_module_cmds
 
15180
module_expsym_cmds=$lt_module_expsym_cmds
 
15181
 
 
15182
# Whether we are building with GNU ld or not.
 
15183
with_gnu_ld=$lt_with_gnu_ld
 
15184
 
 
15185
# Flag that allows shared libraries with undefined symbols to be built.
 
15186
allow_undefined_flag=$lt_allow_undefined_flag
 
15187
 
 
15188
# Flag that enforces no undefined symbols.
 
15189
no_undefined_flag=$lt_no_undefined_flag
 
15190
 
 
15191
# Flag to hardcode \$libdir into a binary during linking.
 
15192
# This must work even if \$libdir does not exist
 
15193
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
15194
 
 
15195
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
15196
# during linking.  This must work even if \$libdir does not exist.
 
15197
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 
15198
 
 
15199
# Whether we need a single "-rpath" flag with a separated argument.
 
15200
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
15201
 
 
15202
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
15203
# DIR into the resulting binary.
 
15204
hardcode_direct=$hardcode_direct
 
15205
 
 
15206
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
15207
# DIR into the resulting binary and the resulting library dependency is
 
15208
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
15209
# library is relocated.
 
15210
hardcode_direct_absolute=$hardcode_direct_absolute
 
15211
 
 
15212
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
15213
# into the resulting binary.
 
15214
hardcode_minus_L=$hardcode_minus_L
 
15215
 
 
15216
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
15217
# into the resulting binary.
 
15218
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
15219
 
 
15220
# Set to "yes" if building a shared library automatically hardcodes DIR
 
15221
# into the library and all subsequent libraries and executables linked
 
15222
# against it.
 
15223
hardcode_automatic=$hardcode_automatic
 
15224
 
 
15225
# Set to yes if linker adds runtime paths of dependent libraries
 
15226
# to runtime path list.
 
15227
inherit_rpath=$inherit_rpath
 
15228
 
 
15229
# Whether libtool must link a program against all its dependency libraries.
 
15230
link_all_deplibs=$link_all_deplibs
 
15231
 
 
15232
# Fix the shell variable \$srcfile for the compiler.
 
15233
fix_srcfile_path=$lt_fix_srcfile_path
 
15234
 
 
15235
# Set to "yes" if exported symbols are required.
 
15236
always_export_symbols=$always_export_symbols
 
15237
 
 
15238
# The commands to list exported symbols.
 
15239
export_symbols_cmds=$lt_export_symbols_cmds
 
15240
 
 
15241
# Symbols that should not be listed in the preloaded symbols.
 
15242
exclude_expsyms=$lt_exclude_expsyms
 
15243
 
 
15244
# Symbols that must always be exported.
 
15245
include_expsyms=$lt_include_expsyms
 
15246
 
 
15247
# Commands necessary for linking programs (against libraries) with templates.
 
15248
prelink_cmds=$lt_prelink_cmds
 
15249
 
 
15250
# Specify filename containing input files.
 
15251
file_list_spec=$lt_file_list_spec
 
15252
 
 
15253
# How to hardcode a shared library path into an executable.
 
15254
hardcode_action=$hardcode_action
 
15255
 
 
15256
# ### END LIBTOOL CONFIG
 
15257
 
 
15258
_LT_EOF
 
15259
 
 
15260
  case $host_os in
 
15261
  aix3*)
 
15262
    cat <<\_LT_EOF >> "$cfgfile"
 
15263
# AIX sometimes has problems with the GCC collect2 program.  For some
 
15264
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
15265
# vanish in a puff of smoke.
 
15266
if test "X${COLLECT_NAMES+set}" != Xset; then
 
15267
  COLLECT_NAMES=
 
15268
  export COLLECT_NAMES
 
15269
fi
 
15270
_LT_EOF
 
15271
    ;;
 
15272
  esac
 
15273
 
 
15274
 
 
15275
ltmain="$ac_aux_dir/ltmain.sh"
 
15276
 
 
15277
 
 
15278
  # We use sed instead of cat because bash on DJGPP gets confused if
 
15279
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
15280
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
15281
  # is reportedly fixed, but why not run on old versions too?
 
15282
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
 
15283
    || (rm -f "$cfgfile"; exit 1)
 
15284
 
 
15285
  case $xsi_shell in
 
15286
  yes)
 
15287
    cat << \_LT_EOF >> "$cfgfile"
 
15288
 
 
15289
# func_dirname file append nondir_replacement
 
15290
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
15291
# otherwise set result to NONDIR_REPLACEMENT.
 
15292
func_dirname ()
 
15293
{
 
15294
  case ${1} in
 
15295
    */*) func_dirname_result="${1%/*}${2}" ;;
 
15296
    *  ) func_dirname_result="${3}" ;;
 
15297
  esac
 
15298
}
 
15299
 
 
15300
# func_basename file
 
15301
func_basename ()
 
15302
{
 
15303
  func_basename_result="${1##*/}"
 
15304
}
 
15305
 
 
15306
# func_dirname_and_basename file append nondir_replacement
 
15307
# perform func_basename and func_dirname in a single function
 
15308
# call:
 
15309
#   dirname:  Compute the dirname of FILE.  If nonempty,
 
15310
#             add APPEND to the result, otherwise set result
 
15311
#             to NONDIR_REPLACEMENT.
 
15312
#             value returned in "$func_dirname_result"
 
15313
#   basename: Compute filename of FILE.
 
15314
#             value retuned in "$func_basename_result"
 
15315
# Implementation must be kept synchronized with func_dirname
 
15316
# and func_basename. For efficiency, we do not delegate to
 
15317
# those functions but instead duplicate the functionality here.
 
15318
func_dirname_and_basename ()
 
15319
{
 
15320
  case ${1} in
 
15321
    */*) func_dirname_result="${1%/*}${2}" ;;
 
15322
    *  ) func_dirname_result="${3}" ;;
 
15323
  esac
 
15324
  func_basename_result="${1##*/}"
 
15325
}
 
15326
 
 
15327
# func_stripname prefix suffix name
 
15328
# strip PREFIX and SUFFIX off of NAME.
 
15329
# PREFIX and SUFFIX must not contain globbing or regex special
 
15330
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
15331
# dot (in which case that matches only a dot).
 
15332
func_stripname ()
 
15333
{
 
15334
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
 
15335
  # positional parameters, so assign one to ordinary parameter first.
 
15336
  func_stripname_result=${3}
 
15337
  func_stripname_result=${func_stripname_result#"${1}"}
 
15338
  func_stripname_result=${func_stripname_result%"${2}"}
 
15339
}
 
15340
 
 
15341
# func_opt_split
 
15342
func_opt_split ()
 
15343
{
 
15344
  func_opt_split_opt=${1%%=*}
 
15345
  func_opt_split_arg=${1#*=}
 
15346
}
 
15347
 
 
15348
# func_lo2o object
 
15349
func_lo2o ()
 
15350
{
 
15351
  case ${1} in
 
15352
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
 
15353
    *)    func_lo2o_result=${1} ;;
 
15354
  esac
 
15355
}
 
15356
 
 
15357
# func_xform libobj-or-source
 
15358
func_xform ()
 
15359
{
 
15360
  func_xform_result=${1%.*}.lo
 
15361
}
 
15362
 
 
15363
# func_arith arithmetic-term...
 
15364
func_arith ()
 
15365
{
 
15366
  func_arith_result=$(( $* ))
 
15367
}
 
15368
 
 
15369
# func_len string
 
15370
# STRING may not start with a hyphen.
 
15371
func_len ()
 
15372
{
 
15373
  func_len_result=${#1}
 
15374
}
 
15375
 
 
15376
_LT_EOF
 
15377
    ;;
 
15378
  *) # Bourne compatible functions.
 
15379
    cat << \_LT_EOF >> "$cfgfile"
 
15380
 
 
15381
# func_dirname file append nondir_replacement
 
15382
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
15383
# otherwise set result to NONDIR_REPLACEMENT.
 
15384
func_dirname ()
 
15385
{
 
15386
  # Extract subdirectory from the argument.
 
15387
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
15388
  if test "X$func_dirname_result" = "X${1}"; then
 
15389
    func_dirname_result="${3}"
 
15390
  else
 
15391
    func_dirname_result="$func_dirname_result${2}"
 
15392
  fi
 
15393
}
 
15394
 
 
15395
# func_basename file
 
15396
func_basename ()
 
15397
{
 
15398
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
15399
}
 
15400
 
 
15401
 
 
15402
# func_stripname prefix suffix name
 
15403
# strip PREFIX and SUFFIX off of NAME.
 
15404
# PREFIX and SUFFIX must not contain globbing or regex special
 
15405
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
15406
# dot (in which case that matches only a dot).
 
15407
# func_strip_suffix prefix name
 
15408
func_stripname ()
 
15409
{
 
15410
  case ${2} in
 
15411
    .*) func_stripname_result=`$ECHO "X${3}" \
 
15412
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
 
15413
    *)  func_stripname_result=`$ECHO "X${3}" \
 
15414
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
15415
  esac
 
15416
}
 
15417
 
 
15418
# sed scripts:
 
15419
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
 
15420
my_sed_long_arg='1s/^-[^=]*=//'
 
15421
 
 
15422
# func_opt_split
 
15423
func_opt_split ()
 
15424
{
 
15425
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
 
15426
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
15427
}
 
15428
 
 
15429
# func_lo2o object
 
15430
func_lo2o ()
 
15431
{
 
15432
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
15433
}
 
15434
 
 
15435
# func_xform libobj-or-source
 
15436
func_xform ()
 
15437
{
 
15438
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
 
15439
}
 
15440
 
 
15441
# func_arith arithmetic-term...
 
15442
func_arith ()
 
15443
{
 
15444
  func_arith_result=`expr "$@"`
 
15445
}
 
15446
 
 
15447
# func_len string
 
15448
# STRING may not start with a hyphen.
 
15449
func_len ()
 
15450
{
 
15451
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
 
15452
}
 
15453
 
 
15454
_LT_EOF
 
15455
esac
 
15456
 
 
15457
case $lt_shell_append in
 
15458
  yes)
 
15459
    cat << \_LT_EOF >> "$cfgfile"
 
15460
 
 
15461
# func_append var value
 
15462
# Append VALUE to the end of shell variable VAR.
 
15463
func_append ()
 
15464
{
 
15465
  eval "$1+=\$2"
 
15466
}
 
15467
_LT_EOF
 
15468
    ;;
 
15469
  *)
 
15470
    cat << \_LT_EOF >> "$cfgfile"
 
15471
 
 
15472
# func_append var value
 
15473
# Append VALUE to the end of shell variable VAR.
 
15474
func_append ()
 
15475
{
 
15476
  eval "$1=\$$1\$2"
 
15477
}
 
15478
 
 
15479
_LT_EOF
 
15480
    ;;
 
15481
  esac
 
15482
 
 
15483
 
 
15484
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
 
15485
    || (rm -f "$cfgfile"; exit 1)
 
15486
 
 
15487
  mv -f "$cfgfile" "$ofile" ||
 
15488
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
15489
  chmod +x "$ofile"
 
15490
 
 
15491
 ;;
22914
15492
 
22915
15493
  esac
22916
15494
done # for ac_tag
22950
15528
echo "                 ==================="
22951
15529
echo ""
22952
15530
echo "                   prefix:   ${prefix}"
22953
 
echo ""
22954
 
echo "            Documentation:   ${enable_gtk_doc}"
 
15531
echo "           Compiler flags:   ${MAINTAINER_CFLAGS} ${CPPFLAGS}"
 
15532
echo ""
 
15533
echo "              Cg compiler:   ${have_cgc}"
 
15534
echo ""
 
15535
echo "  Build API documentation:   ${enable_gtk_doc}"
22955
15536
echo ""