~noskcaj/ubuntu/trusty/tumbler/0.1.30

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Package Import Robot
  • Author(s): Yves-Alexis Perez, Lionel Le Folgoc, Yves-Alexis Perez
  • Date: 2012-02-05 21:03:17 UTC
  • mfrom: (4.1.2)
  • Revision ID: package-import@ubuntu.com-20120205210317-bnl5qa1pxpro64ih
Tags: 0.1.23-1
[ Lionel Le Folgoc ]
* New upstream release:
  - fix crashes in the pixbuf thumbnailer.                        lp: #804921
* debian/control: build-depends on libgsf-1-dev and libopenrawgnome-dev to
  enable the new thumbnailers.
* debian/copyright: fix EOLs.
* Add a new binary package, tumbler-plugins-extra, to ship plugins using
  libraries not present in the default xfce desktop (openraw, gsf), and let
  tumbler suggest it.
* debian/patches:
  - 02_start-gst-pipeline.patch: dropped, applied upstream.
  - 01_fix-link-lm.patch: refreshed for the new plugins.
* debian/libtumbler-1-dev.install: updated, .a files aren't created anymore.

[ Yves-Alexis Perez ]
* debian/watch updated for new tumbler location.
* debian/control:
  - update debhelper build-dep to 9 now that it's released.

Show diffs side-by-side

added added

removed removed

Lines of Context:
260
260
              [CATOBJEXT=.mo
261
261
               DATADIRNAME=lib])
262
262
            ;;
 
263
            *-*-openbsd*)
 
264
            CATOBJEXT=.mo
 
265
            DATADIRNAME=share
 
266
            ;;
263
267
            *)
264
268
            CATOBJEXT=.mo
265
269
            DATADIRNAME=lib
