|
|
6246fd |
--- libgphoto2-2.4.1/gphoto2-config.in.pkgcfg 2007-07-27 02:36:23.000000000 +0200
|
|
|
6246fd |
+++ libgphoto2-2.4.1/gphoto2-config.in 2007-07-31 12:21:14.000000000 +0200
|
|
|
6246fd |
@@ -1,11 +1,5 @@
|
|
|
6246fd |
#! /bin/sh
|
|
|
6246fd |
|
|
|
6246fd |
-# leave these definitions here
|
|
|
6246fd |
-# they are required for correct interpolation of
|
|
|
6246fd |
-# @libdir@ and @includedir@ later on
|
|
|
6246fd |
-prefix="@prefix@"
|
|
|
6246fd |
-exec_prefix="@exec_prefix@"
|
|
|
6246fd |
-
|
|
|
6246fd |
usage()
|
|
|
6246fd |
{
|
|
|
6246fd |
cat <
|
|
|
6246fd |
@@ -13,7 +7,7 @@ Usage: gphoto2-config [OPTION]
|
|
|
6246fd |
|
|
|
6246fd |
Known values for OPTION are:
|
|
|
6246fd |
|
|
|
6246fd |
- --prefix=DIR change libgphoto2 prefix [default ${prefix}]
|
|
|
6246fd |
+ --prefix print libgphoto2 prefix
|
|
|
6246fd |
--libs print library linking information
|
|
|
6246fd |
--cflags print pre-processor and compiler flags
|
|
|
6246fd |
--help display this help and exit
|
|
|
6246fd |
@@ -55,11 +49,11 @@ while test $# -gt 0; do
|
|
|
6246fd |
;;
|
|
|
6246fd |
|
|
|
6246fd |
--cflags)
|
|
|
6246fd |
- echo "-I@includedir@/gphoto2"
|
|
|
6246fd |
+ pkg-config --cflags libgphoto2
|
|
|
6246fd |
;;
|
|
|
6246fd |
|
|
|
6246fd |
--libs)
|
|
|
6246fd |
- echo "-L@libdir@" -lgphoto2 -lgphoto2_port -lm
|
|
|
6246fd |
+ pkg-config --libs libgphoto2
|
|
|
6246fd |
;;
|
|
|
6246fd |
|
|
|
6246fd |
*)
|
|
|
6246fd |
--- libgphoto2-2.4.1/libgphoto2_port/gphoto2-port-config.in.pkgcfg 2007-07-27 02:36:16.000000000 +0200
|
|
|
6246fd |
+++ libgphoto2-2.4.1/libgphoto2_port/gphoto2-port-config.in 2007-07-31 12:21:14.000000000 +0200
|
|
|
6246fd |
@@ -1,11 +1,5 @@
|
|
|
6246fd |
#! /bin/sh
|
|
|
6246fd |
|
|
|
6246fd |
-# leave these definitions here
|
|
|
6246fd |
-# they are required for correct interpolation of
|
|
|
6246fd |
-# @libdir@ and @includedir@ later on
|
|
|
6246fd |
-prefix="@prefix@"
|
|
|
6246fd |
-exec_prefix="@exec_prefix@"
|
|
|
6246fd |
-
|
|
|
6246fd |
usage()
|
|
|
6246fd |
{
|
|
|
6246fd |
cat <
|
|
|
6246fd |
@@ -13,7 +7,7 @@ Usage: gphoto2-port-config [OPTION]
|
|
|
6246fd |
|
|
|
6246fd |
Known values for OPTION are:
|
|
|
6246fd |
|
|
|
6246fd |
- --prefix=DIR change libgphoto2-port prefix [default ${prefix}]
|
|
|
6246fd |
+ --prefix print libgphoto2-port prefix
|
|
|
6246fd |
--libs print library linking information
|
|
|
6246fd |
--cflags print pre-processor and compiler flags
|
|
|
6246fd |
--help display this help and exit
|
|
|
6246fd |
@@ -55,11 +49,11 @@ while test $# -gt 0; do
|
|
|
6246fd |
;;
|
|
|
6246fd |
|
|
|
6246fd |
--cflags)
|
|
|
6246fd |
- echo "-I@includedir@/gphoto2"
|
|
|
6246fd |
+ pkg-config --cflags libgphoto2_port
|
|
|
6246fd |
;;
|
|
|
6246fd |
|
|
|
6246fd |
--libs)
|
|
|
6246fd |
- echo "-L@libdir@" -lgphoto2_port
|
|
|
6246fd |
+ pkg-config --libs libgphoto2_port
|
|
|
6246fd |
;;
|
|
|
6246fd |
|
|
|
6246fd |
*)
|