]> granicus.if.org Git - curl/commitdiff
winbuild: run buildconf.bat if necessary
authorBenjamin Kircher <kircher@otris.de>
Tue, 8 Sep 2015 14:22:39 +0000 (16:22 +0200)
committerJay Satiro <raysatiro@yahoo.com>
Wed, 9 Sep 2015 06:37:57 +0000 (02:37 -0400)
winbuild/Makefile.vc

index 5b726cd57da8e2642189efed0a1f86c09cd799c3..5653232d2229bb838af427ca1cbb30bc9cb04abf 100644 (file)
@@ -182,6 +182,9 @@ CURL_DIROBJ = ..\builds\$(CONFIG_NAME_LIB)-obj-curl
 DIRDIST = ..\builds\$(CONFIG_NAME_LIB)\\r
 \r
 $(MODE):\r
+       @IF NOT EXIST ..\include\curl\curlbuild.h ( \\r
+          CALL ..\buildconf.bat \\r
+       )\r
        @SET DIROBJ=$(LIBCURL_DIROBJ)\r
        @SET MACRO_NAME=LIBCURL_OBJS\r
        @SET OUTFILE=LIBCURL_OBJS.inc\r