-/* this enumerates which plugin capabilities correspond to user-settable options */
-struct hwcap_option hwcap_options[] = {
- { HWCAP_SAMPLERATE, T_UINT64, "Sample rate", "samplerate" },
- { 0, 0, NULL, NULL }
+#ifdef HAVE_LA_DEMO
+extern SR_PRIV struct sr_dev_plugin demo_plugin_info;
+#endif
+#ifdef HAVE_LA_SALEAE_LOGIC
+extern SR_PRIV struct sr_dev_plugin saleae_logic_plugin_info;
+#endif
+#ifdef HAVE_LA_OLS
+extern SR_PRIV struct sr_dev_plugin ols_plugin_info;
+#endif
+#ifdef HAVE_LA_ZEROPLUS_LOGIC_CUBE
+extern SR_PRIV struct sr_dev_plugin zeroplus_logic_cube_plugin_info;
+#endif
+#ifdef HAVE_LA_ASIX_SIGMA
+extern SR_PRIV struct sr_dev_plugin asix_sigma_plugin_info;
+#endif
+#ifdef HAVE_LA_CHRONOVU_LA8
+extern SR_PRIV struct sr_dev_plugin chronovu_la8_plugin_info;
+#endif
+#ifdef HAVE_LA_LINK_MSO19
+extern SR_PRIV struct sr_dev_plugin link_mso19_plugin_info;
+#endif
+#ifdef HAVE_LA_ALSA
+extern SR_PRIV struct sr_dev_plugin alsa_plugin_info;
+#endif
+#ifdef HAVE_LA_FX2LAFW
+extern SR_PRIV struct sr_dev_plugin fx2lafw_plugin_info;
+#endif
+
+static struct sr_dev_plugin *plugins_list[] = {
+#ifdef HAVE_LA_DEMO
+ &demo_plugin_info,
+#endif
+#ifdef HAVE_LA_SALEAE_LOGIC
+ &saleae_logic_plugin_info,
+#endif
+#ifdef HAVE_LA_OLS
+ &ols_plugin_info,
+#endif
+#ifdef HAVE_LA_ZEROPLUS_LOGIC_CUBE
+ &zeroplus_logic_cube_plugin_info,
+#endif
+#ifdef HAVE_LA_ASIX_SIGMA
+ &asix_sigma_plugin_info,
+#endif
+#ifdef HAVE_LA_CHRONOVU_LA8
+ &chronovu_la8_plugin_info,
+#endif
+#ifdef HAVE_LA_LINK_MSO19
+ &link_mso19_plugin_info,
+#endif
+#ifdef HAVE_LA_ALSA
+ &alsa_plugin_info,
+#endif
+#ifdef HAVE_LA_FX2LAFW
+ &fx2lafw_plugin_info,
+#endif
+ NULL,