~ubuntu-branches/ubuntu/utopic/trousers/utopic

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Package Import Robot
  • Author(s): Pierre Chifflier
  • Date: 2012-11-10 17:04:44 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20121110170444-yvoa372npyp02mwr
Tags: 0.3.10-1
* Imported Upstream version 0.3.10
* Update symbols file
* Force build of tools

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
 
1
# generated automatically by aclocal 1.11.6 -*- Autoconf -*-
2
2
 
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
 
# 2005, 2006, 2007, 2008, 2009  Free Software Foundation, Inc.
 
4
# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
 
5
# Inc.
5
6
# This file is free software; the Free Software Foundation
6
7
# gives unlimited permission to copy and/or distribute it,
7
8
# with or without modifications, as long as this notice is preserved.
22
23
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
23
24
#
24
25
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
25
 
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
26
 
#                 Inc.
 
26
#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
 
27
#                 Foundation, Inc.
27
28
#   Written by Gordon Matzigkeit, 1996
28
29
#
29
30
# This file is free software; the Free Software Foundation gives
32
33
 
33
34
m4_define([_LT_COPYING], [dnl
34
35
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
35
 
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
36
 
#                 Inc.
 
36
#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
 
37
#                 Foundation, Inc.
37
38
#   Written by Gordon Matzigkeit, 1996
38
39
#
39
40
#   This file is part of GNU Libtool.
167
168
AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
168
169
AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
169
170
 
 
171
_LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl
 
172
dnl
170
173
_LT_DECL([], [host_alias], [0], [The host system])dnl
171
174
_LT_DECL([], [host], [0])dnl
172
175
_LT_DECL([], [host_os], [0])dnl
652
655
m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
653
656
configured by $[0], generated by m4_PACKAGE_STRING.
654
657
 
655
 
Copyright (C) 2010 Free Software Foundation, Inc.
 
658
Copyright (C) 2011 Free Software Foundation, Inc.
656
659
This config.lt script is free software; the Free Software Foundation
657
660
gives unlimited permision to copy, distribute and modify it."
658
661
 
816
819
m4_case([$1],
817
820
  [C],                  [_LT_LANG(C)],
818
821
  [C++],                [_LT_LANG(CXX)],
 
822
  [Go],                 [_LT_LANG(GO)],
819
823
  [Java],               [_LT_LANG(GCJ)],
820
824
  [Fortran 77],         [_LT_LANG(F77)],
821
825
  [Fortran],            [_LT_LANG(FC)],
837
841
])# _LT_LANG
838
842
 
839
843
 
 
844
m4_ifndef([AC_PROG_GO], [
 
845
# NOTE: This macro has been submitted for inclusion into   #
 
846
#  GNU Autoconf as AC_PROG_GO.  When it is available in    #
 
847
#  a released version of Autoconf we should remove this    #
 
848
#  macro and use it instead.                               #
 
849
m4_defun([AC_PROG_GO],
 
850
[AC_LANG_PUSH(Go)dnl
 
851
AC_ARG_VAR([GOC],     [Go compiler command])dnl
 
852
AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl
 
853
_AC_ARG_VAR_LDFLAGS()dnl
 
854
AC_CHECK_TOOL(GOC, gccgo)
 
855
if test -z "$GOC"; then
 
856
  if test -n "$ac_tool_prefix"; then
 
857
    AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo])
 
858
  fi
 
859
fi
 
860
if test -z "$GOC"; then
 
861
  AC_CHECK_PROG(GOC, gccgo, gccgo, false)
 
862
fi
 
863
])#m4_defun
 
864
])#m4_ifndef
 
865
 
 
866
 
840
867
# _LT_LANG_DEFAULT_CONFIG
841
868
# -----------------------
842
869
m4_defun([_LT_LANG_DEFAULT_CONFIG],
867
894
       m4_ifdef([LT_PROG_GCJ],
868
895
        [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
869
896
 
 
897
AC_PROVIDE_IFELSE([AC_PROG_GO],
 
898
  [LT_LANG(GO)],
 
899
  [m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])])
 
900
 
870
901
AC_PROVIDE_IFELSE([LT_PROG_RC],
871
902
  [LT_LANG(RC)],
872
903
  [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
969
1000
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
970
1001
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
971
1002
        _lt_result=$?
972
 
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
1003
        # If there is a non-empty error log, and "single_module"
 
1004
        # appears in it, assume the flag caused a linker warning
 
1005
        if test -s conftest.err && $GREP single_module conftest.err; then
 
1006
          cat conftest.err >&AS_MESSAGE_LOG_FD
 
1007
        # Otherwise, if the output was created with a 0 exit code from
 
1008
        # the compiler, it worked.
 
1009
        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
973
1010
          lt_cv_apple_cc_single_mod=yes
974
1011
        else
975
1012
          cat conftest.err >&AS_MESSAGE_LOG_FD
977
1014
        rm -rf libconftest.dylib*
978
1015
        rm -f conftest.*
979
1016
      fi])
 
1017
 
980
1018
    AC_CACHE_CHECK([for -exported_symbols_list linker flag],
981
1019
      [lt_cv_ld_exported_symbols_list],
982
1020
      [lt_cv_ld_exported_symbols_list=no
988
1026
        [lt_cv_ld_exported_symbols_list=no])
989
1027
        LDFLAGS="$save_LDFLAGS"
990
1028
    ])
 
1029
 
991
1030
    AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
992
1031
      [lt_cv_ld_force_load=no
993
1032
      cat > conftest.c << _LT_EOF
1005
1044
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD
1006
1045
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
1007
1046
      _lt_result=$?
1008
 
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
 
1047
      if test -s conftest.err && $GREP force_load conftest.err; then
 
1048
        cat conftest.err >&AS_MESSAGE_LOG_FD
 
1049
      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
1009
1050
        lt_cv_ld_force_load=yes
1010
1051
      else
1011
1052
        cat conftest.err >&AS_MESSAGE_LOG_FD
1050
1091
])
1051
1092
 
1052
1093
 
1053
 
# _LT_DARWIN_LINKER_FEATURES
1054
 
# --------------------------
 
1094
# _LT_DARWIN_LINKER_FEATURES([TAG])
 
1095
# ---------------------------------
1055
1096
# Checks for linker and compiler features on darwin
1056
1097
m4_defun([_LT_DARWIN_LINKER_FEATURES],
1057
1098
[
1062
1103
  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
1063
1104
  if test "$lt_cv_ld_force_load" = "yes"; then
1064
1105
    _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\"`'
 
1106
    m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes],
 
1107
                  [FC],  [_LT_TAGVAR(compiler_needs_object, $1)=yes])
1065
1108
  else
1066
1109
    _LT_TAGVAR(whole_archive_flag_spec, $1)=''
1067
1110
  fi
1345
1388
    CFLAGS="$SAVE_CFLAGS"
1346
1389
  fi
1347
1390
  ;;
1348
 
sparc*-*solaris*)
 
1391
*-*solaris*)
1349
1392
  # Find out which ABI we are using.
1350
1393
  echo 'int i;' > conftest.$ac_ext
1351
1394
  if AC_TRY_EVAL(ac_compile); then
1352
1395
    case `/usr/bin/file conftest.o` in
1353
1396
    *64-bit*)
1354
1397
      case $lt_cv_prog_gnu_ld in
1355
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
1398
      yes*)
 
1399
        case $host in
 
1400
        i?86-*-solaris*)
 
1401
          LD="${LD-ld} -m elf_x86_64"
 
1402
          ;;
 
1403
        sparc*-*-solaris*)
 
1404
          LD="${LD-ld} -m elf64_sparc"
 
1405
          ;;
 
1406
        esac
 
1407
        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
 
1408
        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
 
1409
          LD="${LD-ld}_sol2"
 
1410
        fi
 
1411
        ;;
1356
1412
      *)
1357
1413
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
1358
1414
          LD="${LD-ld} -64"
1429
1485
if test -n "$RANLIB"; then
1430
1486
  case $host_os in
1431
1487
  openbsd*)
1432
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
1488
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
1433
1489
    ;;
1434
1490
  *)
1435
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
1491
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
1436
1492
    ;;
1437
1493
  esac
1438
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
1494
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
1439
1495
fi
1440
1496
 
1441
1497
case $host_os in
1615
1671
    lt_cv_sys_max_cmd_len=196608
1616
1672
    ;;
1617
1673
 
 
1674
  os2*)
 
1675
    # The test takes a long time on OS/2.
 
1676
    lt_cv_sys_max_cmd_len=8192
 
1677
    ;;
 
1678
 
1618
1679
  osf*)
1619
1680
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
1620
1681
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
1654
1715
      # If test is not a shell built-in, we'll probably end up computing a
1655
1716
      # maximum length that is only half of the actual maximum length, but
1656
1717
      # we can't tell.
1657
 
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
 
1718
      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
1658
1719
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
1659
1720
              test $i != 17 # 1/2 MB should be enough
1660
1721
      do
2200
2261
 
2201
2262
case $host_os in
2202
2263
aix3*)
2203
 
  version_type=linux
 
2264
  version_type=linux # correct to gnu/linux during the next big refactor
2204
2265
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
2205
2266
  shlibpath_var=LIBPATH
2206
2267
 
2209
2270
  ;;
2210
2271
 
2211
2272
aix[[4-9]]*)
2212
 
  version_type=linux
 
2273
  version_type=linux # correct to gnu/linux during the next big refactor
2213
2274
  need_lib_prefix=no
2214
2275
  need_version=no
2215
2276
  hardcode_into_libs=yes
2274
2335
  ;;
2275
2336
 
2276
2337
bsdi[[45]]*)
2277
 
  version_type=linux
 
2338
  version_type=linux # correct to gnu/linux during the next big refactor
2278
2339
  need_version=no
2279
2340
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2280
2341
  soname_spec='${libname}${release}${shared_ext}$major'
2413
2474
  ;;
2414
2475
 
2415
2476
dgux*)
2416
 
  version_type=linux
 
2477
  version_type=linux # correct to gnu/linux during the next big refactor
2417
2478
  need_lib_prefix=no
2418
2479
  need_version=no
2419
2480
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
2421
2482
  shlibpath_var=LD_LIBRARY_PATH
2422
2483
  ;;
2423
2484
 
2424
 
freebsd1*)
2425
 
  dynamic_linker=no
2426
 
  ;;
2427
 
 
2428
2485
freebsd* | dragonfly*)
2429
2486
  # DragonFly does not have aout.  When/if they implement a new
2430
2487
  # versioning mechanism, adjust this.
2432
2489
    objformat=`/usr/bin/objformat`
2433
2490
  else
2434
2491
    case $host_os in
2435
 
    freebsd[[123]]*) objformat=aout ;;
 
2492
    freebsd[[23]].*) objformat=aout ;;
2436
2493
    *) objformat=elf ;;
2437
2494
    esac
2438
2495
  fi
2450
2507
  esac
2451
2508
  shlibpath_var=LD_LIBRARY_PATH
2452
2509
  case $host_os in
2453
 
  freebsd2*)
 
2510
  freebsd2.*)
2454
2511
    shlibpath_overrides_runpath=yes
2455
2512
    ;;
2456
2513
  freebsd3.[[01]]* | freebsdelf3.[[01]]*)
2470
2527
  ;;
2471
2528
 
2472
2529
gnu*)
2473
 
  version_type=linux
 
2530
  version_type=linux # correct to gnu/linux during the next big refactor
2474
2531
  need_lib_prefix=no
2475
2532
  need_version=no
2476
2533
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
2481
2538
  ;;
2482
2539
 
2483
2540
haiku*)
2484
 
  version_type=linux
 
2541
  version_type=linux # correct to gnu/linux during the next big refactor
2485
2542
  need_lib_prefix=no
2486
2543
  need_version=no
2487
2544
  dynamic_linker="$host_os runtime_loader"
2542
2599
  ;;
2543
2600
 
2544
2601
interix[[3-9]]*)
2545
 
  version_type=linux
 
2602
  version_type=linux # correct to gnu/linux during the next big refactor
2546
2603
  need_lib_prefix=no
2547
2604
  need_version=no
2548
2605
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2558
2615
    nonstopux*) version_type=nonstopux ;;
2559
2616
    *)
2560
2617
        if test "$lt_cv_prog_gnu_ld" = yes; then
2561
 
                version_type=linux
 
2618
                version_type=linux # correct to gnu/linux during the next big refactor
2562
2619
        else
2563
2620
                version_type=irix
2564
2621
        fi ;;
2595
2652
  dynamic_linker=no
2596
2653
  ;;
2597
2654
 
2598
 
# This must be Linux ELF.
 
2655
# This must be glibc/ELF.
2599
2656
linux* | k*bsd*-gnu | kopensolaris*-gnu)
2600
 
  version_type=linux
 
2657
  version_type=linux # correct to gnu/linux during the next big refactor
2601
2658
  need_lib_prefix=no
2602
2659
  need_version=no
2603
2660
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2626
2683
  # before this can be enabled.
2627
2684
  hardcode_into_libs=yes
2628
2685
 
 
2686
  # Add ABI-specific directories to the system library path.
 
2687
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
 
2688
 
2629
2689
  # Append ld.so.conf contents to the search path
2630
2690
  if test -f /etc/ld.so.conf; then
2631
2691
    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;s/"//g;/^$/d' | tr '\n' ' '`
2632
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
2692
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
 
2693
 
2633
2694
  fi
2634
2695
 
2635
2696
  # We used to test for /lib/ld.so.1 and disable shared libraries on
2641
2702
  dynamic_linker='GNU/Linux ld.so'
2642
2703
  ;;
2643
2704
 
2644
 
netbsdelf*-gnu)
2645
 
  version_type=linux
2646
 
  need_lib_prefix=no
2647
 
  need_version=no
2648
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2649
 
  soname_spec='${libname}${release}${shared_ext}$major'
2650
 
  shlibpath_var=LD_LIBRARY_PATH
2651
 
  shlibpath_overrides_runpath=no
2652
 
  hardcode_into_libs=yes
2653
 
  dynamic_linker='NetBSD ld.elf_so'
2654
 
  ;;
2655
 
 
2656
2705
netbsd*)
2657
2706
  version_type=sunos
2658
2707
  need_lib_prefix=no
2672
2721
  ;;
2673
2722
 
2674
2723
newsos6)
2675
 
  version_type=linux
 
2724
  version_type=linux # correct to gnu/linux during the next big refactor
2676
2725
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2677
2726
  shlibpath_var=LD_LIBRARY_PATH
2678
2727
  shlibpath_overrides_runpath=yes
2741
2790
  ;;
2742
2791
 
2743
2792
solaris*)
2744
 
  version_type=linux
 
2793
  version_type=linux # correct to gnu/linux during the next big refactor
2745
2794
  need_lib_prefix=no
2746
2795
  need_version=no
2747
2796
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2766
2815
  ;;
2767
2816
 
2768
2817
sysv4 | sysv4.3*)
2769
 
  version_type=linux
 
2818
  version_type=linux # correct to gnu/linux during the next big refactor
2770
2819
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2771
2820
  soname_spec='${libname}${release}${shared_ext}$major'
2772
2821
  shlibpath_var=LD_LIBRARY_PATH
2790
2839
 
2791
2840
sysv4*MP*)
2792
2841
  if test -d /usr/nec ;then
2793
 
    version_type=linux
 
2842
    version_type=linux # correct to gnu/linux during the next big refactor
2794
2843
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
2795
2844
    soname_spec='$libname${shared_ext}.$major'
2796
2845
    shlibpath_var=LD_LIBRARY_PATH
2821
2870
 
2822
2871
tpf*)
2823
2872
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
2824
 
  version_type=linux
 
