diff options
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 98b0008..1bb33fa 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -54,6 +54,15 @@ AC_FUNC_MALLOC | |||
| 54 | AC_FUNC_REALLOC | 54 | AC_FUNC_REALLOC |
| 55 | AC_CHECK_FUNCS([strcasecmp strdup strerror strndup]) | 55 | AC_CHECK_FUNCS([strcasecmp strdup strerror strndup]) |
| 56 | 56 | ||
| 57 | AC_CHECK_FUNC(asprintf, [have_asprintf="yes"], [have_asprintf="no"]) | ||
| 58 | if test "x$have_asprintf" = "xyes"; then | ||
| 59 | AC_DEFINE(HAVE_ASPRINTF,1,[define if asprintf is available]) | ||
| 60 | fi | ||
| 61 | AC_CHECK_FUNC(vasprintf, [have_vasprintf="yes"], [have_vasprintf="no"]) | ||
| 62 | if test "x$have_vasprintf" = "xyes"; then | ||
| 63 | AC_DEFINE(HAVE_VASPRINTF,1,[define if vasprintf is available]) | ||
| 64 | fi | ||
| 65 | |||
| 57 | AC_DEFINE(LITTLE_ENDIAN,0,[little endian]) | 66 | AC_DEFINE(LITTLE_ENDIAN,0,[little endian]) |
| 58 | AC_DEFINE(BIG_ENDIAN,1,[big endian]) | 67 | AC_DEFINE(BIG_ENDIAN,1,[big endian]) |
| 59 | AC_C_BIGENDIAN([ac_cv_c_bigendian="yes"], [ac_cv_c_bigendian="no"], [], []) | 68 | AC_C_BIGENDIAN([ac_cv_c_bigendian="yes"], [ac_cv_c_bigendian="no"], [], []) |
