autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: Man pages for config.*


From: Akim Demaille
Subject: FYI: Man pages for config.*
Date: 06 Dec 2000 17:08:29 +0100
User-agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)

Index: ChangeLog
from  Akim Demaille  <address@hidden>
        * config.guess, config.sub: Update.
        * man/config.guess.x: New file.
        * man/config.sub.x: New file.
        * man/Makefile.am: Adjust.

Index: config.guess
===================================================================
RCS file: /cvs/autoconf/config.guess,v
retrieving revision 1.164
diff -u -u -r1.164 config.guess
--- config.guess 2000/12/01 16:34:49 1.164
+++ config.guess 2000/12/06 15:56:17
@@ -3,7 +3,7 @@
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000
 #   Free Software Foundation, Inc.
 
-timestamp='2000-11-23'
+timestamp='2000-12-06'
 
 # This file is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License as published by
@@ -48,6 +48,7 @@
 Operation modes:
   -h, --help         print this help, then exit
   -t, --time-stamp   print date of last modification, then exit
+  -v, --version      print version number, then exit
 
 Report bugs and patches to <address@hidden>.
 
@@ -61,8 +62,10 @@
 # Parse command line
 while test $# -gt 0 ; do
   case $1 in
-    --time-stamp | --time* | -t)
+    --time-stamp | --time* | -t )
        echo "$timestamp" ; exit 0 ;;
+    --version | -v )
+       echo "GNU config.guess (last modified $timestamp)" ; exit 0 ;;
     --help | --h* | -h )
        echo "$usage"; exit 0 ;;
     -- )     # Stop option processing
@@ -141,16 +144,24 @@
            ibmrt|romp-ibm) machine=romp-ibm ;;
            *) machine=${UNAME_MACHINE}-unknown ;;
        esac
-       # The Operating System including object format.
-       if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
-               | grep __ELF__ >/dev/null
-       then
-           # Once all utilities can be ECOFF (netbsdecoff) or a.out 
(netbsdaout).
-           # Return netbsd for either.  FIX?
-           os=netbsd
-       else
-           os=netbsdelf
-       fi
+       # The Operating System including object format, if it has switched
+       # to ELF recently, or will in the future.
+       case "${UNAME_MACHINE}" in
+           
i386|sparc|amiga|arm*|hp300|mvme68k|vax|atari|luna68k|mac68k|news68k|next68k|pc532|sun3*|x68k)
+               if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
+                       | grep __ELF__ >/dev/null
+               then
+                   # Once all utilities can be ECOFF (netbsdecoff) or a.out 
(netbsdaout).
+                   # Return netbsd for either.  FIX?
+                   os=netbsd
+               else
+                   os=netbsdelf
+               fi
+               ;;
+           *)
+               os=netbsd
+               ;;
+       esac
        # The OS release
        release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
        # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
Index: config.sub
===================================================================
RCS file: /cvs/autoconf/config.sub,v
retrieving revision 1.175
diff -u -u -r1.175 config.sub
--- config.sub 2000/12/01 16:34:49 1.175
+++ config.sub 2000/12/06 15:56:17
@@ -3,7 +3,7 @@
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000
 #   Free Software Foundation, Inc.
 
-timestamp='2000-11-26'
+timestamp='2000-12-06'
 
 # This file is (in principle) common to ALL GNU software.
 # The presence of a machine in this file suggests that SOME GNU software
@@ -62,6 +62,7 @@
 Operation modes:
   -h, --help         print this help, then exit
   -t, --time-stamp   print date of last modification, then exit
+  -v, --version      print version number, then exit
 
 Report bugs and patches to <address@hidden>.
 
@@ -76,6 +77,8 @@
   case $1 in
     --time-stamp | --time* | -t )
        echo "$timestamp" ; exit 0 ;;
+    --version | -v )
+       echo "GNU config.sub (last modified $timestamp)" ; exit 0 ;;
     --help | --h* | -h )
        echo "$usage"; exit 0 ;;
     -- )     # Stop option processing
Index: man/Makefile.am
===================================================================
RCS file: /cvs/autoconf/man/Makefile.am,v
retrieving revision 1.1
diff -u -u -r1.1 Makefile.am
--- man/Makefile.am 2000/01/26 12:32:14 1.1
+++ man/Makefile.am 2000/12/06 15:56:18
@@ -1,21 +1,25 @@
 ## Process this file with automake to produce Makefile.in -*-Makefile-*-
 man_MANS = autoconf.1 autoreconf.1 autoheader.1 autoupdate.1 ifnames.1 \
-autoscan.1
+autoscan.1 config.guess.1 config.sub.1
 
 man_aux = autoconf.x autoreconf.x autoheader.x autoupdate.x ifnames.x \
-autoscan.x
+autoscan.x config.guess.x config.sub.x
 
 EXTRA_DIST = $(man_MANS) $(man_aux) common.x
 MAINTAINERCLEANFILES = $(man_MANS)
 
 # Depend on configure.in to get version number changes.
