#ifndef __config_H #define __config_H /* * Copyright (c) 2001 Stephen Williams (steve@icarus.com) * * This source code is free software; you can redistribute it * and/or modify it in source code form under the terms of the GNU * General Public License as published by the Free Software * Foundation; either version 2 of the License, or (at your option) * any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #if !defined(WINNT) #ident "$Id: config.h.in,v 1.11 2002/05/24 00:43:16 steve Exp $" #endif # define SIZEOF_UNSIGNED_LONG_LONG 0 # define SIZEOF_UNSIGNED_LONG 0 # define SIZEOF_UNSIGNED 0 # undef NEED_LU # undef NEED_TU # undef WLU # undef WTU # undef HAVE_DLFCN_H # undef HAVE_DL_H # undef HAVE_GETOPT_H # undef HAVE_MALLOC_H # undef HAVE_LIBREADLINE # undef ENABLE_VVP_DEBUG #ifndef MODULE_DIR # define MODULE_DIR "." #endif #if SIZEOF_UNSIGNED >= 8 typedef unsigned vvp_time64_t; #else # if SIZEOF_UNSIGNED_LONG >= 8 typedef unsigned long vvp_time64_t; # else # if SIZEOF_UNSIGNED_LONG_LONG > SIZEOF_UNSIGNED_LONG typedef unsigned long long vvp_time64_t; # else typedef unsigned long vvp_time64_t; # endif # endif #endif #if defined(HAVE_LIBREADLINE) && defined(ENABLE_VVP_DEBUG) # define WITH_DEBUG 1 #endif /* getrusage, /proc/self/statm */ # undef HAVE_SYS_RESOURCE_H # undef LINUX /* * When doing dynamic linking, we need a uniform way to identify the * symbol. Some compilers put leading _, some trailing _. The * configure script figures out which is the local convention and * defines NEED_LU and NEED_TU as required. */ #ifdef NEED_LU #define LU "_" #else #define LU "" #endif #ifdef NEED_TU #define TU "_" #else #define TU "" #endif /* * $Log: config.h.in,v $ * Revision 1.11 2002/05/24 00:43:16 steve * Define SIZEOF_UNSIGNED_LONG_LONG * * Revision 1.10 2002/04/20 04:33:23 steve * Support specified times in cbReadOnlySync, and * add support for cbReadWriteSync. * Keep simulation time in a 64bit number. * * Revision 1.9 2001/10/20 01:03:42 steve * Print memory usage information if requested (Stephan Boettcher) * * Revision 1.8 2001/09/17 22:26:33 steve * Detect C name mangling for dlsym. * * Revision 1.7 2001/09/15 18:27:05 steve * Make configure detect malloc.h * * Revision 1.6 2001/07/16 18:40:19 steve * Add a stdlog output for vvp, and vvp options * to direct them around. (Stephan Boettcher.) * * Revision 1.5 2001/05/11 02:06:14 steve * Add the --enable-vvp-debug option to the configure * script of vvp, and detect getopt.h. * * Revision 1.4 2001/05/05 23:55:46 steve * Add the beginnings of an interactive debugger. * * Revision 1.3 2001/03/22 21:26:53 steve * Compile in a default VPI module dir. * * Revision 1.2 2001/03/16 01:44:34 steve * Add structures for VPI support, and all the %vpi_call * instruction. Get linking of VPI modules to work. * * Revision 1.1 2001/03/11 00:29:38 steve * Add the vvp engine to cvs. * */ #endif