Description: ifndef for macro definitions
 added ifndef to macro definitions that can be passed from cmake
---
Origin: other

--- laserboy-2012.05.03.orig/src/LaserBoy_macros.hpp
+++ laserboy-2012.05.03/src/LaserBoy_macros.hpp
@@ -70,12 +70,18 @@
 //----------------------------------------------------------------------------
 #define    LASERBOY_TXT_VERSION            "LaserBoy-txt-07-08-2009"
 //----------------------------------------------------------------------------
-#define    LASERBOY_ILD_SHARE              (string("./ild/"))
-#define    LASERBOY_WAV_SHARE              (string("./wav/"))
+#ifndef LASERBOY_ILD_SHARE
+  #define    LASERBOY_ILD_SHARE            (string("./ild/"))
+#endif
+#ifndef LASERBOY_WAV_SHARE
+  #define    LASERBOY_WAV_SHARE            (string("./wav/"))
+#endif
 #define    LASERBOY_UNFORMATTED_SHARE      (string("./wav/unformatted/"))
 #define    LASERBOY_AUDIO_SHARE            (string("./wav/audio/"))
 #define    LASERBOY_DXF_SHARE              (string("./dxf/"))
-#define    LASERBOY_BMP_SHARE              (string("./bmp/"))
+#ifndef LASERBOY_BMP_SHARE
+  #define    LASERBOY_BMP_SHARE            (string("./bmp/"))
+#endif
 #define    LASERBOY_TXT_SHARE              (string("./txt/"))
 #define    LASERBOY_RESCALE_SHARE          (string("./txt/rescales/"))
 #define    LASERBOY_WTF_SHARE              (string("./wtf/"))
