#374 removed HAVE_LIBDXFLIB from config.h.in and config/CMakeLists.txt since dxflib is now always bundled, but the C source still guards DXF UI/CLI code behind #ifdef HAVE_LIBDXFLIB / #if HAVE_LIBDXFLIB (12 occurrences):
callbacks.c: lines 660, 836
main.c: lines 514, 527, 540, 1203, 1237, 1500, 1517
interface.c: lines 185, 448, 1379
Since the macro is never defined, DXF export menu items, file-save-as options, and CLI flags are compiled out. export-dxf.cpp is linked into libgerbv but the application never calls it.
Fix: remove the 12 guards and their #endif counterparts, since dxflib is now unconditionally available.
#374 removed
HAVE_LIBDXFLIBfromconfig.h.inandconfig/CMakeLists.txtsince dxflib is now always bundled, but the C source still guards DXF UI/CLI code behind#ifdef HAVE_LIBDXFLIB/#if HAVE_LIBDXFLIB(12 occurrences):callbacks.c: lines 660, 836main.c: lines 514, 527, 540, 1203, 1237, 1500, 1517interface.c: lines 185, 448, 1379Since the macro is never defined, DXF export menu items, file-save-as options, and CLI flags are compiled out.
export-dxf.cppis linked into libgerbv but the application never calls it.Fix: remove the 12 guards and their
#endifcounterparts, since dxflib is now unconditionally available.