"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "configure.inc" between
discount-2.2.3a.tar.bz2 and discount-2.2.4.tar.bz2

About: Discount is an implementation of the "Markdown" markup language (written in C).

configure.inc  (discount-2.2.3a.tar.bz2):configure.inc  (discount-2.2.4.tar.bz2)
skipping to change at line 809 skipping to change at line 809
AC_CHECK_TYPE pid_t sys/types.h AC_CHECK_TYPE pid_t sys/types.h
return $? return $?
} }
# #
# check for the existence of __attribute__((__noreturn__)) # check for the existence of __attribute__((__noreturn__))
# #
AC_CHECK_NORETURN() { AC_CHECK_NORETURN() {
AC_PROG_CC AC_PROG_CC
AC_CHECK_ATTRIBUTE noreturn
}
AC_CHECK_ATTRIBUTE() {
local __what=`echo $1 | tr 'a-z' 'A-Z'`
echo "extern int noreturn __attribute__((__noreturn__));" > ngc$$.c echo "extern int thing __attribute__((__"$1"__));" > ngc$$.c
TLOGN "Checking __attribute__((__noreturn__)) " TLOGN "Checking __attribute__((__${1}__)) "
if $AC_CC -c ngc$$.c; then if $AC_CC -c ngc$$.c; then
TLOG "(yes)" TLOG "(yes)"
AC_DEFINE 'NORETURN' ' __attribute__((__noreturn__))' AC_DEFINE $__what ' __attribute__((__'$1'__))'
else else
TLOG "(no)" TLOG "(no)"
AC_DEFINE 'NORETURN' '' AC_DEFINE $__what ''
fi fi
rm -f ngc$$.o ngc$$.c rm -f ngc$$.o ngc$$.c
} }
# #
# AC_C_CONST checks to see if the compiler supports the const keyword # AC_C_CONST checks to see if the compiler supports the const keyword
# #
AC_C_CONST () { AC_C_CONST () {
cat > ngc$$.c << EOF cat > ngc$$.c << EOF
const char me=1; const char me=1;
 End of changes. 5 change blocks. 
4 lines changed or deleted 9 lines changed or added

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