~ubuntu-branches/ubuntu/trusty/gnome-contacts/trusty-proposed

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2012-07-30 14:26:00 UTC
  • mfrom: (1.3.2)
  • Revision ID: package-import@ubuntu.com-20120730142600-evecglz3pai4rrmt
Tags: 3.5.4.1-0ubuntu1
* New upstream release
* debian/control:
  - Bump build-depends on libfolks-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# generated automatically by aclocal 1.11.3 -*- Autoconf -*-
 
1
# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
2
2
 
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
 
# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
5
 
# Inc.
 
4
# 2005, 2006, 2007, 2008, 2009  Free Software Foundation, Inc.
6
5
# This file is free software; the Free Software Foundation
7
6
# gives unlimited permission to copy and/or distribute it,
8
7
# with or without modifications, as long as this notice is preserved.
757
756
 
758
757
 
759
758
dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml])
760
 
# serial 42 IT_PROG_INTLTOOL
 
759
# serial 40 IT_PROG_INTLTOOL
761
760
AC_DEFUN([IT_PROG_INTLTOOL], [
762
761
AC_PREREQ([2.50])dnl
763
762
AC_REQUIRE([AM_NLS])dnl
770
769
    ;;
771
770
esac
772
771
 
773
 
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
774
 
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
775
 
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
776
772
if test -n "$1"; then
777
773
    AC_MSG_CHECKING([for intltool >= $1])
 
774
 
 
775
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
776
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
 
777
    [INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
778
    ]
778
779
    AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found])
779
780
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
780
781
        AC_MSG_ERROR([Your intltool is too old.  You need intltool $1 or later.])
787
788
    AC_MSG_ERROR([The intltool scripts were not found. Please install intltool.])
788
789
fi
789
790
 
790
 
if test -z "$AM_DEFAULT_VERBOSITY"; then
791
 
  AM_DEFAULT_VERBOSITY=1
792
 
fi
793
 
AC_SUBST([AM_DEFAULT_VERBOSITY])
794
 
 
795
 
INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
796
 
INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
797
 
INTLTOOL__v_MERGE_0='@echo "  ITMRG " [$]@;'
798
 
AC_SUBST(INTLTOOL_V_MERGE)
799
 
AC_SUBST(INTLTOOL__v_MERGE_)
800
 
AC_SUBST(INTLTOOL__v_MERGE_0)
801
 
 
802
 
INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
803
 
intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
804
 
intltool__v_merge_options_0='-q'
805
 
AC_SUBST(INTLTOOL_V_MERGE_OPTIONS)
806
 
AC_SUBST(intltool__v_merge_options_)
807
 
AC_SUBST(intltool__v_merge_options_0)
808
 
 
809
 
  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
810
 
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
811
 
     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
812
 
     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
813
 
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< [$]@'
814
 
     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
815
 
   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
816
 
    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
817
 
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
818
 
       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
819
 
      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
820
 
if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
821
 
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< [$]@'
822
 
else
823
 
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.[$][$]RANDOM && mkdir [$][$]_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u [$][$]_it_tmp_dir $< [$]@ && rmdir [$][$]_it_tmp_dir'
824
 
fi
825
 
      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
826
 
      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
827
 
    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
828
 
  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
829
 
    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
830
 
    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
831
 
   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
 
791
  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 $< [$]@' 
 
792
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 $< [$]@' 
 
793
     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 $< [$]@' 
 
794
     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 $< [$]@' 
 
795
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< [$]@'
 
796
     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 $< [$]@' 
 
797
   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 $< [$]@' 
 
798
    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 $< [$]@' 
 
799
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 $< [$]@' 
 
800
       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 $< [$]@' 
 
801
      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 $< [$]@' 
 
802
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< [$]@' 
 
803
      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 $< [$]@' 
 
804
      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 $< [$]@' 
 
805
    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 $< [$]@' 
 
806
  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 $< [$]@' 
 
807
    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 $< [$]@' 
 
808
    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 $< [$]@'
 
809
   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 $< [$]@'
832
810
 
833
811
_IT_SUBST(INTLTOOL_DESKTOP_RULE)
834
812
_IT_SUBST(INTLTOOL_DIRECTORY_RULE)
874
852
if test $? -ne 0; then
875
853
   AC_MSG_ERROR([perl 5.8.1 is required for intltool])
876
854
else
877
 
   IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
 
855
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
878
856
   AC_MSG_RESULT([$IT_PERL_VERSION])
879
857
fi
880
858
if test "x$2" != "xno-xml"; then
2084
2062
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
2085
2063
#
2086
2064
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
2087
 
#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
2088
 
#                 Foundation, Inc.
 
2065
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
 
2066
#                 Inc.
2089
2067
#   Written by Gordon Matzigkeit, 1996
2090
2068
#
2091
2069
# This file is free software; the Free Software Foundation gives
2094
2072
 
