[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
a few glitches in CVS HEAD m4
From: |
Ralf Wildenhues |
Subject: |
a few glitches in CVS HEAD m4 |
Date: |
Sun, 18 Sep 2005 23:41:05 +0200 |
User-agent: |
Mutt/1.5.9i |
Hi there,
This is just a few random observations perusing CVS HEAD m4,
for the benefit of Gary when he returns to work on it. :)
- I get a build failure of src/getopt.c on GNU/Linux glibc-2.3.2:
| In file included from ../m4/src/getopt.c:80:
| ../m4/src/getopt_int.h:26: error: conflicting types for `_getopt_internal'
| /usr/include/getopt.h:173: error: previous declaration of `_getopt_internal'
Dunno if this is an m4 or a gnulib bug, but getopt.c should not be built
on this system, I believe. Same issue, more errors, with getopt1.c.
Oh, by the way: config.log:
| configure:16967: checking for getopt.h
| configure:17015: result: yes
| configure:17034: checking for getopt_long_only
| configure:17124: result: yes
| configure:17139: checking whether optreset is declared
| configure:17195: result: no
| configure:17204: checking whether getopt_clip is declared
| configure:17260: result: no
...
| GETOPT_H=''
- A couple of proposed tiny patches:
* bootstrap (RM): quote default.
Index: bootstrap
===================================================================
RCS file: /cvsroot/m4/m4/bootstrap,v
retrieving revision 1.27
diff -u -r1.27 bootstrap
--- bootstrap 7 Jul 2005 12:18:48 -0000 1.27
+++ bootstrap 18 Sep 2005 21:17:36 -0000
@@ -7,7 +7,7 @@
: ${AWK=awk}
: ${GNULIB_TOOL=gnulib-tool}
: ${LIBTOOLIZE=libtoolize}
-: ${RM=rm -f}
+: ${RM='rm -f'}
: ${SED=sed}
ltdldir=ltdl
This one probably needs a different fix (in libtool?):
* ltdl/m4/debug.m4 (Xsed): Also define, for
AC_LIBTOOL_COMPILER_OPTION.
Index: ltdl/m4/debug.m4
===================================================================
RCS file: /cvsroot/m4/m4/ltdl/m4/debug.m4,v
retrieving revision 1.2
diff -u -r1.2 debug.m4
--- ltdl/m4/debug.m4 7 Jul 2005 11:31:11 -0000 1.2
+++ ltdl/m4/debug.m4 18 Sep 2005 21:17:36 -0000
@@ -34,7 +34,8 @@
: ${rm=rm -f}
: ${RM=rm -f}
+: ${Xsed="$SED -e 1s/^X//"}
set dummy $CC
compiler="${compiler-[$]2}"
test -n "$rm" || rm="rm -f"
Cheers,
Ralf
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- a few glitches in CVS HEAD m4,
Ralf Wildenhues <=