From 6327679f15198d2fb5ee0499899606685e14345b Mon Sep 17 00:00:00 2001 From: d33tah Date: Tue, 24 Jun 2014 09:25:09 +0000 Subject: [PATCH] Fix whitespace in configure.ac. --- configure.ac | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/configure.ac b/configure.ac index 074b75fa5..e8394859d 100644 --- a/configure.ac +++ b/configure.ac @@ -121,7 +121,7 @@ case "$host" in ;; *-aix*) # use some AIX specific libraries - AC_CHECK_LIB(odm, odm_initialize) + AC_CHECK_LIB(odm, odm_initialize) AC_CHECK_LIB(cfg, _system_configuration) AC_CHECK_LIB(crypt, crypt_r) ;; @@ -130,7 +130,7 @@ case "$host" in # Solaris 11 and later use BPF packet capture rather than DLPI. AC_DEFINE(SOLARIS_BPF_PCAP_CAPTURE) ;; - *-solaris2.0*) + *-solaris2.0*) AC_DEFINE(STUPID_SOLARIS_CHECKSUM_BUG) AC_DEFINE(SOLARIS) ;; @@ -392,9 +392,9 @@ AC_HELP_STRING([--with-libpcap=included], [Always use version included with Nmap AC_CHECK_HEADER(pcap.h,[ AC_CHECK_LIB(pcap, pcap_datalink, - [have_libpcap=yes - LIBPCAP_INC=$with_libpcap/include - LIBPCAP_LIB=$with_libpcap/lib])]) + [have_libpcap=yes + LIBPCAP_INC=$with_libpcap/include + LIBPCAP_LIB=$with_libpcap/lib])]) LDFLAGS=$_ldflags CPPFLAGS=$_cppflags @@ -476,7 +476,7 @@ AC_HELP_STRING([--with-libpcre=included], [Always use the version included with if test $have_pcre != yes -a $requested_included_pcre != yes ; then AC_CHECK_HEADER(pcre.h, AC_CHECK_LIB(pcre, pcre_version, [have_pcre=yes ]), - [AC_CHECK_HEADER(pcre/pcre.h, + [AC_CHECK_HEADER(pcre/pcre.h, [AC_CHECK_LIB(pcre, pcre_version, [have_pcre=yes])] )] ) @@ -567,7 +567,7 @@ requested_included_lua=no no_lua=no # First we test whether they specified liblua explicitly -AC_ARG_WITH(liblua, +AC_ARG_WITH(liblua, AC_HELP_STRING([--with-liblua=DIR], [Use an existing (compiled) lua lib from DIR/include and DIR/lib.]) AC_HELP_STRING([--with-liblua=included], [Use the liblua version included with Nmap]) AC_HELP_STRING([--without-liblua], [Compile without lua (this will exclude all of NSE from compilation)]), @@ -581,8 +581,8 @@ AC_HELP_STRING([--without-liblua], [Compile without lua (this will exclude all o LUA_BUILD="lua_build" LUA_CLEAN="lua_clean" LUA_DIST_CLEAN="lua_dist_clean" - have_lua="yes" - + have_lua="yes" + ;; no) no_lua="yes" @@ -607,7 +607,7 @@ if test "$no_lua" = "yes"; then LUA_DIST_CLEAN="" INSTALLNSE="" -else +else # If they didn't specify it, we try to find it if test $have_lua != yes; then @@ -620,11 +620,11 @@ else AC_LANG_PUSH(C++) AC_MSG_CHECKING([for lua version >= 502]) AC_RUN_IFELSE([ AC_LANG_PROGRAM( - [[#include ]], - [[if(LUA_VERSION_NUM < 502) return 1;]])], - have_lua=yes, have_lua=no, AC_MSG_RESULT(cross-compiling -- assuming yes); have_lua=yes) + [[#include ]], + [[if(LUA_VERSION_NUM < 502) return 1;]])], + have_lua=yes, have_lua=no, AC_MSG_RESULT(cross-compiling -- assuming yes); have_lua=yes) AC_LANG_POP(C++) - + LUA_DEPENDS="" LUA_BUILD="" LUA_CLEAN="" @@ -633,7 +633,7 @@ else # if we didn't find we use our own if test $have_lua != yes; then - AC_MSG_RESULT(no) + AC_MSG_RESULT(no) CPPFLAGS="-I\$(top_srcdir)/$LIBLUADIR $CPPFLAGS" LIBLUA_LIBS="\$(top_srcdir)/$LIBLUADIR/liblua.a" LUA_DEPENDS="\$(top_srcdir)/$LIBLUADIR/liblua.a" @@ -642,7 +642,7 @@ else LUA_DIST_CLEAN="lua_dist_clean" AC_DEFINE(LUA_INCLUDED) else - AC_MSG_RESULT(yes) + AC_MSG_RESULT(yes) fi INSTALLNSE="install-nse" @@ -701,7 +701,7 @@ fi # if we didn't find we use our own if test $have_liblinear != yes; then - AC_MSG_RESULT(no) + AC_MSG_RESULT(no) CPPFLAGS="-I\$(top_srcdir)/$LIBLINEARDIR $CPPFLAGS" LIBLINEAR_LIBS="\$(top_srcdir)/$LIBLINEARDIR/liblinear.a" LIBLINEAR_DEPENDS="\$(top_srcdir)/$LIBLINEARDIR/liblinear.a" @@ -710,7 +710,7 @@ if test $have_liblinear != yes; then LIBLINEAR_DIST_CLEAN="liblinear_dist_clean" AC_DEFINE(LIBLINEAR_INCLUDED) else - AC_MSG_RESULT(yes) + AC_MSG_RESULT(yes) fi AC_SUBST(LIBLINEAR_LIBS) @@ -740,7 +740,7 @@ AC_CACHE_CHECK(if struct icmp exists, ac_cv_struct_icmp_exists, #include #include #include - #include + #include #define __USE_BSD #define __FAVOR_BSD #define _BSD_SOURCE @@ -758,7 +758,7 @@ AC_CACHE_CHECK(if struct ip exists, ac_cv_struct_ip_exists, #include #include #include - #include + #include #define __USE_BSD #define __FAVOR_BSD #define _BSD_SOURCE @@ -846,7 +846,7 @@ AC_CONFIG_SUBDIRS(nsock/src) NCATDIR="ncat" AC_ARG_WITH(ncat, - AC_HELP_STRING([--without-ncat], [Skip build and installation of Ncat]), [], [with_ncat=check]) + AC_HELP_STRING([--without-ncat], [Skip build and installation of Ncat]), [], [with_ncat=check]) if test "$with_ncat" = "no"; then NCAT_BUILD="" @@ -965,7 +965,7 @@ FILENAME=`ls docs/leet-nmap-ascii-art*.txt 2>/dev/null | awk ' '` # Print the file to screen, if any such file exists (i.e. $FILENAME is not empty) if test "$FILENAME"; then - cat "$FILENAME" + cat "$FILENAME" fi echo "Configuration complete. Type make (or gmake on some *BSD machines) to compile."