Hello Michael, On Monday 27 April 2015 11:26:08, Michael Olbrich wrote: > On Tue, Apr 21, 2015 at 11:44:41AM +0200, Alexander Stein wrote: > > This version needs a patch for configure as it fails when cross compiling. > > We don't patch configure scripts. You can tell AC_TRY_RUN what to do when > cross-compiling. Either use that to disable this (I think it's the large > file check, right?) or wrap the whole check in a AC_CACHE_CHECK and set the > correct value in the environment.
I see that AC_TRY_RUN accepts 3 parameters for sucess, fail and cross-compile. The first two are no problem, but the third should be set according to PTXCONF_GLOBAL_LARGE_FILE. How can I access that environment (?) variable. I'm no autotools expert nor regular users of that. Another method would be to use AC_SYS_LARGEFILE, but I have no idea how to set 'large_file' for large_file then. > And then add a autogen.sh link to the patches (like many other packages in > ptxdist). Ok, got that. Best regards, Alexander -- Dipl.-Inf. Alexander Stein SYS TEC electronic GmbH Am Windrad 2 08468 Heinsdorfergrund Tel.: 03765 38600-1156 Fax: 03765 38600-4100 Email: [email protected] Website: www.systec-electronic.com Managing Director: Dipl.-Phys. Siegmar Schmidt Commercial registry: Amtsgericht Chemnitz, HRB 28082 -- ptxdist mailing list [email protected]
