Source: adanaxisgpl
Version: 1.2.5.dfsg.1-6
Tags: patch upstream
User: [email protected]
Usertags: rebootstrap

adanaxisgpl fails to cross build from source, because the build system
abuses AC_CHECK_FILE, which is meant for discovering files on the host
system. adanaxisgpl however uses it to check files in the build tree.
That's wrong. The attached patch fixes that and makes adanaxisgpl cross
buildable. Please consider applying it.

Helmut
--- adanaxisgpl-1.2.5.dfsg.1.orig/configure.in
+++ adanaxisgpl-1.2.5.dfsg.1/configure.in
@@ -282,8 +282,8 @@
 ]
 )
 dnl Check that autogenerated Makefile.am files are there
-AC_CHECK_FILE(src,[
-AC_CHECK_FILE(src/Makefile.am,,[
+AS_IF([test -d src],[
+AS_IF([test -f src/Makefile.am],,[
 AC_MSG_ERROR([src/Makefile.am not present.  Please run autogen])
 ])
 ])

Reply via email to