513
517
# ----------------------------------
514
518
AC_DEFUN([PKG_PROG_PKG_CONFIG],
515
519
[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
516
 
m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
 
520
m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
 
521
m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
517
522
AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
518
523
AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
519
524
AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
559
564
    pkg_cv_[]$1="$$1"
560
565
 elif test -n "$PKG_CONFIG"; then
561
566
    PKG_CHECK_EXISTS([$3],
562
 
                     [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
 
567
                     [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`
 
568
                      test "x$?" != "x0" && pkg_failed=yes ],
563
569
                     [pkg_failed=yes])
564
570
 else
565
571
    pkg_failed=untried
607
613
        AC_MSG_RESULT([no])
608
614
        _PKG_SHORT_ERRORS_SUPPORTED
609
615
        if test $_pkg_short_errors_supported = yes; then
610
 
                $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
 
616
                $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1`
611
617
        else 
612
 
                $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
 
618
                $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1`
613
619
        fi
614
620
        # Put the nasty error message in config.log where it belongs
615
621
        echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
622
628
Consider adjusting the PKG_CONFIG_PATH environment variable if you
623
629
installed software in a non-standard prefix.
624
630
 
625
 
_PKG_TEXT])
 
631
_PKG_TEXT])[]dnl
626
632
        ])
627
633
elif test $pkg_failed = untried; then
628
634
        AC_MSG_RESULT([no])
633
639
 
634
640
_PKG_TEXT
635
641
 
636
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.])
 
642
To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
637
643
        ])
638
644
else
639
645
        $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
1734
1740
dnl   GTK_DOC_CHECK([minimum-gtk-doc-version])
1735
1741
AC_DEFUN([GTK_DOC_CHECK],
1736
1742
[
 
1743
  AC_REQUIRE([PKG_PROG_PKG_CONFIG])
1737
1744
  AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first
1738
1745
  AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first
1739
1746
 
1761
1768
                        AC_MSG_ERROR([gtk-doc not installed and --enable-gtk-doc requested]))],
1762
1769
      [PKG_CHECK_EXISTS([gtk-doc >= $1],,
1763
1770
                        AC_MSG_ERROR([You need to have gtk-doc >= $1 installed to build $PACKAGE_NAME]))])
 
1771
    dnl don't check for glib if we build glib
 
1772
    if test "x$PACKAGE_NAME" != "xglib"; then
 
1773
      dnl don't fail if someone does not have glib
 
1774
      PKG_CHECK_MODULES(GTKDOC_DEPS, glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0,,)
 
1775
    fi
1764
1776
  fi
1765
1777
 
1766
1778
  AC_MSG_CHECKING([whether to build gtk-doc documentation])
1985
1997
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
1986
1998
#
1987
1999
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
1988
 
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
1989
 
#                 Inc.
 
2000
#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
 
2001
#                 Foundation, Inc.
1990
2002
#   Written by Gordon Matzigkeit, 1996
1991
2003
#
1992
2004
# This file is free software; the Free Software Foundation gives
1995
2007
 
1996
2008
m4_define([_LT_COPYING], [dnl
1997
2009
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
1998
 
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
1999
 
#                 Inc.
 
2010
#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
 
2011
#                 Foundation, Inc.
2000
2012
#   Written by Gordon Matzigkeit, 1996
2001
2013
#
2002
2014
#   This file is part of GNU Libtool.
2130
2142
AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
2131
2143
AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
2132
2144
 
 
2145
_LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl
 
2146
dnl
2133
2147
_LT_DECL([], [host_alias], [0], [The host system])dnl
2134
2148
_LT_DECL([], [host], [0])dnl
2135
2149
_LT_DECL([], [host_os], [0])dnl
2615
2629
m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
2616
2630
configured by $[0], generated by m4_PACKAGE_STRING.
2617
2631
 
2618
 
Copyright (C) 2010 Free Software Foundation, Inc.
 
2632
Copyright (C) 2011 Free Software Foundation, Inc.
2619
2633
This config.lt script is free software; the Free Software Foundation
2620
2634
gives unlimited permision to copy, distribute and modify it."
2621
2635
 
2779
2793
m4_case([$1],
2780
2794
  [C],                  [_LT_LANG(C)],
2781
2795
  [C++],                [_LT_LANG(CXX)],
 
2796
  [Go],                 [_LT_LANG(GO)],
2782
2797
  [Java],               [_LT_LANG(GCJ)],
2783
2798
  [Fortran 77],         [_LT_LANG(F77)],
2784
2799
  [Fortran],            [_LT_LANG(FC)],
2800
2815
])# _LT_LANG
2801
2816
 
2802
2817
 
 
2818
m4_ifndef([AC_PROG_GO], [
 
2819
# NOTE: This macro has been submitted for inclusion into   #
 
2820
#  GNU Autoconf as AC_PROG_GO.  When it is available in    #
 
2821
#  a released version of Autoconf we should remove this    #
 
2822
#  macro and use it instead.                               #
 
2823
m4_defun([AC_PROG_GO],
 
2824
[AC_LANG_PUSH(Go)dnl
 
2825
AC_ARG_VAR([GOC],     [Go compiler command])dnl
 
2826
AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl
 
2827
_AC_ARG_VAR_LDFLAGS()dnl
 
2828
AC_CHECK_TOOL(GOC, gccgo)
 
2829
if test -z "$GOC"; then
 
2830
  if test -n "$ac_tool_prefix"; then
 
2831
    AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo])
 
2832
  fi
 
2833
fi
 
2834
if test -z "$GOC"; then
 
2835
  AC_CHECK_PROG(GOC, gccgo, gccgo, false)
 
2836
fi
 
2837
])#m4_defun
 
2838
])#m4_ifndef
 
2839
 
 
2840
 
2803
2841
# _LT_LANG_DEFAULT_CONFIG
2804
2842
# -----------------------
2805
2843
m4_defun([_LT_LANG_DEFAULT_CONFIG],
2830
2868
       m4_ifdef([LT_PROG_GCJ],
2831
2869
        [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
2832
2870
 
 
2871
AC_PROVIDE_IFELSE([AC_PROG_GO],
 
2872
  [LT_LANG(GO)],
 
2873
  [m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])])
 
2874
 
2833
2875
AC_PROVIDE_IFELSE([LT_PROG_RC],
2834
2876
  [LT_LANG(RC)],
2835
2877
  [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
2932
2974
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
2933
2975
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
2934
2976
        _lt_result=$?
2935
 
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
2977
        # If there is a non-empty error log, and "single_module"
 
2978
        # appears in it, assume the flag caused a linker warning
 
2979
        if test -s conftest.err && $GREP single_module conftest.err; then
 
2980
          cat conftest.err >&AS_MESSAGE_LOG_FD
 
2981
        # Otherwise, if the output was created with a 0 exit code from
 
2982
        # the compiler, it worked.
 
2983
        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
2936
2984
          lt_cv_apple_cc_single_mod=yes
2937
2985
        else
2938
2986
          cat conftest.err >&AS_MESSAGE_LOG_FD
2940
2988
        rm -rf libconftest.dylib*
2941
2989
        rm -f conftest.*
2942
2990
      fi])
 
2991
 
2943
2992
    AC_CACHE_CHECK([for -exported_symbols_list linker flag],
2944
2993
      [lt_cv_ld_exported_symbols_list],
2945
2994
      [lt_cv_ld_exported_symbols_list=no
2951
3000
        [lt_cv_ld_exported_symbols_list=no])
2952
3001
        LDFLAGS="$save_LDFLAGS"
2953
3002
    ])
 
3003
 
2954
3004
    AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
2955
3005
      [lt_cv_ld_force_load=no
2956
3006
      cat > conftest.c << _LT_EOF
2968
3018
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD
2969
3019
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
2970
3020
      _lt_result=$?
2971
 
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
 
3021
      if test -s conftest.err && $GREP force_load conftest.err; then
 
3022
        cat conftest.err >&AS_MESSAGE_LOG_FD
 
3023
      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
2972
3024
        lt_cv_ld_force_load=yes
2973
3025
      else
2974
3026
        cat conftest.err >&AS_MESSAGE_LOG_FD
3013
3065
])
3014
3066
 
3015
3067
 
3016
 
# _LT_DARWIN_LINKER_FEATURES
3017
 
# --------------------------
 
3068
# _LT_DARWIN_LINKER_FEATURES([TAG])
 
3069
# ---------------------------------
3018
3070
# Checks for linker and compiler features on darwin
3019
3071
m4_defun([_LT_DARWIN_LINKER_FEATURES],
3020
3072
[
3025
3077
  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
3026
3078
  if test "$lt_cv_ld_force_load" = "yes"; then
3027
3079
    _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\"`'
 
3080
    m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes],
 
3081
                  [FC],  [_LT_TAGVAR(compiler_needs_object, $1)=yes])
3028
3082
  else
3029
3083
    _LT_TAGVAR(whole_archive_flag_spec, $1)=''
3030
3084
  fi
3308
3362
    CFLAGS="$SAVE_CFLAGS"
3309
3363
  fi
3310
3364
  ;;
3311
 
sparc*-*solaris*)
 
3365
*-*solaris*)
3312
3366
  # Find out which ABI we are using.
3313
3367
  echo 'int i;' > conftest.$ac_ext
3314
3368
  if AC_TRY_EVAL(ac_compile); then
3315
3369
    case `/usr/bin/file conftest.o` in
3316
3370
    *64-bit*)
3317
3371
      case $lt_cv_prog_gnu_ld in
3318
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
3372
      yes*)
 
3373
        case $host in
 
3374
        i?86-*-solaris*)
 
3375
          LD="${LD-ld} -m elf_x86_64"
 
3376
          ;;
 
3377
        sparc*-*-solaris*)
 
3378
          LD="${LD-ld} -m elf64_sparc"
 
3379
          ;;
 
3380
        esac
 
3381
        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
 
3382
        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
 
3383
          LD="${LD-ld}_sol2"
 
3384
        fi
 
3385
        ;;
3319
3386
      *)
3320
3387
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
3321
3388
          LD="${LD-ld} -64"
3392
3459
if test -n "$RANLIB"; then
3393
3460
  case $host_os in
3394
3461
  openbsd*)
3395
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
3462
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
3396
3463
    ;;
3397
3464
  *)
3398
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
3465
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
3399
3466
    ;;
3400
3467
  esac
3401
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
3468
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
3402
3469
fi
3403
3470
 
3404
3471
case $host_os in
3578
3645
    lt_cv_sys_max_cmd_len=196608
3579
3646
    ;;
3580
3647
 
 
3648
  os2*)
 
3649
    # The test takes a long time on OS/2.
 
3650
    lt_cv_sys_max_cmd_len=8192
 
