~ubuntu-branches/debian/squeeze/liboil/squeeze

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2009-05-08 08:45:26 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090508084526-nn3j97hrn06pa2ps
Tags: 0.3.16-1
* New upstream release.
  + debian/liboil0.3.symbols,
    debian/liboil0.3.shlibs:
    - Update for the two new functions.
* debian/control:
  + Update Standards-Version to 3.8.1.

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 liboil 0.3.15.
 
3
# Generated by GNU Autoconf 2.61 for liboil 0.3.16.
4
4
#
5
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
6
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
553
553
# Check that we are running under the correct shell.
554
554
SHELL=${CONFIG_SHELL-/bin/sh}
555
555
 
556
 
case X$ECHO in
 
556
case X$lt_ECHO in
557
557
X*--fallback-echo)
558
558
  # Remove one level of quotation (which was required for Make).
559
 
  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
 
559
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
560
560
  ;;
561
561
esac
562
562
 
563
 
echo=${ECHO-echo}
 
563
ECHO=${lt_ECHO-echo}
564
564
if test "X$1" = X--no-reexec; then
565
565
  # Discard the --no-reexec flag, and continue.
566
566
  shift
567
567
elif test "X$1" = X--fallback-echo; then
568
568
  # Avoid inline document here, it may be left over
569
569
  :
570
 
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
571
 
  # Yippee, $echo works!
 
570
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
 
571
  # Yippee, $ECHO works!
572
572
  :
573
573
else
574
574
  # Restart under the correct shell.
578
578
if test "X$1" = X--fallback-echo; then
579
579
  # used as fallback echo
580
580
  shift
581
 
  cat <<EOF
 
581
  cat <<_LT_EOF
582
582
$*
583
 
EOF
 
583
_LT_EOF
584
584
  exit 0
585
585
fi
586
586
 
588
588
# if CDPATH is set.
589
589
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
590
590
 
591
 
if test -z "$ECHO"; then
592
 
if test "X${echo_test_string+set}" != Xset; then
593
 
# find a string as large as possible, as long as the shell can cope with it
594
 
  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
595
 
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
596
 
    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
597
 
       echo_test_string=`eval $cmd` &&
598
 
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
599
 
    then
600
 
      break
601
 
    fi
602
 
  done
603
 
fi
604
 
 
605
 
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
606
 
   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
607
 
   test "X$echo_testing_string" = "X$echo_test_string"; then
608
 
  :
609
 
else
610
 
  # The Solaris, AIX, and Digital Unix default echo programs unquote
611
 
  # backslashes.  This makes it impossible to quote backslashes using
612
 
  #   echo "$something" | sed 's/\\/\\\\/g'
613
 
  #
614
 
  # So, first we look for a working echo in the user's PATH.
615
 
 
616
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
617
 
  for dir in $PATH /usr/ucb; do
 
591
if test -z "$lt_ECHO"; then
 
592
  if test "X${echo_test_string+set}" != Xset; then
 
593
    # find a string as large as possible, as long as the shell can cope with it
 
594
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
 
595
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
 
596
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
 
597
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
 
598
      then
 
599
        break
 
600
      fi
 
601
    done
 
602
  fi
 
603
 
 
604
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
605
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
606
     test "X$echo_testing_string" = "X$echo_test_string"; then
 
607
    :
 
608
  else
 
609
    # The Solaris, AIX, and Digital Unix default echo programs unquote
 
610
    # backslashes.  This makes it impossible to quote backslashes using
 
611
    #   echo "$something" | sed 's/\\/\\\\/g'
 
612
    #
 
613
    # So, first we look for a working echo in the user's PATH.
 
614
 
 
615
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
616
    for dir in $PATH /usr/ucb; do
 
617
      IFS="$lt_save_ifs"
 
618
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
 
619
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
 
620
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
 
621
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
622
        ECHO="$dir/echo"
 
623
        break
 
624
      fi
 
625
    done
618
626
    IFS="$lt_save_ifs"
619
 
    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
620
 
       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
621
 
       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
622
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
623
 
      echo="$dir/echo"
624
 
      break
625
 
    fi
626
 
  done
627
 
  IFS="$lt_save_ifs"
628
627
 
629
 
  if test "X$echo" = Xecho; then
630
 
    # We didn't find a better echo, so look for alternatives.
631
 
    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
632
 
       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
633
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
634
 
      # This shell has a builtin print -r that does the trick.
635
 
      echo='print -r'
636
 
    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
637
 
         test "X$CONFIG_SHELL" != X/bin/ksh; then
638
 
      # If we have ksh, try running configure again with it.
639
 
      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
640
 
      export ORIGINAL_CONFIG_SHELL
641
 
      CONFIG_SHELL=/bin/ksh
642
 
      export CONFIG_SHELL
643
 
      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
644
 
    else
645
 
      # Try using printf.
646
 
      echo='printf %s\n'
647
 
      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
648
 
         echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
649
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
650
 
        # Cool, printf works
651
 
        :
652
 
      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
653
 
           test "X$echo_testing_string" = 'X\t' &&
654
 
           echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
655
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
656
 
        CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
657
 
        export CONFIG_SHELL
658
 
        SHELL="$CONFIG_SHELL"
659
 
        export SHELL
660
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
661
 
      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
662
 
           test "X$echo_testing_string" = 'X\t' &&
663
 
           echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
664
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
665
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
 
628
    if test "X$ECHO" = Xecho; then
 
629
      # We didn't find a better echo, so look for alternatives.
 
630
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
 
631
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
 
632
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
633
        # This shell has a builtin print -r that does the trick.
 
634
        ECHO='print -r'
 
635
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
 
636
           test "X$CONFIG_SHELL" != X/bin/ksh; then
 
637
        # If we have ksh, try running configure again with it.
 
638
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
 
639
        export ORIGINAL_CONFIG_SHELL
 
640
        CONFIG_SHELL=/bin/ksh
 
641
        export CONFIG_SHELL
 
642
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
666
643
      else
667
 
        # maybe with a smaller string...
668
 
        prev=:
669
 
 
670
 
        for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
671
 
          if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
672
 
          then
673
 
            break
 
644
        # Try using printf.
 
645
        ECHO='printf %s\n'
 
646
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
647
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
648
           test "X$echo_testing_string" = "X$echo_test_string"; then
 
649
          # Cool, printf works
 
650
          :
 
651
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
652
             test "X$echo_testing_string" = 'X\t' &&
 
653
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
654
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
655
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
 
656
          export CONFIG_SHELL
 
657
          SHELL="$CONFIG_SHELL"
 
658
          export SHELL
 
659
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
660
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
661
             test "X$echo_testing_string" = 'X\t' &&
 
662
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
663
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
664
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
665
        else
 
666
          # maybe with a smaller string...
 
667
          prev=:
 
668
 
 
669
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
 
670
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
 
671
            then
 
672
              break
 
673
            fi
 
674
            prev="$cmd"
 
675
          done
 
676
 
 
677
          if test "$prev" != 'sed 50q "$0"'; then
 
678
            echo_test_string=`eval $prev`
 
679
            export echo_test_string
 
680
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
 
681
          else
 
682
            # Oops.  We lost completely, so just stick with echo.
 
683
            ECHO=echo
674
684
          fi
675
 
          prev="$cmd"
676
 
        done
677
 
 
678
 
        if test "$prev" != 'sed 50q "$0"'; then
679
 
          echo_test_string=`eval $prev`
680
 
          export echo_test_string
681
 
          exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
682
 
        else
683
 
          # Oops.  We lost completely, so just stick with echo.
684
 
          echo=echo
685
 
        fi
 
685
        fi
686
686
      fi
687
687
    fi
688
688
  fi
689
689
fi
690
 
fi
691
690
 
692
691
# Copy echo and quote the copy suitably for passing to libtool from
693
692
# the Makefile, instead of quoting the original, which is used later.
694
 
ECHO=$echo
695
 
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
696
 
   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
 
693
lt_ECHO=$ECHO
 
694
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
 
695
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
697
696
fi
698
697
 
699
698
 
722
721
# Identity of this package.
723
722
PACKAGE_NAME='liboil'
724
723
PACKAGE_TARNAME='liboil'
725
 
PACKAGE_VERSION='0.3.15'
726
 
PACKAGE_STRING='liboil 0.3.15'
 
724
PACKAGE_VERSION='0.3.16'
 
725
PACKAGE_STRING='liboil 0.3.16'
727
726
PACKAGE_BUGREPORT=''
728
727
 
729
728
# Factoring default headers for most tests.
834
833
MAINTAINER_MODE_FALSE
835
834
MAINT
836
835
LIBOIL_LIBVERSION
 
836
AS
 
837
DLLTOOL
 
838
OBJDUMP
 
839
LIBTOOL
837
840
CC
838
841
CFLAGS
839
842
LDFLAGS
853
856
SED
854
857
GREP
855
858
EGREP
 
859
FGREP
 
860
LD
 
861
DUMPBIN
 
862
ac_ct_DUMPBIN
 
863
NM
856
864
LN_S
857
 
ECHO
858
865
AR
859
866
RANLIB
 
867
lt_ECHO
860
868
DSYMUTIL
861
869
NMEDIT
862
 
DLLTOOL
863
 
AS
864
 
OBJDUMP
 
870
LIPO
 
871
OTOOL
 
872
OTOOL64
865
873
CPP
866
 
LIBTOOL
867
874
CCAS
868
875
CCASFLAGS
869
876
ACLOCAL_AMFLAGS
901
908
HAVE_OS_LINUX_FALSE
902
909
HAVE_GCC_ASM_POWERPC_FPU_TRUE
903
910
HAVE_GCC_ASM_POWERPC_FPU_FALSE
 
911
sys_symbol_underscore
904
912
LIBM
905
913
LIBRT
906
914
VFP_CFLAGS
1449
1457
  # Omit some internal or obsolete options to make the list less imposing.
1450
1458
  # This message is too long to be a string in the A/UX 3.1 sh.
1451
1459
  cat <<_ACEOF
1452
 
\`configure' configures liboil 0.3.15 to adapt to many kinds of systems.
 
1460
\`configure' configures liboil 0.3.16 to adapt to many kinds of systems.
1453
1461
 
1454
1462
Usage: $0 [OPTION]... [VAR=VALUE]...
1455
1463
 
1519
1527
 
1520
1528
if test -n "$ac_init_help"; then
1521
1529
  case $ac_init_help in
1522
 
     short | recursive ) echo "Configuration of liboil 0.3.15:";;
 
1530
     short | recursive ) echo "Configuration of liboil 0.3.16:";;
1523
1531
   esac
1524
1532
  cat <<\_ACEOF
1525
1533
 
1546
1554
Optional Packages:
1547
1555
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1548
1556
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1549
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1550
1557
  --with-pic              try to use only PIC/non-PIC objects [default=use
1551
1558
                          both]
 
1559
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1552
1560
  --with-alternate-optimization=CFLAGS
1553
1561
                          compile with alternate optimization flags
1554
1562
  --with-html-dir=PATH    path to installed docs
1631
1639
test -n "$ac_init_help" && exit $ac_status
1632
1640
if $ac_init_version; then
1633
1641
  cat <<\_ACEOF
1634
 
liboil configure 0.3.15
 
1642
liboil configure 0.3.16
1635
1643
generated by GNU Autoconf 2.61
1636
1644
 
1637
1645
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1645
1653
This file contains any messages produced by compilers while
1646
1654
running configure, to aid debugging if configure makes a mistake.
1647
1655
 
1648
 
It was created by liboil $as_me 0.3.15, which was
 
1656
It was created by liboil $as_me 0.3.16, which was
1649
1657
generated by GNU Autoconf 2.61.  Invocation command line was
1650
1658
 
1651
1659
  $ $0 $@
2003
2011
  { echo "$as_me:$LINENO: checking nano version" >&5
2004
2012
echo $ECHO_N "checking nano version... $ECHO_C" >&6; }
2005
2013
 
2006
 
  NANO=$(echo 0.3.15 | sed 's/[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\.*//')
 
2014
  NANO=$(echo 0.3.16 | sed 's/[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\.*//')
2007
2015
 
2008
2016
 
2009
2017
  if test x"$NANO" = x || test "x$NANO" = "x0" ; then
2418
2426
 
2419
2427
# Define the identity of the package.
2420
2428
 PACKAGE='liboil'
2421
 
 VERSION='0.3.15'
 
2429
 VERSION='0.3.16'
2422
2430
 
2423
2431
 
2424
2432
cat >>confdefs.h <<_ACEOF
2598
2606
 
2599
2607
LIBOIL_LIBVERSION="3:0:3"
2600
2608
 
2601
 
 
2602
 
 
2603
 
 
2604
 
 
2605
 
# Check whether --enable-shared was given.
2606
 
if test "${enable_shared+set}" = set; then
2607
 
  enableval=$enable_shared; p=${PACKAGE-default}
2608
 
    case $enableval in
2609
 
    yes) enable_shared=yes ;;
2610
 
    no) enable_shared=no ;;
2611
 
    *)
2612
 
      enable_shared=no
2613
 
      # Look at the argument we got.  We use all the common list separators.
2614
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2615
 
      for pkg in $enableval; do
2616
 
        IFS="$lt_save_ifs"
2617
 
        if test "X$pkg" = "X$p"; then
2618
 
          enable_shared=yes
2619
 
        fi
2620
 
      done
2621
 
      IFS="$lt_save_ifs"
2622
 
      ;;
2623
 
    esac
2624
 
else
2625
 
  enable_shared=yes
2626
 
fi
2627
 
 
2628
 
 
2629
 
# Check whether --enable-static was given.
2630
 
if test "${enable_static+set}" = set; then
2631
 
  enableval=$enable_static; p=${PACKAGE-default}
2632
 
    case $enableval in
2633
 
    yes) enable_static=yes ;;
2634
 
    no) enable_static=no ;;
2635
 
    *)
2636
 
     enable_static=no
2637
 
      # Look at the argument we got.  We use all the common list separators.
2638
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2639
 
      for pkg in $enableval; do
2640
 
        IFS="$lt_save_ifs"
2641
 
        if test "X$pkg" = "X$p"; then
2642
 
          enable_static=yes
2643
 
        fi
2644
 
      done
2645
 
      IFS="$lt_save_ifs"
2646
 
      ;;
2647
 
    esac
2648
 
else
2649
 
  enable_static=yes
2650
 
fi
2651
 
 
2652
 
 
2653
 
# Check whether --enable-fast-install was given.
2654
 
if test "${enable_fast_install+set}" = set; then
2655
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
2656
 
    case $enableval in
2657
 
    yes) enable_fast_install=yes ;;
2658
 
    no) enable_fast_install=no ;;
2659
 
    *)
2660
 
      enable_fast_install=no
2661
 
      # Look at the argument we got.  We use all the common list separators.
2662
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2663
 
      for pkg in $enableval; do
2664
 
        IFS="$lt_save_ifs"
2665
 
        if test "X$pkg" = "X$p"; then
2666
 
          enable_fast_install=yes
2667
 
        fi
2668
 
      done
2669
 
      IFS="$lt_save_ifs"
2670
 
      ;;
2671
 
    esac
2672
 
else
2673
 
  enable_fast_install=yes
2674
 
fi
2675
 
 
 
2609
enable_win32_dll=yes
 
2610
 
 
2611
case $host in
 
2612
*-*-cygwin* | *-*-mingw* | *-*-pw32*)
 
2613
  if test -n "$ac_tool_prefix"; then
 
2614
  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
 
2615
set dummy ${ac_tool_prefix}as; ac_word=$2
 
2616
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2617
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2618
if test "${ac_cv_prog_AS+set}" = set; then
 
2619
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2620
else
 
2621
  if test -n "$AS"; then
 
2622
  ac_cv_prog_AS="$AS" # Let the user override the test.
 
2623
else
 
2624
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2625
for as_dir in $PATH
 
2626
do
 
2627
  IFS=$as_save_IFS
 
2628
  test -z "$as_dir" && as_dir=.
 
2629
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2630
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2631
    ac_cv_prog_AS="${ac_tool_prefix}as"
 
2632
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2633
    break 2
 
2634
  fi
 
2635
done
 
2636
done
 
2637
IFS=$as_save_IFS
 
2638
 
 
2639
fi
 
2640
fi
 
2641
AS=$ac_cv_prog_AS
 
2642
if test -n "$AS"; then
 
2643
  { echo "$as_me:$LINENO: result: $AS" >&5
 
2644
echo "${ECHO_T}$AS" >&6; }
 
2645
else
 
2646
  { echo "$as_me:$LINENO: result: no" >&5
 
2647
echo "${ECHO_T}no" >&6; }
 
2648
fi
 
2649
 
 
2650
 
 
2651
fi
 
2652
if test -z "$ac_cv_prog_AS"; then
 
2653
  ac_ct_AS=$AS
 
2654
  # Extract the first word of "as", so it can be a program name with args.
 
2655
set dummy as; ac_word=$2
 
2656
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2657
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2658
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
 
2659
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2660
else
 
2661
  if test -n "$ac_ct_AS"; then
 
2662
  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
 
2663
else
 
2664
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2665
for as_dir in $PATH
 
2666
do
 
2667
  IFS=$as_save_IFS
 
2668
  test -z "$as_dir" && as_dir=.
 
2669
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2670
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2671
    ac_cv_prog_ac_ct_AS="as"
 
2672
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2673
    break 2
 
2674
  fi
 
2675
done
 
2676
done
 
2677
IFS=$as_save_IFS
 
2678
 
 
2679
fi
 
2680
fi
 
2681
ac_ct_AS=$ac_cv_prog_ac_ct_AS
 
2682
if test -n "$ac_ct_AS"; then
 
2683
  { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
 
2684
echo "${ECHO_T}$ac_ct_AS" >&6; }
 
2685
else
 
2686
  { echo "$as_me:$LINENO: result: no" >&5
 
2687
echo "${ECHO_T}no" >&6; }
 
2688
fi
 
2689
 
 
2690
  if test "x$ac_ct_AS" = x; then
 
2691
    AS="false"
 
2692
  else
 
2693
    case $cross_compiling:$ac_tool_warned in
 
2694
yes:)
 
2695
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2696
whose name does not start with the host triplet.  If you think this
 
2697
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2698
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2699
whose name does not start with the host triplet.  If you think this
 
2700
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2701
ac_tool_warned=yes ;;
 
2702
esac
 
2703
    AS=$ac_ct_AS
 
2704
  fi
 
2705
else
 
2706
  AS="$ac_cv_prog_AS"
 
2707
fi
 
2708
 
 
2709
  if test -n "$ac_tool_prefix"; then
 
2710
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
2711
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
2712
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2713
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2714
if test "${ac_cv_prog_DLLTOOL+set}" = set; then
 
2715
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2716
else
 
2717
  if test -n "$DLLTOOL"; then
 
2718
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
2719
else
 
2720
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2721
for as_dir in $PATH
 
2722
do
 
2723
  IFS=$as_save_IFS
 
2724
  test -z "$as_dir" && as_dir=.
 
2725
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2726
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2727
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
2728
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2729
    break 2
 
2730
  fi
 
2731
done
 
2732
done
 
2733
IFS=$as_save_IFS
 
2734
 
 
2735
fi
 
2736
fi
 
2737
DLLTOOL=$ac_cv_prog_DLLTOOL
 
2738
if test -n "$DLLTOOL"; then
 
2739
  { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
 
2740
echo "${ECHO_T}$DLLTOOL" >&6; }
 
2741
else
 
2742
  { echo "$as_me:$LINENO: result: no" >&5
 
2743
echo "${ECHO_T}no" >&6; }
 
2744
fi
 
2745
 
 
2746
 
 
2747
fi
 
2748
if test -z "$ac_cv_prog_DLLTOOL"; then
 
2749
  ac_ct_DLLTOOL=$DLLTOOL
 
2750
  # Extract the first word of "dlltool", so it can be a program name with args.
 
2751
set dummy dlltool; ac_word=$2
 
2752
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2753
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2754
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
 
2755
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2756
else
 
2757
  if test -n "$ac_ct_DLLTOOL"; then
 
2758
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
2759
else
 
2760
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2761
for as_dir in $PATH
 
2762
do
 
2763
  IFS=$as_save_IFS
 
2764
  test -z "$as_dir" && as_dir=.
 
2765
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2766
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2767
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
2768
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2769
    break 2
 
2770
  fi
 
2771
done
 
2772
done
 
2773
IFS=$as_save_IFS
 
2774
 
 
2775
fi
 
2776
fi
 
2777
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
2778
if test -n "$ac_ct_DLLTOOL"; then
 
2779
  { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
 
2780
echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
 
2781
else
 
2782
  { echo "$as_me:$LINENO: result: no" >&5
 
2783
echo "${ECHO_T}no" >&6; }
 
2784
fi
 
2785
 
 
2786
  if test "x$ac_ct_DLLTOOL" = x; then
 
2787
    DLLTOOL="false"
 
2788
  else
 
2789
    case $cross_compiling:$ac_tool_warned in
 
2790
yes:)
 
2791
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2792
whose name does not start with the host triplet.  If you think this
 
2793
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2794
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2795
whose name does not start with the host triplet.  If you think this
 
2796
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2797
ac_tool_warned=yes ;;
 
2798
esac
 
2799
    DLLTOOL=$ac_ct_DLLTOOL
 
2800
  fi
 
2801
else
 
2802
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
2803
fi
 
2804
 
 
2805
  if test -n "$ac_tool_prefix"; then
 
2806
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
2807
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
2808
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2809
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2810
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 
2811
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2812
else
 
2813
  if test -n "$OBJDUMP"; then
 
2814
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
2815
else
 
2816
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2817
for as_dir in $PATH
 
2818
do
 
2819
  IFS=$as_save_IFS
 
2820
  test -z "$as_dir" && as_dir=.
 
2821
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2822
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2823
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
2824
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2825
    break 2
 
2826
  fi
 
2827
done
 
2828
done
 
2829
IFS=$as_save_IFS
 
2830
 
 
2831
fi
 
2832
fi
 
2833
OBJDUMP=$ac_cv_prog_OBJDUMP
 
2834
if test -n "$OBJDUMP"; then
 
2835
  { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
2836
echo "${ECHO_T}$OBJDUMP" >&6; }
 
2837
else
 
2838
  { echo "$as_me:$LINENO: result: no" >&5
 
2839
echo "${ECHO_T}no" >&6; }
 
2840
fi
 
2841
 
 
2842
 
 
2843
fi
 
2844
if test -z "$ac_cv_prog_OBJDUMP"; then
 
2845
  ac_ct_OBJDUMP=$OBJDUMP
 
2846
  # Extract the first word of "objdump", so it can be a program name with args.
 
2847
set dummy objdump; ac_word=$2
 
2848
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2849
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2850
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 
2851
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2852
else
 
2853
  if test -n "$ac_ct_OBJDUMP"; then
 
2854
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
2855
else
 
2856
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2857
for as_dir in $PATH
 
2858
do
 
2859
  IFS=$as_save_IFS
 
2860
  test -z "$as_dir" && as_dir=.
 
2861
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2862
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2863
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
2864
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2865
    break 2
 
2866
  fi
 
2867
done
 
2868
done
 
2869
IFS=$as_save_IFS
 
2870
 
 
2871
fi
 
2872
fi
 
2873
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
2874
if test -n "$ac_ct_OBJDUMP"; then
 
2875
  { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
2876
echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
 
2877
else
 
2878
  { echo "$as_me:$LINENO: result: no" >&5
 
2879
echo "${ECHO_T}no" >&6; }
 
2880
fi
 
2881
 
 
2882
  if test "x$ac_ct_OBJDUMP" = x; then
 
2883
    OBJDUMP="false"
 
2884
  else
 
2885
    case $cross_compiling:$ac_tool_warned in
 
2886
yes:)
 
2887
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2888
whose name does not start with the host triplet.  If you think this
 
2889
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2890
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2891
whose name does not start with the host triplet.  If you think this
 
2892
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2893
ac_tool_warned=yes ;;
 
2894
esac
 
2895
    OBJDUMP=$ac_ct_OBJDUMP
 
2896
  fi
 
2897
else
 
2898
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
2899
fi
 
2900
 
 
2901
  ;;
 
2902
esac
 
2903
 
 
2904
test -z "$AS" && AS=as
 
2905
 
 
2906
 
 
2907
 
 
2908
 
 
2909
 
 
2910
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
2911
 
 
2912
 
 
2913
 
 
2914
 
 
2915
 
 
2916
test -z "$OBJDUMP" && OBJDUMP=objdump
 
2917
 
 
2918
 
 
2919
 
 
2920
 
 
2921
 
 
2922
 
 
2923
 
 
2924
 
 
2925
 
 
2926
case `pwd` in
 
2927
  *\ * | *\     *)
 
2928
    { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
2929
echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
2930
esac
 
2931
 
 
2932
 
 
2933
 
 
2934
macro_version='2.2.4'
 
2935
macro_revision='1.2976'
 
2936
 
 
2937
 
 
2938
 
 
2939
 
 
2940
 
 
2941
 
 
2942
 
 
2943
 
 
2944
 
 
2945
 
 
2946
 
 
2947
 
 
2948
 
 
2949
ltmain="$ac_aux_dir/ltmain.sh"
2676
2950
 
2677
2951
DEPDIR="${am__leading_dot}deps"
2678
2952
 
3769
4043
 
3770
4044
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3771
4045
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3772
 
if test "${lt_cv_path_SED+set}" = set; then
3773
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3774
 
else
3775
 
  # Loop through the user's path and test for sed and gsed.
3776
 
# Then use that list of sed's as ones to test for truncation.
 
4046
if test "${ac_cv_path_SED+set}" = set; then
 
4047
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4048
else
 
4049
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
4050
     for ac_i in 1 2 3 4 5 6 7; do
 
4051
       ac_script="$ac_script$as_nl$ac_script"
 
4052
     done
 
4053
     echo "$ac_script" | sed 99q >conftest.sed
 
4054
     $as_unset ac_script || ac_script=
 
4055
     # Extract the first word of "sed gsed" to use in msg output
 
4056
if test -z "$SED"; then
 
4057
set dummy sed gsed; ac_prog_name=$2
 
4058
if test "${ac_cv_path_SED+set}" = set; then
 
4059
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4060
else
 
4061
  ac_path_SED_found=false
 
4062
# Loop through the user's path and test for each of PROGNAME-LIST
3777
4063
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3778
4064
for as_dir in $PATH
3779
4065
do
3780
4066
  IFS=$as_save_IFS
3781
4067
  test -z "$as_dir" && as_dir=.
3782
 
  for lt_ac_prog in sed gsed; do
3783
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3784
 
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
3785
 
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3786
 
      fi
3787
 
    done
3788
 
  done
 
4068
  for ac_prog in sed gsed; do
 
4069
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4070
    ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
4071
    { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
4072
    # Check for GNU ac_path_SED and select it if it is found.
 
4073
  # Check for GNU $ac_path_SED
 
4074
case `"$ac_path_SED" --version 2>&1` in
 
4075
*GNU*)
 
4076
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
4077
*)
 
4078
  ac_count=0
 
4079
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4080
  while :
 
4081
  do
 
4082
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4083
    mv "conftest.tmp" "conftest.in"
 
4084
    cp "conftest.in" "conftest.nl"
 
4085
    echo '' >> "conftest.nl"
 
4086
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4087
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4088
    ac_count=`expr $ac_count + 1`
 
4089
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
4090
      # Best one so far, save it but keep looking for a better one
 
4091
      ac_cv_path_SED="$ac_path_SED"
 
4092
      ac_path_SED_max=$ac_count
 
4093
    fi
 
4094
    # 10*(2^10) chars as input seems more than enough
 
4095
    test $ac_count -gt 10 && break
 
4096
  done
 
4097
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4098
esac
 
4099
 
 
4100
 
 
4101
    $ac_path_SED_found && break 3
 
4102
  done
 
4103
done
 
4104
 
3789
4105
done
3790
4106
IFS=$as_save_IFS
3791
 
lt_ac_max=0
3792
 
lt_ac_count=0
3793
 
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
3794
 
# along with /bin/sed that truncates output.
3795
 
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3796
 
  test ! -f $lt_ac_sed && continue
3797
 
  cat /dev/null > conftest.in
3798
 
  lt_ac_count=0
3799
 
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3800
 
  # Check for GNU sed and select it if it is found.
3801
 
  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3802
 
    lt_cv_path_SED=$lt_ac_sed
3803
 
    break
3804
 
  fi
3805
 
  while true; do
3806
 
    cat conftest.in conftest.in >conftest.tmp
3807
 
    mv conftest.tmp conftest.in
3808
 
    cp conftest.in conftest.nl
3809
 
    echo >>conftest.nl
3810
 
    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3811
 
    cmp -s conftest.out conftest.nl || break
3812
 
    # 10000 chars as input seems more than enough
3813
 
    test $lt_ac_count -gt 10 && break
3814
 
    lt_ac_count=`expr $lt_ac_count + 1`
3815
 
    if test $lt_ac_count -gt $lt_ac_max; then
3816
 
      lt_ac_max=$lt_ac_count
3817
 
      lt_cv_path_SED=$lt_ac_sed
3818
 
    fi
3819
 
  done
3820
 
done
3821
 
 
3822
 
fi
3823
 
 
3824
 
SED=$lt_cv_path_SED
3825
 
 
3826
 
{ echo "$as_me:$LINENO: result: $SED" >&5
3827
 
echo "${ECHO_T}$SED" >&6; }
 
4107
 
 
4108
 
 
4109
fi
 
4110
 
 
4111
SED="$ac_cv_path_SED"
 
4112
if test -z "$SED"; then
 
4113
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
 
4114
echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
 
4115
   { (exit 1); exit 1; }; }
 
4116
fi
 
4117
 
 
4118
else
 
4119
  ac_cv_path_SED=$SED
 
4120
fi
 
4121
 
 
4122
fi
 
4123
{ echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
 
4124
echo "${ECHO_T}$ac_cv_path_SED" >&6; }
 
4125
 SED="$ac_cv_path_SED"
 
4126
  rm -f conftest.sed
 
4127
 
 
4128
test -z "$SED" && SED=sed
 
4129
Xsed="$SED -e 1s/^X//"
 
4130
 
 
4131
 
 
4132
 
 
4133
 
 
4134
 
 
4135
 
 
4136
 
 
4137
 
 
4138
 
 
4139
 
3828
4140
 
3829
4141
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3830
4142
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3988
4300
 EGREP="$ac_cv_path_EGREP"
3989
4301
 
3990
4302
 
 
4303
{ echo "$as_me:$LINENO: checking for fgrep" >&5
 
4304
echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; }
 
4305
if test "${ac_cv_path_FGREP+set}" = set; then
 
4306
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4307
else
 
4308
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
4309
   then ac_cv_path_FGREP="$GREP -F"
 
4310
   else
 
4311
     # Extract the first word of "fgrep" to use in msg output
 
4312
if test -z "$FGREP"; then
 
4313
set dummy fgrep; ac_prog_name=$2
 
4314
if test "${ac_cv_path_FGREP+set}" = set; then
 
4315
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4316
else
 
4317
  ac_path_FGREP_found=false
 
4318
# Loop through the user's path and test for each of PROGNAME-LIST
 
4319
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4320
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4321
do
 
4322
  IFS=$as_save_IFS
 
4323
  test -z "$as_dir" && as_dir=.
 
4324
  for ac_prog in fgrep; do
 
4325
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4326
    ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4327
    { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
4328
    # Check for GNU ac_path_FGREP and select it if it is found.
 
4329
  # Check for GNU $ac_path_FGREP
 
4330
case `"$ac_path_FGREP" --version 2>&1` in
 
4331
*GNU*)
 
4332
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
4333
*)
 
4334
  ac_count=0
 
4335
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4336
  while :
 
4337
  do
 
4338
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4339
    mv "conftest.tmp" "conftest.in"
 
4340
    cp "conftest.in" "conftest.nl"
 
4341
    echo 'FGREP' >> "conftest.nl"
 
4342
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4343
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4344
    ac_count=`expr $ac_count + 1`
 
4345
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
4346
      # Best one so far, save it but keep looking for a better one
 
4347
      ac_cv_path_FGREP="$ac_path_FGREP"
 
4348
      ac_path_FGREP_max=$ac_count
 
4349
    fi
 
4350
    # 10*(2^10) chars as input seems more than enough
 
4351
    test $ac_count -gt 10 && break
 
4352
  done
 
4353
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4354
esac
 
4355
 
 
4356
 
 
4357
    $ac_path_FGREP_found && break 3
 
4358
  done
 
4359
done
 
4360
 
 
4361
done
 
4362
IFS=$as_save_IFS
 
4363
 
 
4364
 
 
4365
fi
 
4366
 
 
4367
FGREP="$ac_cv_path_FGREP"
 
4368
if test -z "$FGREP"; then
 
4369
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4370
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4371
   { (exit 1); exit 1; }; }
 
4372
fi
 
4373
 
 
4374
else
 
4375
  ac_cv_path_FGREP=$FGREP
 
4376
fi
 
4377
 
 
4378
 
 
4379
   fi
 
4380
fi
 
4381
{ echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
 
4382
echo "${ECHO_T}$ac_cv_path_FGREP" >&6; }
 
4383
 FGREP="$ac_cv_path_FGREP"
 
4384
 
 
4385
 
 
4386
test -z "$GREP" && GREP=grep
 
4387
 
 
4388
 
 
4389
 
 
4390
 
 
4391
 
 
4392
 
 
4393
 
 
4394
 
 
4395
 
 
4396
 
 
4397
 
 
4398
 
 
4399
 
 
4400
 
 
4401
 
 
4402
 
 
4403
 
 
4404
 
3991
4405
 
3992
4406
# Check whether --with-gnu-ld was given.
3993
4407
if test "${with_gnu_ld+set}" = set; then
4013
4427
    [\\/]* | ?:[\\/]*)
4014
4428
      re_direlt='/[^/][^/]*/\.\./'
4015
4429
      # Canonicalize the pathname of ld
4016
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4017
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4018
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 
4430
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
4431
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
4432
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4019
4433
      done
4020
4434
      test -z "$LD" && LD="$ac_prog"
4021
4435
      ;;
4095
4509
with_gnu_ld=$lt_cv_prog_gnu_ld
4096
4510
 
4097
4511
 
4098
 
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4099
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4100
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
4101
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4102
 
else
4103
 
  lt_cv_ld_reload_flag='-r'
4104
 
fi
4105
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4106
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4107
 
reload_flag=$lt_cv_ld_reload_flag
4108
 
case $reload_flag in
4109
 
"" | " "*) ;;
4110
 
*) reload_flag=" $reload_flag" ;;
4111
 
esac
4112
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4113
 
case $host_os in
4114
 
  darwin*)
4115
 
    if test "$GCC" = yes; then
4116
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4117
 
    else
4118
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
4119
 
    fi
4120
 
    ;;
4121
 
esac
4122
 
 
4123
 
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4124
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
 
4512
 
 
4513
 
 
4514
 
 
4515
 
 
4516
 
 
4517
 
 
4518
 
 
4519
{ echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
 
4520
echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6; }
4125
4521
if test "${lt_cv_path_NM+set}" = set; then
4126
4522
  echo $ECHO_N "(cached) $ECHO_C" >&6
4127
4523
else
4166
4562
    done
4167
4563
    IFS="$lt_save_ifs"
4168
4564
  done
4169
 
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
 
4565
  : ${lt_cv_path_NM=no}
4170
4566
fi
4171
4567
fi
4172
4568
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4173
4569
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4174
 
NM="$lt_cv_path_NM"
 
4570
if test "$lt_cv_path_NM" != "no"; then
 
4571
  NM="$lt_cv_path_NM"
 
4572
else
 
4573
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
4574
  if test -n "$ac_tool_prefix"; then
 
4575
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4576
  do
 
4577
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
4578
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
4579
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4580
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
4581
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
 
4582
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4583
else
 
4584
  if test -n "$DUMPBIN"; then
 
4585
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
4586
else
 
4587
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4588
for as_dir in $PATH
 
4589
do
 
4590
  IFS=$as_save_IFS
 
4591
  test -z "$as_dir" && as_dir=.
 
4592
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4593
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4594
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
4595
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4596
    break 2
 
4597
  fi
 
4598
done
 
4599
done
 
4600
IFS=$as_save_IFS
 
4601
 
 
4602
fi
 
4603
fi
 
4604
DUMPBIN=$ac_cv_prog_DUMPBIN
 
4605
if test -n "$DUMPBIN"; then
 
4606
  { echo "$as_me:$LINENO: result: $DUMPBIN" >&5
 
4607
echo "${ECHO_T}$DUMPBIN" >&6; }
 
4608
else
 
4609
  { echo "$as_me:$LINENO: result: no" >&5
 
4610
echo "${ECHO_T}no" >&6; }
 
4611
fi
 
4612
 
 
4613
 
 
4614
    test -n "$DUMPBIN" && break
 
4615
  done
 
4616
fi
 
4617
if test -z "$DUMPBIN"; then
 
4618
  ac_ct_DUMPBIN=$DUMPBIN
 
4619
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4620
do
 
4621
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
4622
set dummy $ac_prog; ac_word=$2
 
4623
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4624
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
4625
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
 
4626
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4627
else
 
4628
  if test -n "$ac_ct_DUMPBIN"; then
 
4629
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
4630
else
 
4631
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4632
for as_dir in $PATH
 
4633
do
 
4634
  IFS=$as_save_IFS
 
4635
  test -z "$as_dir" && as_dir=.
 
4636
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4637
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4638
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
4639
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4640
    break 2
 
4641
  fi
 
4642
done
 
4643
done
 
4644
IFS=$as_save_IFS
 
4645
 
 
4646
fi
 
4647
fi
 
4648
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
4649
if test -n "$ac_ct_DUMPBIN"; then
 
4650
  { echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
 
4651
echo "${ECHO_T}$ac_ct_DUMPBIN" >&6; }
 
4652
else
 
4653
  { echo "$as_me:$LINENO: result: no" >&5
 
4654
echo "${ECHO_T}no" >&6; }
 
4655
fi
 
4656
 
 
4657
 
 
4658
  test -n "$ac_ct_DUMPBIN" && break
 
4659
done
 
4660
 
 
4661
  if test "x$ac_ct_DUMPBIN" = x; then
 
4662
    DUMPBIN=":"
 
4663
  else
 
4664
    case $cross_compiling:$ac_tool_warned in
 
4665
yes:)
 
4666
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
4667
whose name does not start with the host triplet.  If you think this
 
4668
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
4669
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
4670
whose name does not start with the host triplet.  If you think this
 
4671
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
4672
ac_tool_warned=yes ;;
 
4673
esac
 
4674
    DUMPBIN=$ac_ct_DUMPBIN
 
4675
  fi
 
4676
fi
 
4677
 
 
4678
 
 
4679
  if test "$DUMPBIN" != ":"; then
 
4680
    NM="$DUMPBIN"
 
4681
  fi
 
4682
fi
 
4683
test -z "$NM" && NM=nm
 
4684
 
 
4685
 
 
4686
 
 
4687
 
 
4688
 
 
4689
 
 
4690
{ echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
 
4691
echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6; }
 
4692
if test "${lt_cv_nm_interface+set}" = set; then
 
4693
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4694
else
 
4695
  lt_cv_nm_interface="BSD nm"
 
4696
  echo "int some_variable = 0;" > conftest.$ac_ext
 
4697
  (eval echo "\"\$as_me:4697: $ac_compile\"" >&5)
 
4698
  (eval "$ac_compile" 2>conftest.err)
 
4699
  cat conftest.err >&5
 
4700
  (eval echo "\"\$as_me:4700: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
4701
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
4702
  cat conftest.err >&5
 
4703
  (eval echo "\"\$as_me:4703: output\"" >&5)
 
4704
  cat conftest.out >&5
 
4705
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
4706
    lt_cv_nm_interface="MS dumpbin"
 
4707
  fi
 
4708
  rm -f conftest*
 
4709
fi
 
4710
{ echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
 
4711
echo "${ECHO_T}$lt_cv_nm_interface" >&6; }
4175
4712
 
4176
4713
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
4177
4714
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4184
4721
echo "${ECHO_T}no, using $LN_S" >&6; }
4185
4722
fi
4186
4723
 
 
4724
# find the maximum length of command line arguments
 
4725
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
4726
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
 
4727
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 
4728
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4729
else
 
4730
    i=0
 
4731
  teststring="ABCD"
 
4732
 
 
4733
  case $build_os in
 
4734
  msdosdjgpp*)
 
4735
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
4736
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
4737
    # during glob expansion).  Even if it were fixed, the result of this
 
4738
    # check would be larger than it should be.
 
4739
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
4740
    ;;
 
4741
 
 
4742
  gnu*)
 
4743
    # Under GNU Hurd, this test is not required because there is
 
4744
    # no limit to the length of command line arguments.
 
4745
    # Libtool will interpret -1 as no limit whatsoever
 
4746
    lt_cv_sys_max_cmd_len=-1;
 
4747
    ;;
 
4748
 
 
4749
  cygwin* | mingw*)
 
4750
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
4751
    # about 5 minutes as the teststring grows exponentially.
 
4752
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
4753
    # you end up with a "frozen" computer, even though with patience
 
4754
    # the test eventually succeeds (with a max line length of 256k).
 
4755
    # Instead, let's just punt: use the minimum linelength reported by
 
4756
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
4757
    lt_cv_sys_max_cmd_len=8192;
 
4758
    ;;
 
4759
 
 
4760
  amigaos*)
 
4761
    # On AmigaOS with pdksh, this test takes hours, literally.
 
4762
    # So we just punt and use a minimum line length of 8192.
 
4763
    lt_cv_sys_max_cmd_len=8192;
 
4764
    ;;
 
4765
 
 
4766
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
4767
    # This has been around since 386BSD, at least.  Likely further.
 
4768
    if test -x /sbin/sysctl; then
 
4769
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
4770
    elif test -x /usr/sbin/sysctl; then
 
4771
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
4772
    else
 
4773
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
4774
    fi
 
4775
    # And add a safety zone
 
4776
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
4777
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
4778
    ;;
 
4779
 
 
4780
  interix*)
 
4781
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
4782
    lt_cv_sys_max_cmd_len=196608
 
4783
    ;;
 
4784
 
 
4785
  osf*)
 
4786
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
4787
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
4788
    # nice to cause kernel panics so lets avoid the loop below.
 
4789
    # First set a reasonable default.
 
4790
    lt_cv_sys_max_cmd_len=16384
 
4791
    #
 
4792
    if test -x /sbin/sysconfig; then
 
4793
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
4794
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
4795
      esac
 
4796
    fi
 
4797
    ;;
 
4798
  sco3.2v5*)
 
4799
    lt_cv_sys_max_cmd_len=102400
 
4800
    ;;
 
4801
  sysv5* | sco5v6* | sysv4.2uw2*)
 
4802
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
4803
    if test -n "$kargmax"; then
 
4804
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
4805
    else
 
4806
      lt_cv_sys_max_cmd_len=32768
 
4807
    fi
 
4808
    ;;
 
4809
  *)
 
4810
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
4811
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
4812
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
4813
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
4814
    else
 
4815
      # Make teststring a little bigger before we do anything with it.
 
4816
      # a 1K string should be a reasonable start.
 
4817
      for i in 1 2 3 4 5 6 7 8 ; do
 
4818
        teststring=$teststring$teststring
 
4819
      done
 
4820
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
4821
      # If test is not a shell built-in, we'll probably end up computing a
 
4822
      # maximum length that is only half of the actual maximum length, but
 
4823
      # we can't tell.
 
4824
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
 
4825
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
4826
              test $i != 17 # 1/2 MB should be enough
 
4827
      do
 
4828
        i=`expr $i + 1`
 
4829
        teststring=$teststring$teststring
 
4830
      done
 
4831
      # Only check the string length outside the loop.
 
4832
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
4833
      teststring=
 
4834
      # Add a significant safety factor because C++ compilers can tack on
 
4835
      # massive amounts of additional arguments before passing them to the
 
4836
      # linker.  It appears as though 1/2 is a usable value.
 
4837
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
4838
    fi
 
4839
    ;;
 
4840
  esac
 
4841
 
 
4842
fi
 
4843
 
 
4844
if test -n $lt_cv_sys_max_cmd_len ; then
 
4845
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
4846
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
 
4847
else
 
4848
  { echo "$as_me:$LINENO: result: none" >&5
 
4849
echo "${ECHO_T}none" >&6; }
 
4850
fi
 
4851
max_cmd_len=$lt_cv_sys_max_cmd_len
 
4852
 
 
4853
 
 
4854
 
 
4855
 
 
4856
 
 
4857
 
 
4858
: ${CP="cp -f"}
 
4859
: ${MV="mv -f"}
 
4860
: ${RM="rm -f"}
 
4861
 
 
4862
{ echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
 
4863
echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6; }
 
4864
# Try some XSI features
 
4865
xsi_shell=no
 
4866
( _lt_dummy="a/b/c"
 
4867
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 
4868
      = c,a/b,, \
 
4869
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
4870
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
4871
  && xsi_shell=yes
 
4872
{ echo "$as_me:$LINENO: result: $xsi_shell" >&5
 
4873
echo "${ECHO_T}$xsi_shell" >&6; }
 
4874
 
 
4875
 
 
4876
{ echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
 
4877
echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6; }
 
4878
lt_shell_append=no
 
4879
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
4880
    >/dev/null 2>&1 \
 
4881
  && lt_shell_append=yes
 
4882
{ echo "$as_me:$LINENO: result: $lt_shell_append" >&5
 
4883
echo "${ECHO_T}$lt_shell_append" >&6; }
 
4884
 
 
4885
 
 
4886
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
4887
  lt_unset=unset
 
4888
else
 
4889
  lt_unset=false
 
4890
fi
 
4891
 
 
4892
 
 
4893
 
 
4894
 
 
4895
 
 
4896
# test EBCDIC or ASCII
 
4897
case `echo X|tr X '\101'` in
 
4898
 A) # ASCII based system
 
4899
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
4900
  lt_SP2NL='tr \040 \012'
 
4901
  lt_NL2SP='tr \015\012 \040\040'
 
4902
  ;;
 
4903
 *) # EBCDIC based system
 
4904
  lt_SP2NL='tr \100 \n'
 
4905
  lt_NL2SP='tr \r\n \100\100'
 
4906
  ;;
 
4907
esac
 
4908
 
 
4909
 
 
4910
 
 
4911
 
 
4912
 
 
4913
 
 
4914
 
 
4915
 
 
4916
 
 
4917
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
4918
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
 
4919
if test "${lt_cv_ld_reload_flag+set}" = set; then
 
4920
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4921
else
 
4922
  lt_cv_ld_reload_flag='-r'
 
4923
fi
 
4924
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
4925
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
 
4926
reload_flag=$lt_cv_ld_reload_flag
 
4927
case $reload_flag in
 
4928
"" | " "*) ;;
 
4929
*) reload_flag=" $reload_flag" ;;
 
4930
esac
 
4931
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
4932
case $host_os in
 
4933
  darwin*)
 
4934
    if test "$GCC" = yes; then
 
4935
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
4936
    else
 
4937
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
4938
    fi
 
4939
    ;;
 
4940
esac
 
4941
 
 
4942
 
 
4943
 
 
4944
 
 
4945
 
 
4946
 
 
4947
 
 
4948
 
 
4949
 
 
4950
 
4187
4951
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4188
4952
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4189
4953
if test "${lt_cv_deplibs_check_method+set}" = set; then
4242
5006
  ;;
4243
5007
 
4244
5008
freebsd* | dragonfly*)
4245
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
5009
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4246
5010
    case $host_cpu in
4247
5011
    i*86 )
4248
5012
      # Not sure whether the presence of OpenBSD here was a mistake.
4300
5064
  ;;
4301
5065
 
4302
5066
netbsd* | netbsdelf*-gnu)
4303
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
5067
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4304
5068
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4305
5069
  else
4306
5070
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4313
5077
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
4314
5078
  ;;
4315
5079
 
4316
 
nto-qnx*)
4317
 
  lt_cv_deplibs_check_method=unknown
 
5080
*nto* | *qnx*)
 
5081
  lt_cv_deplibs_check_method=pass_all
4318
5082
  ;;
4319
5083
 
4320
5084
openbsd*)
4321
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
5085
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4322
5086
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4323
5087
  else
4324
5088
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4337
5101
  lt_cv_deplibs_check_method=pass_all
4338
5102
  ;;
4339
5103
 
 
5104
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
5105
  lt_cv_deplibs_check_method=pass_all
 
5106
  ;;
 
5107
 
4340
5108
sysv4 | sysv4.3*)
4341
5109
  case $host_vendor in
4342
5110
  motorola)
4364
5132
  esac
4365
5133
  ;;
4366
5134
 
4367
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
5135
tpf*)
4368
5136
  lt_cv_deplibs_check_method=pass_all
4369
5137
  ;;
4370
5138
esac
4379
5147
 
4380
5148
 
4381
5149
 
 
5150
 
 
5151
 
 
5152
 
 
5153
 
 
5154
 
 
5155
 
 
5156
 
 
5157
 
 
5158
if test -n "$ac_tool_prefix"; then
 
5159
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 
5160
set dummy ${ac_tool_prefix}ar; ac_word=$2
 
5161
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5162
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5163
if test "${ac_cv_prog_AR+set}" = set; then
 
5164
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5165
else
 
5166
  if test -n "$AR"; then
 
5167
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
5168
else
 
5169
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5170
for as_dir in $PATH
 
5171
do
 
5172
  IFS=$as_save_IFS
 
5173
  test -z "$as_dir" && as_dir=.
 
5174
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5175
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5176
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
5177
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5178
    break 2
 
5179
  fi
 
5180
done
 
5181
done
 
5182
IFS=$as_save_IFS
 
5183
 
 
5184
fi
 
5185
fi
 
5186
AR=$ac_cv_prog_AR
 
5187
if test -n "$AR"; then
 
5188
  { echo "$as_me:$LINENO: result: $AR" >&5
 
5189
echo "${ECHO_T}$AR" >&6; }
 
5190
else
 
5191
  { echo "$as_me:$LINENO: result: no" >&5
 
5192
echo "${ECHO_T}no" >&6; }
 
5193
fi
 
5194
 
 
5195
 
 
5196
fi
 
5197
if test -z "$ac_cv_prog_AR"; then
 
5198
  ac_ct_AR=$AR
 
5199
  # Extract the first word of "ar", so it can be a program name with args.
 
5200
set dummy ar; ac_word=$2
 
5201
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5202
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5203
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
5204
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5205
else
 
5206
  if test -n "$ac_ct_AR"; then
 
5207
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
5208
else
 
5209
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5210
for as_dir in $PATH
 
5211
do
 
5212
  IFS=$as_save_IFS
 
5213
  test -z "$as_dir" && as_dir=.
 
5214
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5215
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5216
    ac_cv_prog_ac_ct_AR="ar"
 
5217
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5218
    break 2
 
5219
  fi
 
5220
done
 
5221
done
 
5222
IFS=$as_save_IFS
 
5223
 
 
5224
fi
 
5225
fi
 
5226
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
5227
if test -n "$ac_ct_AR"; then
 
5228
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
5229
echo "${ECHO_T}$ac_ct_AR" >&6; }
 
5230
else
 
5231
  { echo "$as_me:$LINENO: result: no" >&5
 
5232
echo "${ECHO_T}no" >&6; }
 
5233
fi
 
5234
 
 
5235
  if test "x$ac_ct_AR" = x; then
 
5236
    AR="false"
 
5237
  else
 
5238
    case $cross_compiling:$ac_tool_warned in
 
5239
yes:)
 
5240
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
5241
whose name does not start with the host triplet.  If you think this
 
5242
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
5243
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
5244
whose name does not start with the host triplet.  If you think this
 
5245
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
5246
ac_tool_warned=yes ;;
 
5247
esac
 
5248
    AR=$ac_ct_AR
 
5249
  fi
 
5250
else
 
5251
  AR="$ac_cv_prog_AR"
 
5252
fi
 
5253
 
 
5254
test -z "$AR" && AR=ar
 
5255
test -z "$AR_FLAGS" && AR_FLAGS=cru
 
5256
 
 
5257
 
 
5258
 
 
5259
 
 
5260
 
 
5261
 
 
5262
 
 
5263
 
 
5264
 
 
5265
 
 
5266
 
 
5267
if test -n "$ac_tool_prefix"; then
 
5268
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
5269
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
5270
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5271
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5272
if test "${ac_cv_prog_STRIP+set}" = set; then
 
5273
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5274
else
 
5275
  if test -n "$STRIP"; then
 
5276
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
5277
else
 
5278
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5279
for as_dir in $PATH
 
5280
do
 
5281
  IFS=$as_save_IFS
 
5282
  test -z "$as_dir" && as_dir=.
 
5283
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5284
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5285
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
5286
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5287
    break 2
 
5288
  fi
 
5289
done
 
5290
done
 
5291
IFS=$as_save_IFS
 
5292
 
 
5293
fi
 
5294
fi
 
5295
STRIP=$ac_cv_prog_STRIP
 
5296
if test -n "$STRIP"; then
 
5297
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
5298
echo "${ECHO_T}$STRIP" >&6; }
 
5299
else
 
5300
  { echo "$as_me:$LINENO: result: no" >&5
 
5301
echo "${ECHO_T}no" >&6; }
 
5302
fi
 
5303
 
 
5304
 
 
5305
fi
 
5306
if test -z "$ac_cv_prog_STRIP"; then
 
5307
  ac_ct_STRIP=$STRIP
 
5308
  # Extract the first word of "strip", so it can be a program name with args.
 
5309
set dummy strip; ac_word=$2
 
5310
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5311
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5312
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
5313
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5314
else
 
5315
  if test -n "$ac_ct_STRIP"; then
 
5316
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
5317
else
 
5318
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5319
for as_dir in $PATH
 
5320
do
 
5321
  IFS=$as_save_IFS
 
5322
  test -z "$as_dir" && as_dir=.
 
5323
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5324
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5325
    ac_cv_prog_ac_ct_STRIP="strip"
 
5326
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5327
    break 2
 
5328
  fi
 
5329
done
 
5330
done
 
5331
IFS=$as_save_IFS
 
5332
 
 
5333
fi
 
5334
fi
 
5335
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
5336
if test -n "$ac_ct_STRIP"; then
 
5337
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
5338
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
 
5339
else
 
5340
  { echo "$as_me:$LINENO: result: no" >&5
 
5341
echo "${ECHO_T}no" >&6; }
 
5342
fi
 
5343
 
 
5344
  if test "x$ac_ct_STRIP" = x; then
 
5345
    STRIP=":"
 
5346
  else
 
5347
    case $cross_compiling:$ac_tool_warned in
 
5348
yes:)
 
5349
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
5350
whose name does not start with the host triplet.  If you think this
 
5351
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
5352
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
5353
whose name does not start with the host triplet.  If you think this
 
5354
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
5355
ac_tool_warned=yes ;;
 
5356
esac
 
5357
    STRIP=$ac_ct_STRIP
 
5358
  fi
 
5359
else
 
5360
  STRIP="$ac_cv_prog_STRIP"
 
5361
fi
 
5362
 
 
5363
test -z "$STRIP" && STRIP=:
 
5364
 
 
5365
 
 
5366
 
 
5367
 
 
5368
 
 
5369
 
 
5370
if test -n "$ac_tool_prefix"; then
 
5371
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
5372
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
5373
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5374
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5375
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
5376
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5377
else
 
5378
  if test -n "$RANLIB"; then
 
5379
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
5380
else
 
5381
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5382
for as_dir in $PATH
 
5383
do
 
5384
  IFS=$as_save_IFS
 
5385
  test -z "$as_dir" && as_dir=.
 
5386
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5387
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5388
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
5389
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5390
    break 2
 
5391
  fi
 
5392
done
 
5393
done
 
5394
IFS=$as_save_IFS
 
5395
 
 
5396
fi
 
5397
fi
 
5398
RANLIB=$ac_cv_prog_RANLIB
 
5399
if test -n "$RANLIB"; then
 
5400
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
 
5401
echo "${ECHO_T}$RANLIB" >&6; }
 
5402
else
 
5403
  { echo "$as_me:$LINENO: result: no" >&5
 
5404
echo "${ECHO_T}no" >&6; }
 
5405
fi
 
5406
 
 
5407
 
 
5408
fi
 
5409
if test -z "$ac_cv_prog_RANLIB"; then
 
5410
  ac_ct_RANLIB=$RANLIB
 
5411
  # Extract the first word of "ranlib", so it can be a program name with args.
 
5412
set dummy ranlib; ac_word=$2
 
5413
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5414
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5415
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
5416
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5417
else
 
5418
  if test -n "$ac_ct_RANLIB"; then
 
5419
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
5420
else
 
5421
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5422
for as_dir in $PATH
 
5423
do
 
5424
  IFS=$as_save_IFS
 
5425
  test -z "$as_dir" && as_dir=.
 
5426
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5427
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5428
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
5429
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5430
    break 2
 
5431
  fi
 
5432
done
 
5433
done
 
5434
IFS=$as_save_IFS
 
5435
 
 
5436
fi
 
5437
fi
 
5438
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
5439
if test -n "$ac_ct_RANLIB"; then
 
5440
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
5441
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
 
5442
else
 
5443
  { echo "$as_me:$LINENO: result: no" >&5
 
5444
echo "${ECHO_T}no" >&6; }
 
5445
fi
 
5446
 
 
5447
  if test "x$ac_ct_RANLIB" = x; then
 
5448
    RANLIB=":"
 
5449
  else
 
5450
    case $cross_compiling:$ac_tool_warned in
 
5451
yes:)
 
5452
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
5453
whose name does not start with the host triplet.  If you think this
 
5454
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
5455
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
5456
whose name does not start with the host triplet.  If you think this
 
5457
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
5458
ac_tool_warned=yes ;;
 
5459
esac
 
5460
    RANLIB=$ac_ct_RANLIB
 
5461
  fi
 
5462
else
 
5463
  RANLIB="$ac_cv_prog_RANLIB"
 
5464
fi
 
5465
 
 
5466
test -z "$RANLIB" && RANLIB=:
 
5467
 
 
5468
 
 
5469
 
 
5470
 
 
5471
 
 
5472
 
 
5473
# Determine commands to create old-style static archives.
 
5474
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
5475
old_postinstall_cmds='chmod 644 $oldlib'
 
5476
old_postuninstall_cmds=
 
5477
 
 
5478
if test -n "$RANLIB"; then
 
5479
  case $host_os in
 
5480
  openbsd*)
 
5481
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
5482
    ;;
 
5483
  *)
 
5484
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
5485
    ;;
 
5486
  esac
 
5487
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
5488
fi
 
5489
 
 
5490
 
 
5491
 
 
5492
 
 
5493
 
 
5494
 
 
5495
 
 
5496
 
 
5497
 
 
5498
 
 
5499
 
 
5500
 
 
5501
 
 
5502
 
 
5503
 
 
5504
 
 
5505
 
 
5506
 
 
5507
 
 
5508
 
 
5509
 
 
5510
 
 
5511
 
 
5512
 
 
5513
 
 
5514
 
 
5515
 
 
5516
 
 
5517
 
 
5518
 
 
5519
 
 
5520
 
 
5521
 
 
5522
 
4382
5523
# If no C compiler was specified, use CC.
4383
5524
LTCC=${LTCC-"$CC"}
4384
5525
 
4389
5530
compiler=$CC
4390
5531
 
4391
5532
 
4392
 
# Check whether --enable-libtool-lock was given.
4393
 
if test "${enable_libtool_lock+set}" = set; then
4394
 
  enableval=$enable_libtool_lock;
4395
 
fi
4396
 
 
4397
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4398
 
 
4399
 
# Some flags need to be propagated to the compiler or linker for good
4400
 
# libtool support.
4401
 
case $host in
4402
 
ia64-*-hpux*)
4403
 
  # Find out which ABI we are using.
4404
 
  echo 'int i;' > conftest.$ac_ext
4405
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4406
 
  (eval $ac_compile) 2>&5
4407
 
  ac_status=$?
4408
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4409
 
  (exit $ac_status); }; then
4410
 
    case `/usr/bin/file conftest.$ac_objext` in
4411
 
    *ELF-32*)
4412
 
      HPUX_IA64_MODE="32"
4413
 
      ;;
4414
 
    *ELF-64*)
4415
 
      HPUX_IA64_MODE="64"
4416
 
      ;;
4417
 
    esac
4418
 
  fi
4419
 
  rm -rf conftest*
4420
 
  ;;
4421
 
*-*-irix6*)
4422
 
  # Find out which ABI we are using.
4423
 
  echo '#line 4423 "configure"' > 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
 
   if test "$lt_cv_prog_gnu_ld" = yes; then
4430
 
    case `/usr/bin/file conftest.$ac_objext` in
4431
 
    *32-bit*)
4432
 
      LD="${LD-ld} -melf32bsmip"
4433
 
      ;;
4434
 
    *N32*)
4435
 
      LD="${LD-ld} -melf32bmipn32"
4436
 
      ;;
4437
 
    *64-bit*)
4438
 
      LD="${LD-ld} -melf64bmip"
4439
 
      ;;
4440
 
    esac
4441
 
   else
4442
 
    case `/usr/bin/file conftest.$ac_objext` in
4443
 
    *32-bit*)
4444
 
      LD="${LD-ld} -32"
4445
 
      ;;
4446
 
    *N32*)
4447
 
      LD="${LD-ld} -n32"
4448
 
      ;;
4449
 
    *64-bit*)
4450
 
      LD="${LD-ld} -64"
4451
 
      ;;
4452
 
    esac
4453
 
   fi
4454
 
  fi
4455
 
  rm -rf conftest*
4456
 
  ;;
4457
 
 
4458
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
4459
 
s390*-*linux*|sparc*-*linux*)
4460
 
  # Find out which ABI we are using.
4461
 
  echo 'int i;' > conftest.$ac_ext
4462
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4463
 
  (eval $ac_compile) 2>&5
4464
 
  ac_status=$?
4465
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4466
 
  (exit $ac_status); }; then
4467
 
    case `/usr/bin/file conftest.o` in
4468
 
    *32-bit*)
4469
 
      case $host in
4470
 
        x86_64-*kfreebsd*-gnu)
4471
 
          LD="${LD-ld} -m elf_i386_fbsd"
4472
 
          ;;
4473
 
        x86_64-*linux*)
4474
 
          LD="${LD-ld} -m elf_i386"
4475
 
          ;;
4476
 
        ppc64-*linux*|powerpc64-*linux*)
4477
 
          LD="${LD-ld} -m elf32ppclinux"
4478
 
          ;;
4479
 
        s390x-*linux*)
4480
 
          LD="${LD-ld} -m elf_s390"
4481
 
          ;;
4482
 
        sparc64-*linux*)
4483
 
          LD="${LD-ld} -m elf32_sparc"
4484
 
          ;;
4485
 
      esac
4486
 
      ;;
4487
 
    *64-bit*)
4488
 
      case $host in
4489
 
        x86_64-*kfreebsd*-gnu)
4490
 
          LD="${LD-ld} -m elf_x86_64_fbsd"
4491
 
          ;;
4492
 
        x86_64-*linux*)
4493
 
          LD="${LD-ld} -m elf_x86_64"
4494
 
          ;;
4495
 
        ppc*-*linux*|powerpc*-*linux*)
4496
 
          LD="${LD-ld} -m elf64ppc"
4497
 
          ;;
4498
 
        s390*-*linux*)
4499
 
          LD="${LD-ld} -m elf64_s390"
4500
 
          ;;
4501
 
        sparc*-*linux*)
4502
 
          LD="${LD-ld} -m elf64_sparc"
4503
 
          ;;
4504
 
      esac
4505
 
      ;;
4506
 
    esac
4507
 
  fi
4508
 
  rm -rf conftest*
4509
 
  ;;
4510
 
 
4511
 
*-*-sco3.2v5*)
4512
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4513
 
  SAVE_CFLAGS="$CFLAGS"
4514
 
  CFLAGS="$CFLAGS -belf"
4515
 
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4516
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4517
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
4518
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4519
 
else
4520
 
  ac_ext=c
4521
 
ac_cpp='$CPP $CPPFLAGS'
4522
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4523
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4524
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4525
 
 
4526
 
     cat >conftest.$ac_ext <<_ACEOF
4527
 
/* confdefs.h.  */
4528
 
_ACEOF
4529
 
cat confdefs.h >>conftest.$ac_ext
4530
 
cat >>conftest.$ac_ext <<_ACEOF
4531
 
/* end confdefs.h.  */
4532
 
 
4533
 
int
4534
 
main ()
4535
 
{
4536
 
 
4537
 
  ;
4538
 
  return 0;
4539
 
}
4540
 
_ACEOF
4541
 
rm -f conftest.$ac_objext conftest$ac_exeext
4542
 
if { (ac_try="$ac_link"
4543
 
case "(($ac_try" in
4544
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4545
 
  *) ac_try_echo=$ac_try;;
4546
 
esac
4547
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4548
 
  (eval "$ac_link") 2>conftest.er1
4549
 
  ac_status=$?
4550
 
  grep -v '^ *+' conftest.er1 >conftest.err
4551
 
  rm -f conftest.er1
4552
 
  cat conftest.err >&5
4553
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4554
 
  (exit $ac_status); } && {
4555
 
         test -z "$ac_c_werror_flag" ||
4556
 
         test ! -s conftest.err
4557
 
       } && test -s conftest$ac_exeext &&
4558
 
       $as_test_x conftest$ac_exeext; then
4559
 
  lt_cv_cc_needs_belf=yes
4560
 
else
4561
 
  echo "$as_me: failed program was:" >&5
4562
 
sed 's/^/| /' conftest.$ac_ext >&5
4563
 
 
4564
 
        lt_cv_cc_needs_belf=no
4565
 
fi
4566
 
 
4567
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4568
 
      conftest$ac_exeext conftest.$ac_ext
4569
 
     ac_ext=c
4570
 
ac_cpp='$CPP $CPPFLAGS'
4571
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4572
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4573
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4574
 
 
4575
 
fi
4576
 
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4577
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4578
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4579
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4580
 
    CFLAGS="$SAVE_CFLAGS"
4581
 
  fi
4582
 
  ;;
4583
 
sparc*-*solaris*)
4584
 
  # Find out which ABI we are using.
4585
 
  echo 'int i;' > conftest.$ac_ext
4586
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4587
 
  (eval $ac_compile) 2>&5
4588
 
  ac_status=$?
4589
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4590
 
  (exit $ac_status); }; then
4591
 
    case `/usr/bin/file conftest.o` in
4592
 
    *64-bit*)
4593
 
      case $lt_cv_prog_gnu_ld in
4594
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
4595
 
      *)
4596
 
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
4597
 
          LD="${LD-ld} -64"
4598
 
        fi
4599
 
        ;;
4600
 
      esac
4601
 
      ;;
4602
 
    esac
4603
 
  fi
4604
 
  rm -rf conftest*
4605
 
  ;;
4606
 
 
4607
 
*-*-cygwin* | *-*-mingw* | *-*-pw32*)
4608
 
  if test -n "$ac_tool_prefix"; then
4609
 
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4610
 
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4611
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4612
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4613
 
if test "${ac_cv_prog_DLLTOOL+set}" = set; then
4614
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4615
 
else
4616
 
  if test -n "$DLLTOOL"; then
4617
 
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4618
 
else
4619
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4620
 
for as_dir in $PATH
4621
 
do
4622
 
  IFS=$as_save_IFS
4623
 
  test -z "$as_dir" && as_dir=.
4624
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4625
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4626
 
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4627
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4628
 
    break 2
4629
 
  fi
4630
 
done
4631
 
done
4632
 
IFS=$as_save_IFS
4633
 
 
4634
 
fi
4635
 
fi
4636
 
DLLTOOL=$ac_cv_prog_DLLTOOL
4637
 
if test -n "$DLLTOOL"; then
4638
 
  { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
4639
 
echo "${ECHO_T}$DLLTOOL" >&6; }
4640
 
else
4641
 
  { echo "$as_me:$LINENO: result: no" >&5
4642
 
echo "${ECHO_T}no" >&6; }
4643
 
fi
4644
 
 
4645
 
 
4646
 
fi
4647
 
if test -z "$ac_cv_prog_DLLTOOL"; then
4648
 
  ac_ct_DLLTOOL=$DLLTOOL
4649
 
  # Extract the first word of "dlltool", so it can be a program name with args.
4650
 
set dummy dlltool; ac_word=$2
4651
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4652
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4653
 
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
4654
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4655
 
else
4656
 
  if test -n "$ac_ct_DLLTOOL"; then
4657
 
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4658
 
else
4659
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4660
 
for as_dir in $PATH
4661
 
do
4662
 
  IFS=$as_save_IFS
4663
 
  test -z "$as_dir" && as_dir=.
4664
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4665
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4666
 
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4667
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4668
 
    break 2
4669
 
  fi
4670
 
done
4671
 
done
4672
 
IFS=$as_save_IFS
4673
 
 
4674
 
fi
4675
 
fi
4676
 
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4677
 
if test -n "$ac_ct_DLLTOOL"; then
4678
 
  { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
4679
 
echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
4680
 
else
4681
 
  { echo "$as_me:$LINENO: result: no" >&5
4682
 
echo "${ECHO_T}no" >&6; }
4683
 
fi
4684
 
 
4685
 
  if test "x$ac_ct_DLLTOOL" = x; then
4686
 
    DLLTOOL="false"
4687
 
  else
4688
 
    case $cross_compiling:$ac_tool_warned in
4689
 
yes:)
4690
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4691
 
whose name does not start with the host triplet.  If you think this
4692
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
4693
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4694
 
whose name does not start with the host triplet.  If you think this
4695
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4696
 
ac_tool_warned=yes ;;
4697
 
esac
4698
 
    DLLTOOL=$ac_ct_DLLTOOL
4699
 
  fi
4700
 
else
4701
 
  DLLTOOL="$ac_cv_prog_DLLTOOL"
4702
 
fi
4703
 
 
4704
 
  if test -n "$ac_tool_prefix"; then
4705
 
  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4706
 
set dummy ${ac_tool_prefix}as; ac_word=$2
4707
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4708
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4709
 
if test "${ac_cv_prog_AS+set}" = set; then
4710
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4711
 
else
4712
 
  if test -n "$AS"; then
4713
 
  ac_cv_prog_AS="$AS" # Let the user override the test.
4714
 
else
4715
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4716
 
for as_dir in $PATH
4717
 
do
4718
 
  IFS=$as_save_IFS
4719
 
  test -z "$as_dir" && as_dir=.
4720
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4721
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4722
 
    ac_cv_prog_AS="${ac_tool_prefix}as"
4723
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4724
 
    break 2
4725
 
  fi
4726
 
done
4727
 
done
4728
 
IFS=$as_save_IFS
4729
 
 
4730
 
fi
4731
 
fi
4732
 
AS=$ac_cv_prog_AS
4733
 
if test -n "$AS"; then
4734
 
  { echo "$as_me:$LINENO: result: $AS" >&5
4735
 
echo "${ECHO_T}$AS" >&6; }
4736
 
else
4737
 
  { echo "$as_me:$LINENO: result: no" >&5
4738
 
echo "${ECHO_T}no" >&6; }
4739
 
fi
4740
 
 
4741
 
 
4742
 
fi
4743
 
if test -z "$ac_cv_prog_AS"; then
4744
 
  ac_ct_AS=$AS
4745
 
  # Extract the first word of "as", so it can be a program name with args.
4746
 
set dummy as; ac_word=$2
4747
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4748
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4749
 
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4750
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4751
 
else
4752
 
  if test -n "$ac_ct_AS"; then
4753
 
  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4754
 
else
4755
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4756
 
for as_dir in $PATH
4757
 
do
4758
 
  IFS=$as_save_IFS
4759
 
  test -z "$as_dir" && as_dir=.
4760
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4761
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4762
 
    ac_cv_prog_ac_ct_AS="as"
4763
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4764
 
    break 2
4765
 
  fi
4766
 
done
4767
 
done
4768
 
IFS=$as_save_IFS
4769
 
 
4770
 
fi
4771
 
fi
4772
 
ac_ct_AS=$ac_cv_prog_ac_ct_AS
4773
 
if test -n "$ac_ct_AS"; then
4774
 
  { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4775
 
echo "${ECHO_T}$ac_ct_AS" >&6; }
4776
 
else
4777
 
  { echo "$as_me:$LINENO: result: no" >&5
4778
 
echo "${ECHO_T}no" >&6; }
4779
 
fi
4780
 
 
4781
 
  if test "x$ac_ct_AS" = x; then
4782
 
    AS="false"
4783
 
  else
4784
 
    case $cross_compiling:$ac_tool_warned in
4785
 
yes:)
4786
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4787
 
whose name does not start with the host triplet.  If you think this
4788
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
4789
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4790
 
whose name does not start with the host triplet.  If you think this
4791
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4792
 
ac_tool_warned=yes ;;
4793
 
esac
4794
 
    AS=$ac_ct_AS
4795
 
  fi
4796
 
else
4797
 
  AS="$ac_cv_prog_AS"
4798
 
fi
4799
 
 
4800
 
  if test -n "$ac_tool_prefix"; then
4801
 
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4802
 
set dummy ${ac_tool_prefix}objdump; ac_word=$2
4803
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4804
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4805
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4806
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4807
 
else
4808
 
  if test -n "$OBJDUMP"; then
4809
 
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4810
 
else
4811
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4812
 
for as_dir in $PATH
4813
 
do
4814
 
  IFS=$as_save_IFS
4815
 
  test -z "$as_dir" && as_dir=.
4816
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4817
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4818
 
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4819
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4820
 
    break 2
4821
 
  fi
4822
 
done
4823
 
done
4824
 
IFS=$as_save_IFS
4825
 
 
4826
 
fi
4827
 
fi
4828
 
OBJDUMP=$ac_cv_prog_OBJDUMP
4829
 
if test -n "$OBJDUMP"; then
4830
 
  { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4831
 
echo "${ECHO_T}$OBJDUMP" >&6; }
4832
 
else
4833
 
  { echo "$as_me:$LINENO: result: no" >&5
4834
 
echo "${ECHO_T}no" >&6; }
4835
 
fi
4836
 
 
4837
 
 
4838
 
fi
4839
 
if test -z "$ac_cv_prog_OBJDUMP"; then
4840
 
  ac_ct_OBJDUMP=$OBJDUMP
4841
 
  # Extract the first word of "objdump", so it can be a program name with args.
4842
 
set dummy objdump; ac_word=$2
4843
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4844
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4845
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4846
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4847
 
else
4848
 
  if test -n "$ac_ct_OBJDUMP"; then
4849
 
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4850
 
else
4851
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4852
 
for as_dir in $PATH
4853
 
do
4854
 
  IFS=$as_save_IFS
4855
 
  test -z "$as_dir" && as_dir=.
4856
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4857
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4858
 
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
4859
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4860
 
    break 2
4861
 
  fi
4862
 
done
4863
 
done
4864
 
IFS=$as_save_IFS
4865
 
 
4866
 
fi
4867
 
fi
4868
 
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4869
 
if test -n "$ac_ct_OBJDUMP"; then
4870
 
  { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4871
 
echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
4872
 
else
4873
 
  { echo "$as_me:$LINENO: result: no" >&5
4874
 
echo "${ECHO_T}no" >&6; }
4875
 
fi
4876
 
 
4877
 
  if test "x$ac_ct_OBJDUMP" = x; then
4878
 
    OBJDUMP="false"
4879
 
  else
4880
 
    case $cross_compiling:$ac_tool_warned in
4881
 
yes:)
4882
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4883
 
whose name does not start with the host triplet.  If you think this
4884
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
4885
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4886
 
whose name does not start with the host triplet.  If you think this
4887
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4888
 
ac_tool_warned=yes ;;
4889
 
esac
4890
 
    OBJDUMP=$ac_ct_OBJDUMP
4891
 
  fi
4892
 
else
4893
 
  OBJDUMP="$ac_cv_prog_OBJDUMP"
4894
 
fi
4895
 
 
4896
 
  ;;
4897
 
 
4898
 
esac
4899
 
 
4900
 
need_locks="$enable_libtool_lock"
4901
 
 
4902
 
 
4903
 
ac_ext=c
4904
 
ac_cpp='$CPP $CPPFLAGS'
4905
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4906
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4907
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4908
 
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4909
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4910
 
# On Suns, sometimes $CPP names a directory.
4911
 
if test -n "$CPP" && test -d "$CPP"; then
4912
 
  CPP=
4913
 
fi
4914
 
if test -z "$CPP"; then
4915
 
  if test "${ac_cv_prog_CPP+set}" = set; then
4916
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4917
 
else
4918
 
      # Double quotes because CPP needs to be expanded
4919
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4920
 
    do
4921
 
      ac_preproc_ok=false
4922
 
for ac_c_preproc_warn_flag in '' yes
4923
 
do
4924
 
  # Use a header file that comes with gcc, so configuring glibc
4925
 
  # with a fresh cross-compiler works.
4926
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4927
 
  # <limits.h> exists even on freestanding compilers.
4928
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4929
 
  # not just through cpp. "Syntax error" is here to catch this case.
4930
 
  cat >conftest.$ac_ext <<_ACEOF
4931
 
/* confdefs.h.  */
4932
 
_ACEOF
4933
 
cat confdefs.h >>conftest.$ac_ext
4934
 
cat >>conftest.$ac_ext <<_ACEOF
4935
 
/* end confdefs.h.  */
4936
 
#ifdef __STDC__
4937
 
# include <limits.h>
4938
 
#else
4939
 
# include <assert.h>
4940
 
#endif
4941
 
                     Syntax error
4942
 
_ACEOF
4943
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4944
 
case "(($ac_try" in
4945
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4946
 
  *) ac_try_echo=$ac_try;;
4947
 
esac
4948
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4949
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4950
 
  ac_status=$?
4951
 
  grep -v '^ *+' conftest.er1 >conftest.err
4952
 
  rm -f conftest.er1
4953
 
  cat conftest.err >&5
4954
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4955
 
  (exit $ac_status); } >/dev/null && {
4956
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4957
 
         test ! -s conftest.err
4958
 
       }; then
4959
 
  :
4960
 
else
4961
 
  echo "$as_me: failed program was:" >&5
4962
 
sed 's/^/| /' conftest.$ac_ext >&5
4963
 
 
4964
 
  # Broken: fails on valid input.
4965
 
continue
4966
 
fi
4967
 
 
4968
 
rm -f conftest.err conftest.$ac_ext
4969
 
 
4970
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4971
 
  # can be detected and how.
4972
 
  cat >conftest.$ac_ext <<_ACEOF
4973
 
/* confdefs.h.  */
4974
 
_ACEOF
4975
 
cat confdefs.h >>conftest.$ac_ext
4976
 
cat >>conftest.$ac_ext <<_ACEOF
4977
 
/* end confdefs.h.  */
4978
 
#include <ac_nonexistent.h>
4979
 
_ACEOF
4980
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4981
 
case "(($ac_try" in
4982
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4983
 
  *) ac_try_echo=$ac_try;;
4984
 
esac
4985
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4986
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4987
 
  ac_status=$?
4988
 
  grep -v '^ *+' conftest.er1 >conftest.err
4989
 
  rm -f conftest.er1
4990
 
  cat conftest.err >&5
4991
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4992
 
  (exit $ac_status); } >/dev/null && {
4993
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4994
 
         test ! -s conftest.err
4995
 
       }; then
4996
 
  # Broken: success on invalid input.
4997
 
continue
4998
 
else
4999
 
  echo "$as_me: failed program was:" >&5
5000
 
sed 's/^/| /' conftest.$ac_ext >&5
5001
 
 
5002
 
  # Passes both tests.
5003
 
ac_preproc_ok=:
5004
 
break
5005
 
fi
5006
 
 
5007
 
rm -f conftest.err conftest.$ac_ext
5008
 
 
5009
 
done
5010
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5011
 
rm -f conftest.err conftest.$ac_ext
5012
 
if $ac_preproc_ok; then
5013
 
  break
5014
 
fi
5015
 
 
5016
 
    done
5017
 
    ac_cv_prog_CPP=$CPP
5018
 
 
5019
 
fi
5020
 
  CPP=$ac_cv_prog_CPP
5021
 
else
5022
 
  ac_cv_prog_CPP=$CPP
5023
 
fi
5024
 
{ echo "$as_me:$LINENO: result: $CPP" >&5
5025
 
echo "${ECHO_T}$CPP" >&6; }
5026
 
ac_preproc_ok=false
5027
 
for ac_c_preproc_warn_flag in '' yes
5028
 
do
5029
 
  # Use a header file that comes with gcc, so configuring glibc
5030
 
  # with a fresh cross-compiler works.
5031
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5032
 
  # <limits.h> exists even on freestanding compilers.
5033
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5034
 
  # not just through cpp. "Syntax error" is here to catch this case.
5035
 
  cat >conftest.$ac_ext <<_ACEOF
5036
 
/* confdefs.h.  */
5037
 
_ACEOF
5038
 
cat confdefs.h >>conftest.$ac_ext
5039
 
cat >>conftest.$ac_ext <<_ACEOF
5040
 
/* end confdefs.h.  */
5041
 
#ifdef __STDC__
5042
 
# include <limits.h>
5043
 
#else
5044
 
# include <assert.h>
5045
 
#endif
5046
 
                     Syntax error
5047
 
_ACEOF
5048
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5049
 
case "(($ac_try" in
5050
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5051
 
  *) ac_try_echo=$ac_try;;
5052
 
esac
5053
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5054
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5055
 
  ac_status=$?
5056
 
  grep -v '^ *+' conftest.er1 >conftest.err
5057
 
  rm -f conftest.er1
5058
 
  cat conftest.err >&5
5059
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5060
 
  (exit $ac_status); } >/dev/null && {
5061
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5062
 
         test ! -s conftest.err
5063
 
       }; then
5064
 
  :
5065
 
else
5066
 
  echo "$as_me: failed program was:" >&5
5067
 
sed 's/^/| /' conftest.$ac_ext >&5
5068
 
 
5069
 
  # Broken: fails on valid input.
5070
 
continue
5071
 
fi
5072
 
 
5073
 
rm -f conftest.err conftest.$ac_ext
5074
 
 
5075
 
  # OK, works on sane cases.  Now check whether nonexistent headers
5076
 
  # can be detected and how.
5077
 
  cat >conftest.$ac_ext <<_ACEOF
5078
 
/* confdefs.h.  */
5079
 
_ACEOF
5080
 
cat confdefs.h >>conftest.$ac_ext
5081
 
cat >>conftest.$ac_ext <<_ACEOF
5082
 
/* end confdefs.h.  */
5083
 
#include <ac_nonexistent.h>
5084
 
_ACEOF
5085
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5086
 
case "(($ac_try" in
5087
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5088
 
  *) ac_try_echo=$ac_try;;
5089
 
esac
5090
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5091
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5092
 
  ac_status=$?
5093
 
  grep -v '^ *+' conftest.er1 >conftest.err
5094
 
  rm -f conftest.er1
5095
 
  cat conftest.err >&5
5096
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5097
 
  (exit $ac_status); } >/dev/null && {
5098
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5099
 
         test ! -s conftest.err
5100
 
       }; then
5101
 
  # Broken: success on invalid input.
5102
 
continue
5103
 
else
5104
 
  echo "$as_me: failed program was:" >&5
5105
 
sed 's/^/| /' conftest.$ac_ext >&5
5106
 
 
5107
 
  # Passes both tests.
5108
 
ac_preproc_ok=:
5109
 
break
5110
 
fi
5111
 
 
5112
 
rm -f conftest.err conftest.$ac_ext
5113
 
 
5114
 
done
5115
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5116
 
rm -f conftest.err conftest.$ac_ext
5117
 
if $ac_preproc_ok; then
5118
 
  :
5119
 
else
5120
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5121
 
See \`config.log' for more details." >&5
5122
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5123
 
See \`config.log' for more details." >&2;}
5124
 
   { (exit 1); exit 1; }; }
5125
 
fi
5126
 
 
5127
 
ac_ext=c
5128
 
ac_cpp='$CPP $CPPFLAGS'
5129
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5130
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5131
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5132
 
 
5133
 
 
5134
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5135
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5136
 
if test "${ac_cv_header_stdc+set}" = set; then
5137
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5138
 
else
5139
 
  cat >conftest.$ac_ext <<_ACEOF
5140
 
/* confdefs.h.  */
5141
 
_ACEOF
5142
 
cat confdefs.h >>conftest.$ac_ext
5143
 
cat >>conftest.$ac_ext <<_ACEOF
5144
 
/* end confdefs.h.  */
5145
 
#include <stdlib.h>
5146
 
#include <stdarg.h>
5147
 
#include <string.h>
5148
 
#include <float.h>
5149
 
 
5150
 
int
5151
 
main ()
5152
 
{
5153
 
 
5154
 
  ;
5155
 
  return 0;
5156
 
}
5157
 
_ACEOF
5158
 
rm -f conftest.$ac_objext
5159
 
if { (ac_try="$ac_compile"
5160
 
case "(($ac_try" in
5161
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5162
 
  *) ac_try_echo=$ac_try;;
5163
 
esac
5164
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5165
 
  (eval "$ac_compile") 2>conftest.er1
5166
 
  ac_status=$?
5167
 
  grep -v '^ *+' conftest.er1 >conftest.err
5168
 
  rm -f conftest.er1
5169
 
  cat conftest.err >&5
5170
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5171
 
  (exit $ac_status); } && {
5172
 
         test -z "$ac_c_werror_flag" ||
5173
 
         test ! -s conftest.err
5174
 
       } && test -s conftest.$ac_objext; then
5175
 
  ac_cv_header_stdc=yes
5176
 
else
5177
 
  echo "$as_me: failed program was:" >&5
5178
 
sed 's/^/| /' conftest.$ac_ext >&5
5179
 
 
5180
 
        ac_cv_header_stdc=no
5181
 
fi
5182
 
 
5183
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5184
 
 
5185
 
if test $ac_cv_header_stdc = yes; then
5186
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5187
 
  cat >conftest.$ac_ext <<_ACEOF
5188
 
/* confdefs.h.  */
5189
 
_ACEOF
5190
 
cat confdefs.h >>conftest.$ac_ext
5191
 
cat >>conftest.$ac_ext <<_ACEOF
5192
 
/* end confdefs.h.  */
5193
 
#include <string.h>
5194
 
 
5195
 
_ACEOF
5196
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5197
 
  $EGREP "memchr" >/dev/null 2>&1; then
5198
 
  :
5199
 
else
5200
 
  ac_cv_header_stdc=no
5201
 
fi
5202
 
rm -f conftest*
5203
 
 
5204
 
fi
5205
 
 
5206
 
if test $ac_cv_header_stdc = yes; then
5207
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5208
 
  cat >conftest.$ac_ext <<_ACEOF
5209
 
/* confdefs.h.  */
5210
 
_ACEOF
5211
 
cat confdefs.h >>conftest.$ac_ext
5212
 
cat >>conftest.$ac_ext <<_ACEOF
5213
 
/* end confdefs.h.  */
5214
 
#include <stdlib.h>
5215
 
 
5216
 
_ACEOF
5217
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5218
 
  $EGREP "free" >/dev/null 2>&1; then
5219
 
  :
5220
 
else
5221
 
  ac_cv_header_stdc=no
5222
 
fi
5223
 
rm -f conftest*
5224
 
 
5225
 
fi
5226
 
 
5227
 
if test $ac_cv_header_stdc = yes; then
5228
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5229
 
  if test "$cross_compiling" = yes; then
5230
 
  :
5231
 
else
5232
 
  cat >conftest.$ac_ext <<_ACEOF
5233
 
/* confdefs.h.  */
5234
 
_ACEOF
5235
 
cat confdefs.h >>conftest.$ac_ext
5236
 
cat >>conftest.$ac_ext <<_ACEOF
5237
 
/* end confdefs.h.  */
5238
 
#include <ctype.h>
5239
 
#include <stdlib.h>
5240
 
#if ((' ' & 0x0FF) == 0x020)
5241
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5242
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5243
 
#else
5244
 
# define ISLOWER(c) \
5245
 
                   (('a' <= (c) && (c) <= 'i') \
5246
 
                     || ('j' <= (c) && (c) <= 'r') \
5247
 
                     || ('s' <= (c) && (c) <= 'z'))
5248
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5249
 
#endif
5250
 
 
5251
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5252
 
int
5253
 
main ()
5254
 
{
5255
 
  int i;
5256
 
  for (i = 0; i < 256; i++)
5257
 
    if (XOR (islower (i), ISLOWER (i))
5258
 
        || toupper (i) != TOUPPER (i))
5259
 
      return 2;
5260
 
  return 0;
5261
 
}
5262
 
_ACEOF
5263
 
rm -f conftest$ac_exeext
5264
 
if { (ac_try="$ac_link"
5265
 
case "(($ac_try" in
5266
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5267
 
  *) ac_try_echo=$ac_try;;
5268
 
esac
5269
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5270
 
  (eval "$ac_link") 2>&5
5271
 
  ac_status=$?
5272
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5273
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5274
 
  { (case "(($ac_try" in
5275
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5276
 
  *) ac_try_echo=$ac_try;;
5277
 
esac
5278
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5279
 
  (eval "$ac_try") 2>&5
5280
 
  ac_status=$?
5281
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5282
 
  (exit $ac_status); }; }; then
5283
 
  :
5284
 
else
5285
 
  echo "$as_me: program exited with status $ac_status" >&5
5286
 
echo "$as_me: failed program was:" >&5
5287
 
sed 's/^/| /' conftest.$ac_ext >&5
5288
 
 
5289
 
( exit $ac_status )
5290
 
ac_cv_header_stdc=no
5291
 
fi
5292
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5293
 
fi
5294
 
 
5295
 
 
5296
 
fi
5297
 
fi
5298
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5299
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5300
 
if test $ac_cv_header_stdc = yes; then
5301
 
 
5302
 
cat >>confdefs.h <<\_ACEOF
5303
 
#define STDC_HEADERS 1
5304
 
_ACEOF
5305
 
 
5306
 
fi
5307
 
 
5308
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5309
 
 
5310
 
 
5311
 
 
5312
 
 
5313
 
 
5314
 
 
5315
 
 
5316
 
 
5317
 
 
5318
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5319
 
                  inttypes.h stdint.h unistd.h
5320
 
do
5321
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5322
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5323
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5324
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5325
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5326
 
else
5327
 
  cat >conftest.$ac_ext <<_ACEOF
5328
 
/* confdefs.h.  */
5329
 
_ACEOF
5330
 
cat confdefs.h >>conftest.$ac_ext
5331
 
cat >>conftest.$ac_ext <<_ACEOF
5332
 
/* end confdefs.h.  */
5333
 
$ac_includes_default
5334
 
 
5335
 
#include <$ac_header>
5336
 
_ACEOF
5337
 
rm -f conftest.$ac_objext
5338
 
if { (ac_try="$ac_compile"
5339
 
case "(($ac_try" in
5340
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5341
 
  *) ac_try_echo=$ac_try;;
5342
 
esac
5343
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5344
 
  (eval "$ac_compile") 2>conftest.er1
5345
 
  ac_status=$?
5346
 
  grep -v '^ *+' conftest.er1 >conftest.err
5347
 
  rm -f conftest.er1
5348
 
  cat conftest.err >&5
5349
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5350
 
  (exit $ac_status); } && {
5351
 
         test -z "$ac_c_werror_flag" ||
5352
 
         test ! -s conftest.err
5353
 
       } && test -s conftest.$ac_objext; then
5354
 
  eval "$as_ac_Header=yes"
5355
 
else
5356
 
  echo "$as_me: failed program was:" >&5
5357
 
sed 's/^/| /' conftest.$ac_ext >&5
5358
 
 
5359
 
        eval "$as_ac_Header=no"
5360
 
fi
5361
 
 
5362
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5363
 
fi
5364
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5365
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5366
 
echo "${ECHO_T}$ac_res" >&6; }
5367
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5368
 
  cat >>confdefs.h <<_ACEOF
5369
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5370
 
_ACEOF
5371
 
 
5372
 
fi
5373
 
 
5374
 
done
5375
 
 
5376
 
 
5377
 
 
5378
 
for ac_header in dlfcn.h
5379
 
do
5380
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5381
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5382
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
5383
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5384
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5385
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5386
 
fi
5387
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5388
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5389
 
echo "${ECHO_T}$ac_res" >&6; }
5390
 
else
5391
 
  # Is the header compilable?
5392
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5393
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5394
 
cat >conftest.$ac_ext <<_ACEOF
5395
 
/* confdefs.h.  */
5396
 
_ACEOF
5397
 
cat confdefs.h >>conftest.$ac_ext
5398
 
cat >>conftest.$ac_ext <<_ACEOF
5399
 
/* end confdefs.h.  */
5400
 
$ac_includes_default
5401
 
#include <$ac_header>
5402
 
_ACEOF
5403
 
rm -f conftest.$ac_objext
5404
 
if { (ac_try="$ac_compile"
5405
 
case "(($ac_try" in
5406
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5407
 
  *) ac_try_echo=$ac_try;;
5408
 
esac
5409
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5410
 
  (eval "$ac_compile") 2>conftest.er1
5411
 
  ac_status=$?
5412
 
  grep -v '^ *+' conftest.er1 >conftest.err
5413
 
  rm -f conftest.er1
5414
 
  cat conftest.err >&5
5415
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5416
 
  (exit $ac_status); } && {
5417
 
         test -z "$ac_c_werror_flag" ||
5418
 
         test ! -s conftest.err
5419
 
       } && test -s conftest.$ac_objext; then
5420
 
  ac_header_compiler=yes
5421
 
else
5422
 
  echo "$as_me: failed program was:" >&5
5423
 
sed 's/^/| /' conftest.$ac_ext >&5
5424
 
 
5425
 
        ac_header_compiler=no
5426
 
fi
5427
 
 
5428
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5429
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5430
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
5431
 
 
5432
 
# Is the header present?
5433
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5434
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5435
 
cat >conftest.$ac_ext <<_ACEOF
5436
 
/* confdefs.h.  */
5437
 
_ACEOF
5438
 
cat confdefs.h >>conftest.$ac_ext
5439
 
cat >>conftest.$ac_ext <<_ACEOF
5440
 
/* end confdefs.h.  */
5441
 
#include <$ac_header>
5442
 
_ACEOF
5443
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5444
 
case "(($ac_try" in
5445
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5446
 
  *) ac_try_echo=$ac_try;;
5447
 
esac
5448
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5449
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5450
 
  ac_status=$?
5451
 
  grep -v '^ *+' conftest.er1 >conftest.err
5452
 
  rm -f conftest.er1
5453
 
  cat conftest.err >&5
5454
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5455
 
  (exit $ac_status); } >/dev/null && {
5456
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5457
 
         test ! -s conftest.err
5458
 
       }; then
5459
 
  ac_header_preproc=yes
5460
 
else
5461
 
  echo "$as_me: failed program was:" >&5
5462
 
sed 's/^/| /' conftest.$ac_ext >&5
5463
 
 
5464
 
  ac_header_preproc=no
5465
 
fi
5466
 
 
5467
 
rm -f conftest.err conftest.$ac_ext
5468
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5469
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
5470
 
 
5471
 
# So?  What about this header?
5472
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5473
 
  yes:no: )
5474
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5475
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5476
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5477
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5478
 
    ac_header_preproc=yes
5479
 
    ;;
5480
 
  no:yes:* )
5481
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5482
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5483
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5484
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5485
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5486
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5487
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5488
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5489
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5490
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5491
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5492
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5493
 
 
5494
 
    ;;
5495
 
esac
5496
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5497
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5498
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5499
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5500
 
else
5501
 
  eval "$as_ac_Header=\$ac_header_preproc"
5502
 
fi
5503
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5504
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5505
 
echo "${ECHO_T}$ac_res" >&6; }
5506
 
 
5507
 
fi
5508
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5509
 
  cat >>confdefs.h <<_ACEOF
5510
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5511
 
_ACEOF
5512
 
 
5513
 
fi
5514
 
 
5515
 
done
5516
 
 
5517
 
 
5518
 
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5519
 
# find the maximum length of command line arguments
5520
 
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5521
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
5522
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5523
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5524
 
else
5525
 
    i=0
5526
 
  teststring="ABCD"
5527
 
 
5528
 
  case $build_os in
5529
 
  msdosdjgpp*)
5530
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
5531
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
5532
 
    # during glob expansion).  Even if it were fixed, the result of this
5533
 
    # check would be larger than it should be.
5534
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5535
 
    ;;
5536
 
 
5537
 
  gnu*)
5538
 
    # Under GNU Hurd, this test is not required because there is
5539
 
    # no limit to the length of command line arguments.
5540
 
    # Libtool will interpret -1 as no limit whatsoever
5541
 
    lt_cv_sys_max_cmd_len=-1;
5542
 
    ;;
5543
 
 
5544
 
  cygwin* | mingw*)
5545
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
5546
 
    # about 5 minutes as the teststring grows exponentially.
5547
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
5548
 
    # you end up with a "frozen" computer, even though with patience
5549
 
    # the test eventually succeeds (with a max line length of 256k).
5550
 
    # Instead, let's just punt: use the minimum linelength reported by
5551
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
5552
 
    lt_cv_sys_max_cmd_len=8192;
5553
 
    ;;
5554
 
 
5555
 
  amigaos*)
5556
 
    # On AmigaOS with pdksh, this test takes hours, literally.
5557
 
    # So we just punt and use a minimum line length of 8192.
5558
 
    lt_cv_sys_max_cmd_len=8192;
5559
 
    ;;
5560
 
 
5561
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5562
 
    # This has been around since 386BSD, at least.  Likely further.
5563
 
    if test -x /sbin/sysctl; then
5564
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5565
 
    elif test -x /usr/sbin/sysctl; then
5566
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5567
 
    else
5568
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5569
 
    fi
5570
 
    # And add a safety zone
5571
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5572
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5573
 
    ;;
5574
 
 
5575
 
  interix*)
5576
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5577
 
    lt_cv_sys_max_cmd_len=196608
5578
 
    ;;
5579
 
 
5580
 
  osf*)
5581
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5582
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5583
 
    # nice to cause kernel panics so lets avoid the loop below.
5584
 
    # First set a reasonable default.
5585
 
    lt_cv_sys_max_cmd_len=16384
5586
 
    #
5587
 
    if test -x /sbin/sysconfig; then
5588
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5589
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5590
 
      esac
5591
 
    fi
5592
 
    ;;
5593
 
  sco3.2v5*)
5594
 
    lt_cv_sys_max_cmd_len=102400
5595
 
    ;;
5596
 
  sysv5* | sco5v6* | sysv4.2uw2*)
5597
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5598
 
    if test -n "$kargmax"; then
5599
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
5600
 
    else
5601
 
      lt_cv_sys_max_cmd_len=32768
5602
 
    fi
5603
 
    ;;
5604
 
  *)
5605
 
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5606
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
5607
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5608
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5609
 
    else
5610
 
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5611
 
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5612
 
               = "XX$teststring") >/dev/null 2>&1 &&
5613
 
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
5614
 
              lt_cv_sys_max_cmd_len=$new_result &&
5615
 
              test $i != 17 # 1/2 MB should be enough
5616
 
      do
5617
 
        i=`expr $i + 1`
5618
 
        teststring=$teststring$teststring
5619
 
      done
5620
 
      teststring=
5621
 
      # Add a significant safety factor because C++ compilers can tack on massive
5622
 
      # amounts of additional arguments before passing them to the linker.
5623
 
      # It appears as though 1/2 is a usable value.
5624
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5625
 
    fi
5626
 
    ;;
5627
 
  esac
5628
 
 
5629
 
fi
5630
 
 
5631
 
if test -n $lt_cv_sys_max_cmd_len ; then
5632
 
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5633
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
5634
 
else
5635
 
  { echo "$as_me:$LINENO: result: none" >&5
5636
 
echo "${ECHO_T}none" >&6; }
5637
 
fi
5638
 
 
5639
 
 
5640
 
 
5641
 
 
5642
 
 
5643
5533
# Check for command to grab the raw symbol name followed by C symbol from nm.
5644
5534
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5645
5535
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
5656
5546
# Regexp to match symbols that can be accessed directly from C.
5657
5547
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5658
5548
 
5659
 
# Transform an extracted symbol line into a proper C declaration
5660
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5661
 
 
5662
 
# Transform an extracted symbol line into symbol name and symbol address
5663
 
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'"
5664
 
 
5665
5549
# Define system-specific variables.
5666
5550
case $host_os in
5667
5551
aix*)
5670
5554
cygwin* | mingw* | pw32*)
5671
5555
  symcode='[ABCDGISTW]'
5672
5556
  ;;
5673
 
hpux*) # Its linker distinguishes data from code symbols
 
5557
hpux*)
5674
5558
  if test "$host_cpu" = ia64; then
5675
5559
    symcode='[ABCDEGRST]'
5676
5560
  fi
5677
 
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5678
 
  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'"
5679
 
  ;;
5680
 
linux* | k*bsd*-gnu)
5681
 
  if test "$host_cpu" = ia64; then
5682
 
    symcode='[ABCDGIRSTW]'
5683
 
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5684
 
    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'"
5685
 
  fi
5686
5561
  ;;
5687
5562
irix* | nonstopux*)
5688
5563
  symcode='[BCDEGRST]'
5707
5582
  ;;
5708
5583
esac
5709
5584
 
 
5585
# If we're using GNU nm, then use its standard symbol codes.
 
5586
case `$NM -V 2>&1` in
 
5587
*GNU* | *'with BFD'*)
 
5588
  symcode='[ABCDGIRSTW]' ;;
 
5589
esac
 
5590
 
 
5591
# Transform an extracted symbol line into a proper C declaration.
 
5592
# Some systems (esp. on ia64) link data and code symbols differently,
 
5593
# so use this general approach.
 
5594
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
5595
 
 
5596
# Transform an extracted symbol line into symbol name and symbol address
 
5597
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
5598
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'"
 
5599
 
5710
5600
# Handle CRLF in mingw tool chain
5711
5601
opt_cr=
5712
5602
case $build_os in
5713
5603
mingw*)
5714
 
  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
5604
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5715
5605
  ;;
5716
5606
esac
5717
5607
 
5718
 
# If we're using GNU nm, then use its standard symbol codes.
5719
 
case `$NM -V 2>&1` in
5720
 
*GNU* | *'with BFD'*)
5721
 
  symcode='[ABCDGIRSTW]' ;;
5722
 
esac
5723
 
 
5724
 
# Try without a prefix undercore, then with it.
 
5608
# Try without a prefix underscore, then with it.
5725
5609
for ac_symprfx in "" "_"; do
5726
5610
 
5727
5611
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5728
5612
  symxfrm="\\1 $ac_symprfx\\2 \\2"
5729
5613
 
5730
5614
  # Write the raw and C identifiers.
5731
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
5615
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
5616
    # Fake it for dumpbin and say T for any non-static function
 
5617
    # and D for any global variable.
 
5618
    # Also find C++ and __fastcall symbols from MSVC++,
 
5619
    # which start with @ or ?.
 
5620
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
5621
"     {last_section=section; section=\$ 3};"\
 
5622
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
5623
"     \$ 0!~/External *\|/{next};"\
 
5624
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
5625
"     {if(hide[section]) next};"\
 
5626
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
5627
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
5628
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
5629
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
5630
"     ' prfx=^$ac_symprfx"
 
5631
  else
 
5632
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
5633
  fi
5732
5634
 
5733
5635
  # Check to see that the pipe works correctly.
5734
5636
  pipe_works=no
5735
5637
 
5736
5638
  rm -f conftest*
5737
 
  cat > conftest.$ac_ext <<EOF
 
5639
  cat > conftest.$ac_ext <<_LT_EOF
5738
5640
#ifdef __cplusplus
5739
5641
extern "C" {
5740
5642
#endif
5741
5643
char nm_test_var;
5742
 
void nm_test_func(){}
 
5644
void nm_test_func(void);
 
5645
void nm_test_func(void){}
5743
5646
#ifdef __cplusplus
5744
5647
}
5745
5648
#endif
5746
5649
int main(){nm_test_var='a';nm_test_func();return(0);}
5747
 
EOF
 
5650
_LT_EOF
5748
5651
 
5749
5652
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5750
5653
  (eval $ac_compile) 2>&5
5766
5669
      fi
5767
5670
 
5768
5671
      # Make sure that we snagged all the symbols we need.
5769
 
      if grep ' nm_test_var$' "$nlist" >/dev/null; then
5770
 
        if grep ' nm_test_func$' "$nlist" >/dev/null; then
5771
 
          cat <<EOF > conftest.$ac_ext
 
5672
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
5673
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
5674
          cat <<_LT_EOF > conftest.$ac_ext
5772
5675
#ifdef __cplusplus
5773
5676
extern "C" {
5774
5677
#endif
5775
5678
 
5776
 
EOF
 
5679
_LT_EOF
5777
5680
          # Now generate the symbol file.
5778
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5779
 
 
5780
 
          cat <<EOF >> conftest.$ac_ext
5781
 
#if defined (__STDC__) && __STDC__
5782
 
# define lt_ptr_t void *
5783
 
#else
5784
 
# define lt_ptr_t char *
5785
 
# define const
5786
 
#endif
5787
 
 
5788
 
/* The mapping between symbol names and symbols. */
 
5681
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
5682
 
 
5683
          cat <<_LT_EOF >> conftest.$ac_ext
 
5684
 
 
5685
/* The mapping between symbol names and symbols.  */
5789
5686
const struct {
5790
5687
  const char *name;
5791
 
  lt_ptr_t address;
 
5688
  void       *address;
5792
5689
}
5793
 
lt_preloaded_symbols[] =
 
5690
lt__PROGRAM__LTX_preloaded_symbols[] =
5794
5691
{
5795
 
EOF
5796
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
5797
 
          cat <<\EOF >> conftest.$ac_ext
5798
 
  {0, (lt_ptr_t) 0}
 
5692
  { "@PROGRAM@", (void *) 0 },
 
5693
_LT_EOF
 
5694
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
5695
          cat <<\_LT_EOF >> conftest.$ac_ext
 
5696
  {0, (void *) 0}
5799
5697
};
5800
5698
 
 
5699
/* This works around a problem in FreeBSD linker */
 
5700
#ifdef FREEBSD_WORKAROUND
 
5701
static const void *lt_preloaded_setup() {
 
5702
  return lt__PROGRAM__LTX_preloaded_symbols;
 
5703
}
 
5704
#endif
 
5705
 
5801
5706
#ifdef __cplusplus
5802
5707
}
5803
5708
#endif
5804
 
EOF
 
5709
_LT_EOF
5805
5710
          # Now try linking the two files.
5806
5711
          mv conftest.$ac_objext conftstm.$ac_objext
5807
5712
          lt_save_LIBS="$LIBS"
5853
5758
echo "${ECHO_T}ok" >&6; }
5854
5759
fi
5855
5760
 
5856
 
{ echo "$as_me:$LINENO: checking for objdir" >&5
5857
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
5858
 
if test "${lt_cv_objdir+set}" = set; then
5859
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5860
 
else
5861
 
  rm -f .libs 2>/dev/null
5862
 
mkdir .libs 2>/dev/null
5863
 
if test -d .libs; then
5864
 
  lt_cv_objdir=.libs
5865
 
else
5866
 
  # MS-DOS does not allow filenames that begin with a dot.
5867
 
  lt_cv_objdir=_libs
5868
 
fi
5869
 
rmdir .libs 2>/dev/null
5870
 
fi
5871
 
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5872
 
echo "${ECHO_T}$lt_cv_objdir" >&6; }
5873
 
objdir=$lt_cv_objdir
5874
 
 
5875
 
 
5876
 
 
5877
 
 
5878
 
 
5879
 
case $host_os in
5880
 
aix3*)
5881
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
5882
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
5883
 
  # vanish in a puff of smoke.
5884
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
5885
 
    COLLECT_NAMES=
5886
 
    export COLLECT_NAMES
5887
 
  fi
5888
 
  ;;
5889
 
esac
5890
 
 
5891
 
# Sed substitution that helps us do robust quoting.  It backslashifies
5892
 
# metacharacters that are still active within double-quoted strings.
5893
 
Xsed='sed -e 1s/^X//'
5894
 
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5895
 
 
5896
 
# Same as above, but do not quote variable references.
5897
 
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
5898
 
 
5899
 
# Sed substitution to delay expansion of an escaped shell variable in a
5900
 
# double_quote_subst'ed string.
5901
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5902
 
 
5903
 
# Sed substitution to avoid accidental globbing in evaled expressions
5904
 
no_glob_subst='s/\*/\\\*/g'
5905
 
 
5906
 
# Constants:
5907
 
rm="rm -f"
5908
 
 
5909
 
# Global variables:
5910
 
default_ofile=libtool
5911
 
can_build_shared=yes
5912
 
 
5913
 
# All known linkers require a `.a' archive for static linking (except MSVC,
5914
 
