1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 00:34:04 +00:00

Have make print a helpful error message if configure has not been run.

This commit is contained in:
Josh Elsasser 2006-04-05 09:58:35 +00:00
parent 8cb58aa4ee
commit 759a1cf6e1
2 changed files with 6 additions and 1 deletions

View file

@ -1,6 +1,10 @@
include Makefile.config
-include Makefile.config
include Makefile.common
ifndef CONFIGURE_RUN
$(error You must run ./configure first)
endif
ifneq ($(SYSTEM),Darwin)
TARGETS = .cli

1
configure vendored
View file

@ -292,6 +292,7 @@ lrintf_test
#
rm -f Makefile.config
cat > Makefile.config << EOF
CONFIGURE_RUN = yes
SYSTEM = $SYSTEM
BEOS_NETSERVER = $BEOS_NETSERVER
PTHREAD = $PTHREAD