1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-18 12:19:02 +00:00

The change in the configure script done in r32919 would be overwritten next time someone ran autoconf.

Changed configure.ac instead and ran autoconf 2.69 to regenerate configure.
This commit is contained in:
jay
2014-06-06 07:10:18 +00:00
parent 319b6b560e
commit 5f27fb12a6
2 changed files with 21 additions and 2 deletions

View File

@@ -946,8 +946,26 @@ AC_SUBST(NMAP_UPDATE_DIST_CLEAN)
AC_OUTPUT(Makefile libnetutil/Makefile)
# Krad ASCII ART#!#@$!@#$
if test -f docs/leet-nmap-ascii-art.txt; then
cat docs/leet-nmap-ascii-art.txt
# Randomly store the name of one of the ASCII Art files in FILENAME
FILENAME=`ls docs/leet-nmap-ascii-art*.txt 2>/dev/null | awk '
BEGIN {
srand();
}
{
lines[[++d]] = $0
}
END {
# This makes AWKs random numbers more random
print lines[[int(rand()*49139)%d+1]];
}
'`
# Print the file to screen, if any such file exists (i.e. $FILENAME is not empty)
if test "$FILENAME"; then
cat "$FILENAME"
fi
echo "Configuration complete. Type make (or gmake on some *BSD machines) to compile."