=================================================================== RCS file: /home/cvs/OpenXM_contrib/pari-2.2/config/Attic/paricfg.h.SH,v retrieving revision 1.1 retrieving revision 1.2 diff -u -p -r1.1 -r1.2 --- OpenXM_contrib/pari-2.2/config/Attic/paricfg.h.SH 2001/10/02 11:16:55 1.1 +++ OpenXM_contrib/pari-2.2/config/Attic/paricfg.h.SH 2002/09/11 07:26:40 1.2 @@ -40,8 +40,10 @@ cat >> $file << EOT #else # define PARIINFO "${pretty}${debuginfo}" #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 case $asmarch in @@ -50,6 +52,10 @@ case $asmarch in m68k) echo '#define __M68K__' >> $file;; esac +if test -n "$ASMINLINE"; then + echo '#define ASMINLINE' >> $file +fi + if test -n "$gzip"; then cat >> $file << EOT @@ -137,15 +143,19 @@ yes) echo '#define USE_SIGRELSE 1' >> $file;; esac case $has_dlopen in -yes) cat >> $file << EOT +yes|builtin) cat >> $file << EOT #define HAS_DLOPEN -#define DL_DFLT_NAME "libpari.$sodest" +#define DL_DFLT_NAME "lib$libpari_base.$DLSUFFIX$sodest" EOT ;; esac case $has_getrlimit in yes) echo '#define STACK_CHECK' >> $file;; +esac + +case $has_vsnprintf in +yes) echo '#define HAS_VSNPRINTF' >> $file;; esac case $has_TIOCGWINSZ in