summaryrefslogtreecommitdiff
path: root/pc/configpk.sed
blob: 26e6e946296130e54b03aca013603d7a4c90d16e (plain)
1
2
3
4
5
6
7
8
9
s/^AC_INIT([[]\{0,1\}\([^],]*\)[]]\{0,1\}, *[[]\{0,1\}\([^],]*\)[]]\{0,1\}, *[[]\{0,1\}\([^],]*\)[]]\{0,1\}, *[[]\{0,1\}\([^],)]*\).*$/\
s|^#undef PACKAGE_NAME *$|#define PACKAGE_NAME "\1"|\
s|^#undef VERSION *$|#define VERSION "\2"\|\
s|^#undef PACKAGE_VERSION *$|#define PACKAGE_VERSION "\2"|\
s|^#undef PACKAGE_STRING *$|#define PACKAGE_STRING "\1 \2"|\
s|^#undef PACKAGE_BUGREPORT *$|#define PACKAGE_BUGREPORT "\3"|\
s|^#undef PACKAGE *$|#define PACKAGE "\4"|\
s|^#undef PACKAGE_TARNAME *$|#define PACKAGE_TARNAME "\4"|\
/p