version 1.1, 2001/10/02 11:16:55 |
version 1.2, 2002/09/11 07:26:40 |
Line 40 cat >> $file << EOT |
|
Line 40 cat >> $file << EOT |
|
#else |
#else |
# define PARIINFO "${pretty}${debuginfo}" |
# define PARIINFO "${pretty}${debuginfo}" |
#endif |
#endif |
|
#define PARI_VERSION_CODE `expr $VersionMajor \\* 65536 + $VersionMinor \\* 256 + $patch` |
|
#define PARI_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c)) |
|
|
#define PARI_BYTE_ORDER ${endian} |
#define PARI_DOUBLE_FORMAT ${doubleformat} |
EOT |
EOT |
|
|
case $asmarch in |
case $asmarch in |
|
|
m68k) echo '#define __M68K__' >> $file;; |
m68k) echo '#define __M68K__' >> $file;; |
esac |
esac |
|
|
|
if test -n "$ASMINLINE"; then |
|
echo '#define ASMINLINE' >> $file |
|
fi |
|
|
if test -n "$gzip"; then |
if test -n "$gzip"; then |
cat >> $file << EOT |
cat >> $file << EOT |
|
|
Line 137 yes) echo '#define USE_SIGRELSE 1' >> $file;; |
|
Line 143 yes) echo '#define USE_SIGRELSE 1' >> $file;; |
|
esac |
esac |
|
|
case $has_dlopen in |
case $has_dlopen in |
yes) cat >> $file << EOT |
yes|builtin) cat >> $file << EOT |
#define HAS_DLOPEN |
#define HAS_DLOPEN |
#define DL_DFLT_NAME "libpari.$sodest" |
#define DL_DFLT_NAME "lib$libpari_base.$DLSUFFIX$sodest" |
EOT |
EOT |
;; |
;; |
esac |
esac |
|
|
case $has_getrlimit in |
case $has_getrlimit in |
yes) echo '#define STACK_CHECK' >> $file;; |
yes) echo '#define STACK_CHECK' >> $file;; |
|
esac |
|
|
|
case $has_vsnprintf in |
|
yes) echo '#define HAS_VSNPRINTF' >> $file;; |
esac |
esac |
|
|
case $has_TIOCGWINSZ in |
case $has_TIOCGWINSZ in |