File: config-data

package info (click to toggle)
cssc 1.0.1-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 3,620 kB
  • ctags: 1,424
  • sloc: cpp: 13,500; sh: 4,759; ansic: 2,971; perl: 342; makefile: 342; awk: 11
file content (35 lines) | stat: -rw-r--r-- 924 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Hey, Emacs!  This is a -*- sh -*- script.

# This script retrieves the config information from CSSC in order to 
# figure out if binary file support is available.  This will allow us
# to avoid the situation where we try to test binary files support when
# it's not configured.

# Common function definitions.
. ../common/command-names
. ../common/real-thing

if $TESTING_CSSC
then
    # Turn on binary file support in CSSC (if it is disabled)
    CSSC_BINARY_SUPPORT=enabled
    export CSSC_BINARY_SUPPORT
    binary_support=true

    max_line_len=`${admin} -V 2>&1         |
	grep "^Maximum body line length.*overridden: " |
	sed -e 's/^.*://' `

else
    # Not CSSC.
    # For the moment, just guess --- and be conservative.
    case `uname` in 
	SunOS) binary_support=true   ;;
	*)     binary_support=false  ;;
    esac

    max_line_len=400
fi

# echo Max line len $max_line_len
# echo Binary support $binary_support