This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [ping3][PATCH 01/19 v2] Add new macro IN_MODULE to identify module in which source is built
- From: Roland McGrath <roland at hack dot frob dot com>
- To: Siddhesh Poyarekar <siddhesh at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Tue, 18 Nov 2014 10:48:45 -0800 (PST)
- Subject: Re: [ping3][PATCH 01/19 v2] Add new macro IN_MODULE to identify module in which source is built
- Authentication-results: sourceware.org; auth=none
- References: <1408618663-2281-1-git-send-email-siddhesh at redhat dot com> <1408618663-2281-2-git-send-email-siddhesh at redhat dot com> <20140822182247 dot E0FCE2C398C at topped-with-meat dot com> <20140827171916 dot GE8020 at spoyarek dot pnq dot redhat dot com> <20140917123835 dot GU6586 at spoyarek dot pnq dot redhat dot com> <20141001081613 dot GG2217 at spoyarek dot pnq dot redhat dot com> <20141107232210 dot 66E892C3B00 at topped-with-meat dot com> <20141108020955 dot GA16764 at spoyarek dot pnq dot redhat dot com>
We don't use _ as a separator in makefile variable names. I don't think we
want to start. Using subst to just replace - with _ is fine. We can
restrict the module names to the C identifier characters and -.