Debian Codegraph @

apps/apps_test/test_baseline

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 the baseline
5 # build of the CTN software (no multi-byte characters).
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 DO NOT 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 echo "If this is in a comment, remove it to satisfy this script."
20 set x = 2
21 endif
22
23 grep CTN_MULTIBYTE $DICOM_MAKE >& /dev/null
24 if ($status == 0) then
25 echo We DO NOT expect CTN_MULTIBYTE to be defined in $DICOM_MAKE in C_OPTS.
26 echo Make sure this is the right master Makefile and/or right environment.
27 echo "If this is in a comment, remove it to satisfy this script."
28 set x = 3
29 endif
30
31 exit $x