# which needs '.lib').
5915
 
libext=a
5916
 
ltmain="$ac_aux_dir/ltmain.sh"
5917
 
ofile="$default_ofile"
5918
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
5919
 
 
5920
 
if test -n "$ac_tool_prefix"; then
5921
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5922
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
5923
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5924
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5925
 
if test "${ac_cv_prog_AR+set}" = set; then
5926
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5927
 
else
5928
 
  if test -n "$AR"; then
5929
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
5930
 
else
5931
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5932
 
for as_dir in $PATH
5933
 
do
5934
 
  IFS=$as_save_IFS
5935
 
  test -z "$as_dir" && as_dir=.
5936
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5937
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5938
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
5939
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5940
 
    break 2
5941
 
  fi
5942
 
done
5943
 
done
5944
 
IFS=$as_save_IFS
5945
 
 
5946
 
fi
5947
 
fi
5948
 
AR=$ac_cv_prog_AR
5949
 
if test -n "$AR"; then
5950
 
  { echo "$as_me:$LINENO: result: $AR" >&5
5951
 
echo "${ECHO_T}$AR" >&6; }
5952
 
else
5953
 
  { echo "$as_me:$LINENO: result: no" >&5
5954
 
echo "${ECHO_T}no" >&6; }
5955
 
fi
5956
 
 
5957
 
 
5958
 
fi
5959
 
if test -z "$ac_cv_prog_AR"; then
5960
 
  ac_ct_AR=$AR
5961
 
  # Extract the first word of "ar", so it can be a program name with args.
5962
 
set dummy ar; ac_word=$2
5963
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5964
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5965
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5966
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5967
 
else
5968
 
  if test -n "$ac_ct_AR"; then
5969
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5970
 
else
5971
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5972
 
for as_dir in $PATH
5973
 
do
5974
 
  IFS=$as_save_IFS
5975
 
  test -z "$as_dir" && as_dir=.
5976
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5977
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5978
 
    ac_cv_prog_ac_ct_AR="ar"
5979
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5980
 
    break 2
5981
 
  fi
5982
 
done
5983
 
done
5984
 
IFS=$as_save_IFS
5985
 
 
5986
 
fi
5987
 
fi
5988
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5989
 
if test -n "$ac_ct_AR"; then
5990
 
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5991
 
echo "${ECHO_T}$ac_ct_AR" >&6; }
5992
 
else
5993
 
  { echo "$as_me:$LINENO: result: no" >&5
5994
 
echo "${ECHO_T}no" >&6; }
5995
 
fi
5996
 
 
5997
 
  if test "x$ac_ct_AR" = x; then
5998
 
    AR="false"
5999
 
  else
6000
 
    case $cross_compiling:$ac_tool_warned in
6001
 
yes:)
6002
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6003
 
whose name does not start with the host triplet.  If you think this
6004
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6005
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6006
 
whose name does not start with the host triplet.  If you think this
6007
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6008
 
ac_tool_warned=yes ;;
6009
 
esac
6010
 
    AR=$ac_ct_AR
6011
 
  fi
6012
 
else
6013
 
  AR="$ac_cv_prog_AR"
6014
 
fi
6015
 
 
6016
 
if test -n "$ac_tool_prefix"; then
6017
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6018
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6019
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6020
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6021
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
6022
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6023
 
else
6024
 
  if test -n "$RANLIB"; then
6025
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6026
 
else
6027
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6028
 
for as_dir in $PATH
6029
 
do
6030
 
  IFS=$as_save_IFS
6031
 
  test -z "$as_dir" && as_dir=.
6032
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6033
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6034
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6035
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6036
 
    break 2
6037
 
  fi
6038
 
done
6039
 
done
6040
 
IFS=$as_save_IFS
6041
 
 
6042
 
fi
6043
 
fi
6044
 
RANLIB=$ac_cv_prog_RANLIB
6045
 
if test -n "$RANLIB"; then
6046
 
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
6047
 
echo "${ECHO_T}$RANLIB" >&6; }
6048
 
else
6049
 
  { echo "$as_me:$LINENO: result: no" >&5
6050
 
echo "${ECHO_T}no" >&6; }
6051
 
fi
6052
 
 
6053
 
 
6054
 
fi
6055
 
if test -z "$ac_cv_prog_RANLIB"; then
6056
 
  ac_ct_RANLIB=$RANLIB
6057
 
  # Extract the first word of "ranlib", so it can be a program name with args.
6058
 
set dummy ranlib; ac_word=$2
6059
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6060
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6061
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6062
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6063
 
else
6064
 
  if test -n "$ac_ct_RANLIB"; then
6065
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6066
 
else
6067
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6068
 
for as_dir in $PATH
6069
 
do
6070
 
  IFS=$as_save_IFS
6071
 
  test -z "$as_dir" && as_dir=.
6072
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6073
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6074
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6075
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6076
 
    break 2
6077
 
  fi
6078
 
done
6079
 
done
6080
 
IFS=$as_save_IFS
6081
 
 
6082
 
fi
6083
 
fi
6084
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6085
 
if test -n "$ac_ct_RANLIB"; then
6086
 
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6087
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6088
 
else
6089
 
  { echo "$as_me:$LINENO: result: no" >&5
6090
 
echo "${ECHO_T}no" >&6; }
6091
 
fi
6092
 
 
6093
 
  if test "x$ac_ct_RANLIB" = x; then
6094
 
    RANLIB=":"
6095
 
  else
6096
 
    case $cross_compiling:$ac_tool_warned in
6097
 
yes:)
6098
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6099
 
whose name does not start with the host triplet.  If you think this
6100
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6101
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6102
 
whose name does not start with the host triplet.  If you think this
6103
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6104
 
ac_tool_warned=yes ;;
6105
 
esac
6106
 
    RANLIB=$ac_ct_RANLIB
6107
 
  fi
6108
 
else
6109
 
  RANLIB="$ac_cv_prog_RANLIB"
6110
 
fi
6111
 
 
6112
 
if test -n "$ac_tool_prefix"; then
6113
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6114
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
6115
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6116
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6117
 
if test "${ac_cv_prog_STRIP+set}" = set; then
6118
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6119
 
else
6120
 
  if test -n "$STRIP"; then
6121
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6122
 
else
6123
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6124
 
for as_dir in $PATH
6125
 
do
6126
 
  IFS=$as_save_IFS
6127
 
  test -z "$as_dir" && as_dir=.
6128
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6129
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6130
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6131
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6132
 
    break 2
6133
 
  fi
6134
 
done
6135
 
done
6136
 
IFS=$as_save_IFS
6137
 
 
6138
 
fi
6139
 
fi
6140
 
STRIP=$ac_cv_prog_STRIP
6141
 
if test -n "$STRIP"; then
6142
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
6143
 
echo "${ECHO_T}$STRIP" >&6; }
6144
 
else
6145
 
  { echo "$as_me:$LINENO: result: no" >&5
6146
 
echo "${ECHO_T}no" >&6; }
6147
 
fi
6148
 
 
6149
 
 
6150
 
fi
6151
 
if test -z "$ac_cv_prog_STRIP"; then
6152
 
  ac_ct_STRIP=$STRIP
6153
 
  # Extract the first word of "strip", so it can be a program name with args.
6154
 
set dummy strip; ac_word=$2
6155
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6156
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6157
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6158
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6159
 
else
6160
 
  if test -n "$ac_ct_STRIP"; then
6161
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6162
 
else
6163
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6164
 
for as_dir in $PATH
6165
 
do
6166
 
  IFS=$as_save_IFS
6167
 
  test -z "$as_dir" && as_dir=.
6168
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6169
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6170
 
    ac_cv_prog_ac_ct_STRIP="strip"
6171
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6172
 
    break 2
6173
 
  fi
6174
 
done
6175
 
done
6176
 
IFS=$as_save_IFS
6177
 
 
6178
 
fi
6179
 
fi
6180
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6181
 
if test -n "$ac_ct_STRIP"; then
6182
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6183
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6184
 
else
6185
 
  { echo "$as_me:$LINENO: result: no" >&5
6186
 
echo "${ECHO_T}no" >&6; }
6187
 
fi
6188
 
 
6189
 
  if test "x$ac_ct_STRIP" = x; then
6190
 
    STRIP=":"
6191
 
  else
6192
 
    case $cross_compiling:$ac_tool_warned in
6193
 
yes:)
6194
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6195
 
whose name does not start with the host triplet.  If you think this
6196
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6197
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6198
 
whose name does not start with the host triplet.  If you think this
6199
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6200
 
ac_tool_warned=yes ;;
6201
 
esac
6202
 
    STRIP=$ac_ct_STRIP
6203
 
  fi
6204
 
else
6205
 
  STRIP="$ac_cv_prog_STRIP"
6206
 
fi
6207
 
 
6208
 
 
6209
 
old_CC="$CC"
6210
 
old_CFLAGS="$CFLAGS"
6211
 
 
6212
 
# Set sane defaults for various variables
6213
 
test -z "$AR" && AR=ar
6214
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
6215
 
test -z "$AS" && AS=as
6216
 
test -z "$CC" && CC=cc
6217
 
test -z "$LTCC" && LTCC=$CC
6218
 
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6219
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
6220
 
test -z "$LD" && LD=ld
6221
 
test -z "$LN_S" && LN_S="ln -s"
6222
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
6223
 
test -z "$NM" && NM=nm
6224
 
test -z "$SED" && SED=sed
6225
 
test -z "$OBJDUMP" && OBJDUMP=objdump
6226
 
test -z "$RANLIB" && RANLIB=:
6227
 
test -z "$STRIP" && STRIP=:
6228
 
test -z "$ac_objext" && ac_objext=o
6229
 
 
6230
 
# Determine commands to create old-style static archives.
6231
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6232
 
old_postinstall_cmds='chmod 644 $oldlib'
6233
 
old_postuninstall_cmds=
6234
 
 
6235
 
if test -n "$RANLIB"; then
6236
 
  case $host_os in
6237
 
  openbsd*)
6238
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6239
 
    ;;
6240
 
  *)
6241
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6242
 
    ;;
6243
 
  esac
6244
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6245
 
fi
6246
 
 
6247
 
for cc_temp in $compiler""; do
6248
 
  case $cc_temp in
6249
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6250
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6251
 
    \-*) ;;
6252
 
    *) break;;
6253
 
  esac
6254
 
done
6255
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6256
 
 
6257
 
 
6258
 
# Only perform the check for file, if the check method requires it
6259
 
case $deplibs_check_method in
6260
 
file_magic*)
6261
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6262
 
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6263
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6264
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6265
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6266
 
else
6267
 
  case $MAGIC_CMD in
6268
 
[\\/*] |  ?:[\\/]*)
6269
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6270
 
  ;;
6271
 
*)
6272
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
6273
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6274
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6275
 
  for ac_dir in $ac_dummy; do
6276
 
    IFS="$lt_save_ifs"
6277
 
    test -z "$ac_dir" && ac_dir=.
6278
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
6279
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6280
 
      if test -n "$file_magic_test_file"; then
6281
 
        case $deplibs_check_method in
6282
 
        "file_magic "*)
6283
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6284
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6285
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6286
 
            $EGREP "$file_magic_regex" > /dev/null; then
6287
 
            :
6288
 
          else
6289
 
            cat <<EOF 1>&2
6290
 
 
6291
 
*** Warning: the command libtool uses to detect shared libraries,
6292
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
6293
 
*** The result is that libtool may fail to recognize shared libraries
6294
 
*** as such.  This will affect the creation of libtool libraries that
6295
 
*** depend on shared libraries, but programs linked with such libtool
6296
 
*** libraries will work regardless of this problem.  Nevertheless, you
6297
 
*** may want to report the problem to your system manager and/or to
6298
 
*** bug-libtool@gnu.org
6299
 
 
6300
 
EOF
6301
 
          fi ;;
6302
 
        esac
6303
 
      fi
6304
 
      break
6305
 
    fi
6306
 
  done
6307
 
  IFS="$lt_save_ifs"
6308
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
6309
 
  ;;
6310
 
esac
6311
 
fi
6312
 
 
6313
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6314
 
if test -n "$MAGIC_CMD"; then
6315
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6316
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6317
 
else
6318
 
  { echo "$as_me:$LINENO: result: no" >&5
6319
 
echo "${ECHO_T}no" >&6; }
6320
 
fi
6321
 
 
6322
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
6323
 
  if test -n "$ac_tool_prefix"; then
6324
 
    { echo "$as_me:$LINENO: checking for file" >&5
6325
 
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6326
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6327
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6328
 
else
6329
 
  case $MAGIC_CMD in
6330
 
[\\/*] |  ?:[\\/]*)
6331
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6332
 
  ;;
6333
 
*)
6334
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
6335
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6336
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6337
 
  for ac_dir in $ac_dummy; do
6338
 
    IFS="$lt_save_ifs"
6339
 
    test -z "$ac_dir" && ac_dir=.
6340
 
    if test -f $ac_dir/file; then
6341
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
6342
 
      if test -n "$file_magic_test_file"; then
6343
 
        case $deplibs_check_method in
6344
 
        "file_magic "*)
6345
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6346
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6347
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6348
 
            $EGREP "$file_magic_regex" > /dev/null; then
6349
 
            :
6350
 
          else
6351
 
            cat <<EOF 1>&2
6352
 
 
6353
 
*** Warning: the command libtool uses to detect shared libraries,
6354
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
6355
 
*** The result is that libtool may fail to recognize shared libraries
6356
 
*** as such.  This will affect the creation of libtool libraries that
6357
 
*** depend on shared libraries, but programs linked with such libtool
6358
 
*** libraries will work regardless of this problem.  Nevertheless, you
6359
 
*** may want to report the problem to your system manager and/or to
6360
 
*** bug-libtool@gnu.org
6361
 
 
6362
 
EOF
6363
 
          fi ;;
6364
 
        esac
6365
 
      fi
6366
 
      break
6367
 
    fi
6368
 
  done
6369
 
  IFS="$lt_save_ifs"
6370
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
6371
 
  ;;
6372
 
esac
6373
 
fi
6374
 
 
6375
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6376
 
if test -n "$MAGIC_CMD"; then
6377
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6378
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6379
 
else
6380
 
  { echo "$as_me:$LINENO: result: no" >&5
6381
 
echo "${ECHO_T}no" >&6; }
6382
 
fi
6383
 
 
6384
 
  else
6385
 
    MAGIC_CMD=:
6386
 
  fi
6387
 
fi
6388
 
 
6389
 
  fi
6390
 
  ;;
6391
 
esac
 
5761
 
 
5762
 
 
5763
 
 
5764
 
 
5765
 
 
5766
 
 
5767
 
 
5768
 
 
5769
 
 
5770
 
 
5771
 
 
5772
 
 
5773
 
 
5774
 
 
5775
 
 
5776
 
 
5777
 
 
5778
 
 
5779
 
 
5780
 
 
5781
 
 
5782
 
 
5783
# Check whether --enable-libtool-lock was given.
 
5784
if test "${enable_libtool_lock+set}" = set; then
 
5785
  enableval=$enable_libtool_lock;
 
5786
fi
 
5787
 
 
5788
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
5789
 
 
5790
# Some flags need to be propagated to the compiler or linker for good
 
5791
# libtool support.
 
5792
case $host in
 
5793
ia64-*-hpux*)
 
5794
  # Find out which ABI we are using.
 
5795
  echo 'int i;' > conftest.$ac_ext
 
5796
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5797
  (eval $ac_compile) 2>&5
 
5798
  ac_status=$?
 
5799
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5800
  (exit $ac_status); }; then
 
5801
    case `/usr/bin/file conftest.$ac_objext` in
 
5802
      *ELF-32*)
 
5803
        HPUX_IA64_MODE="32"
 
5804
        ;;
 
5805
      *ELF-64*)
 
5806
        HPUX_IA64_MODE="64"
 
5807
        ;;
 
5808
    esac
 
5809
  fi
 
5810
  rm -rf conftest*
 
5811
  ;;
 
5812
*-*-irix6*)
 
5813
  # Find out which ABI we are using.
 
5814
  echo '#line 5814 "configure"' > conftest.$ac_ext
 
5815
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5816
  (eval $ac_compile) 2>&5
 
5817
  ac_status=$?
 
5818
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5819
  (exit $ac_status); }; then
 
5820
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
5821
      case `/usr/bin/file conftest.$ac_objext` in
 
5822
        *32-bit*)
 
5823
          LD="${LD-ld} -melf32bsmip"
 
5824
          ;;
 
5825
        *N32*)
 
5826
          LD="${LD-ld} -melf32bmipn32"
 
5827
          ;;
 
5828
        *64-bit*)
 
5829
          LD="${LD-ld} -melf64bmip"
 
5830
        ;;
 
5831
      esac
 
5832
    else
 
5833
      case `/usr/bin/file conftest.$ac_objext` in
 
5834
        *32-bit*)
 
5835
          LD="${LD-ld} -32"
 
5836
          ;;
 
5837
        *N32*)
 
5838
          LD="${LD-ld} -n32"
 
5839
          ;;
 
5840
        *64-bit*)
 
5841
          LD="${LD-ld} -64"
 
5842
          ;;
 
5843
      esac
 
5844
    fi
 
5845
  fi
 
5846
  rm -rf conftest*
 
5847
  ;;
 
5848
 
 
5849
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
5850
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
5851
  # Find out which ABI we are using.
 
5852
  echo 'int i;' > conftest.$ac_ext
 
5853
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5854
  (eval $ac_compile) 2>&5
 
5855
  ac_status=$?
 
5856
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5857
  (exit $ac_status); }; then
 
5858
    case `/usr/bin/file conftest.o` in
 
5859
      *32-bit*)
 
5860
        case $host in
 
5861
          x86_64-*kfreebsd*-gnu)
 
5862
            LD="${LD-ld} -m elf_i386_fbsd"
 
5863
            ;;
 
5864
          x86_64-*linux*)
 
5865
            LD="${LD-ld} -m elf_i386"
 
5866
            ;;
 
5867
          ppc64-*linux*|powerpc64-*linux*)
 
5868
            LD="${LD-ld} -m elf32ppclinux"
 
5869
            ;;
 
5870
          s390x-*linux*)
 
5871
            LD="${LD-ld} -m elf_s390"
 
5872
            ;;
 
5873
          sparc64-*linux*)
 
5874
            LD="${LD-ld} -m elf32_sparc"
 
5875
            ;;
 
5876
        esac
 
5877
        ;;
 
5878
      *64-bit*)
 
5879
        case $host in
 
5880
          x86_64-*kfreebsd*-gnu)
 
5881
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
5882
            ;;
 
5883
          x86_64-*linux*)
 
5884
            LD="${LD-ld} -m elf_x86_64"
 
5885
            ;;
 
5886
          ppc*-*linux*|powerpc*-*linux*)
 
5887
            LD="${LD-ld} -m elf64ppc"
 
5888
            ;;
 
5889
          s390*-*linux*|s390*-*tpf*)
 
5890
            LD="${LD-ld} -m elf64_s390"
 
5891
            ;;
 
5892
          sparc*-*linux*)
 
5893
            LD="${LD-ld} -m elf64_sparc"
 
5894
            ;;
 
5895
        esac
 
5896
        ;;
 
5897
    esac
 
5898
  fi
 
5899
  rm -rf conftest*
 
5900
  ;;
 
5901
 
 
5902
*-*-sco3.2v5*)
 
5903
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
5904
  SAVE_CFLAGS="$CFLAGS"
 
5905
  CFLAGS="$CFLAGS -belf"
 
5906
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
5907
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
 
5908
if test "${lt_cv_cc_needs_belf+set}" = set; then
 
5909
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5910
else
 
5911
  ac_ext=c
 
5912
ac_cpp='$CPP $CPPFLAGS'
 
5913
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5914
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5915
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
5916
 
 
5917
     cat >conftest.$ac_ext <<_ACEOF
 
5918
/* confdefs.h.  */
 
5919
_ACEOF
 
5920
cat confdefs.h >>conftest.$ac_ext
 
5921
cat >>conftest.$ac_ext <<_ACEOF
 
5922
/* end confdefs.h.  */
 
5923
 
 
5924
int
 
5925
main ()
 
5926
{
 
5927
 
 
5928
  ;
 
5929
  return 0;
 
5930
}
 
5931
_ACEOF
 
5932
rm -f conftest.$ac_objext conftest$ac_exeext
 
5933
if { (ac_try="$ac_link"
 
5934
case "(($ac_try" in
 
5935
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5936
  *) ac_try_echo=$ac_try;;
 
5937
esac
 
5938
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5939
  (eval "$ac_link") 2>conftest.er1
 
5940
  ac_status=$?
 
5941
  grep -v '^ *+' conftest.er1 >conftest.err
 
5942
  rm -f conftest.er1
 
5943
  cat conftest.err >&5
 
5944
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5945
  (exit $ac_status); } && {
 
5946
         test -z "$ac_c_werror_flag" ||
 
5947
         test ! -s conftest.err
 
5948
       } && test -s conftest$ac_exeext &&
 
5949
       $as_test_x conftest$ac_exeext; then
 
5950
  lt_cv_cc_needs_belf=yes
 
5951
else
 
5952
  echo "$as_me: failed program was:" >&5
 
5953
sed 's/^/| /' conftest.$ac_ext >&5
 
5954
 
 
5955
        lt_cv_cc_needs_belf=no
 
5956
fi
 
5957
 
 
5958
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
5959
      conftest$ac_exeext conftest.$ac_ext
 
5960
     ac_ext=c
 
5961
ac_cpp='$CPP $CPPFLAGS'
 
5962
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5963
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5964
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
5965
 
 
5966
fi
 
5967
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
5968
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
 
5969
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
5970
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
5971
    CFLAGS="$SAVE_CFLAGS"
 
5972
  fi
 
5973
  ;;
 
5974
sparc*-*solaris*)
 
5975
  # Find out which ABI we are using.
 
5976
  echo 'int i;' > conftest.$ac_ext
 
5977
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5978
  (eval $ac_compile) 2>&5
 
5979
  ac_status=$?
 
5980
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5981
  (exit $ac_status); }; then
 
5982
    case `/usr/bin/file conftest.o` in
 
5983
    *64-bit*)
 
5984
      case $lt_cv_prog_gnu_ld in
 
5985
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
5986
      *)
 
5987
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
5988
          LD="${LD-ld} -64"
 
5989
        fi
 
5990
        ;;
 
5991
      esac
 
5992
      ;;
 
5993
    esac
 
5994
  fi
 
5995
  rm -rf conftest*
 
5996
  ;;
 
5997
esac
 
5998
 
 
5999
need_locks="$enable_libtool_lock"
6392
6000
 
6393
6001
 
6394
6002
  case $host_os in
6585
6193
  NMEDIT="$ac_cv_prog_NMEDIT"
6586
6194
fi
6587
6195
 
 
6196
    if test -n "$ac_tool_prefix"; then
 
6197
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
6198
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
6199
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6200
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6201
if test "${ac_cv_prog_LIPO+set}" = set; then
 
6202
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6203
else
 
6204
  if test -n "$LIPO"; then
 
6205
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
6206
else
 
6207
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6208
for as_dir in $PATH
 
6209
do
 
6210
  IFS=$as_save_IFS
 
6211
  test -z "$as_dir" && as_dir=.
 
6212
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6213
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6214
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
6215
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6216
    break 2
 
6217
  fi
 
6218
done
 
6219
done
 
6220
IFS=$as_save_IFS
 
6221
 
 
6222
fi
 
6223
fi
 
6224
LIPO=$ac_cv_prog_LIPO
 
6225
if test -n "$LIPO"; then
 
6226
  { echo "$as_me:$LINENO: result: $LIPO" >&5
 
6227
echo "${ECHO_T}$LIPO" >&6; }
 
6228
else
 
6229
  { echo "$as_me:$LINENO: result: no" >&5
 
6230
echo "${ECHO_T}no" >&6; }
 
6231
fi
 
6232
 
 
6233
 
 
6234
fi
 
6235
if test -z "$ac_cv_prog_LIPO"; then
 
6236
  ac_ct_LIPO=$LIPO
 
6237
  # Extract the first word of "lipo", so it can be a program name with args.
 
6238
set dummy lipo; ac_word=$2
 
6239
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6240
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6241
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
 
6242
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6243
else
 
6244
  if test -n "$ac_ct_LIPO"; then
 
6245
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
6246
else
 
6247
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6248
for as_dir in $PATH
 
6249
do
 
6250
  IFS=$as_save_IFS
 
6251
  test -z "$as_dir" && as_dir=.
 
6252
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6253
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6254
    ac_cv_prog_ac_ct_LIPO="lipo"
 
6255
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6256
    break 2
 
6257
  fi
 
6258
done
 
6259
done
 
6260
IFS=$as_save_IFS
 
6261
 
 
6262
fi
 
6263
fi
 
6264
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
6265
if test -n "$ac_ct_LIPO"; then
 
6266
  { echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
 
6267
echo "${ECHO_T}$ac_ct_LIPO" >&6; }
 
6268
else
 
6269
  { echo "$as_me:$LINENO: result: no" >&5
 
6270
echo "${ECHO_T}no" >&6; }
 
6271
fi
 
6272
 
 
6273
  if test "x$ac_ct_LIPO" = x; then
 
6274
    LIPO=":"
 
6275
  else
 
6276
    case $cross_compiling:$ac_tool_warned in
 
6277
yes:)
 
6278
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6279
whose name does not start with the host triplet.  If you think this
 
6280
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6281
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6282
whose name does not start with the host triplet.  If you think this
 
6283
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6284
ac_tool_warned=yes ;;
 
6285
esac
 
6286
    LIPO=$ac_ct_LIPO
 
6287
  fi
 
6288
else
 
6289
  LIPO="$ac_cv_prog_LIPO"
 
6290
fi
 
6291
 
 
6292
    if test -n "$ac_tool_prefix"; then
 
6293
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
6294
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
6295
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6296
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6297
if test "${ac_cv_prog_OTOOL+set}" = set; then
 
6298
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6299
else
 
6300
  if test -n "$OTOOL"; then
 
6301
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
6302
else
 
6303
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6304
for as_dir in $PATH
 
6305
do
 
6306
  IFS=$as_save_IFS
 
6307
  test -z "$as_dir" && as_dir=.
 
6308
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6309
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6310
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
6311
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6312
    break 2
 
6313
  fi
 
6314
done
 
6315
done
 
6316
IFS=$as_save_IFS
 
6317
 
 
6318
fi
 
6319
fi
 
6320
OTOOL=$ac_cv_prog_OTOOL
 
6321
if test -n "$OTOOL"; then
 
6322
  { echo "$as_me:$LINENO: result: $OTOOL" >&5
 
6323
echo "${ECHO_T}$OTOOL" >&6; }
 
6324
else
 
6325
  { echo "$as_me:$LINENO: result: no" >&5
 
6326
echo "${ECHO_T}no" >&6; }
 
6327
fi
 
6328
 
 
6329
 
 
6330
fi
 
6331
if test -z "$ac_cv_prog_OTOOL"; then
 
6332
  ac_ct_OTOOL=$OTOOL
 
6333
  # Extract the first word of "otool", so it can be a program name with args.
 
6334
set dummy otool; ac_word=$2
 
6335
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6336
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6337
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
 
6338
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6339
else
 
6340
  if test -n "$ac_ct_OTOOL"; then
 
6341
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
6342
else
 
6343
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6344
for as_dir in $PATH
 
6345
do
 
6346
  IFS=$as_save_IFS
 
6347
  test -z "$as_dir" && as_dir=.
 
6348
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6349
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6350
    ac_cv_prog_ac_ct_OTOOL="otool"
 
6351
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6352
    break 2
 
6353
  fi
 
6354
done
 
6355
done
 
6356
IFS=$as_save_IFS
 
6357
 
 
6358
fi
 
6359
fi
 
6360
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
6361
if test -n "$ac_ct_OTOOL"; then
 
6362
  { echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
 
6363
echo "${ECHO_T}$ac_ct_OTOOL" >&6; }
 
6364
else
 
6365
  { echo "$as_me:$LINENO: result: no" >&5
 
6366
echo "${ECHO_T}no" >&6; }
 
6367
fi
 
6368
 
 
6369
  if test "x$ac_ct_OTOOL" = x; then
 
6370
    OTOOL=":"
 
6371
  else
 
6372
    case $cross_compiling:$ac_tool_warned in
 
6373
yes:)
 
6374
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6375
whose name does not start with the host triplet.  If you think this
 
6376
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6377
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6378
whose name does not start with the host triplet.  If you think this
 
6379
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6380
ac_tool_warned=yes ;;
 
6381
esac
 
6382
    OTOOL=$ac_ct_OTOOL
 
6383
  fi
 
6384
else
 
6385
  OTOOL="$ac_cv_prog_OTOOL"
 
6386
fi
 
6387
 
 
6388
    if test -n "$ac_tool_prefix"; then
 
6389
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
6390
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
6391
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6392
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6393
if test "${ac_cv_prog_OTOOL64+set}" = set; then
 
6394
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6395
else
 
6396
  if test -n "$OTOOL64"; then
 
6397
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
6398
else
 
6399
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6400
for as_dir in $PATH
 
6401
do
 
6402
  IFS=$as_save_IFS
 
6403
  test -z "$as_dir" && as_dir=.
 
6404
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6405
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6406
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
6407
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6408
    break 2
 
6409
  fi
 
6410
done
 
6411
done
 
6412
IFS=$as_save_IFS
 
6413
 
 
6414
fi
 
6415
fi
 
6416
OTOOL64=$ac_cv_prog_OTOOL64
 
6417
if test -n "$OTOOL64"; then
 
6418
  { echo "$as_me:$LINENO: result: $OTOOL64" >&5
 
6419
echo "${ECHO_T}$OTOOL64" >&6; }
 
6420
else
 
6421
  { echo "$as_me:$LINENO: result: no" >&5
 
6422
echo "${ECHO_T}no" >&6; }
 
6423
fi
 
6424
 
 
6425
 
 
6426
fi
 
6427
if test -z "$ac_cv_prog_OTOOL64"; then
 
6428
  ac_ct_OTOOL64=$OTOOL64
 
6429
  # Extract the first word of "otool64", so it can be a program name with args.
 
6430
set dummy otool64; ac_word=$2
 
6431
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6432
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6433
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
 
6434
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6435
else
 
6436
  if test -n "$ac_ct_OTOOL64"; then
 
6437
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
6438
else
 
6439
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6440
for as_dir in $PATH
 
6441
do
 
6442
  IFS=$as_save_IFS
 
6443
  test -z "$as_dir" && as_dir=.
 
6444
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6445
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6446
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
6447
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6448
    break 2
 
6449
  fi
 
6450
done
 
6451
done
 
6452
IFS=$as_save_IFS
 
6453
 
 
6454
fi
 
6455
fi
 
6456
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
6457
if test -n "$ac_ct_OTOOL64"; then
 
6458
  { echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
 
6459
echo "${ECHO_T}$ac_ct_OTOOL64" >&6; }
 
6460
else
 
6461
  { echo "$as_me:$LINENO: result: no" >&5
 
6462
echo "${ECHO_T}no" >&6; }
 
6463
fi
 
6464
 
 
6465
  if test "x$ac_ct_OTOOL64" = x; then
 
6466
    OTOOL64=":"
 
6467
  else
 
6468
    case $cross_compiling:$ac_tool_warned in
 
6469
yes:)
 
6470
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6471
whose name does not start with the host triplet.  If you think this
 
6472
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6473
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6474
whose name does not start with the host triplet.  If you think this
 
6475
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6476
ac_tool_warned=yes ;;
 
6477
esac
 
6478
    OTOOL64=$ac_ct_OTOOL64
 
6479
  fi
 
6480
else
 
6481
  OTOOL64="$ac_cv_prog_OTOOL64"
 
6482
fi
 
6483
 
 
6484
 
 
6485
 
 
6486
 
 
6487
 
 
6488
 
 
6489
 
 
6490
 
 
6491
 
 
6492
 
 
6493
 
 
6494
 
 
6495
 
 
6496
 
 
6497
 
 
6498
 
 
6499
 
 
6500
 
 
6501
 
 
6502
 
 
6503
 
 
6504
 
 
6505
 
 
6506
 
 
6507
 
 
6508
 
6588
6509
 
6589
6510
    { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6590
6511
echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
6593
6514
else
6594
6515
  lt_cv_apple_cc_single_mod=no
6595
6516
      if test -z "${LT_MULTI_MODULE}"; then
6596
 
   # By default we will add the -single_module flag. You can override
6597
 
   # by either setting the environment variable LT_MULTI_MODULE
6598
 
   # non-empty at configure time, or by adding -multi_module to the
6599
 
   # link flags.
6600
 
   echo "int foo(void){return 1;}" > conftest.c
6601
 
   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6602
 
     -dynamiclib ${wl}-single_module conftest.c
6603
 
   if test -f libconftest.dylib; then
6604
 
     lt_cv_apple_cc_single_mod=yes
6605
 
     rm -rf libconftest.dylib*
6606
 
   fi
6607
 
   rm conftest.c
 
6517
        # By default we will add the -single_module flag. You can override
 
6518
        # by either setting the environment variable LT_MULTI_MODULE
 
6519
        # non-empty at configure time, or by adding -multi_module to the
 
6520
        # link flags.
 
6521
        rm -rf libconftest.dylib*
 
6522
        echo "int foo(void){return 1;}" > conftest.c
 
6523
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
6524
-dynamiclib -Wl,-single_module conftest.c" >&5
 
6525
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
6526
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
6527
        _lt_result=$?
 
6528
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
6529
          lt_cv_apple_cc_single_mod=yes
 
6530
        else
 
6531
          cat conftest.err >&5
 
6532
        fi
 
6533
        rm -rf libconftest.dylib*
 
6534
        rm -f conftest.*
6608
6535
      fi
6609
6536
fi
6610
6537
{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
6661
6588
 
6662
6589
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6663
6590
      conftest$ac_exeext conftest.$ac_ext
6664
 
   LDFLAGS="$save_LDFLAGS"
 
6591
        LDFLAGS="$save_LDFLAGS"
6665
6592
 
6666
6593
fi
6667
6594
{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
6668
6595
echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
6669
6596
    case $host_os in
6670
 
    rhapsody* | darwin1.[0123])
 
6597
    rhapsody* | darwin1.[012])
6671
6598
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6672
6599
    darwin1.*)
6673
 
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6674
 
    darwin*)
 
6600
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
6601
    darwin*) # darwin 5.x on
6675
6602
      # if running on 10.5 or later, the deployment target defaults
6676
6603
      # to the OS version, if on x86, and 10.4, the deployment
6677
6604
      # target defaults to 10.4. Don't you love it?
6678
6605
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6679
 
   10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6680
 
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6681
 
   10.[012]*)
6682
 
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6683
 
   10.*)
6684
 
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
6606
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
6607
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
6608
        10.[012]*)
 
6609
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
6610
        10.*)
 
6611
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6685
6612
      esac
6686
6613
    ;;
6687
6614
  esac
6691
6618
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6692
6619
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6693
6620
    else
6694
 
      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
 
6621
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6695
6622
    fi
6696
6623
    if test "$DSYMUTIL" != ":"; then
6697
 
      _lt_dsymutil="~$DSYMUTIL \$lib || :"
 
6624
      _lt_dsymutil='~$DSYMUTIL $lib || :'
6698
6625
    else
6699
6626
      _lt_dsymutil=
6700
6627
    fi
6701
6628
    ;;
6702
6629
  esac
6703
6630
 
6704
 
 
6705
 
enable_dlopen=no
6706
 
enable_win32_dll=yes
6707
 
 
6708
 
# Check whether --enable-libtool-lock was given.
6709
 
if test "${enable_libtool_lock+set}" = set; then
6710
 
  enableval=$enable_libtool_lock;
6711
 
fi
6712
 
 
6713
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
6631
ac_ext=c
 
6632
ac_cpp='$CPP $CPPFLAGS'
 
6633
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6634
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6635
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6636
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
6637
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
 
6638
# On Suns, sometimes $CPP names a directory.
 
6639
if test -n "$CPP" && test -d "$CPP"; then
 
6640
  CPP=
 
6641
fi
 
6642
if test -z "$CPP"; then
 
6643
  if test "${ac_cv_prog_CPP+set}" = set; then
 
6644
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6645
else
 
6646
      # Double quotes because CPP needs to be expanded
 
6647
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
6648
    do
 
6649
      ac_preproc_ok=false
 
6650
for ac_c_preproc_warn_flag in '' yes
 
6651
do
 
6652
  # Use a header file that comes with gcc, so configuring glibc
 
6653
  # with a fresh cross-compiler works.
 
6654
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
6655
  # <limits.h> exists even on freestanding compilers.
 
6656
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
6657
  # not just through cpp. "Syntax error" is here to catch this case.
 
6658
  cat >conftest.$ac_ext <<_ACEOF
 
6659
/* confdefs.h.  */
 
6660
_ACEOF
 
6661
cat confdefs.h >>conftest.$ac_ext
 
6662
cat >>conftest.$ac_ext <<_ACEOF
 
6663
/* end confdefs.h.  */
 
6664
#ifdef __STDC__
 
6665
# include <limits.h>
 
6666
#else
 
6667
# include <assert.h>
 
6668
#endif
 
6669
                     Syntax error
 
6670
_ACEOF
 
6671
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6672
case "(($ac_try" in
 
6673
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6674
  *) ac_try_echo=$ac_try;;
 
6675
esac
 
6676
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6677
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
6678
  ac_status=$?
 
6679
  grep -v '^ *+' conftest.er1 >conftest.err
 
6680
  rm -f conftest.er1
 
6681
  cat conftest.err >&5
 
6682
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6683
  (exit $ac_status); } >/dev/null && {
 
6684
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
6685
         test ! -s conftest.err
 
6686
       }; then
 
6687
  :
 
6688
else
 
6689
  echo "$as_me: failed program was:" >&5
 
6690
sed 's/^/| /' conftest.$ac_ext >&5
 
6691
 
 
6692
  # Broken: fails on valid input.
 
6693
continue
 
6694
fi
 
6695
 
 
6696
rm -f conftest.err conftest.$ac_ext
 
6697
 
 
6698
  # OK, works on sane cases.  Now check whether nonexistent headers
 
6699
  # can be detected and how.
 
6700
  cat >conftest.$ac_ext <<_ACEOF
 
6701
/* confdefs.h.  */
 
6702
_ACEOF
 
6703
cat confdefs.h >>conftest.$ac_ext
 
6704
cat >>conftest.$ac_ext <<_ACEOF
 
6705
/* end confdefs.h.  */
 
6706
#include <ac_nonexistent.h>
 
6707
_ACEOF
 
6708
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6709
case "(($ac_try" in
 
6710
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6711
  *) ac_try_echo=$ac_try;;
 
6712
esac
 
6713
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6714
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
6715
  ac_status=$?
 
6716
  grep -v '^ *+' conftest.er1 >conftest.err
 
6717
  rm -f conftest.er1
 
6718
  cat conftest.err >&5
 
6719
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6720
  (exit $ac_status); } >/dev/null && {
 
6721
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
6722
         test ! -s conftest.err
 
6723
       }; then
 
6724
  # Broken: success on invalid input.
 
6725
continue
 
6726
else
 
6727
  echo "$as_me: failed program was:" >&5
 
6728
sed 's/^/| /' conftest.$ac_ext >&5
 
6729
 
 
6730
  # Passes both tests.
 
6731
ac_preproc_ok=:
 
6732
break
 
6733
fi
 
6734
 
 
6735
rm -f conftest.err conftest.$ac_ext
 
6736
 
 
6737
done
 
6738
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
6739
rm -f conftest.err conftest.$ac_ext
 
6740
if $ac_preproc_ok; then
 
6741
  break
 
6742
fi
 
6743
 
 
6744
    done
 
6745
    ac_cv_prog_CPP=$CPP
 
6746
 
 
6747
fi
 
6748
  CPP=$ac_cv_prog_CPP
 
6749
else
 
6750
  ac_cv_prog_CPP=$CPP
 
6751
fi
 
6752
{ echo "$as_me:$LINENO: result: $CPP" >&5
 
6753
echo "${ECHO_T}$CPP" >&6; }
 
6754
ac_preproc_ok=false
 
6755
for ac_c_preproc_warn_flag in '' yes
 
6756
do
 
6757
  # Use a header file that comes with gcc, so configuring glibc
 
6758
  # with a fresh cross-compiler works.
 
6759
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
6760
  # <limits.h> exists even on freestanding compilers.
 
6761
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
6762
  # not just through cpp. "Syntax error" is here to catch this case.
 
6763
  cat >conftest.$ac_ext <<_ACEOF
 
6764
/* confdefs.h.  */
 
6765
_ACEOF
 
6766
cat confdefs.h >>conftest.$ac_ext
 
6767
cat >>conftest.$ac_ext <<_ACEOF
 
6768
/* end confdefs.h.  */
 
6769
#ifdef __STDC__
 
6770
# include <limits.h>
 
6771
#else
 
6772
# include <assert.h>
 
6773
#endif
 
6774
                     Syntax error
 
6775
_ACEOF
 
6776
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6777
case "(($ac_try" in
 
6778
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6779
  *) ac_try_echo=$ac_try;;
 
6780
esac
 
6781
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6782
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
6783
  ac_status=$?
 
6784
  grep -v '^ *+' conftest.er1 >conftest.err
 
6785
  rm -f conftest.er1
 
6786
  cat conftest.err >&5
 
6787
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6788
  (exit $ac_status); } >/dev/null && {
 
6789
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
6790
         test ! -s conftest.err
 
6791
       }; then
 
6792
  :
 
6793
else
 
6794
  echo "$as_me: failed program was:" >&5
 
6795
sed 's/^/| /' conftest.$ac_ext >&5
 
6796
 
 
6797
  # Broken: fails on valid input.
 
6798
continue
 
6799
fi
 
6800
 
 
6801
rm -f conftest.err conftest.$ac_ext
 
6802
 
 
6803
  # OK, works on sane cases.  Now check whether nonexistent headers
 
6804
  # can be detected and how.
 
6805
  cat >conftest.$ac_ext <<_ACEOF
 
6806
/* confdefs.h.  */
 
6807
_ACEOF
 
6808
cat confdefs.h >>conftest.$ac_ext
 
6809
cat >>conftest.$ac_ext <<_ACEOF
 
6810
/* end confdefs.h.  */
 
6811
#include <ac_nonexistent.h>
 
6812
_ACEOF
 
6813
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6814
case "(($ac_try" in
 
6815
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6816
  *) ac_try_echo=$ac_try;;
 
6817
esac
 
6818
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6819
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
6820
  ac_status=$?
 
6821
  grep -v '^ *+' conftest.er1 >conftest.err
 
6822
  rm -f conftest.er1
 
6823
  cat conftest.err >&5
 
6824
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6825
  (exit $ac_status); } >/dev/null && {
 
6826
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
6827
         test ! -s conftest.err
 
6828
       }; then
 
6829
  # Broken: success on invalid input.
 
6830
continue
 
6831
else
 
6832
  echo "$as_me: failed program was:" >&5
 
6833
sed 's/^/| /' conftest.$ac_ext >&5
 
6834
 
 
6835
  # Passes both tests.
 
6836
ac_preproc_ok=:
 
6837
break
 
6838
fi
 
6839
 
 
6840
rm -f conftest.err conftest.$ac_ext
 
6841
 
 
6842
done
 
6843
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
6844
rm -f conftest.err conftest.$ac_ext
 
6845
if $ac_preproc_ok; then
 
6846
  :
 
