aboutsummaryrefslogtreecommitdiff
path: root/m4/signed.m4
diff options
context:
space:
mode:
authordurner <durner@140774ce-b5e7-0310-ab8b-a85725594a96>2009-05-29 19:20:23 +0000
committerdurner <durner@140774ce-b5e7-0310-ab8b-a85725594a96>2009-05-29 19:20:23 +0000
commita139274843a744df439ba256c66254be6cc3a9f3 (patch)
treedf49518ea91d8a644ecbd0e6a48c26c1e7fe93b3 /m4/signed.m4
parent4b6f9a9625805dd9b2747240e2e1f91687615331 (diff)
cp
git-svn-id: https://gnunet.org/svn/gnunet@8479 140774ce-b5e7-0310-ab8b-a85725594a96
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 0000000000..dc1f54f106
--- /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
+])