$!----------------------------------------------------------
$ @MAKE_PCSI_CURL_KIT_NAME.COM
$!
-$!
-$! Make sure that the image is built
-$!----------------------------------
-$ arch_name = f$edit(f$getsyi("arch_name"),"UPCASE")
-$ if f$search("[--.src]curl.exe") .eqs. ""
-$ then
-$ build_it = 1
-$ libfile = "[.packages.vms.''arch_name']curllib.olb"
-$ if f$search(libfile) .nes. ""
-$ then
-$ build_it = 0
-$ else
-$ ! GNV based build
-$ libfile = "[.lib.^.libs]libcurl.a"
-$ if f$search(libfile) .nes. ""
-$ then
-$ build_it = 0;
-$ endif
-$ endif
-$ if build_it .eq. 1
-$ then
-$ @build_vms list
-$ endif
-$ @gnv_link_curl.com
-$ endif
-$!
$! Make sure that the release note file name is up to date
$!---------------------------------------------------------
$ @BUILD_GNV_CURL_RELEASE_NOTES.COM
$ version = "''mmversion'"
$ endif
$!
-$ @stage_curl_install remove
-$ @stage_curl_install
$!
$! Move to the base directories
$ set def [--]
$ my_dir = f$parse(current_default,,,"DIRECTORY") - "[" - "<" - ">" - "]"
$!
$!
-$!
$ source = "''default_dir'"
$ src1 = "new_gnu:[usr.bin],"
$ src2 = "new_gnu:[usr.include.curl],"
$!
$!
$ base = ""
+$ arch_name = f$edit(f$getsyi("arch_name"),"UPCASE")
$ if arch_name .eqs. "ALPHA" then base = "AXPVMS"
$ if arch_name .eqs. "IA64" then base = "I64VMS"
$ if arch_name .eqs. "VAX" then base = "VAXVMS"