Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,13 @@ AC_CHECK_LIB(nettle,main,,[AC_MSG_ERROR([
and try again.
])])

dnl make sure to set feature test macros to use symlink
AH_VERBATIM([_POSIX_C_SOURCE],
[/* Make "extra" functions available such as symlink() */
#ifndef _POSIX_C_SOURCE
# define _POSIX_C_SOURCE 200112L
#endif])

dnl test for some specific functions
AC_CHECK_FUNC(stat,,AC_MSG_ERROR(oops! no stat ?!?))

Expand Down