aboutsummaryrefslogtreecommitdiff
path: root/gdb/config.in
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2001-07-23 19:21:57 +0000
committerMark Kettenis <kettenis@gnu.org>2001-07-23 19:21:57 +0000
commit0200359f12b09d83e4fecfddd1e7a5174ca17e60 (patch)
tree682eae85004590be68a5b3e24eb63d1eb3532e6b /gdb/config.in
parent413eca6f968c5c6321e273b60b453423cf532d9e (diff)
downloadgdb-0200359f12b09d83e4fecfddd1e7a5174ca17e60.zip
gdb-0200359f12b09d83e4fecfddd1e7a5174ca17e60.tar.gz
gdb-0200359f12b09d83e4fecfddd1e7a5174ca17e60.tar.bz2
* configure.in (AC_CHECK_FUNCS): Add setpggrp.
(AC_FUNC_SETPGRP): Add. * aclocal.m4, configure, config.in: Regenerated. * inflow.c (gdb_setpgid): Get rid of NEED_POSIX_SETPGID and SETPGRP_ARGS. Always use setpgid if it is available, fall back on setpgrp if it isn't. Use SETPGRP_VOID (defined by autoconf) to distinguish between the two setpgrp flavours. * config/xm-sysv4.h, config/arm/xm-linux.h, config/i386/xm-i386aix.h, config/i386/xm-sco.h, config/i386/xm-linux.h, config/i386/xm-ptx.h, config/m68k/xm-linux.h, config/powerpc/xm-linux.h, config/sparc/xm-linux.h, config/sparc/xm-sun4sol2.h, config/ia64/xm-linux.h (NEED_POSIX_SETPGID): Remove. * config/rs6000/xm-rs6000.h (SETPGRP_ARGS): Remove.
Diffstat (limited to 'gdb/config.in')
-rw-r--r--gdb/config.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/config.in b/gdb/config.in
index 30ed358..b9042b3 100644
--- a/gdb/config.in
+++ b/gdb/config.in
@@ -41,9 +41,15 @@
/* Define to `int' if <sys/types.h> doesn't define. */
#undef pid_t
+/* Define if you need to in order for stat and other things to work. */
+#undef _POSIX_SOURCE
+
/* Define as the return type of signal handlers (int or void). */
#undef RETSIGTYPE
+/* Define if the `setpgrp' function takes no argument. */
+#undef SETPGRP_VOID
+
/* Define to `unsigned' if <sys/types.h> doesn't define. */
#undef size_t
@@ -229,6 +235,9 @@
/* Define if you have the setpgid function. */
#undef HAVE_SETPGID
+/* Define if you have the setpgrp function. */
+#undef HAVE_SETPGRP
+
/* Define if you have the sigaction function. */
#undef HAVE_SIGACTION