diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/obexftp/files/m4.patch | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (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 'recipes/obexftp/files/m4.patch')
-rw-r--r-- | recipes/obexftp/files/m4.patch | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/recipes/obexftp/files/m4.patch b/recipes/obexftp/files/m4.patch new file mode 100644 index 0000000000..07c5eedcd7 --- /dev/null +++ b/recipes/obexftp/files/m4.patch @@ -0,0 +1,64 @@ + +# +# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher +# + +--- /dev/null 2003-09-23 18:19:32.000000000 -0400 ++++ obexftp-0.10.3/m4/openobex.m4 2004-03-06 05:10:27.000000000 -0500 +@@ -0,0 +1,56 @@ ++dnl Check for openobex library ++dnl Written by Pontus Fuchs 2000-08-18 ++dnl Version checking fixed by Christian W. Zuckschwerdt 2002-10-17 ++ ++AC_DEFUN([AM_PATH_OPENOBEX], [ ++ AC_PATH_PROG(OPENOBEX_CONFIG, openobex-config, no) ++ ++ if test "$OPENOBEX_CONFIG" = "no" ; then ++ AC_MSG_ERROR(openobex-config not found. Pehaps openobex is not installed.) ++ fi ++ ++ min_obex_version=ifelse([$1], ,0.9.6,$1) ++ AC_MSG_CHECKING(for openobex - version >= $min_obex_version) ++ ++ OPENOBEX_CFLAGS=`$OPENOBEX_CONFIG --cflags` ++ OPENOBEX_LIBS=`$OPENOBEX_CONFIG --libs` ++ ++ obex_config_version=`$OPENOBEX_CONFIG --version` ++ ++ obex_config_major_version=`$OPENOBEX_CONFIG --version | \ ++ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` ++ obex_config_minor_version=`$OPENOBEX_CONFIG --version | \ ++ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` ++ obex_config_micro_version=`$OPENOBEX_CONFIG --version | \ ++ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` ++ ++ obex_req_major_version=`echo $min_obex_version | \ ++ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` ++ obex_req_minor_version=`echo $min_obex_version | \ ++ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` ++ obex_req_micro_version=`echo $min_obex_version | \ ++ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` ++ ++ ++ if test $obex_req_major_version -lt $obex_config_major_version ; then ++ obex_config_version_ok="yes" ++ fi ++ if test $obex_req_major_version -eq $obex_config_major_version ; then ++ if test $obex_req_minor_version -lt $obex_config_minor_version ; then ++ obex_config_version_ok="yes" ++ fi ++ if test $obex_req_minor_version -eq $obex_config_minor_version ; then ++ if test $obex_req_micro_version -le $obex_config_micro_version ; then ++ obex_config_version_ok="yes" ++ fi ++ fi ++ fi ++ ++ if test "$obex_config_version_ok" != "yes" ; then ++ AC_MSG_ERROR(Installed openobex library too old ($obex_config_version)) ++ fi ++ ++ AC_SUBST(OPENOBEX_CFLAGS) ++ AC_SUBST(OPENOBEX_LIBS) ++ AC_MSG_RESULT(yes) ++]) |