entered into RCS
authorRoland McGrath <roland@redhat.com>
Mon, 20 Sep 1993 20:03:20 +0000 (20:03 +0000)
committerRoland McGrath <roland@redhat.com>
Mon, 20 Sep 1993 20:03:20 +0000 (20:03 +0000)
signame.c

index 4f97420..3519ebe 100644 (file)
--- 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