summaryrefslogtreecommitdiff
path: root/packages/console-tools/console-tools-0.3.2/configure.patch
blob: f5b75327e9ca5fac126828de322dee7f9e4550c2 (plain)
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

#
# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
#

--- console-tools-0.3.2/configure.in~configure
+++ console-tools-0.3.2/configure.in
@@ -2,13 +2,14 @@
 dnl Process this file with autoconf to produce a configure script.
 
 # Initialize
-AC_INIT(kbdtools/loadkeys.y)
+AC_INIT
+AC_CONFIG_SRCDIR([kbdtools/loadkeys.y])
 
 define(ct_unicodedata_default,/usr/share/unidata/UnicodeData-2.txt)
 ct_localdatadir_default=/usr/local/share     # iff --enable-localdatadir without specific dir
 
 #AC_CONFIG_AUX_DIR(autoconf)
-AC_CANONICAL_SYSTEM
+AC_CANONICAL_TARGET([])
 AM_INIT_AUTOMAKE(console-tools, 0.3.2)
 
 # Defaults
@@ -25,7 +26,7 @@
 # i18n stuff
 ALL_LINGUAS="cs de ru ga fr"
 AM_GNU_GETTEXT
-AC_OUTPUT_COMMANDS([sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile])
+AC_CONFIG_COMMANDS([default-1],[[sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile]],[[]])
 
 AC_DEFINE_UNQUOTED(LOCALEDIR, "/usr/share/locale")
 
@@ -172,10 +173,11 @@
 AC_SUBST(CHARMAPDIR)
 
 # Output
-AC_OUTPUT([Makefile lib/Makefile lib/console/Makefile lib/cfont/Makefile
+AC_CONFIG_FILES([Makefile lib/Makefile lib/console/Makefile lib/cfont/Makefile
   lib/ctutils/Makefile lib/ctlocal/Makefile lib/generic/Makefile
   fontfiletools/Makefile vttools/Makefile
   kbdtools/Makefile screenfonttools/Makefile contrib/Makefile
   include/Makefile include/lct/Makefile compat/Makefile
   doc/Makefile doc/man/Makefile examples/Makefile
   po/Makefile.in intl/Makefile])
+AC_OUTPUT