Annotation of OpenXM_contrib/pari-2.2/config/paricfgDOS.h.SH, Revision 1.2
1.1 noro 1: file="$objdir/../Odos/paricfg.h"; echo Extracting $file
2: rm -f $file
3: cat > $file << EOT
4: /* This file extracted by Configure. */
5: #ifndef __CONFIG_H__
6: #define __CONFIG_H__
7:
8: #ifdef _MSC_VER /* Bill Daly: avoid spurious Warnings from MSVC */
9: # pragma warning(disable: 4013 4018 4146 4244 4761)
10: #endif
11:
12: #define GPDATADIR "/pari/data"
13: #define GPMISCDIR "/pari/"
14: #define SHELL_Q '"'
15: #define DL_DFLT_NAME "libpari.dll"
16:
17: #define PARIVERSION "GP/PARI CALCULATOR Version ${version}.${patch} (${status})"
18: #ifdef __cplusplus
19: # define PARIINFO_PRE "C++"
20: #else
21: # define PARIINFO_PRE ""
22: #endif
23: #if defined(__EMX__)
24: # define PARIINFO_POST "ix86 running EMX (ix86 kernel) 32-bit version"
25: #endif
26: #if defined(WINCE)
27: # define PARIINFO_POST "Windows CE 32-bit version"
28: #endif
29: #if !defined(PARIINFO_POST)
30: # define PARIINFO_POST "ix86 running Windows 3.2 (ix86 kernel) 32-bit version"
31: #endif
32: #define PARIINFO PARIINFO_PRE/**/PARIINFO_POST
1.2 ! noro 33: #define PARI_VERSION_CODE `expr $VersionMajor \\* 65536 + $VersionMinor \\* 256 + $patch`
! 34: #define PARI_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
1.1 noro 35:
1.2 ! noro 36: #define PARI_DOUBLE_FORMAT 1
1.1 noro 37: #ifdef _MSC_VER /* MSVC inline directive */
38: # define INLINE __inline
39: #endif
40:
41: /* Location of GNU gzip program, enables reading of .Z and .gz files. */
42: #ifndef WINCE
43: # define GNUZCAT
44: # define ZCAT "gzip -d -c"
45: #endif
46:
47: #ifdef __EMX__
48: # define READLINE
49: # define READLINE_LIBRARY
50: # define HAS_RL_MESSAGE
51: # define CPPFunction_defined
52: /* in readline 1, no arguments for rl_refresh_line() */
53: # define RL_REFRESH_LINE_OLDPROTO
54: #endif
55: #ifdef __MINGW32__
56: # define READLINE "4.0"
57: # define HAS_COMPLETION_APPEND_CHAR
58: # define HAS_RL_SAVE_PROMPT
59: # define HAS_RL_MESSAGE
60: # define CPPFunction_defined
61: #endif
62:
63: /* No exp2, log2 in libc */
64: #define NOEXP2
65:
66: /* Headers are clean - ulong not defined */
67: #define ULONG_NOT_DEFINED
68:
69: #ifndef WINCE
70: /* Timings: Don't use times because of the HZ / CLK_TCK confusion. */
71: # define USE_FTIME 1
1.2 ! noro 72: # define HAS_STRFTIME
! 73: /* This might work on NT ??? */
! 74: /* # define HAS_OPENDIR */
1.1 noro 75: #endif
76:
77: #endif
78: EOT
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>