summaryrefslogtreecommitdiff
path: root/!NetSurf
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2005-01-26 22:43:14 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2005-01-26 22:43:14 +0000
commit41fc34d79c054016ded96963e6e69dced6e89f1c (patch)
treed4243d1cfce6ae8982ed14910bd25cfbb5f241eb /!NetSurf
parentcba69ab08367be9555fac10ead26996bdffb2d3e (diff)
downloadnetsurf-41fc34d79c054016ded96963e6e69dced6e89f1c.tar.gz
netsurf-41fc34d79c054016ded96963e6e69dced6e89f1c.tar.bz2
[project @ 2005-01-26 22:43:14 by jmb]
Check for presence of !Unicode resource if Iconv module is found on system svn path=/import/netsurf/; revision=1469
Diffstat (limited to '!NetSurf')
-rw-r--r--!NetSurf/!Run,feb14
1 files changed, 11 insertions, 3 deletions
diff --git a/!NetSurf/!Run,feb b/!NetSurf/!Run,feb
index acf33fe35..b7ab97e0a 100644
--- a/!NetSurf/!Run,feb
+++ b/!NetSurf/!Run,feb
@@ -1,4 +1,4 @@
-| Run file for NetSurf. ( $Revision: 1.33 $ )
+| Run file for NetSurf. ( $Revision: 1.34 $ )
|
| This file ensures that the system resources required by NetSurf are
| present. Additionally, it forces setting of system variables related
@@ -59,9 +59,17 @@ RMEnsure Tinct 0.09 NetSurfRMLoad System:Modules.Tinct
RMEnsure Tinct 0.09 Error NetSurf requires Tinct 0.09 or later. This can be downloaded from http://www.tinct.net
| Ensure Iconv
-| http://moose.mine.nu:6888/iconv002.zip
+| http://moose.mine.nu:6888/iconv_latest.zip
+|
+| If Iconv is present, then ensure that the !Unicode resource has been
+| seen before loading Iconv. If it isn't present, don't bother checking
+| as we don't care.
| Not an error if not present - there'll be no charset conversion.
-RMEnsure Iconv 0.02 NetSurfRMLoad System:Modules.Iconv
+Set NetSurf$LoadIconv 0
+RMEnsure Iconv 0.02 IfThere System:Modules.Iconv Then Set NetSurf$LoadIconv 1
+If "<NetSurf$LoadIconv>" = "1" AND "<Unicode$Path>" = "" Then Error NetSurf requires the !Unicode resource. This can be found, along with the Iconv module, at http://moose.mine.nu:6888/iconv_latest.zip
+If "<NetSurf$LoadIconv>" = "1" Then NetSurfRMLoad System:Modules.Iconv
+Unset NetSurf$LoadIconv
| No longer need this alias
Unset Alias$NetSurfRMLoad