Description:
The cmake and GNU autotools versions of the build support are not consistent
when handling the "probes_mysql.h" and "probes_mysql_nodtrace.h" files. In
the GNU autotool case these files are installed when running "make install",
and then included in the binary packages, but building with CMake they
are not.
How to repeat:
Build using GNU autotools and CMake, install/pack and compare what gets installed.
Suggested fix:
To me these headers looks private to the build, i.e. not to be included in the binary
packages, and this patch should align the GNU autotools and CMake install
--- include/Makefile.am 2010-01-26 04:39:48 +0000
+++ include/Makefile.am 2010-04-28 15:44:51 +0000
@@ -31,7 +31,7 @@ pkginclude_HEADERS = $(HEADERS_ABI) my_d
my_getopt.h sslopt-longopts.h my_dir.h \
sslopt-vars.h sslopt-case.h sql_common.h keycache.h \
m_ctype.h my_attribute.h $(HEADERS_GEN_CONFIGURE) \
- $(HEADERS_GEN_MAKE) probes_mysql.h probes_mysql_nodtrace.h
+ $(HEADERS_GEN_MAKE)
noinst_HEADERS = config-win.h config-netware.h lf.h my_bit.h \
heap.h my_bitmap.h my_uctype.h \
@@ -45,7 +45,7 @@ noinst_HEADERS = config-win.h config-net
my_vle.h my_user.h my_atomic.h atomic/nolock.h \
atomic/rwlock.h atomic/x86-gcc.h atomic/generic-msvc.h \
atomic/gcc_builtins.h my_libwrap.h my_stacktrace.h \
- atomic/solaris.h
+ atomic/solaris.h probes_mysql.h probes_mysql_nodtrace.h
EXTRA_DIST = mysql.h.pp mysql/plugin.h.pp probes_mysql.d.base \
CMakeLists.txt \