[Openais] ARCH=$(shell uname -p) in Makefile

Andrew Beekhof beekhof at gmail.com
Mon Sep 24 09:29:38 PDT 2007


On some systems uname -p evaluates to weird stuff.
Eg. on mandriva it came back with "Dual-Core AMD Opteron(tm) Processor
8214" which wasn't what the various tests were expecting and broke the
install because of this line:

	echo $(LIBDIR) > $(DESTDIR)$(ETCDIR)/ld.so.conf.d/openais-$(ARCH).conf

we could fix the quoting but its probably best to fix the underlying problem.

Someone suggested 'uname -i' was more appropriate but thats not
available everywhere so perhaps -m?

andrew


More information about the Openais mailing list