summaryrefslogtreecommitdiff
path: root/m4/signed.m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-07-10 11:23:31 +0000
committerJim Meyering <jim@meyering.net>2003-07-10 11:23:31 +0000
commit14031cbf92f26666723d291ec751585cb6f390b6 (patch)
treecca144d9aa49cf192237d13eb44684e1573d0aac /m4/signed.m4
parentf928e162807ff9b8b28796a3ef704f0df3cf6810 (diff)
downloadcoreutils-14031cbf92f26666723d291ec751585cb6f390b6.tar.xz
New files, in support of new asprintf use. From gnulib.
Diffstat (limited to 'm4/signed.m4')
-rw-r--r--m4/signed.m419
1 files changed, 19 insertions, 0 deletions
diff --git a/m4/signed.m4 b/m4/signed.m4
new file mode 100644
index 000000000..dc1f54f10
--- /dev/null
+++ b/m4/signed.m4
@@ -0,0 +1,19 @@
+# signed.m4 serial 1 (gettext-0.10.40)
+dnl Copyright (C) 2001-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 From Bruno Haible.
+
+AC_DEFUN([bh_C_SIGNED],
+[
+ AC_CACHE_CHECK([for signed], bh_cv_c_signed,
+ [AC_TRY_COMPILE(, [signed char x;], bh_cv_c_signed=yes, bh_cv_c_signed=no)])
+ if test $bh_cv_c_signed = no; then
+ AC_DEFINE(signed, ,
+ [Define to empty if the C compiler doesn't support this keyword.])
+ fi
+])