Files
nixpkgs/pkgs/by-name/mo/moc/fix_gettext_0_25.patch
euxane 277577f3fa moc: fix build (undefined AM_ICONV from gettext)
This fixes the following build error:

    configure.in:399: error: possibly undefined macro: AM_ICONV
        If this token and others are legitimate, please use m4_pattern_allow.
        See the Autoconf documentation.
    autoreconf: error: /nix/store/0a184ki65w8ra3qmn2qc8clamfjmxdfz-autoconf-2.72/bin/autoconf failed with exit status: 1
2025-12-02 16:40:32 +01:00

18 lines
462 B
Diff

diff --git a/configure.in b/configure.in
index eb71bdf..ba056df 100644
--- a/configure.in
+++ b/configure.in
@@ -1,9 +1,12 @@
AC_INIT([Music On Console],[2.6-alpha3],[mocmaint@daper.net],[moc],
[http://moc.daper.net/])
+AC_CONFIG_MACRO_DIRS([m4])
AC_CONFIG_SRCDIR([main.c])
AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE([dist-xz no-dist-gzip])
+AM_GNU_GETTEXT_VERSION([0.20])
+AM_GNU_GETTEXT([external])
AC_PREREQ([2.64])