BEGIN { D["PACKAGE_NAME"]=" \"sixel\"" D["PACKAGE_TARNAME"]=" \"sixel\"" D["PACKAGE_VERSION"]=" \"1.8.6\"" D["PACKAGE_STRING"]=" \"sixel 1.8.6\"" D["PACKAGE_BUGREPORT"]=" \"saitoha@me.com\"" D["PACKAGE_URL"]=" \"\"" D["PACKAGE"]=" \"sixel\"" D["VERSION"]=" \"1.8.6\"" D["STDC_HEADERS"]=" 1" D["HAVE_SYS_TYPES_H"]=" 1" D["HAVE_SYS_STAT_H"]=" 1" D["HAVE_STDLIB_H"]=" 1" D["HAVE_STRING_H"]=" 1" D["HAVE_MEMORY_H"]=" 1" D["HAVE_STRINGS_H"]=" 1" D["HAVE_INTTYPES_H"]=" 1" D["HAVE_STDINT_H"]=" 1" D["HAVE_UNISTD_H"]=" 1" D["HAVE_DLFCN_H"]=" 1" D["LT_OBJDIR"]=" \".libs/\"" D["HAVE_VAR_ATTRIBUTE_DEPRECATED"]=" 1" D["HAVE_FUNC_ATTRIBUTE_DEPRECATED"]=" 1" D["HAVE___BUILTIN_UNREACHABLE"]=" 1" D["HAVE_DIAGNOSTIC_TYPEDEF_REDEFINITION"]=" 1" D["HAVE_DIAGNOSTIC_DEPRECATED_DECLARATIONS"]=" 1" D["HAVE_DIAGNOSTIC_SIGN_CONVERSION"]=" 1" D["HAVE_DIAGNOSTIC_UNINITIALIZED"]=" 1" D["HAVE_DIAGNOSTIC_STRICT_OVERFLOW"]=" 1" D["HAVE_DIAGNOSTIC_SHADOW"]=" 1" D["HAVE_DIAGNOSTIC_DOUBLE_PROMOTION"]=" 1" D["HAVE_DIAGNOSTIC_SWITCH_DEFAULT"]=" 1" D["HAVE_DIAGNOSTIC_UNUSED_FUNCTION"]=" 1" D["HAVE_DIAGNOSTIC_UNUSED_BUT_SET_VARIABLE"]=" 1" D["HAVE_BSYMBOLIC"]=" 1" D["HAVE_LIBM"]=" 1" D["STDC_HEADERS"]=" 1" D["HAVE_ASSERT_H"]=" 1" D["HAVE_MATH_H"]=" 1" D["HAVE_CTYPE_H"]=" 1" D["HAVE_MEMORY_H"]=" 1" D["HAVE_STRING_H"]=" 1" D["HAVE_UNISTD_H"]=" 1" D["HAVE_STDINT_H"]=" 1" D["HAVE_SYS_UNISTD_H"]=" 1" D["HAVE_GETOPT_H"]=" 1" D["HAVE_SYS_TYPES_H"]=" 1" D["HAVE_SYS_STAT_H"]=" 1" D["HAVE_FCNTL_H"]=" 1" D["HAVE_ERRNO_H"]=" 1" D["HAVE_LIMITS_H"]=" 1" D["HAVE_SYS_TIME_H"]=" 1" D["HAVE_TIME_H"]=" 1" D["HAVE_SIGNAL_H"]=" 1" D["HAVE_SYS_SELECT_H"]=" 1" D["HAVE_SYS_SIGNAL_H"]=" 1" D["HAVE_TERMIOS_H"]=" 1" D["HAVE_SYS_IOCTL_H"]=" 1" D["HAVE_INTTYPES_H"]=" 1" D["HAVE__BOOL"]=" 1" D["HAVE_STDLIB_H"]=" 1" D["HAVE_MALLOC"]=" 1" D["HAVE_STDLIB_H"]=" 1" D["HAVE_REALLOC"]=" 1" D["HAVE_GETOPT_LONG"]=" 1" D["HAVE_MEMCPY"]=" 1" D["HAVE_MEMMOVE"]=" 1" D["HAVE_MEMSET"]=" 1" D["HAVE_SETMODE"]=" 1" D["HAVE_SIGNAL"]=" 1" D["HAVE_NANOSLEEP"]=" 1" D["HAVE_STRDUP"]=" 1" D["HAVE_STRTOUL"]=" 1" D["HAVE_CALLOC"]=" 1" D["HAVE_CLOCK"]=" 1" D["HAVE_CLEARERR"]=" 1" D["HAVE_STAT"]=" 1" D["HAVE_SETJMP"]=" 1" D["HAVE_LONGJMP"]=" 1" D["HAVE_STRERROR"]=" 1" D["HAVE_ISATTY"]=" 1" D["HAVE_STRNCMP"]=" 1" D["HAVE_LDIV"]=" 1" D["HAVE_FLOOR"]=" 1" D["HAVE_LOCALECONV"]=" 1" D["HAVE_POW"]=" 1" D["HAVE_SELECT"]=" 1" D["HAVE_SQRT"]=" 1" D["HAVE_STRCHR"]=" 1" D["HAVE_STRERROR"]=" 1" D["HAVE_STRSTR"]=" 1" D["HAVE_STRTOL"]=" 1" D["HAVE_STRTOL"]=" 1" D["HAVE_POW"]=" 1" D["HAVE_DECL_SIGINT"]=" 1" D["HAVE_DECL_SIGTERM"]=" 1" D["HAVE_DECL_SIGHUP"]=" 1" D["HAVE_LIBCURL"]=" 1" D["HAVE_JPEG"]=" 1" D["HAVE_DECL_PNG_SET_GRAY_1_2_4_TO_8"]=" 0" D["HAVE_DECL_PNG_SET_EXPAND_GRAY_1_2_4_TO_8"]=" 1" D["HAVE_LIBPNG"]=" 1" for (key in D) D_is_set[key] = 1 FS = "" } /^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ { line = $ 0 split(line, arg, " ") if (arg[1] == "#") { defundef = arg[2] mac1 = arg[3] } else { defundef = substr(arg[1], 2) mac1 = arg[2] } split(mac1, mac2, "(") #) macro = mac2[1] prefix = substr(line, 1, index(line, defundef) - 1) if (D_is_set[macro]) { # Preserve the white space surrounding the "#". print prefix "define", macro P[macro] D[macro] next } else { # Replace #undef with comments. This is necessary, for example, # in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. if (defundef == "undef") { print "/*", prefix defundef, macro, "*/" next } } } { print }