]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Fix autotools cross-compiling support
authorDavid Sommerseth <dazo@users.sourceforge.net>
Thu, 11 Mar 2010 16:28:41 +0000 (17:28 +0100)
committerDavid Sommerseth <dazo@users.sourceforge.net>
Thu, 21 Oct 2010 09:34:58 +0000 (11:34 +0200)
commit86715242cee9d50ca24a522913d1a6b04e0bcc3d
tree46d591fc0176c5fc0a305d2dab81566f557dc093
parent1e02046b68af74e84eafbfadb6f856195bbbdcb0
Fix autotools cross-compiling support

This is a modified version of a patch sent to the sf.net
patch tracker:

<http://sourceforge.net/tracker/?func=detail&aid=2491190&group_id=48978&atid=454721>

After having disucssed this patch on IRC (#openvpn-discussions)
March 4, 2010, it was decided to accept this patch when not modifying
TARGET_* defines through out the code.  Further, in a mail comment
Alon Bar-Lev had some other comments of what would be needed to be done.

Mail reference:
<http://thread.gmane.org/gmane.network.openvpn.devel/3176>

This patch has been tested by bootstrapping the code on a RHEL4.6 box.
with the following autotools packages installed:
autoconf-2.59-5
automake-1.9.2-3
libtool-1.5.6-4.EL4.2

It builds cleanly and 'make check' passes.

Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
Acked-by: James Yonan <james@openvpn.net>
Acked-by: Alon Bar-Lev <alon.barlev@gmail.com>
acinclude.m4
configure.ac