about summary refs log tree commit diff stats
path: root/config.hin
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>1998-07-31 09:38:29 -0400
committerThomas E. Dickey <dickey@invisible-island.net>1998-07-31 09:38:29 -0400
commite6ba2a01f70f84d9133cf305e4b493c9d656cb21 (patch)
tree264c4d01cf7791c9f77d583f05456a6108df3cdc /config.hin
parentaa3258c631eaca9dc2e7e2590b8778b827006144 (diff)
downloadlynx-snapshots-e6ba2a01f70f84d9133cf305e4b493c9d656cb21.tar.gz
snapshot of project "lynx", label v2-8-1dev_19
Diffstat (limited to 'config.hin')
-rw-r--r--config.hin22
1 files changed, 16 insertions, 6 deletions
diff --git a/config.hin b/config.hin
index 84da5c83..131df923 100644
--- a/config.hin
+++ b/config.hin
@@ -19,9 +19,11 @@
 #undef DONT_TRACK_INTERNAL_LINKS /* CF_ARG_DISABLE(internal-links) */
 #undef EXP_8BIT_TOUPPER		/* AC_ARG_ENABLE(8bit-toupper) */
 #undef EXP_CHARTRANS_AUTOSWITCH	/* AC_ARG_ENABLE(font-switch) */
+#undef EXP_FORMS_OPTIONS	/* AC_ARG_ENABLE(forms-options) */
 #undef EXP_PERSISTENT_COOKIES	/* AC_ARG_ENABLE(persistent-cookies) */
 #undef FANCY_CURSES		/* defined by CF_FANCY_CURSES */
 #undef GCC_UNUSED		/* CF_GCC_ATTRIBUTES */
+#undef GETGROUPS_T		/* AC_TYPE_GETGROUPS */
 #undef GZIP_PATH		/* CF_PATH_PROG(gzip) */
 #undef HAVE_CBREAK
 #undef HAVE_CURSESX_H
@@ -85,6 +87,7 @@
 #undef OK_UUDECODE		/* CF_ARG_DISABLE(dired-uudecode) */
 #undef OK_ZIP			/* CF_ARG_DISABLE(dired-zip) */
 #undef RM_PATH			/* CF_PATH_PROG(rm) */
+#undef SOCKS			/* CF_SOCKS, CF_SOCKS5 */
 #undef STDC_HEADERS
 #undef SYSLOG_REQUESTED_URLS	/* CF_ARG_ENABLE(syslog) */
 #undef SYSTEM_MAIL		/* CF_DEFINE_PROG */
@@ -92,7 +95,6 @@
 #undef TAR_PATH			/* CF_PATH_PROG(tar) */
 #undef TERMIO_AND_TERMIOS	/* termio.h and termios.h combo bug */
 #undef TOUCH_PATH		/* CF_PATH_PROG(touch) */
-#undef TYPE_GETGROUPS		/* CF_GETGROUPS */
 #undef ULTRIX			/* config.sub */
 #undef UNCOMPRESS_PATH		/* CF_PATH_PROG(gunzip) */
 #undef UNDERLINE_LINKS		/* CF_ARG_ENABLE(underlines) */
@@ -113,13 +115,10 @@
 #undef WAIT_USES_UNION		/* CF_FUNC_WAIT */
 #undef ZCAT_PATH		/* CF_PATH_PROG(zcat) */
 #undef ZIP_PATH			/* CF_PATH_PROG(zip) */
-#undef accept			/* CF_SOCKS5 */
+#undef _ALL_SOURCE		/* AC_AIX */
 #undef const			/* defined by AC_C_CONST */
-#undef getpeername		/* CF_SOCKS5 */
-#undef getsockname		/* CF_SOCKS5 */
 #undef mode_t			/* defined by AC_TYPE_MODE_T */
 #undef pid_t			/* defined by AC_TYPE_PID_T */
