~ubuntu-branches/ubuntu/lucid/gcalctool/lucid-updates

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2010-04-07 19:41:56 UTC
  • mfrom: (1.3.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20100407194156-hgj8g002ffce2de0
Tags: 5.30.0.is.5.28.2-0ubuntu1
Downgrade to 5.28.2 as the new version does not support number bases
as well.

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.65.
4
 
#
 
3
# Generated by GNU Autoconf 2.64.
5
4
#
6
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
8
 
# Inc.
9
 
#
 
6
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
 
7
# Foundation, Inc.
10
8
#
11
9
# This configure script is free software; the Free Software Foundation
12
10
# gives unlimited permission to copy, distribute and modify it.
526
524
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527
525
 
528
526
 
529
 
test -n "$DJDIR" || exec 7<&0 </dev/null
530
 
exec 6>&1
 
527
 
 
528
# Check that we are running under the correct shell.
 
529
SHELL=${CONFIG_SHELL-/bin/sh}
 
530
 
 
531
case X$lt_ECHO in
 
532
X*--fallback-echo)
 
533
  # Remove one level of quotation (which was required for Make).
 
534
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
 
535
  ;;
 
536
esac
 
537
 
 
538
ECHO=${lt_ECHO-echo}
 
539
if test "X$1" = X--no-reexec; then
 
540
  # Discard the --no-reexec flag, and continue.
 
541
  shift
 
542
elif test "X$1" = X--fallback-echo; then
 
543
  # Avoid inline document here, it may be left over
 
544
  :
 
545
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
 
546
  # Yippee, $ECHO works!
 
547
  :
 
548
else
 
549
  # Restart under the correct shell.
 
550
  exec $SHELL "$0" --no-reexec ${1+"$@"}
 
551
fi
 
552
 
 
553
if test "X$1" = X--fallback-echo; then
 
554
  # used as fallback echo
 
555
  shift
 
556
  cat <<_LT_EOF
 
557
$*
 
558
_LT_EOF
 
559
  exit 0
 
560
fi
 
561
 
 
562
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
563
# if CDPATH is set.
 
564
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
565
 
 
566
if test -z "$lt_ECHO"; then
 
567
  if test "X${echo_test_string+set}" != Xset; then
 
568
    # find a string as large as possible, as long as the shell can cope with it
 
569
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
 
570
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
 
571
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
 
572
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
 
573
      then
 
574
        break
 
575
      fi
 
576
    done
 
577
  fi
 
578
 
 
579
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
580
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
581
     test "X$echo_testing_string" = "X$echo_test_string"; then
 
582
    :
 
583
  else
 
584
    # The Solaris, AIX, and Digital Unix default echo programs unquote
 
585
    # backslashes.  This makes it impossible to quote backslashes using
 
586
    #   echo "$something" | sed 's/\\/\\\\/g'
 
587
    #
 
588
    # So, first we look for a working echo in the user's PATH.
 
589
 
 
590
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
591
    for dir in $PATH /usr/ucb; do
 
592
      IFS="$lt_save_ifs"
 
593
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
 
594
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
 
595
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
 
596
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
597
        ECHO="$dir/echo"
 
598
        break
 
599
      fi
 
600
    done
 
601
    IFS="$lt_save_ifs"
 
602
 
 
603
    if test "X$ECHO" = Xecho; then
 
604
      # We didn't find a better echo, so look for alternatives.
 
605
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
 
606
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
 
607
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
608
        # This shell has a builtin print -r that does the trick.
 
609
        ECHO='print -r'
 
610
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
 
611
           test "X$CONFIG_SHELL" != X/bin/ksh; then
 
612
        # If we have ksh, try running configure again with it.
 
613
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
 
614
        export ORIGINAL_CONFIG_SHELL
 
615
        CONFIG_SHELL=/bin/ksh
 
616
        export CONFIG_SHELL
 
617
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
 
618
      else
 
619
        # Try using printf.
 
620
        ECHO='printf %s\n'
 
621
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
622
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
623
           test "X$echo_testing_string" = "X$echo_test_string"; then
 
624
          # Cool, printf works
 
625
          :
 
626
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
627
             test "X$echo_testing_string" = 'X\t' &&
 
628
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
629
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
630
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
 
631
          export CONFIG_SHELL
 
632
          SHELL="$CONFIG_SHELL"
 
633
          export SHELL
 
634
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
635
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
636
             test "X$echo_testing_string" = 'X\t' &&
 
637
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
638
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
639
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
640
        else
 
641
          # maybe with a smaller string...
 
642
          prev=:
 
643
 
 
644
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
 
645
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
 
646
            then
 
647
              break
 
648
            fi
 
649
            prev="$cmd"
 
650
          done
 
651
 
 
652
          if test "$prev" != 'sed 50q "$0"'; then
 
653
            echo_test_string=`eval $prev`
 
654
            export echo_test_string
 
655
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
 
656
          else
 
657
            # Oops.  We lost completely, so just stick with echo.
 
658
            ECHO=echo
 
659
          fi
 
660
        fi
 
661
      fi
 
662
    fi
 
663
  fi
 
664
fi
 
665
 
 
666
# Copy echo and quote the copy suitably for passing to libtool from
 
667
# the Makefile, instead of quoting the original, which is used later.
 
668
lt_ECHO=$ECHO
 
669
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
 
670
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
 
671
fi
 
672
 
 
673
 
 
674
 
 
675
 
 
676
exec 7<&0 </dev/null 6>&1
531
677
 
532
678
# Name of the host.
533
679
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
554
700
PACKAGE_BUGREPORT=
555
701
PACKAGE_URL=
556
702
 
557
 
ac_unique_file="configure.ac"
 
703
ac_unique_file="configure.in"
558
704
# Factoring default headers for most tests.
559
705
ac_includes_default="\
560
706
#include <stdio.h>
603
749
DOC_USER_FORMATS
604
750
OMF_DIR
605
751
HELP_DIR
606
 
LN_S
 
752
GCONF_SCHEMAS_INSTALL_FALSE
 
753
GCONF_SCHEMAS_INSTALL_TRUE
 
754
GCONF_SCHEMA_FILE_DIR
 
755
GCONF_SCHEMA_CONFIG_SOURCE
 
756
GCONFTOOL
607
757
MKINSTALLDIRS
608
758
POSUB
609
759
POFILES
615
765
CATOBJEXT
616
766
CATALOGS
617
767
MSGFMT_OPTS
 
768
OTOOL64
 
769
OTOOL
 
770
LIPO
 
771
NMEDIT
 
772
DSYMUTIL
 
773
lt_ECHO
 
774
RANLIB
 
775
AR
 
776
OBJDUMP
 
777
LN_S
 
778
NM
 
779
ac_ct_DUMPBIN
 
780
DUMPBIN
 
781
LD
 
782
FGREP
 
783
SED
 
784
host_os
 
785
host_vendor
 
786
host_cpu
 
787
host
 
788
build_os
 
789
build_vendor
 
790
build_cpu
 
791
build
 
792
LIBTOOL
618
793
GETTEXT_PACKAGE
 
794
SCROLLKEEPER_CONFIG
 
795
GCONF_LIBS
 
796
GCONF_CFLAGS
 
797
HAVE_YACC
 
798
YFLAGS
 
799
YACC
 
800
LFLAGS
 
801
LEXLIB
 
802
LEX_OUTPUT_ROOT
 
803
LEX
 
804
PACKAGE_LIBS
 
805
PACKAGE_CFLAGS
 
806
ATK_LIBS
 
807
ATK_CFLAGS
 
808
PKG_CONFIG
 
809
EGREP
 
810
GREP
 
811
CPP
619
812
DATADIRNAME
 
813
am__fastdepCC_FALSE
 
814
am__fastdepCC_TRUE
 
815
CCDEPMODE
 
816
AMDEPBACKSLASH
 
817
AMDEP_FALSE
 
818
AMDEP_TRUE
 
819
am__quote
 
820
am__include
 
821
DEPDIR
 
822
OBJEXT
 
823
EXEEXT
 
824
ac_ct_CC
 
825
CPPFLAGS
 
826
LDFLAGS
 
827
CFLAGS
 
828
CC
620
829
ALL_LINGUAS
621
830
INTLTOOL_PERL
622
831
GMSGFMT
646
855
INTLTOOL_MERGE
647
856
INTLTOOL_UPDATE
648
857
USE_NLS
649
 
HAVE_YACC
650
 
YFLAGS
651
 
YACC
652
 
LEXLIB
653
 
LEX_OUTPUT_ROOT
654
 
LEX
655
 
GCALCCMD_LIBS
656
 
GCALCCMD_CFLAGS
657
 
GCALCTOOL_LIBS
658
 
GCALCTOOL_CFLAGS
659
 
PKG_CONFIG
660
 
WARN_CFLAGS
661
 
GCONF_SCHEMAS_INSTALL_FALSE
662
 
GCONF_SCHEMAS_INSTALL_TRUE
663
 
GCONF_SCHEMA_FILE_DIR
664
 
GCONF_SCHEMA_CONFIG_SOURCE
665
 
EGREP
666
 
GREP
667
 
CPP
668
 
am__fastdepCC_FALSE
669
 
am__fastdepCC_TRUE
670
 
CCDEPMODE
671
 
AMDEPBACKSLASH
672
 
AMDEP_FALSE
673
 
AMDEP_TRUE
674
 
am__quote
675
 
am__include
676
 
DEPDIR
677
 
OBJEXT
678
 
EXEEXT
679
 
ac_ct_CC
680
 
CPPFLAGS
681
 
LDFLAGS
682
 
CFLAGS
683
 
CC
684
 
AM_BACKSLASH
685
 
AM_DEFAULT_VERBOSITY
686
858
DISABLE_DEPRECATED
687
859
MAINT
688
860
MAINTAINER_MODE_FALSE
752
924
ac_user_opts='
753
925
enable_option_checking
754
926
enable_maintainer_mode
755
 
enable_silent_rules
 
927
enable_nls
756
928
enable_dependency_tracking
 
929
enable_shared
 
930
enable_static
 
931
with_pic
 
932
enable_fast_install
 
933
with_gnu_ld
 
934
enable_libtool_lock
757
935
with_gconf_source
758
936
with_gconf_schema_file_dir
759
937
enable_schemas_install
760
 
enable_compile_warnings
761
 
enable_iso_c
762
 
enable_nls
763
938
with_help_dir
764
939
with_omf_dir
765
940
with_help_formats
775
950
CPPFLAGS
776
951
CPP
777
952
PKG_CONFIG
778
 
GCALCTOOL_CFLAGS
779
 
GCALCTOOL_LIBS
780
 
GCALCCMD_CFLAGS
781
 
GCALCCMD_LIBS
 
953
ATK_CFLAGS
 
954
ATK_LIBS
 
955
PACKAGE_CFLAGS
 
956
PACKAGE_LIBS
782
957
YACC
783
 
YFLAGS'
 
958
YFLAGS
 
959
GCONF_CFLAGS
 
960
GCONF_LIBS'
784
961
 
785
962
 
786
963
# Initialize some variables set by options.
1383
1560
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1384
1561
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1385
1562
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 
1563
 
 
1564
System types:
 
1565
  --build=BUILD     configure for building on BUILD [guessed]
 
1566
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1386
1567
_ACEOF
1387
1568
fi
1388
1569
 
1396
1577
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1397
1578
  --enable-maintainer-mode  enable make rules and dependencies not useful
1398
1579
                          (and sometimes confusing) to the casual installer
1399
 
  --enable-silent-rules          less verbose build output (undo: `make V=1')
1400
 
  --disable-silent-rules         verbose build output (undo: `make V=0')
 
1580
  --disable-nls           do not use Native Language Support
1401
1581
  --disable-dependency-tracking  speeds up one-time build
1402
1582
  --enable-dependency-tracking   do not reject slow dependency extractors
 
1583
  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
1584
  --enable-static[=PKGS]  build static libraries [default=yes]
 
1585
  --enable-fast-install[=PKGS]
 
1586
                          optimize for fast installation [default=yes]
 
1587
  --disable-libtool-lock  avoid locking (might break parallel builds)
1403
1588
  --disable-schemas-install
1404
1589
                          Disable the schemas installation
1405
 
  --enable-compile-warnings=[no/minimum/yes/maximum/error]
1406
 
                          Turn on compiler warnings
1407
 
  --enable-iso-c          Try to warn if code is not ISO C
1408
 
  --disable-nls           do not use Native Language Support
1409
1590
  --disable-scrollkeeper  do not make updates to the scrollkeeper database
1410
1591
 
1411
1592
Optional Packages:
1412
1593
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1413
1594
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
1595
  --with-pic              try to use only PIC/non-PIC objects [default=use
 
1596
                          both]
 
1597
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1414
1598
  --with-gconf-source=sourceaddress
1415
1599
                          Config database for installing schema files.
1416
1600
  --with-gconf-schema-file-dir=dir
1426
1610
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1427
1611
              nonstandard directory <lib dir>
1428
1612
  LIBS        libraries to pass to the linker, e.g. -l<library>
1429
 
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 
1613
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1430
1614
              you have headers in a nonstandard directory <include dir>
1431
1615
  CPP         C preprocessor
1432
1616
  PKG_CONFIG  path to pkg-config utility
1433
 
  GCALCTOOL_CFLAGS
1434
 
              C compiler flags for GCALCTOOL, overriding pkg-config
1435
 
  GCALCTOOL_LIBS
1436
 
              linker flags for GCALCTOOL, overriding pkg-config
1437
 
  GCALCCMD_CFLAGS
1438
 
              C compiler flags for GCALCCMD, overriding pkg-config
1439
 
  GCALCCMD_LIBS
1440
 
              linker flags for GCALCCMD, overriding pkg-config
 
1617
  ATK_CFLAGS  C compiler flags for ATK, overriding pkg-config
 
1618
  ATK_LIBS    linker flags for ATK, overriding pkg-config
 
1619
  PACKAGE_CFLAGS
 
1620
              C compiler flags for PACKAGE, overriding pkg-config
 
1621
  PACKAGE_LIBS
 
1622
              linker flags for PACKAGE, overriding pkg-config
1441
1623
  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
1442
1624
              the first program found out of: `bison -y', `byacc', `yacc'.
1443
1625
  YFLAGS      The list of arguments that will be passed by default to $YACC.
1444
1626
              This script will default YFLAGS to the empty string to avoid a
1445
1627
              default value of `-d' given by some make applications.
 
1628
  GCONF_CFLAGS
 
1629
              C compiler flags for GCONF, overriding pkg-config
 
1630
  GCONF_LIBS  linker flags for GCONF, overriding pkg-config
1446
1631
 
1447
1632
Use these variables to override the choices made by `configure' or to help
1448
1633
it to find libraries and programs with nonstandard names/locations.
1511
1696
if $ac_init_version; then
1512
1697
  cat <<\_ACEOF
1513
1698
configure
1514
 
generated by GNU Autoconf 2.65
 
1699
generated by GNU Autoconf 2.64
1515
1700
 
1516
1701
Copyright (C) 2009 Free Software Foundation, Inc.
1517
1702
This configure script is free software; the Free Software Foundation
1558
1743
        ac_retval=1
1559
1744
fi
1560
1745
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1561
 
  as_fn_set_status $ac_retval
 
1746
  return $ac_retval
1562
1747
 
1563
1748
} # ac_fn_c_try_compile
1564
1749
 
1604
1789
  # left behind by Apple's compiler.  We do this before executing the actions.
1605
1790
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1606
1791
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1607
 
  as_fn_set_status $ac_retval
 
1792
  return $ac_retval
1608
1793
 
1609
1794
} # ac_fn_c_try_link
1610
1795
 
1611
 
# ac_fn_c_try_cpp LINENO
1612
 
# ----------------------
1613
 
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1614
 
ac_fn_c_try_cpp ()
1615
 
{
1616
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1617
 
  if { { ac_try="$ac_cpp conftest.$ac_ext"
1618
 
case "(($ac_try" in
1619
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1620
 
  *) ac_try_echo=$ac_try;;
1621
 
esac
1622
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1623
 
$as_echo "$ac_try_echo"; } >&5
1624
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1625
 
  ac_status=$?
1626
 
  if test -s conftest.err; then
1627
 
    grep -v '^ *+' conftest.err >conftest.er1
1628
 
    cat conftest.er1 >&5
1629
 
    mv -f conftest.er1 conftest.err
1630
 
  fi
1631
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1632
 
  test $ac_status = 0; } >/dev/null && {
1633
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1634
 
         test ! -s conftest.err
1635
 
       }; then :
1636
 
  ac_retval=0
1637
 
else
1638
 
  $as_echo "$as_me: failed program was:" >&5
1639
 
sed 's/^/| /' conftest.$ac_ext >&5
1640
 
 
1641
 
    ac_retval=1
1642
 
fi
1643
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1644
 
  as_fn_set_status $ac_retval
1645
 
 
1646
 
} # ac_fn_c_try_cpp
1647
 
 
1648
 
# ac_fn_c_try_run LINENO
1649
 
# ----------------------
1650
 
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1651
 
# that executables *can* be run.
1652
 
ac_fn_c_try_run ()
1653
 
{
1654
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1655
 
  if { { ac_try="$ac_link"
1656
 
case "(($ac_try" in
1657
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1658
 
  *) ac_try_echo=$ac_try;;
1659
 
esac
1660
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1661
 
$as_echo "$ac_try_echo"; } >&5
1662
 
  (eval "$ac_link") 2>&5
1663
 
  ac_status=$?
1664
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1665
 
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1666
 
  { { case "(($ac_try" in
1667
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1668
 
  *) ac_try_echo=$ac_try;;
1669
 
esac
1670
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1671
 
$as_echo "$ac_try_echo"; } >&5
1672
 
  (eval "$ac_try") 2>&5
1673
 
  ac_status=$?
1674
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1675
 
  test $ac_status = 0; }; }; then :
1676
 
  ac_retval=0
1677
 
else
1678
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
1679
 
       $as_echo "$as_me: failed program was:" >&5
1680
 
sed 's/^/| /' conftest.$ac_ext >&5
1681
 
 
1682
 
       ac_retval=$ac_status
1683
 
fi
1684
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1685
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1686
 
  as_fn_set_status $ac_retval
1687
 
 
1688
 
} # ac_fn_c_try_run
1689
 
 
1690
1796
# ac_fn_c_check_func LINENO FUNC VAR
1691
1797
# ----------------------------------
1692
1798
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1754
1860
 
1755
1861
} # ac_fn_c_check_func
1756
1862
 
 
1863
# ac_fn_c_try_cpp LINENO
 
1864
# ----------------------
 
1865
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1866
ac_fn_c_try_cpp ()
 
1867
{
 
1868
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1869
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1870
case "(($ac_try" in
 
1871
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1872
  *) ac_try_echo=$ac_try;;
 
1873
esac
 
1874
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1875
$as_echo "$ac_try_echo"; } >&5
 
1876
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1877
  ac_status=$?
 
1878
  if test -s conftest.err; then
 
1879
    grep -v '^ *+' conftest.err >conftest.er1
 
1880
    cat conftest.er1 >&5
 
1881
    mv -f conftest.er1 conftest.err
 
1882
  fi
 
1883
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1884
  test $ac_status = 0; } >/dev/null && {
 
1885
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1886
         test ! -s conftest.err
 
1887
       }; then :
 
1888
  ac_retval=0
 
1889
else
 
1890
  $as_echo "$as_me: failed program was:" >&5
 
1891
sed 's/^/| /' conftest.$ac_ext >&5
 
1892
 
 
1893
    ac_retval=1
 
1894
fi
 
1895
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1896
  return $ac_retval
 
1897
 
 
1898
} # ac_fn_c_try_cpp
 
1899
 
 
1900
# ac_fn_c_try_run LINENO
 
1901
# ----------------------
 
1902
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1903
# that executables *can* be run.
 
1904
ac_fn_c_try_run ()
 
1905
{
 
1906
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1907
  if { { ac_try="$ac_link"
 
1908
case "(($ac_try" in
 
1909
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1910
  *) ac_try_echo=$ac_try;;
 
1911
esac
 
1912
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1913
$as_echo "$ac_try_echo"; } >&5
 
1914
  (eval "$ac_link") 2>&5
 
1915
  ac_status=$?
 
1916
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1917
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1918
  { { case "(($ac_try" in
 
1919
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1920
  *) ac_try_echo=$ac_try;;
 
1921
esac
 
1922
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1923
$as_echo "$ac_try_echo"; } >&5
 
1924
  (eval "$ac_try") 2>&5
 
1925
  ac_status=$?
 
1926
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1927
  test $ac_status = 0; }; }; then :
 
1928
  ac_retval=0
 
1929
else
 
1930
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1931
       $as_echo "$as_me: failed program was:" >&5
 
1932
sed 's/^/| /' conftest.$ac_ext >&5
 
1933
 
 
1934
       ac_retval=$ac_status
 
1935
fi
 
1936
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1937
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1938
  return $ac_retval
 
1939
 
 
1940
} # ac_fn_c_try_run
 
1941
 
 
1942
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1943
# -------------------------------------------------------
 
1944
# Tests whether HEADER exists and can be compiled using the include files in
 
1945
# INCLUDES, setting the cache variable VAR accordingly.
 
1946
ac_fn_c_check_header_compile ()
 
1947
{
 
1948
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1949
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1950
$as_echo_n "checking for $2... " >&6; }
 
1951
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1952
  $as_echo_n "(cached) " >&6
 
1953
else
 
1954
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1955
/* end confdefs.h.  */
 
1956
$4
 
1957
#include <$2>
 
1958
_ACEOF
 
1959
if ac_fn_c_try_compile "$LINENO"; then :
 
1960
  eval "$3=yes"
 
1961
else
 
1962
  eval "$3=no"
 
1963
fi
 
1964
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1965
fi
 
1966
eval ac_res=\$$3
 
1967
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1968
$as_echo "$ac_res" >&6; }
 
1969
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1970
 
 
1971
} # ac_fn_c_check_header_compile
 
1972
 
1757
1973
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1758
1974
# -------------------------------------------------------
1759
1975
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1840
2056
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1841
2057
 
1842
2058
} # ac_fn_c_check_header_mongrel
1843
 
 
1844
 
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1845
 
# -------------------------------------------------------
1846
 
# Tests whether HEADER exists and can be compiled using the include files in
1847
 
# INCLUDES, setting the cache variable VAR accordingly.
1848
 
ac_fn_c_check_header_compile ()
1849
 
{
1850
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1851
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1852
 
$as_echo_n "checking for $2... " >&6; }
1853
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1854
 
  $as_echo_n "(cached) " >&6
1855
 
else
1856
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1857
 
/* end confdefs.h.  */
1858
 
$4
1859
 
#include <$2>
1860
 
_ACEOF
1861
 
if ac_fn_c_try_compile "$LINENO"; then :
1862
 
  eval "$3=yes"
1863
 
else
1864
 
  eval "$3=no"
1865
 
fi
1866
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1867
 
fi
1868
 
eval ac_res=\$$3
1869
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1870
 
$as_echo "$ac_res" >&6; }
1871
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1872
 
 
1873
 
} # ac_fn_c_check_header_compile
1874
2059
cat >config.log <<_ACEOF
1875
2060
This file contains any messages produced by compilers while
1876
2061
running configure, to aid debugging if configure makes a mistake.
1877
2062
 
1878
2063
It was created by $as_me, which was
1879
 
generated by GNU Autoconf 2.65.  Invocation command line was
 
2064
generated by GNU Autoconf 2.64.  Invocation command line was
1880
2065
 
1881
2066
  $ $0 $@
1882
2067
 
2129
2314
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2130
2315
do
2131
2316
  test "x$ac_site_file" = xNONE && continue
2132
 
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2317
  if test -r "$ac_site_file"; then
2133
2318
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2134
2319
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2135
2320
    sed 's/^/| /' "$ac_site_file" >&5
2138
2323
done
2139
2324
 
2140
2325
if test -r "$cache_file"; then
2141
 
  # Some versions of bash will fail to source /dev/null (special files
2142
 
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2143
 
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2326
  # Some versions of bash will fail to source /dev/null (special
 
2327
  # files actually), so we avoid doing that.
 
2328
  if test -f "$cache_file"; then
2144
2329
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2145
2330
$as_echo "$as_me: loading cache $cache_file" >&6;}
2146
2331
    case $cache_file in
2559
2744
 
2560
2745
fi
2561
2746
 
2562
 
  test -d ./--version && rmdir ./--version
2563
2747
  if test "${ac_cv_path_mkdir+set}" = set; then
2564
2748
    MKDIR_P="$ac_cv_path_mkdir -p"
2565
2749
  else
2567
2751
    # value for MKDIR_P within a source directory, because that will
2568
2752
    # break other packages using the cache if that directory is
2569
2753
    # removed, or if the value is a relative name.
 
2754
    test -d ./--version && rmdir ./--version
2570
2755
    MKDIR_P="$ac_install_sh -d"
2571
2756
  fi
2572
2757
fi
2683
2868
 
2684
2869
# Define the identity of the package.
2685
2870
 PACKAGE=gcalctool
2686
 
 VERSION=5.30.0
 
2871
 VERSION=5.28.2
2687
2872
 
2688
2873
 
2689
2874
cat >>confdefs.h <<_ACEOF
2723
2908
 
2724
2909
 
2725
2910
 
 
2911
 
2726
2912
ac_config_headers="$ac_config_headers config.h"
2727
2913
 
2728
2914
 
2761
2947
 
2762
2948
 
2763
2949
 
2764
 
# Check whether --enable-silent-rules was given.
2765
 
if test "${enable_silent_rules+set}" = set; then :
2766
 
  enableval=$enable_silent_rules;
 
2950
 
 
2951
 
 
2952
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
 
2953
$as_echo_n "checking whether NLS is requested... " >&6; }
 
2954
    # Check whether --enable-nls was given.
 
2955
if test "${enable_nls+set}" = set; then :
 
2956
  enableval=$enable_nls; USE_NLS=$enableval
 
2957
else
 
2958
  USE_NLS=yes
2767
2959
fi
2768
2960
 
2769
 
case $enable_silent_rules in
2770
 
yes) AM_DEFAULT_VERBOSITY=0;;
2771
 
no)  AM_DEFAULT_VERBOSITY=1;;
2772
 
*)   AM_DEFAULT_VERBOSITY=0;;
2773
 
esac
2774
 
AM_BACKSLASH='\'
 
2961
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
 
2962
$as_echo "$USE_NLS" >&6; }
2775
2963
 
2776
2964
 
2777
2965
DEPDIR="${am__leading_dot}deps"
3158
3346
... rest of stderr output deleted ...
3159
3347
         10q' conftest.err >conftest.er1
3160
3348
    cat conftest.er1 >&5
 
3349
    rm -f conftest.er1 conftest.err
3161
3350
  fi
3162
 
  rm -f conftest.er1 conftest.err
3163
3351
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3164
3352
  test $ac_status = 0; }
3165
3353
done
3166
3354
 
3167
3355
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3168
3356
/* end confdefs.h.  */
3169
 
 
 
3357
#include <stdio.h>
3170
3358
int
3171
3359
main ()
3172
3360
{
 
3361
FILE *f = fopen ("conftest.out", "w");
 
3362
 return ferror (f) || fclose (f) != 0;
3173
3363
 
3174
3364
  ;
3175
3365
  return 0;
3176
3366
}
3177
3367
_ACEOF
3178
3368
ac_clean_files_save=$ac_clean_files
3179
 
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 
3369
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3180
3370
# Try to create an executable without -o first, disregard a.out.
3181
3371
# It will help us diagnose broken compilers, and finding out an intuition
3182
3372
# of exeext.
3183
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3184
 
$as_echo_n "checking whether the C compiler works... " >&6; }
 
3373
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3374
$as_echo_n "checking for C compiler default output file name... " >&6; }
3185
3375
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3186
3376
 
3187
3377
# The possible output files:
3243
3433
else
3244
3434
  ac_file=''
3245
3435
fi
 
3436
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
3437
$as_echo "$ac_file" >&6; }
3246
3438
if test -z "$ac_file"; then :
3247
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3248
 
$as_echo "no" >&6; }
3249
 
$as_echo "$as_me: failed program was:" >&5
 
3439
  $as_echo "$as_me: failed program was:" >&5
3250
3440
sed 's/^/| /' conftest.$ac_ext >&5
3251
3441
 
3252
3442
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3254
3444
{ as_fn_set_status 77
3255
3445
as_fn_error "C compiler cannot create executables
3256
3446
See \`config.log' for more details." "$LINENO" 5; }; }
3257
 
else
3258
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3259
 
$as_echo "yes" >&6; }
3260
3447
fi
3261
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3262
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
3263
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3264
 
$as_echo "$ac_file" >&6; }
3265
3448
ac_exeext=$ac_cv_exeext
3266
3449
 
3267
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 
3450
# Check that the compiler produces executables we can run.  If not, either
 
3451
# the compiler is broken, or we cross compile.
 
3452
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3453
$as_echo_n "checking whether the C compiler works... " >&6; }
 
3454
# If not cross compiling, check that we can run a simple program.
 
3455
if test "$cross_compiling" != yes; then
 
3456
  if { ac_try='./$ac_file'
 
3457
  { { case "(($ac_try" in
 
3458
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3459
  *) ac_try_echo=$ac_try;;
 
3460
esac
 
3461
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3462
$as_echo "$ac_try_echo"; } >&5
 
3463
  (eval "$ac_try") 2>&5
 
3464
  ac_status=$?
 
3465
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3466
  test $ac_status = 0; }; }; then
 
3467
    cross_compiling=no
 
3468
  else
 
3469
    if test "$cross_compiling" = maybe; then
 
3470
        cross_compiling=yes
 
3471
    else
 
3472
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3473
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3474
as_fn_error "cannot run C compiled programs.
 
3475
If you meant to cross compile, use \`--host'.
 
3476
See \`config.log' for more details." "$LINENO" 5; }
 
3477
    fi
 
3478
  fi
 
3479
fi
 
3480
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3481
$as_echo "yes" >&6; }
 
3482
 
 
3483
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3268
3484
ac_clean_files=$ac_clean_files_save
 
3485
# Check that the compiler produces executables we can run.  If not, either
 
3486
# the compiler is broken, or we cross compile.
 
3487
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3488
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3489
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3490
$as_echo "$cross_compiling" >&6; }
 
3491
 
3269
3492
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3270
3493
$as_echo_n "checking for suffix of executables... " >&6; }
3271
3494
if { { ac_try="$ac_link"
3298
3521
as_fn_error "cannot compute suffix of executables: cannot compile and link
3299
3522
See \`config.log' for more details." "$LINENO" 5; }
3300
3523
fi
3301
 
rm -f conftest conftest$ac_cv_exeext
 
3524
rm -f conftest$ac_cv_exeext
3302
3525
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3303
3526
$as_echo "$ac_cv_exeext" >&6; }
3304
3527
 
3305
3528
rm -f conftest.$ac_ext
3306
3529
EXEEXT=$ac_cv_exeext
3307
3530
ac_exeext=$EXEEXT
3308
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3309
 
/* end confdefs.h.  */
3310
 
#include <stdio.h>
3311
 
int
3312
 
main ()
3313
 
{
3314
 
FILE *f = fopen ("conftest.out", "w");
3315
 
 return ferror (f) || fclose (f) != 0;
3316
 
 
3317
 
  ;
3318
 
  return 0;
3319
 
}
3320
 
_ACEOF
3321
 
ac_clean_files="$ac_clean_files conftest.out"
3322
 
# Check that the compiler produces executables we can run.  If not, either
3323
 
# the compiler is broken, or we cross compile.
3324
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3325
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3326
 
if test "$cross_compiling" != yes; then
3327
 
  { { ac_try="$ac_link"
3328
 
case "(($ac_try" in
3329
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3330
 
  *) ac_try_echo=$ac_try;;
3331
 
esac
3332
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3333
 
$as_echo "$ac_try_echo"; } >&5
3334
 
  (eval "$ac_link") 2>&5
3335
 
  ac_status=$?
3336
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3337
 
  test $ac_status = 0; }
3338
 
  if { ac_try='./conftest$ac_cv_exeext'
3339
 
  { { case "(($ac_try" in
3340
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3341
 
  *) ac_try_echo=$ac_try;;
3342
 
esac
3343
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3344
 
$as_echo "$ac_try_echo"; } >&5
3345
 
  (eval "$ac_try") 2>&5
3346
 
  ac_status=$?
3347
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3348
 
  test $ac_status = 0; }; }; then
3349
 
    cross_compiling=no
3350
 
  else
3351
 
    if test "$cross_compiling" = maybe; then
3352
 
        cross_compiling=yes
3353
 
    else
3354
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3355
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3356
 
as_fn_error "cannot run C compiled programs.
3357
 
If you meant to cross compile, use \`--host'.
3358
 
See \`config.log' for more details." "$LINENO" 5; }
3359
 
    fi
3360
 
  fi
3361
 
fi
3362
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3363
 
$as_echo "$cross_compiling" >&6; }
3364
 
 
3365
 
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3366
 
ac_clean_files=$ac_clean_files_save
3367
3531
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3368
3532
$as_echo_n "checking for suffix of object files... " >&6; }
3369
3533
if test "${ac_cv_objext+set}" = set; then :
3755
3919
 
3756
3920
 
3757
3921
 
 
3922
 
 
3923
 
 
3924
case "$am__api_version" in
 
3925
    1.01234)
 
3926
        as_fn_error "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
 
3927
    ;;
 
3928
    *)
 
3929
    ;;
 
3930
esac
 
3931
 
 
3932
if test -n "0.35.0"; then
 
3933
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
 
3934
$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
 
3935
 
 
3936
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
3937
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
 
3938
    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
3939
 
 
3940
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
 
3941
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
 
3942
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
 
3943
        as_fn_error "Your intltool is too old.  You need intltool 0.35.0 or later." "$LINENO" 5
 
3944
fi
 
3945
 
 
3946
# Extract the first word of "intltool-update", so it can be a program name with args.
 
3947
set dummy intltool-update; ac_word=$2
 
3948
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3949
$as_echo_n "checking for $ac_word... " >&6; }
 
3950
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
 
3951
  $as_echo_n "(cached) " >&6
 
3952
else
 
3953
  case $INTLTOOL_UPDATE in
 
3954
  [\\/]* | ?:[\\/]*)
 
3955
  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
 
3956
  ;;
 
3957
  *)
 
3958
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3959
for as_dir in $PATH
 
3960
do
 
3961
  IFS=$as_save_IFS
 
3962
  test -z "$as_dir" && as_dir=.
 
3963
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3964
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3965
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
 
3966
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3967
    break 2
 
3968
  fi
 
3969
done
 
3970
  done
 
3971
IFS=$as_save_IFS
 
3972
 
 
3973
  ;;
 
3974
esac
 
3975
fi
 
3976
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
 
3977
if test -n "$INTLTOOL_UPDATE"; then
 
3978
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
 
3979
$as_echo "$INTLTOOL_UPDATE" >&6; }
 
3980
else
 
3981
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3982
$as_echo "no" >&6; }
 
3983
fi
 
3984
 
 
3985
 
 
3986
# Extract the first word of "intltool-merge", so it can be a program name with args.
 
3987
set dummy intltool-merge; ac_word=$2
 
3988
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3989
$as_echo_n "checking for $ac_word... " >&6; }
 
3990
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
 
3991
  $as_echo_n "(cached) " >&6
 
3992
else
 
3993
  case $INTLTOOL_MERGE in
 
3994
  [\\/]* | ?:[\\/]*)
 
3995
  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
 
3996
  ;;
 
3997
  *)
 
3998
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3999
for as_dir in $PATH
 
4000
do
 
4001
  IFS=$as_save_IFS
 
4002
  test -z "$as_dir" && as_dir=.
 
4003
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4004
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4005
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
 
4006
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4007
    break 2
 
4008
  fi
 
4009
done
 
4010
  done
 
4011
IFS=$as_save_IFS
 
4012
 
 
4013
  ;;
 
4014
esac
 
4015
fi
 
4016
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
 
4017
if test -n "$INTLTOOL_MERGE"; then
 
4018
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
 
4019
$as_echo "$INTLTOOL_MERGE" >&6; }
 
4020
else
 
4021
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4022
$as_echo "no" >&6; }
 
4023
fi
 
4024
 
 
4025
 
 
4026
# Extract the first word of "intltool-extract", so it can be a program name with args.
 
4027
set dummy intltool-extract; ac_word=$2
 
4028
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4029
$as_echo_n "checking for $ac_word... " >&6; }
 
4030
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
 
4031
  $as_echo_n "(cached) " >&6
 
4032
else
 
4033
  case $INTLTOOL_EXTRACT in
 
4034
  [\\/]* | ?:[\\/]*)
 
4035
  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
 
4036
  ;;
 
4037
  *)
 
4038
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4039
for as_dir in $PATH
 
4040
do
 
4041
  IFS=$as_save_IFS
 
4042
  test -z "$as_dir" && as_dir=.
 
4043
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4044
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4045
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
 
4046
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4047
    break 2
 
4048
  fi
 
4049
done
 
4050
  done
 
4051
IFS=$as_save_IFS
 
4052
 
 
4053
  ;;
 
4054
esac
 
4055
fi
 
4056
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
 
4057
if test -n "$INTLTOOL_EXTRACT"; then
 
4058
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
 
4059
$as_echo "$INTLTOOL_EXTRACT" >&6; }
 
4060
else
 
4061
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4062
$as_echo "no" >&6; }
 
4063
fi
 
4064
 
 
4065
 
 
4066
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
 
4067
    as_fn_error "The intltool scripts were not found. Please install intltool." "$LINENO" 5
 
4068
fi
 
4069
 
 
4070
  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
4071
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
4072
     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
4073
     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
4074
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
 
4075
     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
4076
   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
4077
    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
4078
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
4079
       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
4080
      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
4081
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
 
4082
      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
4083
      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
4084
    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
4085
  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
4086
    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
4087
    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
4088
   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
4089
 
 
4090
 
 
4091
 
 
4092
 
 
4093
 
 
4094
 
 
4095
 
 
4096
 
 
4097
 
 
4098
 
 
4099
 
 
4100
 
 
4101
 
 
4102
 
 
4103
 
 
4104
 
 
4105
 
 
4106
 
 
4107
 
 
4108
 
 
4109
 
 
4110
 
 
4111
 
 
4112
 
 
4113
 
 
4114
 
 
4115
 
 
4116
 
 
4117
 
 
4118
 
 
4119
 
 
4120
 
 
4121
 
 
4122
 
 
4123
 
 
4124
 
 
4125
 
 
4126
 
 
4127
 
 
4128
 
 
4129
 
 
4130
 
 
4131
 
 
4132
 
 
4133
 
 
4134
 
 
4135
 
 
4136
 
 
4137
 
 
4138
 
 
4139
 
 
4140
 
 
4141
 
 
4142
 
 
4143
 
 
4144
 
 
4145
 
 
4146
 
 
4147
 
 
4148
 
 
4149
 
 
4150
 
 
4151
 
 
4152
 
 
4153
 
 
4154
 
 
4155
 
 
4156
 
 
4157
 
 
4158
 
 
4159
 
 
4160
 
 
4161
 
 
4162
 
 
4163
 
 
4164
 
 
4165
 
 
4166
 
 
4167
 
 
4168
 
 
4169
 
 
4170
 
 
4171
 
 
4172
 
 
4173
 
 
4174
 
 
4175
 
 
4176
 
 
4177
 
 
4178
 
 
4179
 
 
4180
 
 
4181
 
 
4182
 
 
4183
 
 
4184
 
 
4185
 
 
4186
# Check the gettext tools to make sure they are GNU
 
4187
# Extract the first word of "xgettext", so it can be a program name with args.
 
4188
set dummy xgettext; ac_word=$2
 
4189
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4190
$as_echo_n "checking for $ac_word... " >&6; }
 
4191
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
 
4192
  $as_echo_n "(cached) " >&6
 
4193
else
 
4194
  case $XGETTEXT in
 
4195
  [\\/]* | ?:[\\/]*)
 
4196
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 
4197
  ;;
 
4198
  *)
 
4199
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4200
for as_dir in $PATH
 
4201
do
 
4202
  IFS=$as_save_IFS
 
4203
  test -z "$as_dir" && as_dir=.
 
4204
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4205
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4206
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
 
4207
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4208
    break 2
 
4209
  fi
 
4210
done
 
4211
  done
 
4212
IFS=$as_save_IFS
 
4213
 
 
4214
  ;;
 
4215
esac
 
4216
fi
 
4217
XGETTEXT=$ac_cv_path_XGETTEXT
 
4218
if test -n "$XGETTEXT"; then
 
4219
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
 
4220
$as_echo "$XGETTEXT" >&6; }
 
4221
else
 
4222
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4223
$as_echo "no" >&6; }
 
4224
fi
 
4225
 
 
4226
 
 
4227
# Extract the first word of "msgmerge", so it can be a program name with args.
 
4228
set dummy msgmerge; ac_word=$2
 
4229
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4230
$as_echo_n "checking for $ac_word... " >&6; }
 
4231
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
 
4232
  $as_echo_n "(cached) " >&6
 
4233
else
 
4234
  case $MSGMERGE in
 
4235
  [\\/]* | ?:[\\/]*)
 
4236
  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
 
4237
  ;;
 
4238
  *)
 
4239
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4240
for as_dir in $PATH
 
4241
do
 
4242
  IFS=$as_save_IFS
 
4243
  test -z "$as_dir" && as_dir=.
 
4244
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4245
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4246
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
 
4247
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4248
    break 2
 
4249
  fi
 
4250
done
 
4251
  done
 
4252
IFS=$as_save_IFS
 
4253
 
 
4254
  ;;
 
4255
esac
 
4256
fi
 
4257
MSGMERGE=$ac_cv_path_MSGMERGE
 
4258
if test -n "$MSGMERGE"; then
 
4259
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
 
4260
$as_echo "$MSGMERGE" >&6; }
 
4261
else
 
4262
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4263
$as_echo "no" >&6; }
 
4264
fi
 
4265
 
 
4266
 
 
4267
# Extract the first word of "msgfmt", so it can be a program name with args.
 
4268
set dummy msgfmt; ac_word=$2
 
4269
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4270
$as_echo_n "checking for $ac_word... " >&6; }
 
4271
if test "${ac_cv_path_MSGFMT+set}" = set; then :
 
4272
  $as_echo_n "(cached) " >&6
 
4273
else
 
4274
  case $MSGFMT in
 
4275
  [\\/]* | ?:[\\/]*)
 
4276
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 
4277
  ;;
 
4278
  *)
 
4279
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4280
for as_dir in $PATH
 
4281
do
 
4282
  IFS=$as_save_IFS
 
4283
  test -z "$as_dir" && as_dir=.
 
4284
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4285
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4286
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
4287
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4288
    break 2
 
4289
  fi
 
4290
done
 
4291
  done
 
4292
IFS=$as_save_IFS
 
4293
 
 
4294
  ;;
 
4295
esac
 
4296
fi
 
4297
MSGFMT=$ac_cv_path_MSGFMT
 
4298
if test -n "$MSGFMT"; then
 
4299
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
 
4300
$as_echo "$MSGFMT" >&6; }
 
4301
else
 
4302
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4303
$as_echo "no" >&6; }
 
4304
fi
 
4305
 
 
4306
 
 
4307
# Extract the first word of "gmsgfmt", so it can be a program name with args.
 
4308
set dummy gmsgfmt; ac_word=$2
 
4309
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4310
$as_echo_n "checking for $ac_word... " >&6; }
 
4311
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
 
4312
  $as_echo_n "(cached) " >&6
 
4313
else
 
4314
  case $GMSGFMT in
 
4315
  [\\/]* | ?:[\\/]*)
 
4316
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 
4317
  ;;
 
4318
  *)
 
4319
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4320
for as_dir in $PATH
 
4321
do
 
4322
  IFS=$as_save_IFS
 
4323
  test -z "$as_dir" && as_dir=.
 
4324
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4325
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4326
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
4327
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4328
    break 2
 
4329
  fi
 
4330
done
 
4331
  done
 
4332
IFS=$as_save_IFS
 
4333
 
 
4334
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 
4335
  ;;
 
4336
esac
 
4337
fi
 
4338
GMSGFMT=$ac_cv_path_GMSGFMT
 
4339
if test -n "$GMSGFMT"; then
 
4340
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
 
4341
$as_echo "$GMSGFMT" >&6; }
 
4342
else
 
4343
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4344
$as_echo "no" >&6; }
 
4345
fi
 
4346
 
 
4347
 
 
4348
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
 
4349
    as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
 
4350
fi
 
4351
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
 
4352
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
 
4353
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
 
4354
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
 
4355
    as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
 
4356
fi
 
4357
 
 
4358
# Extract the first word of "perl", so it can be a program name with args.
 
4359
set dummy perl; ac_word=$2
 
4360
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4361
$as_echo_n "checking for $ac_word... " >&6; }
 
4362
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
 
4363
  $as_echo_n "(cached) " >&6
 
4364
else
 
4365
  case $INTLTOOL_PERL in
 
4366
  [\\/]* | ?:[\\/]*)
 
4367
  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
 
4368
  ;;
 
4369
  *)
 
4370
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4371
for as_dir in $PATH
 
4372
do
 
4373
  IFS=$as_save_IFS
 
4374
  test -z "$as_dir" && as_dir=.
 
4375
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4376
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4377
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
 
4378
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4379
    break 2
 
4380
  fi
 
4381
done
 
4382
  done
 
4383
IFS=$as_save_IFS
 
4384
 
 
4385
  ;;
 
4386
esac
 
4387
fi
 
4388
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
 
4389
if test -n "$INTLTOOL_PERL"; then
 
4390
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
 
4391
$as_echo "$INTLTOOL_PERL" >&6; }
 
4392
else
 
4393
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4394
$as_echo "no" >&6; }
 
4395
fi
 
4396
 
 
4397
 
 
4398
if test -z "$INTLTOOL_PERL"; then
 
4399
   as_fn_error "perl not found" "$LINENO" 5
 
4400
fi
 
4401
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
 
4402
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
 
4403
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
 
4404
if test $? -ne 0; then
 
4405
   as_fn_error "perl 5.8.1 is required for intltool" "$LINENO" 5
 
4406
else
 
4407
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
 
4408
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
 
4409
$as_echo "$IT_PERL_VERSION" >&6; }
 
4410
fi
 
4411
if test "x" != "xno-xml"; then
 
4412
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
 
4413
$as_echo_n "checking for XML::Parser... " >&6; }
 
4414
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
 
4415
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
4416
$as_echo "ok" >&6; }
 
4417
   else
 
4418
       as_fn_error "XML::Parser perl module is required for intltool" "$LINENO" 5
 
4419
   fi
 
4420
fi
 
4421
 
 
4422
# Substitute ALL_LINGUAS so we can use it in po/Makefile
 
4423
 
 
4424
 
 
4425
# Set DATADIRNAME correctly if it is not set yet
 
4426
# (copied from glib-gettext.m4)
 
4427
if test -z "$DATADIRNAME"; then
 
4428
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4429
/* end confdefs.h.  */
 
4430
 
 
4431
int
 
4432
main ()
 
4433
{
 
4434
extern int _nl_msg_cat_cntr;
 
4435
                       return _nl_msg_cat_cntr
 
4436
  ;
 
4437
  return 0;
 
4438
}
 
4439
_ACEOF
 
4440
if ac_fn_c_try_link "$LINENO"; then :
 
4441
  DATADIRNAME=share
 
4442
else
 
4443
  case $host in
 
4444
    *-*-solaris*)
 
4445
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
4446
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
4447
  DATADIRNAME=share
 
4448
else
 
4449
  DATADIRNAME=lib
 
4450
fi
 
4451
 
 
4452
    ;;
 
4453
    *)
 
4454
    DATADIRNAME=lib
 
4455
    ;;
 
4456
    esac
 
4457
fi
 
4458
rm -f core conftest.err conftest.$ac_objext \
 
4459
    conftest$ac_exeext conftest.$ac_ext
 
4460
fi
 
4461
 
 
4462
 
 
4463
 
 
4464
 
 
4465
 
 
4466
 
3758
4467
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3759
4468
$as_echo_n "checking for library containing strerror... " >&6; }
3760
4469
if test "${ac_cv_search_strerror+set}" = set; then :
4133
4842
... rest of stderr output deleted ...
4134
4843
         10q' conftest.err >conftest.er1
4135
4844
    cat conftest.er1 >&5
 
4845
    rm -f conftest.er1 conftest.err
4136
4846
  fi
4137
 
  rm -f conftest.er1 conftest.err
4138
4847
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4139
4848
  test $ac_status = 0; }
4140
4849
done
4800
5509
... rest of stderr output deleted ...
4801
5510
         10q' conftest.err >conftest.er1
4802
5511
    cat conftest.er1 >&5
 
5512
    rm -f conftest.er1 conftest.err
4803
5513
  fi
4804
 
  rm -f conftest.er1 conftest.err
4805
5514
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4806
5515
  test $ac_status = 0; }
4807
5516
done
5530
6239
 
5531
6240
 
5532
6241
 
5533
 
  if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
5534
 
    GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
5535
 
  else
5536
 
    GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
5537
 
  fi
5538
 
 
5539
 
 
5540
 
# Check whether --with-gconf-source was given.
5541
 
if test "${with_gconf_source+set}" = set; then :
5542
 
  withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval"
5543
 
fi
5544
 
 
5545
 
 
5546
 
 
5547
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
5548
 
$as_echo "Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
5549
 
 
5550
 
  if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
5551
 
    GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
5552
 
  fi
5553
 
 
5554
 
 
5555
 
# Check whether --with-gconf-schema-file-dir was given.
5556
 
if test "${with_gconf_schema_file_dir+set}" = set; then :
5557
 
  withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval"
5558
 
fi
5559
 
 
5560
 
 
5561
 
 
5562
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
5563
 
$as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
5564
 
 
5565
 
  # Check whether --enable-schemas-install was given.
5566
 
if test "${enable_schemas_install+set}" = set; then :
5567
 
  enableval=$enable_schemas_install; case ${enableval} in
5568
 
       yes|no) ;;
5569
 
       *) as_fn_error "bad value ${enableval} for --enable-schemas-install" "$LINENO" 5 ;;
5570
 
      esac
5571
 
fi
5572
 
 
5573
 
   if test "$enable_schemas_install" != no; then
5574
 
  GCONF_SCHEMAS_INSTALL_TRUE=
5575
 
  GCONF_SCHEMAS_INSTALL_FALSE='#'
5576
 
else
5577
 
  GCONF_SCHEMAS_INSTALL_TRUE='#'
5578
 
  GCONF_SCHEMAS_INSTALL_FALSE=
5579
 
fi
5580
 
 
5581
 
 
5582
 
 
5583
 
 
5584
 
 
5585
 
    # Check whether --enable-compile-warnings was given.
5586
 
if test "${enable_compile_warnings+set}" = set; then :
5587
 
  enableval=$enable_compile_warnings;
5588
 
else
5589
 
  enable_compile_warnings="yes"
5590
 
fi
5591
 
 
5592
 
 
5593
 
    warnCFLAGS=
5594
 
    if test "x$GCC" != xyes; then
5595
 
        enable_compile_warnings=no
5596
 
    fi
5597
 
 
5598
 
    warning_flags=
5599
 
    realsave_CFLAGS="$CFLAGS"
5600
 
 
5601
 
    case "$enable_compile_warnings" in
5602
 
    no)
5603
 
        warning_flags=
5604
 
        ;;
5605
 
    minimum)
5606
 
        warning_flags="-Wall"
5607
 
        ;;
5608
 
    yes)
5609
 
        warning_flags="-Wall -Wmissing-prototypes"
5610
 
        ;;
5611
 
    maximum|error)
5612
 
        warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
5613
 
        CFLAGS="$warning_flags $CFLAGS"
5614
 
        for option in -Wno-sign-compare; do
5615
 
                SAVE_CFLAGS="$CFLAGS"
5616
 
                CFLAGS="$CFLAGS $option"
5617
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5
5618
 
$as_echo_n "checking whether gcc understands $option... " >&6; }
5619
 
                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5620
 
/* end confdefs.h.  */
5621
 
 
5622
 
int
5623
 
main ()
5624
 
{
5625
 
 
5626
 
  ;
5627
 
  return 0;
5628
 
}
5629
 
_ACEOF
5630
 
if ac_fn_c_try_compile "$LINENO"; then :
5631
 
  has_option=yes
5632
 
else
5633
 
  has_option=no
5634
 
fi
5635
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5636
 
                CFLAGS="$SAVE_CFLAGS"
5637
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
5638
 
$as_echo "$has_option" >&6; }
5639
 
                if test $has_option = yes; then
5640
 
                  warning_flags="$warning_flags $option"
5641
 
                fi
5642
 
                unset has_option
5643
 
                unset SAVE_CFLAGS
5644
 
        done
5645
 
        unset option
5646
 
        if test "$enable_compile_warnings" = "error" ; then
5647
 
            warning_flags="$warning_flags -Werror"
5648
 
        fi
5649
 
        ;;
5650
 
    *)
5651
 
        as_fn_error "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
5652
 
        ;;
5653
 
    esac
5654
 
    CFLAGS="$realsave_CFLAGS"
5655
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
5656
 
$as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
5657
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $warning_flags" >&5
5658
 
$as_echo "$warning_flags" >&6; }
5659
 
 
5660
 
    # Check whether --enable-iso-c was given.
5661
 
if test "${enable_iso_c+set}" = set; then :
5662
 
  enableval=$enable_iso_c;
5663
 
else
5664
 
  enable_iso_c=no
5665
 
fi
5666
 
 
5667
 
 
5668
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C compiler" >&5
5669
 
$as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; }
5670
 
    complCFLAGS=
5671
 
    if test "x$enable_iso_c" != "xno"; then
5672
 
        if test "x$GCC" = "xyes"; then
5673
 
        case " $CFLAGS " in
5674
 
            *\ \        -ansi\ \        *) ;;
5675
 
            *) complCFLAGS="$complCFLAGS -ansi" ;;
5676
 
        esac
5677
 
        case " $CFLAGS " in
5678
 
            *\ \        -pedantic\ \    *) ;;
5679
 
            *) complCFLAGS="$complCFLAGS -pedantic" ;;
5680
 
        esac
5681
 
        fi
5682
 
    fi
5683
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCFLAGS" >&5
5684
 
$as_echo "$complCFLAGS" >&6; }
5685
 
 
5686
 
    WARN_CFLAGS="$warning_flags $complCFLAGS"
5687
 
 
5688
 
 
5689
 
 
5690
 
 
5691
 
GTK_REQUIRED=2.18
5692
 
GCONF_REQUIRED=1.1.9
5693
 
 
5694
 
 
5695
6242
 
5696
6243
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5697
6244
        if test -n "$ac_tool_prefix"; then
5809
6356
fi
5810
6357
 
5811
6358
pkg_failed=no
5812
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCALCTOOL" >&5
5813
 
$as_echo_n "checking for GCALCTOOL... " >&6; }
 
6359
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ATK" >&5
 
6360
$as_echo_n "checking for ATK... " >&6; }
5814
6361
 
5815
6362
if test -n "$PKG_CONFIG"; then
5816
 
    if test -n "$GCALCTOOL_CFLAGS"; then
5817
 
        pkg_cv_GCALCTOOL_CFLAGS="$GCALCTOOL_CFLAGS"
 
6363
    if test -n "$ATK_CFLAGS"; then
 
6364
        pkg_cv_ATK_CFLAGS="$ATK_CFLAGS"
5818
6365
    else
5819
6366
        if test -n "$PKG_CONFIG" && \
5820
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
5821
 
    gtk+-2.0 >= \$GTK_REQUIRED
5822
 
    gconf-2.0 >= \$GCONF_REQUIRED
5823
 
    gio-2.0
5824
 
    libxml-2.0
5825
 
    gmodule-export-2.0
5826
 
\""; } >&5
5827
 
  ($PKG_CONFIG --exists --print-errors "
5828
 
    gtk+-2.0 >= $GTK_REQUIRED
5829
 
    gconf-2.0 >= $GCONF_REQUIRED
5830
 
    gio-2.0
5831
 
    libxml-2.0
5832
 
    gmodule-export-2.0
5833
 
") 2>&5
 
6367
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"atk >= 1.5\""; } >&5
 
6368
  ($PKG_CONFIG --exists --print-errors "atk >= 1.5") 2>&5
5834
6369
  ac_status=$?
5835
6370
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5836
6371
  test $ac_status = 0; }; then
5837
 
  pkg_cv_GCALCTOOL_CFLAGS=`$PKG_CONFIG --cflags "
5838
 
    gtk+-2.0 >= $GTK_REQUIRED
5839
 
    gconf-2.0 >= $GCONF_REQUIRED
5840
 
    gio-2.0
5841
 
    libxml-2.0
5842
 
    gmodule-export-2.0
5843
 
" 2>/dev/null`
 
6372
  pkg_cv_ATK_CFLAGS=`$PKG_CONFIG --cflags "atk >= 1.5" 2>/dev/null`
5844
6373
else
5845
6374
  pkg_failed=yes
5846
6375
fi
5849
6378
        pkg_failed=untried
5850
6379
fi
5851
6380
if test -n "$PKG_CONFIG"; then
5852
 
    if test -n "$GCALCTOOL_LIBS"; then
5853
 
        pkg_cv_GCALCTOOL_LIBS="$GCALCTOOL_LIBS"
 
6381
    if test -n "$ATK_LIBS"; then
 
6382
        pkg_cv_ATK_LIBS="$ATK_LIBS"
5854
6383
    else
5855
6384
        if test -n "$PKG_CONFIG" && \
5856
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
5857
 
    gtk+-2.0 >= \$GTK_REQUIRED
5858
 
    gconf-2.0 >= \$GCONF_REQUIRED
5859
 
    gio-2.0
5860
 
    libxml-2.0
5861
 
    gmodule-export-2.0
5862
 
\""; } >&5
5863
 
  ($PKG_CONFIG --exists --print-errors "
5864
 
    gtk+-2.0 >= $GTK_REQUIRED
5865
 
    gconf-2.0 >= $GCONF_REQUIRED
5866
 
    gio-2.0
5867
 
    libxml-2.0
5868
 
    gmodule-export-2.0
5869
 
") 2>&5
 
6385
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"atk >= 1.5\""; } >&5
 
6386
  ($PKG_CONFIG --exists --print-errors "atk >= 1.5") 2>&5
5870
6387
  ac_status=$?
5871
6388
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5872
6389
  test $ac_status = 0; }; then
5873
 
  pkg_cv_GCALCTOOL_LIBS=`$PKG_CONFIG --libs "
5874
 
    gtk+-2.0 >= $GTK_REQUIRED
5875
 
    gconf-2.0 >= $GCONF_REQUIRED
5876
 
    gio-2.0
5877
 
    libxml-2.0
5878
 
    gmodule-export-2.0
5879
 
" 2>/dev/null`
 
6390
  pkg_cv_ATK_LIBS=`$PKG_CONFIG --libs "atk >= 1.5" 2>/dev/null`
5880
6391
else
5881
6392
  pkg_failed=yes
5882
6393
fi
5895
6406
        _pkg_short_errors_supported=no
5896
6407
fi
5897
6408
        if test $_pkg_short_errors_supported = yes; then
5898
 
                GCALCTOOL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "
5899
 
    gtk+-2.0 >= $GTK_REQUIRED
5900
 
    gconf-2.0 >= $GCONF_REQUIRED
5901
 
    gio-2.0
5902
 
    libxml-2.0
5903
 
    gmodule-export-2.0
5904
 
"`
 
6409
                ATK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "atk >= 1.5"`
5905
6410
        else
5906
 
                GCALCTOOL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "
5907
 
    gtk+-2.0 >= $GTK_REQUIRED
5908
 
    gconf-2.0 >= $GCONF_REQUIRED
5909
 
    gio-2.0
5910
 
    libxml-2.0
5911
 
    gmodule-export-2.0
5912
 
"`
 
6411
                ATK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "atk >= 1.5"`
5913
6412
        fi
5914
6413
        # Put the nasty error message in config.log where it belongs
5915
 
        echo "$GCALCTOOL_PKG_ERRORS" >&5
5916
 
 
5917
 
        as_fn_error "Package requirements (
5918
 
    gtk+-2.0 >= $GTK_REQUIRED
5919
 
    gconf-2.0 >= $GCONF_REQUIRED
5920
 
    gio-2.0
5921
 
    libxml-2.0
5922
 
    gmodule-export-2.0
5923
 
) were not met:
5924
 
 
5925
 
$GCALCTOOL_PKG_ERRORS
 
6414
        echo "$ATK_PKG_ERRORS" >&5
 
6415
 
 
6416
        as_fn_error "Package requirements (atk >= 1.5) were not met:
 
6417
 
 
6418
$ATK_PKG_ERRORS
5926
6419
 
5927
6420
Consider adjusting the PKG_CONFIG_PATH environment variable if you
5928
6421
installed software in a non-standard prefix.
5929
6422
 
5930
 
Alternatively, you may set the environment variables GCALCTOOL_CFLAGS
5931
 
and GCALCTOOL_LIBS to avoid the need to call pkg-config.
 
6423
Alternatively, you may set the environment variables ATK_CFLAGS
 
6424
and ATK_LIBS to avoid the need to call pkg-config.
5932
6425
See the pkg-config man page for more details.
5933
6426
" "$LINENO" 5
5934
6427
elif test $pkg_failed = untried; then
5938
6431
is in your PATH or set the PKG_CONFIG environment variable to the full
5939
6432
path to pkg-config.
5940
6433
 
5941
 
Alternatively, you may set the environment variables GCALCTOOL_CFLAGS
5942
 
and GCALCTOOL_LIBS to avoid the need to call pkg-config.
 
6434
Alternatively, you may set the environment variables ATK_CFLAGS
 
6435
and ATK_LIBS to avoid the need to call pkg-config.
5943
6436
See the pkg-config man page for more details.
5944
6437
 
5945
6438
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5946
6439
See \`config.log' for more details." "$LINENO" 5; }
5947
6440
else
5948
 
        GCALCTOOL_CFLAGS=$pkg_cv_GCALCTOOL_CFLAGS
5949
 
        GCALCTOOL_LIBS=$pkg_cv_GCALCTOOL_LIBS
 
6441
        ATK_CFLAGS=$pkg_cv_ATK_CFLAGS
 
6442
        ATK_LIBS=$pkg_cv_ATK_LIBS
5950
6443
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5951
6444
$as_echo "yes" >&6; }
5952
6445
        :
5953
6446
fi
5954
6447
 
5955
6448
 
 
6449
 
 
6450
pkg_modules="gtk+-2.0 >= 2.14.0 gobject-2.0 gdk-x11-2.0 glib-2.0 atk gdk-pixbuf-2.0 gmodule-export-2.0"
 
6451
 
5956
6452
pkg_failed=no
5957
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCALCCMD" >&5
5958
 
$as_echo_n "checking for GCALCCMD... " >&6; }
 
6453
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PACKAGE" >&5
 
6454
$as_echo_n "checking for PACKAGE... " >&6; }
5959
6455
 
5960
6456
if test -n "$PKG_CONFIG"; then
5961
 
    if test -n "$GCALCCMD_CFLAGS"; then
5962
 
        pkg_cv_GCALCCMD_CFLAGS="$GCALCCMD_CFLAGS"
 
6457
    if test -n "$PACKAGE_CFLAGS"; then
 
6458
        pkg_cv_PACKAGE_CFLAGS="$PACKAGE_CFLAGS"
5963
6459
    else
5964
6460
        if test -n "$PKG_CONFIG" && \
5965
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
5966
 
    glib-2.0
5967
 
\""; } >&5
5968
 
  ($PKG_CONFIG --exists --print-errors "
5969
 
    glib-2.0
5970
 
") 2>&5
 
6461
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\""; } >&5
 
6462
  ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5
5971
6463
  ac_status=$?
5972
6464
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5973
6465
  test $ac_status = 0; }; then
5974
 
  pkg_cv_GCALCCMD_CFLAGS=`$PKG_CONFIG --cflags "
5975
 
    glib-2.0
5976
 
" 2>/dev/null`
 
6466
  pkg_cv_PACKAGE_CFLAGS=`$PKG_CONFIG --cflags "$pkg_modules" 2>/dev/null`
5977
6467
else
5978
6468
  pkg_failed=yes
5979
6469
fi
5982
6472
        pkg_failed=untried
5983
6473
fi
5984
6474
if test -n "$PKG_CONFIG"; then
5985
 
    if test -n "$GCALCCMD_LIBS"; then
5986
 
        pkg_cv_GCALCCMD_LIBS="$GCALCCMD_LIBS"
 
6475
    if test -n "$PACKAGE_LIBS"; then
 
6476
        pkg_cv_PACKAGE_LIBS="$PACKAGE_LIBS"
5987
6477
    else
5988
6478
        if test -n "$PKG_CONFIG" && \
5989
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
5990
 
    glib-2.0
5991
 
\""; } >&5
5992
 
  ($PKG_CONFIG --exists --print-errors "
5993
 
    glib-2.0
5994
 
") 2>&5
 
6479
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\""; } >&5
 
6480
  ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5
5995
6481
  ac_status=$?
5996
6482
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5997
6483
  test $ac_status = 0; }; then
5998
 
  pkg_cv_GCALCCMD_LIBS=`$PKG_CONFIG --libs "
5999
 
    glib-2.0
6000
 
" 2>/dev/null`
 
6484
  pkg_cv_PACKAGE_LIBS=`$PKG_CONFIG --libs "$pkg_modules" 2>/dev/null`
6001
6485
else
6002
6486
  pkg_failed=yes
6003
6487
fi
6016
6500
        _pkg_short_errors_supported=no
6017
6501
fi
6018
6502
        if test $_pkg_short_errors_supported = yes; then
6019
 
                GCALCCMD_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "
6020
 
    glib-2.0
6021
 
"`
 
6503
                PACKAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$pkg_modules"`
6022
6504
        else
6023
 
                GCALCCMD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "
6024
 
    glib-2.0
6025
 
"`
 
6505
                PACKAGE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$pkg_modules"`
6026
6506
        fi
6027
6507
        # Put the nasty error message in config.log where it belongs
6028
 
        echo "$GCALCCMD_PKG_ERRORS" >&5
6029
 
 
6030
 
        as_fn_error "Package requirements (
6031
 
    glib-2.0
6032
 
) were not met:
6033
 
 
6034
 
$GCALCCMD_PKG_ERRORS
 
6508
        echo "$PACKAGE_PKG_ERRORS" >&5
 
6509
 
 
6510
        as_fn_error "Package requirements ($pkg_modules) were not met:
 
6511
 
 
6512
$PACKAGE_PKG_ERRORS
6035
6513
 
6036
6514
Consider adjusting the PKG_CONFIG_PATH environment variable if you
6037
6515
installed software in a non-standard prefix.
6038
6516
 
6039
 
Alternatively, you may set the environment variables GCALCCMD_CFLAGS
6040
 
and GCALCCMD_LIBS to avoid the need to call pkg-config.
 
6517
Alternatively, you may set the environment variables PACKAGE_CFLAGS
 
6518
and PACKAGE_LIBS to avoid the need to call pkg-config.
6041
6519
See the pkg-config man page for more details.
6042
6520
" "$LINENO" 5
6043
6521
elif test $pkg_failed = untried; then
6047
6525
is in your PATH or set the PKG_CONFIG environment variable to the full
6048
6526
path to pkg-config.
6049
6527
 
6050
 
Alternatively, you may set the environment variables GCALCCMD_CFLAGS
6051
 
and GCALCCMD_LIBS to avoid the need to call pkg-config.
 
6528
Alternatively, you may set the environment variables PACKAGE_CFLAGS
 
6529
and PACKAGE_LIBS to avoid the need to call pkg-config.
6052
6530
See the pkg-config man page for more details.
6053
6531
 
6054
6532
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6055
6533
See \`config.log' for more details." "$LINENO" 5; }
6056
6534
else
6057
 
        GCALCCMD_CFLAGS=$pkg_cv_GCALCCMD_CFLAGS
6058
 
        GCALCCMD_LIBS=$pkg_cv_GCALCCMD_LIBS
 
6535
        PACKAGE_CFLAGS=$pkg_cv_PACKAGE_CFLAGS
 
6536
        PACKAGE_LIBS=$pkg_cv_PACKAGE_LIBS
6059
6537
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6060
6538
$as_echo "yes" >&6; }
6061
6539
        :
6062
6540
fi
6063
6541
 
6064
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for log in -lm" >&5
6065
 
$as_echo_n "checking for log in -lm... " >&6; }
6066
 
if test "${ac_cv_lib_m_log+set}" = set; then :
6067
 
  $as_echo_n "(cached) " >&6
6068
 
else
6069
 
  ac_check_lib_save_LIBS=$LIBS
6070
 
LIBS="-lm  $LIBS"
6071
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6072
 
/* end confdefs.h.  */
6073
 
 
6074
 
/* Override any GCC internal prototype to avoid an error.
6075
 
   Use char because int might match the return type of a GCC
6076
 
   builtin and then its argument prototype would still apply.  */
6077
 
#ifdef __cplusplus
6078
 
extern "C"
6079
 
#endif
6080
 
char log ();
6081
 
int
6082
 
main ()
6083
 
{
6084
 
return log ();
6085
 
  ;
6086
 
  return 0;
6087
 
}
6088
 
_ACEOF
6089
 
if ac_fn_c_try_link "$LINENO"; then :
6090
 
  ac_cv_lib_m_log=yes
6091
 
else
6092
 
  ac_cv_lib_m_log=no
6093
 
fi
6094
 
rm -f core conftest.err conftest.$ac_objext \
6095
 
    conftest$ac_exeext conftest.$ac_ext
6096
 
LIBS=$ac_check_lib_save_LIBS
6097
 
fi
6098
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log" >&5
6099
 
$as_echo "$ac_cv_lib_m_log" >&6; }
6100
 
if test "x$ac_cv_lib_m_log" = x""yes; then :
6101
 
  cat >>confdefs.h <<_ACEOF
6102
 
#define HAVE_LIBM 1
6103
 
_ACEOF
6104
 
 
6105
 
  LIBS="-lm $LIBS"
6106
 
 
6107
 
fi
6108
 
 
6109
6542
 
6110
6543
 
6111
6544
for ac_prog in flex lex
6271
6704
if [ "$LEX" != "flex" ]; then
6272
6705
        as_fn_error "flex is required to create the gcalctool scanners" "$LINENO" 5
6273
6706
fi
 
6707
LFLAGS="-8"
6274
6708
 
6275
6709
 
6276
6710
for ac_prog in 'bison -y' byacc
6360
6794
 
6361
6795
 
6362
6796
 
6363
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
6364
 
$as_echo_n "checking whether NLS is requested... " >&6; }
6365
 
    # Check whether --enable-nls was given.
6366
 
if test "${enable_nls+set}" = set; then :
6367
 
  enableval=$enable_nls; USE_NLS=$enableval
6368
 
else
6369
 
  USE_NLS=yes
6370
 
fi
6371
 
 
6372
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6373
 
$as_echo "$USE_NLS" >&6; }
6374
 
 
6375
 
 
6376
 
 
6377
 
 
6378
 
case "$am__api_version" in
6379
 
    1.01234)
6380
 
        as_fn_error "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
6381
 
    ;;
6382
 
    *)
6383
 
    ;;
6384
 
esac
6385
 
 
6386
 
if test -n "0.35.0"; then
6387
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
6388
 
$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
6389
 
 
6390
 
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
6391
 
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
6392
 
    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
6393
 
 
6394
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
6395
 
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
6396
 
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
6397
 
        as_fn_error "Your intltool is too old.  You need intltool 0.35.0 or later." "$LINENO" 5
6398
 
fi
6399
 
 
6400
 
# Extract the first word of "intltool-update", so it can be a program name with args.
6401
 
set dummy intltool-update; ac_word=$2
6402
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6403
 
$as_echo_n "checking for $ac_word... " >&6; }
6404
 
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
6405
 
  $as_echo_n "(cached) " >&6
6406
 
else
6407
 
  case $INTLTOOL_UPDATE in
6408
 
  [\\/]* | ?:[\\/]*)
6409
 
  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
6410
 
  ;;
6411
 
  *)
6412
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6413
 
for as_dir in $PATH
6414
 
do
6415
 
  IFS=$as_save_IFS
6416
 
  test -z "$as_dir" && as_dir=.
6417
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6418
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6419
 
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
6420
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6421
 
    break 2
6422
 
  fi
6423
 
done
6424
 
  done
6425
 
IFS=$as_save_IFS
6426
 
 
6427
 
  ;;
6428
 
esac
6429
 
fi
6430
 
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
6431
 
if test -n "$INTLTOOL_UPDATE"; then
6432
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
6433
 
$as_echo "$INTLTOOL_UPDATE" >&6; }
6434
 
else
6435
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6436
 
$as_echo "no" >&6; }
6437
 
fi
6438
 
 
6439
 
 
6440
 
# Extract the first word of "intltool-merge", so it can be a program name with args.
6441
 
set dummy intltool-merge; ac_word=$2
6442
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6443
 
$as_echo_n "checking for $ac_word... " >&6; }
6444
 
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
6445
 
  $as_echo_n "(cached) " >&6
6446
 
else
6447
 
  case $INTLTOOL_MERGE in
6448
 
  [\\/]* | ?:[\\/]*)
6449
 
  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
6450
 
  ;;
6451
 
  *)
6452
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6453
 
for as_dir in $PATH
6454
 
do
6455
 
  IFS=$as_save_IFS
6456
 
  test -z "$as_dir" && as_dir=.
6457
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6458
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6459
 
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
6460
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6461
 
    break 2
6462
 
  fi
6463
 
done
6464
 
  done
6465
 
IFS=$as_save_IFS
6466
 
 
6467
 
  ;;
6468
 
esac
6469
 
fi
6470
 
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
6471
 
if test -n "$INTLTOOL_MERGE"; then
6472
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
6473
 
$as_echo "$INTLTOOL_MERGE" >&6; }
6474
 
else
6475
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6476
 
$as_echo "no" >&6; }
6477
 
fi
6478
 
 
6479
 
 
6480
 
# Extract the first word of "intltool-extract", so it can be a program name with args.
6481
 
set dummy intltool-extract; ac_word=$2
6482
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6483
 
$as_echo_n "checking for $ac_word... " >&6; }
6484
 
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
6485
 
  $as_echo_n "(cached) " >&6
6486
 
else
6487
 
  case $INTLTOOL_EXTRACT in
6488
 
  [\\/]* | ?:[\\/]*)
6489
 
  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
6490
 
  ;;
6491
 
  *)
6492
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6493
 
for as_dir in $PATH
6494
 
do
6495
 
  IFS=$as_save_IFS
6496
 
  test -z "$as_dir" && as_dir=.
6497
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6498
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6499
 
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
6500
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6501
 
    break 2
6502
 
  fi
6503
 
done
6504
 
  done
6505
 
IFS=$as_save_IFS
6506
 
 
6507
 
  ;;
6508
 
esac
6509
 
fi
6510
 
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
6511
 
if test -n "$INTLTOOL_EXTRACT"; then
6512
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
6513
 
$as_echo "$INTLTOOL_EXTRACT" >&6; }
6514
 
else
6515
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6516
 
$as_echo "no" >&6; }
6517
 
fi
6518
 
 
6519
 
 
6520
 
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
6521
 
    as_fn_error "The intltool scripts were not found. Please install intltool." "$LINENO" 5
6522
 
fi
6523
 
 
6524
 
  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6525
 
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6526
 
     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6527
 
     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6528
 
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
6529
 
     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6530
 
   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6531
 
    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6532
 
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6533
 
       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6534
 
      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6535
 
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
6536
 
      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6537
 
      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6538
 
    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6539
 
  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6540
 
    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6541
 
    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6542
 
   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6543
 
 
6544
 
 
6545
 
 
6546
 
 
6547
 
 
6548
 
 
6549
 
 
6550
 
 
6551
 
 
6552
 
 
6553
 
 
6554
 
 
6555
 
 
6556
 
 
6557
 
 
6558
 
 
6559
 
 
6560
 
 
6561
 
 
6562
 
 
6563
 
 
6564
 
 
6565
 
 
6566
 
 
6567
 
 
6568
 
 
6569
 
 
6570
 
 
6571
 
 
6572
 
 
6573
 
 
6574
 
 
6575
 
 
6576
 
 
6577
 
 
6578
 
 
6579
 
 
6580
 
 
6581
 
 
6582
 
 
6583
 
 
6584
 
 
6585
 
 
6586
 
 
6587
 
 
6588
 
 
6589
 
 
6590
 
 
6591
 
 
6592
 
 
6593
 
 
6594
 
 
6595
 
 
6596
 
 
6597
 
 
6598
 
 
6599
 
 
6600
 
 
6601
 
 
6602
 
 
6603
 
 
6604
 
 
6605
 
 
6606
 
 
6607
 
 
6608
 
 
6609
 
 
6610
 
 
6611
 
 
6612
 
 
6613
 
 
6614
 
 
6615
 
 
6616
 
 
6617
 
 
6618
 
 
6619
 
 
6620
 
 
6621
 
 
6622
 
 
6623
 
 
6624
 
 
6625
 
 
6626
 
 
6627
 
 
6628
 
 
6629
 
 
6630
 
 
6631
 
 
6632
 
 
6633
 
 
6634
 
 
6635
 
 
6636
 
 
6637
 
 
6638
 
 
6639
 
 
6640
 
# Check the gettext tools to make sure they are GNU
6641
 
# Extract the first word of "xgettext", so it can be a program name with args.
6642
 
set dummy xgettext; ac_word=$2
6643
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6644
 
$as_echo_n "checking for $ac_word... " >&6; }
6645
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
6646
 
  $as_echo_n "(cached) " >&6
6647
 
else
6648
 
  case $XGETTEXT in
6649
 
  [\\/]* | ?:[\\/]*)
6650
 
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
6651
 
  ;;
6652
 
  *)
6653
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6654
 
for as_dir in $PATH
6655
 
do
6656
 
  IFS=$as_save_IFS
6657
 
  test -z "$as_dir" && as_dir=.
6658
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6659
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6660
 
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
6661
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6662
 
    break 2
6663
 
  fi
6664
 
done
6665
 
  done
6666
 
IFS=$as_save_IFS
6667
 
 
6668
 
  ;;
6669
 
esac
6670
 
fi
6671
 
XGETTEXT=$ac_cv_path_XGETTEXT
6672
 
if test -n "$XGETTEXT"; then
6673
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
6674
 
$as_echo "$XGETTEXT" >&6; }
6675
 
else
6676
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6677
 
$as_echo "no" >&6; }
6678
 
fi
6679
 
 
6680
 
 
6681
 
# Extract the first word of "msgmerge", so it can be a program name with args.
6682
 
set dummy msgmerge; ac_word=$2
6683
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6684
 
$as_echo_n "checking for $ac_word... " >&6; }
6685
 
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
6686
 
  $as_echo_n "(cached) " >&6
6687
 
else
6688
 
  case $MSGMERGE in
6689
 
  [\\/]* | ?:[\\/]*)
6690
 
  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
6691
 
  ;;
6692
 
  *)
6693
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6694
 
for as_dir in $PATH
6695
 
do
6696
 
  IFS=$as_save_IFS
6697
 
  test -z "$as_dir" && as_dir=.
6698
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6699
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6700
 
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
6701
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6702
 
    break 2
6703
 
  fi
6704
 
done
6705
 
  done
6706
 
IFS=$as_save_IFS
6707
 
 
6708
 
  ;;
6709
 
esac
6710
 
fi
6711
 
MSGMERGE=$ac_cv_path_MSGMERGE
6712
 
if test -n "$MSGMERGE"; then
6713
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
6714
 
$as_echo "$MSGMERGE" >&6; }
6715
 
else
6716
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6717
 
$as_echo "no" >&6; }
6718
 
fi
6719
 
 
6720
 
 
6721
 
# Extract the first word of "msgfmt", so it can be a program name with args.
6722
 
set dummy msgfmt; ac_word=$2
6723
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6724
 
$as_echo_n "checking for $ac_word... " >&6; }
6725
 
if test "${ac_cv_path_MSGFMT+set}" = set; then :
6726
 
  $as_echo_n "(cached) " >&6
6727
 
else
6728
 
  case $MSGFMT in
6729
 
  [\\/]* | ?:[\\/]*)
6730
 
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
6731
 
  ;;
6732
 
  *)
6733
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6734
 
for as_dir in $PATH
6735
 
do
6736
 
  IFS=$as_save_IFS
6737
 
  test -z "$as_dir" && as_dir=.
6738
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6739
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6740
 
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
6741
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6742
 
    break 2
6743
 
  fi
6744
 
done
6745
 
  done
6746
 
IFS=$as_save_IFS
6747
 
 
6748
 
  ;;
6749
 
esac
6750
 
fi
6751
 
MSGFMT=$ac_cv_path_MSGFMT
6752
 
if test -n "$MSGFMT"; then
6753
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6754
 
$as_echo "$MSGFMT" >&6; }
6755
 
else
6756
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6757
 
$as_echo "no" >&6; }
6758
 
fi
6759
 
 
6760
 
 
6761
 
# Extract the first word of "gmsgfmt", so it can be a program name with args.
6762
 
set dummy gmsgfmt; ac_word=$2
6763
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6764
 
$as_echo_n "checking for $ac_word... " >&6; }
6765
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
6766
 
  $as_echo_n "(cached) " >&6
6767
 
else
6768
 
  case $GMSGFMT in
6769
 
  [\\/]* | ?:[\\/]*)
6770
 
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
6771
 
  ;;
6772
 
  *)
6773
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6774
 
for as_dir in $PATH
6775
 
do
6776
 
  IFS=$as_save_IFS
6777
 
  test -z "$as_dir" && as_dir=.
6778
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6779
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6780
 
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
6781
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6782
 
    break 2
6783
 
  fi
6784
 
done
6785
 
  done
6786
 
IFS=$as_save_IFS
6787
 
 
6788
 
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
6789
 
  ;;
6790
 
esac
6791
 
fi
6792
 
GMSGFMT=$ac_cv_path_GMSGFMT
6793
 
if test -n "$GMSGFMT"; then
6794
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
6795
 
$as_echo "$GMSGFMT" >&6; }
6796
 
else
6797
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6798
 
$as_echo "no" >&6; }
6799
 
fi
6800
 
 
6801
 
 
6802
 
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
6803
 
    as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
6804
 
fi
6805
 
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
6806
 
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
6807
 
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
6808
 
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
6809
 
    as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
6810
 
fi
6811
 
 
6812
 
# Extract the first word of "perl", so it can be a program name with args.
6813
 
set dummy perl; ac_word=$2
6814
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6815
 
$as_echo_n "checking for $ac_word... " >&6; }
6816
 
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
6817
 
  $as_echo_n "(cached) " >&6
6818
 
else
6819
 
  case $INTLTOOL_PERL in
6820
 
  [\\/]* | ?:[\\/]*)
6821
 
  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
6822
 
  ;;
6823
 
  *)
6824
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6825
 
for as_dir in $PATH
6826
 
do
6827
 
  IFS=$as_save_IFS
6828
 
  test -z "$as_dir" && as_dir=.
6829
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6830
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6831
 
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
6832
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6833
 
    break 2
6834
 
  fi
6835
 
done
6836
 
  done
6837
 
IFS=$as_save_IFS
6838
 
 
6839
 
  ;;
6840
 
esac
6841
 
fi
6842
 
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
6843
 
if test -n "$INTLTOOL_PERL"; then
6844
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
6845
 
$as_echo "$INTLTOOL_PERL" >&6; }
6846
 
else
6847
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6848
 
$as_echo "no" >&6; }
6849
 
fi
6850
 
 
6851
 
 
6852
 
if test -z "$INTLTOOL_PERL"; then
6853
 
   as_fn_error "perl not found" "$LINENO" 5
6854
 
fi
6855
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
6856
 
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
6857
 
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
6858
 
if test $? -ne 0; then
6859
 
   as_fn_error "perl 5.8.1 is required for intltool" "$LINENO" 5
6860
 
else
6861
 
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
6862
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
6863
 
$as_echo "$IT_PERL_VERSION" >&6; }
6864
 
fi
6865
 
if test "x" != "xno-xml"; then
6866
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
6867
 
$as_echo_n "checking for XML::Parser... " >&6; }
6868
 
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
6869
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6870
 
$as_echo "ok" >&6; }
6871
 
   else
6872
 
       as_fn_error "XML::Parser perl module is required for intltool" "$LINENO" 5
6873
 
   fi
6874
 
fi
6875
 
 
6876
 
# Substitute ALL_LINGUAS so we can use it in po/Makefile
6877
 
 
6878
 
 
6879
 
# Set DATADIRNAME correctly if it is not set yet
6880
 
# (copied from glib-gettext.m4)
6881
 
if test -z "$DATADIRNAME"; then
6882
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6883
 
/* end confdefs.h.  */
6884
 
 
6885
 
int
6886
 
main ()
6887
 
{
6888
 
extern int _nl_msg_cat_cntr;
6889
 
                       return _nl_msg_cat_cntr
6890
 
  ;
6891
 
  return 0;
6892
 
}
6893
 
_ACEOF
6894
 
if ac_fn_c_try_link "$LINENO"; then :
6895
 
  DATADIRNAME=share
6896
 
else
6897
 
  case $host in
6898
 
    *-*-solaris*)
6899
 
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
6900
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
6901
 
  DATADIRNAME=share
6902
 
else
6903
 
  DATADIRNAME=lib
6904
 
fi
6905
 
 
6906
 
    ;;
6907
 
    *)
6908
 
    DATADIRNAME=lib
6909
 
    ;;
6910
 
    esac
6911
 
fi
6912
 
rm -f core conftest.err conftest.$ac_objext \
6913
 
    conftest$ac_exeext conftest.$ac_ext
6914
 
fi
6915
 
 
6916
 
 
6917
 
 
 
6797
pkg_failed=no
 
6798
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCONF" >&5
 
6799
$as_echo_n "checking for GCONF... " >&6; }
 
6800
 
 
6801
if test -n "$PKG_CONFIG"; then
 
6802
    if test -n "$GCONF_CFLAGS"; then
 
6803
        pkg_cv_GCONF_CFLAGS="$GCONF_CFLAGS"
 
6804
    else
 
6805
        if test -n "$PKG_CONFIG" && \
 
6806
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0 >= 1.1.9\""; } >&5
 
6807
  ($PKG_CONFIG --exists --print-errors "gconf-2.0 >= 1.1.9") 2>&5
 
6808
  ac_status=$?
 
6809
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6810
  test $ac_status = 0; }; then
 
6811
  pkg_cv_GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 1.1.9" 2>/dev/null`
 
6812
else
 
6813
  pkg_failed=yes
 
6814
fi
 
6815
    fi
 
6816
else
 
6817
        pkg_failed=untried
 
6818
fi
 
6819
if test -n "$PKG_CONFIG"; then
 
6820
    if test -n "$GCONF_LIBS"; then
 
6821
        pkg_cv_GCONF_LIBS="$GCONF_LIBS"
 
6822
    else
 
6823
        if test -n "$PKG_CONFIG" && \
 
6824
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0 >= 1.1.9\""; } >&5
 
6825
  ($PKG_CONFIG --exists --print-errors "gconf-2.0 >= 1.1.9") 2>&5
 
6826
  ac_status=$?
 
6827
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6828
  test $ac_status = 0; }; then
 
6829
  pkg_cv_GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 1.1.9" 2>/dev/null`
 
6830
else
 
6831
  pkg_failed=yes
 
6832
fi
 
6833
    fi
 
6834
else
 
6835
        pkg_failed=untried
 
6836
fi
 
6837
 
 
6838
 
 
6839
 
 
6840
if test $pkg_failed = yes; then
 
6841
 
 
6842
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
6843
        _pkg_short_errors_supported=yes
 
6844
else
 
6845
        _pkg_short_errors_supported=no
 
6846
fi
 
6847
        if test $_pkg_short_errors_supported = yes; then
 
6848
                GCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gconf-2.0 >= 1.1.9"`
 
6849
        else
 
6850
                GCONF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gconf-2.0 >= 1.1.9"`
 
6851
        fi
 
6852
        # Put the nasty error message in config.log where it belongs
 
6853
        echo "$GCONF_PKG_ERRORS" >&5
 
6854
 
 
6855
        as_fn_error "Package requirements (gconf-2.0 >= 1.1.9) were not met:
 
6856
 
 
6857
$GCONF_PKG_ERRORS
 
6858
 
 
6859
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
6860
installed software in a non-standard prefix.
 
6861
 
 
6862
Alternatively, you may set the environment variables GCONF_CFLAGS
 
6863
and GCONF_LIBS to avoid the need to call pkg-config.
 
6864
See the pkg-config man page for more details.
 
6865
" "$LINENO" 5
 
6866
elif test $pkg_failed = untried; then
 
6867
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
6868
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
6869
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
6870
is in your PATH or set the PKG_CONFIG environment variable to the full
 
6871
path to pkg-config.
 
6872
 
 
6873
Alternatively, you may set the environment variables GCONF_CFLAGS
 
6874
and GCONF_LIBS to avoid the need to call pkg-config.
 
6875
See the pkg-config man page for more details.
 
6876
 
 
6877
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
6878
See \`config.log' for more details." "$LINENO" 5; }
 
6879
else
 
6880
        GCONF_CFLAGS=$pkg_cv_GCONF_CFLAGS
 
6881
        GCONF_LIBS=$pkg_cv_GCONF_LIBS
 
6882
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
6883
$as_echo "yes" >&6; }
 
6884
        :
 
6885
fi
 
6886
 
 
6887
 
 
6888
 
 
6889
 
 
6890
# Extract the first word of "scrollkeeper-config", so it can be a program name with args.
 
6891
set dummy scrollkeeper-config; ac_word=$2
 
6892
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6893
$as_echo_n "checking for $ac_word... " >&6; }
 
6894
if test "${ac_cv_path_SCROLLKEEPER_CONFIG+set}" = set; then :
 
6895
  $as_echo_n "(cached) " >&6
 
6896
else
 
6897
  case $SCROLLKEEPER_CONFIG in
 
6898
  [\\/]* | ?:[\\/]*)
 
6899
  ac_cv_path_SCROLLKEEPER_CONFIG="$SCROLLKEEPER_CONFIG" # Let the user override the test with a path.
 
6900
  ;;
 
6901
  *)
 
6902
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6903
for as_dir in $PATH
 
6904
do
 
6905
  IFS=$as_save_IFS
 
6906
  test -z "$as_dir" && as_dir=.
 
6907
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6908
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6909
    ac_cv_path_SCROLLKEEPER_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
6910
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6911
    break 2
 
6912
  fi
 
6913
done
 
6914
  done
 
6915
IFS=$as_save_IFS
 
6916
 
 
6917
  test -z "$ac_cv_path_SCROLLKEEPER_CONFIG" && ac_cv_path_SCROLLKEEPER_CONFIG="no"
 
6918
  ;;
 
6919
esac
 
6920
fi
 
6921
SCROLLKEEPER_CONFIG=$ac_cv_path_SCROLLKEEPER_CONFIG
 
6922
if test -n "$SCROLLKEEPER_CONFIG"; then
 
6923
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SCROLLKEEPER_CONFIG" >&5
 
6924
$as_echo "$SCROLLKEEPER_CONFIG" >&6; }
 
6925
else
 
6926
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6927
$as_echo "no" >&6; }
 
6928
fi
 
6929
 
 
6930
 
 
6931
if test x$SCROLLKEEPER_CONFIG = xno; then
 
6932
  as_fn_error "Couldn't find scrollkeeper-config. Please install the scrollkeeper package" "$LINENO" 5
 
6933
fi
6918
6934
 
6919
6935
 
6920
6936
GETTEXT_PACKAGE=gcalctool
6921
6937
 
 
6938
 
 
6939
cat >>confdefs.h <<_ACEOF
 
6940
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
 
6941
_ACEOF
 
6942
 
 
6943
 
 
6944
case `pwd` in
 
6945
  *\ * | *\     *)
 
6946
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
6947
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
6948
esac
 
6949
 
 
6950
 
 
6951
 
 
6952
macro_version='2.2.6'
 
6953
macro_revision='1.3012'
 
6954
 
 
6955
 
 
6956
 
 
6957
 
 
6958
 
 
6959
 
 
6960
 
 
6961
 
 
6962
 
 
6963
 
 
6964
 
 
6965
 
 
6966
 
 
6967
ltmain="$ac_aux_dir/ltmain.sh"
 
6968
 
 
6969
# Make sure we can run config.sub.
 
6970
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
6971
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
6972
 
 
6973
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 
6974
$as_echo_n "checking build system type... " >&6; }
 
6975
if test "${ac_cv_build+set}" = set; then :
 
6976
  $as_echo_n "(cached) " >&6
 
6977
else
 
6978
  ac_build_alias=$build_alias
 
6979
test "x$ac_build_alias" = x &&
 
6980
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
6981
test "x$ac_build_alias" = x &&
 
6982
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
 
6983
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
6984
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
6985
 
 
6986
fi
 
6987
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 
6988
$as_echo "$ac_cv_build" >&6; }
 
6989
case $ac_cv_build in
 
6990
*-*-*) ;;
 
6991
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
 
6992
esac
 
6993
build=$ac_cv_build
 
6994
ac_save_IFS=$IFS; IFS='-'
 
6995
set x $ac_cv_build
 
6996
shift
 
6997
build_cpu=$1
 
6998
build_vendor=$2
 
6999
shift; shift
 
7000
# Remember, the first character of IFS is used to create $*,
 
7001
# except with old shells:
 
7002
build_os=$*
 
7003
IFS=$ac_save_IFS
 
7004
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
7005
 
 
7006
 
 
7007
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 
7008
$as_echo_n "checking host system type... " >&6; }
 
7009
if test "${ac_cv_host+set}" = set; then :
 
7010
  $as_echo_n "(cached) " >&6
 
7011
else
 
7012
  if test "x$host_alias" = x; then
 
7013
  ac_cv_host=$ac_cv_build
 
7014
else
 
7015
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
7016
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
7017
fi
 
7018
 
 
7019
fi
 
7020
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 
7021
$as_echo "$ac_cv_host" >&6; }
 
7022
case $ac_cv_host in
 
7023
*-*-*) ;;
 
7024
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
 
7025
esac
 
7026
host=$ac_cv_host
 
7027
ac_save_IFS=$IFS; IFS='-'
 
7028
set x $ac_cv_host
 
7029
shift
 
7030
host_cpu=$1
 
7031
host_vendor=$2
 
7032
shift; shift
 
7033
# Remember, the first character of IFS is used to create $*,
 
7034
# except with old shells:
 
7035
host_os=$*
 
7036
IFS=$ac_save_IFS
 
7037
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
7038
 
 
7039
 
 
7040
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 
7041
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
7042
if test "${ac_cv_path_SED+set}" = set; then :
 
7043
  $as_echo_n "(cached) " >&6
 
7044
else
 
7045
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
7046
     for ac_i in 1 2 3 4 5 6 7; do
 
7047
       ac_script="$ac_script$as_nl$ac_script"
 
7048
     done
 
7049
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
7050
     { ac_script=; unset ac_script;}
 
7051
     if test -z "$SED"; then
 
7052
  ac_path_SED_found=false
 
7053
  # Loop through the user's path and test for each of PROGNAME-LIST
 
7054
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7055
for as_dir in $PATH
 
7056
do
 
7057
  IFS=$as_save_IFS
 
7058
  test -z "$as_dir" && as_dir=.
 
7059
    for ac_prog in sed gsed; do
 
7060
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7061
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
7062
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
7063
# Check for GNU ac_path_SED and select it if it is found.
 
7064
  # Check for GNU $ac_path_SED
 
7065
case `"$ac_path_SED" --version 2>&1` in
 
7066
*GNU*)
 
7067
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
7068
*)
 
7069
  ac_count=0
 
7070
  $as_echo_n 0123456789 >"conftest.in"
 
7071
  while :
 
7072
  do
 
7073
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
7074
    mv "conftest.tmp" "conftest.in"
 
7075
    cp "conftest.in" "conftest.nl"
 
7076
    $as_echo '' >> "conftest.nl"
 
7077
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
7078
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
7079
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
7080
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
7081
      # Best one so far, save it but keep looking for a better one
 
7082
      ac_cv_path_SED="$ac_path_SED"
 
7083
      ac_path_SED_max=$ac_count
 
7084
    fi
 
7085
    # 10*(2^10) chars as input seems more than enough
 
7086
    test $ac_count -gt 10 && break
 
7087
  done
 
7088
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
7089
esac
 
7090
 
 
7091
      $ac_path_SED_found && break 3
 
7092
    done
 
7093
  done
 
7094
  done
 
7095
IFS=$as_save_IFS
 
7096
  if test -z "$ac_cv_path_SED"; then
 
7097
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
7098
  fi
 
7099
else
 
7100
  ac_cv_path_SED=$SED
 
7101
fi
 
7102
 
 
7103
fi
 
7104
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
7105
$as_echo "$ac_cv_path_SED" >&6; }
 
7106
 SED="$ac_cv_path_SED"
 
7107
  rm -f conftest.sed
 
7108
 
 
7109
test -z "$SED" && SED=sed
 
7110
Xsed="$SED -e 1s/^X//"
 
7111
 
 
7112
 
 
7113
 
 
7114
 
 
7115
 
 
7116
 
 
7117
 
 
7118
 
 
7119
 
 
7120
 
 
7121
 
 
7122
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 
7123
$as_echo_n "checking for fgrep... " >&6; }
 
7124
if test "${ac_cv_path_FGREP+set}" = set; then :
 
7125
  $as_echo_n "(cached) " >&6
 
7126
else
 
7127
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
7128
   then ac_cv_path_FGREP="$GREP -F"
 
7129
   else
 
7130
     if test -z "$FGREP"; then
 
7131
  ac_path_FGREP_found=false
 
7132
  # Loop through the user's path and test for each of PROGNAME-LIST
 
7133
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7134
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
7135
do
 
7136
  IFS=$as_save_IFS
 
7137
  test -z "$as_dir" && as_dir=.
 
7138
    for ac_prog in fgrep; do
 
7139
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7140
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
7141
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
7142
# Check for GNU ac_path_FGREP and select it if it is found.
 
7143
  # Check for GNU $ac_path_FGREP
 
7144
case `"$ac_path_FGREP" --version 2>&1` in
 
7145
*GNU*)
 
7146
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
7147
*)
 
7148
  ac_count=0
 
7149
  $as_echo_n 0123456789 >"conftest.in"
 
7150
  while :
 
7151
  do
 
7152
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
7153
    mv "conftest.tmp" "conftest.in"
 
7154
    cp "conftest.in" "conftest.nl"
 
7155
    $as_echo 'FGREP' >> "conftest.nl"
 
7156
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
7157
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
7158
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
7159
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
7160
      # Best one so far, save it but keep looking for a better one
 
7161
      ac_cv_path_FGREP="$ac_path_FGREP"
 
7162
      ac_path_FGREP_max=$ac_count
 
7163
    fi
 
7164
    # 10*(2^10) chars as input seems more than enough
 
7165
    test $ac_count -gt 10 && break
 
7166
  done
 
7167
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
7168
esac
 
7169
 
 
7170
      $ac_path_FGREP_found && break 3
 
7171
    done
 
7172
  done
 
7173
  done
 
7174
IFS=$as_save_IFS
 
7175
  if test -z "$ac_cv_path_FGREP"; then
 
7176
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
7177
  fi
 
7178
else
 
7179
  ac_cv_path_FGREP=$FGREP
 
7180
fi
 
7181
 
 
7182
   fi
 
7183
fi
 
7184
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
 
7185
$as_echo "$ac_cv_path_FGREP" >&6; }
 
7186
 FGREP="$ac_cv_path_FGREP"
 
7187
 
 
7188
 
 
7189
test -z "$GREP" && GREP=grep
 
7190
 
 
7191
 
 
7192
 
 
7193
 
 
7194
 
 
7195
 
 
7196
 
 
7197
 
 
7198
 
 
7199
 
 
7200
 
 
7201
 
 
7202
 
 
7203
 
 
7204
 
 
7205
 
 
7206
 
 
7207
 
 
7208
 
 
7209
# Check whether --with-gnu-ld was given.
 
7210
if test "${with_gnu_ld+set}" = set; then :
 
7211
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
7212
else
 
7213
  with_gnu_ld=no
 
7214
fi
 
7215
 
 
7216
ac_prog=ld
 
7217
if test "$GCC" = yes; then
 
7218
  # Check if gcc -print-prog-name=ld gives a path.
 
7219
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 
7220
$as_echo_n "checking for ld used by $CC... " >&6; }
 
7221
  case $host in
 
7222
  *-*-mingw*)
 
7223
    # gcc leaves a trailing carriage return which upsets mingw
 
7224
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
7225
  *)
 
7226
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
7227
  esac
 
7228
  case $ac_prog in
 
7229
    # Accept absolute paths.
 
7230
    [\\/]* | ?:[\\/]*)
 
7231
      re_direlt='/[^/][^/]*/\.\./'
 
7232
      # Canonicalize the pathname of ld
 
7233
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
7234
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
7235
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 
7236
      done
 
7237
      test -z "$LD" && LD="$ac_prog"
 
7238
      ;;
 
7239
  "")
 
7240
    # If it fails, then pretend we aren't using GCC.
 
7241
    ac_prog=ld
 
7242
    ;;
 
7243
  *)
 
7244
    # If it is relative, then search for the first ld in PATH.
 
7245
    with_gnu_ld=unknown
 
7246
    ;;
 
7247
  esac
 
7248
elif test "$with_gnu_ld" = yes; then
 
7249
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
7250
$as_echo_n "checking for GNU ld... " >&6; }
 
7251
else
 
7252
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
7253
$as_echo_n "checking for non-GNU ld... " >&6; }
 
7254
fi
 
7255
if test "${lt_cv_path_LD+set}" = set; then :
 
7256
  $as_echo_n "(cached) " >&6
 
7257
else
 
7258
  if test -z "$LD"; then
 
7259
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
7260
  for ac_dir in $PATH; do
 
7261
    IFS="$lt_save_ifs"
 
7262
    test -z "$ac_dir" && ac_dir=.
 
7263
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
7264
      lt_cv_path_LD="$ac_dir/$ac_prog"
 
7265
      # Check to see if the program is GNU ld.  I'd rather use --version,
 
7266
      # but apparently some variants of GNU ld only accept -v.
 
7267
      # Break only if it was the GNU/non-GNU ld that we prefer.
 
7268
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 
7269
      *GNU* | *'with BFD'*)
 
7270
        test "$with_gnu_ld" != no && break
 
7271
        ;;
 
7272
      *)
 
7273
        test "$with_gnu_ld" != yes && break
 
7274
        ;;
 
7275
      esac
 
7276
    fi
 
7277
  done
 
7278
  IFS="$lt_save_ifs"
 
7279
else
 
7280
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
7281
fi
 
7282
fi
 
7283
 
 
7284
LD="$lt_cv_path_LD"
 
7285
if test -n "$LD"; then
 
7286
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
7287
$as_echo "$LD" >&6; }
 
7288
else
 
7289
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7290
$as_echo "no" >&6; }
 
7291
fi
 
7292
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
7293
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
7294
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
7295
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
7296
  $as_echo_n "(cached) " >&6
 
7297
else
 
7298
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
 
7299
case `$LD -v 2>&1 </dev/null` in
 
7300
*GNU* | *'with BFD'*)
 
7301
  lt_cv_prog_gnu_ld=yes
 
7302
  ;;
 
7303
*)
 
7304
  lt_cv_prog_gnu_ld=no
 
7305
  ;;
 
7306
esac
 
7307
fi
 
7308
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 
7309
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
 
7310
with_gnu_ld=$lt_cv_prog_gnu_ld
 
7311
 
 
7312
 
 
7313
 
 
7314
 
 
7315
 
 
7316
 
 
7317
 
 
7318
 
 
7319
 
 
7320
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 
7321
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 
7322
if test "${lt_cv_path_NM+set}" = set; then :
 
7323
  $as_echo_n "(cached) " >&6
 
7324
else
 
7325
  if test -n "$NM"; then
 
7326
  # Let the user override the test.
 
7327
  lt_cv_path_NM="$NM"
 
7328
else
 
7329
  lt_nm_to_check="${ac_tool_prefix}nm"
 
7330
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 
7331
    lt_nm_to_check="$lt_nm_to_check nm"
 
7332
  fi
 
7333
  for lt_tmp_nm in $lt_nm_to_check; do
 
7334
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
7335
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 
7336
      IFS="$lt_save_ifs"
 
7337
      test -z "$ac_dir" && ac_dir=.
 
7338
      tmp_nm="$ac_dir/$lt_tmp_nm"
 
7339
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
7340
        # Check to see if the nm accepts a BSD-compat flag.
 
7341
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
7342
        #   nm: unknown option "B" ignored
 
7343
        # Tru64's nm complains that /dev/null is an invalid object file
 
7344
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 
7345
        */dev/null* | *'Invalid file or object type'*)
 
7346
          lt_cv_path_NM="$tmp_nm -B"
 
7347
          break
 
7348
          ;;
 
7349
        *)
 
7350
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
7351
          */dev/null*)
 
7352
            lt_cv_path_NM="$tmp_nm -p"
 
7353
            break
 
7354
            ;;
 
7355
          *)
 
7356
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
7357
            continue # so that we can try to find one that supports BSD flags
 
7358
            ;;
 
7359
          esac
 
7360
          ;;
 
7361
        esac
 
7362
      fi
 
7363
    done
 
7364
    IFS="$lt_save_ifs"
 
7365
  done
 
7366
  : ${lt_cv_path_NM=no}
 
7367
fi
 
7368
fi
 
7369
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
 
7370
$as_echo "$lt_cv_path_NM" >&6; }
 
7371
if test "$lt_cv_path_NM" != "no"; then
 
7372
  NM="$lt_cv_path_NM"
 
7373
else
 
7374
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
7375
  if test -n "$ac_tool_prefix"; then
 
7376
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
7377
  do
 
7378
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
7379
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
7380
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7381
$as_echo_n "checking for $ac_word... " >&6; }
 
7382
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
 
7383
  $as_echo_n "(cached) " >&6
 
7384
else
 
7385
  if test -n "$DUMPBIN"; then
 
7386
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
7387
else
 
7388
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7389
for as_dir in $PATH
 
7390
do
 
7391
  IFS=$as_save_IFS
 
7392
  test -z "$as_dir" && as_dir=.
 
7393
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7394
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7395
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
7396
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7397
    break 2
 
7398
  fi
 
7399
done
 
7400
  done
 
7401
IFS=$as_save_IFS
 
7402
 
 
7403
fi
 
7404
fi
 
7405
DUMPBIN=$ac_cv_prog_DUMPBIN
 
7406
if test -n "$DUMPBIN"; then
 
7407
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
 
7408
$as_echo "$DUMPBIN" >&6; }
 
7409
else
 
7410
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7411
$as_echo "no" >&6; }
 
7412
fi
 
7413
 
 
7414
 
 
7415
    test -n "$DUMPBIN" && break
 
7416
  done
 
7417
fi
 
7418
if test -z "$DUMPBIN"; then
 
7419
  ac_ct_DUMPBIN=$DUMPBIN
 
7420
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
7421
do
 
7422
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
7423
set dummy $ac_prog; ac_word=$2
 
7424
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7425
$as_echo_n "checking for $ac_word... " >&6; }
 
7426
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
 
7427
  $as_echo_n "(cached) " >&6
 
7428
else
 
7429
  if test -n "$ac_ct_DUMPBIN"; then
 
7430
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
7431
else
 
7432
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7433
for as_dir in $PATH
 
7434
do
 
7435
  IFS=$as_save_IFS
 
7436
  test -z "$as_dir" && as_dir=.
 
7437
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7438
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7439
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
7440
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7441
    break 2
 
7442
  fi
 
7443
done
 
7444
  done
 
7445
IFS=$as_save_IFS
 
7446
 
 
7447
fi
 
7448
fi
 
7449
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
7450
if test -n "$ac_ct_DUMPBIN"; then
 
7451
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
 
7452
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
7453
else
 
7454
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7455
$as_echo "no" >&6; }
 
7456
fi
 
7457
 
 
7458
 
 
7459
  test -n "$ac_ct_DUMPBIN" && break
 
7460
done
 
7461
 
 
7462
  if test "x$ac_ct_DUMPBIN" = x; then
 
7463
    DUMPBIN=":"
 
7464
  else
 
7465
    case $cross_compiling:$ac_tool_warned in
 
7466
yes:)
 
7467
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7468
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7469
ac_tool_warned=yes ;;
 
7470
esac
 
7471
    DUMPBIN=$ac_ct_DUMPBIN
 
7472
  fi
 
7473
fi
 
7474
 
 
7475
 
 
7476
  if test "$DUMPBIN" != ":"; then
 
7477
    NM="$DUMPBIN"
 
7478
  fi
 
7479
fi
 
7480
test -z "$NM" && NM=nm
 
7481
 
 
7482
 
 
7483
 
 
7484
 
 
7485
 
 
7486
 
 
7487
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 
7488
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
7489
if test "${lt_cv_nm_interface+set}" = set; then :
 
7490
  $as_echo_n "(cached) " >&6
 
7491
else
 
7492
  lt_cv_nm_interface="BSD nm"
 
7493
  echo "int some_variable = 0;" > conftest.$ac_ext
 
7494
  (eval echo "\"\$as_me:7494: $ac_compile\"" >&5)
 
7495
  (eval "$ac_compile" 2>conftest.err)
 
7496
  cat conftest.err >&5
 
7497
  (eval echo "\"\$as_me:7497: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
7498
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
7499
  cat conftest.err >&5
 
7500
  (eval echo "\"\$as_me:7500: output\"" >&5)
 
7501
  cat conftest.out >&5
 
7502
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
7503
    lt_cv_nm_interface="MS dumpbin"
 
7504
  fi
 
7505
  rm -f conftest*
 
7506
fi
 
7507
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
 
7508
$as_echo "$lt_cv_nm_interface" >&6; }
 
7509
 
 
7510
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 
7511
$as_echo_n "checking whether ln -s works... " >&6; }
 
7512
LN_S=$as_ln_s
 
7513
if test "$LN_S" = "ln -s"; then
 
7514
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
7515
$as_echo "yes" >&6; }
 
7516
else
 
7517
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 
7518
$as_echo "no, using $LN_S" >&6; }
 
7519
fi
 
7520
 
 
7521
# find the maximum length of command line arguments
 
7522
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 
7523
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
7524
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
 
7525
  $as_echo_n "(cached) " >&6
 
7526
else
 
7527
    i=0
 
7528
  teststring="ABCD"
 
7529
 
 
7530
  case $build_os in
 
7531
  msdosdjgpp*)
 
7532
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
7533
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
7534
    # during glob expansion).  Even if it were fixed, the result of this
 
7535
    # check would be larger than it should be.
 
7536
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
7537
    ;;
 
7538
 
 
7539
  gnu*)
 
7540
    # Under GNU Hurd, this test is not required because there is
 
7541
    # no limit to the length of command line arguments.
 
7542
    # Libtool will interpret -1 as no limit whatsoever
 
7543
    lt_cv_sys_max_cmd_len=-1;
 
7544
    ;;
 
7545
 
 
7546
  cygwin* | mingw* | cegcc*)
 
7547
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
7548
    # about 5 minutes as the teststring grows exponentially.
 
7549
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
7550
    # you end up with a "frozen" computer, even though with patience
 
7551
    # the test eventually succeeds (with a max line length of 256k).
 
7552
    # Instead, let's just punt: use the minimum linelength reported by
 
7553
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
7554
    lt_cv_sys_max_cmd_len=8192;
 
7555
    ;;
 
7556
 
 
7557
  amigaos*)
 
7558
    # On AmigaOS with pdksh, this test takes hours, literally.
 
7559
    # So we just punt and use a minimum line length of 8192.
 
7560
    lt_cv_sys_max_cmd_len=8192;
 
7561
    ;;
 
7562
 
 
7563
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
7564
    # This has been around since 386BSD, at least.  Likely further.
 
7565
    if test -x /sbin/sysctl; then
 
7566
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
7567
    elif test -x /usr/sbin/sysctl; then
 
7568
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
7569
    else
 
7570
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
7571
    fi
 
7572
    # And add a safety zone
 
7573
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
7574
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
7575
    ;;
 
7576
 
 
7577
  interix*)
 
7578
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
7579
    lt_cv_sys_max_cmd_len=196608
 
7580
    ;;
 
7581
 
 
7582
  osf*)
 
7583
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
7584
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
7585
    # nice to cause kernel panics so lets avoid the loop below.
 
7586
    # First set a reasonable default.
 
7587
    lt_cv_sys_max_cmd_len=16384
 
7588
    #
 
7589
    if test -x /sbin/sysconfig; then
 
7590
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
7591
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
7592
      esac
 
7593
    fi
 
7594
    ;;
 
7595
  sco3.2v5*)
 
7596
    lt_cv_sys_max_cmd_len=102400
 
7597
    ;;
 
7598
  sysv5* | sco5v6* | sysv4.2uw2*)
 
7599
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
7600
    if test -n "$kargmax"; then
 
7601
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
7602
    else
 
7603
      lt_cv_sys_max_cmd_len=32768
 
7604
    fi
 
7605
    ;;
 
7606
  *)
 
7607
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
7608
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
7609
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
7610
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
7611
    else
 
7612
      # Make teststring a little bigger before we do anything with it.
 
7613
      # a 1K string should be a reasonable start.
 
7614
      for i in 1 2 3 4 5 6 7 8 ; do
 
7615
        teststring=$teststring$teststring
 
7616
      done
 
7617
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
7618
      # If test is not a shell built-in, we'll probably end up computing a
 
7619
      # maximum length that is only half of the actual maximum length, but
 
7620
      # we can't tell.
 
7621
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
 
7622
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
7623
              test $i != 17 # 1/2 MB should be enough
 
7624
      do
 
7625
        i=`expr $i + 1`
 
7626
        teststring=$teststring$teststring
 
7627
      done
 
7628
      # Only check the string length outside the loop.
 
7629
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
7630
      teststring=
 
7631
      # Add a significant safety factor because C++ compilers can tack on
 
7632
      # massive amounts of additional arguments before passing them to the
 
7633
      # linker.  It appears as though 1/2 is a usable value.
 
7634
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
7635
    fi
 
7636
    ;;
 
7637
  esac
 
7638
 
 
7639
fi
 
7640
 
 
7641
if test -n $lt_cv_sys_max_cmd_len ; then
 
7642
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
 
7643
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
7644
else
 
7645
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
 
7646
$as_echo "none" >&6; }
 
7647
fi
 
7648
max_cmd_len=$lt_cv_sys_max_cmd_len
 
7649
 
 
7650
 
 
7651
 
 
7652
 
 
7653
 
 
7654
 
 
7655
: ${CP="cp -f"}
 
7656
: ${MV="mv -f"}
 
7657
: ${RM="rm -f"}
 
7658
 
 
7659
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
 
7660
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
7661
# Try some XSI features
 
7662
xsi_shell=no
 
7663
( _lt_dummy="a/b/c"
 
7664
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 
7665
      = c,a/b,, \
 
7666
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
7667
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
7668
  && xsi_shell=yes
 
7669
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
 
7670
$as_echo "$xsi_shell" >&6; }
 
7671
 
 
7672
 
 
7673
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
 
7674
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
7675
lt_shell_append=no
 
7676
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
7677
    >/dev/null 2>&1 \
 
7678
  && lt_shell_append=yes
 
7679
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
 
7680
$as_echo "$lt_shell_append" >&6; }
 
7681
 
 
7682
 
 
7683
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
7684
  lt_unset=unset
 
7685
else
 
7686
  lt_unset=false
 
7687
fi
 
7688
 
 
7689
 
 
7690
 
 
7691
 
 
7692
 
 
7693
# test EBCDIC or ASCII
 
7694
case `echo X|tr X '\101'` in
 
7695
 A) # ASCII based system
 
7696
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
7697
  lt_SP2NL='tr \040 \012'
 
7698
  lt_NL2SP='tr \015\012 \040\040'
 
7699
  ;;
 
7700
 *) # EBCDIC based system
 
7701
  lt_SP2NL='tr \100 \n'
 
7702
  lt_NL2SP='tr \r\n \100\100'
 
7703
  ;;
 
7704
esac
 
7705
 
 
7706
 
 
7707
 
 
7708
 
 
7709
 
 
7710
 
 
7711
 
 
7712
 
 
7713
 
 
7714
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 
7715
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
7716
if test "${lt_cv_ld_reload_flag+set}" = set; then :
 
7717
  $as_echo_n "(cached) " >&6
 
7718
else
 
7719
  lt_cv_ld_reload_flag='-r'
 
7720
fi
 
7721
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
 
7722
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
7723
reload_flag=$lt_cv_ld_reload_flag
 
7724
case $reload_flag in
 
7725
"" | " "*) ;;
 
7726
*) reload_flag=" $reload_flag" ;;
 
7727
esac
 
7728
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
7729
case $host_os in
 
7730
  darwin*)
 
7731
    if test "$GCC" = yes; then
 
7732
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
7733
    else
 
7734
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
7735
    fi
 
7736
    ;;
 
7737
esac
 
7738
 
 
7739
 
 
7740
 
 
7741
 
 
7742
 
 
7743
 
 
7744
 
 
7745
 
 
7746
 
 
7747
if test -n "$ac_tool_prefix"; then
 
7748
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
7749
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
7750
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7751
$as_echo_n "checking for $ac_word... " >&6; }
 
7752
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
7753
  $as_echo_n "(cached) " >&6
 
7754
else
 
7755
  if test -n "$OBJDUMP"; then
 
7756
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
7757
else
 
7758
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7759
for as_dir in $PATH
 
7760
do
 
7761
  IFS=$as_save_IFS
 
7762
  test -z "$as_dir" && as_dir=.
 
7763
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7764
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7765
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
7766
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7767
    break 2
 
7768
  fi
 
7769
done
 
7770
  done
 
7771
IFS=$as_save_IFS
 
7772
 
 
7773
fi
 
7774
fi
 
7775
OBJDUMP=$ac_cv_prog_OBJDUMP
 
7776
if test -n "$OBJDUMP"; then
 
7777
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 
7778
$as_echo "$OBJDUMP" >&6; }
 
7779
else
 
7780
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7781
$as_echo "no" >&6; }
 
7782
fi
 
7783
 
 
7784
 
 
7785
fi
 
7786
if test -z "$ac_cv_prog_OBJDUMP"; then
 
7787
  ac_ct_OBJDUMP=$OBJDUMP
 
7788
  # Extract the first word of "objdump", so it can be a program name with args.
 
7789
set dummy objdump; ac_word=$2
 
7790
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7791
$as_echo_n "checking for $ac_word... " >&6; }
 
7792
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
7793
  $as_echo_n "(cached) " >&6
 
7794
else
 
7795
  if test -n "$ac_ct_OBJDUMP"; then
 
7796
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
7797
else
 
7798
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7799
for as_dir in $PATH
 
7800
do
 
7801
  IFS=$as_save_IFS
 
7802
  test -z "$as_dir" && as_dir=.
 
7803
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7804
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7805
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
7806
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7807
    break 2
 
7808
  fi
 
7809
done
 
7810
  done
 
7811
IFS=$as_save_IFS
 
7812
 
 
7813
fi
 
7814
fi
 
7815
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
7816
if test -n "$ac_ct_OBJDUMP"; then
 
7817
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 
7818
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
7819
else
 
7820
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7821
$as_echo "no" >&6; }
 
7822
fi
 
7823
 
 
7824
  if test "x$ac_ct_OBJDUMP" = x; then
 
7825
    OBJDUMP="false"
 
7826
  else
 
7827
    case $cross_compiling:$ac_tool_warned in
 
7828
yes:)
 
7829
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7830
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7831
ac_tool_warned=yes ;;
 
7832
esac
 
7833
    OBJDUMP=$ac_ct_OBJDUMP
 
7834
  fi
 
7835
else
 
7836
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
7837
fi
 
7838
 
 
7839
test -z "$OBJDUMP" && OBJDUMP=objdump
 
7840
 
 
7841
 
 
7842
 
 
7843
 
 
7844
 
 
7845
 
 
7846
 
 
7847
 
 
7848
 
 
7849
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
 
7850
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
 
7851
if test "${lt_cv_deplibs_check_method+set}" = set; then :
 
7852
  $as_echo_n "(cached) " >&6
 
7853
else
 
7854
  lt_cv_file_magic_cmd='$MAGIC_CMD'
 
7855
lt_cv_file_magic_test_file=
 
7856
lt_cv_deplibs_check_method='unknown'
 
7857
# Need to set the preceding variable on all platforms that support
 
7858
# interlibrary dependencies.
 
7859
# 'none' -- dependencies not supported.
 
7860
# `unknown' -- same as none, but documents that we really don't know.
 
7861
# 'pass_all' -- all dependencies passed with no checks.
 
7862
# 'test_compile' -- check by making test program.
 
7863
# 'file_magic [[regex]]' -- check by looking for files in library path
 
7864
# which responds to the $file_magic_cmd with a given extended regex.
 
7865
# If you have `file' or equivalent on your system and you're not sure
 
7866
# whether `pass_all' will *always* work, you probably want this one.
 
7867
 
 
7868
case $host_os in
 
7869
aix[4-9]*)
 
7870
  lt_cv_deplibs_check_method=pass_all
 
7871
  ;;
 
7872
 
 
7873
beos*)
 
7874
  lt_cv_deplibs_check_method=pass_all
 
7875
  ;;
 
7876
 
 
7877
bsdi[45]*)
 
7878
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 
7879
  lt_cv_file_magic_cmd='/usr/bin/file -L'
 
7880
  lt_cv_file_magic_test_file=/shlib/libc.so
 
7881
  ;;
 
7882
 
 
7883
cygwin*)
 
7884
  # func_win32_libid is a shell function defined in ltmain.sh
 
7885
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
7886
  lt_cv_file_magic_cmd='func_win32_libid'
 
7887
  ;;
 
7888
 
 
7889
mingw* | pw32*)
 
7890
  # Base MSYS/MinGW do not provide the 'file' command needed by
 
7891
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
7892
  # unless we find 'file', for example because we are cross-compiling.
 
7893
  if ( file / ) >/dev/null 2>&1; then
 
7894
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
7895
    lt_cv_file_magic_cmd='func_win32_libid'
 
7896
  else
 
7897
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
7898
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
7899
  fi
 
7900
  ;;
 
7901
 
 
7902
cegcc)
 
7903
  # use the weaker test based on 'objdump'. See mingw*.
 
7904
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
7905
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
7906
  ;;
 
7907
 
 
7908
darwin* | rhapsody*)
 
7909
  lt_cv_deplibs_check_method=pass_all
 
7910
  ;;
 
7911
 
 
7912
freebsd* | dragonfly*)
 
7913
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
7914
    case $host_cpu in
 
7915
    i*86 )
 
7916
      # Not sure whether the presence of OpenBSD here was a mistake.
 
7917
      # Let's accept both of them until this is cleared up.
 
7918
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
 
7919
      lt_cv_file_magic_cmd=/usr/bin/file
 
7920
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 
7921
      ;;
 
7922
    esac
 
7923
  else
 
7924
    lt_cv_deplibs_check_method=pass_all
 
7925
  fi
 
7926
  ;;
 
7927
 
 
7928
gnu*)
 
7929
  lt_cv_deplibs_check_method=pass_all
 
7930
  ;;
 
7931
 
 
7932
hpux10.20* | hpux11*)
 
7933
  lt_cv_file_magic_cmd=/usr/bin/file
 
7934
  case $host_cpu in
 
7935
  ia64*)
 
7936
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
 
7937
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 
7938
    ;;
 
7939
  hppa*64*)
 
7940
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
 
7941
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 
7942
    ;;
 
7943
  *)
 
7944
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 
7945
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
 
7946
    ;;
 
7947
  esac
 
7948
  ;;
 
7949
 
 
7950
interix[3-9]*)
 
7951
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 
7952
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 
7953
  ;;
 
7954
 
 
7955
irix5* | irix6* | nonstopux*)
 
7956
  case $LD in
 
7957
  *-32|*"-32 ") libmagic=32-bit;;
 
7958
  *-n32|*"-n32 ") libmagic=N32;;
 
7959
  *-64|*"-64 ") libmagic=64-bit;;
 
7960
  *) libmagic=never-match;;
 
7961
  esac
 
7962
  lt_cv_deplibs_check_method=pass_all
 
7963
  ;;
 
7964
 
 
7965
# This must be Linux ELF.
 
7966
linux* | k*bsd*-gnu)
 
7967
  lt_cv_deplibs_check_method=pass_all
 
7968
  ;;
 
7969
 
 
7970
netbsd* | netbsdelf*-gnu)
 
7971
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
7972
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
7973
  else
 
7974
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
 
7975
  fi
 
7976
  ;;
 
7977
 
 
7978
newos6*)
 
7979
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
 
7980
  lt_cv_file_magic_cmd=/usr/bin/file
 
7981
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
 
7982
  ;;
 
7983
 
 
7984
*nto* | *qnx*)
 
7985
  lt_cv_deplibs_check_method=pass_all
 
7986
  ;;
 
7987
 
 
7988
openbsd*)
 
7989
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
7990
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
 
7991
  else
 
7992
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
7993
  fi
 
7994
  ;;
 
7995
 
 
7996
osf3* | osf4* | osf5*)
 
7997
  lt_cv_deplibs_check_method=pass_all
 
7998
  ;;
 
7999
 
 
8000
rdos*)
 
8001
  lt_cv_deplibs_check_method=pass_all
 
8002
  ;;
 
8003
 
 
8004
solaris*)
 
8005
  lt_cv_deplibs_check_method=pass_all
 
8006
  ;;
 
8007
 
 
8008
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
8009
  lt_cv_deplibs_check_method=pass_all
 
8010
  ;;
 
8011
 
 
8012
sysv4 | sysv4.3*)
 
8013
  case $host_vendor in
 
8014
  motorola)
 
8015
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
 
8016
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 
8017
    ;;
 
8018
  ncr)
 
8019
    lt_cv_deplibs_check_method=pass_all
 
8020
    ;;
 
8021
  sequent)
 
8022
    lt_cv_file_magic_cmd='/bin/file'
 
8023
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
 
8024
    ;;
 
8025
  sni)
 
8026
    lt_cv_file_magic_cmd='/bin/file'
 
8027
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
 
8028
    lt_cv_file_magic_test_file=/lib/libc.so
 
8029
    ;;
 
8030
  siemens)
 
8031
    lt_cv_deplibs_check_method=pass_all
 
8032
    ;;
 
8033
  pc)
 
8034
    lt_cv_deplibs_check_method=pass_all
 
8035
    ;;
 
8036
  esac
 
8037
  ;;
 
8038
 
 
8039
tpf*)
 
8040
  lt_cv_deplibs_check_method=pass_all
 
8041
  ;;
 
8042
esac
 
8043
 
 
8044
fi
 
8045
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
 
8046
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
8047
file_magic_cmd=$lt_cv_file_magic_cmd
 
8048
deplibs_check_method=$lt_cv_deplibs_check_method
 
8049
test -z "$deplibs_check_method" && deplibs_check_method=unknown
 
8050
 
 
8051
 
 
8052
 
 
8053
 
 
8054
 
 
8055
 
 
8056
 
 
8057
 
 
8058
 
 
8059
 
 
8060
 
 
8061
 
 
8062
if test -n "$ac_tool_prefix"; then
 
8063
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 
8064
set dummy ${ac_tool_prefix}ar; ac_word=$2
 
8065
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8066
$as_echo_n "checking for $ac_word... " >&6; }
 
8067
if test "${ac_cv_prog_AR+set}" = set; then :
 
8068
  $as_echo_n "(cached) " >&6
 
8069
else
 
8070
  if test -n "$AR"; then
 
8071
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
8072
else
 
8073
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8074
for as_dir in $PATH
 
8075
do
 
8076
  IFS=$as_save_IFS
 
8077
  test -z "$as_dir" && as_dir=.
 
8078
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8079
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8080
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
8081
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8082
    break 2
 
8083
  fi
 
8084
done
 
8085
  done
 
8086
IFS=$as_save_IFS
 
8087
 
 
8088
fi
 
8089
fi
 
8090
AR=$ac_cv_prog_AR
 
8091
if test -n "$AR"; then
 
8092
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 
8093
$as_echo "$AR" >&6; }
 
8094
else
 
8095
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8096
$as_echo "no" >&6; }
 
8097
fi
 
8098
 
 
8099
 
 
8100
fi
 
8101
if test -z "$ac_cv_prog_AR"; then
 
8102
  ac_ct_AR=$AR
 
8103
  # Extract the first word of "ar", so it can be a program name with args.
 
8104
set dummy ar; ac_word=$2
 
8105
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8106
$as_echo_n "checking for $ac_word... " >&6; }
 
8107
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
 
8108
  $as_echo_n "(cached) " >&6
 
8109
else
 
8110
  if test -n "$ac_ct_AR"; then
 
8111
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
8112
else
 
8113
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8114
for as_dir in $PATH
 
8115
do
 
8116
  IFS=$as_save_IFS
 
8117
  test -z "$as_dir" && as_dir=.
 
8118
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8119
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8120
    ac_cv_prog_ac_ct_AR="ar"
 
8121
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8122
    break 2
 
8123
  fi
 
8124
done
 
8125
  done
 
8126
IFS=$as_save_IFS
 
8127
 
 
8128
fi
 
8129
fi
 
8130
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
8131
if test -n "$ac_ct_AR"; then
 
8132
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 
8133
$as_echo "$ac_ct_AR" >&6; }
 
8134
else
 
8135
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8136
$as_echo "no" >&6; }
 
8137
fi
 
8138
 
 
8139
  if test "x$ac_ct_AR" = x; then
 
8140
    AR="false"
 
8141
  else
 
8142
    case $cross_compiling:$ac_tool_warned in
 
8143
yes:)
 
8144
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8145
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8146
ac_tool_warned=yes ;;
 
8147
esac
 
8148
    AR=$ac_ct_AR
 
8149
  fi
 
8150
else
 
8151
  AR="$ac_cv_prog_AR"
 
8152
fi
 
8153
 
 
8154
test -z "$AR" && AR=ar
 
8155
test -z "$AR_FLAGS" && AR_FLAGS=cru
 
8156
 
 
8157
 
 
8158
 
 
8159
 
 
8160
 
 
8161
 
 
8162
 
 
8163
 
 
8164
 
 
8165
 
 
8166
 
 
8167
if test -n "$ac_tool_prefix"; then
 
8168
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
8169
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
8170
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8171
$as_echo_n "checking for $ac_word... " >&6; }
 
8172
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
8173
  $as_echo_n "(cached) " >&6
 
8174
else
 
8175
  if test -n "$STRIP"; then
 
8176
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
8177
else
 
8178
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8179
for as_dir in $PATH
 
8180
do
 
8181
  IFS=$as_save_IFS
 
8182
  test -z "$as_dir" && as_dir=.
 
8183
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8184
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8185
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
8186
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8187
    break 2
 
8188
  fi
 
8189
done
 
8190
  done
 
8191
IFS=$as_save_IFS
 
8192
 
 
8193
fi
 
8194
fi
 
8195
STRIP=$ac_cv_prog_STRIP
 
8196
if test -n "$STRIP"; then
 
8197
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
8198
$as_echo "$STRIP" >&6; }
 
8199
else
 
8200
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8201
$as_echo "no" >&6; }
 
8202
fi
 
8203
 
 
8204
 
 
8205
fi
 
8206
if test -z "$ac_cv_prog_STRIP"; then
 
8207
  ac_ct_STRIP=$STRIP
 
8208
  # Extract the first word of "strip", so it can be a program name with args.
 
8209
set dummy strip; ac_word=$2
 
8210
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8211
$as_echo_n "checking for $ac_word... " >&6; }
 
8212
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
8213
  $as_echo_n "(cached) " >&6
 
8214
else
 
8215
  if test -n "$ac_ct_STRIP"; then
 
8216
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
8217
else
 
8218
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8219
for as_dir in $PATH
 
8220
do
 
8221
  IFS=$as_save_IFS
 
8222
  test -z "$as_dir" && as_dir=.
 
8223
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8224
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8225
    ac_cv_prog_ac_ct_STRIP="strip"
 
8226
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8227
    break 2
 
8228
  fi
 
8229
done
 
8230
  done
 
8231
IFS=$as_save_IFS
 
8232
 
 
8233
fi
 
8234
fi
 
8235
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
8236
if test -n "$ac_ct_STRIP"; then
 
8237
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
8238
$as_echo "$ac_ct_STRIP" >&6; }
 
8239
else
 
8240
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8241
$as_echo "no" >&6; }
 
8242
fi
 
8243
 
 
8244
  if test "x$ac_ct_STRIP" = x; then
 
8245
    STRIP=":"
 
8246
  else
 
8247
    case $cross_compiling:$ac_tool_warned in
 
8248
yes:)
 
8249
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8250
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8251
ac_tool_warned=yes ;;
 
8252
esac
 
8253
    STRIP=$ac_ct_STRIP
 
8254
  fi
 
8255
else
 
8256
  STRIP="$ac_cv_prog_STRIP"
 
8257
fi
 
8258
 
 
8259
test -z "$STRIP" && STRIP=:
 
8260
 
 
8261
 
 
8262
 
 
8263
 
 
8264
 
 
8265
 
 
8266
if test -n "$ac_tool_prefix"; then
 
8267
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
8268
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
8269
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8270
$as_echo_n "checking for $ac_word... " >&6; }
 
8271
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
8272
  $as_echo_n "(cached) " >&6
 
8273
else
 
8274
  if test -n "$RANLIB"; then
 
8275
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
8276
else
 
8277
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8278
for as_dir in $PATH
 
8279
do
 
8280
  IFS=$as_save_IFS
 
8281
  test -z "$as_dir" && as_dir=.
 
8282
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8283
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8284
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
8285
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8286
    break 2
 
8287
  fi
 
8288
done
 
8289
  done
 
8290
IFS=$as_save_IFS
 
8291
 
 
8292
fi
 
8293
fi
 
8294
RANLIB=$ac_cv_prog_RANLIB
 
8295
if test -n "$RANLIB"; then
 
8296
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 
8297
$as_echo "$RANLIB" >&6; }
 
8298
else
 
8299
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8300
$as_echo "no" >&6; }
 
8301
fi
 
8302
 
 
8303
 
 
8304
fi
 
8305
if test -z "$ac_cv_prog_RANLIB"; then
 
8306
  ac_ct_RANLIB=$RANLIB
 
8307
  # Extract the first word of "ranlib", so it can be a program name with args.
 
8308
set dummy ranlib; ac_word=$2
 
8309
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8310
$as_echo_n "checking for $ac_word... " >&6; }
 
8311
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
8312
  $as_echo_n "(cached) " >&6
 
8313
else
 
8314
  if test -n "$ac_ct_RANLIB"; then
 
8315
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
8316
else
 
8317
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8318
for as_dir in $PATH
 
8319
do
 
8320
  IFS=$as_save_IFS
 
8321
  test -z "$as_dir" && as_dir=.
 
8322
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8323
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8324
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
8325
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8326
    break 2
 
8327
  fi
 
8328
done
 
8329
  done
 
8330
IFS=$as_save_IFS
 
8331
 
 
8332
fi
 
8333
fi
 
8334
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
8335
if test -n "$ac_ct_RANLIB"; then
 
8336
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 
8337
$as_echo "$ac_ct_RANLIB" >&6; }
 
8338
else
 
8339
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8340
$as_echo "no" >&6; }
 
8341
fi
 
8342
 
 
8343
  if test "x$ac_ct_RANLIB" = x; then
 
8344
    RANLIB=":"
 
8345
  else
 
8346
    case $cross_compiling:$ac_tool_warned in
 
8347
yes:)
 
8348
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8349
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8350
ac_tool_warned=yes ;;
 
8351
esac
 
8352
    RANLIB=$ac_ct_RANLIB
 
8353
  fi
 
8354
else
 
8355
  RANLIB="$ac_cv_prog_RANLIB"
 
8356
fi
 
8357
 
 
8358
test -z "$RANLIB" && RANLIB=:
 
8359
 
 
8360
 
 
8361
 
 
8362
 
 
8363
 
 
8364
 
 
8365
# Determine commands to create old-style static archives.
 
8366
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
8367
old_postinstall_cmds='chmod 644 $oldlib'
 
8368
old_postuninstall_cmds=
 
8369
 
 
8370
if test -n "$RANLIB"; then
 
8371
  case $host_os in
 
8372
  openbsd*)
 
8373
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
8374
    ;;
 
8375
  *)
 
8376
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
8377
    ;;
 
8378
  esac
 
8379
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
8380
fi
 
8381
 
 
8382
 
 
8383
 
 
8384
 
 
8385
 
 
8386
 
 
8387
 
 
8388
 
 
8389
 
 
8390
 
 
8391
 
 
8392
 
 
8393
 
 
8394
 
 
8395
 
 
8396
 
 
8397
 
 
8398
 
 
8399
 
 
8400
 
 
8401
 
 
8402
 
 
8403
 
 
8404
 
 
8405
 
 
8406
 
 
8407
 
 
8408
 
 
8409
 
 
8410
 
 
8411
 
 
8412
 
 
8413
 
 
8414
 
 
8415
# If no C compiler was specified, use CC.
 
8416
LTCC=${LTCC-"$CC"}
 
8417
 
 
8418
# If no C compiler flags were specified, use CFLAGS.
 
8419
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
8420
 
 
8421
# Allow CC to be a program name with arguments.
 
8422
compiler=$CC
 
8423
 
 
8424
 
 
8425
# Check for command to grab the raw symbol name followed by C symbol from nm.
 
8426
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
 
8427
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
 
8428
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
 
8429
  $as_echo_n "(cached) " >&6
 
8430
else
 
8431
 
 
8432
# These are sane defaults that work on at least a few old systems.
 
8433
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 
8434
 
 
8435
# Character class describing NM global symbol codes.
 
8436
symcode='[BCDEGRST]'
 
8437
 
 
8438
# Regexp to match symbols that can be accessed directly from C.
 
8439
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
 
8440
 
 
8441
# Define system-specific variables.
 
8442
case $host_os in
 
8443
aix*)
 
8444
  symcode='[BCDT]'
 
8445
  ;;
 
8446
cygwin* | mingw* | pw32* | cegcc*)
 
8447
  symcode='[ABCDGISTW]'
 
8448
  ;;
 
8449
hpux*)
 
8450
  if test "$host_cpu" = ia64; then
 
8451
    symcode='[ABCDEGRST]'
 
8452
  fi
 
8453
  ;;
 
8454
irix* | nonstopux*)
 
8455
  symcode='[BCDEGRST]'
 
8456
  ;;
 
8457
osf*)
 
8458
  symcode='[BCDEGQRST]'
 
8459
  ;;
 
8460
solaris*)
 
8461
  symcode='[BDRT]'
 
8462
  ;;
 
8463
sco3.2v5*)
 
8464
  symcode='[DT]'
 
8465
  ;;
 
8466
sysv4.2uw2*)
 
8467
  symcode='[DT]'
 
8468
  ;;
 
8469
sysv5* | sco5v6* | unixware* | OpenUNIX*)
 
8470
  symcode='[ABDT]'
 
8471
  ;;
 
8472
sysv4)
 
8473
  symcode='[DFNSTU]'
 
8474
  ;;
 
8475
esac
 
8476
 
 
8477
# If we're using GNU nm, then use its standard symbol codes.
 
8478
case `$NM -V 2>&1` in
 
8479
*GNU* | *'with BFD'*)
 
8480
  symcode='[ABCDGIRSTW]' ;;
 
8481
esac
 
8482
 
 
8483
# Transform an extracted symbol line into a proper C declaration.
 
8484
# Some systems (esp. on ia64) link data and code symbols differently,
 
8485
# so use this general approach.
 
8486
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
8487
 
 
8488
# Transform an extracted symbol line into symbol name and symbol address
 
8489
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
8490
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'"
 
8491
 
 
8492
# Handle CRLF in mingw tool chain
 
8493
opt_cr=
 
8494
case $build_os in
 
8495
mingw*)
 
8496
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
8497
  ;;
 
8498
esac
 
8499
 
 
8500
# Try without a prefix underscore, then with it.
 
8501
for ac_symprfx in "" "_"; do
 
8502
 
 
8503
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 
8504
  symxfrm="\\1 $ac_symprfx\\2 \\2"
 
8505
 
 
8506
  # Write the raw and C identifiers.
 
8507
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
8508
    # Fake it for dumpbin and say T for any non-static function
 
8509
    # and D for any global variable.
 
8510
    # Also find C++ and __fastcall symbols from MSVC++,
 
8511
    # which start with @ or ?.
 
8512
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
8513
"     {last_section=section; section=\$ 3};"\
 
8514
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
8515
"     \$ 0!~/External *\|/{next};"\
 
8516
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
8517
"     {if(hide[section]) next};"\
 
8518
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
8519
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
8520
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
8521
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
8522
"     ' prfx=^$ac_symprfx"
 
8523
  else
 
8524
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
8525
  fi
 
8526
 
 
8527
  # Check to see that the pipe works correctly.
 
8528
  pipe_works=no
 
8529
 
 
8530
  rm -f conftest*
 
8531
  cat > conftest.$ac_ext <<_LT_EOF
 
8532
#ifdef __cplusplus
 
8533
extern "C" {
 
8534
#endif
 
8535
char nm_test_var;
 
8536
void nm_test_func(void);
 
8537
void nm_test_func(void){}
 
8538
#ifdef __cplusplus
 
8539
}
 
8540
#endif
 
8541
int main(){nm_test_var='a';nm_test_func();return(0);}
 
8542
_LT_EOF
 
8543
 
 
8544
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
8545
  (eval $ac_compile) 2>&5
 
8546
  ac_status=$?
 
8547
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8548
  test $ac_status = 0; }; then
 
8549
    # Now try to grab the symbols.
 
8550
    nlist=conftest.nm
 
8551
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
 
8552
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
8553
  ac_status=$?
 
8554
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8555
  test $ac_status = 0; } && test -s "$nlist"; then
 
8556
      # Try sorting and uniquifying the output.
 
8557
      if sort "$nlist" | uniq > "$nlist"T; then
 
8558
        mv -f "$nlist"T "$nlist"
 
8559
      else
 
8560
        rm -f "$nlist"T
 
8561
      fi
 
8562
 
 
8563
      # Make sure that we snagged all the symbols we need.
 
8564
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
8565
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
8566
          cat <<_LT_EOF > conftest.$ac_ext
 
8567
#ifdef __cplusplus
 
8568
extern "C" {
 
8569
#endif
 
8570
 
 
8571
_LT_EOF
 
8572
          # Now generate the symbol file.
 
8573
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
8574
 
 
8575
          cat <<_LT_EOF >> conftest.$ac_ext
 
8576
 
 
8577
/* The mapping between symbol names and symbols.  */
 
8578
const struct {
 
8579
  const char *name;
 
8580
  void       *address;
 
8581
}
 
8582
lt__PROGRAM__LTX_preloaded_symbols[] =
 
8583
{
 
8584
  { "@PROGRAM@", (void *) 0 },
 
8585
_LT_EOF
 
8586
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
8587
          cat <<\_LT_EOF >> conftest.$ac_ext
 
8588
  {0, (void *) 0}
 
8589
};
 
8590
 
 
8591
/* This works around a problem in FreeBSD linker */
 
8592
#ifdef FREEBSD_WORKAROUND
 
8593
static const void *lt_preloaded_setup() {
 
8594
  return lt__PROGRAM__LTX_preloaded_symbols;
 
8595
}
 
8596
#endif
 
8597
 
 
8598
#ifdef __cplusplus
 
8599
}
 
8600
#endif
 
8601
_LT_EOF
 
8602
          # Now try linking the two files.
 
8603
          mv conftest.$ac_objext conftstm.$ac_objext
 
8604
          lt_save_LIBS="$LIBS"
 
8605
          lt_save_CFLAGS="$CFLAGS"
 
8606
          LIBS="conftstm.$ac_objext"
 
8607
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
 
8608
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
8609
  (eval $ac_link) 2>&5
 
8610
  ac_status=$?
 
8611
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8612
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
 
8613
            pipe_works=yes
 
8614
          fi
 
8615
          LIBS="$lt_save_LIBS"
 
8616
          CFLAGS="$lt_save_CFLAGS"
 
8617
        else
 
8618
          echo "cannot find nm_test_func in $nlist" >&5
 
8619
        fi
 
8620
      else
 
8621
        echo "cannot find nm_test_var in $nlist" >&5
 
8622
      fi
 
8623
    else
 
8624
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
 
8625
    fi
 
8626
  else
 
8627
    echo "$progname: failed program was:" >&5
 
8628
    cat conftest.$ac_ext >&5
 
8629
  fi
 
8630
  rm -rf conftest* conftst*
 
8631
 
 
8632
  # Do not use the global_symbol_pipe unless it works.
 
8633
  if test "$pipe_works" = yes; then
 
8634
    break
 
8635
  else
 
8636
    lt_cv_sys_global_symbol_pipe=
 
8637
  fi
 
8638
done
 
8639
 
 
8640
fi
 
8641
 
 
8642
if test -z "$lt_cv_sys_global_symbol_pipe"; then
 
8643
  lt_cv_sys_global_symbol_to_cdecl=
 
8644
fi
 
8645
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
 
8646
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
 
8647
$as_echo "failed" >&6; }
 
8648
else
 
8649
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
8650
$as_echo "ok" >&6; }
 
8651
fi
 
8652
 
 
8653
 
 
8654
 
 
8655
 
 
8656
 
 
8657
 
 
8658
 
 
8659
 
 
8660
 
 
8661
 
 
8662
 
 
8663
 
 
8664
 
 
8665
 
 
8666
 
 
8667
 
 
8668
 
 
8669
 
 
8670
 
 
8671
 
 
8672
 
 
8673
 
 
8674
# Check whether --enable-libtool-lock was given.
 
8675
if test "${enable_libtool_lock+set}" = set; then :
 
8676
  enableval=$enable_libtool_lock;
 
8677
fi
 
8678
 
 
8679
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
8680
 
 
8681
# Some flags need to be propagated to the compiler or linker for good
 
8682
# libtool support.
 
8683
case $host in
 
8684
ia64-*-hpux*)
 
8685
  # Find out which ABI we are using.
 
8686
  echo 'int i;' > conftest.$ac_ext
 
8687
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
8688
  (eval $ac_compile) 2>&5
 
8689
  ac_status=$?
 
8690
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8691
  test $ac_status = 0; }; then
 
8692
    case `/usr/bin/file conftest.$ac_objext` in
 
8693
      *ELF-32*)
 
8694
        HPUX_IA64_MODE="32"
 
8695
        ;;
 
8696
      *ELF-64*)
 
8697
        HPUX_IA64_MODE="64"
 
8698
        ;;
 
8699
    esac
 
8700
  fi
 
8701
  rm -rf conftest*
 
8702
  ;;
 
8703
*-*-irix6*)
 
8704
  # Find out which ABI we are using.
 
8705
  echo '#line 8705 "configure"' > conftest.$ac_ext
 
8706
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
8707
  (eval $ac_compile) 2>&5
 
8708
  ac_status=$?
 
8709
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8710
  test $ac_status = 0; }; then
 
8711
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
8712
      case `/usr/bin/file conftest.$ac_objext` in
 
8713
        *32-bit*)
 
8714
          LD="${LD-ld} -melf32bsmip"
 
8715
          ;;
 
8716
        *N32*)
 
8717
          LD="${LD-ld} -melf32bmipn32"
 
8718
          ;;
 
8719
        *64-bit*)
 
8720
          LD="${LD-ld} -melf64bmip"
 
8721
        ;;
 
8722
      esac
 
8723
    else
 
8724
      case `/usr/bin/file conftest.$ac_objext` in
 
8725
        *32-bit*)
 
8726
          LD="${LD-ld} -32"
 
8727
          ;;
 
8728
        *N32*)
 
8729
          LD="${LD-ld} -n32"
 
8730
          ;;
 
8731
        *64-bit*)
 
8732
          LD="${LD-ld} -64"
 
8733
          ;;
 
8734
      esac
 
8735
    fi
 
8736
  fi
 
8737
  rm -rf conftest*
 
8738
  ;;
 
8739
 
 
8740
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
8741
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
8742
  # Find out which ABI we are using.
 
8743
  echo 'int i;' > conftest.$ac_ext
 
8744
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
8745
  (eval $ac_compile) 2>&5
 
8746
  ac_status=$?
 
8747
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8748
  test $ac_status = 0; }; then
 
8749
    case `/usr/bin/file conftest.o` in
 
8750
      *32-bit*)
 
8751
        case $host in
 
8752
          x86_64-*kfreebsd*-gnu)
 
8753
            LD="${LD-ld} -m elf_i386_fbsd"
 
8754
            ;;
 
8755
          x86_64-*linux*)
 
8756
            LD="${LD-ld} -m elf_i386"
 
8757
            ;;
 
8758
          ppc64-*linux*|powerpc64-*linux*)
 
8759
            LD="${LD-ld} -m elf32ppclinux"
 
8760
            ;;
 
8761
          s390x-*linux*)
 
8762
            LD="${LD-ld} -m elf_s390"
 
8763
            ;;
 
8764
          sparc64-*linux*)
 
8765
            LD="${LD-ld} -m elf32_sparc"
 
8766
            ;;
 
8767
        esac
 
8768
        ;;
 
8769
      *64-bit*)
 
8770
        case $host in
 
8771
          x86_64-*kfreebsd*-gnu)
 
8772
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
8773
            ;;
 
8774
          x86_64-*linux*)
 
8775
            LD="${LD-ld} -m elf_x86_64"
 
8776
            ;;
 
8777
          ppc*-*linux*|powerpc*-*linux*)
 
8778
            LD="${LD-ld} -m elf64ppc"
 
8779
            ;;
 
8780
          s390*-*linux*|s390*-*tpf*)
 
8781
            LD="${LD-ld} -m elf64_s390"
 
8782
            ;;
 
8783
          sparc*-*linux*)
 
8784
            LD="${LD-ld} -m elf64_sparc"
 
8785
            ;;
 
8786
        esac
 
8787
        ;;
 
8788
    esac
 
8789
  fi
 
8790
  rm -rf conftest*
 
8791
  ;;
 
8792
 
 
8793
*-*-sco3.2v5*)
 
8794
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
8795
  SAVE_CFLAGS="$CFLAGS"
 
8796
  CFLAGS="$CFLAGS -belf"
 
8797
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 
8798
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
8799
if test "${lt_cv_cc_needs_belf+set}" = set; then :
 
8800
  $as_echo_n "(cached) " >&6
 
8801
else
 
8802
  ac_ext=c
 
8803
ac_cpp='$CPP $CPPFLAGS'
 
8804
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
8805
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
8806
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
8807
 
 
8808
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8809
/* end confdefs.h.  */
 
8810
 
 
8811
int
 
8812
main ()
 
8813
{
 
8814
 
 
8815
  ;
 
8816
  return 0;
 
8817
}
 
8818
_ACEOF
 
8819
if ac_fn_c_try_link "$LINENO"; then :
 
8820
  lt_cv_cc_needs_belf=yes
 
8821
else
 
8822
  lt_cv_cc_needs_belf=no
 
8823
fi
 
8824
rm -f core conftest.err conftest.$ac_objext \
 
8825
    conftest$ac_exeext conftest.$ac_ext
 
8826
     ac_ext=c
 
8827
ac_cpp='$CPP $CPPFLAGS'
 
8828
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
8829
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
8830
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
8831
 
 
8832
fi
 
8833
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
 
8834
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
8835
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
8836
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
8837
    CFLAGS="$SAVE_CFLAGS"
 
8838
  fi
 
8839
  ;;
 
8840
sparc*-*solaris*)
 
8841
  # Find out which ABI we are using.
 
8842
  echo 'int i;' > conftest.$ac_ext
 
8843
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
8844
  (eval $ac_compile) 2>&5
 
8845
  ac_status=$?
 
8846
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8847
  test $ac_status = 0; }; then
 
8848
    case `/usr/bin/file conftest.o` in
 
8849
    *64-bit*)
 
8850
      case $lt_cv_prog_gnu_ld in
 
8851
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
8852
      *)
 
8853
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
8854
          LD="${LD-ld} -64"
 
8855
        fi
 
8856
        ;;
 
8857
      esac
 
8858
      ;;
 
8859
    esac
 
8860
  fi
 
8861
  rm -rf conftest*
 
8862
  ;;
 
8863
esac
 
8864
 
 
8865
need_locks="$enable_libtool_lock"
 
8866
 
 
8867
 
 
8868
  case $host_os in
 
8869
    rhapsody* | darwin*)
 
8870
    if test -n "$ac_tool_prefix"; then
 
8871
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
8872
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
8873
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8874
$as_echo_n "checking for $ac_word... " >&6; }
 
8875
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
 
8876
  $as_echo_n "(cached) " >&6
 
8877
else
 
8878
  if test -n "$DSYMUTIL"; then
 
8879
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
8880
else
 
8881
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8882
for as_dir in $PATH
 
8883
do
 
8884
  IFS=$as_save_IFS
 
8885
  test -z "$as_dir" && as_dir=.
 
8886
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8887
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8888
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
8889
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8890
    break 2
 
8891
  fi
 
8892
done
 
8893
  done
 
8894
IFS=$as_save_IFS
 
8895
 
 
8896
fi
 
8897
fi
 
8898
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
8899
if test -n "$DSYMUTIL"; then
 
8900
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
 
8901
$as_echo "$DSYMUTIL" >&6; }
 
8902
else
 
8903
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8904
$as_echo "no" >&6; }
 
8905
fi
 
8906
 
 
8907
 
 
8908
fi
 
8909
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
8910
  ac_ct_DSYMUTIL=$DSYMUTIL
 
8911
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
8912
set dummy dsymutil; ac_word=$2
 
8913
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8914
$as_echo_n "checking for $ac_word... " >&6; }
 
8915
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
 
8916
  $as_echo_n "(cached) " >&6
 
8917
else
 
8918
  if test -n "$ac_ct_DSYMUTIL"; then
 
8919
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
8920
else
 
8921
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8922
for as_dir in $PATH
 
8923
do
 
8924
  IFS=$as_save_IFS
 
8925
  test -z "$as_dir" && as_dir=.
 
8926
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8927
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8928
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
8929
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8930
    break 2
 
8931
  fi
 
8932
done
 
8933
  done
 
8934
IFS=$as_save_IFS
 
8935
 
 
8936
fi
 
8937
fi
 
8938
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
8939
if test -n "$ac_ct_DSYMUTIL"; then
 
8940
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
 
8941
$as_echo "$ac_ct_DSYMUTIL" >&6; }
 
8942
else
 
8943
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8944
$as_echo "no" >&6; }
 
8945
fi
 
8946
 
 
8947
  if test "x$ac_ct_DSYMUTIL" = x; then
 
8948
    DSYMUTIL=":"
 
8949
  else
 
8950
    case $cross_compiling:$ac_tool_warned in
 
8951
yes:)
 
8952
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8953
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8954
ac_tool_warned=yes ;;
 
8955
esac
 
8956
    DSYMUTIL=$ac_ct_DSYMUTIL
 
8957
  fi
 
8958
else
 
8959
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
8960
fi
 
8961
 
 
8962
    if test -n "$ac_tool_prefix"; then
 
8963
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
8964
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
8965
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8966
$as_echo_n "checking for $ac_word... " >&6; }
 
8967
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
 
8968
  $as_echo_n "(cached) " >&6
 
8969
else
 
8970
  if test -n "$NMEDIT"; then
 
8971
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
8972
else
 
8973
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8974
for as_dir in $PATH
 
8975
do
 
8976
  IFS=$as_save_IFS
 
8977
  test -z "$as_dir" && as_dir=.
 
8978
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8979
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8980
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
8981
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8982
    break 2
 
8983
  fi
 
8984
done
 
8985
  done
 
8986
IFS=$as_save_IFS
 
8987
 
 
8988
fi
 
8989
fi
 
8990
NMEDIT=$ac_cv_prog_NMEDIT
 
8991
if test -n "$NMEDIT"; then
 
8992
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
 
8993
$as_echo "$NMEDIT" >&6; }
 
8994
else
 
8995
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8996
$as_echo "no" >&6; }
 
8997
fi
 
8998
 
 
8999
 
 
9000
fi
 
9001
if test -z "$ac_cv_prog_NMEDIT"; then
 
9002
  ac_ct_NMEDIT=$NMEDIT
 
9003
  # Extract the first word of "nmedit", so it can be a program name with args.
 
9004
set dummy nmedit; ac_word=$2
 
9005
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9006
$as_echo_n "checking for $ac_word... " >&6; }
 
9007
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
 
9008
  $as_echo_n "(cached) " >&6
 
9009
else
 
9010
  if test -n "$ac_ct_NMEDIT"; then
 
9011
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
9012
else
 
9013
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9014
for as_dir in $PATH
 
9015
do
 
9016
  IFS=$as_save_IFS
 
9017
  test -z "$as_dir" && as_dir=.
 
9018
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9019
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9020
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
9021
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9022
    break 2
 
9023
  fi
 
9024
done
 
9025
  done
 
9026
IFS=$as_save_IFS
 
9027
 
 
9028
fi
 
9029
fi
 
9030
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
9031
if test -n "$ac_ct_NMEDIT"; then
 
9032
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
 
9033
$as_echo "$ac_ct_NMEDIT" >&6; }
 
9034
else
 
9035
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9036
$as_echo "no" >&6; }
 
9037
fi
 
9038
 
 
9039
  if test "x$ac_ct_NMEDIT" = x; then
 
9040
    NMEDIT=":"
 
9041
  else
 
9042
    case $cross_compiling:$ac_tool_warned in
 
9043
yes:)
 
9044
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
9045
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9046
ac_tool_warned=yes ;;
 
9047
esac
 
9048
    NMEDIT=$ac_ct_NMEDIT
 
9049
  fi
 
9050
else
 
9051
  NMEDIT="$ac_cv_prog_NMEDIT"
 
9052
fi
 
9053
 
 
9054
    if test -n "$ac_tool_prefix"; then
 
9055
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
9056
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
9057
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9058
$as_echo_n "checking for $ac_word... " >&6; }
 
9059
if test "${ac_cv_prog_LIPO+set}" = set; then :
 
9060
  $as_echo_n "(cached) " >&6
 
9061
else
 
9062
  if test -n "$LIPO"; then
 
9063
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
9064
else
 
9065
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9066
for as_dir in $PATH
 
9067
do
 
9068
  IFS=$as_save_IFS
 
9069
  test -z "$as_dir" && as_dir=.
 
9070
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9071
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9072
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
9073
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9074
    break 2
 
9075
  fi
 
9076
done
 
9077
  done
 
9078
IFS=$as_save_IFS
 
9079
 
 
9080
fi
 
9081
fi
 
9082
LIPO=$ac_cv_prog_LIPO
 
9083
if test -n "$LIPO"; then
 
9084
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
 
9085
$as_echo "$LIPO" >&6; }
 
9086
else
 
9087
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9088
$as_echo "no" >&6; }
 
9089
fi
 
9090
 
 
9091
 
 
9092
fi
 
9093
if test -z "$ac_cv_prog_LIPO"; then
 
9094
  ac_ct_LIPO=$LIPO
 
9095
  # Extract the first word of "lipo", so it can be a program name with args.
 
9096
set dummy lipo; ac_word=$2
 
9097
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9098
$as_echo_n "checking for $ac_word... " >&6; }
 
9099
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
 
9100
  $as_echo_n "(cached) " >&6
 
9101
else
 
9102
  if test -n "$ac_ct_LIPO"; then
 
9103
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
9104
else
 
9105
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9106
for as_dir in $PATH
 
9107
do
 
9108
  IFS=$as_save_IFS
 
9109
  test -z "$as_dir" && as_dir=.
 
9110
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9111
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9112
    ac_cv_prog_ac_ct_LIPO="lipo"
 
9113
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9114
    break 2
 
9115
  fi
 
9116
done
 
9117
  done
 
9118
IFS=$as_save_IFS
 
9119
 
 
9120
fi
 
9121
fi
 
9122
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
9123
if test -n "$ac_ct_LIPO"; then
 
9124
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
 
9125
$as_echo "$ac_ct_LIPO" >&6; }
 
9126
else
 
9127
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9128
$as_echo "no" >&6; }
 
9129
fi
 
9130
 
 
9131
  if test "x$ac_ct_LIPO" = x; then
 
9132
    LIPO=":"
 
9133
  else
 
9134
    case $cross_compiling:$ac_tool_warned in
 
9135
yes:)
 
9136
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
9137
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9138
ac_tool_warned=yes ;;
 
9139
esac
 
9140
    LIPO=$ac_ct_LIPO
 
9141
  fi
 
9142
else
 
9143
  LIPO="$ac_cv_prog_LIPO"
 
9144
fi
 
9145
 
 
9146
    if test -n "$ac_tool_prefix"; then
 
9147
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
9148
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
9149
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9150
$as_echo_n "checking for $ac_word... " >&6; }
 
9151
if test "${ac_cv_prog_OTOOL+set}" = set; then :
 
9152
  $as_echo_n "(cached) " >&6
 
9153
else
 
9154
  if test -n "$OTOOL"; then
 
9155
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
9156
else
 
9157
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9158
for as_dir in $PATH
 
9159
do
 
9160
  IFS=$as_save_IFS
 
9161
  test -z "$as_dir" && as_dir=.
 
9162
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9163
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9164
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
9165
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9166
    break 2
 
9167
  fi
 
9168
done
 
9169
  done
 
9170
IFS=$as_save_IFS
 
9171
 
 
9172
fi
 
9173
fi
 
9174
OTOOL=$ac_cv_prog_OTOOL
 
9175
if test -n "$OTOOL"; then
 
9176
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
 
9177
$as_echo "$OTOOL" >&6; }
 
9178
else
 
9179
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9180
$as_echo "no" >&6; }
 
9181
fi
 
9182
 
 
9183
 
 
9184
fi
 
9185
if test -z "$ac_cv_prog_OTOOL"; then
 
9186
  ac_ct_OTOOL=$OTOOL
 
9187
  # Extract the first word of "otool", so it can be a program name with args.
 
9188
set dummy otool; ac_word=$2
 
9189
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9190
$as_echo_n "checking for $ac_word... " >&6; }
 
9191
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
 
9192
  $as_echo_n "(cached) " >&6
 
9193
else
 
9194
  if test -n "$ac_ct_OTOOL"; then
 
9195
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
9196
else
 
9197
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9198
for as_dir in $PATH
 
9199
do
 
9200
  IFS=$as_save_IFS
 
9201
  test -z "$as_dir" && as_dir=.
 
9202
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9203
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9204
    ac_cv_prog_ac_ct_OTOOL="otool"
 
9205
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9206
    break 2
 
9207
  fi
 
9208
done
 
9209
  done
 
9210
IFS=$as_save_IFS
 
9211
 
 
9212
fi
 
9213
fi
 
9214
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
9215
if test -n "$ac_ct_OTOOL"; then
 
9216
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
 
9217
$as_echo "$ac_ct_OTOOL" >&6; }
 
9218
else
 
9219
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9220
$as_echo "no" >&6; }
 
9221
fi
 
9222
 
 
9223
  if test "x$ac_ct_OTOOL" = x; then
 
9224
    OTOOL=":"
 
9225
  else
 
9226
    case $cross_compiling:$ac_tool_warned in
 
9227
yes:)
 
9228
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
9229
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9230
ac_tool_warned=yes ;;
 
9231
esac
 
9232
    OTOOL=$ac_ct_OTOOL
 
9233
  fi
 
9234
else
 
9235
  OTOOL="$ac_cv_prog_OTOOL"
 
9236
fi
 
9237
 
 
9238
    if test -n "$ac_tool_prefix"; then
 
9239
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
9240
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
9241
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9242
$as_echo_n "checking for $ac_word... " >&6; }
 
9243
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
 
9244
  $as_echo_n "(cached) " >&6
 
9245
else
 
9246
  if test -n "$OTOOL64"; then
 
9247
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
9248
else
 
9249
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9250
for as_dir in $PATH
 
9251
do
 
9252
  IFS=$as_save_IFS
 
9253
  test -z "$as_dir" && as_dir=.
 
9254
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9255
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9256
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
9257
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9258
    break 2
 
9259
  fi
 
9260
done
 
9261
  done
 
9262
IFS=$as_save_IFS
 
9263
 
 
9264
fi
 
9265
fi
 
9266
OTOOL64=$ac_cv_prog_OTOOL64
 
9267
if test -n "$OTOOL64"; then
 
9268
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
 
9269
$as_echo "$OTOOL64" >&6; }
 
9270
else
 
9271
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9272
$as_echo "no" >&6; }
 
9273
fi
 
9274
 
 
9275
 
 
9276
fi
 
9277
if test -z "$ac_cv_prog_OTOOL64"; then
 
9278
  ac_ct_OTOOL64=$OTOOL64
 
9279
  # Extract the first word of "otool64", so it can be a program name with args.
 
9280
set dummy otool64; ac_word=$2
 
9281
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9282
$as_echo_n "checking for $ac_word... " >&6; }
 
9283
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
 
9284
  $as_echo_n "(cached) " >&6
 
9285
else
 
9286
  if test -n "$ac_ct_OTOOL64"; then
 
9287
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
9288
else
 
9289
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9290
for as_dir in $PATH
 
9291
do
 
9292
  IFS=$as_save_IFS
 
9293
  test -z "$as_dir" && as_dir=.
 
9294
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9295
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9296
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
9297
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9298
    break 2
 
9299
  fi
 
9300
done
 
9301
  done
 
9302
IFS=$as_save_IFS
 
9303
 
 
9304
fi
 
9305
fi
 
9306
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
9307
if test -n "$ac_ct_OTOOL64"; then
 
9308
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
 
9309
$as_echo "$ac_ct_OTOOL64" >&6; }
 
9310
else
 
9311
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9312
$as_echo "no" >&6; }
 
9313
fi
 
9314
 
 
9315
  if test "x$ac_ct_OTOOL64" = x; then
 
9316
    OTOOL64=":"
 
9317
  else
 
9318
    case $cross_compiling:$ac_tool_warned in
 
9319
yes:)
 
9320
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
9321
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9322
ac_tool_warned=yes ;;
 
9323
esac
 
9324
    OTOOL64=$ac_ct_OTOOL64
 
9325
  fi
 
9326
else
 
9327
  OTOOL64="$ac_cv_prog_OTOOL64"
 
9328
fi
 
9329
 
 
9330
 
 
9331
 
 
9332
 
 
9333
 
 
9334
 
 
9335
 
 
9336
 
 
9337
 
 
9338
 
 
9339
 
 
9340
 
 
9341
 
 
9342
 
 
9343
 
 
9344
 
 
9345
 
 
9346
 
 
9347
 
 
9348
 
 
9349
 
 
9350
 
 
9351
 
 
9352
 
 
9353
 
 
9354
 
 
9355
 
 
9356
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
 
9357
$as_echo_n "checking for -single_module linker flag... " >&6; }
 
9358
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
 
9359
  $as_echo_n "(cached) " >&6
 
9360
else
 
9361
  lt_cv_apple_cc_single_mod=no
 
9362
      if test -z "${LT_MULTI_MODULE}"; then
 
9363
        # By default we will add the -single_module flag. You can override
 
9364
        # by either setting the environment variable LT_MULTI_MODULE
 
9365
        # non-empty at configure time, or by adding -multi_module to the
 
9366
        # link flags.
 
9367
        rm -rf libconftest.dylib*
 
9368
        echo "int foo(void){return 1;}" > conftest.c
 
9369
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
9370
-dynamiclib -Wl,-single_module conftest.c" >&5
 
9371
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
9372
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
9373
        _lt_result=$?
 
9374
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
9375
          lt_cv_apple_cc_single_mod=yes
 
9376
        else
 
9377
          cat conftest.err >&5
 
9378
        fi
 
9379
        rm -rf libconftest.dylib*
 
9380
        rm -f conftest.*
 
9381
      fi
 
9382
fi
 
9383
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
 
9384
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
9385
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 
9386
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 
9387
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
 
9388
  $as_echo_n "(cached) " >&6
 
9389
else
 
9390
  lt_cv_ld_exported_symbols_list=no
 
9391
      save_LDFLAGS=$LDFLAGS
 
9392
      echo "_main" > conftest.sym
 
9393
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
9394
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9395
/* end confdefs.h.  */
 
9396
 
 
9397
int
 
9398
main ()
 
9399
{
 
9400
 
 
9401
  ;
 
9402
  return 0;
 
9403
}
 
9404
_ACEOF
 
9405
if ac_fn_c_try_link "$LINENO"; then :
 
9406
  lt_cv_ld_exported_symbols_list=yes
 
9407
else
 
9408
  lt_cv_ld_exported_symbols_list=no
 
9409
fi
 
9410
rm -f core conftest.err conftest.$ac_objext \
 
9411
    conftest$ac_exeext conftest.$ac_ext
 
9412
        LDFLAGS="$save_LDFLAGS"
 
9413
 
 
9414
fi
 
9415
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
 
9416
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
9417
    case $host_os in
 
9418
    rhapsody* | darwin1.[012])
 
9419
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
9420
    darwin1.*)
 
9421
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
9422
    darwin*) # darwin 5.x on
 
9423
      # if running on 10.5 or later, the deployment target defaults
 
9424
      # to the OS version, if on x86, and 10.4, the deployment
 
9425
      # target defaults to 10.4. Don't you love it?
 
9426
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
9427
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
9428
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
9429
        10.[012]*)
 
9430
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
9431
        10.*)
 
9432
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
9433
      esac
 
9434
    ;;
 
9435
  esac
 
9436
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
9437
      _lt_dar_single_mod='$single_module'
 
9438
    fi
 
9439
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
9440
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
9441
    else
 
9442
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
9443
    fi
 
9444
    if test "$DSYMUTIL" != ":"; then
 
9445
      _lt_dsymutil='~$DSYMUTIL $lib || :'
 
9446
    else
 
9447
      _lt_dsymutil=
 
9448
    fi
 
9449
    ;;
 
9450
  esac
 
9451
 
6922
9452
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6923
9453
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6924
9454
                  inttypes.h stdint.h unistd.h
6937
9467
done
6938
9468
 
6939
9469
 
 
9470
for ac_header in dlfcn.h
 
9471
do :
 
9472
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
9473
"
 
9474
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
 
9475
  cat >>confdefs.h <<_ACEOF
 
9476
#define HAVE_DLFCN_H 1
 
9477
_ACEOF
 
9478
 
 
9479
fi
 
9480
 
 
9481
done
 
9482
 
 
9483
 
 
9484
 
 
9485
# Set options
 
9486
 
 
9487
 
 
9488
 
 
9489
        enable_dlopen=no
 
9490
 
 
9491
 
 
9492
  enable_win32_dll=no
 
9493
 
 
9494
 
 
9495
            # Check whether --enable-shared was given.
 
9496
if test "${enable_shared+set}" = set; then :
 
9497
  enableval=$enable_shared; p=${PACKAGE-default}
 
9498
    case $enableval in
 
9499
    yes) enable_shared=yes ;;
 
9500
    no) enable_shared=no ;;
 
9501
    *)
 
9502
      enable_shared=no
 
9503
      # Look at the argument we got.  We use all the common list separators.
 
9504
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
9505
      for pkg in $enableval; do
 
9506
        IFS="$lt_save_ifs"
 
9507
        if test "X$pkg" = "X$p"; then
 
9508
          enable_shared=yes
 
9509
        fi
 
9510
      done
 
9511
      IFS="$lt_save_ifs"
 
9512
      ;;
 
9513
    esac
 
9514
else
 
9515
  enable_shared=yes
 
9516
fi
 
9517
 
 
9518
 
 
9519
 
 
9520
 
 
9521
 
 
9522
 
 
9523
 
 
9524
 
 
9525
 
 
9526
  # Check whether --enable-static was given.
 
9527
if test "${enable_static+set}" = set; then :
 
9528
  enableval=$enable_static; p=${PACKAGE-default}
 
9529
    case $enableval in
 
9530
    yes) enable_static=yes ;;
 
9531
    no) enable_static=no ;;
 
9532
    *)
 
9533
     enable_static=no
 
9534
      # Look at the argument we got.  We use all the common list separators.
 
9535
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
9536
      for pkg in $enableval; do
 
9537
        IFS="$lt_save_ifs"
 
9538
        if test "X$pkg" = "X$p"; then
 
9539
          enable_static=yes
 
9540
        fi
 
9541
      done
 
9542
      IFS="$lt_save_ifs"
 
9543
      ;;
 
9544
    esac
 
9545
else
 
9546
  enable_static=yes
 
9547
fi
 
9548
 
 
9549
 
 
9550
 
 
9551
 
 
9552
 
 
9553
 
 
9554
 
 
9555
 
 
9556
 
 
9557
 
 
9558
# Check whether --with-pic was given.
 
9559
if test "${with_pic+set}" = set; then :
 
9560
  withval=$with_pic; pic_mode="$withval"
 
9561
else
 
9562
  pic_mode=default
 
9563
fi
 
9564
 
 
9565
 
 
9566
test -z "$pic_mode" && pic_mode=default
 
9567
 
 
9568
 
 
9569
 
 
9570
 
 
9571
 
 
9572
 
 
9573
 
 
9574
  # Check whether --enable-fast-install was given.
 
9575
if test "${enable_fast_install+set}" = set; then :
 
9576
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
9577
    case $enableval in
 
9578
    yes) enable_fast_install=yes ;;
 
9579
    no) enable_fast_install=no ;;
 
9580
    *)
 
9581
      enable_fast_install=no
 
9582
      # Look at the argument we got.  We use all the common list separators.
 
9583
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
9584
      for pkg in $enableval; do
 
9585
        IFS="$lt_save_ifs"
 
9586
        if test "X$pkg" = "X$p"; then
 
9587
          enable_fast_install=yes
 
9588
        fi
 
9589
      done
 
9590
      IFS="$lt_save_ifs"
 
9591
      ;;
 
9592
    esac
 
9593
else
 
9594
  enable_fast_install=yes
 
9595
fi
 
9596
 
 
9597
 
 
9598
 
 
9599
 
 
9600
 
 
9601
 
 
9602
 
 
9603
 
 
9604
 
 
9605
 
 
9606
 
 
9607
# This can be used to rebuild libtool when needed
 
9608
LIBTOOL_DEPS="$ltmain"
 
9609
 
 
9610
# Always use our own libtool.
 
9611
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
9612
 
 
9613
 
 
9614
 
 
9615
 
 
9616
 
 
9617
 
 
9618
 
 
9619
 
 
9620
 
 
9621
 
 
9622
 
 
9623
 
 
9624
 
 
9625
 
 
9626
 
 
9627
 
 
9628
 
 
9629
 
 
9630
 
 
9631
 
 
9632
 
 
9633
 
 
9634
 
 
9635
 
 
9636
 
 
9637
test -z "$LN_S" && LN_S="ln -s"
 
9638
 
 
9639
 
 
9640
 
 
9641
 
 
9642
 
 
9643
 
 
9644
 
 
9645
 
 
9646
 
 
9647
 
 
9648
 
 
9649
 
 
9650
 
 
9651
 
 
9652
if test -n "${ZSH_VERSION+set}" ; then
 
9653
   setopt NO_GLOB_SUBST
 
9654
fi
 
9655
 
 
9656
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 
9657
$as_echo_n "checking for objdir... " >&6; }
 
9658
if test "${lt_cv_objdir+set}" = set; then :
 
9659
  $as_echo_n "(cached) " >&6
 
9660
else
 
9661
  rm -f .libs 2>/dev/null
 
9662
mkdir .libs 2>/dev/null
 
9663
if test -d .libs; then
 
9664
  lt_cv_objdir=.libs
 
9665
else
 
9666
  # MS-DOS does not allow filenames that begin with a dot.
 
9667
  lt_cv_objdir=_libs
 
9668
fi
 
9669
rmdir .libs 2>/dev/null
 
9670
fi
 
9671
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
 
9672
$as_echo "$lt_cv_objdir" >&6; }
 
9673
objdir=$lt_cv_objdir
 
9674
 
 
9675
 
 
9676
 
 
9677
 
 
9678
 
 
9679
cat >>confdefs.h <<_ACEOF
 
9680
#define LT_OBJDIR "$lt_cv_objdir/"
 
9681
_ACEOF
 
9682
 
 
9683
 
 
9684
 
 
9685
 
 
9686
 
 
9687
 
 
9688
 
 
9689
 
 
9690
 
 
9691
 
 
9692
 
 
9693
 
 
9694
 
 
9695
 
 
9696
 
 
9697
 
 
9698
 
 
9699
case $host_os in
 
9700
aix3*)
 
9701
  # AIX sometimes has problems with the GCC collect2 program.  For some
 
9702
  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
9703
  # vanish in a puff of smoke.
 
9704
  if test "X${COLLECT_NAMES+set}" != Xset; then
 
9705
    COLLECT_NAMES=
 
9706
    export COLLECT_NAMES
 
9707
  fi
 
9708
  ;;
 
9709
esac
 
9710
 
 
9711
# Sed substitution that helps us do robust quoting.  It backslashifies
 
9712
# metacharacters that are still active within double-quoted strings.
 
9713
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
9714
 
 
9715
# Same as above, but do not quote variable references.
 
9716
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
9717
 
 
9718
# Sed substitution to delay expansion of an escaped shell variable in a
 
9719
# double_quote_subst'ed string.
 
9720
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
9721
 
 
9722
# Sed substitution to delay expansion of an escaped single quote.
 
9723
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
9724
 
 
9725
# Sed substitution to avoid accidental globbing in evaled expressions
 
9726
no_glob_subst='s/\*/\\\*/g'
 
9727
 
 
9728
# Global variables:
 
9729
ofile=libtool
 
9730
can_build_shared=yes
 
9731
 
 
9732
# All known linkers require a `.a' archive for static linking (except MSVC,
 
9733
# which needs '.lib').
 
9734
libext=a
 
9735
 
 
9736
with_gnu_ld="$lt_cv_prog_gnu_ld"
 
9737
 
 
9738
old_CC="$CC"
 
9739
old_CFLAGS="$CFLAGS"
 
9740
 
 
9741
# Set sane defaults for various variables
 
9742
test -z "$CC" && CC=cc
 
9743
test -z "$LTCC" && LTCC=$CC
 
9744
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
9745
test -z "$LD" && LD=ld
 
9746
test -z "$ac_objext" && ac_objext=o
 
9747
 
 
9748
for cc_temp in $compiler""; do
 
9749
  case $cc_temp in
 
9750
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
9751
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
9752
    \-*) ;;
 
9753
    *) break;;
 
9754
  esac
 
9755
done
 
9756
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
9757
 
 
9758
 
 
9759
# Only perform the check for file, if the check method requires it
 
9760
test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
9761
case $deplibs_check_method in
 
9762
file_magic*)
 
9763
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
9764
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 
9765
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
9766
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
9767
  $as_echo_n "(cached) " >&6
 
9768
else
 
9769
  case $MAGIC_CMD in
 
9770
[\\/*] |  ?:[\\/]*)
 
9771
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
9772
  ;;
 
9773
*)
 
9774
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
9775
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
9776
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
9777
  for ac_dir in $ac_dummy; do
 
9778
    IFS="$lt_save_ifs"
 
9779
    test -z "$ac_dir" && ac_dir=.
 
9780
    if test -f $ac_dir/${ac_tool_prefix}file; then
 
9781
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
9782
      if test -n "$file_magic_test_file"; then
 
9783
        case $deplibs_check_method in
 
9784
        "file_magic "*)
 
9785
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
9786
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
9787
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
9788
            $EGREP "$file_magic_regex" > /dev/null; then
 
9789
            :
 
9790
          else
 
9791
            cat <<_LT_EOF 1>&2
 
9792
 
 
9793
*** Warning: the command libtool uses to detect shared libraries,
 
9794
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
9795
*** The result is that libtool may fail to recognize shared libraries
 
9796
*** as such.  This will affect the creation of libtool libraries that
 
9797
*** depend on shared libraries, but programs linked with such libtool
 
9798
*** libraries will work regardless of this problem.  Nevertheless, you
 
9799
*** may want to report the problem to your system manager and/or to
 
9800
*** bug-libtool@gnu.org
 
9801
 
 
9802
_LT_EOF
 
9803
          fi ;;
 
9804
        esac
 
9805
      fi
 
9806
      break
 
9807
    fi
 
9808
  done
 
9809
  IFS="$lt_save_ifs"
 
9810
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
9811
  ;;
 
9812
esac
 
9813
fi
 
9814
 
 
9815
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
9816
if test -n "$MAGIC_CMD"; then
 
9817
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
9818
$as_echo "$MAGIC_CMD" >&6; }
 
9819
else
 
9820
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9821
$as_echo "no" >&6; }
 
9822
fi
 
9823
 
 
9824
 
 
9825
 
 
9826
 
 
9827
 
 
9828
if test -z "$lt_cv_path_MAGIC_CMD"; then
 
9829
  if test -n "$ac_tool_prefix"; then
 
9830
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 
9831
$as_echo_n "checking for file... " >&6; }
 
9832
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
9833
  $as_echo_n "(cached) " >&6
 
9834
else
 
9835
  case $MAGIC_CMD in
 
9836
[\\/*] |  ?:[\\/]*)
 
9837
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
9838
  ;;
 
9839
*)
 
9840
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
9841
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
9842
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
9843
  for ac_dir in $ac_dummy; do
 
9844
    IFS="$lt_save_ifs"
 
9845
    test -z "$ac_dir" && ac_dir=.
 
9846
    if test -f $ac_dir/file; then
 
9847
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
9848
      if test -n "$file_magic_test_file"; then
 
9849
        case $deplibs_check_method in
 
9850
        "file_magic "*)
 
9851
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
9852
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
9853
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
9854
            $EGREP "$file_magic_regex" > /dev/null; then
 
9855
            :
 
9856
          else
 
9857
            cat <<_LT_EOF 1>&2
 
9858
 
 
9859
*** Warning: the command libtool uses to detect shared libraries,
 
9860
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
9861
*** The result is that libtool may fail to recognize shared libraries
 
9862
*** as such.  This will affect the creation of libtool libraries that
 
9863
*** depend on shared libraries, but programs linked with such libtool
 
9864
*** libraries will work regardless of this problem.  Nevertheless, you
 
9865
*** may want to report the problem to your system manager and/or to
 
9866
*** bug-libtool@gnu.org
 
9867
 
 
9868
_LT_EOF
 
9869
          fi ;;
 
9870
        esac
 
9871
      fi
 
9872
      break
 
9873
    fi
 
9874
  done
 
9875
  IFS="$lt_save_ifs"
 
9876
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
9877
  ;;
 
9878
esac
 
9879
fi
 
9880
 
 
9881
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
9882
if test -n "$MAGIC_CMD"; then
 
9883
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
9884
$as_echo "$MAGIC_CMD" >&6; }
 
9885
else
 
9886
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9887
$as_echo "no" >&6; }
 
9888
fi
 
9889
 
 
9890
 
 
9891
  else
 
9892
    MAGIC_CMD=:
 
9893
  fi
 
9894
fi
 
9895
 
 
9896
  fi
 
9897
  ;;
 
9898
esac
 
9899
 
 
9900
# Use C for the default configuration in the libtool script
 
9901
 
 
9902
lt_save_CC="$CC"
 
9903
ac_ext=c
 
9904
ac_cpp='$CPP $CPPFLAGS'
 
9905
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
9906
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
9907
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
9908
 
 
9909
 
 
9910
# Source file extension for C test sources.
 
9911
ac_ext=c
 
9912
 
 
9913
# Object file extension for compiled C test sources.
 
9914
objext=o
 
9915
objext=$objext
 
9916
 
 
9917
# Code to be used in simple compile tests
 
9918
lt_simple_compile_test_code="int some_variable = 0;"
 
9919
 
 
9920
# Code to be used in simple link tests
 
9921
lt_simple_link_test_code='int main(){return(0);}'
 
9922
 
 
9923
 
 
9924
 
 
9925
 
 
9926
 
 
9927
 
 
9928
 
 
9929
# If no C compiler was specified, use CC.
 
9930
LTCC=${LTCC-"$CC"}
 
9931
 
 
9932
# If no C compiler flags were specified, use CFLAGS.
 
9933
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
9934
 
 
9935
# Allow CC to be a program name with arguments.
 
9936
compiler=$CC
 
9937
 
 
9938
# Save the default compiler, since it gets overwritten when the other
 
9939
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
9940
compiler_DEFAULT=$CC
 
9941
 
 
9942
# save warnings/boilerplate of simple test code
 
9943
ac_outfile=conftest.$ac_objext
 
9944
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
9945
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
9946
_lt_compiler_boilerplate=`cat conftest.err`
 
9947
$RM conftest*
 
9948
 
 
9949
ac_outfile=conftest.$ac_objext
 
9950
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
9951
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
9952
_lt_linker_boilerplate=`cat conftest.err`
 
9953
$RM -r conftest*
 
9954
 
 
9955
 
 
9956
if test -n "$compiler"; then
 
9957
 
 
9958
lt_prog_compiler_no_builtin_flag=
 
9959
 
 
9960
if test "$GCC" = yes; then
 
9961
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 
9962
 
 
9963
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
9964
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 
9965
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
 
9966
  $as_echo_n "(cached) " >&6
 
9967
else
 
9968
  lt_cv_prog_compiler_rtti_exceptions=no
 
9969
   ac_outfile=conftest.$ac_objext
 
9970
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9971
   lt_compiler_flag="-fno-rtti -fno-exceptions"
 
9972
   # Insert the option either (1) after the last *FLAGS variable, or
 
9973
   # (2) before a word containing "conftest.", or (3) at the end.
 
9974
   # Note that $ac_compile itself does not contain backslashes and begins
 
9975
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
9976
   # The option is referenced via a variable to avoid confusing sed.
 
9977
   lt_compile=`echo "$ac_compile" | $SED \
 
9978
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
9979
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
9980
   -e 's:$: $lt_compiler_flag:'`
 
9981
   (eval echo "\"\$as_me:9981: $lt_compile\"" >&5)
 
9982
   (eval "$lt_compile" 2>conftest.err)
 
9983
   ac_status=$?
 
9984
   cat conftest.err >&5
 
9985
   echo "$as_me:9985: \$? = $ac_status" >&5
 
9986
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
9987
     # The compiler can only warn and ignore the option if not recognized
 
9988
     # So say no if there are warnings other than the usual output.
 
9989
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
9990
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
9991
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
9992
       lt_cv_prog_compiler_rtti_exceptions=yes
 
9993
     fi
 
9994
   fi
 
9995
   $RM conftest*
 
9996
 
 
9997
fi
 
9998
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
9999
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
10000
 
 
10001
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 
10002
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
 
10003
else
 
10004
    :
 
10005
fi
 
10006
 
 
10007
fi
 
10008
 
 
10009
 
 
10010
 
 
10011
 
 
10012
 
 
10013
 
 
10014
  lt_prog_compiler_wl=
 
10015
lt_prog_compiler_pic=
 
10016
lt_prog_compiler_static=
 
10017
 
 
10018
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
10019
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
10020
 
 
10021
  if test "$GCC" = yes; then
 
10022
    lt_prog_compiler_wl='-Wl,'
 
10023
    lt_prog_compiler_static='-static'
 
10024
 
 
10025
    case $host_os in
 
10026
      aix*)
 
10027
      # All AIX code is PIC.
 
10028
      if test "$host_cpu" = ia64; then
 
10029
        # AIX 5 now supports IA64 processor
 
10030
        lt_prog_compiler_static='-Bstatic'
 
10031
      fi
 
10032
      ;;
 
10033
 
 
10034
    amigaos*)
 
10035
      case $host_cpu in
 
10036
      powerpc)
 
10037
            # see comment about AmigaOS4 .so support
 
10038
            lt_prog_compiler_pic='-fPIC'
 
10039
        ;;
 
10040
      m68k)
 
10041
            # FIXME: we need at least 68020 code to build shared libraries, but
 
10042
            # adding the `-m68020' flag to GCC prevents building anything better,
 
10043
            # like `-m68040'.
 
10044
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
10045
        ;;
 
10046
      esac
 
10047
      ;;
 
10048
 
 
10049
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
10050
      # PIC is the default for these OSes.
 
10051
      ;;
 
10052
 
 
10053
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
10054
      # This hack is so that the source file can tell whether it is being
 
10055
      # built for inclusion in a dll (and should export symbols for example).
 
10056
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
10057
      # (--disable-auto-import) libraries
 
10058
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
10059
      ;;
 
10060
 
 
10061
    darwin* | rhapsody*)
 
10062
      # PIC is the default on this platform
 
10063
      # Common symbols not allowed in MH_DYLIB files
 
10064
      lt_prog_compiler_pic='-fno-common'
 
10065
      ;;
 
10066
 
 
10067
    hpux*)
 
10068
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
10069
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
10070
      # sets the default TLS model and affects inlining.
 
10071
      case $host_cpu in
 
10072
      hppa*64*)
 
10073
        # +Z the default
 
10074
        ;;
 
10075
      *)
 
10076
        lt_prog_compiler_pic='-fPIC'
 
10077
        ;;
 
10078
      esac
 
10079
      ;;
 
10080
 
 
10081
    interix[3-9]*)
 
10082
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
10083
      # Instead, we relocate shared libraries at runtime.
 
10084
      ;;
 
10085
 
 
10086
    msdosdjgpp*)
 
10087
      # Just because we use GCC doesn't mean we suddenly get shared libraries
 
10088
      # on systems that don't support them.
 
10089
      lt_prog_compiler_can_build_shared=no
 
10090
      enable_shared=no
 
10091
      ;;
 
10092
 
 
10093
    *nto* | *qnx*)
 
10094
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
10095
      # it will coredump.
 
10096
      lt_prog_compiler_pic='-fPIC -shared'
 
10097
      ;;
 
10098
 
 
10099
    sysv4*MP*)
 
10100
      if test -d /usr/nec; then
 
10101
        lt_prog_compiler_pic=-Kconform_pic
 
10102
      fi
 
10103
      ;;
 
10104
 
 
10105
    *)
 
10106
      lt_prog_compiler_pic='-fPIC'
 
10107
      ;;
 
10108
    esac
 
10109
  else
 
10110
    # PORTME Check for flag to pass linker flags through the system compiler.
 
10111
    case $host_os in
 
10112
    aix*)
 
10113
      lt_prog_compiler_wl='-Wl,'
 
10114
      if test "$host_cpu" = ia64; then
 
10115
        # AIX 5 now supports IA64 processor
 
10116
        lt_prog_compiler_static='-Bstatic'
 
10117
      else
 
10118
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
 
10119
      fi
 
10120
      ;;
 
10121
 
 
10122
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
10123
      # This hack is so that the source file can tell whether it is being
 
10124
      # built for inclusion in a dll (and should export symbols for example).
 
10125
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
10126
      ;;
 
10127
 
 
10128
    hpux9* | hpux10* | hpux11*)
 
10129
      lt_prog_compiler_wl='-Wl,'
 
10130
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
10131
      # not for PA HP-UX.
 
10132
      case $host_cpu in
 
10133
      hppa*64*|ia64*)
 
10134
        # +Z the default
 
10135
        ;;
 
10136
      *)
 
10137
        lt_prog_compiler_pic='+Z'
 
10138
        ;;
 
10139
      esac
 
10140
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
 
10141
      lt_prog_compiler_static='${wl}-a ${wl}archive'
 
10142
      ;;
 
10143
 
 
10144
    irix5* | irix6* | nonstopux*)
 
10145
      lt_prog_compiler_wl='-Wl,'
 
10146
      # PIC (with -KPIC) is the default.
 
10147
      lt_prog_compiler_static='-non_shared'
 
10148
      ;;
 
10149
 
 
10150
    linux* | k*bsd*-gnu)
 
10151
      case $cc_basename in
 
10152
      # old Intel for x86_64 which still supported -KPIC.
 
10153
      ecc*)
 
10154
        lt_prog_compiler_wl='-Wl,'
 
10155
        lt_prog_compiler_pic='-KPIC'
 
10156
        lt_prog_compiler_static='-static'
 
10157
        ;;
 
10158
      # icc used to be incompatible with GCC.
 
10159
      # ICC 10 doesn't accept -KPIC any more.
 
10160
      icc* | ifort*)
 
10161
        lt_prog_compiler_wl='-Wl,'
 
10162
        lt_prog_compiler_pic='-fPIC'
 
10163
        lt_prog_compiler_static='-static'
 
10164
        ;;
 
10165
      # Lahey Fortran 8.1.
 
10166
      lf95*)
 
10167
        lt_prog_compiler_wl='-Wl,'
 
10168
        lt_prog_compiler_pic='--shared'
 
10169
        lt_prog_compiler_static='--static'
 
10170
        ;;
 
10171
      pgcc* | pgf77* | pgf90* | pgf95*)
 
10172
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
10173
        # which looks to be a dead project)
 
10174
        lt_prog_compiler_wl='-Wl,'
 
10175
        lt_prog_compiler_pic='-fpic'
 
10176
        lt_prog_compiler_static='-Bstatic'
 
10177
        ;;
 
10178
      ccc*)
 
10179
        lt_prog_compiler_wl='-Wl,'
 
10180
        # All Alpha code is PIC.
 
10181
        lt_prog_compiler_static='-non_shared'
 
10182
        ;;
 
10183
      xl*)
 
10184
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
10185
        lt_prog_compiler_wl='-Wl,'
 
10186
        lt_prog_compiler_pic='-qpic'
 
10187
        lt_prog_compiler_static='-qstaticlink'
 
10188
        ;;
 
10189
      *)
 
10190
        case `$CC -V 2>&1 | sed 5q` in
 
10191
        *Sun\ C*)
 
10192
          # Sun C 5.9
 
10193
          lt_prog_compiler_pic='-KPIC'
 
10194
          lt_prog_compiler_static='-Bstatic'
 
10195
          lt_prog_compiler_wl='-Wl,'
 
10196
          ;;
 
10197
        *Sun\ F*)
 
10198
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
10199
          lt_prog_compiler_pic='-KPIC'
 
10200
          lt_prog_compiler_static='-Bstatic'
 
10201
          lt_prog_compiler_wl=''
 
10202
          ;;
 
10203
        esac
 
10204
        ;;
 
10205
      esac
 
10206
      ;;
 
10207
 
 
10208
    newsos6)
 
10209
      lt_prog_compiler_pic='-KPIC'
 
10210
      lt_prog_compiler_static='-Bstatic'
 
10211
      ;;
 
10212
 
 
10213
    *nto* | *qnx*)
 
10214
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
10215
      # it will coredump.
 
10216
      lt_prog_compiler_pic='-fPIC -shared'
 
10217
      ;;
 
10218
 
 
10219
    osf3* | osf4* | osf5*)
 
10220
      lt_prog_compiler_wl='-Wl,'
 
10221
      # All OSF/1 code is PIC.
 
10222
      lt_prog_compiler_static='-non_shared'
 
10223
      ;;
 
10224
 
 
10225
    rdos*)
 
10226
      lt_prog_compiler_static='-non_shared'
 
10227
      ;;
 
10228
 
 
10229
    solaris*)
 
10230
      lt_prog_compiler_pic='-KPIC'
 
10231
      lt_prog_compiler_static='-Bstatic'
 
10232
      case $cc_basename in
 
10233
      f77* | f90* | f95*)
 
10234
        lt_prog_compiler_wl='-Qoption ld ';;
 
10235
      *)
 
10236
        lt_prog_compiler_wl='-Wl,';;
 
10237
      esac
 
10238
      ;;
 
10239
 
 
10240
    sunos4*)
 
10241
      lt_prog_compiler_wl='-Qoption ld '
 
10242
      lt_prog_compiler_pic='-PIC'
 
10243
      lt_prog_compiler_static='-Bstatic'
 
10244
      ;;
 
10245
 
 
10246
    sysv4 | sysv4.2uw2* | sysv4.3*)
 
10247
      lt_prog_compiler_wl='-Wl,'
 
10248
      lt_prog_compiler_pic='-KPIC'
 
10249
      lt_prog_compiler_static='-Bstatic'
 
10250
      ;;
 
10251
 
 
10252
    sysv4*MP*)
 
10253
      if test -d /usr/nec ;then
 
10254
        lt_prog_compiler_pic='-Kconform_pic'
 
10255
        lt_prog_compiler_static='-Bstatic'
 
10256
      fi
 
10257
      ;;
 
10258
 
 
10259
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
10260
      lt_prog_compiler_wl='-Wl,'
 
10261
      lt_prog_compiler_pic='-KPIC'
 
10262
      lt_prog_compiler_static='-Bstatic'
 
10263
      ;;
 
10264
 
 
10265
    unicos*)
 
10266
      lt_prog_compiler_wl='-Wl,'
 
10267
      lt_prog_compiler_can_build_shared=no
 
10268
      ;;
 
10269
 
 
10270
    uts4*)
 
10271
      lt_prog_compiler_pic='-pic'
 
10272
      lt_prog_compiler_static='-Bstatic'
 
10273
      ;;
 
10274
 
 
10275
    *)
 
10276
      lt_prog_compiler_can_build_shared=no
 
10277
      ;;
 
10278
    esac
 
10279
  fi
 
10280
 
 
10281
case $host_os in
 
10282
  # For platforms which do not support PIC, -DPIC is meaningless:
 
10283
  *djgpp*)
 
10284
    lt_prog_compiler_pic=
 
10285
    ;;
 
10286
  *)
 
10287
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
10288
    ;;
 
10289
esac
 
10290
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
 
10291
$as_echo "$lt_prog_compiler_pic" >&6; }
 
10292
 
 
10293
 
 
10294
 
 
10295
 
 
10296
 
 
10297
 
 
10298
#
 
10299
# Check to make sure the PIC flag actually works.
 
10300
#
 
10301
if test -n "$lt_prog_compiler_pic"; then
 
10302
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
10303
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 
10304
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
 
10305
  $as_echo_n "(cached) " >&6
 
10306
else
 
10307
  lt_cv_prog_compiler_pic_works=no
 
10308
   ac_outfile=conftest.$ac_objext
 
10309
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10310
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
 
10311
   # Insert the option either (1) after the last *FLAGS variable, or
 
10312
   # (2) before a word containing "conftest.", or (3) at the end.
 
10313
   # Note that $ac_compile itself does not contain backslashes and begins
 
10314
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
10315
   # The option is referenced via a variable to avoid confusing sed.
 
10316
   lt_compile=`echo "$ac_compile" | $SED \
 
10317
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
10318
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
10319
   -e 's:$: $lt_compiler_flag:'`
 
10320
   (eval echo "\"\$as_me:10320: $lt_compile\"" >&5)
 
10321
   (eval "$lt_compile" 2>conftest.err)
 
10322
   ac_status=$?
 
10323
   cat conftest.err >&5
 
10324
   echo "$as_me:10324: \$? = $ac_status" >&5
 
10325
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
10326
     # The compiler can only warn and ignore the option if not recognized
 
10327
     # So say no if there are warnings other than the usual output.
 
10328
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
10329
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
10330
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
10331
       lt_cv_prog_compiler_pic_works=yes
 
10332
     fi
 
10333
   fi
 
10334
   $RM conftest*
 
10335
 
 
10336
fi
 
10337
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
 
10338
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
 
10339
 
 
10340
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
 
10341
    case $lt_prog_compiler_pic in
 
10342
     "" | " "*) ;;
 
10343
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
 
10344
     esac
 
10345
else
 
10346
    lt_prog_compiler_pic=
 
10347
     lt_prog_compiler_can_build_shared=no
 
10348
fi
 
10349
 
 
10350
fi
 
10351
 
 
10352
 
 
10353
 
 
10354
 
 
10355
 
 
10356
 
 
10357
#
 
10358
# Check to make sure the static flag actually works.
 
10359
#
 
10360
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 
10361
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
10362
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
10363
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
 
10364
  $as_echo_n "(cached) " >&6
 
10365
else
 
10366
  lt_cv_prog_compiler_static_works=no
 
10367
   save_LDFLAGS="$LDFLAGS"
 
10368
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
10369
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
10370
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
10371
     # The linker can only warn and ignore the option if not recognized
 
10372
     # So say no if there are warnings
 
10373
     if test -s conftest.err; then
 
10374
       # Append any errors to the config.log.
 
10375
       cat conftest.err 1>&5
 
10376
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
10377
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
10378
       if diff conftest.exp conftest.er2 >/dev/null; then
 
10379
         lt_cv_prog_compiler_static_works=yes
 
10380
       fi
 
10381
     else
 
10382
       lt_cv_prog_compiler_static_works=yes
 
10383
     fi
 
10384
   fi
 
10385
   $RM -r conftest*
 
10386
   LDFLAGS="$save_LDFLAGS"
 
10387
 
 
10388
fi
 
10389
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
 
10390
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
 
10391
 
 
10392
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
 
10393
    :
 
10394
else
 
10395
    lt_prog_compiler_static=
 
10396
fi
 
10397
 
 
10398
 
 
10399
 
 
10400
 
 
10401
 
 
10402
 
 
10403
 
 
10404
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
10405
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
10406
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
10407
  $as_echo_n "(cached) " >&6
 
10408
else
 
10409
  lt_cv_prog_compiler_c_o=no
 
10410
   $RM -r conftest 2>/dev/null
 
10411
   mkdir conftest
 
10412
   cd conftest
 
10413
   mkdir out
 
10414
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10415
 
 
10416
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
10417
   # Insert the option either (1) after the last *FLAGS variable, or
 
10418
   # (2) before a word containing "conftest.", or (3) at the end.
 
10419
   # Note that $ac_compile itself does not contain backslashes and begins
 
10420
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
10421
   lt_compile=`echo "$ac_compile" | $SED \
 
10422
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
10423
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
10424
   -e 's:$: $lt_compiler_flag:'`
 
10425
   (eval echo "\"\$as_me:10425: $lt_compile\"" >&5)
 
10426
   (eval "$lt_compile" 2>out/conftest.err)
 
10427
   ac_status=$?
 
10428
   cat out/conftest.err >&5
 
10429
   echo "$as_me:10429: \$? = $ac_status" >&5
 
10430
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
10431
   then
 
10432
     # The compiler can only warn and ignore the option if not recognized
 
10433
     # So say no if there are warnings
 
10434
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
10435
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
10436
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
10437
       lt_cv_prog_compiler_c_o=yes
 
10438
     fi
 
10439
   fi
 
10440
   chmod u+w . 2>&5
 
10441
   $RM conftest*
 
10442
   # SGI C++ compiler will create directory out/ii_files/ for
 
10443
   # template instantiation
 
10444
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
10445
   $RM out/* && rmdir out
 
10446
   cd ..
 
10447
   $RM -r conftest
 
10448
   $RM conftest*
 
10449
 
 
10450
fi
 
10451
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
10452
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
10453
 
 
10454
 
 
10455
 
 
10456
 
 
10457
 
 
10458
 
 
10459
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
10460
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
10461
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
10462
  $as_echo_n "(cached) " >&6
 
10463
else
 
10464
  lt_cv_prog_compiler_c_o=no
 
10465
   $RM -r conftest 2>/dev/null
 
10466
   mkdir conftest
 
10467
   cd conftest
 
10468
   mkdir out
 
10469
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10470
 
 
10471
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
10472
   # Insert the option either (1) after the last *FLAGS variable, or
 
10473
   # (2) before a word containing "conftest.", or (3) at the end.
 
10474
   # Note that $ac_compile itself does not contain backslashes and begins
 
10475
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
10476
   lt_compile=`echo "$ac_compile" | $SED \
 
10477
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
10478
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
10479
   -e 's:$: $lt_compiler_flag:'`
 
10480
   (eval echo "\"\$as_me:10480: $lt_compile\"" >&5)
 
10481
   (eval "$lt_compile" 2>out/conftest.err)
 
10482
   ac_status=$?
 
10483
   cat out/conftest.err >&5
 
10484
   echo "$as_me:10484: \$? = $ac_status" >&5
 
10485
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
10486
   then
 
10487
     # The compiler can only warn and ignore the option if not recognized
 
10488
     # So say no if there are warnings
 
10489
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
10490
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
10491
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
10492
       lt_cv_prog_compiler_c_o=yes
 
10493
     fi
 
10494
   fi
 
10495
   chmod u+w . 2>&5
 
10496
   $RM conftest*
 
10497
   # SGI C++ compiler will create directory out/ii_files/ for
 
10498
   # template instantiation
 
10499
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
10500
   $RM out/* && rmdir out
 
10501
   cd ..
 
10502
   $RM -r conftest
 
10503
   $RM conftest*
 
10504
 
 
10505
fi
 
10506
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
10507
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
10508
 
 
10509
 
 
10510
 
 
10511
 
 
10512
hard_links="nottested"
 
10513
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
 
10514
  # do not overwrite the value of need_locks provided by the user
 
10515
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 
10516
$as_echo_n "checking if we can lock with hard links... " >&6; }
 
10517
  hard_links=yes
 
10518
  $RM conftest*
 
10519
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
10520
  touch conftest.a
 
10521
  ln conftest.a conftest.b 2>&5 || hard_links=no
 
10522
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
10523
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 
10524
$as_echo "$hard_links" >&6; }
 
10525
  if test "$hard_links" = no; then
 
10526
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
10527
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
10528
    need_locks=warn
 
10529
  fi
 
10530
else
 
10531
  need_locks=no
 
10532
fi
 
10533
 
 
10534
 
 
10535
 
 
10536
 
 
10537
 
 
10538
 
 
10539
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
10540
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
10541
 
 
10542
  runpath_var=
 
10543
  allow_undefined_flag=
 
10544
  always_export_symbols=no
 
10545
  archive_cmds=
 
10546
  archive_expsym_cmds=
 
10547
  compiler_needs_object=no
 
10548
  enable_shared_with_static_runtimes=no
 
10549
  export_dynamic_flag_spec=
 
10550
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
10551
  hardcode_automatic=no
 
10552
  hardcode_direct=no
 
10553
  hardcode_direct_absolute=no
 
10554
  hardcode_libdir_flag_spec=
 
10555
  hardcode_libdir_flag_spec_ld=
 
10556
  hardcode_libdir_separator=
 
10557
  hardcode_minus_L=no
 
10558
  hardcode_shlibpath_var=unsupported
 
10559
  inherit_rpath=no
 
10560
  link_all_deplibs=unknown
 
10561
  module_cmds=
 
10562
  module_expsym_cmds=
 
10563
  old_archive_from_new_cmds=
 
10564
  old_archive_from_expsyms_cmds=
 
10565
  thread_safe_flag_spec=
 
10566
  whole_archive_flag_spec=
 
10567
  # include_expsyms should be a list of space-separated symbols to be *always*
 
10568
  # included in the symbol list
 
10569
  include_expsyms=
 
10570
  # exclude_expsyms can be an extended regexp of symbols to exclude
 
10571
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
 
10572
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 
10573
  # as well as any symbol that contains `d'.
 
10574
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 
10575
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 
10576
  # platforms (ab)use it in PIC code, but their linkers get confused if
 
10577
  # the symbol is explicitly referenced.  Since portable code cannot
 
10578
  # rely on this symbol name, it's probably fine to never include it in
 
10579
  # preloaded symbol tables.
 
10580
  # Exclude shared library initialization/finalization symbols.
 
10581
  extract_expsyms_cmds=
 
10582
 
 
10583
  case $host_os in
 
10584
  cygwin* | mingw* | pw32* | cegcc*)
 
10585
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
 
10586
    # When not using gcc, we currently assume that we are using
 
10587
    # Microsoft Visual C++.
 
10588
    if test "$GCC" != yes; then
 
10589
      with_gnu_ld=no
 
10590
    fi
 
10591
    ;;
 
10592
  interix*)
 
10593
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
10594
    with_gnu_ld=yes
 
10595
    ;;
 
10596
  openbsd*)
 
10597
    with_gnu_ld=no
 
10598
    ;;
 
10599
  linux* | k*bsd*-gnu)
 
10600
    link_all_deplibs=no
 
10601
    ;;
 
10602
  esac
 
10603
 
 
10604
  ld_shlibs=yes
 
10605
  if test "$with_gnu_ld" = yes; then
 
10606
    # If archive_cmds runs LD, not CC, wlarc should be empty
 
10607
    wlarc='${wl}'
 
10608
 
 
10609
    # Set some defaults for GNU ld with shared library support. These
 
10610
    # are reset later if shared libraries are not supported. Putting them
 
10611
    # here allows them to be overridden if necessary.
 
10612
    runpath_var=LD_RUN_PATH
 
10613
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
10614
    export_dynamic_flag_spec='${wl}--export-dynamic'
 
10615
    # ancient GNU ld didn't support --whole-archive et. al.
 
10616
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
10617
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
10618
    else
 
10619
      whole_archive_flag_spec=
 
10620
    fi
 
10621
    supports_anon_versioning=no
 
10622
    case `$LD -v 2>&1` in
 
10623
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
10624
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
10625
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
10626
      *\ 2.11.*) ;; # other 2.11 versions
 
10627
      *) supports_anon_versioning=yes ;;
 
10628
    esac
 
10629
 
 
10630
    # See if GNU ld supports shared libraries.
 
10631
    case $host_os in
 
10632
    aix[3-9]*)
 
10633
      # On AIX/PPC, the GNU linker is very broken
 
10634
      if test "$host_cpu" != ia64; then
 
10635
        ld_shlibs=no
 
10636
        cat <<_LT_EOF 1>&2
 
10637
 
 
10638
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
10639
*** to be unable to reliably create shared libraries on AIX.
 
10640
*** Therefore, libtool is disabling shared libraries support.  If you
 
10641
*** really care for shared libraries, you may want to modify your PATH
 
10642
*** so that a non-GNU linker is found, and then restart.
 
10643
 
 
10644
_LT_EOF
 
10645
      fi
 
10646
      ;;
 
10647
 
 
10648
    amigaos*)
 
10649
      case $host_cpu in
 
10650
      powerpc)
 
10651
            # see comment about AmigaOS4 .so support
 
10652
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10653
            archive_expsym_cmds=''
 
10654
        ;;
 
10655
      m68k)
 
10656
            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)'
 
10657
            hardcode_libdir_flag_spec='-L$libdir'
 
10658
            hardcode_minus_L=yes
 
10659
        ;;
 
10660
      esac
 
10661
      ;;
 
10662
 
 
10663
    beos*)
 
10664
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
10665
        allow_undefined_flag=unsupported
 
10666
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
10667
        # support --undefined.  This deserves some investigation.  FIXME
 
10668
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10669
      else
 
10670
        ld_shlibs=no
 
10671
      fi
 
10672
      ;;
 
10673
 
 
10674
    cygwin* | mingw* | pw32* | cegcc*)
 
10675
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
10676
      # as there is no search path for DLLs.
 
10677
      hardcode_libdir_flag_spec='-L$libdir'
 
10678
      allow_undefined_flag=unsupported
 
10679
      always_export_symbols=no
 
10680
      enable_shared_with_static_runtimes=yes
 
10681
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
10682
 
 
10683
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
10684
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
10685
        # If the export-symbols file already is a .def file (1st line
 
10686
        # is EXPORTS), use it as is; otherwise, prepend...
 
10687
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
10688
          cp $export_symbols $output_objdir/$soname.def;
 
10689
        else
 
10690
          echo EXPORTS > $output_objdir/$soname.def;
 
10691
          cat $export_symbols >> $output_objdir/$soname.def;
 
10692
        fi~
 
10693
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
10694
      else
 
10695
        ld_shlibs=no
 
10696
      fi
 
10697
      ;;
 
10698
 
 
10699
    interix[3-9]*)
 
10700
      hardcode_direct=no
 
10701
      hardcode_shlibpath_var=no
 
10702
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
10703
      export_dynamic_flag_spec='${wl}-E'
 
10704
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
10705
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
10706
      # default) and relocated if they conflict, which is a slow very memory
 
10707
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
10708
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
10709
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
10710
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
10711
      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'
 
10712
      ;;
 
10713
 
 
10714
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
10715
      tmp_diet=no
 
10716
      if test "$host_os" = linux-dietlibc; then
 
10717
        case $cc_basename in
 
10718
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
10719
        esac
 
10720
      fi
 
10721
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
10722
         && test "$tmp_diet" = no
 
10723
      then
 
10724
        tmp_addflag=
 
10725
        tmp_sharedflag='-shared'
 
10726
        case $cc_basename,$host_cpu in
 
10727
        pgcc*)                          # Portland Group C compiler
 
10728
          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'
 
10729
          tmp_addflag=' $pic_flag'
 
10730
          ;;
 
10731
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
10732
          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'
 
10733
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
10734
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
 
10735
          tmp_addflag=' -i_dynamic' ;;
 
10736
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
10737
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
10738
        ifc* | ifort*)                  # Intel Fortran compiler
 
10739
          tmp_addflag=' -nofor_main' ;;
 
10740
        lf95*)                          # Lahey Fortran 8.1
 
10741
          whole_archive_flag_spec=
 
10742
          tmp_sharedflag='--shared' ;;
 
10743
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
10744
          tmp_sharedflag='-qmkshrobj'
 
10745
          tmp_addflag= ;;
 
10746
        esac
 
10747
        case `$CC -V 2>&1 | sed 5q` in
 
10748
        *Sun\ C*)                       # Sun C 5.9
 
10749
          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'
 
10750
          compiler_needs_object=yes
 
10751
          tmp_sharedflag='-G' ;;
 
10752
        *Sun\ F*)                       # Sun Fortran 8.3
 
10753
          tmp_sharedflag='-G' ;;
 
10754
        esac
 
10755
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10756
 
 
10757
        if test "x$supports_anon_versioning" = xyes; then
 
10758
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
10759
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
10760
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
10761
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
10762
        fi
 
10763
 
 
10764
        case $cc_basename in
 
10765
        xlf*)
 
10766
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
10767
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
10768
          hardcode_libdir_flag_spec=
 
10769
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
10770
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
10771
          if test "x$supports_anon_versioning" = xyes; then
 
10772
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
10773
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
10774
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
10775
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
10776
          fi
 
10777
          ;;
 
10778
        esac
 
10779
      else
 
10780
        ld_shlibs=no
 
10781
      fi
 
10782
      ;;
 
10783
 
 
10784
    netbsd* | netbsdelf*-gnu)
 
10785
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
10786
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 
10787
        wlarc=
 
10788
      else
 
10789
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10790
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
10791
      fi
 
10792
      ;;
 
10793
 
 
10794
    solaris*)
 
10795
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
 
10796
        ld_shlibs=no
 
10797
        cat <<_LT_EOF 1>&2
 
10798
 
 
10799
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
 
10800
*** create shared libraries on Solaris systems.  Therefore, libtool
 
10801
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
10802
*** binutils to release 2.9.1 or newer.  Another option is to modify
 
10803
*** your PATH or compiler configuration so that the native linker is
 
10804
*** used, and then restart.
 
10805
 
 
10806
_LT_EOF
 
10807
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
10808
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10809
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
10810
      else
 
10811
        ld_shlibs=no
 
10812
      fi
 
10813
      ;;
 
10814
 
 
10815
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
10816
      case `$LD -v 2>&1` in
 
10817
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
10818
        ld_shlibs=no
 
10819
        cat <<_LT_EOF 1>&2
 
10820
 
 
10821
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
10822
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
10823
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
10824
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
10825
*** your PATH or compiler configuration so that the native linker is
 
10826
*** used, and then restart.
 
10827
 
 
10828
_LT_EOF
 
10829
        ;;
 
10830
        *)
 
10831
          # For security reasons, it is highly recommended that you always
 
10832
          # use absolute paths for naming shared libraries, and exclude the
 
10833
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
10834
          # requires that you compile everything twice, which is a pain.
 
10835
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
10836
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
10837
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10838
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
10839
          else
 
10840
            ld_shlibs=no
 
10841
          fi
 
10842
        ;;
 
10843
      esac
 
10844
      ;;
 
10845
 
 
10846
    sunos4*)
 
10847
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
10848
      wlarc=
 
10849
      hardcode_direct=yes
 
10850
      hardcode_shlibpath_var=no
 
10851
      ;;
 
10852
 
 
10853
    *)
 
10854
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
10855
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10856
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
10857
      else
 
10858
        ld_shlibs=no
 
10859
      fi
 
10860
      ;;
 
10861
    esac
 
10862
 
 
10863
    if test "$ld_shlibs" = no; then
 
10864
      runpath_var=
 
10865
      hardcode_libdir_flag_spec=
 
10866
      export_dynamic_flag_spec=
 
10867
      whole_archive_flag_spec=
 
10868
    fi
 
10869
  else
 
10870
    # PORTME fill in a description of your system's linker (not GNU ld)
 
10871
    case $host_os in
 
10872
    aix3*)
 
10873
      allow_undefined_flag=unsupported
 
10874
      always_export_symbols=yes
 
10875
      archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
 
10876
      # Note: this linker hardcodes the directories in LIBPATH if there
 
10877
      # are no directories specified by -L.
 
10878
      hardcode_minus_L=yes
 
10879
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 
10880
        # Neither direct hardcoding nor static linking is supported with a
 
10881
        # broken collect2.
 
10882
        hardcode_direct=unsupported
 
10883
      fi
 
10884
      ;;
 
10885
 
 
10886
    aix[4-9]*)
 
10887
      if test "$host_cpu" = ia64; then
 
10888
        # On IA64, the linker does run time linking by default, so we don't
 
10889
        # have to do anything special.
 
10890
        aix_use_runtimelinking=no
 
10891
        exp_sym_flag='-Bexport'
 
10892
        no_entry_flag=""
 
10893
      else
 
10894
        # If we're using GNU nm, then we don't want the "-C" option.
 
10895
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
10896
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
10897
          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'
 
10898
        else
 
10899
          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'
 
10900
        fi
 
10901
        aix_use_runtimelinking=no
 
10902
 
 
10903
        # Test if we are trying to use run time linking or normal
 
10904
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
10905
        # need to do runtime linking.
 
10906
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 
10907
          for ld_flag in $LDFLAGS; do
 
10908
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
10909
            aix_use_runtimelinking=yes
 
10910
            break
 
10911
          fi
 
10912
          done
 
10913
          ;;
 
10914
        esac
 
10915
 
 
10916
        exp_sym_flag='-bexport'
 
10917
        no_entry_flag='-bnoentry'
 
10918
      fi
 
10919
 
 
10920
      # When large executables or shared objects are built, AIX ld can
 
10921
      # have problems creating the table of contents.  If linking a library
 
10922
      # or program results in "error TOC overflow" add -mminimal-toc to
 
10923
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
10924
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
10925
 
 
10926
      archive_cmds=''
 
10927
      hardcode_direct=yes
 
10928
      hardcode_direct_absolute=yes
 
10929
      hardcode_libdir_separator=':'
 
10930
      link_all_deplibs=yes
 
10931
      file_list_spec='${wl}-f,'
 
10932
 
 
10933
      if test "$GCC" = yes; then
 
10934
        case $host_os in aix4.[012]|aix4.[012].*)
 
10935
        # We only want to do this on AIX 4.2 and lower, the check
 
10936
        # below for broken collect2 doesn't work under 4.3+
 
10937
          collect2name=`${CC} -print-prog-name=collect2`
 
10938
          if test -f "$collect2name" &&
 
10939
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 
10940
          then
 
10941
          # We have reworked collect2
 
10942
          :
 
10943
          else
 
10944
          # We have old collect2
 
10945
          hardcode_direct=unsupported
 
10946
          # It fails to find uninstalled libraries when the uninstalled
 
10947
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
10948
          # to unsupported forces relinking
 
10949
          hardcode_minus_L=yes
 
10950
          hardcode_libdir_flag_spec='-L$libdir'
 
10951
          hardcode_libdir_separator=
 
10952
          fi
 
10953
          ;;
 
10954
        esac
 
10955
        shared_flag='-shared'
 
10956
        if test "$aix_use_runtimelinking" = yes; then
 
10957
          shared_flag="$shared_flag "'${wl}-G'
 
10958
        fi
 
10959
        link_all_deplibs=no
 
10960
      else
 
10961
        # not using gcc
 
10962
        if test "$host_cpu" = ia64; then
 
10963
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
10964
        # chokes on -Wl,-G. The following line is correct:
 
10965
          shared_flag='-G'
 
10966
        else
 
10967
          if test "$aix_use_runtimelinking" = yes; then
 
10968
            shared_flag='${wl}-G'
 
10969
          else
 
10970
            shared_flag='${wl}-bM:SRE'
 
10971
          fi
 
10972
        fi
 
10973
      fi
 
10974
 
 
10975
      export_dynamic_flag_spec='${wl}-bexpall'
 
10976
      # It seems that -bexpall does not export symbols beginning with
 
10977
      # underscore (_), so it is better to generate a list of symbols to export.
 
10978
      always_export_symbols=yes
 
10979
      if test "$aix_use_runtimelinking" = yes; then
 
10980
        # Warning - without using the other runtime loading flags (-brtl),
 
10981
        # -berok will link without error, but may produce a broken library.
 
10982
        allow_undefined_flag='-berok'
 
10983
        # Determine the default libpath from the value encoded in an
 
10984
        # empty executable.
 
10985
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10986
/* end confdefs.h.  */
 
10987
 
 
10988
int
 
10989
main ()
 
10990
{
 
10991
 
 
10992
  ;
 
10993
  return 0;
 
10994
}
 
10995
_ACEOF
 
10996
if ac_fn_c_try_link "$LINENO"; then :
 
10997
 
 
10998
lt_aix_libpath_sed='
 
10999
    /Import File Strings/,/^$/ {
 
11000
        /^0/ {
 
11001
            s/^0  *\(.*\)$/\1/
 
11002
            p
 
11003
        }
 
11004
    }'
 
11005
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11006
# Check for a 64-bit object if we didn't find anything.
 
11007
if test -z "$aix_libpath"; then
 
11008
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11009
fi
 
11010
fi
 
11011
rm -f core conftest.err conftest.$ac_objext \
 
11012
    conftest$ac_exeext conftest.$ac_ext
 
11013
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
11014
 
 
11015
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
11016
        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"
 
11017
      else
 
11018
        if test "$host_cpu" = ia64; then
 
11019
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
 
11020
          allow_undefined_flag="-z nodefs"
 
11021
          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"
 
11022
        else
 
11023
         # Determine the default libpath from the value encoded in an
 
11024
         # empty executable.
 
11025
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11026
/* end confdefs.h.  */
 
11027
 
 
11028
int
 
11029
main ()
 
11030
{
 
11031
 
 
11032
  ;
 
11033
  return 0;
 
11034
}
 
11035
_ACEOF
 
11036
if ac_fn_c_try_link "$LINENO"; then :
 
11037
 
 
11038
lt_aix_libpath_sed='
 
11039
    /Import File Strings/,/^$/ {
 
11040
        /^0/ {
 
11041
            s/^0  *\(.*\)$/\1/
 
11042
            p
 
11043
        }
 
11044
    }'
 
11045
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11046
# Check for a 64-bit object if we didn't find anything.
 
11047
if test -z "$aix_libpath"; then
 
11048
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11049
fi
 
11050
fi
 
11051
rm -f core conftest.err conftest.$ac_objext \
 
11052
    conftest$ac_exeext conftest.$ac_ext
 
11053
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
11054
 
 
11055
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
11056
          # Warning - without using the other run time loading flags,
 
11057
          # -berok will link without error, but may produce a broken library.
 
11058
          no_undefined_flag=' ${wl}-bernotok'
 
11059
          allow_undefined_flag=' ${wl}-berok'
 
11060
          # Exported symbols can be pulled into shared objects from archives
 
11061
          whole_archive_flag_spec='$convenience'
 
11062
          archive_cmds_need_lc=yes
 
11063
          # This is similar to how AIX traditionally builds its shared libraries.
 
11064
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
11065
        fi
 
11066
      fi
 
11067
      ;;
 
11068
 
 
11069
    amigaos*)
 
11070
      case $host_cpu in
 
11071
      powerpc)
 
11072
            # see comment about AmigaOS4 .so support
 
11073
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11074
            archive_expsym_cmds=''
 
11075
        ;;
 
11076
      m68k)
 
11077
            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)'
 
11078
            hardcode_libdir_flag_spec='-L$libdir'
 
11079
            hardcode_minus_L=yes
 
11080
        ;;
 
11081
      esac
 
11082
      ;;
 
11083
 
 
11084
    bsdi[45]*)
 
11085
      export_dynamic_flag_spec=-rdynamic
 
11086
      ;;
 
11087
 
 
11088
    cygwin* | mingw* | pw32* | cegcc*)
 
11089
      # When not using gcc, we currently assume that we are using
 
11090
      # Microsoft Visual C++.
 
11091
      # hardcode_libdir_flag_spec is actually meaningless, as there is
 
11092
      # no search path for DLLs.
 
11093
      hardcode_libdir_flag_spec=' '
 
11094
      allow_undefined_flag=unsupported
 
11095
      # Tell ltmain to make .lib files, not .a files.
 
11096
      libext=lib
 
11097
      # Tell ltmain to make .dll files, not .so files.
 
11098
      shrext_cmds=".dll"
 
11099
      # FIXME: Setting linknames here is a bad hack.
 
11100
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
11101
      # The linker will automatically build a .lib file if we build a DLL.
 
11102
      old_archive_from_new_cmds='true'
 
11103
      # FIXME: Should let the user specify the lib program.
 
11104
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
11105
      fix_srcfile_path='`cygpath -w "$srcfile"`'
 
11106
      enable_shared_with_static_runtimes=yes
 
11107
      ;;
 
11108
 
 
11109
    darwin* | rhapsody*)
 
11110
 
 
11111
 
 
11112
  archive_cmds_need_lc=no
 
11113
  hardcode_direct=no
 
11114
  hardcode_automatic=yes
 
11115
  hardcode_shlibpath_var=unsupported
 
11116
  whole_archive_flag_spec=''
 
11117
  link_all_deplibs=yes
 
11118
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
11119
  case $cc_basename in
 
11120
     ifort*) _lt_dar_can_shared=yes ;;
 
11121
     *) _lt_dar_can_shared=$GCC ;;
 
11122
  esac
 
11123
  if test "$_lt_dar_can_shared" = "yes"; then
 
11124
    output_verbose_link_cmd=echo
 
11125
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
11126
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
11127
    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}"
 
11128
    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}"
 
11129
 
 
11130
  else
 
11131
  ld_shlibs=no
 
11132
  fi
 
11133
 
 
11134
      ;;
 
11135
 
 
11136
    dgux*)
 
11137
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11138
      hardcode_libdir_flag_spec='-L$libdir'
 
11139
      hardcode_shlibpath_var=no
 
11140
      ;;
 
11141
 
 
11142
    freebsd1*)
 
11143
      ld_shlibs=no
 
11144
      ;;
 
11145
 
 
11146
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 
11147
    # support.  Future versions do this automatically, but an explicit c++rt0.o
 
11148
    # does not break anything, and helps significantly (at the cost of a little
 
11149
    # extra space).
 
11150
    freebsd2.2*)
 
11151
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 
11152
      hardcode_libdir_flag_spec='-R$libdir'
 
11153
      hardcode_direct=yes
 
11154
      hardcode_shlibpath_var=no
 
11155
      ;;
 
11156
 
 
11157
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 
11158
    freebsd2*)
 
11159
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
11160
      hardcode_direct=yes
 
11161
      hardcode_minus_L=yes
 
11162
      hardcode_shlibpath_var=no
 
11163
      ;;
 
11164
 
 
11165
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 
11166
    freebsd* | dragonfly*)
 
11167
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
11168
      hardcode_libdir_flag_spec='-R$libdir'
 
11169
      hardcode_direct=yes
 
11170
      hardcode_shlibpath_var=no
 
11171
      ;;
 
11172
 
 
11173
    hpux9*)
 
11174
      if test "$GCC" = yes; then
 
11175
        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'
 
11176
      else
 
11177
        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'
 
11178
      fi
 
11179
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
11180
      hardcode_libdir_separator=:
 
11181
      hardcode_direct=yes
 
11182
 
 
11183
      # hardcode_minus_L: Not really in the search PATH,
 
11184
      # but as the default location of the library.
 
11185
      hardcode_minus_L=yes
 
11186
      export_dynamic_flag_spec='${wl}-E'
 
11187
      ;;
 
11188
 
 
11189
    hpux10*)
 
11190
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
11191
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
11192
      else
 
11193
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
11194
      fi
 
11195
      if test "$with_gnu_ld" = no; then
 
11196
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
11197
        hardcode_libdir_flag_spec_ld='+b $libdir'
 
11198
        hardcode_libdir_separator=:
 
11199
        hardcode_direct=yes
 
11200
        hardcode_direct_absolute=yes
 
11201
        export_dynamic_flag_spec='${wl}-E'
 
11202
        # hardcode_minus_L: Not really in the search PATH,
 
11203
        # but as the default location of the library.
 
11204
        hardcode_minus_L=yes
 
11205
      fi
 
11206
      ;;
 
11207
 
 
11208
    hpux11*)
 
11209
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
11210
        case $host_cpu in
 
11211
        hppa*64*)
 
11212
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11213
          ;;
 
11214
        ia64*)
 
11215
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
11216
          ;;
 
11217
        *)
 
11218
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
11219
          ;;
 
11220
        esac
 
11221
      else
 
11222
        case $host_cpu in
 
11223
        hppa*64*)
 
11224
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11225
          ;;
 
11226
        ia64*)
 
11227
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
11228
          ;;
 
11229
        *)
 
11230
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
11231
          ;;
 
11232
        esac
 
11233
      fi
 
11234
      if test "$with_gnu_ld" = no; then
 
11235
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
11236
        hardcode_libdir_separator=:
 
11237
 
 
11238
        case $host_cpu in
 
11239
        hppa*64*|ia64*)
 
11240
          hardcode_direct=no
 
11241
          hardcode_shlibpath_var=no
 
11242
          ;;
 
11243
        *)
 
11244
          hardcode_direct=yes
 
11245
          hardcode_direct_absolute=yes
 
11246
          export_dynamic_flag_spec='${wl}-E'
 
11247
 
 
11248
          # hardcode_minus_L: Not really in the search PATH,
 
11249
          # but as the default location of the library.
 
11250
          hardcode_minus_L=yes
 
11251
          ;;
 
11252
        esac
 
11253
      fi
 
11254
      ;;
 
11255
 
 
11256
    irix5* | irix6* | nonstopux*)
 
11257
      if test "$GCC" = yes; then
 
11258
        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'
 
11259
        # Try to use the -exported_symbol ld option, if it does not
 
11260
        # work, assume that -exports_file does not work either and
 
11261
        # implicitly export all symbols.
 
11262
        save_LDFLAGS="$LDFLAGS"
 
11263
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
11264
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11265
/* end confdefs.h.  */
 
11266
int foo(void) {}
 
11267
_ACEOF
 
11268
if ac_fn_c_try_link "$LINENO"; then :
 
11269
  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'
 
11270
 
 
11271
fi
 
11272
rm -f core conftest.err conftest.$ac_objext \
 
11273
    conftest$ac_exeext conftest.$ac_ext
 
11274
        LDFLAGS="$save_LDFLAGS"
 
11275
      else
 
11276
        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'
 
11277
        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'
 
11278
      fi
 
11279
      archive_cmds_need_lc='no'
 
11280
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
11281
      hardcode_libdir_separator=:
 
11282
      inherit_rpath=yes
 
11283
      link_all_deplibs=yes
 
11284
      ;;
 
11285
 
 
11286
    netbsd* | netbsdelf*-gnu)
 
11287
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
11288
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 
11289
      else
 
11290
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 
11291
      fi
 
11292
      hardcode_libdir_flag_spec='-R$libdir'
 
11293
      hardcode_direct=yes
 
11294
      hardcode_shlibpath_var=no
 
11295
      ;;
 
11296
 
 
11297
    newsos6)
 
11298
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11299
      hardcode_direct=yes
 
11300
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
11301
      hardcode_libdir_separator=:
 
11302
      hardcode_shlibpath_var=no
 
11303
      ;;
 
11304
 
 
11305
    *nto* | *qnx*)
 
11306
      ;;
 
11307
 
 
11308
    openbsd*)
 
11309
      if test -f /usr/libexec/ld.so; then
 
11310
        hardcode_direct=yes
 
11311
        hardcode_shlibpath_var=no
 
11312
        hardcode_direct_absolute=yes
 
11313
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
11314
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
11315
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
11316
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
11317
          export_dynamic_flag_spec='${wl}-E'
 
11318
        else
 
11319
          case $host_os in
 
11320
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
11321
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
11322
             hardcode_libdir_flag_spec='-R$libdir'
 
11323
             ;;
 
11324
           *)
 
11325
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
11326
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
11327
             ;;
 
11328
          esac
 
11329
        fi
 
11330
      else
 
11331
        ld_shlibs=no
 
11332
      fi
 
11333
      ;;
 
11334
 
 
11335
    os2*)
 
11336
      hardcode_libdir_flag_spec='-L$libdir'
 
11337
      hardcode_minus_L=yes
 
11338
      allow_undefined_flag=unsupported
 
11339
      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'
 
11340
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
11341
      ;;
 
11342
 
 
11343
    osf3*)
 
11344
      if test "$GCC" = yes; then
 
11345
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
11346
        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'
 
11347
      else
 
11348
        allow_undefined_flag=' -expect_unresolved \*'
 
11349
        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'
 
11350
      fi
 
11351
      archive_cmds_need_lc='no'
 
11352
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
11353
      hardcode_libdir_separator=:
 
11354
      ;;
 
11355
 
 
11356
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
 
11357
      if test "$GCC" = yes; then
 
11358
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
11359
        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'
 
11360
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
11361
      else
 
11362
        allow_undefined_flag=' -expect_unresolved \*'
 
11363
        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'
 
11364
        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~
 
11365
        $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'
 
11366
 
 
11367
        # Both c and cxx compiler support -rpath directly
 
11368
        hardcode_libdir_flag_spec='-rpath $libdir'
 
11369
      fi
 
11370
      archive_cmds_need_lc='no'
 
11371
      hardcode_libdir_separator=:
 
11372
      ;;
 
11373
 
 
11374
    solaris*)
 
11375
      no_undefined_flag=' -z defs'
 
11376
      if test "$GCC" = yes; then
 
11377
        wlarc='${wl}'
 
11378
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11379
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
11380
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
11381
      else
 
11382
        case `$CC -V 2>&1` in
 
11383
        *"Compilers 5.0"*)
 
11384
          wlarc=''
 
11385
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11386
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
11387
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
11388
          ;;
 
11389
        *)
 
11390
          wlarc='${wl}'
 
11391
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
11392
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
11393
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
11394
          ;;
 
11395
        esac
 
11396
      fi
 
11397
      hardcode_libdir_flag_spec='-R$libdir'
 
11398
      hardcode_shlibpath_var=no
 
11399
      case $host_os in
 
11400
      solaris2.[0-5] | solaris2.[0-5].*) ;;
 
11401
      *)
 
11402
        # The compiler driver will combine and reorder linker options,
 
11403
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
11404
        # but is careful enough not to reorder.
 
11405
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
11406
        if test "$GCC" = yes; then
 
11407
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
11408
        else
 
11409
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
11410
        fi
 
11411
        ;;
 
11412
      esac
 
11413
      link_all_deplibs=yes
 
11414
      ;;
 
11415
 
 
11416
    sunos4*)
 
11417
      if test "x$host_vendor" = xsequent; then
 
11418
        # Use $CC to link under sequent, because it throws in some extra .o
 
11419
        # files that make .init and .fini sections work.
 
11420
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
11421
      else
 
11422
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 
11423
      fi
 
11424
      hardcode_libdir_flag_spec='-L$libdir'
 
11425
      hardcode_direct=yes
 
11426
      hardcode_minus_L=yes
 
11427
      hardcode_shlibpath_var=no
 
11428
      ;;
 
11429
 
 
11430
    sysv4)
 
11431
      case $host_vendor in
 
11432
        sni)
 
11433
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11434
          hardcode_direct=yes # is this really true???
 
11435
        ;;
 
11436
        siemens)
 
11437
          ## LD is ld it makes a PLAMLIB
 
11438
          ## CC just makes a GrossModule.
 
11439
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 
11440
          reload_cmds='$CC -r -o $output$reload_objs'
 
11441
          hardcode_direct=no
 
11442
        ;;
 
11443
        motorola)
 
11444
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11445
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
 
11446
        ;;
 
11447
      esac
 
11448
      runpath_var='LD_RUN_PATH'
 
11449
      hardcode_shlibpath_var=no
 
11450
      ;;
 
11451
 
 
11452
    sysv4.3*)
 
11453
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11454
      hardcode_shlibpath_var=no
 
11455
      export_dynamic_flag_spec='-Bexport'
 
11456
      ;;
 
11457
 
 
11458
    sysv4*MP*)
 
11459
      if test -d /usr/nec; then
 
11460
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11461
        hardcode_shlibpath_var=no
 
11462
        runpath_var=LD_RUN_PATH
 
11463
        hardcode_runpath_var=yes
 
11464
        ld_shlibs=yes
 
11465
      fi
 
11466
      ;;
 
11467
 
 
11468
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
11469
      no_undefined_flag='${wl}-z,text'
 
11470
      archive_cmds_need_lc=no
 
11471
      hardcode_shlibpath_var=no
 
11472
      runpath_var='LD_RUN_PATH'
 
11473
 
 
11474
      if test "$GCC" = yes; then
 
11475
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11476
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11477
      else
 
11478
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11479
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11480
      fi
 
11481
      ;;
 
11482
 
 
11483
    sysv5* | sco3.2v5* | sco5v6*)
 
11484
      # Note: We can NOT use -z defs as we might desire, because we do not
 
11485
      # link with -lc, and that would cause any symbols used from libc to
 
11486
      # always be unresolved, which means just about no library would
 
11487
      # ever link correctly.  If we're not using GNU ld we use -z text
 
11488
      # though, which does catch some bad symbols but isn't as heavy-handed
 
11489
      # as -z defs.
 
11490
      no_undefined_flag='${wl}-z,text'
 
11491
      allow_undefined_flag='${wl}-z,nodefs'
 
11492
      archive_cmds_need_lc=no
 
11493
      hardcode_shlibpath_var=no
 
11494
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
 
11495
      hardcode_libdir_separator=':'
 
11496
      link_all_deplibs=yes
 
11497
      export_dynamic_flag_spec='${wl}-Bexport'
 
11498
      runpath_var='LD_RUN_PATH'
 
11499
 
 
11500
      if test "$GCC" = yes; then
 
11501
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11502
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11503
      else
 
11504
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11505
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11506
      fi
 
11507
      ;;
 
11508
 
 
11509
    uts4*)
 
11510
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11511
      hardcode_libdir_flag_spec='-L$libdir'
 
11512
      hardcode_shlibpath_var=no
 
11513
      ;;
 
11514
 
 
11515
    *)
 
11516
      ld_shlibs=no
 
11517
      ;;
 
11518
    esac
 
11519
 
 
11520
    if test x$host_vendor = xsni; then
 
11521
      case $host in
 
11522
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
11523
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
11524
        ;;
 
11525
      esac
 
11526
    fi
 
11527
  fi
 
11528
 
 
11529
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
 
11530
$as_echo "$ld_shlibs" >&6; }
 
11531
test "$ld_shlibs" = no && can_build_shared=no
 
11532
 
 
11533
with_gnu_ld=$with_gnu_ld
 
11534
 
 
11535
 
 
11536
 
 
11537
 
 
11538
 
 
11539
 
 
11540
 
 
11541
 
 
11542
 
 
11543
 
 
11544
 
 
11545
 
 
11546
 
 
11547
 
 
11548
 
 
11549
#
 
11550
# Do we need to explicitly link libc?
 
11551
#
 
11552
case "x$archive_cmds_need_lc" in
 
11553
x|xyes)
 
11554
  # Assume -lc should be added
 
11555
  archive_cmds_need_lc=yes
 
11556
 
 
11557
  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
11558
    case $archive_cmds in
 
11559
    *'~'*)
 
11560
      # FIXME: we may have to deal with multi-command sequences.
 
11561
      ;;
 
11562
    '$CC '*)
 
11563
      # Test whether the compiler implicitly links with -lc since on some
 
11564
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
11565
      # to ld, don't add -lc before -lgcc.
 
11566
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 
11567
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
11568
      $RM conftest*
 
11569
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
11570
 
 
11571
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
11572
  (eval $ac_compile) 2>&5
 
11573
  ac_status=$?
 
11574
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11575
  test $ac_status = 0; } 2>conftest.err; then
 
11576
        soname=conftest
 
11577
        lib=conftest
 
11578
        libobjs=conftest.$ac_objext
 
11579
        deplibs=
 
11580
        wl=$lt_prog_compiler_wl
 
11581
        pic_flag=$lt_prog_compiler_pic
 
11582
        compiler_flags=-v
 
11583
        linker_flags=-v
 
11584
        verstring=
 
11585
        output_objdir=.
 
11586
        libname=conftest
 
11587
        lt_save_allow_undefined_flag=$allow_undefined_flag
 
11588
        allow_undefined_flag=
 
11589
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
11590
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
11591
  ac_status=$?
 
11592
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11593
  test $ac_status = 0; }
 
11594
        then
 
11595
          archive_cmds_need_lc=no
 
11596
        else
 
11597
          archive_cmds_need_lc=yes
 
11598
        fi
 
11599
        allow_undefined_flag=$lt_save_allow_undefined_flag
 
11600
      else
 
11601
        cat conftest.err 1>&5
 
11602
      fi
 
11603
      $RM conftest*
 
11604
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
 
11605
$as_echo "$archive_cmds_need_lc" >&6; }
 
11606
      ;;
 
11607
    esac
 
11608
  fi
 
11609
  ;;
 
11610
esac
 
11611
 
 
11612
 
 
11613
 
 
11614
 
 
11615
 
 
11616
 
 
11617
 
 
11618
 
 
11619
 
 
11620
 
 
11621
 
 
11622
 
 
11623
 
 
11624
 
 
11625
 
 
11626
 
 
11627
 
 
11628
 
 
11629
 
 
11630
 
 
11631
 
 
11632
 
 
11633
 
 
11634
 
 
11635
 
 
11636
 
 
11637
 
 
11638
 
 
11639
 
 
11640
 
 
11641
 
 
11642
 
 
11643
 
 
11644
 
 
11645
 
 
11646
 
 
11647
 
 
11648
 
 
11649
 
 
11650
 
 
11651
 
 
11652
 
 
11653
 
 
11654
 
 
11655
 
 
11656
 
 
11657
 
 
11658
 
 
11659
 
 
11660
 
 
11661
 
 
11662
 
 
11663
 
 
11664
 
 
11665
 
 
11666
 
 
11667
 
 
11668
 
 
11669
 
 
11670
 
 
11671
 
 
11672
 
 
11673
 
 
11674
 
 
11675
 
 
11676
 
 
11677
 
 
11678
 
 
11679
 
 
11680
 
 
11681
 
 
11682
 
 
11683
 
 
11684
 
 
11685
 
 
11686
 
 
11687
 
 
11688
 
 
11689
 
 
11690
 
 
11691
 
 
11692
 
 
11693
 
 
11694
 
 
11695
 
 
11696
 
 
11697
 
 
11698
 
 
11699
 
 
11700
 
 
11701
 
 
11702
 
 
11703
 
 
11704
 
 
11705
 
 
11706
 
 
11707
 
 
11708
 
 
11709
 
 
11710
 
 
11711
 
 
11712
 
 
11713
 
 
11714
 
 
11715
 
 
11716
 
 
11717
 
 
11718
 
 
11719
 
 
11720
 
 
11721
 
 
11722
 
 
11723
 
 
11724
 
 
11725
 
 
11726
 
 
11727
 
 
11728
 
 
11729
 
 
11730
 
 
11731
 
 
11732
 
 
11733
 
 
11734
 
 
11735
 
 
11736
 
 
11737
 
 
11738
 
 
11739
 
 
11740
 
 
11741
 
 
11742
 
 
11743
 
 
11744
 
 
11745
 
 
11746
 
 
11747
 
 
11748
 
 
11749
 
 
11750
 
 
11751
 
 
11752
 
 
11753
 
 
11754
 
 
11755
 
 
11756
 
 
11757
 
 
11758
 
 
11759
 
 
11760
 
 
11761
 
 
11762
 
 
11763
 
 
11764
 
 
11765
 
 
11766
 
 
11767
 
 
11768
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
11769
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
11770
 
 
11771
if test "$GCC" = yes; then
 
11772
  case $host_os in
 
11773
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
11774
    *) lt_awk_arg="/^libraries:/" ;;
 
11775
  esac
 
11776
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
11777
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
11778
    # if the path contains ";" then we assume it to be the separator
 
11779
    # otherwise default to the standard path separator (i.e. ":") - it is
 
11780
    # assumed that no part of a normal pathname contains ";" but that should
 
11781
    # okay in the real world where ";" in dirpaths is itself problematic.
 
11782
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 
11783
  else
 
11784
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
11785
  fi
 
11786
  # Ok, now we have the path, separated by spaces, we can step through it
 
11787
  # and add multilib dir if necessary.
 
11788
  lt_tmp_lt_search_path_spec=
 
11789
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
11790
  for lt_sys_path in $lt_search_path_spec; do
 
11791
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
11792
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
11793
    else
 
11794
      test -d "$lt_sys_path" && \
 
11795
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
11796
    fi
 
11797
  done
 
11798
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
11799
BEGIN {RS=" "; FS="/|\n";} {
 
11800
  lt_foo="";
 
11801
  lt_count=0;
 
11802
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
11803
    if ($lt_i != "" && $lt_i != ".") {
 
11804
      if ($lt_i == "..") {
 
11805
        lt_count++;
 
11806
      } else {
 
11807
        if (lt_count == 0) {
 
11808
          lt_foo="/" $lt_i lt_foo;
 
11809
        } else {
 
11810
          lt_count--;
 
11811
        }
 
11812
      }
 
11813
    }
 
11814
  }
 
11815
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
11816
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
11817
}'`
 
11818
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
11819
else
 
11820
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
11821
fi
 
11822
library_names_spec=
 
11823
libname_spec='lib$name'
 
11824
soname_spec=
 
11825
shrext_cmds=".so"
 
11826
postinstall_cmds=
 
11827
postuninstall_cmds=
 
11828
finish_cmds=
 
11829
finish_eval=
 
11830
shlibpath_var=
 
11831
shlibpath_overrides_runpath=unknown
 
11832
version_type=none
 
11833
dynamic_linker="$host_os ld.so"
 
11834
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
11835
need_lib_prefix=unknown
 
11836
hardcode_into_libs=no
 
11837
 
 
11838
# when you set need_version to no, make sure it does not cause -set_version
 
11839
# flags to be left without arguments
 
11840
need_version=unknown
 
11841
 
 
11842
case $host_os in
 
11843
aix3*)
 
11844
  version_type=linux
 
11845
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
11846
  shlibpath_var=LIBPATH
 
11847
 
 
11848
  # AIX 3 has no versioning support, so we append a major version to the name.
 
11849
  soname_spec='${libname}${release}${shared_ext}$major'
 
11850
  ;;
 
11851
 
 
11852
aix[4-9]*)
 
11853
  version_type=linux
 
11854
  need_lib_prefix=no
 
11855
  need_version=no
 
11856
  hardcode_into_libs=yes
 
11857
  if test "$host_cpu" = ia64; then
 
11858
    # AIX 5 supports IA64
 
11859
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
11860
    shlibpath_var=LD_LIBRARY_PATH
 
11861
  else
 
11862
    # With GCC up to 2.95.x, collect2 would create an import file
 
11863
    # for dependence libraries.  The import file would start with
 
11864
    # the line `#! .'.  This would cause the generated library to
 
11865
    # depend on `.', always an invalid library.  This was fixed in
 
11866
    # development snapshots of GCC prior to 3.0.
 
11867
    case $host_os in
 
11868
      aix4 | aix4.[01] | aix4.[01].*)
 
11869
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
11870
           echo ' yes '
 
11871
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
 
11872
        :
 
11873
      else
 
11874
        can_build_shared=no
 
11875
      fi
 
11876
      ;;
 
11877
    esac
 
11878
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
11879
    # soname into executable. Probably we can add versioning support to
 
11880
    # collect2, so additional links can be useful in future.
 
11881
    if test "$aix_use_runtimelinking" = yes; then
 
11882
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
11883
      # instead of lib<name>.a to let people know that these are not
 
11884
      # typical AIX shared libraries.
 
11885
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11886
    else
 
11887
      # We preserve .a as extension for shared libraries through AIX4.2
 
11888
      # and later when we are not doing run time linking.
 
11889
      library_names_spec='${libname}${release}.a $libname.a'
 
11890
      soname_spec='${libname}${release}${shared_ext}$major'
 
11891
    fi
 
11892
    shlibpath_var=LIBPATH
 
11893
  fi
 
11894
  ;;
 
11895
 
 
11896
amigaos*)
 
11897
  case $host_cpu in
 
11898
  powerpc)
 
11899
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
11900
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
11901
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11902
    ;;
 
11903
  m68k)
 
11904
    library_names_spec='$libname.ixlibrary $libname.a'
 
11905
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
11906
    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'
 
11907
    ;;
 
11908
  esac
 
11909
  ;;
 
11910
 
 
11911
beos*)
 
11912
  library_names_spec='${libname}${shared_ext}'
 
11913
  dynamic_linker="$host_os ld.so"
 
11914
  shlibpath_var=LIBRARY_PATH
 
11915
  ;;
 
11916
 
 
11917
bsdi[45]*)
 
11918
  version_type=linux
 
11919
  need_version=no
 
11920
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11921
  soname_spec='${libname}${release}${shared_ext}$major'
 
11922
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
11923
  shlibpath_var=LD_LIBRARY_PATH
 
11924
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
11925
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
11926
  # the default ld.so.conf also contains /usr/contrib/lib and
 
11927
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
11928
  # libtool to hard-code these into programs
 
11929
  ;;
 
11930
 
 
11931
cygwin* | mingw* | pw32* | cegcc*)
 
11932
  version_type=windows
 
11933
  shrext_cmds=".dll"
 
11934
  need_version=no
 
11935
  need_lib_prefix=no
 
11936
 
 
11937
  case $GCC,$host_os in
 
11938
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
11939
    library_names_spec='$libname.dll.a'
 
11940
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
11941
    postinstall_cmds='base_file=`basename \${file}`~
 
11942
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
11943
      dldir=$destdir/`dirname \$dlpath`~
 
11944
      test -d \$dldir || mkdir -p \$dldir~
 
11945
      $install_prog $dir/$dlname \$dldir/$dlname~
 
11946
      chmod a+x \$dldir/$dlname~
 
11947
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
11948
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
11949
      fi'
 
11950
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
11951
      dlpath=$dir/\$dldll~
 
11952
       $RM \$dlpath'
 
11953
    shlibpath_overrides_runpath=yes
 
11954
 
 
11955
    case $host_os in
 
11956
    cygwin*)
 
11957
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
11958
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
11959
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
11960
      ;;
 
11961
    mingw* | cegcc*)
 
11962
      # MinGW DLLs use traditional 'lib' prefix
 
11963
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
11964
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
11965
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
11966
        # It is most probably a Windows format PATH printed by
 
11967
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
 
11968
        # path with ; separators, and with drive letters. We can handle the
 
11969
        # drive letters (cygwin fileutils understands them), so leave them,
 
11970
        # especially as we might pass files found there to a mingw objdump,
 
11971
        # which wouldn't understand a cygwinified path. Ahh.
 
11972
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
11973
      else
 
11974
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
11975
      fi
 
11976
      ;;
 
11977
    pw32*)
 
11978
      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
11979
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
11980
      ;;
 
11981
    esac
 
11982
    ;;
 
11983
 
 
11984
  *)
 
11985
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
11986
    ;;
 
11987
  esac
 
11988
  dynamic_linker='Win32 ld.exe'
 
11989
  # FIXME: first we should search . and the directory the executable is in
 
11990
  shlibpath_var=PATH
 
11991
  ;;
 
11992
 
 
11993
darwin* | rhapsody*)
 
11994
  dynamic_linker="$host_os dyld"
 
11995
  version_type=darwin
 
11996
  need_lib_prefix=no
 
11997
  need_version=no
 
11998
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
11999
  soname_spec='${libname}${release}${major}$shared_ext'
 
12000
  shlibpath_overrides_runpath=yes
 
12001
  shlibpath_var=DYLD_LIBRARY_PATH
 
12002
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
12003
 
 
12004
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
 
12005
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
12006
  ;;
 
12007
 
 
12008
dgux*)
 
12009
  version_type=linux
 
12010
  need_lib_prefix=no
 
12011
  need_version=no
 
12012
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
12013
  soname_spec='${libname}${release}${shared_ext}$major'
 
12014
  shlibpath_var=LD_LIBRARY_PATH
 
12015
  ;;
 
12016
 
 
12017
freebsd1*)
 
12018
  dynamic_linker=no
 
12019
  ;;
 
12020
 
 
12021
freebsd* | dragonfly*)
 
12022
  # DragonFly does not have aout.  When/if they implement a new
 
12023
  # versioning mechanism, adjust this.
 
12024
  if test -x /usr/bin/objformat; then
 
12025
    objformat=`/usr/bin/objformat`
 
12026
  else
 
12027
    case $host_os in
 
12028
    freebsd[123]*) objformat=aout ;;
 
12029
    *) objformat=elf ;;
 
12030
    esac
 
12031
  fi
 
12032
  version_type=freebsd-$objformat
 
12033
  case $version_type in
 
12034
    freebsd-elf*)
 
12035
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
12036
      need_version=no
 
12037
      need_lib_prefix=no
 
12038
      ;;
 
12039
    freebsd-*)
 
12040
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
12041
      need_version=yes
 
12042
      ;;
 
12043
  esac
 
12044
  shlibpath_var=LD_LIBRARY_PATH
 
12045
  case $host_os in
 
12046
  freebsd2*)
 
12047
    shlibpath_overrides_runpath=yes
 
12048
    ;;
 
12049
  freebsd3.[01]* | freebsdelf3.[01]*)
 
12050
    shlibpath_overrides_runpath=yes
 
12051
    hardcode_into_libs=yes
 
12052
    ;;
 
12053
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
12054
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 
12055
    shlibpath_overrides_runpath=no
 
12056
    hardcode_into_libs=yes
 
12057
    ;;
 
12058
  *) # from 4.6 on, and DragonFly
 
12059
    shlibpath_overrides_runpath=yes
 
12060
    hardcode_into_libs=yes
 
12061
    ;;
 
12062
  esac
 
12063
  ;;
 
12064
 
 
12065
gnu*)
 
12066
  version_type=linux
 
12067
  need_lib_prefix=no
 
12068
  need_version=no
 
12069
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
12070
  soname_spec='${libname}${release}${shared_ext}$major'
 
12071
  shlibpath_var=LD_LIBRARY_PATH
 
12072
  hardcode_into_libs=yes
 
12073
  ;;
 
12074
 
 
12075
hpux9* | hpux10* | hpux11*)
 
12076
  # Give a soname corresponding to the major version so that dld.sl refuses to
 
12077
  # link against other versions.
 
12078
  version_type=sunos
 
12079
  need_lib_prefix=no
 
12080
  need_version=no
 
12081
  case $host_cpu in
 
12082
  ia64*)
 
12083
    shrext_cmds='.so'
 
12084
    hardcode_into_libs=yes
 
12085
    dynamic_linker="$host_os dld.so"
 
12086
    shlibpath_var=LD_LIBRARY_PATH
 
12087
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
12088
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12089
    soname_spec='${libname}${release}${shared_ext}$major'
 
12090
    if test "X$HPUX_IA64_MODE" = X32; then
 
12091
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
12092
    else
 
12093
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
12094
    fi
 
12095
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
12096
    ;;
 
12097
  hppa*64*)
 
12098
    shrext_cmds='.sl'
 
12099
    hardcode_into_libs=yes
 
12100
    dynamic_linker="$host_os dld.sl"
 
12101
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
12102
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
12103
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12104
    soname_spec='${libname}${release}${shared_ext}$major'
 
12105
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
12106
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
12107
    ;;
 
12108
  *)
 
12109
    shrext_cmds='.sl'
 
12110
    dynamic_linker="$host_os dld.sl"
 
12111
    shlibpath_var=SHLIB_PATH
 
12112
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
12113
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12114
    soname_spec='${libname}${release}${shared_ext}$major'
 
12115
    ;;
 
12116
  esac
 
12117
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
12118
  postinstall_cmds='chmod 555 $lib'
 
12119
  ;;
 
12120
 
 
12121
interix[3-9]*)
 
12122
  version_type=linux
 
12123
  need_lib_prefix=no
 
12124
  need_version=no
 
12125
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
12126
  soname_spec='${libname}${release}${shared_ext}$major'
 
12127
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
12128
  shlibpath_var=LD_LIBRARY_PATH
 
12129
  shlibpath_overrides_runpath=no
 
12130
  hardcode_into_libs=yes
 
12131
  ;;
 
12132
 
 
12133
irix5* | irix6* | nonstopux*)
 
12134
  case $host_os in
 
12135
    nonstopux*) version_type=nonstopux ;;
 
12136
    *)
 
12137
        if test "$lt_cv_prog_gnu_ld" = yes; then
 
12138
                version_type=linux
 
12139
        else
 
12140
                version_type=irix
 
12141
        fi ;;
 
12142
  esac
 
12143
  need_lib_prefix=no
 
12144
  need_version=no
 
12145
  soname_spec='${libname}${release}${shared_ext}$major'
 
12146
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
12147
  case $host_os in
 
12148
  irix5* | nonstopux*)
 
12149
    libsuff= shlibsuff=
 
12150
    ;;
 
12151
  *)
 
12152
    case $LD in # libtool.m4 will add one of these switches to LD
 
12153
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
12154
      libsuff= shlibsuff= libmagic=32-bit;;
 
12155
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
12156
      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
12157
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
12158
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
12159
    *) libsuff= shlibsuff= libmagic=never-match;;
 
12160
    esac
 
12161
    ;;
 
12162
  esac
 
12163
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
12164
  shlibpath_overrides_runpath=no
 
12165
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
12166
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
12167
  hardcode_into_libs=yes
 
12168
  ;;
 
12169
 
 
12170
# No shared lib support for Linux oldld, aout, or coff.
 
12171
linux*oldld* | linux*aout* | linux*coff*)
 
12172
  dynamic_linker=no
 
12173
  ;;
 
12174
 
 
12175
# This must be Linux ELF.
 
12176
linux* | k*bsd*-gnu)
 
12177
  version_type=linux
 
12178
  need_lib_prefix=no
 
12179
  need_version=no
 
12180
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12181
  soname_spec='${libname}${release}${shared_ext}$major'
 
12182
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
12183
  shlibpath_var=LD_LIBRARY_PATH
 
12184
  shlibpath_overrides_runpath=no
 
12185
  # Some binutils ld are patched to set DT_RUNPATH
 
12186
  save_LDFLAGS=$LDFLAGS
 
12187
  save_libdir=$libdir
 
12188
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
12189
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
12190
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12191
/* end confdefs.h.  */
 
12192
 
 
12193
int
 
12194
main ()
 
12195
{
 
12196
 
 
12197
  ;
 
12198
  return 0;
 
12199
}
 
12200
_ACEOF
 
12201
if ac_fn_c_try_link "$LINENO"; then :
 
12202
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
12203
  shlibpath_overrides_runpath=yes
 
12204
fi
 
12205
fi
 
12206
rm -f core conftest.err conftest.$ac_objext \
 
12207
    conftest$ac_exeext conftest.$ac_ext
 
12208
  LDFLAGS=$save_LDFLAGS
 
12209
  libdir=$save_libdir
 
12210
 
 
12211
  # This implies no fast_install, which is unacceptable.
 
12212
  # Some rework will be needed to allow for fast_install
 
12213
  # before this can be enabled.
 
12214
  hardcode_into_libs=yes
 
12215
 
 
12216
  # Append ld.so.conf contents to the search path
 
12217
  if test -f /etc/ld.so.conf; then
 
12218
    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' ' '`
 
12219
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
12220
  fi
 
12221
 
 
12222
  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
12223
  # powerpc, because MkLinux only supported shared libraries with the
 
12224
  # GNU dynamic linker.  Since this was broken with cross compilers,
 
12225
  # most powerpc-linux boxes support dynamic linking these days and
 
12226
  # people can always --disable-shared, the test was removed, and we
 
12227
  # assume the GNU/Linux dynamic linker is in use.
 
12228
  dynamic_linker='GNU/Linux ld.so'
 
12229
  ;;
 
12230
 
 
12231
netbsdelf*-gnu)
 
12232
  version_type=linux
 
12233
  need_lib_prefix=no
 
12234
  need_version=no
 
12235
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
12236
  soname_spec='${libname}${release}${shared_ext}$major'
 
12237
  shlibpath_var=LD_LIBRARY_PATH
 
12238
  shlibpath_overrides_runpath=no
 
12239
  hardcode_into_libs=yes
 
12240
  dynamic_linker='NetBSD ld.elf_so'
 
12241
  ;;
 
12242
 
 
12243
netbsd*)
 
12244
  version_type=sunos
 
12245
  need_lib_prefix=no
 
12246
  need_version=no
 
12247
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
12248
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
12249
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
12250
    dynamic_linker='NetBSD (a.out) ld.so'
 
12251
  else
 
12252
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
12253
    soname_spec='${libname}${release}${shared_ext}$major'
 
12254
    dynamic_linker='NetBSD ld.elf_so'
 
12255
  fi
 
12256
  shlibpath_var=LD_LIBRARY_PATH
 
12257
  shlibpath_overrides_runpath=yes
 
12258
  hardcode_into_libs=yes
 
12259
  ;;
 
12260
 
 
12261
newsos6)
 
12262
  version_type=linux
 
12263
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12264
  shlibpath_var=LD_LIBRARY_PATH
 
12265
  shlibpath_overrides_runpath=yes
 
12266
  ;;
 
12267
 
 
12268
*nto* | *qnx*)
 
12269
  version_type=qnx
 
12270
  need_lib_prefix=no
 
12271
  need_version=no
 
12272
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12273
  soname_spec='${libname}${release}${shared_ext}$major'
 
12274
  shlibpath_var=LD_LIBRARY_PATH
 
12275
  shlibpath_overrides_runpath=no
 
12276
  hardcode_into_libs=yes
 
12277
  dynamic_linker='ldqnx.so'
 
12278
  ;;
 
12279
 
 
12280
openbsd*)
 
12281
  version_type=sunos
 
12282
  sys_lib_dlsearch_path_spec="/usr/lib"
 
12283
  need_lib_prefix=no
 
12284
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
12285
  case $host_os in
 
12286
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
12287
    *)                          need_version=no  ;;
 
12288
  esac
 
12289
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
12290
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
12291
  shlibpath_var=LD_LIBRARY_PATH
 
12292
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
12293
    case $host_os in
 
12294
      openbsd2.[89] | openbsd2.[89].*)
 
12295
        shlibpath_overrides_runpath=no
 
12296
        ;;
 
12297
      *)
 
12298
        shlibpath_overrides_runpath=yes
 
12299
        ;;
 
12300
      esac
 
12301
  else
 
12302
    shlibpath_overrides_runpath=yes
 
12303
  fi
 
12304
  ;;
 
12305
 
 
12306
os2*)
 
12307
  libname_spec='$name'
 
12308
  shrext_cmds=".dll"
 
12309
  need_lib_prefix=no
 
12310
  library_names_spec='$libname${shared_ext} $libname.a'
 
12311
  dynamic_linker='OS/2 ld.exe'
 
12312
  shlibpath_var=LIBPATH
 
12313
  ;;
 
12314
 
 
12315
osf3* | osf4* | osf5*)
 
12316
  version_type=osf
 
12317
  need_lib_prefix=no
 
12318
  need_version=no
 
12319
  soname_spec='${libname}${release}${shared_ext}$major'
 
12320
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12321
  shlibpath_var=LD_LIBRARY_PATH
 
12322
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
12323
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
12324
  ;;
 
12325
 
 
12326
rdos*)
 
12327
  dynamic_linker=no
 
12328
  ;;
 
12329
 
 
12330
solaris*)
 
12331
  version_type=linux
 
12332
  need_lib_prefix=no
 
12333
  need_version=no
 
12334
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12335
  soname_spec='${libname}${release}${shared_ext}$major'
 
12336
  shlibpath_var=LD_LIBRARY_PATH
 
12337
  shlibpath_overrides_runpath=yes
 
12338
  hardcode_into_libs=yes
 
12339
  # ldd complains unless libraries are executable
 
12340
  postinstall_cmds='chmod +x $lib'
 
12341
  ;;
 
12342
 
 
12343
sunos4*)
 
12344
  version_type=sunos
 
12345
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
12346
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
12347
  shlibpath_var=LD_LIBRARY_PATH
 
12348
  shlibpath_overrides_runpath=yes
 
12349
  if test "$with_gnu_ld" = yes; then
 
12350
    need_lib_prefix=no
 
12351
  fi
 
12352
  need_version=yes
 
12353
  ;;
 
12354
 
 
12355
sysv4 | sysv4.3*)
 
12356
  version_type=linux
 
12357
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12358
  soname_spec='${libname}${release}${shared_ext}$major'
 
12359
  shlibpath_var=LD_LIBRARY_PATH
 
12360
  case $host_vendor in
 
12361
    sni)
 
12362
      shlibpath_overrides_runpath=no
 
12363
      need_lib_prefix=no
 
12364
      runpath_var=LD_RUN_PATH
 
12365
      ;;
 
12366
    siemens)
 
12367
      need_lib_prefix=no
 
12368
      ;;
 
12369
    motorola)
 
12370
      need_lib_prefix=no
 
12371
      need_version=no
 
12372
      shlibpath_overrides_runpath=no
 
12373
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
12374
      ;;
 
12375
  esac
 
12376
  ;;
 
12377
 
 
12378
sysv4*MP*)
 
12379
  if test -d /usr/nec ;then
 
12380
    version_type=linux
 
12381
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
12382
    soname_spec='$libname${shared_ext}.$major'
 
12383
    shlibpath_var=LD_LIBRARY_PATH
 
12384
  fi
 
12385
  ;;
 
12386
 
 
12387
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
12388
  version_type=freebsd-elf
 
12389
  need_lib_prefix=no
 
12390
  need_version=no
 
12391
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
12392
  soname_spec='${libname}${release}${shared_ext}$major'
 
12393
  shlibpath_var=LD_LIBRARY_PATH
 
12394
  shlibpath_overrides_runpath=yes
 
12395
  hardcode_into_libs=yes
 
12396
  if test "$with_gnu_ld" = yes; then
 
12397
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
12398
  else
 
12399
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
12400
    case $host_os in
 
12401
      sco3.2v5*)
 
12402
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
12403
        ;;
 
12404
    esac
 
12405
  fi
 
12406
  sys_lib_dlsearch_path_spec='/usr/lib'
 
12407
  ;;
 
12408
 
 
12409
tpf*)
 
12410
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
12411
  version_type=linux
 
12412
  need_lib_prefix=no
 
12413
  need_version=no
 
12414
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12415
  shlibpath_var=LD_LIBRARY_PATH
 
12416
  shlibpath_overrides_runpath=no
 
12417
  hardcode_into_libs=yes
 
12418
  ;;
 
12419
 
 
12420
uts4*)
 
12421
  version_type=linux
 
12422
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12423
  soname_spec='${libname}${release}${shared_ext}$major'
 
12424
  shlibpath_var=LD_LIBRARY_PATH
 
12425
  ;;
 
12426
 
 
12427
*)
 
12428
  dynamic_linker=no
 
12429
  ;;
 
12430
esac
 
12431
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 
12432
$as_echo "$dynamic_linker" >&6; }
 
12433
test "$dynamic_linker" = no && can_build_shared=no
 
12434
 
 
12435
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
12436
if test "$GCC" = yes; then
 
12437
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
12438
fi
 
12439
 
 
12440
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
12441
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
12442
fi
 
12443
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
12444
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
12445
fi
 
12446
 
 
12447
 
 
12448
 
 
12449
 
 
12450
 
 
12451
 
 
12452
 
 
12453
 
 
12454
 
 
12455
 
 
12456
 
 
12457
 
 
12458
 
 
12459
 
 
12460
 
 
12461
 
 
12462
 
 
12463
 
 
12464
 
 
12465
 
 
12466
 
 
12467
 
 
12468
 
 
12469
 
 
12470
 
 
12471
 
 
12472
 
 
12473
 
 
12474
 
 
12475
 
 
12476
 
 
12477
 
 
12478
 
 
12479
 
 
12480
 
 
12481
 
 
12482
 
 
12483
 
 
12484
 
 
12485
 
 
12486
 
 
12487
 
 
12488
 
 
12489
 
 
12490
 
 
12491
 
 
12492
 
 
12493
 
 
12494
 
 
12495
 
 
12496
 
 
12497
 
 
12498
 
 
12499
 
 
12500
 
 
12501
 
 
12502
 
 
12503
 
 
12504
 
 
12505
 
 
12506
 
 
12507
 
 
12508
 
 
12509
 
 
12510
 
 
12511
 
 
12512
 
 
12513
 
 
12514
 
 
12515
 
 
12516
 
 
12517
 
 
12518
 
 
12519
 
 
12520
 
 
12521
 
 
12522
 
 
12523
 
 
12524
 
 
12525
 
 
12526
 
 
12527
 
 
12528
 
 
12529
 
 
12530
 
 
12531
 
 
12532
 
 
12533
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
12534
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 
12535
hardcode_action=
 
12536
if test -n "$hardcode_libdir_flag_spec" ||
 
12537
   test -n "$runpath_var" ||
 
12538
   test "X$hardcode_automatic" = "Xyes" ; then
 
12539
 
 
12540
  # We can hardcode non-existent directories.
 
12541
  if test "$hardcode_direct" != no &&
 
12542
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
12543
     # have to relink, otherwise we might link with an installed library
 
12544
     # when we should be linking with a yet-to-be-installed one
 
12545
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
12546
     test "$hardcode_minus_L" != no; then
 
12547
    # Linking always hardcodes the temporary library directory.
 
12548
    hardcode_action=relink
 
12549
  else
 
12550
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
12551
    hardcode_action=immediate
 
12552
  fi
 
12553
else
 
12554
  # We cannot hardcode anything, or else we can only hardcode existing
 
12555
  # directories.
 
12556
  hardcode_action=unsupported
 
12557
fi
 
12558
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
 
12559
$as_echo "$hardcode_action" >&6; }
 
12560
 
 
12561
if test "$hardcode_action" = relink ||
 
12562
   test "$inherit_rpath" = yes; then
 
12563
  # Fast installation is not supported
 
12564
  enable_fast_install=no
 
12565
elif test "$shlibpath_overrides_runpath" = yes ||
 
12566
     test "$enable_shared" = no; then
 
12567
  # Fast installation is not necessary
 
12568
  enable_fast_install=needless
 
12569
fi
 
12570
 
 
12571
 
 
12572
 
 
12573
 
 
12574
 
 
12575
 
 
12576
  if test "x$enable_dlopen" != xyes; then
 
12577
  enable_dlopen=unknown
 
12578
  enable_dlopen_self=unknown
 
12579
  enable_dlopen_self_static=unknown
 
12580
else
 
12581
  lt_cv_dlopen=no
 
12582
  lt_cv_dlopen_libs=
 
12583
 
 
12584
  case $host_os in
 
12585
  beos*)
 
12586
    lt_cv_dlopen="load_add_on"
 
12587
    lt_cv_dlopen_libs=
 
12588
    lt_cv_dlopen_self=yes
 
12589
    ;;
 
12590
 
 
12591
  mingw* | pw32* | cegcc*)
 
12592
    lt_cv_dlopen="LoadLibrary"
 
12593
    lt_cv_dlopen_libs=
 
12594
    ;;
 
12595
 
 
12596
  cygwin*)
 
12597
    lt_cv_dlopen="dlopen"
 
12598
    lt_cv_dlopen_libs=
 
12599
    ;;
 
12600
 
 
12601
  darwin*)
 
12602
  # if libdl is installed we need to link against it
 
12603
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
12604
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
12605
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
12606
  $as_echo_n "(cached) " >&6
 
12607
else
 
12608
  ac_check_lib_save_LIBS=$LIBS
 
12609
LIBS="-ldl  $LIBS"
 
12610
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12611
/* end confdefs.h.  */
 
12612
 
 
12613
/* Override any GCC internal prototype to avoid an error.
 
12614
   Use char because int might match the return type of a GCC
 
12615
   builtin and then its argument prototype would still apply.  */
 
12616
#ifdef __cplusplus
 
12617
extern "C"
 
12618
#endif
 
12619
char dlopen ();
 
12620
int
 
12621
main ()
 
12622
{
 
12623
return dlopen ();
 
12624
  ;
 
12625
  return 0;
 
12626
}
 
12627
_ACEOF
 
12628
if ac_fn_c_try_link "$LINENO"; then :
 
12629
  ac_cv_lib_dl_dlopen=yes
 
12630
else
 
12631
  ac_cv_lib_dl_dlopen=no
 
12632
fi
 
12633
rm -f core conftest.err conftest.$ac_objext \
 
12634
    conftest$ac_exeext conftest.$ac_ext
 
12635
LIBS=$ac_check_lib_save_LIBS
 
12636
fi
 
12637
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
12638
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
12639
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
12640
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
12641
else
 
12642
 
 
12643
    lt_cv_dlopen="dyld"
 
12644
    lt_cv_dlopen_libs=
 
12645
    lt_cv_dlopen_self=yes
 
12646
 
 
12647
fi
 
12648
 
 
12649
    ;;
 
12650
 
 
12651
  *)
 
12652
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
12653
if test "x$ac_cv_func_shl_load" = x""yes; then :
 
12654
  lt_cv_dlopen="shl_load"
 
12655
else
 
12656
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
 
12657
$as_echo_n "checking for shl_load in -ldld... " >&6; }
 
12658
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
 
12659
  $as_echo_n "(cached) " >&6
 
12660
else
 
12661
  ac_check_lib_save_LIBS=$LIBS
 
12662
LIBS="-ldld  $LIBS"
 
12663
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12664
/* end confdefs.h.  */
 
12665
 
 
12666
/* Override any GCC internal prototype to avoid an error.
 
12667
   Use char because int might match the return type of a GCC
 
12668
   builtin and then its argument prototype would still apply.  */
 
12669
#ifdef __cplusplus
 
12670
extern "C"
 
12671
#endif
 
12672
char shl_load ();
 
12673
int
 
12674
main ()
 
12675
{
 
12676
return shl_load ();
 
12677
  ;
 
12678
  return 0;
 
12679
}
 
12680
_ACEOF
 
12681
if ac_fn_c_try_link "$LINENO"; then :
 
12682
  ac_cv_lib_dld_shl_load=yes
 
12683
else
 
12684
  ac_cv_lib_dld_shl_load=no
 
12685
fi
 
12686
rm -f core conftest.err conftest.$ac_objext \
 
12687
    conftest$ac_exeext conftest.$ac_ext
 
12688
LIBS=$ac_check_lib_save_LIBS
 
12689
fi
 
12690
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
 
12691
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
12692
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
 
12693
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
 
12694
else
 
12695
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
12696
if test "x$ac_cv_func_dlopen" = x""yes; then :
 
12697
  lt_cv_dlopen="dlopen"
 
12698
else
 
12699
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
12700
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
12701
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
12702
  $as_echo_n "(cached) " >&6
 
12703
else
 
12704
  ac_check_lib_save_LIBS=$LIBS
 
12705
LIBS="-ldl  $LIBS"
 
12706
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12707
/* end confdefs.h.  */
 
12708
 
 
12709
/* Override any GCC internal prototype to avoid an error.
 
12710
   Use char because int might match the return type of a GCC
 
12711
   builtin and then its argument prototype would still apply.  */
 
12712
#ifdef __cplusplus
 
12713
extern "C"
 
12714
#endif
 
12715
char dlopen ();
 
12716
int
 
12717
main ()
 
12718
{
 
12719
return dlopen ();
 
12720
  ;
 
12721
  return 0;
 
12722
}
 
12723
_ACEOF
 
12724
if ac_fn_c_try_link "$LINENO"; then :
 
12725
  ac_cv_lib_dl_dlopen=yes
 
12726
else
 
12727
  ac_cv_lib_dl_dlopen=no
 
12728
fi
 
12729
rm -f core conftest.err conftest.$ac_objext \
 
12730
    conftest$ac_exeext conftest.$ac_ext
 
12731
LIBS=$ac_check_lib_save_LIBS
 
12732
fi
 
12733
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
12734
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
12735
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
12736
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
12737
else
 
12738
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
 
12739
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
 
12740
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
 
12741
  $as_echo_n "(cached) " >&6
 
12742
else
 
12743
  ac_check_lib_save_LIBS=$LIBS
 
12744
LIBS="-lsvld  $LIBS"
 
12745
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12746
/* end confdefs.h.  */
 
12747
 
 
12748
/* Override any GCC internal prototype to avoid an error.
 
12749
   Use char because int might match the return type of a GCC
 
12750
   builtin and then its argument prototype would still apply.  */
 
12751
#ifdef __cplusplus
 
12752
extern "C"
 
12753
#endif
 
12754
char dlopen ();
 
12755
int
 
12756
main ()
 
12757
{
 
12758
return dlopen ();
 
12759
  ;
 
12760
  return 0;
 
12761
}
 
12762
_ACEOF
 
12763
if ac_fn_c_try_link "$LINENO"; then :
 
12764
  ac_cv_lib_svld_dlopen=yes
 
12765
else
 
12766
  ac_cv_lib_svld_dlopen=no
 
12767
fi
 
12768
rm -f core conftest.err conftest.$ac_objext \
 
12769
    conftest$ac_exeext conftest.$ac_ext
 
12770
LIBS=$ac_check_lib_save_LIBS
 
12771
fi
 
12772
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
 
12773
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
12774
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
 
12775
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 
12776
else
 
12777
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
 
12778
$as_echo_n "checking for dld_link in -ldld... " >&6; }
 
12779
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
 
12780
  $as_echo_n "(cached) " >&6
 
12781
else
 
12782
  ac_check_lib_save_LIBS=$LIBS
 
12783
LIBS="-ldld  $LIBS"
 
12784
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12785
/* end confdefs.h.  */
 
12786
 
 
12787
/* Override any GCC internal prototype to avoid an error.
 
12788
   Use char because int might match the return type of a GCC
 
12789
   builtin and then its argument prototype would still apply.  */
 
12790
#ifdef __cplusplus
 
12791
extern "C"
 
12792
#endif
 
12793
char dld_link ();
 
12794
int
 
12795
main ()
 
12796
{
 
12797
return dld_link ();
 
12798
  ;
 
12799
  return 0;
 
12800
}
 
12801
_ACEOF
 
12802
if ac_fn_c_try_link "$LINENO"; then :
 
12803
  ac_cv_lib_dld_dld_link=yes
 
12804
else
 
12805
  ac_cv_lib_dld_dld_link=no
 
12806
fi
 
12807
rm -f core conftest.err conftest.$ac_objext \
 
12808
    conftest$ac_exeext conftest.$ac_ext
 
12809
LIBS=$ac_check_lib_save_LIBS
 
12810
fi
 
12811
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
 
12812
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
12813
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
 
12814
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
 
12815
fi
 
12816
 
 
12817
 
 
12818
fi
 
12819
 
 
12820
 
 
12821
fi
 
12822
 
 
12823
 
 
12824
fi
 
12825
 
 
12826
 
 
12827
fi
 
12828
 
 
12829
 
 
12830
fi
 
12831
 
 
12832
    ;;
 
12833
  esac
 
12834
 
 
12835
  if test "x$lt_cv_dlopen" != xno; then
 
12836
    enable_dlopen=yes
 
12837
  else
 
12838
    enable_dlopen=no
 
12839
  fi
 
12840
 
 
12841
  case $lt_cv_dlopen in
 
12842
  dlopen)
 
12843
    save_CPPFLAGS="$CPPFLAGS"
 
12844
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 
12845
 
 
12846
    save_LDFLAGS="$LDFLAGS"
 
12847
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
12848
 
 
12849
    save_LIBS="$LIBS"
 
12850
    LIBS="$lt_cv_dlopen_libs $LIBS"
 
12851
 
 
12852
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
 
12853
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
 
12854
if test "${lt_cv_dlopen_self+set}" = set; then :
 
12855
  $as_echo_n "(cached) " >&6
 
12856
else
 
12857
          if test "$cross_compiling" = yes; then :
 
12858
  lt_cv_dlopen_self=cross
 
12859
else
 
12860
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
12861
  lt_status=$lt_dlunknown
 
12862
  cat > conftest.$ac_ext <<_LT_EOF
 
12863
#line 12863 "configure"
 
12864
#include "confdefs.h"
 
12865
 
 
12866
#if HAVE_DLFCN_H
 
12867
#include <dlfcn.h>
 
12868
#endif
 
12869
 
 
12870
#include <stdio.h>
 
12871
 
 
12872
#ifdef RTLD_GLOBAL
 
12873
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
12874
#else
 
12875
#  ifdef DL_GLOBAL
 
12876
#    define LT_DLGLOBAL         DL_GLOBAL
 
12877
#  else
 
12878
#    define LT_DLGLOBAL         0
 
12879
#  endif
 
12880
#endif
 
12881
 
 
12882
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
12883
   find out it does not work in some platform. */
 
12884
#ifndef LT_DLLAZY_OR_NOW
 
12885
#  ifdef RTLD_LAZY
 
12886
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
12887
#  else
 
12888
#    ifdef DL_LAZY
 
12889
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
12890
#    else
 
12891
#      ifdef RTLD_NOW
 
12892
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
12893
#      else
 
12894
#        ifdef DL_NOW
 
12895
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
12896
#        else
 
12897
#          define LT_DLLAZY_OR_NOW      0
 
12898
#        endif
 
12899
#      endif
 
12900
#    endif
 
12901
#  endif
 
12902
#endif
 
12903
 
 
12904
void fnord() { int i=42;}
 
12905
int main ()
 
12906
{
 
12907
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
12908
  int status = $lt_dlunknown;
 
12909
 
 
12910
  if (self)
 
12911
    {
 
12912
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
12913
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
12914
      /* dlclose (self); */
 
12915
    }
 
12916
  else
 
12917
    puts (dlerror ());
 
12918
 
 
12919
  return status;
 
12920
}
 
12921
_LT_EOF
 
12922
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
12923
  (eval $ac_link) 2>&5
 
12924
  ac_status=$?
 
12925
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12926
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
12927
    (./conftest; exit; ) >&5 2>/dev/null
 
12928
    lt_status=$?
 
12929
    case x$lt_status in
 
12930
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
 
12931
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
 
12932
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
 
12933
    esac
 
12934
  else :
 
12935
    # compilation failed
 
12936
    lt_cv_dlopen_self=no
 
12937
  fi
 
12938
fi
 
12939
rm -fr conftest*
 
12940
 
 
12941
 
 
12942
fi
 
12943
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
 
12944
$as_echo "$lt_cv_dlopen_self" >&6; }
 
12945
 
 
12946
    if test "x$lt_cv_dlopen_self" = xyes; then
 
12947
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 
12948
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
 
12949
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
 
12950
if test "${lt_cv_dlopen_self_static+set}" = set; then :
 
12951
  $as_echo_n "(cached) " >&6
 
12952
else
 
12953
          if test "$cross_compiling" = yes; then :
 
12954
  lt_cv_dlopen_self_static=cross
 
12955
else
 
12956
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
12957
  lt_status=$lt_dlunknown
 
12958
  cat > conftest.$ac_ext <<_LT_EOF
 
12959
#line 12959 "configure"
 
12960
#include "confdefs.h"
 
12961
 
 
12962
#if HAVE_DLFCN_H
 
12963
#include <dlfcn.h>
 
12964
#endif
 
12965
 
 
12966
#include <stdio.h>
 
12967
 
 
12968
#ifdef RTLD_GLOBAL
 
12969
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
12970
#else
 
12971
#  ifdef DL_GLOBAL
 
12972
#    define LT_DLGLOBAL         DL_GLOBAL
 
12973
#  else
 
12974
#    define LT_DLGLOBAL         0
 
12975
#  endif
 
12976
#endif
 
12977
 
 
12978
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
12979
   find out it does not work in some platform. */
 
12980
#ifndef LT_DLLAZY_OR_NOW
 
12981
#  ifdef RTLD_LAZY
 
12982
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
12983
#  else
 
12984
#    ifdef DL_LAZY
 
12985
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
12986
#    else
 
12987
#      ifdef RTLD_NOW
 
12988
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
12989
#      else
 
12990
#        ifdef DL_NOW
 
12991
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
12992
#        else
 
12993
#          define LT_DLLAZY_OR_NOW      0
 
12994
#        endif
 
12995
#      endif
 
12996
#    endif
 
12997
#  endif
 
12998
#endif
 
12999
 
 
13000
void fnord() { int i=42;}
 
13001
int main ()
 
13002
{
 
13003
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
13004
  int status = $lt_dlunknown;
 
13005
 
 
13006
  if (self)
 
13007
    {
 
13008
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
13009
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
13010
      /* dlclose (self); */
 
13011
    }
 
13012
  else
 
13013
    puts (dlerror ());
 
13014
 
 
13015
  return status;
 
13016
}
 
13017
_LT_EOF
 
13018
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
13019
  (eval $ac_link) 2>&5
 
13020
  ac_status=$?
 
13021
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13022
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
13023
    (./conftest; exit; ) >&5 2>/dev/null
 
13024
    lt_status=$?
 
13025
    case x$lt_status in
 
13026
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
 
13027
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
 
13028
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
 
13029
    esac
 
13030
  else :
 
13031
    # compilation failed
 
13032
    lt_cv_dlopen_self_static=no
 
13033
  fi
 
13034
fi
 
13035
rm -fr conftest*
 
13036
 
 
13037
 
 
13038
fi
 
13039
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
 
13040
$as_echo "$lt_cv_dlopen_self_static" >&6; }
 
13041
    fi
 
13042
 
 
13043
    CPPFLAGS="$save_CPPFLAGS"
 
13044
    LDFLAGS="$save_LDFLAGS"
 
13045
    LIBS="$save_LIBS"
 
13046
    ;;
 
13047
  esac
 
13048
 
 
13049
  case $lt_cv_dlopen_self in
 
13050
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 
13051
  *) enable_dlopen_self=unknown ;;
 
13052
  esac
 
13053
 
 
13054
  case $lt_cv_dlopen_self_static in
 
13055
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 
13056
  *) enable_dlopen_self_static=unknown ;;
 
13057
  esac
 
13058
fi
 
13059
 
 
13060
 
 
13061
 
 
13062
 
 
13063
 
 
13064
 
 
13065
 
 
13066
 
 
13067
 
 
13068
 
 
13069
 
 
13070
 
 
13071
 
 
13072
 
 
13073
 
 
13074
 
 
13075
 
 
13076
striplib=
 
13077
old_striplib=
 
13078
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
 
13079
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
13080
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
13081
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
13082
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
13083
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13084
$as_echo "yes" >&6; }
 
13085
else
 
13086
# FIXME - insert some real tests, host_os isn't really good enough
 
13087
  case $host_os in
 
13088
  darwin*)
 
13089
    if test -n "$STRIP" ; then
 
13090
      striplib="$STRIP -x"
 
13091
      old_striplib="$STRIP -S"
 
13092
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13093
$as_echo "yes" >&6; }
 
13094
    else
 
13095
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13096
$as_echo "no" >&6; }
 
13097
    fi
 
13098
    ;;
 
13099
  *)
 
13100
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13101
$as_echo "no" >&6; }
 
13102
    ;;
 
13103
  esac
 
13104
fi
 
13105
 
 
13106
 
 
13107
 
 
13108
 
 
13109
 
 
13110
 
 
13111
 
 
13112
 
 
13113
 
 
13114
 
 
13115
 
 
13116
 
 
13117
  # Report which library types will actually be built
 
13118
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
 
13119
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
13120
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
 
13121
$as_echo "$can_build_shared" >&6; }
 
13122
 
 
13123
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
 
13124
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
13125
  test "$can_build_shared" = "no" && enable_shared=no
 
13126
 
 
13127
  # On AIX, shared libraries and static libraries use the same namespace, and
 
13128
  # are all built from PIC.
 
13129
  case $host_os in
 
13130
  aix3*)
 
13131
    test "$enable_shared" = yes && enable_static=no
 
13132
    if test -n "$RANLIB"; then
 
13133
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
13134
      postinstall_cmds='$RANLIB $lib'
 
13135
    fi
 
13136
    ;;
 
13137
 
 
13138
  aix[4-9]*)
 
13139
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
13140
      test "$enable_shared" = yes && enable_static=no
 
13141
    fi
 
13142
    ;;
 
13143
  esac
 
13144
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
 
13145
$as_echo "$enable_shared" >&6; }
 
13146
 
 
13147
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
 
13148
$as_echo_n "checking whether to build static libraries... " >&6; }
 
13149
  # Make sure either enable_shared or enable_static is yes.
 
13150
  test "$enable_shared" = yes || enable_static=yes
 
13151
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
 
13152
$as_echo "$enable_static" >&6; }
 
13153
 
 
13154
 
 
13155
 
 
13156
 
 
13157
fi
 
13158
ac_ext=c
 
13159
ac_cpp='$CPP $CPPFLAGS'
 
13160
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
13161
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
13162
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
13163
 
 
13164
CC="$lt_save_CC"
 
13165
 
 
13166
 
 
13167
 
 
13168
 
 
13169
 
 
13170
 
 
13171
 
 
13172
 
 
13173
 
 
13174
 
 
13175
 
 
13176
 
 
13177
 
 
13178
        ac_config_commands="$ac_config_commands libtool"
 
13179
 
 
13180
 
 
13181
 
 
13182
 
 
13183
# Only expand once:
 
13184
 
 
13185
 
6940
13186
 
6941
13187
   for ac_header in locale.h
6942
13188
do :
7642
13888
        < $srcdir/po/POTFILES.in > po/POTFILES
7643
13889
 
7644
13890
 
7645
 
 
7646
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7647
 
$as_echo_n "checking whether ln -s works... " >&6; }
7648
 
LN_S=$as_ln_s
7649
 
if test "$LN_S" = "ln -s"; then
7650
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7651
 
$as_echo "yes" >&6; }
7652
 
else
7653
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7654
 
$as_echo "no, using $LN_S" >&6; }
7655
 
fi
 
13891
if test "x$GCC" = "xyes"; then
 
13892
  case " $CFLAGS " in
 
13893
  *[\ \ ]-Wall[\ \      ]*) ;;
 
13894
  *) CFLAGS="$CFLAGS -Wall" ;;
 
13895
  esac
 
13896
fi
 
13897
 
 
13898
# Extract the first word of "gconftool-2", so it can be a program name with args.
 
13899
set dummy gconftool-2; ac_word=$2
 
13900
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
13901
$as_echo_n "checking for $ac_word... " >&6; }
 
13902
if test "${ac_cv_path_GCONFTOOL+set}" = set; then :
 
13903
  $as_echo_n "(cached) " >&6
 
13904
else
 
13905
  case $GCONFTOOL in
 
13906
  [\\/]* | ?:[\\/]*)
 
13907
  ac_cv_path_GCONFTOOL="$GCONFTOOL" # Let the user override the test with a path.
 
13908
  ;;
 
13909
  *)
 
13910
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13911
for as_dir in $PATH
 
13912
do
 
13913
  IFS=$as_save_IFS
 
13914
  test -z "$as_dir" && as_dir=.
 
13915
    for ac_exec_ext in '' $ac_executable_extensions; do
 
13916
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
13917
    ac_cv_path_GCONFTOOL="$as_dir/$ac_word$ac_exec_ext"
 
13918
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13919
    break 2
 
13920
  fi
 
13921
done
 
13922
  done
 
13923
IFS=$as_save_IFS
 
13924
 
 
13925
  test -z "$ac_cv_path_GCONFTOOL" && ac_cv_path_GCONFTOOL="no"
 
13926
  ;;
 
13927
esac
 
13928
fi
 
13929
GCONFTOOL=$ac_cv_path_GCONFTOOL
 
13930
if test -n "$GCONFTOOL"; then
 
13931
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONFTOOL" >&5
 
13932
$as_echo "$GCONFTOOL" >&6; }
 
13933
else
 
13934
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13935
$as_echo "no" >&6; }
 
13936
fi
 
13937
 
 
13938
 
 
13939
 
 
13940
if test "x$GCONFTOOL" = xno; then
 
13941
  as_fn_error "gconftool-2 executable not found in your path - should be installed with GConf" "$LINENO" 5
 
13942
fi
 
13943
 
 
13944
 
 
13945
  if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
 
13946
    GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
 
13947
  else
 
13948
    GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
 
13949
  fi
 
13950
 
 
13951
 
 
13952
# Check whether --with-gconf-source was given.
 
13953
if test "${with_gconf_source+set}" = set; then :
 
13954
  withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval"
 
13955
fi
 
13956
 
 
13957
 
 
13958
 
 
13959
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
 
13960
$as_echo "Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
 
13961
 
 
13962
  if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
 
13963
    GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
 
13964
  fi
 
13965
 
 
13966
 
 
13967
# Check whether --with-gconf-schema-file-dir was given.
 
13968
if test "${with_gconf_schema_file_dir+set}" = set; then :
 
13969
  withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval"
 
13970
fi
 
13971
 
 
13972
 
 
13973
 
 
13974
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
 
13975
$as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
 
13976
 
 
13977
  # Check whether --enable-schemas-install was given.
 
13978
if test "${enable_schemas_install+set}" = set; then :
 
13979
  enableval=$enable_schemas_install; case ${enableval} in
 
13980
       yes|no) ;;
 
13981
       *) as_fn_error "bad value ${enableval} for --enable-schemas-install" "$LINENO" 5 ;;
 
13982
      esac
 
13983
fi
 
13984
 
 
13985
   if test "$enable_schemas_install" != no; then
 
13986
  GCONF_SCHEMAS_INSTALL_TRUE=
 
13987
  GCONF_SCHEMAS_INSTALL_FALSE='#'
 
13988
else
 
13989
  GCONF_SCHEMAS_INSTALL_TRUE='#'
 
13990
  GCONF_SCHEMAS_INSTALL_FALSE=
 
13991
fi
 
13992
 
 
13993
 
 
13994
 
7656
13995
 
7657
13996
 
7658
13997
gdu_cv_version_required=0.3.2
7744
14083
 
7745
14084
 
7746
14085
 
7747
 
 
7748
 
ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in data/Makefile help/Makefile"
 
14086
ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in m4/Makefile data/Makefile help/Makefile"
7749
14087
 
7750
14088
cat >confcache <<\_ACEOF
7751
14089
# This file is a shell script that caches the results of configure
7864
14202
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
7865
14203
Usually this means the macro was only invoked conditionally." "$LINENO" 5
7866
14204
fi
 
14205
 
 
14206
  ac_config_commands="$ac_config_commands po/stamp-it"
 
14207
 
 
14208
 
7867
14209
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7868
14210
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
7869
14211
Usually this means the macro was only invoked conditionally." "$LINENO" 5
7876
14218
  as_fn_error "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
7877
14219
Usually this means the macro was only invoked conditionally." "$LINENO" 5
7878
14220
fi
7879
 
 
7880
 
  ac_config_commands="$ac_config_commands po/stamp-it"
7881
 
 
7882
 
 
7883
14221
if test -z "${ENABLE_SK_TRUE}" && test -z "${ENABLE_SK_FALSE}"; then
7884
14222
  as_fn_error "conditional \"ENABLE_SK\" was never defined.
7885
14223
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8297
14635
# values after options handling.
8298
14636
ac_log="
8299
14637
This file was extended by $as_me, which was
8300
 
generated by GNU Autoconf 2.65.  Invocation command line was
 
14638
generated by GNU Autoconf 2.64.  Invocation command line was
8301
14639
 
8302
14640
  CONFIG_FILES    = $CONFIG_FILES
8303
14641
  CONFIG_HEADERS  = $CONFIG_HEADERS
8337
14675
 
8338
14676
  -h, --help       print this help, then exit
8339
14677
  -V, --version    print version number and configuration settings, then exit
8340
 
      --config     print configuration, then exit
8341
14678
  -q, --quiet, --silent
8342
14679
                   do not print progress messages
8343
14680
  -d, --debug      don't remove temporary files
8360
14697
 
8361
14698
_ACEOF
8362
14699
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8363
 
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8364
14700
ac_cs_version="\\
8365
14701
config.status
8366
 
configured by $0, generated by GNU Autoconf 2.65,
8367
 
  with options \\"\$ac_cs_config\\"
 
14702
configured by $0, generated by GNU Autoconf 2.64,
 
14703
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
8368
14704
 
8369
14705
Copyright (C) 2009 Free Software Foundation, Inc.
8370
14706
This config.status script is free software; the Free Software Foundation
8402
14738
    ac_cs_recheck=: ;;
8403
14739
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8404
14740
    $as_echo "$ac_cs_version"; exit ;;
8405
 
  --config | --confi | --conf | --con | --co | --c )
8406
 
    $as_echo "$ac_cs_config"; exit ;;
8407
14741
  --debug | --debu | --deb | --de | --d | -d )
8408
14742
    debug=: ;;
8409
14743
  --file | --fil | --fi | --f )
8478
14812
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8479
14813
 
8480
14814
 
 
14815
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
14816
# if CDPATH is set.
 
14817
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
14818
 
 
14819
sed_quote_subst='$sed_quote_subst'
 
14820
double_quote_subst='$double_quote_subst'
 
14821
delay_variable_subst='$delay_variable_subst'
 
14822
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
 
14823
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
 
14824
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
 
14825
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
 
14826
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
 
14827
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
 
14828
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
14829
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
 
14830
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
 
14831
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
14832
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
 
14833
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
 
14834
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
 
14835
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
 
14836
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
 
14837
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
14838
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
14839
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
 
14840
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
 
14841
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
 
14842
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
 
14843
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
 
14844
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
 
14845
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
 
14846
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
 
14847
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
 
14848
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
14849
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14850
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
 
14851
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
 
14852
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
 
14853
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
 
14854
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
14855
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
 
14856
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
 
14857
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14858
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14859
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14860
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
 
14861
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
14862
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
 
14863
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
 
14864
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
 
14865
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
 
14866
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"`'
 
14867
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"`'
 
14868
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
 
14869
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
 
14870
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
 
14871
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
 
14872
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
14873
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
 
14874
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
 
14875
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
 
14876
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
 
14877
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
 
14878
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
 
14879
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
 
14880
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
 
14881
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 
14882
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
 
14883
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
 
14884
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14885
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14886
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
 
14887
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
 
14888
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
14889
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
14890
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
 
14891
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14892
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14893
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14894
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14895
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14896
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14897
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
14898
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
14899
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
14900
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
14901
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
14902
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
 
14903
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
 
14904
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
 
14905
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
 
14906
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
14907
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
 
14908
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
 
14909
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
 
14910
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
 
14911
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
 
14912
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14913
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
14914
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
14915
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14916
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
14917
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
 
14918
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 
14919
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
 
14920
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
 
14921
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
14922
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
14923
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
 
14924
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
14925
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
14926
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
14927
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14928
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14929
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14930
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
 
14931
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
 
14932
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
14933
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
14934
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
 
14935
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
 
14936
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
 
14937
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
 
14938
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
14939
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
14940
 
 
14941
LTCC='$LTCC'
 
14942
LTCFLAGS='$LTCFLAGS'
 
14943
compiler='$compiler_DEFAULT'
 
14944
 
 
14945
# Quote evaled strings.
 
14946
for var in SED \
 
14947
GREP \
 
14948
EGREP \
 
14949
FGREP \
 
14950
LD \
 
14951
NM \
 
14952
LN_S \
 
14953
lt_SP2NL \
 
14954
lt_NL2SP \
 
14955
reload_flag \
 
14956
OBJDUMP \
 
14957
deplibs_check_method \
 
14958
file_magic_cmd \
 
14959
AR \
 
14960
AR_FLAGS \
 
14961
STRIP \
 
14962
RANLIB \
 
14963
CC \
 
14964
CFLAGS \
 
14965
compiler \
 
14966
lt_cv_sys_global_symbol_pipe \
 
14967
lt_cv_sys_global_symbol_to_cdecl \
 
14968
lt_cv_sys_global_symbol_to_c_name_address \
 
14969
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
14970
SHELL \
 
14971
ECHO \
 
14972
lt_prog_compiler_no_builtin_flag \
 
14973
lt_prog_compiler_wl \
 
14974
lt_prog_compiler_pic \
 
14975
lt_prog_compiler_static \
 
14976
lt_cv_prog_compiler_c_o \
 
14977
need_locks \
 
14978
DSYMUTIL \
 
14979
NMEDIT \
 
14980
LIPO \
 
14981
OTOOL \
 
14982
OTOOL64 \
 
14983
shrext_cmds \
 
14984
export_dynamic_flag_spec \
 
14985
whole_archive_flag_spec \
 
14986
compiler_needs_object \
 
14987
with_gnu_ld \
 
14988
allow_undefined_flag \
 
14989
no_undefined_flag \
 
14990
hardcode_libdir_flag_spec \
 
14991
hardcode_libdir_flag_spec_ld \
 
14992
hardcode_libdir_separator \
 
14993
fix_srcfile_path \
 
14994
exclude_expsyms \
 
14995
include_expsyms \
 
14996
file_list_spec \
 
14997
variables_saved_for_relink \
 
14998
libname_spec \
 
14999
library_names_spec \
 
15000
soname_spec \
 
15001
finish_eval \
 
15002
old_striplib \
 
15003
striplib; do
 
15004
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
15005
    *[\\\\\\\`\\"\\\$]*)
 
15006
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
15007
      ;;
 
15008
    *)
 
15009
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
15010
      ;;
 
15011
    esac
 
15012
done
 
15013
 
 
15014
# Double-quote double-evaled strings.
 
15015
for var in reload_cmds \
 
15016
old_postinstall_cmds \
 
15017
old_postuninstall_cmds \
 
15018
old_archive_cmds \
 
15019
extract_expsyms_cmds \
 
15020
old_archive_from_new_cmds \
 
15021
old_archive_from_expsyms_cmds \
 
15022
archive_cmds \
 
15023
archive_expsym_cmds \
 
15024
module_cmds \
 
15025
module_expsym_cmds \
 
15026
export_symbols_cmds \
 
15027
prelink_cmds \
 
15028
postinstall_cmds \
 
15029
postuninstall_cmds \
 
15030
finish_cmds \
 
15031
sys_lib_search_path_spec \
 
15032
sys_lib_dlsearch_path_spec; do
 
15033
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
15034
    *[\\\\\\\`\\"\\\$]*)
 
15035
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
15036
      ;;
 
15037
    *)
 
15038
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
15039
      ;;
 
15040
    esac
 
15041
done
 
15042
 
 
15043
# Fix-up fallback echo if it was mangled by the above quoting rules.
 
15044
case \$lt_ECHO in
 
15045
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
 
15046
  ;;
 
15047
esac
 
15048
 
 
15049
ac_aux_dir='$ac_aux_dir'
 
15050
xsi_shell='$xsi_shell'
 
15051
lt_shell_append='$lt_shell_append'
 
15052
 
 
15053
# See if we are running on zsh, and set the options which allow our
 
15054
# commands through without removal of \ escapes INIT.
 
15055
if test -n "\${ZSH_VERSION+set}" ; then
 
15056
   setopt NO_GLOB_SUBST
 
15057
fi
 
15058
 
 
15059
 
 
15060
    PACKAGE='$PACKAGE'
 
15061
    VERSION='$VERSION'
 
15062
    TIMESTAMP='$TIMESTAMP'
 
15063
    RM='$RM'
 
15064
    ofile='$ofile'
 
15065
 
 
15066
 
 
15067
 
 
15068
 
 
15069
 
8481
15070
_ACEOF
8482
15071
 
8483
15072
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8488
15077
  case $ac_config_target in
8489
15078
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
8490
15079
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
15080
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
8491
15081
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
8492
15082
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8493
15083
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
8494
15084
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
 
15085
    "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
8495
15086
    "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
8496
15087
    "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
8497
15088
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
8598
15189
t delim
8599
15190
:nl
8600
15191
h
8601
 
s/\(.\{148\}\)..*/\1/
 
15192
s/\(.\{148\}\).*/\1/
8602
15193
t more1
8603
15194
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8604
15195
p
8612
15203
t nl
8613
15204
:delim
8614
15205
h
8615
 
s/\(.\{148\}\)..*/\1/
 
15206
s/\(.\{148\}\).*/\1/
8616
15207
t more2
8617
15208
s/["\\]/\\&/g; s/^/"/; s/$/"/
8618
15209
p
9174
15765
  done
9175
15766
}
9176
15767
 ;;
 
15768
    "libtool":C)
 
15769
 
 
15770
    # See if we are running on zsh, and set the options which allow our
 
15771
    # commands through without removal of \ escapes.
 
15772
    if test -n "${ZSH_VERSION+set}" ; then
 
15773
      setopt NO_GLOB_SUBST
 
15774
    fi
 
15775
 
 
15776
    cfgfile="${ofile}T"
 
15777
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
15778
    $RM "$cfgfile"
 
15779
 
 
15780
    cat <<_LT_EOF >> "$cfgfile"
 
15781
#! $SHELL
 
15782
 
 
15783
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
15784
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
15785
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
15786
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
15787
#
 
15788
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
15789
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
15790
#   Written by Gordon Matzigkeit, 1996
 
15791
#
 
15792
#   This file is part of GNU Libtool.
 
15793
#
 
15794
# GNU Libtool is free software; you can redistribute it and/or
 
15795
# modify it under the terms of the GNU General Public License as
 
15796
# published by the Free Software Foundation; either version 2 of
 
15797
# the License, or (at your option) any later version.
 
15798
#
 
15799
# As a special exception to the GNU General Public License,
 
15800
# if you distribute this file as part of a program or library that
 
15801
# is built using GNU Libtool, you may include this file under the
 
15802
# same distribution terms that you use for the rest of that program.
 
15803
#
 
15804
# GNU Libtool is distributed in the hope that it will be useful,
 
15805
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
15806
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
15807
# GNU General Public License for more details.
 
15808
#
 
15809
# You should have received a copy of the GNU General Public License
 
15810
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
15811
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
15812
# obtained by writing to the Free Software Foundation, Inc.,
 
15813
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
15814
 
 
15815
 
 
15816
# The names of the tagged configurations supported by this script.
 
15817
available_tags=""
 
15818
 
 
15819
# ### BEGIN LIBTOOL CONFIG
 
15820
 
 
15821
# Which release of libtool.m4 was used?
 
15822
macro_version=$macro_version
 
15823
macro_revision=$macro_revision
 
15824
 
 
15825
# Whether or not to build shared libraries.
 
15826
build_libtool_libs=$enable_shared
 
15827
 
 
15828
# Whether or not to build static libraries.
 
15829
build_old_libs=$enable_static
 
15830
 
 
15831
# What type of objects to build.
 
15832
pic_mode=$pic_mode
 
15833
 
 
15834
# Whether or not to optimize for fast installation.
 
15835
fast_install=$enable_fast_install
 
15836
 
 
15837
# The host system.
 
15838
host_alias=$host_alias
 
15839
host=$host
 
15840
host_os=$host_os
 
15841
 
 
15842
# The build system.
 
15843
build_alias=$build_alias
 
15844
build=$build
 
15845
build_os=$build_os
 
15846
 
 
15847
# A sed program that does not truncate output.
 
15848
SED=$lt_SED
 
15849
 
 
15850
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
15851
Xsed="\$SED -e 1s/^X//"
 
15852
 
 
15853
# A grep program that handles long lines.
 
15854
GREP=$lt_GREP
 
15855
 
 
15856
# An ERE matcher.
 
15857
EGREP=$lt_EGREP
 
15858
 
 
15859
# A literal string matcher.
 
15860
FGREP=$lt_FGREP
 
15861
 
 
15862
# A BSD- or MS-compatible name lister.
 
15863
NM=$lt_NM
 
15864
 
 
15865
# Whether we need soft or hard links.
 
15866
LN_S=$lt_LN_S
 
15867
 
 
15868
# What is the maximum length of a command?
 
15869
max_cmd_len=$max_cmd_len
 
15870
 
 
15871
# Object file suffix (normally "o").
 
15872
objext=$ac_objext
 
15873
 
 
15874
# Executable file suffix (normally "").
 
15875
exeext=$exeext
 
15876
 
 
15877
# whether the shell understands "unset".
 
15878
lt_unset=$lt_unset
 
15879
 
 
15880
# turn spaces into newlines.
 
15881
SP2NL=$lt_lt_SP2NL
 
15882
 
 
15883
# turn newlines into spaces.
 
15884
NL2SP=$lt_lt_NL2SP
 
15885
 
 
15886
# How to create reloadable object files.
 
15887
reload_flag=$lt_reload_flag
 
15888
reload_cmds=$lt_reload_cmds
 
15889
 
 
15890
# An object symbol dumper.
 
15891
OBJDUMP=$lt_OBJDUMP
 
15892
 
 
15893
# Method to check whether dependent libraries are shared objects.
 
15894
deplibs_check_method=$lt_deplibs_check_method
 
15895
 
 
15896
# Command to use when deplibs_check_method == "file_magic".
 
15897
file_magic_cmd=$lt_file_magic_cmd
 
15898
 
 
15899
# The archiver.
 
15900
AR=$lt_AR
 
15901
AR_FLAGS=$lt_AR_FLAGS
 
15902
 
 
15903
# A symbol stripping program.
 
15904
STRIP=$lt_STRIP
 
15905
 
 
15906
# Commands used to install an old-style archive.
 
15907
RANLIB=$lt_RANLIB
 
15908
old_postinstall_cmds=$lt_old_postinstall_cmds
 
15909
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
15910
 
 
15911
# A C compiler.
 
15912
LTCC=$lt_CC
 
15913
 
 
15914
# LTCC compiler flags.
 
15915
LTCFLAGS=$lt_CFLAGS
 
15916
 
 
15917
# Take the output of nm and produce a listing of raw symbols and C names.
 
15918
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
15919
 
 
15920
# Transform the output of nm in a proper C declaration.
 
15921
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
15922
 
 
15923
# Transform the output of nm in a C name address pair.
 
15924
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
15925
 
 
15926
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
15927
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
15928
 
 
15929
# The name of the directory that contains temporary libtool files.
 
15930
objdir=$objdir
 
15931
 
 
15932
# Shell to use when invoking shell scripts.
 
15933
SHELL=$lt_SHELL
 
15934
 
 
15935
# An echo program that does not interpret backslashes.
 
15936
ECHO=$lt_ECHO
 
15937
 
 
15938
# Used to examine libraries when file_magic_cmd begins with "file".
 
15939
MAGIC_CMD=$MAGIC_CMD
 
15940
 
 
15941
# Must we lock files when doing compilation?
 
15942
need_locks=$lt_need_locks
 
15943
 
 
15944
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
15945
DSYMUTIL=$lt_DSYMUTIL
 
15946
 
 
15947
# Tool to change global to local symbols on Mac OS X.
 
15948
NMEDIT=$lt_NMEDIT
 
15949
 
 
15950
# Tool to manipulate fat objects and archives on Mac OS X.
 
15951
LIPO=$lt_LIPO
 
15952
 
 
15953
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
15954
OTOOL=$lt_OTOOL
 
15955
 
 
15956
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
15957
OTOOL64=$lt_OTOOL64
 
15958
 
 
15959
# Old archive suffix (normally "a").
 
15960
libext=$libext
 
15961
 
 
15962
# Shared library suffix (normally ".so").
 
15963
shrext_cmds=$lt_shrext_cmds
 
15964
 
 
15965
# The commands to extract the exported symbol list from a shared archive.
 
15966
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
15967
 
 
15968
# Variables whose values should be saved in libtool wrapper scripts and
 
15969
# restored at link time.
 
15970
variables_saved_for_relink=$lt_variables_saved_for_relink
 
15971
 
 
15972
# Do we need the "lib" prefix for modules?
 
15973
need_lib_prefix=$need_lib_prefix
 
15974
 
 
15975
# Do we need a version for libraries?
 
15976
need_version=$need_version
 
15977
 
 
15978
# Library versioning type.
 
15979
version_type=$version_type
 
15980
 
 
15981
# Shared library runtime path variable.
 
15982
runpath_var=$runpath_var
 
15983
 
 
15984
# Shared library path variable.
 
15985
shlibpath_var=$shlibpath_var
 
15986
 
 
15987
# Is shlibpath searched before the hard-coded library search path?
 
15988
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
15989
 
 
15990
# Format of library name prefix.
 
15991
libname_spec=$lt_libname_spec
 
15992
 
 
15993
# List of archive names.  First name is the real one, the rest are links.
 
15994
# The last name is the one that the linker finds with -lNAME
 
15995
library_names_spec=$lt_library_names_spec
 
15996
 
 
15997
# The coded name of the library, if different from the real name.
 
15998
soname_spec=$lt_soname_spec
 
15999
 
 
16000
# Command to use after installation of a shared archive.
 
16001
postinstall_cmds=$lt_postinstall_cmds
 
16002
 
 
16003
# Command to use after uninstallation of a shared archive.
 
16004
postuninstall_cmds=$lt_postuninstall_cmds
 
16005
 
 
16006
# Commands used to finish a libtool library installation in a directory.
 
16007
finish_cmds=$lt_finish_cmds
 
16008
 
 
16009
# As "finish_cmds", except a single script fragment to be evaled but
 
16010
# not shown.
 
16011
finish_eval=$lt_finish_eval
 
16012
 
 
16013
# Whether we should hardcode library paths into libraries.
 
16014
hardcode_into_libs=$hardcode_into_libs
 
16015
 
 
16016
# Compile-time system search path for libraries.
 
16017
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
16018
 
 
16019
# Run-time system search path for libraries.
 
16020
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
16021
 
 
16022
# Whether dlopen is supported.
 
16023
dlopen_support=$enable_dlopen
 
16024
 
 
16025
# Whether dlopen of programs is supported.
 
16026
dlopen_self=$enable_dlopen_self
 
16027
 
 
16028
# Whether dlopen of statically linked programs is supported.
 
16029
dlopen_self_static=$enable_dlopen_self_static
 
16030
 
 
16031
# Commands to strip libraries.
 
16032
old_striplib=$lt_old_striplib
 
16033
striplib=$lt_striplib
 
16034
 
 
16035
 
 
16036
# The linker used to build libraries.
 
16037
LD=$lt_LD
 
16038
 
 
16039
# Commands used to build an old-style archive.
 
16040
old_archive_cmds=$lt_old_archive_cmds
 
16041
 
 
16042
# A language specific compiler.
 
16043
CC=$lt_compiler
 
16044
 
 
16045
# Is the compiler the GNU compiler?
 
16046
with_gcc=$GCC
 
16047
 
 
16048
# Compiler flag to turn off builtin functions.
 
16049
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
16050
 
 
16051
# How to pass a linker flag through the compiler.
 
16052
wl=$lt_lt_prog_compiler_wl
 
16053
 
 
16054
# Additional compiler flags for building library objects.
 
16055
pic_flag=$lt_lt_prog_compiler_pic
 
16056
 
 
16057
# Compiler flag to prevent dynamic linking.
 
16058
link_static_flag=$lt_lt_prog_compiler_static
 
16059
 
 
16060
# Does compiler simultaneously support -c and -o options?
 
16061
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
16062
 
 
16063
# Whether or not to add -lc for building shared libraries.
 
16064
build_libtool_need_lc=$archive_cmds_need_lc
 
16065
 
 
16066
# Whether or not to disallow shared libs when runtime libs are static.
 
16067
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
16068
 
 
16069
# Compiler flag to allow reflexive dlopens.
 
16070
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
16071
 
 
16072
# Compiler flag to generate shared objects directly from archives.
 
16073
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
16074
 
 
16075
# Whether the compiler copes with passing no objects directly.
 
16076
compiler_needs_object=$lt_compiler_needs_object
 
16077
 
 
16078
# Create an old-style archive from a shared archive.
 
16079
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
16080
 
 
16081
# Create a temporary old-style archive to link instead of a shared archive.
 
16082
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
16083
 
 
16084
# Commands used to build a shared archive.
 
16085
archive_cmds=$lt_archive_cmds
 
16086
archive_expsym_cmds=$lt_archive_expsym_cmds
 
16087
 
 
16088
# Commands used to build a loadable module if different from building
 
16089
# a shared archive.
 
16090
module_cmds=$lt_module_cmds
 
16091
module_expsym_cmds=$lt_module_expsym_cmds
 
16092
 
 
16093
# Whether we are building with GNU ld or not.
 
16094
with_gnu_ld=$lt_with_gnu_ld
 
16095
 
 
16096
# Flag that allows shared libraries with undefined symbols to be built.
 
16097
allow_undefined_flag=$lt_allow_undefined_flag
 
16098
 
 
16099
# Flag that enforces no undefined symbols.
 
16100
no_undefined_flag=$lt_no_undefined_flag
 
16101
 
 
16102
# Flag to hardcode \$libdir into a binary during linking.
 
16103
# This must work even if \$libdir does not exist
 
16104
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
16105
 
 
16106
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
16107
# during linking.  This must work even if \$libdir does not exist.
 
16108
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 
16109
 
 
16110
# Whether we need a single "-rpath" flag with a separated argument.
 
16111
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
16112
 
 
16113
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
16114
# DIR into the resulting binary.
 
16115
hardcode_direct=$hardcode_direct
 
16116
 
 
16117
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
16118
# DIR into the resulting binary and the resulting library dependency is
 
16119
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
16120
# library is relocated.
 
16121
hardcode_direct_absolute=$hardcode_direct_absolute
 
16122
 
 
16123
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
16124
# into the resulting binary.
 
16125
hardcode_minus_L=$hardcode_minus_L
 
16126
 
 
16127
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
16128
# into the resulting binary.
 
16129
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
16130
 
 
16131
# Set to "yes" if building a shared library automatically hardcodes DIR
 
16132
# into the library and all subsequent libraries and executables linked
 
16133
# against it.
 
16134
hardcode_automatic=$hardcode_automatic
 
16135
 
 
16136
# Set to yes if linker adds runtime paths of dependent libraries
 
16137
# to runtime path list.
 
16138
inherit_rpath=$inherit_rpath
 
16139
 
 
16140
# Whether libtool must link a program against all its dependency libraries.
 
16141
link_all_deplibs=$link_all_deplibs
 
16142
 
 
16143
# Fix the shell variable \$srcfile for the compiler.
 
16144
fix_srcfile_path=$lt_fix_srcfile_path
 
16145
 
 
16146
# Set to "yes" if exported symbols are required.
 
16147
always_export_symbols=$always_export_symbols
 
16148
 
 
16149
# The commands to list exported symbols.
 
16150
export_symbols_cmds=$lt_export_symbols_cmds
 
16151
 
 
16152
# Symbols that should not be listed in the preloaded symbols.
 
16153
exclude_expsyms=$lt_exclude_expsyms
 
16154
 
 
16155
# Symbols that must always be exported.
 
16156
include_expsyms=$lt_include_expsyms
 
16157
 
 
16158
# Commands necessary for linking programs (against libraries) with templates.
 
16159
prelink_cmds=$lt_prelink_cmds
 
16160
 
 
16161
# Specify filename containing input files.
 
16162
file_list_spec=$lt_file_list_spec
 
16163
 
 
16164
# How to hardcode a shared library path into an executable.
 
16165
hardcode_action=$hardcode_action
 
16166
 
 
16167
# ### END LIBTOOL CONFIG
 
16168
 
 
16169
_LT_EOF
 
16170
 
 
16171
  case $host_os in
 
16172
  aix3*)
 
16173
    cat <<\_LT_EOF >> "$cfgfile"
 
16174
# AIX sometimes has problems with the GCC collect2 program.  For some
 
16175
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
16176
# vanish in a puff of smoke.
 
16177
if test "X${COLLECT_NAMES+set}" != Xset; then
 
16178
  COLLECT_NAMES=
 
16179
  export COLLECT_NAMES
 
16180
fi
 
16181
_LT_EOF
 
16182
    ;;
 
16183
  esac
 
16184
 
 
16185
 
 
16186
ltmain="$ac_aux_dir/ltmain.sh"
 
16187
 
 
16188
 
 
16189
  # We use sed instead of cat because bash on DJGPP gets confused if
 
16190
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
16191
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
16192
  # is reportedly fixed, but why not run on old versions too?
 
16193
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
 
16194
    || (rm -f "$cfgfile"; exit 1)
 
16195
 
 
16196
  case $xsi_shell in
 
16197
  yes)
 
16198
    cat << \_LT_EOF >> "$cfgfile"
 
16199
 
 
16200
# func_dirname file append nondir_replacement
 
16201
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
16202
# otherwise set result to NONDIR_REPLACEMENT.
 
16203
func_dirname ()
 
16204
{
 
16205
  case ${1} in
 
16206
    */*) func_dirname_result="${1%/*}${2}" ;;
 
16207
    *  ) func_dirname_result="${3}" ;;
 
16208
  esac
 
16209
}
 
16210
 
 
16211
# func_basename file
 
16212
func_basename ()
 
16213
{
 
16214
  func_basename_result="${1##*/}"
 
16215
}
 
16216
 
 
16217
# func_dirname_and_basename file append nondir_replacement
 
16218
# perform func_basename and func_dirname in a single function
 
16219
# call:
 
16220
#   dirname:  Compute the dirname of FILE.  If nonempty,
 
16221
#             add APPEND to the result, otherwise set result
 
16222
#             to NONDIR_REPLACEMENT.
 
16223
#             value returned in "$func_dirname_result"
 
16224
#   basename: Compute filename of FILE.
 
16225
#             value retuned in "$func_basename_result"
 
16226
# Implementation must be kept synchronized with func_dirname
 
16227
# and func_basename. For efficiency, we do not delegate to
 
16228
# those functions but instead duplicate the functionality here.
 
16229
func_dirname_and_basename ()
 
16230
{
 
16231
  case ${1} in
 
16232
    */*) func_dirname_result="${1%/*}${2}" ;;
 
16233
    *  ) func_dirname_result="${3}" ;;
 
16234
  esac
 
16235
  func_basename_result="${1##*/}"
 
16236
}
 
16237
 
 
16238
# func_stripname prefix suffix name
 
16239
# strip PREFIX and SUFFIX off of NAME.
 
16240
# PREFIX and SUFFIX must not contain globbing or regex special
 
16241
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
16242
# dot (in which case that matches only a dot).
 
16243
func_stripname ()
 
16244
{
 
16245
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
 
16246
  # positional parameters, so assign one to ordinary parameter first.
 
16247
  func_stripname_result=${3}
 
16248
  func_stripname_result=${func_stripname_result#"${1}"}
 
16249
  func_stripname_result=${func_stripname_result%"${2}"}
 
16250
}
 
16251
 
 
16252
# func_opt_split
 
16253
func_opt_split ()
 
16254
{
 
16255
  func_opt_split_opt=${1%%=*}
 
16256
  func_opt_split_arg=${1#*=}
 
16257
}
 
16258
 
 
16259
# func_lo2o object
 
16260
func_lo2o ()
 
16261
{
 
16262
  case ${1} in
 
16263
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
 
16264
    *)    func_lo2o_result=${1} ;;
 
16265
  esac
 
16266
}
 
16267
 
 
16268
# func_xform libobj-or-source
 
16269
func_xform ()
 
16270
{
 
16271
  func_xform_result=${1%.*}.lo
 
16272
}
 
16273
 
 
16274
# func_arith arithmetic-term...
 
16275
func_arith ()
 
16276
{
 
16277
  func_arith_result=$(( $* ))
 
16278
}
 
16279
 
 
16280
# func_len string
 
16281
# STRING may not start with a hyphen.
 
16282
func_len ()
 
16283
{
 
16284
  func_len_result=${#1}
 
16285
}
 
16286
 
 
16287
_LT_EOF
 
16288
    ;;
 
16289
  *) # Bourne compatible functions.
 
16290
    cat << \_LT_EOF >> "$cfgfile"
 
16291
 
 
16292
# func_dirname file append nondir_replacement
 
16293
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
16294
# otherwise set result to NONDIR_REPLACEMENT.
 
16295
func_dirname ()
 
16296
{
 
16297
  # Extract subdirectory from the argument.
 
16298
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
16299
  if test "X$func_dirname_result" = "X${1}"; then
 
16300
    func_dirname_result="${3}"
 
16301
  else
 
16302
    func_dirname_result="$func_dirname_result${2}"
 
16303
  fi
 
16304
}
 
16305
 
 
16306
# func_basename file
 
16307
func_basename ()
 
16308
{
 
16309
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
16310
}
 
16311
 
 
16312
 
 
16313
# func_stripname prefix suffix name
 
16314
# strip PREFIX and SUFFIX off of NAME.
 
16315
# PREFIX and SUFFIX must not contain globbing or regex special
 
16316
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
16317
# dot (in which case that matches only a dot).
 
16318
# func_strip_suffix prefix name
 
16319
func_stripname ()
 
16320
{
 
16321
  case ${2} in
 
16322
    .*) func_stripname_result=`$ECHO "X${3}" \
 
16323
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
 
16324
    *)  func_stripname_result=`$ECHO "X${3}" \
 
16325
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
16326
  esac
 
16327
}
 
16328
 
 
16329
# sed scripts:
 
16330
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
 
16331
my_sed_long_arg='1s/^-[^=]*=//'
 
16332
 
 
16333
# func_opt_split
 
16334
func_opt_split ()
 
16335
{
 
16336
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
 
16337
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
16338
}
 
16339
 
 
16340
# func_lo2o object
 
16341
func_lo2o ()
 
16342
{
 
16343
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
16344
}
 
16345
 
 
16346
# func_xform libobj-or-source
 
16347
func_xform ()
 
16348
{
 
16349
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
 
16350
}
 
16351
 
 
16352
# func_arith arithmetic-term...
 
16353
func_arith ()
 
16354
{
 
16355
  func_arith_result=`expr "$@"`
 
16356
}
 
16357
 
 
16358
# func_len string
 
16359
# STRING may not start with a hyphen.
 
16360
func_len ()
 
16361
{
 
16362
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
 
16363
}
 
16364
 
 
16365
_LT_EOF
 
16366
esac
 
16367
 
 
16368
case $lt_shell_append in
 
16369
  yes)
 
16370
    cat << \_LT_EOF >> "$cfgfile"
 
16371
 
 
16372
# func_append var value
 
16373
# Append VALUE to the end of shell variable VAR.
 
16374
func_append ()
 
16375
{
 
16376
  eval "$1+=\$2"
 
16377
}
 
16378
_LT_EOF
 
16379
    ;;
 
16380
  *)
 
16381
    cat << \_LT_EOF >> "$cfgfile"
 
16382
 
 
16383
# func_append var value
 
16384
# Append VALUE to the end of shell variable VAR.
 
16385
func_append ()
 
16386
{
 
16387
  eval "$1=\$$1\$2"
 
16388
}
 
16389
 
 
16390
_LT_EOF
 
16391
    ;;
 
16392
  esac
 
16393
 
 
16394
 
 
16395
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
 
16396
    || (rm -f "$cfgfile"; exit 1)
 
16397
 
 
16398
  mv -f "$cfgfile" "$ofile" ||
 
16399
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
16400
  chmod +x "$ofile"
 
16401
 
 
16402
 ;;
9177
16403
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
9178
16404
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
9179
16405
      esac ;;