ngspice/src/conf.c

35 lines
886 B
C
Raw Normal View History

2000-04-27 22:03:57 +02:00
/* Common configuration file for ng-spice and nutmeg */
#include "config.h"
2000-04-27 22:03:57 +02:00
#include "conf.h"
/* The GNU configure system should set PACKAGE_BUGREPORT
use this if it does, otherwise fall back to a hardcoded address */
#ifdef PACKAGE_BUGREPORT
#define BUG_ADDRESS PACKAGE_BUGREPORT
#else
#define BUG_ADDRESS "ngspice-bugs@lists.sourceforge.net"
#endif
2010-02-13 18:11:06 +01:00
char Spice_Version[] = PACKAGE_VERSION;
char Spice_Notice[] = "Please submit bug-reports to: " BUG_ADDRESS;
#ifndef _MSC_VER
2010-02-13 18:11:06 +01:00
char Spice_Build_Date[] = NGSPICEBUILDDATE;
#else
2010-02-13 18:11:06 +01:00
char Spice_Build_Date[] = __DATE__" "__TIME__;
#endif
2000-04-27 22:03:57 +02:00
char *Spice_Exec_Dir = NGSPICEBINDIR;
char *Spice_Lib_Dir = NGSPICEDATADIR;
2002-01-03 23:44:21 +01:00
#if defined (__MINGW32__) || defined (_MSC_VER)
2002-01-03 23:44:21 +01:00
char *Def_Editor = "notepad.exe";
#else
2000-04-27 22:03:57 +02:00
char *Def_Editor = "vi";
2002-01-03 23:44:21 +01:00
#endif
int AsciiRawFile = 0;
2002-01-03 23:44:21 +01:00
char *Bug_Addr = BUG_ADDRESS;
2000-04-27 22:03:57 +02:00
char *Spice_Host = "";
char *Spiced_Log = "";