-#undef recvfrom			/* CF_SOCKS5 */
 #undef uid_t			/* defined by AC_TYPE_UID_T */
 #undef vfork			/* defined by AC_FUNC_FORK */
 
@@ -135,9 +134,20 @@
 /* FIXME:REVERSE_CLEAR_SCREEN_PROBLEM */
 /* FIXME:SHORTENED_RBIND */
 /* FIXME:SNAKE */
-/* FIXME:SOCKS */
 /* FIXME:SVR4_BSDSELECT */
 
+/* Some older socks libraries, especially AIX need special definitions */
+#if defined(_AIX) || !defined(USE_SOCKS5)
+#undef accept
+#undef bind
+#undef connect
+#undef getpeername
+#undef getsockname
+#undef listen
+#undef recvfrom
+#undef select
+#endif
+
 #ifndef HAVE_LSTAT
 #define lstat stat
 #endif
of project "lynx", label v2-7-1ac_0-102' href='/ingrix/lynx-snapshots/commit/makefile.in?id=b6c832d07f5a1c68607a9cff0da25cee0de89dad'>b6c832d0 ^
e4409c40 ^




51f21bae ^





e4409c40 ^







e4409c40 ^






b63d287c ^
e4409c40 ^







c4e90d70 ^
e4409c40 ^
349da2fb ^

55ebd12c ^
e4409c40 ^


c4e90d70 ^


e4409c40 ^

c4e90d70 ^
e4409c40 ^

c4e90d70 ^
e4409c40 ^
55ebd12c ^
e4409c40 ^



e4409c40 ^
e4409c40 ^


d2e46bbf ^
e4409c40 ^



d2e46bbf ^
e4409c40 ^



d2e46bbf ^
e4409c40 ^






55ebd12c ^



55ebd12c ^



55ebd12c ^








aa3258c6 ^
55ebd12c ^




e4409c40 ^
e4409c40 ^
55ebd12c ^
c4e90d70 ^
51f21bae ^
c4e90d70 ^
e38e34bf ^
b6c832d0 ^
c4e90d70 ^

d2e46bbf ^
b6c832d0 ^
3c7cb4bb ^
e4409c40 ^



050803d4 ^




1a2ac66b ^
050803d4 ^




e4409c40 ^



1a2ac66b ^
51f21bae ^
e4409c40 ^
51f21bae ^
1a2ac66b ^


e4409c40 ^
e4409c40 ^


b63d287c ^

57bfc74f ^
b63d287c ^
b6c832d0 ^

97d3287a ^

e4409c40 ^
86b4d41a ^
e4409c40 ^


57bfc74f ^
e4409c40 ^

86b4d41a ^
e4409c40 ^








86b4d41a ^

e4409c40 ^









51f21bae ^
ab8b1f12 ^


b6c832d0 ^

86b4d41a ^
84271e58 ^
b6c832d0 ^
e6ba2a01 ^
84271e58 ^
b6c832d0 ^


51f21bae ^


























55ebd12c ^
b6c832d0 ^
88a84876 ^
51f21bae ^
88a84876 ^




b6c832d0 ^


51f21bae ^
88a84876 ^



51f21bae ^





















88a84876 ^


8f8c57cc ^
ab8b1f12 ^
55ebd12c ^


51f21bae ^





8f8c57cc ^
86b4d41a ^
8f8c57cc ^

55ebd12c ^
b6c832d0 ^
b63d287c ^
b6c832d0 ^
b63d287c ^
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334

                   



                            
          






                               


                            
 

                       

                        



                                   



                                                                             
                                                               
                                   

                        









                                             


                                          




                                                                        





                                                               







                                                                        






                                                                           
                                                             







                                                                                           
                                                                           
                                                             

                                            
 


                                                                 


                                                                            

                                                                    
                                 

                                                             
                               
 
                                                   



                                                                          
                                                                           


                                                                             
              



                                                                       
                                 



                                                                          
                                             






                                                             



                                                                            



                            








                           
                         




                   
 
                                                                           
 
                                                             
                    
                                                   
                                       
                                        

                                          
                                    
                                        
                                                                     



                                                     




                                                                              
                                                                            




                                                                                          



                                    
                               
                                                     
 
                


                                         
                


                                  

                                      
                             
                                                                           

                                                                       

                                                                               
                                                                        
                               


                                      
                              

           
                    








                         

                        









                                                                            
                                                                             


                                                                  

                      
                                                  
                                            
 
                       
                                                           


                                   


























                                                                                 
                                                                           
                                                            
                                 
                                          




                                                            


                                                                       
                                                            



                                                      





















                                                                          


                                                             
 
                       


                                                                     





                                                                                    
          
                               

                                 
                                 
                                   
 
                                          
                              
##makefile for lynx

SHELL		= /bin/sh

x		= @PROG_EXT@

.SUFFIXES:
@SET_MAKE@
prefix		= @prefix@
exec_prefix	= @exec_prefix@
srcdir		= @srcdir@
VPATH		= $(srcdir)

CC		= @CC@
CFLAGS		= @CFLAGS@
DEFS		= @DEFS@
CPPFLAGS	= @CPPFLAGS@

AWK		= @AWK@

LIBS		= @LIBS@

INSTALL		= @INSTALL@
INSTALL_PROGRAM	= @INSTALL_PROGRAM@
INSTALL_DATA	= @INSTALL_DATA@

## This is the version which we are developing (or, upon release, make this
## the same).  Use no dots in the name, since it must work on VMS and MS-DOS.
VERSION		= 2-8-1

##this is the name of the directory the lynx source code is in.
##(e.g. lynx2-8, not the full path)
lynxdir= lynx$(VERSION)
lynxname= lynx$(VERSION)

## Where you want lynx installed
bindir= @bindir@

## Where you want the lynx man file installed
mandir= @mandir@/man1

## Where you want the lynx.cfg file installed
libdir= @libdir@

## Where you want the help-files installed
helpdir= @libdir@/lynx_help

##set the relative location of the WWW library Implementation directory,
##from this directory
##do not set this to be an absolute path!!!
WWWINC= WWW/Library/Implementation

## Path to gzip that will compress the help files.
## It will be used when --enable-gzip-help is set by configure.
## Leave *both* empty if you don't want to gzip help files.
COMPRESS_PROG=@COMPRESS_PROG@
COMPRESS_EXT=@COMPRESS_EXT@

# !!!!!!!!!!! SUN resolv LIBRARY !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# To include resolv in the LIBS="" list for SUN 3, 4 or Solaris OS,
# point RESOLVLIB to that library.  You need this if you get the message
# "Alert!:  Unable to connect to remote host" whenever you try to
# access a host other than localhost and have made Lynx without it.
# See the PROBLEMS file for more information.
#RESOLVLIB= -lresolv

# !!!!!!!!!!!!!  DIRECT WAIS ACCESS !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# If you are adding direct wais access you must fill in the
# location of wais.a, client.a and the standard math library, libm.a.
# You can pick up the most current freeWAIS sources from
#	ftp://ftp.cnidr.org/pub/NIDR.tools/freewais
# If you are using freeWAIS-0.202 or older, include -DDECLARE_WAIS_LOGFILES
# in your SITE_DEFS.
# Please put an ABSOLUTE address here if you want it to work!
#WAISLIB= ../../freeWAIS-0.202/bin/client.a ../../freeWAIS-0.202/bin/wais.a /usr/lib/libm.a

# !!!!!!!!!!!!! SLANG Support (For color version of Lynx). !!!!!!!!!!!!!!!!
# The slang library is an alternative to curses, developed by John E. Davis
# (davis@space.mit.edu).  Version 0.99-27 or higher is available from
#	ftp://space.mit.edu/pub/davis
# It provides color support for Lynx.

