print [@ /***** Generated by scconfig - DO NOT EDIT *****/

/* Source: config.h.in; to regenerate run ./configure */

#ifndef PCB_CONFIG_H
#define PCB_CONFIG_H

#include <librnd/config.h>

/****************************************************************************/
/* Package properties */

/* Name of package */
#define PCB_PACKAGE "pcb-rnd"

/* Default application symbol prefix (e.g. for RND_ACT_* macros) */
#define RND_APP_PREFIX(x)  pcb_ ## x

/****************************************************************************/
/* Paths */
@]

switch sys/class
	case {win32}
		print [@
#define PCB_PREFIX rnd_w32_root
#define PCBSHAREDIR rnd_w32_sharedir
#define PCBLIBDIR rnd_w32_libdir
#define BINDIR rnd_w32_bindir
#define PCBCONFDIR @/local/confdir@
@]
		end;
	default
		print [@
#define PCB_PREFIX "@/local/prefix@"
#define PCBSHAREDIR PCB_PREFIX "/share/pcb-rnd"
#define PCBLIBDIR PCB_PREFIX "/lib/pcb-rnd"
#define BINDIR PCB_PREFIX "/bin"
#define PCBCONFDIR "@/local/confdir@"
@]
		end;
end;

print {/* Temporary: will be removed if export_png is moved to librnd */\n}
print {\n\n/* Define to 1 if you have the <gd.h> header file. */\n}
print_ternary ?libs/gui/gd/presents {#define PCB_HAVE_GD_H 1} {/* #undef PCB_HAVE_GD_H */}

print {\n\n/* Define to 1 if you have the `gdImageGif' function. */\n}
print_ternary ?libs/gui/gd/gdImageGif/presents {#define PCB_HAVE_GDIMAGEGIF 1} {/* #undef PCB_HAVE_GDIMAGEGIF */}

print {\n\n/* Define to 1 if you have the `gdImageJpeg' function. */\n}
print_ternary ?libs/gui/gd/gdImageJpeg/presents {#define PCB_HAVE_GDIMAGEJPEG 1} {/* #undef PCB_HAVE_GDIMAGEJPEG */}

print {\n\n/* Define to 1 if you have the `gdImagePng' function. */\n}
print_ternary ?libs/gui/gd/gdImagePng/presents {#define PCB_HAVE_GDIMAGEPNG 1} {/* #undef PCB_HAVE_GDIMAGEPNG */}

print {\n\n/* Define to 1 if you have the `gdImageSetResolution' function. */\n}
print_ternary ?libs/gui/gd/gdImageSetResolution/presents {#define PCB_HAVE_GD_RESOLUTION 1} {/* #undef PCB_HAVE_GD_RESOLUTION */}

print {\n\n/* Define to 1 if you have libxml2 installed. */\n}
print_ternary ?libs/sul/libxml2/presents {#define PCB_HAVE_LIBXML2 1} {/* #undef PCB_HAVE_LIBXML2 */}


print [@

/* Relative path from bindir to exec_prefix */
#define BINDIR_TO_EXECPREFIX ".."

/* Version number of package */
#define PCB_VERSION "@/local/version@"
#define PCB_REVISION "@/local/revision@"

/* the dot-dir: where to save user config under ther user's home; it's used
   as ~/DOT_PCB_RND/ */
#define DOT_PCB_RND "@/local/pcb/dot_pcb_rnd@"

#define PCB_LIBRND_VER_REQ_MAJOR @/local/librnd_ver_req_major@
#define PCB_LIBRND_VER_REQ_MINOR @/local/librnd_ver_req_minor@

#endif
@]

