Nmap Development mailing list archives

Patch to fix autoconf/strip for cross-compiling


From: Vlatko Kosturjak <kost () linux hr>
Date: Sun, 8 Feb 2015 23:44:48 +0100

Hello!

Nmap is configured to use AC_PATH_TOOL instead of AC_CHECK_TOOL for finding
strip binary. Since strip is architecture dependant, it is more convient 
to use AC_CHECK_TOOL instead.

In short, if someone specify --host=my-cc-host, currently nmaps uses 
system wide strip in PATH rather than trying my-cc-host-strip first. 
This patch fixes that and it makes cross compilers happy.

You can read more about these options:
http://www.delorie.com/gnu/docs/autoconf/autoconf_41.html

Note: after applying this patch, "autoconf" should be run in following
directories (in order to update configure from patched configure.ac 
since configure is included in subversion nmap repo):

nmap/
nmap/nping
nmap/ncat
nmap/nmap-update

Hope it helps,
-- 
Vlatko Kosturjak - KoSt

Attachment: fix-autoconf-strip.diff
Description:

_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

Current thread: