generic-poky/meta/packages/console-tools/console-tools-0.3.2/configure.patch

47 lines
1.5 KiB
Diff

#
# 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