[Groonga-mysql-commit] mroonga/mroonga [master] Disable DTrace by default

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Feb 18 18:04:53 JST 2013


Kouhei Sutou	2013-02-18 18:04:53 +0900 (Mon, 18 Feb 2013)

  New Revision: 48db5dd5da85e926962fe7f8ba9e7bb5748ffd3f
  https://github.com/mroonga/mroonga/commit/48db5dd5da85e926962fe7f8ba9e7bb5748ffd3f

  Log:
    Disable DTrace by default
    
    It is needed on Mac OS X.

  Modified files:
    configure.ac

  Modified: configure.ac (+9 -0)
===================================================================
--- configure.ac    2013-02-11 22:53:07 +0900 (a93b8c0)
+++ configure.ac    2013-02-18 18:04:53 +0900 (46d229b)
@@ -273,6 +273,15 @@ if test "$enable_fast_mutexes" = "no"; then
              [Define to 1 if force fast mutext disabled])
 fi
 
+AC_ARG_ENABLE(dtrace,
+    [AC_HELP_STRING([--enable-dtrace],
+                    [Enable DTrace. [default: no]])],
+    [enable_dtrace=$enableval],
+    [enable_dtrace=no])
+if test "$enable_dtrace" = "no"; then
+   AC_DEFINE(DISABLE_DTRACE, [1], [Define to 1 if DTrace is disabled])
+fi
+
 # check Cutter with C++ support if available
 REQUIRED_MINIMUM_CUTTER_VERSION=1.1.3
 m4_ifdef([AC_CHECK_CPPCUTTER], [
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-mysql-commit mailing list
Back to archive index