"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "configure.ac" between
gawk-5.0.1.tar.xz and gawk-5.1.0.tar.xz

About: GNU awk - pattern scanning and processing language.

configure.ac  (gawk-5.0.1.tar.xz):configure.ac  (gawk-5.1.0.tar.xz)
dnl dnl
dnl configure.ac --- autoconf input file for gawk dnl configure.ac --- autoconf input file for gawk
dnl dnl
dnl Copyright (C) 1995-2019 the Free Software Foundation, Inc. dnl Copyright (C) 1995-2020 the Free Software Foundation, Inc.
dnl dnl
dnl This file is part of GAWK, the GNU implementation of the dnl This file is part of GAWK, the GNU implementation of the
dnl AWK Programming Language. dnl AWK Programming Language.
dnl dnl
dnl GAWK is free software; you can redistribute it and/or modify dnl GAWK is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU General Public License as published by dnl it under the terms of the GNU General Public License as published by
dnl the Free Software Foundation; either version 3 of the License, or dnl the Free Software Foundation; either version 3 of the License, or
dnl (at your option) any later version. dnl (at your option) any later version.
dnl dnl
dnl GAWK is distributed in the hope that it will be useful, dnl GAWK is distributed in the hope that it will be useful,
skipping to change at line 26 skipping to change at line 26
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
dnl GNU General Public License for more details. dnl GNU General Public License for more details.
dnl dnl
dnl You should have received a copy of the GNU General Public License dnl You should have received a copy of the GNU General Public License
dnl along with this program; if not, write to the Free Software dnl along with this program; if not, write to the Free Software
dnl Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, U SA dnl Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, U SA
dnl dnl
dnl Process this file with autoconf to produce a configure script. dnl Process this file with autoconf to produce a configure script.
AC_INIT([GNU Awk],[5.0.1],[bug-gawk@gnu.org],[gawk]) AC_INIT([GNU Awk],[5.1.0],[bug-gawk@gnu.org],[gawk])
# This is a hack. Different versions of install on different systems # This is a hack. Different versions of install on different systems
# are just too different. Chuck it and use install-sh. # are just too different. Chuck it and use install-sh.
# #
# If the user supplies $INSTALL, figure they know what they're doing. # If the user supplies $INSTALL, figure they know what they're doing.
# #
# With Autoconf 2.5x, this needs to come very early on, but *after* # With Autoconf 2.5x, this needs to come very early on, but *after*
# the INIT macro. Sigh. # the INIT macro. Sigh.
if test "$INSTALL" = "" if test "$INSTALL" = ""
skipping to change at line 91 skipping to change at line 91
MINOR=`awk '/define gawk_api_minor_version/ { print $3 }' < $srcd ir/gawkapi.h` MINOR=`awk '/define gawk_api_minor_version/ { print $3 }' < $srcd ir/gawkapi.h`
# note leading slash on the value # note leading slash on the value
export EXTENSIONDIR=/ext-$MAJOR.$MINOR export EXTENSIONDIR=/ext-$MAJOR.$MINOR
fi fi
) )
# set default shared library location # set default shared library location
AC_SUBST([pkgextensiondir], ['${pkglibdir}'${EXTENSIONDIR}]) AC_SUBST([pkgextensiondir], ['${pkglibdir}'${EXTENSIONDIR}])
AC_CANONICAL_HOST GAWK_CANONICAL_HOST
AC_USE_SYSTEM_EXTENSIONS AC_USE_SYSTEM_EXTENSIONS
dnl checks for programs dnl checks for programs
AC_PROG_EGREP AC_PROG_EGREP
AC_PROG_YACC AC_PROG_YACC
AC_PROG_LN_S AC_PROG_LN_S
AC_PROG_CC_C99 AC_PROG_CC_C99
AC_PROG_CPP AC_PROG_CPP
AC_PROG_RANLIB AC_PROG_RANLIB
skipping to change at line 114 skipping to change at line 114
AC_PROG_INSTALL AC_PROG_INSTALL
AC_PROG_MAKE_SET AC_PROG_MAKE_SET
# This is mainly for my use during testing and development. # This is mainly for my use during testing and development.
# Yes, it's a bit of a hack. # Yes, it's a bit of a hack.
AC_MSG_CHECKING([for special development options]) AC_MSG_CHECKING([for special development options])
if test -f $srcdir/.developing if test -f $srcdir/.developing
then then
# add other debug flags as appropriate, save GAWKDEBUG for emergencies # add other debug flags as appropriate, save GAWKDEBUG for emergencies
CFLAGS="$CFLAGS -DARRAYDEBUG -DYYDEBUG -DLOCALEDEBUG" CFLAGS="$CFLAGS -DARRAYDEBUG -DYYDEBUG -DLOCALEDEBUG -DMEMDEBUG"
# turn on compiler warnings if we're doing development # turn on compiler warnings if we're doing development
# enable debugging using macros also # enable debugging using macros also
if test "$GCC" = yes if test "$GCC" = yes
then then
CFLAGS="$CFLAGS -Wall -fno-builtin -g3 -ggdb3" CFLAGS="$CFLAGS -Wall -fno-builtin -g3 -ggdb3"
fi fi
AC_MSG_RESULT([yes]) AC_MSG_RESULT([yes])
else else
AC_MSG_RESULT([no]) AC_MSG_RESULT([no])
skipping to change at line 299 skipping to change at line 299
osf1) : ;; osf1) : ;;
*) *)
gl_LIBSIGSEGV gl_LIBSIGSEGV
;; ;;
esac esac
# Need the check for mkstemp and tmpfile for missing_d/snprintf.c. # Need the check for mkstemp and tmpfile for missing_d/snprintf.c.
AC_CHECK_FUNCS(__etoa_l atexit btowc fmod gai_strerror \ AC_CHECK_FUNCS(__etoa_l atexit btowc fmod gai_strerror \
getgrent getgroups grantpt \ getgrent getgroups grantpt \
fwrite_unlocked \ fwrite_unlocked \
isascii iswctype iswlower iswupper mbrlen \ isascii isblank iswctype iswlower iswupper mbrlen \
memcmp memcpy memcpy_ulong memmove memset \ memcmp memcpy memcpy_ulong memmove memset \
memset_ulong mkstemp posix_openpt setenv setlocale setsid sigprocmask \ memset_ulong mkstemp posix_openpt setenv setlocale setsid sigprocmask \
snprintf strchr \ snprintf strchr \
strerror strftime strcasecmp strncasecmp strcoll strtod strtoul \ strerror strftime strcasecmp strncasecmp strcoll strtod strtoul \
system timegm tmpfile towlower towupper tzset usleep waitpid wcrtomb \ system timegm tmpfile towlower towupper tzset usleep waitpid wcrtomb \
wcscoll wctype) wcscoll wctype)
dnl this check is for both mbrtowc and the mbstate_t type, which is good dnl this check is for both mbrtowc and the mbstate_t type, which is good
AC_FUNC_MBRTOWC AC_FUNC_MBRTOWC
dnl check for dynamic linking dnl check for dynamic linking
skipping to change at line 364 skipping to change at line 364
;; ;;
*) AC_FUNC_GETPGRP *) AC_FUNC_GETPGRP
;; ;;
esac esac
dnl check for printf %F format dnl check for printf %F format
AC_MSG_CHECKING([for printf %F format]) AC_MSG_CHECKING([for printf %F format])
AC_RUN_IFELSE([ AC_RUN_IFELSE([
AC_LANG_SOURCE([ AC_LANG_SOURCE([
#include <stdio.h> #include <stdio.h>
#include <string.h>
int main() int main()
{ {
char buf[[100]]; char buf[[100]];
sprintf(buf, "%F", 123.45); sprintf(buf, "%F", 123.45);
if (strcmp(buf, "123.450000") == 0) if (strcmp(buf, "123.450000") == 0)
return 0; return 0;
else else
skipping to change at line 392 skipping to change at line 393
then then
AC_DEFINE(PRINTF_HAS_F_FORMAT, 1, [Define to 1 if *printf supports %F for mat]) AC_DEFINE(PRINTF_HAS_F_FORMAT, 1, [Define to 1 if *printf supports %F for mat])
fi fi
AC_MSG_RESULT($has_f_format) AC_MSG_RESULT($has_f_format)
dnl check for printf %a format dnl check for printf %a format
AC_MSG_CHECKING([for printf %a format]) AC_MSG_CHECKING([for printf %a format])
AC_RUN_IFELSE([ AC_RUN_IFELSE([
AC_LANG_SOURCE([ AC_LANG_SOURCE([
#include <stdio.h> #include <stdio.h>
#include <string.h>
int main() int main()
{ {
char buf[[100]]; char buf[[100]];
sprintf(buf, "%a", 8.0); sprintf(buf, "%a", 8.0);
if (strncmp(buf, "0x", 2) == 0) if (strncmp(buf, "0x", 2) == 0)
return 0; return 0;
else else
 End of changes. 7 change blocks. 
5 lines changed or deleted 7 lines changed or added

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