diff options
author | Slávek Banko <[email protected]> | 2016-10-16 16:52:29 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2016-10-16 16:52:29 +0200 |
commit | de977c9845197adadac4db0f59a854cde96bea54 (patch) | |
tree | 4af51fa51e87b645af8e6235096d1d7df740f270 /artsc/artsc-config.in | |
parent | 2d91d9ada0fc32c48887763753881cd6964f35a0 (diff) | |
download | arts-de977c9845197adadac4db0f59a854cde96bea54.tar.gz arts-de977c9845197adadac4db0f59a854cde96bea54.zip |
Add artsc pkg-config file
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'artsc/artsc-config.in')
-rwxr-xr-x | artsc/artsc-config.in | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/artsc/artsc-config.in b/artsc/artsc-config.in index 1f1cff6..a8d9639 100755 --- a/artsc/artsc-config.in +++ b/artsc/artsc-config.in @@ -15,31 +15,25 @@ EOH exit 1; } -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@ -libdl=@LIBDL@ - flags="" while test $# -gt 0 do case $1 in --libs) - flags="$flags -L$libdir $libdl -lartsc @USE_THREADS@ @LIBPTHREAD@ @GLIB_LDFLAGS@ @GLIB_LIBADD@" + flags="$flags `pkg-config artsc --libs`" ;; --cflags) - flags="$flags -I$includedir @GLIB_CFLAGS@" + flags="$flags `pkg-config artsc --cflags`" ;; --version) - echo 0.9.5 + pkg-config artsc --modversion ;; --arts-version) - echo @ARTS_VERSION@ + pkg-config artsc --variable=arts_version ;; --arts-prefix) - echo $prefix + pkg-config artsc --variable=prefix ;; *) echo "$0: unknown option $1" |