diff options
Diffstat (limited to 'Build/source/libs/gd/libgd-src/VMS/CONFIGURE.COM')
-rw-r--r-- | Build/source/libs/gd/libgd-src/VMS/CONFIGURE.COM | 58 |
1 files changed, 19 insertions, 39 deletions
diff --git a/Build/source/libs/gd/libgd-src/VMS/CONFIGURE.COM b/Build/source/libs/gd/libgd-src/VMS/CONFIGURE.COM index f7b92f6a779..f2679d6ac77 100644 --- a/Build/source/libs/gd/libgd-src/VMS/CONFIGURE.COM +++ b/Build/source/libs/gd/libgd-src/VMS/CONFIGURE.COM @@ -1,6 +1,6 @@ $! (c) Alexey Chupahin 18-APR-2006, 15-DEC-2007 $! OpenVMS 8.2 Alpha DEC 2000 model 300 -$! OpenVMS 8.3 Itanium rx1620 +$! OpenVMS 8.3 Itanium rx1620 $! GNU $! $! @@ -26,9 +26,9 @@ $ SHARED=32 $ENDIF $DECC = F$SEARCH("SYS$SYSTEM:DECC$COMPILER.EXE") .NES. "" $IF (DECC) THEN $WRITE SYS$OUTPUT "Compiler ... DEC C" -$IF (.NOT. DECC) THEN $WRITE SYS$OUTPUT "BAD compiler" GOTO EXIT +$IF (.NOT. DECC) THEN $WRITE SYS$OUTPUT "BAD compiler" GOTO EXIT $MMS = F$SEARCH("SYS$SYSTEM:MMS.EXE") .NES. "" -$MMK = F$TYPE(MMK) +$MMK = F$TYPE(MMK) $IF (MMS .OR. MMK.NES."") THEN GOTO TEST_LIBRARIES $WRITE SYS$OUTPUT "Please install MMS from DECSET or MMK" $! I cant find any make tool @@ -150,7 +150,7 @@ $ CC/OBJECT=TEST.OBJ/INCLUDE=(FREETYPE2) SYS$INPUT int main(int argc, char *argv[]) { -#if FREETYPE_MAJOR == 2 && FREETYPE_MINOR <= 1 +#if FREETYPE_MAJOR == 2 && FREETYPE_MINOR <= 1 printf("This version is too old. Please get newest\n"); printf("From fafner.dyndns.org/~alexey/libsdl/required.html\n"); exit(2); @@ -220,8 +220,8 @@ $ CC/OBJECT=TEST.OBJ/INCLUDE=(PNG,ZLIB) SYS$INPUT n=png_access_version_number(); n3=n%100; n=n/100; n2=n%100; n=n/100; - n1=n%100; - if ( (n1<=1)&&(n2<2) ) + n1=n%100; + if ( (n1<=1)&&(n2<2) ) { printf("checking version libPNG: %d.%d.%d\n",n1,n2,n3); printf("This version is too old. Please get newest\n"); printf("From fafner.dyndns.org/~alexey/libsdl/public.html\n"); @@ -252,7 +252,7 @@ $ LIBPNG_STATIC=0 $ HAVE_LIBPNG=0 $ GOTO NEXT2 $ ELSE -$ HAVE_LIBPNG=1 +$ HAVE_LIBPNG=1 $ LIBPNG_STATIC=1 $ ENDIF $ ELSE @@ -287,7 +287,7 @@ $ CC/OBJECT=TEST.OBJ/INCLUDE=(JPEG) SYS$INPUT #include <stdlib.h> #include <stdio.h> #include <jpeglib.h> - #include <jversion.h> + #include <jversion.h> int main() { printf("checking version jpeg: %s\n",JVERSION); @@ -805,7 +805,7 @@ $ THEN $ IF (ZLIB_STATIC.EQ.0) $ THEN $ APP SYS$INPUT [.SRC]LIBGD.OPT - SYS$SHARE:LIBZSHR/SHARE + SYS$SHARE:LIBZSHR/SHARE $ ELSE $ APP SYS$INPUT [.SRC]LIBGD.OPT ZLIB:LIBZ/LIB @@ -857,11 +857,6 @@ $COPY SYS$INPUT [.SRC]CONFIG.H /* Define to 1 if you have the <dlfcn.h> header file. */ #define HAVE_DLFCN_H 1 -/* Define to 1 if you have the <errno.h> header file. */ -#define HAVE_ERRNO_H 1 - - - /* Define to 1 if you have the <inttypes.h> header file. */ #define HAVE_INTTYPES_H 1 @@ -894,12 +889,6 @@ $COPY SYS$INPUT [.SRC]CONFIG.H /* Define to 1 if you have the <libpng/png.h> header file. */ /* #undef HAVE_LIBPNG_PNG_H */ - - -/* Define to 1 if you have the <limits.h> header file. */ -//#define HAVE_LIMITS_H 1 - - /* Define to 1 if you have the <memory.h> header file. */ #define HAVE_MEMORY_H 1 @@ -907,21 +896,12 @@ $COPY SYS$INPUT [.SRC]CONFIG.H /* Define if you have POSIX threads libraries and header files. */ #define HAVE_PTHREAD 1 -/* Define to 1 if you have the <stddef.h> header file. */ -#define HAVE_STDDEF_H 1 - /* Define to 1 if you have the <stdint.h> header file. */ //#define HAVE_STDINT_H 1 -/* Define to 1 if you have the <stdlib.h> header file. */ -#define HAVE_STDLIB_H 1 - /* Define to 1 if you have the <strings.h> header file. */ #define HAVE_STRINGS_H 1 -/* Define to 1 if you have the <string.h> header file. */ -#define HAVE_STRING_H 1 - /* Define to 1 if you have the <sys/stat.h> header file. */ #define HAVE_SYS_STAT_H 1 @@ -954,29 +934,29 @@ $ APP SYS$INPUT [.SRC]CONFIG.H /* Define if <iconv.h> defines iconv_t. */ #define HAVE_ICONV_T_DEF 1 $ENDIF -$IF HAVE_TIFF.EQ.1 -$ THEN +$IF HAVE_TIFF.EQ.1 +$ THEN $ APP SYS$INPUT [.SRC]CONFIG.H #define HAVE_LIBTIFF 1 $ENDIF -$IF HAVE_LIBPNG.EQ.1 -$ THEN +$IF HAVE_LIBPNG.EQ.1 +$ THEN $ APP SYS$INPUT [.SRC]CONFIG.H #define HAVE_LIBPNG 1 $ENDIF $IF HAVE_FREETYPE.EQ.1 -$ THEN +$ THEN $ APP SYS$INPUT [.SRC]CONFIG.H #define HAVE_LIBFREETYPE 1 #define HAVE_FT2BUILD_H 1 $ENDIF -$IF HAVE_JPEG.EQ.1 -$ THEN +$IF HAVE_JPEG.EQ.1 +$ THEN $ APP SYS$INPUT [.SRC]CONFIG.H #define HAVE_LIBJPEG 1 $ENDIF -$IF HAVE_ZLIB.EQ.1 -$ THEN +$IF HAVE_ZLIB.EQ.1 +$ THEN $ APP SYS$INPUT [.SRC]CONFIG.H #define HAVE_LIBZ 1 $ENDIF @@ -994,7 +974,7 @@ $COP SYS$INPUT [.SRC]DESCRIP.MMS # Alexey Chupahin elvis_75@mail.ru # OpenVMS 7.3-1,8.2 DEC 2000 mod.300 # OpenVMS 8.3 HP rx1620 - + .FIRST DEF LIBGD [] |