You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
799 B
34 lines
799 B
--- libftdi-0.16/libftdi-config.in 2009-02-06 17:40:10.000000000 +0200
|
|
+++ libftdi-0.16-mod/libftdi-config.in 2009-07-31 10:39:56.000000000 +0300
|
|
@@ -1,7 +1,7 @@
|
|
#!/bin/sh
|
|
|
|
-prefix=@prefix@
|
|
-exec_prefix=@exec_prefix@
|
|
+prefix=`pkg-config --variable prefix libftdi`
|
|
+exec_prefix=`pkg-config --variable exec_prefix libftdi`
|
|
exec_prefix_set=no
|
|
|
|
usage()
|
|
@@ -46,17 +46,14 @@
|
|
echo_exec_prefix=yes
|
|
;;
|
|
--version)
|
|
- echo @VERSION@
|
|
+ pkg-config --modversion libftdi
|
|
exit 0
|
|
;;
|
|
--cflags)
|
|
- if test "@includedir@" != /usr/include ; then
|
|
- includes="-I@includedir@"
|
|
- fi
|
|
- echo_cflags=yes
|
|
+ pkg-config --cflags libftdi
|
|
;;
|
|
--libs)
|
|
- echo_libs=yes
|
|
+ pkg-config --libs libftdi
|
|
;;
|
|
*)
|
|
usage 1 1>&2
|