Files

13 lines
365 B
C
Raw Permalink Normal View History

2015-04-22 20:16:04 +00:00
--- include/plConfig.h.in.orig 2015-04-12 10:08:04 UTC
+++ include/plConfig.h.in
@@ -43,7 +43,8 @@
#ifndef __PLCONFIG_H__
#define __PLCONFIG_H__
-#ifdef PLPLOT_HAVE_CONFIG_H
+// plplot_config.h won't be installed: don't let it be used by consumers
+#if defined(PLPLOT_HAVE_CONFIG_H) && defined(_IS_BUILDING_PLPLOT_PORT_)
# include <plplot_config.h>
#endif