diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2010-11-01 10:36:52 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2010-11-01 13:18:40 +0100 |
commit | cb798dc31dee5c131e0f634021678e9c2fedeca8 (patch) | |
tree | dc4c72d064a4fc484dd163a11cdd35b338970afe /recipes/xorg-app/xkbevd-1.1.1/0001-config-replace-AC_CHECK_FILE-with-test-f.patch | |
parent | e3e33312ac0d798a26b01f4e73fcd934b77951c3 (diff) | |
download | openembedded-cb798dc31dee5c131e0f634021678e9c2fedeca8.tar.gz |
xorg: new versions for 20101101
* tested on SHR/gta-02, SHR/spitz, SHR/nokia900
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes/xorg-app/xkbevd-1.1.1/0001-config-replace-AC_CHECK_FILE-with-test-f.patch')
-rw-r--r-- | recipes/xorg-app/xkbevd-1.1.1/0001-config-replace-AC_CHECK_FILE-with-test-f.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/recipes/xorg-app/xkbevd-1.1.1/0001-config-replace-AC_CHECK_FILE-with-test-f.patch b/recipes/xorg-app/xkbevd-1.1.1/0001-config-replace-AC_CHECK_FILE-with-test-f.patch new file mode 100644 index 0000000000..7fba81852b --- /dev/null +++ b/recipes/xorg-app/xkbevd-1.1.1/0001-config-replace-AC_CHECK_FILE-with-test-f.patch @@ -0,0 +1,32 @@ +From 16cdb1985052e6d16f724838f575deed7aeaa72a Mon Sep 17 00:00:00 2001 +From: Martin Jansa <Martin.Jansa@gmail.com> +Date: Mon, 1 Nov 2010 09:46:20 +0100 +Subject: [PATCH] config: replace AC_CHECK_FILE with test -f + +* AC_CHECK_FILE doesn't work for cross compilation +* https://bugs.freedesktop.org/show_bug.cgi?id=31289 +--- + configure.ac | 7 +++++-- + 1 files changed, 5 insertions(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 611861c..73c7def 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -35,8 +35,11 @@ AM_CONFIG_HEADER(config.h) + + AC_PROG_YACC + AC_PATH_PROG([YACC_INST], $YACC) +-AC_CHECK_FILE([$srcdir/cfgparse.c], [], +- [test -z "$YACC_INST" && AC_MSG_ERROR([yacc not found - unable to compile cfgparse.y])]) ++if test ! -f "$srcdir/cfgparse.c"; then ++ if test -z "$YACC_INST"; then ++ AC_MSG_ERROR([yacc not found - unable to compile cfgparse.y]) ++ fi ++fi + + XORG_DEFAULT_OPTIONS + +-- +1.7.3.2 + |