[Zlib-devel] zlib 1.2.3.9 is out - VMS patch
Martin Zinser
zinser at zinser.no-ip.info
Tue Feb 23 20:45:54 EST 2010
Hello,
attached is the minimal patch to make_vms.com to work with zconf.h.in
instead of zlibdefs.h as well as copy with the cmakedefine statements.
Greetings, Martin
*** make_vms.com 2010-02-13 18:38:18.000000000 -0600
--- make_vms.com.new 2010-02-21 21:53:59.000000000 -0600
***************
*** 13,20 ****
--- 13,22 ----
$! 0.02 20061008 Adapt to new Makefile.in
$! 0.03 20091224 Add support for large file check
$! 0.04 20100110 Add new gzclose, gzlib, gzread, gzwrite
+ $! 0.05 20100221 Exchange zlibdefs.h by zconf.h.in
$!
$ on error then goto err_exit
+ $ set proc/parse=ext
$!
$ true = 1
$ false = 0
***************
*** 38,44 ****
$ ccopt = ""
$ lopts = ""
$ dnsrl = ""
! $ aconf_in_file = "config.hin"
$ conf_check_string = ""
$ linkonly = false
$ optfile = name + ".opt"
--- 40,46 ----
$ ccopt = ""
$ lopts = ""
$ dnsrl = ""
! $ aconf_in_file = "zconf.h.in#zconf.h_in"
$ conf_check_string = ""
$ linkonly = false
$ optfile = name + ".opt"
***************
*** 104,116 ****
$ goto find_aconf
$ endif
$ open/read/err=aconf_err aconf_in 'fname'
! $ open/write aconf zlibdefs.h
$ACONF_LOOP:
$ read/end_of_file=aconf_exit aconf_in line
$ work = f$edit(line, "compress,trim")
$ if f$extract(0,6,work) .nes. "#undef"
$ then
! $ write aconf line
$ else
$ cdef = f$element(1," ",work)
$ gosub check_config
--- 106,121 ----
$ goto find_aconf
$ endif
$ open/read/err=aconf_err aconf_in 'fname'
! $ open/write aconf zconf.h
$ACONF_LOOP:
$ read/end_of_file=aconf_exit aconf_in line
$ work = f$edit(line, "compress,trim")
$ if f$extract(0,6,work) .nes. "#undef"
$ then
! $ if f$extract(0,12,work) .nes. "#cmakedefine"
! $ then
! $ write aconf line
! $ endif
$ else
$ cdef = f$element(1," ",work)
$ gosub check_config
More information about the Zlib-devel
mailing list