Mercurial > gnulib
annotate modules/signal-h @ 40164:b973ad598121
Fix build error when building a shared libunistring on Android.
* tests/uninorm/test-nfc.c (n): Don't define on Android.
(main): Add 'volatile', to defeat a GCC optimization that would
eliminate the reference.
* tests/uninorm/test-nfd.c (n): Don't define on Android.
(main): Add 'volatile', to defeat a GCC optimization that would
eliminate the reference.
* tests/uninorm/test-nfkc.c (n): Don't define on Android.
(main): Add 'volatile', to defeat a GCC optimization that would
eliminate the reference.
* tests/uninorm/test-nfkd.c (n): Don't define on Android.
(main): Add 'volatile', to defeat a GCC optimization that would
eliminate the reference.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Mon, 28 Jan 2019 21:14:08 +0100 |
parents | 79454345ccfc |
children |
rev | line source |
---|---|
15758 | 1 Description: |
2 A GNU-like <signal.h>. | |
3 | |
4 Files: | |
5 lib/signal.in.h | |
6 m4/signal_h.m4 | |
7 | |
8 Depends-on: | |
9 include_next | |
10 snippet/arg-nonnull | |
11 snippet/c++defs | |
12 snippet/warn-on-use | |
13 extensions | |
14 | |
15 configure.ac: | |
16 gl_SIGNAL_H | |
17 | |
18 Makefile.am: | |
19 BUILT_SOURCES += signal.h | |
20 | |
21 # We need the following in order to create <signal.h> when the system | |
22 # doesn't have a complete one. | |
23 signal.h: signal.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) | |
24 $(AM_V_GEN)rm -f $@-t $@ && \ | |
25 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ | |
26 sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ | |
27 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
28 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
29 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ | |
30 -e 's|@''NEXT_SIGNAL_H''@|$(NEXT_SIGNAL_H)|g' \ | |
19527
79454345ccfc
signal-h, monetary, strings: Fix build failure in some cases.
Bruno Haible <bruno@clisp.org>
parents:
15758
diff
changeset
|
31 -e 's/@''GNULIB_PTHREAD_SIGMASK''@/$(GNULIB_PTHREAD_SIGMASK)/g' \ |
79454345ccfc
signal-h, monetary, strings: Fix build failure in some cases.
Bruno Haible <bruno@clisp.org>
parents:
15758
diff
changeset
|
32 -e 's/@''GNULIB_RAISE''@/$(GNULIB_RAISE)/g' \ |
15758 | 33 -e 's/@''GNULIB_SIGNAL_H_SIGPIPE''@/$(GNULIB_SIGNAL_H_SIGPIPE)/g' \ |
34 -e 's/@''GNULIB_SIGPROCMASK''@/$(GNULIB_SIGPROCMASK)/g' \ | |
35 -e 's/@''GNULIB_SIGACTION''@/$(GNULIB_SIGACTION)/g' \ | |
36 -e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|$(HAVE_POSIX_SIGNALBLOCKING)|g' \ | |
37 -e 's|@''HAVE_PTHREAD_SIGMASK''@|$(HAVE_PTHREAD_SIGMASK)|g' \ | |
38 -e 's|@''HAVE_RAISE''@|$(HAVE_RAISE)|g' \ | |
39 -e 's|@''HAVE_SIGSET_T''@|$(HAVE_SIGSET_T)|g' \ | |
40 -e 's|@''HAVE_SIGINFO_T''@|$(HAVE_SIGINFO_T)|g' \ | |
41 -e 's|@''HAVE_SIGACTION''@|$(HAVE_SIGACTION)|g' \ | |
42 -e 's|@''HAVE_STRUCT_SIGACTION_SA_SIGACTION''@|$(HAVE_STRUCT_SIGACTION_SA_SIGACTION)|g' \ | |
43 -e 's|@''HAVE_TYPE_VOLATILE_SIG_ATOMIC_T''@|$(HAVE_TYPE_VOLATILE_SIG_ATOMIC_T)|g' \ | |
44 -e 's|@''HAVE_SIGHANDLER_T''@|$(HAVE_SIGHANDLER_T)|g' \ | |
45 -e 's|@''REPLACE_PTHREAD_SIGMASK''@|$(REPLACE_PTHREAD_SIGMASK)|g' \ | |
46 -e 's|@''REPLACE_RAISE''@|$(REPLACE_RAISE)|g' \ | |
47 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ | |
48 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ | |
49 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ | |
50 < $(srcdir)/signal.in.h; \ | |
51 } > $@-t && \ | |
52 mv $@-t $@ | |
53 MOSTLYCLEANFILES += signal.h signal.h-t | |
54 | |
55 Include: | |
56 <signal.h> | |
57 | |
58 License: | |
59 LGPLv2+ | |
60 | |
61 Maintainer: | |
62 all |