2095
2073
m4_define([_LT_COPYING], [dnl
2096
2074
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
2097
 
#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
2098
 
#                 Foundation, Inc.
 
2075
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
 
2076
#                 Inc.
2099
2077
#   Written by Gordon Matzigkeit, 1996
2100
2078
#
2101
2079
#   This file is part of GNU Libtool.
2229
2207
AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
2230
2208
AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
2231
2209
 
2232
 
_LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl
2233
 
dnl
2234
2210
_LT_DECL([], [host_alias], [0], [The host system])dnl
2235
2211
_LT_DECL([], [host], [0])dnl
2236
2212
_LT_DECL([], [host_os], [0])dnl
2716
2692
m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
2717
2693
configured by $[0], generated by m4_PACKAGE_STRING.
2718
2694
 
2719
 
Copyright (C) 2011 Free Software Foundation, Inc.
 
2695
Copyright (C) 2010 Free Software Foundation, Inc.
2720
2696
This config.lt script is free software; the Free Software Foundation
2721
2697
gives unlimited permision to copy, distribute and modify it."
2722
2698
 
2880
2856
m4_case([$1],
2881
2857
  [C],                  [_LT_LANG(C)],
2882
2858
  [C++],                [_LT_LANG(CXX)],
2883
 
  [Go],                 [_LT_LANG(GO)],
2884
2859
  [Java],               [_LT_LANG(GCJ)],
2885
2860
  [Fortran 77],         [_LT_LANG(F77)],
2886
2861
  [Fortran],            [_LT_LANG(FC)],
2902
2877
])# _LT_LANG
2903
2878
 
2904
2879
 
2905
 
m4_ifndef([AC_PROG_GO], [
2906
 
# NOTE: This macro has been submitted for inclusion into   #
2907
 
#  GNU Autoconf as AC_PROG_GO.  When it is available in    #
2908
 
#  a released version of Autoconf we should remove this    #
2909
 
#  macro and use it instead.                               #
2910
 
m4_defun([AC_PROG_GO],
2911
 
[AC_LANG_PUSH(Go)dnl
2912
 
AC_ARG_VAR([GOC],     [Go compiler command])dnl
2913
 
AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl
2914
 
_AC_ARG_VAR_LDFLAGS()dnl
2915
 
AC_CHECK_TOOL(GOC, gccgo)
2916
 
if test -z "$GOC"; then
2917
 
  if test -n "$ac_tool_prefix"; then
2918
 
    AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo])
2919
 
  fi
2920
 
fi
2921
 
if test -z "$GOC"; then
2922
 
  AC_CHECK_PROG(GOC, gccgo, gccgo, false)
2923
 
fi
2924
 
])#m4_defun
2925
 
])#m4_ifndef
2926
 
 
2927
 
 
2928
2880
# _LT_LANG_DEFAULT_CONFIG
2929
2881
# -----------------------
2930
2882
m4_defun([_LT_LANG_DEFAULT_CONFIG],
2955
2907
       m4_ifdef([LT_PROG_GCJ],
2956
2908
        [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
2957
2909
 
2958
 
AC_PROVIDE_IFELSE([AC_PROG_GO],
2959
 
  [LT_LANG(GO)],
2960
 
  [m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])])
2961
 
 
2962
2910
AC_PROVIDE_IFELSE([LT_PROG_RC],
2963
2911
  [LT_LANG(RC)],
2964
2912
  [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
3061
3009
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
3062
3010
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
3063
3011
        _lt_result=$?
3064
 
        # If there is a non-empty error log, and "single_module"
3065
 
        # appears in it, assume the flag caused a linker warning
3066
 
        if test -s conftest.err && $GREP single_module conftest.err; then
3067
 
          cat conftest.err >&AS_MESSAGE_LOG_FD
3068
 
        # Otherwise, if the output was created with a 0 exit code from
3069
 
        # the compiler, it worked.
3070
 
        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
 
3012
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
3071
3013
          lt_cv_apple_cc_single_mod=yes
3072
3014
        else
3073
3015
          cat conftest.err >&AS_MESSAGE_LOG_FD
3075
3017
        rm -rf libconftest.dylib*
3076
3018
        rm -f conftest.*
3077
3019
      fi])
3078
 
 
3079
3020
    AC_CACHE_CHECK([for -exported_symbols_list linker flag],
3080
3021
      [lt_cv_ld_exported_symbols_list],
3081
3022
      [lt_cv_ld_exported_symbols_list=no
3087
3028
        [lt_cv_ld_exported_symbols_list=no])
3088
3029
        LDFLAGS="$save_LDFLAGS"
3089
3030
    ])
3090
 
 
3091
3031
    AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
3092
3032
      [lt_cv_ld_force_load=no
3093
3033
      cat > conftest.c << _LT_EOF
3105
3045
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD
3106
3046
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
3107
3047
      _lt_result=$?
3108
 
      if test -s conftest.err && $GREP force_load conftest.err; then
3109
 
        cat conftest.err >&AS_MESSAGE_LOG_FD
3110
 
      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
 
3048
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
3111
3049
        lt_cv_ld_force_load=yes
3112
3050
      else
3113
3051
        cat conftest.err >&AS_MESSAGE_LOG_FD
3152
3090
])
3153
3091
 
3154
3092
 
3155
 
# _LT_DARWIN_LINKER_FEATURES([TAG])
3156
 
# ---------------------------------
 
3093
# _LT_DARWIN_LINKER_FEATURES
 
3094
# --------------------------
3157
3095
# Checks for linker and compiler features on darwin
3158
3096
m4_defun([_LT_DARWIN_LINKER_FEATURES],
3159
3097
[
3164
3102
  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
3165
3103
  if test "$lt_cv_ld_force_load" = "yes"; then
3166
3104
    _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
3167
 
    m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes],
3168
 
                  [FC],  [_LT_TAGVAR(compiler_needs_object, $1)=yes])
3169
3105
  else
3170
3106
    _LT_TAGVAR(whole_archive_flag_spec, $1)=''
3171
3107
  fi
3449
3385
    CFLAGS="$SAVE_CFLAGS"
3450
3386
  fi
3451
3387
  ;;
