X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=Makefile.config.in;h=f3a9346592890a2029e951823bd869308af5758b;hb=51cd9d6e073932fcb37f1857c66249d6c7d368ee;hp=5522232706fb1e9e96dc692a3680bcb4101416d4;hpb=1d4e0782ba9761e3c664de53b837b74c0c818ff1;p=oota-llvm.git diff --git a/Makefile.config.in b/Makefile.config.in index 5522232706f..f3a93465928 100644 --- a/Makefile.config.in +++ b/Makefile.config.in @@ -2,8 +2,8 @@ # # The LLVM Compiler Infrastructure # -# This file was developed by the LLVM research group and is distributed under -# the University of Illinois Open Source License. See LICENSE.TXT for details. +# This file is distributed under the University of Illinois Open Source +# License. See LICENSE.TXT for details. # #===------------------------------------------------------------------------===# # @@ -154,6 +154,7 @@ GZIP := @GZIP@ OCAMLC := @OCAMLC@ OCAMLOPT := @OCAMLOPT@ OCAMLDEP := @OCAMLDEP@ +OCAMLDOC := @OCAMLDOC@ POD2HTML := @POD2HTML@ POD2MAN := @POD2MAN@ RUNTEST := @RUNTEST@ @@ -265,3 +266,11 @@ BINDINGS_TO_BUILD := @BINDINGS_TO_BUILD@ ALL_BINDINGS := @ALL_BINDINGS@ OCAML_LIBDIR := @OCAML_LIBDIR@ +# When compiling under Mingw/Cygwin, executables such as tblgen +# expect Windows paths, whereas the build system uses Unix paths. +# The function SYSPATH transforms Unix paths into Windows paths. +ifneq (,$(findstring -mno-cygwin, $(CXX))) + SYSPATH = $(shell echo $(1) | cygpath -m -f -) +else + SYSPATH = $(1) +endif