"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "autoconf/aclocal.m4" between
schily-2021-08-14.tar.bz2 and schily-2021-09-18.tar.bz2

About: Schily Tools are a collection of programs like cdrecord, cdda2wav, mkisofs, star and much more. In memoriam of the author Jörg Schilling, who passed away in October 2021.

aclocal.m4  (schily-2021-08-14.tar.bz2):aclocal.m4  (schily-2021-09-18.tar.bz2)
dnl @(#)aclocal.m4 1.129 21/08/13 Copyright 1998-2021 J. Schilling dnl @(#)aclocal.m4 1.132 21/08/16 Copyright 1998-2021 J. Schilling
dnl Set VARIABLE to VALUE in C-string form, verbatim, or 1. dnl Set VARIABLE to VALUE in C-string form, verbatim, or 1.
dnl AC_DEFINE_STRING(VARIABLE [, VALUE]) dnl AC_DEFINE_STRING(VARIABLE [, VALUE])
define(AC_DEFINE_STRING, define(AC_DEFINE_STRING,
[cat >> confdefs.h <<\EOF [cat >> confdefs.h <<\EOF
[#define] $1 ifelse($#, 2, "[$2]", $#, 3, "[$2]", 1) [#define] $1 ifelse($#, 2, "[$2]", $#, 3, "[$2]", 1)
EOF EOF
]) ])
dnl Similar, but perform shell substitutions $ ` \ once on VALUE. dnl Similar, but perform shell substitutions $ ` \ once on VALUE.
skipping to change at line 3634 skipping to change at line 3634
[ac_cv_broken_src_scsi_sg_h=yes])]) [ac_cv_broken_src_scsi_sg_h=yes])])
CPPFLAGS=$___CPPFLAGS CPPFLAGS=$___CPPFLAGS
if test $ac_cv_broken_src_scsi_sg_h = yes; then if test $ac_cv_broken_src_scsi_sg_h = yes; then
AC_DEFINE(HAVE_BROKEN_SRC_SCSI_SG_H) AC_DEFINE(HAVE_BROKEN_SRC_SCSI_SG_H)
fi]) fi])
dnl Checks whether SIGSTKSZ is a constant dnl Checks whether SIGSTKSZ is a constant
dnl Defines HAVE_SIGSTKSZ_CONST on success. dnl Defines HAVE_SIGSTKSZ_CONST on success.
AC_DEFUN([AC_SIGSTKSZ_CONST], AC_DEFUN([AC_SIGSTKSZ_CONST],
[AC_CACHE_CHECK([whether SIGSTKSZ is a constant], ac_cv_sigstksz_const, [AC_CACHE_CHECK([whether SIGSTKSZ is a constant], ac_cv_sigstksz_const,
[AC_TRY_COMPILE([#include <signal.h>], [AC_TRY_COMPILE([#include <signal.h>
[char sigsegv_stack[SIGSTKSZ];], char sigsegv_stack[SIGSTKSZ];],
[],
[ac_cv_sigstksz_const=yes], [ac_cv_sigstksz_const=yes],
[ac_cv_sigstksz_const=no])]) [ac_cv_sigstksz_const=no])])
if test $ac_cv_sigstksz_const = yes; then if test $ac_cv_sigstksz_const = yes; then
AC_DEFINE(HAVE_SIGSTKSZ_CONST) AC_DEFINE(HAVE_SIGSTKSZ_CONST)
fi]) fi])
AC_DEFUN(AC_PROG_SHELL_BROKEN_E, AC_DEFUN(AC_PROG_SHELL_BROKEN_E,
[AC_CACHE_CHECK(whether handling of /bin/sh -ce 'command' is broken, ac_cv_prog_ shell_broken_e, [AC_CACHE_CHECK(whether handling of /bin/sh -ce 'command' is broken, ac_cv_prog_ shell_broken_e,
[if AC_TRY_COMMAND(/bin/sh -ce 'if false; true; then echo yes; else echo no; fi' ) | egrep yes >/dev/null 2>&1; then [if AC_TRY_COMMAND(/bin/sh -ce 'if false; true; then echo yes; else echo no; fi' ) | egrep yes >/dev/null 2>&1; then
ac_cv_prog_shell_broken_e=no ac_cv_prog_shell_broken_e=no
skipping to change at line 3687 skipping to change at line 3688
[eval ac_cv_file_$ac_safe=no])]) [eval ac_cv_file_$ac_safe=no])])
if eval "test \"`echo '$ac_cv_file_'$ac_safe`\" = yes"; then if eval "test \"`echo '$ac_cv_file_'$ac_safe`\" = yes"; then
AC_MSG_RESULT(yes) AC_MSG_RESULT(yes)
ifelse([$2], , :, [$2]) ifelse([$2], , :, [$2])
else else
AC_MSG_RESULT(no) AC_MSG_RESULT(no)
ifelse([$3], , , [$3]) ifelse([$3], , , [$3])
fi fi
]) ])
dnl Checks if a file exists as plain file
dnl Do not use test -r <file> as bash on Haiku returns 0 for test -r /dev/stdin
dnl even though /dev/stdin does not exist.
dnl
dnl Defines HAVE_<PATH> on success.
dnl AC_STAT_PLAIN_FILE(FILE, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
AC_DEFUN([AC_STAT_PLAIN_FILE],
[AC_REQUIRE([AC_PROG_CC])
dnl Do the transliteration at runtime so arg 1 can be a shell variable.
ac_safe=`echo "$1" | sed 'y%./+-%__p_%'`
AC_MSG_CHECKING([for plain file $1])
AC_CACHE_VAL(ac_cv_file_$ac_safe,
[AC_TRY_RUN([
#include <sys/types.h>
#include <sys/stat.h>
int
main()
{
struct stat sb;
#ifndef S_IFLNK
if (stat("$1", &sb) < 0)
#else
if (lstat("$1", &sb) < 0)
#endif
return (1);
return (!((sb.st_mode & S_IFMT) == S_IFREG));
}],
[eval ac_cv_file_$ac_safe=yes],
[eval ac_cv_file_$ac_safe=no])])
if eval "test \"`echo '$ac_cv_file_'$ac_safe`\" = yes"; then
AC_MSG_RESULT(yes)
ifelse([$2], , :, [$2])
else
AC_MSG_RESULT(no)
ifelse([$3], , , [$3])
fi
])
dnl Checks if a file exists as symlink
dnl Do not use test -r <file> as bash on Haiku returns 0 for test -r /dev/stdin
dnl even though /dev/stdin does not exist.
dnl
dnl Defines HAVE_<PATH> on success.
dnl AC_STAT_SYMLINK_FILE(FILE, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
AC_DEFUN([AC_STAT_SYMLINK_FILE],
[AC_REQUIRE([AC_PROG_CC])
dnl Do the transliteration at runtime so arg 1 can be a shell variable.
ac_safe=`echo "$1" | sed 'y%./+-%__p_%'`
AC_MSG_CHECKING([for symlink $1])
AC_CACHE_VAL(ac_cv_file_$ac_safe,
[AC_TRY_RUN([
#include <sys/types.h>
#include <sys/stat.h>
int
main()
{
#ifndef S_IFLNK
return (1);
#else
struct stat sb;
if (lstat("$1", &sb) < 0)
return (1);
return (!((sb.st_mode & S_IFMT) == S_IFLNK));
#endif
}],
[eval ac_cv_file_$ac_safe=yes],
[eval ac_cv_file_$ac_safe=no])])
if eval "test \"`echo '$ac_cv_file_'$ac_safe`\" = yes"; then
AC_MSG_RESULT(yes)
ifelse([$2], , :, [$2])
else
AC_MSG_RESULT(no)
ifelse([$3], , , [$3])
fi
])
dnl AC_STAT_FILES(FILE... [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) dnl AC_STAT_FILES(FILE... [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
AC_DEFUN(AC_STAT_FILES, AC_DEFUN(AC_STAT_FILES,
[for ac_file in $1 [for ac_file in $1
do do
AC_STAT_FILE($ac_file, AC_STAT_FILE($ac_file,
[changequote(, )dnl [changequote(, )dnl
ac_tr_file=HAVE_`echo $ac_file | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGH IJKLMNOPQRSTUVWXYZ___%'` ac_tr_file=HAVE_`echo $ac_file | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGH IJKLMNOPQRSTUVWXYZ___%'`
changequote([, ])dnl changequote([, ])dnl
AC_DEFINE_UNQUOTED($ac_tr_file) $2], $3)dnl AC_DEFINE_UNQUOTED($ac_tr_file) $2], $3)dnl
done done
]) ])
dnl AC_STAT_PLAIN_FILES(FILE... [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
AC_DEFUN(AC_STAT_PLAIN_FILES,
[for ac_file in $1
do
AC_STAT_PLAIN_FILE($ac_file,
[changequote(, )dnl
ac_tr_file=HAVE_`echo $ac_file | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGH
IJKLMNOPQRSTUVWXYZ___%'`
changequote([, ])dnl
AC_DEFINE_UNQUOTED($ac_tr_file) $2], $3)dnl
done
])
dnl AC_STAT_SYMLINK_FILES(FILE... [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
AC_DEFUN(AC_STAT_SYMLINK_FILES,
[for ac_file in $1
do
AC_STAT_SYMLINK_FILE($ac_file,
[changequote(, )dnl
ac_tr_file=HAVE_SYMLINK_`echo $ac_file | sed 'y%abcdefghijklmnopqrstuvwxyz./-%
ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
changequote([, ])dnl
AC_DEFINE_UNQUOTED($ac_tr_file) $2], $3)dnl
done
])
 End of changes. 4 change blocks. 
3 lines changed or deleted 84 lines changed or added

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