852
853
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 $< [$]@'
853
854
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 $< [$]@'
855
AC_SUBST(INTLTOOL_DESKTOP_RULE)
856
AC_SUBST(INTLTOOL_DIRECTORY_RULE)
857
AC_SUBST(INTLTOOL_KEYS_RULE)
858
AC_SUBST(INTLTOOL_PROP_RULE)
859
AC_SUBST(INTLTOOL_OAF_RULE)
860
AC_SUBST(INTLTOOL_PONG_RULE)
861
AC_SUBST(INTLTOOL_SERVER_RULE)
862
AC_SUBST(INTLTOOL_SHEET_RULE)
863
AC_SUBST(INTLTOOL_SOUNDLIST_RULE)
864
AC_SUBST(INTLTOOL_UI_RULE)
865
AC_SUBST(INTLTOOL_XAM_RULE)
866
AC_SUBST(INTLTOOL_KBD_RULE)
867
AC_SUBST(INTLTOOL_XML_RULE)
868
AC_SUBST(INTLTOOL_XML_NOMERGE_RULE)
869
AC_SUBST(INTLTOOL_CAVES_RULE)
870
AC_SUBST(INTLTOOL_SCHEMAS_RULE)
871
AC_SUBST(INTLTOOL_THEME_RULE)
872
AC_SUBST(INTLTOOL_SERVICE_RULE)
873
AC_SUBST(INTLTOOL_POLICY_RULE)
856
_IT_SUBST(INTLTOOL_DESKTOP_RULE)
857
_IT_SUBST(INTLTOOL_DIRECTORY_RULE)
858
_IT_SUBST(INTLTOOL_KEYS_RULE)
859
_IT_SUBST(INTLTOOL_PROP_RULE)
860
_IT_SUBST(INTLTOOL_OAF_RULE)
861
_IT_SUBST(INTLTOOL_PONG_RULE)
862
_IT_SUBST(INTLTOOL_SERVER_RULE)
863
_IT_SUBST(INTLTOOL_SHEET_RULE)
864
_IT_SUBST(INTLTOOL_SOUNDLIST_RULE)
865
_IT_SUBST(INTLTOOL_UI_RULE)
866
_IT_SUBST(INTLTOOL_XAM_RULE)
867
_IT_SUBST(INTLTOOL_KBD_RULE)
868
_IT_SUBST(INTLTOOL_XML_RULE)
869
_IT_SUBST(INTLTOOL_XML_NOMERGE_RULE)
870
_IT_SUBST(INTLTOOL_CAVES_RULE)
871
_IT_SUBST(INTLTOOL_SCHEMAS_RULE)
872
_IT_SUBST(INTLTOOL_THEME_RULE)
873
_IT_SUBST(INTLTOOL_SERVICE_RULE)
874
_IT_SUBST(INTLTOOL_POLICY_RULE)
875
876
# Check the gettext tools to make sure they are GNU
876
877
AC_PATH_PROG(XGETTEXT, xgettext)
887
888
AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
890
AC_PATH_PROG(INTLTOOL_PERL, [perl])
891
AC_PATH_PROG(INTLTOOL_PERL, perl)
891
892
if test -z "$INTLTOOL_PERL"; then
892
AC_MSG_ERROR([perl not found; required for intltool])
893
AC_MSG_ERROR([perl not found])
894
if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
895
AC_MSG_ERROR([perl 5.x required for intltool])
895
AC_MSG_CHECKING([for perl >= 5.8.1])
896
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
897
if test $? -ne 0; then
898
AC_MSG_ERROR([perl 5.8.1 is required for intltool])
900
IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
901
AC_MSG_RESULT([$IT_PERL_VERSION])
897
903
if test "x$2" != "xno-xml"; then
898
904
AC_MSG_CHECKING([for XML::Parser])
948
954
dnl of config.status.
949
955
AC_CONFIG_COMMANDS_PRE([
950
956
AC_CONFIG_COMMANDS([$1/stamp-it], [
951
if [ ! grep "^# INTLTOOL_MAKEFILE$" "$1/Makefile.in" ]; then
957
if [ ! grep "^# INTLTOOL_MAKEFILE$" "$1/Makefile.in" > /dev/null ]; then
952
958
AC_MSG_ERROR([$1/Makefile.in.in was not created by intltoolize.])
954
960
rm -f "$1/stamp-it" "$1/stamp-it.tmp" "$1/POTFILES" "$1/Makefile.tmp"
1352
1369
# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
1353
1370
# ---------------------------------------------------
1354
1371
m4_define([lt_decl_varnames_tagged],
1355
[_$0(m4_quote(m4_default([$1], [[, ]])),
1356
m4_quote(m4_if([$2], [],
1357
m4_quote(lt_decl_tag_varnames),
1358
m4_quote(m4_shift($@)))),
1359
m4_split(m4_normalize(m4_quote(_LT_TAGS))))])
1360
m4_define([_lt_decl_varnames_tagged], [lt_combine([$1], [$2], [_], $3)])
1372
[m4_assert([$# <= 2])dnl
1373
_$0(m4_quote(m4_default([$1], [[, ]])),
1374
m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
1375
m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
1376
m4_define([_lt_decl_varnames_tagged],
1377
[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
1363
1380
# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
1917
1934
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
1919
1936
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
1920
darwin*) # darwin 5.x on
1937
darwin*) # darwin 5.x on
1921
1938
# if running on 10.5 or later, the deployment target defaults
1922
1939
# to the OS version, if on x86, and 10.4, the deployment
1923
# target defaults to 10.4. Don't you love it?
1940
# target defaults to 10.4. Don't you love it?
1924
1941
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
1925
1942
10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
1926
1943
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
1962
1979
_LT_TAGVAR(whole_archive_flag_spec, $1)=''
1963
1980
_LT_TAGVAR(link_all_deplibs, $1)=yes
1964
1981
_LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
1965
if test "$GCC" = "yes"; then
1982
case $cc_basename in
1983
ifort*) _lt_dar_can_shared=yes ;;
1984
*) _lt_dar_can_shared=$GCC ;;
1986
if test "$_lt_dar_can_shared" = "yes"; then
1966
1987
output_verbose_link_cmd=echo
1967
1988
_LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
1968
1989
_LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
2484
2505
lt_cv_sys_max_cmd_len=-1;
2508
cygwin* | mingw* | cegcc*)
2488
2509
# On Win9x/ME, this test blows up -- it succeeds, but takes
2489
2510
# about 5 minutes as the teststring grows exponentially.
2490
2511
# Worse, since 9x/ME are not pre-emptively multitasking,
3007
3024
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
3008
3025
m4_require([_LT_DECL_EGREP])dnl
3009
3026
m4_require([_LT_FILEUTILS_DEFAULTS])dnl
3027
m4_require([_LT_DECL_OBJDUMP])dnl
3010
3028
m4_require([_LT_DECL_SED])dnl
3011
3029
AC_MSG_CHECKING([dynamic linker characteristics])
3171
3189
# libtool to hard-code these into programs
3174
cygwin* | mingw* | pw32*)
3192
cygwin* | mingw* | pw32* | cegcc*)
3175
3193
version_type=windows
3176
3194
shrext_cmds=".dll"
3177
3195
need_version=no
3178
3196
need_lib_prefix=no
3180
3198
case $GCC,$host_os in
3181
yes,cygwin* | yes,mingw* | yes,pw32*)
3199
yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
3182
3200
library_names_spec='$libname.dll.a'
3183
3201
# DLL is installed to $(libdir)/../bin by postinstall_cmds
3184
3202
postinstall_cmds='base_file=`basename \${file}`~
3201
3219
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
3202
3220
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
3205
3223
# MinGW DLLs use traditional 'lib' prefix
3206
3224
soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
3207
3225
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
3940
3958
# -- PORTME fill in with the dynamic library characteristics
3941
3959
m4_defun([_LT_CHECK_MAGIC_METHOD],
3942
3960
[m4_require([_LT_DECL_EGREP])
3961
m4_require([_LT_DECL_OBJDUMP])
3943
3962
AC_CACHE_CHECK([how to recognize dependent libraries],
3944
3963
lt_cv_deplibs_check_method,
3945
3964
[lt_cv_file_magic_cmd='$MAGIC_CMD'
4547
4572
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
4548
4573
# PIC is the default for these OSes.
4550
mingw* | cygwin* | os2* | pw32*)
4575
mingw* | cygwin* | os2* | pw32* | cegcc*)
4551
4576
# This hack is so that the source file can tell whether it is being
4552
4577
# built for inclusion in a dll (and should export symbols for example).
4553
4578
# Although the cygwin gcc ignores -fPIC, still need this for old-style
4577
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
4602
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
4603
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
4604
# sets the default TLS model and affects inlining.
4579
4605
case $host_cpu in
4583
4609
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4675
4701
_LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
4676
4702
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4705
# old Intel C++ for x86_64 which still supported -KPIC.
4680
4706
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4681
4707
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4682
4708
_LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4711
# Intel C++, used to be incompatible with GCC.
4712
# ICC 10 doesn't accept -KPIC any more.
4713
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4714
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4715
_LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4684
4717
pgCC* | pgcpp*)
4685
4718
# Portland Group C++ compiler
4686
4719
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4846
4879
# PIC is the default for these OSes.
4849
mingw* | cygwin* | pw32* | os2*)
4882
mingw* | cygwin* | pw32* | os2* | cegcc*)
4850
4883
# This hack is so that the source file can tell whether it is being
4851
4884
# built for inclusion in a dll (and should export symbols for example).
4852
4885
# Although the cygwin gcc ignores -fPIC, still need this for old-style
4865
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
4898
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
4899
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
4900
# sets the default TLS model and affects inlining.
4867
4901
case $host_cpu in
4869
4903
# +Z the default
4947
4981
linux* | k*bsd*-gnu)
4948
4982
case $cc_basename in
4949
icc* | ecc* | ifort*)
4983
# old Intel for x86_64 which still supported -KPIC.
4950
4985
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4951
4986
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4952
4987
_LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4989
# icc used to be incompatible with GCC.
4990
# ICC 10 doesn't accept -KPIC any more.
4992
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4993
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4994
_LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4996
# Lahey Fortran 8.1.
4998
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4999
_LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
5000
_LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
4954
5002
pgcc* | pgf77* | pgf90* | pgf95*)
4955
5003
# Portland Group compilers (*not* the Pentium gcc compiler,
4956
5004
# which looks to be a dead project)
5277
cygwin* | mingw* | pw32*)
5325
cygwin* | mingw* | pw32* | cegcc*)
5278
5326
# _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
5279
5327
# as there is no search path for DLLs.
5280
5328
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5340
5388
tmp_addflag=' -i_dynamic -nofor_main' ;;
5341
5389
ifc* | ifort*) # Intel Fortran compiler
5342
5390
tmp_addflag=' -nofor_main' ;;
5391
lf95*) # Lahey Fortran 8.1
5392
_LT_TAGVAR(whole_archive_flag_spec, $1)=
5393
tmp_sharedflag='--shared' ;;
5343
5394
xl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
5344
5395
tmp_sharedflag='-qmkshrobj'
5345
5396
tmp_addflag= ;;
5626
_LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
5575
5627
# It seems that -bexpall does not export symbols beginning with
5576
5628
# underscore (_), so it is better to generate a list of symbols to export.
5577
5629
_LT_TAGVAR(always_export_symbols, $1)=yes
5626
5678
_LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
5629
cygwin* | mingw* | pw32*)
5681
cygwin* | mingw* | pw32* | cegcc*)
5630
5682
# When not using gcc, we currently assume that we are using
5631
5683
# Microsoft Visual C++.
5632
5684
# hardcode_libdir_flag_spec is actually meaningless, as there is
5730
5782
_LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
5733
_LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
5785
_LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
5736
5788
_LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
6572
cygwin* | mingw* | pw32*)
6625
cygwin* | mingw* | pw32* | cegcc*)
6573
6626
# _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
6574
6627
# as there is no search path for DLLs.
6575
6628
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
8008
# If we don't have a new enough Autoconf to choose the best objdump
8009
# available, choose the one first in the user's PATH.
8010
m4_defun([_LT_DECL_OBJDUMP],
8011
[AC_CHECK_TOOL(OBJDUMP, objdump, false)
8012
test -z "$OBJDUMP" && OBJDUMP=objdump
8013
_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper])
7955
8020
# Check for a fully-functional sed program, that truncates
8410
8475
[enable_win32_dll=yes
8413
*-*-cygwin* | *-*-mingw* | *-*-pw32*)
8478
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
8414
8479
AC_CHECK_TOOL(AS, as, false)
8415
8480
AC_CHECK_TOOL(DLLTOOL, dlltool, false)
8416
8481
AC_CHECK_TOOL(OBJDUMP, objdump, false)
8652
8717
# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
8654
# Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
8655
# Written by Gary V. Vaughan, 2004
8719
# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
8720
# Written by Gary V. Vaughan, 2004
8657
8722
# This file is free software; the Free Software Foundation gives
8658
8723
# unlimited permission to copy and/or distribute it, with or without
8659
8724
# modifications, as long as this notice is preserved.
8661
# serial 5 ltsugar.m4
8726
# serial 6 ltsugar.m4
8663
8728
# This is to help aclocal find these macros, as it can't see m4_define.
8664
8729
AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
8714
8779
# Produce a SEP delimited list of all paired combinations of elements of
8715
8780
# PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list
8716
8781
# has the form PREFIXmINFIXSUFFIXn.
8782
# Needed until we can rely on m4_combine added in Autoconf 2.62.
8717
8783
m4_define([lt_combine],
8718
[m4_if([$2], [], [],
8719
[m4_if([$4], [], [],
8720
[lt_join(m4_quote(m4_default([$1], [[, ]])),
8721
lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_prefix, [$2],
8722
[m4_foreach(_Lt_suffix, lt_car([m4_shiftn(3, $@)]),
8723
[_Lt_prefix[]$3[]_Lt_suffix ])])))))])])dnl
8784
[m4_if(m4_eval([$# > 3]), [1],
8785
[m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl
8786
[[m4_foreach([_Lt_prefix], [$2],
8787
[m4_foreach([_Lt_suffix],
8788
]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[,
8789
[_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])
8727
8792
# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
8785
8850
# Generated from ltversion.in.
8787
# serial 2976 ltversion.m4
8852
# serial 3012 ltversion.m4
8788
8853
# This file is part of GNU Libtool
8790
m4_define([LT_PACKAGE_VERSION], [2.2.4])
8791
m4_define([LT_PACKAGE_REVISION], [1.2976])
8855
m4_define([LT_PACKAGE_VERSION], [2.2.6])
8856
m4_define([LT_PACKAGE_REVISION], [1.3012])
8793
8858
AC_DEFUN([LTVERSION_VERSION],
8794
[macro_version='2.2.4'
8795
macro_revision='1.2976'
8859
[macro_version='2.2.6'
8860
macro_revision='1.3012'
8796
8861
_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
8797
8862
_LT_DECL(, macro_revision, 0)