diff options
author | kim <kim@pkgsrc.org> | 2004-09-24 00:58:30 +0000 |
---|---|---|
committer | kim <kim@pkgsrc.org> | 2004-09-24 00:58:30 +0000 |
commit | 0e0dd9fe84122992db5bd5b1157f2c783344dd88 (patch) | |
tree | cce1e27972f464c94295beb9919d822042aa9508 | |
parent | 7ef206cc136add51b720fcde946b74927c1150dd (diff) | |
download | pkgsrc-0e0dd9fe84122992db5bd5b1157f2c783344dd88.tar.gz |
Upgrade to wml 2.0.9.
The ChangeLog from 2.0.3 is really huge, so I'm not including it here.
-rw-r--r-- | www/wml/Makefile | 32 | ||||
-rw-r--r-- | www/wml/PLIST | 100 | ||||
-rw-r--r-- | www/wml/distinfo | 11 | ||||
-rw-r--r-- | www/wml/patches/patch-aa | 130 | ||||
-rw-r--r-- | www/wml/patches/patch-ab | 49 | ||||
-rw-r--r-- | www/wml/patches/patch-ac | 13 | ||||
-rw-r--r-- | www/wml/patches/patch-ad | 45 |
7 files changed, 271 insertions, 109 deletions
diff --git a/www/wml/Makefile b/www/wml/Makefile index 945f51ca09a..f88dcd6c8ac 100644 --- a/www/wml/Makefile +++ b/www/wml/Makefile @@ -1,27 +1,23 @@ -# $NetBSD: Makefile,v 1.15 2004/04/25 06:17:46 snj Exp $ +# $NetBSD: Makefile,v 1.16 2004/09/24 00:58:30 kim Exp $ # -DISTNAME= wml-2.0.3 -PKGREVISION= 1 +DISTNAME= wml-2.0.9 CATEGORIES= www perl5 -MASTER_SITES= http://www.engelschall.com/sw/wml/distrib/ +MASTER_SITES= http://thewml.org/distrib/ MAINTAINER= kim@tac.nyc.ny.us -HOMEPAGE= http://www.engelschall.com/sw/wml/ +HOMEPAGE= http://thewml.org/ COMMENT= Web Meta Language DEPENDS+= p5-Bit-Vector>=5.2:../../devel/p5-Bit-Vector -DEPENDS+= p5-File-PathConvert-[0-9]*:../../devel/p5-File-PathConvert DEPENDS+= p5-Image-Size>=2.6:../../graphics/p5-Image-Size DEPENDS+= p5-Term-ReadKey>=2.11:../../devel/p5-Term-ReadKey #DEPENDS+= tidy-[0-9]*:../../www/tidy +.include "../../mk/bsd.prefs.mk" + GNU_CONFIGURE= yes -# Don't change incdir/libdir -- they need to be this way so -# that ncurses.h is found even if base system curses.h is used. CONFIGURE_ARGS= --with-perl=${PERL5} \ - --with-incdir=${LOCALBASE}/include \ - --with-libdir=${LOCALBASE}/lib \ --with-openworld \ --with-tidy=${LOCALBASE}/bin/tidy @@ -31,6 +27,21 @@ TEST_TARGET= test INCOMPAT_CURSES= NetBSD-1.5* NetBSD-1.6[-_.]* INCOMPAT_CURSES+= NetBSD-1.6[A-Z]-* NetBSD-1.6Z[A-C]* +PERL_ARCHNAME!= eval `${PERL5} -V:archname 2>/dev/null`; \ + ${ECHO} $${archname} +PLIST_SUBST+= PERL_ARCHNAME=${PERL_ARCHNAME} + +pre-configure: + for i in \ + wml_aux/iselect \ + wml_backend/p3_eperl \ + wml_backend/p4_gm4 \ + wml_common/gd \ + ; \ + do \ + cd ${WRKSRC}/$$i && ${AUTORECONF} --force || exit 1; \ + done + post-install: cd ${PREFIX}/man/cat1 ; \ for i in wml_aux_linklint wml_aux_tidy wml_aux_txt2html wml_p4_gm4 ; \ @@ -47,4 +58,5 @@ post-install: .include "../../devel/ncurses/buildlink3.mk" .include "../../lang/perl5/buildlink3.mk" +.include "../../mk/automake.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/wml/PLIST b/www/wml/PLIST index a9d334a6ffc..511e13ac713 100644 --- a/www/wml/PLIST +++ b/www/wml/PLIST @@ -1,36 +1,48 @@ -@comment $NetBSD: PLIST,v 1.1 2001/11/01 02:19:07 zuntum Exp $ +@comment $NetBSD: PLIST,v 1.2 2004/09/24 00:58:30 kim Exp $ bin/wmb bin/wmd bin/wmk bin/wml bin/wmu -lib/wml/aux/logos/logo-apache.gif -lib/wml/aux/logos/logo-apache.info -lib/wml/aux/logos/logo-apache.png -lib/wml/aux/logos/logo-freebsd.gif -lib/wml/aux/logos/logo-freebsd.info -lib/wml/aux/logos/logo-freebsd.png -lib/wml/aux/logos/logo-gimp.gif -lib/wml/aux/logos/logo-gimp.info -lib/wml/aux/logos/logo-gimp.png -lib/wml/aux/logos/logo-htdig.gif -lib/wml/aux/logos/logo-htdig.info -lib/wml/aux/logos/logo-htdig.png -lib/wml/aux/logos/logo-linux.gif -lib/wml/aux/logos/logo-linux.info -lib/wml/aux/logos/logo-linux.png -lib/wml/aux/logos/logo-php3.gif -lib/wml/aux/logos/logo-php3.info -lib/wml/aux/logos/logo-php3.png -lib/wml/aux/logos/logo-vim.gif -lib/wml/aux/logos/logo-vim.info -lib/wml/aux/logos/logo-vim.png -lib/wml/aux/logos/logo-wml.gif -lib/wml/aux/logos/logo-wml.info -lib/wml/aux/logos/logo-wml.png -lib/wml/aux/txt2html.dict -lib/wml/aux/weblintrc -lib/wml/aux/wmd.txt +lib/wml/data/logos/logo-apache.gif +lib/wml/data/logos/logo-apache.info +lib/wml/data/logos/logo-apache.png +lib/wml/data/logos/logo-freebsd.gif +lib/wml/data/logos/logo-freebsd.info +lib/wml/data/logos/logo-freebsd.png +lib/wml/data/logos/logo-gimp.gif +lib/wml/data/logos/logo-gimp.info +lib/wml/data/logos/logo-gimp.png +lib/wml/data/logos/logo-htdig.gif +lib/wml/data/logos/logo-htdig.info +lib/wml/data/logos/logo-htdig.png +lib/wml/data/logos/logo-linux.gif +lib/wml/data/logos/logo-linux.info +lib/wml/data/logos/logo-linux.png +lib/wml/data/logos/logo-netbsd.gif +lib/wml/data/logos/logo-netbsd.info +lib/wml/data/logos/logo-netbsd.png +lib/wml/data/logos/logo-openbsd.gif +lib/wml/data/logos/logo-openbsd.info +lib/wml/data/logos/logo-openbsd.png +lib/wml/data/logos/logo-php.gif +lib/wml/data/logos/logo-php.info +lib/wml/data/logos/logo-php.png +lib/wml/data/logos/logo-php3.gif +lib/wml/data/logos/logo-php3.info +lib/wml/data/logos/logo-php3.png +lib/wml/data/logos/logo-vim.gif +lib/wml/data/logos/logo-vim.info +lib/wml/data/logos/logo-vim.png +lib/wml/data/logos/logo-wml.gif +lib/wml/data/logos/logo-wml.info +lib/wml/data/logos/logo-wml.png +lib/wml/data/logos/logo-xemacs.gif +lib/wml/data/logos/logo-xemacs.info +lib/wml/data/logos/logo-xemacs.png +lib/wml/data/txt2html.dict +lib/wml/data/weblintrc +lib/wml/data/wmd.txt lib/wml/exec/wml_aux_freetable lib/wml/exec/wml_aux_htmlclean lib/wml/exec/wml_aux_htmlinfo @@ -96,13 +108,12 @@ lib/wml/include/sys/bootp4.wml lib/wml/include/sys/compat1.wml lib/wml/perl/lib/HTML/Clean.pm lib/wml/perl/lib/auto/HTML/Clean/autosplit.ix -lib/wml/perl/lib/${MACHINE_ARCH}-${LOWER_OPSYS}/WML/GD.pm -lib/wml/perl/lib/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/HTML/Clean/.packlist -lib/wml/perl/lib/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/WML/GD/.packlist -lib/wml/perl/lib/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/WML/GD/GD.bs -lib/wml/perl/lib/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/WML/GD/GD.so -lib/wml/perl/lib/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/WML/GD/autosplit.ix -man/cat1/wml_aux_linklint.0 +lib/wml/perl/lib/${PERL_ARCHNAME}/WML/GD.pm +lib/wml/perl/lib/${PERL_ARCHNAME}/auto/HTML/Clean/.packlist +lib/wml/perl/lib/${PERL_ARCHNAME}/auto/WML/GD/.packlist +lib/wml/perl/lib/${PERL_ARCHNAME}/auto/WML/GD/GD.bs +lib/wml/perl/lib/${PERL_ARCHNAME}/auto/WML/GD/GD.so +lib/wml/perl/lib/${PERL_ARCHNAME}/auto/WML/GD/autosplit.ix man/cat1/wml_aux_tidy.0 man/cat1/wml_aux_txt2html.0 man/cat1/wml_p4_gm4.0 @@ -125,6 +136,7 @@ man/man1/wml_aux_freetable.1 man/man1/wml_aux_htmlclean.1 man/man1/wml_aux_htmlinfo.1 man/man1/wml_aux_iselect.1 +man/man1/wml_aux_linklint.1 man/man1/wml_aux_map2html.1 man/man1/wml_aux_weblint.1 man/man1/wml_p1_ipp.1 @@ -186,13 +198,13 @@ man/man7/wml_intro.7 man/man7/wml_macros.7 man/man7/wml_tags.7 man/man7/wml_tutorial.7 -@dirrm lib/wml/perl/lib/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/WML/GD -@dirrm lib/wml/perl/lib/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/WML -@dirrm lib/wml/perl/lib/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/HTML/Clean -@dirrm lib/wml/perl/lib/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/HTML -@dirrm lib/wml/perl/lib/${MACHINE_ARCH}-${LOWER_OPSYS}/auto -@dirrm lib/wml/perl/lib/${MACHINE_ARCH}-${LOWER_OPSYS}/WML -@dirrm lib/wml/perl/lib/${MACHINE_ARCH}-${LOWER_OPSYS} +@dirrm lib/wml/perl/lib/${PERL_ARCHNAME}/auto/WML/GD +@dirrm lib/wml/perl/lib/${PERL_ARCHNAME}/auto/WML +@dirrm lib/wml/perl/lib/${PERL_ARCHNAME}/auto/HTML/Clean +@dirrm lib/wml/perl/lib/${PERL_ARCHNAME}/auto/HTML +@dirrm lib/wml/perl/lib/${PERL_ARCHNAME}/auto +@dirrm lib/wml/perl/lib/${PERL_ARCHNAME}/WML +@dirrm lib/wml/perl/lib/${PERL_ARCHNAME} @dirrm lib/wml/perl/lib/auto/HTML/Clean @dirrm lib/wml/perl/lib/auto/HTML @dirrm lib/wml/perl/lib/auto @@ -208,6 +220,6 @@ man/man7/wml_tutorial.7 @dirrm lib/wml/include/des @dirrm lib/wml/include @dirrm lib/wml/exec -@dirrm lib/wml/aux/logos -@dirrm lib/wml/aux +@dirrm lib/wml/data/logos +@dirrm lib/wml/data @dirrm lib/wml diff --git a/www/wml/distinfo b/www/wml/distinfo index 331ec172631..6031fc943b4 100644 --- a/www/wml/distinfo +++ b/www/wml/distinfo @@ -1,5 +1,8 @@ -$NetBSD: distinfo,v 1.2 2001/04/20 12:02:47 skrll Exp $ +$NetBSD: distinfo,v 1.3 2004/09/24 00:58:30 kim Exp $ -SHA1 (wml-2.0.3.tar.gz) = 3bc1518add25a9d2c129b2ce54455eefa7f766e1 -Size (wml-2.0.3.tar.gz) = 2127889 bytes -SHA1 (patch-aa) = 1310eb1af19a7ec0687240c58c566879759339b0 +SHA1 (wml-2.0.9.tar.gz) = ce95ad9c55fd52e2028099d391858d88cffd5d9f +Size (wml-2.0.9.tar.gz) = 2570742 bytes +SHA1 (patch-aa) = 398ddb03402c17306e259b10cf9b5d7ec774d71b +SHA1 (patch-ab) = 77e99d3babc1e55c688fd607241fa5beeb29763c +SHA1 (patch-ac) = 80863037faadf220ba1d01ef2133cdc42e08f0fa +SHA1 (patch-ad) = 2955f349aa737f1758493897d1989a0b96220268 diff --git a/www/wml/patches/patch-aa b/www/wml/patches/patch-aa index 1c57b2b7a20..126829352be 100644 --- a/www/wml/patches/patch-aa +++ b/www/wml/patches/patch-aa @@ -1,52 +1,80 @@ -$NetBSD: patch-aa,v 1.1.1.1 2000/09/04 21:41:50 kim Exp $ +$NetBSD: patch-aa,v 1.2 2004/09/24 00:58:30 kim Exp $ ---- configure.orig Mon May 22 17:00:34 2000 -+++ configure Mon Sep 4 16:16:44 2000 -@@ -1082,6 +1082,7 @@ - rm -f $TMPFILE - cat >$TMPFILE <<'EOT' - eval { -+ use AutoLoader 'AUTOLOAD'; - require Getopt::Long; - if ('2.16' ne 'ANY') { - Getopt::Long->require_version('2.16'); -@@ -1110,6 +1111,7 @@ - rm -f $TMPFILE - cat >$TMPFILE <<'EOT' - eval { -+ use AutoLoader 'AUTOLOAD'; - require Bit::Vector; - if ('5.2' ne 'ANY') { - Bit::Vector->require_version('5.2'); -@@ -1138,6 +1140,7 @@ - rm -f $TMPFILE - cat >$TMPFILE <<'EOT' - eval { -+ use AutoLoader 'AUTOLOAD'; - require File::PathConvert; - if ('ANY' ne 'ANY') { - File::PathConvert->require_version('ANY'); -@@ -1166,6 +1169,7 @@ - rm -f $TMPFILE - cat >$TMPFILE <<'EOT' - eval { -+ use AutoLoader 'AUTOLOAD'; - require Image::Size; - if ('2.6' ne 'ANY') { - Image::Size->require_version('2.6'); -@@ -1194,6 +1198,7 @@ - rm -f $TMPFILE - cat >$TMPFILE <<'EOT' - eval { -+ use AutoLoader 'AUTOLOAD'; - require IO::File; - if ('1.07' ne 'ANY') { - IO::File->require_version('1.07'); -@@ -1222,6 +1227,7 @@ - rm -f $TMPFILE - cat >$TMPFILE <<'EOT' - eval { -+ use AutoLoader 'AUTOLOAD'; - require Term::ReadKey; - if ('2.11' ne 'ANY') { - Term::ReadKey->require_version('2.11'); +--- configure.orig 2002-10-18 17:44:21.000000000 -0400 ++++ configure 2004-09-23 19:14:06.000000000 -0400 +@@ -2568,7 +2568,7 @@ + if test -f "$dir/$perl"; then + if test -x "$dir/$perl"; then + perlprog="$dir/$perl" +- if $perlprog -e 'require 5.003'; then ++ if $perlprog -e 'use 5.003'; then + perlvers=`$perlprog -e 'printf "%.3f",$]'` + break 2 + fi +@@ -2580,7 +2580,7 @@ + fi; PATH_PERL=$perlprog + echo "$as_me:$LINENO: result: $perlprog v$perlvers" >&5 + echo "${ECHO_T}$perlprog v$perlvers" >&6 +-if $perlprog -e 'require 5.003'; then ++if $perlprog -e 'use 5.003'; then + : + else + echo "" +@@ -2639,7 +2639,7 @@ + else + echo "$as_me:$LINENO: checking for Perl module Getopt::Long (2.16)" >&5 + echo $ECHO_N "checking for Perl module Getopt::Long (2.16)... $ECHO_C" >&6 +-rc=`$path_perl -e 'eval {require Getopt::Long 2.16}; print "ok" unless $@'`; ++rc=`$path_perl -e 'eval {use Getopt::Long 2.16}; print "ok" unless $@'`; + if test ".$rc" = .ok; then + have_getoptlong=1 + echo "$as_me:$LINENO: result: found" >&5 +@@ -2653,7 +2653,7 @@ + + echo "$as_me:$LINENO: checking for Perl module Bit::Vector (5.2)" >&5 + echo $ECHO_N "checking for Perl module Bit::Vector (5.2)... $ECHO_C" >&6 +-rc=`$path_perl -e 'eval {require Bit::Vector 5.2}; print "ok" unless $@'`; ++rc=`$path_perl -e 'eval {use Bit::Vector 5.2}; print "ok" unless $@'`; + if test ".$rc" = .ok; then + have_bitvector=1 + echo "$as_me:$LINENO: result: found" >&5 +@@ -2665,9 +2665,9 @@ + fi + + +- echo "$as_me:$LINENO: checking for Perl module File::PathConvert (ANY)" >&5 +-echo $ECHO_N "checking for Perl module File::PathConvert (ANY)... $ECHO_C" >&6 +-rc=`$path_perl -e 'eval {require File::PathConvert }; print "ok" unless $@'`; ++ echo "$as_me:$LINENO: checking for Perl module File::Spec (0.87)" >&5 ++echo $ECHO_N "checking for Perl module File::Spec (0.87)... $ECHO_C" >&6 ++rc=`$path_perl -e 'eval {use File::Spec 0.87}; print "ok" unless $@'`; + if test ".$rc" = .ok; then + have_filepathconvert=1 + echo "$as_me:$LINENO: result: found" >&5 +@@ -2681,7 +2681,7 @@ + + echo "$as_me:$LINENO: checking for Perl module Image::Size (2.6)" >&5 + echo $ECHO_N "checking for Perl module Image::Size (2.6)... $ECHO_C" >&6 +-rc=`$path_perl -e 'eval {require Image::Size 2.6}; print "ok" unless $@'`; ++rc=`$path_perl -e 'eval {use Image::Size 2.6}; print "ok" unless $@'`; + if test ".$rc" = .ok; then + have_imagesize=1 + echo "$as_me:$LINENO: result: found" >&5 +@@ -2695,7 +2695,7 @@ + + echo "$as_me:$LINENO: checking for Perl module IO::File (1.07)" >&5 + echo $ECHO_N "checking for Perl module IO::File (1.07)... $ECHO_C" >&6 +-rc=`$path_perl -e 'eval {require IO::File 1.07}; print "ok" unless $@'`; ++rc=`$path_perl -e 'eval {use IO::File 1.07}; print "ok" unless $@'`; + if test ".$rc" = .ok; then + have_io=1 + echo "$as_me:$LINENO: result: found" >&5 +@@ -2709,7 +2709,7 @@ + + echo "$as_me:$LINENO: checking for Perl module Term::ReadKey (2.11)" >&5 + echo $ECHO_N "checking for Perl module Term::ReadKey (2.11)... $ECHO_C" >&6 +-rc=`$path_perl -e 'eval {require Term::ReadKey 2.11}; print "ok" unless $@'`; ++rc=`$path_perl -e 'eval {use Term::ReadKey 2.11}; print "ok" unless $@'`; + if test ".$rc" = .ok; then + have_termreadkey=1 + echo "$as_me:$LINENO: result: found" >&5 diff --git a/www/wml/patches/patch-ab b/www/wml/patches/patch-ab new file mode 100644 index 00000000000..edbf5686c10 --- /dev/null +++ b/www/wml/patches/patch-ab @@ -0,0 +1,49 @@ +$NetBSD: patch-ab,v 1.1 2004/09/24 00:58:30 kim Exp $ + +--- wml_frontend/wml.src.orig 2002-04-20 19:04:28.000000000 -0400 ++++ wml_frontend/wml.src 2004-09-23 19:12:33.000000000 -0400 +@@ -49,7 +49,7 @@ + } + + use Getopt::Long 2.13; +-use File::PathConvert; ++use File::Spec 0.87; + use IO::File 1.06; + use Term::ReadKey; + use Cwd; +@@ -338,7 +338,7 @@ + @opt_I_NEW = @opt_I_OLD; + + # adjust -D options +- $reldir = File::PathConvert::abs2rel("$dir", "$src"); ++ $reldir = File::Spec::abs2rel("$dir", "$src"); + $reldir = "." if $reldir eq ''; + foreach $d (@opt_D) { + if ($d =~ m|^([A-Za-z0-9_]+)~(.+)$|) { +@@ -363,7 +363,7 @@ + } + + # adjust -I options +- $reldir = File::PathConvert::abs2rel("$dir"); ++ $reldir = File::Spec::abs2rel("$dir"); + $reldir = "." if $reldir eq ''; + foreach $path (@opt_I) { + if ($path !~ m|^/|) { +@@ -477,7 +477,7 @@ + $reldir = $src; + $reldir =~ s,(:?/|^)[^/]+$,,; + ($cwd = Cwd::cwd) =~ s|/$||; +- $reldir = File::PathConvert::abs2rel($cwd, "$cwd/$reldir"); ++ $reldir = File::Spec::abs2rel($cwd, "$cwd/$reldir"); + $reldir = "." if $reldir eq ''; + } + else { +@@ -958,7 +958,7 @@ + if ($src =~ m|/|) { + $src_dirname = $src; + $src_dirname =~ s|/+[^/]*$||; +- $src_dirname = File::PathConvert::realpath("$src_dirname"); ++ $src_dirname = File::Spec::canonpath("$src_dirname"); + } + else { + $src_dirname = $cwd; diff --git a/www/wml/patches/patch-ac b/www/wml/patches/patch-ac new file mode 100644 index 00000000000..6904cec85a0 --- /dev/null +++ b/www/wml/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1 2004/09/24 00:58:30 kim Exp $ + +--- wml_backend/p4_gm4/configure.in.orig 2002-06-23 17:02:15.000000000 -0400 ++++ wml_backend/p4_gm4/configure.in 2004-09-23 19:58:12.000000000 -0400 +@@ -2,7 +2,7 @@ + # Copyright (C) 1991, 1993, 1994 Free Software Foundation, Inc. + # Process this file with autoconf to produce a configure script. + +-undefine([changeword]) ++ifdef([changeword],[undefine([changeword])]) + + AC_INIT(src/m4.c) + AC_CONFIG_HEADER(config.h) diff --git a/www/wml/patches/patch-ad b/www/wml/patches/patch-ad new file mode 100644 index 00000000000..8817a27de54 --- /dev/null +++ b/www/wml/patches/patch-ad @@ -0,0 +1,45 @@ +$NetBSD: patch-ad,v 1.1 2004/09/24 00:58:30 kim Exp $ + +--- wml_aux/iselect/aclocal.m4.orig 2000-05-02 14:38:48.000000000 -0400 ++++ wml_aux/iselect/aclocal.m4 2004-09-23 20:10:03.000000000 -0400 +@@ -172,40 +172,6 @@ + ])dnl + dnl + dnl +-dnl +-dnl ########################################################## +-dnl ## +-dnl ## check for ANSI compiler +-dnl ## +-dnl ## Copyright (C) 1992, 1994 Free Software Foundation, Inc. +-dnl ## Francois Pinard <pinard@iro.umontreal.ca>, 1992. +-dnl ## Check for function prototypes. Including a few ideas from +-dnl ## Brook G. Milligan <brook@trillium.botany.utexas.edu>. +-dnl ## +-dnl ## taken from shar-4.0's aclocal.m4 +-dnl ## +-dnl ########################################################## +-dnl +-AC_DEFUN(AC_C_PROTOTYPES, +-[AC_MSG_CHECKING([for function prototypes]) +-AC_CACHE_VAL(ac_cv_c_prototypes, +-[AC_TRY_LINK([#ifndef __STDC__ +-Syntax Error +-#endif], [extern int test (int i, double x); +-struct s1 {int (*f) (int a);}; +-struct s2 {int (*f) (double a);};], +- ac_cv_c_prototypes=yes, ac_cv_c_prototypes=no)])dnl +-AC_MSG_RESULT([$ac_cv_c_prototypes]) +-if test $ac_cv_c_prototypes = yes; then +- AC_DEFINE(HAVE_PROTOTYPES) +- ANSI_CC=yes +-else +- ANSI_CC=no +-fi +-AC_SUBST(ANSI_CC) +-])dnl +-dnl +-dnl + dnl ########################################################## + dnl ## + dnl ## check for supported system type |