summaryrefslogtreecommitdiff
path: root/pstack
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2001-09-18 15:24:14 +0300
committerunknown <monty@hundin.mysql.fi>2001-09-18 15:24:14 +0300
commite154b30a57cc119f8e47936f23a261324228662f (patch)
tree4b25f7508790da8982dae62b3719ae7f815f230f /pstack
parentbe94b8d3c84ab16b0db6e4e2e7e1248c2035ecbb (diff)
downloadmariadb-git-e154b30a57cc119f8e47936f23a261324228662f.tar.gz
Another attempt to get pstack into the binary distribution
Fixed that --enable-assembler works on newer Linux system Makefile.am: Another attempt to get pstack into the binary distribution configure.in: Fixed that --enable-assembler works on newer Linux system Fixes for pstack pstack/Makefile.am: Another attempt to get pstack into the binary distribution
Diffstat (limited to 'pstack')
-rw-r--r--pstack/Makefile.am14
1 files changed, 12 insertions, 2 deletions
diff --git a/pstack/Makefile.am b/pstack/Makefile.am
index 1c0978379d0..86dddcb6f03 100644
--- a/pstack/Makefile.am
+++ b/pstack/Makefile.am
@@ -14,12 +14,22 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# As pstack doesn't work on all configurations, we have to use
+# the USE_PSTACK hack to get all files into distribution
+#
+
INCLUDES = -I$(srcdir)/../include -I../include
-pkglib_LIBRARIES = libpstack.a
noinst_HEADERS = bucomm.h debug.h ieee.h budbg.h demangle.h \
linuxthreads.h pstack.h pstacktrace.h
-libpstack_a_SOURCES = bucomm.c filemode.c linuxthreads.c rddbg.c \
+SRC= bucomm.c filemode.c linuxthreads.c rddbg.c \
debug.c ieee.c pstack.c stabs.c
+EXTRA_DIST= $SRC
+
+if COMPILE_PSTACK
+pkglib_LIBRARIES = libpstack.a
+libpstack_a_SOURCES = bucomm.c filemode.c linuxthreads.c rddbg.c debug.c ieee.c pstack.c stabs.c
+endif
# Don't update the files from bitkeeper
%::SCCS/s.%