summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac11
1 files changed, 1 insertions, 10 deletions
diff --git a/configure.ac b/configure.ac
index 57cd233..a0b038e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -44,16 +44,7 @@ AC_TYPE_UINT32_T
44AC_TYPE_UINT8_T 44AC_TYPE_UINT8_T
45 45
46# Checks for library functions. 46# Checks for library functions.
47AC_CHECK_FUNCS([strcasecmp strdup strerror strndup]) 47AC_CHECK_FUNCS([asprintf strcasecmp strdup strerror strndup stpcpy vasprintf])
48
49AC_CHECK_FUNC(asprintf, [have_asprintf="yes"], [have_asprintf="no"])
50if test "x$have_asprintf" = "xyes"; then
51 AC_DEFINE(HAVE_ASPRINTF,1,[define if asprintf is available])
52fi
53AC_CHECK_FUNC(vasprintf, [have_vasprintf="yes"], [have_vasprintf="no"])
54if test "x$have_vasprintf" = "xyes"; then
55 AC_DEFINE(HAVE_VASPRINTF,1,[define if vasprintf is available])
56fi
57 48
58AC_CHECK_HEADER(endian.h, [ac_cv_have_endian_h="yes"], [ac_cv_have_endian_h="no"]) 49AC_CHECK_HEADER(endian.h, [ac_cv_have_endian_h="yes"], [ac_cv_have_endian_h="no"])
59if test "x$ac_cv_have_endian_h" = "xno"; then 50if test "x$ac_cv_have_endian_h" = "xno"; then