3651
    ;;
 
3652
 
3581
3653
  osf*)
3582
3654
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
3583
3655
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
3617
3689
      # If test is not a shell built-in, we'll probably end up computing a
3618
3690
      # maximum length that is only half of the actual maximum length, but
3619
3691
      # we can't tell.
3620
 
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
 
3692
      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
3621
3693
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
3622
3694
              test $i != 17 # 1/2 MB should be enough
3623
3695
      do
4163
4235
 
4164
4236
case $host_os in
4165
4237
aix3*)
4166
 
  version_type=linux
 
4238
  version_type=linux # correct to gnu/linux during the next big refactor
4167
4239
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
4168
4240
  shlibpath_var=LIBPATH
4169
4241
 
4172
4244
  ;;
4173
4245
 
4174
4246
aix[[4-9]]*)
4175
 
  version_type=linux
 
4247
  version_type=linux # correct to gnu/linux during the next big refactor
4176
4248
  need_lib_prefix=no
4177
4249
  need_version=no
4178
4250
  hardcode_into_libs=yes
4237
4309
  ;;
4238
4310
 
4239
4311
bsdi[[45]]*)
4240
 
  version_type=linux
 
4312
  version_type=linux # correct to gnu/linux during the next big refactor
4241
4313
  need_version=no
4242
4314
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4243
4315
  soname_spec='${libname}${release}${shared_ext}$major'
4376
4448
  ;;
4377
4449
 
4378
4450
dgux*)
4379
 
  version_type=linux
 
4451
  version_type=linux # correct to gnu/linux during the next big refactor
4380
4452
  need_lib_prefix=no
4381
4453
  need_version=no
4382
4454
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
4384
4456
  shlibpath_var=LD_LIBRARY_PATH
4385
4457
  ;;
4386
4458
 
4387
 
freebsd1*)
4388
 
  dynamic_linker=no
4389
 
  ;;
4390
 
 
4391
4459
freebsd* | dragonfly*)
4392
4460
  # DragonFly does not have aout.  When/if they implement a new
4393
4461
  # versioning mechanism, adjust this.
4395
4463
    objformat=`/usr/bin/objformat`
4396
4464
  else
4397
4465
    case $host_os in
4398
 
    freebsd[[123]]*) objformat=aout ;;
 
4466
    freebsd[[23]].*) objformat=aout ;;
4399
4467
    *) objformat=elf ;;
4400
4468
    esac
4401
4469
  fi
4413
4481
  esac
4414
4482
  shlibpath_var=LD_LIBRARY_PATH
4415
4483
  case $host_os in
4416
 
  freebsd2*)
 
4484
  freebsd2.*)
4417
4485
    shlibpath_overrides_runpath=yes
4418
4486
    ;;
4419
4487
  freebsd3.[[01]]* | freebsdelf3.[[01]]*)
4433
4501
  ;;
4434
4502
 
4435
4503
gnu*)
4436
 
  version_type=linux
 
4504
  version_type=linux # correct to gnu/linux during the next big refactor
4437
4505
  need_lib_prefix=no
4438
4506
  need_version=no
4439
4507
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
4440
4508
  soname_spec='${libname}${release}${shared_ext}$major'
4441
4509
  shlibpath_var=LD_LIBRARY_PATH
 
4510
  shlibpath_overrides_runpath=no
4442
4511
  hardcode_into_libs=yes
4443
4512
  ;;
4444
4513
 
4445
4514
haiku*)
4446
 
  version_type=linux
 
4515
  version_type=linux # correct to gnu/linux during the next big refactor
4447
4516
  need_lib_prefix=no
4448
4517
  need_version=no
4449
4518
  dynamic_linker="$host_os runtime_loader"
4504
4573
  ;;
4505
4574
 
4506
4575
interix[[3-9]]*)
4507
 
  version_type=linux
 
4576
  version_type=linux # correct to gnu/linux during the next big refactor
4508
4577
  need_lib_prefix=no
4509
4578
  need_version=no
