Commit 288eee8b authored by Alessandro Ghedini's avatar Alessandro Ghedini

Imported Upstream version 2.1.5a

parent a891dc03
......@@ -193,8 +193,8 @@ AC_CHECK_FUNCS () {
B=`echo "$1" | sed -e 's/(.*)//'`
case "$B" in
"$1") F="$1()" ;;
*) F="$1" ;;
"$1") F="$1()"; need_proto=1 ;;
*) F="$1" ; unset need_proto ;;
esac
shift
......@@ -205,6 +205,10 @@ AC_CHECK_FUNCS () {
shift
done
if [ "$need_proto" ]; then
echo "void $F;" >> ngc$$.c
fi
cat >> ngc$$.c << EOF
main()
{
......@@ -1169,6 +1173,8 @@ AC_CHECK_BASENAME() {
cat > ngc$$.c << EOF
#include <string.h>
extern char *basename(char*);
main()
{
char *a = basename("/a/test");
......
......@@ -230,9 +230,9 @@ checkline(Line *l)
if ( stars || underscores ) { l->kind = chk_hr; }
else if ( dashes ) { l->kind = chk_dash; }
else if ( tildes ) { l->kind = chk_tilde; }
#if WITH_FENCED_CODE
else if ( equals ) { l->kind = chk_equal; }
#if WITH_FENCED_CODE
else if ( tildes ) { l->kind = chk_tilde; }
else if ( backticks ) { l->kind = chk_backtick; }
#endif
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment