File: compat.sh

package info (click to toggle)
siril 1.4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 47,656 kB
  • sloc: ansic: 175,395; cpp: 28,654; python: 8,476; makefile: 974; xml: 879; sh: 280
file content (7 lines) | stat: -rwxr-xr-x 167 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
#! /bin/sh

$CC $CFLAGS -o test-$1 test-$1.c 1>/dev/null 2>&1 || exit

./test-$1 1>/dev/null 2>&1 || exit

echo "#define " `echo HAVE_$2 | tr '[:lower:]' '[:upper:]'`