Skip to content

Commit

Permalink
Attempt to remove some warnings about "missing" functions.
Browse files Browse the repository at this point in the history
  • Loading branch information
neomilium committed Feb 12, 2010
1 parent b0e0e17 commit ce17781
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ AC_DEFINE_UNQUOTED([SVN_REVISION], ["$SVN_REVISION"], [SVN revision])
AM_INIT_AUTOMAKE
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])

AC_DEFINE([_BSD_SOURCE], 1, [BSD Functions])

AC_LANG_C
AC_PROG_CC
AC_PROG_MAKE_SET
Expand All @@ -27,7 +29,7 @@ AC_CHECK_HEADERS([stdio.h stdlib.h stdint.h stddef.h stdbool.h usb.h])
AC_CHECK_FUNCS([memset])
AC_CHECK_FUNCS([strcasecmp])
AC_CHECK_FUNCS([strchr])
AC_CHECK_FUNCS([strdup])
AC_CHECK_FUNCS([strdup], [AC_DEFINE([_XOPEN_SOURCE], [600], [Enable POSIX extensions if present])])
AC_CHECK_FUNCS([strerror])
AC_CHECK_FUNCS([strstr])
AC_CHECK_FUNCS([strtol])
Expand Down Expand Up @@ -114,3 +116,4 @@ nemdir: ${nemdir}
EOS

cat configure.summary
rm configure.summary

0 comments on commit ce17781

Please sign in to comment.