3452
 
*-*solaris*)
 
3388
sparc*-*solaris*)
3453
3389
  # Find out which ABI we are using.
3454
3390
  echo 'int i;' > conftest.$ac_ext
3455
3391
  if AC_TRY_EVAL(ac_compile); then
3456
3392
    case `/usr/bin/file conftest.o` in
3457
3393
    *64-bit*)
3458
3394
      case $lt_cv_prog_gnu_ld in
3459
 
      yes*)
3460
 
        case $host in
3461
 
        i?86-*-solaris*)
3462
 
          LD="${LD-ld} -m elf_x86_64"
3463
 
          ;;
3464
 
        sparc*-*-solaris*)
3465
 
          LD="${LD-ld} -m elf64_sparc"
3466
 
          ;;
3467
 
        esac
3468
 
        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
3469
 
        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
3470
 
          LD="${LD-ld}_sol2"
3471
 
        fi
3472
 
        ;;
 
3395
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
3473
3396
      *)
3474
3397
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
3475
3398
          LD="${LD-ld} -64"
3546
3469
if test -n "$RANLIB"; then
3547
3470
  case $host_os in
3548
3471
  openbsd*)
3549
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
 
3472
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
3550
3473
    ;;
3551
3474
  *)
3552
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
 
3475
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
3553
3476
    ;;
3554
3477
  esac
3555
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
 
3478
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
3556
3479
fi
3557
3480
 
3558
3481
case $host_os in
3732
3655
    lt_cv_sys_max_cmd_len=196608
3733
3656
    ;;
3734
3657
 
3735
 
  os2*)
3736
 
    # The test takes a long time on OS/2.
3737
 
    lt_cv_sys_max_cmd_len=8192
3738
 
    ;;
3739
 
 
3740
3658
  osf*)
3741
3659
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
3742
3660
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
3776
3694
      # If test is not a shell built-in, we'll probably end up computing a
3777
3695
      # maximum length that is only half of the actual maximum length, but
3778
3696
      # we can't tell.
3779
 
      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
 
3697
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
3780
3698
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
3781
3699
              test $i != 17 # 1/2 MB should be enough
3782
3700
      do
4322
4240
 
4323
4241
case $host_os in
4324
4242
aix3*)
4325
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
4243
  version_type=linux
4326
4244
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
4327
4245
  shlibpath_var=LIBPATH
4328
4246
 
4331
4249
  ;;
4332
4250
 
4333
4251
aix[[4-9]]*)
4334
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
4252
  version_type=linux
4335
4253
  need_lib_prefix=no
4336
4254
  need_version=no
4337
4255
  hardcode_into_libs=yes
4396
4314
  ;;
4397
4315
 
4398
4316
bsdi[[45]]*)
4399
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
4317
  version_type=linux
4400
4318
  need_version=no
4401
4319
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4402
4320
  soname_spec='${libname}${release}${shared_ext}$major'
4535
4453
  ;;
4536
4454
 
4537
4455
dgux*)
4538
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
4456
  version_type=linux
4539
4457
  need_lib_prefix=no
4540
4458
  need_version=no
4541
4459
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
4543
4461
  shlibpath_var=LD_LIBRARY_PATH
4544
4462
  ;;
4545
4463
 
 
4464
freebsd1*)
 
4465
  dynamic_linker=no
 
4466
  ;;
 
4467
 
4546
4468
freebsd* | dragonfly*)
4547
4469
  # DragonFly does not have aout.  When/if they implement a new
4548
4470
  # versioning mechanism, adjust this.
4550
4472
    objformat=`/usr/bin/objformat`
4551
4473
  else
4552
4474
    case $host_os in
4553
 
    freebsd[[23]].*) objformat=aout ;;
 
4475
    freebsd[[123]]*) objformat=aout ;;
4554
4476
    *) objformat=elf ;;
4555
4477
    esac
4556
4478
  fi
4568
4490
  esac
4569
4491
  shlibpath_var=LD_LIBRARY_PATH
4570
4492
  case $host_os in
4571
 
  freebsd2.*)
 
4493
  freebsd2*)
4572
4494
    shlibpath_overrides_runpath=yes
4573
4495
    ;;
4574
4496
  freebsd3.[[01]]* | freebsdelf3.[[01]]*)
4588
4510
  ;;
4589
4511
 
4590
4512
gnu*)
4591
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
4513
  version_type=linux
4592
4514
  need_lib_prefix=no
4593
4515
  need_version=no
4594
4516
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
4595
4517
  soname_spec='${libname}${release}${shared_ext}$major'
4596
4518
  shlibpath_var=LD_LIBRARY_PATH
4597
 
  shlibpath_overrides_runpath=no
4598
4519
  hardcode_into_libs=yes
4599
4520
  ;;
4600
4521
 
4601
4522
haiku*)
4602
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
4523
  version_type=linux
4603
4524
  need_lib_prefix=no
4604
4525
  need_version=no
4605
4526
  dynamic_linker="$host_os runtime_loader"
4660
4581
  ;;
4661
4582
 
4662
4583
interix[[3-9]]*)
4663
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
4584
  version_type=linux
4664
4585
  need_lib_prefix=no
4665
4586
  need_version=no
4666
4587
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
4676
4597
    nonstopux*) version_type=nonstopux ;;
4677
4598
    *)
4678
4599
        if test "$lt_cv_prog_gnu_ld" = yes; then
4679
 
                version_type=linux # correct to gnu/linux during the next big refactor
 
4600
                version_type=linux
