view os2/dwcompat.lnk @ 2748:d8db838d5616

Rewrite the configure GTK and WebKitGTK test section. The old code was way too confusing and complicated with nested ifs. Simplify the code with a primary and alternate webkit package. Display the selected GTK version and WebKit package during configure. This change removed a "WebKitGtk" package, which I am not sure what it was from... but if it causes problems revisit later. --with-gtk4 will override --with-gtk2 now and will always default to GTK3. If --with-gtk2 is used with no GTK2 installed or --with-gtk4 is used with no GTK4 installed use GTK3. Then in a second pass we check the package we have selected and add any necessary defines so the correct code paths are followed during compile.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 28 Dec 2021 11:00:26 +0000
parents fbaec6e5df63
children
line wrap: on
line source

option DESCRIPTION 'Dynamic Windows Compatibility Module for OS/2'
segment type DATA NONSHARED LOADONCALL

export makedir.20
export vargs.21
export setfileinfo.22
export drivefree.23
export isdrive.24
export drivesize.25
export getfsname.26

export _opendir.30
export _openxdir.31
export _readdir.32
export _seekdir.33
export _telldir.34
export _closedir.35

export fsopen.40
export fsclose.41
export fsgets.42
export fsseek.43

export locale_init.50
export locale_string.51

export nice_strformat.60
export initdir.61