open-src/util/util-macros/Makefile
changeset 599 c195ef96916e
parent 598 48acf24353fc
child 761 9a43833314f0
--- a/open-src/util/util-macros/Makefile	Fri Dec 19 16:12:54 2008 -0800
+++ b/open-src/util/util-macros/Makefile	Fri Dec 19 17:40:06 2008 -0800
@@ -28,7 +28,7 @@
 # or other dealings in this Software without prior written authorization
 # of the copyright holder.
 #
-# @(#)Makefile	1.6	08/12/19
+# @(#)Makefile	1.7	08/12/19
 #
 
 # Package name used in tarballs
@@ -49,7 +49,7 @@
 install_gen::
 	mkdir -p $(PROTODIR)$(X11_ACLOCAL_DIR)/
 	-rm -f $(PROTODIR)$(X11_ACLOCAL_DIR)/libtool.m4
-	SYSTEM_ACLOCAL_DIR=$$(aclocal --print-ac-dir) ; \
+	SYSTEM_ACLOCAL_DIR=$$($(ACLOCAL_PATH) --print-ac-dir) ; \
 	cp $${SYSTEM_ACLOCAL_DIR}/libtool.m4 \
 		$(PROTODIR)$(X11_ACLOCAL_DIR)/libtool.m4
 	gpatch -d $(PROTODIR)$(X11_ACLOCAL_DIR) < libtool-64.patch