-$(man_MANS): $(top_srcdir)/configure.in $(srcdir)/common.x
-autoconf.1:   $(srcdir)/autoconf.x   $(top_srcdir)/autoconf.sh
-autoreconf.1: $(srcdir)/autoreconf.x $(top_srcdir)/autoreconf.sh
-autoheader.1: $(srcdir)/autoheader.x $(top_srcdir)/autoheader.sh
-autoupdate.1: $(srcdir)/autoupdate.x $(top_srcdir)/autoupdate.sh
-ifnames.1:    $(srcdir)/ifnames.x    $(top_srcdir)/ifnames.sh
-autoscan.1:   $(srcdir)/autoscan.x   $(top_srcdir)/autoscan.pl
+common_dep = $(top_srcdir)/configure.in $(srcdir)/common.x
+autoconf.1:   $(common_dep) $(srcdir)/autoconf.x   $(top_srcdir)/autoconf.sh
+autoreconf.1: $(common_dep) $(srcdir)/autoreconf.x $(top_srcdir)/autoreconf.sh
+autoheader.1: $(common_dep) $(srcdir)/autoheader.x $(top_srcdir)/autoheader.sh
+autoupdate.1: $(common_dep) $(srcdir)/autoupdate.x $(top_srcdir)/autoupdate.sh
+ifnames.1:    $(common_dep) $(srcdir)/ifnames.x    $(top_srcdir)/ifnames.sh
+autoscan.1:   $(common_dep) $(srcdir)/autoscan.x   $(top_srcdir)/autoscan.pl
+
+# Independent from this package.
+config.guess.1: $(srcdir)/config.guess.x  $(top_srcdir)/config.guess
+config.sub.1:   $(srcdir)/config.sub.x    $(top_srcdir)/config.sub
 
 SUFFIXES = .x .1
 
Index: man/common.x
===================================================================
RCS file: /cvs/autoconf/man/common.x,v
retrieving revision 1.1
diff -u -u -r1.1 common.x
--- man/common.x 2000/01/26 12:32:14 1.1
+++ man/common.x 2000/12/06 15:56:18
@@ -1,7 +1,11 @@
 [see also]
 .BR autoconf (1),
+.BR automake (1),
 .BR autoreconf (1),
 .BR autoupdate (1),
 .BR autoheader (1),
 .BR autoscan (1),
-.BR ifnames (1).
+.BR config.guess (1),
+.BR config.sub (1),
+.BR ifnames (1),
+.BR libtool (1).
Index: man/config.guess.x
===================================================================
RCS file: config.guess.x
diff -N config.guess.x
--- /dev/null   Tue Aug 29 07:25:14 2000
+++ man/config.guess.x Wed Dec 6 07:56:18 2000
@@ -0,0 +1,25 @@
+[name]
+config.guess \- guess the build system triplet
+
+[Environment variables]
+config.guess might need to compile and run C code, hence it needs a
+compiler for the `build' machine: use the environment variable
+`CC_FOR_BUILD' to specify the compiler for the build machine.  If
+`CC_FOR_BUILD' is not specified, `CC' will be used.  Be sure to
+specify `CC_FOR_BUILD' is `CC' is a cross-compiler to the `host'
+machine.
+
+  CC_FOR_BUILD    a native C compiler, defaults to `cc'
+  CC              a native C compiler, the previous variable is preferred
+
+[description]
+The GNU build system distinguishes three types of machines, the
+`build' machine on which the compilers are run, the `host' machine
+on which the package being built will run, and, exclusively when you
+build a compiler, assembler etc., the `target' machine, for which the
+compiler being built will produce code.
+
+This script will guess the type of the `build' machine.
+
+[reporting bugs]
+Report bugs and patches to <address@hidden>.
Index: man/config.sub.x
===================================================================
RCS file: config.sub.x
diff -N config.sub.x
--- /dev/null   Tue Aug 29 07:25:14 2000
+++ man/config.sub.x Wed Dec 6 07:56:18 2000
@@ -0,0 +1,3 @@
+[name]
+config.sub \- validate and canonicalize a configuration triplet
+
Index: man/ifnames.1
===================================================================
RCS file: /cvs/autoconf/man/ifnames.1,v
retrieving revision 1.12
diff -u -u -r1.12 ifnames.1
--- man/ifnames.1 2000/11/08 17:46:25 1.12
+++ man/ifnames.1 2000/12/06 15:56:18
@@ -1,5 +1,5 @@
 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.23.
-.TH IFNAMES "1" "November 2000" "GNU autoconf 2.49b" FSF
+.TH IFNAMES "1" "December 2000" "GNU autoconf 2.49b" FSF
 .SH NAME
 ifnames \- Extract CPP conditionals from a set of files
 .SH SYNOPSIS
@@ -27,10 +27,13 @@
 Report bugs to <address@hidden>.
 .SH "SEE ALSO"
 .BR autoconf (1),
+.BR automake (1),
 .BR autoreconf (1),
 .BR autoupdate (1),
 .BR autoheader (1),
 .BR autoscan (1),
+.BR config.guess (1),
+.BR config.sub (1),
 .BR ifnames (1).
 .PP
 The full documentation for



reply via email to

[Prev in Thread] Current Thread [Next in Thread]