4680
4601
        else
4681
4602
                version_type=irix
4682
4603
        fi ;;
4713
4634
  dynamic_linker=no
4714
4635
  ;;
4715
4636
 
4716
 
# This must be glibc/ELF.
 
4637
# This must be Linux ELF.
4717
4638
linux* | k*bsd*-gnu | kopensolaris*-gnu)
4718
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
4639
  version_type=linux
4719
4640
  need_lib_prefix=no
4720
4641
  need_version=no
4721
4642
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4782
4703
  ;;
4783
4704
 
4784
4705
newsos6)
4785
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
4706
  version_type=linux
4786
4707
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4787
4708
  shlibpath_var=LD_LIBRARY_PATH
4788
4709
  shlibpath_overrides_runpath=yes
4851
4772
  ;;
4852
4773
 
4853
4774
solaris*)
4854
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
4775
  version_type=linux
4855
4776
  need_lib_prefix=no
4856
4777
  need_version=no
4857
4778
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4876
4797
  ;;
4877
4798
 
4878
4799
sysv4 | sysv4.3*)
4879
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
4800
  version_type=linux
4880
4801
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4881
4802
  soname_spec='${libname}${release}${shared_ext}$major'
4882
4803
  shlibpath_var=LD_LIBRARY_PATH
4900
4821
 
4901
4822
sysv4*MP*)
4902
4823
  if test -d /usr/nec ;then
4903
 
    version_type=linux # correct to gnu/linux during the next big refactor
 
4824
    version_type=linux
4904
4825
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
4905
4826
    soname_spec='$libname${shared_ext}.$major'
4906
4827
    shlibpath_var=LD_LIBRARY_PATH
4931
4852
 
4932
4853
tpf*)
4933
4854
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
4934
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
4855
  version_type=linux
4935
4856
  need_lib_prefix=no
4936
4857
  need_version=no
4937
4858
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4941
4862
  ;;
4942
4863
 
4943
4864
uts4*)
4944
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
4865
  version_type=linux
4945
4866
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4946
4867
  soname_spec='${libname}${release}${shared_ext}$major'
4947
4868
  shlibpath_var=LD_LIBRARY_PATH
5363
5284
  lt_cv_deplibs_check_method=pass_all
5364
5285
  ;;
5365
5286
 
5366
 
# This must be glibc/ELF.
 
5287
# This must be Linux ELF.
5367
5288
linux* | k*bsd*-gnu | kopensolaris*-gnu)
5368
5289
  lt_cv_deplibs_check_method=pass_all
5369
5290
  ;;
5783
5704
    # which start with @ or ?.
5784
5705
    lt_cv_sys_global_symbol_pipe="$AWK ['"\
5785
5706
"     {last_section=section; section=\$ 3};"\
5786
 
"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5787
5707
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5788
5708
"     \$ 0!~/External *\|/{next};"\
5789
5709
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6368
6288
    case $cc_basename in
6369
6289
    nvcc*) # Cuda Compiler Driver 2.2
6370
6290
      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
6371
 
      if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
6372
 
        _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)"
6373
 
      fi
 
6291
      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Xcompiler -fPIC'
6374
6292
      ;;
6375
6293
    esac
6376
6294
  else
6462
6380
        ;;
6463
6381
      *)
6464
6382
        case `$CC -V 2>&1 | sed 5q` in
6465
 
        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*)
 
6383
        *Sun\ F* | *Sun*Fortran*)
6466
6384
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
6467
6385
          _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6468
6386
          _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6469
6387
          _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
6470
6388
          ;;
6471
 
        *Sun\ F* | *Sun*Fortran*)
6472
 
          _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6473
 
          _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6474
 
          _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
6475
 
          ;;
6476
6389
        *Sun\ C*)
6477
6390
          # Sun C 5.9
6478
6391
          _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6479
6392
          _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6480
6393
          _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6481
6394
          ;;
6482
 
        *Intel*\ [[CF]]*Compiler*)
6483
 
          _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6484
 
          _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
6485
 
          _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
6486
 
          ;;
6487
 
        *Portland\ Group*)
6488
 
          _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6489
 
          _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
6490
 
          _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6491
 
          ;;
6492
6395
        esac
6493
6396
        ;;
6494
6397
      esac
6648
6551
    ;;
6649
6552
  cygwin* | mingw* | cegcc*)
6650
6553
    case $cc_basename in
6651
 
    cl*)
6652
 
      _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
6653
 
      ;;
 
6554
    cl*) ;;
6654
6555
    *)
6655
6556
      _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
6656
6557
      _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
6675
6576
  _LT_TAGVAR(hardcode_direct, $1)=no
6676
6577
  _LT_TAGVAR(hardcode_direct_absolute, $1)=no
6677
6578
  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
 
6579
  _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
6678
6580
  _LT_TAGVAR(hardcode_libdir_separator, $1)=
6679
6581
  _LT_TAGVAR(hardcode_minus_L, $1)=no
6680
6582
  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
6925
6827
        xlf* | bgf* | bgxlf* | mpixlf*)
6926
6828
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
6927
6829
          _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
6928
 
          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
6830
          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
 
6831
          _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
6929
6832
          _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
6930
6833
          if test "x$supports_anon_versioning" = xyes; then
6931
6834
            _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
7220
7123
        # The linker will not automatically build a static lib if we build a DLL.
7221
7124
        # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
7222
7125
        _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
7223
 
        _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
7224
7126
        _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
7225
7127
        # Don't use ranlib
7226
7128
        _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
7267
7169
      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
