1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
|
Author: Andreas Tille <tille@debian.org>
Last-Update: 2025-01-10
Description: Enable dh_autoreconfigure
--- a/configure.ac
+++ b/configure.ac
@@ -1,14 +1,19 @@
dnl Process this file with autoconf to create configure.
-AC_INIT(README)
-AM_INIT_AUTOMAKE(xbubble,0.5.11.2)
-AM_CONFIG_HEADER([src/config.h])
+AC_INIT([xbubble], [0.5.11.2], [martin.quinson@tuxfamily.org])
+AM_INIT_AUTOMAKE([foreign])
+
+dnl Specify the location for the config header.
+AC_CONFIG_HEADERS([src/config.h])
+
+# Add gettext version requirement.
+AM_GNU_GETTEXT([external])
+dnl AM_GNU_GETTEXT_VERSION([0.20])
dnl Checks for programs.
AC_PROG_CC
CFLAGS="$CFLAGS -Wall"
dnl Checks for headers.
-AC_HEADER_STDC
AC_CHECK_HEADER(unistd.h,,[AC_MSG_ERROR([cannot find unistd.h !])])
AC_CHECK_HEADER(limits.h,,[AC_MSG_ERROR([cannot find limits.h !])])
AC_CHECK_HEADER(signal.h,,[AC_MSG_ERROR([cannot find signal.h !])])
@@ -63,5 +68,12 @@ then
fi
SG_COMPILE_FLAGS
-AC_OUTPUT(Makefile src/Makefile man/Makefile data/Makefile \
- po/Makefile.in )
+AC_CONFIG_FILES([
+ Makefile
+ src/Makefile
+ man/Makefile
+ data/Makefile
+ po/Makefile.in
+])
+AC_OUTPUT
+
--- a/po/Makefile.in.in
+++ b/po/Makefile.in.in
@@ -29,8 +29,7 @@ gettextsrcdir = $(datadir)/gettext/po
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
-MKINSTALLDIRS = @MKINSTALLDIRS@
-mkinstalldirs = $(SHELL) $(MKINSTALLDIRS)
+mkinstalldirs = mkdir -p
GMSGFMT = @GMSGFMT@
MSGFMT = @MSGFMT@
|