From: David Barksdale Date: Tue, 18 May 2010 04:55:06 +0000 (+0000) Subject: Remove redundant checks for gmp.h and iconv.h. X-Git-Tag: initial-import-from-subversion-38251~21671 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e3d8c10ed93fcd112603484fcfd267f8f87bd2cc;p=oweals%2Fgnunet.git Remove redundant checks for gmp.h and iconv.h. --- diff --git a/configure.ac b/configure.ac index f3e2135bd..6c83f32da 100644 --- a/configure.ac +++ b/configure.ac @@ -244,10 +244,7 @@ AC_HEADER_STDC AC_CHECK_HEADERS([fcntl.h math.h errno.h ctype.h limits.h stdio.h stdlib.h string.h unistd.h stdarg.h signal.h locale.h sys/stat.h sys/types.h],,AC_MSG_ERROR([Compiling GNUnet requires standard UNIX headers files])) # Checks for headers that are only required on some systems or opional (and where we do NOT abort if they are not there) -AC_CHECK_HEADERS([langinfo.h sys/param.h sys/mount.h sys/statvfs.h sys/select.h sockLib.h sys/mman.h sys/msg.h sys/vfs.h arpa/inet.h fcntl.h libintl.h netdb.h netinet/in.h sys/ioctl.h sys/socket.h sys/time.h unistd.h kstat.h sys/sysinfo.h kvm.h sys/file.h sys/resource.h iconv.h ifaddrs.h mach/mach.h stddef.h sys/timeb.h terminos.h argz.h]) - -# Check for GMP header (and abort if not present) -AC_CHECK_HEADERS([gmp.h],,AC_MSG_ERROR([Compiling GNUnet requires gmp.h (from the GNU MP library, libgmp)])) +AC_CHECK_HEADERS([langinfo.h sys/param.h sys/mount.h sys/statvfs.h sys/select.h sockLib.h sys/mman.h sys/msg.h sys/vfs.h arpa/inet.h fcntl.h libintl.h netdb.h netinet/in.h sys/ioctl.h sys/socket.h sys/time.h unistd.h kstat.h sys/sysinfo.h kvm.h sys/file.h sys/resource.h ifaddrs.h mach/mach.h stddef.h sys/timeb.h terminos.h argz.h]) # test for libgmp gmp=0 diff --git a/src/util/strings.c b/src/util/strings.c index 6a7b9150b..c868d1a97 100644 --- a/src/util/strings.c +++ b/src/util/strings.c @@ -26,7 +26,7 @@ */ #include "platform.h" -#if HAVE_ICONV_H +#if HAVE_ICONV #include #endif #include "gnunet_common.h"