Hello,
I noticed that brlttys configure.ac does not build with Autoconf
2.62.

brltty uses the undocumented third parametr of AS_HELP_STRING
(formerly AC_HELP_STRING), which is the prefix length, represented by
a string of spaced of the required length.

Unfortunately, Autoconf version 2.62 does not support this.  Instead,
the prefix length can be given as a number.  In Fedora, I'm solving
this by the patch attached to this mail.

Is this acceptable for you?  If yes, just use the patch.
If not, the patch has to be extended so that it uses the right form
according to the version of Autoconf.

I'd like to apologize for the inconvenience on behalf of the Autoconf
team.  The feature was not documented, so we felt it wouldn't be a
big problem to break it.

Cheers,
Stepan Kasal
2008-09-10  Stepan Kasal  <[EMAIL PROTECTED]>


        * aclocal.m4 (BRLTTY_HELP_STRING): Fix for Autoconf 2.62.

diff -urpN brltty-3.9.orig/aclocal.m4 brltty-3.9/aclocal.m4
--- brltty-3.9.orig/aclocal.m4  2007-10-17 17:19:31.000000000 +0200
+++ brltty-3.9/aclocal.m4       2008-09-10 16:06:35.000000000 +0200
@@ -143,8 +143,8 @@ ifelse(len([$5]), 0, [], [dnl
 fi])
 
 AC_DEFUN([BRLTTY_HELP_STRING], [dnl
-AC_HELP_STRING([$1], patsubst([$2], [
-.*$]), [brltty_help_prefix])dnl
+AS_HELP_STRING([$1], patsubst([$2], [
+.*$]), brltty_help_indent)dnl
 patsubst(patsubst([$2], [\`[^
 ]*]), [
 ], [\&brltty_help_prefix])[]dnl
diff -urpN brltty-3.9.orig/configure.ac brltty-3.9/configure.ac
--- brltty-3.9.orig/configure.ac        2008-09-10 15:00:18.000000000 +0200
+++ brltty-3.9/configure.ac     2008-09-10 16:06:16.000000000 +0200
@@ -16,7 +16,7 @@ dnl Process this file with autoconf 2.53
 # This software is maintained by Dave Mielke <[EMAIL PROTECTED]>.
 ###############################################################################
 
-AC_PREREQ([2.53])
+AC_PREREQ([2.62])
 AC_INIT([brltty], [3.9], [http://mielke.cc/brltty/])
 AC_CONFIG_SRCDIR([Programs/brltty.h])
 BRLTTY_SUMMARY_BEGIN
_______________________________________________
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: [email protected]
For general information, go to: http://mielke.cc/mailman/listinfo/brltty

Reply via email to