gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r11408 - in gnunet: . src/util


From: gnunet
Subject: [GNUnet-SVN] r11408 - in gnunet: . src/util
Date: Tue, 18 May 2010 06:55:06 +0200

Author: amatus
Date: 2010-05-18 06:55:06 +0200 (Tue, 18 May 2010)
New Revision: 11408

Modified:
   gnunet/configure.ac
   gnunet/src/util/strings.c
Log:
Remove redundant checks for gmp.h and iconv.h.


Modified: gnunet/configure.ac
===================================================================
--- gnunet/configure.ac 2010-05-17 18:54:52 UTC (rev 11407)
+++ gnunet/configure.ac 2010-05-18 04:55:06 UTC (rev 11408)
@@ -244,11 +244,8 @@
 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])
+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])
 
-# 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)]))
-
 # test for libgmp
 gmp=0
 AC_MSG_CHECKING(for libgmp)

Modified: gnunet/src/util/strings.c
===================================================================
--- gnunet/src/util/strings.c   2010-05-17 18:54:52 UTC (rev 11407)
+++ gnunet/src/util/strings.c   2010-05-18 04:55:06 UTC (rev 11408)
@@ -26,7 +26,7 @@
  */
 
 #include "platform.h"
-#if HAVE_ICONV_H
+#if HAVE_ICONV
 #include <iconv.h>
 #endif
 #include "gnunet_common.h"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]