aboutsummaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2003-01-29 19:50:43 +0000
committerMarcus Brinkmann <[email protected]>2003-01-29 19:50:43 +0000
commit13e4d78a8249a381b9d47b0f4e1d2f7c6969beb3 (patch)
tree0e600c9b003405a359375fabcd207464af837e64 /acinclude.m4
parent2003-01-29 Marcus Brinkmann <[email protected]> (diff)
downloadgpgme-13e4d78a8249a381b9d47b0f4e1d2f7c6969beb3.tar.gz
gpgme-13e4d78a8249a381b9d47b0f4e1d2f7c6969beb3.zip
2003-01-29 Marcus Brinkmann <[email protected]>
* configure.ac: Remove all uses of GNUPG_CHECK_TYPEDEF, for byte, ushort, ulong, u16 and u32. * acinclude.m4 (GNUPG_CHECK_TYPEDEF): Remove macro. gpgme/ 2003-01-29 Marcus Brinkmann <[email protected]> * types.h: Remove byte and ulong types. * util.h (_gpgme_hextobyte): Change prototype to unsigned char instead byte. * conversion.c (_gpgme_hextobyte): Change argument to unsigned char instead byte. (_gpgme_decode_c_string): Likewise, and beautify. Also support a few more escaped characters. Be more strict about buffer size. (_gpgme_data_append_percentstring_for_xml): Change type of SRC, BUF and DST to unsigned char instead byte. * progress.c (_gpgme_progress_status_handler): Use unsigned char instead byte. * debug.c (trim_spaces): Likewise.
Diffstat (limited to '')
-rw-r--r--acinclude.m418
1 files changed, 0 insertions, 18 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 6a06343c..abdee4d3 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -26,24 +26,6 @@ AC_DEFUN(GNUPG_FIX_HDR_VERSION,
])
-dnl GNUPG_CHECK_TYPEDEF(TYPE, HAVE_NAME)
-dnl Check whether a typedef exists and create a #define $2 if it exists
-dnl
-AC_DEFUN(GNUPG_CHECK_TYPEDEF,
- [ AC_MSG_CHECKING(for $1 typedef)
- AC_CACHE_VAL(gnupg_cv_typedef_$1,
- [AC_TRY_COMPILE([#include <stdlib.h>
- #include <sys/types.h>], [
- #undef $1
- int a = sizeof($1);
- ], gnupg_cv_typedef_$1=yes, gnupg_cv_typedef_$1=no )])
- AC_MSG_RESULT($gnupg_cv_typedef_$1)
- if test "$gnupg_cv_typedef_$1" = yes; then
- AC_DEFINE($2, ,
- [Define to 1 if $1 is defined in the <sys/types.h> header file.])
- fi
- ])
-
dnl ##
dnl ## GNU Pth - The GNU Portable Threads
dnl ## Copyright (c) 1999-2002 Ralf S. Engelschall <[email protected]>