2873
  version_type=linux # correct to gnu/linux during the next big refactor
2825
2874
  need_lib_prefix=no
2826
2875
  need_version=no
2827
2876
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2831
2880
  ;;
2832
2881
 
2833
2882
uts4*)
2834
 
  version_type=linux
 
2883
  version_type=linux # correct to gnu/linux during the next big refactor
2835
2884
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2836
2885
  soname_spec='${libname}${release}${shared_ext}$major'
2837
2886
  shlibpath_var=LD_LIBRARY_PATH
3253
3302
  lt_cv_deplibs_check_method=pass_all
3254
3303
  ;;
3255
3304
 
3256
 
# This must be Linux ELF.
 
3305
# This must be glibc/ELF.
3257
3306
linux* | k*bsd*-gnu | kopensolaris*-gnu)
3258
3307
  lt_cv_deplibs_check_method=pass_all
3259
3308
  ;;
3260
3309
 
3261
 
netbsd* | netbsdelf*-gnu)
 
3310
netbsd*)
3262
3311
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3263
3312
    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3264
3313
  else
3673
3722
    # which start with @ or ?.
3674
3723
    lt_cv_sys_global_symbol_pipe="$AWK ['"\
3675
3724
"     {last_section=section; section=\$ 3};"\
 
3725
"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
3676
3726
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
3677
3727
"     \$ 0!~/External *\|/{next};"\
3678
3728
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
4069
4119
            ;;
4070
4120
        esac
4071
4121
        ;;
4072
 
      netbsd* | netbsdelf*-gnu)
 
4122
      netbsd*)
4073
4123
        ;;
4074
4124
      *qnx* | *nto*)
4075
4125
        # QNX uses GNU C++, but need to define -shared option too, otherwise
4257
4307
    case $cc_basename in
4258
4308
    nvcc*) # Cuda Compiler Driver 2.2
4259
4309
      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
4260
 
      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Xcompiler -fPIC'
 
4310
      if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
 
4311
        _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)"
 
4312
      fi
4261
4313
      ;;
4262
4314
    esac
4263
4315
  else
4349
4401
        ;;
4350
4402
      *)
4351
4403
        case `$CC -V 2>&1 | sed 5q` in
4352
 
        *Sun\ F* | *Sun*Fortran*)
 
4404
        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*)
4353
4405
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
4354
4406
          _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4355
4407
          _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4356
4408
          _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
4357
4409
          ;;
 
4410
        *Sun\ F* | *Sun*Fortran*)
 
4411
          _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
4412
          _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
4413
          _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
 
4414
          ;;
4358
4415
        *Sun\ C*)
4359
4416
          # Sun C 5.9
4360
4417
          _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4361
4418
          _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4362
4419
          _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4363
4420
          ;;
 
4421
        *Intel*\ [[CF]]*Compiler*)
 
4422
          _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
4423
          _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 
4424
          _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
 
4425
          ;;
 
4426
        *Portland\ Group*)
 
4427
          _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
4428
          _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
 
4429
          _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
4430
          ;;
4364
4431
        esac
4365
4432
        ;;
4366
4433
      esac
4520
4587
    ;;
4521
4588
  cygwin* | mingw* | cegcc*)
4522
4589
    case $cc_basename in
4523
 
    cl*) ;;
 
4590
    cl*)
 
4591
      _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
 
4592
      ;;
4524
4593
    *)
4525
4594
      _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'
4526
4595
      _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
4527
4596
      ;;
4528
4597
    esac
4529
4598
    ;;
4530
 
  linux* | k*bsd*-gnu | gnu*)
4531
 
    _LT_TAGVAR(link_all_deplibs, $1)=no
4532
 
    ;;
4533
4599
  *)
4534
4600
    _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
4535
4601
    ;;
4548
4614
  _LT_TAGVAR(hardcode_direct, $1)=no
4549
4615
  _LT_TAGVAR(hardcode_direct_absolute, $1)=no
4550
4616
  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
4551
 
  _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
4552
4617
  _LT_TAGVAR(hardcode_libdir_separator, $1)=
4553
4618
  _LT_TAGVAR(hardcode_minus_L, $1)=no
4554
4619
  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
4593
4658
  openbsd*)
4594
4659
    with_gnu_ld=no
4595
4660
    ;;
4596
 
  linux* | k*bsd*-gnu | gnu*)
4597
 
    _LT_TAGVAR(link_all_deplibs, $1)=no
4598
 
    ;;
4599
4661
  esac
4600
4662
 
4601
4663
  _LT_TAGVAR(ld_shlibs, $1)=yes
4802
4864
        xlf* | bgf* | bgxlf* | mpixlf*)
4803
4865
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
4804
4866
          _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
4805
 
          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
4806
 
          _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
 
4867
          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
4807
4868
          _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
4808
4869
          if test "x$supports_anon_versioning" = xyes; then
4809
4870
            _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
4818
4879
      fi
4819
4880
      ;;
4820
4881
 
4821
 
    netbsd* | netbsdelf*-gnu)
 
4882
    netbsd*)
4822
4883
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
4823
4884
        _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
4824
4885
        wlarc=
4995
5056
        if test "$aix_use_runtimelinking" = yes; then
4996
5057
          shared_flag="$shared_flag "'${wl}-G'
4997
5058
        fi
4998
 
        _LT_TAGVAR(link_all_deplibs, $1)=no
