* configure.in: Substitute with_cross_host in depending files.
* configure: Regenerate. * lib/Makefile.in: Add with_cross_host to allow more granular checks. Set installation directories accordingly. * lib/ddk/Makefile.in: Ditto. * lib/directx/Makefile.in: Ditto.
This commit is contained in:
@@ -17,6 +17,7 @@ VPATH = @srcdir@
|
||||
host_alias = @host@
|
||||
build_alias = @build@
|
||||
target_alias = @target@
|
||||
with_cross_host = @with_cross_host@
|
||||
prefix = @prefix@
|
||||
includedir:=@includedir@
|
||||
|
||||
@@ -39,9 +40,14 @@ ifneq (,$(findstring cygwin,$(target_alias)))
|
||||
inst_includedir:=$(tooldir)/include/w32api
|
||||
inst_libdir:=$(tooldir)/lib/w32api
|
||||
else
|
||||
ifneq (,$with_cross_host)
|
||||
inst_includedir:=$(tooldir)/include/w32api
|
||||
inst_libdir:=$(tooldir)/lib
|
||||
else
|
||||
inst_includedir:=$(includedir)
|
||||
inst_libdir:=$(libdir)
|
||||
endif
|
||||
endif
|
||||
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
|
Reference in New Issue
Block a user