#At file:///Users/malff/BZR_TREE/mysql-next-mr-bugfixing-53255/ based on revid:tor.didriksen@stripped
3164 Marc Alff 2010-05-03
Bug#53255 Installed psi headers in wrong directory
Before this fix, the files:
- mysql_thread.h
- mysql_file.h
- psi.h
were installed under the include/mysql directory,
instead of include/mysql/psi, when using automake.
With this fix, these files are installed under
include/mysql/psi, as intended.
Original fix by Kent Boortz
modified:
include/Makefile.am
=== modified file 'include/Makefile.am'
--- a/include/Makefile.am 2010-04-13 15:04:45 +0000
+++ b/include/Makefile.am 2010-05-03 09:41:25 +0000
@@ -1,4 +1,4 @@
-# Copyright (C) 2000-2006 MySQL AB, 2009 Sun Microsystems, Inc
+# Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
@@ -15,6 +15,8 @@
# Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
# MA 02111-1307, USA
+pkgpsiincludedir = $(pkgincludedir)/psi
+
BUILT_SOURCES = $(HEADERS_GEN_MAKE) link_sources probes_mysql_nodtrace.h
HEADERS_GEN_CONFIGURE = mysql_version.h
HEADERS_GEN_MAKE = my_config.h
@@ -25,8 +27,6 @@ pkginclude_HEADERS = $(HEADERS_ABI) my_d
my_xml.h mysql_embed.h mysql/services.h \
mysql/service_my_snprintf.h mysql/service_thd_alloc.h \
my_pthread.h my_no_pthread.h \
- mysql/psi/psi.h mysql/psi/mysql_thread.h \
- mysql/psi/mysql_file.h \
decimal.h errmsg.h my_global.h my_net.h \
my_getopt.h sslopt-longopts.h my_dir.h \
sslopt-vars.h sslopt-case.h sql_common.h keycache.h \
@@ -47,6 +47,9 @@ noinst_HEADERS = config-win.h config-net
atomic/gcc_builtins.h my_libwrap.h my_stacktrace.h \
atomic/solaris.h
+pkgpsiinclude_HEADERS = mysql/psi/psi.h mysql/psi/mysql_thread.h \
+ mysql/psi/mysql_file.h
+
EXTRA_DIST = mysql.h.pp mysql/plugin.h.pp probes_mysql.d.base \
CMakeLists.txt \
mysql/psi/psi_abi_v1.h.pp \
Attachment: [text/bzr-bundle] bzr/marc.alff@oracle.com-20100503094125-jvwrs1k8q722nmea.bundle
| Thread |
|---|
| • bzr commit into mysql-next-mr-bugfixing branch (marc.alff:3164)Bug#53255 | Marc Alff | 3 May |