summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorjerenkrantz <jerenkrantz@13f79535-47bb-0310-9956-ffa450edef68>2004-08-01 00:52:20 +0000
committerjerenkrantz <jerenkrantz@13f79535-47bb-0310-9956-ffa450edef68>2004-08-01 00:52:20 +0000
commit054658eb7d0be25c6b0d5622591055b1daa304e8 (patch)
treefbd64f660138c73d8c13c22a8c3b5bad480ed10e /Makefile.in
parent2875d385587c4e9fd7752d849f4ae4ba78716e65 (diff)
downloadlibapr-054658eb7d0be25c6b0d5622591055b1daa304e8.tar.gz
Only install apr-$MAJOR-config and add appropriate detection code to
find_apr.m4 (APR_FIND_APR). Justin made a few changes to Max's latest patch: - Emit a warning at autoconf-time and default to [0 1] if 4th arg is missing. - Fix some tpyos - Change apr-config.in to not use multiple @APR_MAJOR_VERSION@ substs. Submitted by: Max Bowsher Reviewed by: Justin Erenkrantz git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65293 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in9
1 files changed, 4 insertions, 5 deletions
diff --git a/Makefile.in b/Makefile.in
index 356630faa..fcd3caaaa 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -44,7 +44,7 @@ CLEAN_TARGETS = apr-config.out apr.exp exports.c export_vars.c .make.dirs \
build/apr_rules.out
DISTCLEAN_TARGETS = config.cache config.log config.status \
include/apr.h include/arch/unix/apr_private.h \
- libtool apr-config build/apr_rules.mk apr.pc
+ libtool $(APR_CONFIG) build/apr_rules.mk apr.pc
EXTRACLEAN_TARGETS = configure aclocal.m4 include/arch/unix/apr_private.h.in \
build-outputs.mk build/ltcf-c.sh build/ltmain.sh build/libtool.m4
@@ -56,8 +56,8 @@ includedir=@includedir@
installbuilddir=@installbuilddir@
# Create apr-config script suitable for the install tree
-apr-config.out: apr-config
- sed 's,^\(location=\).*$$,\1installed,' < apr-config > $@
+apr-config.out: $(APR_CONFIG)
+ sed 's,^\(location=\).*$$,\1installed,' < $(APR_CONFIG) > $@
# Create apr_rules.mk suitable for the install tree
build/apr_rules.out: build/apr_rules.mk
@@ -97,9 +97,8 @@ install: $(TARGET_LIB) apr-config.out build/apr_rules.out
if [ ! -d $(DESTDIR)$(bindir) ]; then \
$(top_srcdir)/build/mkdir.sh $(DESTDIR)$(bindir); \
fi;
- $(LIBTOOL) --mode=install cp apr-config.out $(DESTDIR)$(bindir)/apr-config
$(LIBTOOL) --mode=install cp apr-config.out $(DESTDIR)$(bindir)/$(APR_CONFIG)
- chmod 755 $(DESTDIR)$(bindir)/apr-config $(DESTDIR)$(bindir)/$(APR_CONFIG)
+ chmod 755 $(DESTDIR)$(bindir)/$(APR_CONFIG)
@if [ $(INSTALL_SUBDIRS) != "none" ]; then \
for i in $(INSTALL_SUBDIRS); do \
( cd $$i ; $(MAKE) DESTDIR=$(DESTDIR) install ); \