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

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

#ifndef LIBRND_MAIN_CONFIG_H
#define LIBRND_MAIN_CONFIG_H

#include <librnd/config.h>

/****************************************************************************/
/* These ones are autodetected by scconfig */
@]

print {\n\n/* Define to 1 if you have the <gd.h> header file. */\n}
print_ternary ?libs/gui/gd/presents {#define RND_HAVE_GD_H 1} {/* #undef RND_HAVE_GD_H */}

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

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

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

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

print [@
/****************************************************************************/
/* Paths */
@]

switch sys/class
	case {win32}
		print [@
#define RND_PREFIX rnd_w32_root
#define RND_BINDIR rnd_w32_bindir
@]
		end;
	default
		print [@
#define RND_PREFIX "@/local/prefix@"
#define LIBRNDSHAREDIR_RELATIVE "/share/librnd4"
#define LIBRNDSHAREDIR RND_PREFIX LIBRNDSHAREDIR_RELATIVE
#define LIBRNDLIBDIR_RELATIVE  "/@/local/libarchdir@/librnd4"
#define LIBRNDLIBDIR RND_PREFIX LIBRNDLIBDIR_RELATIVE
#define RND_BINDIR RND_PREFIX "/bin"
@]
		end;
end;

print [@

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

/* Version number of package */
#define RND_VERSION "@/local/version@"
#define RND_REVISION "@/local/revision@"

#endif
@]
