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:
parent
8cb58aa4ee
commit
759a1cf6e1
2 changed files with 6 additions and 1 deletions
6
Makefile
6
Makefile
|
@ -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
1
configure
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue