]> git.samba.org - obnox/wireshark/wip.git/commitdiff
Make the top-level "config.h.win32" more closely resemble the top-level
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 17 Oct 2000 09:25:37 +0000 (09:25 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 17 Oct 2000 09:25:37 +0000 (09:25 +0000)
"config.h", and update it to include stuff added to "config.h" and
remove stuff removed from "config.h".

Give libethereal a "config.h.win32" and make its "Makefile.nmake" file
copy it to "config.h".

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2504 f5534014-38df-0310-8fa8-9805f1628bb7

config.h.win32
epan/Makefile.am
epan/Makefile.nmake
epan/config.h.win32 [new file with mode: 0644]

index 677bc1ed6c3da3aff9ac4a3f05357f02794716c1..e7760b280f365b315767f0d5893402c280bd3129 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: config.h.win32,v 1.17 2000/09/14 10:02:59 gram Exp $ */
+/* $Id: config.h.win32,v 1.18 2000/10/17 09:25:36 guy Exp $ */
 /* config.h.win32 Generated manually. :-) */
 /* config.h.  Generated automatically by configure.  */
 /* config.h.in.  Generated automatically from configure.in by autoheader.  */
    byte first (like Motorola and SPARC, unlike Intel and VAX).  */
 /* #undef WORDS_BIGENDIAN */
 
+/* Define if lex declares yytext as a char * by default, not a char[].  */
+/* #undef YYTEXT_POINTER */
+
+#define HAVE_PLUGINS           1
+#define PLUGINS_NEED_ADDRESS_TABLE 1
+
 /* #undef HAVE_SA_LEN */
 
 #define DATAFILE_DIR "/usr/local/etc"
-#define PLUGIN_DIR "/usr/local/lib/ethereal/plugins/0.8.12"
-
-/* Version number of package */
-#define VERSION "0.8.12"
 
 /* #undef NEED_SNPRINTF_H */
 
 
 #define NEED_MKSTEMP 1
 
+#define HAVE_LIBPCAP 1
+
+/* Define if you have the gethostbyname2 function.  */
+/* #undef HAVE_GETHOSTBYNAME2 */
+
+/* Define if you have the getprotobynumber function.  */
+/* #undef HAVE_GETPROTOBYNUMBER */
+
+/* Define if you have the <arpa/inet.h> header file.  */
+/* #undef HAVE_ARPA_INET_H */
+
+/* Define if you have the <dlfcn.h> header file.  */
+/* #undef HAVE_DLFCN_H */
+
 /* Define if you have the <fcntl.h> header file.  */
 #define HAVE_FCNTL_H 1
 
+/* Define if you have the <netdb.h> header file.  */
+/* #undef HAVE_NETDB_H */
+
 /* Define if you have the <netinet/in.h> header file.  */
 /* #define HAVE_NETINET_IN_H 1 */
 
 /* Define if you have the <snmp/snmp.h> header file.  */
 /* #undef HAVE_SNMP_SNMP_H */
 
+/* Define if you have the <snmp/version.h> header file.  */
+/* #undef HAVE_SNMP_VERSION_H */
+
 /* Define if you have the <stdarg.h> header file.  */
 #define HAVE_STDARG_H 1
 
+/* Define if you have the <stddef.h> header file.  */
+/* #undef HAVE_STDDEF_H */
+
 /* Define if you have the <sys/ioctl.h> header file.  */
 /* #undef HAVE_SYS_IOCTL_H */
 
+/* Define if you have the <sys/socket.h> header file.  */
+/* #undef HAVE_SYS_SOCKET_H */
+
 /* Define if you have the <sys/sockio.h> header file.  */
 /* #undef HAVE_SYS_SOCKIO_H */
 
 
 /* Define if you have the <sys/time.h> header file.  */
 /* #define HAVE_SYS_TIME_H 1 */
-/* #undef HAVE_DIRENT_H 1 */
 
 /* Define if you have the <sys/types.h> header file.  */
 #define HAVE_SYS_TYPES_H 1
 
+/* Define if you have the <sys/wait.h> header file.  */
+/* #undef HAVE_SYS_WAIT_H */
+
 /* Define if you have the <ucd-snmp/snmp.h> header file.  */
 /* #undef HAVE_UCD_SNMP_SNMP_H */
 
+/* Define if you have the <ucd-snmp/version.h> header file.  */
+/* #undef HAVE_UCD_SNMP_VERSION_H */
+
 /* Define if you have the <unistd.h> header file.  */
 /* #define HAVE_UNISTD_H 1 */
 
-/* Define if you have the pcap library (-lpcap).  */
-#define HAVE_LIBPCAP 1
-
 /* Define if you have the z library (-lz).  */
 /*#define HAVE_LIBZ 1*/
 
-/* Name of package */
-#define PACKAGE "ethereal"
-
 #ifndef WIN32
 #define WIN32                  1
 #endif
 /*#define ZLIB_DLL                1
 #define _WINDOWS                1*/
 
-#define HAVE_PLUGINS           1
-#define PLUGINS_NEED_ADDRESS_TABLE 1
+/* Name of package */
+#define PACKAGE "ethereal"
+
+/* Version number of package */
+#define VERSION "0.8.12"
+
+/* Plugin installation directory */
+#define PLUGIN_DIR "/usr/local/lib/ethereal/plugins/0.8.12"
+
index 5d12aeeac1e41a17df6d642cfa59790e0f422e15..d1c2610f4fc3b7495552a77de2d6bffe31fd4d48 100644 (file)
@@ -2,7 +2,7 @@
 # Automake file for the EPAN library
 # (Ethereal Protocol ANalyzer Library)
 #
-# $Id: Makefile.am,v 1.10 2000/10/16 23:17:39 guy Exp $
+# $Id: Makefile.am,v 1.11 2000/10/17 09:25:36 guy Exp $
 #
 # Ethereal - Network traffic analyzer
 # By Gerald Combs <gerald@zing.org>
@@ -79,6 +79,7 @@ EXTRA_libethereal_a_SOURCES = \
        inet_v6defs.h
 
 EXTRA_DIST = \
+       config.h.win32          \
        Makefile.nmake
 
 CLEANFILES = \
index 3b59aefc02afbf58500f1a8f7faedd9d5b09f89e..4ed7939fcf732146f3fb6971914ea077af467f7a 100644 (file)
@@ -35,10 +35,10 @@ OBJECTS=conversation.obj \
        tvbuff.obj       \
 
 # For use when making ethereal.dll
-#ethereal.dll ethereal.lib     : ..\config.h $(OBJECTS)
+#ethereal.dll ethereal.lib     : config.h $(OBJECTS)
 #      link /DLL /out:ethereal.dll $(OBJECTS) $(libethereal_LIBS)
 
-ethereal.lib   : ..\config.h $(OBJECTS)
+ethereal.lib   : config.h $(OBJECTS)
        lib /out:ethereal.lib $(OBJECTS)
 
 dfilter-scanner.obj : dfilter-scanner.c dfilter-grammar.h
@@ -49,8 +49,8 @@ dfilter-scanner.c : dfilter-scanner.l
 dfilter-grammar.c dfilter-grammar.h : dfilter-grammar.y
        $(YACC) $(YACC_OPTS) -d -p dfilter_ dfilter-grammar.y -o dfilter-grammar.c
 
-..\config.h    : ..\config.h.win32
-       copy ..\config.h.win32 ..\config.h
+config.h       : config.h.win32
+       copy config.h.win32 $@
 
 clean:
        rm -f $(OBJECTS) ethereal.lib
diff --git a/epan/config.h.win32 b/epan/config.h.win32
new file mode 100644 (file)
index 0000000..fdb429e
--- /dev/null
@@ -0,0 +1,94 @@
+/* $Id: config.h.win32,v 1.1 2000/10/17 09:25:37 guy Exp $ */
+/* config.h.win32 Generated manually. :-) */
+/* config.h.  Generated automatically by configure.  */
+/* config.h.in.  Generated automatically from configure.in by autoheader.  */
+
+/* Define if you have the ANSI C header files.  */
+#define STDC_HEADERS 1
+
+/* Define if lex declares yytext as a char * by default, not a char[].  */
+#define YYTEXT_POINTER 1
+
+#define HAVE_PLUGINS 1
+
+#define DATAFILE_DIR "/usr/local/etc"
+
+#define NEED_INET_ATON_H 1
+
+#define NEED_INET_V6DEFS_H 1
+
+/* Define if you have the <arpa/inet.h> header file.  */
+/* #undef HAVE_ARPA_INET_H */
+
+/* Define if you have the <arpa/nameser.h> header file.  */
+/* #undef HAVE_ARPA_NAMESER_H */
+
+/* Define if you have the <direct.h> header file.  */
+#define HAVE_DIRECT_H 1
+
+/* Define if you have the <dirent.h> header file.  */
+/* #undef HAVE_DIRENT_H */
+
+/* Define if you have the <dlfcn.h> header file.  */
+/* #undef HAVE_DLFCN_H */
+
+/* Define if you have the <fcntl.h> header file.  */
+#define HAVE_FCNTL_H 1
+
+/* Define if you have the <netdb.h> header file.  */
+/* #undef HAVE_NETDB_H */
+
+/* Define if you have the <netinet/in.h> header file.  */
+/* #define HAVE_NETINET_IN_H 1 */
+
+/* Define if you have the <stdarg.h> header file.  */
+#define HAVE_STDARG_H 1
+
+/* Define if you have the <sys/param.h> header file.  */
+/* #undef HAVE_SYS_PARAM_H */
+
+/* Define if you have the <sys/socket.h> header file.  */
+/* #undef HAVE_SYS_SOCKET_H */
+
+/* Define if you have the <sys/stat.h> header file.  */
+#define HAVE_SYS_STAT_H 1
+
+/* Define if you have the <sys/time.h> header file.  */
+/* #undef HAVE_SYS_TIME_H */
+
+/* Define if you have the <sys/types.h> header file.  */
+#define HAVE_SYS_TYPES_H 1
+
+/* Define if you have the <unistd.h> header file.  */
+/* #undef HAVE_UNISTD_H */
+
+#define HAVE_PLUGINS           1
+#define PLUGINS_NEED_ADDRESS_TABLE 1
+
+#ifndef WIN32
+#define WIN32                  1
+#endif
+
+#define HAVE_WINDOWS_H         1
+#define HAVE_WINSOCK_H         1
+#define HAVE_DIRECT_H          1
+#define HAVE_IO_H              1
+#define NEED_GETOPT_H          1
+#define snprintf               _snprintf
+#define vsnprintf              _vsnprintf
+#define strcasecmp             stricmp
+#define strncasecmp            strnicmp
+#define open                   _open
+#define close                  _close
+#define popen                  _popen
+#define pclose                 _pclose
+
+/* Needed for zlib, according to http://www.winimage.com/zLibDll/ */
+/*#define ZLIB_DLL                1
+#define _WINDOWS                1*/
+
+/* Name of package */
+#define PACKAGE "libethereal.a"
+
+/* Version number of package */
+#define VERSION "0.0.0"