Debian Codegraph @

apps/apps_test/test_mb

raw
1 #!/bin/csh
2
3 # Script which tests for some definitions in $DICOM_MAKE
4 # to make sure proper settings are in place for building
5 # the multi-byte version of the CTN software.
6
7 set x = 0
8
9 if (! (-e $DICOM_MAKE) ) then
10 echo The file "$DICOM_MAKE" is not defined.
11 echo Check your environment
12 exit 1
13 endif
14
15 grep lctnmb $DICOM_MAKE >& /dev/null
16 if ($status != 0) then
17 echo We expect -lctnmb to be defined for LIBS_CTN in $DICOM_MAKE
18 echo Make sure this is the right master Makefile and/or right environment.
19 set x = 2
20 endif
21
22 grep CTN_MULTIBYTE $DICOM_MAKE >& /dev/null
23 if ($status != 0) then
24 echo We expect CTN_MULTIBYTE to be defined in $DICOM_MAKE in C_OPTS.
25 echo Make sure this is the right master Makefile and/or right environment.
26 set x = 3
27 endif
28
29 exit $x