On Mon, 29 Oct 2012, Niels Möller wrote:
Martin Storsjo <[email protected]> writes:
--- a/configure.ac
+++ b/configure.ac
@@ -122,7 +122,7 @@ if test x$enable_dependency_tracking = xyes ; then
AC_CONFIG_COMMANDS([dummy-dep-files],
[(cd "$srcdir" && find . '(' -name '*.c' -o -name '*.cxx' ')' -print) \
- | sed 's/\.c\(xx\|\)$//' | (while read f; do echo > "$f.o.d"; echo >
"$f.po.d"; done)
+ | sed 's/\.c\(xx\)\{0,1\}//' | (while read f; do echo > "$f.o.d"; echo >
"$f.po.d"; done)
])
fi
Checked in, with the small modification that I keep the $ at the end of
the regexp. (Actually, since we do pass glob patterns to find, I guess it would
be sufficient to remove *any* extension, i.e., sed 's/\.[^.]*$//' or
so).
Thanks, removing the $ was accidental.
// Martin
_______________________________________________
nettle-bugs mailing list
[email protected]
http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs