Merge pull request #340 from BenjiWiebe/master

Added autoconf/automake stuff for compatibility with older auto* versions
This commit is contained in:
Luka Krajger 2015-08-30 19:10:04 +02:00
commit eb2968b1d0
2 changed files with 4 additions and 0 deletions

View file

@ -127,6 +127,8 @@ BUILT_SOURCES = shellinabox/beep.h \
shellinaboxd_LDADD = liblogging.la \ shellinaboxd_LDADD = liblogging.la \
libhttp.la libhttp.la
shellinaboxd_LDFLAGS = -static shellinaboxd_LDFLAGS = -static
## Added this for compatibility with older versions of autoconf/automake
docdir = ${datadir}/doc/${PACKAGE}
symbolname = \ symbolname = \
sed -e 's/.*\/\([^.]*\)[.].*/\1/' \ sed -e 's/.*\/\([^.]*\)[.].*/\1/' \

View file

@ -17,6 +17,8 @@ CFLAGS="${CFLAGS:--Os}"
AM_INIT_AUTOMAKE([subdir-objects]) AM_INIT_AUTOMAKE([subdir-objects])
AM_CONFIG_HEADER(config.h) AM_CONFIG_HEADER(config.h)
AC_PROG_CC AC_PROG_CC
dnl Added this for compatibility with older versions of autoconf/automake
AM_PROG_CC_C_O
AC_LANG_WERROR AC_LANG_WERROR
AC_PROG_INSTALL AC_PROG_INSTALL
AC_PROG_LIBTOOL AC_PROG_LIBTOOL