abrt-2.0.12-automake-1.12.patch 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. From 00704d4eb30dd12d6f4fcf97320c354ed3eacfa7 Mon Sep 17 00:00:00 2001
  2. From: Alexandre Rostovtsev <tetromino@gentoo.org>
  3. Date: Sat, 22 Sep 2012 05:50:38 -0400
  4. Subject: [PATCH] Fix automake-1.12 autoreconf issues
  5. Need -Wno-portablity for '%'-style pattern rules in doc/Makefile.am and
  6. ':='-style assignments and $(wildcard *~) in src/hooks/Makefile.am.
  7. Need AM_PROG_CC_C_O for src/applet/applet.c
  8. gettext-0.18.1.1's AM_GNU_GETTEXT requires AM_PROG_MKDIR_P, causing
  9. problems for automake-1.12.
  10. ---
  11. configure.ac | 8 +++-----
  12. src/daemon/Makefile.am | 2 +-
  13. 2 files changed, 4 insertions(+), 6 deletions(-)
  14. diff --git a/configure.ac b/configure.ac
  15. index a78d9f8..42acccf 100644
  16. --- a/configure.ac
  17. +++ b/configure.ac
  18. @@ -3,7 +3,7 @@ AC_INIT([abrt],
  19. [crash-catcher@fedorahosted.org])
  20. AC_CONFIG_MACRO_DIR([m4])
  21. -AM_INIT_AUTOMAKE([-Wall -Werror foreign])
  22. +AM_INIT_AUTOMAKE([-Wall -Wno-portability -Werror foreign])
  23. # Support silent build rules. Disable by either passing --disable-silent-rules
  24. # to ./configure or passing V=1 to make
  25. m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES])
  26. @@ -12,8 +12,9 @@ AM_SILENT_RULES([yes])
  27. AC_DISABLE_STATIC
  28. +AM_PROG_AR
  29. AC_PROG_LIBTOOL
  30. -AC_PROG_CC
  31. +AM_PROG_CC_C_O
  32. AC_PROG_LN_S
  33. AC_SYS_LARGEFILE
  34. @@ -30,9 +31,6 @@ GETTEXT_PACKAGE=abrt
  35. AC_SUBST(GETTEXT_PACKAGE)
  36. AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Package name for gettext])
  37. -AM_GNU_GETTEXT([external])
  38. -AM_GNU_GETTEXT_VERSION([0.17])
  39. -
  40. IT_PROG_INTLTOOL([0.35.0])
  41. dnl ****** END ****************************************
  42. diff --git a/src/daemon/Makefile.am b/src/daemon/Makefile.am
  43. index 777dfc4..5a5f0ea 100644
  44. --- a/src/daemon/Makefile.am
  45. +++ b/src/daemon/Makefile.am
  46. @@ -63,4 +63,4 @@ EXTRA_DIST = abrt-handle-upload
  47. DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
  48. install-data-local:
  49. - $(mkdir_p) '$(DESTDIR)/$(VAR_RUN)'
  50. + $(MKDIR_P) '$(DESTDIR)/$(VAR_RUN)'
  51. --
  52. 1.7.12