]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
configure.ac: add --with-reentrant-strsignal and --with-thread-safe-res-query options... 9821/head
authorJohn Coyle <dx9err@gmail.com>
Sun, 6 Mar 2016 19:00:49 +0000 (14:00 -0500)
committerJohn Coyle <dx9err@gmail.com>
Wed, 22 Jun 2016 14:15:57 +0000 (10:15 -0400)
Signed-off-by: John Coyle <dx9err@gmail.com>
configure.ac

index b6453b187393d79c7f10396d2c5f70931b20a236..b83cdf9e4e91e06cb2f8ba053a05869625c76556 100644 (file)
@@ -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