summaryrefslogtreecommitdiffstats
path: root/driver/link_decc.com
diff options
context:
space:
mode:
Diffstat (limited to 'driver/link_decc.com')
-rw-r--r--driver/link_decc.com15
1 files changed, 15 insertions, 0 deletions
diff --git a/driver/link_decc.com b/driver/link_decc.com
new file mode 100644
index 0000000..d1de0d0
--- /dev/null
+++ b/driver/link_decc.com
@@ -0,0 +1,15 @@
+$! We fisrt test the version of DECW/Motif ; if 1.2 we need to link with new
+$! X11R5 libraries
+$@sys$update:decw$get_image_version sys$share:decw$xlibshr.exe decw$version
+$ if f$extract(4,3,decw$version).eqs."1.2"
+$ then
+$! DECW/Motif 1.2 : link with X11R5 libraries
+$ link xscreensaver-command,vms_decc_12.opt/opt
+$ link xscreensaver,demo,dialogs-xm,lock,passwd,stderr,subprocs,timers, -
+ windows,xset,vms-getpwnam,vms-hpwd,vms-validate,vms_decc_12.opt/opt
+$ else
+$! Else, link with X11R4 libraries
+$ link xscreensaver-command,vms_decc.opt/opt
+$ link xscreensaver,demo,dialogs-xm,lock,passwd,stderr,subprocs,timers, -
+ windows,xset,vms-getpwnam,vms-hpwd,vms-validate,vms_decc.opt/opt
+$ endif