4999
5059
      else
5000
5060
        # not using gcc
5001
5061
        if test "$host_cpu" = ia64; then
5099
5159
        # The linker will not automatically build a static lib if we build a DLL.
5100
5160
        # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
5101
5161
        _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
 
5162
        _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
5102
5163
        _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'
5103
5164
        # Don't use ranlib
5104
5165
        _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
5145
5206
      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5146
5207
      ;;
5147
5208
 
5148
 
    freebsd1*)
5149
 
      _LT_TAGVAR(ld_shlibs, $1)=no
5150
 
      ;;
5151
 
 
5152
5209
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
5153
5210
    # support.  Future versions do this automatically, but an explicit c++rt0.o
5154
5211
    # does not break anything, and helps significantly (at the cost of a little
5161
5218
      ;;
5162
5219
 
5163
5220
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
5164
 
    freebsd2*)
 
5221
    freebsd2.*)
5165
5222
      _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5166
5223
      _LT_TAGVAR(hardcode_direct, $1)=yes
5167
5224
      _LT_TAGVAR(hardcode_minus_L, $1)=yes
5200
5257
      fi
5201
5258
      if test "$with_gnu_ld" = no; then
5202
5259
        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
5203
 
        _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
5204
5260
        _LT_TAGVAR(hardcode_libdir_separator, $1)=:
5205
5261
        _LT_TAGVAR(hardcode_direct, $1)=yes
5206
5262
        _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
5304
5360
      _LT_TAGVAR(link_all_deplibs, $1)=yes
5305
5361
      ;;
5306
5362
 
5307
 
    netbsd* | netbsdelf*-gnu)
 
5363
    netbsd*)
5308
5364
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
5309
5365
        _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
5310
5366
      else
5642
5698
_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
5643
5699
    [Flag to hardcode $libdir into a binary during linking.
5644
5700
    This must work even if $libdir does not exist])
5645
 
_LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1],
5646
 
    [[If ld is used when linking, flag to hardcode $libdir into a binary
5647
 
    during linking.  This must work even if $libdir does not exist]])
5648
5701
_LT_TAGDECL([], [hardcode_libdir_separator], [1],
5649
5702
    [Whether we need a single "-rpath" flag with a separated argument])
5650
5703
_LT_TAGDECL([], [hardcode_direct], [0],
5798
5851
_LT_TAGVAR(hardcode_direct, $1)=no
5799
5852
_LT_TAGVAR(hardcode_direct_absolute, $1)=no
5800
5853
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
5801
 
_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
5802
5854
_LT_TAGVAR(hardcode_libdir_separator, $1)=
5803
5855
_LT_TAGVAR(hardcode_minus_L, $1)=no
5804
5856
_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
6168
6220
        esac
6169
6221
        ;;
6170
6222
 
6171
 
      freebsd[[12]]*)
 
6223
      freebsd2.*)
6172
6224
        # C++ shared libraries reported to be fairly broken before
6173
6225
        # switch to ELF
6174
6226
        _LT_TAGVAR(ld_shlibs, $1)=no
6929
6981
  }
6930
6982
};
6931
6983
_LT_EOF
 
6984
], [$1], [GO], [cat > conftest.$ac_ext <<_LT_EOF
 
6985
package foo
 
6986
func foo() {
 
6987
}
 
6988
_LT_EOF
6932
6989
])
6933
6990
 
6934
6991
_lt_libdeps_save_CFLAGS=$CFLAGS
6935
6992
case "$CC $CFLAGS " in #(
6936
6993
*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
6937
6994
*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
 
6995
*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
6938
6996
esac
6939
6997
 
6940
6998
dnl Parse the compiler output and extract the necessary
7131
7189
_LT_TAGVAR(hardcode_direct, $1)=no
7132
7190
_LT_TAGVAR(hardcode_direct_absolute, $1)=no
7133
7191
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
7134
 
_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
7135
7192
_LT_TAGVAR(hardcode_libdir_separator, $1)=
7136
7193
_LT_TAGVAR(hardcode_minus_L, $1)=no
7137
7194
_LT_TAGVAR(hardcode_automatic, $1)=no
7264
7321
_LT_TAGVAR(hardcode_direct, $1)=no
7265
7322
_LT_TAGVAR(hardcode_direct_absolute, $1)=no
7266
7323
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
7267
 
_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
7268
7324
_LT_TAGVAR(hardcode_libdir_separator, $1)=
7269
7325
_LT_TAGVAR(hardcode_minus_L, $1)=no
7270
7326
_LT_TAGVAR(hardcode_automatic, $1)=no
7447
7503
])# _LT_LANG_GCJ_CONFIG
7448
7504
 
7449
7505
 
 
7506
# _LT_LANG_GO_CONFIG([TAG])
 
7507
# --------------------------
 
7508
# Ensure that the configuration variables for the GNU Go compiler
 
7509
# are suitably defined.  These variables are subsequently used by _LT_CONFIG
 
7510
# to write the compiler configuration to `libtool'.
 
