summaryrefslogtreecommitdiff
path: root/packages/glib-1.2/glib-1.2-1.2.10/glib-config-use-pkg-config
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /packages/glib-1.2/glib-1.2-1.2.10/glib-config-use-pkg-config
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'packages/glib-1.2/glib-1.2-1.2.10/glib-config-use-pkg-config')
-rw-r--r--packages/glib-1.2/glib-1.2-1.2.10/glib-config-use-pkg-config72
1 files changed, 0 insertions, 72 deletions
diff --git a/packages/glib-1.2/glib-1.2-1.2.10/glib-config-use-pkg-config b/packages/glib-1.2/glib-1.2-1.2.10/glib-config-use-pkg-config
deleted file mode 100644
index aaa64f392c..0000000000
--- a/packages/glib-1.2/glib-1.2-1.2.10/glib-config-use-pkg-config
+++ /dev/null
@@ -1,72 +0,0 @@
---- glib-1.2.10/glib-config.in.orig 2006-06-28 12:28:53.000000000 +0100
-+++ glib-1.2.10/glib-config.in 2006-06-28 12:31:33.000000000 +0100
-@@ -28,6 +28,8 @@
-
- lib_glib=yes
-
-+cmd="pkg-config "
-+
- while test $# -gt 0; do
- case "$1" in
- -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
-@@ -55,20 +57,14 @@
- echo @GLIB_VERSION@
- exit 0
- ;;
-- --cflags)
-- echo_cflags=yes
-- ;;
-- --libs)
-- echo_libs=yes
-- ;;
-- glib)
-- lib_glib=yes
-- ;;
-- gmodule)
-- lib_gmodule=yes
-- ;;
-- gthread)
-- lib_gthread=yes
-+ --cflags | --libs)
-+ cmd="$cmd $1 "
-+ echo_pkgconfig="yes"
-+ ;;
-+ glib | gmodule | gthread)
-+ cmd="$cmd $1 "
-+ echo_pkgconfig="yes"
-+ module_provided="yes"
- ;;
- *)
- usage 1 1>&2
-@@ -83,26 +79,9 @@
- if test "$echo_exec_prefix" = "yes"; then
- echo $exec_prefix
- fi
--if test "$echo_cflags" = "yes"; then
-- cflags=""
-- if test "$lib_gthread" = "yes"; then
-- cflags="$cflags @G_THREAD_CFLAGS@"
-- fi
-- echo -I@includedir@/glib-1.2 -I@libdir@/glib/include $includes $cflags
--fi
--if test "$echo_libs" = "yes"; then
-- libsp=""
-- libsa=""
-- if test "$lib_glib" = "yes"; then
-- libsp="$libsp -lglib"
-- fi
-- if test "$lib_gthread" = "yes"; then
-- libsp="-lgthread $libsp"
-- libsa="$libsa @G_THREAD_LIBS@"
-- fi
-- if test "$lib_gmodule" = "yes"; then
-- libsp="@G_MODULE_LDFLAGS@ -lgmodule $libsp"
-- libsa="$libsa @G_MODULE_LIBS@"
-- fi
-- echo -L@libdir@ $libsp $libsa
-+if test "$echo_pkgconfig" = "yes"; then
-+ if test -z "$module_provided" ; then
-+ cmd="$cmd glib"
-+ fi
-+ echo `$cmd`
- fi