6847
else
 
6848
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
6849
See \`config.log' for more details." >&5
 
6850
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
6851
See \`config.log' for more details." >&2;}
 
6852
   { (exit 1); exit 1; }; }
 
6853
fi
 
6854
 
 
6855
ac_ext=c
 
6856
ac_cpp='$CPP $CPPFLAGS'
 
6857
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6858
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6859
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6860
 
 
6861
 
 
6862
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
6863
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
 
6864
if test "${ac_cv_header_stdc+set}" = set; then
 
6865
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6866
else
 
6867
  cat >conftest.$ac_ext <<_ACEOF
 
6868
/* confdefs.h.  */
 
6869
_ACEOF
 
6870
cat confdefs.h >>conftest.$ac_ext
 
6871
cat >>conftest.$ac_ext <<_ACEOF
 
6872
/* end confdefs.h.  */
 
6873
#include <stdlib.h>
 
6874
#include <stdarg.h>
 
6875
#include <string.h>
 
6876
#include <float.h>
 
6877
 
 
6878
int
 
6879
main ()
 
6880
{
 
6881
 
 
6882
  ;
 
6883
  return 0;
 
6884
}
 
6885
_ACEOF
 
6886
rm -f conftest.$ac_objext
 
6887
if { (ac_try="$ac_compile"
 
6888
case "(($ac_try" in
 
6889
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6890
  *) ac_try_echo=$ac_try;;
 
6891
esac
 
6892
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6893
  (eval "$ac_compile") 2>conftest.er1
 
6894
  ac_status=$?
 
6895
  grep -v '^ *+' conftest.er1 >conftest.err
 
6896
  rm -f conftest.er1
 
6897
  cat conftest.err >&5
 
6898
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6899
  (exit $ac_status); } && {
 
6900
         test -z "$ac_c_werror_flag" ||
 
6901
         test ! -s conftest.err
 
6902
       } && test -s conftest.$ac_objext; then
 
6903
  ac_cv_header_stdc=yes
 
6904
else
 
6905
  echo "$as_me: failed program was:" >&5
 
6906
sed 's/^/| /' conftest.$ac_ext >&5
 
6907
 
 
6908
        ac_cv_header_stdc=no
 
6909
fi
 
6910
 
 
6911
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6912
 
 
6913
if test $ac_cv_header_stdc = yes; then
 
6914
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
6915
  cat >conftest.$ac_ext <<_ACEOF
 
6916
/* confdefs.h.  */
 
6917
_ACEOF
 
6918
cat confdefs.h >>conftest.$ac_ext
 
6919
cat >>conftest.$ac_ext <<_ACEOF
 
6920
/* end confdefs.h.  */
 
6921
#include <string.h>
 
6922
 
 
6923
_ACEOF
 
6924
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
6925
  $EGREP "memchr" >/dev/null 2>&1; then
 
6926
  :
 
6927
else
 
6928
  ac_cv_header_stdc=no
 
6929
fi
 
6930
rm -f conftest*
 
6931
 
 
6932
fi
 
6933
 
 
6934
if test $ac_cv_header_stdc = yes; then
 
6935
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
6936
  cat >conftest.$ac_ext <<_ACEOF
 
6937
/* confdefs.h.  */
 
6938
_ACEOF
 
6939
cat confdefs.h >>conftest.$ac_ext
 
6940
cat >>conftest.$ac_ext <<_ACEOF
 
6941
/* end confdefs.h.  */
 
6942
#include <stdlib.h>
 
6943
 
 
6944
_ACEOF
 
6945
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
6946
  $EGREP "free" >/dev/null 2>&1; then
 
6947
  :
 
6948
else
 
6949
  ac_cv_header_stdc=no
 
6950
fi
 
6951
rm -f conftest*
 
6952
 
 
6953
fi
 
6954
 
 
6955
if test $ac_cv_header_stdc = yes; then
 
6956
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
6957
  if test "$cross_compiling" = yes; then
 
6958
  :
 
6959
else
 
6960
  cat >conftest.$ac_ext <<_ACEOF
 
6961
/* confdefs.h.  */
 
6962
_ACEOF
 
6963
cat confdefs.h >>conftest.$ac_ext
 
6964
cat >>conftest.$ac_ext <<_ACEOF
 
6965
/* end confdefs.h.  */
 
6966
#include <ctype.h>
 
6967
#include <stdlib.h>
 
6968
#if ((' ' & 0x0FF) == 0x020)
 
6969
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
6970
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
6971
#else
 
6972
# define ISLOWER(c) \
 
6973
                   (('a' <= (c) && (c) <= 'i') \
 
6974
                     || ('j' <= (c) && (c) <= 'r') \
 
6975
                     || ('s' <= (c) && (c) <= 'z'))
 
6976
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
6977
#endif
 
6978
 
 
6979
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
6980
int
 
6981
main ()
 
6982
{
 
6983
  int i;
 
6984
  for (i = 0; i < 256; i++)
 
6985
    if (XOR (islower (i), ISLOWER (i))
 
6986
        || toupper (i) != TOUPPER (i))
 
6987
      return 2;
 
6988
  return 0;
 
6989
}
 
6990
_ACEOF
 
6991
rm -f conftest$ac_exeext
 
6992
if { (ac_try="$ac_link"
 
6993
case "(($ac_try" in
 
6994
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6995
  *) ac_try_echo=$ac_try;;
 
6996
esac
 
6997
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6998
  (eval "$ac_link") 2>&5
 
6999
  ac_status=$?
 
7000
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7001
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
7002
  { (case "(($ac_try" in
 
7003
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7004
  *) ac_try_echo=$ac_try;;
 
7005
esac
 
7006
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7007
  (eval "$ac_try") 2>&5
 
7008
  ac_status=$?
 
7009
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7010
  (exit $ac_status); }; }; then
 
7011
  :
 
7012
else
 
7013
  echo "$as_me: program exited with status $ac_status" >&5
 
7014
echo "$as_me: failed program was:" >&5
 
7015
sed 's/^/| /' conftest.$ac_ext >&5
 
7016
 
 
7017
( exit $ac_status )
 
7018
ac_cv_header_stdc=no
 
7019
fi
 
7020
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
7021
fi
 
7022
 
 
7023
 
 
7024
fi
 
7025
fi
 
7026
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
7027
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
 
7028
if test $ac_cv_header_stdc = yes; then
 
7029
 
 
7030
cat >>confdefs.h <<\_ACEOF
 
7031
#define STDC_HEADERS 1
 
7032
_ACEOF
 
7033
 
 
7034
fi
 
7035
 
 
7036
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
7037
 
 
7038
 
 
7039
 
 
7040
 
 
7041
 
 
7042
 
 
7043
 
 
7044
 
 
7045
 
 
7046
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
7047
                  inttypes.h stdint.h unistd.h
 
7048
do
 
7049
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
7050
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
7051
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
7052
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
7053
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7054
else
 
7055
  cat >conftest.$ac_ext <<_ACEOF
 
7056
/* confdefs.h.  */
 
7057
_ACEOF
 
7058
cat confdefs.h >>conftest.$ac_ext
 
7059
cat >>conftest.$ac_ext <<_ACEOF
 
7060
/* end confdefs.h.  */
 
7061
$ac_includes_default
 
7062
 
 
7063
#include <$ac_header>
 
7064
_ACEOF
 
7065
rm -f conftest.$ac_objext
 
7066
if { (ac_try="$ac_compile"
 
7067
case "(($ac_try" in
 
7068
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7069
  *) ac_try_echo=$ac_try;;
 
7070
esac
 
7071
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7072
  (eval "$ac_compile") 2>conftest.er1
 
7073
  ac_status=$?
 
7074
  grep -v '^ *+' conftest.er1 >conftest.err
 
7075
  rm -f conftest.er1
 
7076
  cat conftest.err >&5
 
7077
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7078
  (exit $ac_status); } && {
 
7079
         test -z "$ac_c_werror_flag" ||
 
7080
         test ! -s conftest.err
 
7081
       } && test -s conftest.$ac_objext; then
 
7082
  eval "$as_ac_Header=yes"
 
7083
else
 
7084
  echo "$as_me: failed program was:" >&5
 
7085
sed 's/^/| /' conftest.$ac_ext >&5
 
7086
 
 
7087
        eval "$as_ac_Header=no"
 
7088
fi
 
7089
 
 
7090
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7091
fi
 
7092
ac_res=`eval echo '${'$as_ac_Header'}'`
 
7093
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
7094
echo "${ECHO_T}$ac_res" >&6; }
 
7095
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
7096
  cat >>confdefs.h <<_ACEOF
 
7097
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
7098
_ACEOF
 
7099
 
 
7100
fi
 
7101
 
 
7102
done
 
7103
 
 
7104
 
 
7105
 
 
7106
for ac_header in dlfcn.h
 
7107
do
 
7108
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
7109
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
7110
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
7111
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
7112
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7113
else
 
7114
  cat >conftest.$ac_ext <<_ACEOF
 
7115
/* confdefs.h.  */
 
7116
_ACEOF
 
7117
cat confdefs.h >>conftest.$ac_ext
 
7118
cat >>conftest.$ac_ext <<_ACEOF
 
7119
/* end confdefs.h.  */
 
7120
$ac_includes_default
 
7121
 
 
7122
#include <$ac_header>
 
7123
_ACEOF
 
7124
rm -f conftest.$ac_objext
 
7125
if { (ac_try="$ac_compile"
 
7126
case "(($ac_try" in
 
7127
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7128
  *) ac_try_echo=$ac_try;;
 
7129
esac
 
7130
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7131
  (eval "$ac_compile") 2>conftest.er1
 
7132
  ac_status=$?
 
7133
  grep -v '^ *+' conftest.er1 >conftest.err
 
7134
  rm -f conftest.er1
 
7135
  cat conftest.err >&5
 
7136
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7137
  (exit $ac_status); } && {
 
7138
         test -z "$ac_c_werror_flag" ||
 
7139
         test ! -s conftest.err
 
7140
       } && test -s conftest.$ac_objext; then
 
7141
  eval "$as_ac_Header=yes"
 
7142
else
 
7143
  echo "$as_me: failed program was:" >&5
 
7144
sed 's/^/| /' conftest.$ac_ext >&5
 
7145
 
 
7146
        eval "$as_ac_Header=no"
 
7147
fi
 
7148
 
 
7149
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7150
fi
 
7151
ac_res=`eval echo '${'$as_ac_Header'}'`
 
7152
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
7153
echo "${ECHO_T}$ac_res" >&6; }
 
7154
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
7155
  cat >>confdefs.h <<_ACEOF
 
7156
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
7157
_ACEOF
 
7158
 
 
7159
fi
 
7160
 
 
7161
done
 
7162
 
 
7163
 
 
7164
 
 
7165
# Set options
 
7166
 
 
7167
 
 
7168
 
 
7169
        enable_dlopen=no
 
7170
 
 
7171
 
 
7172
 
 
7173
            # Check whether --enable-shared was given.
 
7174
if test "${enable_shared+set}" = set; then
 
7175
  enableval=$enable_shared; p=${PACKAGE-default}
 
7176
    case $enableval in
 
7177
    yes) enable_shared=yes ;;
 
7178
    no) enable_shared=no ;;
 
7179
    *)
 
7180
      enable_shared=no
 
7181
      # Look at the argument we got.  We use all the common list separators.
 
7182
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7183
      for pkg in $enableval; do
 
7184
        IFS="$lt_save_ifs"
 
7185
        if test "X$pkg" = "X$p"; then
 
7186
          enable_shared=yes
 
7187
        fi
 
7188
      done
 
7189
      IFS="$lt_save_ifs"
 
7190
      ;;
 
7191
    esac
 
7192
else
 
7193
  enable_shared=yes
 
7194
fi
 
7195
 
 
7196
 
 
7197
 
 
7198
 
 
7199
 
 
7200
 
 
7201
 
 
7202
 
 
7203
 
 
7204
  # Check whether --enable-static was given.
 
7205
if test "${enable_static+set}" = set; then
 
7206
  enableval=$enable_static; p=${PACKAGE-default}
 
7207
    case $enableval in
 
7208
    yes) enable_static=yes ;;
 
7209
    no) enable_static=no ;;
 
7210
    *)
 
7211
     enable_static=no
 
7212
      # Look at the argument we got.  We use all the common list separators.
 
7213
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7214
      for pkg in $enableval; do
 
7215
        IFS="$lt_save_ifs"
 
7216
        if test "X$pkg" = "X$p"; then
 
7217
          enable_static=yes
 
7218
        fi
 
7219
      done
 
7220
      IFS="$lt_save_ifs"
 
7221
      ;;
 
7222
    esac
 
7223
else
 
7224
  enable_static=yes
 
7225
fi
 
7226
 
 
7227
 
 
7228
 
 
7229
 
 
7230
 
 
7231
 
 
7232
 
 
7233
 
6714
7234
 
6715
7235
 
6716
7236
# Check whether --with-pic was given.
6720
7240
  pic_mode=default
6721
7241
fi
6722
7242
 
 
7243
 
6723
7244
test -z "$pic_mode" && pic_mode=default
6724
7245
 
 
7246
 
 
7247
 
 
7248
 
 
7249
 
 
7250
 
 
7251
 
 
7252
  # Check whether --enable-fast-install was given.
 
7253
if test "${enable_fast_install+set}" = set; then
 
7254
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
7255
    case $enableval in
 
7256
    yes) enable_fast_install=yes ;;
 
7257
    no) enable_fast_install=no ;;
 
7258
    *)
 
7259
      enable_fast_install=no
 
7260
      # Look at the argument we got.  We use all the common list separators.
 
7261
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7262
      for pkg in $enableval; do
 
7263
        IFS="$lt_save_ifs"
 
7264
        if test "X$pkg" = "X$p"; then
 
7265
          enable_fast_install=yes
 
7266
        fi
 
7267
      done
 
7268
      IFS="$lt_save_ifs"
 
7269
      ;;
 
7270
    esac
 
7271
else
 
7272
  enable_fast_install=yes
 
7273
fi
 
7274
 
 
7275
 
 
7276
 
 
7277
 
 
7278
 
 
7279
 
 
7280
 
 
7281
 
 
7282
 
 
7283
 
 
7284
 
 
7285
# This can be used to rebuild libtool when needed
 
7286
LIBTOOL_DEPS="$ltmain"
 
7287
 
 
7288
# Always use our own libtool.
 
7289
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
7290
 
 
7291
 
 
7292
 
 
7293
 
 
7294
 
 
7295
 
 
7296
 
 
7297
 
 
7298
 
 
7299
 
 
7300
 
 
7301
 
 
7302
 
 
7303
 
 
7304
 
 
7305
 
 
7306
 
 
7307
 
 
7308
 
 
7309
 
 
7310
 
 
7311
 
 
7312
 
 
7313
 
 
7314
 
 
7315
test -z "$LN_S" && LN_S="ln -s"
 
7316
 
 
7317
 
 
7318
 
 
7319
 
 
7320
 
 
7321
 
 
7322
 
 
7323
 
 
7324
 
 
7325
 
 
7326
 
 
7327
 
 
7328
 
 
7329
 
 
7330
if test -n "${ZSH_VERSION+set}" ; then
 
7331
   setopt NO_GLOB_SUBST
 
7332
fi
 
7333
 
 
7334
{ echo "$as_me:$LINENO: checking for objdir" >&5
 
7335
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
 
7336
if test "${lt_cv_objdir+set}" = set; then
 
7337
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7338
else
 
7339
  rm -f .libs 2>/dev/null
 
7340
mkdir .libs 2>/dev/null
 
7341
if test -d .libs; then
 
7342
  lt_cv_objdir=.libs
 
7343
else
 
7344
  # MS-DOS does not allow filenames that begin with a dot.
 
7345
  lt_cv_objdir=_libs
 
7346
fi
 
7347
rmdir .libs 2>/dev/null
 
7348
fi
 
7349
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
7350
echo "${ECHO_T}$lt_cv_objdir" >&6; }
 
7351
objdir=$lt_cv_objdir
 
7352
 
 
7353
 
 
7354
 
 
7355
 
 
7356
 
 
7357
cat >>confdefs.h <<_ACEOF
 
7358
#define LT_OBJDIR "$lt_cv_objdir/"
 
7359
_ACEOF
 
7360
 
 
7361
 
 
7362
 
 
7363
 
 
7364
 
 
7365
 
 
7366
 
 
7367
 
 
7368
 
 
7369
 
 
7370
 
 
7371
 
 
7372
 
 
7373
 
 
7374
 
 
7375
 
 
7376
 
 
7377
case $host_os in
 
7378
aix3*)
 
7379
  # AIX sometimes has problems with the GCC collect2 program.  For some
 
7380
  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
7381
  # vanish in a puff of smoke.
 
7382
  if test "X${COLLECT_NAMES+set}" != Xset; then
 
7383
    COLLECT_NAMES=
 
7384
    export COLLECT_NAMES
 
7385
  fi
 
7386
  ;;
 
7387
esac
 
7388
 
 
7389
# Sed substitution that helps us do robust quoting.  It backslashifies
 
7390
# metacharacters that are still active within double-quoted strings.
 
7391
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
7392
 
 
7393
# Same as above, but do not quote variable references.
 
7394
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
7395
 
 
7396
# Sed substitution to delay expansion of an escaped shell variable in a
 
7397
# double_quote_subst'ed string.
 
7398
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
7399
 
 
7400
# Sed substitution to delay expansion of an escaped single quote.
 
7401
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
7402
 
 
7403
# Sed substitution to avoid accidental globbing in evaled expressions
 
7404
no_glob_subst='s/\*/\\\*/g'
 
7405
 
 
7406
# Global variables:
 
7407
ofile=libtool
 
7408
can_build_shared=yes
 
7409
 
 
7410
# All known linkers require a `.a' archive for static linking (except MSVC,
 
7411
# which needs '.lib').
 
7412
libext=a
 
7413
 
 
7414
with_gnu_ld="$lt_cv_prog_gnu_ld"
 
7415
 
 
7416
old_CC="$CC"
 
7417
old_CFLAGS="$CFLAGS"
 
7418
 
 
7419
# Set sane defaults for various variables
 
7420
test -z "$CC" && CC=cc
 
7421
test -z "$LTCC" && LTCC=$CC
 
7422
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
7423
test -z "$LD" && LD=ld
 
7424
test -z "$ac_objext" && ac_objext=o
 
7425
 
 
7426
for cc_temp in $compiler""; do
 
7427
  case $cc_temp in
 
7428
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
7429
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
7430
    \-*) ;;
 
7431
    *) break;;
 
7432
  esac
 
7433
done
 
7434
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
7435
 
 
7436
 
 
7437
# Only perform the check for file, if the check method requires it
 
7438
test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
7439
case $deplibs_check_method in
 
7440
file_magic*)
 
7441
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
7442
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
7443
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
 
7444
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
7445
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7446
else
 
7447
  case $MAGIC_CMD in
 
7448
[\\/*] |  ?:[\\/]*)
 
7449
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
7450
  ;;
 
7451
*)
 
7452
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
7453
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
7454
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
7455
  for ac_dir in $ac_dummy; do
 
7456
    IFS="$lt_save_ifs"
 
7457
    test -z "$ac_dir" && ac_dir=.
 
7458
    if test -f $ac_dir/${ac_tool_prefix}file; then
 
7459
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
7460
      if test -n "$file_magic_test_file"; then
 
7461
        case $deplibs_check_method in
 
7462
        "file_magic "*)
 
7463
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
7464
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7465
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
7466
            $EGREP "$file_magic_regex" > /dev/null; then
 
7467
            :
 
7468
          else
 
7469
            cat <<_LT_EOF 1>&2
 
7470
 
 
7471
*** Warning: the command libtool uses to detect shared libraries,
 
7472
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
7473
*** The result is that libtool may fail to recognize shared libraries
 
7474
*** as such.  This will affect the creation of libtool libraries that
 
7475
*** depend on shared libraries, but programs linked with such libtool
 
7476
*** libraries will work regardless of this problem.  Nevertheless, you
 
7477
*** may want to report the problem to your system manager and/or to
 
7478
*** bug-libtool@gnu.org
 
7479
 
 
7480
_LT_EOF
 
7481
          fi ;;
 
7482
        esac
 
7483
      fi
 
7484
      break
 
7485
    fi
 
7486
  done
 
7487
  IFS="$lt_save_ifs"
 
7488
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
7489
  ;;
 
7490
esac
 
7491
fi
 
7492
 
 
7493
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7494
if test -n "$MAGIC_CMD"; then
 
7495
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7496
echo "${ECHO_T}$MAGIC_CMD" >&6; }
 
7497
else
 
7498
  { echo "$as_me:$LINENO: result: no" >&5
 
7499
echo "${ECHO_T}no" >&6; }
 
7500
fi
 
7501
 
 
7502
 
 
7503
 
 
7504
 
 
7505
 
 
7506
if test -z "$lt_cv_path_MAGIC_CMD"; then
 
7507
  if test -n "$ac_tool_prefix"; then
 
7508
    { echo "$as_me:$LINENO: checking for file" >&5
 
7509
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
 
7510
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
7511
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7512
else
 
7513
  case $MAGIC_CMD in
 
7514
[\\/*] |  ?:[\\/]*)
 
7515
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
7516
  ;;
 
7517
*)
 
7518
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
7519
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
7520
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
7521
  for ac_dir in $ac_dummy; do
 
7522
    IFS="$lt_save_ifs"
 
7523
    test -z "$ac_dir" && ac_dir=.
 
7524
    if test -f $ac_dir/file; then
 
7525
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
7526
      if test -n "$file_magic_test_file"; then
 
7527
        case $deplibs_check_method in
 
7528
        "file_magic "*)
 
7529
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
7530
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7531
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
7532
            $EGREP "$file_magic_regex" > /dev/null; then
 
7533
            :
 
7534
          else
 
7535
            cat <<_LT_EOF 1>&2
 
7536
 
 
7537
*** Warning: the command libtool uses to detect shared libraries,
 
7538
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
7539
*** The result is that libtool may fail to recognize shared libraries
 
7540
*** as such.  This will affect the creation of libtool libraries that
 
7541
*** depend on shared libraries, but programs linked with such libtool
 
7542
*** libraries will work regardless of this problem.  Nevertheless, you
 
7543
*** may want to report the problem to your system manager and/or to
 
7544
*** bug-libtool@gnu.org
 
7545
 
 
7546
_LT_EOF
 
7547
          fi ;;
 
7548
        esac
 
7549
      fi
 
7550
      break
 
7551
    fi
 
7552
  done
 
7553
  IFS="$lt_save_ifs"
 
7554
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
7555
  ;;
 
7556
esac
 
7557
fi
 
7558
 
 
7559
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7560
if test -n "$MAGIC_CMD"; then
 
7561
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7562
echo "${ECHO_T}$MAGIC_CMD" >&6; }
 
7563
else
 
7564
  { echo "$as_me:$LINENO: result: no" >&5
 
7565
echo "${ECHO_T}no" >&6; }
 
7566
fi
 
7567
 
 
7568
 
 
7569
  else
 
7570
    MAGIC_CMD=:
 
7571
  fi
 
7572
fi
 
7573
 
 
7574
  fi
 
7575
  ;;
 
7576
esac
 
7577
 
6725
7578
# Use C for the default configuration in the libtool script
6726
 
tagname=
 
7579
 
6727
7580
lt_save_CC="$CC"
6728
7581
ac_ext=c
6729
7582
ac_cpp='$CPP $CPPFLAGS'
6746
7599
lt_simple_link_test_code='int main(){return(0);}'
6747
7600
 
6748
7601
 
 
7602
 
 
7603
 
 
7604
 
 
7605
 
 
7606
 
6749
7607
# If no C compiler was specified, use CC.
6750
7608
LTCC=${LTCC-"$CC"}
6751
7609
 
6755
7613
# Allow CC to be a program name with arguments.
6756
7614
compiler=$CC
6757
7615
 
 
7616
# Save the default compiler, since it gets overwritten when the other
 
7617
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
7618
compiler_DEFAULT=$CC
6758
7619
 
6759
7620
# save warnings/boilerplate of simple test code
6760
7621
ac_outfile=conftest.$ac_objext
6761
7622
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
6762
7623
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6763
7624
_lt_compiler_boilerplate=`cat conftest.err`
6764
 
$rm conftest*
 
7625
$RM conftest*
6765
7626
 
6766
7627
ac_outfile=conftest.$ac_objext
6767
7628
echo "$lt_simple_link_test_code" >conftest.$ac_ext
6768
7629
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6769
7630
_lt_linker_boilerplate=`cat conftest.err`
6770
 
$rm -r conftest*
6771
 
 
6772
 
 
 
7631
$RM -r conftest*
 
7632
 
 
7633
 
 
7634
## CAVEAT EMPTOR:
 
7635
## There is no encapsulation within the following macros, do not change
 
7636
## the running order or otherwise move them around unless you know exactly
 
7637
## what you are doing...
 
7638
if test -n "$compiler"; then
6773
7639
 
6774
7640
lt_prog_compiler_no_builtin_flag=
6775
7641
 
6776
7642
if test "$GCC" = yes; then
6777
7643
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6778
7644
 
6779
 
 
6780
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
7645
  { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6781
7646
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
6782
7647
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6783
7648
  echo $ECHO_N "(cached) $ECHO_C" >&6
6784
7649
else
6785
7650
  lt_cv_prog_compiler_rtti_exceptions=no
6786
 
  ac_outfile=conftest.$ac_objext
 
7651
   ac_outfile=conftest.$ac_objext
6787
7652
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6788
7653
   lt_compiler_flag="-fno-rtti -fno-exceptions"
6789
7654
   # Insert the option either (1) after the last *FLAGS variable, or
6795
7660
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6796
7661
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6797
7662
   -e 's:$: $lt_compiler_flag:'`
6798
 
   (eval echo "\"\$as_me:6798: $lt_compile\"" >&5)
 
7663
   (eval echo "\"\$as_me:7663: $lt_compile\"" >&5)
6799
7664
   (eval "$lt_compile" 2>conftest.err)
6800
7665
   ac_status=$?
6801
7666
   cat conftest.err >&5
6802
 
   echo "$as_me:6802: \$? = $ac_status" >&5
 
7667
   echo "$as_me:7667: \$? = $ac_status" >&5
6803
7668
   if (exit $ac_status) && test -s "$ac_outfile"; then
6804
7669
     # The compiler can only warn and ignore the option if not recognized
6805
7670
     # So say no if there are warnings other than the usual output.
6806
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
7671
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6807
7672
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6808
7673
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6809
7674
       lt_cv_prog_compiler_rtti_exceptions=yes
6810
7675
     fi
6811
7676
   fi
6812
 
   $rm conftest*
 
7677
   $RM conftest*
6813
7678
 
6814
7679
fi
6815
7680
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6823
7688
 
6824
7689
fi
6825
7690
 
6826
 
lt_prog_compiler_wl=
 
7691
 
 
7692
 
 
7693
 
 
7694
 
 
7695
 
 
7696
  lt_prog_compiler_wl=
6827
7697
lt_prog_compiler_pic=
6828
7698
lt_prog_compiler_static=
6829
7699
 
6844
7714
      ;;
6845
7715
 
6846
7716
    amigaos*)
6847
 
      # FIXME: we need at least 68020 code to build shared libraries, but
6848
 
      # adding the `-m68020' flag to GCC prevents building anything better,
6849
 
      # like `-m68040'.
6850
 
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
7717
      case $host_cpu in
 
7718
      powerpc)
 
7719
            # see comment about AmigaOS4 .so support
 
7720
            lt_prog_compiler_pic='-fPIC'
 
7721
        ;;
 
7722
      m68k)
 
7723
            # FIXME: we need at least 68020 code to build shared libraries, but
 
7724
            # adding the `-m68020' flag to GCC prevents building anything better,
 
7725
            # like `-m68040'.
 
7726
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
7727
        ;;
 
7728
      esac
6851
7729
      ;;
6852
7730
 
6853
7731
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6868
7746
      lt_prog_compiler_pic='-fno-common'
6869
7747
      ;;
6870
7748
 
 
7749
    hpux*)
 
7750
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
7751
      # not for PA HP-UX.
 
7752
      case $host_cpu in
 
7753
      hppa*64*|ia64*)
 
7754
        # +Z the default
 
7755
        ;;
 
7756
      *)
 
7757
        lt_prog_compiler_pic='-fPIC'
 
7758
        ;;
 
7759
      esac
 
7760
      ;;
 
7761
 
6871
7762
    interix[3-9]*)
6872
7763
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6873
7764
      # Instead, we relocate shared libraries at runtime.
6880
7771
      enable_shared=no
6881
7772
      ;;
6882
7773
 
 
7774
    *nto* | *qnx*)
 
7775
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
7776
      # it will coredump.
 
7777
      lt_prog_compiler_pic='-fPIC -shared'
 
7778
      ;;
 
7779
 
6883
7780
    sysv4*MP*)
6884
7781
      if test -d /usr/nec; then
6885
7782
        lt_prog_compiler_pic=-Kconform_pic
6886
7783
      fi
6887
7784
      ;;
6888
7785
 
6889
 
    hpux*)
6890
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6891
 
      # not for PA HP-UX.
6892
 
      case $host_cpu in
6893
 
      hppa*64*|ia64*)
6894
 
        # +Z the default
6895
 
        ;;
6896
 
      *)
6897
 
        lt_prog_compiler_pic='-fPIC'
6898
 
        ;;
6899
 
      esac
6900
 
      ;;
6901
 
 
6902
7786
    *)
6903
7787
      lt_prog_compiler_pic='-fPIC'
6904
7788
      ;;
6915
7799
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6916
7800
      fi
6917
7801
      ;;
6918
 
      darwin*)
6919
 
        # PIC is the default on this platform
6920
 
        # Common symbols not allowed in MH_DYLIB files
6921
 
       case $cc_basename in
6922
 
         xlc*)
6923
 
         lt_prog_compiler_pic='-qnocommon'
6924
 
         lt_prog_compiler_wl='-Wl,'
6925
 
         ;;
6926
 
       esac
6927
 
       ;;
6928
7802
 
6929
7803
    mingw* | cygwin* | pw32* | os2*)
6930
7804
      # This hack is so that the source file can tell whether it is being
6954
7828
      lt_prog_compiler_static='-non_shared'
6955
7829
      ;;
6956
7830
 
6957
 
    newsos6)
6958
 
      lt_prog_compiler_pic='-KPIC'
6959
 
      lt_prog_compiler_static='-Bstatic'
6960
 
      ;;
6961
 
 
6962
7831
    linux* | k*bsd*-gnu)
6963
7832
      case $cc_basename in
6964
 
      icc* | ecc*)
 
7833
      icc* | ecc* | ifort*)
6965
7834
        lt_prog_compiler_wl='-Wl,'
6966
7835
        lt_prog_compiler_pic='-KPIC'
6967
7836
        lt_prog_compiler_static='-static'
6978
7847
        # All Alpha code is PIC.
6979
7848
        lt_prog_compiler_static='-non_shared'
6980
7849
        ;;
 
7850
      xl*)
 
7851
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
7852
        lt_prog_compiler_wl='-Wl,'
 
7853
        lt_prog_compiler_pic='-qpic'
 
7854
        lt_prog_compiler_static='-qstaticlink'
 
7855
        ;;
6981
7856
      *)
6982
 
        case `$CC -V 2>&1 | sed 5q` in
 
7857
        case `$CC -V 2>&1 | sed 5q` in
6983
7858
        *Sun\ C*)
6984
7859
          # Sun C 5.9
6985
7860
          lt_prog_compiler_pic='-KPIC'
6997
7872
      esac
6998
7873
      ;;
6999
7874
 
 
7875
    newsos6)
 
7876
      lt_prog_compiler_pic='-KPIC'
 
7877
      lt_prog_compiler_static='-Bstatic'
 
7878
      ;;
 
7879
 
 
7880
    *nto* | *qnx*)
 
7881
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
7882
      # it will coredump.
 
7883
      lt_prog_compiler_pic='-fPIC -shared'
 
7884
      ;;
 
7885
 
7000
7886
    osf3* | osf4* | osf5*)
7001
7887
      lt_prog_compiler_wl='-Wl,'
7002
7888
      # All OSF/1 code is PIC.
7059
7945
    esac
7060
7946
  fi
7061
7947
 
 
7948
case $host_os in
 
7949
  # For platforms which do not support PIC, -DPIC is meaningless:
 
7950
  *djgpp*)
 
7951
    lt_prog_compiler_pic=
 
7952
    ;;
 
7953
  *)
 
7954
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
7955
    ;;
 
7956
esac
7062
7957
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7063
7958
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7064
7959
 
 
7960
 
 
7961
 
 
7962
 
 
7963
 
 
7964
 
7065
7965
#
7066
7966
# Check to make sure the PIC flag actually works.
7067
7967
#
7068
7968
if test -n "$lt_prog_compiler_pic"; then
7069
 
 
7070
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
7969
  { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7071
7970
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7072
7971
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7073
7972
  echo $ECHO_N "(cached) $ECHO_C" >&6
7074
7973
else
7075
7974
  lt_cv_prog_compiler_pic_works=no
7076
 
  ac_outfile=conftest.$ac_objext
 
7975
   ac_outfile=conftest.$ac_objext
7077
7976
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7078
7977
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7079
7978
   # Insert the option either (1) after the last *FLAGS variable, or
7085
7984
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7086
7985
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7087
7986
   -e 's:$: $lt_compiler_flag:'`
7088
 
   (eval echo "\"\$as_me:7088: $lt_compile\"" >&5)
 
7987
   (eval echo "\"\$as_me:7987: $lt_compile\"" >&5)
7089
7988
   (eval "$lt_compile" 2>conftest.err)
7090
7989
   ac_status=$?
7091
7990
   cat conftest.err >&5
7092
 
   echo "$as_me:7092: \$? = $ac_status" >&5
 
7991
   echo "$as_me:7991: \$? = $ac_status" >&5
7093
7992
   if (exit $ac_status) && test -s "$ac_outfile"; then
7094
7993
     # The compiler can only warn and ignore the option if not recognized
7095
7994
     # So say no if there are warnings other than the usual output.
7096
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
7995
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7097
7996
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7098
7997
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7099
7998
       lt_cv_prog_compiler_pic_works=yes
7100
7999
     fi
7101
8000
   fi
7102
 
   $rm conftest*
 
8001
   $RM conftest*
7103
8002
 
7104
8003
fi
7105
8004
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7116
8015
fi
7117
8016
 
7118
8017
fi
7119
 
case $host_os in
7120
 
  # For platforms which do not support PIC, -DPIC is meaningless:
7121
 
  *djgpp*)
7122
 
    lt_prog_compiler_pic=
7123
 
    ;;
7124
 
  *)
7125
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7126
 
    ;;
7127
 
esac
 
8018
 
 
8019
 
 
8020
 
 
8021
 
 
8022
 
7128
8023
 
7129
8024
#
7130
8025
# Check to make sure the static flag actually works.
7145
8040
     if test -s conftest.err; then
7146
8041
       # Append any errors to the config.log.
7147
8042
       cat conftest.err 1>&5
7148
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
8043
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7149
8044
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7150
8045
       if diff conftest.exp conftest.er2 >/dev/null; then
7151
8046
         lt_cv_prog_compiler_static_works=yes
7154
8049
       lt_cv_prog_compiler_static_works=yes
7155
8050
     fi
7156
8051
   fi
7157
 
   $rm -r conftest*
 
8052
   $RM -r conftest*
7158
8053
   LDFLAGS="$save_LDFLAGS"
7159
8054
 
7160
8055
fi
7168
8063
fi
7169
8064
 
7170
8065
 
7171
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7172
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7173
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7174
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7175
 
else
7176
 
  lt_cv_prog_compiler_c_o=no
7177
 
   $rm -r conftest 2>/dev/null
7178
 
   mkdir conftest
7179
 
   cd conftest
7180
 
   mkdir out
7181
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7182
 
 
7183
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
7184
 
   # Insert the option either (1) after the last *FLAGS variable, or
7185
 
   # (2) before a word containing "conftest.", or (3) at the end.
7186
 
   # Note that $ac_compile itself does not contain backslashes and begins
7187
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7188
 
   lt_compile=`echo "$ac_compile" | $SED \
7189
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7190
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7191
 
   -e 's:$: $lt_compiler_flag:'`
7192
 
   (eval echo "\"\$as_me:7192: $lt_compile\"" >&5)
7193
 
   (eval "$lt_compile" 2>out/conftest.err)
7194
 
   ac_status=$?
7195
 
   cat out/conftest.err >&5
7196
 
   echo "$as_me:7196: \$? = $ac_status" >&5
7197
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7198
 
   then
7199
 
     # The compiler can only warn and ignore the option if not recognized
7200
 
     # So say no if there are warnings
7201
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7202
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7203
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7204
 
       lt_cv_prog_compiler_c_o=yes
7205
 
     fi
7206
 
   fi
7207
 
   chmod u+w . 2>&5
7208
 
   $rm conftest*
7209
 
   # SGI C++ compiler will create directory out/ii_files/ for
7210
 
   # template instantiation
7211
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
7212
 
   $rm out/* && rmdir out
7213
 
   cd ..
7214
 
   rmdir conftest
7215
 
   $rm conftest*
7216
 
 
7217
 
fi
7218
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7219
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
 
8066
 
 
8067
 
 
8068
 
 
8069
 
 
8070
 
 
8071
  { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8072
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
 
8073
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
8074
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8075
else
 
8076
  lt_cv_prog_compiler_c_o=no
 
8077
   $RM -r conftest 2>/dev/null
 
8078
   mkdir conftest
 
8079
   cd conftest
 
8080
   mkdir out
 
8081
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8082
 
 
8083
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
8084
   # Insert the option either (1) after the last *FLAGS variable, or
 
8085
   # (2) before a word containing "conftest.", or (3) at the end.
 
8086
   # Note that $ac_compile itself does not contain backslashes and begins
 
8087
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8088
   lt_compile=`echo "$ac_compile" | $SED \
 
8089
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8090
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8091
   -e 's:$: $lt_compiler_flag:'`
 
8092
   (eval echo "\"\$as_me:8092: $lt_compile\"" >&5)
 
8093
   (eval "$lt_compile" 2>out/conftest.err)
 
8094
   ac_status=$?
 
8095
   cat out/conftest.err >&5
 
8096
   echo "$as_me:8096: \$? = $ac_status" >&5
 
8097
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
8098
   then
 
8099
     # The compiler can only warn and ignore the option if not recognized
 
8100
     # So say no if there are warnings
 
8101
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8102
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
8103
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
8104
       lt_cv_prog_compiler_c_o=yes
 
8105
     fi
 
8106
   fi
 
8107
   chmod u+w . 2>&5
 
8108
   $RM conftest*
 
8109
   # SGI C++ compiler will create directory out/ii_files/ for
 
8110
   # template instantiation
 
8111
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
8112
   $RM out/* && rmdir out
 
8113
   cd ..
 
8114
   $RM -r conftest
 
8115
   $RM conftest*
 
8116
 
 
8117
fi
 
8118
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
8119
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
 
8120
 
 
8121
 
 
8122
 
 
8123
 
 
8124
 
 
8125
 
 
8126
  { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8127
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
 
8128
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
8129
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8130
else
 
8131
  lt_cv_prog_compiler_c_o=no
 
8132
   $RM -r conftest 2>/dev/null
 
8133
   mkdir conftest
 
8134
   cd conftest
 
8135
   mkdir out
 
8136
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8137
 
 
8138
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
8139
   # Insert the option either (1) after the last *FLAGS variable, or
 
8140
   # (2) before a word containing "conftest.", or (3) at the end.
 
8141
   # Note that $ac_compile itself does not contain backslashes and begins
 
8142
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8143
   lt_compile=`echo "$ac_compile" | $SED \
 
8144
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8145
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8146
   -e 's:$: $lt_compiler_flag:'`
 
8147
   (eval echo "\"\$as_me:8147: $lt_compile\"" >&5)
 
8148
   (eval "$lt_compile" 2>out/conftest.err)
 
8149
   ac_status=$?
 
8150
   cat out/conftest.err >&5
 
8151
   echo "$as_me:8151: \$? = $ac_status" >&5
 
8152
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
8153
   then
 
8154
     # The compiler can only warn and ignore the option if not recognized
 
8155
     # So say no if there are warnings
 
8156
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8157
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
8158
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
8159
       lt_cv_prog_compiler_c_o=yes
 
8160
     fi
 
8161
   fi
 
8162
   chmod u+w . 2>&5
 
8163
   $RM conftest*
 
8164
   # SGI C++ compiler will create directory out/ii_files/ for
 
8165
   # template instantiation
 
8166
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
8167
   $RM out/* && rmdir out
 
8168
   cd ..
 
8169
   $RM -r conftest
 
8170
   $RM conftest*
 
8171
 
 
8172
fi
 
8173
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
8174
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
 
8175
 
 
8176
 
7220
8177
 
7221
8178
 
7222
8179
hard_links="nottested"
7225
8182
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7226
8183
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7227
8184
  hard_links=yes
7228
 
  $rm conftest*
 
8185
  $RM conftest*
7229
8186
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7230
8187
  touch conftest.a
7231
8188
  ln conftest.a conftest.b 2>&5 || hard_links=no
7241
8198
  need_locks=no
7242
8199
fi
7243
8200
 
7244
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
8201
 
 
8202
 
 
8203
 
 
8204
 
 
8205
 
 
8206
  { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7245
8207
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7246
8208
 
7247
8209
  runpath_var=
7248
8210
  allow_undefined_flag=
7249
 
  enable_shared_with_static_runtimes=no
 
8211
  always_export_symbols=no
7250
8212
  archive_cmds=
7251
8213
  archive_expsym_cmds=
7252
 
  old_archive_From_new_cmds=
7253
 
  old_archive_from_expsyms_cmds=
 
8214
  compiler_needs_object=no
 
8215
  enable_shared_with_static_runtimes=no
7254
8216
  export_dynamic_flag_spec=
7255
 
  whole_archive_flag_spec=
7256
 
  thread_safe_flag_spec=
 
8217
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
8218
  hardcode_automatic=no
 
8219
  hardcode_direct=no
 
8220
  hardcode_direct_absolute=no
7257
8221
  hardcode_libdir_flag_spec=
7258
8222
  hardcode_libdir_flag_spec_ld=
7259
8223
  hardcode_libdir_separator=
7260
 
  hardcode_direct=no
7261
8224
  hardcode_minus_L=no
7262
8225
  hardcode_shlibpath_var=unsupported
 
8226
  inherit_rpath=no
7263
8227
  link_all_deplibs=unknown
7264
 
  hardcode_automatic=no
7265
8228
  module_cmds=
7266
8229
  module_expsym_cmds=
7267
 
  always_export_symbols=no
7268
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
8230
  old_archive_from_new_cmds=
 
8231
  old_archive_from_expsyms_cmds=
 
8232
  thread_safe_flag_spec=
 
8233
  whole_archive_flag_spec=
7269
8234
  # include_expsyms should be a list of space-separated symbols to be *always*
7270
8235
  # included in the symbol list
7271
8236
  include_expsyms=
7281
8246
  # preloaded symbol tables.
7282
8247
  # Exclude shared library initialization/finalization symbols.
7283
8248
  extract_expsyms_cmds=
7284
 
  # Just being paranoid about ensuring that cc_basename is set.
7285
 
  for cc_temp in $compiler""; do
7286
 
  case $cc_temp in
7287
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7288
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7289
 
    \-*) ;;
7290
 
    *) break;;
7291
 
  esac
7292
 
done
7293
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7294
8249
 
7295
8250
  case $host_os in
7296
8251
  cygwin* | mingw* | pw32*)
7319
8274
    # are reset later if shared libraries are not supported. Putting them
7320
8275
    # here allows them to be overridden if necessary.
7321
8276
    runpath_var=LD_RUN_PATH
7322
 
    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
 
8277
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7323
8278
    export_dynamic_flag_spec='${wl}--export-dynamic'
7324
8279
    # ancient GNU ld didn't support --whole-archive et. al.
7325
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
7326
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7327
 
      else
7328
 
        whole_archive_flag_spec=
 
8280
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
8281
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
8282
    else
 
8283
      whole_archive_flag_spec=
7329
8284
    fi
7330
8285
    supports_anon_versioning=no
7331
 
    case `$LD -v 2>/dev/null` in
 
8286
    case `$LD -v 2>&1` in
7332
8287
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7333
8288
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7334
8289
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7342
8297
      # On AIX/PPC, the GNU linker is very broken
7343
8298
      if test "$host_cpu" != ia64; then
7344
8299
        ld_shlibs=no
7345
 
        cat <<EOF 1>&2
 
8300
        cat <<_LT_EOF 1>&2
7346
8301
 
7347
8302
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
7348
8303
*** to be unable to reliably create shared libraries on AIX.
7350
8305
*** really care for shared libraries, you may want to modify your PATH
7351
8306
*** so that a non-GNU linker is found, and then restart.
7352
8307
 
7353
 
EOF
 
8308
_LT_EOF
7354
8309
      fi
7355
8310
      ;;
7356
8311
 
7357
8312
    amigaos*)
7358
 
      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)'
7359
 
      hardcode_libdir_flag_spec='-L$libdir'
7360
 
      hardcode_minus_L=yes
7361
 
 
7362
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7363
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
7364
 
      # to version 4, is to share data among multiple programs linked
7365
 
      # with the same dynamic library.  Since this doesn't match the
7366
 
      # behavior of shared libraries on other platforms, we can't use
7367
 
      # them.
7368
 
      ld_shlibs=no
 
8313
      case $host_cpu in
 
8314
      powerpc)
 
8315
            # see comment about AmigaOS4 .so support
 
8316
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8317
            archive_expsym_cmds=''
 
8318
        ;;
 
8319
      m68k)
 
8320
            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)'
 
8321
            hardcode_libdir_flag_spec='-L$libdir'
 
8322
            hardcode_minus_L=yes
 
8323
        ;;
 
8324
      esac
7369
8325
      ;;
7370
8326
 
7371
8327
    beos*)
7372
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
8328
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7373
8329
        allow_undefined_flag=unsupported
7374
8330
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7375
8331
        # support --undefined.  This deserves some investigation.  FIXME
7380
8336
      ;;
7381
8337
 
7382
8338
    cygwin* | mingw* | pw32*)
7383
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
8339
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7384
8340
      # as there is no search path for DLLs.
7385
8341
      hardcode_libdir_flag_spec='-L$libdir'
7386
8342
      allow_undefined_flag=unsupported
7387
8343
      always_export_symbols=no
7388
8344
      enable_shared_with_static_runtimes=yes
7389
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
8345
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7390
8346
 
7391
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 
8347
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7392
8348
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7393
8349
        # If the export-symbols file already is a .def file (1st line
7394
8350
        # is EXPORTS), use it as is; otherwise, prepend...
7419
8375
      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'
7420
8376
      ;;
7421
8377
 
7422
 
    gnu* | linux* | k*bsd*-gnu)
7423
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
8378
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
8379
      tmp_diet=no
 
8380
      if test "$host_os" = linux-dietlibc; then
 
8381
        case $cc_basename in
 
8382
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
8383
        esac
 
8384
      fi
 
8385
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
8386
         && test "$tmp_diet" = no
 
8387
      then
7424
8388
        tmp_addflag=
 
8389
        tmp_sharedflag='-shared'
7425
8390
        case $cc_basename,$host_cpu in
7426
 
        pgcc*)                          # Portland Group C compiler
7427
 
          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'
 
8391
        pgcc*)                          # Portland Group C compiler
 
8392
          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'
7428
8393
          tmp_addflag=' $pic_flag'
7429
8394
          ;;
7430
8395
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
7431
 
          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'
 
8396
          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'
7432
8397
          tmp_addflag=' $pic_flag -Mnomain' ;;
7433
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
8398
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
7434
8399
          tmp_addflag=' -i_dynamic' ;;
7435
8400
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
7436
8401
          tmp_addflag=' -i_dynamic -nofor_main' ;;
7437
8402
        ifc* | ifort*)                  # Intel Fortran compiler
7438
8403
          tmp_addflag=' -nofor_main' ;;
 
8404
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
8405
          tmp_sharedflag='-qmkshrobj'
 
8406
          tmp_addflag= ;;
7439
8407
        esac
7440
8408
        case `$CC -V 2>&1 | sed 5q` in
7441
8409
        *Sun\ C*)                       # Sun C 5.9
7442
 
          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'
 
8410
          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'
 
8411
          compiler_needs_object=yes
7443
8412
          tmp_sharedflag='-G' ;;
7444
8413
        *Sun\ F*)                       # Sun Fortran 8.3
7445
8414
          tmp_sharedflag='-G' ;;
7446
 
        *)
7447
 
          tmp_sharedflag='-shared' ;;
7448
8415
        esac
7449
8416
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7450
8417
 
7451
 
        if test $supports_anon_versioning = yes; then
7452
 
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
7453
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7454
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
7455
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7456
 
        fi
7457
 
        link_all_deplibs=no
 
8418
        if test "x$supports_anon_versioning" = xyes; then
 
8419
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
8420
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
8421
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
8422
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
8423
        fi
 
8424
 
 
8425
        case $cc_basename in
 
8426
        xlf*)
 
8427
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
8428
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
8429
          hardcode_libdir_flag_spec=
 
8430
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
8431
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
8432
          if test "x$supports_anon_versioning" = xyes; then
 
8433
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
8434
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
8435
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
8436
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
8437
          fi
 
8438
          ;;
 
8439
        esac
7458
8440
      else
7459
 
        ld_shlibs=no
 
8441
        ld_shlibs=no
7460
8442
      fi
7461
8443
      ;;
7462
8444
 
7463
8445
    netbsd* | netbsdelf*-gnu)
7464
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
8446
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7465
8447
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7466
8448
        wlarc=
7467
8449
      else
7471
8453
      ;;
7472
8454
 
7473
8455
    solaris*)
7474
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 
8456
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7475
8457
        ld_shlibs=no
7476
 
        cat <<EOF 1>&2
 
8458
        cat <<_LT_EOF 1>&2
7477
8459
 
7478
8460
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
7479
8461
*** create shared libraries on Solaris systems.  Therefore, libtool
7482
8464
*** your PATH or compiler configuration so that the native linker is
7483
8465
*** used, and then restart.
7484
8466
 
7485
 
EOF
7486
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
8467
_LT_EOF
 
8468
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7487
8469
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7488
8470
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7489
8471
      else
7507
8489
_LT_EOF
7508
8490
        ;;
7509
8491
        *)
7510
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7511
 
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7512
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7513
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
8492
          # For security reasons, it is highly recommended that you always
 
8493
          # use absolute paths for naming shared libraries, and exclude the
 
8494
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
8495
          # requires that you compile everything twice, which is a pain.
 
8496
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
8497
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
8498
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8499
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7514
8500
          else
7515
8501
            ld_shlibs=no
7516
8502
          fi
7526
8512
      ;;
7527
8513
 
7528
8514
    *)
7529
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
8515
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7530
8516
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7531
8517
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7532
8518
      else
7568
8554
      else
7569
8555
        # If we're using GNU nm, then we don't want the "-C" option.
7570
8556
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
7571
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
7572
 
          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'
 
8557
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
8558
          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'
7573
8559
        else
7574
 
          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'
 
8560
          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'
7575
8561
        fi
7576
8562
        aix_use_runtimelinking=no
7577
8563
 
7580
8566
        # need to do runtime linking.
7581
8567
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
7582
8568
          for ld_flag in $LDFLAGS; do
7583
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7584
 
            aix_use_runtimelinking=yes
7585
 
            break
7586
 
          fi
 
8569
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
8570
            aix_use_runtimelinking=yes
 
8571
            break
 
8572
          fi
7587
8573
          done
7588
8574
          ;;
7589
8575
        esac
7600
8586
 
7601
8587
      archive_cmds=''
7602
8588
      hardcode_direct=yes
 
8589
      hardcode_direct_absolute=yes
7603
8590
      hardcode_libdir_separator=':'
7604
8591
      link_all_deplibs=yes
 
8592
      file_list_spec='${wl}-f,'
7605
8593
 
7606
8594
      if test "$GCC" = yes; then
7607
8595
        case $host_os in aix4.[012]|aix4.[012].*)
7608
8596
        # We only want to do this on AIX 4.2 and lower, the check
7609
8597
        # below for broken collect2 doesn't work under 4.3+
7610
8598
          collect2name=`${CC} -print-prog-name=collect2`
7611
 
          if test -f "$collect2name" && \
7612
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
 
8599
          if test -f "$collect2name" &&
 
8600
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
7613
8601
          then
7614
 
          # We have reworked collect2
7615
 
          :
 
8602
          # We have reworked collect2
 
8603
          :
7616
8604
          else
7617
 
          # We have old collect2
7618
 
          hardcode_direct=unsupported
7619
 
          # It fails to find uninstalled libraries when the uninstalled
7620
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
7621
 
          # to unsupported forces relinking
7622
 
          hardcode_minus_L=yes
7623
 
          hardcode_libdir_flag_spec='-L$libdir'
7624
 
          hardcode_libdir_separator=
 
8605
          # We have old collect2
 
8606
          hardcode_direct=unsupported
 
8607
          # It fails to find uninstalled libraries when the uninstalled
 
8608
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
8609
          # to unsupported forces relinking
 
8610
          hardcode_minus_L=yes
 
8611
          hardcode_libdir_flag_spec='-L$libdir'
 
8612
          hardcode_libdir_separator=
7625
8613
          fi
7626
8614
          ;;
7627
8615
        esac
7629
8617
        if test "$aix_use_runtimelinking" = yes; then
7630
8618
          shared_flag="$shared_flag "'${wl}-G'
7631
8619
        fi
 
8620
        link_all_deplibs=no
7632
8621
      else
7633
8622
        # not using gcc
7634
8623
        if test "$host_cpu" = ia64; then
7635
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7636
 
        # chokes on -Wl,-G. The following line is correct:
 
8624
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
8625
        # chokes on -Wl,-G. The following line is correct:
7637
8626
          shared_flag='-G'
7638
8627
        else
7639
8628
          if test "$aix_use_runtimelinking" = yes; then
7651
8640
        # Warning - without using the other runtime loading flags (-brtl),
7652
8641
        # -berok will link without error, but may produce a broken library.
7653
8642
        allow_undefined_flag='-berok'
7654
 
       # Determine the default libpath from the value encoded in an empty executable.
7655
 
       cat >conftest.$ac_ext <<_ACEOF
 
8643
        # Determine the default libpath from the value encoded in an
 
8644
        # empty executable.
 
8645
        cat >conftest.$ac_ext <<_ACEOF
7656
8646
/* confdefs.h.  */
7657
8647
_ACEOF
7658
8648
cat confdefs.h >>conftest.$ac_ext
7709
8699
      conftest$ac_exeext conftest.$ac_ext
7710
8700
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7711
8701
 
7712
 
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7713
 
        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"
7714
 
       else
 
8702
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
8703
        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"
 
8704
      else
7715
8705
        if test "$host_cpu" = ia64; then
7716
8706
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
7717
8707
          allow_undefined_flag="-z nodefs"
7718
8708
          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"
7719
8709
        else
7720
 
         # Determine the default libpath from the value encoded in an empty executable.
 
8710
         # Determine the default libpath from the value encoded in an
 
8711
         # empty executable.
7721
8712
         cat >conftest.$ac_ext <<_ACEOF
7722
8713
/* confdefs.h.  */
7723
8714
_ACEOF
7790
8781
      ;;
7791
8782
 
7792
8783
    amigaos*)
7793
 
      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)'
7794
 
      hardcode_libdir_flag_spec='-L$libdir'
7795
 
      hardcode_minus_L=yes
7796
 
      # see comment about different semantics on the GNU ld section
7797
 
      ld_shlibs=no
 
8784
      case $host_cpu in
 
8785
      powerpc)
 
8786
            # see comment about AmigaOS4 .so support
 
8787
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8788
            archive_expsym_cmds=''
 
8789
        ;;
 
8790
      m68k)
 
8791
            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)'
 
8792
            hardcode_libdir_flag_spec='-L$libdir'
 
8793
            hardcode_minus_L=yes
 
8794
        ;;
 
8795
      esac
7798
8796
      ;;
7799
8797
 
7800
8798
    bsdi[45]*)
7813
8811
      # Tell ltmain to make .dll files, not .so files.
7814
8812
      shrext_cmds=".dll"
7815
8813
      # FIXME: Setting linknames here is a bad hack.
7816
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
8814
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7817
8815
      # The linker will automatically build a .lib file if we build a DLL.
7818
 
      old_archive_From_new_cmds='true'
 
8816
      old_archive_from_new_cmds='true'
7819
8817
      # FIXME: Should let the user specify the lib program.
7820
8818
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
7821
8819
      fix_srcfile_path='`cygpath -w "$srcfile"`'
7823
8821
      ;;
7824
8822
 
7825
8823
    darwin* | rhapsody*)
7826
 
      case $host_os in
7827
 
        rhapsody* | darwin1.[012])
7828
 
         allow_undefined_flag='${wl}-undefined ${wl}suppress'
7829
 
         ;;
7830
 
       *) # Darwin 1.3 on
7831
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7832
 
           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7833
 
         else
7834
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
7835
 
             10.[012])
7836
 
               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7837
 
               ;;
7838
 
             10.*)
7839
 
               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
7840
 
               ;;
7841
 
           esac
7842
 
         fi
7843
 
         ;;
7844
 
      esac
7845
 
      archive_cmds_need_lc=no
7846
 
      hardcode_direct=no
7847
 
      hardcode_automatic=yes
7848
 
      hardcode_shlibpath_var=unsupported
7849
 
      whole_archive_flag_spec=''
7850
 
      link_all_deplibs=yes
7851
 
    if test "$GCC" = yes ; then
7852
 
        output_verbose_link_cmd='echo'
7853
 
        archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
7854
 
        module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
7855
 
        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}"
7856
 
        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}"
7857
 
    else
7858
 
      case $cc_basename in
7859
 
        xlc*)
7860
 
         output_verbose_link_cmd='echo'
7861
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
7862
 
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7863
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7864
 
         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}'
7865
 
          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}'
7866
 
          ;;
7867
 
       *)
7868
 
         ld_shlibs=no
7869
 
          ;;
7870
 
      esac
7871
 
    fi
 
8824
 
 
8825
 
 
8826
  archive_cmds_need_lc=no
 
8827
  hardcode_direct=no
 
8828
  hardcode_automatic=yes
 
8829
  hardcode_shlibpath_var=unsupported
 
8830
  whole_archive_flag_spec=''
 
8831
  link_all_deplibs=yes
 
8832
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
8833
  if test "$GCC" = "yes"; then
 
8834
    output_verbose_link_cmd=echo
 
8835
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
8836
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
8837
    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}"
 
8838
    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}"
 
8839
 
 
8840
  else
 
8841
  ld_shlibs=no
 
8842
  fi
 
8843
 
7872
8844
      ;;
7873
8845
 
7874
8846
    dgux*)
7910
8882
 
7911
8883
    hpux9*)
7912
8884
      if test "$GCC" = yes; then
7913
 
        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'
 
8885
        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'
7914
8886
      else
7915
 
        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'
 
8887
        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'
7916
8888
      fi
7917
8889
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7918
8890
      hardcode_libdir_separator=:
7932
8904
      fi
7933
8905
      if test "$with_gnu_ld" = no; then
7934
8906
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
8907
        hardcode_libdir_flag_spec_ld='+b $libdir'
7935
8908
        hardcode_libdir_separator=:
7936
 
 
7937
8909
        hardcode_direct=yes
 
8910
        hardcode_direct_absolute=yes
7938
8911
        export_dynamic_flag_spec='${wl}-E'
7939
 
 
7940
8912
        # hardcode_minus_L: Not really in the search PATH,
7941
8913
        # but as the default location of the library.
7942
8914
        hardcode_minus_L=yes
7975
8947
 
7976
8948
        case $host_cpu in
7977
8949
        hppa*64*|ia64*)
7978
 
          hardcode_libdir_flag_spec_ld='+b $libdir'
7979
8950
          hardcode_direct=no
7980
8951
          hardcode_shlibpath_var=no
7981
8952
          ;;
7982
8953
        *)
7983
8954
          hardcode_direct=yes
 
8955
          hardcode_direct_absolute=yes
7984
8956
          export_dynamic_flag_spec='${wl}-E'
7985
8957
 
7986
8958
          # hardcode_minus_L: Not really in the search PATH,
7993
8965
 
7994
8966
    irix5* | irix6* | nonstopux*)
7995
8967
      if test "$GCC" = yes; then
7996
 
        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'
 
8968
        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'
 
8969
        # Try to use the -exported_symbol ld option, if it does not
 
8970
        # work, assume that -exports_file does not work either and
 
8971
        # implicitly export all symbols.
 
8972
        save_LDFLAGS="$LDFLAGS"
 
8973
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
8974
        cat >conftest.$ac_ext <<_ACEOF
 
8975
int foo(void) {}
 
8976
_ACEOF
 
8977
rm -f conftest.$ac_objext conftest$ac_exeext
 
8978
if { (ac_try="$ac_link"
 
8979
case "(($ac_try" in
 
8980
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8981
  *) ac_try_echo=$ac_try;;
 
8982
esac
 
8983
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8984
  (eval "$ac_link") 2>conftest.er1
 
8985
  ac_status=$?
 
8986
  grep -v '^ *+' conftest.er1 >conftest.err
 
8987
  rm -f conftest.er1
 
8988
  cat conftest.err >&5
 
8989
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8990
  (exit $ac_status); } && {
 
8991
         test -z "$ac_c_werror_flag" ||
 
8992
         test ! -s conftest.err
 
8993
       } && test -s conftest$ac_exeext &&
 
8994
       $as_test_x conftest$ac_exeext; then
 
8995
  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'
 
8996
 
 
8997
else
 
8998
  echo "$as_me: failed program was:" >&5
 
8999
sed 's/^/| /' conftest.$ac_ext >&5
 
9000
 
 
9001
 
 
9002
fi
 
9003
 
 
9004
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
9005
      conftest$ac_exeext conftest.$ac_ext
 
9006
        LDFLAGS="$save_LDFLAGS"
7997
9007
      else
7998
 
        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'
7999
 
        hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
9008
        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'
 
9009
        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'
8000
9010
      fi
 
9011
      archive_cmds_need_lc='no'
8001
9012
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8002
9013
      hardcode_libdir_separator=:
 
9014
      inherit_rpath=yes
8003
9015
      link_all_deplibs=yes
8004
9016
      ;;
8005
9017
 
8006
9018
    netbsd* | netbsdelf*-gnu)
8007
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
9019
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8008
9020
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8009
9021
      else
8010
9022
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8022
9034
      hardcode_shlibpath_var=no
8023
9035
      ;;
8024
9036
 
 
9037
    *nto* | *qnx*)
 
9038
      ;;
 
9039
 
8025
9040
    openbsd*)
8026
9041
      if test -f /usr/libexec/ld.so; then
8027
9042
        hardcode_direct=yes
8028
9043
        hardcode_shlibpath_var=no
8029
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
9044
        hardcode_direct_absolute=yes
 
9045
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8030
9046
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8031
9047
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8032
9048
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8042
9058
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8043
9059
             ;;
8044
9060
          esac
8045
 
        fi
 
9061
        fi
8046
9062
      else
8047
9063
        ld_shlibs=no
8048
9064
      fi
8052
9068
      hardcode_libdir_flag_spec='-L$libdir'
8053
9069
      hardcode_minus_L=yes
8054
9070
      allow_undefined_flag=unsupported
8055
 
      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'
8056
 
      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
9071
      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'
 
9072
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8057
9073
      ;;
8058
9074
 
8059
9075
    osf3*)
8060
9076
      if test "$GCC" = yes; then
8061
9077
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8062
 
        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'
 
9078
        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'
8063
9079
      else
8064
9080
        allow_undefined_flag=' -expect_unresolved \*'
8065
 
        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'
 
9081
        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'
8066
9082
      fi
 
9083
      archive_cmds_need_lc='no'
8067
9084
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8068
9085
      hardcode_libdir_separator=:
8069
9086
      ;;
8071
9088
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
8072
9089
      if test "$GCC" = yes; then
8073
9090
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8074
 
        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'
 
9091
        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'
8075
9092
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8076
9093
      else
8077
9094
        allow_undefined_flag=' -expect_unresolved \*'
8078
 
        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'
8079
 
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8080
 
        $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'
 
9095
        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'
 
9096
        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~
 
9097
        $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'
8081
9098
 
8082
9099
        # Both c and cxx compiler support -rpath directly
8083
9100
        hardcode_libdir_flag_spec='-rpath $libdir'
8084
9101
      fi
 
9102
      archive_cmds_need_lc='no'
8085
9103
      hardcode_libdir_separator=:
8086
9104
      ;;
8087
9105
 
8088
9106
    solaris*)
8089
 
      no_undefined_flag=' -z text'
 
9107
      no_undefined_flag=' -z defs'
8090
9108
      if test "$GCC" = yes; then
8091
9109
        wlarc='${wl}'
8092
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8093
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8094
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 
9110
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9111
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9112
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8095
9113
      else
8096
 
        wlarc=''
8097
 
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8098
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8099
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 
9114
        case `$CC -V 2>&1` in
 
9115
        *"Compilers 5.0"*)
 
9116
          wlarc=''
 
9117
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9118
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9119
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
9120
          ;;
 
9121
        *)
 
9122
          wlarc='${wl}'
 
9123
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
9124
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9125
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
9126
          ;;
 
9127
        esac
8100
9128
      fi
8101
9129
      hardcode_libdir_flag_spec='-R$libdir'
8102
9130
      hardcode_shlibpath_var=no
8106
9134
        # The compiler driver will combine and reorder linker options,
8107
9135
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
8108
9136
        # but is careful enough not to reorder.
8109
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
9137
        # Supported since Solaris 2.6 (maybe 2.5.1?)
8110
9138
        if test "$GCC" = yes; then
8111
9139
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8112
9140
        else
8195
9223
      allow_undefined_flag='${wl}-z,nodefs'
8196
9224
      archive_cmds_need_lc=no
8197
9225
      hardcode_shlibpath_var=no
8198
 
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
9226
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
8199
9227
      hardcode_libdir_separator=':'
8200
9228
      link_all_deplibs=yes
8201
9229
      export_dynamic_flag_spec='${wl}-Bexport'
8202
9230
      runpath_var='LD_RUN_PATH'
8203
9231
 
8204
9232
      if test "$GCC" = yes; then
8205
 
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8206
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9233
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9234
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8207
9235
      else
8208
 
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8209
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9236
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9237
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8210
9238
      fi
8211
9239
      ;;
8212
9240
 
8220
9248
      ld_shlibs=no
8221
9249
      ;;
8222
9250
    esac
 
9251
 
 
9252
    if test x$host_vendor = xsni; then
 
9253
      case $host in
 
9254
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
9255
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
9256
        ;;
 
9257
      esac
 
9258
    fi
8223
9259
  fi
8224
9260
 
8225
9261
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8226
9262
echo "${ECHO_T}$ld_shlibs" >&6; }
8227
9263
test "$ld_shlibs" = no && can_build_shared=no
8228
9264
 
 
9265
with_gnu_ld=$with_gnu_ld
 
9266
 
 
9267
 
 
9268
 
 
9269
 
 
9270
 
 
9271
 
 
9272
 
 
9273
 
 
9274
 
 
9275
 
 
9276
 
 
9277
 
 
9278
 
 
9279
 
 
9280
 
8229
9281
#
8230
9282
# Do we need to explicitly link libc?
8231
9283
#
8245
9297
      # to ld, don't add -lc before -lgcc.
8246
9298
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8247
9299
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8248
 
      $rm conftest*
 
9300
      $RM conftest*
8249
9301
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8250
9302
 
8251
9303
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8266
9318
        libname=conftest
8267
9319
        lt_save_allow_undefined_flag=$allow_undefined_flag
8268
9320
        allow_undefined_flag=
8269
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8270
 
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
9321
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
9322
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8271
9323
  ac_status=$?
8272
9324
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8273
9325
  (exit $ac_status); }
8280
9332
      else
8281
9333
        cat conftest.err 1>&5
8282
9334
      fi
8283
 
      $rm conftest*
 
9335
      $RM conftest*
8284
9336
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8285
9337
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8286
9338
      ;;
8289
9341
  ;;
8290
9342
esac
8291
9343
 
8292
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
9344
 
 
9345
 
 
9346
 
 
9347
 
 
9348
 
 
9349
 
 
9350
 
 
9351
 
 
9352
 
 
9353
 
 
9354
 
 
9355
 
 
9356
 
 
9357
 
 
9358
 
 
9359
 
 
9360
 
 
9361
 
 
9362
 
 
9363
 
 
9364
 
 
9365
 
 
9366
 
 
9367
 
 
9368
 
 
9369
 
 
9370
 
 
9371
 
 
9372
 
 
9373
 
 
9374
 
 
9375
 
 
9376
 
 
9377
 
 
9378
 
 
9379
 
 
9380
 
 
9381
 
 
9382
 
 
9383
 
 
9384
 
 
9385
 
 
9386
 
 
9387
 
 
9388
 
 
9389
 
 
9390
 
 
9391
 
 
9392
 
 
9393
 
 
9394
 
 
9395
 
 
9396
 
 
9397
 
 
9398
 
 
9399
 
 
9400
 
 
9401
 
 
9402
 
 
9403
 
 
9404
 
 
9405
 
 
9406
 
 
9407
 
 
9408
 
 
9409
 
 
9410
 
 
9411
 
 
9412
 
 
9413
 
 
9414
 
 
9415
 
 
9416
 
 
9417
 
 
9418
 
 
9419
 
 
9420
 
 
9421
 
 
9422
 
 
9423
 
 
9424
 
 
9425
 
 
9426
 
 
9427
 
 
9428
 
 
9429
 
 
9430
 
 
9431
 
 
9432
 
 
9433
 
 
9434
 
 
9435
 
 
9436
 
 
9437
 
 
9438
 
 
9439
 
 
9440
 
 
9441
 
 
9442
 
 
9443
 
 
9444
 
 
9445
 
 
9446
 
 
9447
 
 
9448
 
 
9449
 
 
9450
 
 
9451
 
 
9452
 
 
9453
 
 
9454
 
 
9455
 
 
9456
 
 
9457
 
 
9458
 
 
9459
 
 
9460
 
 
9461
 
 
9462
 
 
9463
 
 
9464
 
 
9465
 
 
9466
 
 
9467
 
 
9468
 
 
9469
 
 
9470
 
 
9471
 
 
9472
 
 
9473
 
 
9474
 
 
9475
 
 
9476
 
 
9477
 
 
9478
 
 
9479
 
 
9480
 
 
9481
 
 
9482
 
 
9483
 
 
9484
 
 
9485
 
 
9486
 
 
9487
 
 
9488
 
 
9489
 
 
9490
 
 
9491
 
 
9492
 
 
9493
 
 
9494
 
 
9495
 
 
9496
 
 
9497
 
 
9498
 
 
9499
 
 
9500
  { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8293
9501
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8294
 
library_names_spec=
8295
 
libname_spec='lib$name'
8296
 
soname_spec=
8297
 
shrext_cmds=".so"
8298
 
postinstall_cmds=
8299
 
postuninstall_cmds=
8300
 
finish_cmds=
8301
 
finish_eval=
8302
 
shlibpath_var=
8303
 
shlibpath_overrides_runpath=unknown
8304
 
version_type=none
8305
 
dynamic_linker="$host_os ld.so"
8306
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
8307
9502
 
8308
9503
if test "$GCC" = yes; then
8309
9504
  case $host_os in
8311
9506
    *) lt_awk_arg="/^libraries:/" ;;
8312
9507
  esac
8313
9508
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8314
 
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
 
9509
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
8315
9510
    # if the path contains ";" then we assume it to be the separator
8316
9511
    # otherwise default to the standard path separator (i.e. ":") - it is
8317
9512
    # assumed that no part of a normal pathname contains ";" but that should
8318
9513
    # okay in the real world where ";" in dirpaths is itself problematic.
8319
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 
9514
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8320
9515
  else
8321
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
9516
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
8322
9517
  fi
8323
9518
  # Ok, now we have the path, separated by spaces, we can step through it
8324
9519
  # and add multilib dir if necessary.
8332
9527
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
8333
9528
    fi
8334
9529
  done
8335
 
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
 
9530
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8336
9531
BEGIN {RS=" "; FS="/|\n";} {
8337
9532
  lt_foo="";
8338
9533
  lt_count=0;
8352
9547
  if (lt_foo != "") { lt_freq[lt_foo]++; }
8353
9548
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
8354
9549
}'`
8355
 
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
 
9550
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
8356
9551
else
8357
9552
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8358
9553
fi
 
9554
library_names_spec=
 
9555
libname_spec='lib$name'
 
9556
soname_spec=
 
9557
shrext_cmds=".so"
 
9558
postinstall_cmds=
 
9559
postuninstall_cmds=
 
9560
finish_cmds=
 
9561
finish_eval=
 
9562
shlibpath_var=
 
9563
shlibpath_overrides_runpath=unknown
 
9564
version_type=none
 
9565
dynamic_linker="$host_os ld.so"
 
9566
sys_lib_dlsearch_path_spec="/lib /usr/lib"
8359
9567
need_lib_prefix=unknown
8360
9568
hardcode_into_libs=no
8361
9569
 
8392
9600
      aix4 | aix4.[01] | aix4.[01].*)
8393
9601
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8394
9602
           echo ' yes '
8395
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
9603
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
8396
9604
        :
8397
9605
      else
8398
9606
        can_build_shared=no
8418
9626
  ;;
8419
9627
 
8420
9628
amigaos*)
8421
 
  library_names_spec='$libname.ixlibrary $libname.a'
8422
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
8423
 
  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'
 
9629
  case $host_cpu in
 
9630
  powerpc)
 
9631
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
9632
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
9633
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9634
    ;;
 
9635
  m68k)
 
9636
    library_names_spec='$libname.ixlibrary $libname.a'
 
9637
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
9638
    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'
 
9639
    ;;
 
9640
  esac
8424
9641
  ;;
8425
9642
 
8426
9643
beos*)
8454
9671
    library_names_spec='$libname.dll.a'
8455
9672
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
8456
9673
    postinstall_cmds='base_file=`basename \${file}`~
8457
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 
9674
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8458
9675
      dldir=$destdir/`dirname \$dlpath`~
8459
9676
      test -d \$dldir || mkdir -p \$dldir~
8460
9677
      $install_prog $dir/$dlname \$dldir/$dlname~
8461
 
      chmod a+x \$dldir/$dlname'
 
9678
      chmod a+x \$dldir/$dlname~
 
9679
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
9680
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
9681
      fi'
8462
9682
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8463
9683
      dlpath=$dir/\$dldll~
8464
 
       $rm \$dlpath'
 
9684
       $RM \$dlpath'
8465
9685
    shlibpath_overrides_runpath=yes
8466
9686
 
8467
9687
    case $host_os in
8473
9693
    mingw*)
8474
9694
      # MinGW DLLs use traditional 'lib' prefix
8475
9695
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8476
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8477
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 
9696
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
9697
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
8478
9698
        # It is most probably a Windows format PATH printed by
8479
9699
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
8480
9700
        # path with ; separators, and with drive letters. We can handle the
8481
9701
        # drive letters (cygwin fileutils understands them), so leave them,
8482
9702
        # especially as we might pass files found there to a mingw objdump,
8483
9703
        # which wouldn't understand a cygwinified path. Ahh.
8484
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
9704
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8485
9705
      else
8486
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
9706
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
8487
9707
      fi
8488
9708
      ;;
8489
9709
    pw32*)
8507
9727
  version_type=darwin
8508
9728
  need_lib_prefix=no
8509
9729
  need_version=no
8510
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
9730
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8511
9731
  soname_spec='${libname}${release}${major}$shared_ext'
8512
9732
  shlibpath_overrides_runpath=yes
8513
9733
  shlibpath_var=DYLD_LIBRARY_PATH
8606
9826
    fi
8607
9827
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8608
9828
    ;;
8609
 
   hppa*64*)
8610
 
     shrext_cmds='.sl'
8611
 
     hardcode_into_libs=yes
8612
 
     dynamic_linker="$host_os dld.sl"
8613
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
8614
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8615
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8616
 
     soname_spec='${libname}${release}${shared_ext}$major'
8617
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8618
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8619
 
     ;;
8620
 
   *)
 
9829
  hppa*64*)
 
9830
    shrext_cmds='.sl'
 
9831
    hardcode_into_libs=yes
 
9832
    dynamic_linker="$host_os dld.sl"
 
9833
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
9834
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
9835
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9836
    soname_spec='${libname}${release}${shared_ext}$major'
 
9837
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
9838
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
9839
    ;;
 
9840
  *)
8621
9841
    shrext_cmds='.sl'
8622
9842
    dynamic_linker="$host_os dld.sl"
8623
9843
    shlibpath_var=SHLIB_PATH
8694
9914
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8695
9915
  shlibpath_var=LD_LIBRARY_PATH
8696
9916
  shlibpath_overrides_runpath=no
 
9917
  # Some binutils ld are patched to set DT_RUNPATH
 
9918
  save_LDFLAGS=$LDFLAGS
 
9919
  save_libdir=$libdir
 
9920
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
9921
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
9922
  cat >conftest.$ac_ext <<_ACEOF
 
9923
/* confdefs.h.  */
 
9924
_ACEOF
 
9925
cat confdefs.h >>conftest.$ac_ext
 
9926
cat >>conftest.$ac_ext <<_ACEOF
 
9927
/* end confdefs.h.  */
 
9928
 
 
9929
int
 
9930
main ()
 
9931
{
 
9932
 
 
9933
  ;
 
9934
  return 0;
 
9935
}
 
9936
_ACEOF
 
9937
rm -f conftest.$ac_objext conftest$ac_exeext
 
9938
if { (ac_try="$ac_link"
 
9939
case "(($ac_try" in
 
9940
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9941
  *) ac_try_echo=$ac_try;;
 
9942
esac
 
9943
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9944
  (eval "$ac_link") 2>conftest.er1
 
9945
  ac_status=$?
 
9946
  grep -v '^ *+' conftest.er1 >conftest.err
 
9947
  rm -f conftest.er1
 
9948
  cat conftest.err >&5
 
9949
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9950
  (exit $ac_status); } && {
 
9951
         test -z "$ac_c_werror_flag" ||
 
9952
         test ! -s conftest.err
 
9953
       } && test -s conftest$ac_exeext &&
 
9954
       $as_test_x conftest$ac_exeext; then
 
9955
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 
9956
  shlibpath_overrides_runpath=yes
 
9957
fi
 
9958
 
 
9959
else
 
9960
  echo "$as_me: failed program was:" >&5
 
9961
sed 's/^/| /' conftest.$ac_ext >&5
 
9962
 
 
9963
 
 
9964
fi
 
9965
 
 
9966
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
9967
      conftest$ac_exeext conftest.$ac_ext
 
9968
  LDFLAGS=$save_LDFLAGS
 
9969
  libdir=$save_libdir
 
9970
 
8697
9971
  # This implies no fast_install, which is unacceptable.
8698
9972
  # Some rework will be needed to allow for fast_install
8699
9973
  # before this can be enabled.
8701
9975
 
8702
9976
  # Append ld.so.conf contents to the search path
8703
9977
  if test -f /etc/ld.so.conf; then
8704
 
    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' ' '`
 
9978
    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' ' '`
8705
9979
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
8706
9980
  fi
8707
9981
 
8730
10004
  version_type=sunos
8731
10005
  need_lib_prefix=no
8732
10006
  need_version=no
8733
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
10007
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8734
10008
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8735
10009
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8736
10010
    dynamic_linker='NetBSD (a.out) ld.so'
8751
10025
  shlibpath_overrides_runpath=yes
8752
10026
  ;;
8753
10027
 
8754
 
nto-qnx*)
8755
 
  version_type=linux
 
10028
*nto* | *qnx*)
 
10029
  version_type=qnx
8756
10030
  need_lib_prefix=no
8757
10031
  need_version=no
8758
10032
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8759
10033
  soname_spec='${libname}${release}${shared_ext}$major'
8760
10034
  shlibpath_var=LD_LIBRARY_PATH
8761
 
  shlibpath_overrides_runpath=yes
 
10035
  shlibpath_overrides_runpath=no
 
10036
  hardcode_into_libs=yes
 
10037
  dynamic_linker='ldqnx.so'
8762
10038
  ;;
8763
10039
 
8764
10040
openbsd*)
8767
10043
  need_lib_prefix=no
8768
10044
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8769
10045
  case $host_os in
8770
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
8771
 
    *)                         need_version=no  ;;
 
10046
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
10047
    *)                          need_version=no  ;;
8772
10048
  esac
8773
10049
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8774
10050
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8775
10051
  shlibpath_var=LD_LIBRARY_PATH
8776
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
10052
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8777
10053
    case $host_os in
8778
10054
      openbsd2.[89] | openbsd2.[89].*)
8779
10055
        shlibpath_overrides_runpath=no
8845
10121
    sni)
8846
10122
      shlibpath_overrides_runpath=no
8847
10123
      need_lib_prefix=no
8848
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
8849
10124
      runpath_var=LD_RUN_PATH
8850
10125
      ;;
8851
10126
    siemens)
8876
10151
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8877
10152
  soname_spec='${libname}${release}${shared_ext}$major'
8878
10153
  shlibpath_var=LD_LIBRARY_PATH
 
10154
  shlibpath_overrides_runpath=yes
8879
10155
  hardcode_into_libs=yes
8880
10156
  if test "$with_gnu_ld" = yes; then
8881
10157
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
8882
 
    shlibpath_overrides_runpath=no
8883
10158
  else
8884
10159
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
8885
 
    shlibpath_overrides_runpath=yes
8886
10160
    case $host_os in
8887
10161
      sco3.2v5*)
8888
10162
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
8892
10166
  sys_lib_dlsearch_path_spec='/usr/lib'
8893
10167
  ;;
8894
10168
 
 
10169
tpf*)
 
10170
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
10171
  version_type=linux
 
10172
  need_lib_prefix=no
 
10173
  need_version=no
 
10174
  library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10175
  shlibpath_var=LD_LIBRARY_PATH
 
10176
  shlibpath_overrides_runpath=no
 
10177
  hardcode_into_libs=yes
 
10178
  ;;
 
10179
 
8895
10180
uts4*)
8896
10181
  version_type=linux
8897
10182
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8907
10192
echo "${ECHO_T}$dynamic_linker" >&6; }
8908
10193
test "$dynamic_linker" = no && can_build_shared=no
8909
10194
 
 
10195
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
10196
if test "$GCC" = yes; then
 
10197
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
10198
fi
 
10199
 
8910
10200
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
8911
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8912
 
else
8913
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
10201
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
8914
10202
fi
8915
 
 
8916
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
8917
10203
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
8918
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8919
 
else
8920
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
8921
 
fi
8922
 
 
8923
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
8924
 
 
8925
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
8926
 
if test "$GCC" = yes; then
8927
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8928
 
fi
8929
 
 
8930
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
10204
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
10205
fi
 
10206
 
 
10207
 
 
10208
 
 
10209
 
 
10210
 
 
10211
 
 
10212
 
 
10213
 
 
10214
 
 
10215
 
 
10216
 
 
10217
 
 
10218
 
 
10219
 
 
10220
 
 
10221
 
 
10222
 
 
10223
 
 
10224
 
 
10225
 
 
10226
 
 
10227
 
 
10228
 
 
10229
 
 
10230
 
 
10231
 
 
10232
 
 
10233
 
 
10234
 
 
10235
 
 
10236
 
 
10237
 
 
10238
 
 
10239
 
 
10240
 
 
10241
 
 
10242
 
 
10243
 
 
10244
 
 
10245
 
 
10246
 
 
10247
 
 
10248
 
 
10249
 
 
10250
 
 
10251
 
 
10252
 
 
10253
 
 
10254
 
 
10255
 
 
10256
 
 
10257
 
 
10258
 
 
10259
 
 
10260
 
 
10261
 
 
10262
 
 
10263
 
 
10264
 
 
10265
 
 
10266
 
 
10267
 
 
10268
 
 
10269
 
 
10270
 
 
10271
 
 
10272
 
 
10273
 
 
10274
 
 
10275
 
 
10276
 
 
10277
 
 
10278
 
 
10279
 
 
10280
 
 
10281
 
 
10282
 
 
10283
 
 
10284
 
 
10285
 
 
10286
 
 
10287
 
 
10288
 
 
10289
 
 
10290
 
 
10291
 
 
10292
 
 
10293
  { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8931
10294
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
8932
10295
hardcode_action=
8933
 
if test -n "$hardcode_libdir_flag_spec" || \
8934
 
   test -n "$runpath_var" || \
 
10296
if test -n "$hardcode_libdir_flag_spec" ||
 
10297
   test -n "$runpath_var" ||
8935
10298
   test "X$hardcode_automatic" = "Xyes" ; then
8936
10299
 
8937
 
  # We can hardcode non-existant directories.
 
10300
  # We can hardcode non-existent directories.
8938
10301
  if test "$hardcode_direct" != no &&
8939
10302
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
8940
10303
     # have to relink, otherwise we might link with an installed library
8941
10304
     # when we should be linking with a yet-to-be-installed one
8942
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
10305
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
8943
10306
     test "$hardcode_minus_L" != no; then
8944
10307
    # Linking always hardcodes the temporary library directory.
8945
10308
    hardcode_action=relink
8955
10318
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
8956
10319
echo "${ECHO_T}$hardcode_action" >&6; }
8957
10320
 
8958
 
if test "$hardcode_action" = relink; then
 
10321
if test "$hardcode_action" = relink ||
 
10322
   test "$inherit_rpath" = yes; then
8959
10323
  # Fast installation is not supported
8960
10324
  enable_fast_install=no
8961
10325
elif test "$shlibpath_overrides_runpath" = yes ||
8964
10328
  enable_fast_install=needless
8965
10329
fi
8966
10330
 
8967
 
striplib=
8968
 
old_striplib=
8969
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8970
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
8971
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
8972
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
8973
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
8974
 
  { echo "$as_me:$LINENO: result: yes" >&5
8975
 
echo "${ECHO_T}yes" >&6; }
8976
 
else
8977
 
# FIXME - insert some real tests, host_os isn't really good enough
8978
 
  case $host_os in
8979
 
   darwin*)
8980
 
       if test -n "$STRIP" ; then
8981
 
         striplib="$STRIP -x"
8982
 
         old_striplib="$STRIP -S"
8983
 
         { echo "$as_me:$LINENO: result: yes" >&5
8984
 
echo "${ECHO_T}yes" >&6; }
8985
 
       else
8986
 
  { echo "$as_me:$LINENO: result: no" >&5
8987
 
echo "${ECHO_T}no" >&6; }
8988
 
fi
8989
 
       ;;
8990
 
   *)
8991
 
  { echo "$as_me:$LINENO: result: no" >&5
8992
 
echo "${ECHO_T}no" >&6; }
8993
 
    ;;
8994
 
  esac
8995
 
fi
8996
 
 
8997
 
if test "x$enable_dlopen" != xyes; then
 
10331
 
 
10332
 
 
10333
 
 
10334
 
 
10335
 
 
10336
  if test "x$enable_dlopen" != xyes; then
8998
10337
  enable_dlopen=unknown
8999
10338
  enable_dlopen_self=unknown
9000
10339
  enable_dlopen_self_static=unknown
9012
10351
  mingw* | pw32*)
9013
10352
    lt_cv_dlopen="LoadLibrary"
9014
10353
    lt_cv_dlopen_libs=
9015
 
   ;;
 
10354
    ;;
9016
10355
 
9017
10356
  cygwin*)
9018
10357
    lt_cv_dlopen="dlopen"
9019
10358
    lt_cv_dlopen_libs=
9020
 
   ;;
 
10359
    ;;
9021
10360
 
9022
10361
  darwin*)
9023
10362
  # if libdl is installed we need to link against it
9092
10431
 
9093
10432
fi
9094
10433
 
9095
 
   ;;
 
10434
    ;;
9096
10435
 
9097
10436
  *)
9098
10437
    { echo "$as_me:$LINENO: checking for shl_load" >&5
9565
10904
else
9566
10905
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9567
10906
  lt_status=$lt_dlunknown
9568
 
  cat > conftest.$ac_ext <<EOF
9569
 
#line 9569 "configure"
 
10907
  cat > conftest.$ac_ext <<_LT_EOF
 
10908
#line 10908 "configure"
9570
10909
#include "confdefs.h"
9571
10910
 
9572
10911
#if HAVE_DLFCN_H
9628
10967
 
9629
10968
    exit (status);
9630
10969
}
9631
 
EOF
 
10970
_LT_EOF
9632
10971
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9633
10972
  (eval $ac_link) 2>&5
9634
10973
  ac_status=$?
9665
11004
else
9666
11005
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9667
11006
  lt_status=$lt_dlunknown
9668
 
  cat > conftest.$ac_ext <<EOF
9669
 
#line 9669 "configure"
 
11007
  cat > conftest.$ac_ext <<_LT_EOF
 
11008
#line 11008 "configure"
9670
11009
#include "confdefs.h"
9671
11010
 
9672
11011
#if HAVE_DLFCN_H
9728
11067
 
9729
11068
    exit (status);
9730
11069
}
9731
 
EOF
 
11070
_LT_EOF
9732
11071
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9733
11072
  (eval $ac_link) 2>&5
9734
11073
  ac_status=$?
9772
11111
fi
9773
11112
 
9774
11113
 
9775
 
# Report which library types will actually be built
9776
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
11114
 
 
11115
 
 
11116
 
 
11117
 
 
11118
 
 
11119
 
 
11120
 
 
11121
 
 
11122
 
 
11123
 
 
11124
 
 
11125
 
 
11126
 
 
11127
 
 
11128
 
 
11129
striplib=
 
11130
old_striplib=
 
11131
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
11132
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
 
11133
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
11134
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
11135
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
11136
  { echo "$as_me:$LINENO: result: yes" >&5
 
11137
echo "${ECHO_T}yes" >&6; }
 
11138
else
 
11139
# FIXME - insert some real tests, host_os isn't really good enough
 
11140
  case $host_os in
 
11141
  darwin*)
 
11142
    if test -n "$STRIP" ; then
 
11143
      striplib="$STRIP -x"
 
11144
      old_striplib="$STRIP -S"
 
11145
      { echo "$as_me:$LINENO: result: yes" >&5
 
11146
echo "${ECHO_T}yes" >&6; }
 
11147
    else
 
11148
      { echo "$as_me:$LINENO: result: no" >&5
 
11149
echo "${ECHO_T}no" >&6; }
 
11150
    fi
 
11151
    ;;
 
11152
  *)
 
11153
    { echo "$as_me:$LINENO: result: no" >&5
 
11154
echo "${ECHO_T}no" >&6; }
 
11155
    ;;
 
11156
  esac
 
11157
fi
 
11158
 
 
11159
 
 
11160
 
 
11161
 
 
11162
 
 
11163
 
 
11164
 
 
11165
 
 
11166
 
 
11167
 
 
11168
 
 
11169
 
 
11170
  # Report which library types will actually be built
 
11171
  { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9777
11172
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
9778
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
11173
  { echo "$as_me:$LINENO: result: $can_build_shared" >&5
9779
11174
echo "${ECHO_T}$can_build_shared" >&6; }
9780
11175
 
9781
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
11176
  { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9782
11177
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
9783
 
test "$can_build_shared" = "no" && enable_shared=no
9784
 
 
9785
 
# On AIX, shared libraries and static libraries use the same namespace, and
9786
 
# are all built from PIC.
9787
 
case $host_os in
9788
 
aix3*)
9789
 
  test "$enable_shared" = yes && enable_static=no
9790
 
  if test -n "$RANLIB"; then
9791
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
9792
 
    postinstall_cmds='$RANLIB $lib'
9793
 
  fi
9794
 
  ;;
9795
 
 
9796
 
aix[4-9]*)
9797
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
11178
  test "$can_build_shared" = "no" && enable_shared=no
 
11179
 
 
11180
  # On AIX, shared libraries and static libraries use the same namespace, and
 
11181
  # are all built from PIC.
 
11182
  case $host_os in
 
11183
  aix3*)
9798
11184
    test "$enable_shared" = yes && enable_static=no
9799
 
  fi
9800
 
    ;;
9801
 
esac
9802
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
11185
    if test -n "$RANLIB"; then
 
11186
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
11187
      postinstall_cmds='$RANLIB $lib'
 
11188
    fi
 
11189
    ;;
 
11190
 
 
11191
  aix[4-9]*)
 
11192
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
11193
      test "$enable_shared" = yes && enable_static=no
 
11194
    fi
 
11195
    ;;
 
11196
  esac
 
11197
  { echo "$as_me:$LINENO: result: $enable_shared" >&5
9803
11198
echo "${ECHO_T}$enable_shared" >&6; }
9804
11199
 
9805
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
11200
  { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9806
11201
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
9807
 
# Make sure either enable_shared or enable_static is yes.
9808
 
test "$enable_shared" = yes || enable_static=yes
9809
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
11202
  # Make sure either enable_shared or enable_static is yes.
 
11203
  test "$enable_shared" = yes || enable_static=yes
 
11204
  { echo "$as_me:$LINENO: result: $enable_static" >&5
9810
11205
echo "${ECHO_T}$enable_static" >&6; }
9811
11206
 
9812
 
# The else clause should only fire when bootstrapping the
9813
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
9814
 
# with your package, and you will get complaints that there are
9815
 
# no rules to generate ltmain.sh.
9816
 
if test -f "$ltmain"; then
9817
 
  # See if we are running on zsh, and set the options which allow our commands through
9818
 
  # without removal of \ escapes.
9819
 
  if test -n "${ZSH_VERSION+set}" ; then
9820
 
    setopt NO_GLOB_SUBST
9821
 
  fi
9822
 
  # Now quote all the things that may contain metacharacters while being
9823
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
9824
 
  # variables and quote the copies for generation of the libtool script.
9825
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
9826
 
    SED SHELL STRIP \
9827
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9828
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9829
 
    deplibs_check_method reload_flag reload_cmds need_locks \
9830
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
9831
 
    lt_cv_sys_global_symbol_to_c_name_address \
9832
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
9833
 
    old_postinstall_cmds old_postuninstall_cmds \
9834
 
    compiler \
9835
 
    CC \
9836
 
    LD \
9837
 
    lt_prog_compiler_wl \
9838
 
    lt_prog_compiler_pic \
9839
 
    lt_prog_compiler_static \
9840
 
    lt_prog_compiler_no_builtin_flag \
9841
 
    export_dynamic_flag_spec \
9842
 
    thread_safe_flag_spec \
9843
 
    whole_archive_flag_spec \
9844
 
    enable_shared_with_static_runtimes \
9845
 
    old_archive_cmds \
9846
 
    old_archive_from_new_cmds \
9847
 
    predep_objects \
9848
 
    postdep_objects \
9849
 
    predeps \
9850
 
    postdeps \
9851
 
    compiler_lib_search_path \
9852
 
    compiler_lib_search_dirs \
9853
 
    archive_cmds \
9854
 
    archive_expsym_cmds \
9855
 
    postinstall_cmds \
9856
 
    postuninstall_cmds \
9857
 
    old_archive_from_expsyms_cmds \
9858
 
    allow_undefined_flag \
9859
 
    no_undefined_flag \
9860
 
    export_symbols_cmds \
9861
 
    hardcode_libdir_flag_spec \
9862
 
    hardcode_libdir_flag_spec_ld \
9863
 
    hardcode_libdir_separator \
9864
 
    hardcode_automatic \
9865
 
    module_cmds \
9866
 
    module_expsym_cmds \
9867
 
    lt_cv_prog_compiler_c_o \
9868
 
    fix_srcfile_path \
9869
 
    exclude_expsyms \
9870
 
    include_expsyms; do
9871
 
 
9872
 
    case $var in
9873
 
    old_archive_cmds | \
9874
 
    old_archive_from_new_cmds | \
9875
 
    archive_cmds | \
9876
 
    archive_expsym_cmds | \
9877
 
    module_cmds | \
9878
 
    module_expsym_cmds | \
9879
 
    old_archive_from_expsyms_cmds | \
9880
 
    export_symbols_cmds | \
9881
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
9882
 
    postinstall_cmds | postuninstall_cmds | \
9883
 
    old_postinstall_cmds | old_postuninstall_cmds | \
9884
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
9885
 
      # Double-quote double-evaled strings.
9886
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
9887
 
      ;;
9888
 
    *)
9889
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
9890
 
      ;;
9891
 
    esac
9892
 
  done
9893
 
 
9894
 
  case $lt_echo in
9895
 
  *'\$0 --fallback-echo"')
9896
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
9897
 
    ;;
9898
 
  esac
9899
 
 
9900
 
cfgfile="${ofile}T"
9901
 
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
9902
 
  $rm -f "$cfgfile"
9903
 
  { echo "$as_me:$LINENO: creating $ofile" >&5
9904
 
echo "$as_me: creating $ofile" >&6;}
9905
 
 
9906
 
  cat <<__EOF__ >> "$cfgfile"
9907
 
#! $SHELL
9908
 
 
9909
 
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
9910
 
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9911
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
9912
 
#
9913
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
9914
 
# Free Software Foundation, Inc.
9915
 
#
9916
 
# This file is part of GNU Libtool:
9917
 
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
9918
 
#
9919
 
# This program is free software; you can redistribute it and/or modify
9920
 
# it under the terms of the GNU General Public License as published by
9921
 
# the Free Software Foundation; either version 2 of the License, or
9922
 
# (at your option) any later version.
9923
 
#
9924
 
# This program is distributed in the hope that it will be useful, but
9925
 
# WITHOUT ANY WARRANTY; without even the implied warranty of
9926
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
9927
 
# General Public License for more details.
9928
 
#
9929
 
# You should have received a copy of the GNU General Public License
9930
 
# along with this program; if not, write to the Free Software
9931
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
9932
 
#
9933
 
# As a special exception to the GNU General Public License, if you
9934
 
# distribute this file as part of a program that contains a
9935
 
# configuration script generated by Autoconf, you may include it under
9936
 
# the same distribution terms that you use for the rest of that program.
9937
 
 
9938
 
# A sed program that does not truncate output.
9939
 
SED=$lt_SED
9940
 
 
9941
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
9942
 
Xsed="$SED -e 1s/^X//"
9943
 
 
9944
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
9945
 
# if CDPATH is set.
9946
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9947
 
 
9948
 
# The names of the tagged configurations supported by this script.
9949
 
available_tags=
9950
 
 
9951
 
# ### BEGIN LIBTOOL CONFIG
9952
 
 
9953
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
9954
 
 
9955
 
# Shell to use when invoking shell scripts.
9956
 
SHELL=$lt_SHELL
9957
 
 
9958
 
# Whether or not to build shared libraries.
9959
 
build_libtool_libs=$enable_shared
9960
 
 
9961
 
# Whether or not to build static libraries.
9962
 
build_old_libs=$enable_static
9963
 
 
9964
 
# Whether or not to add -lc for building shared libraries.
9965
 
build_libtool_need_lc=$archive_cmds_need_lc
9966
 
 
9967
 
# Whether or not to disallow shared libs when runtime libs are static
9968
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9969
 
 
9970
 
# Whether or not to optimize for fast installation.
9971
 
fast_install=$enable_fast_install
9972
 
 
9973
 
# The host system.
9974
 
host_alias=$host_alias
9975
 
host=$host
9976
 
host_os=$host_os
9977
 
 
9978
 
# The build system.
9979
 
build_alias=$build_alias
9980
 
build=$build
9981
 
build_os=$build_os
9982
 
 
9983
 
# An echo program that does not interpret backslashes.
9984
 
echo=$lt_echo
9985
 
 
9986
 
# The archiver.
9987
 
AR=$lt_AR
9988
 
AR_FLAGS=$lt_AR_FLAGS
9989
 
 
9990
 
# A C compiler.
9991
 
LTCC=$lt_LTCC
9992
 
 
9993
 
# LTCC compiler flags.
9994
 
LTCFLAGS=$lt_LTCFLAGS
9995
 
 
9996
 
# A language-specific compiler.
9997
 
CC=$lt_compiler
9998
 
 
9999
 
# Is the compiler the GNU C compiler?
10000
 
with_gcc=$GCC
10001
 
 
10002
 
# An ERE matcher.
10003
 
EGREP=$lt_EGREP
10004
 
 
10005
 
# The linker used to build libraries.
10006
 
LD=$lt_LD
10007
 
 
10008
 
# Whether we need hard or soft links.
10009
 
LN_S=$lt_LN_S
10010
 
 
10011
 
# A BSD-compatible nm program.
10012
 
NM=$lt_NM
10013
 
 
10014
 
# A symbol stripping program
10015
 
STRIP=$lt_STRIP
10016
 
 
10017
 
# Used to examine libraries when file_magic_cmd begins "file"
10018
 
MAGIC_CMD=$MAGIC_CMD
10019
 
 
10020
 
# Used on cygwin: DLL creation program.
10021
 
DLLTOOL="$DLLTOOL"
10022
 
 
10023
 
# Used on cygwin: object dumper.
10024
 
OBJDUMP="$OBJDUMP"
10025
 
 
10026
 
# Used on cygwin: assembler.
10027
 
AS="$AS"
10028
 
 
10029
 
# The name of the directory that contains temporary libtool files.
10030
 
objdir=$objdir
10031
 
 
10032
 
# How to create reloadable object files.
10033
 
reload_flag=$lt_reload_flag
10034
 
reload_cmds=$lt_reload_cmds
10035
 
 
10036
 
# How to pass a linker flag through the compiler.
10037
 
wl=$lt_lt_prog_compiler_wl
10038
 
 
10039
 
# Object file suffix (normally "o").
10040
 
objext="$ac_objext"
10041
 
 
10042
 
# Old archive suffix (normally "a").
10043
 
libext="$libext"
10044
 
 
10045
 
# Shared library suffix (normally ".so").
10046
 
shrext_cmds='$shrext_cmds'
10047
 
 
10048
 
# Executable file suffix (normally "").
10049
 
exeext="$exeext"
10050
 
 
10051
 
# Additional compiler flags for building library objects.
10052
 
pic_flag=$lt_lt_prog_compiler_pic
10053
 
pic_mode=$pic_mode
10054
 
 
10055
 
# What is the maximum length of a command?
10056
 
max_cmd_len=$lt_cv_sys_max_cmd_len
10057
 
 
10058
 
# Does compiler simultaneously support -c and -o options?
10059
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10060
 
 
10061
 
# Must we lock files when doing compilation?
10062
 
need_locks=$lt_need_locks
10063
 
 
10064
 
# Do we need the lib prefix for modules?
10065
 
need_lib_prefix=$need_lib_prefix
10066
 
 
10067
 
# Do we need a version for libraries?
10068
 
need_version=$need_version
10069
 
 
10070
 
# Whether dlopen is supported.
10071
 
dlopen_support=$enable_dlopen
10072
 
 
10073
 
# Whether dlopen of programs is supported.
10074
 
dlopen_self=$enable_dlopen_self
10075
 
 
10076
 
# Whether dlopen of statically linked programs is supported.
10077
 
dlopen_self_static=$enable_dlopen_self_static
10078
 
 
10079
 
# Compiler flag to prevent dynamic linking.
10080
 
link_static_flag=$lt_lt_prog_compiler_static
10081
 
 
10082
 
# Compiler flag to turn off builtin functions.
10083
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10084
 
 
10085
 
# Compiler flag to allow reflexive dlopens.
10086
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10087
 
 
10088
 
# Compiler flag to generate shared objects directly from archives.
10089
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
10090
 
 
10091
 
# Compiler flag to generate thread-safe objects.
10092
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec
10093
 
 
10094
 
# Library versioning type.
10095
 
version_type=$version_type
10096
 
 
10097
 
# Format of library name prefix.
10098
 
libname_spec=$lt_libname_spec
10099
 
 
10100
 
# List of archive names.  First name is the real one, the rest are links.
10101
 
# The last name is the one that the linker finds with -lNAME.
10102
 
library_names_spec=$lt_library_names_spec
10103
 
 
10104
 
# The coded name of the library, if different from the real name.
10105
 
soname_spec=$lt_soname_spec
10106
 
 
10107
 
# Commands used to build and install an old-style archive.
10108
 
RANLIB=$lt_RANLIB
10109
 
old_archive_cmds=$lt_old_archive_cmds
10110
 
old_postinstall_cmds=$lt_old_postinstall_cmds
10111
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
10112
 
 
10113
 
# Create an old-style archive from a shared archive.
10114
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10115
 
 
10116
 
# Create a temporary old-style archive to link instead of a shared archive.
10117
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10118
 
 
10119
 
# Commands used to build and install a shared archive.
10120
 
archive_cmds=$lt_archive_cmds
10121
 
archive_expsym_cmds=$lt_archive_expsym_cmds
10122
 
postinstall_cmds=$lt_postinstall_cmds
10123
 
postuninstall_cmds=$lt_postuninstall_cmds
10124
 
 
10125
 
# Commands used to build a loadable module (assumed same as above if empty)
10126
 
module_cmds=$lt_module_cmds
10127
 
module_expsym_cmds=$lt_module_expsym_cmds
10128
 
 
10129
 
# Commands to strip libraries.
10130
 
old_striplib=$lt_old_striplib
10131
 
striplib=$lt_striplib
10132
 
 
10133
 
# Dependencies to place before the objects being linked to create a
10134
 
# shared library.
10135
 
predep_objects=$lt_predep_objects
10136
 
 
10137
 
# Dependencies to place after the objects being linked to create a
10138
 
# shared library.
10139
 
postdep_objects=$lt_postdep_objects
10140
 
 
10141
 
# Dependencies to place before the objects being linked to create a
10142
 
# shared library.
10143
 
predeps=$lt_predeps
10144
 
 
10145
 
# Dependencies to place after the objects being linked to create a
10146
 
# shared library.
10147
 
postdeps=$lt_postdeps
10148
 
 
10149
 
# The directories searched by this compiler when creating a shared
10150
 
# library
10151
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
10152
 
 
10153
 
# The library search path used internally by the compiler when linking
10154
 
# a shared library.
10155
 
compiler_lib_search_path=$lt_compiler_lib_search_path
10156
 
 
10157
 
# Method to check whether dependent libraries are shared objects.
10158
 
deplibs_check_method=$lt_deplibs_check_method
10159
 
 
10160
 
# Command to use when deplibs_check_method == file_magic.
10161
 
file_magic_cmd=$lt_file_magic_cmd
10162
 
 
10163
 
# Flag that allows shared libraries with undefined symbols to be built.
10164
 
allow_undefined_flag=$lt_allow_undefined_flag
10165
 
 
10166
 
# Flag that forces no undefined symbols.
10167
 
no_undefined_flag=$lt_no_undefined_flag
10168
 
 
10169
 
# Commands used to finish a libtool library installation in a directory.
10170
 
finish_cmds=$lt_finish_cmds
10171
 
 
10172
 
# Same as above, but a single script fragment to be evaled but not shown.
10173
 
finish_eval=$lt_finish_eval
10174
 
 
10175
 
# Take the output of nm and produce a listing of raw symbols and C names.
10176
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10177
 
 
10178
 
# Transform the output of nm in a proper C declaration
10179
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10180
 
 
10181
 
# Transform the output of nm in a C name address pair
10182
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10183
 
 
10184
 
# This is the shared library runtime path variable.
10185
 
runpath_var=$runpath_var
10186
 
 
10187
 
# This is the shared library path variable.
10188
 
shlibpath_var=$shlibpath_var
10189
 
 
10190
 
# Is shlibpath searched before the hard-coded library search path?
10191
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10192
 
 
10193
 
# How to hardcode a shared library path into an executable.
10194
 
hardcode_action=$hardcode_action
10195
 
 
10196
 
# Whether we should hardcode library paths into libraries.
10197
 
hardcode_into_libs=$hardcode_into_libs
10198
 
 
10199
 
# Flag to hardcode \$libdir into a binary during linking.
10200
 
# This must work even if \$libdir does not exist.
10201
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10202
 
 
10203
 
# If ld is used when linking, flag to hardcode \$libdir into
10204
 
# a binary during linking. This must work even if \$libdir does
10205
 
# not exist.
10206
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10207
 
 
10208
 
# Whether we need a single -rpath flag with a separated argument.
10209
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
10210
 
 
10211
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10212
 
# resulting binary.
10213
 
hardcode_direct=$hardcode_direct
10214
 
 
10215
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10216
 
# resulting binary.
10217
 
hardcode_minus_L=$hardcode_minus_L
10218
 
 
10219
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10220
 
# the resulting binary.
10221
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
10222
 
 
10223
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
10224
 
# and all subsequent libraries and executables linked against it.
10225
 
hardcode_automatic=$hardcode_automatic
10226
 
 
10227
 
# Variables whose values should be saved in libtool wrapper scripts and
10228
 
# restored at relink time.
10229
 
variables_saved_for_relink="$variables_saved_for_relink"
10230
 
 
10231
 
# Whether libtool must link a program against all its dependency libraries.
10232
 
link_all_deplibs=$link_all_deplibs
10233
 
 
10234
 
# Compile-time system search path for libraries
10235
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10236
 
 
10237
 
# Run-time system search path for libraries
10238
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10239
 
 
10240
 
# Fix the shell variable \$srcfile for the compiler.
10241
 
fix_srcfile_path=$lt_fix_srcfile_path
10242
 
 
10243
 
# Set to yes if exported symbols are required.
10244
 
always_export_symbols=$always_export_symbols
10245
 
 
10246
 
# The commands to list exported symbols.
10247
 
export_symbols_cmds=$lt_export_symbols_cmds
10248
 
 
10249
 
# The commands to extract the exported symbol list from a shared archive.
10250
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
10251
 
 
10252
 
# Symbols that should not be listed in the preloaded symbols.
10253
 
exclude_expsyms=$lt_exclude_expsyms
10254
 
 
10255
 
# Symbols that must always be exported.
10256
 
include_expsyms=$lt_include_expsyms
10257
 
 
10258
 
# ### END LIBTOOL CONFIG
10259
 
 
10260
 
__EOF__
10261
 
 
10262
 
 
10263
 
  case $host_os in
10264
 
  aix3*)
10265
 
    cat <<\EOF >> "$cfgfile"
10266
 
 
10267
 
# AIX sometimes has problems with the GCC collect2 program.  For some
10268
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
10269
 
# vanish in a puff of smoke.
10270
 
if test "X${COLLECT_NAMES+set}" != Xset; then
10271
 
  COLLECT_NAMES=
10272
 
  export COLLECT_NAMES
10273
 
fi
10274
 
EOF
10275
 
    ;;
10276
 
  esac
10277
 
 
10278
 
  # We use sed instead of cat because bash on DJGPP gets confused if
10279
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
10280
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
10281
 
  # is reportedly fixed, but why not run on old versions too?
10282
 
  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10283
 
 
10284
 
  mv -f "$cfgfile" "$ofile" || \
10285
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10286
 
  chmod +x "$ofile"
10287
 
 
10288
 
else
10289
 
  # If there is no Makefile yet, we rely on a make rule to execute
10290
 
  # `config.status --recheck' to rerun these tests and create the
10291
 
  # libtool script then.
10292
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
10293
 
  if test -f "$ltmain_in"; then
10294
 
    test -f Makefile && make "$ltmain"
10295
 
  fi
10296
 
fi
10297
 
 
10298
 
 
 
11207
 
 
11208
 
 
11209
 
 
11210
fi
10299
11211
ac_ext=c
10300
11212
ac_cpp='$CPP $CPPFLAGS'
10301
11213
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10305
11217
CC="$lt_save_CC"
10306
11218
 
10307
11219
 
10308
 
  if test -f "$ltmain"; then
10309
 
    if test ! -f "${ofile}"; then
10310
 
      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
10311
 
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
10312
 
    fi
10313
 
 
10314
 
    if test -z "$LTCC"; then
10315
 
      eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
10316
 
      if test -z "$LTCC"; then
10317
 
        { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10318
 
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
10319
 
      else
10320
 
        { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
10321
 
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
10322
 
      fi
10323
 
    fi
10324
 
 
10325
 
 
10326
 
  fi
10327
 
 
10328
 
 
10329
 
 
10330
 
 
10331
 
# This can be used to rebuild libtool when needed
10332
 
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
10333
 
 
10334
 
# Always use our own libtool.
10335
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
10336
 
 
10337
 
# Prevent multiple expansion
10338
 
 
10339
 
 
10340
 
 
10341
 
 
10342
 
 
10343
 
 
10344
 
 
 
11220
 
 
11221
 
 
11222
 
 
11223
 
 
11224
 
 
11225
 
 
11226
 
 
11227
 
 
11228
 
 
11229
 
 
11230
 
 
11231
        ac_config_commands="$ac_config_commands libtool"
 
11232
 
 
11233
 
 
11234
 
 
11235
 
 
11236
# Only expand once:
10345
11237
 
10346
11238
 
10347
11239
# By default we simply use the C compiler to build assembly code.
11282
12174
        echo $ECHO_N "(blacklisted) $ECHO_C" >&6
11283
12175
        as_cv_unaligned_access=no
11284
12176
        ;;
11285
 
      i?86*|powerpc*|m68k*)
 
12177
      i?86*|x86_64|amd64|powerpc*|m68k*|cris*)
11286
12178
        echo $ECHO_N "(whitelisted) $ECHO_C" >&6
11287
12179
        as_cv_unaligned_access=yes
11288
12180
        ;;
11364
12256
  fi
11365
12257
 
11366
12258
 
11367
 
 
11368
12259
{ echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
11369
12260
echo $ECHO_N "checking for _ prefix in compiled symbols... $ECHO_C" >&6; }
11370
 
if test "${ac_cv_sys_symbol_underscore+set}" = set; then
 
12261
if test "${lt_cv_sys_symbol_underscore+set}" = set; then
11371
12262
  echo $ECHO_N "(cached) $ECHO_C" >&6
11372
12263
else
11373
 
  ac_cv_sys_symbol_underscore=no
11374
 
  cat > conftest.$ac_ext <<EOF
 
12264
  lt_cv_sys_symbol_underscore=no
 
12265
  cat > conftest.$ac_ext <<_LT_EOF
