--- CMakeLists.txt.orig	2013-12-30 05:11:07.000000000 +0900
+++ CMakeLists.txt	2014-06-11 08:53:10.000000000 +0900
@@ -125,7 +125,7 @@
   ${CMAKE_CURRENT_BINARY_DIR}/plplot_config.h
   )
 # Allow access to the generated plplot_config.h for this build.
-add_definitions("-DHAVE_CONFIG_H")
+add_definitions("-DPLPLOT_HAVE_CONFIG_H")
 # Install top-level files
 
 # Enable testing framework for examples