File: vendor.cc

package info (click to toggle)
lua-cqueues 20161214-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,672 kB
  • ctags: 3,228
  • sloc: ansic: 20,232; sh: 2,959; makefile: 24
file content (17 lines) | stat: -rwxr-xr-x 230 bytes parent folder | download | duplicates (4)
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