"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "configure.ac" between
shellinabox-2.19.tar.gz and shellinabox-2.20.tar.gz

About: shellinabox implements a web server that can export arbitrary command line tools to a web based terminal emulator. This emulator is accessible to any JavaScript and CSS enabled web browser. Fork of the no longer maintained original version on https://shellinabox.com/ respectively https://code.google.com/archive/p/shellinabox/.

configure.ac  (shellinabox-2.19):configure.ac  (shellinabox-2.20)
AC_PREREQ(2.57) AC_PREREQ(2.57)
dnl This is one of the locations where the authoritative version dnl This is one of the locations where the authoritative version
dnl number is stored. The other is in the debian/changelog. dnl number is stored. The other is in the debian/changelog.
AC_INIT(shellinabox, 2.19, markus@shellinabox.com) AC_INIT(shellinabox, 2.20, markus@shellinabox.com)
if test -e .git; then if test -e .git; then
VCS_REVISION=" (revision `cd $srcdir && git log -1 --format=format:%h`)" VCS_REVISION=" (revision `cd $srcdir && git log -1 --format=format:%h`)"
else else
VCS_REVISION="" VCS_REVISION=""
fi fi
AC_SUBST(VCS_REVISION) AC_SUBST(VCS_REVISION)
AC_DEFINE_UNQUOTED(VCS_REVISION, "${VCS_REVISION}", AC_DEFINE_UNQUOTED(VCS_REVISION, "${VCS_REVISION}",
[Most recent revision number in the version control system]) [Most recent revision number in the version control system])
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
skipping to change at line 35 skipping to change at line 35
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]) AC_CONFIG_MACRO_DIR([m4])
dnl Overwrite default archiver flags. dnl Overwrite default archiver flags.
AC_SUBST(AR_FLAGS, [cr]) AC_SUBST(AR_FLAGS, [cr])
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 syslog.h sys/prctl.h \ AC_CHECK_HEADERS([libutil.h pthread.h pty.h strings.h syslog.h sys/prctl.h \
sys/uio.h util.h utmp.h utmpx.h]) sys/uio.h util.h])
dnl Most systems require linking against libutil.so in order to get login_tty() dnl Most systems require linking against libutil.so in order to get login_tty()
AC_CHECK_FUNCS(login_tty, [], AC_CHECK_FUNCS(login_tty, [],
[AC_CHECK_LIB(util, login_tty, [AC_CHECK_LIB(util, login_tty,
[LIBS="-lutil $LIBS" [LIBS="-lutil $LIBS"
AC_DEFINE(HAVE_LOGIN_TTY)])]) AC_DEFINE(HAVE_LOGIN_TTY)])])
dnl Use strlcat() instead of strncat() to avoid spurious warnings dnl Use strlcat() instead of strncat() to avoid spurious warnings
AC_CHECK_FUNCS([strlcat]) AC_CHECK_FUNCS([strlcat])
skipping to change at line 78 skipping to change at line 78
[sigset_t s; int n; sigwait(&s, &n);], [sigset_t s; int n; sigwait(&s, &n);],
[AC_DEFINE(HAVE_SIGWAIT, 1, [AC_DEFINE(HAVE_SIGWAIT, 1,
Define to 1 if you have a working sigwait)]) Define to 1 if you have a working sigwait)])
dnl Not every system has support for isnan() dnl Not every system has support for isnan()
AC_TRY_LINK([#include <math.h>], AC_TRY_LINK([#include <math.h>],
[if (isnan(0.0)) return 1;], [if (isnan(0.0)) return 1;],
[AC_DEFINE(HAVE_ISNAN, 1, [AC_DEFINE(HAVE_ISNAN, 1,
Define to 1 if you have support for isnan)]) Define to 1 if you have support for isnan)])
dnl Even if utmpx.h exists, not all systems have support for updwtmpx()
AC_TRY_LINK([#include <utmp.h>],
[updwtmp(0, 0);],
[AC_DEFINE(HAVE_UPDWTMP, 1,
Define to 1 if you have support for updwtmp)])
AC_TRY_LINK([#include <utmpx.h>],
[updwtmpx(0, 0);],
[AC_DEFINE(HAVE_UPDWTMPX, 1,
Define to 1 if you have support for updwtmpx)])
dnl Check if the compiler supports aliasing of symbols dnl Check if the compiler supports aliasing of symbols
AC_TRY_LINK([void x(void) { }; AC_TRY_LINK([void x(void) { };
void y(void) __attribute__((alias("x")));], void y(void) __attribute__((alias("x")));],
[y();], [y();],
[AC_DEFINE(HAVE_ATTRIBUTE_ALIAS, 1, [AC_DEFINE(HAVE_ATTRIBUTE_ALIAS, 1,
Define to 1 if you have support for symbol aliasing)]) Define to 1 if you have support for symbol aliasing)])
dnl Check if the compiler has support to mark parameters as unused dnl Check if the compiler has support to mark parameters as unused
AC_TRY_LINK([void x(int i __attribute__((unused))) __attribute__((unused));], AC_TRY_LINK([void x(int i __attribute__((unused))) __attribute__((unused));],
[], [],
skipping to change at line 150 skipping to change at line 140
[ --disable-runtime-loading ShellInABox will try to load the Open SSL, and PAM [ --disable-runtime-loading ShellInABox will try to load the Open SSL, and PAM
libraries at run-time, if it has been compiled with libraries at run-time, if it has been compiled with
support for these libraries, and if the operating support for these libraries, and if the operating
system supports dynamic loading of libraries. This system supports dynamic loading of libraries. This
allows you to install the same binary on different allows you to install the same binary on different
systems independent of whether they have OpenSSL systems independent of whether they have OpenSSL
and PAM enabled. If you would rather directly link and PAM enabled. If you would rather directly link
these libraries into the binary, thus making them a these libraries into the binary, thus making them a
hard dependency, then disable runtime-loading.]) hard dependency, then disable runtime-loading.])
dnl This is feature is not suported in some standard C libs. So users can use
dnl this switch to avoid compile and runtime problems. Note that utmp must
dnl disabled on systems with musl libc.
AC_ARG_ENABLE(utmp,
[ --disable-utmp Disable support for login records. No
te
that for systems with musl libc utmp
must
be disabled.])
if test "x$enable_utmp" != xno; then
AC_CHECK_HEADERS([utmp.h utmpx.h])
dnl Even if utmpx.h exists, not all systems have support for updwtmpx()
AC_TRY_LINK([#include <utmp.h>],
[updwtmp(0, 0);],
[AC_DEFINE(HAVE_UPDWTMP, 1,
Define to 1 if you have support for updwtmp)])
AC_TRY_LINK([#include <utmpx.h>],
[updwtmpx(0, 0);],
[AC_DEFINE(HAVE_UPDWTMPX, 1,
Define to 1 if you have support for updwtmpx)])
fi
dnl Only test for OpenSSL headers, if not explicitly disabled dnl Only test for OpenSSL headers, if not explicitly disabled
if test "x$enable_ssl" != xno; then if test "x$enable_ssl" != xno; then
AC_CHECK_HEADERS([openssl/bio.h openssl/err.h openssl/ssl.h]) AC_CHECK_HEADERS([openssl/bio.h openssl/err.h openssl/ssl.h])
fi fi
dnl Only test for PAM headers, if not explicitly disabled dnl Only test for PAM headers, if not explicitly disabled
if test "x$enable_pam" != xno; then if test "x$enable_pam" != xno; then
AC_CHECK_HEADERS([security/pam_appl.h security/pam_client.h \ AC_CHECK_HEADERS([security/pam_appl.h security/pam_client.h \
security/pam_misc.h ]) security/pam_misc.h ])
fi fi
 End of changes. 4 change blocks. 
12 lines changed or deleted 26 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS