[Pkg-kbd-devel] Bug#459156: patch
Larry Doolittle
ldoolitt at recycle.lbl.gov
Thu Jan 24 00:32:06 UTC 2008
The problem is in a different treatment of echo "\n".
Under bash it comes out "\n", under dash it comes out "
".
This patch quickly bypasses the problem. Trust it as
far as you can throw it.
- Larry
--- kbd-1.12/configure 2004-01-03 06:53:39.000000000 -0800
+++ kbd-1.12-hack/configure 2008-01-23 16:27:43.000000000 -0800
@@ -151,14 +151,14 @@
#
# 2. For lib/nls.h: do we have <libintl.h> and gettext() ?
#
-echo '
+cat > conftest.c <<EOT
#include <libintl.h>
main(int a, char **v){
if (a == -1) /* false */
gettext("There is no gettext man page\n");
exit(0);
}
-' > conftest.c
+EOT
eval $compile
if [ $nls = 1 ]; then
if test -s conftest && ./conftest 2>/dev/null; then
More information about the Pkg-kbd-devel
mailing list