11375
12266
void nm_test_func(){}
11376
12267
int main(){nm_test_func;return 0;}
11377
 
EOF
 
12268
_LT_EOF
11378
12269
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11379
12270
  (eval $ac_compile) 2>&5
11380
12271
  ac_status=$?
11389
12280
  (exit $ac_status); } && test -s "$ac_nlist"; then
11390
12281
      # See whether the symbols have a leading underscore.
11391
12282
      if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
11392
 
        ac_cv_sys_symbol_underscore=yes
 
12283
        lt_cv_sys_symbol_underscore=yes
11393
12284
      else
11394
12285
        if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
11395
12286
          :
11407
12298
  rm -rf conftest*
11408
12299
 
11409
12300
fi
11410
 
{ echo "$as_me:$LINENO: result: $ac_cv_sys_symbol_underscore" >&5
11411
 
echo "${ECHO_T}$ac_cv_sys_symbol_underscore" >&6; }
 
12301
{ echo "$as_me:$LINENO: result: $lt_cv_sys_symbol_underscore" >&5
 
12302
echo "${ECHO_T}$lt_cv_sys_symbol_underscore" >&6; }
 
12303
  sys_symbol_underscore=$lt_cv_sys_symbol_underscore
 
12304
 
11412
12305
 
11413
12306
if test x${ac_cv_sys_symbol_underscore} = xyes ; then
11414
12307
 
16064
16957
 
16065
16958
 
16066
16959
 
 
16960
 
16067
16961
{ echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
16068
16962
echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; }
16069
16963
if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
17824
18718
# report actual input values of CONFIG_FILES etc. instead of their
17825
18719
# values after options handling.
17826
18720
ac_log="
17827
 
This file was extended by liboil $as_me 0.3.15, which was
 
18721
This file was extended by liboil $as_me 0.3.16, which was
17828
18722
generated by GNU Autoconf 2.61.  Invocation command line was
17829
18723
 
17830
18724
  CONFIG_FILES    = $CONFIG_FILES
17877
18771
_ACEOF
17878
18772
cat >>$CONFIG_STATUS <<_ACEOF
17879
18773
ac_cs_version="\\
17880
 
liboil config.status 0.3.15
 
18774
liboil config.status 0.3.16
17881
18775
configured by $0, generated by GNU Autoconf 2.61,
17882
18776
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
17883
18777
 
17981
18875
# INIT-COMMANDS
17982
18876
#
17983
18877
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 
18878
 
 
18879
 
 
18880
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
18881
# if CDPATH is set.
 
18882
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
18883
 
 
18884
sed_quote_subst='$sed_quote_subst'
 
18885
double_quote_subst='$double_quote_subst'
 
18886
delay_variable_subst='$delay_variable_subst'
 
18887
AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
 
18888
DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 
18889
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
 
18890
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
 
18891
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
 
18892
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
 
18893
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
 
18894
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
 
18895
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
 
18896
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
18897
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
 
18898
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
 
18899
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
18900
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
 
18901
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
 
18902
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
 
18903
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
 
18904
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
 
18905
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
18906
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
18907
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
 
18908
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
 
18909
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
 
18910
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
 
18911
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
 
18912
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
 
18913
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
 
18914
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
 
18915
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
 
18916
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
18917
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18918
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
 
18919
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
 
18920
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
 
18921
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
18922
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
 
18923
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
 
18924
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18925
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18926
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18927
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
 
18928
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
18929
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
 
18930
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
 
18931
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
 
18932
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
 
18933
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"`'
 
18934
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"`'
 
18935
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
 
18936
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
 
18937
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
 
18938
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
 
18939
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
18940
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
 
18941
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
 
18942
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
 
18943
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
 
18944
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
 
18945
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
 
18946
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
 
18947
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
 
18948
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 
18949
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
 
18950
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
 
18951
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18952
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18953
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
 
18954
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
 
18955
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18956
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18957
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
 
18958
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18959
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18960
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18961
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18962
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18963
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18964
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
18965
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
18966
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
18967
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18968
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
18969
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
 
18970
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
 
18971
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
 
18972
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
 
18973
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
18974
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
 
18975
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
 
18976
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
 
18977
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
 
18978
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
 
18979
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18980
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
18981
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
18982
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18983
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18984
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
 
18985
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 
18986
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
 
18987
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
 
18988
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
18989
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
18990
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
 
18991
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18992
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18993
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
18994
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18995
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18996
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
18997
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
 
18998
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
 
18999
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
19000
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
19001
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
 
19002
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
 
19003
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
 
19004
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
 
19005
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
19006
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
19007
 
 
19008
LTCC='$LTCC'
 
19009
LTCFLAGS='$LTCFLAGS'
 
19010
compiler='$compiler_DEFAULT'
 
19011
 
 
19012
# Quote evaled strings.
 
19013
for var in SED \
 
19014
GREP \
 
19015
EGREP \
 
19016
FGREP \
 
19017
LD \
 
19018
NM \
 
19019
LN_S \
 
19020
lt_SP2NL \
 
19021
lt_NL2SP \
 
19022
reload_flag \
 
19023
deplibs_check_method \
 
19024
file_magic_cmd \
 
19025
AR \
 
19026
AR_FLAGS \
 
19027
STRIP \
 
19028
RANLIB \
 
19029
CC \
 
19030
CFLAGS \
 
19031
compiler \
 
19032
lt_cv_sys_global_symbol_pipe \
 
19033
lt_cv_sys_global_symbol_to_cdecl \
 
19034
lt_cv_sys_global_symbol_to_c_name_address \
 
19035
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
19036
SHELL \
 
19037
ECHO \
 
19038
lt_prog_compiler_no_builtin_flag \
 
19039
lt_prog_compiler_wl \
 
19040
lt_prog_compiler_pic \
 
19041
lt_prog_compiler_static \
 
19042
lt_cv_prog_compiler_c_o \
 
19043
need_locks \
 
19044
DSYMUTIL \
 
19045
NMEDIT \
 
19046
LIPO \
 
19047
OTOOL \
 
19048
OTOOL64 \
 
19049
shrext_cmds \
 
19050
export_dynamic_flag_spec \
 
19051
whole_archive_flag_spec \
 
19052
compiler_needs_object \
 
19053
with_gnu_ld \
 
19054
allow_undefined_flag \
 
19055
no_undefined_flag \
 
19056
hardcode_libdir_flag_spec \
 
19057
hardcode_libdir_flag_spec_ld \
 
19058
hardcode_libdir_separator \
 
19059
fix_srcfile_path \
 
19060
exclude_expsyms \
 
19061
include_expsyms \
 
19062
file_list_spec \
 
19063
variables_saved_for_relink \
 
19064
libname_spec \
 
19065
library_names_spec \
 
19066
soname_spec \
 
19067
finish_eval \
 
19068
old_striplib \
 
19069
striplib; do
 
19070
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
19071
    *[\\\\\\\`\\"\\\$]*)
 
19072
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
19073
      ;;
 
19074
    *)
 
19075
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
19076
      ;;
 
19077
    esac
 
19078
done
 
19079
 
 
19080
# Double-quote double-evaled strings.
 
19081
for var in reload_cmds \
 
19082
old_postinstall_cmds \
 
19083
old_postuninstall_cmds \
 
19084
old_archive_cmds \
 
19085
extract_expsyms_cmds \
 
19086
old_archive_from_new_cmds \
 
19087
old_archive_from_expsyms_cmds \
 
19088
archive_cmds \
 
19089
archive_expsym_cmds \
 
19090
module_cmds \
 
19091
module_expsym_cmds \
 
19092
export_symbols_cmds \
 
19093
prelink_cmds \
 
19094
postinstall_cmds \
 
19095
postuninstall_cmds \
 
19096
finish_cmds \
 
19097
sys_lib_search_path_spec \
 
19098
sys_lib_dlsearch_path_spec; do
 
19099
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
19100
    *[\\\\\\\`\\"\\\$]*)
 
19101
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
19102
      ;;
 
19103
    *)
 
19104
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
19105
      ;;
 
19106
    esac
 
19107
done
 
19108
 
 
19109
# Fix-up fallback echo if it was mangled by the above quoting rules.
 
19110
case \$lt_ECHO in
 
19111
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
 
19112
  ;;
 
19113
esac
 
19114
 
 
19115
ac_aux_dir='$ac_aux_dir'
 
19116
xsi_shell='$xsi_shell'
 
19117
lt_shell_append='$lt_shell_append'
 
19118
 
 
19119
# See if we are running on zsh, and set the options which allow our
 
19120
# commands through without removal of \ escapes INIT.
 
19121
if test -n "\${ZSH_VERSION+set}" ; then
 
19122
   setopt NO_GLOB_SUBST
 
19123
fi
 
19124
 
 
19125
 
 
19126
    PACKAGE='$PACKAGE'
 
19127
    VERSION='$VERSION'
 
19128
    TIMESTAMP='$TIMESTAMP'
 
19129
    RM='$RM'
 
19130
    ofile='$ofile'
 
19131
 
 
19132
 
 
19133
 
17984
19134
# variables for create stdint.h replacement
17985
19135
PACKAGE="$PACKAGE"
17986
19136
VERSION="$VERSION"
18010
19160
  case $ac_config_target in
18011
19161
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18012
19162
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
19163
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18013
19164
    "$ac_stdint_h") CONFIG_COMMANDS="$CONFIG_COMMANDS $ac_stdint_h" ;;
18014
19165
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18015
19166
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
18183
19334
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
18184
19335
MAINT!$MAINT$ac_delim
18185
19336
LIBOIL_LIBVERSION!$LIBOIL_LIBVERSION$ac_delim
 
19337
AS!$AS$ac_delim
 
19338
DLLTOOL!$DLLTOOL$ac_delim
 
19339
OBJDUMP!$OBJDUMP$ac_delim
 
19340
LIBTOOL!$LIBTOOL$ac_delim
18186
19341
CC!$CC$ac_delim
18187
19342
CFLAGS!$CFLAGS$ac_delim
18188
19343
LDFLAGS!$LDFLAGS$ac_delim
18202
19357
SED!$SED$ac_delim
18203
19358
GREP!$GREP$ac_delim
18204
19359
EGREP!$EGREP$ac_delim
 
19360
FGREP!$FGREP$ac_delim
 
19361
LD!$LD$ac_delim
 
19362
DUMPBIN!$DUMPBIN$ac_delim
 
19363
_ACEOF
 
19364
 
 
19365
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
19366
    break
 
19367
  elif $ac_last_try; then
 
19368
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
19369
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
19370
   { (exit 1); exit 1; }; }
 
19371
  else
 
19372
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
19373
  fi
 
19374
done
 
19375
 
 
19376
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
19377
if test -n "$ac_eof"; then
 
19378
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
19379
  ac_eof=`expr $ac_eof + 1`
 
19380
fi
 
19381
 
 
19382
cat >>$CONFIG_STATUS <<_ACEOF
 
19383
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
19384
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
19385
_ACEOF
 
19386
sed '
 
19387
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
19388
s/^/s,@/; s/!/@,|#_!!_#|/
 
19389
:n
 
19390
t n
 
19391
s/'"$ac_delim"'$/,g/; t
 
19392
s/$/\\/; p
 
19393
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
19394
' >>$CONFIG_STATUS <conf$$subs.sed
 
19395
rm -f conf$$subs.sed
 
19396
cat >>$CONFIG_STATUS <<_ACEOF
 
19397
CEOF$ac_eof
 
19398
_ACEOF
 
19399
 
 
19400
 
 
19401
ac_delim='%!_!# '
 
19402
for ac_last_try in false false false false false :; do
 
19403
  cat >conf$$subs.sed <<_ACEOF
 
19404
ac_ct_DUMPBIN!$ac_ct_DUMPBIN$ac_delim
 
19405
NM!$NM$ac_delim
18205
19406
LN_S!$LN_S$ac_delim
18206
 
ECHO!$ECHO$ac_delim
18207
19407
AR!$AR$ac_delim
18208
19408
RANLIB!$RANLIB$ac_delim
 
19409
lt_ECHO!$lt_ECHO$ac_delim
18209
19410
DSYMUTIL!$DSYMUTIL$ac_delim
18210
19411
NMEDIT!$NMEDIT$ac_delim
18211
 
DLLTOOL!$DLLTOOL$ac_delim
18212
 
_ACEOF
18213
 
 
18214
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
18215
 
    break
18216
 
  elif $ac_last_try; then
18217
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
18218
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
18219
 
   { (exit 1); exit 1; }; }
18220
 
  else
18221
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18222
 
  fi
18223
 
done
18224
 
 
18225
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
18226
 
if test -n "$ac_eof"; then
18227
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
18228
 
  ac_eof=`expr $ac_eof + 1`
18229
 
fi
18230
 
 
18231
 
cat >>$CONFIG_STATUS <<_ACEOF
18232
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
18233
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18234
 
_ACEOF
18235
 
sed '
18236
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
18237
 
s/^/s,@/; s/!/@,|#_!!_#|/
18238
 
:n
18239
 
t n
18240
 
s/'"$ac_delim"'$/,g/; t
18241
 
s/$/\\/; p
18242
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
18243
 
' >>$CONFIG_STATUS <conf$$subs.sed
18244
 
rm -f conf$$subs.sed
18245
 
cat >>$CONFIG_STATUS <<_ACEOF
18246
 
CEOF$ac_eof
18247
 
_ACEOF
18248
 
 
18249
 
 
18250
 
ac_delim='%!_!# '
18251
 
for ac_last_try in false false false false false :; do
18252
 
  cat >conf$$subs.sed <<_ACEOF
18253
 
AS!$AS$ac_delim
18254
 
OBJDUMP!$OBJDUMP$ac_delim
 
19412
LIPO!$LIPO$ac_delim
 
19413
OTOOL!$OTOOL$ac_delim
 
19414
OTOOL64!$OTOOL64$ac_delim
18255
19415
CPP!$CPP$ac_delim
18256
 
LIBTOOL!$LIBTOOL$ac_delim
18257
19416
CCAS!$CCAS$ac_delim
18258
19417
CCASFLAGS!$CCASFLAGS$ac_delim
18259
19418
ACLOCAL_AMFLAGS!$ACLOCAL_AMFLAGS$ac_delim
18291
19450
HAVE_OS_LINUX_FALSE!$HAVE_OS_LINUX_FALSE$ac_delim
18292
19451
HAVE_GCC_ASM_POWERPC_FPU_TRUE!$HAVE_GCC_ASM_POWERPC_FPU_TRUE$ac_delim
18293
19452
HAVE_GCC_ASM_POWERPC_FPU_FALSE!$HAVE_GCC_ASM_POWERPC_FPU_FALSE$ac_delim
 
19453
sys_symbol_underscore!$sys_symbol_underscore$ac_delim
18294
19454
LIBM!$LIBM$ac_delim
18295
19455
LIBRT!$LIBRT$ac_delim
18296
19456
VFP_CFLAGS!$VFP_CFLAGS$ac_delim
18324
19484
LTLIBOBJS!$LTLIBOBJS$ac_delim
18325
19485
_ACEOF
18326
19486
 
18327
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 72; then
 
19487
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 81; then
18328
19488
    break
18329
19489
  elif $ac_last_try; then
18330
19490
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
18883
20043
  done
18884
20044
done
18885
20045
 ;;
 
20046
    "libtool":C)
 
20047
 
 
20048
    # See if we are running on zsh, and set the options which allow our
 
20049
    # commands through without removal of \ escapes.
 
20050
    if test -n "${ZSH_VERSION+set}" ; then
 
20051
      setopt NO_GLOB_SUBST
 
20052
    fi
 
20053
 
 
20054
    cfgfile="${ofile}T"
 
20055
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
20056
    $RM "$cfgfile"
 
20057
 
 
20058
    cat <<_LT_EOF >> "$cfgfile"
 
20059
#! $SHELL
 
20060
 
 
20061
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
20062
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
20063
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
20064
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
20065
#
 
20066
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
20067
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
20068
#   Written by Gordon Matzigkeit, 1996
 
20069
#
 
20070
#   This file is part of GNU Libtool.
 
20071
#
 
20072
# GNU Libtool is free software; you can redistribute it and/or
 
20073
# modify it under the terms of the GNU General Public License as
 
20074
# published by the Free Software Foundation; either version 2 of
 
20075
# the License, or (at your option) any later version.
 
20076
#
 
20077
# As a special exception to the GNU General Public License,
 
20078
# if you distribute this file as part of a program or library that
 
20079
# is built using GNU Libtool, you may include this file under the
 
20080
# same distribution terms that you use for the rest of that program.
 
20081
#
 
20082
# GNU Libtool is distributed in the hope that it will be useful,
 
20083
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
20084
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
20085
# GNU General Public License for more details.
 
20086
#
 
20087
# You should have received a copy of the GNU General Public License
 
20088
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
20089
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
20090
# obtained by writing to the Free Software Foundation, Inc.,
 
20091
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
20092
 
 
20093
 
 
20094
# The names of the tagged configurations supported by this script.
 
20095
available_tags=""
 
20096
 
 
20097
# ### BEGIN LIBTOOL CONFIG
 
20098
 
 
20099
# Assembler program.
 
20100
AS=$AS
 
20101
 
 
20102
# DLL creation program.
 
20103
DLLTOOL=$DLLTOOL
 
20104
 
 
20105
# Object dumper program.
 
20106
OBJDUMP=$OBJDUMP
 
20107
 
 
20108
# Which release of libtool.m4 was used?
 
20109
macro_version=$macro_version
 
20110
macro_revision=$macro_revision
 
20111
 
 
20112
# Whether or not to build shared libraries.
 
20113
build_libtool_libs=$enable_shared
 
20114
 
 
20115
# Whether or not to build static libraries.
 
20116
build_old_libs=$enable_static
 
20117
 
 
20118
# What type of objects to build.
 
20119
pic_mode=$pic_mode
 
20120
 
 
20121
# Whether or not to optimize for fast installation.
 
20122
fast_install=$enable_fast_install
 
20123
 
 
20124
# The host system.
 
20125
host_alias=$host_alias
 
20126
host=$host
 
20127
host_os=$host_os
 
20128
 
 
20129
# The build system.
 
20130
build_alias=$build_alias
 
20131
build=$build
 
20132
build_os=$build_os
 
20133
 
 
20134
# A sed program that does not truncate output.
 
20135
SED=$lt_SED
 
20136
 
 
20137
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
20138
Xsed="\$SED -e 1s/^X//"
 
20139
 
 
20140
# A grep program that handles long lines.
 
20141
GREP=$lt_GREP
 
20142
 
 
20143
# An ERE matcher.
 
20144
EGREP=$lt_EGREP
 
20145
 
 
20146
# A literal string matcher.
 
20147
FGREP=$lt_FGREP
 
20148
 
 
20149
# A BSD- or MS-compatible name lister.
 
20150
NM=$lt_NM
 
20151
 
 
20152
# Whether we need soft or hard links.
 
20153
LN_S=$lt_LN_S
 
20154
 
 
20155
# What is the maximum length of a command?
 
20156
max_cmd_len=$max_cmd_len
 
20157
 
 
20158
# Object file suffix (normally "o").
 
20159
objext=$ac_objext
 
20160
 
 
20161
# Executable file suffix (normally "").
 
20162
exeext=$exeext
 
20163
 
 
20164
# whether the shell understands "unset".
 
20165
lt_unset=$lt_unset
 
20166
 
 
20167
# turn spaces into newlines.
 
20168
SP2NL=$lt_lt_SP2NL
 
20169
 
 
20170
# turn newlines into spaces.
 
20171
NL2SP=$lt_lt_NL2SP
 
20172
 
 
20173
# How to create reloadable object files.
 
20174
reload_flag=$lt_reload_flag
 
20175
reload_cmds=$lt_reload_cmds
 
20176
 
 
20177
# Method to check whether dependent libraries are shared objects.
 
20178
deplibs_check_method=$lt_deplibs_check_method
 
20179
 
 
20180
# Command to use when deplibs_check_method == "file_magic".
 
20181
file_magic_cmd=$lt_file_magic_cmd
 
20182
 
 
20183
# The archiver.
 
20184
AR=$lt_AR
 
20185
AR_FLAGS=$lt_AR_FLAGS
 
20186
 
 
20187
# A symbol stripping program.
 
20188
STRIP=$lt_STRIP
 
20189
 
 
20190
# Commands used to install an old-style archive.
 
20191
RANLIB=$lt_RANLIB
 
20192
old_postinstall_cmds=$lt_old_postinstall_cmds
 
20193
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
20194
 
 
20195
# A C compiler.
 
20196
LTCC=$lt_CC
 
20197
 
 
20198
# LTCC compiler flags.
 
20199
LTCFLAGS=$lt_CFLAGS
 
20200
 
 
20201
# Take the output of nm and produce a listing of raw symbols and C names.
 
20202
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
20203
 
 
20204
# Transform the output of nm in a proper C declaration.
 
20205
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
20206
 
 
20207
# Transform the output of nm in a C name address pair.
 
20208
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
20209
 
 
20210
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
20211
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
20212
 
 
20213
# The name of the directory that contains temporary libtool files.
 
20214
objdir=$objdir
 
20215
 
 
20216
# Shell to use when invoking shell scripts.
 
20217
SHELL=$lt_SHELL
 
20218
 
 
20219
# An echo program that does not interpret backslashes.
 
20220
ECHO=$lt_ECHO
 
20221
 
 
20222
# Used to examine libraries when file_magic_cmd begins with "file".
 
20223
MAGIC_CMD=$MAGIC_CMD
 
20224
 
 
20225
# Must we lock files when doing compilation?
 
20226
need_locks=$lt_need_locks
 
20227
 
 
20228
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
20229
DSYMUTIL=$lt_DSYMUTIL
 
20230
 
 
20231
# Tool to change global to local symbols on Mac OS X.
 
20232
NMEDIT=$lt_NMEDIT
 
20233
 
 
20234
# Tool to manipulate fat objects and archives on Mac OS X.
 
20235
LIPO=$lt_LIPO
 
20236
 
 
20237
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
20238
OTOOL=$lt_OTOOL
 
20239
 
 
20240
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
20241
OTOOL64=$lt_OTOOL64
 
20242
 
 
20243
# Old archive suffix (normally "a").
 
20244
libext=$libext
 
20245
 
 
20246
# Shared library suffix (normally ".so").
 
20247
shrext_cmds=$lt_shrext_cmds
 
20248
 
 
20249
# The commands to extract the exported symbol list from a shared archive.
 
20250
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
20251
 
 
20252
# Variables whose values should be saved in libtool wrapper scripts and
 
20253
# restored at link time.
 
20254
variables_saved_for_relink=$lt_variables_saved_for_relink
 
20255
 
 
20256
# Do we need the "lib" prefix for modules?
 
20257
need_lib_prefix=$need_lib_prefix
 
20258
 
 
20259
# Do we need a version for libraries?
 
20260
need_version=$need_version
 
20261
 
 
20262
# Library versioning type.
 
20263
version_type=$version_type
 
20264
 
 
20265
# Shared library runtime path variable.
 
20266
runpath_var=$runpath_var
 
20267
 
 
20268
# Shared library path variable.
 
20269
shlibpath_var=$shlibpath_var
 
20270
 
 
20271
# Is shlibpath searched before the hard-coded library search path?
 
20272
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
20273
 
 
20274
# Format of library name prefix.
 
20275
libname_spec=$lt_libname_spec
 
20276
 
 
20277
# List of archive names.  First name is the real one, the rest are links.
 
20278
# The last name is the one that the linker finds with -lNAME
 
20279
library_names_spec=$lt_library_names_spec
 
20280
 
 
20281
# The coded name of the library, if different from the real name.
 
20282
soname_spec=$lt_soname_spec
 
20283
 
 
20284
# Command to use after installation of a shared archive.
 
20285
postinstall_cmds=$lt_postinstall_cmds
 
20286
 
 
20287
# Command to use after uninstallation of a shared archive.
 
20288
postuninstall_cmds=$lt_postuninstall_cmds
 
20289
 
 
20290
# Commands used to finish a libtool library installation in a directory.
 
20291
finish_cmds=$lt_finish_cmds
 
20292
 
 
20293
# As "finish_cmds", except a single script fragment to be evaled but
 
20294
# not shown.
 
20295
finish_eval=$lt_finish_eval
 
20296
 
 
20297
# Whether we should hardcode library paths into libraries.
 
20298
hardcode_into_libs=$hardcode_into_libs
 
20299
 
 
20300
# Compile-time system search path for libraries.
 
20301
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
20302
 
 
20303
# Run-time system search path for libraries.
 
20304
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
20305
 
 
20306
# Whether dlopen is supported.
 
20307
dlopen_support=$enable_dlopen
 
20308
 
 
20309
# Whether dlopen of programs is supported.
 
20310
dlopen_self=$enable_dlopen_self
 
20311
 
 
20312
# Whether dlopen of statically linked programs is supported.
 
20313
dlopen_self_static=$enable_dlopen_self_static
 
20314
 
 
20315
# Commands to strip libraries.
 
20316
old_striplib=$lt_old_striplib
 
20317
striplib=$lt_striplib
 
20318
 
 
20319
 
 
20320
# The linker used to build libraries.
 
20321
LD=$lt_LD
 
20322
 
 
20323
# Commands used to build an old-style archive.
 
20324
old_archive_cmds=$lt_old_archive_cmds
 
20325
 
 
20326
# A language specific compiler.
 
20327
CC=$lt_compiler
 
20328
 
 
20329
# Is the compiler the GNU compiler?
 
20330
with_gcc=$GCC
 
20331
 
 
20332
# Compiler flag to turn off builtin functions.
 
20333
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
20334
 
 
20335
# How to pass a linker flag through the compiler.
 
20336
wl=$lt_lt_prog_compiler_wl
 
20337
 
 
20338
# Additional compiler flags for building library objects.
 
20339
pic_flag=$lt_lt_prog_compiler_pic
 
20340
 
 
20341
# Compiler flag to prevent dynamic linking.
 
20342
link_static_flag=$lt_lt_prog_compiler_static
 
20343
 
 
20344
# Does compiler simultaneously support -c and -o options?
 
20345
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
20346
 
 
20347
# Whether or not to add -lc for building shared libraries.
 
20348
build_libtool_need_lc=$archive_cmds_need_lc
 
20349
 
 
20350
# Whether or not to disallow shared libs when runtime libs are static.
 
20351
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
20352
 
 
20353
# Compiler flag to allow reflexive dlopens.
 
20354
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
20355
 
 
20356
# Compiler flag to generate shared objects directly from archives.
 
20357
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
20358
 
 
20359
# Whether the compiler copes with passing no objects directly.
 
20360
compiler_needs_object=$lt_compiler_needs_object
 
20361
 
 
20362
# Create an old-style archive from a shared archive.
 
20363
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
20364
 
 
20365
# Create a temporary old-style archive to link instead of a shared archive.
 
20366
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
20367
 
 
20368
# Commands used to build a shared archive.
 
20369
archive_cmds=$lt_archive_cmds
 
20370
archive_expsym_cmds=$lt_archive_expsym_cmds
 
20371
 
 
20372
# Commands used to build a loadable module if different from building
 
20373
# a shared archive.
 
20374
module_cmds=$lt_module_cmds
 
20375
module_expsym_cmds=$lt_module_expsym_cmds
 
20376
 
 
20377
# Whether we are building with GNU ld or not.
 
20378
with_gnu_ld=$lt_with_gnu_ld
 
20379
 
 
20380
# Flag that allows shared libraries with undefined symbols to be built.
 
20381
allow_undefined_flag=$lt_allow_undefined_flag
 
20382
 
 
20383
# Flag that enforces no undefined symbols.
 
20384
no_undefined_flag=$lt_no_undefined_flag
 
20385
 
 
20386
# Flag to hardcode \$libdir into a binary during linking.
 
20387
# This must work even if \$libdir does not exist
 
20388
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
20389
 
 
20390
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
20391
# during linking.  This must work even if \$libdir does not exist.
 
20392
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 
20393
 
 
20394
# Whether we need a single "-rpath" flag with a separated argument.
 
20395
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
20396
 
 
20397
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
20398
# DIR into the resulting binary.
 
20399
hardcode_direct=$hardcode_direct
 
20400
 
 
20401
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
20402
# DIR into the resulting binary and the resulting library dependency is
 
20403
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
20404
# library is relocated.
 
20405
hardcode_direct_absolute=$hardcode_direct_absolute
 
20406
 
 
20407
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
20408
# into the resulting binary.
 
20409
hardcode_minus_L=$hardcode_minus_L
 
20410
 
 
20411
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
20412
# into the resulting binary.
 
20413
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
20414
 
 
20415
# Set to "yes" if building a shared library automatically hardcodes DIR
 
20416
# into the library and all subsequent libraries and executables linked
 
20417
# against it.
 
20418
hardcode_automatic=$hardcode_automatic
 
20419
 
 
20420
# Set to yes if linker adds runtime paths of dependent libraries
 
20421
# to runtime path list.
 
20422
inherit_rpath=$inherit_rpath
 
20423
 
 
20424
# Whether libtool must link a program against all its dependency libraries.
 
20425
link_all_deplibs=$link_all_deplibs
 
20426
 
 
20427
# Fix the shell variable \$srcfile for the compiler.
 
20428
fix_srcfile_path=$lt_fix_srcfile_path
 
20429
 
 
20430
# Set to "yes" if exported symbols are required.
 
20431
always_export_symbols=$always_export_symbols
 
20432
 
 
20433
# The commands to list exported symbols.
 
20434
export_symbols_cmds=$lt_export_symbols_cmds
 
20435
 
 
20436
# Symbols that should not be listed in the preloaded symbols.
 
20437
exclude_expsyms=$lt_exclude_expsyms
 
20438
 
 
20439
# Symbols that must always be exported.
 
20440
include_expsyms=$lt_include_expsyms
 
20441
 
 
20442
# Commands necessary for linking programs (against libraries) with templates.
 
20443
prelink_cmds=$lt_prelink_cmds
 
20444
 
 
20445
# Specify filename containing input files.
 
20446
file_list_spec=$lt_file_list_spec
 
20447
 
 
20448
# How to hardcode a shared library path into an executable.
 
20449
hardcode_action=$hardcode_action
 
20450
 
 
20451
# ### END LIBTOOL CONFIG
 
20452
 
 
20453
_LT_EOF
 
20454
 
 
20455
  case $host_os in
 
20456
  aix3*)
 
20457
    cat <<\_LT_EOF >> "$cfgfile"
 
20458
# AIX sometimes has problems with the GCC collect2 program.  For some
 
20459
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
20460
# vanish in a puff of smoke.
 
20461
if test "X${COLLECT_NAMES+set}" != Xset; then
 
20462
  COLLECT_NAMES=
 
20463
  export COLLECT_NAMES
 
20464
fi
 
20465
_LT_EOF
 
20466
    ;;
 
20467
  esac
 
20468
 
 
20469
 
 
20470
ltmain="$ac_aux_dir/ltmain.sh"
 
20471
 
 
20472
 
 
20473
  # We use sed instead of cat because bash on DJGPP gets confused if
 
20474
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
20475
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
20476
  # is reportedly fixed, but why not run on old versions too?
 
20477
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
 
20478
    || (rm -f "$cfgfile"; exit 1)
 
20479
 
 
20480
  case $xsi_shell in
 
20481
  yes)
 
20482
    cat << \_LT_EOF >> "$cfgfile"
 
20483
 
 
20484
# func_dirname file append nondir_replacement
 
20485
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
20486
# otherwise set result to NONDIR_REPLACEMENT.
 
20487
func_dirname ()
 
20488
{
 
20489
  case ${1} in
 
20490
    */*) func_dirname_result="${1%/*}${2}" ;;
 
20491
    *  ) func_dirname_result="${3}" ;;
 
20492
  esac
 
20493
}
 
20494
 
 
20495
# func_basename file
 
20496
func_basename ()
 
20497
{
 
20498
  func_basename_result="${1##*/}"
 
20499
}
 
20500
 
 
20501
# func_dirname_and_basename file append nondir_replacement
 
20502
# perform func_basename and func_dirname in a single function
 
20503
# call:
 
20504
#   dirname:  Compute the dirname of FILE.  If nonempty,
 
20505
#             add APPEND to the result, otherwise set result
 
20506
#             to NONDIR_REPLACEMENT.
 
20507
#             value returned in "$func_dirname_result"
 
20508
#   basename: Compute filename of FILE.
 
20509
#             value retuned in "$func_basename_result"
 
20510
# Implementation must be kept synchronized with func_dirname
 
20511
# and func_basename. For efficiency, we do not delegate to
 
20512
# those functions but instead duplicate the functionality here.
 
20513
func_dirname_and_basename ()
 
20514
{
 
20515
  case ${1} in
 
20516
    */*) func_dirname_result="${1%/*}${2}" ;;
 
20517
    *  ) func_dirname_result="${3}" ;;
 
20518
  esac
 
20519
  func_basename_result="${1##*/}"
 
20520
}
 
20521
 
 
20522
# func_stripname prefix suffix name
 
20523
# strip PREFIX and SUFFIX off of NAME.
 
20524
# PREFIX and SUFFIX must not contain globbing or regex special
 
20525
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
20526
# dot (in which case that matches only a dot).
 
20527
func_stripname ()
 
20528
{
 
20529
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
 
20530
  # positional parameters, so assign one to ordinary parameter first.
 
20531
  func_stripname_result=${3}
 
20532
  func_stripname_result=${func_stripname_result#"${1}"}
 
20533
  func_stripname_result=${func_stripname_result%"${2}"}
 
20534
}
 
20535
 
 
20536
# func_opt_split
 
20537
func_opt_split ()
 
20538
{
 
20539
  func_opt_split_opt=${1%%=*}
 
20540
  func_opt_split_arg=${1#*=}
 
20541
}
 
20542
 
 
20543
# func_lo2o object
 
20544
func_lo2o ()
 
20545
{
 
20546
  case ${1} in
 
20547
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
 
20548
    *)    func_lo2o_result=${1} ;;
 
20549
  esac
 
20550
}
 
20551
 
 
20552
# func_xform libobj-or-source
 
20553
func_xform ()
 
20554
{
 
20555
  func_xform_result=${1%.*}.lo
 
20556
}
 
20557
 
 
20558
# func_arith arithmetic-term...
 
20559
func_arith ()
 
20560
{
 
20561
  func_arith_result=$(( $* ))
 
20562
}
 
20563
 
 
20564
# func_len string
 
20565
# STRING may not start with a hyphen.
 
20566
func_len ()
 
20567
{
 
20568
  func_len_result=${#1}
 
20569
}
 
20570
 
 
20571
_LT_EOF
 
20572
    ;;
 
20573
  *) # Bourne compatible functions.
 
20574
    cat << \_LT_EOF >> "$cfgfile"
 
20575
 
 
20576
# func_dirname file append nondir_replacement
 
20577
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
20578
# otherwise set result to NONDIR_REPLACEMENT.
 
20579
func_dirname ()
 
20580
{
 
20581
  # Extract subdirectory from the argument.
 
20582
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
20583
  if test "X$func_dirname_result" = "X${1}"; then
 
20584
    func_dirname_result="${3}"
 
20585
  else
 
20586
    func_dirname_result="$func_dirname_result${2}"
 
20587
  fi
 
20588
}
 
20589
 
 
20590
# func_basename file
 
20591
func_basename ()
 
20592
{
 
20593
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
20594
}
 
20595
 
 
20596
 
 
20597
# func_stripname prefix suffix name
 
20598
# strip PREFIX and SUFFIX off of NAME.
 
20599
# PREFIX and SUFFIX must not contain globbing or regex special
 
20600
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
20601
# dot (in which case that matches only a dot).
 
20602
# func_strip_suffix prefix name
 
20603
func_stripname ()
 
20604
{
 
20605
  case ${2} in
 
20606
    .*) func_stripname_result=`$ECHO "X${3}" \
 
20607
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
 
20608
    *)  func_stripname_result=`$ECHO "X${3}" \
 
20609
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
20610
  esac
 
20611
}
 
20612
 
 
20613
# sed scripts:
 
20614
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
 
20615
my_sed_long_arg='1s/^-[^=]*=//'
 
20616
 
 
20617
# func_opt_split
 
20618
func_opt_split ()
 
20619
{
 
20620
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
 
20621
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
20622
}
 
20623
 
 
20624
# func_lo2o object
 
20625
func_lo2o ()
 
20626
{
 
20627
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
20628
}
 
20629
 
 
20630
# func_xform libobj-or-source
 
20631
func_xform ()
 
20632
{
 
20633
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
 
20634
}
 
20635
 
 
20636
# func_arith arithmetic-term...
 
20637
func_arith ()
 
20638
{
 
20639
  func_arith_result=`expr "$@"`
 
20640
}
 
20641
 
 
20642
# func_len string
 
20643
# STRING may not start with a hyphen.
 
20644
func_len ()
 
20645
{
 
20646
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
 
20647
}
 
20648
 
 
20649
_LT_EOF
 
20650
esac
 
20651
 
 
20652
case $lt_shell_append in
 
20653
  yes)
 
20654
    cat << \_LT_EOF >> "$cfgfile"
 
20655
 
 
20656
# func_append var value
 
20657
# Append VALUE to the end of shell variable VAR.
 
20658
func_append ()
 
20659
{
 
20660
  eval "$1+=\$2"
 
20661
}
 
20662
_LT_EOF
 
20663
    ;;
 
20664
  *)
 
20665
    cat << \_LT_EOF >> "$cfgfile"
 
20666
 
 
20667
# func_append var value
 
20668
# Append VALUE to the end of shell variable VAR.
 
20669
func_append ()
 
20670
{
 
20671
  eval "$1=\$$1\$2"
 
20672
}
 
20673
 
 
20674
_LT_EOF
 
20675
    ;;
 
20676
  esac
 
20677
 
 
20678
 
 
20679
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
 
20680
    || (rm -f "$cfgfile"; exit 1)
 
20681
 
 
20682
  mv -f "$cfgfile" "$ofile" ||
 
20683
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
20684
  chmod +x "$ofile"
 
20685
 
 
20686
 ;;
18886
20687
    "$ac_stdint_h":C)
18887
20688
{ echo "$as_me:$LINENO: creating $ac_stdint_h : $_ac_stdint_h" >&5
18888
20689
echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}