Commit c4879ce7 authored by Bruno Haible's avatar Bruno Haible

Rename signal_.h to signal.in.h.

parent b2b1b420
......@@ -44,6 +44,9 @@
* lib/search.in.h: Renamed from lib/search_.h.
* modules/search (Files, Makefile.am): Use search.in.h instead of
search_.h.
* lib/signal.in.h: Renamed from lib/signal_.h.
* modules/signal (Files, Makefile.am): Use signal.in.h instead of
_signal.h.
2007-09-30 Bruno Haible <bruno@clisp.org>
# signalblocking.m4 serial 5
# signalblocking.m4 serial 6
dnl Copyright (C) 2001-2002, 2006-2007 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
......@@ -24,7 +24,7 @@ AC_DEFUN([gl_SIGNALBLOCKING],
fi
])
# Prerequisites of the part of lib/signal_.h and of lib/sigprocmask.c.
# Prerequisites of the part of lib/signal.in.h and of lib/sigprocmask.c.
AC_DEFUN([gl_PREREQ_SIGPROCMASK],
[
AC_REQUIRE([gl_SIGNAL_H_DEFAULTS])
......
......@@ -2,7 +2,7 @@ Description:
A GNU-like <signal.h>.
Files:
lib/signal_.h
lib/signal.in.h
m4/signal_h.m4
Depends-on:
......@@ -17,7 +17,7 @@ BUILT_SOURCES += signal.h
# We need the following in order to create <signal.h> when the system
# doesn't have a complete one.
signal.h: signal_.h
signal.h: signal.in.h
rm -f $@-t $@
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
......@@ -26,7 +26,7 @@ signal.h: signal_.h
-e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|$(HAVE_POSIX_SIGNALBLOCKING)|g' \
-e 's|@''HAVE_SIGSET_T''@|$(HAVE_SIGSET_T)|g' \
-e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
< $(srcdir)/signal_.h; \
< $(srcdir)/signal.in.h; \
} > $@-t
mv $@-t $@
MOSTLYCLEANFILES += signal.h signal.h-t
......
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