"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "configure.in" between
bas-2.5.tar.gz and bas-2.6.tar.gz

About: bas is an interpreter for the programming language BASIC.

configure.in  (bas-2.5):configure.in  (bas-2.6)
AC_INIT(bas.c) AC_INIT(bas.c)
AC_CONFIG_HEADER(config.h) AC_CONFIG_HEADER(config.h)
AC_CANONICAL_HOST AC_CANONICAL_HOST
VERSION=2.4 VERSION=2.6
UPDATED='October 25, 2014' UPDATED='July 2, 2019'
ALL_LINGUAS="de" ALL_LINGUAS="de"
case $host in case $host in
*-linux-*) *-linux-*)
if test "$prefix" = NONE if test "$prefix" = NONE
then then
prefix=/usr prefix=/usr
AC_MSG_RESULT([using prefix $prefix]) AC_MSG_RESULT([using prefix $prefix])
fi fi
skipping to change at line 34 skipping to change at line 34
AC_DEFINE(USE_SELECT) AC_DEFINE(USE_SELECT)
;; ;;
*) *)
prefix=$ac_default_prefix prefix=$ac_default_prefix
;; ;;
esac esac
AC_PROG_CC AC_PROG_CC
if test "$GCC" = yes if test "$GCC" = yes
then then
CFLAGS="${CFLAGS} ${EXTRA_GCFLAGS}-pipe -Wall -Wshadow -Wbad-function-cast -Wm issing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wpointer-arith - Wwrite-strings -Wmissing-declarations -Wnested-externs -Wundef -pedantic -fno-co mmon" CFLAGS="${CFLAGS} ${EXTRA_GCFLAGS}-pipe -Wall -Wextra -Wshadow -Wno-unused-par ameter -Wno-unused -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wpointer-arith -Wwrite-strings -Wmissing-declarations -Wnested-externs -Wundef -pedantic -fno-common"
LDFLAGS="${LDFLAGS} ${EXTRA_GLDFLAGS}-g" LDFLAGS="${LDFLAGS} ${EXTRA_GLDFLAGS}-g"
ac_save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Wunused-result"
AC_MSG_CHECKING(if gcc accepts -Wunused-result)
AC_TRY_COMPILE([],[return 0],AC_MSG_RESULT(yes),CFLAGS="$ac_save_CFLAGS"; AC_M
SG_RESULT(no))
else else
CFLAGS="${CFLAGS} ${EXTRA_CFLAGS}" CFLAGS="${CFLAGS} ${EXTRA_CFLAGS}"
LDFLAGS="${LDFLAGS} ${EXTRA_LDFLAGS}" LDFLAGS="${LDFLAGS} ${EXTRA_LDFLAGS}"
fi fi
AC_PROG_RANLIB AC_PROG_RANLIB
AC_PROG_LEX
if test "x$LEX" != xflex; then
AC_MSG_RESULT([no flex found, configure failed.])
exit 1
fi
AC_CHECK_HEADERS(termcap.h,have_termcap_h=yes) AC_CHECK_HEADERS(termcap.h,have_termcap_h=yes)
if test "$have_termcap_h" != yes; then if test "$have_termcap_h" != yes; then
AC_CHECK_HEADERS(curses.h,have_curses_h=yes) AC_CHECK_HEADERS(curses.h,have_curses_h=yes)
fi fi
AC_MSG_CHECKING(for tputs return type) AC_MSG_CHECKING(for tputs return type)
AC_TRY_COMPILE([#ifdef HAVE_TERMCAP_H AC_TRY_COMPILE([#ifdef HAVE_TERMCAP_H
#include <termcap.h> #include <termcap.h>
#else #else
#include <curses.h> #include <curses.h>
skipping to change at line 105 skipping to change at line 116
LDFLAGS="$LDFLAGS -L$with_efence/lib" LDFLAGS="$LDFLAGS -L$with_efence/lib"
LIBS="$LIBS -lefence"] LIBS="$LIBS -lefence"]
) )
AC_ARG_WITH(valgrind, AC_ARG_WITH(valgrind,
[ --with-valgrind run regression tests with valgrind], [ --with-valgrind run regression tests with valgrind],
[VALGRIND="valgrind" [VALGRIND="valgrind"
AC_SUBST(VALGRIND)] AC_SUBST(VALGRIND)]
) )
AC_MSG_CHECKING(whether to use LR0 parser)
AC_ARG_ENABLE(lr0,
[ --enable-lr0 use LR0 parser (default is recursive descending)],
[
case "$enableval" in
yes)
AC_DEFINE(USE_LR0)
AC_MSG_RESULT(yes)
;;
no)
AC_MSG_RESULT(no)
;;
esac],
[AC_MSG_RESULT(no)]
)
USE_NLS=no USE_NLS=no
AC_CHECK_PROG(MSGFMT,msgfmt,yes,no) AC_CHECK_PROG(MSGFMT,msgfmt,yes,no)
if test "$MSGFMT" = yes if test "$MSGFMT" = yes
then then
AC_CHECK_HEADERS(libintl.h,[LIBINTL=yes]) AC_CHECK_HEADERS(libintl.h,[LIBINTL=yes])
if test "$LIBINTL" = yes if test "$LIBINTL" = yes
then then
AC_SEARCH_LIBS(gettext,intl,[AC_DEFINE(HAVE_GETTEXT) USE_NLS=yes]) AC_SEARCH_LIBS(gettext,intl,[AC_DEFINE(HAVE_GETTEXT) USE_NLS=yes])
fi fi
fi fi
 End of changes. 5 change blocks. 
19 lines changed or deleted 15 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)