• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/x11r7/xapp_xgc/xapp_xgc-replace-ac-check-file.patch
Thomas PetazzoniThomas Petazzoni committed b6d2046c1ee22 Oct 2012
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
From ff668395fc408f540604bd534e323b483f52a4ea Mon Sep 17 00:00:00 2001
2
From: Gaetan Nadon <memsize@videotron.ca>
3
Date: Mon, 01 Nov 2010 17:19:23 +0000
4
Subject: config: replace AC_CHECK_FILE with test -f
5
​
6
* AC_CHECK_FILE doesn't work for cross compilation
7
​
8
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
9
---
10
diff --git a/configure.ac b/configure.ac
11
index 667a3e7..0644050 100644
12
--- a/configure.ac
13
+++ b/configure.ac
14
@@ -36,8 +36,11 @@ XORG_DEFAULT_OPTIONS
15
 AC_PROG_LEX
16
 AC_PROG_YACC
17
 AC_PATH_PROG([YACC_INST], $YACC)
18
-AC_CHECK_FILE([$srcdir/gram.c], [],
19
-              [test -z "$YACC_INST" && AC_MSG_ERROR([yacc not found - unable to compile gram.y])])
20
+if test ! -f "gram.c"; then
21
+   if test -z "$YACC_INST"; then
22
+      AC_MSG_ERROR([yacc not found - unable to compile gram.y])
23
+   fi
24
+fi
25
 
26
 PKG_CHECK_MODULES(XGC, xaw7 xt)
27
 xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
28
--
29
cgit v0.9.0.2-2-gbebe
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.