# !!!!!!!!!!!!! NCURSES Support (For color version of Lynx). !!!!!!!!!!!!!!
# If you need ncurses, the latest version can always be found
# in ftp://ftp.clark.net/pub/dickey/ncurses/
# or ftp://ftp.gnu.org/pub/gnu/

# Also be sure to check out the compilation symbols in userdefs.h
# before building Lynx!

# If you apply patches which require linking to site-specific libraries, set
# SITE_LIBS to those libraries.
SITE_LIBS= # Your libraries here

# Set SITE_LYDEFS to one or more of the defines for the WWW Library:
SITE_LYDEFS = # Your defines here

# Set SITE_DEFS to one or more of the defines for lynx below:
SITE_DEFS = # Your defines here

# defines for which there are no configure options:
# -DHP_TERMINAL    For DIM workaround to REVERSE problems on HP terminals.
# -DIGNORE_CTRL_C  Define if Control-C shouldn't exit lynx.
# -DNOPORT         if you must use PASV instead of PORT for FTP
# -DNO_CPU_LIMIT   Disables Max CPU timeout (includes CLOCKS_PER_SECOND)
# -DSHORTENED_RBIND  For a SOCKSified lynx with the short version of Rbind.
# -DSLANG_MBCS_HACK prevent cutoff lines when using UTF8 console (slang only)
#
# if you are linking to freeWAIS-0.202 or older, you should define this
# in SITE_DEFS
#
# -DDECLARE_WAIS_LOGFILES
#
# if you have the reverse clear screen problem of some SUN4 systems you
# should define this in SITE_DEFS
#
# -DREVERSE_CLEAR_SCREEN_PROBLEM
#
# if you have an SVR4 system with the "type any key" problem, try defining
# this in LYFLAGS (SITE_LYDEFS) and SITE_DEFS
#
# -DSVR4_BSDSELECT
#
# Old Data General systems may need this in their SITE_LYDEFS
# for their inet_addr(host) calls.
#
# -DDGUX_OLD

# defines which have configure options   (see INSTALLATION, Section II-1c.):
# -DARCHIVE_ONLY
# -DDIRED_SUPPORT
# -DEXP_CHARTRANS_AUTOSWITCH
# -DLINKEDSTYLES
# -DLONG_LIST
# -DLY_FIND_LEAKS
# -DNO_CHANGE_EXECUTE_PERMS
# -DNO_PARENT_DIR_REFERENCE
# -DNSL_FORK
# -DOK_GZIP
# -DOK_OVERRIDE
# -DOK_PERMIT
# -DOK_TAR
# -DOK_UUDECODE
# -DOK_ZIP
# -DSYSLOG_REQUESTED_URLS
# -DUNDERLINE_LINKS
# -DUSE_COLOR_STYLE
# -DUSE_HASH
# -DUSE_SLANG
# -DUSE_ZLIB
#
# for installation of local execution links, please see the file userdefs.h

# TESTED: Linux FreeBSD SunOS Solaris IRIX CLIX HP-UX AIX SCO
all lynx$x: LYHelp.h
	cd WWW/Library/unix && $(MAKE) CC="$(CC)" \
		LY_CFLAGS="$(CFLAGS)" \
		CPPFLAGS="$(CPPFLAGS)" \
		LYFLAGS="$(SITE_LYDEFS)"
	cd src && $(MAKE) all CC="$(CC)" \
		CFLAGS="$(CFLAGS)" \
		CPPFLAGS="$(CPPFLAGS)" \
		LIBS="$(LIBS) $(RESOLVLIB) $(WAISLIB) $(SITE_LIBS)" \
		SITE_DEFS="$(SITE_DEFS)" \
		WWWINC=$(WWWINC) \
		WWWLIB="../WWW/Library/unix/libwww.a"

help:
	@echo
	@echo "Please run make with one of the following arguments"
	@echo "all        -- to make the executable, put it in this directory"
	@echo "clean      -- removes all '.o' and 'core' files"
	@echo "depend     -- use makedepend to generate header-dependencies"
	@echo "tar        -- runs clean, removes executable, and tars the whole directory"
	@echo "compress   -- runs tar, then compresses the result"
	@echo "zip        -- runs clean, removes executable, and zips the whole directory"
	@echo

##Miscellaneous actions
clean:
	rm -f WWW/Library/*/*.[aob]
	rm -f WWW/Library/*/.created
	cd src && $(MAKE) clean
	rm -f *.b src/lynx$x core Lynx.leaks LYHelp.h

depend: LYHelp.h
	cd WWW/Library/unix && $(MAKE) $@
	cd src && $(MAKE) $@

distclean: clean
	-rm -f WWW/Library/*/*~
	-rm -f WWW/Library/*/*.bak
	-rm -rf src/obsolete
	-cd src && $(MAKE) $@
	-cd src/chrtrans && $(MAKE) $@
	-rm -f *~ *.bak *.sav
	-rm -f WWW/Library/unix/makefile src/makefile src/chrtrans/makefile
	@SRCDIR_CLEAN@-find . -type f -name '*.rej' -exec -rm -f {} \;
	@SRCDIR_CLEAN@-find . -type f -name '*.orig' -exec -rm -f {} \;
	@SRCDIR_CLEAN@-rmdir WWW/Library/unix && rmdir WWW/Library && rmdir WWW
	@SRCDIR_CLEAN@-rmdir src/chrtrans && rmdir src
	-rm -f makefile lynx_cfg.h config.status config.log config.cache
	-rm -f lynx$x install-*

maintainer-clean: distclean
	-rm -rf WWW/Library/*/obsolete
	-rm -f Lynx.prj .*_aux

tar:  clean
	rm -f lynx$x
	$(MAKE) save

turnover:	clean
	$(MAKE) save

zipcompress: compress zip
	echo "done!"

zip:  clean
	rm -f src/lynx$x
	rm -f lynx$x
	rm -f src/a.out
	rm -f ../$(lynxname).zip
	cd ..; rm -f $(lynxname).zip; zip -r $(lynxname).zip $(lynxdir)

save:
	cd ..; rm -f $(lynxname).tar; tar -cf - $(lynxdir) > $(lynxname).tar

compress: tar
	cd ..; rm -f $(lynxname).tar.Z; compress -f -v $(lynxname).tar

install: lynx$x install-bin install-man install-cfg @INSTALL_LSS@ install-log
	@echo
	@echo "Use $(MAKE) install-help to install the help-files"
	@echo

install-bin: $(bindir)
	-mv -f $(bindir)/lynx$x $(bindir)/lynx.old
	$(INSTALL_PROGRAM) lynx$x $(bindir)/

install-man : $(mandir)
	$(INSTALL_DATA) $(srcdir)/lynx.man $(mandir)/lynx.1

install-help : $(helpdir)
	(cd $(helpdir) && rm -rf *)
	@echo Constructing sed-script
	@sed	-e '/^#/d' -e '/^$$/d' \
		-e 's%\(.*\)=\(.*\@.*\)%s=@\1@=\2=%g' \
		-e 's%\(.*\)=\(http:.*\)%s=@\1@=\2=%g' \
		-e 's%\(.*\)=\(ftp:.*\)%s=@\1@=\2=%g' \
		-e 's%\(.*\)=\(.*\.html\)$$%s=@\1@=\2$(COMPRESS_EXT)=%g' \
		$(srcdir)/lynx_help/help_files.txt > \
		$(helpdir)/help_files.sed
	@echo Appending interim-fix for existing html files
	@sed	-e '/^#/d' -e '/[:@]/d' -e '/^$$/d' \
		-e 's%\(.*\)=\(.*\.html\)$$%s=\\<\2\\>=\2$(COMPRESS_EXT)=%g' \
		$(srcdir)/lynx_help/help_files.txt >> \
		$(helpdir)/help_files.sed
	@echo Translating/copying html files
	@sh -c	'cd $(srcdir)/lynx_help && ( \
		dirs=`find . -type d -print` ; \
		(cd $(helpdir) && mkdir $$dirs 2>/dev/null ) ; \
		files=`find . -name \*.html -print` ; \
		for f in $$files ; do \
			sed -f $(helpdir)/help_files.sed $$f > $(helpdir)/$$f ; \
		done ; \
		if test "$(COMPRESS_PROG)" != "" ; then \
			(cd $(helpdir) && $(COMPRESS_PROG) $$files ) \
		fi ; \
		)'
	-rm -f $(helpdir)/help_files.sed
	@echo Copying sample files
	(cd $(srcdir) && tar cf - C[HO]* PROBLEMS README samples test ) | \
			       ( cd $(helpdir) && tar xf - )
	-rm -f $(libdir)/lynx.tmp
	@echo Updating $(libdir)/lynx.cfg 
	sh -c 'if test -f $(libdir)/lynx.cfg ; then \
		mv $(libdir)/lynx.cfg $(libdir)/lynx.tmp ; \
	else \
		cp $(srcdir)/lynx.cfg $(libdir)/lynx.tmp ; \
	fi'
	sed	-e '/^HELPFILE:http/s@^@#@' \
		-e '/^#HELPFILE:file/s@#@@' \
		-e '/^HELPFILE:file/s@/PATH_TO/lynx_help@$(helpdir)@' \
		-e '/^HELPFILE:file/s@$$@$(COMPRESS_EXT)@' \
		$(libdir)/lynx.tmp >$(libdir)/lynx.cfg
	chmod 644 $(libdir)/lynx.cfg
	-rm -f $(libdir)/lynx.tmp

LYHelp.h : LYHelp.hin
	@sed	-e '/^#/d' -e '/^$$/d' \
		-e 's%\(.*\)=\(.*\@.*\)%s=@\1@=\2=%g' \
		-e 's%\(.*\)=\(http:.*\)%s=@\1@=\2=%g' \
		-e 's%\(.*\)=\(ftp:.*\)%s=@\1@=\2=%g' \
		-e 's%\(.*\)=\(.*\.html\)$$%s=@\1@=\2$(COMPRESS_EXT)=%g' \
		$(srcdir)/lynx_help/help_files.txt > \
		help_files.sed
	@sed -f help_files.sed $(srcdir)/LYHelp.hin > $@
	-@rm -f help_files.sed
	@echo '**********************************************'
	@echo
	@sh -c 'if test "$(COMPRESS_PROG)" = "" ; then \
		echo "       Help files will NOT be gzipped."; \
	else \
		echo "       Help links point to compressed files"; \
		echo "       To access them properly you have to type"; \
		echo "                 make install-help"; \
	fi'
	@echo
	@echo '**********************************************'

install-cfg : $(libdir)
	-mv -f $(libdir)/lynx.cfg $(libdir)/lynx.oldcfg
	$(INSTALL_DATA) $(srcdir)/lynx.cfg $(libdir)/lynx.cfg

install-lss : $(libdir)
	-mv -f $(libdir)/lynx.lss $(libdir)/lynx.oldlss
	$(INSTALL_DATA) $(srcdir)/samples/lynx.lss $(libdir)/lynx.lss

install-log : $(libdir) config.cache
	-@sed	-e '/^#/d' \
		-e 's/^.._cv_\(.*\)=.*=\(.*\)\}/\1=\2/g' \
		config.cache | \
	$(AWK) -F= '{printf "%-30s = %s\n",$$1,$$2}' |sort > $(libdir)/lynx_site.txt

uninstall:
	-rm -f $(bindir)/lynx$x
	-rm -f $(mandir)/lynx.1
	-rm -f $(libdir)/lynx.cfg
	-rm -f $(libdir)/lynx.lss
	-rm -rf $(libdir)/lynx_help

$(bindir) $(mandir) $(libdir) $(helpdir) :
	$(srcdir)/mkdirs.sh $@