~noskcaj/ubuntu/utopic/ghex/3.10.1

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Jackson Doak
  • Date: 2014-06-30 02:13:15 UTC
  • mfrom: (1.2.26)
  • Revision ID: noskcaj@ubuntu.com-20140630021315-6aw9haqr2hhnx1be
* New upstream release.
* Drop libtool_ppc64el.patch, fixed upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# generated automatically by aclocal 1.13.1 -*- Autoconf -*-
 
1
# generated automatically by aclocal 1.13.4 -*- Autoconf -*-
2
2
 
3
 
# Copyright (C) 1996-2012 Free Software Foundation, Inc.
 
3
# Copyright (C) 1996-2013 Free Software Foundation, Inc.
4
4
 
5
5
# This file is free software; the Free Software Foundation
6
6
# gives unlimited permission to copy and/or distribute it,
20
20
If you have problems, you may need to regenerate the build system entirely.
21
21
To do so, use the procedure documented by the package, typically 'autoreconf'.])])
22
22
 
 
23
# gnome-compiler-flags.m4
 
24
#
 
25
# serial 2
 
26
#
 
27
 
23
28
dnl GNOME_COMPILE_WARNINGS
24
29
dnl Turn on many useful compiler warnings and substitute the result into
25
30
dnl WARN_CFLAGS
26
31
dnl For now, only works on GCC
 
32
dnl Pass the default value of the --enable-compile-warnings configure option as
 
33
dnl the first argument to the macro, defaulting to 'yes'.
 
34
dnl Additional warning/error flags can be passed as an optional second argument.
 
35
dnl
 
36
dnl For example: GNOME_COMPILE_WARNINGS([maximum],[-Werror=some-flag -Wfoobar])
27
37
AC_DEFUN([GNOME_COMPILE_WARNINGS],[
28
38
    dnl ******************************
29
39
    dnl More compiler warnings
63
73
        -Werror=missing-include-dirs \
64
74
    "
65
75
 
 
76
    dnl Additional warning or error flags provided by the module author to
 
77
    dnl allow stricter standards to be imposed on a per-module basis.
 
78
    dnl The author can pass -W or -Werror flags here as they see fit.
 
79
    additional_flags="m4_default([$2],[])"
 
80
 
66
81
    case "$enable_compile_warnings" in
67
82
    no)
68
83
        warning_flags=
71
86
        warning_flags="-Wall"
72
87
        ;;
73
88
    yes)
74
 
        warning_flags="$base_warn_flags $base_error_flags"
 
89
        warning_flags="$base_warn_flags $base_error_flags $additional_flags"
75
90
        ;;
76
91
    maximum|error)
77
 
        warning_flags="$base_warn_flags $base_error_flags"
 
92
        warning_flags="$base_warn_flags $base_error_flags $additional_flags"
78
93
        ;;
79
94
    *)
80
95
        AC_MSG_ERROR(Unknown argument '$enable_compile_warnings' to --enable-compile-warnings)
270
285
]
271
286
)
272
287
 
 
288
# nls.m4 serial 5 (gettext-0.18)
 
289
dnl Copyright (C) 1995-2003, 2005-2006, 2008-2013 Free Software Foundation,
 
290
dnl Inc.
 
291
dnl This file is free software; the Free Software Foundation
 
292
dnl gives unlimited permission to copy and/or distribute it,
 
293
dnl with or without modifications, as long as this notice is preserved.
 
294
dnl
 
295
dnl This file can can be used in projects which are not available under
 
296
dnl the GNU General Public License or the GNU Library General Public
 
297
dnl License but which still want to provide support for the GNU gettext
 
298
dnl functionality.
 
299
dnl Please note that the actual code of the GNU gettext library is covered
 
300
dnl by the GNU Library General Public License, and the rest of the GNU
 
301
dnl gettext package package is covered by the GNU General Public License.
 
302
dnl They are *not* in the public domain.
 
303
 
 
304
dnl Authors:
 
305
dnl   Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
 
306
dnl   Bruno Haible <haible@clisp.cons.org>, 2000-2003.
 
307
 
 
308
AC_PREREQ([2.50])
 
309
 
 
310
AC_DEFUN([AM_NLS],
 
311
[
 
312
  AC_MSG_CHECKING([whether NLS is requested])
 
313
  dnl Default is enabled NLS
 
314
  AC_ARG_ENABLE([nls],
 
315
    [  --disable-nls           do not use Native Language Support],
 
316
    USE_NLS=$enableval, USE_NLS=yes)
 
317
  AC_MSG_RESULT([$USE_NLS])
 
318
  AC_SUBST([USE_NLS])
 
319
])
 
320
 
273
321
# pkg.m4 - Macros to locate and utilise pkg-config.            -*- Autoconf -*-
274
322
# serial 1 (pkg-config-0.24)
275
323
539
587
.PHONY: pot
540
588
pot: $(_HELP_POTFILE)
541
589
$(_HELP_POTFILE): $(_HELP_C_FILES) $(_HELP_C_EXTRA) $(_HELP_C_MEDIA)
542
 
        $(AM_V_GEN)$(ITSTOOL) -o "[$]@" $(_HELP_C_FILES)
 
590
        $(AM_V_GEN)if test -d "C"; then d=; else d="$(srcdir)/"; fi; \
 
591
        $(ITSTOOL) -o "[$]@" $(foreach f,$(_HELP_C_FILES),"$${d}$(f)")
543
592
 
544
593
.PHONY: repo
545
594
repo: $(_HELP_POTFILE)
695
744
[am__api_version='1.13'
696
745
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
697
746
dnl require some minimum version.  Point them to the right macro.
698
 
m4_if([$1], [1.13.1], [],
 
747
m4_if([$1], [1.13.4], [],
699
748
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
700
749
])
701
750
 
711
760
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
712
761
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
713
762
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
714
 
[AM_AUTOMAKE_VERSION([1.13.1])dnl
 
763
[AM_AUTOMAKE_VERSION([1.13.4])dnl
715
764
m4_ifndef([AC_AUTOCONF_VERSION],
716
765
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
717
766
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
1033
1082
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1034
1083
    test -z "$DEPDIR" && continue
1035
1084
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
1036
 
    test -z "am__include" && continue
 
1085
    test -z "$am__include" && continue
1037
1086
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1038
1087
    # Find all dependency output files, they are included files with
1039
1088
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
1381
1430
fi
1382
1431
])
1383
1432
 
1384
 
# Copyright (C) 2003-2013 Free Software Foundation, Inc.
1385
 
#
1386
 
# This file is free software; the Free Software Foundation
1387
 
# gives unlimited permission to copy and/or distribute it,
1388
 
# with or without modifications, as long as this notice is preserved.
1389
 
 
1390
 
# AM_PROG_MKDIR_P
1391
 
# ---------------
1392
 
# Check for 'mkdir -p'.
1393
 
AC_DEFUN([AM_PROG_MKDIR_P],
1394
 
[AC_PREREQ([2.60])dnl
1395
 
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
1396
 
dnl FIXME to be removed in Automake 1.14.
1397
 
AC_DIAGNOSE([obsolete],
1398
 
[$0: this macro is deprecated, and will soon be removed.
1399
 
You should use the Autoconf-provided 'AC][_PROG_MKDIR_P' macro instead,
1400
 
and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files.])
1401
 
dnl Automake 1.8 to 1.9.6 used to define mkdir_p.  We now use MKDIR_P,
1402
 
dnl while keeping a definition of mkdir_p for backward compatibility.
1403
 
dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
1404
 
dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
1405
 
dnl Makefile.ins that do not define MKDIR_P, so we do our own
1406
 
dnl adjustment using top_builddir (which is defined more often than
1407
 
dnl MKDIR_P).
1408
 
AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
1409
 
case $mkdir_p in
1410
 
  [[\\/$]]* | ?:[[\\/]]*) ;;
1411
 
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1412
 
esac
1413
 
])
1414
 
 
1415
1433
# Helper functions for option handling.                     -*- Autoconf -*-
1416
1434
 
1417
1435
# Copyright (C) 2001-2013 Free Software Foundation, Inc.
1759
1777
 
1760
1778
  AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
1761
1779
  AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1762
 
  
 
1780
 
1763
1781
AC_SUBST([am__tar])
1764
1782
AC_SUBST([am__untar])
1765
1783
]) # _AM_PROG_TAR
1766
1784
 
1767
 
m4_include([m4/gettext.m4])
1768
 
m4_include([m4/iconv.m4])
1769
 
m4_include([m4/intlmacosx.m4])
1770
1785
m4_include([m4/intltool.m4])
1771
 
m4_include([m4/lib-ld.m4])
1772
 
m4_include([m4/lib-link.m4])
1773
 
m4_include([m4/lib-prefix.m4])
1774
1786
m4_include([m4/libtool.m4])
1775
1787
m4_include([m4/ltoptions.m4])
1776
1788
m4_include([m4/ltsugar.m4])
1777
1789
m4_include([m4/ltversion.m4])
1778
1790
m4_include([m4/lt~obsolete.m4])
1779
 
m4_include([m4/nls.m4])
1780
 
m4_include([m4/po.m4])
1781
 
m4_include([m4/progtest.m4])