]> 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, 29 Apr 2010 18:22:09 +0000 (20:22 +0200)
commit64f3c5b0c7fdea3524914025a96b59eb835ea980
tree98e205c52e1849245ff53416eeab35a1e2ee3daa
parent48045ace0541ec39f9c5003c0c37a23e1651f39d
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