4510
4579
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
4520
4589
    nonstopux*) version_type=nonstopux ;;
4521
4590
    *)
4522
4591
        if test "$lt_cv_prog_gnu_ld" = yes; then
4523
 
                version_type=linux
 
4592
                version_type=linux # correct to gnu/linux during the next big refactor
4524
4593
        else
4525
4594
                version_type=irix
4526
4595
        fi ;;
4557
4626
  dynamic_linker=no
4558
4627
  ;;
4559
4628
 
4560
 
# This must be Linux ELF.
 
4629
# This must be glibc/ELF.
4561
4630
linux* | k*bsd*-gnu | kopensolaris*-gnu)
4562
 
  version_type=linux
 
4631
  version_type=linux # correct to gnu/linux during the next big refactor
4563
4632
  need_lib_prefix=no
4564
4633
  need_version=no
4565
4634
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4588
4657
  # before this can be enabled.
4589
4658
  hardcode_into_libs=yes
4590
4659
 
4591
 
  # Add ABI-specific directories to the system library path.
4592
 
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
4593
 
 
4594
4660
  # Append ld.so.conf contents to the search path
4595
4661
  if test -f /etc/ld.so.conf; then
4596
4662
    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' ' '`
4597
 
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
4598
 
 
 
4663
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
4599
4664
  fi
4600
4665
 
4601
4666
  # We used to test for /lib/ld.so.1 and disable shared libraries on
4626
4691
  ;;
4627
4692
 
4628
4693
newsos6)
4629
 
  version_type=linux
 
4694
  version_type=linux # correct to gnu/linux during the next big refactor
4630
4695
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4631
4696
  shlibpath_var=LD_LIBRARY_PATH
4632
4697
  shlibpath_overrides_runpath=yes
4695
4760
  ;;
4696
4761
 
4697
4762
solaris*)
4698
 
  version_type=linux
 
4763
  version_type=linux # correct to gnu/linux during the next big refactor
4699
4764
  need_lib_prefix=no
4700
4765
  need_version=no
4701
4766
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4720
4785
  ;;
4721
4786
 
4722
4787
sysv4 | sysv4.3*)
4723
 
  version_type=linux
 
4788
  version_type=linux # correct to gnu/linux during the next big refactor
4724
4789
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4725
4790
  soname_spec='${libname}${release}${shared_ext}$major'
4726
4791
  shlibpath_var=LD_LIBRARY_PATH
4744
4809
 
4745
4810
sysv4*MP*)
4746
4811
  if test -d /usr/nec ;then
4747
 
    version_type=linux
 
4812
    version_type=linux # correct to gnu/linux during the next big refactor
4748
4813
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
4749
4814
    soname_spec='$libname${shared_ext}.$major'
4750
4815
    shlibpath_var=LD_LIBRARY_PATH
4775
4840
 
4776
4841
tpf*)
4777
4842
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
4778
 
  version_type=linux
 
4843
  version_type=linux # correct to gnu/linux during the next big refactor
4779
4844
  need_lib_prefix=no
4780
4845
  need_version=no
4781
4846
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4785
4850
  ;;
4786
4851
 
4787
4852
uts4*)
4788
 
  version_type=linux
 
4853
  version_type=linux # correct to gnu/linux during the next big refactor
4789
4854
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4790
4855
  soname_spec='${libname}${release}${shared_ext}$major'
4791
4856
  shlibpath_var=LD_LIBRARY_PATH
5207
5272
  lt_cv_deplibs_check_method=pass_all
5208
5273
  ;;
5209
5274
 
5210
 
# This must be Linux ELF.
 
5275
# This must be glibc/ELF.
5211
5276
linux* | k*bsd*-gnu | kopensolaris*-gnu)
5212
5277
  lt_cv_deplibs_check_method=pass_all
5213
5278
  ;;
5627
5692
    # which start with @ or ?.
5628
5693
    lt_cv_sys_global_symbol_pipe="$AWK ['"\
5629
5694
"     {last_section=section; section=\$ 3};"\
 
5695
"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5630
5696
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5631
5697
"     \$ 0!~/External *\|/{next};"\
5632
5698
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6211
6277
    case $cc_basename in
6212
6278
    nvcc*) # Cuda Compiler Driver 2.2
6213
6279
      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
6214
 
      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Xcompiler -fPIC'
 
6280
      if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
 
6281
        _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)"
 
6282
      fi
6215
6283
      ;;
6216
6284
    esac
6217
6285
  else
6303
6371
        ;;
6304
6372
      *)
6305
6373
        case `$CC -V 2>&1 | sed 5q` in
6306
 
        *Sun\ F* | *Sun*Fortran*)
 
6374
        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*)
6307
6375
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
6308
6376
          _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6309
6377
          _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6310
6378
          _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
6311
6379
          ;;
 
6380
        *Sun\ F* | *Sun*Fortran*)
 
6381
          _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
6382
          _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
6383
          _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
 
6384
          ;;
6312
6385
        *Sun\ C*)
6313
6386
          # Sun C 5.9
6314
6387
          _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6315
6388
          _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6316
6389
          _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6317
6390
          ;;
 
6391
        *Intel*\ [[CF]]*Compiler*)
 
6392
          _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
6393
          _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 
6394
          _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
 
6395
          ;;
 
6396
        *Portland\ Group*)
 
6397
          _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
6398
          _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
 
6399
          _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
6400
          ;;
6318
6401
        esac
6319
6402
        ;;
6320
6403
      esac
6474
6557
    ;;
6475
6558
  cygwin* | mingw* | cegcc*)
6476
6559
    case $cc_basename in
6477
 
    cl*) ;;
 
6560
    cl*)
 
6561
      _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
 
6562
      ;;
6478
6563
    *)
6479
6564
      _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'
6480
6565
      _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
6499
6584
  _LT_TAGVAR(hardcode_direct, $1)=no
6500
6585
  _LT_TAGVAR(hardcode_direct_absolute, $1)=no
6501
6586
  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
6502
 
  _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
6503
6587
  _LT_TAGVAR(hardcode_libdir_separator, $1)=
6504
6588
  _LT_TAGVAR(hardcode_minus_L, $1)=no
6505
6589
  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
6750
6834
        xlf* | bgf* | bgxlf* | mpixlf*)
6751
6835
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
6752
6836
          _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
6753
 
          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
6754
 
          _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
 
6837
          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
6755
6838
          _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
6756
6839
          if test "x$supports_anon_versioning" = xyes; then
6757
6840
            _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
7046
7129
        # The linker will not automatically build a static lib if we build a DLL.
7047
7130
        # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
7048
7131
        _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
 
7132
        _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
7049
7133
        _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'
7050
7134
        # Don't use ranlib
7051
7135
        _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
7092
7176
      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
7093
7177
      ;;
7094
7178
 
7095
 
    freebsd1*)
7096
 
      _LT_TAGVAR(ld_shlibs, $1)=no
7097
 
      ;;
7098
 
 
7099
7179
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7100
7180
    # support.  Future versions do this automatically, but an explicit c++rt0.o
7101
7181
    # does not break anything, and helps significantly (at the cost of a little
7108
7188
      ;;
7109
7189
 
7110
7190
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7111
 
    freebsd2*)
 
7191
    freebsd2.*)
7112
7192
      _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7113
7193
      _LT_TAGVAR(hardcode_direct, $1)=yes
7114
7194
      _LT_TAGVAR(hardcode_minus_L, $1)=yes
7147
7227
      fi
7148
7228
      if test "$with_gnu_ld" = no; then
7149
7229
        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
7150
 
        _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
7151
7230
        _LT_TAGVAR(hardcode_libdir_separator, $1)=:
7152
7231
        _LT_TAGVAR(hardcode_direct, $1)=yes
7153
7232
        _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
7589
7668
_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
7590
7669
    [Flag to hardcode $libdir into a binary during linking.
7591
7670
    This must work even if $libdir does not exist])
7592
 
_LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1],
7593
 
    [[If ld is used when linking, flag to hardcode $libdir into a binary
7594
 
    during linking.  This must work even if $libdir does not exist]])
7595
7671
_LT_TAGDECL([], [hardcode_libdir_separator], [1],
7596
7672
    [Whether we need a single "-rpath" flag with a separated argument])
