File: warn-on-use

package info (click to toggle)
gnulib 20100704%2Bstable-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 52,504 kB
  • ctags: 17,021
  • sloc: ansic: 198,371; sh: 19,713; yacc: 1,219; cpp: 1,048; perl: 774; lisp: 271; makefile: 192; java: 5
file content (35 lines) | stat: -rw-r--r-- 683 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Description:
A C macro for emitting a warning if a function is used.

Applicability:
all

Files:
build-aux/warn-on-use.h
m4/warn-on-use.m4

Depends-on:

configure.ac:

Makefile.am:
BUILT_SOURCES += warn-on-use.h
# The warn-on-use.h that gets inserted into generated .h files is the same as
# build-aux/warn-on-use.h, except that it has the copyright header cut off.
warn-on-use.h: $(top_srcdir)/build-aux/warn-on-use.h
	$(AM_V_GEN)rm -f $@-t $@ && \
	sed -n -e '/^.ifndef/,$$p' \
	  < $(top_srcdir)/build-aux/warn-on-use.h \
	  > $@-t && \
	mv $@-t $@
MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t

WARN_ON_USE_H=warn-on-use.h

Include:

License:
LGPLv2+

Maintainer:
Eric Blake