"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "configure.ac" between
bashdb-4.4-1.0.1.tar.bz2 and bashdb-5.0-1.1.0.tar.bz2

About: BASHDB is a source-code debugger for the bash shell that follows the gdb command syntax (for bash 5.0 or higher).

configure.ac  (bashdb-4.4-1.0.1.tar.bz2):configure.ac  (bashdb-5.0-1.1.0.tar.bz2)
# Configure script for bash debugger (bashdb) # Configure script for bash debugger (bashdb)
dnl Process this file with autoconf to produce a configure script. dnl Process this file with autoconf to produce a configure script.
# Copyright (C) 2002-2012, 2017 # Copyright (C) 2002-2012,
# 2014-2017 Rocky Bernstein <rocky@gnu.org> # 2014-2019 Rocky Bernstein <rocky@gnu.org>
# This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option) # the Free Software Foundation; either version 2, or (at your option)
# any later version. # any later version.
# This program is distributed in the hope that it will be useful, # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details. # GNU General Public License for more details.
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program; see the file COPYING. If not, write to the # along with this program; see the file COPYING. If not, write to the
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, # Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
# MA 02110-1301 USA. # MA 02110-1301 USA.
define(DEBUGGER, bashdb) define(DEBUGGER, bashdb)
define(POSIXSHELL, bash) define(POSIXSHELL, bash)
define(OK_BASH_VERS, 4.4) define(OK_BASH_VERS, 5.0)
define(relstatus, 1.0.1) define(relstatus, 1.1.1)
AC_INIT([bashdb], AC_INIT([bashdb],
[OK_BASH_VERS-relstatus], [OK_BASH_VERS-relstatus],
[https://sourceforge.net/p/bashdb/bugs/new/]) [https://sourceforge.net/p/bashdb/bugs/new/])
dnl make sure we are using a recent autoconf version. dnl make sure we are using a recent autoconf version.
dnl In particular we assume prefix will be set to "NONE" if --prefix dnl In particular we assume prefix will be set to "NONE" if --prefix
dnl isn't given. Earlier autoconf' used "no" instead of "NONE". dnl isn't given. Earlier autoconf' used "no" instead of "NONE".
AC_PREREQ(2.69) AC_PREREQ(2.69)
################################################################## ##################################################################
# See if --prefix was set. If not, set it to a reasonable default # See if --prefix was set. If not, set it to a reasonable default
# based on where bash thinks bashdb is supposed to be installed. # based on where bash thinks bashdb is supposed to be installed.
################################################################## ##################################################################
AM_INIT_AUTOMAKE AM_INIT_AUTOMAKE([foreign])
AM_MAINTAINER_MODE AM_MAINTAINER_MODE
# From fish's configure.ac # From fish's configure.ac
# #
# List of output variables produced by this configure script # List of output variables produced by this configure script
# #
AC_SUBST(BASHVERS) AC_SUBST(BASHVERS)
AC_SUBST(RELSTATUS) AC_SUBST(RELSTATUS)
AC_ARG_WITH(bashdb-main, AC_HELP_STRING([--with-bashdb-main], AC_ARG_WITH(bashdb-main, AC_HELP_STRING([--with-bashdb-main],
[location of bashdb-main.inc]), BASHDB_MAIN=$withval) [location of bashdb-main.inc]), BASHDB_MAIN=$withval)
# See if we build set0.c
AC_ARG_WITH(bash-src, AC_HELP_STRING([--with-bash-src],
[location of bash OK_BASH_VERS source code]),
BASH_SRC=$withval)
AC_SUBST(BASH_SRC)
AC_PROG_CC
if test x"$BASH_SRC" != x ; then
if test ! -d $BASH_SRC ; then
AC_MSG_ERROR([bash source directory ($BASH_SRC) does not seem to be a direc
tory])
else
AM_PROG_CC_C_O
dnl We run a C compiler to get macro EXEEXT set and possibly readarray.c.
build_set0=$BASH_SRC
AC_CHECK_HEADERS(unistd.h string.h,,
[AC_MSG_WARN([Missing some C headers. Disabling set0])
build_set0=])
fi
fi
AM_PROG_LIBTOOL AM_PROG_LIBTOOL
AM_CONDITIONAL(BUILD_BUILTINS, test x"$build_set0" != x)
PIC=$lt_prog_compiler_pic PIC=$lt_prog_compiler_pic
WL=$lt_prog_compiler_wl WL=$lt_prog_compiler_wl
AC_SUBST(PIC) AC_SUBST(PIC)
AC_SUBST(WL) AC_SUBST(WL)
AC_SUBST(DIFF) AC_SUBST(DIFF)
AC_SUBST(DIFF_OPTS) AC_SUBST(DIFF_OPTS)
AC_PATH_PROG(PERL, perl, false) AC_PATH_PROG(PERL, perl, false)
AC_PROG_GREP AC_PROG_GREP
AC_PROG_SED AC_PROG_SED
skipping to change at line 117 skipping to change at line 98
AC_PROG_MAKE_SET AC_PROG_MAKE_SET
## --with-bash can be used to tell the bashdb script and the regression ## --with-bash can be used to tell the bashdb script and the regression
## test which bash to run. It can be omitted too in which case we'll ## test which bash to run. It can be omitted too in which case we'll
## look for a bash binary. ## look for a bash binary.
AC_ARG_WITH(POSIXSHELL, AC_HELP_STRING([--with-POSIXSHELL], AC_ARG_WITH(POSIXSHELL, AC_HELP_STRING([--with-POSIXSHELL],
[location of POSIXSHELL program]), SH_PROG=$withval) [location of POSIXSHELL program]), SH_PROG=$withval)
if test "$SH_PROG" = "yes" || test "$SH_PROG" = "no" || test -z "$SH_PROG" if test "$SH_PROG" = "yes" || test "$SH_PROG" = "no" || test -z "$SH_PROG"
then then
AC_PATH_PROG(SH_PROG, POSIXSHELL, no) bash_shell_dir=$(dirname $SHELL)
AC_PATH_PROG(SH_PROG, POSIXSHELL, no, PATH="$bash_shell_dir:$PATH")
fi fi
if test "$SH_PROG" = no; then if test "$SH_PROG" = no; then
AC_MSG_ERROR([I didn't find the DEBUGGER executable.\ AC_MSG_ERROR([I didn't find the DEBUGGER executable.\
You might want to use the --with-POSIXSHELL option.]) You might want to use the --with-POSIXSHELL option.])
fi fi
bash_version=`$SH_PROG --version` bash_version=`$SH_PROG --version`
[bash_major=`$SH_PROG -c 'echo ${BASH_VERSINFO[0]}'`] [bash_major=`$SH_PROG -c 'echo ${BASH_VERSINFO[0]}'`]
[bash_minor=`$SH_PROG -c 'echo ${BASH_VERSINFO[1]}'`] [bash_minor=`$SH_PROG -c 'echo ${BASH_VERSINFO[1]}'`]
bash_4_or_greater=no bash_5_or_greater=no
case "${bash_major}.${bash_minor}" in case "${bash_major}.${bash_minor}" in
'OK_BASH_VERS' | '4.1' | '4.2' | '4.3') 'OK_BASH_VERS' | '5.0')
bash_4_or_greater=yes bash_5_or_greater=yes
;; ;;
*) *)
AC_MSG_WARN([You have Bash $bash_version installed.]) AC_MSG_WARN([You have Bash $bash_version installed.])
AC_MSG_ERROR([This package is only known to work with Bash 4.1-4.4.]) AC_MSG_ERROR([This package is only known to work with Bash 5.0])
;; ;;
esac esac
AC_ARG_WITH(dbg-main, AC_HELP_STRING([--with-dbg-main], AC_ARG_WITH(dbg-main, AC_HELP_STRING([--with-dbg-main],
[location of dbg-main.sh]), DBGR_MAIN=$withval) [location of dbg-main.sh]), DBGR_MAIN=$withval)
AC_SUBST(DBGR_MAIN) AC_SUBST(DBGR_MAIN)
mydir=$(dirname $0) mydir=$(dirname $0)
if test "$prefix" == NONE ; then if test "$prefix" == NONE ; then
prefix=$($SH_PROG $mydir/compute-prefix.sh $SH_PROG) prefix=$($SH_PROG $mydir/compute-prefix.sh $SH_PROG)
skipping to change at line 215 skipping to change at line 197
################################################################## ##################################################################
mydir=$(dirname $0) mydir=$(dirname $0)
if [[ "$prefix" = NONE ]]; then if [[ "$prefix" = NONE ]]; then
prefix=$($SH_PROG $mydir/compute-prefix.sh $SH_PROG) prefix=$($SH_PROG $mydir/compute-prefix.sh $SH_PROG)
ac_default_prefix=$prefix ac_default_prefix=$prefix
fi fi
#Makefiles #Makefiles
AC_CONFIG_FILES([ \ AC_CONFIG_FILES([ \
Makefile \ Makefile \
builtin/Makefile \
command/Makefile \ command/Makefile \
command/info_sub/Makefile \ command/info_sub/Makefile \
command/set_sub/Makefile \ command/set_sub/Makefile \
command/show_sub/Makefile \ command/show_sub/Makefile \
data/Makefile \ data/Makefile \
doc/Makefile \ doc/Makefile \
init/Makefile \ init/Makefile \
lib/Makefile \ lib/Makefile \
test/Makefile \ test/Makefile \
test/data/Makefile \ test/data/Makefile \
skipping to change at line 252 skipping to change at line 233
AC_CONFIG_FILES([test/unit/test-action.sh], AC_CONFIG_FILES([test/unit/test-action.sh],
[chmod +x test/unit/test-action.sh]) [chmod +x test/unit/test-action.sh])
AC_CONFIG_FILES([test/unit/test-alias.sh], AC_CONFIG_FILES([test/unit/test-alias.sh],
[chmod +x test/unit/test-alias.sh]) [chmod +x test/unit/test-alias.sh])
AC_CONFIG_FILES([test/unit/test-bashdb-trace.sh], AC_CONFIG_FILES([test/unit/test-bashdb-trace.sh],
[chmod +x test/unit/test-bashdb-trace.sh]) [chmod +x test/unit/test-bashdb-trace.sh])
AC_CONFIG_FILES([test/unit/test-break.sh], AC_CONFIG_FILES([test/unit/test-break.sh],
[chmod +x test/unit/test-break.sh]) [chmod +x test/unit/test-break.sh])
AC_CONFIG_FILES([test/unit/test-cmd-complete.sh], AC_CONFIG_FILES([test/unit/test-cmd-complete.sh],
[chmod +x test/unit/test-cmd-complete.sh]) [chmod +x test/unit/test-cmd-complete.sh])
AC_CONFIG_FILES([test/unit/test-cmd-info-variables.sh],
[chmod +x test/unit/test-cmd-info-variables.sh])
AC_CONFIG_FILES([test/unit/test-cmd-eval.sh], AC_CONFIG_FILES([test/unit/test-cmd-eval.sh],
[chmod +x test/unit/test-cmd-eval.sh]) [chmod +x test/unit/test-cmd-eval.sh])
AC_CONFIG_FILES([test/unit/test-columns.sh], AC_CONFIG_FILES([test/unit/test-columns.sh],
[chmod +x test/unit/test-columns.sh]) [chmod +x test/unit/test-columns.sh])
AC_CONFIG_FILES([test/unit/test-eval.sh], AC_CONFIG_FILES([test/unit/test-eval.sh],
[chmod +x test/unit/test-eval.sh]) [chmod +x test/unit/test-eval.sh])
AC_CONFIG_FILES([test/unit/test-file.sh], AC_CONFIG_FILES([test/unit/test-file.sh],
[chmod +x test/unit/test-file.sh]) [chmod +x test/unit/test-file.sh])
AC_CONFIG_FILES([test/unit/test-filecache.sh], AC_CONFIG_FILES([test/unit/test-filecache.sh],
[chmod +x test/unit/test-filecache.sh]) [chmod +x test/unit/test-filecache.sh])
 End of changes. 11 change blocks. 
31 lines changed or deleted 13 lines changed or added

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