]> git.pld-linux.org Git - packages/autoconf2_13.git/commitdiff
- brought back to life for autoconf2_13 spec
authorczarny <czarny@pld-linux.org>
Wed, 1 Nov 2006 09:46:37 +0000 (09:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    autoconf2_13-DESTDIR.patch -> 1.1
    autoconf2_13-fhs.patch -> 1.1
    autoconf2_13-info.patch -> 1.1
    autoconf2_13-man.patch -> 1.1
    autoconf2_13-mawk.patch -> 1.1
    autoconf2_13-notmp.patch -> 1.1
    autoconf2_13-pinard.patch -> 1.1
    autoconf2_13-tmprace.patch -> 1.1

autoconf2_13-DESTDIR.patch [new file with mode: 0644]
autoconf2_13-fhs.patch [new file with mode: 0644]
autoconf2_13-info.patch [new file with mode: 0644]
autoconf2_13-man.patch [new file with mode: 0644]
autoconf2_13-mawk.patch [new file with mode: 0644]
autoconf2_13-notmp.patch [new file with mode: 0644]
autoconf2_13-pinard.patch [new file with mode: 0644]
autoconf2_13-tmprace.patch [new file with mode: 0644]

diff --git a/autoconf2_13-DESTDIR.patch b/autoconf2_13-DESTDIR.patch
new file mode 100644 (file)
index 0000000..8a4f6c5
--- /dev/null
@@ -0,0 +1,47 @@
+diff -Nru autoconf-2.13/Makefile.in autoconf-2.13.new/Makefile.in
+--- autoconf-2.13/Makefile.in  Tue Jan  5 14:27:16 1999
++++ autoconf-2.13.new/Makefile.in      Mon Dec 13 03:36:28 1999
+@@ -137,23 +137,23 @@
+       cd testsuite && ${MAKE} AUTOCONF=${bindir}/autoconf $@
+ installdirs:
+-      $(SHELL) ${srcdir}/mkinstalldirs $(bindir) $(infodir) $(acdatadir)
++      $(SHELL) ${srcdir}/mkinstalldirs $(DESTDIR)$(bindir) $(DESTDIR)$(infodir) $(DESTDIR)$(acdatadir) $(DESTDIR)$(acdatadir)
+ install: all $(M4FILES) acconfig.h installdirs install-info
+       for p in $(ASCRIPTS); do \
+-        $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
++        $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
+       done
+       for i in $(M4FROZEN); do \
+-        $(INSTALL_DATA) $$i $(acdatadir)/$$i; \
++        $(INSTALL_DATA) $$i $(DESTDIR)$(acdatadir)/$$i; \
+       done
+       for i in $(M4FILES) acconfig.h; do \
+-        $(INSTALL_DATA) $(srcdir)/$$i $(acdatadir)/$$i; \
++        $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(acdatadir)/$$i; \
+       done
+       -if test -f autoscan; then \
+-      $(INSTALL_PROGRAM) autoscan $(bindir)/`echo autoscan|sed '$(transform)'`; \
++      $(INSTALL_PROGRAM) autoscan $(DESTDIR)$(bindir)/`echo autoscan|sed '$(transform)'`; \
+       for i in acfunctions acheaders acidentifiers acprograms \
+         acmakevars; do \
+-      $(INSTALL_DATA) $(srcdir)/$$i $(acdatadir)/$$i; \
++      $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(acdatadir)/$$i; \
+       done; \
+       else :; fi
+@@ -161,11 +161,11 @@
+ install-info: info installdirs
+       if test -f autoconf.info; then \
+         for i in *.info*; do \
+-          $(INSTALL_DATA) $$i $(infodir)/$$i; \
++          $(INSTALL_DATA) $$i $(DESTDIR)$(infodir)/$$i; \
+         done; \
+       else \
+         for i in $(srcdir)/*.info*; do \
+-          $(INSTALL_DATA) $$i $(infodir)/`echo $$i | sed 's|^$(srcdir)/||'`; \
++          $(INSTALL_DATA) $$i $(DESTDIR)$(infodir)/`echo $$i | sed 's|^$(srcdir)/||'`; \
+         done; \
+       fi
diff --git a/autoconf2_13-fhs.patch b/autoconf2_13-fhs.patch
new file mode 100644 (file)
index 0000000..d7f7111
--- /dev/null
@@ -0,0 +1,19 @@
+diff -Nru autoconf-2.13/acgeneral.m4 autoconf-2.13.new/acgeneral.m4
+--- autoconf-2.13/acgeneral.m4 Wed Aug 16 19:24:11 2000
++++ autoconf-2.13.new/acgeneral.m4     Wed Aug 16 19:25:11 2000
+@@ -198,12 +198,12 @@
+ datadir='${prefix}/share'
+ sysconfdir='${prefix}/etc'
+ sharedstatedir='${prefix}/com'
+-localstatedir='${prefix}/var'
++localstatedir='/var/lib'
+ libdir='${exec_prefix}/lib'
+ includedir='${prefix}/include'
+ oldincludedir='/usr/include'
+-infodir='${prefix}/info'
+-mandir='${prefix}/man'
++infodir='${prefix}/share/info'
++mandir='${prefix}/share/man'
+ # Initialize some other variables.
+ subdirs=
diff --git a/autoconf2_13-info.patch b/autoconf2_13-info.patch
new file mode 100644 (file)
index 0000000..a480480
--- /dev/null
@@ -0,0 +1,15 @@
+diff -Nru autoconf-2.12/autoconf.texi autoconf-2.12.new/autoconf.texi
+--- autoconf-2.12/autoconf.texi        Tue Nov 26 19:09:46 1996
++++ autoconf-2.12.new/autoconf.texi    Tue Dec 29 23:59:22 1998
+@@ -16,8 +16,10 @@
+ @ifinfo
+ @format
++INFO-DIR-SECTION Programming tools:
+ START-INFO-DIR-ENTRY
+-* Autoconf: (autoconf).         Create source code configuration scripts.
++* autoconf: (autoconf).                       Create source code 
++                                      configuration scripts
+ END-INFO-DIR-ENTRY
+ @end format
diff --git a/autoconf2_13-man.patch b/autoconf2_13-man.patch
new file mode 100644 (file)
index 0000000..286ee74
--- /dev/null
@@ -0,0 +1,823 @@
+--- autoconf-2.13.orig/autoconf.1
++++ autoconf-2.13/autoconf.1
+@@ -0,0 +1,126 @@
++.\" Copyright (C) 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc.
++.\" Copyright (C) 1998 Ben Pfaff.
++.\"
++.\" Permission is granted to make and distribute verbatim copies of
++.\" this manual provided the copyright notice and this permission notice
++.\" are preserved on all copies.
++.\" 
++.\" Permission is granted to copy and distribute modified versions of this
++.\" manual under the conditions for verbatim copying, provided that the entire
++.\" resulting derived work is distributed under the terms of a permission
++.\" notice identical to this one.
++.\" 
++.\" Permission is granted to copy and distribute translations of this manual
++.\" into another language, under the above conditions for modified versions,
++.\" except that this permission notice may be stated in a translation approved
++.\" by the Foundation.
++.\"
++.TH AUTOCONF 1 "Autoconf"
++.SH NAME
++autoconf - creates scripts to configure source code packages using templates
++.SH SYNOPSIS
++.B autoconf
++[
++.B --help
++|
++.B -h
++] [
++.B --localdir=dir
++|
++.B -l dir
++] [
++.B --macrodir=dir
++|
++.B -m dir
++] [
++.B --version
++]
++.SH DESCRIPTION
++.PP
++To create 
++.B configure
++from 
++.BR configure.in , run the 
++.B autoconf
++program with no arguments.  
++.B autoconf
++processes 
++.B configure.in
++with
++the 
++.B m4
++macro processor, using the Autoconf macros.  If you give
++.B autoconf
++an argument, it reads that file instead of 
++.B configure.in
++and writes the configuration script to the standard output instead of
++to 
++.B configure
++.  If you give 
++.B autoconf
++the argument 
++.BR - ,
++it reads the
++standard input instead of 
++.B configure.in
++and writes the configuration
++script on the standard output.
++.PP
++The Autoconf macros are defined in several files.  Some of the files
++are distributed with Autoconf; 
++.B autoconf
++reads them first.  Then it
++looks for the optional file 
++.B acsite.m4
++in the directory that contains
++the distributed Autoconf macro files, and for the optional file
++.B aclocal.m4
++in the current directory.  Those files can contain your
++site's or the package's own Autoconf macro definitions.  If a macro is
++defined in more than one of the files that 
++.B autoconf
++reads, the last
++definition it reads overrides the earlier ones.
++.PP
++
++.B autoconf
++accepts the following options:
++.TP
++.BI --help
++.TP
++.BI -h
++Print a summary of the command line options and exit.
++.TP
++.BI --localdir=DIR
++.TP
++.BI -l\ DIR
++Look for the package file 
++.B aclocal.m4
++in directory DIR instead of
++in the current directory.
++.TP
++.BI --macrodir=DIR
++.TP
++.BI -m\ DIR
++Look for the installed macro files in directory DIR.  You can also
++set the 
++.B AC_MACRODIR
++environment variable to a directory; this
++option overrides the environment variable.
++.TP
++.BI --version
++Print the version number of Autoconf and exit.
++.PP
++.SH "SEE ALSO"
++.BR autoheader (1),
++.BR autoreconf (1),
++.BR autoscan (1),
++.BR autoupdate (1),
++.BR ifnames (1)
++.SH AUTHORS
++David MacKenzie, with help from Franc,ois Pinard, Karl Berry, Richard
++Pixley, Ian Lance Taylor, Roland McGrath, Noah Friedman, David
++D. Zuhn, and many others.  This manpage written by Ben Pfaff
++<pfaffben@pilot.msu.edu> for the Debian GNU/Linux
++.B autoconf
++package.
+--- autoconf-2.13.orig/autoheader.1
++++ autoconf-2.13/autoheader.1
+@@ -0,0 +1,197 @@
++.\" Copyright (C) 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc.
++.\" Copyright (C) 1998 Ben Pfaff.
++.\"
++.\" Permission is granted to make and distribute verbatim copies of
++.\" this manual provided the copyright notice and this permission notice
++.\" are preserved on all copies.
++.\" 
++.\" Permission is granted to copy and distribute modified versions of this
++.\" manual under the conditions for verbatim copying, provided that the entire
++.\" resulting derived work is distributed under the terms of a permission
++.\" notice identical to this one.
++.\" 
++.\" Permission is granted to copy and distribute translations of this manual
++.\" into another language, under the above conditions for modified versions,
++.\" except that this permission notice may be stated in a translation approved
++.\" by the Foundation.
++.\"
++.TH AUTOHEADER 1 "Autoconf"
++.SH NAME
++autoheader - creates a template file of C #define's for use by
++configure.
++.SH SYNOPSIS
++.B autoheader
++[
++.B --help
++|
++.B -h
++] [
++.B --localdir=dir
++|
++.B -l dir
++] [
++.B --macrodir=dir
++|
++.B -m dir
++] [
++.B --version
++]
++.SH DESCRIPTION
++.PP
++The 
++.B autoheader
++program can create a template file of C 
++.B #define
++statements for 
++.B configure
++to use.  If 
++.B configure.in
++invokes
++.BR AC_CONFIG_HEADER(FILE) , 
++.B autoheader
++creates 
++.BR FILE.in ; 
++if multiple
++file arguments are given, the first one is used.  Otherwise,
++.B autoheader
++creates 
++.BR config.h.in .
++.PP
++If you give 
++.B autoheader
++an argument, it uses that file instead of
++.B configure.in
++and writes the header file to the standard output
++instead of to 
++.B config.h.in
++.  If you give 
++.B autoheader
++an argument of
++.BR - , 
++it reads the standard input instead of 
++.B configure.in
++and writes
++the header file to the standard output.
++.PP
++.B autoheader
++scans 
++.B configure.in
++and figures out which C
++preprocessor symbols it might define.  It copies comments and 
++.B #define
++and 
++.B #undef
++statements from a file called 
++.BR acconfig.h , 
++which comes
++with and is installed with Autoconf.  It also uses a file called
++.B acconfig.h
++in the current directory, if present.  If you 
++.B AC_DEFINE
++any additional symbols, you must create that file with entries for
++them.  For symbols defined by 
++.BR AC_CHECK_HEADERS , 
++.BR AC_CHECK_FUNCS ,
++.BR AC_CHECK_SIZEOF , 
++or 
++.BR AC_CHECK_LIB , 
++.B autoheader
++generates comments
++and 
++.B #undef
++statements itself rather than copying them from a file,
++since the possible symbols are effectively limitless.
++.PP
++The file that 
++.B autoheader
++creates contains mainly 
++.B #define
++and
++.B #undef
++statements and their accompanying comments.  If 
++.B ./acconfig.h
++contains the string 
++.BR @TOP@ , 
++.B autoheader
++copies the lines before the
++line containing 
++.B @TOP@
++into the top of the file that it generates.
++Similarly, if 
++.B ./acconfig.h
++contains the string 
++.BR @BOTTOM@ ,
++.B autoheader
++copies the lines after that line to the end of the file it
++generates.  Either or both of those strings may be omitted.
++.PP
++An alternate way to produce the same effect is to create the files
++.B FILE.top
++(typically 
++.BR config.h.top ) 
++and/or 
++.B FILE.bot
++in the current
++directory.  If they exist, 
++.B autoheader
++copies them to the beginning
++and end, respectively, of its output.  Their use is discouraged because
++they have file names that contain two periods, and so can not be stored
++on MS-DOS; also, they are two more files to clutter up the directory.
++But if you use the 
++.B --localdir=DIR
++option to use an 
++.B acconfig.h
++in
++another directory, they give you a way to put custom boilerplate in each
++individual 
++.BR config.h.in .
++.PP
++.B autoheader
++accepts the following options:
++.TP
++.BI --help
++.TP
++.BI -h
++Print a summary of the command line options and exit.
++.TP
++.BI --localdir=DIR
++.TP
++.BI -l\ DIR
++Look for the package files 
++.B aclocal.m4
++and 
++.B acconfig.h
++(but not
++.B FILE.top
++and 
++.BR FILE.bot ) 
++in directory DIR instead of in the current
++directory.
++.TP
++.BI --macrodir=DIR
++.TP
++.BI -m\ DIR
++Look for the installed macro files and 
++.B acconfig.h
++in directory DIR.
++You can also set the 
++.B AC_MACRODIR
++environment variable to a
++directory; this option overrides the environment variable.
++.TP
++.BI --version
++Print the version number of Autoconf and exit.
++.SH "SEE ALSO"
++.BR autoconf (1),
++.BR autoreconf (1),
++.BR autoscan (1),
++.BR autoupdate (1),
++.BR ifnames (1)
++.SH AUTHORS
++David MacKenzie, with help from Franc,ois Pinard, Karl Berry, Richard
++Pixley, Ian Lance Taylor, Roland McGrath, Noah Friedman, David
++D. Zuhn, and many others.  This manpage written by Ben Pfaff
++<pfaffben@pilot.msu.edu> for the Debian GNU/Linux
++.B autoconf
++package.
+--- autoconf-2.13.orig/autoreconf.1
++++ autoconf-2.13/autoreconf.1
+@@ -0,0 +1,165 @@
++.\" Copyright (C) 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc.
++.\" Copyright (C) 1998 Ben Pfaff.
++.\"
++.\" Permission is granted to make and distribute verbatim copies of
++.\" this manual provided the copyright notice and this permission notice
++.\" are preserved on all copies.
++.\" 
++.\" Permission is granted to copy and distribute modified versions of this
++.\" manual under the conditions for verbatim copying, provided that the entire
++.\" resulting derived work is distributed under the terms of a permission
++.\" notice identical to this one.
++.\" 
++.\" Permission is granted to copy and distribute translations of this manual
++.\" into another language, under the above conditions for modified versions,
++.\" except that this permission notice may be stated in a translation approved
++.\" by the Foundation.
++.\"
++.TH AUTORECONF 1 "Autoconf"
++.SH NAME
++autoreconf - update configure scripts
++.SH SYNOPSIS
++.B autoreconf
++[
++.B --help
++|
++.B -h
++] [
++.B --force
++|
++.B -f
++] [
++.B --localdir=dir
++|
++.B -l dir
++] [
++.B --macrodir=dir
++|
++.B -m dir
++] [
++.B --verbose
++] [
++.B --version
++]
++.SH DESCRIPTION
++.PP
++If you have a lot of Autoconf-generated 
++.B configure
++scripts, the
++.B autoreconf
++program can save you some work.  It runs 
++.B autoconf
++(and
++.BR autoheader , 
++where appropriate) repeatedly to remake the Autoconf
++.B configure
++scripts and configuration header templates in the directory
++tree rooted at the current directory.  By default, it only remakes
++those files that are older than their 
++.B configure.in
++or (if present)
++.BR aclocal.m4 .  
++Since 
++.B autoheader
++does not change the timestamp of its
++output file if the file wouldn't be changing, this is not necessarily
++the minimum amount of work.  If you install a new version of Autoconf,
++you can make 
++.B autoreconf
++remake 
++.I all
++of the files by giving it the
++.B --force
++option.
++.PP
++If you give 
++.B autoreconf
++the 
++.B --macrodir=DIR
++or 
++.B --localdir=DIR
++options, it passes them down to 
++.B autoconf
++and 
++.B autoheader
++(with
++relative paths adjusted properly).
++.PP
++.B autoreconf
++does not support having, in the same directory tree,
++both directories that are parts of a larger package (sharing
++.B aclocal.m4
++and 
++.BR acconfig.h ), 
++and directories that are independent
++packages (each with their own 
++.B aclocal.m4
++and 
++.BR acconfig.h ).  
++It
++assumes that they are all part of the same package, if you use
++.BR --localdir , 
++or that each directory is a separate package, if you
++don't use it.  This restriction may be removed in the future.
++.PP
++.B autoreconf
++accepts the following options:
++.TP
++.BI --help
++.TP
++.BI -h
++Print a summary of the command line options and exit.
++.TP
++.BI --force
++.TP
++.BI -f
++Remake even 
++.B configure
++scripts and configuration headers that are
++newer than their input files
++.RB ( configure.in
++and, if present,
++.BR aclocal.m4 ).
++.TP
++.BI --localdir=DIR
++.TP
++.BI -l\ DIR
++Look for the package file 
++.B aclocal.m4
++in directory DIR instead of
++in the current directory.
++.TP
++.BI --macrodir=DIR
++.TP
++.BI -m\ DIR
++Look for the installed macro files in directory DIR.  You can also
++set the 
++.B AC_MACRODIR
++environment variable to a directory; this
++option overrides the environment variable.
++.TP
++.BI --verbose
++Print the name of each directory where 
++.B autoreconf
++runs
++.B autoconf
++(and 
++.BR autoheader , 
++if appropriate).
++.TP
++.BI --version
++Print the version number of Autoconf and exit.
++.PP
++.SH "SEE ALSO"
++.BR autoconf (1),
++.BR autoheader (1),
++.BR autoscan (1),
++.BR autoupdate (1),
++.BR ifnames (1)
++.SH AUTHORS
++David MacKenzie, with help from Franc,ois Pinard, Karl Berry, Richard
++Pixley, Ian Lance Taylor, Roland McGrath, Noah Friedman, David
++D. Zuhn, and many others.  This manpage written by Ben Pfaff
++<pfaffben@pilot.msu.edu> for the Debian GNU/Linux
++.B autoconf
++package.
+--- autoconf-2.13.orig/autoscan.1
++++ autoconf-2.13/autoscan.1
+@@ -0,0 +1,122 @@
++.\" Copyright (C) 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc.
++.\" Copyright (C) 1998 Ben Pfaff.
++.\"
++.\" Permission is granted to make and distribute verbatim copies of
++.\" this manual provided the copyright notice and this permission notice
++.\" are preserved on all copies.
++.\" 
++.\" Permission is granted to copy and distribute modified versions of this
++.\" manual under the conditions for verbatim copying, provided that the entire
++.\" resulting derived work is distributed under the terms of a permission
++.\" notice identical to this one.
++.\" 
++.\" Permission is granted to copy and distribute translations of this manual
++.\" into another language, under the above conditions for modified versions,
++.\" except that this permission notice may be stated in a translation approved
++.\" by the Foundation.
++.\"
++.TH AUTOCONF 1 "Autoconf"
++.SH NAME
++autoscan - help to create a configure.in file for a software package
++.SH SYNOPSIS
++.B autoscan
++[
++.B --help
++] [
++.B --macrodir=dir
++] [
++.B --verbose
++] [
++.B --version
++]
++.SH DESCRIPTION
++The 
++.B autoscan
++program can help you create a 
++.B configure.in
++file for a
++software package.  
++.B autoscan
++examines source files in the directory
++tree rooted at a directory given as a command line argument, or the
++current directory if none is given.  It searches the source files for
++common portability problems and creates a file 
++.B configure.scan
++which
++is a preliminary 
++.B configure.in
++for that package.
++.PP
++You should manually examine 
++.B configure.scan
++before renaming it to
++.BR configure.in ; 
++it will probably need some adjustments.  Occasionally
++.B autoscan
++outputs a macro in the wrong order relative to another
++macro, so that 
++.B autoconf
++produces a warning; you need to move such
++macros manually.  Also, if you want the package to use a configuration
++header file, you must add a call to 
++.BR AC_CONFIG_HEADER .  
++You might
++also have to change or add some 
++.B #if
++directives to your program in
++order to make it work with Autoconf (see 
++.BR ifnames (1)), 
++for information about a program that can help with that job).
++.PP
++.B autoscan
++uses several data files, which are installed along with the
++distributed Autoconf macro files, to determine which macros to output
++when it finds particular symbols in a package's source files.  These
++files all have the same format.  Each line consists of a symbol,
++whitespace, and the Autoconf macro to output if that symbol is
++encountered.  Lines starting with 
++.B #
++are comments.
++.PP
++
++.B autoscan
++requires that a Perl interpreter is installed.
++.PP
++
++.B autoscan
++accepts the following options:
++.TP
++.BI --help
++.TP
++.BI -h
++Print a summary of the command line options and exit.
++.TP
++.BI --macrodir=DIR
++.TP
++.BI -m\ DIR
++Look for the installed macro files in directory DIR.  You can also
++set the 
++.B AC_MACRODIR
++environment variable to a directory; this
++option overrides the environment variable.
++.TP
++.BI --verbose
++Print the names of the fiels it examines and the potentially
++interesting symbols it finds in them.  This output can be voluminous.
++.TP
++.BI --version
++Print the version number of Autoconf and exit.
++.PP
++.SH "SEE ALSO"
++.BR autoconf (1),
++.BR autoheader (1),
++.BR autoreconf (1),
++.BR autoupdate (1),
++.BR ifnames (1)
++.SH AUTHORS
++David MacKenzie, with help from Franc,ois Pinard, Karl Berry, Richard
++Pixley, Ian Lance Taylor, Roland McGrath, Noah Friedman, David
++D. Zuhn, and many others.  This manpage written by Ben Pfaff
++<pfaffben@pilot.msu.edu> for the Debian GNU/Linux
++.B autoconf
++package.
+--- autoconf-2.13.orig/autoupdate.1
++++ autoconf-2.13/autoupdate.1
+@@ -0,0 +1,97 @@
++.\" Copyright (C) 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc.
++.\" Copyright (C) 1998 Ben Pfaff.
++.\"
++.\" Permission is granted to make and distribute verbatim copies of
++.\" this manual provided the copyright notice and this permission notice
++.\" are preserved on all copies.
++.\" 
++.\" Permission is granted to copy and distribute modified versions of this
++.\" manual under the conditions for verbatim copying, provided that the entire
++.\" resulting derived work is distributed under the terms of a permission
++.\" notice identical to this one.
++.\" 
++.\" Permission is granted to copy and distribute translations of this manual
++.\" into another language, under the above conditions for modified versions,
++.\" except that this permission notice may be stated in a translation approved
++.\" by the Foundation.
++.\"
++.TH AUTOUPDATE 1 "Autoconf"
++.SH NAME
++autoupdate - updates an old configure.in file to version 2
++.SH SYNOPSIS
++.B autoconf
++[
++.B --help
++|
++.B -h
++] [
++.B --macrodir=dir
++|
++.B -m dir
++] [
++.B --version
++]
++.SH DESCRIPTION
++The 
++.B autoupdate
++program updates a 
++.B configure.in
++file that calls
++Autoconf macros by their old names to use the current macro names.  In
++version 2 of Autoconf, most of the macros were renamed to use a more
++uniform and descriptive naming scheme.  Although the old names still
++work , you can make your 
++.B configure.in
++files more readable and make
++it easier to use the current Autoconf documentation if you update them
++to use the new macro names.
++If given no arguments, 
++.B autoupdate
++updates 
++.BR configure.in , 
++backing up
++the original version with the suffix 
++.B ~
++(or the value of the
++environment variable 
++.BR SIMPLE_BACKUP_SUFFIX , 
++if that is set).  If you
++give 
++.B autoupdate
++an argument, it reads that file instead of
++.B configure.in
++and writes the updated file to the standard output.
++.PP
++.B autoconf
++accepts the following options:
++.TP
++.BI --help
++.TP
++.BI -h
++Print a summary of the command line options and exit.
++.TP
++.BI --macrodir=DIR
++.TP
++.BI -m\ DIR
++Look for the installed macro files in directory DIR.  You can also
++set the 
++.B AC_MACRODIR
++environment variable to a directory; this
++option overrides the environment variable.
++.TP
++.BI --version
++Print the version number of Autoconf and exit.
++.PP
++.SH "SEE ALSO"
++.BR autoconf (1),
++.BR autoheader (1),
++.BR autoreconf (1),
++.BR autoscan (1),
++.BR ifnames (1)
++.SH AUTHORS
++David MacKenzie, with help from Franc,ois Pinard, Karl Berry, Richard
++Pixley, Ian Lance Taylor, Roland McGrath, Noah Friedman, David
++D. Zuhn, and many others.  This manpage written by Ben Pfaff
++<pfaffben@pilot.msu.edu> for the Debian GNU/Linux
++.B autoconf
++package.
+--- autoconf-2.13.orig/ifnames.1
++++ autoconf-2.13/ifnames.1
+@@ -0,0 +1,98 @@
++.\" Copyright (C) 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc.
++.\" Copyright (C) 1998 Ben Pfaff.
++.\"
++.\" Permission is granted to make and distribute verbatim copies of
++.\" this manual provided the copyright notice and this permission notice
++.\" are preserved on all copies.
++.\" 
++.\" Permission is granted to copy and distribute modified versions of this
++.\" manual under the conditions for verbatim copying, provided that the entire
++.\" resulting derived work is distributed under the terms of a permission
++.\" notice identical to this one.
++.\" 
++.\" Permission is granted to copy and distribute translations of this manual
++.\" into another language, under the above conditions for modified versions,
++.\" except that this permission notice may be stated in a translation approved
++.\" by the Foundation.
++.\"
++.TH IFNAMES 1 "Autoconf"
++.SH NAME
++ifnames - print identifiers that a package uses in C preprocessor
++conditionals
++.SH SYNOPSIS
++.B ifnames
++[
++.B --help
++|
++.B -h
++] [
++.B --macrodir=dir
++|
++.B -m dir
++] [
++.B --version
++]
++.SH DESCRIPTION
++.PP
++.B ifnames
++can help when writing a 
++.B configure.in
++for a software
++package.  It prints the identifiers that the package already uses in C
++preprocessor conditionals.  If a package has already been set up to
++have some portability, this program can help you figure out what its
++.B configure
++needs to check for.  It may help fill in some gaps in a
++.B configure.in
++generated by 
++.B autoscan
++(see 
++.BR autoscan (1)).
++.PP
++.B ifnames
++scans all of the C source files named on the command line
++(or the standard input, if none are given) and writes to the standard
++output a sorted list of all the identifiers that appear in those files
++in 
++.BR #if , 
++.BR #elif , 
++.BR #ifdef , 
++or 
++.B #ifndef
++directives.  It prints each
++identifier on a line, followed by a space-separated list of the files
++in which that identifier occurs.
++.PP
++.B ifnames
++accepts the following options:
++.TP
++.BI --help
++.TP
++.BI -h
++Print a summary of the command line options and exit.
++.TP
++.BI --macrodir=DIR
++.TP
++.BI -m\ DIR
++Look for the installed macro files in directory DIR.  You can also
++set the 
++.B AC_MACRODIR
++environment variable to a directory; this
++option overrides the environment variable.
++.TP
++.BI --version
++Print the version number of Autoconf and exit.
++.PP
++.SH "SEE ALSO"
++.BR autoconf (1),
++.BR autoheader (1),
++.BR autoreconf (1),
++.BR autoscan (1),
++.BR autoupdate (1)
++.SH AUTHORS
++David MacKenzie, with help from Franc,ois Pinard, Karl Berry, Richard
++Pixley, Ian Lance Taylor, Roland McGrath, Noah Friedman, David
++D. Zuhn, and many others.  This manpage written by Ben Pfaff
++<pfaffben@pilot.msu.edu> for the Debian GNU/Linux
++.B autoconf
++package.
diff --git a/autoconf2_13-mawk.patch b/autoconf2_13-mawk.patch
new file mode 100644 (file)
index 0000000..963fc96
--- /dev/null
@@ -0,0 +1,44 @@
+diff -Naur autoconf-2.13/acspecific.m4 autoconf-2.13-p/acspecific.m4
+--- autoconf-2.13/acspecific.m4        Tue Jan  5 14:27:52 1999
++++ autoconf-2.13-p/acspecific.m4      Mon Jul  3 01:00:39 2000
+@@ -479,9 +479,9 @@
+ AC_DEFUN(AC_PROG_RANLIB,
+ [AC_CHECK_PROG(RANLIB, ranlib, ranlib, :)])
+-dnl Check for mawk first since it's generally faster.
++dnl Check for awk first since it's generally the one we would like to use :)
+ AC_DEFUN(AC_PROG_AWK,
+-[AC_CHECK_PROGS(AWK, mawk gawk nawk awk, )])
++[AC_CHECK_PROGS(AWK, awk mawk gawk nawk, )])
+ AC_DEFUN(AC_PROG_YACC,
+ [AC_CHECK_PROGS(YACC, 'bison -y' byacc, yacc)])
+diff -Naur autoconf-2.13/autoconf.texi autoconf-2.13-p/autoconf.texi
+--- autoconf-2.13/autoconf.texi        Mon Jul  3 00:57:52 2000
++++ autoconf-2.13-p/autoconf.texi      Mon Jul  3 01:03:19 2000
+@@ -1537,10 +1537,10 @@
+ @defmac AC_PROG_AWK
+ @maindex PROG_AWK
+ @ovindex AWK
+-Check for @code{mawk}, @code{gawk}, @code{nawk}, and @code{awk}, in that
++Check for @code{awk}, @code{mawk}, @code{gawk}, and @code{nawk}, in that
+ order, and set output variable @code{AWK} to the first one that it
+-finds.  It tries @code{mawk} first because that is reported to be the
+-fastest implementation.
++finds.  It tries @code{awk} first because that is reported to be the
++implementation that our system usually runs.
+ @end defmac
+ @defmac AC_PROG_CC
+diff -Naur autoconf-2.13/configure autoconf-2.13-p/configure
+--- autoconf-2.13/configure    Tue Jan  5 14:28:57 1999
++++ autoconf-2.13-p/configure  Mon Jul  3 00:59:42 2000
+@@ -583,7 +583,7 @@
+ done
+ test -n "$M4" || M4="m4"
+-for ac_prog in mawk gawk nawk awk
++for ac_prog in awk
+ do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
diff --git a/autoconf2_13-notmp.patch b/autoconf2_13-notmp.patch
new file mode 100644 (file)
index 0000000..eea5c24
--- /dev/null
@@ -0,0 +1,129 @@
+--- autoconf-2.13/autoconf.sh~ Fri Mar 26 20:50:48 1999
++++ autoconf-2.13/autoconf.sh  Fri Mar 26 20:58:22 1999
+@@ -52,13 +52,13 @@
+ while test $# -gt 0 ; do
+    case "${1}" in
+       -h | --help | --h* )
+-         echo "${usage}" 1>&2; exit 0 ;;
++         echo "${usage}" 1>&2; rm -f $tmpout ; exit 0 ;;
+       --localdir=* | --l*=* )
+          localdir="`echo \"${1}\" | sed -e 's/^[^=]*=//'`"
+          shift ;;
+       -l | --localdir | --l*)
+          shift
+-         test $# -eq 0 && { echo "${usage}" 1>&2; exit 1; }
++         test $# -eq 0 && { echo "${usage}" 1>&2; rm -f $tmpout; exit 1; }
+          localdir="${1}"
+          shift ;;
+       --macrodir=* | --m*=* )
+@@ -66,7 +66,7 @@
+          shift ;;
+       -m | --macrodir | --m* )
+          shift
+-         test $# -eq 0 && { echo "${usage}" 1>&2; exit 1; }
++         test $# -eq 0 && { echo "${usage}" 1>&2; rm -f $tmpout; exit 1; }
+          AC_MACRODIR="${1}"
+          shift ;;
+       --version | --v* )
+@@ -76,7 +76,7 @@
+       - )     # Use stdin as input.
+         break ;;
+       -* )
+-        echo "${usage}" 1>&2; exit 1 ;;
++        echo "${usage}" 1>&2; rm -f $tmpout; exit 1 ;;
+       * )
+         break ;;
+    esac
+@@ -86,13 +86,14 @@
+   version=`sed -n 's/define.AC_ACVERSION.[    ]*\([0-9.]*\).*/\1/p' \
+     $AC_MACRODIR/acgeneral.m4`
+   echo "Autoconf version $version"
++  rm -f $tmpout
+   exit 0
+ fi
+ case $# in
+   0) infile=configure.in ;;
+   1) infile="$1" ;;
+-  *) echo "$usage" >&2; exit 1 ;;
++  *) echo "$usage" >&2; rm -f $tmpout; exit 1 ;;
+ esac
+ trap 'rm -f $tmpin $tmpout; exit 1' 1 2 15
+@@ -103,6 +104,7 @@
+   infile=$tmpin
+ elif test ! -r "$infile"; then
+   echo "autoconf: ${infile}: No such file or directory" >&2
++  rm -f $tmpin $tmpout
+   exit 1
+ fi
+@@ -111,6 +113,8 @@
+ else
+   use_localdir=
+ fi
++# Make sure we don't leave those around - they are annoying
++trap 'rm -f $tmpin $tmpout' 0
+ # Use the frozen version of Autoconf if available.
+ r= f=
+@@ -118,7 +122,7 @@
+ 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 ;;
++*) echo Autoconf requires GNU m4 1.1 or later >&2; rm -f $tmpin $tmpout; exit 1 ;;
+ esac
+ $M4 -I$AC_MACRODIR $use_localdir $r autoconf.m4$f $infile > $tmpout ||
+@@ -154,6 +158,6 @@
+ /__oline__/s/^\([0-9][0-9]*\):\(.*\)__oline__/\2\1/
+ ' >&4
+-rm -f $tmpout
++rm -f $tmpout $tmpin
+ exit $status
+--- autoconf-2.13/autoupdate.sh~       Fri Mar 26 20:50:48 1999
++++ autoconf-2.13/autoupdate.sh        Fri Mar 26 21:02:18 1999
+@@ -35,13 +35,13 @@
+ while test $# -gt 0 ; do
+    case "${1}" in 
+       -h | --help | --h* )
+-         echo "${usage}" 1>&2; exit 0 ;;
++         echo "${usage}" 1>&2; rm -f $sedtmp; exit 0 ;;
+       --macrodir=* | --m*=* )
+          AC_MACRODIR="`echo \"${1}\" | sed -e 's/^[^=]*=//'`"
+          shift ;;
+       -m | --macrodir | --m* ) 
+          shift
+-         test $# -eq 0 && { echo "${usage}" 1>&2; exit 1; }
++         test $# -eq 0 && { echo "${usage}" 1>&2; rm -f $sedtmp; exit 1; }
+          AC_MACRODIR="${1}"
+          shift ;;
+       --version | --versio | --versi | --vers)
+@@ -51,7 +51,7 @@
+       - )     # Use stdin as input.
+         break ;;
+       -* )
+-        echo "${usage}" 1>&2; exit 1 ;;
++        echo "${usage}" 1>&2; rm -f $sedtmp; exit 1 ;;
+       * )
+         break ;;
+    esac
+@@ -61,6 +61,7 @@
+   version=`sed -n 's/define.AC_ACVERSION.[    ]*\([0-9.]*\).*/\1/p' \
+     $AC_MACRODIR/acgeneral.m4`
+   echo "Autoconf version $version"
++  rm -f $sedtmp
+   exit 0
+ fi
+@@ -68,6 +69,7 @@
+ tmpout=acupo.$$
+ trap 'rm -f $sedtmp $tmpout; exit 1' 1 2 15
++trap 'rm -f $sedtmp' 0
+ case $# in
+   0) infile=configure.in; out="> $tmpout"
+      # Make sure $infile can be read, and $tmpout has the same permissions.
diff --git a/autoconf2_13-pinard.patch b/autoconf2_13-pinard.patch
new file mode 100644 (file)
index 0000000..766899d
--- /dev/null
@@ -0,0 +1,243 @@
+--------------------------------------------------------------------
+> François Pinard mailto:pinard@iro.umontreal.ca
+> I have a collection of DOS-abling patches for Autoconf which came from
+> Eli, I think, and which you may fetch from:
+>
+>   http://www.iro.umontreal.ca/contrib/paxutils/dist/PATCHES-AC
+>
+> if I'm not mistaken.  There are a few other mods not related to DOS ports.
+--------------------------------------------------------------------
+> On Sun, 22 Nov 1998, Tim Rice(tim@trr.metro.net  wrote:
+> Here is a patch for Autoconf version 2.12 to address a couple of
+> issues on SVR4.2 machines.
+>
+> It was failing the test for opendir() because opendir() is in libc
+> not in libdir. The patch now checks libc first then libdir.
+>
+> It was failing on gethostbyname(). I added a third test for gethostbynane()
+> in libsocket.
+>
+--------------------------------------------------------------------
+1999-01-27
+       * acgeneral.m4: added support for DJGPP
+       - "test -f" should be replaced by "test -x" where the script
+       looks for an executable binary which will be called gcc.exe
+       etc. on DOS/Windows.  A simple test for $COMSPEC being not
+       defined is suggested as a means to determine which option is
+       required.  (You cannot use "test -x" on all systems because some
+       variants of Unix shell don't support -x.)
+
+       - File patterns used to distinguish between absolute and relative
+       file names need to be changed as follows:
+
+               /*)    -->  /*|[A-z]:/*)
+               [/$]*  -->  [/$]*/[A-z]:/*)
+
+       This is because absolute file names on DOS/Windows may include a
+       drive letter and a colon before the leading slash.  Note that the
+       lower-case `z' in [A-z] is intentional, since some network
+       clients allow filesystems to be identified by the six letters
+       between the uppercase `Z' and lowercase `a', and because the
+       drive letter can come in either letter-case.
+
+       - The line which computes ac_file_inputs by replacing the colon in
+       foo:foo.in needs its two Sed commands to be swapped, because
+       once you put in the $ac_given_srcdir part, the colon after the
+       drive letter in it will be replaced instead of the original
+       colon.
+       From Eli Zarestskii.
+
+       * acspecific.m4: check opendir in libc before -ldir
+       gethosbyname/connect check in -lsocket also
+       From Tim Rice.
+
+diff -ur ../autoconf-2.13.orig/acgeneral.m4 ./acgeneral.m4
+--- ../autoconf-2.13.orig/acgeneral.m4 Tue Jan  5 08:27:37 1999
++++ ./acgeneral.m4     Tue Feb  9 22:27:34 1999
+@@ -636,6 +636,9 @@
+   esac
+ done
++# Support of DJGPP port of bash.
++if test -n "$COMSPEC$ComSpec"; then ac_x=-x; else ac_x=-f; fi
++
+ # NLS nuisances.
+ # Only set these to C if already set.  These must not be set unconditionally
+ # because not all systems understand e.g. LANG=C (notably SCO).
+@@ -1213,7 +1216,7 @@
+ dnl AC_MSG_WARN(PROBLEM-DESCRIPTION)
+ define(AC_MSG_WARN,
+-[echo "configure: warning: $1" 1>&2])
++[echo "configure: WARNING: $1" 1>&2])
+ dnl AC_MSG_ERROR(ERROR-DESCRIPTION)
+ define(AC_MSG_ERROR,
+@@ -1304,7 +1307,7 @@
+ dnl AC_OBSOLETE(THIS-MACRO-NAME [, SUGGESTION])
+ define(AC_OBSOLETE,
+-[errprint(__file__:__line__: warning: [$1] is obsolete[$2]
++[errprint(__file__:__line__: WARNING: [$1] is obsolete[$2]
+ )])
+@@ -1330,7 +1333,7 @@
+   ac_dummy="ifelse([$5], , $PATH, [$5])"
+   for ac_dir in $ac_dummy; do
+     test -z "$ac_dir" && ac_dir=.
+-    if test -f $ac_dir/$ac_word; then
++    if test $ac_x $ac_dir/$ac_word; then
+ ifelse([$6], , , dnl
+ [      if test "[$ac_dir/$ac_word]" = "$6"; then
+         ac_prog_rejected=yes
+@@ -1384,7 +1387,9 @@
+ AC_MSG_CHECKING([for $ac_word])
+ AC_CACHE_VAL(ac_cv_path_$1,
+ [case "[$]$1" in
+-  /*)
++changequote(, )dnl
++  /*|[A-z]:/*)
++changequote([, ])dnl
+   ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
+   ;;
+   ?:/*)                        
+@@ -1398,7 +1403,7 @@
+   ac_dummy="ifelse([$4], , $PATH, [$4])"
+   for ac_dir in $ac_dummy; do 
+     test -z "$ac_dir" && ac_dir=.
+-    if test -f $ac_dir/$ac_word; then
++    if test $ac_x $ac_dir/$ac_word; then
+       ac_cv_path_$1="$ac_dir/$ac_word"
+       break
+     fi
+@@ -1802,7 +1807,7 @@
+ AC_DEFUN(AC_TRY_RUN,
+ [if test "$cross_compiling" = yes; then
+   ifelse([$4], ,
+-    [errprint(__file__:__line__: warning: [AC_TRY_RUN] called without default to allow cross compiling
++    [errprint(__file__:__line__: WARNING: [AC_TRY_RUN] called without default to allow cross compiling
+ )dnl
+   AC_MSG_ERROR(can not run test program while cross compiling)],
+   [$4])
+@@ -2267,7 +2272,10 @@
+   .)  srcdir=.
+       if test -z "$ac_dots"; then top_srcdir=.
+       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
+-  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
++changequote(, )dnl
++  /*|[A-z]:/*)
++changequote([, ])dnl
++    srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
+   *) # Relative path.
+     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
+     top_srcdir="$ac_dots$ac_given_srcdir" ;;
+@@ -2276,7 +2284,7 @@
+ ifdef([AC_PROVIDE_AC_PROG_INSTALL],
+ [  case "$ac_given_INSTALL" in
+ changequote(, )dnl
+-  [/$]*) INSTALL="$ac_given_INSTALL" ;;
++  [/$]*|[A-z]:/*) INSTALL="$ac_given_INSTALL" ;;
+ changequote([, ])dnl
+   *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
+   esac
+@@ -2291,7 +2299,7 @@
+   *) ac_comsub= ;;
+   esac
+-  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
++  ac_file_inputs=`echo $ac_file_in|sed -e "s%:% $ac_given_srcdir/%g" -e "s%^%$ac_given_srcdir/%"`
+   sed -e "$ac_comsub
+ s%@configure_input@%$configure_input%g
+ s%@srcdir@%$srcdir%g
+@@ -2359,7 +2367,7 @@
+   echo creating $ac_file
+   rm -f conftest.frag conftest.in conftest.out
+-  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
++  ac_file_inputs=`echo $ac_file_in|sed -e "s%:% $ac_given_srcdir/%g" -e "s%^%$ac_given_srcdir/%"`
+   cat $ac_file_inputs > conftest.in
+ EOF
+@@ -2483,7 +2491,7 @@
+   case "$srcdir" in
+ changequote(, )dnl
+-  [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
++  [/$]*|[A-z]:/*) ac_rel_source="$srcdir/$ac_source" ;;
+ changequote([, ])dnl
+   *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
+   esac
+@@ -2558,7 +2566,9 @@
+     case "$srcdir" in
+     .) # No --srcdir option.  We are building in place.
+       ac_sub_srcdir=$srcdir ;;
+-    /*) # Absolute path.
++changequote(, )dnl
++    /*|[A-z]:/*) # Absolute path.
++changequote([, ])dnl
+       ac_sub_srcdir=$srcdir/$ac_config_dir ;;
+     *) # Relative path.
+       ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
+@@ -2579,14 +2589,16 @@
+       # Make the cache file name correct relative to the subdirectory.
+       case "$cache_file" in
+-      /*) ac_sub_cache_file=$cache_file ;;
++changequote(, )dnl
++      /*|[A-z]:/*) ac_sub_cache_file=$cache_file ;;
++changequote([, ])dnl
+       *) # Relative path.
+         ac_sub_cache_file="$ac_dots$cache_file" ;;
+       esac
+ ifdef([AC_PROVIDE_AC_PROG_INSTALL],
+       [  case "$ac_given_INSTALL" in
+ changequote(, )dnl
+-        [/$]*) INSTALL="$ac_given_INSTALL" ;;
++        [/$]*|[A-z]:/*) INSTALL="$ac_given_INSTALL" ;;
+ changequote([, ])dnl
+         *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
+         esac
+diff -ur ../autoconf-2.13.orig/acspecific.m4 ./acspecific.m4
+--- ../autoconf-2.13.orig/acspecific.m4        Tue Jan  5 08:27:52 1999
++++ ./acspecific.m4    Thu Jan 28 23:01:41 1999
+@@ -615,7 +615,7 @@
+       # Don't use installbsd from OSF since it installs stuff as root
+       # by default.
+       for ac_prog in ginstall scoinst install; do
+-        if test -f $ac_dir/$ac_prog; then
++        if test $ac_x $ac_dir/$ac_prog; then
+         if test $ac_prog = install &&
+             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
+           # AIX install.  It has an incompatible calling convention.
+@@ -765,7 +765,10 @@
+   [ac_header_dirent=$ac_hdr; break])
+ # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
+ if test $ac_header_dirent = dirent.h; then
+-AC_CHECK_LIB(dir, opendir, LIBS="$LIBS -ldir")
++AC_CHECK_FUNC(opendir)
++if test $ac_cv_func_opendir = no; then
++ AC_CHECK_LIB(dir, opendir, LIBS="$LIBS -ldir")
++fi
+ else
+ AC_CHECK_LIB(x, opendir, LIBS="$LIBS -lx")
+ fi
+@@ -2564,6 +2567,9 @@
+     AC_CHECK_FUNC(gethostbyname)
+     if test $ac_cv_func_gethostbyname = no; then
+       AC_CHECK_LIB(nsl, gethostbyname, X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl")
++      if test $ac_cv_func_gethostbyname = no; then
++        AC_CHECK_LIB(socket, gethostbyname, X_EXTRA_LIBS="$X_EXTRA_LIBS -lsocket -lnsl", , -lnsl)
++      fi
+     fi
+     # lieder@skyler.mavd.honeywell.com says without -lsocket,
+@@ -2575,7 +2581,7 @@
+     # We assume that if connect needs -lnsl, so does gethostbyname.
+     AC_CHECK_FUNC(connect)
+     if test $ac_cv_func_connect = no; then
+-      AC_CHECK_LIB(socket, connect, X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS", ,
++      AC_CHECK_LIB(socket, connect, X_EXTRA_LIBS="-lsocket -lnsl $X_EXTRA_LIBS", ,
+       $X_EXTRA_LIBS)
+     fi
diff --git a/autoconf2_13-tmprace.patch b/autoconf2_13-tmprace.patch
new file mode 100644 (file)
index 0000000..0d1a9dc
--- /dev/null
@@ -0,0 +1,49 @@
+--- autoconf-2.12/autoconf.sh.race     Thu Aug 27 19:01:23 1998
++++ autoconf-2.12/autoconf.sh  Thu Aug 27 19:05:04 1998
+@@ -45,7 +45,7 @@
+ esac
+ : ${TMPDIR=/tmp}
+-tmpout=${TMPDIR}/acout.$$
++tmpout=`/bin/mktemp ${TMPDIR}/acout.XXXXXX`
+ localdir=
+ show_version=no
+@@ -97,10 +97,10 @@
+ trap 'rm -f $tmpin $tmpout; exit 1' 1 2 15
+-tmpin=${TMPDIR}/acin.$$ # Always set this, to avoid bogus errors from some rm's.
++tmpin=`/bin/mktemp ${TMPDIR}/acin.XXXXXX`
++# Always set this, to avoid bogus errors from some rm's.
+ if test z$infile = z-; then
+   infile=$tmpin
+-  cat > $infile
+ elif test ! -r "$infile"; then
+   echo "autoconf: ${infile}: No such file or directory" >&2
+   exit 1
+--- autoconf-2.12/autoheader.sh.race   Thu Aug 27 19:05:19 1998
++++ autoconf-2.12/autoheader.sh        Thu Aug 27 19:08:18 1998
+@@ -194,9 +194,9 @@
+   # 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=`/bin/mktemp ${TMPDIR-/tmp}/autoh$$.XXXXXX`
+    trap "rm -f $fgrep_tmp; exit 1" 1 2 15
+-   cat > $fgrep_tmp <<EOF
++   cat >> $fgrep_tmp <<EOF
+ $syms
+ EOF
+    fgrep -f $fgrep_tmp
+--- autoconf-2.12/autoupdate.sh.race   Thu Aug 27 19:09:12 1998
++++ autoconf-2.12/autoupdate.sh        Thu Aug 27 19:10:05 1998
+@@ -26,7 +26,7 @@
+ Usage: autoupdate [-h] [--help] [-m dir] [--macrodir=dir] 
+        [--version] [template-file]" 
+-sedtmp=/tmp/acups.$$
++sedtmp=`/bin/mktemp /tmp/acups.XXXXXX`
+ # For debugging.
+ #sedtmp=/tmp/acups
+ show_version=no
This page took 0.132256 seconds and 4 git commands to generate.