File: vendor.cc

package info (click to toggle)
lua-luaossl 20161214-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 852 kB
  • ctags: 1,009
  • sloc: ansic: 6,749; sh: 1,070; makefile: 19
file content (17 lines) | stat: -rwxr-xr-x 231 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

set -e 

: ${CC:=cc}

${CC} -E - <<-EOF | awk '/sunpro/||/clang/||/gcc/||/other/{ print $1; exit; }'
	#if defined __SUNPRO_C
	sunpro
	#elif defined __clang__
	clang
	#elif defined __GNUC__
	gcc
	#else
	other
	#endif
EOF