Skip to content

Commit

Permalink
Moved all source and header files to the src directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
allinurl committed Dec 17, 2014
1 parent 17f954d commit 534a986
Show file tree
Hide file tree
Showing 47 changed files with 460 additions and 44 deletions.
84 changes: 42 additions & 42 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -5,57 +5,57 @@ confdir = $(sysconfdir)
dist_conf_DATA = config/goaccess.conf

goaccess_SOURCES = \
browsers.c \
browsers.h \
commons.c \
commons.h \
csv.c \
csv.h \
error.c \
error.h \
gdashboard.c \
gdashboard.h \
gdns.c \
gdns.h \
gmenu.c \
gmenu.h \
goaccess.c \
goaccess.h \
json.c \
json.h \
opesys.c \
opesys.h \
options.c \
options.h \
output.c \
output.h \
parser.c \
parser.h \
sort.c \
sort.h \
settings.c \
settings.h \
ui.c \
ui.h \
util.c \
util.h \
xmalloc.c \
xmalloc.h
src/browsers.c \
src/browsers.h \
src/commons.c \
src/commons.h \
src/csv.c \
src/csv.h \
src/error.c \
src/error.h \
src/gdashboard.c \
src/gdashboard.h \
src/gdns.c \
src/gdns.h \
src/gmenu.c \
src/gmenu.h \
src/goaccess.c \
src/goaccess.h \
src/json.c \
src/json.h \
src/opesys.c \
src/opesys.h \
src/options.c \
src/options.h \
src/output.c \
src/output.h \
src/parser.c \
src/parser.h \
src/sort.c \
src/sort.h \
src/settings.c \
src/settings.h \
src/ui.c \
src/ui.h \
src/util.c \
src/util.h \
src/xmalloc.c \
src/xmalloc.h

if TCB
goaccess_SOURCES += \
tcabinet.c \
tcabinet.h
src/tcabinet.c \
src/tcabinet.h
else
goaccess_SOURCES += \
glibht.c \
glibht.h
src/glibht.c \
src/glibht.h
endif

if GEOLOCATION
goaccess_SOURCES += \
geolocation.c \
geolocation.h
src/geolocation.c \
src/geolocation.h
endif

