Updating the ChangeLog file
[enscript.git] / update-install.sh
1 # This Script modifies the necessaire files 
2 # to be able to compile enscript from source found on git://git.savannah.gnu.org
3 # Tested to be used after the commit of 2018-03-17
4 # Tested on Linux Arch, Linux Artix Artix
5 # Created by Wim Stockman - wim@thinkerwim.org - on 20230303
6
7 sed -i '/AC_FUNC_ALLOCA/a dnl its save to say that in 2023 all compilers support prototypes\nAC_DEFINE([PROTOTYPES], [1], [Define to 1 if your compiler supports function prototypes.])' configure.ac
8 sed -i '/AM_GNU_GETTEXT$/c AM_GNU_GETTEXT([external])' configure.ac
9 sed -i 's/intl\/Makefile//' configure.ac
10 sed -i 's/po\/Makefile.in//' configure.ac
11 sed -i 's/po\/Makefile//' configure.ac
12 sed -i 's/intl//' Makefile.am
13 sed -i '/include/a #include<langinfo.h>' src/util.c
14 gettextize 
15 aclocal -I m4
16 autoreconf --install
17