Commit b3fb75f3 authored by Pekka Pessi's avatar Pekka Pessi

sip/Makefile.am, http/Makefile.am, msg/Makefile.am: use C locale with awk scripts

Gawk 3.1.5 has some weird problems on UTF-8 locales.

darcs-hash:20070419141238-65a35-8dc14625486ca41db09f616014ecd11c798b28e9.gz
parent 252d71e3
......@@ -71,7 +71,7 @@ TAG_DLL_FLAGS = DLLREF=1
MSG_PARSER_AWK = ${srcdir}/../msg/msg_parser.awk
AWK_HTTP_AWK = ${AWK} -f ${MSG_PARSER_AWK} module=http
AWK_HTTP_AWK = LC_ALL=C ${AWK} -f ${MSG_PARSER_AWK} module=http
SS_HTTP_H = ${srcdir}/sofia-sip/http.h
......
......@@ -85,7 +85,7 @@ include $(top_srcdir)/rules/sofia.am
MSG_PARSER_AWK = $(srcdir)/msg_parser.awk
AWK_MSG_AWK = $(AWK) -f $(MSG_PARSER_AWK)
AWK_MSG_AWK = LC_ALL=C $(AWK) -f $(MSG_PARSER_AWK)
${GENERATED_HC}: ${MSG_PARSER_AWK}
......
......@@ -201,7 +201,7 @@ function replace (p, hash, name, NAME, comment, Comment, COMMENT, since)
}
else {
# Remove line with #version#
gsub(/\n[^\n]*#version#[^\n]*\n/, "\n", p);
gsub(/\n[^#\n]*#version#[^\n]*/, "", p);
}
print p > PR;
......
......@@ -106,7 +106,7 @@ include $(top_srcdir)/rules/sofia.am
MSG_PARSER_AWK = $(srcdir)/../msg/msg_parser.awk
AWK_SIP_AWK = $(AWK) -f $(MSG_PARSER_AWK) module=sip
AWK_SIP_AWK = LC_ALL=C $(AWK) -f $(MSG_PARSER_AWK) module=sip
SS_SIP_H = ${srcdir}/sofia-sip/sip.h
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment