View Issue Details

IDProjectCategoryView StatusLast Update
0000542LDMud 3.3Compilation, Installationpublic2018-01-29 21:57
Reporterfufu Assigned Tozesstra  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.3.713 
Fixed in Version3.3.717 
Summary0000542: creating configure from configure.in fails
Descriptionto reproduce: cd src; autoconf autoconf/configure.in > configure.test
with autoconf 2.61, this results in a few warnings and a final line saying

autom4te-2.61: /usr/bin/m4 failed with exit status: 1
Additional InformationThe AC_FORM_HELP macro sometimes generates a %0s format string which m4 doesn't like.

I'll attach a patch that appears to fix the problem -- it uses %.0s instead of %0s and appears to work.
TagsNo tags attached.
Attached Files
fix-configure-in.patch (1,383 bytes)   
commit 8f4092e7ce60cb1f719687a995d502f882a6f12c
Author: Bertram Felgenhauer <int-e@gmx.de>
Date:   Fri May 9 21:31:31 2008 +0200

    Fix configure.in to work with autoconf 2.61 and later.

diff --git a/src/autoconf/configure.in b/src/autoconf/configure.in
index 4f51fa1..e9ac21d 100644
--- a/src/autoconf/configure.in
+++ b/src/autoconf/configure.in
@@ -60,7 +60,7 @@ val_[$1]="$with_[$1]"]
 
 AC_DEFUN([AC_FORM_HELP],[  --$1[]dnl
 ifelse([$2],,,dnl
-builtin(format,%[]builtin(eval,(len([$1])<32)*(32-len([$1])))s,)  [default=$2])[]dnl
+builtin(format,%[.]builtin(eval,(len([$1])<32)*(32-len([$1])))s,)  [default=$2])[]dnl
 ifelse([$3],,,[
 ]patsubst([$3],[^],[        ]))[]dnl
 ])
@@ -126,7 +126,7 @@ AC_MY_ARG_ENABLE(use-pcre,yes,,[Enables PCRE: no/yes/builtin/no-builtin])
 AC_MY_ARG_ENABLE(use-deprecated,yes,,[Enables obsolete and deprecated efuns])
 AC_MY_ARG_ENABLE(use-structs,yes,,[Enables structs])
 AC_MY_ARG_ENABLE(use-tls,no,,[Enables Transport Layer Security over Telnet: no/gnu/ssl/yes])
-AC_MY_ARG_WITH(tls-path,,[Optional location of the TLS include/ and lib/ directory])
+AC_MY_ARG_WITH(tls-path,,,[Optional location of the TLS include/ and lib/ directory])
 AC_MY_ARG_ENABLE(use-new-inlines,yes,,[Enables new inline syntax])
 AC_MY_ARG_ENABLE(use-set-light,yes,,[Enables efun set_light()])
 AC_MY_ARG_ENABLE(use-set-is-wizard,yes,,[Enables efun set_is_wizard()])
fix-configure-in.patch (1,383 bytes)   

Activities

fufu

2008-05-09 14:03

manager   ~0000620

This is a duplicate of 0000541, sorry.

zesstra

2008-06-30 16:45

administrator   ~0000636

Patch applied in r2367 / 3.3.717.

Issue History

Date Modified Username Field Change
2008-05-09 13:45 fufu New Issue
2008-05-09 13:45 fufu File Added: fix-configure-in.patch
2008-05-09 14:03 fufu Note Added: 0000620
2008-06-30 16:45 zesstra Status new => resolved
2008-06-30 16:45 zesstra Fixed in Version => 3.3.717
2008-06-30 16:45 zesstra Resolution open => fixed
2008-06-30 16:45 zesstra Assigned To => zesstra
2008-06-30 16:45 zesstra Note Added: 0000636
2009-05-05 13:51 zesstra Project LDMud => LDMud 3.3
2010-11-16 09:42 zesstra Source_changeset_attached => ldmud.git master bfc14ce4
2018-01-29 18:59 zesstra Source_changeset_attached => ldmud.git master bfc14ce4
2018-01-29 21:57 zesstra Source_changeset_attached => ldmud.git master bfc14ce4