visualc/ /config.h: make search path for spinit relative to

ngspice.exe: ../share/ngspice/scripts/spinit
This commit is contained in:
h_vogt 2016-10-27 23:09:45 +02:00 committed by rlar
parent 89182304eb
commit 5a5a054784
1 changed files with 3 additions and 23 deletions

View File

@ -437,31 +437,11 @@
/* Do not trigger unwanted traps by default */
/* #undef NEWTRUNC */
#ifdef NGDEBUG
#ifdef CONFIG64
/* Define the directory for executables */
#define NGSPICEBINDIR "C:/Spice64d/bin"
/* Not used in MS Windows */
#define NGSPICEBINDIR "../bin"
/* Define the directory for architecture independent data files */
#define NGSPICEDATADIR "C:/Spice64d/share/ngspice"
#else
/* Define the directory for executables */
#define NGSPICEBINDIR "C:/Spiced/bin"
/* Define the directory for architecture independent data files */
#define NGSPICEDATADIR "C:/Spiced/share/ngspice"
#endif
#else
#ifdef CONFIG64
/* Define the directory for executables */
#define NGSPICEBINDIR "C:/Spice64/bin"
/* Define the directory for architecture independent data files */
#define NGSPICEDATADIR "C:/Spice64/share/ngspice"
#else
/* Define the directory for executables */
#define NGSPICEBINDIR "C:/Spice/bin"
/* Define the directory for architecture independent data files */
#define NGSPICEDATADIR "C:/Spice/share/ngspice"
#endif
#endif
#define NGSPICEDATADIR "../share/ngspice"
/* Define if we want NOBYPASS */
/* #undef NOBYPASS */