summaryrefslogtreecommitdiff
path: root/signame.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1993-09-20 20:03:20 +0000
committerRoland McGrath <roland@redhat.com>1993-09-20 20:03:20 +0000
commit2a53aecb26521bd125f61ce9b678f9da8f979ce0 (patch)
treee41727932272398d095e0ced362587fd1e9f89c8 /signame.c
parent3087dcdb2e2503ac4ed407513a25f1653dc70414 (diff)
downloadgunmake-2a53aecb26521bd125f61ce9b678f9da8f979ce0.tar.gz
entered into RCS
Diffstat (limited to 'signame.c')
-rw-r--r--signame.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/signame.c b/signame.c
index 4f97420..3519ebe 100644
--- a/signame.c
+++ b/signame.c
@@ -19,9 +19,16 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <sys/types.h> /* Some systems need this for <signal.h>. */
#include <signal.h>
-#ifdef HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
+#if defined (emacs) || defined (CONFIG_BROKETS)
+/* We use <config.h> instead of "config.h" so that a compilation
+ using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h
+ (which it would do because it found this file in $srcdir). */
+#include <config.h>
+#else
#include "config.h"
#endif
+#endif
/* Some systems do not define NSIG in <signal.h>. */
#ifndef NSIG