[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Request for review] aeskulap



Hi,

I was working on making src:aeskulap cross-buildable. The problem with cross-building IMO was the AC_CHECK_FILE([/proc/self/maps]) in acinclude.m4
This is because, binreloc is enabled by default for non-mingw compiler (which means it is definitely default for Debian's use-case). On disabling it during cross-building, it seems to work well

I'm attaching the patch for the same. Since I do not know much of autotools ecosystem admittedly, I'd really appreciate any review/help.

-- 
Nilesh

--- a/configure.ac
+++ b/configure.ac
@@ -33,12 +33,14 @@
 AC_PROG_CC
 AC_PROG_CXX
 AC_PROG_INSTALL
+if test $build = $host ; then
 if test x"$MINGW32" = xno ; then
 AM_BINRELOC
 else
 GMSGFMT=msgfmt
 AC_SUBST(GMSGFMT)
 fi
+fi
 
 dnl
 dnl gettext package

Reply to: