1
0
gettext-runtime/use-acinit-for-libtextstyle.patch

17 lines
513 B
Diff
Raw Normal View History

--- gettext-0.21/libtextstyle/configure.ac
+++ gettext-0.21/libtextstyle/configure.ac
@@ -17,11 +17,10 @@
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ([2.63])
-AC_INIT
+AC_INIT([libtextstyle],
+ m4_esyscmd([source ./version.sh; echo $VERSION_NUMBER | tr -d '\n']))
AC_CONFIG_SRCDIR([version.sh])
AC_CONFIG_AUX_DIR([build-aux])
-. $srcdir/version.sh
-gl_INIT_PACKAGE([libtextstyle], [$VERSION_NUMBER])
AM_INIT_AUTOMAKE([1.13 silent-rules])
AM_CONFIG_HEADER([config.h])