summaryrefslogtreecommitdiff
path: root/comms/unixcw/files/patch-configure.ac
blob: 602a2f6398f577f0a74e2b2ce59ce24d3ca5a16b (plain) (blame)
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
--- configure.ac.orig	2017-02-12 10:41:29 UTC
+++ configure.ac
@@ -22,6 +22,8 @@ AC_PREREQ(2.57)
 AC_INIT([unixcw], [3.5.1])
 AC_CONFIG_SRCDIR([src/libcw/libcw_gen.c])
 AM_INIT_AUTOMAKE
+AC_CONFIG_MACRO_DIR([m4])
+AC_USE_SYSTEM_EXTENSIONS
 
 # Libtool initialization, added during tests on FreeBSD
 LT_INIT
@@ -41,6 +43,9 @@ AC_PROG_INSTALL
 AC_PROG_MAKE_SET
 AC_PROG_LN_S
 AM_PROG_CC_C_O
+AC_GNU_SOURCE
+AM_GNU_GETTEXT(external)
+AM_GNU_GETTEXT_VERSION([0.18])
 
 
 
@@ -409,8 +414,6 @@ AC_SUBST(LIBCW_NDEBUG)
 
 
 
-
-
 # #####
 #  end
 # #####
@@ -427,7 +430,7 @@ AC_HEADER_STDC
 AC_HEADER_STDBOOL
 AC_HEADER_TIME
 AC_CHECK_HEADERS([fcntl.h limits.h stdlib.h string.h strings.h sys/ioctl.h \
-                  sys/param.h sys/time.h unistd.h locale.h libintl.h])
+                  sys/param.h sys/time.h unistd.h locale.h])
 AC_CHECK_HEADERS([getopt.h])
 AC_CHECK_HEADERS([string.h strings.h])
 if test "$ac_cv_header_string_h" = 'no' \