002-no-intl.patch 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. --- a/configure.in
  2. +++ b/configure.in
  3. @@ -64,25 +64,14 @@ else
  4. AC_MSG_RESULT(no)
  5. fi
  6. -if test ! -f ../rpm.c
  7. -then
  8. - AC_MSG_CHECKING(for GNU xgettext)
  9. - xgettext --version 2>&1 | grep 'GNU gettext' >/dev/null 2>&1 || AC_MSG_ERROR([
  10. - *** GNU gettext is required. The latest version
  11. - *** is always available from ftp://ftp.gnu.org/gnu/gettext/.])
  12. - AC_MSG_RESULT(yes)
  13. -fi
  14. -
  15. AC_CHECK_FUNCS(strerror mtrace getuid geteuid)
  16. AC_CHECK_FUNC(setreuid, [], [
  17. AC_CHECK_LIB(ucb, setreuid, [if echo $LIBS | grep -- -lucb >/dev/null ;then :; else LIBS="$LIBS -lc -lucb" USEUCB=y;fi])
  18. ])
  19. -AM_GNU_GETTEXT
  20. -
  21. POPT_SOURCE_PATH="`pwd`"
  22. AC_DEFINE_UNQUOTED(POPT_SOURCE_PATH, "$POPT_SOURCE_PATH",
  23. [Full path to popt top_sourcedir.])
  24. AC_SUBST(POPT_SOURCE_PATH)
  25. -AC_OUTPUT([Doxyfile Makefile intl/Makefile po/Makefile.in])
  26. +AC_OUTPUT([Doxyfile Makefile])
  27. --- a/Makefile.am
  28. +++ b/Makefile.am
  29. @@ -4,10 +4,9 @@ AUTOMAKE_OPTIONS = 1.4 foreign
  30. EXTRA_DIST = autogen.sh CHANGES $(man_MANS) popt.spec \
  31. testit.sh test-poptrc \
  32. - po/*.in po/*.po po/popt.pot \
  33. popt.ps
  34. -SUBDIRS = intl po
  35. +SUBDIRS =
  36. INCLUDES = -I. -I$(top_srcdir)
  37. --- a/Makefile.in
  38. +++ b/Makefile.in
  39. @@ -124,7 +124,7 @@ EXTRA_DIST = autogen.sh CHANGES $(man_MA
  40. popt.ps
  41. -SUBDIRS = intl po
  42. +SUBDIRS =
  43. INCLUDES = -I. -I$(top_srcdir)
  44. @@ -160,7 +160,7 @@ subdir = .
  45. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  46. mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
  47. CONFIG_HEADER = config.h
  48. -CONFIG_CLEAN_FILES = Doxyfile intl/Makefile
  49. +CONFIG_CLEAN_FILES = Doxyfile
  50. LTLIBRARIES = $(lib_LTLIBRARIES)
  51. libpopt_la_LDFLAGS =
  52. @@ -261,8 +261,6 @@ distclean-hdr:
  53. -rm -f config.h stamp-h1
  54. Doxyfile: $(top_builddir)/config.status Doxyfile.in
  55. cd $(top_builddir) && $(SHELL) ./config.status $@
  56. -intl/Makefile: $(top_builddir)/config.status $(top_srcdir)/intl/Makefile.in
  57. - cd $(top_builddir) && $(SHELL) ./config.status $@
  58. libLTLIBRARIES_INSTALL = $(INSTALL)
  59. install-libLTLIBRARIES: $(lib_LTLIBRARIES)
  60. @$(NORMAL_INSTALL)
  61. @@ -584,7 +582,7 @@ distcleancheck_listfiles = find . -type
  62. distdir: $(DISTFILES)
  63. $(am__remove_distdir)
  64. mkdir $(distdir)
  65. - $(mkinstalldirs) $(distdir)/. $(distdir)/intl $(distdir)/po
  66. + $(mkinstalldirs) $(distdir)/.
  67. @list='$(DISTFILES)'; for file in $$list; do \
  68. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  69. dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \