ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] [PATCH] wireshark doesn't compile if configure --with-plugins=no

From: didier <dgautheron@xxxxxxxx>
Date: Sun, 10 Jun 2007 15:01:27 +0200
Hi,
I'm not sure it's the right way to do it though.


Didier
Index: editcap.c
===================================================================
--- editcap.c	(révision 22041)
+++ editcap.c	(copie de travail)
@@ -388,8 +388,10 @@
 	g_free(init_progfile_dir_error);
     } else {
 	init_report_err(failure_message,NULL,NULL);
+#ifdef HAVE_PLUGINS
 	init_plugins();
 	register_all_wiretap_modules();
+#endif
     }
     
   /* Process the options */
Index: capinfos.c
===================================================================
--- capinfos.c	(révision 22041)
+++ capinfos.c	(copie de travail)
@@ -281,8 +281,10 @@
 	g_free(init_progfile_dir_error);
     } else {
 	init_report_err(failure_message,NULL,NULL);
+#ifdef HAVE_PLUGINS
 	init_plugins();
 	register_all_wiretap_modules();
+#endif
     }
     
   /* Process the options */