summaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2003-02-14 12:58:47 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:09:23 +0200
commite6b547052b81e0db688cd5fd0e7a209a02c4d336 (patch)
tree07336b0018eb1c2254b471d530389e58b71d5348 /m4
parentf2c91642094a39a98e1ade86a22aab71e557adf1 (diff)
downloadexternal_gettext-e6b547052b81e0db688cd5fd0e7a209a02c4d336.zip
external_gettext-e6b547052b81e0db688cd5fd0e7a209a02c4d336.tar.gz
external_gettext-e6b547052b81e0db688cd5fd0e7a209a02c4d336.tar.bz2
Move m4/unionwait.m4 to gettext-tools/m4/unionwait.m4.
Diffstat (limited to 'm4')
-rw-r--r--m4/unionwait.m440
1 files changed, 0 insertions, 40 deletions
diff --git a/m4/unionwait.m4 b/m4/unionwait.m4
deleted file mode 100644
index 106ff42..0000000
--- a/m4/unionwait.m4
+++ /dev/null
@@ -1,40 +0,0 @@
-# unionwait.m4 serial 1 (gettext-0.11)
-dnl Copyright (C) 1993-2002 Free Software Foundation, Inc.
-dnl This file is free software, distributed under the terms of the GNU
-dnl General Public License. As a special exception to the GNU General
-dnl Public License, this file may be distributed as part of a program
-dnl that contains a configuration script generated by Autoconf, under
-dnl the same distribution terms as the rest of that program.
-
-dnl Taken from GNU make 3.79.1.
-
-AC_DEFUN([gt_UNION_WAIT],
-[
-AC_CHECK_FUNCS(waitpid)
-AC_MSG_CHECKING(for union wait)
-AC_CACHE_VAL(gt_cv_union_wait, [dnl
-AC_TRY_LINK([#include <sys/types.h>
-#include <sys/wait.h>],
- [union wait status; int pid; pid = wait (&status);
-#ifdef WEXITSTATUS
-/* Some POSIXoid systems have both the new-style macros and the old
- union wait type, and they do not work together. If union wait
- conflicts with WEXITSTATUS et al, we don't want to use it at all. */
-if (WEXITSTATUS (status) != 0) pid = -1;
-#ifdef WTERMSIG
-/* If we have WEXITSTATUS and WTERMSIG, just use them on ints. */
--- blow chunks here --
-#endif
-#endif
-#ifdef HAVE_WAITPID
-/* Make sure union wait works with waitpid. */
-pid = waitpid (-1, &status, 0);
-#endif
-],
- [gt_cv_union_wait=yes], [gt_cv_union_wait=no])])
-if test "$gt_cv_union_wait" = yes; then
- AC_DEFINE(HAVE_UNION_WAIT, 1,
- [Define if <sys/wait.h> defines the 'union wait' type.])
-fi
-AC_MSG_RESULT($gt_cv_union_wait)
-])