7511
m4_defun([_LT_LANG_GO_CONFIG],
 
7512
[AC_REQUIRE([LT_PROG_GO])dnl
 
7513
AC_LANG_SAVE
 
7514
 
 
7515
# Source file extension for Go test sources.
 
7516
ac_ext=go
 
7517
 
 
7518
# Object file extension for compiled Go test sources.
 
7519
objext=o
 
7520
_LT_TAGVAR(objext, $1)=$objext
 
7521
 
 
7522
# Code to be used in simple compile tests
 
7523
lt_simple_compile_test_code="package main; func main() { }"
 
7524
 
 
7525
# Code to be used in simple link tests
 
7526
lt_simple_link_test_code='package main; func main() { }'
 
7527
 
 
7528
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
7529
_LT_TAG_COMPILER
 
7530
 
 
7531
# save warnings/boilerplate of simple test code
 
7532
_LT_COMPILER_BOILERPLATE
 
7533
_LT_LINKER_BOILERPLATE
 
7534
 
 
7535
# Allow CC to be a program name with arguments.
 
7536
lt_save_CC=$CC
 
7537
lt_save_CFLAGS=$CFLAGS
 
7538
lt_save_GCC=$GCC
 
7539
GCC=yes
 
7540
CC=${GOC-"gccgo"}
 
7541
CFLAGS=$GOFLAGS
 
7542
compiler=$CC
 
7543
_LT_TAGVAR(compiler, $1)=$CC
 
7544
_LT_TAGVAR(LD, $1)="$LD"
 
7545
_LT_CC_BASENAME([$compiler])
 
7546
 
 
7547
# Go did not exist at the time GCC didn't implicitly link libc in.
 
7548
_LT_TAGVAR(archive_cmds_need_lc, $1)=no
 
7549
 
 
7550
_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
 
7551
_LT_TAGVAR(reload_flag, $1)=$reload_flag
 
7552
_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
 
7553
 
 
7554
if test -n "$compiler"; then
 
7555
  _LT_COMPILER_NO_RTTI($1)
 
7556
  _LT_COMPILER_PIC($1)
 
7557
  _LT_COMPILER_C_O($1)
 
7558
  _LT_COMPILER_FILE_LOCKS($1)
 
7559
  _LT_LINKER_SHLIBS($1)
 
7560
  _LT_LINKER_HARDCODE_LIBPATH($1)
 
7561
 
 
7562
  _LT_CONFIG($1)
 
7563
fi
 
7564
 
 
7565
AC_LANG_RESTORE
 
7566
 
 
7567
GCC=$lt_save_GCC
 
7568
CC=$lt_save_CC
 
7569
CFLAGS=$lt_save_CFLAGS
 
7570
])# _LT_LANG_GO_CONFIG
 
7571
 
 
7572
 
7450
7573
# _LT_LANG_RC_CONFIG([TAG])
7451
7574
# -------------------------
7452
7575
# Ensure that the configuration variables for the Windows resource compiler
7516
7639
dnl AC_DEFUN([LT_AC_PROG_GCJ], [])
7517
7640
 
7518
7641
 
 
7642
# LT_PROG_GO
 
7643
# ----------
 
7644
AC_DEFUN([LT_PROG_GO],
 
7645
[AC_CHECK_TOOL(GOC, gccgo,)
 
7646
])
 
7647
 
 
7648
 
