File: pkgconfig.test

package info (click to toggle)
gsl 2.8%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 29,088 kB
  • sloc: ansic: 269,984; sh: 4,535; makefile: 902; python: 69
file content (9 lines) | stat: -rwxr-xr-x 243 bytes parent folder | download | duplicates (13)
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