diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2020-08-22 23:07:28 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2020-08-22 23:07:28 +0000 |
commit | e57f3bbe2302fbae25d8256523eb24c13c2cdead (patch) | |
tree | bafbbd0a4d0a37892aa87ce71d93da18e6757c7c | |
parent | 7e040257350d11f891d2b7379e08adf94344480f (diff) | |
download | netpbm-mirror-e57f3bbe2302fbae25d8256523eb24c13c2cdead.tar.gz netpbm-mirror-e57f3bbe2302fbae25d8256523eb24c13c2cdead.tar.xz netpbm-mirror-e57f3bbe2302fbae25d8256523eb24c13c2cdead.zip |
Add ability to check whether Ppmsvgalib exists to be tested; unused today, as there is no Ppmsvgalib test
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3924 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r-- | GNUmakefile | 1 | ||||
-rwxr-xr-x | test/Available-Testprog | 8 |
2 files changed, 8 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile index f07eed01..ebfb6d10 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -461,6 +461,7 @@ CHECK_VARS = \ JASPERLIB="$(JASPERLIB)" \ JBIGLIB="$(JBIGLIB)" \ JPEGLIB="$(JPEGLIB)" \ + LINUXSVGALIB="$(LINUXSVGALIB)" \ PNGLIB="$(PNGLIB)" \ TIFFLIB="$(TIFFLIB)" \ URTLIB="$(URTLIB)" \ diff --git a/test/Available-Testprog b/test/Available-Testprog index 8176b57a..033c7eec 100755 --- a/test/Available-Testprog +++ b/test/Available-Testprog @@ -6,7 +6,6 @@ if [ "${CHECK_TYPE}" = "install" ]; then fi # Special case: no arguments were passed to this program -# For all-in-place.test and legacy-names.test if [ $# = 0 ]; then exit 0 @@ -19,6 +18,10 @@ fi # each directory (for example converter/other/Makefile) for library # requirements and relevant variables. +# Note that any variable used to determine whether a program exists +# (BUILD_FIASCO, JASPERLIB, JBIGLIB, JPEGLIB, etc.) +# must be in CHECK_VARS in GNUMakefile to be detected here. + for i in $@ do case $i in @@ -57,6 +60,9 @@ for i in $@ svgtopam) [ "${XML2_LIBS}" = "NONE" ] && exit 1 ;; + ppmsvgalib) + [ "${LINUXSVGALIB}" = "NONE" ] && exit 1 ;; + thinkjettopbm) [ -z "${LEX}" ] && exit 1 ;; |