Update of project build scripts

* Updated README.md with additional instructions
* Updated configure.ac and Makefile.am to remove configuration warnings

Fixes were made according to information from issue #295
This commit is contained in:
KLuka 2015-04-22 11:04:22 +02:00
parent c13170fe33
commit 273be9b295
4 changed files with 6 additions and 1 deletions

2
.gitignore vendored
View file

@ -4,6 +4,7 @@
*~ *~
.libs .libs
.deps .deps
.dirstamp
autom4te.cache autom4te.cache
config.h config.h
config.log config.log
@ -13,6 +14,7 @@ demo/keyboard.png
demo/vt100.js demo/vt100.js
libtool libtool
Makefile Makefile
m4/
shellinabox/beep.h shellinabox/beep.h
shellinabox/cgi_root.h shellinabox/cgi_root.h
shellinabox/enabled.h shellinabox/enabled.h

View file

@ -1,6 +1,7 @@
AM_CPPFLAGS = AM_CPPFLAGS =
AM_CFLAGS = -g -std=gnu99 -Wall AM_CFLAGS = -g -std=gnu99 -Wall
AM_LDFLAGS = -g -lm AM_LDFLAGS = -g -lm
ACLOCAL_AMFLAGS = -I m4
noinst_LTLIBRARIES = libhttp.la \ noinst_LTLIBRARIES = libhttp.la \
liblogging.la liblogging.la

View file

@ -65,6 +65,7 @@ below. This will create executable file `shellinaboxd` in project directory.
#### Debian package #### Debian package
For building and installing `.deb` packages you can use commands listed bellow. For building and installing `.deb` packages you can use commands listed bellow.
Note that dependencies from the first step above are also required.
1. Build package 1. Build package

View file

@ -9,7 +9,7 @@ AC_DEFINE_UNQUOTED(VCS_REVISION, "${VCS_REVISION}",
dnl Set up autoconf/automake for building C libraries and binaries with GCC dnl Set up autoconf/automake for building C libraries and binaries with GCC
CFLAGS="${CFLAGS:--Os}" CFLAGS="${CFLAGS:--Os}"
AM_INIT_AUTOMAKE AM_INIT_AUTOMAKE([subdir-objects])
AM_CONFIG_HEADER(config.h) AM_CONFIG_HEADER(config.h)
AC_PROG_CC AC_PROG_CC
AC_LANG_WERROR AC_LANG_WERROR
@ -18,6 +18,7 @@ AC_PROG_LIBTOOL
AC_SUBST(LIBTOOL_DEPS) AC_SUBST(LIBTOOL_DEPS)
AC_C_CONST AC_C_CONST
AC_PROG_GCC_TRADITIONAL AC_PROG_GCC_TRADITIONAL
AC_CONFIG_MACRO_DIR([m4])
dnl Check for header files that do not exist on all platforms dnl Check for header files that do not exist on all platforms
AC_CHECK_HEADERS([libutil.h pthread.h pty.h strings.h sys/prctl.h sys/uio.h \ AC_CHECK_HEADERS([libutil.h pthread.h pty.h strings.h sys/prctl.h sys/uio.h \