Skip to content

Commit

Permalink
Remove dependency on automake's aclocal. We continue to use acinclude…
Browse files Browse the repository at this point in the history
….m4,

because aclocal.m4 needs to contain libtool's m4 macros.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84471 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Sascha Schumann committed Jan 16, 2000
1 parent f02d94c commit 08f52f3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
3 changes: 2 additions & 1 deletion build/build.mk
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
##############################################################################
# $Id: build.mk,v 1.2 2000/01/12 16:55:58 sascha Exp $
# $Id: build.mk,v 1.3 2000/01/16 17:18:13 sascha Exp $
#
# Makefile to generate build tools
#
Expand All @@ -33,6 +33,7 @@ all: $(STAMP) generated_lists

generated_lists:
@echo config_m4_files = `find . -name config.m4` > $@
@n=`which libtool`; echo libtool_prefix = `dirname $$n`/.. >> $@

$(STAMP): build/buildcheck.sh
@build/buildcheck.sh && touch $(STAMP)
Expand Down
12 changes: 7 additions & 5 deletions build/build2.mk
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
##############################################################################
# $Id: build2.mk,v 1.1 2000/01/11 13:10:58 sascha Exp $
# $Id: build2.mk,v 1.2 2000/01/16 17:18:13 sascha Exp $

include generated_lists

Expand All @@ -37,17 +37,19 @@ APACHE_TARGETS = $(TOUCH_FILES) $(LT_TARGETS) configure $(config_h_in)

APR_TARGETS = $(apr_configure) $(apr_config_h_in)

targets = .deps $(APACHE_TARGETS) $(APR_TARGETS)
targets = .deps aclocal.m4 $(APACHE_TARGETS) $(APR_TARGETS)

all: $(targets)

.deps:
touch $@

aclocal.m4: configure.in acinclude.m4
libtool_m4 = $(libtool_prefix)/share/aclocal/libtool.m4

aclocal.m4: acinclude.m4 $(libtool_m4)
@echo rebuilding $@
aclocal

@cat acinclude.m4 $(libtool_m4) > $@
$(LT_TARGETS):
libtoolize $(AMFLAGS) --force

Expand Down

0 comments on commit 08f52f3

Please sign in to comment.