Say goodbye to old stuff

This commit is contained in:
espie 2003-02-15 14:07:51 +00:00
parent 7de32aba9d
commit 85a1459fde
26 changed files with 0 additions and 618 deletions

View File

@ -1,32 +0,0 @@
# $OpenBSD: Makefile,v 1.3 2002/12/29 20:19:10 fgsch Exp $
COMMENT= "automatically configure source code on many Un*x platforms"
DISTNAME= autoconf-2.52
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=autoconf/}
HOMEPAGE= http://www.gnu.org/software/autoconf/
SUFFIX=-new
MAINTAINER= Marc Espie <espie@openbsd.org>
CONFIGURE_ARGS+= --program-suffix=${SUFFIX}
# GPL
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= M4=/usr/bin/m4
MAKE_FLAGS=pkgdatadir=${PREFIX}/share/autoconf${SUFFIX}
FAKE_FLAGS=${MAKE_FLAGS} DESTDIR=${WRKINST}
SUBST_VARS=SUFFIX
post-install:
cd ${PREFIX}/info && mv autoconf.info autoconf${SUFFIX}.info && rm standards.info
.include <bsd.port.mk>

View File

@ -1,3 +0,0 @@
MD5 (autoconf-2.52.tar.gz) = 054c54b73aade6da546f98a7c03a724d
RMD160 (autoconf-2.52.tar.gz) = 2fab8b345a7f03aeee35315b9ffa64b832d76f00
SHA1 (autoconf-2.52.tar.gz) = 6f7baa3a924a348df3a231817dacf659a3ecdf6b

View File

@ -1,28 +0,0 @@
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2001/12/31 09:36:04 espie Exp $
--- Makefile.in.orig Wed Jul 18 16:41:38 2001
+++ Makefile.in Sun Sep 16 20:27:20 2001
@@ -44,6 +44,7 @@ ACLOCAL = @ACLOCAL@
AUTOCONF = @AUTOCONF@
AUTOMAKE = @AUTOMAKE@
AUTOHEADER = @AUTOHEADER@
+MAKEINFO = @MAKEINFO@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
@@ -89,7 +90,7 @@ m4sources = m4sugar.m4 m4sh.m4
distpkgdataDATA = acfunctions acheaders acidentifiers acmakevars acprograms aclibraries $(m4sources)
-nodistpkgdataDATA = autoconf.m4f
+nodistpkgdataDATA =
pkgdata_DATA = $(distpkgdataDATA) $(nodistpkgdataDATA)
@@ -176,6 +177,7 @@ install-pkgdataDATA: $(pkgdata_DATA)
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
@list='$(pkgdata_DATA)'; for p in $$list; do \
+ p=`basename $$p`; \
if test -f $(srcdir)/$$p; then \
echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgdatadir)/$$p"; \
$(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgdatadir)/$$p; \

View File

@ -1,19 +0,0 @@
$OpenBSD: patch-acgeneral_m4,v 1.1.1.1 2001/12/31 09:36:04 espie Exp $
--- acgeneral.m4.orig Fri Sep 28 17:11:56 2001
+++ acgeneral.m4 Fri Sep 28 17:45:51 2001
@@ -413,12 +413,11 @@ m4_define([AC_FOREACH],
# | column 2 |
# column 0 column 26
#
+m4_define([AC_PadLeft],
+ [m4_if(m4_eval([$1] > [$2]),1,[[ ]AC_PadLeft([$1]-1,[$2])])])
m4_define([AC_HELP_STRING],
[m4_pushdef([AC_Prefix], m4_default([$3], [ ]))dnl
-m4_pushdef([AC_Prefix_Format],
- [ %-]m4_eval(m4_len(AC_Prefix) - 3)[s ])dnl [ %-23s ]
-m4_text_wrap([$2], AC_Prefix, m4_format(AC_Prefix_Format, [$1]))dnl
-m4_popdef([AC_Prefix_Format])dnl
+m4_text_wrap([$2], AC_Prefix, [ $1]AC_PadLeft(m4_len(AC_Prefix),m4_len([$1])+2))dnl
m4_popdef([AC_Prefix])dnl
])

View File

@ -1,70 +0,0 @@
$OpenBSD: patch-autoconf_in,v 1.1.1.1 2001/12/31 09:36:04 espie Exp $
--- autoconf.in.orig Thu Jul 12 14:46:00 2001
+++ autoconf.in Tue Sep 18 11:34:34 2001
@@ -99,21 +99,16 @@ ac_LF_and_DOT=`echo; echo .`
case "$M4" in
[\\/]* | ?:[\\/]*) test -f "$M4" || M4=m4 ;;
esac
-# Some non-GNU m4's don't reject the --help option, so give them /dev/null.
-case `$M4 --help </dev/null 2>&1` in
-*reload-state*);;
-*) echo "$me: Autoconf requires GNU m4 1.4 or later" >&2; exit 1 ;;
-esac
# Set some high recursion limit as the default limit, 250, has already
# been hit with AC_OUTPUT.
-case " $M4 " in
- *" --nesting-limit"* | *" -L"* )
- # Don't override the user's choice
- ;;
- *) M4="$M4 --nesting-limit=1024"
- ;;
-esac
+#case " $M4 " in
+# *" --nesting-limit"* | *" -L"* )
+# # Don't override the user's choice
+# ;;
+# *) M4="$M4 --nesting-limit=1024"
+# ;;
+#esac
# Find a good AWK.
@@ -279,8 +274,8 @@ test -f "$autoconf_dir/acsite.m4" && acs
test -f "$localdir/aclocal.m4" && aclocal_m4="$localdir/aclocal.m4"
m4_common="-I $autoconf_dir -I $localdir -Dm4_tmpdir=$tmp"
m4_prefiles=" $autoconf_dir/autoconf.m4 $acsite_m4 $aclocal_m4"
-m4f_prefiles="--reload-state=$autoconf_dir/autoconf.m4f $acsite_m4 $aclocal_m4"
-run_m4="$M4 $m4_common"
+m4f_prefiles=$m4_prefiles
+run_m4="$M4 -g -D__gnu__ $m4_common"
# Find the input file.
case $# in
@@ -514,13 +509,13 @@ EOF
# the `at_' name space.
echo '# Copy the builtins.' >>$tmp/trace.m4
echo "dumpdef" |
- $M4 2>&1 >/dev/null |
+ $M4 -g 2>&1 >/dev/null |
sed 's/^\([^:]*\):.*/define([at_\1], defn([\1]))/' >>$tmp/trace.m4
echo >>$tmp/trace.m4
echo '# Disable the builtins.' >>$tmp/trace.m4
echo "dumpdef" |
- $M4 2>&1 >/dev/null |
+ $M4 -g 2>&1 >/dev/null |
sed 's/^\([^:]*\):.*/at_undefine([\1])/' >>$tmp/trace.m4
echo >>$tmp/trace.m4
@@ -749,8 +744,8 @@ EOF
# traces in stderr. This is too fragile, as it results in
# unexpected data in the output. autoheader has been fragile to
# this.
- $verbose "$me: running $run_m4_trace $trace_prefiles $infile -o $tmp/traces" >&2
- $run_m4_trace $trace_prefiles $infile -o $tmp/traces >/dev/null ||
+ $verbose "$me: running $run_m4_trace -o $tmp/traces $trace_prefiles $infile" >&2
+ $run_m4_trace -o $tmp/traces $trace_prefiles $infile >/dev/null ||
{
echo "$me: tracing failed" >&2
(exit 1); exit 1

View File

@ -1,22 +0,0 @@
$OpenBSD: patch-autoupdate_in,v 1.1.1.1 2001/12/31 09:36:04 espie Exp $
--- autoupdate.in.orig Tue May 22 15:21:59 2001
+++ autoupdate.in Fri Sep 28 18:10:56 2001
@@ -35,6 +35,7 @@ my $debug = 0;
my $localdir = '.';
# m4.
my $m4 = $ENV{"M4"} || "@M4@";
+$m4.=" -g -D__gnu__";
my $verbose = 0;
my $SIMPLE_BACKUP_SUFFIX = $ENV{'SIMPLE_BACKUP_SUFFIX'} || '~';
my $tmp = '';
@@ -204,8 +205,8 @@ sub parse_args ()
sub find_slaves ()
{
# Some non-GNU m4's don't reject the --help option, so give them /dev/null.
- die "Autoconf requires GNU m4 1.4 or later\n"
- if system "$m4 --help </dev/null 2>&1 | fgrep reload-state >/dev/null";
+# die "Autoconf requires GNU m4 1.4 or later\n"
+# if system "$m4 --help </dev/null 2>&1 | fgrep reload-state >/dev/null";
# autoconf.
(my $dir = $0) =~ s,[^\\/]*$,,;

View File

@ -1,29 +0,0 @@
$OpenBSD: patch-configure,v 1.1.1.1 2001/12/31 09:36:04 espie Exp $
--- configure.orig Thu Jul 12 14:46:00 2001
+++ configure Wed Jul 18 17:08:42 2001
@@ -1192,25 +1192,6 @@ fi
done
test -n "$M4" || M4="m4"
-echo "$as_me:1195: checking whether m4 supports frozen files" >&5
-echo $ECHO_N "checking whether m4 supports frozen files... $ECHO_C" >&6
-if test "${ac_cv_prog_gnu_m4+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_cv_prog_gnu_m4=no
-if test x"$M4" != x; then
- case `$M4 --help < /dev/null 2>&1` in
- *reload-state*) ac_cv_prog_gnu_m4=yes ;;
- esac
-fi
-fi
-echo "$as_me:1207: result: $ac_cv_prog_gnu_m4" >&5
-echo "${ECHO_T}$ac_cv_prog_gnu_m4" >&6
-if test x"$ac_cv_prog_gnu_m4" != xyes; then
- { { echo "$as_me:1210: error: GNU m4 1.4 is required" >&5
-echo "$as_me: error: GNU m4 1.4 is required" >&2;}
- { (exit 1); exit 1; }; }
-fi
# This is needed because Automake does not seem to realize there is
# a AC-SUBST inside AC-PROG-GNU-M4. Grmph!

View File

@ -1,41 +0,0 @@
$OpenBSD: patch-doc_autoconf_texi,v 1.2 2002/03/13 19:57:14 espie Exp $
--- doc/autoconf.texi.orig Tue Jul 17 18:34:55 2001
+++ doc/autoconf.texi Wed Mar 13 20:42:48 2002
@@ -2,6 +2,7 @@
@c %**start of header
@setfilename autoconf.info
@settitle Autoconf
+@dircategory Programming & development tools
@finalout
@setchapternewpage odd
@@ -29,22 +30,22 @@
@dircategory GNU admin
@direntry
-* Autoconf: (autoconf). Create source code configuration scripts
+* Autoconf-new: (autoconf-new). Create source code configuration scripts
@end direntry
@dircategory Individual utilities
@direntry
-* autoscan: (autoconf)autoscan Invocation.
+* autoscan: (autoconf-new)autoscan Invocation.
Semi-automatic @file{configure.ac} writing
-* ifnames: (autoconf)ifnames Invocation.
+* ifnames: (autoconf-new)ifnames Invocation.
Listing the conditionals in source code
-* autoconf: (autoconf)autoconf Invocation.
+* autoconf: (autoconf-new)autoconf Invocation.
How to create configuration scripts
-* autoreconf: (autoconf)autoreconf Invocation.
+* autoreconf: (autoconf-new)autoreconf Invocation.
Remaking multiple @code{configure} scripts
-* configure: (autoconf)configure Invocation.
+* configure: (autoconf-new)configure Invocation.
Configuring a package
-* config.status: (autoconf)config.status Invocation.
+* config.status: (autoconf-new)config.status Invocation.
Recreating a configuration
@end direntry

View File

@ -1,11 +0,0 @@
$OpenBSD: patch-doc_standards_texi,v 1.1.1.1 2001/12/31 09:36:04 espie Exp $
--- doc/standards.texi.orig Sun Jul 8 13:34:00 2001
+++ doc/standards.texi Sun Jul 8 13:34:07 2001
@@ -4,6 +4,7 @@
@settitle GNU Coding Standards
@c This date is automagically updated when you save this file:
@set lastupdate March 23, 2001
+@dircategory Programming & development tools
@c %**end of header
@ifinfo

View File

@ -1,47 +0,0 @@
$OpenBSD: patch-man_Makefile_in,v 1.1.1.1 2001/12/31 09:36:04 espie Exp $
--- man/Makefile.in.orig Sat Jul 14 19:41:42 2001
+++ man/Makefile.in Wed Jul 18 17:09:22 2001
@@ -67,7 +67,9 @@ PERL = @PERL@
PERLSCRIPTS = @PERLSCRIPTS@
VERSION = @VERSION@
-man_MANS = autoconf.1 autoreconf.1 autoheader.1 autoupdate.1 ifnames.1 autoscan.1 config.guess.1 config.sub.1
+man_MANS = $(srcdir)/autoconf.1 $(srcdir)/autoreconf.1 \
+$(srcdir)/autoheader.1 $(srcdir)/autoupdate.1 $(srcdir)/ifnames.1 \
+$(srcdir)/autoscan.1 $(srcdir)/config.guess.1 $(srcdir)/config.sub.1
man_aux = autoconf.x autoreconf.x autoheader.x autoupdate.x ifnames.x autoscan.x config.guess.x config.sub.x
@@ -117,6 +119,7 @@ install-man1:
else file=$$i; fi; \
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ inst=`echo $$inst | sed -e 's/^.*\///'`; \
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
$(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
@@ -223,16 +226,16 @@ install-am install uninstall-am uninstal
installdirs mostlyclean-generic distclean-generic clean-generic \
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
-autoconf.1: $(common_dep) $(srcdir)/autoconf.x $(top_srcdir)/autoconf.in
-autoreconf.1: $(common_dep) $(srcdir)/autoreconf.x $(top_srcdir)/autoreconf.in
-autoheader.1: $(common_dep) $(srcdir)/autoheader.x $(top_srcdir)/autoheader.in
-autoupdate.1: $(common_dep) $(srcdir)/autoupdate.x $(top_srcdir)/autoupdate.in
-ifnames.1: $(common_dep) $(srcdir)/ifnames.x $(top_srcdir)/ifnames.in
-autoscan.1: $(common_dep) $(srcdir)/autoscan.x $(top_srcdir)/autoscan.in
+#autoconf.1: $(common_dep) $(srcdir)/autoconf.x $(top_srcdir)/autoconf.in
+#autoreconf.1: $(common_dep) $(srcdir)/autoreconf.x $(top_srcdir)/autoreconf.in
+#autoheader.1: $(common_dep) $(srcdir)/autoheader.x $(top_srcdir)/autoheader.in
+#autoupdate.1: $(common_dep) $(srcdir)/autoupdate.x $(top_srcdir)/autoupdate.in
+#ifnames.1: $(common_dep) $(srcdir)/ifnames.x $(top_srcdir)/ifnames.in
+#autoscan.1: $(common_dep) $(srcdir)/autoscan.x $(top_srcdir)/autoscan.in
# Independent from this package.
-config.guess.1: $(srcdir)/config.guess.x $(top_srcdir)/config/config.guess
-config.sub.1: $(srcdir)/config.sub.x $(top_srcdir)/config/config.sub
+#config.guess.1: $(srcdir)/config.guess.x $(top_srcdir)/config/config.guess
+#config.sub.1: $(srcdir)/config.sub.x $(top_srcdir)/config/config.sub
.x.1:
test -f $(top_builddir)/$* && prog=$(top_builddir)/$*; \

View File

@ -1,13 +0,0 @@
Autoconf is an extensible package of m4 macros that produce shell
scripts to automatically configure software source code packages.
These scripts alledgedly can adapt the packages to many kinds of UNIX-like
systems without manual user intervention. Autoconf creates a
configuration script for a package from a template file that lists the
operating system features that the package can use, in the form of m4
macro calls.
The FSF would make you believe that only gnu-m4 can handle autoconf.
As of OpenBSD 2.7, this is no longer true. This package does not depend
on gnu-m4.
WWW: ${HOMEPAGE}

View File

@ -1,39 +0,0 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/12/31 09:36:04 espie Exp $
@option no-default-conflict
@pkgcfl autoconf-2.5*
@unexec install-info --delete --info-dir=%D/info %D/info/autoconf${SUFFIX}.info
bin/autoconf${SUFFIX}
bin/autoheader${SUFFIX}
bin/autoreconf${SUFFIX}
bin/autoscan${SUFFIX}
bin/autoupdate${SUFFIX}
bin/ifnames${SUFFIX}
info/autoconf${SUFFIX}.info
man/man1/autoconf${SUFFIX}.1
man/man1/autoheader${SUFFIX}.1
man/man1/autoreconf${SUFFIX}.1
man/man1/autoscan${SUFFIX}.1
man/man1/autoupdate${SUFFIX}.1
man/man1/config.guess${SUFFIX}.1
man/man1/config.sub${SUFFIX}.1
man/man1/ifnames${SUFFIX}.1
share/autoconf${SUFFIX}/INSTALL
share/autoconf${SUFFIX}/acfunctions
share/autoconf${SUFFIX}/acfunctions.m4
share/autoconf${SUFFIX}/acgeneral.m4
share/autoconf${SUFFIX}/acheaders
share/autoconf${SUFFIX}/acheaders.m4
share/autoconf${SUFFIX}/acidentifiers
share/autoconf${SUFFIX}/aclang.m4
share/autoconf${SUFFIX}/aclibraries
share/autoconf${SUFFIX}/acmakevars
share/autoconf${SUFFIX}/acoldnames.m4
share/autoconf${SUFFIX}/acprograms
share/autoconf${SUFFIX}/acspecific.m4
share/autoconf${SUFFIX}/actypes.m4
share/autoconf${SUFFIX}/acversion.m4
share/autoconf${SUFFIX}/autoconf.m4
share/autoconf${SUFFIX}/m4sh.m4
share/autoconf${SUFFIX}/m4sugar.m4
@dirrm share/autoconf${SUFFIX}
@exec install-info --info-dir=%D/info %D/info/autoconf${SUFFIX}.info

View File

@ -1,6 +0,0 @@
$OpenBSD: SECURITY,v 1.1.1.1 2001/12/31 09:36:04 espie Exp $
autoconf scripts create quite a few temporary files in public
directories.
The OpenBSD version has been patched to use mktemp(1).

View File

@ -1,3 +0,0 @@
MD5 (autoconf-2.13.tar.gz) = 9de56d4a161a723228220b0f425dc711
RMD160 (autoconf-2.13.tar.gz) = 0d1fa0992280ed71c0d72487a5a4c246d1c1b18a
SHA1 (autoconf-2.13.tar.gz) = e4826c8bd85325067818f19b2b2ad2b625da66fc

View File

@ -1,14 +0,0 @@
#!/bin/sh
a=`mktemp /tmp/$1.XXXXXXXXXX`
b=`mktemp /tmp/$2.XXXXXXXXXX`
trap 'rm $a $b; exit 0' 0 1 2 3 13 15
sed -e 's,configure:[0-9]*:,configure:####:,' \
-e 's,^#line [0-9]*,#line ####,' \
-e 's,$as_me:[0-9]*:,$as_me::,' \
<$1 >$a
sed -e 's,configure:[0-9]*:,configure:####:,' \
-e 's,^#line [0-9]*,#line ####,' \
-e 's,$as_me:[0-9]*:,$as_me::,' \
<$2 >$b
diff -u $a $b|sed -e s,$a,$1, -e s,$b,$2,

View File

@ -1,39 +0,0 @@
--- Makefile.in.orig Tue Jan 5 14:27:16 1999
+++ Makefile.in Wed Nov 17 16:41:36 1999
@@ -22,6 +22,7 @@ srcdir = @srcdir@
VPATH = @srcdir@
INSTALL = @INSTALL@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
MAKEINFO = makeinfo
@@ -33,8 +34,8 @@ PERL = @PERL@
# Programs that are ALWAYS installed (and are created in the build dir).
ASCRIPTS = autoconf autoheader autoreconf autoupdate ifnames
-# M4 input that is frozen.
-M4FROZEN = autoconf.m4f autoheader.m4f
+# Don't freeze anything with OpenBSD m4
+M4FROZEN=
# All programs, including those only installed if you have perl.
SCRIPTS = $(ASCRIPTS) @SCRIPTS@
@@ -141,7 +142,7 @@ installdirs:
install: all $(M4FILES) acconfig.h installdirs install-info
for p in $(ASCRIPTS); do \
- $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
+ $(INSTALL_SCRIPT) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
done
for i in $(M4FROZEN); do \
$(INSTALL_DATA) $$i $(acdatadir)/$$i; \
@@ -150,7 +151,7 @@ install: all $(M4FILES) acconfig.h insta
$(INSTALL_DATA) $(srcdir)/$$i $(acdatadir)/$$i; \
done
-if test -f autoscan; then \
- $(INSTALL_PROGRAM) autoscan $(bindir)/`echo autoscan|sed '$(transform)'`; \
+ $(INSTALL_SCRIPT) autoscan $(bindir)/`echo autoscan|sed '$(transform)'`; \
for i in acfunctions acheaders acidentifiers acprograms \
acmakevars; do \
$(INSTALL_DATA) $(srcdir)/$$i $(acdatadir)/$$i; \

View File

@ -1,10 +0,0 @@
--- autoconf.texi.orig Tue Jan 5 05:28:37 1999
+++ autoconf.texi Wed Jan 6 13:06:27 1999
@@ -4,6 +4,7 @@
@settitle Autoconf
@c For double-sided printing, uncomment:
@c @setchapternewpage odd
+@dircategory Programming & development tools
@c %**end of header
@set EDITION 2.13

View File

@ -1,10 +0,0 @@
--- standards.texi.orig Tue Jan 5 05:29:22 1999
+++ standards.texi Wed Jan 6 13:08:00 1999
@@ -4,6 +4,7 @@
@settitle GNU Coding Standards
@c This date is automagically updated when you save this file:
@set lastupdate August 26, 1998
+@dircategory Programming & development tools
@c %**end of header
@ifinfo

View File

@ -1,33 +0,0 @@
--- acgeneral.m4.orig Tue Jan 5 14:27:37 1999
+++ acgeneral.m4 Sun Sep 16 15:31:16 2001
@@ -733,8 +733,8 @@ ac_help="$ac_help
[$2]"
AC_DIVERT_POP()dnl
[#] Check whether --enable-[$1] or --disable-[$1] was given.
-if test "[${enable_]patsubst([$1], -, _)+set}" = set; then
- enableval="[$enable_]patsubst([$1], -, _)"
+if test "[${enable_]translit([$1], -, _)+set}" = set; then
+ enableval="[$enable_]translit([$1], -, _)"
ifelse([$3], , :, [$3])
ifelse([$4], , , [else
$4
@@ -758,8 +758,8 @@ ac_help="$ac_help
[$2]"
AC_DIVERT_POP()dnl
[#] Check whether --with-[$1] or --without-[$1] was given.
-if test "[${with_]patsubst([$1], -, _)+set}" = set; then
- withval="[$with_]patsubst([$1], -, _)"
+if test "[${with_]translit([$1], -, _)+set}" = set; then
+ withval="[$with_]translit([$1], -, _)"
ifelse([$3], , :, [$3])
ifelse([$4], , , [else
$4
@@ -859,7 +859,7 @@ dnl do not automatically need to distrib
dnl AC_CONFIG_AUX_DIRS(DIR ...)
AC_DEFUN(AC_CONFIG_AUX_DIRS,
[ac_aux_dir=
-for ac_dir in $1; do
+for ac_dir in ${GNUSYSTEM_AUX_DIR} $1; do
if test -f $ac_dir/install-sh; then
ac_aux_dir=$ac_dir
ac_install_sh="$ac_aux_dir/install-sh -c"

View File

@ -1,23 +0,0 @@
--- autoheader.sh.orig Tue Jan 5 08:28:39 1999
+++ autoheader.sh Mon Mar 20 21:02:16 2000
@@ -110,19 +110,10 @@
use_localdir=
fi
-# Use the frozen version of Autoconf if available.
-r= f=
-# Some non-GNU m4's don't reject the --help option, so give them /dev/null.
-case `$M4 --help < /dev/null 2>&1` in
-*reload-state*) test -r $AC_MACRODIR/autoheader.m4f && { r=--reload f=f; } ;;
-*traditional*) ;;
-*) echo Autoconf requires GNU m4 1.1 or later >&2; exit 1 ;;
-esac
-
# Extract assignments of SYMS, TYPES, FUNCS, HEADERS, and LIBS from the
# modified autoconf processing of the input file. The sed hair is
# necessary to win for multi-line macro invocations.
-eval "`$M4 -I$AC_MACRODIR $use_localdir $r autoheader.m4$f $infile |
+eval "`$M4 -g -D__gnu__ -I$AC_MACRODIR $use_localdir autoheader.m4 $infile |
sed -n -e '
: again
/^@@@.*@@@$/s/^@@@\(.*\)@@@$/\1/p

View File

@ -1,50 +0,0 @@
--- autoconf.sh.orig Tue Jan 5 06:27:53 1999
+++ autoconf.sh Wed Mar 27 09:49:29 2002
@@ -45,7 +45,8 @@ case "${M4}" in
esac
: ${TMPDIR=/tmp}
-tmpout=${TMPDIR}/acout.$$
+tmpout=`mktemp ${TMPDIR}/acout.XXXXXXXXXX` || exit 1
+rm -f $tmpout
localdir=
show_version=no
@@ -96,8 +97,18 @@ case $# in
esac
trap 'rm -f $tmpin $tmpout; exit 1' 1 2 15
+if fgrep AC_ $infile >/dev/null; then
+ :
+else
+ if fgrep "This is Cygnus Configure" configure >/dev/null; then
+ echo "Error: not an autoconf $infile" >&2
+ exit 1
+ fi
+fi
-tmpin=${TMPDIR}/acin.$$ # Always set this, to avoid bogus errors from some rm's.
+tmpin=`mktemp ${TMPDIR}/acin.XXXXXXXXXX` || { rm -f $tmpout; exit 1; }
+rm -f $tmpin
+# Always set this, to avoid bogus errors from some rm's.
if test z$infile = z-; then
infile=$tmpin
cat > $infile
@@ -112,16 +123,7 @@ else
use_localdir=
fi
-# Use the frozen version of Autoconf if available.
-r= f=
-# Some non-GNU m4's don't reject the --help option, so give them /dev/null.
-case `$M4 --help < /dev/null 2>&1` in
-*reload-state*) test -r $AC_MACRODIR/autoconf.m4f && { r=--reload f=f; } ;;
-*traditional*) ;;
-*) echo Autoconf requires GNU m4 1.1 or later >&2; rm -f $tmpin; exit 1 ;;
-esac
-
-$M4 -I$AC_MACRODIR $use_localdir $r autoconf.m4$f $infile > $tmpout ||
+$M4 -g -D__gnu__ -I$AC_MACRODIR $use_localdir autoconf.m4 $infile > $tmpout ||
{ rm -f $tmpin $tmpout; exit 2; }
# You could add your own prefixes to pattern if you wanted to check for

View File

@ -1,11 +0,0 @@
--- autoheader.sh.orig Mon Nov 22 21:50:45 1999
+++ autoheader.sh Mon Nov 22 21:52:02 1999
@@ -194,7 +194,7 @@
# Some fgrep's have limits on the number of lines that can be in the
# pattern on the command line, so use a temporary file containing the
# pattern.
- (fgrep_tmp=${TMPDIR-/tmp}/autoh$$
+ (fgrep_tmp=`mktemp ${TMPDIR-/tmp}/autoh.XXXXXXXXXX` || exit 1
trap "rm -f $fgrep_tmp; exit 1" 1 2 15
cat > $fgrep_tmp <<EOF
$syms

View File

@ -1,20 +0,0 @@
--- autoupdate.sh.orig Mon Nov 22 21:52:26 1999
+++ autoupdate.sh Mon Nov 22 21:54:30 1999
@@ -26,7 +26,7 @@
Usage: autoupdate [-h] [--help] [-m dir] [--macrodir=dir]
[--version] [template-file]"
-sedtmp=/tmp/acups.$$
+sedtmp=`mktemp ${TMPDIR-/tmp}/acups.XXXXXXXXXX` || exit 1
# For debugging.
#sedtmp=/tmp/acups
show_version=no
@@ -66,7 +66,7 @@
: ${SIMPLE_BACKUP_SUFFIX='~'}
-tmpout=acupo.$$
+tmpout=`mktemp acupo.XXXXXXXXXX` || { rm -f $sedtmp; exit 1; }
trap 'rm -f $sedtmp $tmpout; exit 1' 1 2 15
case $# in
0) infile=configure.in; out="> $tmpout"

View File

@ -1,13 +0,0 @@
Autoconf is an extensible package of m4 macros that produce shell
scripts to automatically configure software source code packages.
These scripts can adapt the packages to many kinds of UNIX-like
systems without manual user intervention. Autoconf creates a
configuration script for a package from a template file that lists the
operating system features that the package can use, in the form of m4
macro calls.
The FSF would make you believe that only gnu-m4 can handle autoconf.
As of OpenBSD 2.7, this is no longer true. This package does not depend
on gnu-m4.
WWW: ${HOMEPAGE}

View File

@ -1,26 +0,0 @@
@comment $OpenBSD: PLIST,v 1.10 2001/12/31 09:37:23 espie Exp $
@option no-default-conflict
@pkgcfl autoconf-2.0*
@pkgcfl autoconf-2.1*
@pkgcfl autoconf-1.*
bin/autoconf
bin/autoheader
bin/autoreconf
bin/autoscan
bin/autoupdate
bin/ifnames
@unexec install-info --delete --info-dir=%D/info %D/info/autoconf.info
info/autoconf.info
@exec install-info --info-dir=%D/info %D/info/autoconf.info
share/autoconf/acconfig.h
share/autoconf/acfunctions
share/autoconf/acgeneral.m4
share/autoconf/acheaders
share/autoconf/acidentifiers
share/autoconf/acmakevars
share/autoconf/acoldnames.m4
share/autoconf/acprograms
share/autoconf/acspecific.m4
share/autoconf/autoconf.m4
share/autoconf/autoheader.m4
@dirrm share/autoconf

View File

@ -1,6 +0,0 @@
$OpenBSD: SECURITY,v 1.1 1999/12/01 17:07:47 espie Exp $
autoconf scripts create quite a few temporary files in public
directories.
The OpenBSD version has been patched to use mktemp(1).