Skip to content

Commit

Permalink
Configure.ac updated with socket funcs and headers, and version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
bostjan committed Jan 11, 2015
1 parent 8bfce2e commit 5d258d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ dnl FIXME: Replace `main' with a function in `-ldl':
AC_CHECK_LIB([dl], [main])

dnl Checks for header files.
AC_CHECK_HEADERS([limits.h stdlib.h string.h syslog.h unistd.h])
AC_CHECK_HEADERS([limits.h stdlib.h string.h sys/socket.h syslog.h unistd.h])

dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_INLINE
Expand All @@ -43,6 +43,7 @@ AC_CHECK_FUNCS([ \
getcwd \
getsid \
memset \
socket \
strchr \
strdup \
strstr \
Expand Down
4 changes: 2 additions & 2 deletions configure.scan
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ AC_PROG_RANLIB
AC_CHECK_LIB([iniparser], [main])

# Checks for header files.
AC_CHECK_HEADERS([limits.h stdlib.h string.h syslog.h unistd.h])
AC_CHECK_HEADERS([limits.h stdlib.h string.h sys/socket.h syslog.h unistd.h])

# Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_SIZE_T
AC_TYPE_UID_T

# Checks for library functions.
AC_FUNC_MALLOC
AC_CHECK_FUNCS([getcwd memset strchr strdup strstr strtol])
AC_CHECK_FUNCS([getcwd memset socket strchr strdup strstr strtol])

AC_CONFIG_FILES([Makefile
bin/Makefile
Expand Down

0 comments on commit 5d258d3

Please sign in to comment.