7519
7649
# LT_PROG_RC
7520
7650
# ----------
7521
7651
AC_DEFUN([LT_PROG_RC],
8180
8310
# MODE is either `yes' or `no'.  If omitted, it defaults to `both'.
8181
8311
m4_define([_LT_WITH_PIC],
8182
8312
[AC_ARG_WITH([pic],
8183
 
    [AS_HELP_STRING([--with-pic],
 
8313
    [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@],
8184
8314
        [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
8185
 
    [pic_mode="$withval"],
 
8315
    [lt_p=${PACKAGE-default}
 
8316
    case $withval in
 
8317
    yes|no) pic_mode=$withval ;;
 
8318
    *)
 
8319
      pic_mode=default
 
8320
      # Look at the argument we got.  We use all the common list separators.
 
8321
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
8322
      for lt_pkg in $withval; do
 
8323
        IFS="$lt_save_ifs"
 
8324
        if test "X$lt_pkg" = "X$lt_p"; then
 
8325
          pic_mode=yes
 
8326
        fi
 
8327
      done
 
8328
      IFS="$lt_save_ifs"
 
8329
      ;;
 
8330
    esac],
8186
8331
    [pic_mode=default])
8187
8332
 
8188
8333
test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
8354
8499
 
8355
8500
# @configure_input@
8356
8501
 
8357
 
# serial 3293 ltversion.m4
 
8502
# serial 3337 ltversion.m4
8358
8503
# This file is part of GNU Libtool
8359
8504
 
8360
 
m4_define([LT_PACKAGE_VERSION], [2.4])
8361
 
m4_define([LT_PACKAGE_REVISION], [1.3293])
 
8505
m4_define([LT_PACKAGE_VERSION], [2.4.2])
 
8506
m4_define([LT_PACKAGE_REVISION], [1.3337])
8362
8507
 
8363
8508
AC_DEFUN([LTVERSION_VERSION],
8364
 
[macro_version='2.4'
8365
 
macro_revision='1.3293'
 
8509
[macro_version='2.4.2'
 
8510
macro_revision='1.3337'
8366
8511
_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
8367
8512
_LT_DECL(, macro_revision, 0)
8368
8513
])
8494
8639
# ----------------------------------
8495
8640
AC_DEFUN([PKG_PROG_PKG_CONFIG],
8496
8641
[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
8497
 
m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
8498
 
m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
 
8642
m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
8499
8643
AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
8500
8644
AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
8501
8645
AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
8541
8685
    pkg_cv_[]$1="$$1"
8542
8686
 elif test -n "$PKG_CONFIG"; then
8543
8687
    PKG_CHECK_EXISTS([$3],
8544
 
                     [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`
8545
 
                      test "x$?" != "x0" && pkg_failed=yes ],
 
8688
                     [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
8546
8689
                     [pkg_failed=yes])
8547
8690
 else
8548
8691
    pkg_failed=untried
8590
8733
        AC_MSG_RESULT([no])
8591
8734
        _PKG_SHORT_ERRORS_SUPPORTED
8592
8735
        if test $_pkg_short_errors_supported = yes; then
8593
 
                $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1`
 
8736
                $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
8594
8737
        else 
8595
 
                $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1`
 
8738
                $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
8596
8739
        fi
8597
8740
        # Put the nasty error message in config.log where it belongs
8598
8741
        echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
8605
8748
Consider adjusting the PKG_CONFIG_PATH environment variable if you
8606
8749
installed software in a non-standard prefix.
8607
8750
 
8608
 
_PKG_TEXT])[]dnl
 
8751
_PKG_TEXT])
8609
8752
        ])
8610
8753
elif test $pkg_failed = untried; then
8611
8754
        AC_MSG_RESULT([no])
8616
8759
 
8617
8760
_PKG_TEXT
8618
8761
 
8619
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
 
8762
To get pkg-config, see <http://pkg-config.freedesktop.org/>.])
8620
8763
        ])
8621
8764
else
8622
8765
        $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
8626
8769
fi[]dnl
8627
8770
])# PKG_CHECK_MODULES
8628
8771
 
8629
 
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
 
8772
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
 
8773
# Foundation, Inc.
8630
8774
#
8631
8775
# This file is free software; the Free Software Foundation
8632
8776
# gives unlimited permission to copy and/or distribute it,
8633
8777
# with or without modifications, as long as this notice is preserved.
8634
8778
 
 
8779
# serial 1
 
8780
 
8635
8781
# AM_AUTOMAKE_VERSION(VERSION)
8636
8782
# ----------------------------
8637
8783
# Automake X.Y traces this macro to ensure aclocal.m4 has been
8641
8787
[am__api_version='1.11'
8642
8788
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
8643
8789
dnl require some minimum version.  Point them to the right macro.
8644
 
m4_if([$1], [1.11.1], [],
 
8790
m4_if([$1], [1.11.6], [],
8645
8791
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
8646
8792
])
8647
8793
 
8657
8803
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
8658
8804
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
8659
8805
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
8660
 
[AM_AUTOMAKE_VERSION([1.11.1])dnl
 
8806
[AM_AUTOMAKE_VERSION([1.11.6])dnl
8661
8807
m4_ifndef([AC_AUTOCONF_VERSION],
8662
8808
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
8663
8809
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
8664
8810
 
8665
8811
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
8666
8812
 
8667
 
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
8813
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
8668
8814
#
8669
8815
# This file is free software; the Free Software Foundation
8670
8816
# gives unlimited permission to copy and/or distribute it,
8671
8817
# with or without modifications, as long as this notice is preserved.
8672
8818
 
 
8819
# serial 1
 
8820
 
8673
8821
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
8674
8822
# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
8675
8823
# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
8751
8899
Usually this means the macro was only invoked conditionally.]])
8752
8900
fi])])
8753
8901
 
8754
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
8755
 
# Free Software Foundation, Inc.
 
8902
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
 
8903
# 2010, 2011 Free Software Foundation, Inc.
8756
8904
#
8757
8905
# This file is free software; the Free Software Foundation
8758
8906
# gives unlimited permission to copy and/or distribute it,
8759
8907
# with or without modifications, as long as this notice is preserved.
8760
8908
 
8761
 
# serial 10
 
8909
# serial 12
8762
8910
 
8763
8911
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
8764
8912
# written in clear, in which case automake, when reading aclocal.m4,
8798
8946
  # instance it was reported that on HP-UX the gcc test will end up
8799
8947
  # making a dummy file named `D' -- because `-MD' means `put the output
8800
8948
  # in D'.
 
8949
  rm -rf conftest.dir
8801
8950
  mkdir conftest.dir
8802
8951
  # Copy depcomp to subdir because otherwise we won't find it if we're
8803
8952
  # using a relative directory.
8862
9011
        break
8863
9012
      fi
8864
9013
      ;;
8865
 
    msvisualcpp | msvcmsys)
 
9014
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
8866
9015
      # This compiler won't grok `-c -o', but also, the minuso test has
8867
9016
      # not run yet.  These depmodes are late enough in the game, and
8868
9017
      # so weak that their functioning should not be impacted.
8927
9076
if test "x$enable_dependency_tracking" != xno; then
8928
9077
  am_depcomp="$ac_aux_dir/depcomp"
8929
9078
  AMDEPBACKSLASH='\'
 
9079
  am__nodep='_no'
8930
9080
fi
8931
9081
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
8932
9082
AC_SUBST([AMDEPBACKSLASH])dnl
8933
9083
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
 
9084
AC_SUBST([am__nodep])dnl
 
9085
_AM_SUBST_NOTMAKE([am__nodep])dnl
8934
9086
])
8935
9087
 
8936
9088
# Generate code to set up dependency tracking.              -*- Autoconf -*-
9152
9304
done
9153
9305
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
9154
9306
 
9155
 
# Copyright (C) 2001, 2003, 2005, 2008  Free Software Foundation, Inc.
 
9307
# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
 
9308
# Inc.
9156
9309
#
9157
9310
# This file is free software; the Free Software Foundation
9158
9311
# gives unlimited permission to copy and/or distribute it,
9159
9312
# with or without modifications, as long as this notice is preserved.
9160
9313
 
 
9314
# serial 1
 
9315
 
9161
9316
# AM_PROG_INSTALL_SH
9162
9317
# ------------------
9163
9318
# Define $install_sh.
9289
9444
fi
9290
9445
])
9291
9446
 
9292
 
# Copyright (C) 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
 
9447
# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
 
9448
# Inc.
9293
9449
#
9294
9450
# This file is free software; the Free Software Foundation
9295
9451
# gives unlimited permission to copy and/or distribute it,
9296
9452
# with or without modifications, as long as this notice is preserved.
9297
9453
 
 
9454
# serial 1
 
9455
 
9298
9456
# AM_PROG_MKDIR_P
9299
9457
# ---------------
9300
9458
# Check for `mkdir -p'.
9317
9475
 
9318
9476
# Helper functions for option handling.                     -*- Autoconf -*-
9319
9477
 
9320
 
# Copyright (C) 2001, 2002, 2003, 2005, 2008  Free Software Foundation, Inc.
 
9478
# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
 
9479
# Foundation, Inc.
9321
9480
#
9322
9481
# This file is free software; the Free Software Foundation
9323
9482
# gives unlimited permission to copy and/or distribute it,
9324
9483
# with or without modifications, as long as this notice is preserved.
9325
9484
 
9326
 
# serial 4
 
9485
# serial 5
9327
9486
 
9328
9487
# _AM_MANGLE_OPTION(NAME)
9329
9488
# -----------------------
9331
9490
[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
9332
9491
 
9333
9492
# _AM_SET_OPTION(NAME)
9334
 
# ------------------------------
 
9493
# --------------------
9335
9494
# Set option NAME.  Presently that only means defining a flag for this option.
9336
9495
AC_DEFUN([_AM_SET_OPTION],
9337
9496
[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
9338
9497
 
9339
9498
# _AM_SET_OPTIONS(OPTIONS)
9340
 
# ----------------------------------
 
9499
# ------------------------
9341
9500
# OPTIONS is a space-separated list of Automake options.
9342
9501
AC_DEFUN([_AM_SET_OPTIONS],
9343
9502
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
9413
9572
fi
9414
9573
AC_MSG_RESULT(yes)])
9415
9574
 
9416
 
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
9575
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
9417
9576
#
9418
9577
# This file is free software; the Free Software Foundation
9419
9578
# gives unlimited permission to copy and/or distribute it,
9420
9579
# with or without modifications, as long as this notice is preserved.
9421
9580
 
 
9581
# serial 1
 
9582
 
9422
9583
# AM_PROG_INSTALL_STRIP
9423
9584
# ---------------------
9424
9585
# One issue with vendor `install' (even GNU) is that you can't
9441
9602
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
9442
9603
AC_SUBST([INSTALL_STRIP_PROGRAM])])
9443
9604
 
9444
 
# Copyright (C) 2006, 2008  Free Software Foundation, Inc.
 
9605
# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
9445
9606
#
9446
9607
# This file is free software; the Free Software Foundation
9447
9608
# gives unlimited permission to copy and/or distribute it,
9448
9609
# with or without modifications, as long as this notice is preserved.
9449
9610
 
9450
 
# serial 2
 
9611
# serial 3
9451
9612
 
9452
9613
# _AM_SUBST_NOTMAKE(VARIABLE)
9453
9614
# ---------------------------
9456
9617
AC_DEFUN([_AM_SUBST_NOTMAKE])
9457
9618
 
9458
9619
# AM_SUBST_NOTMAKE(VARIABLE)
9459
 
# ---------------------------
 
9620
# --------------------------
9460
9621
# Public sister of _AM_SUBST_NOTMAKE.
9461
9622
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
9462
9623
 
9463
9624
# Check how to create a tarball.                            -*- Autoconf -*-
9464
9625
 
9465
 
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.
 
9626
# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
9466
9627
#
9467
9628
# This file is free software; the Free Software Foundation
9468
9629
# gives unlimited permission to copy and/or distribute it,
9484
9645
# a tarball read from stdin.
9485
9646
#     $(am__untar) < result.tar
9486
9647
AC_DEFUN([_AM_PROG_TAR],
9487
 
[# Always define AMTAR for backward compatibility.
9488
 
AM_MISSING_PROG([AMTAR], [tar])
 
9648
[# Always define AMTAR for backward compatibility.  Yes, it's still used
 
9649
# in the wild :-(  We should find a proper way to deprecate it ...
 
9650
AC_SUBST([AMTAR], ['$${TAR-tar}'])
9489
9651
m4_if([$1], [v7],
9490
 
     [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
 
9652
     [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
9491
9653
     [m4_case([$1], [ustar],, [pax],,
9492
9654
              [m4_fatal([Unknown tar format])])
9493
9655
AC_MSG_CHECKING([how to create a $1 tar archive])