On Mon, Sep 04, 2017 at 12:17:12 +0200, Helmut Grohne wrote: > rlwrap fails to cross build from source, because it uses an uncacheable > AC_CHECK_FILES where the cache variable contains the process id of > ./configure. After thinking about it, I figured that replacing > "/proc/$$" with "/proc/self" would be a reasonable compromise making the > cache variable predictable. Thus it can be provided with a cross build. > When using the attached patch and providing > ac_cv_file__proc_self_cwd_cwdcheck (yes for linux-any and kfreebsd-any, > no for hurd-any), rlwrap cross build successfully. Please consider > applying the patch.
Thank you for taking the time to write a patch for this problem. In working on packaging the latest upstream release, I've noticed that the configure script has diverged from the affected code. With the 0.43 release (uploading soon to unstable), it should be possible to cross-build by defining ENABLE_MIRROR_ARGS on linux-any and kfreebsd-any. -- mike
Description: PGP signature