diff -urN ettercap-0.5.4.orig/Makefile ettercap-0.5.4/Makefile --- ettercap-0.5.4.orig/Makefile Thu Jan 1 01:00:00 1970 +++ ettercap-0.5.4/Makefile Thu Sep 6 17:14:33 2001 @@ -0,0 +1,141 @@ +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 +DESTS = $(SOURCES:.c=.o) + +MISSING = ./src/missing/getopt.c ./src/missing/getopt1.c ./src/missing/memmem.c ./src/missing/strlcat.c +MISSDESTS= $(MISSING:.c=.o) + +DESTDIR = +CC = i686-pld-linux-gcc +LIBS = -ldl -lform -lncurses -lncurses -rdynamic -L/usr/lib -lssl -lcrypto -s +MISSLIBS = ./src/missing/strlcat.o +DEFS = -DHAVE_CONFIG_H -DLINUX +INSTALL = /usr/bin/install -c + +prefix = /usr +exec_prefix = /usr + +BINDIR = /usr/bin +MANDIR = /usr/share/man +SHAREDIR = ${prefix}/share/ettercap +DOCDIR = ${prefix}/doc/ettercap-0.5.4 +DOC = COPYING README README.PLUGINS CHANGELOG HISTORY AUTHORS TODO THANKS KNOWN-BUGS PORTINGS INSTALL + +DEBUG = +CFLAG = -O2 -Wall +COPTS = -I. -I/usr/include + +PROG = ettercap +VERSION = 0.5.4 + +ALLOPT = $(DEBUG) $(CFLAG) $(COPTS) + + +.c.o: + $(CC) $(ALLOPT) $(DEFS) -c -o $@ $< + +all: ettercap + +ettercap: $(DESTS) missing + $(CC) $(ALLOPT) $(DEFS) -o $@ $(DESTS) $(MISSLIBS) $(LIBS) + @echo + @echo " $(PROG) is ready... " + @echo + +missing: $(MISSDESTS) + + +install: ettercap strip + $(INSTALL) -d $(DESTDIR)$(BINDIR) + $(INSTALL) -m 700 $(PROG) $(DESTDIR)$(BINDIR) + $(INSTALL) -d $(DESTDIR)$(SHAREDIR) + $(INSTALL) -m 644 ./share/* $(DESTDIR)$(SHAREDIR) + $(INSTALL) -m 644 ./etter.conf $(DESTDIR)$(SHAREDIR) + $(INSTALL) -m 644 ./etter.dns $(DESTDIR)$(SHAREDIR) + $(INSTALL) -m 644 ./etter.filter $(DESTDIR)$(SHAREDIR) + $(INSTALL) -m 644 ./etter.ssl.crt $(DESTDIR)$(SHAREDIR) + $(INSTALL) -d $(DESTDIR)$(DOCDIR) + $(INSTALL) -m 644 $(DOC) $(DESTDIR)$(DOCDIR) + $(INSTALL) -m 644 ./docs/*/* $(DESTDIR)$(DOCDIR) + $(INSTALL) -d $(DESTDIR)$(MANDIR)/man8 + $(INSTALL) -m 644 $(PROG).8 $(DESTDIR)$(MANDIR)/man8/$(PROG).8 + @echo + @echo "==============================================================" + @echo + @echo " $(PROG) installed in $(DESTDIR)$(BINDIR) " + @echo " shared files installed in $(DESTDIR)$(SHAREDIR) " + @echo " man pages installed in $(DESTDIR)$(MANDIR)/man8/ " + @echo " DOCS installed in $(DESTDIR)$(DOCDIR) " + @echo + @echo "==============================================================" + @echo + +plug-ins: + cd plugins && make && cd .. + cp -f ./plugins/*/ec_*.so ./ + @echo + @echo " $(PROG) plugins are ready... " + @echo + +plug-ins_install: + cd plugins && make install DESTDIR=$(DESTDIR) && cd .. + @echo + @echo "==============================================================" + @echo + @echo " PLUGINS installed in $(DESTDIR)$(SHAREDIR) " + @echo + @echo "==============================================================" + @echo + +complete_install: install plug-ins_install + +uninstall: + rm -f $(DESTDIR)$(MANDIR)/man8/$(PROG).8 + rm -f $(DESTDIR)$(BINDIR)/$(PROG) + rm -fR $(DESTDIR)$(SHAREDIR) + rm -fR $(DESTDIR)$(DOCDIR) + @echo + @echo " $(PROG) uninstalled from your system... " + @echo + +strip: ettercap + strip $(PROG) + +distro: distclean + shtool fixperm ./ + cd .. && tar cvfz $(PROG)-$(VERSION).tar.gz ./$(PROG)-$(VERSION) --exclude *.prj --exclude *.spec \ + && mv $(PROG)-$(VERSION).tar.gz ./$(PROG)-$(VERSION)/ && cd $(PROG)-$(VERSION) + +clean: + rm -f $(DESTS) $(MISSDESTS) $(PROG) + rm -f *.bak ./src/*.bak ./*/*.bak ./*/*/*.bak + rm -f core *.core + cd plugins && make clean && cd .. + +distclean: clean + rm -f config.h config.cache config.log config.status + rm -f $(PROG)-*.tar.gz + rm -f $(PROG)-*.rpm + rm -f $(PROG).8 + rm -f *.log + rm -f Makefile *~ + cd plugins && make distclean && cd .. + rm -f plugins/Makefile + rm -f ec_*.so + +# only for me... + +rpm: distro + rm -f $(PROG)-*.rpm + cp -f $(PROG)-$(VERSION).tar.gz /usr/src/redhat/SOURCES/ + rpm -ba $(PROG).spec + mv /usr/src/redhat/RPMS/i?86/$(PROG)-$(VERSION)-1.i?86.rpm ./ + mv /usr/src/redhat/SRPMS/$(PROG)-$(VERSION)-1.src.rpm ./ + rm -Rf /usr/src/redhat/*/ettercap* + chmod 644 $(PROG)-$(VERSION)* + +snapshot: + @echo " Making tarball... " + @rm -f ettercap + @shtool tarball -o $(PROG)-$(VERSION)-20010906.tar.gz -c 'gzip -9' -e '\.o,\.prj,\.gz,\.bak,\.so,\.log' ./ + @chmod 644 $(PROG)-$(VERSION)-20010906.tar.gz + @ls -l $(PROG)-$(VERSION)-20010906.tar.gz \ No newline at end of file diff -urN ettercap-0.5.4.orig/config.h ettercap-0.5.4/config.h --- ettercap-0.5.4.orig/config.h Thu Jan 1 01:00:00 1970 +++ ettercap-0.5.4/config.h Thu Sep 6 17:14:35 2001 @@ -0,0 +1,235 @@ +/* config.h. Generated automatically by configure. */ +/* config.h.in. Generated automatically from configure.in by autoheader. */ +/* acconfig.h. Generated from scratch by my hand... ;) ALoR */ + + + + +/* Define if you have the `atexit' function. */ +#define HAVE_ATEXIT 1 + +/* Define if you have the header file. */ +#define HAVE_CTYPE_H 1 + +/* Define if you have the header file. */ +/* #undef HAVE_CURSES_H */ + +/* Define if you have the header file. */ +#define HAVE_DIRENT_H 1 + +/* Define if you have the header file. */ +#define HAVE_DLFCN_H 1 + +/* Define if you don't have `vprintf' but do have `_doprnt.' */ +/* #undef HAVE_DOPRNT */ + +/* Define if you have the header file. */ +#define HAVE_ERRNO_H 1 + +/* Define if you have the header file. */ +#define HAVE_FCNTL_H 1 + +/* Define if you have the header file. */ +/* #undef HAVE_FORM_H */ + +/* Define if you have the header file. */ +#define HAVE_GETOPT_H 1 + +/* Define if you have the `getopt_long' function. */ +#define HAVE_GETOPT_LONG 1 + +/* Define if you have the `gettimeofday' function. */ +#define HAVE_GETTIMEOFDAY 1 + +/* Define if you have the header file. */ +/* #undef HAVE_IFADDRS_H */ + +/* Define if you have the header file. */ +#define HAVE_INTTYPES_H 1 + +/* Define if you have the `c' library (-lc). */ +/* #undef HAVE_LIBC */ + +/* Define if you have the `curses' library (-lcurses). */ +/* #undef HAVE_LIBCURSES */ + +/* Define if you have the `dl' library (-ldl). */ +#define HAVE_LIBDL 1 + +/* Define if you have the `form' library (-lform). */ +#define HAVE_LIBFORM 1 + +/* Define if you have the `ncurses' library (-lncurses). */ +#define HAVE_LIBNCURSES 1 + +/* Define if your system has a working `malloc' function. */ +#define HAVE_MALLOC 1 + +/* Define if you have the `memmem' function. */ +#define HAVE_MEMMEM 1 + +/* Define if you have the header file. */ +#define HAVE_MEMORY_H 1 + +/* Define if you have the header file. */ +/* #undef HAVE_NCURSES_H */ + +/* Define if you have the header file, and it defines `DIR'. */ +/* #undef HAVE_NDIR_H */ + +/* Define if you have the header file. */ +#define HAVE_NETINET_IP_H 1 + +/* Define if you have the header file. */ +#define HAVE_NETINET_IP_ICMP_H 1 + +/* Define if you have the header file. */ +#define HAVE_NETINET_TCP_H 1 + +/* Define if you have the header file. */ +#define HAVE_NET_ETHERNET_H 1 + +/* Define if you have the header file. */ +#define HAVE_NET_IF_ARP_H 1 + +/* Define if you have the header file. */ +#define HAVE_NET_IF_H 1 + +/* Define if you have the `select' function. */ +#define HAVE_SELECT 1 + +/* Define if you have the header file. */ +#define HAVE_SIGNAL_H 1 + +/* if struct sockaddr has sa_len */ +/* #undef HAVE_SOCKADDR_SA_LEN */ + +/* Define if you have the `socket' function. */ +#define HAVE_SOCKET 1 + +/* Define if you have the header file. */ +#define HAVE_STDARG_H 1 + +/* Define if you have the header file. */ +#define HAVE_STDINT_H 1 + +/* Define if you have the header file. */ +#define HAVE_STDLIB_H 1 + +/* Define if you have the `strdup' function. */ +#define HAVE_STRDUP 1 + +/* Define if you have the `strerror' function. */ +#define HAVE_STRERROR 1 + +/* Define if you have the header file. */ +#define HAVE_STRINGS_H 1 + +/* Define if you have the header file. */ +#define HAVE_STRING_H 1 + +/* Define if you have the `strlcat' function. */ +/* #undef HAVE_STRLCAT */ + +/* Define if you have the `strsignal' function. */ +#define HAVE_STRSIGNAL 1 + +/* Define if you have the `strstr' function. */ +#define HAVE_STRSTR 1 + +/* Define if you have the header file, and it defines `DIR'. */ +/* #undef HAVE_SYS_DIR_H */ + +/* Define if you have the header file. */ +#define HAVE_SYS_IOCTL_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_IPC_H 1 + +/* Define if you have the header file, and it defines `DIR'. */ +/* #undef HAVE_SYS_NDIR_H */ + +/* Define if you have the header file. */ +#define HAVE_SYS_SHM_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_STAT_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_TIME_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_TYPES_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_UTSNAME_H 1 + +/* Define if you have the header file. */ +#define HAVE_TERMIOS_H 1 + +/* Define if you have the `uname' function. */ +#define HAVE_UNAME 1 + +/* Define if you have the header file. */ +#define HAVE_UNISTD_H 1 + +/* Define if you have the `vprintf' function. */ +#define HAVE_VPRINTF 1 + +/* Define if you have the `vsnprintf' function. */ +#define HAVE_VSNPRINTF 1 + +/* Define as the return type of signal handlers (`int' or `void'). */ +#define RETSIGTYPE void + +/* Define if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* Define if you can safely include both and . */ +#define TIME_WITH_SYS_TIME 1 + +/* Define if your declares `struct tm'. */ +/* #undef TM_IN_SYS_TIME */ + +/* Define if your processor stores words with the most significant byte first + (like Motorola and SPARC, unlike Intel and VAX). */ +/* #undef WORDS_BIGENDIAN */ + +/* Define to empty if `const' does not conform to ANSI C. */ +/* #undef const */ + +/* Define to `int' if does not define. */ +/* #undef pid_t */ + +/* Define to `unsigned' if does not define. */ +/* #undef size_t */ + +/* my define for libncurses && ncurses_h */ +#define HAVE_NCURSES 1 + +/* my define for ncurses form */ +#define HAVE_FORM 1 + +/* can ettercap be setuid ? */ +/* #undef PERMIT_SUID */ + +/* can ettercap use plugins ? */ +#define PERMIT_PLUGINS 1 + +/* is sockelen_t defined in sys/socket.h ? */ +#define HAVE_SOCKLEN_T 1 + +/* do U have PF_PACKET protocol ? */ +#define HAVE_PF_PACKET 1 + +/* no, only PF_INET, SOCK_PACKET ! */ +#define HAVE_SOCK_PACKET 1 + +/* SSH support ! */ +#define HAVE_OPENSSL 1 + +/* HTTPS support ! */ +#define PERMIT_HTTPS 1 + +/* EOF */ + diff -urN ettercap-0.5.4.orig/config.log ettercap-0.5.4/config.log --- ettercap-0.5.4.orig/config.log Thu Jan 1 01:00:00 1970 +++ ettercap-0.5.4/config.log Thu Sep 6 17:14:35 2001 @@ -0,0 +1,835 @@ +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. + +It was created by configure, which was +generated by GNU Autoconf 2.52. Invocation command line was + + $ ./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 + +## ---------- ## +## Platform. ## +## ---------- ## + +hostname = wieszak +uname -m = i686 +uname -r = 2.2.19 +uname -s = Linux +uname -v = #39 Thu Jul 26 16:20:17 CEST 2001 + +/usr/bin/uname -p = unknown +/bin/uname -X = unknown + +/bin/arch = i686 +/usr/bin/arch -k = unknown +/usr/convex/getsysinfo = unknown +hostinfo = unknown +/bin/machine = unknown +/usr/bin/oslevel = unknown +/bin/universe = unknown + +PATH = /usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/X11R6/bin:/home/misiek/bin:/opt/kde/bin + +## ------------ ## +## Core tests. ## +## ------------ ## + +configure:967: PATH=".;."; conftest.sh +./configure[975]: conftest.sh: not found +configure:970: $? = 127 +configure:988: result: +configure:990: result: Configuring ettercap-0.5.4... +configure:992: result: +configure:1034: checking build system type +configure:1052: result: i686-pld-linux-gnu +configure:1059: checking host system type +configure:1073: result: i686-pld-linux-gnu +configure:1080: checking target system type +configure:1094: result: i686-pld-linux-gnu +configure:1110: checking Linux kernel version +configure:1115: result: 2.2.19 +configure:1230: checking for gcc +configure:1253: result: i686-pld-linux-gcc +configure:1481: checking for C compiler version +configure:1484: i686-pld-linux-gcc --version &5 +2.95.3 +configure:1487: $? = 0 +configure:1489: i686-pld-linux-gcc -v &5 +Reading specs from /usr/lib/gcc-lib/i686-pld-linux/2.95.3/specs +gcc version 2.95.3 20010315 (release) +configure:1492: $? = 0 +configure:1494: i686-pld-linux-gcc -V &5 +i686-pld-linux-gcc: argument to `-V' is missing +configure:1497: $? = 1 +configure:1517: checking for C compiler default output +configure:1520: i686-pld-linux-gcc -I/usr/include/ncurses -DHAVE_NCURSES -s conftest.c >&5 +configure:1523: $? = 0 +configure:1552: result: a.out +configure:1557: checking whether the C compiler works +configure:1563: ./a.out +configure:1566: $? = 0 +configure:1581: result: yes +configure:1588: checking whether we are cross compiling +configure:1590: result: no +configure:1593: checking for executable suffix +configure:1595: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES -s conftest.c >&5 +configure:1598: $? = 0 +configure:1620: result: +configure:1626: checking for object suffix +configure:1644: i686-pld-linux-gcc -c -I/usr/include/ncurses -DHAVE_NCURSES conftest.c >&5 +configure:1647: $? = 0 +configure:1666: result: o +configure:1670: checking whether we are using the GNU C compiler +configure:1691: i686-pld-linux-gcc -c -I/usr/include/ncurses -DHAVE_NCURSES conftest.c >&5 +configure:1694: $? = 0 +configure:1697: test -s conftest.o +configure:1700: $? = 0 +configure:1712: result: yes +configure:1718: checking whether i686-pld-linux-gcc accepts -g +configure:1736: i686-pld-linux-gcc -c -g conftest.c >&5 +configure:1739: $? = 0 +configure:1742: test -s conftest.o +configure:1745: $? = 0 +configure:1755: result: yes +configure:1782: i686-pld-linux-gcc -c -I/usr/include/ncurses -DHAVE_NCURSES conftest.c >&5 +conftest.c:2: parse error before `me' +configure:1785: $? = 1 +configure: failed program was: +#ifndef __cplusplus + choke me +#endif +configure:1895: checking for a BSD compatible install +configure:1944: result: /usr/bin/install -c +configure:1955: checking whether make sets ${MAKE} +configure:1975: result: yes +configure:1989: checking how to run the C preprocessor +configure:2015: i686-pld-linux-gcc -E conftest.c +configure:2021: $? = 0 +configure:2048: i686-pld-linux-gcc -E conftest.c +configure:2045: ac_nonexistent.h: No such file or directory +configure:2054: $? = 1 +configure: failed program was: +#line 2044 "configure" +#include "confdefs.h" +#include +configure:2091: result: i686-pld-linux-gcc -E +configure:2106: i686-pld-linux-gcc -E conftest.c +configure:2112: $? = 0 +configure:2139: i686-pld-linux-gcc -E conftest.c +configure:2136: ac_nonexistent.h: No such file or directory +configure:2145: $? = 1 +configure: failed program was: +#line 2135 "configure" +#include "confdefs.h" +#include +configure:2185: checking whether i686-pld-linux-gcc needs -traditional +configure:2220: result: no +configure:2227: checking whether byte ordering is bigendian +configure:2252: i686-pld-linux-gcc -c -I/usr/include/ncurses -DHAVE_NCURSES conftest.c >&5 +configure:2255: $? = 0 +configure:2258: test -s conftest.o +configure:2261: $? = 0 +configure:2282: i686-pld-linux-gcc -c -I/usr/include/ncurses -DHAVE_NCURSES conftest.c >&5 +configure: In function `main': +configure:2273: `not' undeclared (first use in this function) +configure:2273: (Each undeclared identifier is reported only once +configure:2273: for each function it appears in.) +configure:2273: parse error before `big' +configure:2285: $? = 1 +configure: failed program was: +#line 2265 "configure" +#include "confdefs.h" +#include +#include + +int +main () +{ +#if BYTE_ORDER != BIG_ENDIAN + not big endian +#endif + + ; + return 0; +} +configure:2349: result: no +configure:2359: checking for ANSI C header files +configure:2373: i686-pld-linux-gcc -E conftest.c +configure:2379: $? = 0 +configure:2466: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES -s conftest.c >&5 +configure:2469: $? = 0 +configure:2471: ./conftest +configure:2474: $? = 0 +configure:2487: result: yes +configure:2500: checking for dirent.h that defines DIR +configure:2521: i686-pld-linux-gcc -c -I/usr/include/ncurses -DHAVE_NCURSES conftest.c >&5 +configure:2524: $? = 0 +configure:2527: test -s conftest.o +configure:2530: $? = 0 +configure:2540: result: yes +configure:2553: checking for opendir in -ldir +configure:2580: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES -s conftest.c -ldir >&5 +/usr/bin/ld: cannot find -ldir +collect2: ld returned 1 exit status +configure:2583: $? = 1 +configure: failed program was: +#line 2561 "configure" +#include "confdefs.h" + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char opendir (); +int +main () +{ +opendir (); + ; + return 0; +} +configure:2600: result: no +configure:2662: checking whether time.h and sys/time.h may both be included +configure:2684: i686-pld-linux-gcc -c -I/usr/include/ncurses -DHAVE_NCURSES conftest.c >&5 +configure:2687: $? = 0 +configure:2690: test -s conftest.o +configure:2693: $? = 0 +configure:2703: result: yes +configure:2716: checking for getopt.h +configure:2726: i686-pld-linux-gcc -E conftest.c +configure:2732: $? = 0 +configure:2751: result: yes +configure:2764: checking for fcntl.h +configure:2774: i686-pld-linux-gcc -E conftest.c +configure:2780: $? = 0 +configure:2799: result: yes +configure:2764: checking for termios.h +configure:2774: i686-pld-linux-gcc -E conftest.c +configure:2780: $? = 0 +configure:2799: result: yes +configure:2764: checking for ctype.h +configure:2774: i686-pld-linux-gcc -E conftest.c +configure:2780: $? = 0 +configure:2799: result: yes +configure:2812: checking for sys/time.h +configure:2822: i686-pld-linux-gcc -E conftest.c +configure:2828: $? = 0 +configure:2847: result: yes +configure:2812: checking for sys/utsname.h +configure:2822: i686-pld-linux-gcc -E conftest.c +configure:2828: $? = 0 +configure:2847: result: yes +configure:2860: checking for ifaddrs.h +configure:2870: i686-pld-linux-gcc -E conftest.c +configure:2867: ifaddrs.h: No such file or directory +configure:2876: $? = 1 +configure: failed program was: +#line 2866 "configure" +#include "confdefs.h" +#include +configure:2895: result: no +configure:2908: checking for unistd.h +configure:2918: i686-pld-linux-gcc -E conftest.c +configure:2924: $? = 0 +configure:2943: result: yes +configure:2908: checking for stdlib.h +configure:2918: i686-pld-linux-gcc -E conftest.c +configure:2924: $? = 0 +configure:2943: result: yes +configure:2908: checking for signal.h +configure:2918: i686-pld-linux-gcc -E conftest.c +configure:2924: $? = 0 +configure:2943: result: yes +configure:2908: checking for stdarg.h +configure:2918: i686-pld-linux-gcc -E conftest.c +configure:2924: $? = 0 +configure:2943: result: yes +configure:2908: checking for sys/ioctl.h +configure:2918: i686-pld-linux-gcc -E conftest.c +configure:2924: $? = 0 +configure:2943: result: yes +configure:2964: checking for sys/ipc.h +configure:2974: i686-pld-linux-gcc -E conftest.c +configure:2980: $? = 0 +configure:2999: result: yes +configure:2964: checking for sys/shm.h +configure:2974: i686-pld-linux-gcc -E conftest.c +configure:2980: $? = 0 +configure:2999: result: yes +configure:2964: checking for dirent.h +configure:2974: i686-pld-linux-gcc -E conftest.c +configure:2980: $? = 0 +configure:2999: result: yes +configure:2964: checking for errno.h +configure:2974: i686-pld-linux-gcc -E conftest.c +configure:2980: $? = 0 +configure:2999: result: yes +configure:3020: checking for net/ethernet.h +configure:3030: i686-pld-linux-gcc -E conftest.c +configure:3036: $? = 0 +configure:3055: result: yes +configure:3020: checking for net/if_arp.h +configure:3030: i686-pld-linux-gcc -E conftest.c +configure:3036: $? = 0 +configure:3055: result: yes +configure:3020: checking for net/if.h +configure:3030: i686-pld-linux-gcc -E conftest.c +configure:3036: $? = 0 +configure:3055: result: yes +configure:3068: checking for netinet/ip.h +configure:3078: i686-pld-linux-gcc -E conftest.c +configure:3084: $? = 0 +configure:3103: result: yes +configure:3068: checking for netinet/ip_icmp.h +configure:3078: i686-pld-linux-gcc -E conftest.c +configure:3084: $? = 0 +configure:3103: result: yes +configure:3068: checking for netinet/tcp.h +configure:3078: i686-pld-linux-gcc -E conftest.c +configure:3084: $? = 0 +configure:3103: result: yes +configure:3137: checking for ip_forward +configure:3154: found /proc/sys/net/ipv4/ip_forward +configure:3165: result: /proc/sys/net/ipv4/ip_forward +configure:3188: checking whether struct tm is in sys/time.h or time.h +configure:3208: i686-pld-linux-gcc -c -I/usr/include/ncurses -DHAVE_NCURSES conftest.c >&5 +configure:3211: $? = 0 +configure:3214: test -s conftest.o +configure:3217: $? = 0 +configure:3227: result: time.h +configure:3237: checking for socklen_t in sys/socket.h +configure:3262: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES -s conftest.c >&5 +configure:3265: $? = 0 +configure:3267: ./conftest +configure:3270: $? = 0 +configure:3272: result: yes +configure:3295: checking for sys/types.h +configure:3307: i686-pld-linux-gcc -c -I/usr/include/ncurses -DHAVE_NCURSES conftest.c >&5 +configure:3310: $? = 0 +configure:3313: test -s conftest.o +configure:3316: $? = 0 +configure:3326: result: yes +configure:3295: checking for sys/stat.h +configure:3307: i686-pld-linux-gcc -c -I/usr/include/ncurses -DHAVE_NCURSES conftest.c >&5 +configure:3310: $? = 0 +configure:3313: test -s conftest.o +configure:3316: $? = 0 +configure:3326: result: yes +configure:3295: checking for stdlib.h +configure:3326: result: yes +configure:3295: checking for string.h +configure:3307: i686-pld-linux-gcc -c -I/usr/include/ncurses -DHAVE_NCURSES conftest.c >&5 +configure:3310: $? = 0 +configure:3313: test -s conftest.o +configure:3316: $? = 0 +configure:3326: result: yes +configure:3295: checking for memory.h +configure:3307: i686-pld-linux-gcc -c -I/usr/include/ncurses -DHAVE_NCURSES conftest.c >&5 +configure:3310: $? = 0 +configure:3313: test -s conftest.o +configure:3316: $? = 0 +configure:3326: result: yes +configure:3295: checking for strings.h +configure:3307: i686-pld-linux-gcc -c -I/usr/include/ncurses -DHAVE_NCURSES conftest.c >&5 +configure:3310: $? = 0 +configure:3313: test -s conftest.o +configure:3316: $? = 0 +configure:3326: result: yes +configure:3295: checking for inttypes.h +configure:3307: i686-pld-linux-gcc -c -I/usr/include/ncurses -DHAVE_NCURSES conftest.c >&5 +configure:3310: $? = 0 +configure:3313: test -s conftest.o +configure:3316: $? = 0 +configure:3326: result: yes +configure:3295: checking for stdint.h +configure:3307: i686-pld-linux-gcc -c -I/usr/include/ncurses -DHAVE_NCURSES conftest.c >&5 +configure:3310: $? = 0 +configure:3313: test -s conftest.o +configure:3316: $? = 0 +configure:3326: result: yes +configure:3295: checking for unistd.h +configure:3326: result: yes +configure:3336: checking for pid_t +configure:3357: i686-pld-linux-gcc -c -I/usr/include/ncurses -DHAVE_NCURSES conftest.c >&5 +configure:3360: $? = 0 +configure:3363: test -s conftest.o +configure:3366: $? = 0 +configure:3376: result: yes +configure:3388: checking for size_t +configure:3409: i686-pld-linux-gcc -c -I/usr/include/ncurses -DHAVE_NCURSES conftest.c >&5 +configure:3412: $? = 0 +configure:3415: test -s conftest.o +configure:3418: $? = 0 +configure:3428: result: yes +configure:3440: checking for i686-pld-linux-gcc option to accept ANSI C +configure:3497: i686-pld-linux-gcc -c -I/usr/include/ncurses -DHAVE_NCURSES conftest.c >&5 +configure:3500: $? = 0 +configure:3503: test -s conftest.o +configure:3506: $? = 0 +configure:3523: result: none needed +configure:3531: checking for an ANSI C-conforming const +configure:3595: i686-pld-linux-gcc -c -I/usr/include/ncurses -DHAVE_NCURSES conftest.c >&5 +configure:3598: $? = 0 +configure:3601: test -s conftest.o +configure:3604: $? = 0 +configure:3614: result: yes +configure:3624: checking if sockaddr struct has sa_len member +configure:3644: i686-pld-linux-gcc -c -I/usr/include/ncurses -DHAVE_NCURSES conftest.c >&5 +configure: In function `main': +configure:3637: structure has no member named `sa_len' +configure:3647: $? = 1 +configure: failed program was: +#line 3630 "configure" +#include "confdefs.h" + +# include +# include +int +main () +{ +u_int i = sizeof(((struct sockaddr *)0)->sa_len) + ; + return 0; +} +configure:3664: result: no +configure:3677: checking for stdlib.h +configure:3712: result: yes +configure:3722: checking for working malloc +configure:3748: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES -s conftest.c >&5 +configure:3751: $? = 0 +configure:3753: ./conftest +configure:3756: $? = 0 +configure:3768: result: yes +configure:3778: checking for working memcmp +configure:3823: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES -s conftest.c >&5 +configure:3826: $? = 0 +configure:3828: ./conftest +configure:3831: $? = 0 +configure:3843: result: yes +configure:3847: checking return type of signal handlers +configure:3875: i686-pld-linux-gcc -c -I/usr/include/ncurses -DHAVE_NCURSES conftest.c >&5 +configure:3878: $? = 0 +configure:3881: test -s conftest.o +configure:3884: $? = 0 +configure:3894: result: void +configure:3904: checking for vprintf +configure:3941: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES -s conftest.c >&5 +configure:3944: $? = 0 +configure:3947: test -s conftest +configure:3950: $? = 0 +configure:3960: result: yes +configure:3967: checking for _doprnt +configure:4004: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES -s conftest.c >&5 +/tmp/ccY7O9fG.o: In function `main': +/tmp/ccY7O9fG.o(.text+0x9): undefined reference to `_doprnt' +collect2: ld returned 1 exit status +configure:4007: $? = 1 +configure: failed program was: +#line 3973 "configure" +#include "confdefs.h" +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char _doprnt (); below. */ +#include +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char _doprnt (); +char (*f) (); + +int +main () +{ +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub__doprnt) || defined (__stub____doprnt) +choke me +#else +f = _doprnt; +#endif + + ; + return 0; +} +configure:4023: result: no +configure:4039: checking for gettimeofday +configure:4076: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES -s conftest.c >&5 +configure:4079: $? = 0 +configure:4082: test -s conftest +configure:4085: $? = 0 +configure:4095: result: yes +configure:4108: checking for vsnprintf +configure:4145: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES -s conftest.c >&5 +configure:4148: $? = 0 +configure:4151: test -s conftest +configure:4154: $? = 0 +configure:4164: result: yes +configure:4177: checking for select +configure:4214: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES -s conftest.c >&5 +configure:4217: $? = 0 +configure:4220: test -s conftest +configure:4223: $? = 0 +configure:4233: result: yes +configure:4177: checking for socket +configure:4214: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES -s conftest.c >&5 +configure:4217: $? = 0 +configure:4220: test -s conftest +configure:4223: $? = 0 +configure:4233: result: yes +configure:4177: checking for strdup +configure:4214: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES -s conftest.c >&5 +configure:4217: $? = 0 +configure:4220: test -s conftest +configure:4223: $? = 0 +configure:4233: result: yes +configure:4177: checking for strerror +configure:4214: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES -s conftest.c >&5 +configure:4217: $? = 0 +configure:4220: test -s conftest +configure:4223: $? = 0 +configure:4233: result: yes +configure:4177: checking for strstr +configure:4214: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES -s conftest.c >&5 +configure:4217: $? = 0 +configure:4220: test -s conftest +configure:4223: $? = 0 +configure:4233: result: yes +configure:4177: checking for uname +configure:4214: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES -s conftest.c >&5 +configure:4217: $? = 0 +configure:4220: test -s conftest +configure:4223: $? = 0 +configure:4233: result: yes +configure:4246: checking for atexit +configure:4283: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES -s conftest.c >&5 +configure:4286: $? = 0 +configure:4289: test -s conftest +configure:4292: $? = 0 +configure:4302: result: yes +configure:4315: checking for strsignal +configure:4352: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES -s conftest.c >&5 +configure:4355: $? = 0 +configure:4358: test -s conftest +configure:4361: $? = 0 +configure:4371: result: yes +configure:4384: checking for getopt_long +configure:4421: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES -s conftest.c >&5 +configure:4424: $? = 0 +configure:4427: test -s conftest +configure:4430: $? = 0 +configure:4440: result: yes +configure:4455: checking for strlcat +configure:4492: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES -s conftest.c >&5 +/tmp/ccU6gj9s.o: In function `main': +/tmp/ccU6gj9s.o(.text+0x9): undefined reference to `strlcat' +collect2: ld returned 1 exit status +configure:4495: $? = 1 +configure: failed program was: +#line 4461 "configure" +#include "confdefs.h" +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char strlcat (); below. */ +#include +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char strlcat (); +char (*f) (); + +int +main () +{ +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_strlcat) || defined (__stub___strlcat) +choke me +#else +f = strlcat; +#endif + + ; + return 0; +} +configure:4511: result: no +configure:4526: checking for memmem +configure:4563: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES -s conftest.c >&5 +configure:4566: $? = 0 +configure:4569: test -s conftest +configure:4572: $? = 0 +configure:4582: result: yes +configure:4594: result: +configure:4596: result: Checking user defined options... +configure:4598: result: +configure:4602: checking if --enable-ncurses option is specified +configure:4609: result: yes. +configure:4634: checking for ncurses/ncurses.h +configure:4644: i686-pld-linux-gcc -E conftest.c +configure:4650: $? = 0 +configure:4669: result: yes +configure:4681: checking for newwin in -lncurses +configure:4708: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES -s conftest.c -lncurses >&5 +configure:4711: $? = 0 +configure:4714: test -s conftest +configure:4717: $? = 0 +configure:4728: result: yes +configure:4741: checking for newpad in -lncurses +configure:4768: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES -s conftest.c -lncurses -lncurses >&5 +configure:4771: $? = 0 +configure:4774: test -s conftest +configure:4777: $? = 0 +configure:4788: result: yes +configure:5004: checking for ncurses/form.h +configure:5014: i686-pld-linux-gcc -E conftest.c +configure:5020: $? = 0 +configure:5039: result: yes +configure:5051: checking for form_win in -lform +configure:5078: i686-pld-linux-gcc -o conftest -I/usr/include/ncurses -DHAVE_NCURSES -s conftest.c -lform -lncurses -lncurses >&5 +configure:5081: $? = 0 +configure:5084: test -s conftest +configure:5087: $? = 0 +configure:5098: result: yes +configure:5130: checking if --enable-debug option is specified +configure:5143: result: no. +configure:5157: checking if --enable-suid option is specified +configure:5178: result: no. disabled by default. +configure:5185: checking if --enable-plugins option is specified +configure:5202: result: yes. enabled by default. +configure:5214: checking for dlfcn.h +configure:5224: i686-pld-linux-gcc -E conftest.c +configure:5230: $? = 0 +configure:5249: result: yes +configure:5263: checking for dlopen in -ldl +configure:5290: i686-pld-linux-gcc -o conftest -O2 -Wall -s conftest.c -ldl -lform -lncurses -lncurses >&5 +configure:5293: $? = 0 +configure:5296: test -s conftest +configure:5299: $? = 0 +configure:5310: result: yes +configure:5426: checking for OpenSSL in /usr +configure:5442: result: yes +configure:5479: checking if --enable-https option is specified +configure:5525: result: yes. enabled by default. +configure:5536: result: +configure:5538: result: Writing output files... +configure:5540: result: +configure:5627: creating ./config.status + +## ----------------------- ## +## Running config.status. ## +## ----------------------- ## + +This file was extended by config.status 2.52, executed with + CONFIG_FILES = + CONFIG_HEADERS = + CONFIG_LINKS = + CONFIG_COMMANDS = + > ./config.status +on wieszak + +config.status:6094: creating ettercap.spec +config.status:6094: creating ettercap.8 +config.status:6094: creating Makefile +config.status:6094: creating plugins/arpcop/Makefile +config.status:6094: creating plugins/banshee/Makefile +config.status:6094: creating plugins/dummy/Makefile +config.status:6094: creating plugins/golem/Makefile +config.status:6094: creating plugins/imp/Makefile +config.status:6094: creating plugins/leech/Makefile +config.status:6094: creating plugins/lurker/Makefile +config.status:6094: creating plugins/ooze/Makefile +config.status:6094: creating plugins/phantom/Makefile +config.status:6094: creating plugins/shadow/Makefile +config.status:6094: creating plugins/spectre/Makefile +config.status:6094: creating plugins/triton/Makefile +config.status:6094: creating plugins/Makefile +config.status:6186: creating config.h +configure:6394: result: +configure:6396: result: Ettercap has been configured as follow... +configure:6398: result: + +## ----------------- ## +## Cache variables. ## +## ----------------- ## + +ac_cv_build=i686-pld-linux-gnu +ac_cv_build_alias=i686-pld-linux +ac_cv_c_bigendian=no +ac_cv_c_compiler_gnu=yes +ac_cv_c_const=yes +ac_cv_ec_debug=no +ac_cv_ec_form=yes +ac_cv_ec_https=yes +ac_cv_ec_ncurses=yes +ac_cv_ec_plugin=yes +ac_cv_ec_ssh=yes +ac_cv_ec_suid=no +ac_cv_env_CC_set=set +ac_cv_env_CC_value=i686-pld-linux-gcc +ac_cv_env_CFLAGS_set=set +ac_cv_env_CFLAGS_value='-I/usr/include/ncurses -DHAVE_NCURSES' +ac_cv_env_CPPFLAGS_set= +ac_cv_env_CPPFLAGS_value= +ac_cv_env_CPP_set= +ac_cv_env_CPP_value= +ac_cv_env_LDFLAGS_set=set +ac_cv_env_LDFLAGS_value=-s +ac_cv_env_build_alias_set=set +ac_cv_env_build_alias_value=i686-pld-linux +ac_cv_env_host_alias_set= +ac_cv_env_host_alias_value= +ac_cv_env_target_alias_set= +ac_cv_env_target_alias_value= +ac_cv_func__doprnt=no +ac_cv_func_atexit=yes +ac_cv_func_getopt_long=yes +ac_cv_func_gettimeofday=yes +ac_cv_func_malloc_works=yes +ac_cv_func_memcmp_working=yes +ac_cv_func_memmem=yes +ac_cv_func_select=yes +ac_cv_func_socket=yes +ac_cv_func_strdup=yes +ac_cv_func_strerror=yes +ac_cv_func_strlcat=no +ac_cv_func_strsignal=yes +ac_cv_func_strstr=yes +ac_cv_func_uname=yes +ac_cv_func_vprintf=yes +ac_cv_func_vsnprintf=yes +ac_cv_header_ctype_h=yes +ac_cv_header_dirent_dirent_h=yes +ac_cv_header_dirent_h=yes +ac_cv_header_dlfcn_h=yes +ac_cv_header_errno_h=yes +ac_cv_header_fcntl_h=yes +ac_cv_header_getopt_h=yes +ac_cv_header_ifaddrs_h=no +ac_cv_header_inttypes_h=yes +ac_cv_header_memory_h=yes +ac_cv_header_ncurses_form_h=yes +ac_cv_header_ncurses_ncurses_h=yes +ac_cv_header_net_ethernet_h=yes +ac_cv_header_net_if_arp_h=yes +ac_cv_header_net_if_h=yes +ac_cv_header_netinet_ip_h=yes +ac_cv_header_netinet_ip_icmp_h=yes +ac_cv_header_netinet_tcp_h=yes +ac_cv_header_signal_h=yes +ac_cv_header_stdarg_h=yes +ac_cv_header_stdc=yes +ac_cv_header_stdint_h=yes +ac_cv_header_stdlib_h=yes +ac_cv_header_string_h=yes +ac_cv_header_strings_h=yes +ac_cv_header_sys_ioctl_h=yes +ac_cv_header_sys_ipc_h=yes +ac_cv_header_sys_shm_h=yes +ac_cv_header_sys_stat_h=yes +ac_cv_header_sys_time_h=yes +ac_cv_header_sys_types_h=yes +ac_cv_header_sys_utsname_h=yes +ac_cv_header_termios_h=yes +ac_cv_header_time=yes +ac_cv_header_unistd_h=yes +ac_cv_host=i686-pld-linux-gnu +ac_cv_host_alias=i686-pld-linux +ac_cv_lbl_sockaddr_has_sa_len=no +ac_cv_lib_dir_opendir=no +ac_cv_lib_dl_dlopen=yes +ac_cv_lib_form_form_win=yes +ac_cv_lib_ncurses_newpad=yes +ac_cv_lib_ncurses_newwin=yes +ac_cv_objext=o +ac_cv_path_IPFORWARD=/proc/sys/net/ipv4/ip_forward +ac_cv_path_install='/usr/bin/install -c' +ac_cv_prog_CPP='i686-pld-linux-gcc -E' +ac_cv_prog_ac_ct_CC=i686-pld-linux-gcc +ac_cv_prog_cc_g=yes +ac_cv_prog_cc_stdc= +ac_cv_prog_gcc_traditional=no +ac_cv_prog_make_make_set=yes +ac_cv_struct_tm=time.h +ac_cv_target=i686-pld-linux-gnu +ac_cv_target_alias=i686-pld-linux +ac_cv_type_pid_t=yes +ac_cv_type_signal=void +ac_cv_type_size_t=yes + +## ------------ ## +## confdefs.h. ## +## ------------ ## + +#define STDC_HEADERS 1 +#define HAVE_DIRENT_H 1 +#define TIME_WITH_SYS_TIME 1 +#define HAVE_GETOPT_H 1 +#define HAVE_FCNTL_H 1 +#define HAVE_TERMIOS_H 1 +#define HAVE_CTYPE_H 1 +#define HAVE_SYS_TIME_H 1 +#define HAVE_SYS_UTSNAME_H 1 +#define HAVE_UNISTD_H 1 +#define HAVE_STDLIB_H 1 +#define HAVE_SIGNAL_H 1 +#define HAVE_STDARG_H 1 +#define HAVE_SYS_IOCTL_H 1 +#define HAVE_SYS_IPC_H 1 +#define HAVE_SYS_SHM_H 1 +#define HAVE_DIRENT_H 1 +#define HAVE_ERRNO_H 1 +#define HAVE_NET_ETHERNET_H 1 +#define HAVE_NET_IF_ARP_H 1 +#define HAVE_NET_IF_H 1 +#define HAVE_NETINET_IP_H 1 +#define HAVE_NETINET_IP_ICMP_H 1 +#define HAVE_NETINET_TCP_H 1 +#define HAVE_PF_PACKET 1 +#define HAVE_SOCK_PACKET 1 +#define HAVE_SOCKLEN_T 1 +#define HAVE_SYS_TYPES_H 1 +#define HAVE_SYS_STAT_H 1 +#define HAVE_STDLIB_H 1 +#define HAVE_STRING_H 1 +#define HAVE_MEMORY_H 1 +#define HAVE_STRINGS_H 1 +#define HAVE_INTTYPES_H 1 +#define HAVE_STDINT_H 1 +#define HAVE_UNISTD_H 1 +#define HAVE_STDLIB_H 1 +#define HAVE_MALLOC 1 +#define RETSIGTYPE void +#define HAVE_VPRINTF 1 +#define HAVE_GETTIMEOFDAY 1 +#define HAVE_VSNPRINTF 1 +#define HAVE_SELECT 1 +#define HAVE_SOCKET 1 +#define HAVE_STRDUP 1 +#define HAVE_STRERROR 1 +#define HAVE_STRSTR 1 +#define HAVE_UNAME 1 +#define HAVE_ATEXIT 1 +#define HAVE_STRSIGNAL 1 +#define HAVE_GETOPT_LONG 1 +#define HAVE_MEMMEM 1 +#define HAVE_NCURSES_NCURSES_H 1 +#define HAVE_LIBNCURSES 1 +#define HAVE_LIBNCURSES 1 +#define HAVE_NCURSES 1 +#define HAVE_NCURSES_FORM_H 1 +#define HAVE_LIBFORM 1 +#define HAVE_FORM 1 +#define HAVE_DLFCN_H 1 +#define HAVE_LIBDL 1 +#define PERMIT_PLUGINS 1 +#define HAVE_OPENSSL 1 +#define PERMIT_HTTPS 1 + + +configure: exit 0 diff -urN ettercap-0.5.4.orig/config.status ettercap-0.5.4/config.status --- ettercap-0.5.4.orig/config.status Thu Jan 1 01:00:00 1970 +++ ettercap-0.5.4/config.status Thu Sep 6 17:14:33 2001 @@ -0,0 +1,772 @@ +#! /bin/sh +# Generated automatically by configure. +# Run this file to recreate the current configuration. +# Compiler output produced by configure, useful for debugging +# configure, is in config.log if it exists. + +debug=false +SHELL=${CONFIG_SHELL-/bin/sh} +ac_cs_invocation="$0 $@" + +# Be Bourne compatible +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then + set -o posix +fi + +# Name of the executable. +as_me=`echo "$0" |sed 's,.*[\\/],,'` + +if expr a : '\(a\)' >/dev/null 2>&1; then + as_expr=expr +else + as_expr=false +fi + +rm -f conf$$ conf$$.exe conf$$.file +echo >conf$$.file +if ln -s conf$$.file conf$$ 2>/dev/null; then + # We could just check for DJGPP; but this test a) works b) is more generic + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). + if test -f conf$$.exe; then + # Don't use ln at all; we don't have any links + as_ln_s='cp -p' + else + as_ln_s='ln -s' + fi +elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln +else + as_ln_s='cp -p' +fi +rm -f conf$$ conf$$.exe conf$$.file + +as_executable_p="test -f" + +# Support unset when possible. +if (FOO=FOO; unset FOO) >/dev/null 2>&1; then + as_unset=unset +else + as_unset=false +fi + +# NLS nuisances. +$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } +$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } +$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } +$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } +$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } +$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } +$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } +$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } + +# IFS +# We need space, tab and new line, in precisely that order. +as_nl=' +' +IFS=" $as_nl" + +# CDPATH. +$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } + +exec 6>&1 + +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" +config_headers=" config.h" + +ac_cs_usage="\ +\`$as_me' instantiates files from templates according to the +current configuration. + +Usage: $0 [OPTIONS] [FILE]... + + -h, --help print this help, then exit + -V, --version print version number, then exit + -d, --debug don't remove temporary files + --recheck update $as_me by reconfiguring in the same conditions + --file=FILE[:TEMPLATE] + instantiate the configuration file FILE + --header=FILE[:TEMPLATE] + instantiate the configuration header FILE + +Configuration files: +$config_files + +Configuration headers: +$config_headers + +Report bugs to ." +ac_cs_version="\ +config.status +configured by ./configure, generated by GNU Autoconf 2.52, + 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\" + +Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 +Free Software Foundation, Inc. +This config.status script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it." +srcdir=. +INSTALL="/usr/bin/install -c" +# If no file are specified by the user, then we need to provide default +# value. By we need to know if files were specified by the user. +ac_need_defaults=: +while test $# != 0 +do + case $1 in + --*=*) + ac_option=`expr "x$1" : 'x\([^=]*\)='` + ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` + shift + set dummy "$ac_option" "$ac_optarg" ${1+"$@"} + shift + ;; + -*);; + *) # This is not an option, so the user has probably given explicit + # arguments. + ac_need_defaults=false;; + esac + + case $1 in + # Handling of the options. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + 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" + 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 ;; + --version | --vers* | -V ) + echo "$ac_cs_version"; exit 0 ;; + --he | --h) + # Conflict between --help and --header + { { echo "$as_me:5800: error: ambiguous option: $1 +Try \`$0 --help' for more information." >&5 +echo "$as_me: error: ambiguous option: $1 +Try \`$0 --help' for more information." >&2;} + { (exit 1); exit 1; }; };; + --help | --hel | -h ) + echo "$ac_cs_usage"; exit 0 ;; + --debug | --d* | -d ) + debug=: ;; + --file | --fil | --fi | --f ) + shift + CONFIG_FILES="$CONFIG_FILES $1" + ac_need_defaults=false;; + --header | --heade | --head | --hea ) + shift + CONFIG_HEADERS="$CONFIG_HEADERS $1" + ac_need_defaults=false;; + + # This is an error. + -*) { { echo "$as_me:5819: error: unrecognized option: $1 +Try \`$0 --help' for more information." >&5 +echo "$as_me: error: unrecognized option: $1 +Try \`$0 --help' for more information." >&2;} + { (exit 1); exit 1; }; } ;; + + *) ac_config_targets="$ac_config_targets $1" ;; + + esac + shift +done + +exec 5>>config.log +cat >&5 << _ACEOF + +## ----------------------- ## +## Running config.status. ## +## ----------------------- ## + +This file was extended by $as_me 2.52, executed with + CONFIG_FILES = $CONFIG_FILES + CONFIG_HEADERS = $CONFIG_HEADERS + CONFIG_LINKS = $CONFIG_LINKS + CONFIG_COMMANDS = $CONFIG_COMMANDS + > $ac_cs_invocation +on `(hostname || uname -n) 2>/dev/null | sed 1q` + +_ACEOF +for ac_config_target in $ac_config_targets +do + case "$ac_config_target" in + # Handling of arguments. + "ettercap.spec" ) CONFIG_FILES="$CONFIG_FILES ettercap.spec" ;; + "ettercap.8" ) CONFIG_FILES="$CONFIG_FILES ettercap.8" ;; + "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "$makeplug" ) CONFIG_FILES="$CONFIG_FILES $makeplug" ;; + "plugins/Makefile" ) CONFIG_FILES="$CONFIG_FILES plugins/Makefile" ;; + "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; + *) { { echo "$as_me:5860: error: invalid argument: $ac_config_target" >&5 +echo "$as_me: error: invalid argument: $ac_config_target" >&2;} + { (exit 1); exit 1; }; };; + esac +done + +# If the user did not use the arguments to specify the items to instantiate, +# then the envvar interface is used. Set only those that are not. +# We use the long form for the default assignment because of an extremely +# bizarre bug on SunOS 4.1.3. +if $ac_need_defaults; then + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers +fi + +# Create a temporary directory, and hook for its removal unless debugging. +$debug || +{ + trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 + trap '{ (exit 1); exit 1; }' 1 2 13 15 +} + +# Create a (secure) tmp directory for tmp files. +: ${TMPDIR=/tmp} +{ + tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && + test -n "$tmp" && test -d "$tmp" +} || +{ + tmp=$TMPDIR/cs$$-$RANDOM + (umask 077 && mkdir $tmp) +} || +{ + echo "$me: cannot create a temporary directory in $TMPDIR" >&2 + { (exit 1); exit 1; } +} + + +# +# CONFIG_FILES section. +# + +# No need to generate the scripts if there are no CONFIG_FILES. +# This happens for instance when ./config.status config.h +if test -n "$CONFIG_FILES"; then + # Protect against being on the right side of a sed subst in config.status. + sed 's/,@/@@/; s/@,/@@/; s/,;t t$/@;t t/; /@;t t$/s/[\\&,]/\\&/g; + s/@@/,@/; s/@@/@,/; s/@;t t$/,;t t/' >$tmp/subs.sed <<\CEOF +s,@SHELL@,/bin/sh,;t t +s,@exec_prefix@,/usr,;t t +s,@prefix@,/usr,;t t +s,@program_transform_name@,s,x,x,,;t t +s,@bindir@,/usr/bin,;t t +s,@sbindir@,/usr/sbin,;t t +s,@libexecdir@,/usr/lib,;t t +s,@datadir@,/usr/share,;t t +s,@sysconfdir@,/etc,;t t +s,@sharedstatedir@,/usr/com,;t t +s,@localstatedir@,/var,;t t +s,@libdir@,/usr/lib,;t t +s,@includedir@,/usr/include,;t t +s,@oldincludedir@,/usr/include,;t t +s,@infodir@,/usr/share/info,;t t +s,@mandir@,/usr/share/man,;t t +s,@PACKAGE_NAME@,,;t t +s,@PACKAGE_TARNAME@,,;t t +s,@PACKAGE_VERSION@,,;t t +s,@PACKAGE_STRING@,,;t t +s,@PACKAGE_BUGREPORT@,,;t t +s,@build_alias@,i686-pld-linux,;t t +s,@host_alias@,,;t t +s,@target_alias@,,;t t +s,@ECHO_C@,\c,;t t +s,@ECHO_N@,,;t t +s,@ECHO_T@,,;t t +s,@PATH_SEPARATOR@,:,;t t +s,@DEFS@,-DHAVE_CONFIG_H,;t t +s,@LIBS@,-ldl -lform -lncurses -lncurses -rdynamic -L/usr/lib -lssl -lcrypto,;t t +s,@SB@,,;t t +s,@EB@,,;t t +s,@VERSION@,0.5.4,;t t +s,@PROG@,ettercap,;t t +s,@SERIAL@,20010906,;t t +s,@RELEASE@,1,;t t +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 +s,@MISSING@,./src/missing/getopt.c ./src/missing/getopt1.c ./src/missing/memmem.c ./src/missing/strlcat.c ,;t t +s,@build@,i686-pld-linux-gnu,;t t +s,@build_cpu@,i686,;t t +s,@build_vendor@,pld,;t t +s,@build_os@,linux-gnu,;t t +s,@host@,i686-pld-linux-gnu,;t t +s,@host_cpu@,i686,;t t +s,@host_vendor@,pld,;t t +s,@host_os@,linux-gnu,;t t +s,@target@,i686-pld-linux-gnu,;t t +s,@target_cpu@,i686,;t t +s,@target_vendor@,pld,;t t +s,@target_os@,linux-gnu,;t t +s,@OS@,LINUX,;t t +s,@OS_OPT@,,;t t +s,@CC@,i686-pld-linux-gcc,;t t +s,@CFLAGS@,-O2 -Wall,;t t +s,@LDFLAGS@,-s,;t t +s,@CPPFLAGS@, -I/usr/include,;t t +s,@ac_ct_CC@,i686-pld-linux-gcc,;t t +s,@EXEEXT@,,;t t +s,@OBJEXT@,o,;t t +s,@INSTALL_PROGRAM@,${INSTALL},;t t +s,@INSTALL_SCRIPT@,${INSTALL},;t t +s,@INSTALL_DATA@,${INSTALL} -m 644,;t t +s,@SET_MAKE@,,;t t +s,@CPP@,i686-pld-linux-gcc -E,;t t +s,@IPFORWARD@,/proc/sys/net/ipv4/ip_forward,;t t +s,@LIBOBJS@,,;t t +s,@MISSLIBS@, ./src/missing/strlcat.o,;t t +s,@DEBUG@,,;t t +s,@PLUGINS@,arpcop banshee dummy golem imp leech lurker ooze phantom shadow spectre triton ,;t t +CEOF + + # Split the substitutions into bite-sized pieces for seds with + # small command number limits, like on Digital OSF/1 and HP-UX. + ac_max_sed_lines=48 + ac_sed_frag=1 # Number of current file. + ac_beg=1 # First line for current file. + ac_end=$ac_max_sed_lines # Line after last line for current file. + ac_more_lines=: + ac_sed_cmds= + while $ac_more_lines; do + if test $ac_beg -gt 1; then + sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag + else + sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag + fi + if test ! -s $tmp/subs.frag; then + ac_more_lines=false + else + # The purpose of the label and of the branching condition is to + # speed up the sed processing (if there are no `@' at all, there + # is no need to browse any of the substitutions). + # These are the two extra sed commands mentioned above. + (echo ':t + /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed + if test -z "$ac_sed_cmds"; then + ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" + else + ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" + fi + ac_sed_frag=`expr $ac_sed_frag + 1` + ac_beg=$ac_end + ac_end=`expr $ac_end + $ac_max_sed_lines` + fi + done + if test -z "$ac_sed_cmds"; then + ac_sed_cmds=cat + fi +fi # test -n "$CONFIG_FILES" + +for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue + # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". + case $ac_file in + - | *:- | *:-:* ) # input from stdin + cat >$tmp/stdin + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; + *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; + * ) ac_file_in=$ac_file.in ;; + esac + + # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. + ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then + { case "$ac_dir" in + [\\/]* | ?:[\\/]* ) as_incr_dir=;; + *) as_incr_dir=.;; +esac +as_dummy="$ac_dir" +for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do + case $as_mkdir_dir in + # Skip DOS drivespec + ?:) as_incr_dir=$as_mkdir_dir ;; + *) + as_incr_dir=$as_incr_dir/$as_mkdir_dir + test -d "$as_incr_dir" || mkdir "$as_incr_dir" + ;; + esac +done; } + + ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`" + # A "../" for each directory in $ac_dir_suffix. + ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'` + else + ac_dir_suffix= ac_dots= + fi + + case $srcdir in + .) ac_srcdir=. + if test -z "$ac_dots"; then + ac_top_srcdir=. + else + ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'` + fi ;; + [\\/]* | ?:[\\/]* ) + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir ;; + *) # Relative path. + ac_srcdir=$ac_dots$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_dots$srcdir ;; + esac + + case $INSTALL in + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; + *) ac_INSTALL=$ac_dots$INSTALL ;; + esac + + if test x"$ac_file" != x-; then + { echo "$as_me:6094: creating $ac_file" >&5 +echo "$as_me: creating $ac_file" >&6;} + rm -f "$ac_file" + fi + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated automatically by config.status. */ + configure_input="Generated automatically from `echo $ac_file_in | + sed 's,.*/,,'` by configure." + + # First look for the input files in the build tree, otherwise in the + # src tree. + ac_file_inputs=`IFS=: + for f in $ac_file_in; do + case $f in + -) echo $tmp/stdin ;; + [\\/$]*) + # Absolute (can't be DOS-style, as IFS=:) + test -f "$f" || { { echo "$as_me:6112: error: cannot find input file: $f" >&5 +echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + echo $f;; + *) # Relative + if test -f "$f"; then + # Build tree + echo $f + elif test -f "$srcdir/$f"; then + # Source tree + echo $srcdir/$f + else + # /dev/null tree + { { echo "$as_me:6125: error: cannot find input file: $f" >&5 +echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + fi;; + esac + done` || { (exit 1); exit 1; } + sed "/^[ ]*VPATH[ ]*=/{ +s/:*\$(srcdir):*/:/; +s/:*\${srcdir}:*/:/; +s/:*@srcdir@:*/:/; +s/^\([^=]*=[ ]*\):*/\1/; +s/:*$//; +s/^[^=]*=[ ]*$//; +} + +:t +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b +s,@configure_input@,$configure_input,;t t +s,@srcdir@,$ac_srcdir,;t t +s,@top_srcdir@,$ac_top_srcdir,;t t +s,@INSTALL@,$ac_INSTALL,;t t +" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out + rm -f $tmp/stdin + if test x"$ac_file" != x-; then + mv $tmp/out $ac_file + else + cat $tmp/out + rm -f $tmp/out + fi + +done + +# +# CONFIG_HEADER section. +# + +# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where +# NAME is the cpp macro being defined and VALUE is the value it is being given. +# +# ac_d sets the value in "#define NAME VALUE" lines. +ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' +ac_dB='[ ].*$,\1#\2' +ac_dC=' ' +ac_dD=',;t' +# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". +ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' +ac_uB='$,\1#\2define\3' +ac_uC=' ' +ac_uD=',;t' + +for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue + # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". + case $ac_file in + - | *:- | *:-:* ) # input from stdin + cat >$tmp/stdin + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; + *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; + * ) ac_file_in=$ac_file.in ;; + esac + + test x"$ac_file" != x- && { echo "$as_me:6186: creating $ac_file" >&5 +echo "$as_me: creating $ac_file" >&6;} + + # First look for the input files in the build tree, otherwise in the + # src tree. + ac_file_inputs=`IFS=: + for f in $ac_file_in; do + case $f in + -) echo $tmp/stdin ;; + [\\/$]*) + # Absolute (can't be DOS-style, as IFS=:) + test -f "$f" || { { echo "$as_me:6197: error: cannot find input file: $f" >&5 +echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + echo $f;; + *) # Relative + if test -f "$f"; then + # Build tree + echo $f + elif test -f "$srcdir/$f"; then + # Source tree + echo $srcdir/$f + else + # /dev/null tree + { { echo "$as_me:6210: error: cannot find input file: $f" >&5 +echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + fi;; + esac + done` || { (exit 1); exit 1; } + # Remove the trailing spaces. + sed 's/[ ]*$//' $ac_file_inputs >$tmp/in + + # Handle all the #define templates only if necessary. + if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then + # If there are no defines, we may have an empty if/fi + : + cat >$tmp/defines.sed <$tmp/out + rm -f $tmp/in + mv $tmp/out $tmp/in + + cat >$tmp/defines.sed <$tmp/out + rm -f $tmp/in + mv $tmp/out $tmp/in + + fi # egrep + + # Handle all the #undef templates + cat >$tmp/undefs.sed <$tmp/out + rm -f $tmp/in + mv $tmp/out $tmp/in + + cat >$tmp/undefs.sed <$tmp/out + rm -f $tmp/in + mv $tmp/out $tmp/in + + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated automatically by config.status. */ + if test x"$ac_file" = x-; then + echo "/* Generated automatically by configure. */" >$tmp/config.h + else + echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h + fi + cat $tmp/in >>$tmp/config.h + rm -f $tmp/in + if test x"$ac_file" != x-; then + if cmp -s $ac_file $tmp/config.h 2>/dev/null; then + { echo "$as_me:6327: $ac_file is unchanged" >&5 +echo "$as_me: $ac_file is unchanged" >&6;} + else + ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then + { case "$ac_dir" in + [\\/]* | ?:[\\/]* ) as_incr_dir=;; + *) as_incr_dir=.;; +esac +as_dummy="$ac_dir" +for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do + case $as_mkdir_dir in + # Skip DOS drivespec + ?:) as_incr_dir=$as_mkdir_dir ;; + *) + as_incr_dir=$as_incr_dir/$as_mkdir_dir + test -d "$as_incr_dir" || mkdir "$as_incr_dir" + ;; + esac +done; } + + fi + rm -f $ac_file + mv $tmp/config.h $ac_file + fi + else + cat $tmp/config.h + rm -f $tmp/config.h + fi +done + +{ (exit 0); exit 0; } diff -urN ettercap-0.5.4.orig/configure ettercap-0.5.4/configure --- ettercap-0.5.4.orig/configure Sat Jul 21 16:38:04 2001 +++ ettercap-0.5.4/configure Thu Sep 6 17:14:21 2001 @@ -170,16 +170,16 @@ # Use braces instead of parens because sh, perl, etc. also accept them. bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' -libexecdir='${exec_prefix}/libexec' +libexecdir='${exec_prefix}/lib' datadir='${prefix}/share' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' -localstatedir='${prefix}/var' +localstatedir='/var/lib' libdir='${exec_prefix}/lib' includedir='${prefix}/include' oldincludedir='/usr/include' -infodir='${prefix}/info' -mandir='${prefix}/man' +infodir='${prefix}/share/info' +mandir='${prefix}/share/man' # Identity of this package. PACKAGE_NAME= @@ -734,6 +734,8 @@ test -n "$ac_init_help" && exit 0 if $ac_init_version; then cat <<\EOF +configure +generated by GNU Autoconf 2.52 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. @@ -872,7 +874,7 @@ fi for ac_site_file in $CONFIG_SITE; do if test -r "$ac_site_file"; then - { echo "$as_me:875: loading site script $ac_site_file" >&5 + { echo "$as_me:877: loading site script $ac_site_file" >&5 echo "$as_me: loading site script $ac_site_file" >&6;} cat "$ac_site_file" >&5 . "$ac_site_file" @@ -883,7 +885,7 @@ # Some versions of bash will fail to source /dev/null (special # files actually), so we avoid doing that. if test -f "$cache_file"; then - { echo "$as_me:886: loading cache $cache_file" >&5 + { echo "$as_me:888: loading cache $cache_file" >&5 echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . $cache_file;; @@ -891,7 +893,7 @@ esac fi else - { echo "$as_me:894: creating cache $cache_file" >&5 + { echo "$as_me:896: creating cache $cache_file" >&5 echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi @@ -907,21 +909,21 @@ eval ac_new_val="\$ac_env_${ac_var}_value" case $ac_old_set,$ac_new_set in set,) - { echo "$as_me:910: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 + { echo "$as_me:912: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) - { echo "$as_me:914: error: \`$ac_var' was not set in the previous run" >&5 + { echo "$as_me:916: error: \`$ac_var' was not set in the previous run" >&5 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then - { echo "$as_me:920: error: \`$ac_var' has changed since the previous run:" >&5 + { echo "$as_me:922: error: \`$ac_var' has changed since the previous run:" >&5 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} - { echo "$as_me:922: former value: $ac_old_val" >&5 + { echo "$as_me:924: former value: $ac_old_val" >&5 echo "$as_me: former value: $ac_old_val" >&2;} - { echo "$as_me:924: current value: $ac_new_val" >&5 + { echo "$as_me:926: current value: $ac_new_val" >&5 echo "$as_me: current value: $ac_new_val" >&2;} ac_cache_corrupted=: fi;; @@ -940,9 +942,9 @@ fi done if $ac_cache_corrupted; then - { echo "$as_me:943: error: changes in the environment can compromise the build" >&5 + { echo "$as_me:945: error: changes in the environment can compromise the build" >&5 echo "$as_me: error: changes in the environment can compromise the build" >&2;} - { { echo "$as_me:945: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 + { { echo "$as_me:947: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} { (exit 1); exit 1; }; } fi @@ -962,10 +964,10 @@ echo "#! $SHELL" >conftest.sh echo "exit 0" >>conftest.sh chmod +x conftest.sh -if { (echo "$as_me:965: PATH=\".;.\"; conftest.sh") >&5 +if { (echo "$as_me:967: PATH=\".;.\"; conftest.sh") >&5 (PATH=".;."; conftest.sh) 2>&5 ac_status=$? - echo "$as_me:968: \$? = $ac_status" >&5 + echo "$as_me:970: \$? = $ac_status" >&5 (exit $ac_status); }; then ac_path_separator=';' else @@ -983,11 +985,11 @@ PROG=`grep PROGRAM ./src/include/ec_main.h | cut -f2 -d"\""` - echo "$as_me:986: result: " >&5 + echo "$as_me:988: result: " >&5 echo "${ECHO_T}" >&6 - echo "$as_me:988: result: ${SB}Configuring $PROG-$VERSION...${EB}" >&5 + echo "$as_me:990: result: ${SB}Configuring $PROG-$VERSION...${EB}" >&5 echo "${ECHO_T}${SB}Configuring $PROG-$VERSION...${EB}" >&6 - echo "$as_me:990: result: " >&5 + echo "$as_me:992: result: " >&5 echo "${ECHO_T}" >&6 SERIAL=`date +%Y%m%d` @@ -1015,7 +1017,7 @@ fi done if test -z "$ac_aux_dir"; then - { { echo "$as_me:1018: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 + { { echo "$as_me:1020: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} { (exit 1); exit 1; }; } fi @@ -1025,11 +1027,11 @@ # Make sure we can run config.sub. $ac_config_sub sun4 >/dev/null 2>&1 || - { { echo "$as_me:1028: error: cannot run $ac_config_sub" >&5 + { { echo "$as_me:1030: error: cannot run $ac_config_sub" >&5 echo "$as_me: error: cannot run $ac_config_sub" >&2;} { (exit 1); exit 1; }; } -echo "$as_me:1032: checking build system type" >&5 +echo "$as_me:1034: checking build system type" >&5 echo $ECHO_N "checking build system type... $ECHO_C" >&6 if test "${ac_cv_build+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -1038,23 +1040,23 @@ test -z "$ac_cv_build_alias" && ac_cv_build_alias=`$ac_config_guess` test -z "$ac_cv_build_alias" && - { { echo "$as_me:1041: error: cannot guess build type; you must specify one" >&5 + { { echo "$as_me:1043: error: cannot guess build type; you must specify one" >&5 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} { (exit 1); exit 1; }; } ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || - { { echo "$as_me:1045: error: $ac_config_sub $ac_cv_build_alias failed." >&5 + { { echo "$as_me:1047: error: $ac_config_sub $ac_cv_build_alias failed." >&5 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;} { (exit 1); exit 1; }; } fi -echo "$as_me:1050: result: $ac_cv_build" >&5 +echo "$as_me:1052: result: $ac_cv_build" >&5 echo "${ECHO_T}$ac_cv_build" >&6 build=$ac_cv_build build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` -echo "$as_me:1057: checking host system type" >&5 +echo "$as_me:1059: checking host system type" >&5 echo $ECHO_N "checking host system type... $ECHO_C" >&6 if test "${ac_cv_host+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -1063,19 +1065,19 @@ test -z "$ac_cv_host_alias" && ac_cv_host_alias=$ac_cv_build_alias ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || - { { echo "$as_me:1066: error: $ac_config_sub $ac_cv_host_alias failed" >&5 + { { echo "$as_me:1068: error: $ac_config_sub $ac_cv_host_alias failed" >&5 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} { (exit 1); exit 1; }; } fi -echo "$as_me:1071: result: $ac_cv_host" >&5 +echo "$as_me:1073: result: $ac_cv_host" >&5 echo "${ECHO_T}$ac_cv_host" >&6 host=$ac_cv_host host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` -echo "$as_me:1078: checking target system type" >&5 +echo "$as_me:1080: checking target system type" >&5 echo $ECHO_N "checking target system type... $ECHO_C" >&6 if test "${ac_cv_target+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -1084,12 +1086,12 @@ test "x$ac_cv_target_alias" = "x" && ac_cv_target_alias=$ac_cv_host_alias ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || - { { echo "$as_me:1087: error: $ac_config_sub $ac_cv_target_alias failed" >&5 + { { echo "$as_me:1089: error: $ac_config_sub $ac_cv_target_alias failed" >&5 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} { (exit 1); exit 1; }; } fi -echo "$as_me:1092: result: $ac_cv_target" >&5 +echo "$as_me:1094: result: $ac_cv_target" >&5 echo "${ECHO_T}$ac_cv_target" >&6 target=$ac_cv_target target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` @@ -1105,19 +1107,19 @@ case "$target_os" in linux*) - echo "$as_me:1108: checking Linux kernel version" >&5 + echo "$as_me:1110: checking Linux kernel version" >&5 echo $ECHO_N "checking Linux kernel version... $ECHO_C" >&6 major=`uname -r | cut -f1 -d"."` minor=`uname -r | cut -f2 -d"."` uname=`uname -r` - echo "$as_me:1113: result: $uname" >&5 + echo "$as_me:1115: result: $uname" >&5 echo "${ECHO_T}$uname" >&6 if test "$major$minor" -lt 20; then - { echo "$as_me:1116: WARNING: *******************************" >&5 + { echo "$as_me:1118: WARNING: *******************************" >&5 echo "$as_me: WARNING: *******************************" >&2;}; - { echo "$as_me:1118: WARNING: * Kernel >= 2.0.x REQUIRED !! *" >&5 + { echo "$as_me:1120: WARNING: * Kernel >= 2.0.x REQUIRED !! *" >&5 echo "$as_me: WARNING: * Kernel >= 2.0.x REQUIRED !! *" >&2;}; - { echo "$as_me:1120: WARNING: *******************************" >&5 + { echo "$as_me:1122: WARNING: *******************************" >&5 echo "$as_me: WARNING: *******************************" >&2;}; exit; fi @@ -1127,23 +1129,23 @@ ;; *freebsd*) - echo "$as_me:1130: checking FreeBSD version" >&5 + echo "$as_me:1132: checking FreeBSD version" >&5 echo $ECHO_N "checking FreeBSD version... $ECHO_C" >&6 major=`uname -r | cut -f1 -d"."` minor=`uname -r | cut -f2 -d"." | cut -f1 -d"-"` uname=`uname -r` - echo "$as_me:1135: result: $uname" >&5 + echo "$as_me:1137: result: $uname" >&5 echo "${ECHO_T}$uname" >&6 if test "$major$minor" -lt 40; then - { echo "$as_me:1138: WARNING: ************************************************" >&5 + { echo "$as_me:1140: WARNING: ************************************************" >&5 echo "$as_me: WARNING: ************************************************" >&2;}; - { echo "$as_me:1140: WARNING: * Tested only on FreeBSD 4.x !! *" >&5 + { echo "$as_me:1142: WARNING: * Tested only on FreeBSD 4.x !! *" >&5 echo "$as_me: WARNING: * Tested only on FreeBSD 4.x !! *" >&2;}; - { echo "$as_me:1142: WARNING: * Please send me comment patches or bug-report *" >&5 + { echo "$as_me:1144: WARNING: * Please send me comment patches or bug-report *" >&5 echo "$as_me: WARNING: * Please send me comment patches or bug-report *" >&2;}; - { echo "$as_me:1144: WARNING: * on how ettercap works within your system... *" >&5 + { echo "$as_me:1146: WARNING: * on how ettercap works within your system... *" >&5 echo "$as_me: WARNING: * on how ettercap works within your system... *" >&2;}; - { echo "$as_me:1146: WARNING: ************************************************" >&5 + { echo "$as_me:1148: WARNING: ************************************************" >&5 echo "$as_me: WARNING: ************************************************" >&2;}; fi @@ -1190,7 +1192,7 @@ if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 -echo "$as_me:1193: checking for $ac_word" >&5 +echo "$as_me:1195: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -1205,7 +1207,7 @@ test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_CC="${ac_tool_prefix}gcc" -echo "$as_me:1208: found $ac_dir/$ac_word" >&5 +echo "$as_me:1210: found $ac_dir/$ac_word" >&5 break done @@ -1213,10 +1215,10 @@ fi CC=$ac_cv_prog_CC if test -n "$CC"; then - echo "$as_me:1216: result: $CC" >&5 + echo "$as_me:1218: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else - echo "$as_me:1219: result: no" >&5 + echo "$as_me:1221: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -1225,7 +1227,7 @@ ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 -echo "$as_me:1228: checking for $ac_word" >&5 +echo "$as_me:1230: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -1240,7 +1242,7 @@ test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_ac_ct_CC="gcc" -echo "$as_me:1243: found $ac_dir/$ac_word" >&5 +echo "$as_me:1245: found $ac_dir/$ac_word" >&5 break done @@ -1248,10 +1250,10 @@ fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then - echo "$as_me:1251: result: $ac_ct_CC" >&5 + echo "$as_me:1253: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else - echo "$as_me:1254: result: no" >&5 + echo "$as_me:1256: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -1264,7 +1266,7 @@ if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 -echo "$as_me:1267: checking for $ac_word" >&5 +echo "$as_me:1269: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -1279,7 +1281,7 @@ test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_CC="${ac_tool_prefix}cc" -echo "$as_me:1282: found $ac_dir/$ac_word" >&5 +echo "$as_me:1284: found $ac_dir/$ac_word" >&5 break done @@ -1287,10 +1289,10 @@ fi CC=$ac_cv_prog_CC if test -n "$CC"; then - echo "$as_me:1290: result: $CC" >&5 + echo "$as_me:1292: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else - echo "$as_me:1293: result: no" >&5 + echo "$as_me:1295: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -1299,7 +1301,7 @@ ac_ct_CC=$CC # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 -echo "$as_me:1302: checking for $ac_word" >&5 +echo "$as_me:1304: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -1314,7 +1316,7 @@ test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_ac_ct_CC="cc" -echo "$as_me:1317: found $ac_dir/$ac_word" >&5 +echo "$as_me:1319: found $ac_dir/$ac_word" >&5 break done @@ -1322,10 +1324,10 @@ fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then - echo "$as_me:1325: result: $ac_ct_CC" >&5 + echo "$as_me:1327: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else - echo "$as_me:1328: result: no" >&5 + echo "$as_me:1330: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -1338,7 +1340,7 @@ if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 -echo "$as_me:1341: checking for $ac_word" >&5 +echo "$as_me:1343: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -1358,7 +1360,7 @@ continue fi ac_cv_prog_CC="cc" -echo "$as_me:1361: found $ac_dir/$ac_word" >&5 +echo "$as_me:1363: found $ac_dir/$ac_word" >&5 break done @@ -1380,10 +1382,10 @@ fi CC=$ac_cv_prog_CC if test -n "$CC"; then - echo "$as_me:1383: result: $CC" >&5 + echo "$as_me:1385: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else - echo "$as_me:1386: result: no" >&5 + echo "$as_me:1388: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -1394,7 +1396,7 @@ do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -echo "$as_me:1397: checking for $ac_word" >&5 +echo "$as_me:1399: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -1409,7 +1411,7 @@ test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_CC="$ac_tool_prefix$ac_prog" -echo "$as_me:1412: found $ac_dir/$ac_word" >&5 +echo "$as_me:1414: found $ac_dir/$ac_word" >&5 break done @@ -1417,10 +1419,10 @@ fi CC=$ac_cv_prog_CC if test -n "$CC"; then - echo "$as_me:1420: result: $CC" >&5 + echo "$as_me:1422: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else - echo "$as_me:1423: result: no" >&5 + echo "$as_me:1425: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -1433,7 +1435,7 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -echo "$as_me:1436: checking for $ac_word" >&5 +echo "$as_me:1438: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -1448,7 +1450,7 @@ test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_ac_ct_CC="$ac_prog" -echo "$as_me:1451: found $ac_dir/$ac_word" >&5 +echo "$as_me:1453: found $ac_dir/$ac_word" >&5 break done @@ -1456,10 +1458,10 @@ fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then - echo "$as_me:1459: result: $ac_ct_CC" >&5 + echo "$as_me:1461: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else - echo "$as_me:1462: result: no" >&5 + echo "$as_me:1464: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -1471,32 +1473,32 @@ fi -test -z "$CC" && { { echo "$as_me:1474: error: no acceptable cc found in \$PATH" >&5 +test -z "$CC" && { { echo "$as_me:1476: error: no acceptable cc found in \$PATH" >&5 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} { (exit 1); exit 1; }; } # Provide some information about the compiler. -echo "$as_me:1479:" \ +echo "$as_me:1481:" \ "checking for C compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` -{ (eval echo "$as_me:1482: \"$ac_compiler --version &5\"") >&5 +{ (eval echo "$as_me:1484: \"$ac_compiler --version &5\"") >&5 (eval $ac_compiler --version &5) 2>&5 ac_status=$? - echo "$as_me:1485: \$? = $ac_status" >&5 + echo "$as_me:1487: \$? = $ac_status" >&5 (exit $ac_status); } -{ (eval echo "$as_me:1487: \"$ac_compiler -v &5\"") >&5 +{ (eval echo "$as_me:1489: \"$ac_compiler -v &5\"") >&5 (eval $ac_compiler -v &5) 2>&5 ac_status=$? - echo "$as_me:1490: \$? = $ac_status" >&5 + echo "$as_me:1492: \$? = $ac_status" >&5 (exit $ac_status); } -{ (eval echo "$as_me:1492: \"$ac_compiler -V &5\"") >&5 +{ (eval echo "$as_me:1494: \"$ac_compiler -V &5\"") >&5 (eval $ac_compiler -V &5) 2>&5 ac_status=$? - echo "$as_me:1495: \$? = $ac_status" >&5 + echo "$as_me:1497: \$? = $ac_status" >&5 (exit $ac_status); } cat >conftest.$ac_ext <<_ACEOF -#line 1499 "configure" +#line 1501 "configure" #include "confdefs.h" int @@ -1512,13 +1514,13 @@ # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. -echo "$as_me:1515: checking for C compiler default output" >&5 +echo "$as_me:1517: checking for C compiler default output" >&5 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` -if { (eval echo "$as_me:1518: \"$ac_link_default\"") >&5 +if { (eval echo "$as_me:1520: \"$ac_link_default\"") >&5 (eval $ac_link_default) 2>&5 ac_status=$? - echo "$as_me:1521: \$? = $ac_status" >&5 + echo "$as_me:1523: \$? = $ac_status" >&5 (exit $ac_status); }; then # Find the output, starting from the most likely. This scheme is # not robust to junk in `.', hence go to wildcards (a.*) only as a last @@ -1541,34 +1543,34 @@ else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 -{ { echo "$as_me:1544: error: C compiler cannot create executables" >&5 +{ { echo "$as_me:1546: error: C compiler cannot create executables" >&5 echo "$as_me: error: C compiler cannot create executables" >&2;} { (exit 77); exit 77; }; } fi ac_exeext=$ac_cv_exeext -echo "$as_me:1550: result: $ac_file" >&5 +echo "$as_me:1552: result: $ac_file" >&5 echo "${ECHO_T}$ac_file" >&6 # Check the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. -echo "$as_me:1555: checking whether the C compiler works" >&5 +echo "$as_me:1557: checking whether the C compiler works" >&5 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 # If not cross compiling, check that we can run a simple program. if test "$cross_compiling" != yes; then if { ac_try='./$ac_file' - { (eval echo "$as_me:1561: \"$ac_try\"") >&5 + { (eval echo "$as_me:1563: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:1564: \$? = $ac_status" >&5 + echo "$as_me:1566: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else - { { echo "$as_me:1571: error: cannot run C compiled programs. + { { echo "$as_me:1573: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'." >&5 echo "$as_me: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'." >&2;} @@ -1576,24 +1578,24 @@ fi fi fi -echo "$as_me:1579: result: yes" >&5 +echo "$as_me:1581: result: yes" >&5 echo "${ECHO_T}yes" >&6 rm -f a.out a.exe conftest$ac_cv_exeext ac_clean_files=$ac_clean_files_save # Check the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. -echo "$as_me:1586: checking whether we are cross compiling" >&5 +echo "$as_me:1588: checking whether we are cross compiling" >&5 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 -echo "$as_me:1588: result: $cross_compiling" >&5 +echo "$as_me:1590: result: $cross_compiling" >&5 echo "${ECHO_T}$cross_compiling" >&6 -echo "$as_me:1591: checking for executable suffix" >&5 +echo "$as_me:1593: checking for executable suffix" >&5 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 -if { (eval echo "$as_me:1593: \"$ac_link\"") >&5 +if { (eval echo "$as_me:1595: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:1596: \$? = $ac_status" >&5 + echo "$as_me:1598: \$? = $ac_status" >&5 (exit $ac_status); }; then # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will @@ -1609,25 +1611,25 @@ esac done else - { { echo "$as_me:1612: error: cannot compute EXEEXT: cannot compile and link" >&5 + { { echo "$as_me:1614: error: cannot compute EXEEXT: cannot compile and link" >&5 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} { (exit 1); exit 1; }; } fi rm -f conftest$ac_cv_exeext -echo "$as_me:1618: result: $ac_cv_exeext" >&5 +echo "$as_me:1620: result: $ac_cv_exeext" >&5 echo "${ECHO_T}$ac_cv_exeext" >&6 rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT -echo "$as_me:1624: checking for object suffix" >&5 +echo "$as_me:1626: checking for object suffix" >&5 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 if test "${ac_cv_objext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 1630 "configure" +#line 1632 "configure" #include "confdefs.h" int @@ -1639,10 +1641,10 @@ } _ACEOF rm -f conftest.o conftest.obj -if { (eval echo "$as_me:1642: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:1644: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:1645: \$? = $ac_status" >&5 + echo "$as_me:1647: \$? = $ac_status" >&5 (exit $ac_status); }; then for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do case $ac_file in @@ -1654,24 +1656,24 @@ else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 -{ { echo "$as_me:1657: error: cannot compute OBJEXT: cannot compile" >&5 +{ { echo "$as_me:1659: error: cannot compute OBJEXT: cannot compile" >&5 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} { (exit 1); exit 1; }; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi -echo "$as_me:1664: result: $ac_cv_objext" >&5 +echo "$as_me:1666: result: $ac_cv_objext" >&5 echo "${ECHO_T}$ac_cv_objext" >&6 OBJEXT=$ac_cv_objext ac_objext=$OBJEXT -echo "$as_me:1668: checking whether we are using the GNU C compiler" >&5 +echo "$as_me:1670: checking whether we are using the GNU C compiler" >&5 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 if test "${ac_cv_c_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 1674 "configure" +#line 1676 "configure" #include "confdefs.h" int @@ -1686,16 +1688,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:1689: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:1691: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:1692: \$? = $ac_status" >&5 + echo "$as_me:1694: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:1695: \"$ac_try\"") >&5 + { (eval echo "$as_me:1697: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:1698: \$? = $ac_status" >&5 + echo "$as_me:1700: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_compiler_gnu=yes else @@ -1707,19 +1709,19 @@ ac_cv_c_compiler_gnu=$ac_compiler_gnu fi -echo "$as_me:1710: result: $ac_cv_c_compiler_gnu" >&5 +echo "$as_me:1712: result: $ac_cv_c_compiler_gnu" >&5 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 GCC=`test $ac_compiler_gnu = yes && echo yes` ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS CFLAGS="-g" -echo "$as_me:1716: checking whether $CC accepts -g" >&5 +echo "$as_me:1718: checking whether $CC accepts -g" >&5 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 if test "${ac_cv_prog_cc_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 1722 "configure" +#line 1724 "configure" #include "confdefs.h" int @@ -1731,16 +1733,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:1734: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:1736: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:1737: \$? = $ac_status" >&5 + echo "$as_me:1739: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:1740: \"$ac_try\"") >&5 + { (eval echo "$as_me:1742: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:1743: \$? = $ac_status" >&5 + echo "$as_me:1745: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cc_g=yes else @@ -1750,7 +1752,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:1753: result: $ac_cv_prog_cc_g" >&5 +echo "$as_me:1755: result: $ac_cv_prog_cc_g" >&5 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS @@ -1777,16 +1779,16 @@ #endif _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:1780: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:1782: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:1783: \$? = $ac_status" >&5 + echo "$as_me:1785: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:1786: \"$ac_try\"") >&5 + { (eval echo "$as_me:1788: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:1789: \$? = $ac_status" >&5 + echo "$as_me:1791: \$? = $ac_status" >&5 (exit $ac_status); }; }; then for ac_declaration in \ ''\ @@ -1798,7 +1800,7 @@ 'void exit (int);' do cat >conftest.$ac_ext <<_ACEOF -#line 1801 "configure" +#line 1803 "configure" #include "confdefs.h" #include $ac_declaration @@ -1811,16 +1813,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:1814: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:1816: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:1817: \$? = $ac_status" >&5 + echo "$as_me:1819: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:1820: \"$ac_try\"") >&5 + { (eval echo "$as_me:1822: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:1823: \$? = $ac_status" >&5 + echo "$as_me:1825: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else @@ -1830,7 +1832,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF -#line 1833 "configure" +#line 1835 "configure" #include "confdefs.h" $ac_declaration int @@ -1842,16 +1844,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:1845: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:1847: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:1848: \$? = $ac_status" >&5 + echo "$as_me:1850: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:1851: \"$ac_try\"") >&5 + { (eval echo "$as_me:1853: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:1854: \$? = $ac_status" >&5 + echo "$as_me:1856: \$? = $ac_status" >&5 (exit $ac_status); }; }; then break else @@ -1890,7 +1892,7 @@ # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # ./install, which can be erroneously created by make from ./install.sh. -echo "$as_me:1893: checking for a BSD compatible install" >&5 +echo "$as_me:1895: checking for a BSD compatible install" >&5 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 if test -z "$INSTALL"; then if test "${ac_cv_path_install+set}" = set; then @@ -1939,7 +1941,7 @@ INSTALL=$ac_install_sh fi fi -echo "$as_me:1942: result: $INSTALL" >&5 +echo "$as_me:1944: result: $INSTALL" >&5 echo "${ECHO_T}$INSTALL" >&6 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. @@ -1950,7 +1952,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' -echo "$as_me:1953: checking whether ${MAKE-make} sets \${MAKE}" >&5 +echo "$as_me:1955: checking whether ${MAKE-make} sets \${MAKE}" >&5 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then @@ -1970,11 +1972,11 @@ rm -f conftest.make fi if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then - echo "$as_me:1973: result: yes" >&5 + echo "$as_me:1975: result: yes" >&5 echo "${ECHO_T}yes" >&6 SET_MAKE= else - echo "$as_me:1977: result: no" >&5 + echo "$as_me:1979: result: no" >&5 echo "${ECHO_T}no" >&6 SET_MAKE="MAKE=${MAKE-make}" fi @@ -1984,7 +1986,7 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -echo "$as_me:1987: checking how to run the C preprocessor" >&5 +echo "$as_me:1989: checking how to run the C preprocessor" >&5 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then @@ -2005,18 +2007,18 @@ # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF -#line 2008 "configure" +#line 2010 "configure" #include "confdefs.h" #include Syntax error _ACEOF -if { (eval echo "$as_me:2013: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:2015: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:2019: \$? = $ac_status" >&5 + echo "$as_me:2021: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -2039,17 +2041,17 @@ # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF -#line 2042 "configure" +#line 2044 "configure" #include "confdefs.h" #include _ACEOF -if { (eval echo "$as_me:2046: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:2048: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:2052: \$? = $ac_status" >&5 + echo "$as_me:2054: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -2086,7 +2088,7 @@ else ac_cv_prog_CPP=$CPP fi -echo "$as_me:2089: result: $CPP" >&5 +echo "$as_me:2091: result: $CPP" >&5 echo "${ECHO_T}$CPP" >&6 ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes @@ -2096,18 +2098,18 @@ # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF -#line 2099 "configure" +#line 2101 "configure" #include "confdefs.h" #include Syntax error _ACEOF -if { (eval echo "$as_me:2104: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:2106: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:2110: \$? = $ac_status" >&5 + echo "$as_me:2112: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -2130,17 +2132,17 @@ # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF -#line 2133 "configure" +#line 2135 "configure" #include "confdefs.h" #include _ACEOF -if { (eval echo "$as_me:2137: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:2139: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:2143: \$? = $ac_status" >&5 + echo "$as_me:2145: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -2168,7 +2170,7 @@ if $ac_preproc_ok; then : else - { { echo "$as_me:2171: error: C preprocessor \"$CPP\" fails sanity check" >&5 + { { echo "$as_me:2173: error: C preprocessor \"$CPP\" fails sanity check" >&5 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} { (exit 1); exit 1; }; } fi @@ -2180,14 +2182,14 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu if test $ac_cv_c_compiler_gnu = yes; then - echo "$as_me:2183: checking whether $CC needs -traditional" >&5 + echo "$as_me:2185: checking whether $CC needs -traditional" >&5 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 if test "${ac_cv_prog_gcc_traditional+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_pattern="Autoconf.*'x'" cat >conftest.$ac_ext <<_ACEOF -#line 2190 "configure" +#line 2192 "configure" #include "confdefs.h" #include Autoconf TIOCGETP @@ -2202,7 +2204,7 @@ if test $ac_cv_prog_gcc_traditional = no; then cat >conftest.$ac_ext <<_ACEOF -#line 2205 "configure" +#line 2207 "configure" #include "confdefs.h" #include Autoconf TCGETA @@ -2215,14 +2217,14 @@ fi fi -echo "$as_me:2218: result: $ac_cv_prog_gcc_traditional" >&5 +echo "$as_me:2220: result: $ac_cv_prog_gcc_traditional" >&5 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 if test $ac_cv_prog_gcc_traditional = yes; then CC="$CC -traditional" fi fi -echo "$as_me:2225: checking whether byte ordering is bigendian" >&5 +echo "$as_me:2227: checking whether byte ordering is bigendian" >&5 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 if test "${ac_cv_c_bigendian+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -2230,7 +2232,7 @@ ac_cv_c_bigendian=unknown # See if sys/param.h defines the BYTE_ORDER macro. cat >conftest.$ac_ext <<_ACEOF -#line 2233 "configure" +#line 2235 "configure" #include "confdefs.h" #include #include @@ -2247,20 +2249,20 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:2250: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:2252: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:2253: \$? = $ac_status" >&5 + echo "$as_me:2255: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:2256: \"$ac_try\"") >&5 + { (eval echo "$as_me:2258: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:2259: \$? = $ac_status" >&5 + echo "$as_me:2261: \$? = $ac_status" >&5 (exit $ac_status); }; }; then # It does; now see whether it defined to BIG_ENDIAN or not. cat >conftest.$ac_ext <<_ACEOF -#line 2263 "configure" +#line 2265 "configure" #include "confdefs.h" #include #include @@ -2277,16 +2279,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:2280: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:2282: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:2283: \$? = $ac_status" >&5 + echo "$as_me:2285: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:2286: \"$ac_try\"") >&5 + { (eval echo "$as_me:2288: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:2289: \$? = $ac_status" >&5 + echo "$as_me:2291: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_c_bigendian=yes else @@ -2302,12 +2304,12 @@ rm -f conftest.$ac_objext conftest.$ac_ext if test $ac_cv_c_bigendian = unknown; then if test "$cross_compiling" = yes; then - { { echo "$as_me:2305: error: cannot run test program while cross compiling" >&5 + { { echo "$as_me:2307: error: cannot run test program while cross compiling" >&5 echo "$as_me: error: cannot run test program while cross compiling" >&2;} { (exit 1); exit 1; }; } else cat >conftest.$ac_ext <<_ACEOF -#line 2310 "configure" +#line 2312 "configure" #include "confdefs.h" int main () @@ -2323,15 +2325,15 @@ } _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:2326: \"$ac_link\"") >&5 +if { (eval echo "$as_me:2328: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:2329: \$? = $ac_status" >&5 + echo "$as_me:2331: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:2331: \"$ac_try\"") >&5 + { (eval echo "$as_me:2333: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:2334: \$? = $ac_status" >&5 + echo "$as_me:2336: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_c_bigendian=no else @@ -2344,7 +2346,7 @@ fi fi fi -echo "$as_me:2347: result: $ac_cv_c_bigendian" >&5 +echo "$as_me:2349: result: $ac_cv_c_bigendian" >&5 echo "${ECHO_T}$ac_cv_c_bigendian" >&6 if test $ac_cv_c_bigendian = yes; then @@ -2354,13 +2356,13 @@ fi -echo "$as_me:2357: checking for ANSI C header files" >&5 +echo "$as_me:2359: checking for ANSI C header files" >&5 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 if test "${ac_cv_header_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 2363 "configure" +#line 2365 "configure" #include "confdefs.h" #include #include @@ -2368,13 +2370,13 @@ #include _ACEOF -if { (eval echo "$as_me:2371: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:2373: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:2377: \$? = $ac_status" >&5 + echo "$as_me:2379: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -2396,7 +2398,7 @@ if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF -#line 2399 "configure" +#line 2401 "configure" #include "confdefs.h" #include @@ -2414,7 +2416,7 @@ if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF -#line 2417 "configure" +#line 2419 "configure" #include "confdefs.h" #include @@ -2435,7 +2437,7 @@ : else cat >conftest.$ac_ext <<_ACEOF -#line 2438 "configure" +#line 2440 "configure" #include "confdefs.h" #include #if ((' ' & 0x0FF) == 0x020) @@ -2461,15 +2463,15 @@ } _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:2464: \"$ac_link\"") >&5 +if { (eval echo "$as_me:2466: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:2467: \$? = $ac_status" >&5 + echo "$as_me:2469: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:2469: \"$ac_try\"") >&5 + { (eval echo "$as_me:2471: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:2472: \$? = $ac_status" >&5 + echo "$as_me:2474: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else @@ -2482,7 +2484,7 @@ fi fi fi -echo "$as_me:2485: result: $ac_cv_header_stdc" >&5 +echo "$as_me:2487: result: $ac_cv_header_stdc" >&5 echo "${ECHO_T}$ac_cv_header_stdc" >&6 if test $ac_cv_header_stdc = yes; then @@ -2495,13 +2497,13 @@ ac_header_dirent=no for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` -echo "$as_me:2498: checking for $ac_hdr that defines DIR" >&5 +echo "$as_me:2500: checking for $ac_hdr that defines DIR" >&5 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 2504 "configure" +#line 2506 "configure" #include "confdefs.h" #include #include <$ac_hdr> @@ -2516,16 +2518,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:2519: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:2521: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:2522: \$? = $ac_status" >&5 + echo "$as_me:2524: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:2525: \"$ac_try\"") >&5 + { (eval echo "$as_me:2527: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:2528: \$? = $ac_status" >&5 + echo "$as_me:2530: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_Header=yes" else @@ -2535,7 +2537,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:2538: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "$as_me:2540: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <&5 + echo "$as_me:2553: checking for opendir in -ldir" >&5 echo $ECHO_N "checking for opendir in -ldir... $ECHO_C" >&6 if test "${ac_cv_lib_dir_opendir+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -2556,7 +2558,7 @@ ac_check_lib_save_LIBS=$LIBS LIBS="-ldir $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 2559 "configure" +#line 2561 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -2575,16 +2577,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:2578: \"$ac_link\"") >&5 +if { (eval echo "$as_me:2580: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:2581: \$? = $ac_status" >&5 + echo "$as_me:2583: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:2584: \"$ac_try\"") >&5 + { (eval echo "$as_me:2586: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:2587: \$? = $ac_status" >&5 + echo "$as_me:2589: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dir_opendir=yes else @@ -2595,14 +2597,14 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:2598: result: $ac_cv_lib_dir_opendir" >&5 +echo "$as_me:2600: result: $ac_cv_lib_dir_opendir" >&5 echo "${ECHO_T}$ac_cv_lib_dir_opendir" >&6 if test $ac_cv_lib_dir_opendir = yes; then LIBS="$LIBS -ldir" fi else - echo "$as_me:2605: checking for opendir in -lx" >&5 + echo "$as_me:2607: checking for opendir in -lx" >&5 echo $ECHO_N "checking for opendir in -lx... $ECHO_C" >&6 if test "${ac_cv_lib_x_opendir+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -2610,7 +2612,7 @@ ac_check_lib_save_LIBS=$LIBS LIBS="-lx $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 2613 "configure" +#line 2615 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -2629,16 +2631,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:2632: \"$ac_link\"") >&5 +if { (eval echo "$as_me:2634: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:2635: \$? = $ac_status" >&5 + echo "$as_me:2637: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:2638: \"$ac_try\"") >&5 + { (eval echo "$as_me:2640: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:2641: \$? = $ac_status" >&5 + echo "$as_me:2643: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_x_opendir=yes else @@ -2649,7 +2651,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:2652: result: $ac_cv_lib_x_opendir" >&5 +echo "$as_me:2654: result: $ac_cv_lib_x_opendir" >&5 echo "${ECHO_T}$ac_cv_lib_x_opendir" >&6 if test $ac_cv_lib_x_opendir = yes; then LIBS="$LIBS -lx" @@ -2657,13 +2659,13 @@ fi -echo "$as_me:2660: checking whether time.h and sys/time.h may both be included" >&5 +echo "$as_me:2662: checking whether time.h and sys/time.h may both be included" >&5 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 if test "${ac_cv_header_time+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 2666 "configure" +#line 2668 "configure" #include "confdefs.h" #include #include @@ -2679,16 +2681,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:2682: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:2684: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:2685: \$? = $ac_status" >&5 + echo "$as_me:2687: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:2688: \"$ac_try\"") >&5 + { (eval echo "$as_me:2690: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:2691: \$? = $ac_status" >&5 + echo "$as_me:2693: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_header_time=yes else @@ -2698,7 +2700,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:2701: result: $ac_cv_header_time" >&5 +echo "$as_me:2703: result: $ac_cv_header_time" >&5 echo "${ECHO_T}$ac_cv_header_time" >&6 if test $ac_cv_header_time = yes; then @@ -2711,23 +2713,23 @@ for ac_header in getopt.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:2714: checking for $ac_header" >&5 +echo "$as_me:2716: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 2720 "configure" +#line 2722 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:2724: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:2726: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:2730: \$? = $ac_status" >&5 + echo "$as_me:2732: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -2746,7 +2748,7 @@ fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:2749: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "$as_me:2751: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <&5 +echo "$as_me:2764: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 2768 "configure" +#line 2770 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:2772: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:2774: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:2778: \$? = $ac_status" >&5 + echo "$as_me:2780: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -2794,7 +2796,7 @@ fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:2797: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "$as_me:2799: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <&5 +echo "$as_me:2812: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 2816 "configure" +#line 2818 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:2820: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:2822: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:2826: \$? = $ac_status" >&5 + echo "$as_me:2828: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -2842,7 +2844,7 @@ fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:2845: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "$as_me:2847: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <&5 +echo "$as_me:2860: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 2864 "configure" +#line 2866 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:2868: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:2870: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:2874: \$? = $ac_status" >&5 + echo "$as_me:2876: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -2890,7 +2892,7 @@ fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:2893: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "$as_me:2895: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <&5 +echo "$as_me:2908: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 2912 "configure" +#line 2914 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:2916: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:2918: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:2922: \$? = $ac_status" >&5 + echo "$as_me:2924: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -2938,7 +2940,7 @@ fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:2941: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "$as_me:2943: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <&5 + { echo "$as_me:2951: WARNING: **************************************************" >&5 echo "$as_me: WARNING: **************************************************" >&2;}; - { echo "$as_me:2951: WARNING: * REQUIRED !! I cant believe U don't have this !!*" >&5 + { echo "$as_me:2953: WARNING: * REQUIRED !! I cant believe U don't have this !!*" >&5 echo "$as_me: WARNING: * REQUIRED !! I cant believe U don't have this !!*" >&2;}; - { echo "$as_me:2953: WARNING: **************************************************" >&5 + { echo "$as_me:2955: WARNING: **************************************************" >&5 echo "$as_me: WARNING: **************************************************" >&2;}; exit fi @@ -2959,23 +2961,23 @@ for ac_header in sys/ipc.h sys/shm.h dirent.h errno.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:2962: checking for $ac_header" >&5 +echo "$as_me:2964: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 2968 "configure" +#line 2970 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:2972: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:2974: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:2978: \$? = $ac_status" >&5 + echo "$as_me:2980: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -2994,7 +2996,7 @@ fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:2997: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "$as_me:2999: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <&5 + { echo "$as_me:3007: WARNING: ***************" >&5 echo "$as_me: WARNING: ***************" >&2;}; - { echo "$as_me:3007: WARNING: * REQUIRED !! *" >&5 + { echo "$as_me:3009: WARNING: * REQUIRED !! *" >&5 echo "$as_me: WARNING: * REQUIRED !! *" >&2;}; - { echo "$as_me:3009: WARNING: ***************" >&5 + { echo "$as_me:3011: WARNING: ***************" >&5 echo "$as_me: WARNING: ***************" >&2;}; exit fi @@ -3015,23 +3017,23 @@ for ac_header in net/ethernet.h net/if_arp.h net/if.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:3018: checking for $ac_header" >&5 +echo "$as_me:3020: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 3024 "configure" +#line 3026 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:3028: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:3030: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:3034: \$? = $ac_status" >&5 + echo "$as_me:3036: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -3050,7 +3052,7 @@ fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:3053: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "$as_me:3055: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <&5 +echo "$as_me:3068: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 3072 "configure" +#line 3074 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:3076: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:3078: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:3082: \$? = $ac_status" >&5 + echo "$as_me:3084: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -3098,7 +3100,7 @@ fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:3101: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "$as_me:3103: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <&5 -echo $ECHO_N "checking for correct UID... $ECHO_C" >&6 - if test ${id} -gt 0; then - echo "$as_me:3117: result: ${id}. not sufficient" >&5 -echo "${ECHO_T}${id}. not sufficient" >&6 - { echo "$as_me:3119: WARNING: ***********************************************" >&5 -echo "$as_me: WARNING: ***********************************************" >&2;}; - { echo "$as_me:3121: WARNING: * This configure must run with UID 0 (root)!! *" >&5 -echo "$as_me: WARNING: * This configure must run with UID 0 (root)!! *" >&2;}; - { echo "$as_me:3123: WARNING: ***********************************************" >&5 -echo "$as_me: WARNING: ***********************************************" >&2;}; - rm -f *.cache *.log - exit; - else - echo "$as_me:3128: result: $UID ok root let's go..." >&5 -echo "${ECHO_T}$UID ok root let's go..." >&6 - fi - - echo "$as_me:3132: checking if you can create PF_PACKET socket" >&5 -echo $ECHO_N "checking if you can create PF_PACKET socket... $ECHO_C" >&6 - if test "$cross_compiling" = yes; then - echo "$as_me:3135: result: no when cross-compiling" >&5 -echo "${ECHO_T}no when cross-compiling" >&6 - -else - cat >conftest.$ac_ext <<_ACEOF -#line 3140 "configure" -#include "confdefs.h" - - #include - #include - #include /* for the glibc version number */ - #if __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1 - #include /* the L2 protocols */ - #else - #include - #include /* The L2 protocols */ - #endif - int main() - { - int sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); - if (sock < 0) - exit(1); - - return 0; - } - -_ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:3163: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:3166: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:3168: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:3171: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - echo "$as_me:3173: result: yes" >&5 -echo "${ECHO_T}yes" >&6 cat >>confdefs.h <<\EOF #define HAVE_PF_PACKET 1 EOF -else - echo "$as_me: program exited with status $ac_status" >&5 -echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -echo "$as_me:3183: result: no" >&5 -echo "${ECHO_T}no" >&6; - nopf=1 -fi -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext -fi - - echo "$as_me:3190: checking if you can create SOCK_PACKET socket" >&5 -echo $ECHO_N "checking if you can create SOCK_PACKET socket... $ECHO_C" >&6 - if test "$cross_compiling" = yes; then - echo "$as_me:3193: result: no when cross-compiling" >&5 -echo "${ECHO_T}no when cross-compiling" >&6 - -else - cat >conftest.$ac_ext <<_ACEOF -#line 3198 "configure" -#include "confdefs.h" - - #include - #include - #include /* for the glibc version number */ - #if __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1 - #include /* the L2 protocols */ - #else - #include - #include /* The L2 protocols */ - #endif - int main() - { - int sock = socket(AF_INET, SOCK_PACKET, htons(ETH_P_ALL)); - if (sock < 0) - exit(1); - - return 0; - } - -_ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:3221: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:3224: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:3226: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:3229: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - echo "$as_me:3231: result: yes" >&5 -echo "${ECHO_T}yes" >&6 cat >>confdefs.h <<\EOF #define HAVE_SOCK_PACKET 1 EOF -else - echo "$as_me: program exited with status $ac_status" >&5 -echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -echo "$as_me:3241: result: no" >&5 -echo "${ECHO_T}no" >&6; - nosock=1 -fi -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext -fi - if test "$nopf" = 1 && test "$nosock" = 1; then - { echo "$as_me:3249: WARNING: *************************************" >&5 + { echo "$as_me:3124: WARNING: *************************************" >&5 echo "$as_me: WARNING: *************************************" >&2;}; - { echo "$as_me:3251: WARNING: * You can't create Socket Packet !! *" >&5 + { echo "$as_me:3126: WARNING: * You can't create Socket Packet !! *" >&5 echo "$as_me: WARNING: * You can't create Socket Packet !! *" >&2;}; - { echo "$as_me:3253: WARNING: *************************************" >&5 + { echo "$as_me:3128: WARNING: *************************************" >&5 echo "$as_me: WARNING: *************************************" >&2;}; exit; fi @@ -3259,7 +3134,7 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -echo "$as_me:3262: checking for $ac_word" >&5 +echo "$as_me:3137: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_IPFORWARD+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -3276,7 +3151,7 @@ test -z "$ac_dir" && ac_dir=. if $as_executable_p "$ac_dir/$ac_word"; then ac_cv_path_IPFORWARD="$ac_dir/$ac_word" - echo "$as_me:3279: found $ac_dir/$ac_word" >&5 + echo "$as_me:3154: found $ac_dir/$ac_word" >&5 break fi done @@ -3287,10 +3162,10 @@ IPFORWARD=$ac_cv_path_IPFORWARD if test -n "$IPFORWARD"; then - echo "$as_me:3290: result: $IPFORWARD" >&5 + echo "$as_me:3165: result: $IPFORWARD" >&5 echo "${ECHO_T}$IPFORWARD" >&6 else - echo "$as_me:3293: result: no" >&5 + echo "$as_me:3168: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -3299,24 +3174,24 @@ test -n "$IPFORWARD" || IPFORWARD="no" if test "$IPFORWARD" = no; then - { echo "$as_me:3302: WARNING: *****************************************************************" >&5 + { echo "$as_me:3177: WARNING: *****************************************************************" >&5 echo "$as_me: WARNING: *****************************************************************" >&2;} - { echo "$as_me:3304: WARNING: * /proc/sys/net/ipv4/ip_forward not found !! *" >&5 + { echo "$as_me:3179: WARNING: * /proc/sys/net/ipv4/ip_forward not found !! *" >&5 echo "$as_me: WARNING: * /proc/sys/net/ipv4/ip_forward not found !! *" >&2;} - { echo "$as_me:3306: WARNING: * please disable manually ip_forwarding before running ettercap *" >&5 + { echo "$as_me:3181: WARNING: * please disable manually ip_forwarding before running ettercap *" >&5 echo "$as_me: WARNING: * please disable manually ip_forwarding before running ettercap *" >&2;} - { echo "$as_me:3308: WARNING: *****************************************************************" >&5 + { echo "$as_me:3183: WARNING: *****************************************************************" >&5 echo "$as_me: WARNING: *****************************************************************" >&2;} fi fi -echo "$as_me:3313: checking whether struct tm is in sys/time.h or time.h" >&5 +echo "$as_me:3188: checking whether struct tm is in sys/time.h or time.h" >&5 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 if test "${ac_cv_struct_tm+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 3319 "configure" +#line 3194 "configure" #include "confdefs.h" #include #include @@ -3330,16 +3205,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:3333: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3208: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3336: \$? = $ac_status" >&5 + echo "$as_me:3211: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:3339: \"$ac_try\"") >&5 + { (eval echo "$as_me:3214: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3342: \$? = $ac_status" >&5 + echo "$as_me:3217: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_struct_tm=time.h else @@ -3349,7 +3224,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:3352: result: $ac_cv_struct_tm" >&5 +echo "$as_me:3227: result: $ac_cv_struct_tm" >&5 echo "${ECHO_T}$ac_cv_struct_tm" >&6 if test $ac_cv_struct_tm = sys/time.h; then @@ -3359,16 +3234,16 @@ fi -echo "$as_me:3362: checking for socklen_t in sys/socket.h" >&5 +echo "$as_me:3237: checking for socklen_t in sys/socket.h" >&5 echo $ECHO_N "checking for socklen_t in sys/socket.h... $ECHO_C" >&6 if test "$cross_compiling" = yes; then - echo "$as_me:3366: result: unkown when cross-compiling" >&5 + echo "$as_me:3241: result: unkown when cross-compiling" >&5 echo "${ECHO_T}unkown when cross-compiling" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 3371 "configure" +#line 3246 "configure" #include "confdefs.h" #include @@ -3384,17 +3259,17 @@ _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:3387: \"$ac_link\"") >&5 +if { (eval echo "$as_me:3262: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:3390: \$? = $ac_status" >&5 + echo "$as_me:3265: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:3392: \"$ac_try\"") >&5 + { (eval echo "$as_me:3267: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3395: \$? = $ac_status" >&5 + echo "$as_me:3270: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - echo "$as_me:3397: result: yes" >&5 + echo "$as_me:3272: result: yes" >&5 echo "${ECHO_T}yes" >&6 cat >>confdefs.h <<\EOF #define HAVE_SOCKLEN_T 1 @@ -3404,7 +3279,7 @@ echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 -echo "$as_me:3407: result: no" >&5 +echo "$as_me:3282: result: no" >&5 echo "${ECHO_T}no" >&6; fi @@ -3417,28 +3292,28 @@ inttypes.h stdint.h unistd.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:3420: checking for $ac_header" >&5 +echo "$as_me:3295: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 3426 "configure" +#line 3301 "configure" #include "confdefs.h" $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:3432: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3307: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3435: \$? = $ac_status" >&5 + echo "$as_me:3310: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:3438: \"$ac_try\"") >&5 + { (eval echo "$as_me:3313: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3441: \$? = $ac_status" >&5 + echo "$as_me:3316: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_Header=yes" else @@ -3448,7 +3323,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:3451: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "$as_me:3326: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <&5 +echo "$as_me:3336: checking for pid_t" >&5 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 if test "${ac_cv_type_pid_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 3467 "configure" +#line 3342 "configure" #include "confdefs.h" $ac_includes_default int @@ -3479,16 +3354,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:3482: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3357: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3485: \$? = $ac_status" >&5 + echo "$as_me:3360: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:3488: \"$ac_try\"") >&5 + { (eval echo "$as_me:3363: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3491: \$? = $ac_status" >&5 + echo "$as_me:3366: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_pid_t=yes else @@ -3498,7 +3373,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:3501: result: $ac_cv_type_pid_t" >&5 +echo "$as_me:3376: result: $ac_cv_type_pid_t" >&5 echo "${ECHO_T}$ac_cv_type_pid_t" >&6 if test $ac_cv_type_pid_t = yes; then : @@ -3510,13 +3385,13 @@ fi -echo "$as_me:3513: checking for size_t" >&5 +echo "$as_me:3388: checking for size_t" >&5 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 if test "${ac_cv_type_size_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 3519 "configure" +#line 3394 "configure" #include "confdefs.h" $ac_includes_default int @@ -3531,16 +3406,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:3534: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3409: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3537: \$? = $ac_status" >&5 + echo "$as_me:3412: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:3540: \"$ac_try\"") >&5 + { (eval echo "$as_me:3415: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3543: \$? = $ac_status" >&5 + echo "$as_me:3418: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_size_t=yes else @@ -3550,7 +3425,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:3553: result: $ac_cv_type_size_t" >&5 +echo "$as_me:3428: result: $ac_cv_type_size_t" >&5 echo "${ECHO_T}$ac_cv_type_size_t" >&6 if test $ac_cv_type_size_t = yes; then : @@ -3562,7 +3437,7 @@ fi -echo "$as_me:3565: checking for $CC option to accept ANSI C" >&5 +echo "$as_me:3440: checking for $CC option to accept ANSI C" >&5 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 if test "${ac_cv_prog_cc_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -3570,7 +3445,7 @@ ac_cv_prog_cc_stdc=no ac_save_CC=$CC cat >conftest.$ac_ext <<_ACEOF -#line 3573 "configure" +#line 3448 "configure" #include "confdefs.h" #include #include @@ -3619,16 +3494,16 @@ do CC="$ac_save_CC $ac_arg" rm -f conftest.$ac_objext -if { (eval echo "$as_me:3622: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3497: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3625: \$? = $ac_status" >&5 + echo "$as_me:3500: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:3628: \"$ac_try\"") >&5 + { (eval echo "$as_me:3503: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3631: \$? = $ac_status" >&5 + echo "$as_me:3506: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cc_stdc=$ac_arg break @@ -3645,21 +3520,21 @@ case "x$ac_cv_prog_cc_stdc" in x|xno) - echo "$as_me:3648: result: none needed" >&5 + echo "$as_me:3523: result: none needed" >&5 echo "${ECHO_T}none needed" >&6 ;; *) - echo "$as_me:3651: result: $ac_cv_prog_cc_stdc" >&5 + echo "$as_me:3526: result: $ac_cv_prog_cc_stdc" >&5 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 CC="$CC $ac_cv_prog_cc_stdc" ;; esac -echo "$as_me:3656: checking for an ANSI C-conforming const" >&5 +echo "$as_me:3531: checking for an ANSI C-conforming const" >&5 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 if test "${ac_cv_c_const+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 3662 "configure" +#line 3537 "configure" #include "confdefs.h" int @@ -3717,16 +3592,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:3720: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3595: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3723: \$? = $ac_status" >&5 + echo "$as_me:3598: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:3726: \"$ac_try\"") >&5 + { (eval echo "$as_me:3601: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3729: \$? = $ac_status" >&5 + echo "$as_me:3604: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_c_const=yes else @@ -3736,7 +3611,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:3739: result: $ac_cv_c_const" >&5 +echo "$as_me:3614: result: $ac_cv_c_const" >&5 echo "${ECHO_T}$ac_cv_c_const" >&6 if test $ac_cv_c_const = no; then @@ -3746,13 +3621,13 @@ fi -echo "$as_me:3749: checking if sockaddr struct has sa_len member" >&5 +echo "$as_me:3624: checking if sockaddr struct has sa_len member" >&5 echo $ECHO_N "checking if sockaddr struct has sa_len member... $ECHO_C" >&6 if test "${ac_cv_lbl_sockaddr_has_sa_len+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 3755 "configure" +#line 3630 "configure" #include "confdefs.h" # include @@ -3766,16 +3641,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:3769: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3644: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3772: \$? = $ac_status" >&5 + echo "$as_me:3647: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:3775: \"$ac_try\"") >&5 + { (eval echo "$as_me:3650: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3778: \$? = $ac_status" >&5 + echo "$as_me:3653: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lbl_sockaddr_has_sa_len=yes else @@ -3786,7 +3661,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext fi - echo "$as_me:3789: result: $ac_cv_lbl_sockaddr_has_sa_len" >&5 + echo "$as_me:3664: result: $ac_cv_lbl_sockaddr_has_sa_len" >&5 echo "${ECHO_T}$ac_cv_lbl_sockaddr_has_sa_len" >&6 if test $ac_cv_lbl_sockaddr_has_sa_len = yes ; then @@ -3799,23 +3674,23 @@ for ac_header in stdlib.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:3802: checking for $ac_header" >&5 +echo "$as_me:3677: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 3808 "configure" +#line 3683 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:3812: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:3687: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:3818: \$? = $ac_status" >&5 + echo "$as_me:3693: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -3834,7 +3709,7 @@ fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:3837: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "$as_me:3712: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <&5 +echo "$as_me:3722: checking for working malloc" >&5 echo $ECHO_N "checking for working malloc... $ECHO_C" >&6 if test "${ac_cv_func_malloc_works+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -3853,7 +3728,7 @@ ac_cv_func_malloc_works=no else cat >conftest.$ac_ext <<_ACEOF -#line 3856 "configure" +#line 3731 "configure" #include "confdefs.h" #if STDC_HEADERS || HAVE_STDLIB_H # include @@ -3870,15 +3745,15 @@ } _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:3873: \"$ac_link\"") >&5 +if { (eval echo "$as_me:3748: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:3876: \$? = $ac_status" >&5 + echo "$as_me:3751: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:3878: \"$ac_try\"") >&5 + { (eval echo "$as_me:3753: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3881: \$? = $ac_status" >&5 + echo "$as_me:3756: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_malloc_works=yes else @@ -3890,7 +3765,7 @@ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi -echo "$as_me:3893: result: $ac_cv_func_malloc_works" >&5 +echo "$as_me:3768: result: $ac_cv_func_malloc_works" >&5 echo "${ECHO_T}$ac_cv_func_malloc_works" >&6 if test $ac_cv_func_malloc_works = yes; then @@ -3900,7 +3775,7 @@ fi -echo "$as_me:3903: checking for working memcmp" >&5 +echo "$as_me:3778: checking for working memcmp" >&5 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6 if test "${ac_cv_func_memcmp_working+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -3909,7 +3784,7 @@ ac_cv_func_memcmp_working=no else cat >conftest.$ac_ext <<_ACEOF -#line 3912 "configure" +#line 3787 "configure" #include "confdefs.h" int @@ -3945,15 +3820,15 @@ } _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:3948: \"$ac_link\"") >&5 +if { (eval echo "$as_me:3823: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:3951: \$? = $ac_status" >&5 + echo "$as_me:3826: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:3953: \"$ac_try\"") >&5 + { (eval echo "$as_me:3828: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3956: \$? = $ac_status" >&5 + echo "$as_me:3831: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_memcmp_working=yes else @@ -3965,17 +3840,17 @@ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi -echo "$as_me:3968: result: $ac_cv_func_memcmp_working" >&5 +echo "$as_me:3843: result: $ac_cv_func_memcmp_working" >&5 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6 test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext" -echo "$as_me:3972: checking return type of signal handlers" >&5 +echo "$as_me:3847: checking return type of signal handlers" >&5 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 if test "${ac_cv_type_signal+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 3978 "configure" +#line 3853 "configure" #include "confdefs.h" #include #include @@ -3997,16 +3872,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:4000: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3875: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:4003: \$? = $ac_status" >&5 + echo "$as_me:3878: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:4006: \"$ac_try\"") >&5 + { (eval echo "$as_me:3881: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4009: \$? = $ac_status" >&5 + echo "$as_me:3884: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_signal=void else @@ -4016,7 +3891,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:4019: result: $ac_cv_type_signal" >&5 +echo "$as_me:3894: result: $ac_cv_type_signal" >&5 echo "${ECHO_T}$ac_cv_type_signal" >&6 cat >>confdefs.h <&5 +echo "$as_me:3904: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 4035 "configure" +#line 3910 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. */ @@ -4063,16 +3938,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:4066: \"$ac_link\"") >&5 +if { (eval echo "$as_me:3941: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:4069: \$? = $ac_status" >&5 + echo "$as_me:3944: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:4072: \"$ac_try\"") >&5 + { (eval echo "$as_me:3947: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4075: \$? = $ac_status" >&5 + echo "$as_me:3950: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else @@ -4082,20 +3957,20 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:4085: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "$as_me:3960: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <&5 +echo "$as_me:3967: checking for _doprnt" >&5 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6 if test "${ac_cv_func__doprnt+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 4098 "configure" +#line 3973 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char _doprnt (); below. */ @@ -4126,16 +4001,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:4129: \"$ac_link\"") >&5 +if { (eval echo "$as_me:4004: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:4132: \$? = $ac_status" >&5 + echo "$as_me:4007: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:4135: \"$ac_try\"") >&5 + { (eval echo "$as_me:4010: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4138: \$? = $ac_status" >&5 + echo "$as_me:4013: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func__doprnt=yes else @@ -4145,7 +4020,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:4148: result: $ac_cv_func__doprnt" >&5 +echo "$as_me:4023: result: $ac_cv_func__doprnt" >&5 echo "${ECHO_T}$ac_cv_func__doprnt" >&6 if test $ac_cv_func__doprnt = yes; then @@ -4161,13 +4036,13 @@ for ac_func in gettimeofday do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:4164: checking for $ac_func" >&5 +echo "$as_me:4039: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 4170 "configure" +#line 4045 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. */ @@ -4198,16 +4073,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:4201: \"$ac_link\"") >&5 +if { (eval echo "$as_me:4076: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:4204: \$? = $ac_status" >&5 + echo "$as_me:4079: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:4207: \"$ac_try\"") >&5 + { (eval echo "$as_me:4082: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4210: \$? = $ac_status" >&5 + echo "$as_me:4085: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else @@ -4217,7 +4092,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:4220: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "$as_me:4095: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <&5 +echo "$as_me:4108: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 4239 "configure" +#line 4114 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. */ @@ -4267,16 +4142,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:4270: \"$ac_link\"") >&5 +if { (eval echo "$as_me:4145: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:4273: \$? = $ac_status" >&5 + echo "$as_me:4148: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:4276: \"$ac_try\"") >&5 + { (eval echo "$as_me:4151: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4279: \$? = $ac_status" >&5 + echo "$as_me:4154: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else @@ -4286,7 +4161,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:4289: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "$as_me:4164: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <&5 +echo "$as_me:4177: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 4308 "configure" +#line 4183 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. */ @@ -4336,16 +4211,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:4339: \"$ac_link\"") >&5 +if { (eval echo "$as_me:4214: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:4342: \$? = $ac_status" >&5 + echo "$as_me:4217: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:4345: \"$ac_try\"") >&5 + { (eval echo "$as_me:4220: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4348: \$? = $ac_status" >&5 + echo "$as_me:4223: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else @@ -4355,7 +4230,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:4358: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "$as_me:4233: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <&5 +echo "$as_me:4246: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 4377 "configure" +#line 4252 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. */ @@ -4405,16 +4280,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:4408: \"$ac_link\"") >&5 +if { (eval echo "$as_me:4283: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:4411: \$? = $ac_status" >&5 + echo "$as_me:4286: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:4414: \"$ac_try\"") >&5 + { (eval echo "$as_me:4289: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4417: \$? = $ac_status" >&5 + echo "$as_me:4292: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else @@ -4424,7 +4299,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:4427: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "$as_me:4302: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <&5 +echo "$as_me:4315: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 4446 "configure" +#line 4321 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. */ @@ -4474,16 +4349,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:4477: \"$ac_link\"") >&5 +if { (eval echo "$as_me:4352: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:4480: \$? = $ac_status" >&5 + echo "$as_me:4355: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:4483: \"$ac_try\"") >&5 + { (eval echo "$as_me:4358: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4486: \$? = $ac_status" >&5 + echo "$as_me:4361: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else @@ -4493,7 +4368,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:4496: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "$as_me:4371: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <&5 +echo "$as_me:4384: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 4515 "configure" +#line 4390 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. */ @@ -4543,16 +4418,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:4546: \"$ac_link\"") >&5 +if { (eval echo "$as_me:4421: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:4549: \$? = $ac_status" >&5 + echo "$as_me:4424: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:4552: \"$ac_try\"") >&5 + { (eval echo "$as_me:4427: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4555: \$? = $ac_status" >&5 + echo "$as_me:4430: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else @@ -4562,7 +4437,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:4565: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "$as_me:4440: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <&5 +echo "$as_me:4455: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 4586 "configure" +#line 4461 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. */ @@ -4614,16 +4489,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:4617: \"$ac_link\"") >&5 +if { (eval echo "$as_me:4492: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:4620: \$? = $ac_status" >&5 + echo "$as_me:4495: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:4623: \"$ac_try\"") >&5 + { (eval echo "$as_me:4498: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4626: \$? = $ac_status" >&5 + echo "$as_me:4501: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else @@ -4633,7 +4508,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:4636: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "$as_me:4511: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <&5 +echo "$as_me:4526: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 4657 "configure" +#line 4532 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. */ @@ -4685,16 +4560,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:4688: \"$ac_link\"") >&5 +if { (eval echo "$as_me:4563: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:4691: \$? = $ac_status" >&5 + echo "$as_me:4566: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:4694: \"$ac_try\"") >&5 + { (eval echo "$as_me:4569: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4697: \$? = $ac_status" >&5 + echo "$as_me:4572: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else @@ -4704,7 +4579,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:4707: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "$as_me:4582: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <&5 + echo "$as_me:4594: result: " >&5 echo "${ECHO_T}" >&6 - echo "$as_me:4721: result: ${SB}Checking user defined options...${EB}" >&5 + echo "$as_me:4596: result: ${SB}Checking user defined options...${EB}" >&5 echo "${ECHO_T}${SB}Checking user defined options...${EB}" >&6 - echo "$as_me:4723: result: " >&5 + echo "$as_me:4598: result: " >&5 echo "${ECHO_T}" >&6 check_ncurses=0 -echo "$as_me:4727: checking if --enable-ncurses option is specified" >&5 +echo "$as_me:4602: checking if --enable-ncurses option is specified" >&5 echo $ECHO_N "checking if --enable-ncurses option is specified... $ECHO_C" >&6 # Check whether --enable-ncurses or --disable-ncurses was given. if test "${enable_ncurses+set}" = set; then enableval="$enable_ncurses" case "$enableval" in yes) - echo "$as_me:4734: result: yes." >&5 + echo "$as_me:4609: result: yes." >&5 echo "${ECHO_T}yes." >&6 check_ncurses=1 ;; - no) echo "$as_me:4738: result: no." >&5 + no) echo "$as_me:4613: result: no." >&5 echo "${ECHO_T}no." >&6 ac_cv_ec_ncurses=no ;; esac else - echo "$as_me:4744: result: yes. enabled by default." >&5 + echo "$as_me:4619: result: yes. enabled by default." >&5 echo "${ECHO_T}yes. enabled by default." >&6 check_ncurses=1 @@ -4753,26 +4628,26 @@ ac_cv_ec_ncurses=no -for ac_header in ncurses.h +for ac_header in ncurses/ncurses.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:4759: checking for $ac_header" >&5 +echo "$as_me:4634: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 4765 "configure" +#line 4640 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:4769: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:4644: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:4775: \$? = $ac_status" >&5 + echo "$as_me:4650: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -4791,7 +4666,7 @@ fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:4794: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "$as_me:4669: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <&5 +echo "$as_me:4681: checking for newwin in -lncurses" >&5 echo $ECHO_N "checking for newwin in -lncurses... $ECHO_C" >&6 if test "${ac_cv_lib_ncurses_newwin+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -4811,7 +4686,7 @@ ac_check_lib_save_LIBS=$LIBS LIBS="-lncurses $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 4814 "configure" +#line 4689 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -4830,16 +4705,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:4833: \"$ac_link\"") >&5 +if { (eval echo "$as_me:4708: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:4836: \$? = $ac_status" >&5 + echo "$as_me:4711: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:4839: \"$ac_try\"") >&5 + { (eval echo "$as_me:4714: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4842: \$? = $ac_status" >&5 + echo "$as_me:4717: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_ncurses_newwin=yes else @@ -4850,7 +4725,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:4853: result: $ac_cv_lib_ncurses_newwin" >&5 +echo "$as_me:4728: result: $ac_cv_lib_ncurses_newwin" >&5 echo "${ECHO_T}$ac_cv_lib_ncurses_newwin" >&6 if test $ac_cv_lib_ncurses_newwin = yes; then cat >>confdefs.h <&5 +echo "$as_me:4741: checking for newpad in -lncurses" >&5 echo $ECHO_N "checking for newpad in -lncurses... $ECHO_C" >&6 if test "${ac_cv_lib_ncurses_newpad+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -4871,7 +4746,7 @@ ac_check_lib_save_LIBS=$LIBS LIBS="-lncurses $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 4874 "configure" +#line 4749 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -4890,16 +4765,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:4893: \"$ac_link\"") >&5 +if { (eval echo "$as_me:4768: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:4896: \$? = $ac_status" >&5 + echo "$as_me:4771: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:4899: \"$ac_try\"") >&5 + { (eval echo "$as_me:4774: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4902: \$? = $ac_status" >&5 + echo "$as_me:4777: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_ncurses_newpad=yes else @@ -4910,7 +4785,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:4913: result: $ac_cv_lib_ncurses_newpad" >&5 +echo "$as_me:4788: result: $ac_cv_lib_ncurses_newpad" >&5 echo "${ECHO_T}$ac_cv_lib_ncurses_newpad" >&6 if test $ac_cv_lib_ncurses_newpad = yes; then cat >>confdefs.h <&5 +echo "$as_me:4812: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 4943 "configure" +#line 4818 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:4947: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:4822: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:4953: \$? = $ac_status" >&5 + echo "$as_me:4828: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -4969,7 +4844,7 @@ fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:4972: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "$as_me:4847: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <&5 +echo "$as_me:4859: checking for newwin in -lcurses" >&5 echo $ECHO_N "checking for newwin in -lcurses... $ECHO_C" >&6 if test "${ac_cv_lib_curses_newwin+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -4989,7 +4864,7 @@ ac_check_lib_save_LIBS=$LIBS LIBS="-lcurses $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 4992 "configure" +#line 4867 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -5008,16 +4883,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:5011: \"$ac_link\"") >&5 +if { (eval echo "$as_me:4886: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:5014: \$? = $ac_status" >&5 + echo "$as_me:4889: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:5017: \"$ac_try\"") >&5 + { (eval echo "$as_me:4892: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5020: \$? = $ac_status" >&5 + echo "$as_me:4895: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_curses_newwin=yes else @@ -5028,7 +4903,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:5031: result: $ac_cv_lib_curses_newwin" >&5 +echo "$as_me:4906: result: $ac_cv_lib_curses_newwin" >&5 echo "${ECHO_T}$ac_cv_lib_curses_newwin" >&6 if test $ac_cv_lib_curses_newwin = yes; then cat >>confdefs.h <&5 +echo "$as_me:4919: checking for newpad in -lcurses" >&5 echo $ECHO_N "checking for newpad in -lcurses... $ECHO_C" >&6 if test "${ac_cv_lib_curses_newpad+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -5049,7 +4924,7 @@ ac_check_lib_save_LIBS=$LIBS LIBS="-lcurses $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 5052 "configure" +#line 4927 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -5068,16 +4943,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:5071: \"$ac_link\"") >&5 +if { (eval echo "$as_me:4946: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:5074: \$? = $ac_status" >&5 + echo "$as_me:4949: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:5077: \"$ac_try\"") >&5 + { (eval echo "$as_me:4952: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5080: \$? = $ac_status" >&5 + echo "$as_me:4955: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_curses_newpad=yes else @@ -5088,7 +4963,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:5091: result: $ac_cv_lib_curses_newpad" >&5 +echo "$as_me:4966: result: $ac_cv_lib_curses_newpad" >&5 echo "${ECHO_T}$ac_cv_lib_curses_newpad" >&6 if test $ac_cv_lib_curses_newpad = yes; then cat >>confdefs.h <&5 + { echo "$as_me:4986: WARNING: ***********************************************" >&5 echo "$as_me: WARNING: ***********************************************" >&2;} - { echo "$as_me:5113: WARNING: * NCURSES are NOT available in your system !! *" >&5 + { echo "$as_me:4988: WARNING: * NCURSES are NOT available in your system !! *" >&5 echo "$as_me: WARNING: * NCURSES are NOT available in your system !! *" >&2;} - { echo "$as_me:5115: WARNING: * Interactive mode will not be supported! *" >&5 + { echo "$as_me:4990: WARNING: * Interactive mode will not be supported! *" >&5 echo "$as_me: WARNING: * Interactive mode will not be supported! *" >&2;} - { echo "$as_me:5117: WARNING: ***********************************************" >&5 + { echo "$as_me:4992: WARNING: ***********************************************" >&5 echo "$as_me: WARNING: ***********************************************" >&2;} fi fi @@ -5123,26 +4998,26 @@ form_warn=0 if test "$ncurses_warn$curses_warn" -eq "00"; then -for ac_header in form.h +for ac_header in ncurses/form.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:5129: checking for $ac_header" >&5 +echo "$as_me:5004: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 5135 "configure" +#line 5010 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:5139: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:5014: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:5145: \$? = $ac_status" >&5 + echo "$as_me:5020: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -5161,7 +5036,7 @@ fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:5164: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "$as_me:5039: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <&5 +echo "$as_me:5051: checking for form_win in -lform" >&5 echo $ECHO_N "checking for form_win in -lform... $ECHO_C" >&6 if test "${ac_cv_lib_form_form_win+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -5181,7 +5056,7 @@ ac_check_lib_save_LIBS=$LIBS LIBS="-lform $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 5184 "configure" +#line 5059 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -5200,16 +5075,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:5203: \"$ac_link\"") >&5 +if { (eval echo "$as_me:5078: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:5206: \$? = $ac_status" >&5 + echo "$as_me:5081: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:5209: \"$ac_try\"") >&5 + { (eval echo "$as_me:5084: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5212: \$? = $ac_status" >&5 + echo "$as_me:5087: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_form_form_win=yes else @@ -5220,7 +5095,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:5223: result: $ac_cv_lib_form_form_win" >&5 +echo "$as_me:5098: result: $ac_cv_lib_form_form_win" >&5 echo "${ECHO_T}$ac_cv_lib_form_form_win" >&6 if test $ac_cv_lib_form_form_win = yes; then cat >>confdefs.h <&5 + { echo "$as_me:5119: WARNING: ****************************************************" >&5 echo "$as_me: WARNING: ****************************************************" >&2;} - { echo "$as_me:5246: WARNING: * NCURSES FORM are NOT available in your system !! *" >&5 + { echo "$as_me:5121: WARNING: * NCURSES FORM are NOT available in your system !! *" >&5 echo "$as_me: WARNING: * NCURSES FORM are NOT available in your system !! *" >&2;} - { echo "$as_me:5248: WARNING: * some interface will be less pleasureful... *" >&5 + { echo "$as_me:5123: WARNING: * some interface will be less pleasureful... *" >&5 echo "$as_me: WARNING: * some interface will be less pleasureful... *" >&2;} - { echo "$as_me:5250: WARNING: ****************************************************" >&5 + { echo "$as_me:5125: WARNING: ****************************************************" >&5 echo "$as_me: WARNING: ****************************************************" >&2;} fi fi -echo "$as_me:5255: checking if --enable-debug option is specified" >&5 +echo "$as_me:5130: checking if --enable-debug option is specified" >&5 echo $ECHO_N "checking if --enable-debug option is specified... $ECHO_C" >&6 # Check whether --enable-debug or --disable-debug was given. if test "${enable_debug+set}" = set; then @@ -5261,25 +5136,25 @@ yes) DEBUG="-DDEBUG" CFLAGS="-O2 -Wall -g -ggdb" - echo "$as_me:5264: result: yes" >&5 + echo "$as_me:5139: result: yes" >&5 echo "${ECHO_T}yes" >&6 ac_cv_ec_debug=yes ;; - no) echo "$as_me:5268: result: no." >&5 + no) echo "$as_me:5143: result: no." >&5 echo "${ECHO_T}no." >&6 CFLAGS="-O2 -Wall" ac_cv_ec_debug=no ;; esac else - echo "$as_me:5275: result: no. disabled by default." >&5 + echo "$as_me:5150: result: no. disabled by default." >&5 echo "${ECHO_T}no. disabled by default." >&6 CFLAGS="-O2 -Wall" ac_cv_ec_debug=no fi; -echo "$as_me:5282: checking if --enable-suid option is specified" >&5 +echo "$as_me:5157: checking if --enable-suid option is specified" >&5 echo $ECHO_N "checking if --enable-suid option is specified... $ECHO_C" >&6 # Check whether --enable-suid or --disable-suid was given. if test "${enable_suid+set}" = set; then @@ -5290,41 +5165,41 @@ #define PERMIT_SUID 1 EOF - echo "$as_me:5293: result: yes" >&5 + echo "$as_me:5168: result: yes" >&5 echo "${ECHO_T}yes" >&6 ac_cv_ec_suid=yes ;; - no) echo "$as_me:5297: result: no" >&5 + no) echo "$as_me:5172: result: no" >&5 echo "${ECHO_T}no" >&6 ac_cv_ec_suid=no ;; esac else - echo "$as_me:5303: result: no. disabled by default." >&5 + echo "$as_me:5178: result: no. disabled by default." >&5 echo "${ECHO_T}no. disabled by default." >&6 ac_cv_ec_suid=no fi; check_plugins=0 -echo "$as_me:5310: checking if --enable-plugins option is specified" >&5 +echo "$as_me:5185: checking if --enable-plugins option is specified" >&5 echo $ECHO_N "checking if --enable-plugins option is specified... $ECHO_C" >&6 # Check whether --enable-plugins or --disable-plugins was given. if test "${enable_plugins+set}" = set; then enableval="$enable_plugins" case "$enableval" in yes) - echo "$as_me:5317: result: yes." >&5 + echo "$as_me:5192: result: yes." >&5 echo "${ECHO_T}yes." >&6 check_plugins=1 ;; - no) echo "$as_me:5321: result: no." >&5 + no) echo "$as_me:5196: result: no." >&5 echo "${ECHO_T}no." >&6 ac_cv_ec_plugin=no ;; esac else - echo "$as_me:5327: result: yes. enabled by default." >&5 + echo "$as_me:5202: result: yes. enabled by default." >&5 echo "${ECHO_T}yes. enabled by default." >&6 check_plugins=1 @@ -5336,23 +5211,23 @@ for ac_header in dlfcn.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:5339: checking for $ac_header" >&5 +echo "$as_me:5214: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 5345 "configure" +#line 5220 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:5349: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:5224: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:5355: \$? = $ac_status" >&5 + echo "$as_me:5230: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -5371,7 +5246,7 @@ fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:5374: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "$as_me:5249: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <&5 +echo "$as_me:5263: checking for dlopen in -ldl" >&5 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 if test "${ac_cv_lib_dl_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -5393,7 +5268,7 @@ ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 5396 "configure" +#line 5271 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -5412,16 +5287,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:5415: \"$ac_link\"") >&5 +if { (eval echo "$as_me:5290: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:5418: \$? = $ac_status" >&5 + echo "$as_me:5293: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:5421: \"$ac_try\"") >&5 + { (eval echo "$as_me:5296: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5424: \$? = $ac_status" >&5 + echo "$as_me:5299: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dl_dlopen=yes else @@ -5432,7 +5307,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:5435: result: $ac_cv_lib_dl_dlopen" >&5 +echo "$as_me:5310: result: $ac_cv_lib_dl_dlopen" >&5 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 if test $ac_cv_lib_dl_dlopen = yes; then cat >>confdefs.h <&5 +echo "$as_me:5325: checking for dlopen in -lc" >&5 echo $ECHO_N "checking for dlopen in -lc... $ECHO_C" >&6 if test "${ac_cv_lib_c_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -5455,7 +5330,7 @@ ac_check_lib_save_LIBS=$LIBS LIBS="-lc $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 5458 "configure" +#line 5333 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -5474,16 +5349,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:5477: \"$ac_link\"") >&5 +if { (eval echo "$as_me:5352: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:5480: \$? = $ac_status" >&5 + echo "$as_me:5355: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:5483: \"$ac_try\"") >&5 + { (eval echo "$as_me:5358: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5486: \$? = $ac_status" >&5 + echo "$as_me:5361: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_c_dlopen=yes else @@ -5494,7 +5369,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:5497: result: $ac_cv_lib_c_dlopen" >&5 +echo "$as_me:5372: result: $ac_cv_lib_c_dlopen" >&5 echo "${ECHO_T}$ac_cv_lib_c_dlopen" >&6 if test $ac_cv_lib_c_dlopen = yes; then cat >>confdefs.h <&5 + { echo "$as_me:5395: WARNING: ***********************************************" >&5 echo "$as_me: WARNING: ***********************************************" >&2;} - { echo "$as_me:5522: WARNING: * Plugins are NOT supported by your system !! *" >&5 + { echo "$as_me:5397: WARNING: * Plugins are NOT supported by your system !! *" >&5 echo "$as_me: WARNING: * Plugins are NOT supported by your system !! *" >&2;} - { echo "$as_me:5524: WARNING: ***********************************************" >&5 + { echo "$as_me:5399: WARNING: ***********************************************" >&5 echo "$as_me: WARNING: ***********************************************" >&2;} ac_cv_ec_plugin=no fi @@ -5534,21 +5409,21 @@ withval="$with_openssl" case "$withval" in no) - echo "$as_me:5537: checking for OpenSSL" >&5 + echo "$as_me:5412: checking for OpenSSL" >&5 echo $ECHO_N "checking for OpenSSL... $ECHO_C" >&6 - echo "$as_me:5539: result: no" >&5 + echo "$as_me:5414: result: no" >&5 echo "${ECHO_T}no" >&6 ac_cv_ec_ssh=no ;; *) - echo "$as_me:5544: checking for OpenSSL in $withval" >&5 + echo "$as_me:5419: checking for OpenSSL in $withval" >&5 echo $ECHO_N "checking for OpenSSL in $withval... $ECHO_C" >&6 check_ssh=1 ssl_path=$withval ;; esac else - echo "$as_me:5551: checking for OpenSSL in ${prefix}" >&5 + echo "$as_me:5426: checking for OpenSSL in ${prefix}" >&5 echo $ECHO_N "checking for OpenSSL in ${prefix}... $ECHO_C" >&6 check_ssh=1 ssl_path=${prefix} @@ -5564,7 +5439,7 @@ EOF ac_cv_ec_ssh=yes - echo "$as_me:5567: result: yes" >&5 + echo "$as_me:5442: result: yes" >&5 echo "${ECHO_T}yes" >&6 elif test -f $ssl_path/ssl/include/openssl/ssl.h; then CPPFLAGS="$CPPFLAGS -I$ssl_path/ssl/include" @@ -5574,7 +5449,7 @@ EOF ac_cv_ec_ssh=yes - echo "$as_me:5577: result: yes" >&5 + echo "$as_me:5452: result: yes" >&5 echo "${ECHO_T}yes" >&6 elif test -f /usr/include/openssl/ssl.h; then LIBS="$LIBS -lssl -lcrypto" @@ -5583,25 +5458,25 @@ EOF ac_cv_ec_ssh=yes - echo "$as_me:5586: result: yes" >&5 + echo "$as_me:5461: result: yes" >&5 echo "${ECHO_T}yes" >&6 else - echo "$as_me:5589: result: no" >&5 + echo "$as_me:5464: result: no" >&5 echo "${ECHO_T}no" >&6 ac_cv_ec_ssh=no - { echo "$as_me:5592: WARNING: **********************************************" >&5 + { echo "$as_me:5467: WARNING: **********************************************" >&5 echo "$as_me: WARNING: **********************************************" >&2;} - { echo "$as_me:5594: WARNING: * OpenSSL is NOT installed in your system !! *" >&5 + { echo "$as_me:5469: WARNING: * OpenSSL is NOT installed in your system !! *" >&5 echo "$as_me: WARNING: * OpenSSL is NOT installed in your system !! *" >&2;} - { echo "$as_me:5596: WARNING: * SSH support will NOT be available... *" >&5 + { echo "$as_me:5471: WARNING: * SSH support will NOT be available... *" >&5 echo "$as_me: WARNING: * SSH support will NOT be available... *" >&2;} - { echo "$as_me:5598: WARNING: **********************************************" >&5 + { echo "$as_me:5473: WARNING: **********************************************" >&5 echo "$as_me: WARNING: **********************************************" >&2;} fi fi -echo "$as_me:5604: checking if --enable-https option is specified" >&5 +echo "$as_me:5479: checking if --enable-https option is specified" >&5 echo $ECHO_N "checking if --enable-https option is specified... $ECHO_C" >&6 # Check whether --enable-https or --disable-https was given. if test "${enable_https+set}" = set; then @@ -5609,7 +5484,7 @@ case "$enableval" in yes) if test "$OS" = "MACOSX"; then - echo "$as_me:5612: result: NOT available on Mac Os X" >&5 + echo "$as_me:5487: result: NOT available on Mac Os X" >&5 echo "${ECHO_T}NOT available on Mac Os X" >&6 ac_cv_ec_https=no else @@ -5617,37 +5492,37 @@ #define PERMIT_HTTPS 1 EOF - echo "$as_me:5620: result: yes" >&5 + echo "$as_me:5495: result: yes" >&5 echo "${ECHO_T}yes" >&6 ac_cv_ec_https=yes fi ;; - no) echo "$as_me:5625: result: no" >&5 + no) echo "$as_me:5500: result: no" >&5 echo "${ECHO_T}no" >&6 ac_cv_ec_https=no ;; esac else if test "$OS" = "MACOSX"; then - echo "$as_me:5632: result: NOT available on Mac Os X" >&5 + echo "$as_me:5507: result: NOT available on Mac Os X" >&5 echo "${ECHO_T}NOT available on Mac Os X" >&6 ac_cv_ec_https=no elif test "$OS" = "OPENBSD" -o "$OS" = "FREEBSD" -o "$OS" = "NETBSD"; then - echo "$as_me:5636: result: no." >&5 + echo "$as_me:5511: result: no." >&5 echo "${ECHO_T}no." >&6 ac_cv_ec_https=no - { echo "$as_me:5639: WARNING: ***************************************************" >&5 + { echo "$as_me:5514: WARNING: ***************************************************" >&5 echo "$as_me: WARNING: ***************************************************" >&2;} - { echo "$as_me:5641: WARNING: * HTTPS dissection in in ALPHA state under BSD... *" >&5 + { echo "$as_me:5516: WARNING: * HTTPS dissection in in ALPHA state under BSD... *" >&5 echo "$as_me: WARNING: * HTTPS dissection in in ALPHA state under BSD... *" >&2;} - { echo "$as_me:5643: WARNING: * I discourage you to enable it. *" >&5 + { echo "$as_me:5518: WARNING: * I discourage you to enable it. *" >&5 echo "$as_me: WARNING: * I discourage you to enable it. *" >&2;} - { echo "$as_me:5645: WARNING: * But if you want use at your own risk *" >&5 + { echo "$as_me:5520: WARNING: * But if you want use at your own risk *" >&5 echo "$as_me: WARNING: * But if you want use at your own risk *" >&2;} - { echo "$as_me:5647: WARNING: ***************************************************" >&5 + { echo "$as_me:5522: WARNING: ***************************************************" >&5 echo "$as_me: WARNING: ***************************************************" >&2;} else - echo "$as_me:5650: result: yes. enabled by default." >&5 + echo "$as_me:5525: result: yes. enabled by default." >&5 echo "${ECHO_T}yes. enabled by default." >&6 cat >>confdefs.h <<\EOF #define PERMIT_HTTPS 1 @@ -5658,11 +5533,11 @@ fi; - echo "$as_me:5661: result: " >&5 + echo "$as_me:5536: result: " >&5 echo "${ECHO_T}" >&6 - echo "$as_me:5663: result: ${SB}Writing output files...${EB}" >&5 + echo "$as_me:5538: result: ${SB}Writing output files...${EB}" >&5 echo "${ECHO_T}${SB}Writing output files...${EB}" >&6 - echo "$as_me:5665: result: " >&5 + echo "$as_me:5540: result: " >&5 echo "${ECHO_T}" >&6 PLUGINS=`ls ./plugins | grep -v Make | awk ' { printf "%s ", $1 } '` @@ -5749,7 +5624,7 @@ : ${CONFIG_STATUS=./config.status} ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" -{ echo "$as_me:5752: creating $CONFIG_STATUS" >&5 +{ echo "$as_me:5627: creating $CONFIG_STATUS" >&5 echo "$as_me: creating $CONFIG_STATUS" >&6;} cat >$CONFIG_STATUS <<_ACEOF #! $SHELL @@ -5922,7 +5797,7 @@ echo "$ac_cs_version"; exit 0 ;; --he | --h) # Conflict between --help and --header - { { echo "$as_me:5925: error: ambiguous option: $1 + { { echo "$as_me:5800: error: ambiguous option: $1 Try \`$0 --help' for more information." >&5 echo "$as_me: error: ambiguous option: $1 Try \`$0 --help' for more information." >&2;} @@ -5941,7 +5816,7 @@ ac_need_defaults=false;; # This is an error. - -*) { { echo "$as_me:5944: error: unrecognized option: $1 + -*) { { echo "$as_me:5819: error: unrecognized option: $1 Try \`$0 --help' for more information." >&5 echo "$as_me: error: unrecognized option: $1 Try \`$0 --help' for more information." >&2;} @@ -5982,7 +5857,7 @@ "$makeplug" ) CONFIG_FILES="$CONFIG_FILES $makeplug" ;; "plugins/Makefile" ) CONFIG_FILES="$CONFIG_FILES plugins/Makefile" ;; "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; - *) { { echo "$as_me:5985: error: invalid argument: $ac_config_target" >&5 + *) { { echo "$as_me:5860: error: invalid argument: $ac_config_target" >&5 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; esac @@ -6216,7 +6091,7 @@ esac if test x"$ac_file" != x-; then - { echo "$as_me:6219: creating $ac_file" >&5 + { echo "$as_me:6094: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} rm -f "$ac_file" fi @@ -6234,7 +6109,7 @@ -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) - test -f "$f" || { { echo "$as_me:6237: error: cannot find input file: $f" >&5 + test -f "$f" || { { echo "$as_me:6112: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo $f;; @@ -6247,7 +6122,7 @@ echo $srcdir/$f else # /dev/null tree - { { echo "$as_me:6250: error: cannot find input file: $f" >&5 + { { echo "$as_me:6125: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; @@ -6308,7 +6183,7 @@ * ) ac_file_in=$ac_file.in ;; esac - test x"$ac_file" != x- && { echo "$as_me:6311: creating $ac_file" >&5 + test x"$ac_file" != x- && { echo "$as_me:6186: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} # First look for the input files in the build tree, otherwise in the @@ -6319,7 +6194,7 @@ -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) - test -f "$f" || { { echo "$as_me:6322: error: cannot find input file: $f" >&5 + test -f "$f" || { { echo "$as_me:6197: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo $f;; @@ -6332,7 +6207,7 @@ echo $srcdir/$f else # /dev/null tree - { { echo "$as_me:6335: error: cannot find input file: $f" >&5 + { { echo "$as_me:6210: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; @@ -6449,7 +6324,7 @@ rm -f $tmp/in if test x"$ac_file" != x-; then if cmp -s $ac_file $tmp/config.h 2>/dev/null; then - { echo "$as_me:6452: $ac_file is unchanged" >&5 + { echo "$as_me:6327: $ac_file is unchanged" >&5 echo "$as_me: $ac_file is unchanged" >&6;} else ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ @@ -6516,11 +6391,11 @@ $ac_cs_success || { (exit 1); exit 1; } fi - echo "$as_me:6519: result: " >&5 + echo "$as_me:6394: result: " >&5 echo "${ECHO_T}" >&6 - echo "$as_me:6521: result: ${SB}Ettercap has been configured as follow...${EB}" >&5 + echo "$as_me:6396: result: ${SB}Ettercap has been configured as follow...${EB}" >&5 echo "${ECHO_T}${SB}Ettercap has been configured as follow...${EB}" >&6 - echo "$as_me:6523: result: " >&5 + echo "$as_me:6398: result: " >&5 echo "${ECHO_T}" >&6 echo "==================================================" diff -urN ettercap-0.5.4.orig/configure.in ettercap-0.5.4/configure.in --- ettercap-0.5.4.orig/configure.in Thu Sep 6 16:44:55 2001 +++ ettercap-0.5.4/configure.in Thu Sep 6 17:14:18 2001 @@ -245,7 +245,7 @@ curses_warn=0 ac_cv_ec_ncurses=no - AC_CHECK_HEADERS(ncurses.h,,ncurses_warn=1) + AC_CHECK_HEADERS(ncurses/ncurses.h,,ncurses_warn=1) AC_CHECK_LIB(ncurses,newwin,,ncurses_warn=1) AC_CHECK_LIB(ncurses,newpad,,ncurses_warn=1) @@ -271,7 +271,7 @@ form_warn=0 if test "$ncurses_warn$curses_warn" -eq "00"; then - AC_CHECK_HEADERS(form.h,,form_warn=1) + AC_CHECK_HEADERS(ncurses/form.h,,form_warn=1) AC_CHECK_LIB(form,form_win,,form_warn=1) ac_cv_ec_form=no diff -urN ettercap-0.5.4.orig/ettercap.8 ettercap-0.5.4/ettercap.8 --- ettercap-0.5.4.orig/ettercap.8 Thu Jan 1 01:00:00 1970 +++ ettercap-0.5.4/ettercap.8 Thu Sep 6 17:14:33 2001 @@ -0,0 +1,552 @@ +.\" ettercap -- a ncurses-based sniffer/interceptor utility for switched LAN +.\" +.\" Copyright (C) 2001 ALoR , NaGA +.\" +.\" This program is free software; you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation; either version 2 of the License, or +.\" (at your option) any later version. +.\" +.\" This program is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. +.\" +.\" You should have received a copy of the GNU General Public License +.\" along with this program; if not, write to the Free Software +.\" Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +.de Sp +.if n .sp +.if t .sp 0.4 +.. +.TH ETTERCAP "8" "20010906" "ettercap 0.5.4" +.SH NAME +.B ettercap 0.5.4 \- A multipurpose sniffer over switched LANs + +.SH SYNOPSIS +.B ettercap +[\fIOPTIONS\fR] [\fIHOST:PORT\fR] [\fIHOST:PORT\fR] [\fIMAC\fR] [\fIMAC\fR] + +.SH DESCRIPTION +Ettercap was born as a sniffer for switched LAN (and obviously even "hubbed" one), +but during the development process it has gained more and more feature that have +changed it to a powerful and flexible tool for man-in-the-middle attacks. +It supports active and passive dissection of many protocols (even ciphered ones) +and includes many feature for network and host analysis (such as OS fingerprint). +.PP +It has five sniffing methods: +.br ++ IPBASED, the packets are filtered matching IP:PORT source and IP:PORT dest +.br ++ MACBASED, packets filtered matching the source and dest MAC address. (useful +to sniff connections through gateway) +.br ++ ARPBASED, uses arp poisoning to sniff in switched LAN between two hosts +(full-duplex m-i-t-m). +.br ++ SMARTARP, uses arp poisoning to sniff in switched LAN from a victim host to all other +hosts knowing the entire list of the hosts (full-duplex m-i-t-m). +.br ++ PUBLICARP, uses arp poison to sniff in switched LAN from a victim host to all other +hosts (half-duplex). +.br +With this method the ARP replies are sent in broadcast, but if ettercap has the complete +host list (on start up it has scanned the LAN) SMARTARP method is automatically selected, +and the arp replies are sent to all the hosts but the victim, avoiding conflicting MAC +addresses as reported by win2K. +.PP +The most relevant ettercap features are: +.PP +.B Characters injection in an established connection : +you can inject character to server (emulating commands) or to client (emulating replies) +maintaining the connection alive !! +.PP +.B SSH1 support : +you can sniff User and Pass, and even the data of an SSH1 connection. ettercap is the +first software capable to sniff an SSH connection in FULL-DUPLEX +.PP +.B HTTPS support : +you can sniff http SSL secured data... and even if the connection is made through a PROXY +.PP +.B Plug-ins support : +You can create your own plugin using the ettercap's API. +.PP +.B Password collector for : +TELNET, FTP, POP, RLOGIN, SSH1, ICQ, SMB, MySQL, HTTP, NNTP, X11, NAPSTER, IRC, RIP, BGP, +SOCKS 5, IMAP 4, VNC (other protocols coming soon...) +.PP +.B Packet filtering/dropping: +You can set up a filter chain that search for a particular string (even hex) in the TCP +or UDP payload and replace it with yours or drop the entire packet. +.PP +.B OS fingerprint: +you can fingerprint the OS of the victim host and even its network adapter (it uses the +nmap (c) Fyodor database) +.PP +.B Kill a connection: +from the connections list you can kill all the connections you want +.PP +.B Packet factory: +You can create and sent packet forged on the fly. The factory let you to forge from Ethernet +header to application level. + +.PP +.SH OPTIONS +Options that make sense together can generally be combined. ettercap will warn the user +about unsupported option combinations. +.TP +.B SNIFFING METHODS +.TP +\fB\-a\fR, \fB\-\-arpsniff\fR +ARP BASED sniffing +.br +This is THE sniffing method for switched LAN, and if you want to use the man-in-the-middle +technique you have to use it. In conjunction with the silent mode (-z option) you must +specify two IP and two MAC for ARPBASED (full-duplex) or one IP and one MAC for PUBLICARP +(half-duplex). in PUBLICARP the ARP replies are sent in broadcast, but if ettercap has +the complete host list (on start up it has scanned the LAN) SMARTARP method is automatically +selected, and the arp replies are sent to all the hosts but the victim, and an hash table +is created to re-route back the packet form victim to client obtaining in this way a full-duplex +man in the middle attack. +.br +Filters that have as action a replacement or a drop, can be used only with ARPBASED +sniffing because it is necessary to re-adjust the sequence number in full-duplex in order +to maintain the connection alive. +.TP +\fB\-s\fR, \fB\-\-sniff\fR +IP BASED sniffing +.br +This is the good old style sniffing method. It rocks on "hubbed" LAN, but useless on switched +ones. You can choose the target specifying only source, only dest, with or without port, or +nothing (to sniff all connections). A special ip "ANY" means from or to every host. +.TP +\fB\-m\fR, \fB\-\-macsniff\fR +MAC BASED sniffing (you must select two host for this) +.br +Very useful to sniff TCP traffic with remote hosts. On hubbed LANs if you want to sniff a +connection through a gateway is useless to specify the victim's ip and the gateway's ip, +because the packet are for an external host, not for the gateway. So you can use this method. +Simply specify the victim's MAC and the gateway's MAC and you will see all the connections +from and to the Internet. + + +.TP +.B GENERAL OPTIONS +.TP +\fB\-N\fR, \fB\-\-simple\fR +NON interactive mode (without ncurses) +.br +This method is useful if you want to launch ettercap from a script or if you already +know some informations of your target or if you want to launch ettercap in background +collecting data or password for you (in combination with the --quiet option). +.br +Some features are not available in this method, obviously the ones which requires +interaction with the user, such as characters injection. But others (for example filtering) +are fully supported, so you can set up ettercap to poison two host (a victim and its gateway) +and to filter all its connection on the port 80 and replace some string with others, +all its traffic to the Internet will be changed as you wish. +.TP +\fB\-z\fR, \fB\-\-silent\fR +start in silent mode (no arp storm on start up) +.br +If you want to launch ettercap with a non invasive method (some NIDS may raise a warn +if they detects too much arp request). You have to know all the requested data of the +target in order to use this options. For example if you want to poison two host, you need +the two IP and the two MAC addresses of the victims. +If you select ipsniff or macsniff this method is automatically selected, because you don't +need to know the list of the host in the LAN. +.br +To know the entire list of the hosts use "ettercap -Nl", but remember that it is a invasive +method. +.TP +\fB\-b\fR, \fB\-\-broadping\fR +use a broadcast ping instead of arp storm on start up. +.br +this method is less intrusive, but even less accurate. some hosts will not respond at the +broadcast ping (es. Windows) so they remain invisible to this method. Useful if you want to +scan a LAN with Linux hosts. As usual you can combine this option with --list to have a +list of the hosts "ettercap -Nlb" +.TP +\fB\-D\fR, \fB\-\-delay \fR +the delay in seconds between the arp replies if you have selected an ARP poison sniffing +method. This is useful if you want to be less aggressive in the poisoning. On many OS the +default validity interval of the arp cache is more than a minute (on FreeBSD is 1200 sec). +.br +The default delay value is 30 sec. +.TP +\fB\-Z\fR, \fB\-\-stormdelay \fR +the delay in micro-seconds between the arp request on arp storm at start up. +This is useful if you want to be less aggressive in the scanning. Many IDS will report +massive arp request, but if you send them in a slower rate, they will not report any strange +behavior. +.br +The default delay value is 1500 usec. +.TP +\fB\-S\fR, \fB\-\-spoof \fR +If you want to elude some IDS, you can specify a spoofed IP used to scan the LAN with +arp request. The source MAC can't be spoofed because a well configured switch will block +your request. +.TP +\fB\-H\fR, \fB\-\-hosts \fR +on start up, scan only these hosts. +.br +this is useful if you want to use an ARP scanning of the LAN but only on certain IPs. +so you can benefit from a ARP scan but remaining less invasive. +Useful even if you want to do PUBLIC ARP but you want to poison only specific hosts. +since with a list PUBLIC ARP is automatically converted to SMARTARP, only these host +will be poisoned and you can leave untouched the arp caches of the other hosts. +.br +the IP list must be in dotted notation and separated by comma (without black spaces +between them), you can use wildcards. +.br +eg: 192.168.0.2? --> from 20 to 29 +.br + 192.168.0.1* --> host 1, from 10 to 19 and from 100 to 199 +.TP +\fB\-d\fR, \fB\-\-dontresolve\fR +don't resolve IPs on start up. this is useful if you experience an insane "Resolving +n hostnames..." message on start up. This is due to a very slow DNS in your environment. +.TP +\fB\-i\fR, \fB\-\-iface \fR +network interface to be used for all the operation. you can even specify network aliases +in order to scan a subnet with different ip form your current one. +.TP +\fB\-n\fR, \fB\-\-netmask \fR +the netmask used to scan the LAN. (in dotted notation). the default is your current +ifconfig netmask. but your netmask is for example 255.255.0.0 I encourage you to specify +a more restrictive one, if you managed to do an ARP scanning on start up. +.TP +\fB\-e\fR, \fB\-\-etterconf \fR +use the config file instead of command line options +.br +etter.conf example file is packaged in the tarball, refer to it to know how to write a +config file. all the instruction are written in this example. via the conf file you +can disable selectively one protocol dissector or move it on one other port. +.br +command line options and config file can be mixed for much flexibility, but remember +that the options in the config file override the command line, so if in etter.conf +you have specified IFACE: eth0, and you launch "ettercap -i eth1 -e etter.conf" +the selected iface will be eth0. +.br +NOTE: the "-e etter.conf" options has to be specified after all other options. +.TP +\fB\-v\fR, \fB\-\-version\fR +check for the latest ettercap version. +.br +All operation are under your control. Every step requires a user confirmation. +With this option ettercap will connect to the http://ettercap.sourceforge.net:80 web +side and ask for the page /latest.php. then the result are parsed and compared with +your current version. If there is a newer version available, ettercap will ask you if +you want to wget it. (wget must be in the path). +.br +If you want to automatically answer yes at all the question add the option -y +.TP +\fB\-h\fR, \fB\-\-help\fR +prints the help screen with a short summary of the available options. + + + +.TP +.B SILENT MODE OPTIONS (only combined with -N) +.TP +\fB\-u\fR, \fB\-\-udp\fR +sniff only UDP packets (default is TCP). +This option is only useful in "simple" mode, if you start ettercap in interactive mode +both TCP and UDP are sniffed. +.TP +\fB\-R\fR, \fB\-\-reverse\fR +sniff all the connection but the selected one. This option is useful if you are using +ettercap on a remote machine and you want to sniff all the traffic but you connection from +local to remote, because including it will sniff even the ettercap output and it will be +screwed up... +.TP +\fB\-p\fR, \fB\-\-plugin \fR +run the plugin "NAME". +.br +most plugins need a destination host. simply specify it after plugin name, in fact +hosts are parsed on command line as first the DEST and so the SOURCE. +.br +To have a list of the available plugins use "list" (without quotes) as plugin name. +.br +More detailed info about plugins and about how to write your own are found in the +README.PLUGINS file. +.Sp +Currently these plugins are shipped with the official distro: +.Sp + arpcop -- Report suspicious ARP replies (developed by acelent) +.br + banshee -- They kill without discretion... +.br + dummy -- Dummy plugin. It does nothing ! (only a template) +.br + golem -- nice D.O.S. BE CAREFUL !! +.br + leech -- Isolate a host from the LAN +.br + lurker -- try to search for other ettercap +.br + imp -- Retrieves some Windows names +.br + ooze -- Ping a host +.br + phantom -- Sniff/Spoof DNS requests +.br + shadow -- A very simple SYN/TCP port scanner +.br + spectre -- flood a switched LAN with random MAC addresses +.br + triton -- Try to discover the LAN's gateway +.TP +\fB\-l\fR, \fB\-\-list\fR +lists all the hosts in the LAN, reporting each MAC address. +.br +Commonly combined options are -b (for broadcast ping) and -d (don't resolve hostname). +.TP +\fB\-C\fR, \fB\-\-collect\fR +collect all users and password from the hosts specified on command line. +.br +Password collector are configured in the config file (etter.conf), if you want +you can disable them selectively or move them on other port. This is useful if you +don't want to sniff SSH connection (the key change alert will raise suspects) but +want to sniff all other supported protocols. Or even if you know that a host has the +telnet service on port 4567, simply move the telnet dissector on 4567/tcp +.TP +\fB\-f\fR, \fB\-\-fingerprint \fR +do OS fingerprinting on HOST. +.br +This option uses the same database and the same method used by +.I nmap (c) Fyodor +so I report a piece of its man page : +.Sp +This option activates remote host identification via TCP/IP fingerprinting. In other +words, it uses a bunch of techniques to detect subtleties in the underlying operating +system network stack of the computers you are scanning. It uses this information to +create a 'fingerprint' which it compares with its database of known OS fingerprints +(the nmap-os-fingerprints file) to decide what type of system you are scanning. +.Sp +the -f options even provides you the vendor of the network adapter of the scanned host. +the info are stored in the mac-fingerprints database. +.TP +\fB\-x\fR, \fB\-\-hexview\fR +to dump data in hex mode. +.br +TIP: while sniffing you can change the visualization mode by hitting 'a' for ascii or 'x' for hex. +on line help is recalled by 'h'. +.TP +\fB\-L\fR, \fB\-\-logtofile\fR +if used alone logs all data to specific file(s). it crates a separate file for each connection +in the form "YYYYMMDD-P-IP:PORT-IP:PORT.log" +.br +if used with -C (collector) it creates a file with all the password sniffed in the session in +the form "YYYYMMDD-collected-pass.log" +.TP +\fB\-q\fR, \fB\-\-quiet\fR +"demonize" ettercap. +.br +useful if you want to log all data in background. this options will detach +ettercap from the current tty and set it as a demon collecting data to files. it must be +combined with -NL (or -NLC) otherwise it has no effects. Obviously the sniffing method +is required, so you have to combine it with this option. +.TP +\fB\-k\fR, \fB\-\-newcert\fR +create a new cert file for HTTPS man-in-the-middle. +.br +useful if you want to create a certfile with social engineered information... +.br +the new file is created in the current working directory. to permanently substitute the +default cert file (etter.sll.crt) you have to overwrite /usr/share/ettercap/etter.ssl.crt +.TP +\fB\-F\fR, \fB\-\-filter \fR +load the filters chains from FILENAME +.br +the Filtering chains file is written in pseudo XML format. You can write by hand this +file or (better) use the ncurses interface to let ettercap create it (press 'F' in the +connection list interface). If you are skilled in XML parsing, you can write your own +program to make a filter chain file. +.Sp +the rules are simple: +.Sp +If the proto AND the source port AND the dest port AND the payload +match the rules, after the filter as done its action , it jumps in the chain +to the filter id specified in the field, else it jumps to . +If these field are left blank the chain is interrupted. Source and dest port equal to +0 (zero) means ANY port. You can use wildcards in the search string (see README for detail) +.Sp +NOTE: with this options filter are enabled by default, if you want to +disable them on the fly, press "S" (for source) or "D" (for dest) while sniffing +.Sp +NOTE: on command line the hosts are parsed as "ettercap -F etter.filter DEST SOURCE", so +the first host is bound to the dest chain and the second to the source chain. +.Sp +VERY IMPORTANT: the source chain is applied to data COMING FROM source and NOT GOING TO +source. keep this in mind !! the same is for dest... +.TP +\fB\-c\fR, \fB\-\-check\fR +check if you were poisoned by other poisoners in the LAN +.TP +\fB\-t\fR, \fB\-\-linktype\fR +check if you are on a switched LAN or not... Sometimes this discovery method can fail. +don't trust it at 100% + + +.SH TARGET SPECIFICATION +The targets are parsed on command line in reverse order. The first host is the DEST and the +second is the SOURCE. this doesn't care if you are sniffing in ip based mode, because +source and dest are ignored, but if you are filtering the connection this is crucial for +the binding of the related filter chain. +.br +The reverse order is due to a more intuitive interface for plugins. because some plugins +need the dest host to be specified, it is simpler to type: +"ettercap -Np ooze victim" than "ettercap -Np ooze NOONE victim". +.br +The targets can be specified in dotted notation (192.168.0.1) or with their symbolic name +(victim.mynet.org). Only within the -H (--hosts) option you can use wildcards. + + +.SH INTERACTIVE MODE +The interactive mode (ncurses mode) is automatically selected if ettercap is launched +without the option -N . Explain what you can do with it will take pages and pages... and I'm +not a good writer... so if you don't know what can you do in some circumstances, simply +press 'H' and a help screen will popup. there you can find a detailed list of all available +commands. + + +.SH EXAMPLES +Here are some examples of using ettercap. +.TP +.B ettercap -b +.Sp +On startup use broadcast ping to scan the LAN instead of ARP request all the +subnet IPs. +.TP +.B ettercap -H "192.168.0.?,192.168.0.3?,192.168.0.2*" +.Sp +On startup scan only the host 192.168.0.1-9, 192.168.0.30-39, 192.168.0.2, +192.168.0.20-29 and 192.168.0.200-255. +if the PUBLICARP method will be selected only these host will be poisoned. +.TP +.B ettercap -s 192.168.0.1 192.168.0.2 +.Sp +Enter the interactive mode and sniff only the connections between 192.168.0.1 and 192.168.0.2 +.TP +.B ettercap -Nzs -F etter.filter 192.168.0.1 192.168.0.2 +.Sp +Load filter from etter.filter and activate them on all the connection between 192.168.0.1 +and 192.168.0.2 . Only Log action will be supported because it is a -s (ipsniffing) method. +192.168.0.1 is bound to the dest chain and 192.168.0.2 to the source one. +To enable even the replacement and drop actions you have to launch "ettercap -Nza -F +etter.filter IP IP MAC MAC" +.TP +.B ettercap -zs -e etter.conf +.Sp +Use the ip based sniffing mode and load the other option from the config file (etter.conf). +Note that options in the file override command line. +.TP +.B ettercap -Nzs victim.my.net ANY:80 +.Sp +Sniffs in console mode (non interactive) only the connection to and from "victim.my.net" +starting or ending to all other hosts but on port 80 (www). data are dumped in ASCII +mode. to dump in HEX mode add the -x option. +.TP +.B ettercap -NRzs remote.host.net:23 my.local.host.com +.Sp +Useful to sniffs in console mode (non interactive) all the connection on a remote LAN +on which you are executing ettercap. this example will prevent to show your telnet (:23) +connection from "my.local.host.com" to "remote.host.net". +.TP +.B ettercap -Nclt +.Sp +This will provide you the entire list of hosts in the LAN. Will check if someone is +poisoning you and will report its IP. Will tell you if you are on a switched LAN or not. +.TP +.B ettercap -NCLzs --quiet +.Sp +This will detach ettercap from console and log to a file all the collected password. +Only works if the LAN is hubbed, or if collected password are directed to your host. +.TP +.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 +.Sp +Collect password to stdout on a switched LAN. this will poison the two host 192.168.0.1 +and 192.168.0.2 each other. The delay between arp replies is set to 100 sec. +.TP +.B ettercap -Np triton +.Sp +Launch the plugin "triton" that will try to passively search for the LAN gateway. +.TP +.B ettercap -Np ooze victim.mynet.org +.Sp +Launch the plugin "ooze" that will portscan the host "victim.mynet.org" that will be translated +with the right IP + +.SH PLATFORMS +Linux 2.0.x 2.2.x 2.4.x +.br +FreeBSD 4.x +.br +OpenBSD 2.[789] +.br +NetBSD 1.5 +.br +Mac OS X (darwin 1.3) + + +.SH FILES +/usr/share/ettercap/etter.conf - the config file +.br +/usr/share/ettercap/etter.filter - the filter chains +.br +/usr/share/ettercap/etter.ssl.crt - the SSL certificate for HTTPS m-i-t-m +.br +/usr/share/ettercap/mac-fingerprints - the network adapter vendor database +.br +/usr/share/ettercap/nmap-os-fingerprints - the nmap (c) Fyodor os fingerprint +.br +/usr/doc/ettercap-0.5.4/* - the DOCUMENTATION + + +.SH AUTHORS +Alberto Ornaghi (ALoR) +.br +Marco Valleri (NaGA) + + +.SH AVAILABILITY +http://ettercap.sourceforge.net/download/ +.Sp +Or if you want to do an automatic check of the latest version try "ettercap -vy" + + +.SH BUGS +Our software never has bugs. +.br +It just develops random features. ;) +.PP +.B KNOWN-BUGS +.PP +- It is better that you don't launch ettercap on a host that is a gateway +because it needs to disable ip_forwarding, it may cause problem with routing. +.PP +- You cannot use plugins on yourself. outgoing link layer packets are not +captured by the same socket, so they will be ignored. +.PP +- While poisoning on a switched LAN, ettercap won't sniff the traffic made +by your host to others. the technical reason is: otherwise ettercap will +forward your packets two time (and this is not good...) the artistic +reason is: why sniffing yourself with a man-in-the-middle method ? use +simple sniffing instead ! ;) +.PP +- While sniffing in Public ARP mode, ettercap can "view" only one way of +the connection, so some protocol dissectors can fail... +.PP +- under X11 resizing the xterm can give a corrupted visualization of the +interface. SIGWINCH is *partially* supported. +.PP +- ettercap doesn't handle fragmented packets... only the first segment +will be displayed by the sniffer. However all the fragments are correctly +forwarded. +.PP ++ please send bug-report, patches or suggestions to +or visit http://ettercap.sourceforge.net/forum/ and post it in the BUGS section. +.PP ++ to report a bug, recompile ettercap with 'configure --enable-debug' +and attach ettercap_debug.log to the mail in which U explain the problem. diff -urN ettercap-0.5.4.orig/ettercap.spec ettercap-0.5.4/ettercap.spec --- ettercap-0.5.4.orig/ettercap.spec Thu Jan 1 01:00:00 1970 +++ ettercap-0.5.4/ettercap.spec Thu Sep 6 17:14:33 2001 @@ -0,0 +1,40 @@ +%define prefix /usr + +Summary: ettercap is a ncurses-based sniffer/interceptor utility +Name: ettercap +Version: 0.5.4 +Release: 1 +Serial: 20010906 +Packager: ALoR +Source: http://ettercap.sourceforge.net/download/%{name}-%{version}.tar.gz +URL: http://ettercap.sourceforge.net/ +License: GPL +Group: Networking/Utilities +Prefix: %{prefix} +Buildroot: %{_tmppath}/%{name}-%{version}-root + +%description +ettercap is a multipurpose sniffer/interceptor/logger for switched or "hubbed" LAN. + +%prep +%setup -q + +%build +./configure --prefix=%{prefix} --disable-debug --mandir=%{_mandir} +make +make plug-ins + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT +make plug-ins_install DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +%{_mandir}/man8/* +%doc COPYING README README.PLUGINS HISTORY CHANGELOG AUTHORS TODO THANKS KNOWN-BUGS PORTINGS +%{prefix}/bin/* +%{prefix}/share/ettercap/* diff -urN ettercap-0.5.4.orig/plugins/Makefile ettercap-0.5.4/plugins/Makefile --- ettercap-0.5.4.orig/plugins/Makefile Thu Jan 1 01:00:00 1970 +++ ettercap-0.5.4/plugins/Makefile Thu Sep 6 17:14:34 2001 @@ -0,0 +1,34 @@ + +PLUGINS = arpcop banshee dummy golem imp leech lurker ooze phantom shadow spectre triton +INSTALL = /usr/bin/install -c +DESTDIR = + +prefix = /usr +exec_prefix = /usr + +BINDIR = /usr/bin +SHAREDIR = ${prefix}/share/ettercap + +all: plugins + +plugins: + for plug in $(PLUGINS); do \ + cd $$plug && make && cd .. ; \ + done + +install: plugins + for plug in $(PLUGINS); do \ + $(INSTALL) -d $(DESTDIR)$(SHAREDIR) ; \ + $(INSTALL) -m 700 ./$$plug/ec_$$plug.so $(DESTDIR)$(SHAREDIR) ; \ + done + +clean: + rm -f *.bak + for plug in $(PLUGINS); do \ + cd $$plug && make clean && cd .. ; \ + done + +distclean: + for plug in $(PLUGINS); do \ + cd $$plug && make distclean && cd .. ; \ + done diff -urN ettercap-0.5.4.orig/plugins/arpcop/Makefile ettercap-0.5.4/plugins/arpcop/Makefile --- ettercap-0.5.4.orig/plugins/arpcop/Makefile Thu Jan 1 01:00:00 1970 +++ ettercap-0.5.4/plugins/arpcop/Makefile Thu Sep 6 17:14:34 2001 @@ -0,0 +1,27 @@ + +CC = i686-pld-linux-gcc +DEFS = -fPIC -DPIC -shared -DHAVE_CONFIG_H -DLINUX + +CFLAG = -O2 -Wall +COPTS = -I../.. + +PROG = arpcop + +ALLOPT = $(CFLAG) $(COPTS) + + +all: $(PROG) + +$(PROG): + $(CC) $(ALLOPT) $(DEFS) $(PROG).c -o ec_$(PROG).so + @echo + @echo "$(PROG) plugin is ready..." + @echo + +clean: + rm -f *.bak + rm -f ec_$(PROG).so + +distclean: clean + rm -f Makefile + diff -urN ettercap-0.5.4.orig/plugins/banshee/Makefile ettercap-0.5.4/plugins/banshee/Makefile --- ettercap-0.5.4.orig/plugins/banshee/Makefile Thu Jan 1 01:00:00 1970 +++ ettercap-0.5.4/plugins/banshee/Makefile Thu Sep 6 17:14:34 2001 @@ -0,0 +1,27 @@ + +CC = i686-pld-linux-gcc +DEFS = -fPIC -DPIC -shared -DHAVE_CONFIG_H -DLINUX + +CFLAG = -O2 -Wall +COPTS = -I../.. + +PROG = banshee + +ALLOPT = $(CFLAG) $(COPTS) + + +all: $(PROG) + +$(PROG): + $(CC) $(ALLOPT) $(DEFS) $(PROG).c -o ec_$(PROG).so + @echo + @echo "$(PROG) plugin is ready..." + @echo + +clean: + rm -f *.bak + rm -f ec_$(PROG).so + +distclean: clean + rm -f Makefile + diff -urN ettercap-0.5.4.orig/plugins/dummy/Makefile ettercap-0.5.4/plugins/dummy/Makefile --- ettercap-0.5.4.orig/plugins/dummy/Makefile Thu Jan 1 01:00:00 1970 +++ ettercap-0.5.4/plugins/dummy/Makefile Thu Sep 6 17:14:34 2001 @@ -0,0 +1,27 @@ + +CC = i686-pld-linux-gcc +DEFS = -fPIC -DPIC -shared -DHAVE_CONFIG_H -DLINUX + +CFLAG = -O2 -Wall +COPTS = -I../.. + +PROG = dummy + +ALLOPT = $(CFLAG) $(COPTS) + + +all: $(PROG) + +$(PROG): + $(CC) $(ALLOPT) $(DEFS) $(PROG).c -o ec_$(PROG).so + @echo + @echo "$(PROG) plugin is ready..." + @echo + +clean: + rm -f *.bak + rm -f ec_$(PROG).so + +distclean: clean + rm -f Makefile + diff -urN ettercap-0.5.4.orig/plugins/golem/Makefile ettercap-0.5.4/plugins/golem/Makefile --- ettercap-0.5.4.orig/plugins/golem/Makefile Thu Jan 1 01:00:00 1970 +++ ettercap-0.5.4/plugins/golem/Makefile Thu Sep 6 17:14:34 2001 @@ -0,0 +1,27 @@ + +CC = i686-pld-linux-gcc +DEFS = -fPIC -DPIC -shared -DHAVE_CONFIG_H -DLINUX + +CFLAG = -O2 -Wall +COPTS = -I../.. + +PROG = golem + +ALLOPT = $(CFLAG) $(COPTS) + + +all: $(PROG) + +$(PROG): + $(CC) $(ALLOPT) $(DEFS) $(PROG).c -o ec_$(PROG).so + @echo + @echo "$(PROG) plugin is ready..." + @echo + +clean: + rm -f *.bak + rm -f ec_$(PROG).so + +distclean: clean + rm -f Makefile + diff -urN ettercap-0.5.4.orig/plugins/imp/Makefile ettercap-0.5.4/plugins/imp/Makefile --- ettercap-0.5.4.orig/plugins/imp/Makefile Thu Jan 1 01:00:00 1970 +++ ettercap-0.5.4/plugins/imp/Makefile Thu Sep 6 17:14:34 2001 @@ -0,0 +1,27 @@ + +CC = i686-pld-linux-gcc +DEFS = -fPIC -DPIC -shared -DHAVE_CONFIG_H -DLINUX + +CFLAG = -O2 -Wall +COPTS = -I../.. + +PROG = imp + +ALLOPT = $(CFLAG) $(COPTS) + + +all: $(PROG) + +$(PROG): + $(CC) $(ALLOPT) $(DEFS) $(PROG).c -o ec_$(PROG).so + @echo + @echo "$(PROG) plugin is ready..." + @echo + +clean: + rm -f *.bak + rm -f ec_$(PROG).so + +distclean: clean + rm -f Makefile + diff -urN ettercap-0.5.4.orig/plugins/leech/Makefile ettercap-0.5.4/plugins/leech/Makefile --- ettercap-0.5.4.orig/plugins/leech/Makefile Thu Jan 1 01:00:00 1970 +++ ettercap-0.5.4/plugins/leech/Makefile Thu Sep 6 17:14:34 2001 @@ -0,0 +1,27 @@ + +CC = i686-pld-linux-gcc +DEFS = -fPIC -DPIC -shared -DHAVE_CONFIG_H -DLINUX + +CFLAG = -O2 -Wall +COPTS = -I../.. + +PROG = leech + +ALLOPT = $(CFLAG) $(COPTS) + + +all: $(PROG) + +$(PROG): + $(CC) $(ALLOPT) $(DEFS) $(PROG).c -o ec_$(PROG).so + @echo + @echo "$(PROG) plugin is ready..." + @echo + +clean: + rm -f *.bak + rm -f ec_$(PROG).so + +distclean: clean + rm -f Makefile + diff -urN ettercap-0.5.4.orig/plugins/lurker/Makefile ettercap-0.5.4/plugins/lurker/Makefile --- ettercap-0.5.4.orig/plugins/lurker/Makefile Thu Jan 1 01:00:00 1970 +++ ettercap-0.5.4/plugins/lurker/Makefile Thu Sep 6 17:14:34 2001 @@ -0,0 +1,27 @@ + +CC = i686-pld-linux-gcc +DEFS = -fPIC -DPIC -shared -DHAVE_CONFIG_H -DLINUX + +CFLAG = -O2 -Wall +COPTS = -I../.. + +PROG = lurker + +ALLOPT = $(CFLAG) $(COPTS) + + +all: $(PROG) + +$(PROG): + $(CC) $(ALLOPT) $(DEFS) $(PROG).c -o ec_$(PROG).so + @echo + @echo "$(PROG) plugin is ready..." + @echo + +clean: + rm -f *.bak + rm -f ec_$(PROG).so + +distclean: clean + rm -f Makefile + diff -urN ettercap-0.5.4.orig/plugins/ooze/Makefile ettercap-0.5.4/plugins/ooze/Makefile --- ettercap-0.5.4.orig/plugins/ooze/Makefile Thu Jan 1 01:00:00 1970 +++ ettercap-0.5.4/plugins/ooze/Makefile Thu Sep 6 17:14:34 2001 @@ -0,0 +1,27 @@ + +CC = i686-pld-linux-gcc +DEFS = -fPIC -DPIC -shared -DHAVE_CONFIG_H -DLINUX + +CFLAG = -O2 -Wall +COPTS = -I../.. + +PROG = ooze + +ALLOPT = $(CFLAG) $(COPTS) + + +all: $(PROG) + +$(PROG): + $(CC) $(ALLOPT) $(DEFS) $(PROG).c -o ec_$(PROG).so + @echo + @echo "$(PROG) plugin is ready..." + @echo + +clean: + rm -f *.bak + rm -f ec_$(PROG).so + +distclean: clean + rm -f Makefile + diff -urN ettercap-0.5.4.orig/plugins/phantom/Makefile ettercap-0.5.4/plugins/phantom/Makefile --- ettercap-0.5.4.orig/plugins/phantom/Makefile Thu Jan 1 01:00:00 1970 +++ ettercap-0.5.4/plugins/phantom/Makefile Thu Sep 6 17:14:34 2001 @@ -0,0 +1,28 @@ + +CC = i686-pld-linux-gcc +DEFS = -fPIC -DPIC -shared -DHAVE_CONFIG_H -DLINUX +LIBS = -lresolv + +CFLAG = -O2 -Wall +COPTS = -I../.. + +PROG = phantom + +ALLOPT = $(CFLAG) $(COPTS) + + +all: $(PROG) + +$(PROG): + $(CC) $(ALLOPT) $(DEFS) $(PROG).c -o ec_$(PROG).so $(LIBS) + @echo + @echo "$(PROG) plugin is ready..." + @echo + +clean: + rm -f *.bak + rm -f ec_$(PROG).so + +distclean: clean + rm -f Makefile + diff -urN ettercap-0.5.4.orig/plugins/shadow/Makefile ettercap-0.5.4/plugins/shadow/Makefile --- ettercap-0.5.4.orig/plugins/shadow/Makefile Thu Jan 1 01:00:00 1970 +++ ettercap-0.5.4/plugins/shadow/Makefile Thu Sep 6 17:14:34 2001 @@ -0,0 +1,27 @@ + +CC = i686-pld-linux-gcc +DEFS = -fPIC -DPIC -shared -DHAVE_CONFIG_H -DLINUX + +CFLAG = -O2 -Wall +COPTS = -I../.. + +PROG = shadow + +ALLOPT = $(CFLAG) $(COPTS) + + +all: $(PROG) + +$(PROG): + $(CC) $(ALLOPT) $(DEFS) $(PROG).c -o ec_$(PROG).so + @echo + @echo "$(PROG) plugin is ready..." + @echo + +clean: + rm -f *.bak + rm -f ec_$(PROG).so + +distclean: clean + rm -f Makefile + diff -urN ettercap-0.5.4.orig/plugins/spectre/Makefile ettercap-0.5.4/plugins/spectre/Makefile --- ettercap-0.5.4.orig/plugins/spectre/Makefile Thu Jan 1 01:00:00 1970 +++ ettercap-0.5.4/plugins/spectre/Makefile Thu Sep 6 17:14:34 2001 @@ -0,0 +1,27 @@ + +CC = i686-pld-linux-gcc +DEFS = -fPIC -DPIC -shared -DHAVE_CONFIG_H -DLINUX + +CFLAG = -O2 -Wall +COPTS = -I../.. + +PROG = spectre + +ALLOPT = $(CFLAG) $(COPTS) + + +all: $(PROG) + +$(PROG): + $(CC) $(ALLOPT) $(DEFS) $(PROG).c -o ec_$(PROG).so + @echo + @echo "$(PROG) plugin is ready..." + @echo + +clean: + rm -f *.bak + rm -f ec_$(PROG).so + +distclean: clean + rm -f Makefile + diff -urN ettercap-0.5.4.orig/plugins/triton/Makefile ettercap-0.5.4/plugins/triton/Makefile --- ettercap-0.5.4.orig/plugins/triton/Makefile Thu Jan 1 01:00:00 1970 +++ ettercap-0.5.4/plugins/triton/Makefile Thu Sep 6 17:14:34 2001 @@ -0,0 +1,27 @@ + +CC = i686-pld-linux-gcc +DEFS = -fPIC -DPIC -shared -DHAVE_CONFIG_H -DLINUX + +CFLAG = -O2 -Wall +COPTS = -I../.. + +PROG = triton + +ALLOPT = $(CFLAG) $(COPTS) + + +all: $(PROG) + +$(PROG): + $(CC) $(ALLOPT) $(DEFS) $(PROG).c -o ec_$(PROG).so + @echo + @echo "$(PROG) plugin is ready..." + @echo + +clean: + rm -f *.bak + rm -f ec_$(PROG).so + +distclean: clean + rm -f Makefile + Binary files ettercap-0.5.4.orig/src/ec_buffer.o and ettercap-0.5.4/src/ec_buffer.o differ diff -urN ettercap-0.5.4.orig/src/ec_debug.c ettercap-0.5.4/src/ec_debug.c --- ettercap-0.5.4.orig/src/ec_debug.c Tue Jul 17 05:21:56 2001 +++ ettercap-0.5.4/src/ec_debug.c Thu Sep 6 17:26:23 2001 @@ -36,7 +36,7 @@ #ifdef HAVE_NCURSES_H #include #else - #include + #include #endif #endif Binary files ettercap-0.5.4.orig/src/ec_debug.o and ettercap-0.5.4/src/ec_debug.o differ Binary files ettercap-0.5.4.orig/src/ec_decodedata.o and ettercap-0.5.4/src/ec_decodedata.o differ Binary files ettercap-0.5.4.orig/src/ec_dissector.o and ettercap-0.5.4/src/ec_dissector.o differ Binary files ettercap-0.5.4.orig/src/ec_dissector_bgp.o and ettercap-0.5.4/src/ec_dissector_bgp.o differ Binary files ettercap-0.5.4.orig/src/ec_dissector_ftp.o and ettercap-0.5.4/src/ec_dissector_ftp.o differ Binary files ettercap-0.5.4.orig/src/ec_dissector_http.o and ettercap-0.5.4/src/ec_dissector_http.o differ Binary files ettercap-0.5.4.orig/src/ec_dissector_https.o and ettercap-0.5.4/src/ec_dissector_https.o differ Binary files ettercap-0.5.4.orig/src/ec_dissector_icq.o and ettercap-0.5.4/src/ec_dissector_icq.o differ Binary files ettercap-0.5.4.orig/src/ec_dissector_imap.o and ettercap-0.5.4/src/ec_dissector_imap.o differ Binary files ettercap-0.5.4.orig/src/ec_dissector_irc.o and ettercap-0.5.4/src/ec_dissector_irc.o differ Binary files ettercap-0.5.4.orig/src/ec_dissector_mysql.o and ettercap-0.5.4/src/ec_dissector_mysql.o differ Binary files ettercap-0.5.4.orig/src/ec_dissector_napster.o and ettercap-0.5.4/src/ec_dissector_napster.o differ Binary files ettercap-0.5.4.orig/src/ec_dissector_nntp.o and ettercap-0.5.4/src/ec_dissector_nntp.o differ Binary files ettercap-0.5.4.orig/src/ec_dissector_pcanywhere.o and ettercap-0.5.4/src/ec_dissector_pcanywhere.o differ Binary files ettercap-0.5.4.orig/src/ec_dissector_pop.o and ettercap-0.5.4/src/ec_dissector_pop.o differ Binary files ettercap-0.5.4.orig/src/ec_dissector_rip.o and ettercap-0.5.4/src/ec_dissector_rip.o differ Binary files ettercap-0.5.4.orig/src/ec_dissector_rlogin.o and ettercap-0.5.4/src/ec_dissector_rlogin.o differ Binary files ettercap-0.5.4.orig/src/ec_dissector_smb.o and ettercap-0.5.4/src/ec_dissector_smb.o differ Binary files ettercap-0.5.4.orig/src/ec_dissector_socks.o and ettercap-0.5.4/src/ec_dissector_socks.o differ Binary files ettercap-0.5.4.orig/src/ec_dissector_ssh.o and ettercap-0.5.4/src/ec_dissector_ssh.o differ Binary files ettercap-0.5.4.orig/src/ec_dissector_telnet.o and ettercap-0.5.4/src/ec_dissector_telnet.o differ Binary files ettercap-0.5.4.orig/src/ec_dissector_vnc.o and ettercap-0.5.4/src/ec_dissector_vnc.o differ Binary files ettercap-0.5.4.orig/src/ec_dissector_x11.o and ettercap-0.5.4/src/ec_dissector_x11.o differ Binary files ettercap-0.5.4.orig/src/ec_doppleganger.o and ettercap-0.5.4/src/ec_doppleganger.o differ Binary files ettercap-0.5.4.orig/src/ec_error.o and ettercap-0.5.4/src/ec_error.o differ Binary files ettercap-0.5.4.orig/src/ec_filterdrop.o and ettercap-0.5.4/src/ec_filterdrop.o differ Binary files ettercap-0.5.4.orig/src/ec_fingerprint.o and ettercap-0.5.4/src/ec_fingerprint.o differ Binary files ettercap-0.5.4.orig/src/ec_grell.o and ettercap-0.5.4/src/ec_grell.o differ Binary files ettercap-0.5.4.orig/src/ec_illithid.o and ettercap-0.5.4/src/ec_illithid.o differ Binary files ettercap-0.5.4.orig/src/ec_inet.o and ettercap-0.5.4/src/ec_inet.o differ Binary files ettercap-0.5.4.orig/src/ec_inet_forge.o and ettercap-0.5.4/src/ec_inet_forge.o differ diff -urN ettercap-0.5.4.orig/src/ec_interface.c ettercap-0.5.4/src/ec_interface.c --- ettercap-0.5.4.orig/src/ec_interface.c Thu Jul 19 05:50:07 2001 +++ ettercap-0.5.4/src/ec_interface.c Thu Sep 6 17:26:24 2001 @@ -26,7 +26,7 @@ #ifdef HAVE_NCURSES_H #include #else - #include + #include #endif #include #include Binary files ettercap-0.5.4.orig/src/ec_interface.o and ettercap-0.5.4/src/ec_interface.o differ diff -urN ettercap-0.5.4.orig/src/ec_interface_factory.c ettercap-0.5.4/src/ec_interface_factory.c --- ettercap-0.5.4.orig/src/ec_interface_factory.c Thu Jul 5 18:53:17 2001 +++ ettercap-0.5.4/src/ec_interface_factory.c Thu Sep 6 17:26:24 2001 @@ -26,7 +26,7 @@ #ifdef HAVE_NCURSES_H #include #else - #include + #include #endif #include #include @@ -34,7 +34,7 @@ #include #endif #ifdef HAVE_FORM - #include + #include #endif diff -urN ettercap-0.5.4.orig/src/ec_interface_form.c ettercap-0.5.4/src/ec_interface_form.c --- ettercap-0.5.4.orig/src/ec_interface_form.c Wed Jul 11 13:56:26 2001 +++ ettercap-0.5.4/src/ec_interface_form.c Thu Sep 6 17:26:24 2001 @@ -27,13 +27,13 @@ #ifdef HAVE_NCURSES_H #include #else - #include + #include #endif #include #ifdef HAVE_CTYPE_H #include #endif - #include + #include #include "include/ec_error.h" diff -urN ettercap-0.5.4.orig/src/ec_interface_inject.c ettercap-0.5.4/src/ec_interface_inject.c --- ettercap-0.5.4.orig/src/ec_interface_inject.c Sat Jul 14 19:55:26 2001 +++ ettercap-0.5.4/src/ec_interface_inject.c Thu Sep 6 17:26:24 2001 @@ -26,7 +26,7 @@ #ifdef HAVE_NCURSES_H #include #else - #include + #include #endif #include #include @@ -34,7 +34,7 @@ #include #endif #ifdef HAVE_FORM - #include + #include #endif diff -urN ettercap-0.5.4.orig/src/ec_interface_plugins.c ettercap-0.5.4/src/ec_interface_plugins.c --- ettercap-0.5.4.orig/src/ec_interface_plugins.c Sun Jul 15 17:35:16 2001 +++ ettercap-0.5.4/src/ec_interface_plugins.c Thu Sep 6 17:26:24 2001 @@ -27,7 +27,7 @@ #ifdef HAVE_NCURSES_H #include #else - #include + #include #endif #include #include diff -urN ettercap-0.5.4.orig/src/ec_interface_sniff.c ettercap-0.5.4/src/ec_interface_sniff.c --- ettercap-0.5.4.orig/src/ec_interface_sniff.c Mon Jul 23 22:06:08 2001 +++ ettercap-0.5.4/src/ec_interface_sniff.c Thu Sep 6 17:26:24 2001 @@ -26,7 +26,7 @@ #ifdef HAVE_NCURSES_H #include #else - #include + #include #endif #include #include diff -urN ettercap-0.5.4.orig/src/ec_interface_sniff_data.c ettercap-0.5.4/src/ec_interface_sniff_data.c --- ettercap-0.5.4.orig/src/ec_interface_sniff_data.c Mon Jul 2 15:55:25 2001 +++ ettercap-0.5.4/src/ec_interface_sniff_data.c Thu Sep 6 17:26:24 2001 @@ -26,7 +26,7 @@ #ifdef HAVE_NCURSES_H #include #else - #include + #include #endif #include #include diff -urN ettercap-0.5.4.orig/src/ec_main.c ettercap-0.5.4/src/ec_main.c --- ettercap-0.5.4.orig/src/ec_main.c Fri Jul 20 01:33:17 2001 +++ ettercap-0.5.4/src/ec_main.c Thu Sep 6 17:26:24 2001 @@ -230,7 +230,7 @@ #ifdef HAVE_NCURSES_H #include #else - #include + #include #endif #endif diff -urN ettercap-0.5.4.orig/src/ec_plugins.c ettercap-0.5.4/src/ec_plugins.c --- ettercap-0.5.4.orig/src/ec_plugins.c Sun Jul 15 17:36:58 2001 +++ ettercap-0.5.4/src/ec_plugins.c Thu Sep 6 17:26:24 2001 @@ -39,7 +39,7 @@ #ifdef HAVE_NCURSES_H #include #else - #include + #include #endif #include "include/ec_interface_plugins.h" extern WINDOW *plugin_window, *main_window; diff -urN ettercap-0.5.4.orig/src/ec_signal.c ettercap-0.5.4/src/ec_signal.c --- ettercap-0.5.4.orig/src/ec_signal.c Sat Jul 21 17:27:20 2001 +++ ettercap-0.5.4/src/ec_signal.c Thu Sep 6 17:26:24 2001 @@ -35,7 +35,7 @@ #ifdef HAVE_NCURSES_H #include #else - #include + #include #endif #include "include/ec_interface.h" #include "include/ec_interface_sniff_data.h"