File: pkgconfig.test

package info (click to toggle)
gsl 1.16%2Bdfsg-2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 15,460 kB
  • ctags: 12,237
  • sloc: ansic: 198,334; sh: 11,419; makefile: 668
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