From d6fd5ad97e6005c92ce830b67c38feedf2524eb3 Mon Sep 17 00:00:00 2001 From: "Helmut K. C. Tessarek" Date: Tue, 25 Apr 2017 17:29:50 -0400 Subject: [PATCH] whitespace changes --- configure.ac | 86 ++++++++++++++++++++++++------------------------- src/Makefile.am | 4 +-- 2 files changed, 45 insertions(+), 45 deletions(-) diff --git a/configure.ac b/configure.ac index c2ecf24..6e92116 100644 --- a/configure.ac +++ b/configure.ac @@ -38,17 +38,17 @@ AM_INIT_AUTOMAKE # Add non-standard directories to the include path AC_ARG_WITH(libraries, - [ + [ --with-libraries= additional place to look for libraries], - [LDFLAGS="$LDFLAGS -L $withval"], - , + [LDFLAGS="$LDFLAGS -L $withval"], + , ) # Add non-standard includes to the include path AC_ARG_WITH(includes, - [ + [ --with-includes= additional place to look for header files], - [CPPFLAGS="$CPPFLAGS -I $withval"], - , + [CPPFLAGS="$CPPFLAGS -I $withval"], + , ) @@ -59,8 +59,8 @@ AC_LANG([C++]) # Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS([arpa/inet.h netdb.h netinet/in.h \ - string.h strings.h sys/socket.h time.h sys/time.h \ - limits.h sys/param.h]) + string.h strings.h sys/socket.h time.h sys/time.h \ + limits.h sys/param.h]) # Checks for typedefs, structures, and compiler characteristics. #AC_HEADER_STDBOOL # not in 2.53? @@ -78,55 +78,55 @@ AC_CHECK_FUNCS([inet_aton memset strchr strdup kqueue strerror strstr]) # pcre {{{ AC_ARG_WITH(pcre, - [ --with-pcre= prefix of pcre installation (eg /usr/local)], - [ - CPPFLAGS="$CPPFLAGS -I $withval/include" - LDFLAGS="$LDFLAGS -L $withval/lib" - ] + [ --with-pcre= prefix of pcre installation (eg /usr/local)], + [ + CPPFLAGS="$CPPFLAGS -I $withval/include" + LDFLAGS="$LDFLAGS -L $withval/lib" + ] ) AC_CHECK_HEADERS(pcre.h, - AC_SEARCH_LIBS([pcre_compile], [pcre]) , - AC_MSG_WARN([*** pcre.h not found -- consider using --with-pcre]) + AC_SEARCH_LIBS([pcre_compile], [pcre]) , + AC_MSG_WARN([*** pcre.h not found -- consider using --with-pcre]) ) # }}} # fam {{{ AC_ARG_WITH(fam, - [ --with-fam= prefix of fam installation (eg /usr/local)], - [ - CPPFLAGS="$CPPFLAGS -I $withval/include" - LDFLAGS="$LDFLAGS -L $withval/lib" - ] + [ --with-fam= prefix of fam installation (eg /usr/local)], + [ + CPPFLAGS="$CPPFLAGS -I $withval/include" + LDFLAGS="$LDFLAGS -L $withval/lib" + ] ) AC_CHECK_HEADERS(fam.h, - AC_SEARCH_LIBS([FAMOpen], [fam]) , - AC_MSG_WARN([*** fam.h not found -- consider using --with-fam]) + AC_SEARCH_LIBS([FAMOpen], [fam]) , + AC_MSG_WARN([*** fam.h not found -- consider using --with-fam]) ) # }}} # adns {{{ AC_ARG_WITH(adns, - [ --with-adns= prefix of adns installation (eg /usr/local)], - [ - CPPFLAGS="$CPPFLAGS -I $withval/include" - LDFLAGS="$LDFLAGS -L $withval/lib" - ] + [ --with-adns= prefix of adns installation (eg /usr/local)], + [ + CPPFLAGS="$CPPFLAGS -I $withval/include" + LDFLAGS="$LDFLAGS -L $withval/lib" + ] ) AC_CHECK_HEADERS(adns.h, - AC_SEARCH_LIBS([adns_submit], [adns]) , - AC_MSG_WARN([*** adns.h not found -- consider using --with-adns]) + AC_SEARCH_LIBS([adns_submit], [adns]) , + AC_MSG_WARN([*** adns.h not found -- consider using --with-adns]) ) # }}} # --with-logfile {{{ AC_ARG_WITH(logfile, - [ + [ --with-logfile= location of default logfile], - [AC_DEFINE_UNQUOTED(DEFAULT_LOGFILE, "$withval", [Optionally override the DEFAULT_LOGFILE in apachetop.h])], - , + [AC_DEFINE_UNQUOTED(DEFAULT_LOGFILE, "$withval", [Optionally override the DEFAULT_LOGFILE in apachetop.h])], + , ) # }}} @@ -135,20 +135,20 @@ AC_SEARCH_LIBS([inet_addr], [nsl]) AC_SEARCH_LIBS([attron], [ncurses]) AC_SEARCH_LIBS([tgetstr], [termcap]) AC_SEARCH_LIBS([mvprintw], [curses ncurses] , - [] , - [ - AC_MSG_ERROR([No useful curses library found!]) - ] + [] , + [ + AC_MSG_ERROR([No useful curses library found!]) + ] ) AC_SEARCH_LIBS([readline], [readline], - [ - AC_DEFINE(HAVE_READLINE,1,[Define if you have readline library]) - AC_SUBST(HAVE_READLINE) - ] , - [ - AC_MSG_ERROR(readline library not found) - ] + [ + AC_DEFINE(HAVE_READLINE,1,[Define if you have readline library]) + AC_SUBST(HAVE_READLINE) + ] , + [ + AC_MSG_ERROR(readline library not found) + ] ) diff --git a/src/Makefile.am b/src/Makefile.am index dd40370..d757089 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -4,11 +4,11 @@ bin_PROGRAMS = apachetop apachetop_SOURCES = apachetop.cc log.cc inlines.cc ohtbl.cc map.cc queue.cc \ display.cc hits_circle.cc timed_circle.cc filters.cc \ - resolver.cc + resolver.cc noinst_HEADERS = apachetop.h log.h ohtbl.h map.h queue.h \ display.h hits_circle.h circle.h timed_circle.h filters.h \ - resolver.h pcre_cpp_wrapper.h + resolver.h pcre_cpp_wrapper.h MAINTAINERCLEANFILES = Makefile.in