$NetBSD: patch-ag,v 1.1 2004/03/30 15:13:12 tv Exp $ --- acinclude.m4.orig Tue Apr 15 08:16:18 2003 +++ acinclude.m4 @@ -588,7 +588,7 @@ extern "C" { EOF # Now generate the symbol file. - sed 's/^.* _\?\(.*\)$/extern char \1;/' < "$ac_nlist" >> conftest.c + sed 's/^.* _\{0,1\}\(.*\)$/extern char \1;/' < "$ac_nlist" >> conftest.c cat <> conftest.c #if defined (__STDC__) && __STDC__ @@ -610,7 +610,7 @@ dld_preloaded_symbols[] = changequote([,])dnl { EOF - sed 's/^_\?\(.*\) _\?\(.*\)$/ {"\1", (__ptr_t) \&\2},/' < "$ac_nlist" >> conftest.c + sed 's/^_\{0,1\}/\(.*\) _\{0,1\}\(.*\)$/ {"\1", (__ptr_t) \&\2},/' < "$ac_nlist" >> conftest.c cat <<\EOF >> conftest.c {0, (__ptr_t) 0} };