34 lines
863 B
Diff
34 lines
863 B
Diff
--- audiofile-0.2.6/audiofile-config.in.multilib 2006-07-27 19:23:38.000000000 -0400
|
|
+++ audiofile-0.2.6/audiofile-config.in 2006-07-27 19:25:18.000000000 -0400
|
|
@@ -1,7 +1,7 @@
|
|
#!/bin/sh
|
|
|
|
-prefix=@prefix@
|
|
-exec_prefix=@exec_prefix@
|
|
+prefix=`pkg-config --variable prefix audiofile`
|
|
+exec_prefix=`pkg-config --variable exec_prefix audiofile`
|
|
exec_prefix_set=no
|
|
|
|
usage="\
|
|
@@ -36,17 +36,13 @@
|
|
echo $exec_prefix
|
|
;;
|
|
--version)
|
|
- echo @AUDIOFILE_VERSION@
|
|
+ pkg-config --modversion audiofile
|
|
;;
|
|
--cflags)
|
|
- if test @includedir@ != /usr/include ; then
|
|
- includes=-I@includedir@
|
|
- fi
|
|
- echo $includes
|
|
+ pkg-config --cflags audiofile
|
|
;;
|
|
--libs)
|
|
- libdirs=-L@libdir@
|
|
- echo $libdirs -laudiofile -lm
|
|
+ pkg-config --libs audiofile
|
|
;;
|
|
*)
|
|
echo "${usage}" 1>&2
|