"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "configure.sh" 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.sh  (discount-2.2.3a.tar.bz2):configure.sh  (discount-2.2.4.tar.bz2)
skipping to change at line 13 skipping to change at line 13
# local options: ac_help is the help message that describes them # local options: ac_help is the help message that describes them
# and LOCAL_AC_OPTIONS is the script that interprets them. LOCAL_AC_OPTIONS # and LOCAL_AC_OPTIONS is the script that interprets them. LOCAL_AC_OPTIONS
# is a script that's processed with eval, so you need to be very careful to # is a script that's processed with eval, so you need to be very careful to
# make certain that what you quote is what you want to quote. # make certain that what you quote is what you want to quote.
# load in the configuration file # load in the configuration file
# #
ac_help='--enable-amalloc Enable memory allocation debugging ac_help='--enable-amalloc Enable memory allocation debugging
--with-tabstops=N Set tabstops to N characters (default is 4) --with-tabstops=N Set tabstops to N characters (default is 4)
--shared Build shared libraries (default is static) --shared Build shared libraries (default is static)
--pkg-config Install pkg-config(1) glue files
--cxx-binding Install header files with c++ wrappers
--github-checkbox[=input] Enable github-style checkboxes in lists
(if =input, use <input checkbox>, otherwise
use html ballot entities)'
LOCAL_AC_OPTIONS=' LOCAL_AC_OPTIONS='
set=`locals $*`; set=`locals $*`;
if [ "$set" ]; then if [ "$set" ]; then
eval $set eval $set
shift 1 shift 1
else else
ac_error=T; ac_error=T;
fi' fi'
skipping to change at line 41 skipping to change at line 45
echo WITH_${enable}=T ;; echo WITH_${enable}=T ;;
--DEBIAN-GLITCH) --DEBIAN-GLITCH)
echo DEBIAN_GLITCH=T echo DEBIAN_GLITCH=T
;; ;;
--H1-TITLE) --H1-TITLE)
echo H1TITLE=T echo H1TITLE=T
;; ;;
--PKG-CONFIG) --PKG-CONFIG)
echo PKGCONFIG=T echo PKGCONFIG=T
;; ;;
--CXX-BINDING)
echo CXX_BINDING=T
;;
--GITHUB-CHECKBOX)
echo GITHUB_CHECKBOX=T
;;
--GITHUB-CHECKBOX=INPUT)
echo GITHUB_CHECKBOX=T
echo GITHUB_CHECKBOX_AS_INPUT=T
;;
esac esac
} }
VERSION=`cat VERSION` VERSION=`cat VERSION`
TARGET=markdown TARGET=markdown
. ./configure.inc . ./configure.inc
AC_INIT $TARGET AC_INIT $TARGET
AC_SUB 'PACKAGE_NAME' lib$TARGET AC_SUB 'PACKAGE_NAME' lib$TARGET
AC_SUB 'PACKAGE_VERSION' $VERSION AC_SUB 'PACKAGE_VERSION' $VERSION
skipping to change at line 73 skipping to change at line 87
BOTH) THEME_CF="MKD_DLEXTRA";; BOTH) THEME_CF="MKD_DLEXTRA";;
esac esac
test "$WITH_FENCED_CODE" && THEME_CF="${THEME_CF:+$THEME_CF|}MKD_FENCEDCODE" test "$WITH_FENCED_CODE" && THEME_CF="${THEME_CF:+$THEME_CF|}MKD_FENCEDCODE"
AC_DEFINE THEME_CF "$THEME_CF" AC_DEFINE THEME_CF "$THEME_CF"
test "$DEBIAN_GLITCH" && AC_DEFINE 'DEBIAN_GLITCH' 1 test "$DEBIAN_GLITCH" && AC_DEFINE 'DEBIAN_GLITCH' 1
AC_PROG_CC AC_PROG_CC
AC_QUIET AC_PROG git && AC_DEFINE 'HAS_GIT' '1' AC_QUIET AC_PROG git && AC_DEFINE 'HAS_GIT' '1'
AC_CHECK_NORETURN AC_CHECK_ATTRIBUTE destructor
test "$TRY_SHARED" && AC_COMPILER_PIC && AC_CC_SHLIBS test "$TRY_SHARED" && AC_COMPILER_PIC && AC_CC_SHLIBS
if [ "IS_BROKEN_CC" ]; then if [ "IS_BROKEN_CC" ]; then
case "$AC_CC $AC_CFLAGS" in case "$AC_CC $AC_CFLAGS" in
*-pedantic*) ;; *-pedantic*) ;;
*) # hack around deficiencies in gcc and clang *) # hack around deficiencies in gcc and clang
# #
AC_DEFINE 'while(x)' 'while( (x) != 0 )' AC_DEFINE 'while(x)' 'while( (x) != 0 )'
AC_DEFINE 'if(x)' 'if( (x) != 0 )' AC_DEFINE 'if(x)' 'if( (x) != 0 )'
skipping to change at line 213 skipping to change at line 227
AC_SUB 'AMALLOC' '' AC_SUB 'AMALLOC' ''
fi fi
if [ "$H1TITLE" ]; then if [ "$H1TITLE" ]; then
AC_SUB 'H1TITLE' h1title.o AC_SUB 'H1TITLE' h1title.o
AC_DEFINE USE_H1TITLE 1 AC_DEFINE USE_H1TITLE 1
else else
AC_SUB 'H1TITLE' '' AC_SUB 'H1TITLE' ''
fi fi
if [ "$GITHUB_CHECKBOX" ]; then
AC_DEFINE 'GITHUB_CHECKBOX' '1'
test "$GITHUB_CHECKBOX_AS_INPUT" && AC_DEFINE 'CHECKBOX_AS_INPUT' '1'
fi
[ "$OS_FREEBSD" -o "$OS_DRAGONFLY" ] || AC_CHECK_HEADERS malloc.h [ "$OS_FREEBSD" -o "$OS_DRAGONFLY" ] || AC_CHECK_HEADERS malloc.h
[ "$WITH_PANDOC_HEADER" ] && AC_DEFINE 'PANDOC_HEADER' '1' [ "$WITH_PANDOC_HEADER" ] && AC_DEFINE 'PANDOC_HEADER' '1'
GENERATE="Makefile version.c mkdio.h" GENERATE="Makefile version.c mkdio.h"
if [ "$PKGCONFIG" ]; then if [ "$PKGCONFIG" ]; then
GENERATE="$GENERATE libmarkdown.pc" GENERATE="$GENERATE libmarkdown.pc"
fi fi
AC_OUTPUT $GENERATE AC_OUTPUT $GENERATE
if [ "$CXX_BINDING" ]; then
LOG "applying c++ glue to mkdio.h"
mv mkdio.h mkdio.h$$
( echo '#ifdef __cplusplus'
echo 'extern "C" {'
echo '#endif'
cat mkdio.h$$
echo '#ifdef __cplusplus'
echo '}'
echo '#endif' ) > mkdio.h
rm mkdio.h$$
fi
 End of changes. 5 change blocks. 
1 lines changed or deleted 21 lines changed or added

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