2020-08-08 15:47:34 +02:00
|
|
|
put /tmpasm/IFS {\n}
|
|
|
|
|
put /local/xschem/includes [@
|
|
|
|
|
#define _XOPEN_SOURCE
|
|
|
|
|
@?libs/gui/cairo/includes@
|
|
|
|
|
@?libs/gui/xrender/includes@
|
|
|
|
|
@?libs/gui/xcb/includes@
|
|
|
|
|
@?libs/gui/xcb_render/includes@
|
|
|
|
|
@?libs/gui/xgetxcbconnection/includes@
|
|
|
|
|
@libs/gui/xpm/includes@
|
|
|
|
|
@libs/script/tk/includes@
|
|
|
|
|
@libs/script/tcl/includes@
|
|
|
|
|
@]
|
|
|
|
|
|
|
|
|
|
uniq /local/xschem/includes
|
2024-05-01 11:53:54 +02:00
|
|
|
gsub /local/xschem/includes {[\\][n]} {\n}
|
2020-08-08 15:47:34 +02:00
|
|
|
put /tmpasm/IFS { \t\r\n}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
print [@/*************************************************************/
|
|
|
|
|
/* Generated by scconfig - DO NOT EDIT - will be overwritten */
|
|
|
|
|
/* Source: config.h.in; to regenerate run ./configure */
|
|
|
|
|
/*************************************************************/@]
|
|
|
|
|
|
2023-09-22 01:21:32 +02:00
|
|
|
print {\n\n/* Uncomment following line to work around some GPU problems in graphic operations */\n}
|
|
|
|
|
print {/* with tiled fill pattern. Restore of damaged content will use XCopyArea() */\n}
|
|
|
|
|
print {/* #define FIX_BROKEN_TILED_FILL 1 */}
|
|
|
|
|
|
2024-11-13 01:35:24 +01:00
|
|
|
# print {\n\n/* Define this var if libreadline is available and is to be used */\n}
|
|
|
|
|
# print_ternary ?libs/tty/readline/presents {#define HAS_LIBREADLINE 1} {/*#undef HAS_LIBREADLINE */}
|
2024-05-01 11:53:54 +02:00
|
|
|
|
2023-01-18 03:33:28 +01:00
|
|
|
print {\n\n/* Define this var if libjpeg is available and is to be used */\n}
|
|
|
|
|
print_ternary ?libs/sul/libjpeg/presents {#define HAS_LIBJPEG 1} {/*#undef HAS_LIBJPEG */}
|
|
|
|
|
|
2020-10-28 00:23:26 +01:00
|
|
|
print {\n\n/* Define this var if cairo is available and is to be used */\n}
|
2020-08-08 15:47:34 +02:00
|
|
|
print_ternary ?libs/gui/cairo/presents {#define HAS_CAIRO 1} {/*#undef HAS_CAIRO */}
|
|
|
|
|
|
2022-12-07 11:32:40 +01:00
|
|
|
print {\n\n/* Define this var if Xlib's xcb is available */\n}
|
|
|
|
|
print_ternary ?libs/gui/xcb/presents {#define HAS_XCB 1} {/*#undef HAS_XCB */}
|
|
|
|
|
|
2021-10-25 01:53:00 +02:00
|
|
|
print {\n\n/* Define this var if dup2(2) is available */\n}
|
|
|
|
|
print_ternary ?libs/io/dup2/presents {#define HAS_DUP2 1} {/*#undef HAS_DUP2 */}
|
|
|
|
|
|
2020-10-28 00:23:26 +01:00
|
|
|
print {\n\n/* Define this var if popen(3) is available */\n}
|
2020-08-08 15:47:34 +02:00
|
|
|
print_ternary ?libs/io/popen/presents {#define HAS_POPEN 1} {/*#undef HAS_POPEN */}
|
|
|
|
|
|
2020-10-28 00:23:26 +01:00
|
|
|
print {\n\n/* Define this var if popen(3) is not available but fork(2) and pipe(2) are available */\n}
|
2020-08-08 15:47:34 +02:00
|
|
|
print_ternary ?libs/io/pipe/presents {#define HAS_PIPE 1} {/*#undef HAS_PIPE */}
|
|
|
|
|
|
|
|
|
|
print [@
|
|
|
|
|
|
2023-01-25 02:25:24 +01:00
|
|
|
/* typedef @sys/types/size/4_u_int@ xuint32_t; */
|
|
|
|
|
/* typedef @sys/types/size/4_s_int@ xint32_t; */
|
2020-08-08 15:47:34 +02:00
|
|
|
#define PREFIX "@/local/xschem/prefix@"
|
2025-09-26 15:57:40 +02:00
|
|
|
#define XSCHEM_LIBRARY_PATH { @/local/xschem/xschem-lib-path@ }
|
2020-08-08 15:47:34 +02:00
|
|
|
#define USER_CONF_DIR "@/local/xschem/user-conf-dir@"
|
|
|
|
|
#define XSCHEM_SHAREDIR PREFIX "/share/xschem"
|
|
|
|
|
|
|
|
|
|
/* Extra includes required by the detected libs (may be empty): */
|
|
|
|
|
|
|
|
|
|
@/local/xschem/includes@
|
|
|
|
|
|
|
|
|
|
@]
|