]> git.pld-linux.org Git - packages/ettercap6.git/blob - ettercap-ncurses.patch
- Added plugin_dir patch --- plugins moved to %%{_libdir}. They are binary
[packages/ettercap6.git] / ettercap-ncurses.patch
1 diff -urN ettercap-0.5.4.orig/Makefile ettercap-0.5.4/Makefile
2 --- ettercap-0.5.4.orig/Makefile        Thu Jan  1 01:00:00 1970
3 +++ ettercap-0.5.4/Makefile     Thu Sep  6 17:14:33 2001
4 @@ -0,0 +1,141 @@
5 +SOURCES  = ./src/ec_buffer.c ./src/ec_debug.c ./src/ec_decodedata.c ./src/ec_dissector.c ./src/ec_dissector_bgp.c ./src/ec_dissector_ftp.c ./src/ec_dissector_http.c ./src/ec_dissector_https.c ./src/ec_dissector_icq.c ./src/ec_dissector_imap.c ./src/ec_dissector_irc.c ./src/ec_dissector_mysql.c ./src/ec_dissector_napster.c ./src/ec_dissector_nntp.c ./src/ec_dissector_pcanywhere.c ./src/ec_dissector_pop.c ./src/ec_dissector_rip.c ./src/ec_dissector_rlogin.c ./src/ec_dissector_smb.c ./src/ec_dissector_socks.c ./src/ec_dissector_ssh.c ./src/ec_dissector_telnet.c ./src/ec_dissector_vnc.c ./src/ec_dissector_x11.c ./src/ec_doppleganger.c ./src/ec_error.c ./src/ec_filterdrop.c ./src/ec_fingerprint.c ./src/ec_grell.c ./src/ec_illithid.c ./src/ec_inet.c ./src/ec_inet_forge.c ./src/ec_interface.c ./src/ec_interface_factory.c ./src/ec_interface_form.c ./src/ec_interface_inject.c ./src/ec_interface_plugins.c ./src/ec_interface_sniff.c ./src/ec_interface_sniff_data.c ./src/ec_logtofile.c ./src/ec_main.c ./src/ec_parser.c ./src/ec_plugins.c ./src/ec_signal.c ./src/ec_simple.c 
6 +DESTS    = $(SOURCES:.c=.o)
7 +
8 +MISSING  = ./src/missing/getopt.c ./src/missing/getopt1.c ./src/missing/memmem.c ./src/missing/strlcat.c 
9 +MISSDESTS= $(MISSING:.c=.o)
10 +
11 +DESTDIR  =
12 +CC       = i686-pld-linux-gcc
13 +LIBS     = -ldl -lform -lncurses -lncurses  -rdynamic -L/usr/lib -lssl -lcrypto -s
14 +MISSLIBS =  ./src/missing/strlcat.o
15 +DEFS     = -DHAVE_CONFIG_H -DLINUX 
16 +INSTALL  = /usr/bin/install -c
17 +
18 +prefix   = /usr
19 +exec_prefix = /usr
20 +
21 +BINDIR   = /usr/bin
22 +MANDIR   = /usr/share/man
23 +SHAREDIR = ${prefix}/share/ettercap
24 +DOCDIR   = ${prefix}/doc/ettercap-0.5.4
25 +DOC      = COPYING README README.PLUGINS CHANGELOG HISTORY AUTHORS TODO THANKS KNOWN-BUGS PORTINGS INSTALL
26 +
27 +DEBUG    = 
28 +CFLAG    = -O2 -Wall
29 +COPTS    = -I.  -I/usr/include
30 +
31 +PROG     = ettercap
32 +VERSION  = 0.5.4
33 +
34 +ALLOPT   = $(DEBUG) $(CFLAG) $(COPTS)
35 +
36 +
37 +.c.o:
38 +       $(CC) $(ALLOPT) $(DEFS) -c -o $@ $<
39 +
40 +all: ettercap
41 +
42 +ettercap: $(DESTS) missing
43 +       $(CC) $(ALLOPT) $(DEFS) -o $@ $(DESTS) $(MISSLIBS) $(LIBS)
44 +       @echo
45 +       @echo "\e[1m $(PROG) is ready... \e[m"
46 +       @echo
47 +
48 +missing: $(MISSDESTS)
49 +
50 +
51 +install: ettercap strip
52 +       $(INSTALL) -d $(DESTDIR)$(BINDIR)
53 +       $(INSTALL) -m 700 $(PROG) $(DESTDIR)$(BINDIR)
54 +       $(INSTALL) -d $(DESTDIR)$(SHAREDIR)
55 +       $(INSTALL) -m 644 ./share/* $(DESTDIR)$(SHAREDIR)
56 +       $(INSTALL) -m 644 ./etter.conf $(DESTDIR)$(SHAREDIR)
57 +       $(INSTALL) -m 644 ./etter.dns $(DESTDIR)$(SHAREDIR)
58 +       $(INSTALL) -m 644 ./etter.filter $(DESTDIR)$(SHAREDIR)
59 +       $(INSTALL) -m 644 ./etter.ssl.crt $(DESTDIR)$(SHAREDIR)
60 +       $(INSTALL) -d $(DESTDIR)$(DOCDIR)
61 +       $(INSTALL) -m 644 $(DOC) $(DESTDIR)$(DOCDIR)
62 +       $(INSTALL) -m 644 ./docs/*/* $(DESTDIR)$(DOCDIR)
63 +       $(INSTALL) -d $(DESTDIR)$(MANDIR)/man8
64 +       $(INSTALL) -m 644 $(PROG).8 $(DESTDIR)$(MANDIR)/man8/$(PROG).8
65 +       @echo
66 +       @echo "=============================================================="
67 +       @echo
68 +       @echo "\e[1m $(PROG)\e[m     installed in \e[1m$(DESTDIR)$(BINDIR) \e[m"
69 +       @echo "\e[1m shared files\e[m installed in \e[1m$(DESTDIR)$(SHAREDIR) \e[m"
70 +       @echo "\e[1m man pages\e[m    installed in \e[1m$(DESTDIR)$(MANDIR)/man8/ \e[m"
71 +       @echo "\e[1m DOCS\e[m         installed in \e[1m$(DESTDIR)$(DOCDIR) \e[m"
72 +       @echo
73 +       @echo "=============================================================="
74 +       @echo
75 +
76 +plug-ins:
77 +       cd plugins && make && cd ..
78 +       cp -f ./plugins/*/ec_*.so ./
79 +       @echo
80 +       @echo "\e[1m $(PROG) plugins are ready... \e[m"
81 +       @echo
82 +
83 +plug-ins_install:
84 +       cd plugins && make install DESTDIR=$(DESTDIR) && cd ..
85 +       @echo
86 +       @echo "=============================================================="
87 +       @echo
88 +       @echo "\e[1m PLUGINS\e[m     installed in \e[1m$(DESTDIR)$(SHAREDIR) \e[m"
89 +       @echo
90 +       @echo "=============================================================="
91 +       @echo
92 +
93 +complete_install: install plug-ins_install
94 +
95 +uninstall:
96 +       rm -f $(DESTDIR)$(MANDIR)/man8/$(PROG).8
97 +       rm -f $(DESTDIR)$(BINDIR)/$(PROG)
98 +       rm -fR $(DESTDIR)$(SHAREDIR)
99 +       rm -fR $(DESTDIR)$(DOCDIR)
100 +       @echo
101 +       @echo "\e[1m $(PROG) uninstalled from your system... \e[m"
102 +       @echo
103 +
104 +strip: ettercap
105 +       strip $(PROG)
106 +
107 +distro: distclean
108 +       shtool fixperm ./
109 +       cd .. && tar cvfz $(PROG)-$(VERSION).tar.gz ./$(PROG)-$(VERSION) --exclude *.prj --exclude *.spec \
110 +       && mv $(PROG)-$(VERSION).tar.gz ./$(PROG)-$(VERSION)/ && cd $(PROG)-$(VERSION)
111 +
112 +clean:
113 +       rm -f $(DESTS) $(MISSDESTS) $(PROG)
114 +       rm -f *.bak ./src/*.bak ./*/*.bak ./*/*/*.bak
115 +       rm -f core *.core
116 +       cd plugins && make clean && cd ..
117 +
118 +distclean: clean
119 +       rm -f config.h config.cache config.log config.status
120 +       rm -f $(PROG)-*.tar.gz
121 +       rm -f $(PROG)-*.rpm
122 +       rm -f $(PROG).8
123 +       rm -f *.log
124 +       rm -f Makefile *~
125 +       cd plugins && make distclean && cd ..
126 +       rm -f plugins/Makefile
127 +       rm -f ec_*.so
128 +
129 +# only for me...
130 +
131 +rpm: distro
132 +       rm -f $(PROG)-*.rpm
133 +       cp -f $(PROG)-$(VERSION).tar.gz /usr/src/redhat/SOURCES/
134 +       rpm -ba $(PROG).spec
135 +       mv /usr/src/redhat/RPMS/i?86/$(PROG)-$(VERSION)-1.i?86.rpm ./
136 +       mv /usr/src/redhat/SRPMS/$(PROG)-$(VERSION)-1.src.rpm ./
137 +       rm -Rf /usr/src/redhat/*/ettercap*
138 +       chmod 644 $(PROG)-$(VERSION)*
139 +
140 +snapshot:
141 +       @echo "\e[1m Making tarball... \e[m"
142 +       @rm -f ettercap
143 +       @shtool tarball -o $(PROG)-$(VERSION)-20010906.tar.gz -c 'gzip -9' -e '\.o,\.prj,\.gz,\.bak,\.so,\.log' ./
144 +       @chmod 644 $(PROG)-$(VERSION)-20010906.tar.gz
145 +       @ls -l $(PROG)-$(VERSION)-20010906.tar.gz
146 \ No newline at end of file
147 diff -urN ettercap-0.5.4.orig/config.h ettercap-0.5.4/config.h
148 --- ettercap-0.5.4.orig/config.h        Thu Jan  1 01:00:00 1970
149 +++ ettercap-0.5.4/config.h     Thu Sep  6 17:14:35 2001
150 @@ -0,0 +1,235 @@
151 +/* config.h.  Generated automatically by configure.  */
152 +/* config.h.in.  Generated automatically from configure.in by autoheader.  */
153 +/* acconfig.h.  Generated from scratch by my hand... ;) ALoR */
154 +
155 +
156 +
157 +
158 +/* Define if you have the `atexit' function. */
159 +#define HAVE_ATEXIT 1
160 +
161 +/* Define if you have the <ctype.h> header file. */
162 +#define HAVE_CTYPE_H 1
163 +
164 +/* Define if you have the <curses.h> header file. */
165 +/* #undef HAVE_CURSES_H */
166 +
167 +/* Define if you have the <dirent.h> header file. */
168 +#define HAVE_DIRENT_H 1
169 +
170 +/* Define if you have the <dlfcn.h> header file. */
171 +#define HAVE_DLFCN_H 1
172 +
173 +/* Define if you don't have `vprintf' but do have `_doprnt.' */
174 +/* #undef HAVE_DOPRNT */
175 +
176 +/* Define if you have the <errno.h> header file. */
177 +#define HAVE_ERRNO_H 1
178 +
179 +/* Define if you have the <fcntl.h> header file. */
180 +#define HAVE_FCNTL_H 1
181 +
182 +/* Define if you have the <form.h> header file. */
183 +/* #undef HAVE_FORM_H */
184 +
185 +/* Define if you have the <getopt.h> header file. */
186 +#define HAVE_GETOPT_H 1
187 +
188 +/* Define if you have the `getopt_long' function. */
189 +#define HAVE_GETOPT_LONG 1
190 +
191 +/* Define if you have the `gettimeofday' function. */
192 +#define HAVE_GETTIMEOFDAY 1
193 +
194 +/* Define if you have the <ifaddrs.h> header file. */
195 +/* #undef HAVE_IFADDRS_H */
196 +
197 +/* Define if you have the <inttypes.h> header file. */
198 +#define HAVE_INTTYPES_H 1
199 +
200 +/* Define if you have the `c' library (-lc). */
201 +/* #undef HAVE_LIBC */
202 +
203 +/* Define if you have the `curses' library (-lcurses). */
204 +/* #undef HAVE_LIBCURSES */
205 +
206 +/* Define if you have the `dl' library (-ldl). */
207 +#define HAVE_LIBDL 1
208 +
209 +/* Define if you have the `form' library (-lform). */
210 +#define HAVE_LIBFORM 1
211 +
212 +/* Define if you have the `ncurses' library (-lncurses). */
213 +#define HAVE_LIBNCURSES 1
214 +
215 +/* Define if your system has a working `malloc' function. */
216 +#define HAVE_MALLOC 1
217 +
218 +/* Define if you have the `memmem' function. */
219 +#define HAVE_MEMMEM 1
220 +
221 +/* Define if you have the <memory.h> header file. */
222 +#define HAVE_MEMORY_H 1
223 +
224 +/* Define if you have the <ncurses.h> header file. */
225 +/* #undef HAVE_NCURSES_H */
226 +
227 +/* Define if you have the <ndir.h> header file, and it defines `DIR'. */
228 +/* #undef HAVE_NDIR_H */
229 +
230 +/* Define if you have the <netinet/ip.h> header file. */
231 +#define HAVE_NETINET_IP_H 1
232 +
233 +/* Define if you have the <netinet/ip_icmp.h> header file. */
234 +#define HAVE_NETINET_IP_ICMP_H 1
235 +
236 +/* Define if you have the <netinet/tcp.h> header file. */
237 +#define HAVE_NETINET_TCP_H 1
238 +
239 +/* Define if you have the <net/ethernet.h> header file. */
240 +#define HAVE_NET_ETHERNET_H 1
241 +
242 +/* Define if you have the <net/if_arp.h> header file. */
243 +#define HAVE_NET_IF_ARP_H 1
244 +
245 +/* Define if you have the <net/if.h> header file. */
246 +#define HAVE_NET_IF_H 1
247 +
248 +/* Define if you have the `select' function. */
249 +#define HAVE_SELECT 1
250 +
251 +/* Define if you have the <signal.h> header file. */
252 +#define HAVE_SIGNAL_H 1
253 +
254 +/* if struct sockaddr has sa_len */
255 +/* #undef HAVE_SOCKADDR_SA_LEN */
256 +
257 +/* Define if you have the `socket' function. */
258 +#define HAVE_SOCKET 1
259 +
260 +/* Define if you have the <stdarg.h> header file. */
261 +#define HAVE_STDARG_H 1
262 +
263 +/* Define if you have the <stdint.h> header file. */
264 +#define HAVE_STDINT_H 1
265 +
266 +/* Define if you have the <stdlib.h> header file. */
267 +#define HAVE_STDLIB_H 1
268 +
269 +/* Define if you have the `strdup' function. */
270 +#define HAVE_STRDUP 1
271 +
272 +/* Define if you have the `strerror' function. */
273 +#define HAVE_STRERROR 1
274 +
275 +/* Define if you have the <strings.h> header file. */
276 +#define HAVE_STRINGS_H 1
277 +
278 +/* Define if you have the <string.h> header file. */
279 +#define HAVE_STRING_H 1
280 +
281 +/* Define if you have the `strlcat' function. */
282 +/* #undef HAVE_STRLCAT */
283 +
284 +/* Define if you have the `strsignal' function. */
285 +#define HAVE_STRSIGNAL 1
286 +
287 +/* Define if you have the `strstr' function. */
288 +#define HAVE_STRSTR 1
289 +
290 +/* Define if you have the <sys/dir.h> header file, and it defines `DIR'. */
291 +/* #undef HAVE_SYS_DIR_H */
292 +
293 +/* Define if you have the <sys/ioctl.h> header file. */
294 +#define HAVE_SYS_IOCTL_H 1
295 +
296 +/* Define if you have the <sys/ipc.h> header file. */
297 +#define HAVE_SYS_IPC_H 1
298 +
299 +/* Define if you have the <sys/ndir.h> header file, and it defines `DIR'. */
300 +/* #undef HAVE_SYS_NDIR_H */
301 +
302 +/* Define if you have the <sys/shm.h> header file. */
303 +#define HAVE_SYS_SHM_H 1
304 +
305 +/* Define if you have the <sys/stat.h> header file. */
306 +#define HAVE_SYS_STAT_H 1
307 +
308 +/* Define if you have the <sys/time.h> header file. */
309 +#define HAVE_SYS_TIME_H 1
310 +
311 +/* Define if you have the <sys/types.h> header file. */
312 +#define HAVE_SYS_TYPES_H 1
313 +
314 +/* Define if you have the <sys/utsname.h> header file. */
315 +#define HAVE_SYS_UTSNAME_H 1
316 +
317 +/* Define if you have the <termios.h> header file. */
318 +#define HAVE_TERMIOS_H 1
319 +
320 +/* Define if you have the `uname' function. */
321 +#define HAVE_UNAME 1
322 +
323 +/* Define if you have the <unistd.h> header file. */
324 +#define HAVE_UNISTD_H 1
325 +
326 +/* Define if you have the `vprintf' function. */
327 +#define HAVE_VPRINTF 1
328 +
329 +/* Define if you have the `vsnprintf' function. */
330 +#define HAVE_VSNPRINTF 1
331 +
332 +/* Define as the return type of signal handlers (`int' or `void'). */
333 +#define RETSIGTYPE void
334 +
335 +/* Define if you have the ANSI C header files. */
336 +#define STDC_HEADERS 1
337 +
338 +/* Define if you can safely include both <sys/time.h> and <time.h>. */
339 +#define TIME_WITH_SYS_TIME 1
340 +
341 +/* Define if your <sys/time.h> declares `struct tm'. */
342 +/* #undef TM_IN_SYS_TIME */
343 +
344 +/* Define if your processor stores words with the most significant byte first
345 +   (like Motorola and SPARC, unlike Intel and VAX). */
346 +/* #undef WORDS_BIGENDIAN */
347 +
348 +/* Define to empty if `const' does not conform to ANSI C. */
349 +/* #undef const */
350 +
351 +/* Define to `int' if <sys/types.h> does not define. */
352 +/* #undef pid_t */
353 +
354 +/* Define to `unsigned' if <sys/types.h> does not define. */
355 +/* #undef size_t */
356 +
357 +/* my define for libncurses && ncurses_h */
358 +#define HAVE_NCURSES 1
359 +
360 +/* my define for ncurses form */
361 +#define HAVE_FORM 1
362 +
363 +/* can ettercap be setuid ? */
364 +/* #undef PERMIT_SUID */
365 +
366 +/* can ettercap use plugins ? */
367 +#define PERMIT_PLUGINS 1
368 +
369 +/* is sockelen_t defined in sys/socket.h ? */
370 +#define HAVE_SOCKLEN_T 1
371 +
372 +/* do U have PF_PACKET protocol ? */
373 +#define HAVE_PF_PACKET 1
374 +
375 +/* no, only PF_INET, SOCK_PACKET ! */
376 +#define HAVE_SOCK_PACKET 1
377 +
378 +/* SSH support ! */
379 +#define HAVE_OPENSSL 1
380 +
381 +/* HTTPS support ! */
382 +#define PERMIT_HTTPS 1
383 +
384 +/* EOF */
385 +
386 diff -urN ettercap-0.5.4.orig/config.log ettercap-0.5.4/config.log
387 --- ettercap-0.5.4.orig/config.log      Thu Jan  1 01:00:00 1970
388 +++ ettercap-0.5.4/config.log   Thu Sep  6 17:14:35 2001
389 @@ -0,0 +1,835 @@
390 +This file contains any messages produced by compilers while
391 +running configure, to aid debugging if configure makes a mistake.
392 +
393 +It was created by configure, which was
394 +generated by GNU Autoconf 2.52.  Invocation command line was
395 +
396 +  $ ./configure LDFLAGS=-s CFLAGS=-I/usr/include/ncurses -DHAVE_NCURSES CXXFLAGS=-O2 -march=i686 FFLAGS=-O2 -march=i686 CC=i686-pld-linux-gcc --build=i686-pld-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info HAVE_NCURSES=1 --disable-debug --enable-ncurses
397 +
398 +## ---------- ##
399 +## Platform.  ##
400 +## ---------- ##
401 +
402 +hostname = wieszak
403 +uname -m = i686
404 +uname -r = 2.2.19
405 +uname -s = Linux
406 +uname -v = #39 Thu Jul 26 16:20:17 CEST 2001
407 +
408 +/usr/bin/uname -p = unknown
409 +/bin/uname -X     = unknown
410 +
411 +/bin/arch              = i686
412 +/usr/bin/arch -k       = unknown
413 +/usr/convex/getsysinfo = unknown
414 +hostinfo               = unknown
415 +/bin/machine           = unknown
416 +/usr/bin/oslevel       = unknown
417 +/bin/universe          = unknown
418 +
419 +PATH = /usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/X11R6/bin:/home/misiek/bin:/opt/kde/bin
420 +
421 +## ------------ ##
422 +## Core tests.  ##
423 +## ------------ ##
424 +
425 +configure:967: PATH=".;."; conftest.sh
426 +./configure[975]: conftest.sh: not found
427 +configure:970: $? = 127
428 +configure:988: result: 
429 +configure:990: result: \e[1mConfiguring ettercap-0.5.4...\e[m
430 +configure:992: result: 
431 +configure:1034: checking build system type
432 +configure:1052: result: i686-pld-linux-gnu
433 +configure:1059: checking host system type
434 +configure:1073: result: i686-pld-linux-gnu
435 +configure:1080: checking target system type
436 +configure:1094: result: i686-pld-linux-gnu
437 +configure:1110: checking Linux kernel version
438 +configure:1115: result: 2.2.19
439 +configure:1230: checking for gcc
440 +configure:1253: result: i686-pld-linux-gcc
441 +configure:1481: checking for C compiler version
442 +configure:1484: i686-pld-linux-gcc --version </dev/null >&5
443 +2.95.3
444 +configure:1487: $? = 0
445 +configure:1489: i686-pld-linux-gcc -v </dev/null >&5
446 +Reading specs from /usr/lib/gcc-lib/i686-pld-linux/2.95.3/specs
447 +gcc version 2.95.3 20010315 (release)
448 +configure:1492: $? = 0
449 +configure:1494: i686-pld-linux-gcc -V </dev/null >&5
450 +i686-pld-linux-gcc: argument to `-V' is missing
451 +configure:1497: $? = 1
452 +configure:1517: checking for C compiler default output
453 +configure:1520: i686-pld-linux-gcc -I/usr/include/ncurses -DHAVE_NCURSES  -s conftest.c  >&5
454 +configure:1523: $? = 0
455 +configure:1552: result: a.out
456 +configure:1557: checking whether the C compiler works
457 +configure:1563: ./a.out
458 +configure:1566: $? = 0
459 +configure:1581: result: yes
460 +configure:1588: checking whether we are cross compiling
461 +configure:1590: result: no
462 +configure:1593: checking for executable suffix
463 +configure:1595: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES  -s conftest.c  >&5
464 +configure:1598: $? = 0
465 +configure:1620: result: 
466 +configure:1626: checking for object suffix
467 +configure:1644: i686-pld-linux-gcc -c -I/usr/include/ncurses -DHAVE_NCURSES  conftest.c >&5
468 +configure:1647: $? = 0
469 +configure:1666: result: o
470 +configure:1670: checking whether we are using the GNU C compiler
471 +configure:1691: i686-pld-linux-gcc -c -I/usr/include/ncurses -DHAVE_NCURSES  conftest.c >&5
472 +configure:1694: $? = 0
473 +configure:1697: test -s conftest.o
474 +configure:1700: $? = 0
475 +configure:1712: result: yes
476 +configure:1718: checking whether i686-pld-linux-gcc accepts -g
477 +configure:1736: i686-pld-linux-gcc -c -g  conftest.c >&5
478 +configure:1739: $? = 0
479 +configure:1742: test -s conftest.o
480 +configure:1745: $? = 0
481 +configure:1755: result: yes
482 +configure:1782: i686-pld-linux-gcc -c -I/usr/include/ncurses -DHAVE_NCURSES  conftest.c >&5
483 +conftest.c:2: parse error before `me'
484 +configure:1785: $? = 1
485 +configure: failed program was:
486 +#ifndef __cplusplus
487 +  choke me
488 +#endif
489 +configure:1895: checking for a BSD compatible install
490 +configure:1944: result: /usr/bin/install -c
491 +configure:1955: checking whether make sets ${MAKE}
492 +configure:1975: result: yes
493 +configure:1989: checking how to run the C preprocessor
494 +configure:2015: i686-pld-linux-gcc -E  conftest.c
495 +configure:2021: $? = 0
496 +configure:2048: i686-pld-linux-gcc -E  conftest.c
497 +configure:2045: ac_nonexistent.h: No such file or directory
498 +configure:2054: $? = 1
499 +configure: failed program was:
500 +#line 2044 "configure"
501 +#include "confdefs.h"
502 +#include <ac_nonexistent.h>
503 +configure:2091: result: i686-pld-linux-gcc -E
504 +configure:2106: i686-pld-linux-gcc -E  conftest.c
505 +configure:2112: $? = 0
506 +configure:2139: i686-pld-linux-gcc -E  conftest.c
507 +configure:2136: ac_nonexistent.h: No such file or directory
508 +configure:2145: $? = 1
509 +configure: failed program was:
510 +#line 2135 "configure"
511 +#include "confdefs.h"
512 +#include <ac_nonexistent.h>
513 +configure:2185: checking whether i686-pld-linux-gcc needs -traditional
514 +configure:2220: result: no
515 +configure:2227: checking whether byte ordering is bigendian
516 +configure:2252: i686-pld-linux-gcc -c -I/usr/include/ncurses -DHAVE_NCURSES  conftest.c >&5
517 +configure:2255: $? = 0
518 +configure:2258: test -s conftest.o
519 +configure:2261: $? = 0
520 +configure:2282: i686-pld-linux-gcc -c -I/usr/include/ncurses -DHAVE_NCURSES  conftest.c >&5
521 +configure: In function `main':
522 +configure:2273: `not' undeclared (first use in this function)
523 +configure:2273: (Each undeclared identifier is reported only once
524 +configure:2273: for each function it appears in.)
525 +configure:2273: parse error before `big'
526 +configure:2285: $? = 1
527 +configure: failed program was:
528 +#line 2265 "configure"
529 +#include "confdefs.h"
530 +#include <sys/types.h>
531 +#include <sys/param.h>
532 +
533 +int
534 +main ()
535 +{
536 +#if BYTE_ORDER != BIG_ENDIAN
537 + not big endian
538 +#endif
539 +
540 +  ;
541 +  return 0;
542 +}
543 +configure:2349: result: no
544 +configure:2359: checking for ANSI C header files
545 +configure:2373: i686-pld-linux-gcc -E  conftest.c
546 +configure:2379: $? = 0
547 +configure:2466: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES  -s conftest.c  >&5
548 +configure:2469: $? = 0
549 +configure:2471: ./conftest
550 +configure:2474: $? = 0
551 +configure:2487: result: yes
552 +configure:2500: checking for dirent.h that defines DIR
553 +configure:2521: i686-pld-linux-gcc -c -I/usr/include/ncurses -DHAVE_NCURSES  conftest.c >&5
554 +configure:2524: $? = 0
555 +configure:2527: test -s conftest.o
556 +configure:2530: $? = 0
557 +configure:2540: result: yes
558 +configure:2553: checking for opendir in -ldir
559 +configure:2580: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES  -s conftest.c -ldir   >&5
560 +/usr/bin/ld: cannot find -ldir
561 +collect2: ld returned 1 exit status
562 +configure:2583: $? = 1
563 +configure: failed program was:
564 +#line 2561 "configure"
565 +#include "confdefs.h"
566 +
567 +/* Override any gcc2 internal prototype to avoid an error.  */
568 +#ifdef __cplusplus
569 +extern "C"
570 +#endif
571 +/* We use char because int might match the return type of a gcc2
572 +   builtin and then its argument prototype would still apply.  */
573 +char opendir ();
574 +int
575 +main ()
576 +{
577 +opendir ();
578 +  ;
579 +  return 0;
580 +}
581 +configure:2600: result: no
582 +configure:2662: checking whether time.h and sys/time.h may both be included
583 +configure:2684: i686-pld-linux-gcc -c -I/usr/include/ncurses -DHAVE_NCURSES  conftest.c >&5
584 +configure:2687: $? = 0
585 +configure:2690: test -s conftest.o
586 +configure:2693: $? = 0
587 +configure:2703: result: yes
588 +configure:2716: checking for getopt.h
589 +configure:2726: i686-pld-linux-gcc -E  conftest.c
590 +configure:2732: $? = 0
591 +configure:2751: result: yes
592 +configure:2764: checking for fcntl.h
593 +configure:2774: i686-pld-linux-gcc -E  conftest.c
594 +configure:2780: $? = 0
595 +configure:2799: result: yes
596 +configure:2764: checking for termios.h
597 +configure:2774: i686-pld-linux-gcc -E  conftest.c
598 +configure:2780: $? = 0
599 +configure:2799: result: yes
600 +configure:2764: checking for ctype.h
601 +configure:2774: i686-pld-linux-gcc -E  conftest.c
602 +configure:2780: $? = 0
603 +configure:2799: result: yes
604 +configure:2812: checking for sys/time.h
605 +configure:2822: i686-pld-linux-gcc -E  conftest.c
606 +configure:2828: $? = 0
607 +configure:2847: result: yes
608 +configure:2812: checking for sys/utsname.h
609 +configure:2822: i686-pld-linux-gcc -E  conftest.c
610 +configure:2828: $? = 0
611 +configure:2847: result: yes
612 +configure:2860: checking for ifaddrs.h
613 +configure:2870: i686-pld-linux-gcc -E  conftest.c
614 +configure:2867: ifaddrs.h: No such file or directory
615 +configure:2876: $? = 1
616 +configure: failed program was:
617 +#line 2866 "configure"
618 +#include "confdefs.h"
619 +#include <ifaddrs.h>
620 +configure:2895: result: no
621 +configure:2908: checking for unistd.h
622 +configure:2918: i686-pld-linux-gcc -E  conftest.c
623 +configure:2924: $? = 0
624 +configure:2943: result: yes
625 +configure:2908: checking for stdlib.h
626 +configure:2918: i686-pld-linux-gcc -E  conftest.c
627 +configure:2924: $? = 0
628 +configure:2943: result: yes
629 +configure:2908: checking for signal.h
630 +configure:2918: i686-pld-linux-gcc -E  conftest.c
631 +configure:2924: $? = 0
632 +configure:2943: result: yes
633 +configure:2908: checking for stdarg.h
634 +configure:2918: i686-pld-linux-gcc -E  conftest.c
635 +configure:2924: $? = 0
636 +configure:2943: result: yes
637 +configure:2908: checking for sys/ioctl.h
638 +configure:2918: i686-pld-linux-gcc -E  conftest.c
639 +configure:2924: $? = 0
640 +configure:2943: result: yes
641 +configure:2964: checking for sys/ipc.h
642 +configure:2974: i686-pld-linux-gcc -E  conftest.c
643 +configure:2980: $? = 0
644 +configure:2999: result: yes
645 +configure:2964: checking for sys/shm.h
646 +configure:2974: i686-pld-linux-gcc -E  conftest.c
647 +configure:2980: $? = 0
648 +configure:2999: result: yes
649 +configure:2964: checking for dirent.h
650 +configure:2974: i686-pld-linux-gcc -E  conftest.c
651 +configure:2980: $? = 0
652 +configure:2999: result: yes
653 +configure:2964: checking for errno.h
654 +configure:2974: i686-pld-linux-gcc -E  conftest.c
655 +configure:2980: $? = 0
656 +configure:2999: result: yes
657 +configure:3020: checking for net/ethernet.h
658 +configure:3030: i686-pld-linux-gcc -E  conftest.c
659 +configure:3036: $? = 0
660 +configure:3055: result: yes
661 +configure:3020: checking for net/if_arp.h
662 +configure:3030: i686-pld-linux-gcc -E  conftest.c
663 +configure:3036: $? = 0
664 +configure:3055: result: yes
665 +configure:3020: checking for net/if.h
666 +configure:3030: i686-pld-linux-gcc -E  conftest.c
667 +configure:3036: $? = 0
668 +configure:3055: result: yes
669 +configure:3068: checking for netinet/ip.h
670 +configure:3078: i686-pld-linux-gcc -E  conftest.c
671 +configure:3084: $? = 0
672 +configure:3103: result: yes
673 +configure:3068: checking for netinet/ip_icmp.h
674 +configure:3078: i686-pld-linux-gcc -E  conftest.c
675 +configure:3084: $? = 0
676 +configure:3103: result: yes
677 +configure:3068: checking for netinet/tcp.h
678 +configure:3078: i686-pld-linux-gcc -E  conftest.c
679 +configure:3084: $? = 0
680 +configure:3103: result: yes
681 +configure:3137: checking for ip_forward
682 +configure:3154: found /proc/sys/net/ipv4/ip_forward
683 +configure:3165: result: /proc/sys/net/ipv4/ip_forward
684 +configure:3188: checking whether struct tm is in sys/time.h or time.h
685 +configure:3208: i686-pld-linux-gcc -c -I/usr/include/ncurses -DHAVE_NCURSES  conftest.c >&5
686 +configure:3211: $? = 0
687 +configure:3214: test -s conftest.o
688 +configure:3217: $? = 0
689 +configure:3227: result: time.h
690 +configure:3237: checking for socklen_t in sys/socket.h
691 +configure:3262: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES  -s conftest.c  >&5
692 +configure:3265: $? = 0
693 +configure:3267: ./conftest
694 +configure:3270: $? = 0
695 +configure:3272: result: yes
696 +configure:3295: checking for sys/types.h
697 +configure:3307: i686-pld-linux-gcc -c -I/usr/include/ncurses -DHAVE_NCURSES  conftest.c >&5
698 +configure:3310: $? = 0
699 +configure:3313: test -s conftest.o
700 +configure:3316: $? = 0
701 +configure:3326: result: yes
702 +configure:3295: checking for sys/stat.h
703 +configure:3307: i686-pld-linux-gcc -c -I/usr/include/ncurses -DHAVE_NCURSES  conftest.c >&5
704 +configure:3310: $? = 0
705 +configure:3313: test -s conftest.o
706 +configure:3316: $? = 0
707 +configure:3326: result: yes
708 +configure:3295: checking for stdlib.h
709 +configure:3326: result: yes
710 +configure:3295: checking for string.h
711 +configure:3307: i686-pld-linux-gcc -c -I/usr/include/ncurses -DHAVE_NCURSES  conftest.c >&5
712 +configure:3310: $? = 0
713 +configure:3313: test -s conftest.o
714 +configure:3316: $? = 0
715 +configure:3326: result: yes
716 +configure:3295: checking for memory.h
717 +configure:3307: i686-pld-linux-gcc -c -I/usr/include/ncurses -DHAVE_NCURSES  conftest.c >&5
718 +configure:3310: $? = 0
719 +configure:3313: test -s conftest.o
720 +configure:3316: $? = 0
721 +configure:3326: result: yes
722 +configure:3295: checking for strings.h
723 +configure:3307: i686-pld-linux-gcc -c -I/usr/include/ncurses -DHAVE_NCURSES  conftest.c >&5
724 +configure:3310: $? = 0
725 +configure:3313: test -s conftest.o
726 +configure:3316: $? = 0
727 +configure:3326: result: yes
728 +configure:3295: checking for inttypes.h
729 +configure:3307: i686-pld-linux-gcc -c -I/usr/include/ncurses -DHAVE_NCURSES  conftest.c >&5
730 +configure:3310: $? = 0
731 +configure:3313: test -s conftest.o
732 +configure:3316: $? = 0
733 +configure:3326: result: yes
734 +configure:3295: checking for stdint.h
735 +configure:3307: i686-pld-linux-gcc -c -I/usr/include/ncurses -DHAVE_NCURSES  conftest.c >&5
736 +configure:3310: $? = 0
737 +configure:3313: test -s conftest.o
738 +configure:3316: $? = 0
739 +configure:3326: result: yes
740 +configure:3295: checking for unistd.h
741 +configure:3326: result: yes
742 +configure:3336: checking for pid_t
743 +configure:3357: i686-pld-linux-gcc -c -I/usr/include/ncurses -DHAVE_NCURSES  conftest.c >&5
744 +configure:3360: $? = 0
745 +configure:3363: test -s conftest.o
746 +configure:3366: $? = 0
747 +configure:3376: result: yes
748 +configure:3388: checking for size_t
749 +configure:3409: i686-pld-linux-gcc -c -I/usr/include/ncurses -DHAVE_NCURSES  conftest.c >&5
750 +configure:3412: $? = 0
751 +configure:3415: test -s conftest.o
752 +configure:3418: $? = 0
753 +configure:3428: result: yes
754 +configure:3440: checking for i686-pld-linux-gcc option to accept ANSI C
755 +configure:3497: i686-pld-linux-gcc  -c -I/usr/include/ncurses -DHAVE_NCURSES  conftest.c >&5
756 +configure:3500: $? = 0
757 +configure:3503: test -s conftest.o
758 +configure:3506: $? = 0
759 +configure:3523: result: none needed
760 +configure:3531: checking for an ANSI C-conforming const
761 +configure:3595: i686-pld-linux-gcc -c -I/usr/include/ncurses -DHAVE_NCURSES  conftest.c >&5
762 +configure:3598: $? = 0
763 +configure:3601: test -s conftest.o
764 +configure:3604: $? = 0
765 +configure:3614: result: yes
766 +configure:3624: checking if sockaddr struct has sa_len member
767 +configure:3644: i686-pld-linux-gcc -c -I/usr/include/ncurses -DHAVE_NCURSES  conftest.c >&5
768 +configure: In function `main':
769 +configure:3637: structure has no member named `sa_len'
770 +configure:3647: $? = 1
771 +configure: failed program was:
772 +#line 3630 "configure"
773 +#include "confdefs.h"
774 +
775 +#       include <sys/types.h>
776 +#       include <sys/socket.h>
777 +int
778 +main ()
779 +{
780 +u_int i = sizeof(((struct sockaddr *)0)->sa_len)
781 +  ;
782 +  return 0;
783 +}
784 +configure:3664: result: no
785 +configure:3677: checking for stdlib.h
786 +configure:3712: result: yes
787 +configure:3722: checking for working malloc
788 +configure:3748: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES  -s conftest.c  >&5
789 +configure:3751: $? = 0
790 +configure:3753: ./conftest
791 +configure:3756: $? = 0
792 +configure:3768: result: yes
793 +configure:3778: checking for working memcmp
794 +configure:3823: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES  -s conftest.c  >&5
795 +configure:3826: $? = 0
796 +configure:3828: ./conftest
797 +configure:3831: $? = 0
798 +configure:3843: result: yes
799 +configure:3847: checking return type of signal handlers
800 +configure:3875: i686-pld-linux-gcc -c -I/usr/include/ncurses -DHAVE_NCURSES  conftest.c >&5
801 +configure:3878: $? = 0
802 +configure:3881: test -s conftest.o
803 +configure:3884: $? = 0
804 +configure:3894: result: void
805 +configure:3904: checking for vprintf
806 +configure:3941: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES  -s conftest.c  >&5
807 +configure:3944: $? = 0
808 +configure:3947: test -s conftest
809 +configure:3950: $? = 0
810 +configure:3960: result: yes
811 +configure:3967: checking for _doprnt
812 +configure:4004: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES  -s conftest.c  >&5
813 +/tmp/ccY7O9fG.o: In function `main':
814 +/tmp/ccY7O9fG.o(.text+0x9): undefined reference to `_doprnt'
815 +collect2: ld returned 1 exit status
816 +configure:4007: $? = 1
817 +configure: failed program was:
818 +#line 3973 "configure"
819 +#include "confdefs.h"
820 +/* System header to define __stub macros and hopefully few prototypes,
821 +    which can conflict with char _doprnt (); below.  */
822 +#include <assert.h>
823 +/* Override any gcc2 internal prototype to avoid an error.  */
824 +#ifdef __cplusplus
825 +extern "C"
826 +#endif
827 +/* We use char because int might match the return type of a gcc2
828 +   builtin and then its argument prototype would still apply.  */
829 +char _doprnt ();
830 +char (*f) ();
831 +
832 +int
833 +main ()
834 +{
835 +/* The GNU C library defines this for functions which it implements
836 +    to always fail with ENOSYS.  Some functions are actually named
837 +    something starting with __ and the normal name is an alias.  */
838 +#if defined (__stub__doprnt) || defined (__stub____doprnt)
839 +choke me
840 +#else
841 +f = _doprnt;
842 +#endif
843 +
844 +  ;
845 +  return 0;
846 +}
847 +configure:4023: result: no
848 +configure:4039: checking for gettimeofday
849 +configure:4076: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES  -s conftest.c  >&5
850 +configure:4079: $? = 0
851 +configure:4082: test -s conftest
852 +configure:4085: $? = 0
853 +configure:4095: result: yes
854 +configure:4108: checking for vsnprintf
855 +configure:4145: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES  -s conftest.c  >&5
856 +configure:4148: $? = 0
857 +configure:4151: test -s conftest
858 +configure:4154: $? = 0
859 +configure:4164: result: yes
860 +configure:4177: checking for select
861 +configure:4214: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES  -s conftest.c  >&5
862 +configure:4217: $? = 0
863 +configure:4220: test -s conftest
864 +configure:4223: $? = 0
865 +configure:4233: result: yes
866 +configure:4177: checking for socket
867 +configure:4214: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES  -s conftest.c  >&5
868 +configure:4217: $? = 0
869 +configure:4220: test -s conftest
870 +configure:4223: $? = 0
871 +configure:4233: result: yes
872 +configure:4177: checking for strdup
873 +configure:4214: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES  -s conftest.c  >&5
874 +configure:4217: $? = 0
875 +configure:4220: test -s conftest
876 +configure:4223: $? = 0
877 +configure:4233: result: yes
878 +configure:4177: checking for strerror
879 +configure:4214: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES  -s conftest.c  >&5
880 +configure:4217: $? = 0
881 +configure:4220: test -s conftest
882 +configure:4223: $? = 0
883 +configure:4233: result: yes
884 +configure:4177: checking for strstr
885 +configure:4214: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES  -s conftest.c  >&5
886 +configure:4217: $? = 0
887 +configure:4220: test -s conftest
888 +configure:4223: $? = 0
889 +configure:4233: result: yes
890 +configure:4177: checking for uname
891 +configure:4214: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES  -s conftest.c  >&5
892 +configure:4217: $? = 0
893 +configure:4220: test -s conftest
894 +configure:4223: $? = 0
895 +configure:4233: result: yes
896 +configure:4246: checking for atexit
897 +configure:4283: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES  -s conftest.c  >&5
898 +configure:4286: $? = 0
899 +configure:4289: test -s conftest
900 +configure:4292: $? = 0
901 +configure:4302: result: yes
902 +configure:4315: checking for strsignal
903 +configure:4352: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES  -s conftest.c  >&5
904 +configure:4355: $? = 0
905 +configure:4358: test -s conftest
906 +configure:4361: $? = 0
907 +configure:4371: result: yes
908 +configure:4384: checking for getopt_long
909 +configure:4421: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES  -s conftest.c  >&5
910 +configure:4424: $? = 0
911 +configure:4427: test -s conftest
912 +configure:4430: $? = 0
913 +configure:4440: result: yes
914 +configure:4455: checking for strlcat
915 +configure:4492: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES  -s conftest.c  >&5
916 +/tmp/ccU6gj9s.o: In function `main':
917 +/tmp/ccU6gj9s.o(.text+0x9): undefined reference to `strlcat'
918 +collect2: ld returned 1 exit status
919 +configure:4495: $? = 1
920 +configure: failed program was:
921 +#line 4461 "configure"
922 +#include "confdefs.h"
923 +/* System header to define __stub macros and hopefully few prototypes,
924 +    which can conflict with char strlcat (); below.  */
925 +#include <assert.h>
926 +/* Override any gcc2 internal prototype to avoid an error.  */
927 +#ifdef __cplusplus
928 +extern "C"
929 +#endif
930 +/* We use char because int might match the return type of a gcc2
931 +   builtin and then its argument prototype would still apply.  */
932 +char strlcat ();
933 +char (*f) ();
934 +
935 +int
936 +main ()
937 +{
938 +/* The GNU C library defines this for functions which it implements
939 +    to always fail with ENOSYS.  Some functions are actually named
940 +    something starting with __ and the normal name is an alias.  */
941 +#if defined (__stub_strlcat) || defined (__stub___strlcat)
942 +choke me
943 +#else
944 +f = strlcat;
945 +#endif
946 +
947 +  ;
948 +  return 0;
949 +}
950 +configure:4511: result: no
951 +configure:4526: checking for memmem
952 +configure:4563: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES  -s conftest.c  >&5
953 +configure:4566: $? = 0
954 +configure:4569: test -s conftest
955 +configure:4572: $? = 0
956 +configure:4582: result: yes
957 +configure:4594: result: 
958 +configure:4596: result: \e[1mChecking user defined options...\e[m
959 +configure:4598: result: 
960 +configure:4602: checking if --enable-ncurses option is specified
961 +configure:4609: result: yes.
962 +configure:4634: checking for ncurses/ncurses.h
963 +configure:4644: i686-pld-linux-gcc -E  conftest.c
964 +configure:4650: $? = 0
965 +configure:4669: result: yes
966 +configure:4681: checking for newwin in -lncurses
967 +configure:4708: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES  -s conftest.c -lncurses   >&5
968 +configure:4711: $? = 0
969 +configure:4714: test -s conftest
970 +configure:4717: $? = 0
971 +configure:4728: result: yes
972 +configure:4741: checking for newpad in -lncurses
973 +configure:4768: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES  -s conftest.c -lncurses  -lncurses  >&5
974 +configure:4771: $? = 0
975 +configure:4774: test -s conftest
976 +configure:4777: $? = 0
977 +configure:4788: result: yes
978 +configure:5004: checking for ncurses/form.h
979 +configure:5014: i686-pld-linux-gcc -E  conftest.c
980 +configure:5020: $? = 0
981 +configure:5039: result: yes
982 +configure:5051: checking for form_win in -lform
983 +configure:5078: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES  -s conftest.c -lform  -lncurses -lncurses  >&5
984 +configure:5081: $? = 0
985 +configure:5084: test -s conftest
986 +configure:5087: $? = 0
987 +configure:5098: result: yes
988 +configure:5130: checking if --enable-debug option is specified
989 +configure:5143: result: no.
990 +configure:5157: checking if --enable-suid option is specified
991 +configure:5178: result: no. disabled by default.
992 +configure:5185: checking if --enable-plugins option is specified
993 +configure:5202: result: yes. enabled by default.
994 +configure:5214: checking for dlfcn.h
995 +configure:5224: i686-pld-linux-gcc -E  conftest.c
996 +configure:5230: $? = 0
997 +configure:5249: result: yes
998 +configure:5263: checking for dlopen in -ldl
999 +configure:5290: i686-pld-linux-gcc -o conftest -O2 -Wall  -s conftest.c -ldl  -lform -lncurses -lncurses  >&5
1000 +configure:5293: $? = 0
1001 +configure:5296: test -s conftest
1002 +configure:5299: $? = 0
1003 +configure:5310: result: yes
1004 +configure:5426: checking for OpenSSL in /usr
1005 +configure:5442: result: yes
1006 +configure:5479: checking if --enable-https option is specified
1007 +configure:5525: result: yes. enabled by default.
1008 +configure:5536: result: 
1009 +configure:5538: result: \e[1mWriting output files...\e[m
1010 +configure:5540: result: 
1011 +configure:5627: creating ./config.status
1012 +
1013 +## ----------------------- ##
1014 +## Running config.status.  ##
1015 +## ----------------------- ##
1016 +
1017 +This file was extended by config.status 2.52, executed with
1018 +  CONFIG_FILES    = 
1019 +  CONFIG_HEADERS  = 
1020 +  CONFIG_LINKS    = 
1021 +  CONFIG_COMMANDS = 
1022 +  > ./config.status 
1023 +on wieszak
1024 +
1025 +config.status:6094: creating ettercap.spec
1026 +config.status:6094: creating ettercap.8
1027 +config.status:6094: creating Makefile
1028 +config.status:6094: creating plugins/arpcop/Makefile
1029 +config.status:6094: creating plugins/banshee/Makefile
1030 +config.status:6094: creating plugins/dummy/Makefile
1031 +config.status:6094: creating plugins/golem/Makefile
1032 +config.status:6094: creating plugins/imp/Makefile
1033 +config.status:6094: creating plugins/leech/Makefile
1034 +config.status:6094: creating plugins/lurker/Makefile
1035 +config.status:6094: creating plugins/ooze/Makefile
1036 +config.status:6094: creating plugins/phantom/Makefile
1037 +config.status:6094: creating plugins/shadow/Makefile
1038 +config.status:6094: creating plugins/spectre/Makefile
1039 +config.status:6094: creating plugins/triton/Makefile
1040 +config.status:6094: creating plugins/Makefile
1041 +config.status:6186: creating config.h
1042 +configure:6394: result: 
1043 +configure:6396: result: \e[1mEttercap has been configured as follow...\e[m
1044 +configure:6398: result: 
1045 +
1046 +## ----------------- ##
1047 +## Cache variables.  ##
1048 +## ----------------- ##
1049 +
1050 +ac_cv_build=i686-pld-linux-gnu
1051 +ac_cv_build_alias=i686-pld-linux
1052 +ac_cv_c_bigendian=no
1053 +ac_cv_c_compiler_gnu=yes
1054 +ac_cv_c_const=yes
1055 +ac_cv_ec_debug=no
1056 +ac_cv_ec_form=yes
1057 +ac_cv_ec_https=yes
1058 +ac_cv_ec_ncurses=yes
1059 +ac_cv_ec_plugin=yes
1060 +ac_cv_ec_ssh=yes
1061 +ac_cv_ec_suid=no
1062 +ac_cv_env_CC_set=set
1063 +ac_cv_env_CC_value=i686-pld-linux-gcc
1064 +ac_cv_env_CFLAGS_set=set
1065 +ac_cv_env_CFLAGS_value='-I/usr/include/ncurses -DHAVE_NCURSES'
1066 +ac_cv_env_CPPFLAGS_set=
1067 +ac_cv_env_CPPFLAGS_value=
1068 +ac_cv_env_CPP_set=
1069 +ac_cv_env_CPP_value=
1070 +ac_cv_env_LDFLAGS_set=set
1071 +ac_cv_env_LDFLAGS_value=-s
1072 +ac_cv_env_build_alias_set=set
1073 +ac_cv_env_build_alias_value=i686-pld-linux
1074 +ac_cv_env_host_alias_set=
1075 +ac_cv_env_host_alias_value=
1076 +ac_cv_env_target_alias_set=
1077 +ac_cv_env_target_alias_value=
1078 +ac_cv_func__doprnt=no
1079 +ac_cv_func_atexit=yes
1080 +ac_cv_func_getopt_long=yes
1081 +ac_cv_func_gettimeofday=yes
1082 +ac_cv_func_malloc_works=yes
1083 +ac_cv_func_memcmp_working=yes
1084 +ac_cv_func_memmem=yes
1085 +ac_cv_func_select=yes
1086 +ac_cv_func_socket=yes
1087 +ac_cv_func_strdup=yes
1088 +ac_cv_func_strerror=yes
1089 +ac_cv_func_strlcat=no
1090 +ac_cv_func_strsignal=yes
1091 +ac_cv_func_strstr=yes
1092 +ac_cv_func_uname=yes
1093 +ac_cv_func_vprintf=yes
1094 +ac_cv_func_vsnprintf=yes
1095 +ac_cv_header_ctype_h=yes
1096 +ac_cv_header_dirent_dirent_h=yes
1097 +ac_cv_header_dirent_h=yes
1098 +ac_cv_header_dlfcn_h=yes
1099 +ac_cv_header_errno_h=yes
1100 +ac_cv_header_fcntl_h=yes
1101 +ac_cv_header_getopt_h=yes
1102 +ac_cv_header_ifaddrs_h=no
1103 +ac_cv_header_inttypes_h=yes
1104 +ac_cv_header_memory_h=yes
1105 +ac_cv_header_ncurses_form_h=yes
1106 +ac_cv_header_ncurses_ncurses_h=yes
1107 +ac_cv_header_net_ethernet_h=yes
1108 +ac_cv_header_net_if_arp_h=yes
1109 +ac_cv_header_net_if_h=yes
1110 +ac_cv_header_netinet_ip_h=yes
1111 +ac_cv_header_netinet_ip_icmp_h=yes
1112 +ac_cv_header_netinet_tcp_h=yes
1113 +ac_cv_header_signal_h=yes
1114 +ac_cv_header_stdarg_h=yes
1115 +ac_cv_header_stdc=yes
1116 +ac_cv_header_stdint_h=yes
1117 +ac_cv_header_stdlib_h=yes
1118 +ac_cv_header_string_h=yes
1119 +ac_cv_header_strings_h=yes
1120 +ac_cv_header_sys_ioctl_h=yes
1121 +ac_cv_header_sys_ipc_h=yes
1122 +ac_cv_header_sys_shm_h=yes
1123 +ac_cv_header_sys_stat_h=yes
1124 +ac_cv_header_sys_time_h=yes
1125 +ac_cv_header_sys_types_h=yes
1126 +ac_cv_header_sys_utsname_h=yes
1127 +ac_cv_header_termios_h=yes
1128 +ac_cv_header_time=yes
1129 +ac_cv_header_unistd_h=yes
1130 +ac_cv_host=i686-pld-linux-gnu
1131 +ac_cv_host_alias=i686-pld-linux
1132 +ac_cv_lbl_sockaddr_has_sa_len=no
1133 +ac_cv_lib_dir_opendir=no
1134 +ac_cv_lib_dl_dlopen=yes
1135 +ac_cv_lib_form_form_win=yes
1136 +ac_cv_lib_ncurses_newpad=yes
1137 +ac_cv_lib_ncurses_newwin=yes
1138 +ac_cv_objext=o
1139 +ac_cv_path_IPFORWARD=/proc/sys/net/ipv4/ip_forward
1140 +ac_cv_path_install='/usr/bin/install -c'
1141 +ac_cv_prog_CPP='i686-pld-linux-gcc -E'
1142 +ac_cv_prog_ac_ct_CC=i686-pld-linux-gcc
1143 +ac_cv_prog_cc_g=yes
1144 +ac_cv_prog_cc_stdc=
1145 +ac_cv_prog_gcc_traditional=no
1146 +ac_cv_prog_make_make_set=yes
1147 +ac_cv_struct_tm=time.h
1148 +ac_cv_target=i686-pld-linux-gnu
1149 +ac_cv_target_alias=i686-pld-linux
1150 +ac_cv_type_pid_t=yes
1151 +ac_cv_type_signal=void
1152 +ac_cv_type_size_t=yes
1153 +
1154 +## ------------ ##
1155 +## confdefs.h.  ##
1156 +## ------------ ##
1157 +
1158 +#define STDC_HEADERS 1
1159 +#define HAVE_DIRENT_H 1
1160 +#define TIME_WITH_SYS_TIME 1
1161 +#define HAVE_GETOPT_H 1
1162 +#define HAVE_FCNTL_H 1
1163 +#define HAVE_TERMIOS_H 1
1164 +#define HAVE_CTYPE_H 1
1165 +#define HAVE_SYS_TIME_H 1
1166 +#define HAVE_SYS_UTSNAME_H 1
1167 +#define HAVE_UNISTD_H 1
1168 +#define HAVE_STDLIB_H 1
1169 +#define HAVE_SIGNAL_H 1
1170 +#define HAVE_STDARG_H 1
1171 +#define HAVE_SYS_IOCTL_H 1
1172 +#define HAVE_SYS_IPC_H 1
1173 +#define HAVE_SYS_SHM_H 1
1174 +#define HAVE_DIRENT_H 1
1175 +#define HAVE_ERRNO_H 1
1176 +#define HAVE_NET_ETHERNET_H 1
1177 +#define HAVE_NET_IF_ARP_H 1
1178 +#define HAVE_NET_IF_H 1
1179 +#define HAVE_NETINET_IP_H 1
1180 +#define HAVE_NETINET_IP_ICMP_H 1
1181 +#define HAVE_NETINET_TCP_H 1
1182 +#define HAVE_PF_PACKET 1
1183 +#define HAVE_SOCK_PACKET 1
1184 +#define HAVE_SOCKLEN_T 1
1185 +#define HAVE_SYS_TYPES_H 1
1186 +#define HAVE_SYS_STAT_H 1
1187 +#define HAVE_STDLIB_H 1
1188 +#define HAVE_STRING_H 1
1189 +#define HAVE_MEMORY_H 1
1190 +#define HAVE_STRINGS_H 1
1191 +#define HAVE_INTTYPES_H 1
1192 +#define HAVE_STDINT_H 1
1193 +#define HAVE_UNISTD_H 1
1194 +#define HAVE_STDLIB_H 1
1195 +#define HAVE_MALLOC 1
1196 +#define RETSIGTYPE void
1197 +#define HAVE_VPRINTF 1
1198 +#define HAVE_GETTIMEOFDAY 1
1199 +#define HAVE_VSNPRINTF 1
1200 +#define HAVE_SELECT 1
1201 +#define HAVE_SOCKET 1
1202 +#define HAVE_STRDUP 1
1203 +#define HAVE_STRERROR 1
1204 +#define HAVE_STRSTR 1
1205 +#define HAVE_UNAME 1
1206 +#define HAVE_ATEXIT 1
1207 +#define HAVE_STRSIGNAL 1
1208 +#define HAVE_GETOPT_LONG 1
1209 +#define HAVE_MEMMEM 1
1210 +#define HAVE_NCURSES_NCURSES_H 1
1211 +#define HAVE_LIBNCURSES 1
1212 +#define HAVE_LIBNCURSES 1
1213 +#define HAVE_NCURSES 1
1214 +#define HAVE_NCURSES_FORM_H 1
1215 +#define HAVE_LIBFORM 1
1216 +#define HAVE_FORM 1
1217 +#define HAVE_DLFCN_H 1
1218 +#define HAVE_LIBDL 1
1219 +#define PERMIT_PLUGINS 1
1220 +#define HAVE_OPENSSL 1
1221 +#define PERMIT_HTTPS 1
1222 +
1223 +
1224 +configure: exit 0
1225 diff -urN ettercap-0.5.4.orig/config.status ettercap-0.5.4/config.status
1226 --- ettercap-0.5.4.orig/config.status   Thu Jan  1 01:00:00 1970
1227 +++ ettercap-0.5.4/config.status        Thu Sep  6 17:14:33 2001
1228 @@ -0,0 +1,772 @@
1229 +#! /bin/sh
1230 +# Generated automatically by configure.
1231 +# Run this file to recreate the current configuration.
1232 +# Compiler output produced by configure, useful for debugging
1233 +# configure, is in config.log if it exists.
1234 +
1235 +debug=false
1236 +SHELL=${CONFIG_SHELL-/bin/sh}
1237 +ac_cs_invocation="$0 $@"
1238 +
1239 +# Be Bourne compatible
1240 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1241 +  emulate sh
1242 +  NULLCMD=:
1243 +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1244 +  set -o posix
1245 +fi
1246 +
1247 +# Name of the executable.
1248 +as_me=`echo "$0" |sed 's,.*[\\/],,'`
1249 +
1250 +if expr a : '\(a\)' >/dev/null 2>&1; then
1251 +  as_expr=expr
1252 +else
1253 +  as_expr=false
1254 +fi
1255 +
1256 +rm -f conf$$ conf$$.exe conf$$.file
1257 +echo >conf$$.file
1258 +if ln -s conf$$.file conf$$ 2>/dev/null; then
1259 +  # We could just check for DJGPP; but this test a) works b) is more generic
1260 +  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
1261 +  if test -f conf$$.exe; then
1262 +    # Don't use ln at all; we don't have any links
1263 +    as_ln_s='cp -p'
1264 +  else
1265 +    as_ln_s='ln -s'
1266 +  fi
1267 +elif ln conf$$.file conf$$ 2>/dev/null; then
1268 +  as_ln_s=ln
1269 +else
1270 +  as_ln_s='cp -p'
1271 +fi
1272 +rm -f conf$$ conf$$.exe conf$$.file
1273 +
1274 +as_executable_p="test -f"
1275 +
1276 +# Support unset when possible.
1277 +if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
1278 +  as_unset=unset
1279 +else
1280 +  as_unset=false
1281 +fi
1282 +
1283 +# NLS nuisances.
1284 +$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
1285 +$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
1286 +$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
1287 +$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
1288 +$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
1289 +$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
1290 +$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
1291 +$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
1292 +
1293 +# IFS
1294 +# We need space, tab and new line, in precisely that order.
1295 +as_nl='
1296 +'
1297 +IFS="  $as_nl"
1298 +
1299 +# CDPATH.
1300 +$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
1301 +
1302 +exec 6>&1
1303 +
1304 +config_files=" ettercap.spec ettercap.8 Makefile plugins/arpcop/Makefile plugins/banshee/Makefile plugins/dummy/Makefile plugins/golem/Makefile plugins/imp/Makefile plugins/leech/Makefile plugins/lurker/Makefile plugins/ooze/Makefile plugins/phantom/Makefile plugins/shadow/Makefile plugins/spectre/Makefile plugins/triton/Makefile  plugins/Makefile"
1305 +config_headers=" config.h"
1306 +
1307 +ac_cs_usage="\
1308 +\`$as_me' instantiates files from templates according to the
1309 +current configuration.
1310 +
1311 +Usage: $0 [OPTIONS] [FILE]...
1312 +
1313 +  -h, --help       print this help, then exit
1314 +  -V, --version    print version number, then exit
1315 +  -d, --debug      don't remove temporary files
1316 +      --recheck    update $as_me by reconfiguring in the same conditions
1317 +  --file=FILE[:TEMPLATE]
1318 +                   instantiate the configuration file FILE
1319 +  --header=FILE[:TEMPLATE]
1320 +                   instantiate the configuration header FILE
1321 +
1322 +Configuration files:
1323 +$config_files
1324 +
1325 +Configuration headers:
1326 +$config_headers
1327 +
1328 +Report bugs to <bug-autoconf@gnu.org>."
1329 +ac_cs_version="\
1330 +config.status
1331 +configured by ./configure, generated by GNU Autoconf 2.52,
1332 +  with options \"LDFLAGS=-s 'CFLAGS=-I/usr/include/ncurses -DHAVE_NCURSES' 'CXXFLAGS=-O2 -march=i686' 'FFLAGS=-O2 -march=i686' CC=i686-pld-linux-gcc --build=i686-pld-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info HAVE_NCURSES=1 --disable-debug --enable-ncurses CC=i686-pld-linux-gcc 'CFLAGS=-I/usr/include/ncurses -DHAVE_NCURSES' LDFLAGS=-s build_alias=i686-pld-linux\"
1333 +
1334 +Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
1335 +Free Software Foundation, Inc.
1336 +This config.status script is free software; the Free Software Foundation
1337 +gives unlimited permission to copy, distribute and modify it."
1338 +srcdir=.
1339 +INSTALL="/usr/bin/install -c"
1340 +# If no file are specified by the user, then we need to provide default
1341 +# value.  By we need to know if files were specified by the user.
1342 +ac_need_defaults=:
1343 +while test $# != 0
1344 +do
1345 +  case $1 in
1346 +  --*=*)
1347 +    ac_option=`expr "x$1" : 'x\([^=]*\)='`
1348 +    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
1349 +    shift
1350 +    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
1351 +    shift
1352 +    ;;
1353 +  -*);;
1354 +  *) # This is not an option, so the user has probably given explicit
1355 +     # arguments.
1356 +     ac_need_defaults=false;;
1357 +  esac
1358 +
1359 +  case $1 in
1360 +  # Handling of the options.
1361 +  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1362 +    echo "running /bin/sh ./configure " LDFLAGS=-s 'CFLAGS=-I/usr/include/ncurses -DHAVE_NCURSES' 'CXXFLAGS=-O2 -march=i686' 'FFLAGS=-O2 -march=i686' CC=i686-pld-linux-gcc --build=i686-pld-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info HAVE_NCURSES=1 --disable-debug --enable-ncurses CC=i686-pld-linux-gcc 'CFLAGS=-I/usr/include/ncurses -DHAVE_NCURSES' LDFLAGS=-s build_alias=i686-pld-linux " --no-create --no-recursion"
1363 +    exec /bin/sh ./configure LDFLAGS=-s 'CFLAGS=-I/usr/include/ncurses -DHAVE_NCURSES' 'CXXFLAGS=-O2 -march=i686' 'FFLAGS=-O2 -march=i686' CC=i686-pld-linux-gcc --build=i686-pld-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info HAVE_NCURSES=1 --disable-debug --enable-ncurses CC=i686-pld-linux-gcc 'CFLAGS=-I/usr/include/ncurses -DHAVE_NCURSES' LDFLAGS=-s build_alias=i686-pld-linux --no-create --no-recursion ;;
1364 +  --version | --vers* | -V )
1365 +    echo "$ac_cs_version"; exit 0 ;;
1366 +  --he | --h)
1367 +    # Conflict between --help and --header
1368 +    { { echo "$as_me:5800: error: ambiguous option: $1
1369 +Try \`$0 --help' for more information." >&5
1370 +echo "$as_me: error: ambiguous option: $1
1371 +Try \`$0 --help' for more information." >&2;}
1372 +   { (exit 1); exit 1; }; };;
1373 +  --help | --hel | -h )
1374 +    echo "$ac_cs_usage"; exit 0 ;;
1375 +  --debug | --d* | -d )
1376 +    debug=: ;;
1377 +  --file | --fil | --fi | --f )
1378 +    shift
1379 +    CONFIG_FILES="$CONFIG_FILES $1"
1380 +    ac_need_defaults=false;;
1381 +  --header | --heade | --head | --hea )
1382 +    shift
1383 +    CONFIG_HEADERS="$CONFIG_HEADERS $1"
1384 +    ac_need_defaults=false;;
1385 +
1386 +  # This is an error.
1387 +  -*) { { echo "$as_me:5819: error: unrecognized option: $1
1388 +Try \`$0 --help' for more information." >&5
1389 +echo "$as_me: error: unrecognized option: $1
1390 +Try \`$0 --help' for more information." >&2;}
1391 +   { (exit 1); exit 1; }; } ;;
1392 +
1393 +  *) ac_config_targets="$ac_config_targets $1" ;;
1394 +
1395 +  esac
1396 +  shift
1397 +done
1398 +
1399 +exec 5>>config.log
1400 +cat >&5 << _ACEOF
1401 +
1402 +## ----------------------- ##
1403 +## Running config.status.  ##
1404 +## ----------------------- ##
1405 +
1406 +This file was extended by $as_me 2.52, executed with
1407 +  CONFIG_FILES    = $CONFIG_FILES
1408 +  CONFIG_HEADERS  = $CONFIG_HEADERS
1409 +  CONFIG_LINKS    = $CONFIG_LINKS
1410 +  CONFIG_COMMANDS = $CONFIG_COMMANDS
1411 +  > $ac_cs_invocation
1412 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
1413 +
1414 +_ACEOF
1415 +for ac_config_target in $ac_config_targets
1416 +do
1417 +  case "$ac_config_target" in
1418 +  # Handling of arguments.
1419 +  "ettercap.spec" ) CONFIG_FILES="$CONFIG_FILES ettercap.spec" ;;
1420 +  "ettercap.8" ) CONFIG_FILES="$CONFIG_FILES ettercap.8" ;;
1421 +  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
1422 +  "$makeplug" ) CONFIG_FILES="$CONFIG_FILES $makeplug" ;;
1423 +  "plugins/Makefile" ) CONFIG_FILES="$CONFIG_FILES plugins/Makefile" ;;
1424 +  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
1425 +  *) { { echo "$as_me:5860: error: invalid argument: $ac_config_target" >&5
1426 +echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
1427 +   { (exit 1); exit 1; }; };;
1428 +  esac
1429 +done
1430 +
1431 +# If the user did not use the arguments to specify the items to instantiate,
1432 +# then the envvar interface is used.  Set only those that are not.
1433 +# We use the long form for the default assignment because of an extremely
1434 +# bizarre bug on SunOS 4.1.3.
1435 +if $ac_need_defaults; then
1436 +  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
1437 +  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
1438 +fi
1439 +
1440 +# Create a temporary directory, and hook for its removal unless debugging.
1441 +$debug ||
1442 +{
1443 +  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
1444 +  trap '{ (exit 1); exit 1; }' 1 2 13 15
1445 +}
1446 +
1447 +# Create a (secure) tmp directory for tmp files.
1448 +: ${TMPDIR=/tmp}
1449 +{
1450 +  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
1451 +  test -n "$tmp" && test -d "$tmp"
1452 +}  ||
1453 +{
1454 +  tmp=$TMPDIR/cs$$-$RANDOM
1455 +  (umask 077 && mkdir $tmp)
1456 +} ||
1457 +{
1458 +   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
1459 +   { (exit 1); exit 1; }
1460 +}
1461 +
1462 +
1463 +#
1464 +# CONFIG_FILES section.
1465 +#
1466 +
1467 +# No need to generate the scripts if there are no CONFIG_FILES.
1468 +# This happens for instance when ./config.status config.h
1469 +if test -n "$CONFIG_FILES"; then
1470 +  # Protect against being on the right side of a sed subst in config.status.
1471 +  sed 's/,@/@@/; s/@,/@@/; s/,;t t$/@;t t/; /@;t t$/s/[\\&,]/\\&/g;
1472 +   s/@@/,@/; s/@@/@,/; s/@;t t$/,;t t/' >$tmp/subs.sed <<\CEOF
1473 +s,@SHELL@,/bin/sh,;t t
1474 +s,@exec_prefix@,/usr,;t t
1475 +s,@prefix@,/usr,;t t
1476 +s,@program_transform_name@,s,x,x,,;t t
1477 +s,@bindir@,/usr/bin,;t t
1478 +s,@sbindir@,/usr/sbin,;t t
1479 +s,@libexecdir@,/usr/lib,;t t
1480 +s,@datadir@,/usr/share,;t t
1481 +s,@sysconfdir@,/etc,;t t
1482 +s,@sharedstatedir@,/usr/com,;t t
1483 +s,@localstatedir@,/var,;t t
1484 +s,@libdir@,/usr/lib,;t t
1485 +s,@includedir@,/usr/include,;t t
1486 +s,@oldincludedir@,/usr/include,;t t
1487 +s,@infodir@,/usr/share/info,;t t
1488 +s,@mandir@,/usr/share/man,;t t
1489 +s,@PACKAGE_NAME@,,;t t
1490 +s,@PACKAGE_TARNAME@,,;t t
1491 +s,@PACKAGE_VERSION@,,;t t
1492 +s,@PACKAGE_STRING@,,;t t
1493 +s,@PACKAGE_BUGREPORT@,,;t t
1494 +s,@build_alias@,i686-pld-linux,;t t
1495 +s,@host_alias@,,;t t
1496 +s,@target_alias@,,;t t
1497 +s,@ECHO_C@,\c,;t t
1498 +s,@ECHO_N@,,;t t
1499 +s,@ECHO_T@,,;t t
1500 +s,@PATH_SEPARATOR@,:,;t t
1501 +s,@DEFS@,-DHAVE_CONFIG_H,;t t
1502 +s,@LIBS@,-ldl -lform -lncurses -lncurses  -rdynamic -L/usr/lib -lssl -lcrypto,;t t
1503 +s,@SB@,\e[1m,;t t
1504 +s,@EB@,\e[m,;t t
1505 +s,@VERSION@,0.5.4,;t t
1506 +s,@PROG@,ettercap,;t t
1507 +s,@SERIAL@,20010906,;t t
1508 +s,@RELEASE@,1,;t t
1509 +s,@SOURCES@,./src/ec_buffer.c ./src/ec_debug.c ./src/ec_decodedata.c ./src/ec_dissector.c ./src/ec_dissector_bgp.c ./src/ec_dissector_ftp.c ./src/ec_dissector_http.c ./src/ec_dissector_https.c ./src/ec_dissector_icq.c ./src/ec_dissector_imap.c ./src/ec_dissector_irc.c ./src/ec_dissector_mysql.c ./src/ec_dissector_napster.c ./src/ec_dissector_nntp.c ./src/ec_dissector_pcanywhere.c ./src/ec_dissector_pop.c ./src/ec_dissector_rip.c ./src/ec_dissector_rlogin.c ./src/ec_dissector_smb.c ./src/ec_dissector_socks.c ./src/ec_dissector_ssh.c ./src/ec_dissector_telnet.c ./src/ec_dissector_vnc.c ./src/ec_dissector_x11.c ./src/ec_doppleganger.c ./src/ec_error.c ./src/ec_filterdrop.c ./src/ec_fingerprint.c ./src/ec_grell.c ./src/ec_illithid.c ./src/ec_inet.c ./src/ec_inet_forge.c ./src/ec_interface.c ./src/ec_interface_factory.c ./src/ec_interface_form.c ./src/ec_interface_inject.c ./src/ec_interface_plugins.c ./src/ec_interface_sniff.c ./src/ec_interface_sniff_data.c ./src/ec_logtofile.c ./src/ec_main.c ./src/ec_parser.c ./src/ec_plugins.c ./src/ec_signal.c ./src/ec_simple.c ,;t t
1510 +s,@MISSING@,./src/missing/getopt.c ./src/missing/getopt1.c ./src/missing/memmem.c ./src/missing/strlcat.c ,;t t
1511 +s,@build@,i686-pld-linux-gnu,;t t
1512 +s,@build_cpu@,i686,;t t
1513 +s,@build_vendor@,pld,;t t
1514 +s,@build_os@,linux-gnu,;t t
1515 +s,@host@,i686-pld-linux-gnu,;t t
1516 +s,@host_cpu@,i686,;t t
1517 +s,@host_vendor@,pld,;t t
1518 +s,@host_os@,linux-gnu,;t t
1519 +s,@target@,i686-pld-linux-gnu,;t t
1520 +s,@target_cpu@,i686,;t t
1521 +s,@target_vendor@,pld,;t t
1522 +s,@target_os@,linux-gnu,;t t
1523 +s,@OS@,LINUX,;t t
1524 +s,@OS_OPT@,,;t t
1525 +s,@CC@,i686-pld-linux-gcc,;t t
1526 +s,@CFLAGS@,-O2 -Wall,;t t
1527 +s,@LDFLAGS@,-s,;t t
1528 +s,@CPPFLAGS@, -I/usr/include,;t t
1529 +s,@ac_ct_CC@,i686-pld-linux-gcc,;t t
1530 +s,@EXEEXT@,,;t t
1531 +s,@OBJEXT@,o,;t t
1532 +s,@INSTALL_PROGRAM@,${INSTALL},;t t
1533 +s,@INSTALL_SCRIPT@,${INSTALL},;t t
1534 +s,@INSTALL_DATA@,${INSTALL} -m 644,;t t
1535 +s,@SET_MAKE@,,;t t
1536 +s,@CPP@,i686-pld-linux-gcc -E,;t t
1537 +s,@IPFORWARD@,/proc/sys/net/ipv4/ip_forward,;t t
1538 +s,@LIBOBJS@,,;t t
1539 +s,@MISSLIBS@, ./src/missing/strlcat.o,;t t
1540 +s,@DEBUG@,,;t t
1541 +s,@PLUGINS@,arpcop banshee dummy golem imp leech lurker ooze phantom shadow spectre triton ,;t t
1542 +CEOF
1543 +
1544 +  # Split the substitutions into bite-sized pieces for seds with
1545 +  # small command number limits, like on Digital OSF/1 and HP-UX.
1546 +  ac_max_sed_lines=48
1547 +  ac_sed_frag=1 # Number of current file.
1548 +  ac_beg=1 # First line for current file.
1549 +  ac_end=$ac_max_sed_lines # Line after last line for current file.
1550 +  ac_more_lines=:
1551 +  ac_sed_cmds=
1552 +  while $ac_more_lines; do
1553 +    if test $ac_beg -gt 1; then
1554 +      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
1555 +    else
1556 +      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
1557 +    fi
1558 +    if test ! -s $tmp/subs.frag; then
1559 +      ac_more_lines=false
1560 +    else
1561 +      # The purpose of the label and of the branching condition is to
1562 +      # speed up the sed processing (if there are no `@' at all, there
1563 +      # is no need to browse any of the substitutions).
1564 +      # These are the two extra sed commands mentioned above.
1565 +      (echo ':t
1566 +  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
1567 +      if test -z "$ac_sed_cmds"; then
1568 +       ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
1569 +      else
1570 +       ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
1571 +      fi
1572 +      ac_sed_frag=`expr $ac_sed_frag + 1`
1573 +      ac_beg=$ac_end
1574 +      ac_end=`expr $ac_end + $ac_max_sed_lines`
1575 +    fi
1576 +  done
1577 +  if test -z "$ac_sed_cmds"; then
1578 +    ac_sed_cmds=cat
1579 +  fi
1580 +fi # test -n "$CONFIG_FILES"
1581 +
1582 +for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
1583 +  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1584 +  case $ac_file in
1585 +  - | *:- | *:-:* ) # input from stdin
1586 +        cat >$tmp/stdin
1587 +        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1588 +        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1589 +  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1590 +        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1591 +  * )   ac_file_in=$ac_file.in ;;
1592 +  esac
1593 +
1594 +  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
1595 +  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1596 +         X"$ac_file" : 'X\(//\)[^/]' \| \
1597 +         X"$ac_file" : 'X\(//\)$' \| \
1598 +         X"$ac_file" : 'X\(/\)' \| \
1599 +         .     : '\(.\)' 2>/dev/null ||
1600 +echo X"$ac_file" |
1601 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1602 +         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1603 +         /^X\(\/\/\)$/{ s//\1/; q; }
1604 +         /^X\(\/\).*/{ s//\1/; q; }
1605 +         s/.*/./; q'`
1606 +  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1607 +    { case "$ac_dir" in
1608 +  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
1609 +  *)                      as_incr_dir=.;;
1610 +esac
1611 +as_dummy="$ac_dir"
1612 +for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
1613 +  case $as_mkdir_dir in
1614 +    # Skip DOS drivespec
1615 +    ?:) as_incr_dir=$as_mkdir_dir ;;
1616 +    *)
1617 +      as_incr_dir=$as_incr_dir/$as_mkdir_dir
1618 +      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
1619 +    ;;
1620 +  esac
1621 +done; }
1622 +
1623 +    ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
1624 +    # A "../" for each directory in $ac_dir_suffix.
1625 +    ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
1626 +  else
1627 +    ac_dir_suffix= ac_dots=
1628 +  fi
1629 +
1630 +  case $srcdir in
1631 +  .)  ac_srcdir=.
1632 +      if test -z "$ac_dots"; then
1633 +         ac_top_srcdir=.
1634 +      else
1635 +         ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
1636 +      fi ;;
1637 +  [\\/]* | ?:[\\/]* )
1638 +      ac_srcdir=$srcdir$ac_dir_suffix;
1639 +      ac_top_srcdir=$srcdir ;;
1640 +  *) # Relative path.
1641 +    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
1642 +    ac_top_srcdir=$ac_dots$srcdir ;;
1643 +  esac
1644 +
1645 +  case $INSTALL in
1646 +  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1647 +  *) ac_INSTALL=$ac_dots$INSTALL ;;
1648 +  esac
1649 +
1650 +  if test x"$ac_file" != x-; then
1651 +    { echo "$as_me:6094: creating $ac_file" >&5
1652 +echo "$as_me: creating $ac_file" >&6;}
1653 +    rm -f "$ac_file"
1654 +  fi
1655 +  # Let's still pretend it is `configure' which instantiates (i.e., don't
1656 +  # use $as_me), people would be surprised to read:
1657 +  #    /* config.h.  Generated automatically by config.status.  */
1658 +  configure_input="Generated automatically from `echo $ac_file_in |
1659 +                                                 sed 's,.*/,,'` by configure."
1660 +
1661 +  # First look for the input files in the build tree, otherwise in the
1662 +  # src tree.
1663 +  ac_file_inputs=`IFS=:
1664 +    for f in $ac_file_in; do
1665 +      case $f in
1666 +      -) echo $tmp/stdin ;;
1667 +      [\\/$]*)
1668 +         # Absolute (can't be DOS-style, as IFS=:)
1669 +         test -f "$f" || { { echo "$as_me:6112: error: cannot find input file: $f" >&5
1670 +echo "$as_me: error: cannot find input file: $f" >&2;}
1671 +   { (exit 1); exit 1; }; }
1672 +         echo $f;;
1673 +      *) # Relative
1674 +         if test -f "$f"; then
1675 +           # Build tree
1676 +           echo $f
1677 +         elif test -f "$srcdir/$f"; then
1678 +           # Source tree
1679 +           echo $srcdir/$f
1680 +         else
1681 +           # /dev/null tree
1682 +           { { echo "$as_me:6125: error: cannot find input file: $f" >&5
1683 +echo "$as_me: error: cannot find input file: $f" >&2;}
1684 +   { (exit 1); exit 1; }; }
1685 +         fi;;
1686 +      esac
1687 +    done` || { (exit 1); exit 1; }
1688 +  sed "/^[     ]*VPATH[        ]*=/{
1689 +s/:*\$(srcdir):*/:/;
1690 +s/:*\${srcdir}:*/:/;
1691 +s/:*@srcdir@:*/:/;
1692 +s/^\([^=]*=[   ]*\):*/\1/;
1693 +s/:*$//;
1694 +s/^[^=]*=[     ]*$//;
1695 +}
1696 +
1697 +:t
1698 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1699 +s,@configure_input@,$configure_input,;t t
1700 +s,@srcdir@,$ac_srcdir,;t t
1701 +s,@top_srcdir@,$ac_top_srcdir,;t t
1702 +s,@INSTALL@,$ac_INSTALL,;t t
1703 +" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
1704 +  rm -f $tmp/stdin
1705 +  if test x"$ac_file" != x-; then
1706 +    mv $tmp/out $ac_file
1707 +  else
1708 +    cat $tmp/out
1709 +    rm -f $tmp/out
1710 +  fi
1711 +
1712 +done
1713 +
1714 +#
1715 +# CONFIG_HEADER section.
1716 +#
1717 +
1718 +# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
1719 +# NAME is the cpp macro being defined and VALUE is the value it is being given.
1720 +#
1721 +# ac_d sets the value in "#define NAME VALUE" lines.
1722 +ac_dA='s,^\([  ]*\)#\([        ]*define[       ][      ]*\)'
1723 +ac_dB='[       ].*$,\1#\2'
1724 +ac_dC=' '
1725 +ac_dD=',;t'
1726 +# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
1727 +ac_uA='s,^\([  ]*\)#\([        ]*\)undef\([    ][      ]*\)'
1728 +ac_uB='$,\1#\2define\3'
1729 +ac_uC=' '
1730 +ac_uD=',;t'
1731 +
1732 +for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
1733 +  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1734 +  case $ac_file in
1735 +  - | *:- | *:-:* ) # input from stdin
1736 +        cat >$tmp/stdin
1737 +        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1738 +        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1739 +  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1740 +        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1741 +  * )   ac_file_in=$ac_file.in ;;
1742 +  esac
1743 +
1744 +  test x"$ac_file" != x- && { echo "$as_me:6186: creating $ac_file" >&5
1745 +echo "$as_me: creating $ac_file" >&6;}
1746 +
1747 +  # First look for the input files in the build tree, otherwise in the
1748 +  # src tree.
1749 +  ac_file_inputs=`IFS=:
1750 +    for f in $ac_file_in; do
1751 +      case $f in
1752 +      -) echo $tmp/stdin ;;
1753 +      [\\/$]*)
1754 +         # Absolute (can't be DOS-style, as IFS=:)
1755 +         test -f "$f" || { { echo "$as_me:6197: error: cannot find input file: $f" >&5
1756 +echo "$as_me: error: cannot find input file: $f" >&2;}
1757 +   { (exit 1); exit 1; }; }
1758 +         echo $f;;
1759 +      *) # Relative
1760 +         if test -f "$f"; then
1761 +           # Build tree
1762 +           echo $f
1763 +         elif test -f "$srcdir/$f"; then
1764 +           # Source tree
1765 +           echo $srcdir/$f
1766 +         else
1767 +           # /dev/null tree
1768 +           { { echo "$as_me:6210: error: cannot find input file: $f" >&5
1769 +echo "$as_me: error: cannot find input file: $f" >&2;}
1770 +   { (exit 1); exit 1; }; }
1771 +         fi;;
1772 +      esac
1773 +    done` || { (exit 1); exit 1; }
1774 +  # Remove the trailing spaces.
1775 +  sed 's/[     ]*$//' $ac_file_inputs >$tmp/in
1776 +
1777 +  # Handle all the #define templates only if necessary.
1778 +  if egrep "^[         ]*#[    ]*define" $tmp/in >/dev/null; then
1779 +  # If there are no defines, we may have an empty if/fi
1780 +  :
1781 +  cat >$tmp/defines.sed <<CEOF
1782 +/^[    ]*#[    ]*define/!b
1783 +t clr
1784 +: clr
1785 +${ac_dA}STDC_HEADERS${ac_dB}STDC_HEADERS${ac_dC}1${ac_dD}
1786 +${ac_dA}HAVE_DIRENT_H${ac_dB}HAVE_DIRENT_H${ac_dC}1${ac_dD}
1787 +${ac_dA}TIME_WITH_SYS_TIME${ac_dB}TIME_WITH_SYS_TIME${ac_dC}1${ac_dD}
1788 +${ac_dA}HAVE_GETOPT_H${ac_dB}HAVE_GETOPT_H${ac_dC}1${ac_dD}
1789 +${ac_dA}HAVE_FCNTL_H${ac_dB}HAVE_FCNTL_H${ac_dC}1${ac_dD}
1790 +${ac_dA}HAVE_TERMIOS_H${ac_dB}HAVE_TERMIOS_H${ac_dC}1${ac_dD}
1791 +${ac_dA}HAVE_CTYPE_H${ac_dB}HAVE_CTYPE_H${ac_dC}1${ac_dD}
1792 +${ac_dA}HAVE_SYS_TIME_H${ac_dB}HAVE_SYS_TIME_H${ac_dC}1${ac_dD}
1793 +${ac_dA}HAVE_SYS_UTSNAME_H${ac_dB}HAVE_SYS_UTSNAME_H${ac_dC}1${ac_dD}
1794 +${ac_dA}HAVE_UNISTD_H${ac_dB}HAVE_UNISTD_H${ac_dC}1${ac_dD}
1795 +${ac_dA}HAVE_STDLIB_H${ac_dB}HAVE_STDLIB_H${ac_dC}1${ac_dD}
1796 +${ac_dA}HAVE_SIGNAL_H${ac_dB}HAVE_SIGNAL_H${ac_dC}1${ac_dD}
1797 +${ac_dA}HAVE_STDARG_H${ac_dB}HAVE_STDARG_H${ac_dC}1${ac_dD}
1798 +${ac_dA}HAVE_SYS_IOCTL_H${ac_dB}HAVE_SYS_IOCTL_H${ac_dC}1${ac_dD}
1799 +${ac_dA}HAVE_SYS_IPC_H${ac_dB}HAVE_SYS_IPC_H${ac_dC}1${ac_dD}
1800 +${ac_dA}HAVE_SYS_SHM_H${ac_dB}HAVE_SYS_SHM_H${ac_dC}1${ac_dD}
1801 +${ac_dA}HAVE_DIRENT_H${ac_dB}HAVE_DIRENT_H${ac_dC}1${ac_dD}
1802 +${ac_dA}HAVE_ERRNO_H${ac_dB}HAVE_ERRNO_H${ac_dC}1${ac_dD}
1803 +${ac_dA}HAVE_NET_ETHERNET_H${ac_dB}HAVE_NET_ETHERNET_H${ac_dC}1${ac_dD}
1804 +${ac_dA}HAVE_NET_IF_ARP_H${ac_dB}HAVE_NET_IF_ARP_H${ac_dC}1${ac_dD}
1805 +${ac_dA}HAVE_NET_IF_H${ac_dB}HAVE_NET_IF_H${ac_dC}1${ac_dD}
1806 +${ac_dA}HAVE_NETINET_IP_H${ac_dB}HAVE_NETINET_IP_H${ac_dC}1${ac_dD}
1807 +${ac_dA}HAVE_NETINET_IP_ICMP_H${ac_dB}HAVE_NETINET_IP_ICMP_H${ac_dC}1${ac_dD}
1808 +${ac_dA}HAVE_NETINET_TCP_H${ac_dB}HAVE_NETINET_TCP_H${ac_dC}1${ac_dD}
1809 +${ac_dA}HAVE_PF_PACKET${ac_dB}HAVE_PF_PACKET${ac_dC}1${ac_dD}
1810 +${ac_dA}HAVE_SOCK_PACKET${ac_dB}HAVE_SOCK_PACKET${ac_dC}1${ac_dD}
1811 +${ac_dA}HAVE_SOCKLEN_T${ac_dB}HAVE_SOCKLEN_T${ac_dC}1${ac_dD}
1812 +${ac_dA}HAVE_SYS_TYPES_H${ac_dB}HAVE_SYS_TYPES_H${ac_dC}1${ac_dD}
1813 +${ac_dA}HAVE_SYS_STAT_H${ac_dB}HAVE_SYS_STAT_H${ac_dC}1${ac_dD}
1814 +${ac_dA}HAVE_STDLIB_H${ac_dB}HAVE_STDLIB_H${ac_dC}1${ac_dD}
1815 +${ac_dA}HAVE_STRING_H${ac_dB}HAVE_STRING_H${ac_dC}1${ac_dD}
1816 +${ac_dA}HAVE_MEMORY_H${ac_dB}HAVE_MEMORY_H${ac_dC}1${ac_dD}
1817 +${ac_dA}HAVE_STRINGS_H${ac_dB}HAVE_STRINGS_H${ac_dC}1${ac_dD}
1818 +${ac_dA}HAVE_INTTYPES_H${ac_dB}HAVE_INTTYPES_H${ac_dC}1${ac_dD}
1819 +${ac_dA}HAVE_STDINT_H${ac_dB}HAVE_STDINT_H${ac_dC}1${ac_dD}
1820 +${ac_dA}HAVE_UNISTD_H${ac_dB}HAVE_UNISTD_H${ac_dC}1${ac_dD}
1821 +${ac_dA}HAVE_STDLIB_H${ac_dB}HAVE_STDLIB_H${ac_dC}1${ac_dD}
1822 +${ac_dA}HAVE_MALLOC${ac_dB}HAVE_MALLOC${ac_dC}1${ac_dD}
1823 +CEOF
1824 +  sed -f $tmp/defines.sed $tmp/in >$tmp/out
1825 +  rm -f $tmp/in
1826 +  mv $tmp/out $tmp/in
1827 +
1828 +  cat >$tmp/defines.sed <<CEOF
1829 +/^[    ]*#[    ]*define/!b
1830 +t clr
1831 +: clr
1832 +${ac_dA}RETSIGTYPE${ac_dB}RETSIGTYPE${ac_dC}void${ac_dD}
1833 +${ac_dA}HAVE_VPRINTF${ac_dB}HAVE_VPRINTF${ac_dC}1${ac_dD}
1834 +${ac_dA}HAVE_GETTIMEOFDAY${ac_dB}HAVE_GETTIMEOFDAY${ac_dC}1${ac_dD}
1835 +${ac_dA}HAVE_VSNPRINTF${ac_dB}HAVE_VSNPRINTF${ac_dC}1${ac_dD}
1836 +${ac_dA}HAVE_SELECT${ac_dB}HAVE_SELECT${ac_dC}1${ac_dD}
1837 +${ac_dA}HAVE_SOCKET${ac_dB}HAVE_SOCKET${ac_dC}1${ac_dD}
1838 +${ac_dA}HAVE_STRDUP${ac_dB}HAVE_STRDUP${ac_dC}1${ac_dD}
1839 +${ac_dA}HAVE_STRERROR${ac_dB}HAVE_STRERROR${ac_dC}1${ac_dD}
1840 +${ac_dA}HAVE_STRSTR${ac_dB}HAVE_STRSTR${ac_dC}1${ac_dD}
1841 +${ac_dA}HAVE_UNAME${ac_dB}HAVE_UNAME${ac_dC}1${ac_dD}
1842 +${ac_dA}HAVE_ATEXIT${ac_dB}HAVE_ATEXIT${ac_dC}1${ac_dD}
1843 +${ac_dA}HAVE_STRSIGNAL${ac_dB}HAVE_STRSIGNAL${ac_dC}1${ac_dD}
1844 +${ac_dA}HAVE_GETOPT_LONG${ac_dB}HAVE_GETOPT_LONG${ac_dC}1${ac_dD}
1845 +${ac_dA}HAVE_MEMMEM${ac_dB}HAVE_MEMMEM${ac_dC}1${ac_dD}
1846 +${ac_dA}HAVE_NCURSES_NCURSES_H${ac_dB}HAVE_NCURSES_NCURSES_H${ac_dC}1${ac_dD}
1847 +${ac_dA}HAVE_LIBNCURSES${ac_dB}HAVE_LIBNCURSES${ac_dC}1${ac_dD}
1848 +${ac_dA}HAVE_NCURSES${ac_dB}HAVE_NCURSES${ac_dC}1${ac_dD}
1849 +${ac_dA}HAVE_NCURSES_FORM_H${ac_dB}HAVE_NCURSES_FORM_H${ac_dC}1${ac_dD}
1850 +${ac_dA}HAVE_LIBFORM${ac_dB}HAVE_LIBFORM${ac_dC}1${ac_dD}
1851 +${ac_dA}HAVE_FORM${ac_dB}HAVE_FORM${ac_dC}1${ac_dD}
1852 +${ac_dA}HAVE_DLFCN_H${ac_dB}HAVE_DLFCN_H${ac_dC}1${ac_dD}
1853 +${ac_dA}HAVE_LIBDL${ac_dB}HAVE_LIBDL${ac_dC}1${ac_dD}
1854 +${ac_dA}PERMIT_PLUGINS${ac_dB}PERMIT_PLUGINS${ac_dC}1${ac_dD}
1855 +${ac_dA}HAVE_OPENSSL${ac_dB}HAVE_OPENSSL${ac_dC}1${ac_dD}
1856 +${ac_dA}PERMIT_HTTPS${ac_dB}PERMIT_HTTPS${ac_dC}1${ac_dD}
1857 +CEOF
1858 +  sed -f $tmp/defines.sed $tmp/in >$tmp/out
1859 +  rm -f $tmp/in
1860 +  mv $tmp/out $tmp/in
1861 +
1862 +  fi # egrep
1863 +
1864 +  # Handle all the #undef templates
1865 +  cat >$tmp/undefs.sed <<CEOF
1866 +/^[    ]*#[    ]*undef/!b
1867 +t clr
1868 +: clr
1869 +${ac_uA}STDC_HEADERS${ac_uB}STDC_HEADERS${ac_uC}1${ac_uD}
1870 +${ac_uA}HAVE_DIRENT_H${ac_uB}HAVE_DIRENT_H${ac_uC}1${ac_uD}
1871 +${ac_uA}TIME_WITH_SYS_TIME${ac_uB}TIME_WITH_SYS_TIME${ac_uC}1${ac_uD}
1872 +${ac_uA}HAVE_GETOPT_H${ac_uB}HAVE_GETOPT_H${ac_uC}1${ac_uD}
1873 +${ac_uA}HAVE_FCNTL_H${ac_uB}HAVE_FCNTL_H${ac_uC}1${ac_uD}
1874 +${ac_uA}HAVE_TERMIOS_H${ac_uB}HAVE_TERMIOS_H${ac_uC}1${ac_uD}
1875 +${ac_uA}HAVE_CTYPE_H${ac_uB}HAVE_CTYPE_H${ac_uC}1${ac_uD}
1876 +${ac_uA}HAVE_SYS_TIME_H${ac_uB}HAVE_SYS_TIME_H${ac_uC}1${ac_uD}
1877 +${ac_uA}HAVE_SYS_UTSNAME_H${ac_uB}HAVE_SYS_UTSNAME_H${ac_uC}1${ac_uD}
1878 +${ac_uA}HAVE_UNISTD_H${ac_uB}HAVE_UNISTD_H${ac_uC}1${ac_uD}
1879 +${ac_uA}HAVE_STDLIB_H${ac_uB}HAVE_STDLIB_H${ac_uC}1${ac_uD}
1880 +${ac_uA}HAVE_SIGNAL_H${ac_uB}HAVE_SIGNAL_H${ac_uC}1${ac_uD}
1881 +${ac_uA}HAVE_STDARG_H${ac_uB}HAVE_STDARG_H${ac_uC}1${ac_uD}
1882 +${ac_uA}HAVE_SYS_IOCTL_H${ac_uB}HAVE_SYS_IOCTL_H${ac_uC}1${ac_uD}
1883 +${ac_uA}HAVE_SYS_IPC_H${ac_uB}HAVE_SYS_IPC_H${ac_uC}1${ac_uD}
1884 +${ac_uA}HAVE_SYS_SHM_H${ac_uB}HAVE_SYS_SHM_H${ac_uC}1${ac_uD}
1885 +${ac_uA}HAVE_DIRENT_H${ac_uB}HAVE_DIRENT_H${ac_uC}1${ac_uD}
1886 +${ac_uA}HAVE_ERRNO_H${ac_uB}HAVE_ERRNO_H${ac_uC}1${ac_uD}
1887 +${ac_uA}HAVE_NET_ETHERNET_H${ac_uB}HAVE_NET_ETHERNET_H${ac_uC}1${ac_uD}
1888 +${ac_uA}HAVE_NET_IF_ARP_H${ac_uB}HAVE_NET_IF_ARP_H${ac_uC}1${ac_uD}
1889 +${ac_uA}HAVE_NET_IF_H${ac_uB}HAVE_NET_IF_H${ac_uC}1${ac_uD}
1890 +${ac_uA}HAVE_NETINET_IP_H${ac_uB}HAVE_NETINET_IP_H${ac_uC}1${ac_uD}
1891 +${ac_uA}HAVE_NETINET_IP_ICMP_H${ac_uB}HAVE_NETINET_IP_ICMP_H${ac_uC}1${ac_uD}
1892 +${ac_uA}HAVE_NETINET_TCP_H${ac_uB}HAVE_NETINET_TCP_H${ac_uC}1${ac_uD}
1893 +${ac_uA}HAVE_PF_PACKET${ac_uB}HAVE_PF_PACKET${ac_uC}1${ac_uD}
1894 +${ac_uA}HAVE_SOCK_PACKET${ac_uB}HAVE_SOCK_PACKET${ac_uC}1${ac_uD}
1895 +${ac_uA}HAVE_SOCKLEN_T${ac_uB}HAVE_SOCKLEN_T${ac_uC}1${ac_uD}
1896 +${ac_uA}HAVE_SYS_TYPES_H${ac_uB}HAVE_SYS_TYPES_H${ac_uC}1${ac_uD}
1897 +${ac_uA}HAVE_SYS_STAT_H${ac_uB}HAVE_SYS_STAT_H${ac_uC}1${ac_uD}
1898 +${ac_uA}HAVE_STDLIB_H${ac_uB}HAVE_STDLIB_H${ac_uC}1${ac_uD}
1899 +${ac_uA}HAVE_STRING_H${ac_uB}HAVE_STRING_H${ac_uC}1${ac_uD}
1900 +${ac_uA}HAVE_MEMORY_H${ac_uB}HAVE_MEMORY_H${ac_uC}1${ac_uD}
1901 +${ac_uA}HAVE_STRINGS_H${ac_uB}HAVE_STRINGS_H${ac_uC}1${ac_uD}
1902 +${ac_uA}HAVE_INTTYPES_H${ac_uB}HAVE_INTTYPES_H${ac_uC}1${ac_uD}
1903 +${ac_uA}HAVE_STDINT_H${ac_uB}HAVE_STDINT_H${ac_uC}1${ac_uD}
1904 +${ac_uA}HAVE_UNISTD_H${ac_uB}HAVE_UNISTD_H${ac_uC}1${ac_uD}
1905 +${ac_uA}HAVE_STDLIB_H${ac_uB}HAVE_STDLIB_H${ac_uC}1${ac_uD}
1906 +${ac_uA}HAVE_MALLOC${ac_uB}HAVE_MALLOC${ac_uC}1${ac_uD}
1907 +CEOF
1908 +  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
1909 +  rm -f $tmp/in
1910 +  mv $tmp/out $tmp/in
1911 +
1912 +  cat >$tmp/undefs.sed <<CEOF
1913 +/^[    ]*#[    ]*undef/!b
1914 +t clr
1915 +: clr
1916 +${ac_uA}RETSIGTYPE${ac_uB}RETSIGTYPE${ac_uC}void${ac_uD}
1917 +${ac_uA}HAVE_VPRINTF${ac_uB}HAVE_VPRINTF${ac_uC}1${ac_uD}
1918 +${ac_uA}HAVE_GETTIMEOFDAY${ac_uB}HAVE_GETTIMEOFDAY${ac_uC}1${ac_uD}
1919 +${ac_uA}HAVE_VSNPRINTF${ac_uB}HAVE_VSNPRINTF${ac_uC}1${ac_uD}
1920 +${ac_uA}HAVE_SELECT${ac_uB}HAVE_SELECT${ac_uC}1${ac_uD}
1921 +${ac_uA}HAVE_SOCKET${ac_uB}HAVE_SOCKET${ac_uC}1${ac_uD}
1922 +${ac_uA}HAVE_STRDUP${ac_uB}HAVE_STRDUP${ac_uC}1${ac_uD}
1923 +${ac_uA}HAVE_STRERROR${ac_uB}HAVE_STRERROR${ac_uC}1${ac_uD}
1924 +${ac_uA}HAVE_STRSTR${ac_uB}HAVE_STRSTR${ac_uC}1${ac_uD}
1925 +${ac_uA}HAVE_UNAME${ac_uB}HAVE_UNAME${ac_uC}1${ac_uD}
1926 +${ac_uA}HAVE_ATEXIT${ac_uB}HAVE_ATEXIT${ac_uC}1${ac_uD}
1927 +${ac_uA}HAVE_STRSIGNAL${ac_uB}HAVE_STRSIGNAL${ac_uC}1${ac_uD}
1928 +${ac_uA}HAVE_GETOPT_LONG${ac_uB}HAVE_GETOPT_LONG${ac_uC}1${ac_uD}
1929 +${ac_uA}HAVE_MEMMEM${ac_uB}HAVE_MEMMEM${ac_uC}1${ac_uD}
1930 +${ac_uA}HAVE_NCURSES_NCURSES_H${ac_uB}HAVE_NCURSES_NCURSES_H${ac_uC}1${ac_uD}
1931 +${ac_uA}HAVE_LIBNCURSES${ac_uB}HAVE_LIBNCURSES${ac_uC}1${ac_uD}
1932 +${ac_uA}HAVE_NCURSES${ac_uB}HAVE_NCURSES${ac_uC}1${ac_uD}
1933 +${ac_uA}HAVE_NCURSES_FORM_H${ac_uB}HAVE_NCURSES_FORM_H${ac_uC}1${ac_uD}
1934 +${ac_uA}HAVE_LIBFORM${ac_uB}HAVE_LIBFORM${ac_uC}1${ac_uD}
1935 +${ac_uA}HAVE_FORM${ac_uB}HAVE_FORM${ac_uC}1${ac_uD}
1936 +${ac_uA}HAVE_DLFCN_H${ac_uB}HAVE_DLFCN_H${ac_uC}1${ac_uD}
1937 +${ac_uA}HAVE_LIBDL${ac_uB}HAVE_LIBDL${ac_uC}1${ac_uD}
1938 +${ac_uA}PERMIT_PLUGINS${ac_uB}PERMIT_PLUGINS${ac_uC}1${ac_uD}
1939 +${ac_uA}HAVE_OPENSSL${ac_uB}HAVE_OPENSSL${ac_uC}1${ac_uD}
1940 +${ac_uA}PERMIT_HTTPS${ac_uB}PERMIT_HTTPS${ac_uC}1${ac_uD}
1941 +s,^[   ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
1942 +CEOF
1943 +  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
1944 +  rm -f $tmp/in
1945 +  mv $tmp/out $tmp/in
1946 +
1947 +  # Let's still pretend it is `configure' which instantiates (i.e., don't
1948 +  # use $as_me), people would be surprised to read:
1949 +  #    /* config.h.  Generated automatically by config.status.  */
1950 +  if test x"$ac_file" = x-; then
1951 +    echo "/* Generated automatically by configure.  */" >$tmp/config.h
1952 +  else
1953 +    echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h
1954 +  fi
1955 +  cat $tmp/in >>$tmp/config.h
1956 +  rm -f $tmp/in
1957 +  if test x"$ac_file" != x-; then
1958 +    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
1959 +      { echo "$as_me:6327: $ac_file is unchanged" >&5
1960 +echo "$as_me: $ac_file is unchanged" >&6;}
1961 +    else
1962 +      ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1963 +         X"$ac_file" : 'X\(//\)[^/]' \| \
1964 +         X"$ac_file" : 'X\(//\)$' \| \
1965 +         X"$ac_file" : 'X\(/\)' \| \
1966 +         .     : '\(.\)' 2>/dev/null ||
1967 +echo X"$ac_file" |
1968 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1969 +         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1970 +         /^X\(\/\/\)$/{ s//\1/; q; }
1971 +         /^X\(\/\).*/{ s//\1/; q; }
1972 +         s/.*/./; q'`
1973 +      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1974 +        { case "$ac_dir" in
1975 +  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
1976 +  *)                      as_incr_dir=.;;
1977 +esac
1978 +as_dummy="$ac_dir"
1979 +for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
1980 +  case $as_mkdir_dir in
1981 +    # Skip DOS drivespec
1982 +    ?:) as_incr_dir=$as_mkdir_dir ;;
1983 +    *)
1984 +      as_incr_dir=$as_incr_dir/$as_mkdir_dir
1985 +      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
1986 +    ;;
1987 +  esac
1988 +done; }
1989 +
1990 +      fi
1991 +      rm -f $ac_file
1992 +      mv $tmp/config.h $ac_file
1993 +    fi
1994 +  else
1995 +    cat $tmp/config.h
1996 +    rm -f $tmp/config.h
1997 +  fi
1998 +done
1999 +
2000 +{ (exit 0); exit 0; }
2001 diff -urN ettercap-0.5.4.orig/configure ettercap-0.5.4/configure
2002 --- ettercap-0.5.4.orig/configure       Sat Jul 21 16:38:04 2001
2003 +++ ettercap-0.5.4/configure    Thu Sep  6 17:14:21 2001
2004 @@ -170,16 +170,16 @@
2005  # Use braces instead of parens because sh, perl, etc. also accept them.
2006  bindir='${exec_prefix}/bin'
2007  sbindir='${exec_prefix}/sbin'
2008 -libexecdir='${exec_prefix}/libexec'
2009 +libexecdir='${exec_prefix}/lib'
2010  datadir='${prefix}/share'
2011  sysconfdir='${prefix}/etc'
2012  sharedstatedir='${prefix}/com'
2013 -localstatedir='${prefix}/var'
2014 +localstatedir='/var/lib'
2015  libdir='${exec_prefix}/lib'
2016  includedir='${prefix}/include'
2017  oldincludedir='/usr/include'
2018 -infodir='${prefix}/info'
2019 -mandir='${prefix}/man'
2020 +infodir='${prefix}/share/info'
2021 +mandir='${prefix}/share/man'
2022  
2023  # Identity of this package.
2024  PACKAGE_NAME=
2025 @@ -734,6 +734,8 @@
2026  test -n "$ac_init_help" && exit 0
2027  if $ac_init_version; then
2028    cat <<\EOF
2029 +configure
2030 +generated by GNU Autoconf 2.52
2031  
2032  Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
2033  Free Software Foundation, Inc.
2034 @@ -872,7 +874,7 @@
2035  fi
2036  for ac_site_file in $CONFIG_SITE; do
2037    if test -r "$ac_site_file"; then
2038 -    { echo "$as_me:875: loading site script $ac_site_file" >&5
2039 +    { echo "$as_me:877: loading site script $ac_site_file" >&5
2040  echo "$as_me: loading site script $ac_site_file" >&6;}
2041      cat "$ac_site_file" >&5
2042      . "$ac_site_file"
2043 @@ -883,7 +885,7 @@
2044    # Some versions of bash will fail to source /dev/null (special
2045    # files actually), so we avoid doing that.
2046    if test -f "$cache_file"; then
2047 -    { echo "$as_me:886: loading cache $cache_file" >&5
2048 +    { echo "$as_me:888: loading cache $cache_file" >&5
2049  echo "$as_me: loading cache $cache_file" >&6;}
2050      case $cache_file in
2051        [\\/]* | ?:[\\/]* ) . $cache_file;;
2052 @@ -891,7 +893,7 @@
2053      esac
2054    fi
2055  else
2056 -  { echo "$as_me:894: creating cache $cache_file" >&5
2057 +  { echo "$as_me:896: creating cache $cache_file" >&5
2058  echo "$as_me: creating cache $cache_file" >&6;}
2059    >$cache_file
2060  fi
2061 @@ -907,21 +909,21 @@
2062    eval ac_new_val="\$ac_env_${ac_var}_value"
2063    case $ac_old_set,$ac_new_set in
2064      set,)
2065 -      { echo "$as_me:910: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2066 +      { echo "$as_me:912: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2067  echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2068        ac_cache_corrupted=: ;;
2069      ,set)
2070 -      { echo "$as_me:914: error: \`$ac_var' was not set in the previous run" >&5
2071 +      { echo "$as_me:916: error: \`$ac_var' was not set in the previous run" >&5
2072  echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2073        ac_cache_corrupted=: ;;
2074      ,);;
2075      *)
2076        if test "x$ac_old_val" != "x$ac_new_val"; then
2077 -        { echo "$as_me:920: error: \`$ac_var' has changed since the previous run:" >&5
2078 +        { echo "$as_me:922: error: \`$ac_var' has changed since the previous run:" >&5
2079  echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2080 -        { echo "$as_me:922:   former value:  $ac_old_val" >&5
2081 +        { echo "$as_me:924:   former value:  $ac_old_val" >&5
2082  echo "$as_me:   former value:  $ac_old_val" >&2;}
2083 -        { echo "$as_me:924:   current value: $ac_new_val" >&5
2084 +        { echo "$as_me:926:   current value: $ac_new_val" >&5
2085  echo "$as_me:   current value: $ac_new_val" >&2;}
2086          ac_cache_corrupted=:
2087        fi;;
2088 @@ -940,9 +942,9 @@
2089    fi
2090  done
2091  if $ac_cache_corrupted; then
2092 -  { echo "$as_me:943: error: changes in the environment can compromise the build" >&5
2093 +  { echo "$as_me:945: error: changes in the environment can compromise the build" >&5
2094  echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2095 -  { { echo "$as_me:945: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2096 +  { { echo "$as_me:947: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2097  echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2098     { (exit 1); exit 1; }; }
2099  fi
2100 @@ -962,10 +964,10 @@
2101  echo "#! $SHELL" >conftest.sh
2102  echo  "exit 0"   >>conftest.sh
2103  chmod +x conftest.sh
2104 -if { (echo "$as_me:965: PATH=\".;.\"; conftest.sh") >&5
2105 +if { (echo "$as_me:967: PATH=\".;.\"; conftest.sh") >&5
2106    (PATH=".;."; conftest.sh) 2>&5
2107    ac_status=$?
2108 -  echo "$as_me:968: \$? = $ac_status" >&5
2109 +  echo "$as_me:970: \$? = $ac_status" >&5
2110    (exit $ac_status); }; then
2111    ac_path_separator=';'
2112  else
2113 @@ -983,11 +985,11 @@
2114  
2115  PROG=`grep PROGRAM ./src/include/ec_main.h | cut -f2 -d"\""`
2116  
2117 -       echo "$as_me:986: result: " >&5
2118 +       echo "$as_me:988: result: " >&5
2119  echo "${ECHO_T}" >&6
2120 -       echo "$as_me:988: result: ${SB}Configuring $PROG-$VERSION...${EB}" >&5
2121 +       echo "$as_me:990: result: ${SB}Configuring $PROG-$VERSION...${EB}" >&5
2122  echo "${ECHO_T}${SB}Configuring $PROG-$VERSION...${EB}" >&6
2123 -       echo "$as_me:990: result: " >&5
2124 +       echo "$as_me:992: result: " >&5
2125  echo "${ECHO_T}" >&6
2126  
2127  SERIAL=`date +%Y%m%d`
2128 @@ -1015,7 +1017,7 @@
2129    fi
2130  done
2131  if test -z "$ac_aux_dir"; then
2132 -  { { echo "$as_me:1018: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2133 +  { { echo "$as_me:1020: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2134  echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2135     { (exit 1); exit 1; }; }
2136  fi
2137 @@ -1025,11 +1027,11 @@
2138  
2139  # Make sure we can run config.sub.
2140  $ac_config_sub sun4 >/dev/null 2>&1 ||
2141 -  { { echo "$as_me:1028: error: cannot run $ac_config_sub" >&5
2142 +  { { echo "$as_me:1030: error: cannot run $ac_config_sub" >&5
2143  echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2144     { (exit 1); exit 1; }; }
2145  
2146 -echo "$as_me:1032: checking build system type" >&5
2147 +echo "$as_me:1034: checking build system type" >&5
2148  echo $ECHO_N "checking build system type... $ECHO_C" >&6
2149  if test "${ac_cv_build+set}" = set; then
2150    echo $ECHO_N "(cached) $ECHO_C" >&6
2151 @@ -1038,23 +1040,23 @@
2152  test -z "$ac_cv_build_alias" &&
2153    ac_cv_build_alias=`$ac_config_guess`
2154  test -z "$ac_cv_build_alias" &&
2155 -  { { echo "$as_me:1041: error: cannot guess build type; you must specify one" >&5
2156 +  { { echo "$as_me:1043: error: cannot guess build type; you must specify one" >&5
2157  echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2158     { (exit 1); exit 1; }; }
2159  ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2160 -  { { echo "$as_me:1045: error: $ac_config_sub $ac_cv_build_alias failed." >&5
2161 +  { { echo "$as_me:1047: error: $ac_config_sub $ac_cv_build_alias failed." >&5
2162  echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
2163     { (exit 1); exit 1; }; }
2164  
2165  fi
2166 -echo "$as_me:1050: result: $ac_cv_build" >&5
2167 +echo "$as_me:1052: result: $ac_cv_build" >&5
2168  echo "${ECHO_T}$ac_cv_build" >&6
2169  build=$ac_cv_build
2170  build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2171  build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2172  build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2173  
2174 -echo "$as_me:1057: checking host system type" >&5
2175 +echo "$as_me:1059: checking host system type" >&5
2176  echo $ECHO_N "checking host system type... $ECHO_C" >&6
2177  if test "${ac_cv_host+set}" = set; then
2178    echo $ECHO_N "(cached) $ECHO_C" >&6
2179 @@ -1063,19 +1065,19 @@
2180  test -z "$ac_cv_host_alias" &&
2181    ac_cv_host_alias=$ac_cv_build_alias
2182  ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2183 -  { { echo "$as_me:1066: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2184 +  { { echo "$as_me:1068: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2185  echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2186     { (exit 1); exit 1; }; }
2187  
2188  fi
2189 -echo "$as_me:1071: result: $ac_cv_host" >&5
2190 +echo "$as_me:1073: result: $ac_cv_host" >&5
2191  echo "${ECHO_T}$ac_cv_host" >&6
2192  host=$ac_cv_host
2193  host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2194  host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2195  host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2196  
2197 -echo "$as_me:1078: checking target system type" >&5
2198 +echo "$as_me:1080: checking target system type" >&5
2199  echo $ECHO_N "checking target system type... $ECHO_C" >&6
2200  if test "${ac_cv_target+set}" = set; then
2201    echo $ECHO_N "(cached) $ECHO_C" >&6
2202 @@ -1084,12 +1086,12 @@
2203  test "x$ac_cv_target_alias" = "x" &&
2204    ac_cv_target_alias=$ac_cv_host_alias
2205  ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
2206 -  { { echo "$as_me:1087: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2207 +  { { echo "$as_me:1089: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2208  echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2209     { (exit 1); exit 1; }; }
2210  
2211  fi
2212 -echo "$as_me:1092: result: $ac_cv_target" >&5
2213 +echo "$as_me:1094: result: $ac_cv_target" >&5
2214  echo "${ECHO_T}$ac_cv_target" >&6
2215  target=$ac_cv_target
2216  target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2217 @@ -1105,19 +1107,19 @@
2218  case "$target_os" in
2219  linux*)
2220  
2221 -       echo "$as_me:1108: checking Linux kernel version" >&5
2222 +       echo "$as_me:1110: checking Linux kernel version" >&5
2223  echo $ECHO_N "checking Linux kernel version... $ECHO_C" >&6
2224         major=`uname -r  | cut -f1 -d"."`
2225         minor=`uname -r  | cut -f2 -d"."`
2226         uname=`uname -r`
2227 -       echo "$as_me:1113: result: $uname" >&5
2228 +       echo "$as_me:1115: result: $uname" >&5
2229  echo "${ECHO_T}$uname" >&6
2230         if test "$major$minor" -lt 20; then
2231 -               { echo "$as_me:1116: WARNING: *******************************" >&5
2232 +               { echo "$as_me:1118: WARNING: *******************************" >&5
2233  echo "$as_me: WARNING: *******************************" >&2;};
2234 -               { echo "$as_me:1118: WARNING: * Kernel >= 2.0.x REQUIRED !! *" >&5
2235 +               { echo "$as_me:1120: WARNING: * Kernel >= 2.0.x REQUIRED !! *" >&5
2236  echo "$as_me: WARNING: * Kernel >= 2.0.x REQUIRED !! *" >&2;};
2237 -               { echo "$as_me:1120: WARNING: *******************************" >&5
2238 +               { echo "$as_me:1122: WARNING: *******************************" >&5
2239  echo "$as_me: WARNING: *******************************" >&2;};
2240                 exit;
2241         fi
2242 @@ -1127,23 +1129,23 @@
2243         ;;
2244  *freebsd*)
2245  
2246 -       echo "$as_me:1130: checking FreeBSD version" >&5
2247 +       echo "$as_me:1132: checking FreeBSD version" >&5
2248  echo $ECHO_N "checking FreeBSD version... $ECHO_C" >&6
2249         major=`uname -r  | cut -f1 -d"."`
2250         minor=`uname -r  | cut -f2 -d"." | cut -f1 -d"-"`
2251         uname=`uname -r`
2252 -       echo "$as_me:1135: result: $uname" >&5
2253 +       echo "$as_me:1137: result: $uname" >&5
2254  echo "${ECHO_T}$uname" >&6
2255         if test "$major$minor" -lt 40; then
2256 -               { echo "$as_me:1138: WARNING: ************************************************" >&5
2257 +               { echo "$as_me:1140: WARNING: ************************************************" >&5
2258  echo "$as_me: WARNING: ************************************************" >&2;};
2259 -               { echo "$as_me:1140: WARNING: * Tested only on FreeBSD 4.x !!                *" >&5
2260 +               { echo "$as_me:1142: WARNING: * Tested only on FreeBSD 4.x !!                *" >&5
2261  echo "$as_me: WARNING: * Tested only on FreeBSD 4.x !!                *" >&2;};
2262 -               { echo "$as_me:1142: WARNING: * Please send me comment patches or bug-report *" >&5
2263 +               { echo "$as_me:1144: WARNING: * Please send me comment patches or bug-report *" >&5
2264  echo "$as_me: WARNING: * Please send me comment patches or bug-report *" >&2;};
2265 -               { echo "$as_me:1144: WARNING: * on how ettercap works within your system...  *" >&5
2266 +               { echo "$as_me:1146: WARNING: * on how ettercap works within your system...  *" >&5
2267  echo "$as_me: WARNING: * on how ettercap works within your system...  *" >&2;};
2268 -               { echo "$as_me:1146: WARNING: ************************************************" >&5
2269 +               { echo "$as_me:1148: WARNING: ************************************************" >&5
2270  echo "$as_me: WARNING: ************************************************" >&2;};
2271         fi
2272  
2273 @@ -1190,7 +1192,7 @@
2274  if test -n "$ac_tool_prefix"; then
2275    # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2276  set dummy ${ac_tool_prefix}gcc; ac_word=$2
2277 -echo "$as_me:1193: checking for $ac_word" >&5
2278 +echo "$as_me:1195: checking for $ac_word" >&5
2279  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2280  if test "${ac_cv_prog_CC+set}" = set; then
2281    echo $ECHO_N "(cached) $ECHO_C" >&6
2282 @@ -1205,7 +1207,7 @@
2283    test -z "$ac_dir" && ac_dir=.
2284    $as_executable_p "$ac_dir/$ac_word" || continue
2285  ac_cv_prog_CC="${ac_tool_prefix}gcc"
2286 -echo "$as_me:1208: found $ac_dir/$ac_word" >&5
2287 +echo "$as_me:1210: found $ac_dir/$ac_word" >&5
2288  break
2289  done
2290  
2291 @@ -1213,10 +1215,10 @@
2292  fi
2293  CC=$ac_cv_prog_CC
2294  if test -n "$CC"; then
2295 -  echo "$as_me:1216: result: $CC" >&5
2296 +  echo "$as_me:1218: result: $CC" >&5
2297  echo "${ECHO_T}$CC" >&6
2298  else
2299 -  echo "$as_me:1219: result: no" >&5
2300 +  echo "$as_me:1221: result: no" >&5
2301  echo "${ECHO_T}no" >&6
2302  fi
2303  
2304 @@ -1225,7 +1227,7 @@
2305    ac_ct_CC=$CC
2306    # Extract the first word of "gcc", so it can be a program name with args.
2307  set dummy gcc; ac_word=$2
2308 -echo "$as_me:1228: checking for $ac_word" >&5
2309 +echo "$as_me:1230: checking for $ac_word" >&5
2310  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2311  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2312    echo $ECHO_N "(cached) $ECHO_C" >&6
2313 @@ -1240,7 +1242,7 @@
2314    test -z "$ac_dir" && ac_dir=.
2315    $as_executable_p "$ac_dir/$ac_word" || continue
2316  ac_cv_prog_ac_ct_CC="gcc"
2317 -echo "$as_me:1243: found $ac_dir/$ac_word" >&5
2318 +echo "$as_me:1245: found $ac_dir/$ac_word" >&5
2319  break
2320  done
2321  
2322 @@ -1248,10 +1250,10 @@
2323  fi
2324  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2325  if test -n "$ac_ct_CC"; then
2326 -  echo "$as_me:1251: result: $ac_ct_CC" >&5
2327 +  echo "$as_me:1253: result: $ac_ct_CC" >&5
2328  echo "${ECHO_T}$ac_ct_CC" >&6
2329  else
2330 -  echo "$as_me:1254: result: no" >&5
2331 +  echo "$as_me:1256: result: no" >&5
2332  echo "${ECHO_T}no" >&6
2333  fi
2334  
2335 @@ -1264,7 +1266,7 @@
2336    if test -n "$ac_tool_prefix"; then
2337    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2338  set dummy ${ac_tool_prefix}cc; ac_word=$2
2339 -echo "$as_me:1267: checking for $ac_word" >&5
2340 +echo "$as_me:1269: checking for $ac_word" >&5
2341  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2342  if test "${ac_cv_prog_CC+set}" = set; then
2343    echo $ECHO_N "(cached) $ECHO_C" >&6
2344 @@ -1279,7 +1281,7 @@
2345    test -z "$ac_dir" && ac_dir=.
2346    $as_executable_p "$ac_dir/$ac_word" || continue
2347  ac_cv_prog_CC="${ac_tool_prefix}cc"
2348 -echo "$as_me:1282: found $ac_dir/$ac_word" >&5
2349 +echo "$as_me:1284: found $ac_dir/$ac_word" >&5
2350  break
2351  done
2352  
2353 @@ -1287,10 +1289,10 @@
2354  fi
2355  CC=$ac_cv_prog_CC
2356  if test -n "$CC"; then
2357 -  echo "$as_me:1290: result: $CC" >&5
2358 +  echo "$as_me:1292: result: $CC" >&5
2359  echo "${ECHO_T}$CC" >&6
2360  else
2361 -  echo "$as_me:1293: result: no" >&5
2362 +  echo "$as_me:1295: result: no" >&5
2363  echo "${ECHO_T}no" >&6
2364  fi
2365  
2366 @@ -1299,7 +1301,7 @@
2367    ac_ct_CC=$CC
2368    # Extract the first word of "cc", so it can be a program name with args.
2369  set dummy cc; ac_word=$2
2370 -echo "$as_me:1302: checking for $ac_word" >&5
2371 +echo "$as_me:1304: checking for $ac_word" >&5
2372  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2373  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2374    echo $ECHO_N "(cached) $ECHO_C" >&6
2375 @@ -1314,7 +1316,7 @@
2376    test -z "$ac_dir" && ac_dir=.
2377    $as_executable_p "$ac_dir/$ac_word" || continue
2378  ac_cv_prog_ac_ct_CC="cc"
2379 -echo "$as_me:1317: found $ac_dir/$ac_word" >&5
2380 +echo "$as_me:1319: found $ac_dir/$ac_word" >&5
2381  break
2382  done
2383  
2384 @@ -1322,10 +1324,10 @@
2385  fi
2386  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2387  if test -n "$ac_ct_CC"; then
2388 -  echo "$as_me:1325: result: $ac_ct_CC" >&5
2389 +  echo "$as_me:1327: result: $ac_ct_CC" >&5
2390  echo "${ECHO_T}$ac_ct_CC" >&6
2391  else
2392 -  echo "$as_me:1328: result: no" >&5
2393 +  echo "$as_me:1330: result: no" >&5
2394  echo "${ECHO_T}no" >&6
2395  fi
2396  
2397 @@ -1338,7 +1340,7 @@
2398  if test -z "$CC"; then
2399    # Extract the first word of "cc", so it can be a program name with args.
2400  set dummy cc; ac_word=$2
2401 -echo "$as_me:1341: checking for $ac_word" >&5
2402 +echo "$as_me:1343: checking for $ac_word" >&5
2403  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2404  if test "${ac_cv_prog_CC+set}" = set; then
2405    echo $ECHO_N "(cached) $ECHO_C" >&6
2406 @@ -1358,7 +1360,7 @@
2407    continue
2408  fi
2409  ac_cv_prog_CC="cc"
2410 -echo "$as_me:1361: found $ac_dir/$ac_word" >&5
2411 +echo "$as_me:1363: found $ac_dir/$ac_word" >&5
2412  break
2413  done
2414  
2415 @@ -1380,10 +1382,10 @@
2416  fi
2417  CC=$ac_cv_prog_CC
2418  if test -n "$CC"; then
2419 -  echo "$as_me:1383: result: $CC" >&5
2420 +  echo "$as_me:1385: result: $CC" >&5
2421  echo "${ECHO_T}$CC" >&6
2422  else
2423 -  echo "$as_me:1386: result: no" >&5
2424 +  echo "$as_me:1388: result: no" >&5
2425  echo "${ECHO_T}no" >&6
2426  fi
2427  
2428 @@ -1394,7 +1396,7 @@
2429    do
2430      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2431  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2432 -echo "$as_me:1397: checking for $ac_word" >&5
2433 +echo "$as_me:1399: checking for $ac_word" >&5
2434  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2435  if test "${ac_cv_prog_CC+set}" = set; then
2436    echo $ECHO_N "(cached) $ECHO_C" >&6
2437 @@ -1409,7 +1411,7 @@
2438    test -z "$ac_dir" && ac_dir=.
2439    $as_executable_p "$ac_dir/$ac_word" || continue
2440  ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2441 -echo "$as_me:1412: found $ac_dir/$ac_word" >&5
2442 +echo "$as_me:1414: found $ac_dir/$ac_word" >&5
2443  break
2444  done
2445  
2446 @@ -1417,10 +1419,10 @@
2447  fi
2448  CC=$ac_cv_prog_CC
2449  if test -n "$CC"; then
2450 -  echo "$as_me:1420: result: $CC" >&5
2451 +  echo "$as_me:1422: result: $CC" >&5
2452  echo "${ECHO_T}$CC" >&6
2453  else
2454 -  echo "$as_me:1423: result: no" >&5
2455 +  echo "$as_me:1425: result: no" >&5
2456  echo "${ECHO_T}no" >&6
2457  fi
2458  
2459 @@ -1433,7 +1435,7 @@
2460  do
2461    # Extract the first word of "$ac_prog", so it can be a program name with args.
2462  set dummy $ac_prog; ac_word=$2
2463 -echo "$as_me:1436: checking for $ac_word" >&5
2464 +echo "$as_me:1438: checking for $ac_word" >&5
2465  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2466  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2467    echo $ECHO_N "(cached) $ECHO_C" >&6
2468 @@ -1448,7 +1450,7 @@
2469    test -z "$ac_dir" && ac_dir=.
2470    $as_executable_p "$ac_dir/$ac_word" || continue
2471  ac_cv_prog_ac_ct_CC="$ac_prog"
2472 -echo "$as_me:1451: found $ac_dir/$ac_word" >&5
2473 +echo "$as_me:1453: found $ac_dir/$ac_word" >&5
2474  break
2475  done
2476  
2477 @@ -1456,10 +1458,10 @@
2478  fi
2479  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2480  if test -n "$ac_ct_CC"; then
2481 -  echo "$as_me:1459: result: $ac_ct_CC" >&5
2482 +  echo "$as_me:1461: result: $ac_ct_CC" >&5
2483  echo "${ECHO_T}$ac_ct_CC" >&6
2484  else
2485 -  echo "$as_me:1462: result: no" >&5
2486 +  echo "$as_me:1464: result: no" >&5
2487  echo "${ECHO_T}no" >&6
2488  fi
2489  
2490 @@ -1471,32 +1473,32 @@
2491  
2492  fi
2493  
2494 -test -z "$CC" && { { echo "$as_me:1474: error: no acceptable cc found in \$PATH" >&5
2495 +test -z "$CC" && { { echo "$as_me:1476: error: no acceptable cc found in \$PATH" >&5
2496  echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2497     { (exit 1); exit 1; }; }
2498  
2499  # Provide some information about the compiler.
2500 -echo "$as_me:1479:" \
2501 +echo "$as_me:1481:" \
2502       "checking for C compiler version" >&5
2503  ac_compiler=`set X $ac_compile; echo $2`
2504 -{ (eval echo "$as_me:1482: \"$ac_compiler --version </dev/null >&5\"") >&5
2505 +{ (eval echo "$as_me:1484: \"$ac_compiler --version </dev/null >&5\"") >&5
2506    (eval $ac_compiler --version </dev/null >&5) 2>&5
2507    ac_status=$?
2508 -  echo "$as_me:1485: \$? = $ac_status" >&5
2509 +  echo "$as_me:1487: \$? = $ac_status" >&5
2510    (exit $ac_status); }
2511 -{ (eval echo "$as_me:1487: \"$ac_compiler -v </dev/null >&5\"") >&5
2512 +{ (eval echo "$as_me:1489: \"$ac_compiler -v </dev/null >&5\"") >&5
2513    (eval $ac_compiler -v </dev/null >&5) 2>&5
2514    ac_status=$?
2515 -  echo "$as_me:1490: \$? = $ac_status" >&5
2516 +  echo "$as_me:1492: \$? = $ac_status" >&5
2517    (exit $ac_status); }
2518 -{ (eval echo "$as_me:1492: \"$ac_compiler -V </dev/null >&5\"") >&5
2519 +{ (eval echo "$as_me:1494: \"$ac_compiler -V </dev/null >&5\"") >&5
2520    (eval $ac_compiler -V </dev/null >&5) 2>&5
2521    ac_status=$?
2522 -  echo "$as_me:1495: \$? = $ac_status" >&5
2523 +  echo "$as_me:1497: \$? = $ac_status" >&5
2524    (exit $ac_status); }
2525  
2526  cat >conftest.$ac_ext <<_ACEOF
2527 -#line 1499 "configure"
2528 +#line 1501 "configure"
2529  #include "confdefs.h"
2530  
2531  int
2532 @@ -1512,13 +1514,13 @@
2533  # Try to create an executable without -o first, disregard a.out.
2534  # It will help us diagnose broken compilers, and finding out an intuition
2535  # of exeext.
2536 -echo "$as_me:1515: checking for C compiler default output" >&5
2537 +echo "$as_me:1517: checking for C compiler default output" >&5
2538  echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2539  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2540 -if { (eval echo "$as_me:1518: \"$ac_link_default\"") >&5
2541 +if { (eval echo "$as_me:1520: \"$ac_link_default\"") >&5
2542    (eval $ac_link_default) 2>&5
2543    ac_status=$?
2544 -  echo "$as_me:1521: \$? = $ac_status" >&5
2545 +  echo "$as_me:1523: \$? = $ac_status" >&5
2546    (exit $ac_status); }; then
2547    # Find the output, starting from the most likely.  This scheme is
2548  # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2549 @@ -1541,34 +1543,34 @@
2550  else
2551    echo "$as_me: failed program was:" >&5
2552  cat conftest.$ac_ext >&5
2553 -{ { echo "$as_me:1544: error: C compiler cannot create executables" >&5
2554 +{ { echo "$as_me:1546: error: C compiler cannot create executables" >&5
2555  echo "$as_me: error: C compiler cannot create executables" >&2;}
2556     { (exit 77); exit 77; }; }
2557  fi
2558  
2559  ac_exeext=$ac_cv_exeext
2560 -echo "$as_me:1550: result: $ac_file" >&5
2561 +echo "$as_me:1552: result: $ac_file" >&5
2562  echo "${ECHO_T}$ac_file" >&6
2563  
2564  # Check the compiler produces executables we can run.  If not, either
2565  # the compiler is broken, or we cross compile.
2566 -echo "$as_me:1555: checking whether the C compiler works" >&5
2567 +echo "$as_me:1557: checking whether the C compiler works" >&5
2568  echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2569  # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2570  # If not cross compiling, check that we can run a simple program.
2571  if test "$cross_compiling" != yes; then
2572    if { ac_try='./$ac_file'
2573 -  { (eval echo "$as_me:1561: \"$ac_try\"") >&5
2574 +  { (eval echo "$as_me:1563: \"$ac_try\"") >&5
2575    (eval $ac_try) 2>&5
2576    ac_status=$?
2577 -  echo "$as_me:1564: \$? = $ac_status" >&5
2578 +  echo "$as_me:1566: \$? = $ac_status" >&5
2579    (exit $ac_status); }; }; then
2580      cross_compiling=no
2581    else
2582      if test "$cross_compiling" = maybe; then
2583         cross_compiling=yes
2584      else
2585 -       { { echo "$as_me:1571: error: cannot run C compiled programs.
2586 +       { { echo "$as_me:1573: error: cannot run C compiled programs.
2587  If you meant to cross compile, use \`--host'." >&5
2588  echo "$as_me: error: cannot run C compiled programs.
2589  If you meant to cross compile, use \`--host'." >&2;}
2590 @@ -1576,24 +1578,24 @@
2591      fi
2592    fi
2593  fi
2594 -echo "$as_me:1579: result: yes" >&5
2595 +echo "$as_me:1581: result: yes" >&5
2596  echo "${ECHO_T}yes" >&6
2597  
2598  rm -f a.out a.exe conftest$ac_cv_exeext
2599  ac_clean_files=$ac_clean_files_save
2600  # Check the compiler produces executables we can run.  If not, either
2601  # the compiler is broken, or we cross compile.
2602 -echo "$as_me:1586: checking whether we are cross compiling" >&5
2603 +echo "$as_me:1588: checking whether we are cross compiling" >&5
2604  echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2605 -echo "$as_me:1588: result: $cross_compiling" >&5
2606 +echo "$as_me:1590: result: $cross_compiling" >&5
2607  echo "${ECHO_T}$cross_compiling" >&6
2608  
2609 -echo "$as_me:1591: checking for executable suffix" >&5
2610 +echo "$as_me:1593: checking for executable suffix" >&5
2611  echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
2612 -if { (eval echo "$as_me:1593: \"$ac_link\"") >&5
2613 +if { (eval echo "$as_me:1595: \"$ac_link\"") >&5
2614    (eval $ac_link) 2>&5
2615    ac_status=$?
2616 -  echo "$as_me:1596: \$? = $ac_status" >&5
2617 +  echo "$as_me:1598: \$? = $ac_status" >&5
2618    (exit $ac_status); }; then
2619    # If both `conftest.exe' and `conftest' are `present' (well, observable)
2620  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2621 @@ -1609,25 +1611,25 @@
2622    esac
2623  done
2624  else
2625 -  { { echo "$as_me:1612: error: cannot compute EXEEXT: cannot compile and link" >&5
2626 +  { { echo "$as_me:1614: error: cannot compute EXEEXT: cannot compile and link" >&5
2627  echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
2628     { (exit 1); exit 1; }; }
2629  fi
2630  
2631  rm -f conftest$ac_cv_exeext
2632 -echo "$as_me:1618: result: $ac_cv_exeext" >&5
2633 +echo "$as_me:1620: result: $ac_cv_exeext" >&5
2634  echo "${ECHO_T}$ac_cv_exeext" >&6
2635  
2636  rm -f conftest.$ac_ext
2637  EXEEXT=$ac_cv_exeext
2638  ac_exeext=$EXEEXT
2639 -echo "$as_me:1624: checking for object suffix" >&5
2640 +echo "$as_me:1626: checking for object suffix" >&5
2641  echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
2642  if test "${ac_cv_objext+set}" = set; then
2643    echo $ECHO_N "(cached) $ECHO_C" >&6
2644  else
2645    cat >conftest.$ac_ext <<_ACEOF
2646 -#line 1630 "configure"
2647 +#line 1632 "configure"
2648  #include "confdefs.h"
2649  
2650  int
2651 @@ -1639,10 +1641,10 @@
2652  }
2653  _ACEOF
2654  rm -f conftest.o conftest.obj
2655 -if { (eval echo "$as_me:1642: \"$ac_compile\"") >&5
2656 +if { (eval echo "$as_me:1644: \"$ac_compile\"") >&5
2657    (eval $ac_compile) 2>&5
2658    ac_status=$?
2659 -  echo "$as_me:1645: \$? = $ac_status" >&5
2660 +  echo "$as_me:1647: \$? = $ac_status" >&5
2661    (exit $ac_status); }; then
2662    for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2663    case $ac_file in
2664 @@ -1654,24 +1656,24 @@
2665  else
2666    echo "$as_me: failed program was:" >&5
2667  cat conftest.$ac_ext >&5
2668 -{ { echo "$as_me:1657: error: cannot compute OBJEXT: cannot compile" >&5
2669 +{ { echo "$as_me:1659: error: cannot compute OBJEXT: cannot compile" >&5
2670  echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
2671     { (exit 1); exit 1; }; }
2672  fi
2673  
2674  rm -f conftest.$ac_cv_objext conftest.$ac_ext
2675  fi
2676 -echo "$as_me:1664: result: $ac_cv_objext" >&5
2677 +echo "$as_me:1666: result: $ac_cv_objext" >&5
2678  echo "${ECHO_T}$ac_cv_objext" >&6
2679  OBJEXT=$ac_cv_objext
2680  ac_objext=$OBJEXT
2681 -echo "$as_me:1668: checking whether we are using the GNU C compiler" >&5
2682 +echo "$as_me:1670: checking whether we are using the GNU C compiler" >&5
2683  echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2684  if test "${ac_cv_c_compiler_gnu+set}" = set; then
2685    echo $ECHO_N "(cached) $ECHO_C" >&6
2686  else
2687    cat >conftest.$ac_ext <<_ACEOF
2688 -#line 1674 "configure"
2689 +#line 1676 "configure"
2690  #include "confdefs.h"
2691  
2692  int
2693 @@ -1686,16 +1688,16 @@
2694  }
2695  _ACEOF
2696  rm -f conftest.$ac_objext
2697 -if { (eval echo "$as_me:1689: \"$ac_compile\"") >&5
2698 +if { (eval echo "$as_me:1691: \"$ac_compile\"") >&5
2699    (eval $ac_compile) 2>&5
2700    ac_status=$?
2701 -  echo "$as_me:1692: \$? = $ac_status" >&5
2702 +  echo "$as_me:1694: \$? = $ac_status" >&5
2703    (exit $ac_status); } &&
2704           { ac_try='test -s conftest.$ac_objext'
2705 -  { (eval echo "$as_me:1695: \"$ac_try\"") >&5
2706 +  { (eval echo "$as_me:1697: \"$ac_try\"") >&5
2707    (eval $ac_try) 2>&5
2708    ac_status=$?
2709 -  echo "$as_me:1698: \$? = $ac_status" >&5
2710 +  echo "$as_me:1700: \$? = $ac_status" >&5
2711    (exit $ac_status); }; }; then
2712    ac_compiler_gnu=yes
2713  else
2714 @@ -1707,19 +1709,19 @@
2715  ac_cv_c_compiler_gnu=$ac_compiler_gnu
2716  
2717  fi
2718 -echo "$as_me:1710: result: $ac_cv_c_compiler_gnu" >&5
2719 +echo "$as_me:1712: result: $ac_cv_c_compiler_gnu" >&5
2720  echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2721  GCC=`test $ac_compiler_gnu = yes && echo yes`
2722  ac_test_CFLAGS=${CFLAGS+set}
2723  ac_save_CFLAGS=$CFLAGS
2724  CFLAGS="-g"
2725 -echo "$as_me:1716: checking whether $CC accepts -g" >&5
2726 +echo "$as_me:1718: checking whether $CC accepts -g" >&5
2727  echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2728  if test "${ac_cv_prog_cc_g+set}" = set; then
2729    echo $ECHO_N "(cached) $ECHO_C" >&6
2730  else
2731    cat >conftest.$ac_ext <<_ACEOF
2732 -#line 1722 "configure"
2733 +#line 1724 "configure"
2734  #include "confdefs.h"
2735  
2736  int
2737 @@ -1731,16 +1733,16 @@
2738  }
2739  _ACEOF
2740  rm -f conftest.$ac_objext
2741 -if { (eval echo "$as_me:1734: \"$ac_compile\"") >&5
2742 +if { (eval echo "$as_me:1736: \"$ac_compile\"") >&5
2743    (eval $ac_compile) 2>&5
2744    ac_status=$?
2745 -  echo "$as_me:1737: \$? = $ac_status" >&5
2746 +  echo "$as_me:1739: \$? = $ac_status" >&5
2747    (exit $ac_status); } &&
2748           { ac_try='test -s conftest.$ac_objext'
2749 -  { (eval echo "$as_me:1740: \"$ac_try\"") >&5
2750 +  { (eval echo "$as_me:1742: \"$ac_try\"") >&5
2751    (eval $ac_try) 2>&5
2752    ac_status=$?
2753 -  echo "$as_me:1743: \$? = $ac_status" >&5
2754 +  echo "$as_me:1745: \$? = $ac_status" >&5
2755    (exit $ac_status); }; }; then
2756    ac_cv_prog_cc_g=yes
2757  else
2758 @@ -1750,7 +1752,7 @@
2759  fi
2760  rm -f conftest.$ac_objext conftest.$ac_ext
2761  fi
2762 -echo "$as_me:1753: result: $ac_cv_prog_cc_g" >&5
2763 +echo "$as_me:1755: result: $ac_cv_prog_cc_g" >&5
2764  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2765  if test "$ac_test_CFLAGS" = set; then
2766    CFLAGS=$ac_save_CFLAGS
2767 @@ -1777,16 +1779,16 @@
2768  #endif
2769  _ACEOF
2770  rm -f conftest.$ac_objext
2771 -if { (eval echo "$as_me:1780: \"$ac_compile\"") >&5
2772 +if { (eval echo "$as_me:1782: \"$ac_compile\"") >&5
2773    (eval $ac_compile) 2>&5
2774    ac_status=$?
2775 -  echo "$as_me:1783: \$? = $ac_status" >&5
2776 +  echo "$as_me:1785: \$? = $ac_status" >&5
2777    (exit $ac_status); } &&
2778           { ac_try='test -s conftest.$ac_objext'
2779 -  { (eval echo "$as_me:1786: \"$ac_try\"") >&5
2780 +  { (eval echo "$as_me:1788: \"$ac_try\"") >&5
2781    (eval $ac_try) 2>&5
2782    ac_status=$?
2783 -  echo "$as_me:1789: \$? = $ac_status" >&5
2784 +  echo "$as_me:1791: \$? = $ac_status" >&5
2785    (exit $ac_status); }; }; then
2786    for ac_declaration in \
2787     ''\
2788 @@ -1798,7 +1800,7 @@
2789     'void exit (int);'
2790  do
2791    cat >conftest.$ac_ext <<_ACEOF
2792 -#line 1801 "configure"
2793 +#line 1803 "configure"
2794  #include "confdefs.h"
2795  #include <stdlib.h>
2796  $ac_declaration
2797 @@ -1811,16 +1813,16 @@
2798  }
2799  _ACEOF
2800  rm -f conftest.$ac_objext
2801 -if { (eval echo "$as_me:1814: \"$ac_compile\"") >&5
2802 +if { (eval echo "$as_me:1816: \"$ac_compile\"") >&5
2803    (eval $ac_compile) 2>&5
2804    ac_status=$?
2805 -  echo "$as_me:1817: \$? = $ac_status" >&5
2806 +  echo "$as_me:1819: \$? = $ac_status" >&5
2807    (exit $ac_status); } &&
2808           { ac_try='test -s conftest.$ac_objext'
2809 -  { (eval echo "$as_me:1820: \"$ac_try\"") >&5
2810 +  { (eval echo "$as_me:1822: \"$ac_try\"") >&5
2811    (eval $ac_try) 2>&5
2812    ac_status=$?
2813 -  echo "$as_me:1823: \$? = $ac_status" >&5
2814 +  echo "$as_me:1825: \$? = $ac_status" >&5
2815    (exit $ac_status); }; }; then
2816    :
2817  else
2818 @@ -1830,7 +1832,7 @@
2819  fi
2820  rm -f conftest.$ac_objext conftest.$ac_ext
2821    cat >conftest.$ac_ext <<_ACEOF
2822 -#line 1833 "configure"
2823 +#line 1835 "configure"
2824  #include "confdefs.h"
2825  $ac_declaration
2826  int
2827 @@ -1842,16 +1844,16 @@
2828  }
2829  _ACEOF
2830  rm -f conftest.$ac_objext
2831 -if { (eval echo "$as_me:1845: \"$ac_compile\"") >&5
2832 +if { (eval echo "$as_me:1847: \"$ac_compile\"") >&5
2833    (eval $ac_compile) 2>&5
2834    ac_status=$?
2835 -  echo "$as_me:1848: \$? = $ac_status" >&5
2836 +  echo "$as_me:1850: \$? = $ac_status" >&5
2837    (exit $ac_status); } &&
2838           { ac_try='test -s conftest.$ac_objext'
2839 -  { (eval echo "$as_me:1851: \"$ac_try\"") >&5
2840 +  { (eval echo "$as_me:1853: \"$ac_try\"") >&5
2841    (eval $ac_try) 2>&5
2842    ac_status=$?
2843 -  echo "$as_me:1854: \$? = $ac_status" >&5
2844 +  echo "$as_me:1856: \$? = $ac_status" >&5
2845    (exit $ac_status); }; }; then
2846    break
2847  else
2848 @@ -1890,7 +1892,7 @@
2849  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2850  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2851  # ./install, which can be erroneously created by make from ./install.sh.
2852 -echo "$as_me:1893: checking for a BSD compatible install" >&5
2853 +echo "$as_me:1895: checking for a BSD compatible install" >&5
2854  echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
2855  if test -z "$INSTALL"; then
2856  if test "${ac_cv_path_install+set}" = set; then
2857 @@ -1939,7 +1941,7 @@
2858      INSTALL=$ac_install_sh
2859    fi
2860  fi
2861 -echo "$as_me:1942: result: $INSTALL" >&5
2862 +echo "$as_me:1944: result: $INSTALL" >&5
2863  echo "${ECHO_T}$INSTALL" >&6
2864  
2865  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2866 @@ -1950,7 +1952,7 @@
2867  
2868  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2869  
2870 -echo "$as_me:1953: checking whether ${MAKE-make} sets \${MAKE}" >&5
2871 +echo "$as_me:1955: checking whether ${MAKE-make} sets \${MAKE}" >&5
2872  echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
2873  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
2874  if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2875 @@ -1970,11 +1972,11 @@
2876  rm -f conftest.make
2877  fi
2878  if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2879 -  echo "$as_me:1973: result: yes" >&5
2880 +  echo "$as_me:1975: result: yes" >&5
2881  echo "${ECHO_T}yes" >&6
2882    SET_MAKE=
2883  else
2884 -  echo "$as_me:1977: result: no" >&5
2885 +  echo "$as_me:1979: result: no" >&5
2886  echo "${ECHO_T}no" >&6
2887    SET_MAKE="MAKE=${MAKE-make}"
2888  fi
2889 @@ -1984,7 +1986,7 @@
2890  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2891  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2892  ac_compiler_gnu=$ac_cv_c_compiler_gnu
2893 -echo "$as_me:1987: checking how to run the C preprocessor" >&5
2894 +echo "$as_me:1989: checking how to run the C preprocessor" >&5
2895  echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2896  # On Suns, sometimes $CPP names a directory.
2897  if test -n "$CPP" && test -d "$CPP"; then
2898 @@ -2005,18 +2007,18 @@
2899    # On the NeXT, cc -E runs the code through the compiler's parser,
2900    # not just through cpp. "Syntax error" is here to catch this case.
2901    cat >conftest.$ac_ext <<_ACEOF
2902 -#line 2008 "configure"
2903 +#line 2010 "configure"
2904  #include "confdefs.h"
2905  #include <assert.h>
2906                       Syntax error
2907  _ACEOF
2908 -if { (eval echo "$as_me:2013: \"$ac_cpp conftest.$ac_ext\"") >&5
2909 +if { (eval echo "$as_me:2015: \"$ac_cpp conftest.$ac_ext\"") >&5
2910    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2911    ac_status=$?
2912    egrep -v '^ *\+' conftest.er1 >conftest.err
2913    rm -f conftest.er1
2914    cat conftest.err >&5
2915 -  echo "$as_me:2019: \$? = $ac_status" >&5
2916 +  echo "$as_me:2021: \$? = $ac_status" >&5
2917    (exit $ac_status); } >/dev/null; then
2918    if test -s conftest.err; then
2919      ac_cpp_err=$ac_c_preproc_warn_flag
2920 @@ -2039,17 +2041,17 @@
2921    # OK, works on sane cases.  Now check whether non-existent headers
2922    # can be detected and how.
2923    cat >conftest.$ac_ext <<_ACEOF
2924 -#line 2042 "configure"
2925 +#line 2044 "configure"
2926  #include "confdefs.h"
2927  #include <ac_nonexistent.h>
2928  _ACEOF
2929 -if { (eval echo "$as_me:2046: \"$ac_cpp conftest.$ac_ext\"") >&5
2930 +if { (eval echo "$as_me:2048: \"$ac_cpp conftest.$ac_ext\"") >&5
2931    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2932    ac_status=$?
2933    egrep -v '^ *\+' conftest.er1 >conftest.err
2934    rm -f conftest.er1
2935    cat conftest.err >&5
2936 -  echo "$as_me:2052: \$? = $ac_status" >&5
2937 +  echo "$as_me:2054: \$? = $ac_status" >&5
2938    (exit $ac_status); } >/dev/null; then
2939    if test -s conftest.err; then
2940      ac_cpp_err=$ac_c_preproc_warn_flag
2941 @@ -2086,7 +2088,7 @@
2942  else
2943    ac_cv_prog_CPP=$CPP
2944  fi
2945 -echo "$as_me:2089: result: $CPP" >&5
2946 +echo "$as_me:2091: result: $CPP" >&5
2947  echo "${ECHO_T}$CPP" >&6
2948  ac_preproc_ok=false
2949  for ac_c_preproc_warn_flag in '' yes
2950 @@ -2096,18 +2098,18 @@
2951    # On the NeXT, cc -E runs the code through the compiler's parser,
2952    # not just through cpp. "Syntax error" is here to catch this case.
2953    cat >conftest.$ac_ext <<_ACEOF
2954 -#line 2099 "configure"
2955 +#line 2101 "configure"
2956  #include "confdefs.h"
2957  #include <assert.h>
2958                       Syntax error
2959  _ACEOF
2960 -if { (eval echo "$as_me:2104: \"$ac_cpp conftest.$ac_ext\"") >&5
2961 +if { (eval echo "$as_me:2106: \"$ac_cpp conftest.$ac_ext\"") >&5
2962    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2963    ac_status=$?
2964    egrep -v '^ *\+' conftest.er1 >conftest.err
2965    rm -f conftest.er1
2966    cat conftest.err >&5
2967 -  echo "$as_me:2110: \$? = $ac_status" >&5
2968 +  echo "$as_me:2112: \$? = $ac_status" >&5
2969    (exit $ac_status); } >/dev/null; then
2970    if test -s conftest.err; then
2971      ac_cpp_err=$ac_c_preproc_warn_flag
2972 @@ -2130,17 +2132,17 @@
2973    # OK, works on sane cases.  Now check whether non-existent headers
2974    # can be detected and how.
2975    cat >conftest.$ac_ext <<_ACEOF
2976 -#line 2133 "configure"
2977 +#line 2135 "configure"
2978  #include "confdefs.h"
2979  #include <ac_nonexistent.h>
2980  _ACEOF
2981 -if { (eval echo "$as_me:2137: \"$ac_cpp conftest.$ac_ext\"") >&5
2982 +if { (eval echo "$as_me:2139: \"$ac_cpp conftest.$ac_ext\"") >&5
2983    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2984    ac_status=$?
2985    egrep -v '^ *\+' conftest.er1 >conftest.err
2986    rm -f conftest.er1
2987    cat conftest.err >&5
2988 -  echo "$as_me:2143: \$? = $ac_status" >&5
2989 +  echo "$as_me:2145: \$? = $ac_status" >&5
2990    (exit $ac_status); } >/dev/null; then
2991    if test -s conftest.err; then
2992      ac_cpp_err=$ac_c_preproc_warn_flag
2993 @@ -2168,7 +2170,7 @@
2994  if $ac_preproc_ok; then
2995    :
2996  else
2997 -  { { echo "$as_me:2171: error: C preprocessor \"$CPP\" fails sanity check" >&5
2998 +  { { echo "$as_me:2173: error: C preprocessor \"$CPP\" fails sanity check" >&5
2999  echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
3000     { (exit 1); exit 1; }; }
3001  fi
3002 @@ -2180,14 +2182,14 @@
3003  ac_compiler_gnu=$ac_cv_c_compiler_gnu
3004  
3005  if test $ac_cv_c_compiler_gnu = yes; then
3006 -    echo "$as_me:2183: checking whether $CC needs -traditional" >&5
3007 +    echo "$as_me:2185: checking whether $CC needs -traditional" >&5
3008  echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
3009  if test "${ac_cv_prog_gcc_traditional+set}" = set; then
3010    echo $ECHO_N "(cached) $ECHO_C" >&6
3011  else
3012      ac_pattern="Autoconf.*'x'"
3013    cat >conftest.$ac_ext <<_ACEOF
3014 -#line 2190 "configure"
3015 +#line 2192 "configure"
3016  #include "confdefs.h"
3017  #include <sgtty.h>
3018  Autoconf TIOCGETP
3019 @@ -2202,7 +2204,7 @@
3020  
3021    if test $ac_cv_prog_gcc_traditional = no; then
3022      cat >conftest.$ac_ext <<_ACEOF
3023 -#line 2205 "configure"
3024 +#line 2207 "configure"
3025  #include "confdefs.h"
3026  #include <termio.h>
3027  Autoconf TCGETA
3028 @@ -2215,14 +2217,14 @@
3029  
3030    fi
3031  fi
3032 -echo "$as_me:2218: result: $ac_cv_prog_gcc_traditional" >&5
3033 +echo "$as_me:2220: result: $ac_cv_prog_gcc_traditional" >&5
3034  echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
3035    if test $ac_cv_prog_gcc_traditional = yes; then
3036      CC="$CC -traditional"
3037    fi
3038  fi
3039  
3040 -echo "$as_me:2225: checking whether byte ordering is bigendian" >&5
3041 +echo "$as_me:2227: checking whether byte ordering is bigendian" >&5
3042  echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
3043  if test "${ac_cv_c_bigendian+set}" = set; then
3044    echo $ECHO_N "(cached) $ECHO_C" >&6
3045 @@ -2230,7 +2232,7 @@
3046    ac_cv_c_bigendian=unknown
3047  # See if sys/param.h defines the BYTE_ORDER macro.
3048  cat >conftest.$ac_ext <<_ACEOF
3049 -#line 2233 "configure"
3050 +#line 2235 "configure"
3051  #include "confdefs.h"
3052  #include <sys/types.h>
3053  #include <sys/param.h>
3054 @@ -2247,20 +2249,20 @@
3055  }
3056  _ACEOF
3057  rm -f conftest.$ac_objext
3058 -if { (eval echo "$as_me:2250: \"$ac_compile\"") >&5
3059 +if { (eval echo "$as_me:2252: \"$ac_compile\"") >&5
3060    (eval $ac_compile) 2>&5
3061    ac_status=$?
3062 -  echo "$as_me:2253: \$? = $ac_status" >&5
3063 +  echo "$as_me:2255: \$? = $ac_status" >&5
3064    (exit $ac_status); } &&
3065           { ac_try='test -s conftest.$ac_objext'
3066 -  { (eval echo "$as_me:2256: \"$ac_try\"") >&5
3067 +  { (eval echo "$as_me:2258: \"$ac_try\"") >&5
3068    (eval $ac_try) 2>&5
3069    ac_status=$?
3070 -  echo "$as_me:2259: \$? = $ac_status" >&5
3071 +  echo "$as_me:2261: \$? = $ac_status" >&5
3072    (exit $ac_status); }; }; then
3073    # It does; now see whether it defined to BIG_ENDIAN or not.
3074  cat >conftest.$ac_ext <<_ACEOF
3075 -#line 2263 "configure"
3076 +#line 2265 "configure"
3077  #include "confdefs.h"
3078  #include <sys/types.h>
3079  #include <sys/param.h>
3080 @@ -2277,16 +2279,16 @@
3081  }
3082  _ACEOF
3083  rm -f conftest.$ac_objext
3084 -if { (eval echo "$as_me:2280: \"$ac_compile\"") >&5
3085 +if { (eval echo "$as_me:2282: \"$ac_compile\"") >&5
3086    (eval $ac_compile) 2>&5
3087    ac_status=$?
3088 -  echo "$as_me:2283: \$? = $ac_status" >&5
3089 +  echo "$as_me:2285: \$? = $ac_status" >&5
3090    (exit $ac_status); } &&
3091           { ac_try='test -s conftest.$ac_objext'
3092 -  { (eval echo "$as_me:2286: \"$ac_try\"") >&5
3093 +  { (eval echo "$as_me:2288: \"$ac_try\"") >&5
3094    (eval $ac_try) 2>&5
3095    ac_status=$?
3096 -  echo "$as_me:2289: \$? = $ac_status" >&5
3097 +  echo "$as_me:2291: \$? = $ac_status" >&5
3098    (exit $ac_status); }; }; then
3099    ac_cv_c_bigendian=yes
3100  else
3101 @@ -2302,12 +2304,12 @@
3102  rm -f conftest.$ac_objext conftest.$ac_ext
3103  if test $ac_cv_c_bigendian = unknown; then
3104  if test "$cross_compiling" = yes; then
3105 -  { { echo "$as_me:2305: error: cannot run test program while cross compiling" >&5
3106 +  { { echo "$as_me:2307: error: cannot run test program while cross compiling" >&5
3107  echo "$as_me: error: cannot run test program while cross compiling" >&2;}
3108     { (exit 1); exit 1; }; }
3109  else
3110    cat >conftest.$ac_ext <<_ACEOF
3111 -#line 2310 "configure"
3112 +#line 2312 "configure"
3113  #include "confdefs.h"
3114  int
3115  main ()
3116 @@ -2323,15 +2325,15 @@
3117  }
3118  _ACEOF
3119  rm -f conftest$ac_exeext
3120 -if { (eval echo "$as_me:2326: \"$ac_link\"") >&5
3121 +if { (eval echo "$as_me:2328: \"$ac_link\"") >&5
3122    (eval $ac_link) 2>&5
3123    ac_status=$?
3124 -  echo "$as_me:2329: \$? = $ac_status" >&5
3125 +  echo "$as_me:2331: \$? = $ac_status" >&5
3126    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3127 -  { (eval echo "$as_me:2331: \"$ac_try\"") >&5
3128 +  { (eval echo "$as_me:2333: \"$ac_try\"") >&5
3129    (eval $ac_try) 2>&5
3130    ac_status=$?
3131 -  echo "$as_me:2334: \$? = $ac_status" >&5
3132 +  echo "$as_me:2336: \$? = $ac_status" >&5
3133    (exit $ac_status); }; }; then
3134    ac_cv_c_bigendian=no
3135  else
3136 @@ -2344,7 +2346,7 @@
3137  fi
3138  fi
3139  fi
3140 -echo "$as_me:2347: result: $ac_cv_c_bigendian" >&5
3141 +echo "$as_me:2349: result: $ac_cv_c_bigendian" >&5
3142  echo "${ECHO_T}$ac_cv_c_bigendian" >&6
3143  if test $ac_cv_c_bigendian = yes; then
3144  
3145 @@ -2354,13 +2356,13 @@
3146  
3147  fi
3148  
3149 -echo "$as_me:2357: checking for ANSI C header files" >&5
3150 +echo "$as_me:2359: checking for ANSI C header files" >&5
3151  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3152  if test "${ac_cv_header_stdc+set}" = set; then
3153    echo $ECHO_N "(cached) $ECHO_C" >&6
3154  else
3155    cat >conftest.$ac_ext <<_ACEOF
3156 -#line 2363 "configure"
3157 +#line 2365 "configure"
3158  #include "confdefs.h"
3159  #include <stdlib.h>
3160  #include <stdarg.h>
3161 @@ -2368,13 +2370,13 @@
3162  #include <float.h>
3163  
3164  _ACEOF
3165 -if { (eval echo "$as_me:2371: \"$ac_cpp conftest.$ac_ext\"") >&5
3166 +if { (eval echo "$as_me:2373: \"$ac_cpp conftest.$ac_ext\"") >&5
3167    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3168    ac_status=$?
3169    egrep -v '^ *\+' conftest.er1 >conftest.err
3170    rm -f conftest.er1
3171    cat conftest.err >&5
3172 -  echo "$as_me:2377: \$? = $ac_status" >&5
3173 +  echo "$as_me:2379: \$? = $ac_status" >&5
3174    (exit $ac_status); } >/dev/null; then
3175    if test -s conftest.err; then
3176      ac_cpp_err=$ac_c_preproc_warn_flag
3177 @@ -2396,7 +2398,7 @@
3178  if test $ac_cv_header_stdc = yes; then
3179    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3180    cat >conftest.$ac_ext <<_ACEOF
3181 -#line 2399 "configure"
3182 +#line 2401 "configure"
3183  #include "confdefs.h"
3184  #include <string.h>
3185  
3186 @@ -2414,7 +2416,7 @@
3187  if test $ac_cv_header_stdc = yes; then
3188    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3189    cat >conftest.$ac_ext <<_ACEOF
3190 -#line 2417 "configure"
3191 +#line 2419 "configure"
3192  #include "confdefs.h"
3193  #include <stdlib.h>
3194  
3195 @@ -2435,7 +2437,7 @@
3196    :
3197  else
3198    cat >conftest.$ac_ext <<_ACEOF
3199 -#line 2438 "configure"
3200 +#line 2440 "configure"
3201  #include "confdefs.h"
3202  #include <ctype.h>
3203  #if ((' ' & 0x0FF) == 0x020)
3204 @@ -2461,15 +2463,15 @@
3205  }
3206  _ACEOF
3207  rm -f conftest$ac_exeext
3208 -if { (eval echo "$as_me:2464: \"$ac_link\"") >&5
3209 +if { (eval echo "$as_me:2466: \"$ac_link\"") >&5
3210    (eval $ac_link) 2>&5
3211    ac_status=$?
3212 -  echo "$as_me:2467: \$? = $ac_status" >&5
3213 +  echo "$as_me:2469: \$? = $ac_status" >&5
3214    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3215 -  { (eval echo "$as_me:2469: \"$ac_try\"") >&5
3216 +  { (eval echo "$as_me:2471: \"$ac_try\"") >&5
3217    (eval $ac_try) 2>&5
3218    ac_status=$?
3219 -  echo "$as_me:2472: \$? = $ac_status" >&5
3220 +  echo "$as_me:2474: \$? = $ac_status" >&5
3221    (exit $ac_status); }; }; then
3222    :
3223  else
3224 @@ -2482,7 +2484,7 @@
3225  fi
3226  fi
3227  fi
3228 -echo "$as_me:2485: result: $ac_cv_header_stdc" >&5
3229 +echo "$as_me:2487: result: $ac_cv_header_stdc" >&5
3230  echo "${ECHO_T}$ac_cv_header_stdc" >&6
3231  if test $ac_cv_header_stdc = yes; then
3232  
3233 @@ -2495,13 +2497,13 @@
3234  ac_header_dirent=no
3235  for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
3236    as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
3237 -echo "$as_me:2498: checking for $ac_hdr that defines DIR" >&5
3238 +echo "$as_me:2500: checking for $ac_hdr that defines DIR" >&5
3239  echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
3240  if eval "test \"\${$as_ac_Header+set}\" = set"; then
3241    echo $ECHO_N "(cached) $ECHO_C" >&6
3242  else
3243    cat >conftest.$ac_ext <<_ACEOF
3244 -#line 2504 "configure"
3245 +#line 2506 "configure"
3246  #include "confdefs.h"
3247  #include <sys/types.h>
3248  #include <$ac_hdr>
3249 @@ -2516,16 +2518,16 @@
3250  }
3251  _ACEOF
3252  rm -f conftest.$ac_objext
3253 -if { (eval echo "$as_me:2519: \"$ac_compile\"") >&5
3254 +if { (eval echo "$as_me:2521: \"$ac_compile\"") >&5
3255    (eval $ac_compile) 2>&5
3256    ac_status=$?
3257 -  echo "$as_me:2522: \$? = $ac_status" >&5
3258 +  echo "$as_me:2524: \$? = $ac_status" >&5
3259    (exit $ac_status); } &&
3260           { ac_try='test -s conftest.$ac_objext'
3261 -  { (eval echo "$as_me:2525: \"$ac_try\"") >&5
3262 +  { (eval echo "$as_me:2527: \"$ac_try\"") >&5
3263    (eval $ac_try) 2>&5
3264    ac_status=$?
3265 -  echo "$as_me:2528: \$? = $ac_status" >&5
3266 +  echo "$as_me:2530: \$? = $ac_status" >&5
3267    (exit $ac_status); }; }; then
3268    eval "$as_ac_Header=yes"
3269  else
3270 @@ -2535,7 +2537,7 @@
3271  fi
3272  rm -f conftest.$ac_objext conftest.$ac_ext
3273  fi
3274 -echo "$as_me:2538: result: `eval echo '${'$as_ac_Header'}'`" >&5
3275 +echo "$as_me:2540: result: `eval echo '${'$as_ac_Header'}'`" >&5
3276  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3277  if test `eval echo '${'$as_ac_Header'}'` = yes; then
3278    cat >>confdefs.h <<EOF
3279 @@ -2548,7 +2550,7 @@
3280  done
3281  # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
3282  if test $ac_header_dirent = dirent.h; then
3283 -  echo "$as_me:2551: checking for opendir in -ldir" >&5
3284 +  echo "$as_me:2553: checking for opendir in -ldir" >&5
3285  echo $ECHO_N "checking for opendir in -ldir... $ECHO_C" >&6
3286  if test "${ac_cv_lib_dir_opendir+set}" = set; then
3287    echo $ECHO_N "(cached) $ECHO_C" >&6
3288 @@ -2556,7 +2558,7 @@
3289    ac_check_lib_save_LIBS=$LIBS
3290  LIBS="-ldir  $LIBS"
3291  cat >conftest.$ac_ext <<_ACEOF
3292 -#line 2559 "configure"
3293 +#line 2561 "configure"
3294  #include "confdefs.h"
3295  
3296  /* Override any gcc2 internal prototype to avoid an error.  */
3297 @@ -2575,16 +2577,16 @@
3298  }
3299  _ACEOF
3300  rm -f conftest.$ac_objext conftest$ac_exeext
3301 -if { (eval echo "$as_me:2578: \"$ac_link\"") >&5
3302 +if { (eval echo "$as_me:2580: \"$ac_link\"") >&5
3303    (eval $ac_link) 2>&5
3304    ac_status=$?
3305 -  echo "$as_me:2581: \$? = $ac_status" >&5
3306 +  echo "$as_me:2583: \$? = $ac_status" >&5
3307    (exit $ac_status); } &&
3308           { ac_try='test -s conftest$ac_exeext'
3309 -  { (eval echo "$as_me:2584: \"$ac_try\"") >&5
3310 +  { (eval echo "$as_me:2586: \"$ac_try\"") >&5
3311    (eval $ac_try) 2>&5
3312    ac_status=$?
3313 -  echo "$as_me:2587: \$? = $ac_status" >&5
3314 +  echo "$as_me:2589: \$? = $ac_status" >&5
3315    (exit $ac_status); }; }; then
3316    ac_cv_lib_dir_opendir=yes
3317  else
3318 @@ -2595,14 +2597,14 @@
3319  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3320  LIBS=$ac_check_lib_save_LIBS
3321  fi
3322 -echo "$as_me:2598: result: $ac_cv_lib_dir_opendir" >&5
3323 +echo "$as_me:2600: result: $ac_cv_lib_dir_opendir" >&5
3324  echo "${ECHO_T}$ac_cv_lib_dir_opendir" >&6
3325  if test $ac_cv_lib_dir_opendir = yes; then
3326    LIBS="$LIBS -ldir"
3327  fi
3328  
3329  else
3330 -  echo "$as_me:2605: checking for opendir in -lx" >&5
3331 +  echo "$as_me:2607: checking for opendir in -lx" >&5
3332  echo $ECHO_N "checking for opendir in -lx... $ECHO_C" >&6
3333  if test "${ac_cv_lib_x_opendir+set}" = set; then
3334    echo $ECHO_N "(cached) $ECHO_C" >&6
3335 @@ -2610,7 +2612,7 @@
3336    ac_check_lib_save_LIBS=$LIBS
3337  LIBS="-lx  $LIBS"
3338  cat >conftest.$ac_ext <<_ACEOF
3339 -#line 2613 "configure"
3340 +#line 2615 "configure"
3341  #include "confdefs.h"
3342  
3343  /* Override any gcc2 internal prototype to avoid an error.  */
3344 @@ -2629,16 +2631,16 @@
3345  }
3346  _ACEOF
3347  rm -f conftest.$ac_objext conftest$ac_exeext
3348 -if { (eval echo "$as_me:2632: \"$ac_link\"") >&5
3349 +if { (eval echo "$as_me:2634: \"$ac_link\"") >&5
3350    (eval $ac_link) 2>&5
3351    ac_status=$?
3352 -  echo "$as_me:2635: \$? = $ac_status" >&5
3353 +  echo "$as_me:2637: \$? = $ac_status" >&5
3354    (exit $ac_status); } &&
3355           { ac_try='test -s conftest$ac_exeext'
3356 -  { (eval echo "$as_me:2638: \"$ac_try\"") >&5
3357 +  { (eval echo "$as_me:2640: \"$ac_try\"") >&5
3358    (eval $ac_try) 2>&5
3359    ac_status=$?
3360 -  echo "$as_me:2641: \$? = $ac_status" >&5
3361 +  echo "$as_me:2643: \$? = $ac_status" >&5
3362    (exit $ac_status); }; }; then
3363    ac_cv_lib_x_opendir=yes
3364  else
3365 @@ -2649,7 +2651,7 @@
3366  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3367  LIBS=$ac_check_lib_save_LIBS
3368  fi
3369 -echo "$as_me:2652: result: $ac_cv_lib_x_opendir" >&5
3370 +echo "$as_me:2654: result: $ac_cv_lib_x_opendir" >&5
3371  echo "${ECHO_T}$ac_cv_lib_x_opendir" >&6
3372  if test $ac_cv_lib_x_opendir = yes; then
3373    LIBS="$LIBS -lx"
3374 @@ -2657,13 +2659,13 @@
3375  
3376  fi
3377  
3378 -echo "$as_me:2660: checking whether time.h and sys/time.h may both be included" >&5
3379 +echo "$as_me:2662: checking whether time.h and sys/time.h may both be included" >&5
3380  echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
3381  if test "${ac_cv_header_time+set}" = set; then
3382    echo $ECHO_N "(cached) $ECHO_C" >&6
3383  else
3384    cat >conftest.$ac_ext <<_ACEOF
3385 -#line 2666 "configure"
3386 +#line 2668 "configure"
3387  #include "confdefs.h"
3388  #include <sys/types.h>
3389  #include <sys/time.h>
3390 @@ -2679,16 +2681,16 @@
3391  }
3392  _ACEOF
3393  rm -f conftest.$ac_objext
3394 -if { (eval echo "$as_me:2682: \"$ac_compile\"") >&5
3395 +if { (eval echo "$as_me:2684: \"$ac_compile\"") >&5
3396    (eval $ac_compile) 2>&5
3397    ac_status=$?
3398 -  echo "$as_me:2685: \$? = $ac_status" >&5
3399 +  echo "$as_me:2687: \$? = $ac_status" >&5
3400    (exit $ac_status); } &&
3401           { ac_try='test -s conftest.$ac_objext'
3402 -  { (eval echo "$as_me:2688: \"$ac_try\"") >&5
3403 +  { (eval echo "$as_me:2690: \"$ac_try\"") >&5
3404    (eval $ac_try) 2>&5
3405    ac_status=$?
3406 -  echo "$as_me:2691: \$? = $ac_status" >&5
3407 +  echo "$as_me:2693: \$? = $ac_status" >&5
3408    (exit $ac_status); }; }; then
3409    ac_cv_header_time=yes
3410  else
3411 @@ -2698,7 +2700,7 @@
3412  fi
3413  rm -f conftest.$ac_objext conftest.$ac_ext
3414  fi
3415 -echo "$as_me:2701: result: $ac_cv_header_time" >&5
3416 +echo "$as_me:2703: result: $ac_cv_header_time" >&5
3417  echo "${ECHO_T}$ac_cv_header_time" >&6
3418  if test $ac_cv_header_time = yes; then
3419  
3420 @@ -2711,23 +2713,23 @@
3421  for ac_header in getopt.h
3422  do
3423  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3424 -echo "$as_me:2714: checking for $ac_header" >&5
3425 +echo "$as_me:2716: checking for $ac_header" >&5
3426  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3427  if eval "test \"\${$as_ac_Header+set}\" = set"; then
3428    echo $ECHO_N "(cached) $ECHO_C" >&6
3429  else
3430    cat >conftest.$ac_ext <<_ACEOF
3431 -#line 2720 "configure"
3432 +#line 2722 "configure"
3433  #include "confdefs.h"
3434  #include <$ac_header>
3435  _ACEOF
3436 -if { (eval echo "$as_me:2724: \"$ac_cpp conftest.$ac_ext\"") >&5
3437 +if { (eval echo "$as_me:2726: \"$ac_cpp conftest.$ac_ext\"") >&5
3438    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3439    ac_status=$?
3440    egrep -v '^ *\+' conftest.er1 >conftest.err
3441    rm -f conftest.er1
3442    cat conftest.err >&5
3443 -  echo "$as_me:2730: \$? = $ac_status" >&5
3444 +  echo "$as_me:2732: \$? = $ac_status" >&5
3445    (exit $ac_status); } >/dev/null; then
3446    if test -s conftest.err; then
3447      ac_cpp_err=$ac_c_preproc_warn_flag
3448 @@ -2746,7 +2748,7 @@
3449  fi
3450  rm -f conftest.err conftest.$ac_ext
3451  fi
3452 -echo "$as_me:2749: result: `eval echo '${'$as_ac_Header'}'`" >&5
3453 +echo "$as_me:2751: result: `eval echo '${'$as_ac_Header'}'`" >&5
3454  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3455  if test `eval echo '${'$as_ac_Header'}'` = yes; then
3456    cat >>confdefs.h <<EOF
3457 @@ -2759,23 +2761,23 @@
3458  for ac_header in fcntl.h  termios.h ctype.h
3459  do
3460  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3461 -echo "$as_me:2762: checking for $ac_header" >&5
3462 +echo "$as_me:2764: checking for $ac_header" >&5
3463  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3464  if eval "test \"\${$as_ac_Header+set}\" = set"; then
3465    echo $ECHO_N "(cached) $ECHO_C" >&6
3466  else
3467    cat >conftest.$ac_ext <<_ACEOF
3468 -#line 2768 "configure"
3469 +#line 2770 "configure"
3470  #include "confdefs.h"
3471  #include <$ac_header>
3472  _ACEOF
3473 -if { (eval echo "$as_me:2772: \"$ac_cpp conftest.$ac_ext\"") >&5
3474 +if { (eval echo "$as_me:2774: \"$ac_cpp conftest.$ac_ext\"") >&5
3475    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3476    ac_status=$?
3477    egrep -v '^ *\+' conftest.er1 >conftest.err
3478    rm -f conftest.er1
3479    cat conftest.err >&5
3480 -  echo "$as_me:2778: \$? = $ac_status" >&5
3481 +  echo "$as_me:2780: \$? = $ac_status" >&5
3482    (exit $ac_status); } >/dev/null; then
3483    if test -s conftest.err; then
3484      ac_cpp_err=$ac_c_preproc_warn_flag
3485 @@ -2794,7 +2796,7 @@
3486  fi
3487  rm -f conftest.err conftest.$ac_ext
3488  fi
3489 -echo "$as_me:2797: result: `eval echo '${'$as_ac_Header'}'`" >&5
3490 +echo "$as_me:2799: result: `eval echo '${'$as_ac_Header'}'`" >&5
3491  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3492  if test `eval echo '${'$as_ac_Header'}'` = yes; then
3493    cat >>confdefs.h <<EOF
3494 @@ -2807,23 +2809,23 @@
3495  for ac_header in sys/time.h sys/utsname.h
3496  do
3497  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3498 -echo "$as_me:2810: checking for $ac_header" >&5
3499 +echo "$as_me:2812: checking for $ac_header" >&5
3500  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3501  if eval "test \"\${$as_ac_Header+set}\" = set"; then
3502    echo $ECHO_N "(cached) $ECHO_C" >&6
3503  else
3504    cat >conftest.$ac_ext <<_ACEOF
3505 -#line 2816 "configure"
3506 +#line 2818 "configure"
3507  #include "confdefs.h"
3508  #include <$ac_header>
3509  _ACEOF
3510 -if { (eval echo "$as_me:2820: \"$ac_cpp conftest.$ac_ext\"") >&5
3511 +if { (eval echo "$as_me:2822: \"$ac_cpp conftest.$ac_ext\"") >&5
3512    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3513    ac_status=$?
3514    egrep -v '^ *\+' conftest.er1 >conftest.err
3515    rm -f conftest.er1
3516    cat conftest.err >&5
3517 -  echo "$as_me:2826: \$? = $ac_status" >&5
3518 +  echo "$as_me:2828: \$? = $ac_status" >&5
3519    (exit $ac_status); } >/dev/null; then
3520    if test -s conftest.err; then
3521      ac_cpp_err=$ac_c_preproc_warn_flag
3522 @@ -2842,7 +2844,7 @@
3523  fi
3524  rm -f conftest.err conftest.$ac_ext
3525  fi
3526 -echo "$as_me:2845: result: `eval echo '${'$as_ac_Header'}'`" >&5
3527 +echo "$as_me:2847: result: `eval echo '${'$as_ac_Header'}'`" >&5
3528  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3529  if test `eval echo '${'$as_ac_Header'}'` = yes; then
3530    cat >>confdefs.h <<EOF
3531 @@ -2855,23 +2857,23 @@
3532  for ac_header in ifaddrs.h
3533  do
3534  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3535 -echo "$as_me:2858: checking for $ac_header" >&5
3536 +echo "$as_me:2860: checking for $ac_header" >&5
3537  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3538  if eval "test \"\${$as_ac_Header+set}\" = set"; then
3539    echo $ECHO_N "(cached) $ECHO_C" >&6
3540  else
3541    cat >conftest.$ac_ext <<_ACEOF
3542 -#line 2864 "configure"
3543 +#line 2866 "configure"
3544  #include "confdefs.h"
3545  #include <$ac_header>
3546  _ACEOF
3547 -if { (eval echo "$as_me:2868: \"$ac_cpp conftest.$ac_ext\"") >&5
3548 +if { (eval echo "$as_me:2870: \"$ac_cpp conftest.$ac_ext\"") >&5
3549    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3550    ac_status=$?
3551    egrep -v '^ *\+' conftest.er1 >conftest.err
3552    rm -f conftest.er1
3553    cat conftest.err >&5
3554 -  echo "$as_me:2874: \$? = $ac_status" >&5
3555 +  echo "$as_me:2876: \$? = $ac_status" >&5
3556    (exit $ac_status); } >/dev/null; then
3557    if test -s conftest.err; then
3558      ac_cpp_err=$ac_c_preproc_warn_flag
3559 @@ -2890,7 +2892,7 @@
3560  fi
3561  rm -f conftest.err conftest.$ac_ext
3562  fi
3563 -echo "$as_me:2893: result: `eval echo '${'$as_ac_Header'}'`" >&5
3564 +echo "$as_me:2895: result: `eval echo '${'$as_ac_Header'}'`" >&5
3565  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3566  if test `eval echo '${'$as_ac_Header'}'` = yes; then
3567    cat >>confdefs.h <<EOF
3568 @@ -2903,23 +2905,23 @@
3569  for ac_header in unistd.h stdlib.h signal.h stdarg.h sys/ioctl.h
3570  do
3571  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3572 -echo "$as_me:2906: checking for $ac_header" >&5
3573 +echo "$as_me:2908: checking for $ac_header" >&5
3574  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3575  if eval "test \"\${$as_ac_Header+set}\" = set"; then
3576    echo $ECHO_N "(cached) $ECHO_C" >&6
3577  else
3578    cat >conftest.$ac_ext <<_ACEOF
3579 -#line 2912 "configure"
3580 +#line 2914 "configure"
3581  #include "confdefs.h"
3582  #include <$ac_header>
3583  _ACEOF
3584 -if { (eval echo "$as_me:2916: \"$ac_cpp conftest.$ac_ext\"") >&5
3585 +if { (eval echo "$as_me:2918: \"$ac_cpp conftest.$ac_ext\"") >&5
3586    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3587    ac_status=$?
3588    egrep -v '^ *\+' conftest.er1 >conftest.err
3589    rm -f conftest.er1
3590    cat conftest.err >&5
3591 -  echo "$as_me:2922: \$? = $ac_status" >&5
3592 +  echo "$as_me:2924: \$? = $ac_status" >&5
3593    (exit $ac_status); } >/dev/null; then
3594    if test -s conftest.err; then
3595      ac_cpp_err=$ac_c_preproc_warn_flag
3596 @@ -2938,7 +2940,7 @@
3597  fi
3598  rm -f conftest.err conftest.$ac_ext
3599  fi
3600 -echo "$as_me:2941: result: `eval echo '${'$as_ac_Header'}'`" >&5
3601 +echo "$as_me:2943: result: `eval echo '${'$as_ac_Header'}'`" >&5
3602  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3603  if test `eval echo '${'$as_ac_Header'}'` = yes; then
3604    cat >>confdefs.h <<EOF
3605 @@ -2946,11 +2948,11 @@
3606  EOF
3607  
3608  else
3609 -  { echo "$as_me:2949: WARNING: **************************************************" >&5
3610 +  { echo "$as_me:2951: WARNING: **************************************************" >&5
3611  echo "$as_me: WARNING: **************************************************" >&2;};
3612 -       { echo "$as_me:2951: WARNING: * REQUIRED !! I cant believe U don't have this !!*" >&5
3613 +       { echo "$as_me:2953: WARNING: * REQUIRED !! I cant believe U don't have this !!*" >&5
3614  echo "$as_me: WARNING: * REQUIRED !! I cant believe U don't have this !!*" >&2;};
3615 -       { echo "$as_me:2953: WARNING: **************************************************" >&5
3616 +       { echo "$as_me:2955: WARNING: **************************************************" >&5
3617  echo "$as_me: WARNING: **************************************************" >&2;};
3618         exit
3619  fi
3620 @@ -2959,23 +2961,23 @@
3621  for ac_header in sys/ipc.h sys/shm.h dirent.h errno.h
3622  do
3623  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3624 -echo "$as_me:2962: checking for $ac_header" >&5
3625 +echo "$as_me:2964: checking for $ac_header" >&5
3626  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3627  if eval "test \"\${$as_ac_Header+set}\" = set"; then
3628    echo $ECHO_N "(cached) $ECHO_C" >&6
3629  else
3630    cat >conftest.$ac_ext <<_ACEOF
3631 -#line 2968 "configure"
3632 +#line 2970 "configure"
3633  #include "confdefs.h"
3634  #include <$ac_header>
3635  _ACEOF
3636 -if { (eval echo "$as_me:2972: \"$ac_cpp conftest.$ac_ext\"") >&5
3637 +if { (eval echo "$as_me:2974: \"$ac_cpp conftest.$ac_ext\"") >&5
3638    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3639    ac_status=$?
3640    egrep -v '^ *\+' conftest.er1 >conftest.err
3641    rm -f conftest.er1
3642    cat conftest.err >&5
3643 -  echo "$as_me:2978: \$? = $ac_status" >&5
3644 +  echo "$as_me:2980: \$? = $ac_status" >&5
3645    (exit $ac_status); } >/dev/null; then
3646    if test -s conftest.err; then
3647      ac_cpp_err=$ac_c_preproc_warn_flag
3648 @@ -2994,7 +2996,7 @@
3649  fi
3650  rm -f conftest.err conftest.$ac_ext
3651  fi
3652 -echo "$as_me:2997: result: `eval echo '${'$as_ac_Header'}'`" >&5
3653 +echo "$as_me:2999: result: `eval echo '${'$as_ac_Header'}'`" >&5
3654  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3655  if test `eval echo '${'$as_ac_Header'}'` = yes; then
3656    cat >>confdefs.h <<EOF
3657 @@ -3002,11 +3004,11 @@
3658  EOF
3659  
3660  else
3661 -  { echo "$as_me:3005: WARNING: ***************" >&5
3662 +  { echo "$as_me:3007: WARNING: ***************" >&5
3663  echo "$as_me: WARNING: ***************" >&2;};
3664 -       { echo "$as_me:3007: WARNING: * REQUIRED !! *" >&5
3665 +       { echo "$as_me:3009: WARNING: * REQUIRED !! *" >&5
3666  echo "$as_me: WARNING: * REQUIRED !! *" >&2;};
3667 -       { echo "$as_me:3009: WARNING: ***************" >&5
3668 +       { echo "$as_me:3011: WARNING: ***************" >&5
3669  echo "$as_me: WARNING: ***************" >&2;};
3670         exit
3671  fi
3672 @@ -3015,23 +3017,23 @@
3673  for ac_header in net/ethernet.h net/if_arp.h net/if.h
3674  do
3675  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3676 -echo "$as_me:3018: checking for $ac_header" >&5
3677 +echo "$as_me:3020: checking for $ac_header" >&5
3678  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3679  if eval "test \"\${$as_ac_Header+set}\" = set"; then
3680    echo $ECHO_N "(cached) $ECHO_C" >&6
3681  else
3682    cat >conftest.$ac_ext <<_ACEOF
3683 -#line 3024 "configure"
3684 +#line 3026 "configure"
3685  #include "confdefs.h"
3686  #include <$ac_header>
3687  _ACEOF
3688 -if { (eval echo "$as_me:3028: \"$ac_cpp conftest.$ac_ext\"") >&5
3689 +if { (eval echo "$as_me:3030: \"$ac_cpp conftest.$ac_ext\"") >&5
3690    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3691    ac_status=$?
3692    egrep -v '^ *\+' conftest.er1 >conftest.err
3693    rm -f conftest.er1
3694    cat conftest.err >&5
3695 -  echo "$as_me:3034: \$? = $ac_status" >&5
3696 +  echo "$as_me:3036: \$? = $ac_status" >&5
3697    (exit $ac_status); } >/dev/null; then
3698    if test -s conftest.err; then
3699      ac_cpp_err=$ac_c_preproc_warn_flag
3700 @@ -3050,7 +3052,7 @@
3701  fi
3702  rm -f conftest.err conftest.$ac_ext
3703  fi
3704 -echo "$as_me:3053: result: `eval echo '${'$as_ac_Header'}'`" >&5
3705 +echo "$as_me:3055: result: `eval echo '${'$as_ac_Header'}'`" >&5
3706  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3707  if test `eval echo '${'$as_ac_Header'}'` = yes; then
3708    cat >>confdefs.h <<EOF
3709 @@ -3063,23 +3065,23 @@
3710  for ac_header in netinet/ip.h netinet/ip_icmp.h netinet/tcp.h
3711  do
3712  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3713 -echo "$as_me:3066: checking for $ac_header" >&5
3714 +echo "$as_me:3068: checking for $ac_header" >&5
3715  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3716  if eval "test \"\${$as_ac_Header+set}\" = set"; then
3717    echo $ECHO_N "(cached) $ECHO_C" >&6
3718  else
3719    cat >conftest.$ac_ext <<_ACEOF
3720 -#line 3072 "configure"
3721 +#line 3074 "configure"
3722  #include "confdefs.h"
3723  #include <$ac_header>
3724  _ACEOF
3725 -if { (eval echo "$as_me:3076: \"$ac_cpp conftest.$ac_ext\"") >&5
3726 +if { (eval echo "$as_me:3078: \"$ac_cpp conftest.$ac_ext\"") >&5
3727    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3728    ac_status=$?
3729    egrep -v '^ *\+' conftest.er1 >conftest.err
3730    rm -f conftest.er1
3731    cat conftest.err >&5
3732 -  echo "$as_me:3082: \$? = $ac_status" >&5
3733 +  echo "$as_me:3084: \$? = $ac_status" >&5
3734    (exit $ac_status); } >/dev/null; then
3735    if test -s conftest.err; then
3736      ac_cpp_err=$ac_c_preproc_warn_flag
3737 @@ -3098,7 +3100,7 @@
3738  fi
3739  rm -f conftest.err conftest.$ac_ext
3740  fi
3741 -echo "$as_me:3101: result: `eval echo '${'$as_ac_Header'}'`" >&5
3742 +echo "$as_me:3103: result: `eval echo '${'$as_ac_Header'}'`" >&5
3743  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3744  if test `eval echo '${'$as_ac_Header'}'` = yes; then
3745    cat >>confdefs.h <<EOF
3746 @@ -3110,147 +3112,20 @@
3747  
3748  if test "$OS" = "LINUX"; then
3749  
3750 -                                       id=`id -u`
3751 -               echo "$as_me:3114: checking for correct UID" >&5
3752 -echo $ECHO_N "checking for correct UID... $ECHO_C" >&6
3753 -               if test ${id} -gt 0; then
3754 -                       echo "$as_me:3117: result: ${id}. not sufficient" >&5
3755 -echo "${ECHO_T}${id}. not sufficient" >&6
3756 -                       { echo "$as_me:3119: WARNING: ***********************************************" >&5
3757 -echo "$as_me: WARNING: ***********************************************" >&2;};
3758 -                       { echo "$as_me:3121: WARNING: * This configure must run with UID 0 (root)!! *" >&5
3759 -echo "$as_me: WARNING: * This configure must run with UID 0 (root)!! *" >&2;};
3760 -                       { echo "$as_me:3123: WARNING: ***********************************************" >&5
3761 -echo "$as_me: WARNING: ***********************************************" >&2;};
3762 -                       rm -f *.cache *.log
3763 -                       exit;
3764 -               else
3765 -                       echo "$as_me:3128: result: $UID ok root let's go..." >&5
3766 -echo "${ECHO_T}$UID ok root let's go..." >&6
3767 -               fi
3768 -
3769 -       echo "$as_me:3132: checking if you can create PF_PACKET socket" >&5
3770 -echo $ECHO_N "checking if you can create PF_PACKET socket... $ECHO_C" >&6
3771 -       if test "$cross_compiling" = yes; then
3772 -  echo "$as_me:3135: result: no when cross-compiling" >&5
3773 -echo "${ECHO_T}no when cross-compiling" >&6
3774 -
3775 -else
3776 -  cat >conftest.$ac_ext <<_ACEOF
3777 -#line 3140 "configure"
3778 -#include "confdefs.h"
3779 -
3780 -       #include <arpa/inet.h>
3781 -       #include <sys/socket.h>
3782 -       #include <features.h>         /* for the glibc version number */
3783 -       #if __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1
3784 -       #include <net/ethernet.h>     /* the L2 protocols */
3785 -       #else
3786 -       #include <asm/types.h>
3787 -       #include <linux/if_ether.h>   /* The L2 protocols */
3788 -       #endif
3789 -       int main()
3790 -       {
3791 -               int sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL));
3792 -               if (sock < 0)
3793 -                       exit(1);
3794 -
3795 -               return 0;
3796 -       }
3797 -
3798 -_ACEOF
3799 -rm -f conftest$ac_exeext
3800 -if { (eval echo "$as_me:3163: \"$ac_link\"") >&5
3801 -  (eval $ac_link) 2>&5
3802 -  ac_status=$?
3803 -  echo "$as_me:3166: \$? = $ac_status" >&5
3804 -  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3805 -  { (eval echo "$as_me:3168: \"$ac_try\"") >&5
3806 -  (eval $ac_try) 2>&5
3807 -  ac_status=$?
3808 -  echo "$as_me:3171: \$? = $ac_status" >&5
3809 -  (exit $ac_status); }; }; then
3810 -       echo "$as_me:3173: result: yes" >&5
3811 -echo "${ECHO_T}yes" >&6
3812                 cat >>confdefs.h <<\EOF
3813  #define HAVE_PF_PACKET 1
3814  EOF
3815  
3816 -else
3817 -  echo "$as_me: program exited with status $ac_status" >&5
3818 -echo "$as_me: failed program was:" >&5
3819 -cat conftest.$ac_ext >&5
3820 -echo "$as_me:3183: result: no" >&5
3821 -echo "${ECHO_T}no" >&6;
3822 -               nopf=1
3823 -fi
3824 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3825 -fi
3826 -
3827 -       echo "$as_me:3190: checking if you can create SOCK_PACKET socket" >&5
3828 -echo $ECHO_N "checking if you can create SOCK_PACKET socket... $ECHO_C" >&6
3829 -       if test "$cross_compiling" = yes; then
3830 -  echo "$as_me:3193: result: no when cross-compiling" >&5
3831 -echo "${ECHO_T}no when cross-compiling" >&6
3832 -
3833 -else
3834 -  cat >conftest.$ac_ext <<_ACEOF
3835 -#line 3198 "configure"
3836 -#include "confdefs.h"
3837 -
3838 -       #include <arpa/inet.h>
3839 -       #include <sys/socket.h>
3840 -       #include <features.h>         /* for the glibc version number */
3841 -       #if __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1
3842 -       #include <net/ethernet.h>     /* the L2 protocols */
3843 -       #else
3844 -       #include <asm/types.h>
3845 -       #include <linux/if_ether.h>   /* The L2 protocols */
3846 -       #endif
3847 -       int main()
3848 -       {
3849 -               int sock = socket(AF_INET, SOCK_PACKET, htons(ETH_P_ALL));
3850 -               if (sock < 0)
3851 -                       exit(1);
3852 -
3853 -               return 0;
3854 -       }
3855 -
3856 -_ACEOF
3857 -rm -f conftest$ac_exeext
3858 -if { (eval echo "$as_me:3221: \"$ac_link\"") >&5
3859 -  (eval $ac_link) 2>&5
3860 -  ac_status=$?
3861 -  echo "$as_me:3224: \$? = $ac_status" >&5
3862 -  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3863 -  { (eval echo "$as_me:3226: \"$ac_try\"") >&5
3864 -  (eval $ac_try) 2>&5
3865 -  ac_status=$?
3866 -  echo "$as_me:3229: \$? = $ac_status" >&5
3867 -  (exit $ac_status); }; }; then
3868 -       echo "$as_me:3231: result: yes" >&5
3869 -echo "${ECHO_T}yes" >&6
3870                 cat >>confdefs.h <<\EOF
3871  #define HAVE_SOCK_PACKET 1
3872  EOF
3873  
3874 -else
3875 -  echo "$as_me: program exited with status $ac_status" >&5
3876 -echo "$as_me: failed program was:" >&5
3877 -cat conftest.$ac_ext >&5
3878 -echo "$as_me:3241: result: no" >&5
3879 -echo "${ECHO_T}no" >&6;
3880 -               nosock=1
3881 -fi
3882 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3883 -fi
3884 -
3885                 if test "$nopf" = 1 && test "$nosock" = 1; then
3886 -                       { echo "$as_me:3249: WARNING: *************************************" >&5
3887 +                       { echo "$as_me:3124: WARNING: *************************************" >&5
3888  echo "$as_me: WARNING: *************************************" >&2;};
3889 -                       { echo "$as_me:3251: WARNING: * You can't create Socket Packet !! *" >&5
3890 +                       { echo "$as_me:3126: WARNING: * You can't create Socket Packet !! *" >&5
3891  echo "$as_me: WARNING: * You can't create Socket Packet !! *" >&2;};
3892 -                       { echo "$as_me:3253: WARNING: *************************************" >&5
3893 +                       { echo "$as_me:3128: WARNING: *************************************" >&5
3894  echo "$as_me: WARNING: *************************************" >&2;};
3895                         exit;
3896                 fi
3897 @@ -3259,7 +3134,7 @@
3898  do
3899    # Extract the first word of "$ac_prog", so it can be a program name with args.
3900  set dummy $ac_prog; ac_word=$2
3901 -echo "$as_me:3262: checking for $ac_word" >&5
3902 +echo "$as_me:3137: checking for $ac_word" >&5
3903  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3904  if test "${ac_cv_path_IPFORWARD+set}" = set; then
3905    echo $ECHO_N "(cached) $ECHO_C" >&6
3906 @@ -3276,7 +3151,7 @@
3907    test -z "$ac_dir" && ac_dir=.
3908    if $as_executable_p "$ac_dir/$ac_word"; then
3909     ac_cv_path_IPFORWARD="$ac_dir/$ac_word"
3910 -   echo "$as_me:3279: found $ac_dir/$ac_word" >&5
3911 +   echo "$as_me:3154: found $ac_dir/$ac_word" >&5
3912     break
3913  fi
3914  done
3915 @@ -3287,10 +3162,10 @@
3916  IPFORWARD=$ac_cv_path_IPFORWARD
3917  
3918  if test -n "$IPFORWARD"; then
3919 -  echo "$as_me:3290: result: $IPFORWARD" >&5
3920 +  echo "$as_me:3165: result: $IPFORWARD" >&5
3921  echo "${ECHO_T}$IPFORWARD" >&6
3922  else
3923 -  echo "$as_me:3293: result: no" >&5
3924 +  echo "$as_me:3168: result: no" >&5
3925  echo "${ECHO_T}no" >&6
3926  fi
3927  
3928 @@ -3299,24 +3174,24 @@
3929  test -n "$IPFORWARD" || IPFORWARD="no"
3930  
3931                 if test "$IPFORWARD" = no; then
3932 -                       { echo "$as_me:3302: WARNING: *****************************************************************" >&5
3933 +                       { echo "$as_me:3177: WARNING: *****************************************************************" >&5
3934  echo "$as_me: WARNING: *****************************************************************" >&2;}
3935 -                       { echo "$as_me:3304: WARNING: * /proc/sys/net/ipv4/ip_forward not found !!                    *" >&5
3936 +                       { echo "$as_me:3179: WARNING: * /proc/sys/net/ipv4/ip_forward not found !!                    *" >&5
3937  echo "$as_me: WARNING: * /proc/sys/net/ipv4/ip_forward not found !!                    *" >&2;}
3938 -                       { echo "$as_me:3306: WARNING: * please disable manually ip_forwarding before running ettercap *" >&5
3939 +                       { echo "$as_me:3181: WARNING: * please disable manually ip_forwarding before running ettercap *" >&5
3940  echo "$as_me: WARNING: * please disable manually ip_forwarding before running ettercap *" >&2;}
3941 -                       { echo "$as_me:3308: WARNING: *****************************************************************" >&5
3942 +                       { echo "$as_me:3183: WARNING: *****************************************************************" >&5
3943  echo "$as_me: WARNING: *****************************************************************" >&2;}
3944                 fi
3945  fi
3946  
3947 -echo "$as_me:3313: checking whether struct tm is in sys/time.h or time.h" >&5
3948 +echo "$as_me:3188: checking whether struct tm is in sys/time.h or time.h" >&5
3949  echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
3950  if test "${ac_cv_struct_tm+set}" = set; then
3951    echo $ECHO_N "(cached) $ECHO_C" >&6
3952  else
3953    cat >conftest.$ac_ext <<_ACEOF
3954 -#line 3319 "configure"
3955 +#line 3194 "configure"
3956  #include "confdefs.h"
3957  #include <sys/types.h>
3958  #include <time.h>
3959 @@ -3330,16 +3205,16 @@
3960  }
3961  _ACEOF
3962  rm -f conftest.$ac_objext
3963 -if { (eval echo "$as_me:3333: \"$ac_compile\"") >&5
3964 +if { (eval echo "$as_me:3208: \"$ac_compile\"") >&5
3965    (eval $ac_compile) 2>&5
3966    ac_status=$?
3967 -  echo "$as_me:3336: \$? = $ac_status" >&5
3968 +  echo "$as_me:3211: \$? = $ac_status" >&5
3969    (exit $ac_status); } &&
3970           { ac_try='test -s conftest.$ac_objext'
3971 -  { (eval echo "$as_me:3339: \"$ac_try\"") >&5
3972 +  { (eval echo "$as_me:3214: \"$ac_try\"") >&5
3973    (eval $ac_try) 2>&5
3974    ac_status=$?
3975 -  echo "$as_me:3342: \$? = $ac_status" >&5
3976 +  echo "$as_me:3217: \$? = $ac_status" >&5
3977    (exit $ac_status); }; }; then
3978    ac_cv_struct_tm=time.h
3979  else
3980 @@ -3349,7 +3224,7 @@
3981  fi
3982  rm -f conftest.$ac_objext conftest.$ac_ext
3983  fi
3984 -echo "$as_me:3352: result: $ac_cv_struct_tm" >&5
3985 +echo "$as_me:3227: result: $ac_cv_struct_tm" >&5
3986  echo "${ECHO_T}$ac_cv_struct_tm" >&6
3987  if test $ac_cv_struct_tm = sys/time.h; then
3988  
3989 @@ -3359,16 +3234,16 @@
3990  
3991  fi
3992  
3993 -echo "$as_me:3362: checking for socklen_t in sys/socket.h" >&5
3994 +echo "$as_me:3237: checking for socklen_t in sys/socket.h" >&5
3995  echo $ECHO_N "checking for socklen_t in sys/socket.h... $ECHO_C" >&6
3996  
3997         if test "$cross_compiling" = yes; then
3998 -  echo "$as_me:3366: result: unkown when cross-compiling" >&5
3999 +  echo "$as_me:3241: result: unkown when cross-compiling" >&5
4000  echo "${ECHO_T}unkown when cross-compiling" >&6
4001  
4002  else
4003    cat >conftest.$ac_ext <<_ACEOF
4004 -#line 3371 "configure"
4005 +#line 3246 "configure"
4006  #include "confdefs.h"
4007  
4008                 #include <sys/types.h>
4009 @@ -3384,17 +3259,17 @@
4010  
4011  _ACEOF
4012  rm -f conftest$ac_exeext
4013 -if { (eval echo "$as_me:3387: \"$ac_link\"") >&5
4014 +if { (eval echo "$as_me:3262: \"$ac_link\"") >&5
4015    (eval $ac_link) 2>&5
4016    ac_status=$?
4017 -  echo "$as_me:3390: \$? = $ac_status" >&5
4018 +  echo "$as_me:3265: \$? = $ac_status" >&5
4019    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4020 -  { (eval echo "$as_me:3392: \"$ac_try\"") >&5
4021 +  { (eval echo "$as_me:3267: \"$ac_try\"") >&5
4022    (eval $ac_try) 2>&5
4023    ac_status=$?
4024 -  echo "$as_me:3395: \$? = $ac_status" >&5
4025 +  echo "$as_me:3270: \$? = $ac_status" >&5
4026    (exit $ac_status); }; }; then
4027 -       echo "$as_me:3397: result: yes" >&5
4028 +       echo "$as_me:3272: result: yes" >&5
4029  echo "${ECHO_T}yes" >&6
4030                 cat >>confdefs.h <<\EOF
4031  #define HAVE_SOCKLEN_T 1
4032 @@ -3404,7 +3279,7 @@
4033    echo "$as_me: program exited with status $ac_status" >&5
4034  echo "$as_me: failed program was:" >&5
4035  cat conftest.$ac_ext >&5
4036 -echo "$as_me:3407: result: no" >&5
4037 +echo "$as_me:3282: result: no" >&5
4038  echo "${ECHO_T}no" >&6;
4039  
4040  fi
4041 @@ -3417,28 +3292,28 @@
4042                    inttypes.h stdint.h unistd.h
4043  do
4044  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4045 -echo "$as_me:3420: checking for $ac_header" >&5
4046 +echo "$as_me:3295: checking for $ac_header" >&5
4047  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4048  if eval "test \"\${$as_ac_Header+set}\" = set"; then
4049    echo $ECHO_N "(cached) $ECHO_C" >&6
4050  else
4051    cat >conftest.$ac_ext <<_ACEOF
4052 -#line 3426 "configure"
4053 +#line 3301 "configure"
4054  #include "confdefs.h"
4055  $ac_includes_default
4056  #include <$ac_header>
4057  _ACEOF
4058  rm -f conftest.$ac_objext
4059 -if { (eval echo "$as_me:3432: \"$ac_compile\"") >&5
4060 +if { (eval echo "$as_me:3307: \"$ac_compile\"") >&5
4061    (eval $ac_compile) 2>&5
4062    ac_status=$?
4063 -  echo "$as_me:3435: \$? = $ac_status" >&5
4064 +  echo "$as_me:3310: \$? = $ac_status" >&5
4065    (exit $ac_status); } &&
4066           { ac_try='test -s conftest.$ac_objext'
4067 -  { (eval echo "$as_me:3438: \"$ac_try\"") >&5
4068 +  { (eval echo "$as_me:3313: \"$ac_try\"") >&5
4069    (eval $ac_try) 2>&5
4070    ac_status=$?
4071 -  echo "$as_me:3441: \$? = $ac_status" >&5
4072 +  echo "$as_me:3316: \$? = $ac_status" >&5
4073    (exit $ac_status); }; }; then
4074    eval "$as_ac_Header=yes"
4075  else
4076 @@ -3448,7 +3323,7 @@
4077  fi
4078  rm -f conftest.$ac_objext conftest.$ac_ext
4079  fi
4080 -echo "$as_me:3451: result: `eval echo '${'$as_ac_Header'}'`" >&5
4081 +echo "$as_me:3326: result: `eval echo '${'$as_ac_Header'}'`" >&5
4082  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4083  if test `eval echo '${'$as_ac_Header'}'` = yes; then
4084    cat >>confdefs.h <<EOF
4085 @@ -3458,13 +3333,13 @@
4086  fi
4087  done
4088  
4089 -echo "$as_me:3461: checking for pid_t" >&5
4090 +echo "$as_me:3336: checking for pid_t" >&5
4091  echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
4092  if test "${ac_cv_type_pid_t+set}" = set; then
4093    echo $ECHO_N "(cached) $ECHO_C" >&6
4094  else
4095    cat >conftest.$ac_ext <<_ACEOF
4096 -#line 3467 "configure"
4097 +#line 3342 "configure"
4098  #include "confdefs.h"
4099  $ac_includes_default
4100  int
4101 @@ -3479,16 +3354,16 @@
4102  }
4103  _ACEOF
4104  rm -f conftest.$ac_objext
4105 -if { (eval echo "$as_me:3482: \"$ac_compile\"") >&5
4106 +if { (eval echo "$as_me:3357: \"$ac_compile\"") >&5
4107    (eval $ac_compile) 2>&5
4108    ac_status=$?
4109 -  echo "$as_me:3485: \$? = $ac_status" >&5
4110 +  echo "$as_me:3360: \$? = $ac_status" >&5
4111    (exit $ac_status); } &&
4112           { ac_try='test -s conftest.$ac_objext'
4113 -  { (eval echo "$as_me:3488: \"$ac_try\"") >&5
4114 +  { (eval echo "$as_me:3363: \"$ac_try\"") >&5
4115    (eval $ac_try) 2>&5
4116    ac_status=$?
4117 -  echo "$as_me:3491: \$? = $ac_status" >&5
4118 +  echo "$as_me:3366: \$? = $ac_status" >&5
4119    (exit $ac_status); }; }; then
4120    ac_cv_type_pid_t=yes
4121  else
4122 @@ -3498,7 +3373,7 @@
4123  fi
4124  rm -f conftest.$ac_objext conftest.$ac_ext
4125  fi
4126 -echo "$as_me:3501: result: $ac_cv_type_pid_t" >&5
4127 +echo "$as_me:3376: result: $ac_cv_type_pid_t" >&5
4128  echo "${ECHO_T}$ac_cv_type_pid_t" >&6
4129  if test $ac_cv_type_pid_t = yes; then
4130    :
4131 @@ -3510,13 +3385,13 @@
4132  
4133  fi
4134  
4135 -echo "$as_me:3513: checking for size_t" >&5
4136 +echo "$as_me:3388: checking for size_t" >&5
4137  echo $ECHO_N "checking for size_t... $ECHO_C" >&6
4138  if test "${ac_cv_type_size_t+set}" = set; then
4139    echo $ECHO_N "(cached) $ECHO_C" >&6
4140  else
4141    cat >conftest.$ac_ext <<_ACEOF
4142 -#line 3519 "configure"
4143 +#line 3394 "configure"
4144  #include "confdefs.h"
4145  $ac_includes_default
4146  int
4147 @@ -3531,16 +3406,16 @@
4148  }
4149  _ACEOF
4150  rm -f conftest.$ac_objext
4151 -if { (eval echo "$as_me:3534: \"$ac_compile\"") >&5
4152 +if { (eval echo "$as_me:3409: \"$ac_compile\"") >&5
4153    (eval $ac_compile) 2>&5
4154    ac_status=$?
4155 -  echo "$as_me:3537: \$? = $ac_status" >&5
4156 +  echo "$as_me:3412: \$? = $ac_status" >&5
4157    (exit $ac_status); } &&
4158           { ac_try='test -s conftest.$ac_objext'
4159 -  { (eval echo "$as_me:3540: \"$ac_try\"") >&5
4160 +  { (eval echo "$as_me:3415: \"$ac_try\"") >&5
4161    (eval $ac_try) 2>&5
4162    ac_status=$?
4163 -  echo "$as_me:3543: \$? = $ac_status" >&5
4164 +  echo "$as_me:3418: \$? = $ac_status" >&5
4165    (exit $ac_status); }; }; then
4166    ac_cv_type_size_t=yes
4167  else
4168 @@ -3550,7 +3425,7 @@
4169  fi
4170  rm -f conftest.$ac_objext conftest.$ac_ext
4171  fi
4172 -echo "$as_me:3553: result: $ac_cv_type_size_t" >&5
4173 +echo "$as_me:3428: result: $ac_cv_type_size_t" >&5
4174  echo "${ECHO_T}$ac_cv_type_size_t" >&6
4175  if test $ac_cv_type_size_t = yes; then
4176    :
4177 @@ -3562,7 +3437,7 @@
4178  
4179  fi
4180  
4181 -echo "$as_me:3565: checking for $CC option to accept ANSI C" >&5
4182 +echo "$as_me:3440: checking for $CC option to accept ANSI C" >&5
4183  echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4184  if test "${ac_cv_prog_cc_stdc+set}" = set; then
4185    echo $ECHO_N "(cached) $ECHO_C" >&6
4186 @@ -3570,7 +3445,7 @@
4187    ac_cv_prog_cc_stdc=no
4188  ac_save_CC=$CC
4189  cat >conftest.$ac_ext <<_ACEOF
4190 -#line 3573 "configure"
4191 +#line 3448 "configure"
4192  #include "confdefs.h"
4193  #include <stdarg.h>
4194  #include <stdio.h>
4195 @@ -3619,16 +3494,16 @@
4196  do
4197    CC="$ac_save_CC $ac_arg"
4198    rm -f conftest.$ac_objext
4199 -if { (eval echo "$as_me:3622: \"$ac_compile\"") >&5
4200 +if { (eval echo "$as_me:3497: \"$ac_compile\"") >&5
4201    (eval $ac_compile) 2>&5
4202    ac_status=$?
4203 -  echo "$as_me:3625: \$? = $ac_status" >&5
4204 +  echo "$as_me:3500: \$? = $ac_status" >&5
4205    (exit $ac_status); } &&
4206           { ac_try='test -s conftest.$ac_objext'
4207 -  { (eval echo "$as_me:3628: \"$ac_try\"") >&5
4208 +  { (eval echo "$as_me:3503: \"$ac_try\"") >&5
4209    (eval $ac_try) 2>&5
4210    ac_status=$?
4211 -  echo "$as_me:3631: \$? = $ac_status" >&5
4212 +  echo "$as_me:3506: \$? = $ac_status" >&5
4213    (exit $ac_status); }; }; then
4214    ac_cv_prog_cc_stdc=$ac_arg
4215  break
4216 @@ -3645,21 +3520,21 @@
4217  
4218  case "x$ac_cv_prog_cc_stdc" in
4219    x|xno)
4220 -    echo "$as_me:3648: result: none needed" >&5
4221 +    echo "$as_me:3523: result: none needed" >&5
4222  echo "${ECHO_T}none needed" >&6 ;;
4223    *)
4224 -    echo "$as_me:3651: result: $ac_cv_prog_cc_stdc" >&5
4225 +    echo "$as_me:3526: result: $ac_cv_prog_cc_stdc" >&5
4226  echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4227      CC="$CC $ac_cv_prog_cc_stdc" ;;
4228  esac
4229  
4230 -echo "$as_me:3656: checking for an ANSI C-conforming const" >&5
4231 +echo "$as_me:3531: checking for an ANSI C-conforming const" >&5
4232  echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4233  if test "${ac_cv_c_const+set}" = set; then
4234    echo $ECHO_N "(cached) $ECHO_C" >&6
4235  else
4236    cat >conftest.$ac_ext <<_ACEOF
4237 -#line 3662 "configure"
4238 +#line 3537 "configure"
4239  #include "confdefs.h"
4240  
4241  int
4242 @@ -3717,16 +3592,16 @@
4243  }
4244  _ACEOF
4245  rm -f conftest.$ac_objext
4246 -if { (eval echo "$as_me:3720: \"$ac_compile\"") >&5
4247 +if { (eval echo "$as_me:3595: \"$ac_compile\"") >&5
4248    (eval $ac_compile) 2>&5
4249    ac_status=$?
4250 -  echo "$as_me:3723: \$? = $ac_status" >&5
4251 +  echo "$as_me:3598: \$? = $ac_status" >&5
4252    (exit $ac_status); } &&
4253           { ac_try='test -s conftest.$ac_objext'
4254 -  { (eval echo "$as_me:3726: \"$ac_try\"") >&5
4255 +  { (eval echo "$as_me:3601: \"$ac_try\"") >&5
4256    (eval $ac_try) 2>&5
4257    ac_status=$?
4258 -  echo "$as_me:3729: \$? = $ac_status" >&5
4259 +  echo "$as_me:3604: \$? = $ac_status" >&5
4260    (exit $ac_status); }; }; then
4261    ac_cv_c_const=yes
4262  else
4263 @@ -3736,7 +3611,7 @@
4264  fi
4265  rm -f conftest.$ac_objext conftest.$ac_ext
4266  fi
4267 -echo "$as_me:3739: result: $ac_cv_c_const" >&5
4268 +echo "$as_me:3614: result: $ac_cv_c_const" >&5
4269  echo "${ECHO_T}$ac_cv_c_const" >&6
4270  if test $ac_cv_c_const = no; then
4271  
4272 @@ -3746,13 +3621,13 @@
4273  
4274  fi
4275  
4276 -echo "$as_me:3749: checking if sockaddr struct has sa_len member" >&5
4277 +echo "$as_me:3624: checking if sockaddr struct has sa_len member" >&5
4278  echo $ECHO_N "checking if sockaddr struct has sa_len member... $ECHO_C" >&6
4279      if test "${ac_cv_lbl_sockaddr_has_sa_len+set}" = set; then
4280    echo $ECHO_N "(cached) $ECHO_C" >&6
4281  else
4282    cat >conftest.$ac_ext <<_ACEOF
4283 -#line 3755 "configure"
4284 +#line 3630 "configure"
4285  #include "confdefs.h"
4286  
4287  #       include <sys/types.h>
4288 @@ -3766,16 +3641,16 @@
4289  }
4290  _ACEOF
4291  rm -f conftest.$ac_objext
4292 -if { (eval echo "$as_me:3769: \"$ac_compile\"") >&5
4293 +if { (eval echo "$as_me:3644: \"$ac_compile\"") >&5
4294    (eval $ac_compile) 2>&5
4295    ac_status=$?
4296 -  echo "$as_me:3772: \$? = $ac_status" >&5
4297 +  echo "$as_me:3647: \$? = $ac_status" >&5
4298    (exit $ac_status); } &&
4299           { ac_try='test -s conftest.$ac_objext'
4300 -  { (eval echo "$as_me:3775: \"$ac_try\"") >&5
4301 +  { (eval echo "$as_me:3650: \"$ac_try\"") >&5
4302    (eval $ac_try) 2>&5
4303    ac_status=$?
4304 -  echo "$as_me:3778: \$? = $ac_status" >&5
4305 +  echo "$as_me:3653: \$? = $ac_status" >&5
4306    (exit $ac_status); }; }; then
4307    ac_cv_lbl_sockaddr_has_sa_len=yes
4308  else
4309 @@ -3786,7 +3661,7 @@
4310  rm -f conftest.$ac_objext conftest.$ac_ext
4311  fi
4312  
4313 -    echo "$as_me:3789: result: $ac_cv_lbl_sockaddr_has_sa_len" >&5
4314 +    echo "$as_me:3664: result: $ac_cv_lbl_sockaddr_has_sa_len" >&5
4315  echo "${ECHO_T}$ac_cv_lbl_sockaddr_has_sa_len" >&6
4316      if test $ac_cv_lbl_sockaddr_has_sa_len = yes ; then
4317  
4318 @@ -3799,23 +3674,23 @@
4319  for ac_header in stdlib.h
4320  do
4321  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4322 -echo "$as_me:3802: checking for $ac_header" >&5
4323 +echo "$as_me:3677: checking for $ac_header" >&5
4324  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4325  if eval "test \"\${$as_ac_Header+set}\" = set"; then
4326    echo $ECHO_N "(cached) $ECHO_C" >&6
4327  else
4328    cat >conftest.$ac_ext <<_ACEOF
4329 -#line 3808 "configure"
4330 +#line 3683 "configure"
4331  #include "confdefs.h"
4332  #include <$ac_header>
4333  _ACEOF
4334 -if { (eval echo "$as_me:3812: \"$ac_cpp conftest.$ac_ext\"") >&5
4335 +if { (eval echo "$as_me:3687: \"$ac_cpp conftest.$ac_ext\"") >&5
4336    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4337    ac_status=$?
4338    egrep -v '^ *\+' conftest.er1 >conftest.err
4339    rm -f conftest.er1
4340    cat conftest.err >&5
4341 -  echo "$as_me:3818: \$? = $ac_status" >&5
4342 +  echo "$as_me:3693: \$? = $ac_status" >&5
4343    (exit $ac_status); } >/dev/null; then
4344    if test -s conftest.err; then
4345      ac_cpp_err=$ac_c_preproc_warn_flag
4346 @@ -3834,7 +3709,7 @@
4347  fi
4348  rm -f conftest.err conftest.$ac_ext
4349  fi
4350 -echo "$as_me:3837: result: `eval echo '${'$as_ac_Header'}'`" >&5
4351 +echo "$as_me:3712: result: `eval echo '${'$as_ac_Header'}'`" >&5
4352  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4353  if test `eval echo '${'$as_ac_Header'}'` = yes; then
4354    cat >>confdefs.h <<EOF
4355 @@ -3844,7 +3719,7 @@
4356  fi
4357  done
4358  
4359 -echo "$as_me:3847: checking for working malloc" >&5
4360 +echo "$as_me:3722: checking for working malloc" >&5
4361  echo $ECHO_N "checking for working malloc... $ECHO_C" >&6
4362  if test "${ac_cv_func_malloc_works+set}" = set; then
4363    echo $ECHO_N "(cached) $ECHO_C" >&6
4364 @@ -3853,7 +3728,7 @@
4365    ac_cv_func_malloc_works=no
4366  else
4367    cat >conftest.$ac_ext <<_ACEOF
4368 -#line 3856 "configure"
4369 +#line 3731 "configure"
4370  #include "confdefs.h"
4371  #if STDC_HEADERS || HAVE_STDLIB_H
4372  # include <stdlib.h>
4373 @@ -3870,15 +3745,15 @@
4374  }
4375  _ACEOF
4376  rm -f conftest$ac_exeext
4377 -if { (eval echo "$as_me:3873: \"$ac_link\"") >&5
4378 +if { (eval echo "$as_me:3748: \"$ac_link\"") >&5
4379    (eval $ac_link) 2>&5
4380    ac_status=$?
4381 -  echo "$as_me:3876: \$? = $ac_status" >&5
4382 +  echo "$as_me:3751: \$? = $ac_status" >&5
4383    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4384 -  { (eval echo "$as_me:3878: \"$ac_try\"") >&5
4385 +  { (eval echo "$as_me:3753: \"$ac_try\"") >&5
4386    (eval $ac_try) 2>&5
4387    ac_status=$?
4388 -  echo "$as_me:3881: \$? = $ac_status" >&5
4389 +  echo "$as_me:3756: \$? = $ac_status" >&5
4390    (exit $ac_status); }; }; then
4391    ac_cv_func_malloc_works=yes
4392  else
4393 @@ -3890,7 +3765,7 @@
4394  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4395  fi
4396  fi
4397 -echo "$as_me:3893: result: $ac_cv_func_malloc_works" >&5
4398 +echo "$as_me:3768: result: $ac_cv_func_malloc_works" >&5
4399  echo "${ECHO_T}$ac_cv_func_malloc_works" >&6
4400  if test $ac_cv_func_malloc_works = yes; then
4401  
4402 @@ -3900,7 +3775,7 @@
4403  
4404  fi
4405  
4406 -echo "$as_me:3903: checking for working memcmp" >&5
4407 +echo "$as_me:3778: checking for working memcmp" >&5
4408  echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
4409  if test "${ac_cv_func_memcmp_working+set}" = set; then
4410    echo $ECHO_N "(cached) $ECHO_C" >&6
4411 @@ -3909,7 +3784,7 @@
4412    ac_cv_func_memcmp_working=no
4413  else
4414    cat >conftest.$ac_ext <<_ACEOF
4415 -#line 3912 "configure"
4416 +#line 3787 "configure"
4417  #include "confdefs.h"
4418  
4419  int
4420 @@ -3945,15 +3820,15 @@
4421  }
4422  _ACEOF
4423  rm -f conftest$ac_exeext
4424 -if { (eval echo "$as_me:3948: \"$ac_link\"") >&5
4425 +if { (eval echo "$as_me:3823: \"$ac_link\"") >&5
4426    (eval $ac_link) 2>&5
4427    ac_status=$?
4428 -  echo "$as_me:3951: \$? = $ac_status" >&5
4429 +  echo "$as_me:3826: \$? = $ac_status" >&5
4430    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4431 -  { (eval echo "$as_me:3953: \"$ac_try\"") >&5
4432 +  { (eval echo "$as_me:3828: \"$ac_try\"") >&5
4433    (eval $ac_try) 2>&5
4434    ac_status=$?
4435 -  echo "$as_me:3956: \$? = $ac_status" >&5
4436 +  echo "$as_me:3831: \$? = $ac_status" >&5
4437    (exit $ac_status); }; }; then
4438    ac_cv_func_memcmp_working=yes
4439  else
4440 @@ -3965,17 +3840,17 @@
4441  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4442  fi
4443  fi
4444 -echo "$as_me:3968: result: $ac_cv_func_memcmp_working" >&5
4445 +echo "$as_me:3843: result: $ac_cv_func_memcmp_working" >&5
4446  echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
4447  test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext"
4448  
4449 -echo "$as_me:3972: checking return type of signal handlers" >&5
4450 +echo "$as_me:3847: checking return type of signal handlers" >&5
4451  echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
4452  if test "${ac_cv_type_signal+set}" = set; then
4453    echo $ECHO_N "(cached) $ECHO_C" >&6
4454  else
4455    cat >conftest.$ac_ext <<_ACEOF
4456 -#line 3978 "configure"
4457 +#line 3853 "configure"
4458  #include "confdefs.h"
4459  #include <sys/types.h>
4460  #include <signal.h>
4461 @@ -3997,16 +3872,16 @@
4462  }
4463  _ACEOF
4464  rm -f conftest.$ac_objext
4465 -if { (eval echo "$as_me:4000: \"$ac_compile\"") >&5
4466 +if { (eval echo "$as_me:3875: \"$ac_compile\"") >&5
4467    (eval $ac_compile) 2>&5
4468    ac_status=$?
4469 -  echo "$as_me:4003: \$? = $ac_status" >&5
4470 +  echo "$as_me:3878: \$? = $ac_status" >&5
4471    (exit $ac_status); } &&
4472           { ac_try='test -s conftest.$ac_objext'
4473 -  { (eval echo "$as_me:4006: \"$ac_try\"") >&5
4474 +  { (eval echo "$as_me:3881: \"$ac_try\"") >&5
4475    (eval $ac_try) 2>&5
4476    ac_status=$?
4477 -  echo "$as_me:4009: \$? = $ac_status" >&5
4478 +  echo "$as_me:3884: \$? = $ac_status" >&5
4479    (exit $ac_status); }; }; then
4480    ac_cv_type_signal=void
4481  else
4482 @@ -4016,7 +3891,7 @@
4483  fi
4484  rm -f conftest.$ac_objext conftest.$ac_ext
4485  fi
4486 -echo "$as_me:4019: result: $ac_cv_type_signal" >&5
4487 +echo "$as_me:3894: result: $ac_cv_type_signal" >&5
4488  echo "${ECHO_T}$ac_cv_type_signal" >&6
4489  
4490  cat >>confdefs.h <<EOF
4491 @@ -4026,13 +3901,13 @@
4492  for ac_func in vprintf
4493  do
4494  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4495 -echo "$as_me:4029: checking for $ac_func" >&5
4496 +echo "$as_me:3904: checking for $ac_func" >&5
4497  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4498  if eval "test \"\${$as_ac_var+set}\" = set"; then
4499    echo $ECHO_N "(cached) $ECHO_C" >&6
4500  else
4501    cat >conftest.$ac_ext <<_ACEOF
4502 -#line 4035 "configure"
4503 +#line 3910 "configure"
4504  #include "confdefs.h"
4505  /* System header to define __stub macros and hopefully few prototypes,
4506      which can conflict with char $ac_func (); below.  */
4507 @@ -4063,16 +3938,16 @@
4508  }
4509  _ACEOF
4510  rm -f conftest.$ac_objext conftest$ac_exeext
4511 -if { (eval echo "$as_me:4066: \"$ac_link\"") >&5
4512 +if { (eval echo "$as_me:3941: \"$ac_link\"") >&5
4513    (eval $ac_link) 2>&5
4514    ac_status=$?
4515 -  echo "$as_me:4069: \$? = $ac_status" >&5
4516 +  echo "$as_me:3944: \$? = $ac_status" >&5
4517    (exit $ac_status); } &&
4518           { ac_try='test -s conftest$ac_exeext'
4519 -  { (eval echo "$as_me:4072: \"$ac_try\"") >&5
4520 +  { (eval echo "$as_me:3947: \"$ac_try\"") >&5
4521    (eval $ac_try) 2>&5
4522    ac_status=$?
4523 -  echo "$as_me:4075: \$? = $ac_status" >&5
4524 +  echo "$as_me:3950: \$? = $ac_status" >&5
4525    (exit $ac_status); }; }; then
4526    eval "$as_ac_var=yes"
4527  else
4528 @@ -4082,20 +3957,20 @@
4529  fi
4530  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4531  fi
4532 -echo "$as_me:4085: result: `eval echo '${'$as_ac_var'}'`" >&5
4533 +echo "$as_me:3960: result: `eval echo '${'$as_ac_var'}'`" >&5
4534  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4535  if test `eval echo '${'$as_ac_var'}'` = yes; then
4536    cat >>confdefs.h <<EOF
4537  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4538  EOF
4539  
4540 -echo "$as_me:4092: checking for _doprnt" >&5
4541 +echo "$as_me:3967: checking for _doprnt" >&5
4542  echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
4543  if test "${ac_cv_func__doprnt+set}" = set; then
4544    echo $ECHO_N "(cached) $ECHO_C" >&6
4545  else
4546    cat >conftest.$ac_ext <<_ACEOF
4547 -#line 4098 "configure"
4548 +#line 3973 "configure"
4549  #include "confdefs.h"
4550  /* System header to define __stub macros and hopefully few prototypes,
4551      which can conflict with char _doprnt (); below.  */
4552 @@ -4126,16 +4001,16 @@
4553  }
4554  _ACEOF
4555  rm -f conftest.$ac_objext conftest$ac_exeext
4556 -if { (eval echo "$as_me:4129: \"$ac_link\"") >&5
4557 +if { (eval echo "$as_me:4004: \"$ac_link\"") >&5
4558    (eval $ac_link) 2>&5
4559    ac_status=$?
4560 -  echo "$as_me:4132: \$? = $ac_status" >&5
4561 +  echo "$as_me:4007: \$? = $ac_status" >&5
4562    (exit $ac_status); } &&
4563           { ac_try='test -s conftest$ac_exeext'
4564 -  { (eval echo "$as_me:4135: \"$ac_try\"") >&5
4565 +  { (eval echo "$as_me:4010: \"$ac_try\"") >&5
4566    (eval $ac_try) 2>&5
4567    ac_status=$?
4568 -  echo "$as_me:4138: \$? = $ac_status" >&5
4569 +  echo "$as_me:4013: \$? = $ac_status" >&5
4570    (exit $ac_status); }; }; then
4571    ac_cv_func__doprnt=yes
4572  else
4573 @@ -4145,7 +4020,7 @@
4574  fi
4575  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4576  fi
4577 -echo "$as_me:4148: result: $ac_cv_func__doprnt" >&5
4578 +echo "$as_me:4023: result: $ac_cv_func__doprnt" >&5
4579  echo "${ECHO_T}$ac_cv_func__doprnt" >&6
4580  if test $ac_cv_func__doprnt = yes; then
4581  
4582 @@ -4161,13 +4036,13 @@
4583  for ac_func in gettimeofday
4584  do
4585  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4586 -echo "$as_me:4164: checking for $ac_func" >&5
4587 +echo "$as_me:4039: checking for $ac_func" >&5
4588  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4589  if eval "test \"\${$as_ac_var+set}\" = set"; then
4590    echo $ECHO_N "(cached) $ECHO_C" >&6
4591  else
4592    cat >conftest.$ac_ext <<_ACEOF
4593 -#line 4170 "configure"
4594 +#line 4045 "configure"
4595  #include "confdefs.h"
4596  /* System header to define __stub macros and hopefully few prototypes,
4597      which can conflict with char $ac_func (); below.  */
4598 @@ -4198,16 +4073,16 @@
4599  }
4600  _ACEOF
4601  rm -f conftest.$ac_objext conftest$ac_exeext
4602 -if { (eval echo "$as_me:4201: \"$ac_link\"") >&5
4603 +if { (eval echo "$as_me:4076: \"$ac_link\"") >&5
4604    (eval $ac_link) 2>&5
4605    ac_status=$?
4606 -  echo "$as_me:4204: \$? = $ac_status" >&5
4607 +  echo "$as_me:4079: \$? = $ac_status" >&5
4608    (exit $ac_status); } &&
4609           { ac_try='test -s conftest$ac_exeext'
4610 -  { (eval echo "$as_me:4207: \"$ac_try\"") >&5
4611 +  { (eval echo "$as_me:4082: \"$ac_try\"") >&5
4612    (eval $ac_try) 2>&5
4613    ac_status=$?
4614 -  echo "$as_me:4210: \$? = $ac_status" >&5
4615 +  echo "$as_me:4085: \$? = $ac_status" >&5
4616    (exit $ac_status); }; }; then
4617    eval "$as_ac_var=yes"
4618  else
4619 @@ -4217,7 +4092,7 @@
4620  fi
4621  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4622  fi
4623 -echo "$as_me:4220: result: `eval echo '${'$as_ac_var'}'`" >&5
4624 +echo "$as_me:4095: result: `eval echo '${'$as_ac_var'}'`" >&5
4625  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4626  if test `eval echo '${'$as_ac_var'}'` = yes; then
4627    cat >>confdefs.h <<EOF
4628 @@ -4230,13 +4105,13 @@
4629  for ac_func in vsnprintf
4630  do
4631  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4632 -echo "$as_me:4233: checking for $ac_func" >&5
4633 +echo "$as_me:4108: checking for $ac_func" >&5
4634  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4635  if eval "test \"\${$as_ac_var+set}\" = set"; then
4636    echo $ECHO_N "(cached) $ECHO_C" >&6
4637  else
4638    cat >conftest.$ac_ext <<_ACEOF
4639 -#line 4239 "configure"
4640 +#line 4114 "configure"
4641  #include "confdefs.h"
4642  /* System header to define __stub macros and hopefully few prototypes,
4643      which can conflict with char $ac_func (); below.  */
4644 @@ -4267,16 +4142,16 @@
4645  }
4646  _ACEOF
4647  rm -f conftest.$ac_objext conftest$ac_exeext
4648 -if { (eval echo "$as_me:4270: \"$ac_link\"") >&5
4649 +if { (eval echo "$as_me:4145: \"$ac_link\"") >&5
4650    (eval $ac_link) 2>&5
4651    ac_status=$?
4652 -  echo "$as_me:4273: \$? = $ac_status" >&5
4653 +  echo "$as_me:4148: \$? = $ac_status" >&5
4654    (exit $ac_status); } &&
4655           { ac_try='test -s conftest$ac_exeext'
4656 -  { (eval echo "$as_me:4276: \"$ac_try\"") >&5
4657 +  { (eval echo "$as_me:4151: \"$ac_try\"") >&5
4658    (eval $ac_try) 2>&5
4659    ac_status=$?
4660 -  echo "$as_me:4279: \$? = $ac_status" >&5
4661 +  echo "$as_me:4154: \$? = $ac_status" >&5
4662    (exit $ac_status); }; }; then
4663    eval "$as_ac_var=yes"
4664  else
4665 @@ -4286,7 +4161,7 @@
4666  fi
4667  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4668  fi
4669 -echo "$as_me:4289: result: `eval echo '${'$as_ac_var'}'`" >&5
4670 +echo "$as_me:4164: result: `eval echo '${'$as_ac_var'}'`" >&5
4671  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4672  if test `eval echo '${'$as_ac_var'}'` = yes; then
4673    cat >>confdefs.h <<EOF
4674 @@ -4299,13 +4174,13 @@
4675  for ac_func in select socket strdup strerror strstr uname
4676  do
4677  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4678 -echo "$as_me:4302: checking for $ac_func" >&5
4679 +echo "$as_me:4177: checking for $ac_func" >&5
4680  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4681  if eval "test \"\${$as_ac_var+set}\" = set"; then
4682    echo $ECHO_N "(cached) $ECHO_C" >&6
4683  else
4684    cat >conftest.$ac_ext <<_ACEOF
4685 -#line 4308 "configure"
4686 +#line 4183 "configure"
4687  #include "confdefs.h"
4688  /* System header to define __stub macros and hopefully few prototypes,
4689      which can conflict with char $ac_func (); below.  */
4690 @@ -4336,16 +4211,16 @@
4691  }
4692  _ACEOF
4693  rm -f conftest.$ac_objext conftest$ac_exeext
4694 -if { (eval echo "$as_me:4339: \"$ac_link\"") >&5
4695 +if { (eval echo "$as_me:4214: \"$ac_link\"") >&5
4696    (eval $ac_link) 2>&5
4697    ac_status=$?
4698 -  echo "$as_me:4342: \$? = $ac_status" >&5
4699 +  echo "$as_me:4217: \$? = $ac_status" >&5
4700    (exit $ac_status); } &&
4701           { ac_try='test -s conftest$ac_exeext'
4702 -  { (eval echo "$as_me:4345: \"$ac_try\"") >&5
4703 +  { (eval echo "$as_me:4220: \"$ac_try\"") >&5
4704    (eval $ac_try) 2>&5
4705    ac_status=$?
4706 -  echo "$as_me:4348: \$? = $ac_status" >&5
4707 +  echo "$as_me:4223: \$? = $ac_status" >&5
4708    (exit $ac_status); }; }; then
4709    eval "$as_ac_var=yes"
4710  else
4711 @@ -4355,7 +4230,7 @@
4712  fi
4713  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4714  fi
4715 -echo "$as_me:4358: result: `eval echo '${'$as_ac_var'}'`" >&5
4716 +echo "$as_me:4233: result: `eval echo '${'$as_ac_var'}'`" >&5
4717  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4718  if test `eval echo '${'$as_ac_var'}'` = yes; then
4719    cat >>confdefs.h <<EOF
4720 @@ -4368,13 +4243,13 @@
4721  for ac_func in atexit
4722  do
4723  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4724 -echo "$as_me:4371: checking for $ac_func" >&5
4725 +echo "$as_me:4246: checking for $ac_func" >&5
4726  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4727  if eval "test \"\${$as_ac_var+set}\" = set"; then
4728    echo $ECHO_N "(cached) $ECHO_C" >&6
4729  else
4730    cat >conftest.$ac_ext <<_ACEOF
4731 -#line 4377 "configure"
4732 +#line 4252 "configure"
4733  #include "confdefs.h"
4734  /* System header to define __stub macros and hopefully few prototypes,
4735      which can conflict with char $ac_func (); below.  */
4736 @@ -4405,16 +4280,16 @@
4737  }
4738  _ACEOF
4739  rm -f conftest.$ac_objext conftest$ac_exeext
4740 -if { (eval echo "$as_me:4408: \"$ac_link\"") >&5
4741 +if { (eval echo "$as_me:4283: \"$ac_link\"") >&5
4742    (eval $ac_link) 2>&5
4743    ac_status=$?
4744 -  echo "$as_me:4411: \$? = $ac_status" >&5
4745 +  echo "$as_me:4286: \$? = $ac_status" >&5
4746    (exit $ac_status); } &&
4747           { ac_try='test -s conftest$ac_exeext'
4748 -  { (eval echo "$as_me:4414: \"$ac_try\"") >&5
4749 +  { (eval echo "$as_me:4289: \"$ac_try\"") >&5
4750    (eval $ac_try) 2>&5
4751    ac_status=$?
4752 -  echo "$as_me:4417: \$? = $ac_status" >&5
4753 +  echo "$as_me:4292: \$? = $ac_status" >&5
4754    (exit $ac_status); }; }; then
4755    eval "$as_ac_var=yes"
4756  else
4757 @@ -4424,7 +4299,7 @@
4758  fi
4759  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4760  fi
4761 -echo "$as_me:4427: result: `eval echo '${'$as_ac_var'}'`" >&5
4762 +echo "$as_me:4302: result: `eval echo '${'$as_ac_var'}'`" >&5
4763  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4764  if test `eval echo '${'$as_ac_var'}'` = yes; then
4765    cat >>confdefs.h <<EOF
4766 @@ -4437,13 +4312,13 @@
4767  for ac_func in strsignal
4768  do
4769  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4770 -echo "$as_me:4440: checking for $ac_func" >&5
4771 +echo "$as_me:4315: checking for $ac_func" >&5
4772  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4773  if eval "test \"\${$as_ac_var+set}\" = set"; then
4774    echo $ECHO_N "(cached) $ECHO_C" >&6
4775  else
4776    cat >conftest.$ac_ext <<_ACEOF
4777 -#line 4446 "configure"
4778 +#line 4321 "configure"
4779  #include "confdefs.h"
4780  /* System header to define __stub macros and hopefully few prototypes,
4781      which can conflict with char $ac_func (); below.  */
4782 @@ -4474,16 +4349,16 @@
4783  }
4784  _ACEOF
4785  rm -f conftest.$ac_objext conftest$ac_exeext
4786 -if { (eval echo "$as_me:4477: \"$ac_link\"") >&5
4787 +if { (eval echo "$as_me:4352: \"$ac_link\"") >&5
4788    (eval $ac_link) 2>&5
4789    ac_status=$?
4790 -  echo "$as_me:4480: \$? = $ac_status" >&5
4791 +  echo "$as_me:4355: \$? = $ac_status" >&5
4792    (exit $ac_status); } &&
4793           { ac_try='test -s conftest$ac_exeext'
4794 -  { (eval echo "$as_me:4483: \"$ac_try\"") >&5
4795 +  { (eval echo "$as_me:4358: \"$ac_try\"") >&5
4796    (eval $ac_try) 2>&5
4797    ac_status=$?
4798 -  echo "$as_me:4486: \$? = $ac_status" >&5
4799 +  echo "$as_me:4361: \$? = $ac_status" >&5
4800    (exit $ac_status); }; }; then
4801    eval "$as_ac_var=yes"
4802  else
4803 @@ -4493,7 +4368,7 @@
4804  fi
4805  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4806  fi
4807 -echo "$as_me:4496: result: `eval echo '${'$as_ac_var'}'`" >&5
4808 +echo "$as_me:4371: result: `eval echo '${'$as_ac_var'}'`" >&5
4809  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4810  if test `eval echo '${'$as_ac_var'}'` = yes; then
4811    cat >>confdefs.h <<EOF
4812 @@ -4506,13 +4381,13 @@
4813  for ac_func in getopt_long
4814  do
4815  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4816 -echo "$as_me:4509: checking for $ac_func" >&5
4817 +echo "$as_me:4384: checking for $ac_func" >&5
4818  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4819  if eval "test \"\${$as_ac_var+set}\" = set"; then
4820    echo $ECHO_N "(cached) $ECHO_C" >&6
4821  else
4822    cat >conftest.$ac_ext <<_ACEOF
4823 -#line 4515 "configure"
4824 +#line 4390 "configure"
4825  #include "confdefs.h"
4826  /* System header to define __stub macros and hopefully few prototypes,
4827      which can conflict with char $ac_func (); below.  */
4828 @@ -4543,16 +4418,16 @@
4829  }
4830  _ACEOF
4831  rm -f conftest.$ac_objext conftest$ac_exeext
4832 -if { (eval echo "$as_me:4546: \"$ac_link\"") >&5
4833 +if { (eval echo "$as_me:4421: \"$ac_link\"") >&5
4834    (eval $ac_link) 2>&5
4835    ac_status=$?
4836 -  echo "$as_me:4549: \$? = $ac_status" >&5
4837 +  echo "$as_me:4424: \$? = $ac_status" >&5
4838    (exit $ac_status); } &&
4839           { ac_try='test -s conftest$ac_exeext'
4840 -  { (eval echo "$as_me:4552: \"$ac_try\"") >&5
4841 +  { (eval echo "$as_me:4427: \"$ac_try\"") >&5
4842    (eval $ac_try) 2>&5
4843    ac_status=$?
4844 -  echo "$as_me:4555: \$? = $ac_status" >&5
4845 +  echo "$as_me:4430: \$? = $ac_status" >&5
4846    (exit $ac_status); }; }; then
4847    eval "$as_ac_var=yes"
4848  else
4849 @@ -4562,7 +4437,7 @@
4850  fi
4851  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4852  fi
4853 -echo "$as_me:4565: result: `eval echo '${'$as_ac_var'}'`" >&5
4854 +echo "$as_me:4440: result: `eval echo '${'$as_ac_var'}'`" >&5
4855  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4856  if test `eval echo '${'$as_ac_var'}'` = yes; then
4857    cat >>confdefs.h <<EOF
4858 @@ -4577,13 +4452,13 @@
4859  for ac_func in strlcat
4860  do
4861  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4862 -echo "$as_me:4580: checking for $ac_func" >&5
4863 +echo "$as_me:4455: checking for $ac_func" >&5
4864  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4865  if eval "test \"\${$as_ac_var+set}\" = set"; then
4866    echo $ECHO_N "(cached) $ECHO_C" >&6
4867  else
4868    cat >conftest.$ac_ext <<_ACEOF
4869 -#line 4586 "configure"
4870 +#line 4461 "configure"
4871  #include "confdefs.h"
4872  /* System header to define __stub macros and hopefully few prototypes,
4873      which can conflict with char $ac_func (); below.  */
4874 @@ -4614,16 +4489,16 @@
4875  }
4876  _ACEOF
4877  rm -f conftest.$ac_objext conftest$ac_exeext
4878 -if { (eval echo "$as_me:4617: \"$ac_link\"") >&5
4879 +if { (eval echo "$as_me:4492: \"$ac_link\"") >&5
4880    (eval $ac_link) 2>&5
4881    ac_status=$?
4882 -  echo "$as_me:4620: \$? = $ac_status" >&5
4883 +  echo "$as_me:4495: \$? = $ac_status" >&5
4884    (exit $ac_status); } &&
4885           { ac_try='test -s conftest$ac_exeext'
4886 -  { (eval echo "$as_me:4623: \"$ac_try\"") >&5
4887 +  { (eval echo "$as_me:4498: \"$ac_try\"") >&5
4888    (eval $ac_try) 2>&5
4889    ac_status=$?
4890 -  echo "$as_me:4626: \$? = $ac_status" >&5
4891 +  echo "$as_me:4501: \$? = $ac_status" >&5
4892    (exit $ac_status); }; }; then
4893    eval "$as_ac_var=yes"
4894  else
4895 @@ -4633,7 +4508,7 @@
4896  fi
4897  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4898  fi
4899 -echo "$as_me:4636: result: `eval echo '${'$as_ac_var'}'`" >&5
4900 +echo "$as_me:4511: result: `eval echo '${'$as_ac_var'}'`" >&5
4901  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4902  if test `eval echo '${'$as_ac_var'}'` = yes; then
4903    cat >>confdefs.h <<EOF
4904 @@ -4648,13 +4523,13 @@
4905  for ac_func in memmem
4906  do
4907  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4908 -echo "$as_me:4651: checking for $ac_func" >&5
4909 +echo "$as_me:4526: checking for $ac_func" >&5
4910  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4911  if eval "test \"\${$as_ac_var+set}\" = set"; then
4912    echo $ECHO_N "(cached) $ECHO_C" >&6
4913  else
4914    cat >conftest.$ac_ext <<_ACEOF
4915 -#line 4657 "configure"
4916 +#line 4532 "configure"
4917  #include "confdefs.h"
4918  /* System header to define __stub macros and hopefully few prototypes,
4919      which can conflict with char $ac_func (); below.  */
4920 @@ -4685,16 +4560,16 @@
4921  }
4922  _ACEOF
4923  rm -f conftest.$ac_objext conftest$ac_exeext
4924 -if { (eval echo "$as_me:4688: \"$ac_link\"") >&5
4925 +if { (eval echo "$as_me:4563: \"$ac_link\"") >&5
4926    (eval $ac_link) 2>&5
4927    ac_status=$?
4928 -  echo "$as_me:4691: \$? = $ac_status" >&5
4929 +  echo "$as_me:4566: \$? = $ac_status" >&5
4930    (exit $ac_status); } &&
4931           { ac_try='test -s conftest$ac_exeext'
4932 -  { (eval echo "$as_me:4694: \"$ac_try\"") >&5
4933 +  { (eval echo "$as_me:4569: \"$ac_try\"") >&5
4934    (eval $ac_try) 2>&5
4935    ac_status=$?
4936 -  echo "$as_me:4697: \$? = $ac_status" >&5
4937 +  echo "$as_me:4572: \$? = $ac_status" >&5
4938    (exit $ac_status); }; }; then
4939    eval "$as_ac_var=yes"
4940  else
4941 @@ -4704,7 +4579,7 @@
4942  fi
4943  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4944  fi
4945 -echo "$as_me:4707: result: `eval echo '${'$as_ac_var'}'`" >&5
4946 +echo "$as_me:4582: result: `eval echo '${'$as_ac_var'}'`" >&5
4947  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4948  if test `eval echo '${'$as_ac_var'}'` = yes; then
4949    cat >>confdefs.h <<EOF
4950 @@ -4716,32 +4591,32 @@
4951  fi
4952  done
4953  
4954 -       echo "$as_me:4719: result: " >&5
4955 +       echo "$as_me:4594: result: " >&5
4956  echo "${ECHO_T}" >&6
4957 -       echo "$as_me:4721: result: ${SB}Checking user defined options...${EB}" >&5
4958 +       echo "$as_me:4596: result: ${SB}Checking user defined options...${EB}" >&5
4959  echo "${ECHO_T}${SB}Checking user defined options...${EB}" >&6
4960 -       echo "$as_me:4723: result: " >&5
4961 +       echo "$as_me:4598: result: " >&5
4962  echo "${ECHO_T}" >&6
4963  
4964  check_ncurses=0
4965 -echo "$as_me:4727: checking if --enable-ncurses option is specified" >&5
4966 +echo "$as_me:4602: checking if --enable-ncurses option is specified" >&5
4967  echo $ECHO_N "checking if --enable-ncurses option is specified... $ECHO_C" >&6
4968  # Check whether --enable-ncurses or --disable-ncurses was given.
4969  if test "${enable_ncurses+set}" = set; then
4970    enableval="$enable_ncurses"
4971     case "$enableval" in
4972         yes)
4973 -               echo "$as_me:4734: result: yes." >&5
4974 +               echo "$as_me:4609: result: yes." >&5
4975  echo "${ECHO_T}yes." >&6
4976                 check_ncurses=1
4977                 ;;
4978 -       no)  echo "$as_me:4738: result: no." >&5
4979 +       no)  echo "$as_me:4613: result: no." >&5
4980  echo "${ECHO_T}no." >&6
4981                 ac_cv_ec_ncurses=no
4982                 ;;
4983  esac
4984  else
4985 -  echo "$as_me:4744: result: yes. enabled by default." >&5
4986 +  echo "$as_me:4619: result: yes. enabled by default." >&5
4987  echo "${ECHO_T}yes. enabled by default." >&6
4988         check_ncurses=1
4989  
4990 @@ -4753,26 +4628,26 @@
4991  
4992         ac_cv_ec_ncurses=no
4993  
4994 -for ac_header in ncurses.h
4995 +for ac_header in ncurses/ncurses.h
4996  do
4997  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4998 -echo "$as_me:4759: checking for $ac_header" >&5
4999 +echo "$as_me:4634: checking for $ac_header" >&5
5000  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5001  if eval "test \"\${$as_ac_Header+set}\" = set"; then
5002    echo $ECHO_N "(cached) $ECHO_C" >&6
5003  else
5004    cat >conftest.$ac_ext <<_ACEOF
5005 -#line 4765 "configure"
5006 +#line 4640 "configure"
5007  #include "confdefs.h"
5008  #include <$ac_header>
5009  _ACEOF
5010 -if { (eval echo "$as_me:4769: \"$ac_cpp conftest.$ac_ext\"") >&5
5011 +if { (eval echo "$as_me:4644: \"$ac_cpp conftest.$ac_ext\"") >&5
5012    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5013    ac_status=$?
5014    egrep -v '^ *\+' conftest.er1 >conftest.err
5015    rm -f conftest.er1
5016    cat conftest.err >&5
5017 -  echo "$as_me:4775: \$? = $ac_status" >&5
5018 +  echo "$as_me:4650: \$? = $ac_status" >&5
5019    (exit $ac_status); } >/dev/null; then
5020    if test -s conftest.err; then
5021      ac_cpp_err=$ac_c_preproc_warn_flag
5022 @@ -4791,7 +4666,7 @@
5023  fi
5024  rm -f conftest.err conftest.$ac_ext
5025  fi
5026 -echo "$as_me:4794: result: `eval echo '${'$as_ac_Header'}'`" >&5
5027 +echo "$as_me:4669: result: `eval echo '${'$as_ac_Header'}'`" >&5
5028  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5029  if test `eval echo '${'$as_ac_Header'}'` = yes; then
5030    cat >>confdefs.h <<EOF
5031 @@ -4803,7 +4678,7 @@
5032  fi
5033  done
5034  
5035 -echo "$as_me:4806: checking for newwin in -lncurses" >&5
5036 +echo "$as_me:4681: checking for newwin in -lncurses" >&5
5037  echo $ECHO_N "checking for newwin in -lncurses... $ECHO_C" >&6
5038  if test "${ac_cv_lib_ncurses_newwin+set}" = set; then
5039    echo $ECHO_N "(cached) $ECHO_C" >&6
5040 @@ -4811,7 +4686,7 @@
5041    ac_check_lib_save_LIBS=$LIBS
5042  LIBS="-lncurses  $LIBS"
5043  cat >conftest.$ac_ext <<_ACEOF
5044 -#line 4814 "configure"
5045 +#line 4689 "configure"
5046  #include "confdefs.h"
5047  
5048  /* Override any gcc2 internal prototype to avoid an error.  */
5049 @@ -4830,16 +4705,16 @@
5050  }
5051  _ACEOF
5052  rm -f conftest.$ac_objext conftest$ac_exeext
5053 -if { (eval echo "$as_me:4833: \"$ac_link\"") >&5
5054 +if { (eval echo "$as_me:4708: \"$ac_link\"") >&5
5055    (eval $ac_link) 2>&5
5056    ac_status=$?
5057 -  echo "$as_me:4836: \$? = $ac_status" >&5
5058 +  echo "$as_me:4711: \$? = $ac_status" >&5
5059    (exit $ac_status); } &&
5060           { ac_try='test -s conftest$ac_exeext'
5061 -  { (eval echo "$as_me:4839: \"$ac_try\"") >&5
5062 +  { (eval echo "$as_me:4714: \"$ac_try\"") >&5
5063    (eval $ac_try) 2>&5
5064    ac_status=$?
5065 -  echo "$as_me:4842: \$? = $ac_status" >&5
5066 +  echo "$as_me:4717: \$? = $ac_status" >&5
5067    (exit $ac_status); }; }; then
5068    ac_cv_lib_ncurses_newwin=yes
5069  else
5070 @@ -4850,7 +4725,7 @@
5071  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5072  LIBS=$ac_check_lib_save_LIBS
5073  fi
5074 -echo "$as_me:4853: result: $ac_cv_lib_ncurses_newwin" >&5
5075 +echo "$as_me:4728: result: $ac_cv_lib_ncurses_newwin" >&5
5076  echo "${ECHO_T}$ac_cv_lib_ncurses_newwin" >&6
5077  if test $ac_cv_lib_ncurses_newwin = yes; then
5078    cat >>confdefs.h <<EOF
5079 @@ -4863,7 +4738,7 @@
5080    ncurses_warn=1
5081  fi
5082  
5083 -echo "$as_me:4866: checking for newpad in -lncurses" >&5
5084 +echo "$as_me:4741: checking for newpad in -lncurses" >&5
5085  echo $ECHO_N "checking for newpad in -lncurses... $ECHO_C" >&6
5086  if test "${ac_cv_lib_ncurses_newpad+set}" = set; then
5087    echo $ECHO_N "(cached) $ECHO_C" >&6
5088 @@ -4871,7 +4746,7 @@
5089    ac_check_lib_save_LIBS=$LIBS
5090  LIBS="-lncurses  $LIBS"
5091  cat >conftest.$ac_ext <<_ACEOF
5092 -#line 4874 "configure"
5093 +#line 4749 "configure"
5094  #include "confdefs.h"
5095  
5096  /* Override any gcc2 internal prototype to avoid an error.  */
5097 @@ -4890,16 +4765,16 @@
5098  }
5099  _ACEOF
5100  rm -f conftest.$ac_objext conftest$ac_exeext
5101 -if { (eval echo "$as_me:4893: \"$ac_link\"") >&5
5102 +if { (eval echo "$as_me:4768: \"$ac_link\"") >&5
5103    (eval $ac_link) 2>&5
5104    ac_status=$?
5105 -  echo "$as_me:4896: \$? = $ac_status" >&5
5106 +  echo "$as_me:4771: \$? = $ac_status" >&5
5107    (exit $ac_status); } &&
5108           { ac_try='test -s conftest$ac_exeext'
5109 -  { (eval echo "$as_me:4899: \"$ac_try\"") >&5
5110 +  { (eval echo "$as_me:4774: \"$ac_try\"") >&5
5111    (eval $ac_try) 2>&5
5112    ac_status=$?
5113 -  echo "$as_me:4902: \$? = $ac_status" >&5
5114 +  echo "$as_me:4777: \$? = $ac_status" >&5
5115    (exit $ac_status); }; }; then
5116    ac_cv_lib_ncurses_newpad=yes
5117  else
5118 @@ -4910,7 +4785,7 @@
5119  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5120  LIBS=$ac_check_lib_save_LIBS
5121  fi
5122 -echo "$as_me:4913: result: $ac_cv_lib_ncurses_newpad" >&5
5123 +echo "$as_me:4788: result: $ac_cv_lib_ncurses_newpad" >&5
5124  echo "${ECHO_T}$ac_cv_lib_ncurses_newpad" >&6
5125  if test $ac_cv_lib_ncurses_newpad = yes; then
5126    cat >>confdefs.h <<EOF
5127 @@ -4934,23 +4809,23 @@
5128  for ac_header in curses.h
5129  do
5130  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5131 -echo "$as_me:4937: checking for $ac_header" >&5
5132 +echo "$as_me:4812: checking for $ac_header" >&5
5133  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5134  if eval "test \"\${$as_ac_Header+set}\" = set"; then
5135    echo $ECHO_N "(cached) $ECHO_C" >&6
5136  else
5137    cat >conftest.$ac_ext <<_ACEOF
5138 -#line 4943 "configure"
5139 +#line 4818 "configure"
5140  #include "confdefs.h"
5141  #include <$ac_header>
5142  _ACEOF
5143 -if { (eval echo "$as_me:4947: \"$ac_cpp conftest.$ac_ext\"") >&5
5144 +if { (eval echo "$as_me:4822: \"$ac_cpp conftest.$ac_ext\"") >&5
5145    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5146    ac_status=$?
5147    egrep -v '^ *\+' conftest.er1 >conftest.err
5148    rm -f conftest.er1
5149    cat conftest.err >&5
5150 -  echo "$as_me:4953: \$? = $ac_status" >&5
5151 +  echo "$as_me:4828: \$? = $ac_status" >&5
5152    (exit $ac_status); } >/dev/null; then
5153    if test -s conftest.err; then
5154      ac_cpp_err=$ac_c_preproc_warn_flag
5155 @@ -4969,7 +4844,7 @@
5156  fi
5157  rm -f conftest.err conftest.$ac_ext
5158  fi
5159 -echo "$as_me:4972: result: `eval echo '${'$as_ac_Header'}'`" >&5
5160 +echo "$as_me:4847: result: `eval echo '${'$as_ac_Header'}'`" >&5
5161  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5162  if test `eval echo '${'$as_ac_Header'}'` = yes; then
5163    cat >>confdefs.h <<EOF
5164 @@ -4981,7 +4856,7 @@
5165  fi
5166  done
5167  
5168 -echo "$as_me:4984: checking for newwin in -lcurses" >&5
5169 +echo "$as_me:4859: checking for newwin in -lcurses" >&5
5170  echo $ECHO_N "checking for newwin in -lcurses... $ECHO_C" >&6
5171  if test "${ac_cv_lib_curses_newwin+set}" = set; then
5172    echo $ECHO_N "(cached) $ECHO_C" >&6
5173 @@ -4989,7 +4864,7 @@
5174    ac_check_lib_save_LIBS=$LIBS
5175  LIBS="-lcurses  $LIBS"
5176  cat >conftest.$ac_ext <<_ACEOF
5177 -#line 4992 "configure"
5178 +#line 4867 "configure"
5179  #include "confdefs.h"
5180  
5181  /* Override any gcc2 internal prototype to avoid an error.  */
5182 @@ -5008,16 +4883,16 @@
5183  }
5184  _ACEOF
5185  rm -f conftest.$ac_objext conftest$ac_exeext
5186 -if { (eval echo "$as_me:5011: \"$ac_link\"") >&5
5187 +if { (eval echo "$as_me:4886: \"$ac_link\"") >&5
5188    (eval $ac_link) 2>&5
5189    ac_status=$?
5190 -  echo "$as_me:5014: \$? = $ac_status" >&5
5191 +  echo "$as_me:4889: \$? = $ac_status" >&5
5192    (exit $ac_status); } &&
5193           { ac_try='test -s conftest$ac_exeext'
5194 -  { (eval echo "$as_me:5017: \"$ac_try\"") >&5
5195 +  { (eval echo "$as_me:4892: \"$ac_try\"") >&5
5196    (eval $ac_try) 2>&5
5197    ac_status=$?
5198 -  echo "$as_me:5020: \$? = $ac_status" >&5
5199 +  echo "$as_me:4895: \$? = $ac_status" >&5
5200    (exit $ac_status); }; }; then
5201    ac_cv_lib_curses_newwin=yes
5202  else
5203 @@ -5028,7 +4903,7 @@
5204  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5205  LIBS=$ac_check_lib_save_LIBS
5206  fi
5207 -echo "$as_me:5031: result: $ac_cv_lib_curses_newwin" >&5
5208 +echo "$as_me:4906: result: $ac_cv_lib_curses_newwin" >&5
5209  echo "${ECHO_T}$ac_cv_lib_curses_newwin" >&6
5210  if test $ac_cv_lib_curses_newwin = yes; then
5211    cat >>confdefs.h <<EOF
5212 @@ -5041,7 +4916,7 @@
5213    curses_warn=1
5214  fi
5215  
5216 -echo "$as_me:5044: checking for newpad in -lcurses" >&5
5217 +echo "$as_me:4919: checking for newpad in -lcurses" >&5
5218  echo $ECHO_N "checking for newpad in -lcurses... $ECHO_C" >&6
5219  if test "${ac_cv_lib_curses_newpad+set}" = set; then
5220    echo $ECHO_N "(cached) $ECHO_C" >&6
5221 @@ -5049,7 +4924,7 @@
5222    ac_check_lib_save_LIBS=$LIBS
5223  LIBS="-lcurses  $LIBS"
5224  cat >conftest.$ac_ext <<_ACEOF
5225 -#line 5052 "configure"
5226 +#line 4927 "configure"
5227  #include "confdefs.h"
5228  
5229  /* Override any gcc2 internal prototype to avoid an error.  */
5230 @@ -5068,16 +4943,16 @@
5231  }
5232  _ACEOF
5233  rm -f conftest.$ac_objext conftest$ac_exeext
5234 -if { (eval echo "$as_me:5071: \"$ac_link\"") >&5
5235 +if { (eval echo "$as_me:4946: \"$ac_link\"") >&5
5236    (eval $ac_link) 2>&5
5237    ac_status=$?
5238 -  echo "$as_me:5074: \$? = $ac_status" >&5
5239 +  echo "$as_me:4949: \$? = $ac_status" >&5
5240    (exit $ac_status); } &&
5241           { ac_try='test -s conftest$ac_exeext'
5242 -  { (eval echo "$as_me:5077: \"$ac_try\"") >&5
5243 +  { (eval echo "$as_me:4952: \"$ac_try\"") >&5
5244    (eval $ac_try) 2>&5
5245    ac_status=$?
5246 -  echo "$as_me:5080: \$? = $ac_status" >&5
5247 +  echo "$as_me:4955: \$? = $ac_status" >&5
5248    (exit $ac_status); }; }; then
5249    ac_cv_lib_curses_newpad=yes
5250  else
5251 @@ -5088,7 +4963,7 @@
5252  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5253  LIBS=$ac_check_lib_save_LIBS
5254  fi
5255 -echo "$as_me:5091: result: $ac_cv_lib_curses_newpad" >&5
5256 +echo "$as_me:4966: result: $ac_cv_lib_curses_newpad" >&5
5257  echo "${ECHO_T}$ac_cv_lib_curses_newpad" >&6
5258  if test $ac_cv_lib_curses_newpad = yes; then
5259    cat >>confdefs.h <<EOF
5260 @@ -5108,13 +4983,13 @@
5261  
5262                         ac_cv_ec_ncurses=yes
5263                 else
5264 -                       { echo "$as_me:5111: WARNING: ***********************************************" >&5
5265 +                       { echo "$as_me:4986: WARNING: ***********************************************" >&5
5266  echo "$as_me: WARNING: ***********************************************" >&2;}
5267 -                       { echo "$as_me:5113: WARNING: * NCURSES are NOT available in your system !! *" >&5
5268 +                       { echo "$as_me:4988: WARNING: * NCURSES are NOT available in your system !! *" >&5
5269  echo "$as_me: WARNING: * NCURSES are NOT available in your system !! *" >&2;}
5270 -                       { echo "$as_me:5115: WARNING: * Interactive mode will not be supported!     *" >&5
5271 +                       { echo "$as_me:4990: WARNING: * Interactive mode will not be supported!     *" >&5
5272  echo "$as_me: WARNING: * Interactive mode will not be supported!     *" >&2;}
5273 -                       { echo "$as_me:5117: WARNING: ***********************************************" >&5
5274 +                       { echo "$as_me:4992: WARNING: ***********************************************" >&5
5275  echo "$as_me: WARNING: ***********************************************" >&2;}
5276                 fi
5277         fi
5278 @@ -5123,26 +4998,26 @@
5279  form_warn=0
5280  if test "$ncurses_warn$curses_warn" -eq "00"; then
5281  
5282 -for ac_header in form.h
5283 +for ac_header in ncurses/form.h
5284  do
5285  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5286 -echo "$as_me:5129: checking for $ac_header" >&5
5287 +echo "$as_me:5004: checking for $ac_header" >&5
5288  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5289  if eval "test \"\${$as_ac_Header+set}\" = set"; then
5290    echo $ECHO_N "(cached) $ECHO_C" >&6
5291  else
5292    cat >conftest.$ac_ext <<_ACEOF
5293 -#line 5135 "configure"
5294 +#line 5010 "configure"
5295  #include "confdefs.h"
5296  #include <$ac_header>
5297  _ACEOF
5298 -if { (eval echo "$as_me:5139: \"$ac_cpp conftest.$ac_ext\"") >&5
5299 +if { (eval echo "$as_me:5014: \"$ac_cpp conftest.$ac_ext\"") >&5
5300    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5301    ac_status=$?
5302    egrep -v '^ *\+' conftest.er1 >conftest.err
5303    rm -f conftest.er1
5304    cat conftest.err >&5
5305 -  echo "$as_me:5145: \$? = $ac_status" >&5
5306 +  echo "$as_me:5020: \$? = $ac_status" >&5
5307    (exit $ac_status); } >/dev/null; then
5308    if test -s conftest.err; then
5309      ac_cpp_err=$ac_c_preproc_warn_flag
5310 @@ -5161,7 +5036,7 @@
5311  fi
5312  rm -f conftest.err conftest.$ac_ext
5313  fi
5314 -echo "$as_me:5164: result: `eval echo '${'$as_ac_Header'}'`" >&5
5315 +echo "$as_me:5039: result: `eval echo '${'$as_ac_Header'}'`" >&5
5316  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5317  if test `eval echo '${'$as_ac_Header'}'` = yes; then
5318    cat >>confdefs.h <<EOF
5319 @@ -5173,7 +5048,7 @@
5320  fi
5321  done
5322  
5323 -echo "$as_me:5176: checking for form_win in -lform" >&5
5324 +echo "$as_me:5051: checking for form_win in -lform" >&5
5325  echo $ECHO_N "checking for form_win in -lform... $ECHO_C" >&6
5326  if test "${ac_cv_lib_form_form_win+set}" = set; then
5327    echo $ECHO_N "(cached) $ECHO_C" >&6
5328 @@ -5181,7 +5056,7 @@
5329    ac_check_lib_save_LIBS=$LIBS
5330  LIBS="-lform  $LIBS"
5331  cat >conftest.$ac_ext <<_ACEOF
5332 -#line 5184 "configure"
5333 +#line 5059 "configure"
5334  #include "confdefs.h"
5335  
5336  /* Override any gcc2 internal prototype to avoid an error.  */
5337 @@ -5200,16 +5075,16 @@
5338  }
5339  _ACEOF
5340  rm -f conftest.$ac_objext conftest$ac_exeext
5341 -if { (eval echo "$as_me:5203: \"$ac_link\"") >&5
5342 +if { (eval echo "$as_me:5078: \"$ac_link\"") >&5
5343    (eval $ac_link) 2>&5
5344    ac_status=$?
5345 -  echo "$as_me:5206: \$? = $ac_status" >&5
5346 +  echo "$as_me:5081: \$? = $ac_status" >&5
5347    (exit $ac_status); } &&
5348           { ac_try='test -s conftest$ac_exeext'
5349 -  { (eval echo "$as_me:5209: \"$ac_try\"") >&5
5350 +  { (eval echo "$as_me:5084: \"$ac_try\"") >&5
5351    (eval $ac_try) 2>&5
5352    ac_status=$?
5353 -  echo "$as_me:5212: \$? = $ac_status" >&5
5354 +  echo "$as_me:5087: \$? = $ac_status" >&5
5355    (exit $ac_status); }; }; then
5356    ac_cv_lib_form_form_win=yes
5357  else
5358 @@ -5220,7 +5095,7 @@
5359  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5360  LIBS=$ac_check_lib_save_LIBS
5361  fi
5362 -echo "$as_me:5223: result: $ac_cv_lib_form_form_win" >&5
5363 +echo "$as_me:5098: result: $ac_cv_lib_form_form_win" >&5
5364  echo "${ECHO_T}$ac_cv_lib_form_form_win" >&6
5365  if test $ac_cv_lib_form_form_win = yes; then
5366    cat >>confdefs.h <<EOF
5367 @@ -5241,18 +5116,18 @@
5368  
5369                 ac_cv_ec_form=yes
5370         else
5371 -               { echo "$as_me:5244: WARNING: ****************************************************" >&5
5372 +               { echo "$as_me:5119: WARNING: ****************************************************" >&5
5373  echo "$as_me: WARNING: ****************************************************" >&2;}
5374 -               { echo "$as_me:5246: WARNING: * NCURSES FORM are NOT available in your system !! *" >&5
5375 +               { echo "$as_me:5121: WARNING: * NCURSES FORM are NOT available in your system !! *" >&5
5376  echo "$as_me: WARNING: * NCURSES FORM are NOT available in your system !! *" >&2;}
5377 -               { echo "$as_me:5248: WARNING: * some interface will be less pleasureful...       *" >&5
5378 +               { echo "$as_me:5123: WARNING: * some interface will be less pleasureful...       *" >&5
5379  echo "$as_me: WARNING: * some interface will be less pleasureful...       *" >&2;}
5380 -               { echo "$as_me:5250: WARNING: ****************************************************" >&5
5381 +               { echo "$as_me:5125: WARNING: ****************************************************" >&5
5382  echo "$as_me: WARNING: ****************************************************" >&2;}
5383         fi
5384  fi
5385  
5386 -echo "$as_me:5255: checking if --enable-debug option is specified" >&5
5387 +echo "$as_me:5130: checking if --enable-debug option is specified" >&5
5388  echo $ECHO_N "checking if --enable-debug option is specified... $ECHO_C" >&6
5389  # Check whether --enable-debug or --disable-debug was given.
5390  if test "${enable_debug+set}" = set; then
5391 @@ -5261,25 +5136,25 @@
5392         yes)
5393                 DEBUG="-DDEBUG"
5394                 CFLAGS="-O2 -Wall -g -ggdb"
5395 -               echo "$as_me:5264: result: yes" >&5
5396 +               echo "$as_me:5139: result: yes" >&5
5397  echo "${ECHO_T}yes" >&6
5398                 ac_cv_ec_debug=yes
5399                 ;;
5400 -       no)  echo "$as_me:5268: result: no." >&5
5401 +       no)  echo "$as_me:5143: result: no." >&5
5402  echo "${ECHO_T}no." >&6
5403                 CFLAGS="-O2 -Wall"
5404                 ac_cv_ec_debug=no
5405                 ;;
5406  esac
5407  else
5408 -  echo "$as_me:5275: result: no. disabled by default." >&5
5409 +  echo "$as_me:5150: result: no. disabled by default." >&5
5410  echo "${ECHO_T}no. disabled by default." >&6
5411         CFLAGS="-O2 -Wall"
5412         ac_cv_ec_debug=no
5413  
5414  fi;
5415  
5416 -echo "$as_me:5282: checking if --enable-suid option is specified" >&5
5417 +echo "$as_me:5157: checking if --enable-suid option is specified" >&5
5418  echo $ECHO_N "checking if --enable-suid option is specified... $ECHO_C" >&6
5419  # Check whether --enable-suid or --disable-suid was given.
5420  if test "${enable_suid+set}" = set; then
5421 @@ -5290,41 +5165,41 @@
5422  #define PERMIT_SUID 1
5423  EOF
5424  
5425 -               echo "$as_me:5293: result: yes" >&5
5426 +               echo "$as_me:5168: result: yes" >&5
5427  echo "${ECHO_T}yes" >&6
5428                 ac_cv_ec_suid=yes
5429                 ;;
5430 -       no)  echo "$as_me:5297: result: no" >&5
5431 +       no)  echo "$as_me:5172: result: no" >&5
5432  echo "${ECHO_T}no" >&6
5433                 ac_cv_ec_suid=no
5434                 ;;
5435  esac
5436  else
5437 -  echo "$as_me:5303: result: no. disabled by default." >&5
5438 +  echo "$as_me:5178: result: no. disabled by default." >&5
5439  echo "${ECHO_T}no. disabled by default." >&6
5440         ac_cv_ec_suid=no
5441  
5442  fi;
5443  
5444  check_plugins=0
5445 -echo "$as_me:5310: checking if --enable-plugins option is specified" >&5
5446 +echo "$as_me:5185: checking if --enable-plugins option is specified" >&5
5447  echo $ECHO_N "checking if --enable-plugins option is specified... $ECHO_C" >&6
5448  # Check whether --enable-plugins or --disable-plugins was given.
5449  if test "${enable_plugins+set}" = set; then
5450    enableval="$enable_plugins"
5451     case "$enableval" in
5452         yes)
5453 -               echo "$as_me:5317: result: yes." >&5
5454 +               echo "$as_me:5192: result: yes." >&5
5455  echo "${ECHO_T}yes." >&6
5456                 check_plugins=1
5457                 ;;
5458 -       no)  echo "$as_me:5321: result: no." >&5
5459 +       no)  echo "$as_me:5196: result: no." >&5
5460  echo "${ECHO_T}no." >&6
5461                 ac_cv_ec_plugin=no
5462                 ;;
5463  esac
5464  else
5465 -  echo "$as_me:5327: result: yes. enabled by default." >&5
5466 +  echo "$as_me:5202: result: yes. enabled by default." >&5
5467  echo "${ECHO_T}yes. enabled by default." >&6
5468         check_plugins=1
5469  
5470 @@ -5336,23 +5211,23 @@
5471  for ac_header in dlfcn.h
5472  do
5473  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5474 -echo "$as_me:5339: checking for $ac_header" >&5
5475 +echo "$as_me:5214: checking for $ac_header" >&5
5476  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5477  if eval "test \"\${$as_ac_Header+set}\" = set"; then
5478    echo $ECHO_N "(cached) $ECHO_C" >&6
5479  else
5480    cat >conftest.$ac_ext <<_ACEOF
5481 -#line 5345 "configure"
5482 +#line 5220 "configure"
5483  #include "confdefs.h"
5484  #include <$ac_header>
5485  _ACEOF
5486 -if { (eval echo "$as_me:5349: \"$ac_cpp conftest.$ac_ext\"") >&5
5487 +if { (eval echo "$as_me:5224: \"$ac_cpp conftest.$ac_ext\"") >&5
5488    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5489    ac_status=$?
5490    egrep -v '^ *\+' conftest.er1 >conftest.err
5491    rm -f conftest.er1
5492    cat conftest.err >&5
5493 -  echo "$as_me:5355: \$? = $ac_status" >&5
5494 +  echo "$as_me:5230: \$? = $ac_status" >&5
5495    (exit $ac_status); } >/dev/null; then
5496    if test -s conftest.err; then
5497      ac_cpp_err=$ac_c_preproc_warn_flag
5498 @@ -5371,7 +5246,7 @@
5499  fi
5500  rm -f conftest.err conftest.$ac_ext
5501  fi
5502 -echo "$as_me:5374: result: `eval echo '${'$as_ac_Header'}'`" >&5
5503 +echo "$as_me:5249: result: `eval echo '${'$as_ac_Header'}'`" >&5
5504  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5505  if test `eval echo '${'$as_ac_Header'}'` = yes; then
5506    cat >>confdefs.h <<EOF
5507 @@ -5385,7 +5260,7 @@
5508  
5509         if test "$OS" = "LINUX"; then
5510  
5511 -echo "$as_me:5388: checking for dlopen in -ldl" >&5
5512 +echo "$as_me:5263: checking for dlopen in -ldl" >&5
5513  echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
5514  if test "${ac_cv_lib_dl_dlopen+set}" = set; then
5515    echo $ECHO_N "(cached) $ECHO_C" >&6
5516 @@ -5393,7 +5268,7 @@
5517    ac_check_lib_save_LIBS=$LIBS
5518  LIBS="-ldl  $LIBS"
5519  cat >conftest.$ac_ext <<_ACEOF
5520 -#line 5396 "configure"
5521 +#line 5271 "configure"
5522  #include "confdefs.h"
5523  
5524  /* Override any gcc2 internal prototype to avoid an error.  */
5525 @@ -5412,16 +5287,16 @@
5526  }
5527  _ACEOF
5528  rm -f conftest.$ac_objext conftest$ac_exeext
5529 -if { (eval echo "$as_me:5415: \"$ac_link\"") >&5
5530 +if { (eval echo "$as_me:5290: \"$ac_link\"") >&5
5531    (eval $ac_link) 2>&5
5532    ac_status=$?
5533 -  echo "$as_me:5418: \$? = $ac_status" >&5
5534 +  echo "$as_me:5293: \$? = $ac_status" >&5
5535    (exit $ac_status); } &&
5536           { ac_try='test -s conftest$ac_exeext'
5537 -  { (eval echo "$as_me:5421: \"$ac_try\"") >&5
5538 +  { (eval echo "$as_me:5296: \"$ac_try\"") >&5
5539    (eval $ac_try) 2>&5
5540    ac_status=$?
5541 -  echo "$as_me:5424: \$? = $ac_status" >&5
5542 +  echo "$as_me:5299: \$? = $ac_status" >&5
5543    (exit $ac_status); }; }; then
5544    ac_cv_lib_dl_dlopen=yes
5545  else
5546 @@ -5432,7 +5307,7 @@
5547  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5548  LIBS=$ac_check_lib_save_LIBS
5549  fi
5550 -echo "$as_me:5435: result: $ac_cv_lib_dl_dlopen" >&5
5551 +echo "$as_me:5310: result: $ac_cv_lib_dl_dlopen" >&5
5552  echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
5553  if test $ac_cv_lib_dl_dlopen = yes; then
5554    cat >>confdefs.h <<EOF
5555 @@ -5447,7 +5322,7 @@
5556  
5557         else
5558  
5559 -echo "$as_me:5450: checking for dlopen in -lc" >&5
5560 +echo "$as_me:5325: checking for dlopen in -lc" >&5
5561  echo $ECHO_N "checking for dlopen in -lc... $ECHO_C" >&6
5562  if test "${ac_cv_lib_c_dlopen+set}" = set; then
5563    echo $ECHO_N "(cached) $ECHO_C" >&6
5564 @@ -5455,7 +5330,7 @@
5565    ac_check_lib_save_LIBS=$LIBS
5566  LIBS="-lc  $LIBS"
5567  cat >conftest.$ac_ext <<_ACEOF
5568 -#line 5458 "configure"
5569 +#line 5333 "configure"
5570  #include "confdefs.h"
5571  
5572  /* Override any gcc2 internal prototype to avoid an error.  */
5573 @@ -5474,16 +5349,16 @@
5574  }
5575  _ACEOF
5576  rm -f conftest.$ac_objext conftest$ac_exeext
5577 -if { (eval echo "$as_me:5477: \"$ac_link\"") >&5
5578 +if { (eval echo "$as_me:5352: \"$ac_link\"") >&5
5579    (eval $ac_link) 2>&5
5580    ac_status=$?
5581 -  echo "$as_me:5480: \$? = $ac_status" >&5
5582 +  echo "$as_me:5355: \$? = $ac_status" >&5
5583    (exit $ac_status); } &&
5584           { ac_try='test -s conftest$ac_exeext'
5585 -  { (eval echo "$as_me:5483: \"$ac_try\"") >&5
5586 +  { (eval echo "$as_me:5358: \"$ac_try\"") >&5
5587    (eval $ac_try) 2>&5
5588    ac_status=$?
5589 -  echo "$as_me:5486: \$? = $ac_status" >&5
5590 +  echo "$as_me:5361: \$? = $ac_status" >&5
5591    (exit $ac_status); }; }; then
5592    ac_cv_lib_c_dlopen=yes
5593  else
5594 @@ -5494,7 +5369,7 @@
5595  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5596  LIBS=$ac_check_lib_save_LIBS
5597  fi
5598 -echo "$as_me:5497: result: $ac_cv_lib_c_dlopen" >&5
5599 +echo "$as_me:5372: result: $ac_cv_lib_c_dlopen" >&5
5600  echo "${ECHO_T}$ac_cv_lib_c_dlopen" >&6
5601  if test $ac_cv_lib_c_dlopen = yes; then
5602    cat >>confdefs.h <<EOF
5603 @@ -5517,11 +5392,11 @@
5604                 ac_cv_ec_plugin=yes
5605                 LIBS="$LIBS -rdynamic"
5606         else
5607 -               { echo "$as_me:5520: WARNING: ***********************************************" >&5
5608 +               { echo "$as_me:5395: WARNING: ***********************************************" >&5
5609  echo "$as_me: WARNING: ***********************************************" >&2;}
5610 -               { echo "$as_me:5522: WARNING: * Plugins are NOT supported by your system !! *" >&5
5611 +               { echo "$as_me:5397: WARNING: * Plugins are NOT supported by your system !! *" >&5
5612  echo "$as_me: WARNING: * Plugins are NOT supported by your system !! *" >&2;}
5613 -               { echo "$as_me:5524: WARNING: ***********************************************" >&5
5614 +               { echo "$as_me:5399: WARNING: ***********************************************" >&5
5615  echo "$as_me: WARNING: ***********************************************" >&2;}
5616            ac_cv_ec_plugin=no
5617         fi
5618 @@ -5534,21 +5409,21 @@
5619    withval="$with_openssl"
5620     case "$withval" in
5621         no)
5622 -               echo "$as_me:5537: checking for OpenSSL" >&5
5623 +               echo "$as_me:5412: checking for OpenSSL" >&5
5624  echo $ECHO_N "checking for OpenSSL... $ECHO_C" >&6
5625 -               echo "$as_me:5539: result: no" >&5
5626 +               echo "$as_me:5414: result: no" >&5
5627  echo "${ECHO_T}no" >&6
5628                 ac_cv_ec_ssh=no
5629                 ;;
5630         *)
5631 -               echo "$as_me:5544: checking for OpenSSL in $withval" >&5
5632 +               echo "$as_me:5419: checking for OpenSSL in $withval" >&5
5633  echo $ECHO_N "checking for OpenSSL in $withval... $ECHO_C" >&6
5634                 check_ssh=1
5635                 ssl_path=$withval
5636                 ;;
5637         esac
5638  else
5639 -   echo "$as_me:5551: checking for OpenSSL in ${prefix}" >&5
5640 +   echo "$as_me:5426: checking for OpenSSL in ${prefix}" >&5
5641  echo $ECHO_N "checking for OpenSSL in ${prefix}... $ECHO_C" >&6
5642         check_ssh=1
5643         ssl_path=${prefix}
5644 @@ -5564,7 +5439,7 @@
5645  EOF
5646  
5647                 ac_cv_ec_ssh=yes
5648 -               echo "$as_me:5567: result: yes" >&5
5649 +               echo "$as_me:5442: result: yes" >&5
5650  echo "${ECHO_T}yes" >&6
5651         elif test -f $ssl_path/ssl/include/openssl/ssl.h; then
5652                 CPPFLAGS="$CPPFLAGS -I$ssl_path/ssl/include"
5653 @@ -5574,7 +5449,7 @@
5654  EOF
5655  
5656                 ac_cv_ec_ssh=yes
5657 -               echo "$as_me:5577: result: yes" >&5
5658 +               echo "$as_me:5452: result: yes" >&5
5659  echo "${ECHO_T}yes" >&6
5660         elif test -f /usr/include/openssl/ssl.h; then
5661                 LIBS="$LIBS -lssl -lcrypto"
5662 @@ -5583,25 +5458,25 @@
5663  EOF
5664  
5665                 ac_cv_ec_ssh=yes
5666 -               echo "$as_me:5586: result: yes" >&5
5667 +               echo "$as_me:5461: result: yes" >&5
5668  echo "${ECHO_T}yes" >&6
5669         else
5670 -               echo "$as_me:5589: result: no" >&5
5671 +               echo "$as_me:5464: result: no" >&5
5672  echo "${ECHO_T}no" >&6
5673                 ac_cv_ec_ssh=no
5674 -               { echo "$as_me:5592: WARNING: **********************************************" >&5
5675 +               { echo "$as_me:5467: WARNING: **********************************************" >&5
5676  echo "$as_me: WARNING: **********************************************" >&2;}
5677 -               { echo "$as_me:5594: WARNING: * OpenSSL is NOT installed in your system !! *" >&5
5678 +               { echo "$as_me:5469: WARNING: * OpenSSL is NOT installed in your system !! *" >&5
5679  echo "$as_me: WARNING: * OpenSSL is NOT installed in your system !! *" >&2;}
5680 -               { echo "$as_me:5596: WARNING: * SSH support will NOT be available...       *" >&5
5681 +               { echo "$as_me:5471: WARNING: * SSH support will NOT be available...       *" >&5
5682  echo "$as_me: WARNING: * SSH support will NOT be available...       *" >&2;}
5683 -               { echo "$as_me:5598: WARNING: **********************************************" >&5
5684 +               { echo "$as_me:5473: WARNING: **********************************************" >&5
5685  echo "$as_me: WARNING: **********************************************" >&2;}
5686         fi
5687  
5688  fi
5689  
5690 -echo "$as_me:5604: checking if --enable-https option is specified" >&5
5691 +echo "$as_me:5479: checking if --enable-https option is specified" >&5
5692  echo $ECHO_N "checking if --enable-https option is specified... $ECHO_C" >&6
5693  # Check whether --enable-https or --disable-https was given.
5694  if test "${enable_https+set}" = set; then
5695 @@ -5609,7 +5484,7 @@
5696     case "$enableval" in
5697         yes)
5698                 if test "$OS" = "MACOSX"; then
5699 -                       echo "$as_me:5612: result: NOT available on Mac Os X" >&5
5700 +                       echo "$as_me:5487: result: NOT available on Mac Os X" >&5
5701  echo "${ECHO_T}NOT available on Mac Os X" >&6
5702                         ac_cv_ec_https=no
5703                 else
5704 @@ -5617,37 +5492,37 @@
5705  #define PERMIT_HTTPS 1
5706  EOF
5707  
5708 -                       echo "$as_me:5620: result: yes" >&5
5709 +                       echo "$as_me:5495: result: yes" >&5
5710  echo "${ECHO_T}yes" >&6
5711                         ac_cv_ec_https=yes
5712                 fi
5713                 ;;
5714 -       no)  echo "$as_me:5625: result: no" >&5
5715 +       no)  echo "$as_me:5500: result: no" >&5
5716  echo "${ECHO_T}no" >&6
5717                 ac_cv_ec_https=no
5718                 ;;
5719         esac
5720  else
5721    if test "$OS" = "MACOSX"; then
5722 -               echo "$as_me:5632: result: NOT available on Mac Os X" >&5
5723 +               echo "$as_me:5507: result: NOT available on Mac Os X" >&5
5724  echo "${ECHO_T}NOT available on Mac Os X" >&6
5725                 ac_cv_ec_https=no
5726         elif test "$OS" = "OPENBSD" -o "$OS" = "FREEBSD" -o "$OS" = "NETBSD"; then
5727 -               echo "$as_me:5636: result: no." >&5
5728 +               echo "$as_me:5511: result: no." >&5
5729  echo "${ECHO_T}no." >&6
5730                 ac_cv_ec_https=no
5731 -               { echo "$as_me:5639: WARNING: ***************************************************" >&5
5732 +               { echo "$as_me:5514: WARNING: ***************************************************" >&5
5733  echo "$as_me: WARNING: ***************************************************" >&2;}
5734 -               { echo "$as_me:5641: WARNING: * HTTPS dissection in in ALPHA state under BSD... *" >&5
5735 +               { echo "$as_me:5516: WARNING: * HTTPS dissection in in ALPHA state under BSD... *" >&5
5736  echo "$as_me: WARNING: * HTTPS dissection in in ALPHA state under BSD... *" >&2;}
5737 -               { echo "$as_me:5643: WARNING: * I discourage you to enable it.                  *" >&5
5738 +               { echo "$as_me:5518: WARNING: * I discourage you to enable it.                  *" >&5
5739  echo "$as_me: WARNING: * I discourage you to enable it.                  *" >&2;}
5740 -               { echo "$as_me:5645: WARNING: * But if you want use at your own risk            *" >&5
5741 +               { echo "$as_me:5520: WARNING: * But if you want use at your own risk            *" >&5
5742  echo "$as_me: WARNING: * But if you want use at your own risk            *" >&2;}
5743 -               { echo "$as_me:5647: WARNING: ***************************************************" >&5
5744 +               { echo "$as_me:5522: WARNING: ***************************************************" >&5
5745  echo "$as_me: WARNING: ***************************************************" >&2;}
5746         else
5747 -               echo "$as_me:5650: result: yes. enabled by default." >&5
5748 +               echo "$as_me:5525: result: yes. enabled by default." >&5
5749  echo "${ECHO_T}yes. enabled by default." >&6
5750                 cat >>confdefs.h <<\EOF
5751  #define PERMIT_HTTPS 1
5752 @@ -5658,11 +5533,11 @@
5753  
5754  fi;
5755  
5756 -       echo "$as_me:5661: result: " >&5
5757 +       echo "$as_me:5536: result: " >&5
5758  echo "${ECHO_T}" >&6
5759 -       echo "$as_me:5663: result: ${SB}Writing output files...${EB}" >&5
5760 +       echo "$as_me:5538: result: ${SB}Writing output files...${EB}" >&5
5761  echo "${ECHO_T}${SB}Writing output files...${EB}" >&6
5762 -       echo "$as_me:5665: result: " >&5
5763 +       echo "$as_me:5540: result: " >&5
5764  echo "${ECHO_T}" >&6
5765  
5766  PLUGINS=`ls ./plugins | grep -v Make | awk ' { printf "%s ", $1 } '`
5767 @@ -5749,7 +5624,7 @@
5768  : ${CONFIG_STATUS=./config.status}
5769  ac_clean_files_save=$ac_clean_files
5770  ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5771 -{ echo "$as_me:5752: creating $CONFIG_STATUS" >&5
5772 +{ echo "$as_me:5627: creating $CONFIG_STATUS" >&5
5773  echo "$as_me: creating $CONFIG_STATUS" >&6;}
5774  cat >$CONFIG_STATUS <<_ACEOF
5775  #! $SHELL
5776 @@ -5922,7 +5797,7 @@
5777      echo "$ac_cs_version"; exit 0 ;;
5778    --he | --h)
5779      # Conflict between --help and --header
5780 -    { { echo "$as_me:5925: error: ambiguous option: $1
5781 +    { { echo "$as_me:5800: error: ambiguous option: $1
5782  Try \`$0 --help' for more information." >&5
5783  echo "$as_me: error: ambiguous option: $1
5784  Try \`$0 --help' for more information." >&2;}
5785 @@ -5941,7 +5816,7 @@
5786      ac_need_defaults=false;;
5787  
5788    # This is an error.
5789 -  -*) { { echo "$as_me:5944: error: unrecognized option: $1
5790 +  -*) { { echo "$as_me:5819: error: unrecognized option: $1
5791  Try \`$0 --help' for more information." >&5
5792  echo "$as_me: error: unrecognized option: $1
5793  Try \`$0 --help' for more information." >&2;}
5794 @@ -5982,7 +5857,7 @@
5795    "$makeplug" ) CONFIG_FILES="$CONFIG_FILES $makeplug" ;;
5796    "plugins/Makefile" ) CONFIG_FILES="$CONFIG_FILES plugins/Makefile" ;;
5797    "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5798 -  *) { { echo "$as_me:5985: error: invalid argument: $ac_config_target" >&5
5799 +  *) { { echo "$as_me:5860: error: invalid argument: $ac_config_target" >&5
5800  echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5801     { (exit 1); exit 1; }; };;
5802    esac
5803 @@ -6216,7 +6091,7 @@
5804    esac
5805  
5806    if test x"$ac_file" != x-; then
5807 -    { echo "$as_me:6219: creating $ac_file" >&5
5808 +    { echo "$as_me:6094: creating $ac_file" >&5
5809  echo "$as_me: creating $ac_file" >&6;}
5810      rm -f "$ac_file"
5811    fi
5812 @@ -6234,7 +6109,7 @@
5813        -) echo $tmp/stdin ;;
5814        [\\/$]*)
5815           # Absolute (can't be DOS-style, as IFS=:)
5816 -         test -f "$f" || { { echo "$as_me:6237: error: cannot find input file: $f" >&5
5817 +         test -f "$f" || { { echo "$as_me:6112: error: cannot find input file: $f" >&5
5818  echo "$as_me: error: cannot find input file: $f" >&2;}
5819     { (exit 1); exit 1; }; }
5820           echo $f;;
5821 @@ -6247,7 +6122,7 @@
5822             echo $srcdir/$f
5823           else
5824             # /dev/null tree
5825 -           { { echo "$as_me:6250: error: cannot find input file: $f" >&5
5826 +           { { echo "$as_me:6125: error: cannot find input file: $f" >&5
5827  echo "$as_me: error: cannot find input file: $f" >&2;}
5828     { (exit 1); exit 1; }; }
5829           fi;;
5830 @@ -6308,7 +6183,7 @@
5831    * )   ac_file_in=$ac_file.in ;;
5832    esac
5833  
5834 -  test x"$ac_file" != x- && { echo "$as_me:6311: creating $ac_file" >&5
5835 +  test x"$ac_file" != x- && { echo "$as_me:6186: creating $ac_file" >&5
5836  echo "$as_me: creating $ac_file" >&6;}
5837  
5838    # First look for the input files in the build tree, otherwise in the
5839 @@ -6319,7 +6194,7 @@
5840        -) echo $tmp/stdin ;;
5841        [\\/$]*)
5842           # Absolute (can't be DOS-style, as IFS=:)
5843 -         test -f "$f" || { { echo "$as_me:6322: error: cannot find input file: $f" >&5
5844 +         test -f "$f" || { { echo "$as_me:6197: error: cannot find input file: $f" >&5
5845  echo "$as_me: error: cannot find input file: $f" >&2;}
5846     { (exit 1); exit 1; }; }
5847           echo $f;;
5848 @@ -6332,7 +6207,7 @@
5849             echo $srcdir/$f
5850           else
5851             # /dev/null tree
5852 -           { { echo "$as_me:6335: error: cannot find input file: $f" >&5
5853 +           { { echo "$as_me:6210: error: cannot find input file: $f" >&5
5854  echo "$as_me: error: cannot find input file: $f" >&2;}
5855     { (exit 1); exit 1; }; }
5856           fi;;
5857 @@ -6449,7 +6324,7 @@
5858    rm -f $tmp/in
5859    if test x"$ac_file" != x-; then
5860      if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
5861 -      { echo "$as_me:6452: $ac_file is unchanged" >&5
5862 +      { echo "$as_me:6327: $ac_file is unchanged" >&5
5863  echo "$as_me: $ac_file is unchanged" >&6;}
5864      else
5865        ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5866 @@ -6516,11 +6391,11 @@
5867    $ac_cs_success || { (exit 1); exit 1; }
5868  fi
5869  
5870 -       echo "$as_me:6519: result: " >&5
5871 +       echo "$as_me:6394: result: " >&5
5872  echo "${ECHO_T}" >&6
5873 -       echo "$as_me:6521: result: ${SB}Ettercap has been configured as follow...${EB}" >&5
5874 +       echo "$as_me:6396: result: ${SB}Ettercap has been configured as follow...${EB}" >&5
5875  echo "${ECHO_T}${SB}Ettercap has been configured as follow...${EB}" >&6
5876 -       echo "$as_me:6523: result: " >&5
5877 +       echo "$as_me:6398: result: " >&5
5878  echo "${ECHO_T}" >&6
5879  
5880  echo "=================================================="
5881 diff -urN ettercap-0.5.4.orig/configure.in ettercap-0.5.4/configure.in
5882 --- ettercap-0.5.4.orig/configure.in    Thu Sep  6 16:44:55 2001
5883 +++ ettercap-0.5.4/configure.in Thu Sep  6 17:14:18 2001
5884 @@ -245,7 +245,7 @@
5885         curses_warn=0
5886  
5887         ac_cv_ec_ncurses=no
5888 -       AC_CHECK_HEADERS(ncurses.h,,ncurses_warn=1)
5889 +       AC_CHECK_HEADERS(ncurses/ncurses.h,,ncurses_warn=1)
5890         AC_CHECK_LIB(ncurses,newwin,,ncurses_warn=1)
5891         AC_CHECK_LIB(ncurses,newpad,,ncurses_warn=1)
5892  
5893 @@ -271,7 +271,7 @@
5894  
5895  form_warn=0
5896  if test "$ncurses_warn$curses_warn" -eq "00"; then
5897 -       AC_CHECK_HEADERS(form.h,,form_warn=1)
5898 +       AC_CHECK_HEADERS(ncurses/form.h,,form_warn=1)
5899         AC_CHECK_LIB(form,form_win,,form_warn=1)
5900  
5901         ac_cv_ec_form=no
5902 diff -urN ettercap-0.5.4.orig/ettercap.8 ettercap-0.5.4/ettercap.8
5903 --- ettercap-0.5.4.orig/ettercap.8      Thu Jan  1 01:00:00 1970
5904 +++ ettercap-0.5.4/ettercap.8   Thu Sep  6 17:14:33 2001
5905 @@ -0,0 +1,552 @@
5906 +.\"  ettercap -- a ncurses-based sniffer/interceptor utility for switched LAN
5907 +.\"
5908 +.\"  Copyright (C) 2001  ALoR <alor@users.sourceforge.net>, NaGA <crwm@freemail.it>
5909 +.\"
5910 +.\"  This program is free software; you can redistribute it and/or modify
5911 +.\"  it under the terms of the GNU General Public License as published by
5912 +.\"  the Free Software Foundation; either version 2 of the License, or
5913 +.\"  (at your option) any later version.
5914 +.\"
5915 +.\"  This program is distributed in the hope that it will be useful,
5916 +.\"  but WITHOUT ANY WARRANTY; without even the implied warranty of
5917 +.\"  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
5918 +.\"  GNU General Public License for more details.
5919 +.\"
5920 +.\"  You should have received a copy of the GNU General Public License
5921 +.\"  along with this program; if not, write to the Free Software
5922 +.\"  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
5923 +.de Sp
5924 +.if n .sp
5925 +.if t .sp 0.4
5926 +..
5927 +.TH ETTERCAP "8" "20010906" "ettercap 0.5.4"
5928 +.SH NAME
5929 +.B ettercap 0.5.4 \- A multipurpose sniffer over switched LANs
5930 +
5931 +.SH SYNOPSIS
5932 +.B ettercap
5933 +[\fIOPTIONS\fR] [\fIHOST:PORT\fR] [\fIHOST:PORT\fR] [\fIMAC\fR] [\fIMAC\fR]
5934 +
5935 +.SH DESCRIPTION
5936 +Ettercap was born as a sniffer for switched LAN (and obviously even "hubbed" one),
5937 +but during the development process it has gained more and more feature that have
5938 +changed it to a powerful and flexible tool for man-in-the-middle attacks.
5939 +It supports active and passive dissection of many protocols (even ciphered ones)
5940 +and includes many feature for network and host analysis (such as OS fingerprint).
5941 +.PP
5942 +It has five sniffing methods:
5943 +.br
5944 ++ IPBASED, the packets are filtered matching IP:PORT source and IP:PORT dest
5945 +.br
5946 ++ MACBASED, packets filtered matching the source and dest MAC address. (useful
5947 +to sniff connections through gateway)
5948 +.br
5949 ++ ARPBASED, uses arp poisoning to sniff in switched LAN between two hosts
5950 +(full-duplex m-i-t-m).
5951 +.br
5952 ++ SMARTARP, uses arp poisoning to sniff in switched LAN from a victim host to all other
5953 +hosts knowing the entire list of the hosts (full-duplex m-i-t-m).
5954 +.br
5955 ++ PUBLICARP, uses arp poison to sniff in switched LAN from a victim host to all other
5956 +hosts (half-duplex).
5957 +.br
5958 +With this method the ARP replies are sent in broadcast, but if ettercap has the complete
5959 +host list (on start up it has scanned the LAN) SMARTARP method is automatically selected,
5960 +and the arp replies are sent to all the hosts but the victim, avoiding conflicting MAC
5961 +addresses as reported by win2K.
5962 +.PP
5963 +The most relevant ettercap features are:
5964 +.PP
5965 +.B Characters injection in an established connection :
5966 +you can inject character to server (emulating commands) or to client (emulating replies)
5967 +maintaining the connection alive !!
5968 +.PP
5969 +.B SSH1 support :
5970 +you can sniff User and Pass, and even the data of an SSH1 connection. ettercap is the
5971 +first software capable to sniff an SSH connection in FULL-DUPLEX
5972 +.PP
5973 +.B HTTPS support :
5974 +you can sniff http SSL secured data... and even if the connection is made through a PROXY
5975 +.PP
5976 +.B Plug-ins support :
5977 +You can create your own plugin using the ettercap's API.
5978 +.PP
5979 +.B Password collector for :
5980 +TELNET, FTP, POP, RLOGIN, SSH1, ICQ, SMB, MySQL, HTTP, NNTP, X11, NAPSTER, IRC, RIP, BGP,
5981 +SOCKS 5, IMAP 4, VNC (other protocols coming soon...)
5982 +.PP
5983 +.B Packet filtering/dropping:
5984 +You can set up a filter chain that search for a particular string (even hex) in the TCP
5985 +or UDP payload and replace it with yours or drop the entire packet.
5986 +.PP
5987 +.B OS fingerprint:
5988 +you can fingerprint the OS of the victim host and even its network adapter (it uses the
5989 +nmap (c) Fyodor database)
5990 +.PP
5991 +.B Kill a connection:
5992 +from the connections list you can kill all the connections you want
5993 +.PP
5994 +.B Packet factory:
5995 +You can create and sent packet forged on the fly. The factory let you to forge from Ethernet
5996 +header to application level.
5997 +
5998 +.PP
5999 +.SH OPTIONS
6000 +Options that make sense together can generally be combined. ettercap will warn the user
6001 +about unsupported option combinations.
6002 +.TP
6003 +.B SNIFFING METHODS
6004 +.TP
6005 +\fB\-a\fR, \fB\-\-arpsniff\fR
6006 +ARP BASED sniffing
6007 +.br
6008 +This is THE sniffing method for switched LAN, and if you want to use the man-in-the-middle
6009 +technique you have to use it. In conjunction with the silent mode (-z option) you must
6010 +specify two IP and two MAC for ARPBASED (full-duplex) or one IP and one MAC for PUBLICARP
6011 +(half-duplex). in PUBLICARP the ARP replies are sent in broadcast, but if ettercap has
6012 +the complete host list (on start up it has scanned the LAN) SMARTARP method is automatically
6013 +selected, and the arp replies are sent to all the hosts but the victim, and an hash table
6014 +is created to re-route back the packet form victim to client obtaining in this way a full-duplex
6015 +man in the middle attack.
6016 +.br
6017 +Filters that have as action a replacement or a drop, can be used only with ARPBASED
6018 +sniffing because it is necessary to re-adjust the sequence number in full-duplex in order
6019 +to maintain the connection alive.
6020 +.TP
6021 +\fB\-s\fR, \fB\-\-sniff\fR
6022 +IP BASED sniffing
6023 +.br
6024 +This is the good old style sniffing method. It rocks on "hubbed" LAN, but useless on switched
6025 +ones. You can choose the target specifying only source, only dest, with or without port, or
6026 +nothing (to sniff all connections). A special ip "ANY" means from or to every host.
6027 +.TP
6028 +\fB\-m\fR, \fB\-\-macsniff\fR
6029 +MAC BASED sniffing (you must select two host for this)
6030 +.br
6031 +Very useful to sniff TCP traffic with remote hosts. On hubbed LANs if you want to sniff a
6032 +connection through a gateway is useless to specify the victim's ip and the gateway's ip,
6033 +because the packet are for an external host, not for the gateway. So you can use this method.
6034 +Simply specify the victim's MAC and the gateway's MAC and you will see all the connections
6035 +from and to the Internet.
6036 +
6037 +
6038 +.TP
6039 +.B GENERAL OPTIONS
6040 +.TP
6041 +\fB\-N\fR, \fB\-\-simple\fR
6042 +NON interactive mode (without ncurses)
6043 +.br
6044 +This method is useful if you want to launch ettercap from a script or if you already
6045 +know some informations of your target or if you want to launch ettercap in background
6046 +collecting data or password for you (in combination with the --quiet option).
6047 +.br
6048 +Some features are not available in this method, obviously the ones which requires
6049 +interaction with the user, such as characters injection. But others (for example filtering)
6050 +are fully supported, so you can set up ettercap to poison two host (a victim and its gateway)
6051 +and to filter all its connection on the port 80 and replace some string with others,
6052 +all its traffic to the Internet will be changed as you wish.
6053 +.TP
6054 +\fB\-z\fR, \fB\-\-silent\fR
6055 +start in silent mode (no arp storm on start up)
6056 +.br
6057 +If you want to launch ettercap with a non invasive method (some NIDS may raise a warn
6058 +if they detects too much arp request). You have to know all the requested data of the
6059 +target in order to use this options. For example if you want to poison two host, you need
6060 +the two IP and the two MAC addresses of the victims.
6061 +If you select ipsniff or macsniff this method is automatically selected, because you don't
6062 +need to know the list of the host in the LAN.
6063 +.br
6064 +To know the entire list of the hosts use "ettercap -Nl", but remember that it is a invasive
6065 +method.
6066 +.TP
6067 +\fB\-b\fR, \fB\-\-broadping\fR
6068 +use a broadcast ping instead of arp storm on start up.
6069 +.br
6070 +this method is less intrusive, but even less accurate. some hosts will not respond at the
6071 +broadcast ping (es. Windows) so they remain invisible to this method. Useful if you want to
6072 +scan a LAN with Linux hosts. As usual you can combine this option with --list to have a
6073 +list of the hosts "ettercap -Nlb"
6074 +.TP
6075 +\fB\-D\fR, \fB\-\-delay <n sec>\fR
6076 +the delay in seconds between the arp replies if you have selected an ARP poison sniffing
6077 +method. This is useful if you want to be less aggressive in the poisoning. On many OS the
6078 +default validity interval of the arp cache is more than a minute (on FreeBSD is 1200 sec).
6079 +.br
6080 +The default delay value is 30 sec.
6081 +.TP
6082 +\fB\-Z\fR, \fB\-\-stormdelay <n usec>\fR
6083 +the delay in micro-seconds between the arp request on arp storm at start up.
6084 +This is useful if you want to be less aggressive in the scanning. Many IDS will report
6085 +massive arp request, but if you send them in a slower rate, they will not report any strange
6086 +behavior.
6087 +.br
6088 +The default delay value is 1500 usec.
6089 +.TP
6090 +\fB\-S\fR, \fB\-\-spoof <IP>\fR
6091 +If you want to elude some IDS, you can specify a spoofed IP used to scan the LAN with
6092 +arp request. The source MAC can't be spoofed because a well configured switch will block
6093 +your request.
6094 +.TP
6095 +\fB\-H\fR, \fB\-\-hosts <IP1[,IP2][,IP3][,...]>\fR
6096 +on start up, scan only these hosts.
6097 +.br
6098 +this is useful if you want to use an ARP scanning of the LAN but only on certain IPs.
6099 +so you can benefit from a ARP scan but remaining less invasive.
6100 +Useful even if you want to do PUBLIC ARP but you want to poison only specific hosts.
6101 +since with a list PUBLIC ARP is automatically converted to SMARTARP, only these host
6102 +will be poisoned and you can leave untouched the arp caches of the other hosts.
6103 +.br
6104 +the IP list must be in dotted notation and separated by comma (without black spaces
6105 +between them), you can use wildcards.
6106 +.br
6107 +eg: 192.168.0.2?  --> from 20 to 29
6108 +.br
6109 +    192.168.0.1*  --> host 1, from 10 to 19 and from 100 to 199
6110 +.TP
6111 +\fB\-d\fR, \fB\-\-dontresolve\fR
6112 +don't resolve IPs on start up. this is useful if you experience an insane "Resolving
6113 +n hostnames..." message on start up. This is due to a very slow DNS in your environment.
6114 +.TP
6115 +\fB\-i\fR, \fB\-\-iface <IFACE>\fR
6116 +network interface to be used for all the operation. you can even specify network aliases
6117 +in order to scan a subnet with different ip form your current one.
6118 +.TP
6119 +\fB\-n\fR, \fB\-\-netmask <NETMASK>\fR
6120 +the netmask used to scan the LAN. (in dotted notation). the default is your current
6121 +ifconfig netmask. but your netmask is for example 255.255.0.0 I encourage you to specify
6122 +a more restrictive one, if you managed to do an ARP scanning on start up.
6123 +.TP
6124 +\fB\-e\fR, \fB\-\-etterconf <FILENAME>\fR
6125 +use the config file instead of command line options
6126 +.br
6127 +etter.conf example file is packaged in the tarball, refer to it to know how to write a
6128 +config file. all the instruction are written in this example. via the conf file you
6129 +can disable selectively one protocol dissector or move it on one other port.
6130 +.br
6131 +command line options and config file can be mixed for much flexibility, but remember
6132 +that the options in the config file override the command line, so if in etter.conf
6133 +you have specified IFACE: eth0, and you launch "ettercap -i eth1 -e etter.conf"
6134 +the selected iface will be eth0.
6135 +.br
6136 +NOTE: the "-e etter.conf" options has to be specified after all other options.
6137 +.TP
6138 +\fB\-v\fR, \fB\-\-version\fR
6139 +check for the latest ettercap version.
6140 +.br
6141 +All operation are under your control. Every step requires a user confirmation.
6142 +With this option ettercap will connect to the http://ettercap.sourceforge.net:80 web
6143 +side and ask for the page /latest.php. then the result are parsed and compared with
6144 +your current version. If there is a newer version available, ettercap will ask you if
6145 +you want to wget it. (wget must be in the path).
6146 +.br
6147 +If you want to automatically answer yes at all the question add the option -y
6148 +.TP
6149 +\fB\-h\fR, \fB\-\-help\fR
6150 +prints the help screen with a short summary of the available options.
6151 +
6152 +
6153 +
6154 +.TP
6155 +.B SILENT MODE OPTIONS (only combined with -N)
6156 +.TP
6157 +\fB\-u\fR, \fB\-\-udp\fR
6158 +sniff only UDP packets (default is TCP).
6159 +This option is only useful in "simple" mode, if you start ettercap in interactive mode
6160 +both TCP and UDP are sniffed.
6161 +.TP
6162 +\fB\-R\fR, \fB\-\-reverse\fR
6163 +sniff all the connection but the selected one. This option is useful if you are using
6164 +ettercap on a remote machine and you want to sniff all the traffic but you connection from
6165 +local to remote, because including it will sniff even the ettercap output and it will be
6166 +screwed up...
6167 +.TP
6168 +\fB\-p\fR, \fB\-\-plugin <NAME>\fR
6169 +run the plugin "NAME".
6170 +.br
6171 +most plugins need a destination host. simply specify it after plugin name, in fact
6172 +hosts are parsed on command line as first the DEST and so the SOURCE.
6173 +.br
6174 +To have a list of the available plugins use "list" (without quotes) as plugin name.
6175 +.br
6176 +More detailed info about plugins and about how to write your own are found in the
6177 +README.PLUGINS file.
6178 +.Sp
6179 +Currently these plugins are shipped with the official distro:
6180 +.Sp
6181 +    arpcop -- Report suspicious ARP replies   (developed by acelent)
6182 +.br
6183 +   banshee -- They kill without discretion...
6184 +.br
6185 +     dummy -- Dummy plugin. It does nothing !   (only a template)
6186 +.br
6187 +     golem -- nice D.O.S.  BE CAREFUL !!
6188 +.br
6189 +     leech -- Isolate a host from the LAN
6190 +.br
6191 +    lurker -- try to search for other ettercap
6192 +.br
6193 +       imp -- Retrieves some Windows names
6194 +.br
6195 +      ooze -- Ping a host
6196 +.br
6197 +   phantom -- Sniff/Spoof DNS requests
6198 +.br
6199 +    shadow -- A very simple SYN/TCP port scanner
6200 +.br
6201 +   spectre -- flood a switched LAN with random MAC addresses
6202 +.br
6203 +    triton -- Try to discover the LAN's gateway
6204 +.TP
6205 +\fB\-l\fR, \fB\-\-list\fR
6206 +lists all the hosts in the LAN, reporting each MAC address.
6207 +.br
6208 +Commonly combined options are -b (for broadcast ping) and -d (don't resolve hostname).
6209 +.TP
6210 +\fB\-C\fR, \fB\-\-collect\fR
6211 +collect all users and password from the hosts specified on command line.
6212 +.br
6213 +Password collector are configured in the config file (etter.conf), if you want
6214 +you can disable them selectively or move them on other port. This is useful if you
6215 +don't want to sniff SSH connection (the key change alert will raise suspects) but
6216 +want to sniff all other supported protocols. Or even if you know that a host has the
6217 +telnet service on port 4567, simply move the telnet dissector on 4567/tcp
6218 +.TP
6219 +\fB\-f\fR, \fB\-\-fingerprint <HOST>\fR
6220 +do OS fingerprinting on HOST.
6221 +.br
6222 +This option uses the same database and the same method used by
6223 +.I nmap (c) Fyodor <fyodor@insecure.org>
6224 +so I report a piece of its man page :
6225 +.Sp
6226 +This option activates remote host identification via TCP/IP fingerprinting. In other
6227 +words, it uses a bunch of techniques to detect subtleties in the underlying operating
6228 +system network stack of the computers you are scanning. It uses this information to
6229 +create a  'fingerprint' which it compares with its database of known OS fingerprints
6230 +(the nmap-os-fingerprints file) to decide what type of system you are scanning.
6231 +.Sp
6232 +the -f options even provides you the vendor of the network adapter of the scanned host.
6233 +the info are stored in the mac-fingerprints database.
6234 +.TP
6235 +\fB\-x\fR, \fB\-\-hexview\fR
6236 +to dump data in hex mode.
6237 +.br
6238 +TIP: while sniffing you can change the visualization mode by hitting 'a' for ascii or 'x' for hex.
6239 +on line help is recalled by 'h'.
6240 +.TP
6241 +\fB\-L\fR, \fB\-\-logtofile\fR
6242 +if used alone logs all data to specific file(s). it crates a separate file for each connection
6243 +in the form "YYYYMMDD-P-IP:PORT-IP:PORT.log"
6244 +.br
6245 +if used with -C (collector) it creates a file with all the password sniffed in the session in
6246 +the form "YYYYMMDD-collected-pass.log"
6247 +.TP
6248 +\fB\-q\fR, \fB\-\-quiet\fR
6249 +"demonize" ettercap.
6250 +.br
6251 +useful if you want to log all data in background. this options will detach
6252 +ettercap from the current tty and set it as a demon collecting data to files. it must be
6253 +combined with -NL (or -NLC) otherwise it has no effects. Obviously the sniffing method
6254 +is required, so you have to combine it with this option.
6255 +.TP
6256 +\fB\-k\fR, \fB\-\-newcert\fR
6257 +create a new cert file for HTTPS man-in-the-middle.
6258 +.br
6259 +useful if you want to create a certfile with social engineered information...
6260 +.br
6261 +the new file is created in the current working directory. to permanently substitute the
6262 +default cert file (etter.sll.crt) you have to overwrite /usr/share/ettercap/etter.ssl.crt
6263 +.TP
6264 +\fB\-F\fR, \fB\-\-filter <FILENAME>\fR
6265 +load the filters chains  from FILENAME
6266 +.br
6267 +the Filtering chains file is written in pseudo XML format. You can write by hand this
6268 +file or (better) use the ncurses interface to let ettercap create it (press 'F' in the
6269 +connection list interface). If you are skilled in XML parsing, you can write your own
6270 +program to make a filter chain file.
6271 +.Sp
6272 +the rules are simple:
6273 +.Sp
6274 +If the proto <proto> AND the source port <source> AND the dest port <dest> AND the payload <search>
6275 +match the rules, after the filter as done its action <action>, it jumps in the chain
6276 +to the filter id specified in the <goto> field, else it jumps to <elsegoto>.
6277 +If these field are left blank the chain is interrupted. Source and dest port equal to
6278 +0 (zero) means ANY port. You can use wildcards in the search string (see README for detail)
6279 +.Sp
6280 +NOTE: with this options filter are enabled by default, if you want to
6281 +disable them on the fly, press "S" (for source) or "D" (for dest) while sniffing
6282 +.Sp
6283 +NOTE: on command line the hosts are parsed as "ettercap -F etter.filter DEST SOURCE", so
6284 +the first host is bound to the dest chain and the second to the source chain.
6285 +.Sp
6286 +VERY IMPORTANT: the source chain is applied to data COMING FROM source and NOT GOING TO
6287 +source. keep this in mind !! the same is for dest...
6288 +.TP
6289 +\fB\-c\fR, \fB\-\-check\fR
6290 +check if you were poisoned by other poisoners in the LAN
6291 +.TP
6292 +\fB\-t\fR, \fB\-\-linktype\fR
6293 +check if you are on a switched LAN or not... Sometimes this discovery method can fail.
6294 +don't trust it at 100%
6295 +
6296 +
6297 +.SH TARGET SPECIFICATION
6298 +The targets are parsed on command line in reverse order. The first host is the DEST and the
6299 +second is the SOURCE. this doesn't care if you are sniffing in ip based mode, because
6300 +source and dest are ignored, but if you are filtering the connection this is crucial for
6301 +the binding of the related filter chain.
6302 +.br
6303 +The reverse order is due to a more intuitive interface for plugins. because some plugins
6304 +need the dest host to be specified, it is simpler to type:
6305 +"ettercap -Np ooze victim" than "ettercap -Np ooze NOONE victim".
6306 +.br
6307 +The targets can be specified in dotted notation (192.168.0.1) or with their symbolic name
6308 +(victim.mynet.org). Only within the -H (--hosts) option you can use wildcards.
6309 +
6310 +
6311 +.SH INTERACTIVE MODE
6312 +The interactive mode (ncurses mode) is automatically selected if ettercap is launched
6313 +without the option -N . Explain what you can do with it will take pages and pages... and I'm
6314 +not a good writer... so if you don't know what can you do in some circumstances, simply
6315 +press 'H' and a help screen will popup. there you can find a detailed list of all available
6316 +commands.
6317 +
6318 +
6319 +.SH EXAMPLES
6320 +Here are some examples of using ettercap.
6321 +.TP
6322 +.B ettercap -b
6323 +.Sp
6324 +On startup use broadcast ping to scan the LAN instead of ARP request all the
6325 +subnet IPs.
6326 +.TP
6327 +.B ettercap -H "192.168.0.?,192.168.0.3?,192.168.0.2*"
6328 +.Sp
6329 +On startup scan only the host 192.168.0.1-9, 192.168.0.30-39, 192.168.0.2,
6330 +192.168.0.20-29 and 192.168.0.200-255.
6331 +if the PUBLICARP method will be selected only these host will be poisoned.
6332 +.TP
6333 +.B ettercap -s 192.168.0.1 192.168.0.2
6334 +.Sp
6335 +Enter the interactive mode and sniff only the connections between 192.168.0.1 and 192.168.0.2
6336 +.TP
6337 +.B ettercap -Nzs -F etter.filter 192.168.0.1 192.168.0.2
6338 +.Sp
6339 +Load filter from etter.filter and activate them on all the connection between 192.168.0.1
6340 +and 192.168.0.2 . Only Log action will be supported because it is a -s (ipsniffing) method.
6341 +192.168.0.1 is bound to the dest chain and 192.168.0.2 to the source one.
6342 +To enable even the replacement and drop actions you have to launch "ettercap -Nza -F
6343 +etter.filter IP IP MAC MAC"
6344 +.TP
6345 +.B ettercap -zs -e etter.conf
6346 +.Sp
6347 +Use the ip based sniffing mode and load the other option from the config file (etter.conf).
6348 +Note that options in the file override command line.
6349 +.TP
6350 +.B ettercap -Nzs victim.my.net ANY:80
6351 +.Sp
6352 +Sniffs in console mode (non interactive) only the connection to and from "victim.my.net"
6353 +starting or ending to all other hosts but on port 80 (www). data are dumped in ASCII
6354 +mode. to dump in HEX mode add the -x option.
6355 +.TP
6356 +.B ettercap -NRzs remote.host.net:23 my.local.host.com
6357 +.Sp
6358 +Useful to sniffs in console mode (non interactive) all the connection on a remote LAN
6359 +on which you are executing ettercap. this example will prevent to show your telnet (:23)
6360 +connection from "my.local.host.com" to "remote.host.net".
6361 +.TP
6362 +.B ettercap -Nclt
6363 +.Sp
6364 +This will provide you the entire list of hosts in the LAN. Will check if someone is
6365 +poisoning you and will report its IP. Will tell you if you are on a switched LAN or not.
6366 +.TP
6367 +.B ettercap -NCLzs --quiet
6368 +.Sp
6369 +This will detach ettercap from console and log to a file all the collected password.
6370 +Only works if the LAN is hubbed, or if collected password are directed to your host.
6371 +.TP
6372 +.B ettercap -NCza -D 100 192.168.0.1 192.168.0.2 55:23:A5:B4:C7:89 00:A3:56:FE:4F:6D
6373 +.Sp
6374 +Collect password to stdout on a switched LAN. this will poison the two host 192.168.0.1
6375 +and 192.168.0.2 each other. The delay between arp replies is set to 100 sec.
6376 +.TP
6377 +.B ettercap -Np triton
6378 +.Sp
6379 +Launch the plugin "triton" that will try to passively search for the LAN gateway.
6380 +.TP
6381 +.B ettercap -Np ooze victim.mynet.org
6382 +.Sp
6383 +Launch the plugin "ooze" that will portscan the host "victim.mynet.org" that will be translated
6384 +with the right IP
6385 +
6386 +.SH PLATFORMS
6387 +Linux 2.0.x  2.2.x  2.4.x
6388 +.br
6389 +FreeBSD 4.x
6390 +.br
6391 +OpenBSD 2.[789]
6392 +.br
6393 +NetBSD 1.5
6394 +.br
6395 +Mac OS X (darwin 1.3)
6396 +
6397 +
6398 +.SH FILES
6399 +/usr/share/ettercap/etter.conf - the config file
6400 +.br
6401 +/usr/share/ettercap/etter.filter - the filter chains
6402 +.br
6403 +/usr/share/ettercap/etter.ssl.crt - the SSL certificate for HTTPS m-i-t-m
6404 +.br
6405 +/usr/share/ettercap/mac-fingerprints - the network adapter vendor database
6406 +.br
6407 +/usr/share/ettercap/nmap-os-fingerprints - the nmap (c) Fyodor os fingerprint
6408 +.br
6409 +/usr/doc/ettercap-0.5.4/* - the DOCUMENTATION
6410 +
6411 +
6412 +.SH AUTHORS
6413 +Alberto Ornaghi (ALoR) <alor@users.sourceforge.net>
6414 +.br
6415 +Marco Valleri (NaGA) <crwm@freemail.it>
6416 +
6417 +
6418 +.SH AVAILABILITY
6419 +http://ettercap.sourceforge.net/download/
6420 +.Sp
6421 +Or if you want to do an automatic check of the latest version try "ettercap -vy"
6422 +
6423 +
6424 +.SH BUGS
6425 +Our software never has bugs.
6426 +.br
6427 +It just develops random features.   ;)
6428 +.PP
6429 +.B KNOWN-BUGS
6430 +.PP
6431 +- It is better that you don't launch ettercap on a host that is a gateway
6432 +because it needs to disable ip_forwarding, it may cause problem with routing.
6433 +.PP
6434 +- You cannot use plugins on yourself. outgoing link layer packets are not
6435 +captured by the same socket, so they will be ignored.
6436 +.PP
6437 +- While poisoning on a switched LAN, ettercap won't sniff the traffic made
6438 +by your host to others. the technical reason is: otherwise ettercap will
6439 +forward your packets two time (and this is not good...) the artistic
6440 +reason is: why sniffing yourself with a man-in-the-middle method ? use
6441 +simple sniffing instead ! ;)
6442 +.PP
6443 +- While sniffing in Public ARP mode, ettercap can "view" only one way of
6444 +the connection, so some protocol dissectors can fail...
6445 +.PP
6446 +- under X11 resizing the xterm can give a corrupted visualization of the
6447 +interface. SIGWINCH is *partially* supported.
6448 +.PP
6449 +- ettercap doesn't handle fragmented packets... only the first segment
6450 +will be displayed by the sniffer. However all the fragments are correctly
6451 +forwarded.
6452 +.PP
6453 ++ please send bug-report, patches or suggestions to <alor@users.sourceforge.net>
6454 +or visit http://ettercap.sourceforge.net/forum/  and post it in the BUGS section.
6455 +.PP
6456 ++ to report a bug, recompile ettercap with 'configure --enable-debug'
6457 +and attach ettercap_debug.log to the mail in which U explain the problem.
6458 diff -urN ettercap-0.5.4.orig/ettercap.spec ettercap-0.5.4/ettercap.spec
6459 --- ettercap-0.5.4.orig/ettercap.spec   Thu Jan  1 01:00:00 1970
6460 +++ ettercap-0.5.4/ettercap.spec        Thu Sep  6 17:14:33 2001
6461 @@ -0,0 +1,40 @@
6462 +%define prefix /usr
6463 +
6464 +Summary:    ettercap is a ncurses-based sniffer/interceptor utility
6465 +Name:       ettercap
6466 +Version:    0.5.4
6467 +Release:    1
6468 +Serial:     20010906
6469 +Packager:   ALoR <alor@users.sourceforge.net>
6470 +Source:     http://ettercap.sourceforge.net/download/%{name}-%{version}.tar.gz
6471 +URL:        http://ettercap.sourceforge.net/
6472 +License:    GPL
6473 +Group:      Networking/Utilities
6474 +Prefix:     %{prefix}
6475 +Buildroot:  %{_tmppath}/%{name}-%{version}-root
6476 +
6477 +%description
6478 +ettercap is a multipurpose sniffer/interceptor/logger for switched or "hubbed" LAN.
6479 +
6480 +%prep
6481 +%setup -q
6482 +
6483 +%build
6484 +./configure --prefix=%{prefix} --disable-debug --mandir=%{_mandir}
6485 +make
6486 +make plug-ins
6487 +
6488 +%install
6489 +rm -rf $RPM_BUILD_ROOT
6490 +make install DESTDIR=$RPM_BUILD_ROOT
6491 +make plug-ins_install DESTDIR=$RPM_BUILD_ROOT
6492 +
6493 +%clean
6494 +rm -rf $RPM_BUILD_ROOT
6495 +
6496 +%files
6497 +%defattr(-,root,root)
6498 +%{_mandir}/man8/*
6499 +%doc COPYING README README.PLUGINS HISTORY CHANGELOG AUTHORS TODO THANKS KNOWN-BUGS PORTINGS
6500 +%{prefix}/bin/*
6501 +%{prefix}/share/ettercap/*
6502 diff -urN ettercap-0.5.4.orig/plugins/Makefile ettercap-0.5.4/plugins/Makefile
6503 --- ettercap-0.5.4.orig/plugins/Makefile        Thu Jan  1 01:00:00 1970
6504 +++ ettercap-0.5.4/plugins/Makefile     Thu Sep  6 17:14:34 2001
6505 @@ -0,0 +1,34 @@
6506 +
6507 +PLUGINS     = arpcop banshee dummy golem imp leech lurker ooze phantom shadow spectre triton 
6508 +INSTALL     = /usr/bin/install -c
6509 +DESTDIR     =
6510 +
6511 +prefix      = /usr
6512 +exec_prefix = /usr
6513 +
6514 +BINDIR      = /usr/bin
6515 +SHAREDIR = ${prefix}/share/ettercap
6516 +
6517 +all: plugins
6518 +
6519 +plugins:
6520 +       for plug in $(PLUGINS); do \
6521 +       cd $$plug && make && cd .. ; \
6522 +       done
6523 +
6524 +install: plugins
6525 +       for plug in $(PLUGINS); do \
6526 +       $(INSTALL) -d $(DESTDIR)$(SHAREDIR) ; \
6527 +       $(INSTALL) -m 700 ./$$plug/ec_$$plug.so $(DESTDIR)$(SHAREDIR) ; \
6528 +       done
6529 +
6530 +clean:
6531 +       rm -f *.bak
6532 +       for plug in $(PLUGINS); do \
6533 +       cd $$plug && make clean && cd .. ; \
6534 +       done
6535 +
6536 +distclean:
6537 +       for plug in $(PLUGINS); do \
6538 +       cd $$plug && make distclean && cd .. ; \
6539 +       done
6540 diff -urN ettercap-0.5.4.orig/plugins/arpcop/Makefile ettercap-0.5.4/plugins/arpcop/Makefile
6541 --- ettercap-0.5.4.orig/plugins/arpcop/Makefile Thu Jan  1 01:00:00 1970
6542 +++ ettercap-0.5.4/plugins/arpcop/Makefile      Thu Sep  6 17:14:34 2001
6543 @@ -0,0 +1,27 @@
6544 +
6545 +CC       = i686-pld-linux-gcc
6546 +DEFS     = -fPIC -DPIC -shared -DHAVE_CONFIG_H -DLINUX
6547 +
6548 +CFLAG    = -O2 -Wall
6549 +COPTS    = -I../..
6550 +
6551 +PROG     = arpcop
6552 +
6553 +ALLOPT   = $(CFLAG) $(COPTS)
6554 +
6555 +
6556 +all: $(PROG)
6557 +
6558 +$(PROG):
6559 +       $(CC) $(ALLOPT) $(DEFS) $(PROG).c -o ec_$(PROG).so
6560 +       @echo
6561 +       @echo "\e[1m$(PROG) plugin is ready...\e[m"
6562 +       @echo
6563 +
6564 +clean:
6565 +       rm -f *.bak
6566 +       rm -f ec_$(PROG).so
6567 +
6568 +distclean: clean
6569 +       rm -f Makefile
6570 +
6571 diff -urN ettercap-0.5.4.orig/plugins/banshee/Makefile ettercap-0.5.4/plugins/banshee/Makefile
6572 --- ettercap-0.5.4.orig/plugins/banshee/Makefile        Thu Jan  1 01:00:00 1970
6573 +++ ettercap-0.5.4/plugins/banshee/Makefile     Thu Sep  6 17:14:34 2001
6574 @@ -0,0 +1,27 @@
6575 +
6576 +CC       = i686-pld-linux-gcc
6577 +DEFS     = -fPIC -DPIC -shared -DHAVE_CONFIG_H -DLINUX
6578 +
6579 +CFLAG    = -O2 -Wall
6580 +COPTS    = -I../..
6581 +
6582 +PROG     = banshee
6583 +
6584 +ALLOPT   = $(CFLAG) $(COPTS)
6585 +
6586 +
6587 +all: $(PROG)
6588 +
6589 +$(PROG):
6590 +       $(CC) $(ALLOPT) $(DEFS) $(PROG).c -o ec_$(PROG).so
6591 +       @echo
6592 +       @echo "\e[1m$(PROG) plugin is ready...\e[m"
6593 +       @echo
6594 +
6595 +clean:
6596 +       rm -f *.bak
6597 +       rm -f ec_$(PROG).so
6598 +
6599 +distclean: clean
6600 +       rm -f Makefile
6601 +
6602 diff -urN ettercap-0.5.4.orig/plugins/dummy/Makefile ettercap-0.5.4/plugins/dummy/Makefile
6603 --- ettercap-0.5.4.orig/plugins/dummy/Makefile  Thu Jan  1 01:00:00 1970
6604 +++ ettercap-0.5.4/plugins/dummy/Makefile       Thu Sep  6 17:14:34 2001
6605 @@ -0,0 +1,27 @@
6606 +
6607 +CC       = i686-pld-linux-gcc
6608 +DEFS     = -fPIC -DPIC -shared -DHAVE_CONFIG_H -DLINUX
6609 +
6610 +CFLAG    = -O2 -Wall
6611 +COPTS    = -I../..
6612 +
6613 +PROG     = dummy
6614 +
6615 +ALLOPT   = $(CFLAG) $(COPTS)
6616 +
6617 +
6618 +all: $(PROG)
6619 +
6620 +$(PROG):
6621 +       $(CC) $(ALLOPT) $(DEFS) $(PROG).c -o ec_$(PROG).so
6622 +       @echo
6623 +       @echo "\e[1m$(PROG) plugin is ready...\e[m"
6624 +       @echo
6625 +
6626 +clean:
6627 +       rm -f *.bak
6628 +       rm -f ec_$(PROG).so
6629 +
6630 +distclean: clean
6631 +       rm -f Makefile
6632 +
6633 diff -urN ettercap-0.5.4.orig/plugins/golem/Makefile ettercap-0.5.4/plugins/golem/Makefile
6634 --- ettercap-0.5.4.orig/plugins/golem/Makefile  Thu Jan  1 01:00:00 1970
6635 +++ ettercap-0.5.4/plugins/golem/Makefile       Thu Sep  6 17:14:34 2001
6636 @@ -0,0 +1,27 @@
6637 +
6638 +CC       = i686-pld-linux-gcc
6639 +DEFS     = -fPIC -DPIC -shared -DHAVE_CONFIG_H -DLINUX
6640 +
6641 +CFLAG    = -O2 -Wall
6642 +COPTS    = -I../..
6643 +
6644 +PROG     = golem
6645 +
6646 +ALLOPT   = $(CFLAG) $(COPTS)
6647 +
6648 +
6649 +all: $(PROG)
6650 +
6651 +$(PROG):
6652 +       $(CC) $(ALLOPT) $(DEFS) $(PROG).c -o ec_$(PROG).so
6653 +       @echo
6654 +       @echo "\e[1m$(PROG) plugin is ready...\e[m"
6655 +       @echo
6656 +
6657 +clean:
6658 +       rm -f *.bak
6659 +       rm -f ec_$(PROG).so
6660 +
6661 +distclean: clean
6662 +       rm -f Makefile
6663 +
6664 diff -urN ettercap-0.5.4.orig/plugins/imp/Makefile ettercap-0.5.4/plugins/imp/Makefile
6665 --- ettercap-0.5.4.orig/plugins/imp/Makefile    Thu Jan  1 01:00:00 1970
6666 +++ ettercap-0.5.4/plugins/imp/Makefile Thu Sep  6 17:14:34 2001
6667 @@ -0,0 +1,27 @@
6668 +
6669 +CC       = i686-pld-linux-gcc
6670 +DEFS     = -fPIC -DPIC -shared -DHAVE_CONFIG_H -DLINUX
6671 +
6672 +CFLAG    = -O2 -Wall
6673 +COPTS    = -I../..
6674 +
6675 +PROG     = imp
6676 +
6677 +ALLOPT   = $(CFLAG) $(COPTS)
6678 +
6679 +
6680 +all: $(PROG)
6681 +
6682 +$(PROG):
6683 +       $(CC) $(ALLOPT) $(DEFS) $(PROG).c -o ec_$(PROG).so
6684 +       @echo
6685 +       @echo "\e[1m$(PROG) plugin is ready...\e[m"
6686 +       @echo
6687 +
6688 +clean:
6689 +       rm -f *.bak
6690 +       rm -f ec_$(PROG).so
6691 +
6692 +distclean: clean
6693 +       rm -f Makefile
6694 +
6695 diff -urN ettercap-0.5.4.orig/plugins/leech/Makefile ettercap-0.5.4/plugins/leech/Makefile
6696 --- ettercap-0.5.4.orig/plugins/leech/Makefile  Thu Jan  1 01:00:00 1970
6697 +++ ettercap-0.5.4/plugins/leech/Makefile       Thu Sep  6 17:14:34 2001
6698 @@ -0,0 +1,27 @@
6699 +
6700 +CC       = i686-pld-linux-gcc
6701 +DEFS     = -fPIC -DPIC -shared -DHAVE_CONFIG_H -DLINUX
6702 +
6703 +CFLAG    = -O2 -Wall
6704 +COPTS    = -I../..
6705 +
6706 +PROG     = leech
6707 +
6708 +ALLOPT   = $(CFLAG) $(COPTS)
6709 +
6710 +
6711 +all: $(PROG)
6712 +
6713 +$(PROG):
6714 +       $(CC) $(ALLOPT) $(DEFS) $(PROG).c -o ec_$(PROG).so
6715 +       @echo
6716 +       @echo "\e[1m$(PROG) plugin is ready...\e[m"
6717 +       @echo
6718 +
6719 +clean:
6720 +       rm -f *.bak
6721 +       rm -f ec_$(PROG).so
6722 +
6723 +distclean: clean
6724 +       rm -f Makefile
6725 +
6726 diff -urN ettercap-0.5.4.orig/plugins/lurker/Makefile ettercap-0.5.4/plugins/lurker/Makefile
6727 --- ettercap-0.5.4.orig/plugins/lurker/Makefile Thu Jan  1 01:00:00 1970
6728 +++ ettercap-0.5.4/plugins/lurker/Makefile      Thu Sep  6 17:14:34 2001
6729 @@ -0,0 +1,27 @@
6730 +
6731 +CC       = i686-pld-linux-gcc
6732 +DEFS     = -fPIC -DPIC -shared -DHAVE_CONFIG_H -DLINUX
6733 +
6734 +CFLAG    = -O2 -Wall
6735 +COPTS    = -I../..
6736 +
6737 +PROG     = lurker
6738 +
6739 +ALLOPT   = $(CFLAG) $(COPTS)
6740 +
6741 +
6742 +all: $(PROG)
6743 +
6744 +$(PROG):
6745 +       $(CC) $(ALLOPT) $(DEFS) $(PROG).c -o ec_$(PROG).so
6746 +       @echo
6747 +       @echo "\e[1m$(PROG) plugin is ready...\e[m"
6748 +       @echo
6749 +
6750 +clean:
6751 +       rm -f *.bak
6752 +       rm -f ec_$(PROG).so
6753 +
6754 +distclean: clean
6755 +       rm -f Makefile
6756 +
6757 diff -urN ettercap-0.5.4.orig/plugins/ooze/Makefile ettercap-0.5.4/plugins/ooze/Makefile
6758 --- ettercap-0.5.4.orig/plugins/ooze/Makefile   Thu Jan  1 01:00:00 1970
6759 +++ ettercap-0.5.4/plugins/ooze/Makefile        Thu Sep  6 17:14:34 2001
6760 @@ -0,0 +1,27 @@
6761 +
6762 +CC       = i686-pld-linux-gcc
6763 +DEFS     = -fPIC -DPIC -shared -DHAVE_CONFIG_H -DLINUX
6764 +
6765 +CFLAG    = -O2 -Wall
6766 +COPTS    = -I../..
6767 +
6768 +PROG     = ooze
6769 +
6770 +ALLOPT   = $(CFLAG) $(COPTS)
6771 +
6772 +
6773 +all: $(PROG)
6774 +
6775 +$(PROG):
6776 +       $(CC) $(ALLOPT) $(DEFS) $(PROG).c -o ec_$(PROG).so
6777 +       @echo
6778 +       @echo "\e[1m$(PROG) plugin is ready...\e[m"
6779 +       @echo
6780 +
6781 +clean:
6782 +       rm -f *.bak
6783 +       rm -f ec_$(PROG).so
6784 +
6785 +distclean: clean
6786 +       rm -f Makefile
6787 +
6788 diff -urN ettercap-0.5.4.orig/plugins/phantom/Makefile ettercap-0.5.4/plugins/phantom/Makefile
6789 --- ettercap-0.5.4.orig/plugins/phantom/Makefile        Thu Jan  1 01:00:00 1970
6790 +++ ettercap-0.5.4/plugins/phantom/Makefile     Thu Sep  6 17:14:34 2001
6791 @@ -0,0 +1,28 @@
6792 +
6793 +CC       = i686-pld-linux-gcc
6794 +DEFS     = -fPIC -DPIC -shared -DHAVE_CONFIG_H -DLINUX
6795 +LIBS     = -lresolv
6796 +
6797 +CFLAG    = -O2 -Wall
6798 +COPTS    = -I../..
6799 +
6800 +PROG     = phantom
6801 +
6802 +ALLOPT   = $(CFLAG) $(COPTS)
6803 +
6804 +
6805 +all: $(PROG)
6806 +
6807 +$(PROG):
6808 +       $(CC) $(ALLOPT) $(DEFS) $(PROG).c -o ec_$(PROG).so $(LIBS)
6809 +       @echo
6810 +       @echo "\e[1m$(PROG) plugin is ready...\e[m"
6811 +       @echo
6812 +
6813 +clean:
6814 +       rm -f *.bak
6815 +       rm -f ec_$(PROG).so
6816 +
6817 +distclean: clean
6818 +       rm -f Makefile
6819 +
6820 diff -urN ettercap-0.5.4.orig/plugins/shadow/Makefile ettercap-0.5.4/plugins/shadow/Makefile
6821 --- ettercap-0.5.4.orig/plugins/shadow/Makefile Thu Jan  1 01:00:00 1970
6822 +++ ettercap-0.5.4/plugins/shadow/Makefile      Thu Sep  6 17:14:34 2001
6823 @@ -0,0 +1,27 @@
6824 +
6825 +CC       = i686-pld-linux-gcc
6826 +DEFS     = -fPIC -DPIC -shared -DHAVE_CONFIG_H -DLINUX
6827 +
6828 +CFLAG    = -O2 -Wall
6829 +COPTS    = -I../..
6830 +
6831 +PROG     = shadow
6832 +
6833 +ALLOPT   = $(CFLAG) $(COPTS)
6834 +
6835 +
6836 +all: $(PROG)
6837 +
6838 +$(PROG):
6839 +       $(CC) $(ALLOPT) $(DEFS) $(PROG).c -o ec_$(PROG).so
6840 +       @echo
6841 +       @echo "\e[1m$(PROG) plugin is ready...\e[m"
6842 +       @echo
6843 +
6844 +clean:
6845 +       rm -f *.bak
6846 +       rm -f ec_$(PROG).so
6847 +
6848 +distclean: clean
6849 +       rm -f Makefile
6850 +
6851 diff -urN ettercap-0.5.4.orig/plugins/spectre/Makefile ettercap-0.5.4/plugins/spectre/Makefile
6852 --- ettercap-0.5.4.orig/plugins/spectre/Makefile        Thu Jan  1 01:00:00 1970
6853 +++ ettercap-0.5.4/plugins/spectre/Makefile     Thu Sep  6 17:14:34 2001
6854 @@ -0,0 +1,27 @@
6855 +
6856 +CC       = i686-pld-linux-gcc
6857 +DEFS     = -fPIC -DPIC -shared -DHAVE_CONFIG_H -DLINUX
6858 +
6859 +CFLAG    = -O2 -Wall
6860 +COPTS    = -I../..
6861 +
6862 +PROG     = spectre
6863 +
6864 +ALLOPT   = $(CFLAG) $(COPTS)
6865 +
6866 +
6867 +all: $(PROG)
6868 +
6869 +$(PROG):
6870 +       $(CC) $(ALLOPT) $(DEFS) $(PROG).c -o ec_$(PROG).so
6871 +       @echo
6872 +       @echo "\e[1m$(PROG) plugin is ready...\e[m"
6873 +       @echo
6874 +
6875 +clean:
6876 +       rm -f *.bak
6877 +       rm -f ec_$(PROG).so
6878 +
6879 +distclean: clean
6880 +       rm -f Makefile
6881 +
6882 diff -urN ettercap-0.5.4.orig/plugins/triton/Makefile ettercap-0.5.4/plugins/triton/Makefile
6883 --- ettercap-0.5.4.orig/plugins/triton/Makefile Thu Jan  1 01:00:00 1970
6884 +++ ettercap-0.5.4/plugins/triton/Makefile      Thu Sep  6 17:14:34 2001
6885 @@ -0,0 +1,27 @@
6886 +
6887 +CC       = i686-pld-linux-gcc
6888 +DEFS     = -fPIC -DPIC -shared -DHAVE_CONFIG_H -DLINUX
6889 +
6890 +CFLAG    = -O2 -Wall
6891 +COPTS    = -I../..
6892 +
6893 +PROG     = triton
6894 +
6895 +ALLOPT   = $(CFLAG) $(COPTS)
6896 +
6897 +
6898 +all: $(PROG)
6899 +
6900 +$(PROG):
6901 +       $(CC) $(ALLOPT) $(DEFS) $(PROG).c -o ec_$(PROG).so
6902 +       @echo
6903 +       @echo "\e[1m$(PROG) plugin is ready...\e[m"
6904 +       @echo
6905 +
6906 +clean:
6907 +       rm -f *.bak
6908 +       rm -f ec_$(PROG).so
6909 +
6910 +distclean: clean
6911 +       rm -f Makefile
6912 +
6913 Binary files ettercap-0.5.4.orig/src/ec_buffer.o and ettercap-0.5.4/src/ec_buffer.o differ
6914 diff -urN ettercap-0.5.4.orig/src/ec_debug.c ettercap-0.5.4/src/ec_debug.c
6915 --- ettercap-0.5.4.orig/src/ec_debug.c  Tue Jul 17 05:21:56 2001
6916 +++ ettercap-0.5.4/src/ec_debug.c       Thu Sep  6 17:26:23 2001
6917 @@ -36,7 +36,7 @@
6918     #ifdef HAVE_NCURSES_H
6919        #include <ncurses.h>
6920     #else
6921 -      #include <curses.h>
6922 +      #include <ncurses/ncurses.h>
6923     #endif
6924  #endif
6925  
6926 Binary files ettercap-0.5.4.orig/src/ec_debug.o and ettercap-0.5.4/src/ec_debug.o differ
6927 Binary files ettercap-0.5.4.orig/src/ec_decodedata.o and ettercap-0.5.4/src/ec_decodedata.o differ
6928 Binary files ettercap-0.5.4.orig/src/ec_dissector.o and ettercap-0.5.4/src/ec_dissector.o differ
6929 Binary files ettercap-0.5.4.orig/src/ec_dissector_bgp.o and ettercap-0.5.4/src/ec_dissector_bgp.o differ
6930 Binary files ettercap-0.5.4.orig/src/ec_dissector_ftp.o and ettercap-0.5.4/src/ec_dissector_ftp.o differ
6931 Binary files ettercap-0.5.4.orig/src/ec_dissector_http.o and ettercap-0.5.4/src/ec_dissector_http.o differ
6932 Binary files ettercap-0.5.4.orig/src/ec_dissector_https.o and ettercap-0.5.4/src/ec_dissector_https.o differ
6933 Binary files ettercap-0.5.4.orig/src/ec_dissector_icq.o and ettercap-0.5.4/src/ec_dissector_icq.o differ
6934 Binary files ettercap-0.5.4.orig/src/ec_dissector_imap.o and ettercap-0.5.4/src/ec_dissector_imap.o differ
6935 Binary files ettercap-0.5.4.orig/src/ec_dissector_irc.o and ettercap-0.5.4/src/ec_dissector_irc.o differ
6936 Binary files ettercap-0.5.4.orig/src/ec_dissector_mysql.o and ettercap-0.5.4/src/ec_dissector_mysql.o differ
6937 Binary files ettercap-0.5.4.orig/src/ec_dissector_napster.o and ettercap-0.5.4/src/ec_dissector_napster.o differ
6938 Binary files ettercap-0.5.4.orig/src/ec_dissector_nntp.o and ettercap-0.5.4/src/ec_dissector_nntp.o differ
6939 Binary files ettercap-0.5.4.orig/src/ec_dissector_pcanywhere.o and ettercap-0.5.4/src/ec_dissector_pcanywhere.o differ
6940 Binary files ettercap-0.5.4.orig/src/ec_dissector_pop.o and ettercap-0.5.4/src/ec_dissector_pop.o differ
6941 Binary files ettercap-0.5.4.orig/src/ec_dissector_rip.o and ettercap-0.5.4/src/ec_dissector_rip.o differ
6942 Binary files ettercap-0.5.4.orig/src/ec_dissector_rlogin.o and ettercap-0.5.4/src/ec_dissector_rlogin.o differ
6943 Binary files ettercap-0.5.4.orig/src/ec_dissector_smb.o and ettercap-0.5.4/src/ec_dissector_smb.o differ
6944 Binary files ettercap-0.5.4.orig/src/ec_dissector_socks.o and ettercap-0.5.4/src/ec_dissector_socks.o differ
6945 Binary files ettercap-0.5.4.orig/src/ec_dissector_ssh.o and ettercap-0.5.4/src/ec_dissector_ssh.o differ
6946 Binary files ettercap-0.5.4.orig/src/ec_dissector_telnet.o and ettercap-0.5.4/src/ec_dissector_telnet.o differ
6947 Binary files ettercap-0.5.4.orig/src/ec_dissector_vnc.o and ettercap-0.5.4/src/ec_dissector_vnc.o differ
6948 Binary files ettercap-0.5.4.orig/src/ec_dissector_x11.o and ettercap-0.5.4/src/ec_dissector_x11.o differ
6949 Binary files ettercap-0.5.4.orig/src/ec_doppleganger.o and ettercap-0.5.4/src/ec_doppleganger.o differ
6950 Binary files ettercap-0.5.4.orig/src/ec_error.o and ettercap-0.5.4/src/ec_error.o differ
6951 Binary files ettercap-0.5.4.orig/src/ec_filterdrop.o and ettercap-0.5.4/src/ec_filterdrop.o differ
6952 Binary files ettercap-0.5.4.orig/src/ec_fingerprint.o and ettercap-0.5.4/src/ec_fingerprint.o differ
6953 Binary files ettercap-0.5.4.orig/src/ec_grell.o and ettercap-0.5.4/src/ec_grell.o differ
6954 Binary files ettercap-0.5.4.orig/src/ec_illithid.o and ettercap-0.5.4/src/ec_illithid.o differ
6955 Binary files ettercap-0.5.4.orig/src/ec_inet.o and ettercap-0.5.4/src/ec_inet.o differ
6956 Binary files ettercap-0.5.4.orig/src/ec_inet_forge.o and ettercap-0.5.4/src/ec_inet_forge.o differ
6957 diff -urN ettercap-0.5.4.orig/src/ec_interface.c ettercap-0.5.4/src/ec_interface.c
6958 --- ettercap-0.5.4.orig/src/ec_interface.c      Thu Jul 19 05:50:07 2001
6959 +++ ettercap-0.5.4/src/ec_interface.c   Thu Sep  6 17:26:24 2001
6960 @@ -26,7 +26,7 @@
6961  #ifdef HAVE_NCURSES_H
6962     #include <ncurses.h>
6963  #else
6964 -   #include <curses.h>
6965 +   #include <ncurses/ncurses.h>
6966  #endif
6967  #include <unistd.h>
6968  #include <stdlib.h>
6969 Binary files ettercap-0.5.4.orig/src/ec_interface.o and ettercap-0.5.4/src/ec_interface.o differ
6970 diff -urN ettercap-0.5.4.orig/src/ec_interface_factory.c ettercap-0.5.4/src/ec_interface_factory.c
6971 --- ettercap-0.5.4.orig/src/ec_interface_factory.c      Thu Jul  5 18:53:17 2001
6972 +++ ettercap-0.5.4/src/ec_interface_factory.c   Thu Sep  6 17:26:24 2001
6973 @@ -26,7 +26,7 @@
6974  #ifdef HAVE_NCURSES_H
6975         #include <ncurses.h>
6976  #else
6977 -       #include <curses.h>
6978 +       #include <ncurses/ncurses.h>
6979  #endif
6980  #include <stdlib.h>
6981  #include <unistd.h>
6982 @@ -34,7 +34,7 @@
6983     #include <ctype.h>
6984  #endif
6985  #ifdef HAVE_FORM
6986 -   #include <form.h>
6987 +   #include <ncurses/form.h>
6988  #endif
6989  
6990  
6991 diff -urN ettercap-0.5.4.orig/src/ec_interface_form.c ettercap-0.5.4/src/ec_interface_form.c
6992 --- ettercap-0.5.4.orig/src/ec_interface_form.c Wed Jul 11 13:56:26 2001
6993 +++ ettercap-0.5.4/src/ec_interface_form.c      Thu Sep  6 17:26:24 2001
6994 @@ -27,13 +27,13 @@
6995  #ifdef HAVE_NCURSES_H
6996         #include <ncurses.h>
6997  #else
6998 -       #include <curses.h>
6999 +       #include <ncurses/ncurses.h>
7000  #endif
7001  #include <unistd.h>
7002  #ifdef HAVE_CTYPE_H
7003     #include <ctype.h>
7004  #endif
7005 -   #include <form.h>
7006 +   #include <ncurses/form.h>
7007  
7008  
7009  #include "include/ec_error.h"
7010 diff -urN ettercap-0.5.4.orig/src/ec_interface_inject.c ettercap-0.5.4/src/ec_interface_inject.c
7011 --- ettercap-0.5.4.orig/src/ec_interface_inject.c       Sat Jul 14 19:55:26 2001
7012 +++ ettercap-0.5.4/src/ec_interface_inject.c    Thu Sep  6 17:26:24 2001
7013 @@ -26,7 +26,7 @@
7014  #ifdef HAVE_NCURSES_H
7015     #include <ncurses.h>
7016  #else
7017 -   #include <curses.h>
7018 +   #include <ncurses/ncurses.h>
7019  #endif
7020  #include <unistd.h>
7021  #include <stdlib.h>
7022 @@ -34,7 +34,7 @@
7023     #include <ctype.h>
7024  #endif
7025  #ifdef HAVE_FORM
7026 -   #include <form.h>
7027 +   #include <ncurses/form.h>
7028  #endif
7029  
7030  
7031 diff -urN ettercap-0.5.4.orig/src/ec_interface_plugins.c ettercap-0.5.4/src/ec_interface_plugins.c
7032 --- ettercap-0.5.4.orig/src/ec_interface_plugins.c      Sun Jul 15 17:35:16 2001
7033 +++ ettercap-0.5.4/src/ec_interface_plugins.c   Thu Sep  6 17:26:24 2001
7034 @@ -27,7 +27,7 @@
7035  #ifdef HAVE_NCURSES_H
7036     #include <ncurses.h>
7037  #else
7038 -   #include <curses.h>
7039 +   #include <ncurses/ncurses.h>
7040  #endif
7041  #include <unistd.h>
7042  #include <stdlib.h>
7043 diff -urN ettercap-0.5.4.orig/src/ec_interface_sniff.c ettercap-0.5.4/src/ec_interface_sniff.c
7044 --- ettercap-0.5.4.orig/src/ec_interface_sniff.c        Mon Jul 23 22:06:08 2001
7045 +++ ettercap-0.5.4/src/ec_interface_sniff.c     Thu Sep  6 17:26:24 2001
7046 @@ -26,7 +26,7 @@
7047  #ifdef HAVE_NCURSES_H
7048     #include <ncurses.h>
7049  #else
7050 -   #include <curses.h>
7051 +   #include <ncurses/ncurses.h>
7052  #endif
7053  #include <unistd.h>
7054  #include <signal.h>
7055 diff -urN ettercap-0.5.4.orig/src/ec_interface_sniff_data.c ettercap-0.5.4/src/ec_interface_sniff_data.c
7056 --- ettercap-0.5.4.orig/src/ec_interface_sniff_data.c   Mon Jul  2 15:55:25 2001
7057 +++ ettercap-0.5.4/src/ec_interface_sniff_data.c        Thu Sep  6 17:26:24 2001
7058 @@ -26,7 +26,7 @@
7059  #ifdef HAVE_NCURSES_H
7060     #include <ncurses.h>
7061  #else
7062 -   #include <curses.h>
7063 +   #include <ncurses/ncurses.h>
7064  #endif
7065  #include <sys/time.h>
7066  #include <sys/types.h>
7067 diff -urN ettercap-0.5.4.orig/src/ec_main.c ettercap-0.5.4/src/ec_main.c
7068 --- ettercap-0.5.4.orig/src/ec_main.c   Fri Jul 20 01:33:17 2001
7069 +++ ettercap-0.5.4/src/ec_main.c        Thu Sep  6 17:26:24 2001
7070 @@ -230,7 +230,7 @@
7071     #ifdef HAVE_NCURSES_H
7072        #include <ncurses.h>
7073     #else
7074 -      #include <curses.h>
7075 +      #include <ncurses/ncurses.h>
7076     #endif
7077  #endif
7078  
7079 diff -urN ettercap-0.5.4.orig/src/ec_plugins.c ettercap-0.5.4/src/ec_plugins.c
7080 --- ettercap-0.5.4.orig/src/ec_plugins.c        Sun Jul 15 17:36:58 2001
7081 +++ ettercap-0.5.4/src/ec_plugins.c     Thu Sep  6 17:26:24 2001
7082 @@ -39,7 +39,7 @@
7083     #ifdef HAVE_NCURSES_H
7084        #include <ncurses.h>
7085     #else
7086 -      #include <curses.h>
7087 +      #include <ncurses/ncurses.h>
7088     #endif
7089     #include "include/ec_interface_plugins.h"
7090     extern WINDOW *plugin_window, *main_window;
7091 diff -urN ettercap-0.5.4.orig/src/ec_signal.c ettercap-0.5.4/src/ec_signal.c
7092 --- ettercap-0.5.4.orig/src/ec_signal.c Sat Jul 21 17:27:20 2001
7093 +++ ettercap-0.5.4/src/ec_signal.c      Thu Sep  6 17:26:24 2001
7094 @@ -35,7 +35,7 @@
7095     #ifdef HAVE_NCURSES_H
7096        #include <ncurses.h>
7097     #else
7098 -      #include <curses.h>
7099 +      #include <ncurses/ncurses.h>
7100     #endif
7101     #include "include/ec_interface.h"
7102     #include "include/ec_interface_sniff_data.h"
This page took 0.73533 seconds and 3 git commands to generate.