#!/bin/sh - # # Reconcile the list of public defines with the man pages and the Java files. d=../.. docs=$d/../db_docs [ -f $d/LICENSE ] || { echo 'FAIL: cannot find source distribution directory.' exit 1 } p=$d/dist/pubdef.in exitv=0 cat < /dev/null`; then : else echo "$f: $name is missing from $p" exitv=1 fi done cat < /dev/null`; then [ "X$isdoc" != "XD" ] && { echo "$name should not appear in $f" exitv=1 } else [ "X$isdoc" = "XD" ] && { echo "$name does not appear in $f" exitv=1; } fi done cat < /dev/null`; then : else echo "$f: $name is missing from $p" exitv=1 fi done cat < /dev/null`; then [ "X$isinc" != "XI" ] && { echo "$name should not appear in $f" exitv=1 } else [ "X$isinc" = "XI" ] && { echo "$name does not appear in $f" exitv=1 } fi done cat < /dev/null`; then : else echo "$f: $name is missing from $p" exitv=1 fi done cat < /dev/null`; then [ "X$isjava" != "XJ" ] && { echo "$name should not appear in the Java API" exitv=1 } else [ "X$isjava" = "XJ" ] && { echo "$name does not appear in the Java API" exitv=1 } fi done cat < /dev/null`; then [ "X$isjava" != "XN" ] && [ "X$isjava" != "XJ" ] && { echo "$name should not appear in the Java native layer" exitv=1 } else [ "X$isjava" = "XN" ] && { echo "$name does not appear in the Java native layer" exitv=1 } fi done exit $exitv