7268
7170
      ;;
7269
7171
 
 
7172
    freebsd1*)
 
7173
      _LT_TAGVAR(ld_shlibs, $1)=no
 
7174
      ;;
 
7175
 
7270
7176
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7271
7177
    # support.  Future versions do this automatically, but an explicit c++rt0.o
7272
7178
    # does not break anything, and helps significantly (at the cost of a little
7279
7185
      ;;
7280
7186
 
7281
7187
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7282
 
    freebsd2.*)
 
7188
    freebsd2*)
7283
7189
      _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7284
7190
      _LT_TAGVAR(hardcode_direct, $1)=yes
7285
7191
      _LT_TAGVAR(hardcode_minus_L, $1)=yes
7318
7224
      fi
7319
7225
      if test "$with_gnu_ld" = no; then
7320
7226
        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
 
7227
        _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
7321
7228
        _LT_TAGVAR(hardcode_libdir_separator, $1)=:
7322
7229
        _LT_TAGVAR(hardcode_direct, $1)=yes
7323
7230
        _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
7759
7666
_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
7760
7667
    [Flag to hardcode $libdir into a binary during linking.
7761
7668
    This must work even if $libdir does not exist])
 
7669
_LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1],
 
7670
    [[If ld is used when linking, flag to hardcode $libdir into a binary
 
7671
    during linking.  This must work even if $libdir does not exist]])
7762
7672
_LT_TAGDECL([], [hardcode_libdir_separator], [1],
7763
7673
    [Whether we need a single "-rpath" flag with a separated argument])
7764
7674
_LT_TAGDECL([], [hardcode_direct], [0],
7912
7822
_LT_TAGVAR(hardcode_direct, $1)=no
7913
7823
_LT_TAGVAR(hardcode_direct_absolute, $1)=no
7914
7824
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
 
7825
_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
7915
7826
_LT_TAGVAR(hardcode_libdir_separator, $1)=
7916
7827
_LT_TAGVAR(hardcode_minus_L, $1)=no
7917
7828
_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
8281
8192
        esac
8282
8193
        ;;
8283
8194
 
8284
 
      freebsd2.*)
 
8195
      freebsd[[12]]*)
8285
8196
        # C++ shared libraries reported to be fairly broken before
8286
8197
        # switch to ELF
8287
8198
        _LT_TAGVAR(ld_shlibs, $1)=no
9042
8953
  }
9043
8954
};
9044
8955
_LT_EOF
9045
 
], [$1], [GO], [cat > conftest.$ac_ext <<_LT_EOF
9046
 
package foo
9047
 
func foo() {
9048
 
}
9049
 
_LT_EOF
9050
8956
])
9051
8957
 
9052
8958
_lt_libdeps_save_CFLAGS=$CFLAGS
9053
8959
case "$CC $CFLAGS " in #(
9054
8960
*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
9055
8961
*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
9056
 
*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
9057
8962
esac
9058
8963
 
9059
8964
dnl Parse the compiler output and extract the necessary
9250
9155
_LT_TAGVAR(hardcode_direct, $1)=no
9251
9156
_LT_TAGVAR(hardcode_direct_absolute, $1)=no
9252
9157
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
 
9158
_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
9253
9159
_LT_TAGVAR(hardcode_libdir_separator, $1)=
9254
9160
_LT_TAGVAR(hardcode_minus_L, $1)=no
9255
9161
_LT_TAGVAR(hardcode_automatic, $1)=no
9382
9288
_LT_TAGVAR(hardcode_direct, $1)=no
9383
9289
_LT_TAGVAR(hardcode_direct_absolute, $1)=no
9384
9290
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
 
9291
_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
9385
9292
_LT_TAGVAR(hardcode_libdir_separator, $1)=
9386
9293
_LT_TAGVAR(hardcode_minus_L, $1)=no
9387
9294
_LT_TAGVAR(hardcode_automatic, $1)=no
9564
9471
])# _LT_LANG_GCJ_CONFIG
9565
9472
 
9566
9473
 
9567
 
# _LT_LANG_GO_CONFIG([TAG])
9568
 
# --------------------------
9569
 
# Ensure that the configuration variables for the GNU Go compiler
9570
 
# are suitably defined.  These variables are subsequently used by _LT_CONFIG
9571
 
# to write the compiler configuration to `libtool'.
9572
 
m4_defun([_LT_LANG_GO_CONFIG],
9573
 
[AC_REQUIRE([LT_PROG_GO])dnl
9574
 
AC_LANG_SAVE
9575
 
 
9576
 
# Source file extension for Go test sources.
9577
 
ac_ext=go
9578
 
 
9579
 
# Object file extension for compiled Go test sources.
9580
 
objext=o
9581
 
_LT_TAGVAR(objext, $1)=$objext
9582
 
 
9583
 
# Code to be used in simple compile tests
9584
 
lt_simple_compile_test_code="package main; func main() { }"
9585
 
 
9586
 
# Code to be used in simple link tests
9587
 
lt_simple_link_test_code='package main; func main() { }'
9588
 
 
9589
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
9590
 
_LT_TAG_COMPILER
9591
 
 
9592
 
# save warnings/boilerplate of simple test code
9593
 
_LT_COMPILER_BOILERPLATE
9594
 
_LT_LINKER_BOILERPLATE
9595
 
 
9596
 
# Allow CC to be a program name with arguments.
9597
 
lt_save_CC=$CC
9598
 
lt_save_CFLAGS=$CFLAGS
9599
 
lt_save_GCC=$GCC
9600
 
GCC=yes
9601
 
CC=${GOC-"gccgo"}
9602
 
CFLAGS=$GOFLAGS
9603
 
compiler=$CC
9604
 
_LT_TAGVAR(compiler, $1)=$CC
9605
 
_LT_TAGVAR(LD, $1)="$LD"
9606
 
_LT_CC_BASENAME([$compiler])
9607
 
 
9608
 
# Go did not exist at the time GCC didn't implicitly link libc in.
9609
 
_LT_TAGVAR(archive_cmds_need_lc, $1)=no
9610
 
 
9611
 
_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
9612
 
_LT_TAGVAR(reload_flag, $1)=$reload_flag
9613
 
_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
9614
 
 
9615
 
if test -n "$compiler"; then
9616
 
  _LT_COMPILER_NO_RTTI($1)
9617
 
  _LT_COMPILER_PIC($1)
9618
 
  _LT_COMPILER_C_O($1)
9619
 
  _LT_COMPILER_FILE_LOCKS($1)
9620
 
  _LT_LINKER_SHLIBS($1)
9621
 
  _LT_LINKER_HARDCODE_LIBPATH($1)
9622
 
 
9623
 
  _LT_CONFIG($1)
9624
 
fi
9625
 
 
9626
 
AC_LANG_RESTORE
9627
 
 
9628
 
GCC=$lt_save_GCC
9629
 
CC=$lt_save_CC
9630
 
CFLAGS=$lt_save_CFLAGS
9631
 
])# _LT_LANG_GO_CONFIG
9632
 
 
9633
 
 
9634
9474
# _LT_LANG_RC_CONFIG([TAG])
9635
9475
# -------------------------
9636
9476
# Ensure that the configuration variables for the Windows resource compiler
9700
9540
dnl AC_DEFUN([LT_AC_PROG_GCJ], [])
9701
9541
 
9702
9542
 
9703
 
# LT_PROG_GO
9704
 
# ----------
9705
 
AC_DEFUN([LT_PROG_GO],
9706
 
[AC_CHECK_TOOL(GOC, gccgo,)
9707
 
])
9708
 
 
9709
 
 
9710
9543
# LT_PROG_RC
9711
9544
# ----------
9712
9545
AC_DEFUN([LT_PROG_RC],
10371
10204
# MODE is either `yes' or `no'.  If omitted, it defaults to `both'.
10372
10205
m4_define([_LT_WITH_PIC],
10373
10206
[AC_ARG_WITH([pic],
10374
 
    [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@],
 
10207
    [AS_HELP_STRING([--with-pic],
10375
10208
        [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
10376
 
    [lt_p=${PACKAGE-default}
10377
 
    case $withval in
10378
 
    yes|no) pic_mode=$withval ;;
10379
 
    *)
10380
 
      pic_mode=default
10381
 
      # Look at the argument we got.  We use all the common list separators.
10382
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10383
 
      for lt_pkg in $withval; do
10384
 
        IFS="$lt_save_ifs"
10385
 
        if test "X$lt_pkg" = "X$lt_p"; then
10386
 
          pic_mode=yes
10387
 
        fi
10388
 
      done
10389
 
      IFS="$lt_save_ifs"
10390
 
      ;;
10391
 
    esac],
 
10209
    [pic_mode="$withval"],
10392
10210
    [pic_mode=default])
10393
10211
 
10394
10212
test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
10560
10378
 
10561
10379
# @configure_input@
10562
10380
 
10563
 
# serial 3337 ltversion.m4
 
10381
# serial 3293 ltversion.m4
10564
10382
# This file is part of GNU Libtool
10565
10383
 
10566
 
m4_define([LT_PACKAGE_VERSION], [2.4.2])
10567
 
m4_define([LT_PACKAGE_REVISION], [1.3337])
 
10384
m4_define([LT_PACKAGE_VERSION], [2.4])
 
10385
m4_define([LT_PACKAGE_REVISION], [1.3293])
10568
10386
 
10569
10387
AC_DEFUN([LTVERSION_VERSION],
10570
 
[macro_version='2.4.2'
10571
 
macro_revision='1.3337'
 
10388
[macro_version='2.4'
 
10389
macro_revision='1.3293'
10572
10390
_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
10573
10391
_LT_DECL(, macro_revision, 0)
10574
10392
])
11406
11224
AC_SUBST([$1])dnl
11407
11225
])
11408
11226
 
11409
 
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
11410
 
# Foundation, Inc.
 
11227
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
11411
11228
#
11412
11229
# This file is free software; the Free Software Foundation
11413
11230
# gives unlimited permission to copy and/or distribute it,
11414
11231
# with or without modifications, as long as this notice is preserved.
11415
11232
 
11416
 
# serial 1
11417
 
 
11418
11233
# AM_AUTOMAKE_VERSION(VERSION)
11419
11234
# ----------------------------
11420
11235
# Automake X.Y traces this macro to ensure aclocal.m4 has been
11424
11239
[am__api_version='1.11'
11425
11240
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
11426
11241
dnl require some minimum version.  Point them to the right macro.
11427
 
m4_if([$1], [1.11.3], [],
 
11242
m4_if([$1], [1.11.1], [],
11428
11243
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
11429
11244
])
11430
11245
 
11440
11255
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
11441
11256
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
11442
11257
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
11443
 
[AM_AUTOMAKE_VERSION([1.11.3])dnl
 
11258
[AM_AUTOMAKE_VERSION([1.11.1])dnl
11444
11259
m4_ifndef([AC_AUTOCONF_VERSION],
11445
11260
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
11446
11261
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
11447
11262
 
11448
11263
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
11449
11264
 
11450
 
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
 
11265
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
11451
11266
#
11452
11267
# This file is free software; the Free Software Foundation
11453
11268
# gives unlimited permission to copy and/or distribute it,
11454
11269
# with or without modifications, as long as this notice is preserved.
11455
11270
 
11456
 
# serial 1
11457
 
 
11458
11271
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
11459
11272
# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
11460
11273
# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
11536
11349
Usually this means the macro was only invoked conditionally.]])
11537
11350
fi])])
11538
11351
 