7597
7673
_LT_TAGDECL([], [hardcode_direct], [0],
7745
7821
_LT_TAGVAR(hardcode_direct, $1)=no
7746
7822
_LT_TAGVAR(hardcode_direct_absolute, $1)=no
7747
7823
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
7748
 
_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
7749
7824
_LT_TAGVAR(hardcode_libdir_separator, $1)=
7750
7825
_LT_TAGVAR(hardcode_minus_L, $1)=no
7751
7826
_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
8115
8190
        esac
8116
8191
        ;;
8117
8192
 
8118
 
      freebsd[[12]]*)
 
8193
      freebsd2.*)
8119
8194
        # C++ shared libraries reported to be fairly broken before
8120
8195
        # switch to ELF
8121
8196
        _LT_TAGVAR(ld_shlibs, $1)=no
8876
8951
  }
8877
8952
};
8878
8953
_LT_EOF
 
8954
], [$1], [GO], [cat > conftest.$ac_ext <<_LT_EOF
 
8955
package foo
 
8956
func foo() {
 
8957
}
 
8958
_LT_EOF
8879
8959
])
8880
8960
 
8881
8961
_lt_libdeps_save_CFLAGS=$CFLAGS
8882
8962
case "$CC $CFLAGS " in #(
8883
8963
*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
8884
8964
*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
 
8965
*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
8885
8966
esac
8886
8967
 
8887
8968
dnl Parse the compiler output and extract the necessary
9078
9159
_LT_TAGVAR(hardcode_direct, $1)=no
9079
9160
_LT_TAGVAR(hardcode_direct_absolute, $1)=no
9080
9161
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
9081
 
_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
9082
9162
_LT_TAGVAR(hardcode_libdir_separator, $1)=
9083
9163
_LT_TAGVAR(hardcode_minus_L, $1)=no
9084
9164
_LT_TAGVAR(hardcode_automatic, $1)=no
9211
9291
_LT_TAGVAR(hardcode_direct, $1)=no
9212
9292
_LT_TAGVAR(hardcode_direct_absolute, $1)=no
9213
9293
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
9214
 
_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
9215
9294
_LT_TAGVAR(hardcode_libdir_separator, $1)=
9216
9295
_LT_TAGVAR(hardcode_minus_L, $1)=no
9217
9296
_LT_TAGVAR(hardcode_automatic, $1)=no
9394
9473
])# _LT_LANG_GCJ_CONFIG
9395
9474
 
9396
9475
 
 
9476
# _LT_LANG_GO_CONFIG([TAG])
 
9477
# --------------------------
 
9478
# Ensure that the configuration variables for the GNU Go compiler
 
9479
# are suitably defined.  These variables are subsequently used by _LT_CONFIG
 
9480
# to write the compiler configuration to `libtool'.
 
