summaryrefslogtreecommitdiffstats
path: root/www/w3m/files/patch-aa
blob: 12cb8b4933328549c352092fe205cfb715a75861 (plain)
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
--- config.h.orig	Wed Oct 27 07:04:00 1999
+++ config.h	Tue Nov  2 17:14:55 1999
@@ -28,18 +28,19 @@
 /**********************************************************/
 #ifdef makefile_parameter
 
-BIN_DIR = /usr/local/bin
-HELP_DIR = /usr/local/lib/w3m
-HELP_FILE = w3mhelp_ja.html
-SYS_LIBRARIES =  -lbsd -lnsl -lncurses 
+BIN_DIR = %%PREFIX%%/bin
+HELP_DIR = %%PREFIX%%/share/doc/w3m
+HELP_DIR_JA = %%PREFIX%%/share/doc/ja/w3m
+HELP_FILE = w3mhelp_en.html
+SYS_LIBRARIES =  -ltermcap
 LOCAL_LIBRARIES = 
-CC = gcc
-MYCFLAGS = -g -I./gc  
+#CC = gcc
+#MYCFLAGS = -g -I./gc  
 KEYBIND_SRC = keybind.c
 KEYBIND_OBJ = keybind.o
 EXT=
-GCLIB=gc/gc.a
-GCTARGET=gc/gc.a
+#GCLIB=gc/gc.a
+#GCTARGET=gc/gc.a
 #else
 
 
@@ -47,19 +48,28 @@
 
 #define JA 0
 #define EN 1
+#undef JAPANESE
+#ifdef JAPANESE
 #define LANG JA
 #define KANJI_SYMBOLS
+#else
+#define LANG EN
+#endif
 #define COLOR
-#undef MOUSE
+#define MOUSE
 #define MENU
-#undef USE_COOKIE
+#define USE_COOKIE
 #undef USE_SSL
 
-#define DEF_EDITOR "/bin/vi"
-#define DEF_MAILER "/bin/mail"
-#define DEF_EXT_BROWSER "/usr/bin/lynx"
-#define LIB_DIR "/usr/local/lib/w3m"
-#define HELP_FILE "/usr/local/lib/w3m/w3mhelp.html"
+#define DEF_EDITOR "/usr/bin/vi"
+#define DEF_MAILER "/usr/bin/mail"
+#define DEF_EXT_BROWSER "%%PREFIX%%/bin/netscape"
+#define LIB_DIR "%%PREFIX%%/lib/w3m"
+#ifdef JAPANESE
+#define HELP_FILE "%%PREFIX%%/share/doc/ja/w3m/w3mhelp_ja.html"
+#else
+#define HELP_FILE "%%PREFIX%%/share/doc/w3m/w3mhelp_en.html"
+#endif
 #define BOOKMARK "~/.w3m/bookmark.html"
 #define KEYMAP_FILE  "~/.w3m/keymap"
 #define MENU_FILE    "~/.w3m/menu"
OpenPOWER on IntegriCloud