OSSP CVS Repository |
![]() |
|
The error occurs when using the macro AC_CHECK_PTH macro from pth.m4 file in autoconf when that file is copied onto aclocal.m4.The following bellow is copied from the same error report I sent to Debian maintainers of the pth package, but it seems they are not active now. ¤http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=249328
The error message is:
configure.in:25: error: undefine: undefined macro: "+------------------------------------------------------------------------+" aclocal.m4:8836: _AC_PTH_ERROR is expanded from... aclocal.m4:9184: AC_CHECK_PTH is expanded from... configure.in:25: the top levelThis error is produced by the macro definitions copied by aclocal (command in automake package) from the file /usr/share/aclocal/pth.m4 (which is included in libpth-dev) to the file aclocal.m4
The error is generated from the "undefine" in line 52 of the file pth.m4 (the name of the macro "_ac_pth_line" is sustituted by its content inside the undefine command, hence the error). I found that commenting that line (with "dnl ##") solves the problem but i'm no expert in m4 (probably the way of definition is wrong).
I found also similar problems reported in first part of the message: ¤http://www.mail-archive.com/pth-users@gnu.org/msg00304.html (there the solution proposed is to remove the macro and substitute the string directly in the two places used).
|
Type: code Version: 2.0.1 Status: new Created: 2004-Sep-01 16:45 Severity: 3 Last Change: 2004-Sep-01 16:45 Priority: 3 Subsystem: pth Assigned To: rse Derived From: Creator: anonymous