if DEBUG
Expand Down
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
AC_PREREQ(2.59)
AC_INIT([goaccess], [0.8.5], [[email protected]], [], [http://goaccess.io])
AM_INIT_AUTOMAKE
AC_CONFIG_SRCDIR([goaccess.c])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_SRCDIR([src/goaccess.c])
AC_CONFIG_HEADERS([src/config.h])

# Use empty CFLAGS by default so autoconf does not add
# CFLAGS="-O2 -g"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
208 changes: 208 additions & 0 deletions src/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,208 @@
/* src/config.h. Generated from config.h.in by configure. */
/* src/config.h.in. Generated from configure.ac by autoheader. */

/* Define to 1 if you have the <arpa/inet.h> header file. */
#define HAVE_ARPA_INET_H 1

/* "Build using BZ2" */
/* #undef HAVE_BZ2 */

/* Define to 1 if you have the <curses.h> header file. */
/* #undef HAVE_CURSES_H */

/* Define to 1 if you have the `floor' function. */
/* #undef HAVE_FLOOR */

/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
#define HAVE_FSEEKO 1

/* Define to 1 if you have the `gethostbyaddr' function. */
#define HAVE_GETHOSTBYADDR 1

/* Define to 1 if you have the `gethostbyname' function. */
#define HAVE_GETHOSTBYNAME 1

/* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1

/* Define to 1 if you have the `GeoIP' library (-lGeoIP). */
#define HAVE_LIBGEOIP 1

/* Define to 1 if you have the `glib-2.0' library (-lglib-2.0). */
#define HAVE_LIBGLIB_2_0 1

/* Define to 1 if you have the `ncurses' library (-lncurses). */
/* #undef HAVE_LIBNCURSES */

/* Define to 1 if you have the `ncursesw' library (-lncursesw). */
#define HAVE_LIBNCURSESW 1

/* Define to 1 if you have the `nsl' library (-lnsl). */
#define HAVE_LIBNSL 1

/* Define to 1 if you have the `pthread' library (-lpthread). */
#define HAVE_LIBPTHREAD 1

/* Define to 1 if you have the `socket' library (-lsocket). */
/* #undef HAVE_LIBSOCKET */

/* Define to 1 if you have the `tokyocabinet' library (-ltokyocabinet). */
/* #undef HAVE_LIBTOKYOCABINET */

/* Define to 1 if you have the <locale.h> header file. */
#define HAVE_LOCALE_H 1

/* Define to 1 if you have the `malloc' function. */
#define HAVE_MALLOC 1

/* Define to 1 if you have the `memmove' function. */
#define HAVE_MEMMOVE 1

/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1

/* Define to 1 if you have the `memset' function. */
#define HAVE_MEMSET 1

/* Define to 1 if you have the <ncursesw/ncurses.h> header file. */
#define HAVE_NCURSESW_NCURSES_H 1

/* Define to 1 if you have the <ncurses.h> header file. */
#define HAVE_NCURSES_H 1

/* Define to 1 if you have the <ncurses/ncurses.h> header file. */
/* #undef HAVE_NCURSES_NCURSES_H */

/* Define to 1 if you have the <netdb.h> header file. */
#define HAVE_NETDB_H 1

/* Define to 1 if you have the <netinet/in.h> header file. */
#define HAVE_NETINET_IN_H 1

/* Define to 1 if the system has the type `ptrdiff_t'. */
#define HAVE_PTRDIFF_T 1

/* Define to 1 if you have the `realloc' function. */
#define HAVE_REALLOC 1

/* Define to 1 if you have the `realpath' function. */
#define HAVE_REALPATH 1

/* Define to 1 if you have the `regcomp' function. */
#define HAVE_REGCOMP 1

/* Define to 1 if you have the `setlocale' function. */
#define HAVE_SETLOCALE 1

/* Define to 1 if `stat' has the bug that it succeeds when given the
zero-length file name argument. */
/* #undef HAVE_STAT_EMPTY_STRING_BUG */

/* Define to 1 if you have the <stddef.h> header file. */
#define HAVE_STDDEF_H 1

/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1

/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1

/* Define to 1 if you have the `strchr' function. */
#define HAVE_STRCHR 1

/* Define to 1 if you have the `strdup' function. */
#define HAVE_STRDUP 1

/* Define to 1 if you have the `strerror' function. */
#define HAVE_STRERROR 1

/* Define to 1 if you have the `strftime' function. */
#define HAVE_STRFTIME 1

/* Define to 1 if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1

/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1

/* Define to 1 if you have the `strrchr' function. */
#define HAVE_STRRCHR 1

/* Define to 1 if you have the `strstr' function. */
#define HAVE_STRSTR 1

/* Define to 1 if you have the `strtol' function. */
#define HAVE_STRTOL 1

/* Define to 1 if you have the `strtoull' function. */
#define HAVE_STRTOULL 1

/* Define to 1 if you have the <sys/socket.h> header file. */
#define HAVE_SYS_SOCKET_H 1

/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1

/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1

/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1

/* "Build using ZLIB" */
/* #undef HAVE_ZLIB */

/* Define to 1 if `lstat' dereferences a symlink specified with a trailing
slash. */
#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1

/* Name of package */
#define PACKAGE "goaccess"

/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "[email protected]"

/* Define to the full name of this package. */
#define PACKAGE_NAME "goaccess"

/* Define to the full name and version of this package. */
#define PACKAGE_STRING "goaccess 0.8.5"

/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "goaccess"

/* Define to the home page for this package. */
#define PACKAGE_URL "http://goaccess.io"

/* Define to the version of this package. */
#define PACKAGE_VERSION "0.8.5"

/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1

/* "Build using on-disk B+ Tree database" */
/* #undef TCB_BTREE */

/* "Build using on-memory hash database" */
/* #undef TCB_MEMHASH */

/* Define to 1 if your <sys/time.h> declares `struct tm'. */
/* #undef TM_IN_SYS_TIME */

/* Version number of package */
#define VERSION "0.8.5"

/* Debug option */
#define _DEBUG 1

/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
/* #undef _LARGEFILE_SOURCE */

/* Define to empty if `const' does not conform to ANSI C. */
/* #undef const */

/* Define to `long int' if <sys/types.h> does not define. */
/* #undef off_t */

/* Define to `unsigned int' if <sys/types.h> does not define. */
/* #undef size_t */
Loading

0 comments on commit 534a986

Please sign in to comment.