summaryrefslogtreecommitdiff
path: root/www/w3m/files/patch-configure
blob: bf57cd14a126294e0c215a7f1ad185ab51df5fe1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
--- configure.orig	Fri Dec 21 11:11:50 2001
+++ configure	Sun Jan  6 15:25:08 2002
@@ -64,6 +64,9 @@
   -helpdir=*|--helpdir=*)
     helpdir=`expr "$1" : "-*helpdir=\(.*\)"`
     ;;
+  -helpdir-ja=*|--helpdir-ja=*)
+    helpdir_ja=`expr "$1" : "-*helpdir-ja=\(.*\)"`
+    ;;
   -sysconfdir=*|--sysconfdir=*)
     sysconfdir=`expr "$1" : "-*sysconfdir=\(.*\)"`
     ;;
@@ -513,6 +516,16 @@
 helpdir=$_dir
 echo "helpdir='$helpdir'" >> config.param
 
+d_helpdir_ja=$helpdir_ja
+if [ -z "$d_helpdir_ja" ]; then
+  d_helpdir_ja="$topdir/share/w3m"
+fi
+echo "Which directory do you want to put the Japanese helpfile?"
+Echo "(default: $d_helpdir_ja) "
+readdir "$d_helpdir_ja"
+helpdir_ja=$_dir
+echo "helpdir_ja='$helpdir_ja'" >> config.param
+
 d_sysconfdir=$sysconfdir
 if [ -z "$d_sysconfdir" ]; then
   d_sysconfdir="$topdir/etc/w3m"
@@ -1948,6 +1961,7 @@
 
 BIN_DIR = $bindir
 HELP_DIR = $helpdir
+HELP_DIR_JA = $helpdir_ja
 LIB_DIR = $libdir
 ETC_DIR = $sysconfdir
 HELP_FILE = $helpfile
@@ -2007,6 +2021,7 @@
 
 #define LIB_DIR      "$libdir"
 #define HELP_DIR     "$helpdir"
+#define HELP_DIR_JA  "$helpdir_ja"
 #define ETC_DIR	     "$sysconfdir"
 #define HELP_FILE    "w3mhelp.html"
 #define HELP_CGI     "w3mhelp"