View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000542 | LDMud 3.3 | Compilation, Installation | public | 2008-05-09 13:45 | 2018-01-29 21:57 |
| Reporter | fufu | Assigned To | zesstra | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 3.3.713 | ||||
| Fixed in Version | 3.3.717 | ||||
| Summary | 0000542: creating configure from configure.in fails | ||||
| Description | to 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 Information | The 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. | ||||
| Tags | No 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()])
| ||||
| 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 |