aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Barksdale <amatus.amongus@gmail.com>2010-05-18 04:55:06 +0000
committerDavid Barksdale <amatus.amongus@gmail.com>2010-05-18 04:55:06 +0000
commite3d8c10ed93fcd112603484fcfd267f8f87bd2cc (patch)
treee7e2d0d01b34001bd31f215a84a70aaa1db28b1b
parent26a7b414015f79b016f63a5151ede92cff2f6adb (diff)
downloadgnunet-e3d8c10ed93fcd112603484fcfd267f8f87bd2cc.tar.gz
gnunet-e3d8c10ed93fcd112603484fcfd267f8f87bd2cc.zip
Remove redundant checks for gmp.h and iconv.h.
-rw-r--r--configure.ac5
-rw-r--r--src/util/strings.c2
2 files changed, 2 insertions, 5 deletions
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
244AC_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])) 244AC_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]))
245 245
246# Checks for headers that are only required on some systems or opional (and where we do NOT abort if they are not there) 246# Checks for headers that are only required on some systems or opional (and where we do NOT abort if they are not there)
247AC_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]) 247AC_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])
248
249# Check for GMP header (and abort if not present)
250AC_CHECK_HEADERS([gmp.h],,AC_MSG_ERROR([Compiling GNUnet requires gmp.h (from the GNU MP library, libgmp)]))
251 248
252# test for libgmp 249# test for libgmp
253gmp=0 250gmp=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 @@
26 */ 26 */
27 27
28#include "platform.h" 28#include "platform.h"
29#if HAVE_ICONV_H 29#if HAVE_ICONV
30#include <iconv.h> 30#include <iconv.h>
31#endif 31#endif
32#include "gnunet_common.h" 32#include "gnunet_common.h"