File: config.h

package info (click to toggle)
swi-prolog 3.1.0-2
  • links: PTS
  • area: main
  • in suites: slink
  • size: 8,772 kB
  • ctags: 12,869
  • sloc: ansic: 43,657; perl: 12,577; lisp: 4,359; sh: 1,534; makefile: 798; awk: 14
file content (82 lines) | stat: -rw-r--r-- 1,894 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
/* 
  M_SYSTEMHOME      The SWI-Prolog path to its home. Look at your README how
                    your OS's paths are translated to SWI Prolog paths.
		    The default is "/usr/local/lib/pl"
*/

#define M_SYSTEMHOME "/staff/jan/src/pl"

/*
  M_BINDIR          The real path to the-SWI Prolog binaries.
		    The default is "/usr/local/bin"
*/

#define M_BINDIR "/staff/jan/bin/sun4"

/*
  M_DEFSTARTUP      The SWI Prolog path to the user's Prolog environment.
                    The default is ".plrc".
*/

#define M_DEFSTARTUP ".plrc"

/*
  M_MANDIR	    man(1) Manual directory
  M_MANSEC	    man(1) Manual section
*/

#define M_MANDIR /usr/local/man
#define M_MANSEC 1

/*
  M_PROLOG          The name for SWI-Prolog. This name is used for naming
                    saved states.
                    The default is "pl".
*/

#define M_PROLOG "pl"

		 /*******************************
		 *   NON-UNIX SYSTEM MAY NEED:	*
		 *******************************/

/* 
  M_SYSTEMDIR       The real path to M_SYSTEMHOME. This path may differ for
                    systems without Unix(tm)-style filenames.
		    The default is M_SYSTEMHOME.
		    Set this define for OS/2, TOS, Mac-OS.
*/
/*#define M_SYSTEMDIR  "C:\usr\public\SWI" */

/*
  M_SYS             The executable name for SWI-Prolog.
                    The default is M_PROLOG.
*/
/*#define M_SYS "pl.exe"*/

		 /*******************************
		 *	     DEFAULTS		*
		 *******************************/

#ifndef M_SYSTEMHOME
#    define M_SYSTEMHOME "/usr/local/lib/pl"
#endif
#ifndef M_BINDIR
#    define M_BINDIR "/usr/local/bin"
#endif
#ifndef M_PROLOG
#    define M_PROLOG "pl"
#endif
#ifndef M_DEFSTARTUP
#    define M_DEFSTARTUP ".plrc"
#endif
					/* Non-Unix paths  */
#ifndef M_SYSTEMDIR
#    define M_SYSTEMDIR M_SYSTEMHOME
#endif
#ifndef M_SEP
#    define M_SEP "/"
#endif
#ifndef M_SYS
#    define M_SYS M_PROLOG
#endif