summaryrefslogtreecommitdiffstats
path: root/src/menus-skeleton.h
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2015-11-09 00:46:25 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2015-11-09 00:46:25 +0000
commit94f3d50ddcbd6ceca8d3d834554a5100142648e4 (patch)
tree678134bf89fec34955dc6fdcba44c24d772a7de3 /src/menus-skeleton.h
parentAdd CMake check for Potrace from OSP: http://goo.gl/AEzbkQ (diff)
downloadinkscape-94f3d50ddcbd6ceca8d3d834554a5100142648e4.tar.gz
inkscape-94f3d50ddcbd6ceca8d3d834554a5100142648e4.zip
Enable builds without flood/trace on systems without Potrace
(bzr r14449.1.4)
Diffstat (limited to 'src/menus-skeleton.h')
-rw-r--r--src/menus-skeleton.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/menus-skeleton.h b/src/menus-skeleton.h
index f5e815bf6..b02b31bd9 100644
--- a/src/menus-skeleton.h
+++ b/src/menus-skeleton.h
@@ -1,7 +1,9 @@
#ifndef SEEN_MENUS_SKELETON_H
#define SEEN_MENUS_SKELETON_H
-#include "config.h"
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
#ifdef __cplusplus
#undef N_
@@ -221,7 +223,11 @@ static char const menus_skeleton[] =
" <submenu name=\"" N_("_Path") "\">\n"
" <verb verb-id=\"ObjectToPath\" />\n"
" <verb verb-id=\"StrokeToPath\" />\n"
+
+#if HAVE_POTRACE
" <verb verb-id=\"SelectionTrace\" />\n"
+#endif
+
" <verb verb-id=\"SelectionPixelArt\" />\n"
" <separator/>\n"
" <verb verb-id=\"SelectionUnion\" />\n"