print [@/* Generated by scconfig, DO NOT EDIT */
#ifndef PUP_CONFIG_H
#define PUP_CONFIG_H

#define PUP_VERSION_MAJOR @/local/pup/ver1@
#define PUP_VERSION_MINOR @/local/pup/ver2@
#define PUP_VERSION_PATCH @/local/pup/ver3@

#define PUP_VERSION ((PUP_VERSION_MAJOR << 16) | (PUP_VERSION_MINOR << 8) | PUP_VERSION_PATCH)

@]

print {/* Define if dl*() is provided by dl-compat */\n}
print_ternary ?libs/dl-compat {#define PUP_HAVE_DLCOMPAT 1} {/* #undef PUP_HAVE_DLCOMPAT */}
print {\n\n}

print {/* Define if dl*() is provided by -ldl and dlfcn.h */\n}
print_ternary ?libs/ldl/presents {#define PUP_HAVE_LDL 1} {/* #undef PUP_HAVE_LDL */}
print {\n\n}

print {/* Define if snprintf() is available */\n}
print_ternary ?libs/snprintf {#define PUP_HAVE_SNPRINTF 1} {/* #undef PUP_HAVE_SNPRINTF */}
print {\n\n}


print {#ifdef PUP_WANTS_READDIR\n\n}

print {/* Define if readdir() is available */\n}
print_ternary ?libs/fs/readdir/presents {#define PUP_HAVE_READDIR 1} {/* #undef PUP_HAVE_READDIR */}
print {\n\n}

print {/* Define if findnextfile() is available */\n}
print_ternary ?libs/fs/findnextfile/presents {#define PUP_HAVE_FINDNEXTFILE 1} {/* #undef PUP_HAVE_FINDNEXTFILE */}
print {\n\n}


gsub libs/fs/readdir/includes {\\\\n} {\n}
print libs/fs/readdir/includes

print {\n#endif\n}

print {\n#endif\n}
