File: pkgconfig.test

package info (click to toggle)
gsl-doc 2.3-1
  • links: PTS
  • area: non-free
  • in suites: buster
  • size: 27,748 kB
  • ctags: 15,177
  • sloc: ansic: 235,014; sh: 11,585; makefile: 925
file content (9 lines) | stat: -rwxr-xr-x 243 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
#!/bin/sh

set -e
# skip test if we have no pkg-config
pkg-config --version >/dev/null 2>&1 || exit 77
PKG_CONFIG_PATH=.
export PKG_CONFIG_PATH 
pkg-config --define-variable=GSL_CBLAS_LIB=-lfoo --libs gsl | grep 'lfoo' > /dev/null 2>&1
exit 0