1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-14 21:47:19 +02:00

(ac_pipe_works): Fixed BRE syntax \? -> \{0,1\}.

Reported by Todd Vierling.
This commit is contained in:
Werner Koch 2004-05-01 09:05:58 +00:00
parent 0842905be3
commit 80343d5e76
3 changed files with 11 additions and 3 deletions

View file

@ -586,8 +586,8 @@ extern "C" {
#endif
EOF
# Now generate the symbol file.
sed 's/^.* _\?\(.*\)$/extern char \1;/' < "$ac_nlist" >> conftest.c
# Now generate the symbol file.
sed 's/^.* _\{0,1\}\(.*\)$/extern char \1;/' < "$ac_nlist" >> conftest.c
cat <<EOF >> conftest.c
#if defined (__STDC__) && __STDC__
@ -609,7 +609,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}
};