11539
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
11540
 
# 2010, 2011 Free Software Foundation, Inc.
 
11352
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
 
11353
# Free Software Foundation, Inc.
11541
11354
#
11542
11355
# This file is free software; the Free Software Foundation
11543
11356
# gives unlimited permission to copy and/or distribute it,
11544
11357
# with or without modifications, as long as this notice is preserved.
11545
11358
 
11546
 
# serial 12
 
11359
# serial 10
11547
11360
 
11548
11361
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
11549
11362
# written in clear, in which case automake, when reading aclocal.m4,
11583
11396
  # instance it was reported that on HP-UX the gcc test will end up
11584
11397
  # making a dummy file named `D' -- because `-MD' means `put the output
11585
11398
  # in D'.
11586
 
  rm -rf conftest.dir
11587
11399
  mkdir conftest.dir
11588
11400
  # Copy depcomp to subdir because otherwise we won't find it if we're
11589
11401
  # using a relative directory.
11648
11460
        break
11649
11461
      fi
11650
11462
      ;;
11651
 
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
 
11463
    msvisualcpp | msvcmsys)
11652
11464
      # This compiler won't grok `-c -o', but also, the minuso test has
11653
11465
      # not run yet.  These depmodes are late enough in the game, and
11654
11466
      # so weak that their functioning should not be impacted.
11713
11525
if test "x$enable_dependency_tracking" != xno; then
11714
11526
  am_depcomp="$ac_aux_dir/depcomp"
11715
11527
  AMDEPBACKSLASH='\'
11716
 
  am__nodep='_no'
11717
11528
fi
11718
11529
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
11719
11530
AC_SUBST([AMDEPBACKSLASH])dnl
11720
11531
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
11721
 
AC_SUBST([am__nodep])dnl
11722
 
_AM_SUBST_NOTMAKE([am__nodep])dnl
11723
11532
])
11724
11533
 
11725
11534
# Generate code to set up dependency tracking.              -*- Autoconf -*-
11941
11750
done
11942
11751
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
11943
11752
 
11944
 
# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
11945
 
# Inc.
 
11753
# Copyright (C) 2001, 2003, 2005, 2008  Free Software Foundation, Inc.
11946
11754
#
11947
11755
# This file is free software; the Free Software Foundation
11948
11756
# gives unlimited permission to copy and/or distribute it,
11949
11757
# with or without modifications, as long as this notice is preserved.
11950
11758
 
11951
 
# serial 1
11952
 
 
11953
11759
# AM_PROG_INSTALL_SH
11954
11760
# ------------------
11955
11761
# Define $install_sh.
11989
11795
# Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
11990
11796
# From Jim Meyering
11991
11797
 
11992
 
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008,
11993
 
# 2011 Free Software Foundation, Inc.
 
11798
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
 
11799
# Free Software Foundation, Inc.
11994
11800
#
11995
11801
# This file is free software; the Free Software Foundation
11996
11802
# gives unlimited permission to copy and/or distribute it,
12010
11816
       [disable], [m4_define([am_maintainer_other], [enable])],
12011
11817
       [m4_define([am_maintainer_other], [enable])
12012
11818
        m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
12013
 
AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
 
11819
AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
12014
11820
  dnl maintainer-mode's default is 'disable' unless 'enable' is passed
12015
11821
  AC_ARG_ENABLE([maintainer-mode],
12016
11822
[  --][am_maintainer_other][-maintainer-mode  am_maintainer_other make rules and dependencies not useful
12121
11927
fi
12122
11928
])
12123
11929
 
12124
 
# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
12125
 
# Inc.
 
11930
# Copyright (C) 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
12126
11931
#
12127
11932
# This file is free software; the Free Software Foundation
12128
11933
# gives unlimited permission to copy and/or distribute it,
12129
11934
# with or without modifications, as long as this notice is preserved.
12130
11935
 
12131
 
# serial 1
12132
 
 
12133
11936
# AM_PROG_MKDIR_P
12134
11937
# ---------------
12135
11938
# Check for `mkdir -p'.
12152
11955
 
12153
11956
# Helper functions for option handling.                     -*- Autoconf -*-
12154
11957
 
12155
 
# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
12156
 
# Foundation, Inc.
 
11958
# Copyright (C) 2001, 2002, 2003, 2005, 2008  Free Software Foundation, Inc.
12157
11959
#
12158
11960
# This file is free software; the Free Software Foundation
12159
11961
# gives unlimited permission to copy and/or distribute it,
12160
11962
# with or without modifications, as long as this notice is preserved.
12161
11963
 
12162
 
# serial 5
 
11964
# serial 4
12163
11965
 
12164
11966
# _AM_MANGLE_OPTION(NAME)
12165
11967
# -----------------------
12167
11969
[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
12168
11970
 
12169
11971
# _AM_SET_OPTION(NAME)
12170
 
# --------------------
 
11972
# ------------------------------
12171
11973
# Set option NAME.  Presently that only means defining a flag for this option.
12172
11974
AC_DEFUN([_AM_SET_OPTION],
12173
11975
[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
12174
11976
 
12175
11977
# _AM_SET_OPTIONS(OPTIONS)
12176
 
# ------------------------
 
11978
# ----------------------------------
12177
11979
# OPTIONS is a space-separated list of Automake options.
12178
11980
AC_DEFUN([_AM_SET_OPTIONS],
12179
11981
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
12249
12051
fi
12250
12052
AC_MSG_RESULT(yes)])
12251
12053
 
12252
 
# Copyright (C) 2009, 2011  Free Software Foundation, Inc.
 
12054
# Copyright (C) 2009  Free Software Foundation, Inc.
12253
12055
#
12254
12056
# This file is free software; the Free Software Foundation
12255
12057
# gives unlimited permission to copy and/or distribute it,
12256
12058
# with or without modifications, as long as this notice is preserved.
12257
12059
 
12258
 
# serial 2
 
12060
# serial 1
12259
12061
 
12260
12062
# AM_SILENT_RULES([DEFAULT])
12261
12063
# --------------------------
12270
12072
no)  AM_DEFAULT_VERBOSITY=1;;
12271
12073
*)   AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
12272
12074
esac
12273
 
dnl
12274
 
dnl A few `make' implementations (e.g., NonStop OS and NextStep)
12275
 
dnl do not support nested variable expansions.
12276
 
dnl See automake bug#9928 and bug#10237.
12277
 
am_make=${MAKE-make}
12278
 
AC_CACHE_CHECK([whether $am_make supports nested variables],
12279
 
   [am_cv_make_support_nested_variables],
12280
 
   [if AS_ECHO([['TRUE=$(BAR$(V))
12281
 
BAR0=false
12282
 
BAR1=true
12283
 
V=1
12284
 
am__doit:
12285
 
        @$(TRUE)
12286
 
.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
12287
 
  am_cv_make_support_nested_variables=yes
12288
 
else
12289
 
  am_cv_make_support_nested_variables=no
12290
 
fi])
12291
 
if test $am_cv_make_support_nested_variables = yes; then
12292
 
  dnl Using `$V' instead of `$(V)' breaks IRIX make.
12293
 
  AM_V='$(V)'
12294
 
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
12295
 
else
12296
 
  AM_V=$AM_DEFAULT_VERBOSITY
12297
 
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
12298
 
fi
12299
 
AC_SUBST([AM_V])dnl
12300
 
AM_SUBST_NOTMAKE([AM_V])dnl
12301
 
AC_SUBST([AM_DEFAULT_V])dnl
12302
 
AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
12303
12075
AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
12304
12076
AM_BACKSLASH='\'
12305
12077
AC_SUBST([AM_BACKSLASH])dnl
12306
12078
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
12307
12079
])
12308
12080
 
12309
 
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
 
12081
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
12310
12082
#
12311
12083
# This file is free software; the Free Software Foundation
12312
12084
# gives unlimited permission to copy and/or distribute it,
12313
12085
# with or without modifications, as long as this notice is preserved.
12314
12086
 
12315
 
# serial 1
12316
 
 
12317
12087
# AM_PROG_INSTALL_STRIP
12318
12088
# ---------------------
12319
12089
# One issue with vendor `install' (even GNU) is that you can't
12336
12106
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
12337
12107
AC_SUBST([INSTALL_STRIP_PROGRAM])])
12338
12108
 
12339
 
# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
 
12109
# Copyright (C) 2006, 2008  Free Software Foundation, Inc.
12340
12110
#
12341
12111
# This file is free software; the Free Software Foundation
12342
12112
# gives unlimited permission to copy and/or distribute it,
12343
12113
# with or without modifications, as long as this notice is preserved.
12344
12114
 
12345
 
# serial 3
 
12115
# serial 2
12346
12116
 
12347
12117
# _AM_SUBST_NOTMAKE(VARIABLE)
12348
12118
# ---------------------------
12351
12121
AC_DEFUN([_AM_SUBST_NOTMAKE])
12352
12122
 
12353
12123
# AM_SUBST_NOTMAKE(VARIABLE)
12354
 
# --------------------------
 
12124
# ---------------------------
12355
12125
# Public sister of _AM_SUBST_NOTMAKE.
12356
12126
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
12357
12127
 
12358
12128
# Check how to create a tarball.                            -*- Autoconf -*-
12359
12129
 
12360
 
# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
 
12130
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.
12361
12131
#
12362
12132
# This file is free software; the Free Software Foundation
12363
12133
# gives unlimited permission to copy and/or distribute it,
12379
12149
# a tarball read from stdin.
12380
12150
#     $(am__untar) < result.tar
12381
12151
AC_DEFUN([_AM_PROG_TAR],
12382
 
[# Always define AMTAR for backward compatibility.  Yes, it's still used
12383
 
# in the wild :-(  We should find a proper way to deprecate it ...
12384
 
AC_SUBST([AMTAR], ['$${TAR-tar}'])
 
12152
[# Always define AMTAR for backward compatibility.
 
12153
AM_MISSING_PROG([AMTAR], [tar])
12385
12154
m4_if([$1], [v7],
12386
 
     [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
 
12155
     [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
12387
12156
     [m4_case([$1], [ustar],, [pax],,
12388
12157
              [m4_fatal([Unknown tar format])])
12389
12158
AC_MSG_CHECKING([how to create a $1 tar archive])