A few autogen configure tests require running the program on machine:
export ag_cv_run_strcspn=no
export libopts_cv_with_libregex=yes
Pass these to get past ./configure. Autogen still reexecutes itself
at build time. Will need more fixes if feasible at all.
Reported-by: Thomas Sachau
Bug: https://bugs.gentoo.org/425174
Package-Manager: Portage-2.3.72, Repoman-2.3.17
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
# suppress possibly incorrect -R flag
export ag_cv_test_ldflags=
+ # autogen requires run-time sanity of regex and string functions.
+ # Use defaults of linux-glibc until we need somethig more advanced.
+ if tc-is-cross-compiler ; then
+ export ag_cv_run_strcspn=no
+ export libopts_cv_with_libregex=yes
+ fi
+
econf $(use_enable static-libs static)
}