rendered paste body/* confdefs.h. */
#define PACKAGE_NAME "BRL-CAD"
#define PACKAGE_TARNAME "brlcad"
#define PACKAGE_VERSION "7.10.2"
#define PACKAGE_STRING "BRL-CAD 7.10.2"
#define PACKAGE_BUGREPORT "http://brlcad.org"
#define BRLCAD_ROOT "/usr"
#define BRLCAD_DATA "/usr/share"
#define PACKAGE "brlcad"
#define VERSION "7.10.2"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#ifdef __cplusplus
extern "C" void std::exit (int) throw (); using std::exit;
#endif
#define YYTEXT_POINTER 1
#define HAVE_DLFCN_H 1
#define EXTERN_STDOUT
#define HAVE_ALLOCA_H 1
#define HAVE_ALLOCA 1
#define HAVE_X11_XLIB_H 1
#define STDC_HEADERS 1
#define HAVE_DIRENT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_CURSES_H 1
#define HAVE_ERRNO_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FLOAT_H 1
#define HAVE_GETOPT_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_ITCL_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_LIMITS_H 1
#define HAVE_LOCALE_H 1
#define HAVE_MALLOC_H 1
#define HAVE_MATH_H 1
#define HAVE_MEMORY_H 1
#define HAVE_NCURSES_H 1
#define HAVE_NETDB_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_PTHREAD_H 1
#define HAVE_PWD_H 1
#define HAVE_SCHED_H 1
#define HAVE_SETJMP_H 1
#define HAVE_SGTTY_H 1
#define HAVE_SIGNAL_H 1
#define HAVE_STDARG_H 1
#define HAVE_STDDEF_H 1
#define HAVE_STDINT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_SYS_ERRNO_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSINFO_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SYS_TIMEB_H 1
#define HAVE_SYS_TIMES_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_TCL_H 1
#define HAVE_TERMCAP_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_TIME_H 1
#define HAVE_TK_H 1
#define HAVE_UNISTD_H 1
#define HAVE_UTIME_H 1
#define HAVE_VALUES_H 1
#define HAVE_WCHAR_H 1
#define HAVE_GL_GL_H 1
#define HAVE_GL_GLX_H 1
#define HAVE_EMMINTRIN_H 1
#define HAVE_UNIX_IO 1
#define TIME_WITH_SYS_TIME 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_TERM_H 1
#define HAVE_REGEX_H 1
#define HAVE_JNI_H 1
#define TIME_WITH_SYS_TIME 1
#define HAVE_STRUCT_STAT_ST_BLOCKS 1
#define HAVE_ST_BLOCKS 1
#define HAVE_STRUCT_STAT_ST_BLKSIZE 1
#define HAVE_ST_BLKSIZE 1
#define HAVE_STRUCT_STAT_ST_BLKSIZE 1
#define HAVE_STRUCT_STAT_ST_RDEV 1
#define PROTOTYPES 1
#define STDC_HEADERS 1
#define HAVE_STRING_H 1
#define USE_PROTOTYPES 1
#define REVERSE_IEEE
#define SIZEOF_INT 4
#define SIZEOF_LONG 8
#define SIZEOF_LONG_LONG 8
#define SIZEOF_VOID_P 8
#define RETSIGTYPE void
#define HAVE_ACCESS 1
#define HAVE_ALARM 1
#define HAVE_ATEXIT 1
#define HAVE_BZERO 1
#define HAVE_CALLOC 1
#define HAVE_DRAND48 1
#define HAVE_DUP2 1
#define HAVE_ENDGRENT 1
#define HAVE_ENDPWENT 1
#define HAVE_FINITE 1
#define HAVE_FSYNC 1
#define HAVE_FTIME 1
#define HAVE_FTRUNCATE 1
#define HAVE_GETCWD 1
#define HAVE_GETENV 1
#define HAVE_GETHOSTBYADDR 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETHOSTNAME 1
#define HAVE_GETOPT 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPASS 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_INET_NTOA 1
#define HAVE_ISASCII 1
#define HAVE_KILL 1
#define HAVE_LOCALTIME_R 1
#define HAVE_LRAND48 1
#define HAVE_LSEEK 1
#define HAVE_MEMCHR 1
#define HAVE_MEMMOVE 1
#define HAVE_MEMSET 1
#define HAVE_MKDIR 1
#define HAVE_MKFIFO 1
#define HAVE_MODF 1
#define HAVE_MUNMAP 1
#define HAVE_NL_LANGINFO 1
#define HAVE_PIPE 1
#define HAVE_PUTENV 1
#define HAVE_RAISE 1
#define HAVE_RE_COMP 1
#define HAVE_REALPATH 1
#define HAVE_REGCOMP 1
#define HAVE_RMDIR 1
#define HAVE_SBRK 1
#define HAVE_SELECT 1
#define HAVE_SETENV 1
#define HAVE_SETLINEBUF 1
#define HAVE_SETLOCALE 1
#define HAVE_SETPGID 1
#define HAVE_SETPRIORITY 1
#define HAVE_SETVBUF 1
#define HAVE_SOCKET 1
#define HAVE_SRAND48 1
#define HAVE_STAT 1
#define HAVE_STRCASECMP 1
#define HAVE_STRCHR 1
#define HAVE_STRCPY 1
#define HAVE_STRCSPN 1
#define HAVE_STRDUP 1
#define HAVE_STRERROR 1
#define HAVE_STRERROR_R 1
#define HAVE_STRNCASECMP 1
#define HAVE_STRPBRK 1
#define HAVE_STRRCHR 1
#define HAVE_STRSEP 1
#define HAVE_STRSPN 1
#define HAVE_STRSTR 1
#define HAVE_STRTOK 1
#define HAVE_STRTOL 1
#define HAVE_STRTOUL 1
#define HAVE_STRTOULL 1
#define HAVE_SYNC 1
#define HAVE_SYSCTL 1
#define HAVE_TZSET 1
#define HAVE_UNAME 1
#define HAVE_UTIME 1
#define HAVE_VFORK 1
#define HAVE_VPRINTF 1
#define HAVE_WRITEV 1
#define HAVE_BASENAME 1
#define HAVE_DIRNAME 1
#define BC_WITH_PARSERS 1
/* end confdefs.h. */
#ifdef HAVE_TCL_H
# include <tcl.h>
#endif
#ifdef HAVE_TK_H
# include <tk.h>
#endif
#ifndef TK_MAJOR_VERSION
# error Unknown major version of Tk
#endif
#ifndef TK_MINOR_VERSION
# error Unknown minor version of Tk
#endif
#include <stdio.h>
int main() {
Tcl_Interp *interp;
interp = Tcl_CreateInterp();
if (Tcl_Init(interp) == TCL_ERROR) {
fprintf(stderr, "Tcl_Init returned error\n");
return 1;
}
if (Tk_Init(interp) == TCL_ERROR) {
fprintf(stderr, "Tk_Init returned error\n");
return 1;
}
#if TK_MAJOR_VERSION < 8
fprintf(stderr, "major version < 8\n");
return 1;
#elif TK_MAJOR_VERSION == 8 && TK_MINOR_VERSION < 5
fprintf(stderr, "minor version < 5\n");
return 1;
#endif
return 0;
}