Skip to content

Commit

Permalink
configure.ac: add --with-reentrant-strsignal and --with-thread-safe-r…
Browse files Browse the repository at this point in the history
…es-query options for Alpine support

Signed-off-by: John Coyle <[email protected]>
  • Loading branch information
dx9 committed Jun 22, 2016
1 parent 873de61 commit 6b8ff0c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -1305,6 +1305,20 @@ if test "x$with_openldap" != "xno"; then
fi
AM_CONDITIONAL(WITH_OPENLDAP, [ test "$have_openldap" = "yes" ])

AC_ARG_WITH([reentrant-strsignal],
[AS_HELP_STRING([--with-reentrant-strsignal], [Use strsignal(3) instead of sys_siglist[]])],
[],
[with_reentrant_strsignal=no])
AS_IF([test "x$with_reentrant_strsignal" != xno],
[AC_DEFINE(HAVE_REENTRANT_STRSIGNAL, 1, [Define if strsignal(3) is reentrant])])

AC_ARG_WITH([thread-safe-res-query],
[AS_HELP_STRING([--with-thread-safe-res-query], [Use res_query(3) without locking])],
[],
[with_thread_safe_res_query=no])
AS_IF([test "x$with_thread_safe_res_query" != xno],
[AC_DEFINE(HAVE_THREAD_SAFE_RES_QUERY, 1, [Define if res_query(3) is thread safe])])

# Checks for typedefs, structures, and compiler characteristics.
#AC_HEADER_STDBOOL
#AC_C_CONST
Expand Down

0 comments on commit 6b8ff0c

Please sign in to comment.