9481
m4_defun([_LT_LANG_GO_CONFIG],
 
9482
[AC_REQUIRE([LT_PROG_GO])dnl
 
9483
AC_LANG_SAVE
 
9484
 
 
9485
# Source file extension for Go test sources.
 
9486
ac_ext=go
 
9487
 
 
9488
# Object file extension for compiled Go test sources.
 
9489
objext=o
 
9490
_LT_TAGVAR(objext, $1)=$objext
 
9491
 
 
9492
# Code to be used in simple compile tests
 
9493
lt_simple_compile_test_code="package main; func main() { }"
 
9494
 
 
9495
# Code to be used in simple link tests
 
9496
lt_simple_link_test_code='package main; func main() { }'
 
9497
 
 
9498
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
9499
_LT_TAG_COMPILER
 
9500
 
 
9501
# save warnings/boilerplate of simple test code
 
9502
_LT_COMPILER_BOILERPLATE
 
9503
_LT_LINKER_BOILERPLATE
 
9504
 
 
9505
# Allow CC to be a program name with arguments.
 
9506
lt_save_CC=$CC
 
9507
lt_save_CFLAGS=$CFLAGS
 
9508
lt_save_GCC=$GCC
 
9509
GCC=yes
 
9510
CC=${GOC-"gccgo"}
 
9511
CFLAGS=$GOFLAGS
 
9512
compiler=$CC
 
9513
_LT_TAGVAR(compiler, $1)=$CC
 
9514
_LT_TAGVAR(LD, $1)="$LD"
 
9515
_LT_CC_BASENAME([$compiler])
 
9516
 
 
9517
# Go did not exist at the time GCC didn't implicitly link libc in.
 
9518
_LT_TAGVAR(archive_cmds_need_lc, $1)=no
 
9519
 
 
9520
_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
 
9521
_LT_TAGVAR(reload_flag, $1)=$reload_flag
 
9522
_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
 
9523
 
 
9524
if test -n "$compiler"; then
 
9525
  _LT_COMPILER_NO_RTTI($1)
 
9526
  _LT_COMPILER_PIC($1)
 
9527
  _LT_COMPILER_C_O($1)
 
9528
  _LT_COMPILER_FILE_LOCKS($1)
 
9529
  _LT_LINKER_SHLIBS($1)
 
9530
  _LT_LINKER_HARDCODE_LIBPATH($1)
 
9531
 
 
9532
  _LT_CONFIG($1)
 
9533
fi
 
9534
 
 
9535
AC_LANG_RESTORE
 
9536
 
 
9537
GCC=$lt_save_GCC
 
9538
CC=$lt_save_CC
 
9539
CFLAGS=$lt_save_CFLAGS
 
9540
])# _LT_LANG_GO_CONFIG
 
9541
 
 
9542
 
9397
9543
# _LT_LANG_RC_CONFIG([TAG])
9398
9544
# -------------------------
9399
9545
# Ensure that the configuration variables for the Windows resource compiler
9463
9609
dnl AC_DEFUN([LT_AC_PROG_GCJ], [])
9464
9610
 
9465
9611
 
 
9612
# LT_PROG_GO
 
9613
# ----------
 
9614
AC_DEFUN([LT_PROG_GO],
 
9615
[AC_CHECK_TOOL(GOC, gccgo,)
 
9616
])
 
9617
 
 
9618
 
9466
9619
# LT_PROG_RC
9467
9620
# ----------
9468
9621
AC_DEFUN([LT_PROG_RC],
10127
10280
# MODE is either `yes' or `no'.  If omitted, it defaults to `both'.
10128
10281
m4_define([_LT_WITH_PIC],
10129
10282
[AC_ARG_WITH([pic],
10130
 
    [AS_HELP_STRING([--with-pic],
 
10283
    [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@],
10131
10284
        [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
10132
 
    [pic_mode="$withval"],
 
10285
    [lt_p=${PACKAGE-default}
 
10286
    case $withval in
 
10287
    yes|no) pic_mode=$withval ;;
 
10288
    *)
 
10289
      pic_mode=default
 
10290
      # Look at the argument we got.  We use all the common list separators.
 
10291
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
10292
      for lt_pkg in $withval; do
 
10293
        IFS="$lt_save_ifs"
 
10294
        if test "X$lt_pkg" = "X$lt_p"; then
 
10295
          pic_mode=yes
 
10296
        fi
 
10297
      done
 
10298
      IFS="$lt_save_ifs"
 
10299
      ;;
 
10300
    esac],
10133
10301
    [pic_mode=default])
10134
10302
 
10135
10303
test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
10301
10469
 
10302
10470
# @configure_input@
10303
10471
 
10304
 
# serial 3293 ltversion.m4
 
10472
# serial 3337 ltversion.m4
10305
10473
# This file is part of GNU Libtool
10306
10474
 
10307
 
m4_define([LT_PACKAGE_VERSION], [2.4])
10308
 
m4_define([LT_PACKAGE_REVISION], [1.3293])
 
10475
m4_define([LT_PACKAGE_VERSION], [2.4.2])
 
10476
m4_define([LT_PACKAGE_REVISION], [1.3337])
10309
10477
 
10310
10478
AC_DEFUN([LTVERSION_VERSION],
10311
 
[macro_version='2.4'
10312
 
macro_revision='1.3293'
 
10479
[macro_version='2.4.2'
 
10480
macro_revision='1.3337'
10313
10481
_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
10314
10482
_LT_DECL(, macro_revision, 0)
10315
10483
])