Browse Source

build: Added snprintf and strdup to AC_CHECK_FUNCS in order to compile

with OS X.
pull/31/head
Bruno Lima 13 years ago
parent
commit
c13d63ce49
2 changed files with 7 additions and 1 deletions
  1. +6
    -0
      config.h.in
  2. +1
    -1
      configure.in

+ 6
- 0
config.h.in View File

@@ -29,6 +29,9 @@
and to 0 otherwise. */
#undef HAVE_REALLOC

/* Define to 1 if you have the `snprintf' function. */
#undef HAVE_SNPRINTF

/* Define to 1 if you have the <stdarg.h> header file. */
#undef HAVE_STDARG_H

@@ -38,6 +41,9 @@
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H

/* Define to 1 if you have the `strdup' function. */
#undef HAVE_STRDUP

/* Define to 1 if you have the `strerror' function. */
#undef HAVE_STRERROR



+ 1
- 1
configure.in View File

@@ -27,7 +27,7 @@ AC_FUNC_VPRINTF
AC_FUNC_MEMCMP
AC_FUNC_MALLOC
AC_FUNC_REALLOC
AC_CHECK_FUNCS(strndup strerror vsnprintf vasprintf open vsyslog strncasecmp)
AC_CHECK_FUNCS(strndup strdup strerror snprintf vsnprintf vasprintf open vsyslog strncasecmp)

AM_PROG_LIBTOOL



Loading…
Cancel
Save