Commit 1d30c15a authored by Mikael Ronstrom's avatar Mikael Ronstrom

Fixed DTrace bug where probes_mysql_nodtrace.h wasn't properly

created in the case when DTrace wasn't defined.
parent c65ab05f
......@@ -69,17 +69,17 @@ my_config.h: config.h
dist-hook:
$(RM) -f $(distdir)/mysql_version.h $(distdir)/my_config.h
DTRACEPROVIDER = $(abs_top_srcdir)/sql/probes_mysql.d
if HAVE_DTRACE
BUILT_SOURCES += probes_mysql_dtrace.h
CLEANFILES += probes_mysql_dtrace.h
DTRACEPROVIDER = $(abs_top_srcdir)/sql/probes_mysql.d
probes_mysql_dtrace.h: $(DTRACEPROVIDER)
$(DTRACE) $(DTRACEFLAGS) -h -s $< -o $@
$(DTRACE) $(DTRACEFLAGS) -h -s $(DTRACEPROVIDER) -o $@
endif
probes_mysql_nodtrace.h: $(DTRACEPROVIDER)
$(abs_top_srcdir)/scripts/dheadgen.pl -f $^ > $@
$(abs_top_srcdir)/scripts/dheadgen.pl -f $(DTRACEPROVIDER) > $@
# Don't update the files from bitkeeper
%::SCCS/s.%
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment