diff --git a/CVSROOT/modules b/CVSROOT/modules
deleted file mode 100644
index 042a0971b19..00000000000
--- a/CVSROOT/modules
+++ /dev/null
@@ -1,293 +0,0 @@
-# Three different line formats are valid:
-# key -a aliases...
-# key [options] directory
-# key [options] directory files...
-#
-# Where "options" are composed of:
-# -i prog Run "prog" on "cvs commit" from top-level of module.
-# -o prog Run "prog" on "cvs checkout" of module.
-# -e prog Run "prog" on "cvs export" of module.
-# -t prog Run "prog" on "cvs rtag" of module.
-# -u prog Run "prog" on "cvs update" of module.
-# -d dir Place module in directory "dir" instead of module name.
-# -l Top-level directory only -- do not recurse.
-#
-# NOTE: If you change any of the "Run" options above, you'll have to
-# release and re-checkout any working directories of these modules.
-#
-# And "directory" is a path to a directory relative to $CVSROOT.
-#
-# The "-a" option specifies an alias. An alias is interpreted as if
-# everything on the right of the "-a" had been typed on the command line.
-#
-# You can encode a module within a module by using the special '&'
-# character to interpose another module into the current module. This
-# can be useful for creating a module that consists of many directories
-# spread out over the entire source repository.
-
-MozillaSource -a \
- MozillaSourceWin \
- MozillaSourceMac \
- MozillaSourceUnix \
-
-MozillaSourceWin -a MozillaSourceCommon MozillaSourceWinOnly
-
-MozillaSourceMac -a MozillaSourceCommon MozillaSourceMacOnly
-
-MozillaSourceUnix -a MozillaSourceCommon MozillaSourceUnixOnly
-
-MozillaSourceCommon -a \
- mozilla/LEGAL \
- mozilla/LICENSE \
- mozilla/CHANGES.html \
- mozilla/build \
- mozilla/include \
- mozilla/jpeg \
- mozilla/js \
- mozilla/lib/htmldlgs \
- mozilla/lib/layout \
- mozilla/lib/libcnv \
- mozilla/lib/libi18n \
- mozilla/lib/liblayer \
- mozilla/lib/libmisc \
- mozilla/lib/libmime \
- mozilla/lib/libmocha \
- mozilla/lib/libnet \
- mozilla/lib/libparse \
- mozilla/lib/libpics \
- mozilla/lib/libpwcac \
- mozilla/lib/libstyle \
- mozilla/lib/plugin \
- mozilla/lib/xlate \
- mozilla/lib/xp \
- mozilla/modules/edtplug/classes \
- mozilla/modules/edtplug/src \
- mozilla/modules/edtplug/include \
- mozilla/modules/libfont/classes \
- mozilla/modules/libfont/public \
- mozilla/modules/libfont/src \
- mozilla/modules/libhook \
- mozilla/modules/libimg \
- mozilla/modules/libpref \
- mozilla/modules/libreg \
- mozilla/modules/libutil \
- mozilla/modules/progress/src \
- mozilla/modules/rdf \
- mozilla/modules/schedulr \
- mozilla/modules/security/freenav \
- mozilla/modules/softupdt/classes \
- mozilla/modules/softupdt/include \
- mozilla/modules/softupdt/src \
- mozilla/modules/xml \
- mozilla/modules/zlib/src \
- mozilla/nav-java/stubs \
- mozilla/nsprpub \
- mozilla/xpcom \
- mozilla/l10n \
- mozilla/nsprpub \
- mozilla/dbm \
- mozilla/modules/schedulr \
- README
-
-MozillaSourceWinOnly -a \
- mozilla/client.mak \
- mozilla/cmd/makefile.win \
- mozilla/cmd/dialup \
- mozilla/cmd/wincom \
- mozilla/cmd/winfe \
- mozilla/config \
- mozilla/lib/makefile.win \
- mozilla/modules/coreincl \
- mozilla/modules/edtplug/makefile.win \
- mozilla/makefile.win \
- mozilla/modules/libfont/jmcgen \
- mozilla/modules/libfont/makefile.win \
- mozilla/modules/libfont/producers/makefile.win \
- mozilla/modules/libfont/producers/win \
- mozilla/modules/libfont/producers/win/classes \
- mozilla/modules/libfont/producers/win/classes/netscape \
- mozilla/modules/libfont/producers/win/classes/netscape/fonts \
- mozilla/modules/libfont/producers/win/src \
- mozilla/modules/makefile.win \
- mozilla/modules/progress/makefile.win \
- mozilla/modules/progress/public \
- mozilla/modules/security/makefile.win \
- mozilla/modules/softupdt/makefile.win \
- mozilla/modules/zlib/makefile.win \
- mozilla/nav-java/makefile.win \
- JavaStubWin
-
-
-MozillaSourceUnixOnly -a \
- mozilla/cmd/Makefile \
- mozilla/cmd/stubfe \
- mozilla/cmd/xfe \
- mozilla/config/.cvsignore \
- mozilla/config/AIX.mk \
- mozilla/config/BSD_OS.mk \
- mozilla/config/bsdecho.c \
- mozilla/config/bsdecho.c \
- mozilla/config/clobber_miss.pl \
- mozilla/config/clobber_miss.pl \
- mozilla/config/common.mk \
- mozilla/config/common.mk \
- mozilla/config/config.guess \
- mozilla/config/config.mk \
- mozilla/config/coreconf.mk \
- mozilla/config/coreconf.mk \
- mozilla/config/cvsco.pl \
- mozilla/config/cvsco.pl \
- mozilla/config/fastcwd.pl \
- mozilla/config/fastcwd.pl \
- mozilla/config/FreeBSD.mk \
- mozilla/config/gtscc.c \
- mozilla/config/HP-UX.mk \
- mozilla/config/IRIX.mk \
- mozilla/config/Linux.mk \
- mozilla/config/makecopy.c \
- mozilla/config/makecopy.c \
- mozilla/config/Makefile \
- mozilla/config/Makefile \
- mozilla/config/mangle.c \
- mozilla/config/mangle.c \
- mozilla/config/mantomak.c \
- mozilla/config/mantomak.c \
- mozilla/config/mkdepend \
- mozilla/config/NCR.mk \
- mozilla/config/NEC.mk \
- mozilla/config/NEWS-OS.mk \
- mozilla/config/NEXTSTEP.mk \
- mozilla/config/nfspwd.pl \
- mozilla/config/nfspwd.pl \
- mozilla/config/nodl.pl \
- mozilla/config/nodl.pl \
- mozilla/config/nsinstall.c \
- mozilla/config/nsinstall.c \
- mozilla/config/OSF1.mk \
- mozilla/config/outofdate.pl \
- mozilla/config/outofdate.pl \
- mozilla/config/pathsub.c \
- mozilla/config/pathsub.c \
- mozilla/config/pathsub.h \
- mozilla/config/pathsub.h \
- mozilla/config/pkg2dpth.pl \
- mozilla/config/pkg2dpth.pl \
- mozilla/config/ports \
- mozilla/config/revdepth.pl \
- mozilla/config/revdepth.pl \
- mozilla/config/Rhapsody.mk \
- mozilla/config/rules.mk \
- mozilla/config/SCOOS.mk \
- mozilla/config/SINIX.mk \
- mozilla/config/sj.pl \
- mozilla/config/sj.pl \
- mozilla/config/SunOS.mk \
- mozilla/config/SunOS4.mk \
- mozilla/config/SunOS5.mk \
- mozilla/config/UNIXWARE.mk \
- mozilla/config/xmversion.sh \
- mozilla/lib/Makefile \
- mozilla/Makefile \
- mozilla/modules/edtplug/Makefile \
- mozilla/modules/libfont/jmcgen \
- mozilla/modules/libfont/Makefile \
- mozilla/modules/libfont/producers/Makefile \
- mozilla/modules/Makefile \
- mozilla/modules/progress/Makefile \
- mozilla/modules/progress/public \
- mozilla/modules/security/Makefile \
- mozilla/modules/softupdt/Makefile \
- mozilla/modules/zlib/Makefile \
- mozilla/nav-java/Makefile \
- mozilla/lib/mariner \
- JavaStubUnix
-
-
-MozillaSourceMacOnly -a \
- mozilla/cmd/dialup \
- mozilla/cmd/macfe \
- mozilla/lib/mac/AutoAdmin \
- mozilla/lib/mac/Includes \
- mozilla/lib/mac/MacMemoryAllocator \
- mozilla/lib/mac/Misc \
- mozilla/lib/mac/MoreFiles \
- mozilla/lib/mac/NSRuntime \
- mozilla/lib/mac/NSStdLib \
- mozilla/lib/mac/patches \
- mozilla/lib/mac/PowerPlant \
- mozilla/lib/mac/UserInterface \
- mozilla/modules/coreincl \
- mozilla/modules/edtplug/macbuild \
- mozilla/modules/libfont/jmcgen/include \
- mozilla/modules/libfont/jmcgen/src \
- mozilla/modules/libfont/macbuild \
- mozilla/modules/progress/macbuild \
- mozilla/modules/progress/public \
- mozilla/modules/softupdt/macbuild \
- mozilla/modules/zlib/macbuild \
- mozilla/lib/mariner \
- JavaStubMac
-
-JavaStubAll -a \
- JavaStubWin \
- JavaStubMac \
- JavaStubUnix
-
-JavaStubCore -a \
- mozilla/sun-java/stubs/include \
- mozilla/sun-java/stubs/src
-
-JavaStubMac -a \
- JavaStubCore \
- mozilla/sun-java/stubs/macbuild \
- mozilla/sun-java/stubs/macjri
-
-JavaStubUnix -a \
- JavaStubCore \
- mozilla/sun-java/Makefile \
- mozilla/sun-java/stubs/jri \
- mozilla/sun-java/stubs/Makefile
-
-JavaStubWin -a \
- JavaStubCore \
- mozilla/sun-java/makefile.win \
- mozilla/sun-java/stubs/jri \
- mozilla/sun-java/stubs/makefile.win
-
-######################################################################
-
-#
-# Modules for the raptor layout effort. Note that raptor dist is temporary
-# until raptor is integrated into the mainline build.
-#
-
-RaptorDist -a \
- mozilla/nsprpub \
- mozilla/include \
- mozilla/jpeg \
- mozilla/modules/libreg \
- mozilla/xpcom \
- mozilla/modules/zlib \
- mozilla/modules/libutil \
- mozilla/sun-java \
- mozilla/nav-java \
- mozilla/js \
- mozilla/modules/security/freenav \
- mozilla/modules/libpref \
- mozilla/modules/libimg \
- mozilla/lib/xp \
- mozilla/lib/libnet \
- mozilla/base
-
-Raptor -a \
- mozilla/htmlparser \
- mozilla/dom \
- mozilla/gfx \
- mozilla/view \
- mozilla/widget \
- mozilla/layout \
- mozilla/webshell
-
-RaptorAll -a \
- RaptorDist \
- Raptor
diff --git a/README/mozilla/IDEMenuBar.gif b/README/mozilla/IDEMenuBar.gif
deleted file mode 100644
index d5444da8c5f..00000000000
Binary files a/README/mozilla/IDEMenuBar.gif and /dev/null differ
diff --git a/README/mozilla/IDEPrefs.gif b/README/mozilla/IDEPrefs.gif
deleted file mode 100644
index 2a0bbb0fd83..00000000000
Binary files a/README/mozilla/IDEPrefs.gif and /dev/null differ
diff --git a/README/mozilla/macbuild.htm b/README/mozilla/macbuild.htm
deleted file mode 100644
index 7fbd71f625b..00000000000
--- a/README/mozilla/macbuild.htm
+++ /dev/null
@@ -1,875 +0,0 @@
-
-
-
-
- MacFE Build Instructions
-
-
-
-
-
-MacFE Build Instructions
-This is a general document on how to build, what works, what doesn't, and
-things to watch out for when working on the Mac client. Please read
-the entire document before you start tinkering...heck, you may just
-learn something!
-
-Abbreviations you will probably see in this document:
-
--
-MacFE - the Macintosh front end, including all the things you see
-and some you don't.
-
--
-XP - cross platform back end code, mostly written in C. You will
-see this used like, "This is an XP problem" which means it's broken everywhere.
-
--
-MW - Metrowerks Corporation. They make our build tools (CodeWarrior)
-and PowerPlant
-
--
-PP - PowerPlant, the GUI framework on which our app is built
-
--
-CWProX - CodeWarrior Pro version X. You'll probably see CWPro1,
-CWPro2, and CWPro3. We may also just refer to this as CW.
-
--
-IDE - Integrated Development Environment. CodeWarrior is an IDE.
-
-
-
-
-
-
-
-
-
-
-
-
Building
-
-
-What are the minimum machine requirements?
-To build Navigator, you need a fast PPC Mac. The faster the better. You
-can't build with a 68K machine because we have too many resources, and
-the build process will crash when trying to generate resources out of our
-cross-platform strings. See the discussion below for a way around this.
-
-You will need about 96 MB of physical RAM to "fast link" the app. You
-can still fast link if you give your machine 96 MB of virtual memory, but
-then the VM hit is large enough to counteract any improvement. One of our
-beta testers had a machine with only 64MB of physical RAM (VM was off)
-and it ran out of memory trying to link. Turning VM on got it to link,
-but build time increased greatly.
-
-
The moral of the story: get lots of physical RAM and don't use VM.
-
-How big of a partition do I need for the source?
-You should be ok with a 400MB disk partition, even when fully built. This
-does not include tools like the IDE, just source.
-
-Why do I need CWPro2 or better?
-We use CodeWarrior as our development environment at Netscape for the MacFE.
-All of the projects and tools are geared towards the CodeWarrior IDE. In
-addition, we make heavy use of PowerPlant and MSL which you can only get
-from Metrowerks.
-
-While we say you need at least CWPro2, you may be able to get by with
-Pro1, but probably not for very long. We haven't tested it, so we don't
-recommend it. Get the upgrade. CodeWarrior kicks serious butt!
-
-How do I setup my development environment?
-Here's a list of 3rd party software that we compile into the application
-and where to get it:
-
-Here's a list of other build tools that you need to install in order
-to build and where to get them:
-
--
-MacPerl
-5 MPW Tool
-
--
-MakeStub - MPW (installed with CodeWarrior Heaven option). If you choose
-not to install MPW, it is located on the MacOS Tools CD in "CW Pro 2 Tools:CodeWarrior
-MPW:MPW:Tools"
-
--
-RunTSScript - in Mozilla source distribution (ns:build:mac:RunTSScript),
-needs to be installed by hand
-
--
-ToolServer
-- or in the CW distribution (CW Pro 2 Tools:Apple Development Tools:ToolServer
-3.4.1.sit). We recommend pulling it off the CD because it comes
-with configuration files for CodeWarrior which you would have to create
-manually were you to pull it off the net.
-
--
-ToolFrontEnd
-
--
-patch
-2.1
-
-Once you have all the pieces, here are the steps required to put everything
-together:
-
--
-Install CodeWarrior from the CD. While it is large, installing the "CodeWarrior
-Heaven" option will guarantee that you have everything you need. This will
-give you PowerPlant, MSL, and MPW. If you choose to install less, proceed
-at your own risk.
-
--
-In the Finder, increase the memory partition of the IDE to 15MB (you can
-get by with 12, if need be).
-
--
-Download ToolFrontEnd. After expanding it, in "ToolFrontEnd Folder:Drop-Ins"
-there are three items:
-
-
--
-#include
-
--
-ToolFrontEnd
-
--
-ToolFrontEnd Panel
-
-Create a folder named "Include Scanners". Place the file "#include" into
-the Include Scanners folder. Move the Include Scanners folder to the CodeWarrior
-Plugins folder. Create a folder named "ToolFrontEnd". Place the files "ToolFrontEnd"
-and "ToolFrontEnd Panel" into the ToolFrontEnd folder. Place this folder
-in the CodeWarrior Plugins folder.
-
-Open "ToolFrontEnd Panel" with ResEdit. Change the file type from 'Panl'
-to 'PanL'. Save.
-
-
-Uncompress the StuffIt Archive for ToolServer. Place the ToolServer folder
-in the same folder as your CodeWarrior environment (its actual placement
-is not important). Create an alias from the Tools folder that lives in
-the CodeWarrior MPW distribution and place it in the ToolServer folder.
-Now ToolServer and MPW will share the same tool set and you only have to
-maintain one tool repository.
-
--
-After installing the MacPerl distribution (run the InstallerVISE application),
-in the "MacPerl €" folder, there will be an MPW tool named "perl". Install
-this in the same location as the rest of the MPW tools for ToolServer.
-
--
-Install the "patch" and "MakeStub" MPW Tools in the same location. Note
-that "MakeStub" is automatically installed by the "CodeWarrior Heaven"
-install option.
-
--
-Install RunTSScript (found in the Mozilla source distribution) in the compilers
-folder in your build environment
-
--
-Next, after downloading all the 3rd party software components, drag WASTE,
-CWASTE, Menu Sharing, Mercutio, Internet Config, and the AEGizmo folders
-(just as they are) into the "MacOS Support" folder in your build environment.
-
--
-Start ToolServer from within CodeWarrior (or use MPW if you are brave enough).
-We're about to patch some files. Make sure the ToolServer menu is in the
-CodeWarrior menu bar by turning on the preference
-under the "Extras" panel in the IDE Preferences (not the project preferences!).
-The menu bar should look like this:
-
-
-
-
-
Choose "Start ToolServer" from the ToolServer menu (this is the icon
-menu between "Window" and "Help" in the menubar above). You will now see
-a window with no close box. This is your ToolServer Worksheet where you
-will type (or cut & paste) the commands for the following steps.
-
-
In case you have never used MPW/ToolServer before, the following is
-very important. Pressing "return" does not execute commands like
-you might think. It just inserts a newline into the worksheet like a normal
-text editor. To actually get ToolServer to execute the command, you
-must press "Enter" (lower right of numeric keypad). This executes the
-line that the cursor is on, and only that line. If you want to execute
-multiple lines at once, select them all and hit Enter.
-
-
-Set the shell variables {IDE} and {Source} to the correct paths for your
-build environment. {IDE} is where your CodeWarrior IDE is located. {Source}
-is the folder containing the toplevel "ns" folder of the Mozilla source.
-Mine look like this (don't forget to keep the quotes if your path includes
-spaces), yours will almost certainly be different:
-
-Set IDE "Develop:Source331 Build Environment:CW Pro 2:Metrowerks CodeWarrior:"
-Set Source "Source:FreeSource:"
-
--
-If you are using CWPro2, execute the following lines to patch LDropFlag
-to draw correcly over non-white backgrounds. You do not have to do this
-if you are using Pro3 because it has been fixed.
-
-directory "{IDE}MacOS Support:PowerPlant:_In Progress:_Table Classes:"
-patch LDropFlag.cp "{Source}ns:lib:mac:patches:LDropFlag.patch"
-duplicate -y "{Source}ns:lib:mac:patches:DropFlag Icons.rsrc" "{IDE}MacOS Support:PowerPlant:PowerPlant Resources:"
-
--
-Execute the following lines to patch menusharing.c to allow it to compile
-with the new Universal Headers. It references an obsolete header file (GestaltEqu.h).
-
-directory "{IDE}MacOS Support:Menu Sharing Toolkit 4.1:"
-patch menusharing.c "{Source}ns:lib:mac:patches:menusharing.patch"
-
--
-If you are using CWPro2 straight off the CD, you need to patch AppleEvents.r
-to fix a problem with the Universal Headers (the definition of the 'aedt'
-resource was omitted). You do not have to do this if you have applied
-the netborne patch to Pro2 or are using Pro3 because it has been fixed.
-
-directory "{IDE}MacOS Support:Headers:Rez Headers:"
-patch AppleEvents.r "{Source}ns:lib:mac:patches:AppleEvents.r.patch"
-
--
-You need to patch stat.mac.h to fix a problem in MSL where lines were omitted
-(both CWPro2 and Pro3 share this problem)
-
-directory "{IDE}Metrowerks Standard Library:MSL C:MSL Mac:Public Includes"
-patch stat.mac.h "{Source}ns:lib:mac:patches:stat.mac.h.patch"
-
--
-If you are using CWPro3, you have to unstuff and copy the old Grayscale
-Appearance classes into the PowerPlant hierarchy. As of Pro3, they are
-now obsolete and are located with the rest of the obsolete PowerPlant files.
-We'll fix this shortly.
-
-
-
-Ok, so how do I build?
-There is an AppleScript called BuildList located in ns:cmd:macfe:projects.
-This droplet takes, as input, a text file which lists the projects in the
-order which they are to be built. This allows us to build different versions
-of the product just by dropping a different "script" on BuildList (such
-as Debug, Optimized, Navigator stand-alone, or navigator + composer).
-
-These scripts are located in ns:cmd:macfe:projects:client and have names
-like BuildMozPPCDebugList.txt. This script will build a debug version
-of Mozilla (navigator + composer) for PPC. Get it? Good. All you have to
-do is drag this script to the BuildList droplet and watch it crunch away.
-Now go out to dinner. By the time you get back, you should have an executable
-in ns:cmd:macfe:projects:client called, for this particular script, MozillaPPCDebug.
-You will see the following build lists in the client folder, but as of
-3/31, only BuildMozPPCList.txt and BuildMozPPCDebugList.txt are guaranteed
-to work:
-
--
-BuildMozPPCList.txt
-
--
-BuildMozPPCDebugList.txt
-
--
-BuildNavPPCDebugList.txt [ might work ]
-
--
-BuildNavPPCList.txt [ might work ]
-
-If there were any errors in any of the projects along the way, the script
-will stop at that point and the IDE will tell you the errors. You can fix
-them and make sure they current project builds, but to continue the automation,
-you have to start from the beginning by dropping the script onto BuildList.
-This isn't quite as bad as it sounds because the previous projects are
-already built (unless you changed some major header file).
-
-Don't worry too much about the numerous warnings generated during the
-build. We try our best to get the XP teams to use real compilers, but alas,
-they continue to write warning-laden code. There is also some generated
-code (Java is one example) that has a lot of warnings that we can't help
-either. If you write any new code, please help us in our quest to get zero
-warnings.
-
-How long does it take to build?
-On a G3 with the source and IDE on a RAM disk, it takes about 25 minutes.
-On a PowerTowerPro 225 and everything on the hard drive, it takes about
-45mins to an hour. On a 9500/132 it takes over 2 1/2 hours.
-
-The moral of the story: Don't try this on your 6100/66.
-
-What's special about running the debug build?
-Running the optimized (non-debug) version is easy, just double-click it
-and it will work. This is because all the shared libraries are compiled
-directly into the application. We don't do this with the debug version
-to facilitate changing bits in projects other than the main one. This way,
-you don't have to relink the entire app (which can take a while) to see
-the changes, just the project that was modified.
-
-As a result, you have to find a way to get all the shared libraries
-from where they are built (scattered throughout the tree) into the same
-folder as the app so CFM can find them. Luckily, the BuildList script will
-create all these aliases for you and put them in the right places!
-
-
Another nicety about the debug build is that there is a special "trace"
-function which can be used to display messages about the state of the application
-as it runs through certain blocks of code. To see these messages (since
-the Mac doesn't have stdout or stderr) you need to run an application called
-TraceMonitor. << where do we distribute this???!?>>
-
-How do I build a 68K version?
-For now, you can't. The projects have not been kept up to date and aren't
-even in the tree anymore. If you would like to create them and get all
-the exports right with CFM-68K, go right ahead. We will be so happy!
-
-Why use IDE_Options.h when all that is in the project file?
-It was originally intended to make sure that all 300 of us at Netscape
-are using the same environment and compilation flags. If something gets
-turned on/off by accident in the project prefs, it can introduce a subtle
-bug that can take days to track down for naught. Having a file that specifies
-exactly what flags should be used guarantees that this can't happen.
-
-Now that we move to net development, I'm sure you will agree that this
-is even more important.
-
-
-
New 5.0 Features
-We can't present this section until after 3/31/98. Please check back here
-after that.
-
-
-
Unfinished "Features"
-We can't present this section until after 3/31/98. Please check back here
-after that.
-
-
-
Pitfalls
-There are a couple of pitfalls that we have to keep straight when it comes
-to editing resources.
-
-Why do I keep getting messages about unknown custom types in Constructor?
-For starters, make sure you have an alias to the following two files in
-your Constructor folder:
-
--
-ns:cmd:macfe:rsrc:CrossProduct:Mozilla_Custom_CPPbs
-
--
-ns:cmd:macfe:rsrc:Communicator:MailNewsCppbs.cnst
-
-You may have to explicitly open these files up while running Constructor
-to be able to see the new types, especially for the ones in MailNewsCppbs.cnst.
-Not sure why yet.
-
-For editing other kinds of resources, we have a TMPL file for ResEdit/Resourcerer.
-Place these in the appropriate location for your resource editor
-
--
-ns:cmd:macfe:rsrc:CrossProduct:Mozilla_Custom_TMPLs
-
--
-ns:cmd:macfe:rsrc:CrossProduct:Other_Comm_TMPLS.rsrc
-
-
-
-Why don't my toolbar buttons work anymore in the browser window?
-Because of the way we have the toolbars as CIncludeViews (which work in
-a similar way to #include in C/C++), the RidL will be messed up if you
-edit the main browser window PPob. Constructor regenerates this list based
-on all the controls that are in the view when you save, but because we
-use CIncludeView, the toolbar buttons aren't actually in the view so the
-RidL is empty. They will still show up when you build, but they won't do
-anything because they are not registered with the browser window. Until
-we fix this, just use Resourcer to replace the incorrectly generated one
-with an old version. The old version is about 58 bytes long and the new
-one is about 10 so you should be able to easily tell which is which.
-
-Why are there so many damn resources?
-As you may have noticed, we've got too many damn resources. Most of them
-are 'STR ' resources which are generated at build time and contain all
-of our cross-platfrom strings. We would like to generate these resources
-more intelligently (into 1/10 the number of 'STR#' resources maybe) but
-ran out of time before the source had to go out. Before you rush out and
-change it for us, stop! There are some constraints on the final
-solution, mostly to do with i18n and l10n being able to leverage existing
-work on older product to do new products. If you want to help us out with
-this, please send us some email and we can have out i18n team talk with
-you to make sure it gets done correctly!
-
-Why doesn't it work better with Internet Config?
-For starters, the main reason why we never drank the IC kool-aid was that
-there was no support for multiple profiles. Being one of the main features
-which our competition did not have, we thought this was pretty important.
-There are rumblings in the IC world that IC 2.0 will support multiple profiles.
-Great! That still leaves us with the second reason: there are many, many,
-many preferences that we use that are not reflected in IC. As a result,
-we already have to maintain prefs for those that are not covered by IC
-so we can't be totally IC dependent.
-
-Of course, now that the source is free, maybe we can drive the direction
-of IC to include all of our wacky networking prefs.
-
-Where are all my old 4.0X bookmarks and prefs?
-In the process of getting the source ready for distribution, we removed
-all mentions of "Netscape" from the product. As you may know, the 4.0X
-preferences are stored in a folder called "Netscape Users." Well, that
-folder is now called "Navigator Users" and the preference file is now called
-"Navigator Preferences" instead of "Netscape Preferences."
-
-It's probably best not to use any of your old prefs at this point since
-some of them rely on security calls that are no longer in the free source
-product. After you create a new profile (and you will have to when you
-start the free source), copy your bookmarks.html file from your old profile
-into the new user profile folder and replace the empty one that's already
-there (if there is one).
-
-
For your old bookmarks to be seen, you must throw away the "NavCntr"
-folder created in your new profile folder. After you do that bookmarks
-will be imported into Aurora automagically. Note that changes that you
-make to your bookmarks in 5.0 will not (as of today) be written back to
-the Bookmarks.html file, but instead are stored in a database within the
-"NavCntr" folder. If anything gets corrupted in the NavCenter, you can
-always throw this folder into the trash and your original bookmarks will
-be reimported.
-
-
Also note that these new bookmarks and preferences are totally separate
-from your 4.0X prefs.
-
-
-
History and Future
-
-
-History
-Excuse me while I ramble...
-
--
-Built using Metrowerks PowerPlant, the client has been PPC native from
-day one. 68K support was dropped in 5.0 due to the high cost of maintenance.
-Any takers?
-
--
-Mail/News was added in 2.0 and Composer was added in 3.0 (called Navigator
-Gold). Both were dramatically improved with 4.0.
-
--
-Java came to the Mac in 3.0, even though Windoze and unix had it in 2.0.
-
--
-Multi-byte language support for inline edit fields added in 4.0
-
--
-The preferences used to be STR# resources. Now they are done in javascript.
-
--
-Because of the sheer number of resources (and the "theoretical limit" on
-the number of resources in a file imposed by the Resource manager -- which
-we still exceed on a daily basis), a number of strings and icons were moved
-out of the main application and into a file called "Netscape Resources"
-in 4.0
-
--
-For plain-text email/form composition, we used VText up through 4.0. For
-5.0, we switched to WASTE because of its minimal impact on the PowerPlant
-hierarchy. VText caused us fits every time we wanted to upgrade to a newer
-version of PowerPlant because it wrapped its tentacles around every limb
-of PowerPlant.
-
--
-4.0 included a new memory management scheme which drastically reduced the
-amount of memory used by the client. This is why the memory partition of
-4.0 is about half of 3.0.
-
--
-A version of Navigator sans Mail/News/Composer debuted with 4.03, and again
-two days later with 4.03.1.
-
-
-
-Future
-There is certainly a lot to do. In order to not duplicate too much work
-(since we are still working on this full time here at Netscape), I've put
-together a list of what we plan on doing and what we want to do but probably
-won't get around to because of time constraints.
-
-Things that we are going to focus on:
-
--
-More NavCenter work
-
--
-Solve the issues with too many 'STR ' resources (see note on issues
-page)
-
--
-Modularization (HTML display isolated from networking, etc)
-
--
-use new Appearance Manager classes in PowerPlant
-
--
-Navigation Services (new open/save dialogs in Allegro) support. We have
-an ancient SDK and have integrated it in a few places, but the current
-implemenation that we have doesn't work very well. It's cool, though.
-
--
-More drag and drop in composer.
-
--
-More support for Internet Config (see note on issues
-page).
-
--
-external Java VM support (MRJ, etc)
-
-Things we would like some help on:
-
--
-printing support
-
--
-68K version
-
--
-Context Menu Manager support
-
--
-bug fixes of any kind
-
--
-performance tuning of any kind
-
--
-getting around the limitation of 255 hierarchical menus imposed by the
-OS. This would let us do a "real" personal toolbar with folders that have
-popup menus.
-
--
-Fixing the build system so it uses makefiles without having to give up
-the CW IDE for source browsing/editing.
-
--
-better publishing in Composer
-
--
-add NavCenter to Composer window
-
--
-better table editing in Composer
-
-
-
-
-
Mike Pinkerton (pinkerton@netscape.com)
-
-
-
-Copyright © 1998 Netscape
-Communications Corporation
-
-
-
diff --git a/README/mozilla/unixbuild.htm b/README/mozilla/unixbuild.htm
deleted file mode 100644
index 68089d5471c..00000000000
--- a/README/mozilla/unixbuild.htm
+++ /dev/null
@@ -1,82 +0,0 @@
-
-
-Unix Build Instructions
-
-
-
-
-Unix Build Instructions
-This document explains how to build Mozilla for Unix.
-
-
-Requirements:
-
- Memory:
- 32MB of RAM, 128MB of swap, recommended 64MB of RAM.
-
- Tools:
- GNU C/C++ compiler 2.7.2 or better
- GNU make 3.74 or better
- Motif 1.2 (Lesstif has been used with limited success)
-
- Tools that will be helpful later:
- Perl 5.0
- CVS 1.8.1
- RCS
- gdb 4.16
-
- NOTE:
- * gcc version 2.8 has been used successfully.
- Your mileage may vary.
-
-Build:
-
- Untar the tar.gz file with the following (or your favorite variant thereof):
-
- gzip -dc tarball.tar.gz | tar -xvf -
-
- Set the following environment variables:
- csh/tcsh:
- setenv NO_SECURITY 1
- setenv MOZ_MEDIUM 1
- setenv MOZILLA_CLIENT 1
- setenv NO_MDUPDATE 1
-
- sh/bash/ksh:
- NO_SECURITY=1
- MOZ_MEDIUM=1
- MOZILLA_CLIENT=1
- NO_MDUPDATE=1
- export NO_SECURITY MOZ_MEDIUM MOZILLA_CLIENT NO_MDUPDATE
-
- Debug build is default; optimized build:
- setenv BUILD_OPT 1
- (BUILD_OPT=1; export BUILD_OPT)
-
- On AIX, append /usr/lpp/xlC/bin to your PATH.
- On Solaris, SINIX, and UnixWare, prepend /usr/ccs/bin to your PATH.
-
- Build it. Default target is "export libs install":
- cd ns
- gmake -k
-
-NOTE:
-
-If you haven't got perl:
-
-setenv PERL /bin/echo
-
-gmake -ek
-
-Run the app:
- Executable lives in ns/cmd/xfe/{ARCHITECTURE}.{DBG|OPT}.OBJ
- (e.g. ns/cmd/xfe/Linux2.0.31_x86_DBG.OBJ/mozilla-export)
- Statically-linked app is "mozilla-export"
- dynamically-linked app is "moz-export"
-
-
-Copyright © 1998 Netscape
-Communications Corporation
-
-
-
diff --git a/README/mozilla/winbuild.htm b/README/mozilla/winbuild.htm
deleted file mode 100644
index ee00b99331e..00000000000
--- a/README/mozilla/winbuild.htm
+++ /dev/null
@@ -1,220 +0,0 @@
-
-
-
-
-
-
- WinFE Build Instructions
-
-
-
-
-WinFE Build Instructions
-This document explains how to build Mozilla for the Windows platform. WinFE
-is the Windows front end module.
-
Required Tools:
-
--
-Microsoft Visual C++ version 4.2 or later
-
--
-GNU Tools for Windows:You can find these all over the web. Specifically,
-you'll need:
-
-
cp.exe
-
- rm.exe
-
-
-Netscape has internally modified version of gmake, shmsdos and win32gnu
-that we use to get around some problems we were having keeping in sync
-with the Unix version of gmake. This version of gmake and it's source is
-included in the Mozilla source distribution. The specific files pertaining
-to this are:
- gmake.exe
-
- shmsdos.exe
-
- uname.exe
-These are located in the \tools\bin directory of the source package. All
-of these tools need to be put in your path.
-
-Additionally, there are Netscape-developed tools that need to be built
-prior to your first compile. These are covered in the build section.
-
-Setting up:
-
--
-You need a Pentium with at least a 133 MHz processor and at least 250 megs
-(NTFS partition) or 500 megs (FAT partition) of hard drive space. You need
-to have a minimum of 64 megs of memory in order to build this tree. Having
-at least 128 megs of memory will make your debugging experience noticeably
-less agonizing
-
--
-The preferred platform is NT 4.0. NT 3.51 will also work, and Win95 might
-work if you're lucky. Maybe.
-
--
-Install MSVC. If you don't choose to have the MSVC install modify your
-environment variables for PATH, INCLUDE, and LIB information, be sure to
-run VCVARS32.BAT out of the MSVC bin directory prior to attempting to build.
-
--
-Download and install GNU tools. Put them in your path.
-
--
-Install Mozilla source.
-
--
-There are several environment variables you will need to set, either manually
-or via a script within a command session, or by setting them in your system
-environment located through the Control Panel | System icon. Those variables
-are:
-
-
--
-set MOZ_BITS=32
-
--
-set MOZ_DEBUG=1 (don't set this if you want to build an optimized release
-build)
-
--
-set MOZ_GOLD=1
-
--
-set MOZ_MEDIUM=1
-
--
-set MOZ_NT=351 (if running NT 3.51, don't set otherwise)
-
--
-set MOZ_OUT=(location of resulting executable and totally optional, see
-Notes for more details)
-
--
-set MOZ_SRC=(top of your tree, drive letter and path, i.e. set MOZ_SRC=d:\mozilla_src.
-The topmost directory under this should be ns)
-
--
-set MOZ_TOOLS=(location of the bin directory containing your GNU tools.
-The build looks for MOZ_TOOLS\bin\gmake.exe, so make sure your MOZ_TOOLS
-is figured appropriately)
-
--
-set NO_SECURITY=1
-
--
-set NSPR20=1
-
--
-if you are running VC++ 5.0 or higher: set _MSC_VER=1100
-
-
-Building:
-
--
-You need to be running a vanilla command prompt. Other shells may work,
-but you might have to tweak makefiles.
-
--
-Build the tools: This generates several tools that handle things
-like dependency generation
-
-
--
-cd ns\config
-
--
-nmake /f makefile.win
-
-
--
-Build the whole lizard: This will do a complete build of the source
-tree. You will end up with a mozilla.exe at the end.
-
-
--
-cd ns
-
--
-nmake /f client.mak
-
-
-
-
--
-If you want to build communicator a piece at a time, these are the steps
-that client.mak steps through. If you successfully ran the client.mak step
-above, you don't need to do this.
-
--
-Build the back end: This builds cross platform components like NSPR
-and the shared library modules. All of the interesting output from this
-part of the build will end up in ns\dist, under public\ if it's a library
-header, and under WIN32_D.OBJ\ (or WIN32_O.OBJ\ for an optimized build)
-if it's a dynamic or static library. The exception is the NSPR public headers,
-which live in WIN32_D.OBJ\include.
-
-
--
-cd ns
-
--
-nmake /f makefile.win
-
-
--
-Build the front end: This builds and links into the final executable,
-mozilla.exe.
-
-
--
-cd ns\cmd\winfe\mkfiles32
-
--
-nmake /f mozilla.mak DEPEND=1
-
--
-nmake /f mozilla.mak
-
-
-Notes:
-
--
-MOZ_OUT: If you don't set this, mozilla.exe will be generated into ns\cmd\winfe\mkfiles32\x86dbg
-(or x86rel for optimized builds)
-
--
-This build process does not use Visual C++ generated project files for
-several reasons having to do with (among other things) size, maintainability,
-and the long term desire to start using more of tools like gmake, or plug
-and play developer tools. This does not preclude you from using the Visual
-C++ IDE, or it's debugger (somebody fill this out with more detail).
-
--
-All of the DLLs that you need to run mozilla.exe get copied automagically
-into your output directory as the last part of build, so all you need to
-do is cd into x86dbg and run mozilla.exe to get a runnable browser.
-
--
-On a Pentium II 266 MHz machine with 128 megs of memory, it takes approximately
-30 minutes to build. Your mileage may vary.
-
-
-
-Copyright © 1998 Netscape
-Communications Corporation
-
-
-
diff --git a/README/mozilla/wininstall.htm b/README/mozilla/wininstall.htm
deleted file mode 100644
index ad0da276972..00000000000
--- a/README/mozilla/wininstall.htm
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
-
-
-
- Running Mozilla...
-
-
-
-
-Running Mozilla Without Trashing Netscape
-Installation
-This document explains how to run mozilla.exe separately from
-netscape.exe without trashing your regular installation of Netscape
-Communicator. This is necessary if, for example, you want to use Communicator's
-mail client while you work on Mozilla development.
-
-
-
--
-Before running mozilla.exe, create a new user profile either from
-a Netscape 4.0x installation using the "User Profile Manager" shortcut
-in the Utilities folder (on Windows) or by using the -new_account
-option on the command line of either netscape.exe or mozilla.exe.
-We suggest calling the profile "mozilla."
-
--
-Always use that new account when running mozilla.exe, and never
-run netscape.exe using that same account profile.
-
-To make things easier, you can start the application with the user account
-on the command line, for example:
-
-This assures that prefs and the cache will not interfere between the two
-versions. This will be especially
-
important as new prefs are added to the Mozilla product. Note that
-you must use quotes around the name and there can be no space between the
-"P" and the profile name. Otherwise, the application won't catch the profile
-switch, and it will try to load the profile name as the initial URL.
-
-
-
-
You can copy your bookmark.htm file from an existing profile
-to your new profile directory if you want to share bookmarks.
-
-After the initial 3/31 release, we will add some code to Mozilla to
-prevent running with a profile that is already being used by netscape.exe.
-
-
-
Copyright © 1998 Netscape
-Communications Corporation
-
-
diff --git a/README/raptor/winbuild.html b/README/raptor/winbuild.html
deleted file mode 100644
index c64fa002a71..00000000000
--- a/README/raptor/winbuild.html
+++ /dev/null
@@ -1,180 +0,0 @@
-
-
-
-
-
-
- Raptor Windows Build Instructions
-
-
-
-
-Raptor Windows Build Instructions
-This document explains how to build Raptor for the Windows platform.
-
Required Tools:
-
--
-Microsoft Visual C++ version 4.2 or later
-
--
-The same set of tools for building Mozilla
-
-Setting up:
-
-Building:
-
--
-You need to be running a vanilla command prompt. Other shells may work,
-but you might have to tweak makefiles.
-
--
-Build the tools: This generates several tools that handle things
-like dependency generation
-
-
--
-cd ns\config
-
--
-nmake /f makefile.win
-
-
--
-Build the Raptor: This will do a complete build of the source tree.
-You will end up with a viewer.exe at the end. The viewer.exe will be in
-your dist\win32_[OD].obj\bin directory (O will be used when you don't set
-MOZ_DEBUG; D will be used when you set MOZ_DEBUG).
-
-
--
-cd ns
-
--
-nmake /f raptor.mak
-
-
-Running:
-
--
-Once you have built the system, do this to run the viewer program (the
-viewer program is a simple test program that uses the nsIWebWidget API
-to embed a web widget object). The viewer program has a few basic menu
-items, include "Samples" which load sample tests.
-
-
--
-cd ns\dist\win32_[OD].obj\bin
-
--
-.\viewer.exe
-
-
-Notes:
-
--
-This build process does not use Visual C++ generated project files for
-several reasons having to do with (among other things) size, maintainability,
-and the long term desire to start using more of tools like gmake, or plug
-and play developer tools. This does not preclude you from using the Visual
-C++ IDE, or it's debugger. Once you have built a viewer.exe do this to
-run it under the debugger:
-
-
-
-
--
-cd ns\dist\win32_[OD].obj\bin
-
--
-msdev viewer.exe
-
-
-
-
-Copyright © 1998 Netscape
-Communications Corporation
-
-
-
diff --git a/buildtools/windows/bin/README b/buildtools/windows/bin/README
deleted file mode 100644
index 3e8ebd4c215..00000000000
--- a/buildtools/windows/bin/README
+++ /dev/null
@@ -1,26 +0,0 @@
-Building NSPR on Windows NT Using Netscape's gmake and Other Tools
-
-This directory contains the following tools:
-- gmake.exe: GNU make 3.74, modified to use shmsdos.exe as the shell
-- shmsdos.exe: a lightweight shell developed by Netscape programmers.
- It has most of the file manipulation operations (such as cp,
- rm, mkdir as well as Netscape's own nsinstall) as built-in
- commands, so even if you have these
- file utilities installed on your NT machine, they won't be invoked
- by gmake and shmsdos. Also, since shmsdos is not a full-blown
- shell and its built-in file commands are not fully compatible
- with the true Unix file utilities, our makefiles have had to
- avoid some features of sh and work around the incompatibilities
- on Windows NT.
-- uname.exe: this uname.exe returns the OS as "WINNT", which is what
- our makefiles assume. Do not use a uname.exe that returns other
- strings, such as "Windows_NT".
-
-Binaries for the x86 processors can be found in the 'x86' subdirectory.
-Binaries for the alpha processors can be found in the 'alpha'
-subdirectory.
-
-INSTALLATION:
-
-Install gmake.exe, shmsdos.exe, and uname.exe in any directory.
-Add that directory to your Path environment variable.
\ No newline at end of file
diff --git a/buildtools/windows/bin/alpha/gmake.exe b/buildtools/windows/bin/alpha/gmake.exe
deleted file mode 100755
index 732c20d440d..00000000000
Binary files a/buildtools/windows/bin/alpha/gmake.exe and /dev/null differ
diff --git a/buildtools/windows/bin/alpha/nsinstall.exe b/buildtools/windows/bin/alpha/nsinstall.exe
deleted file mode 100755
index 77145fd1e29..00000000000
Binary files a/buildtools/windows/bin/alpha/nsinstall.exe and /dev/null differ
diff --git a/buildtools/windows/bin/alpha/shmsdos.exe b/buildtools/windows/bin/alpha/shmsdos.exe
deleted file mode 100755
index 6ef07bf3e2e..00000000000
Binary files a/buildtools/windows/bin/alpha/shmsdos.exe and /dev/null differ
diff --git a/buildtools/windows/bin/alpha/uname.exe b/buildtools/windows/bin/alpha/uname.exe
deleted file mode 100755
index 6511a154c9c..00000000000
Binary files a/buildtools/windows/bin/alpha/uname.exe and /dev/null differ
diff --git a/buildtools/windows/bin/x86/gmake.exe b/buildtools/windows/bin/x86/gmake.exe
deleted file mode 100755
index bd1f70bcb3d..00000000000
Binary files a/buildtools/windows/bin/x86/gmake.exe and /dev/null differ
diff --git a/buildtools/windows/bin/x86/nsinstall.exe b/buildtools/windows/bin/x86/nsinstall.exe
deleted file mode 100755
index 11a32d12815..00000000000
Binary files a/buildtools/windows/bin/x86/nsinstall.exe and /dev/null differ
diff --git a/buildtools/windows/bin/x86/shmsdos.exe b/buildtools/windows/bin/x86/shmsdos.exe
deleted file mode 100755
index a44667648cc..00000000000
Binary files a/buildtools/windows/bin/x86/shmsdos.exe and /dev/null differ
diff --git a/buildtools/windows/bin/x86/uname.exe b/buildtools/windows/bin/x86/uname.exe
deleted file mode 100755
index 5788c84b195..00000000000
Binary files a/buildtools/windows/bin/x86/uname.exe and /dev/null differ
diff --git a/buildtools/windows/source/make/COPYING b/buildtools/windows/source/make/COPYING
deleted file mode 100644
index a43ea2126fb..00000000000
--- a/buildtools/windows/source/make/COPYING
+++ /dev/null
@@ -1,339 +0,0 @@
- GNU GENERAL PUBLIC LICENSE
- Version 2, June 1991
-
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.
- 675 Mass Ave, Cambridge, MA 02139, USA
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
- Preamble
-
- The licenses for most software are designed to take away your
-freedom to share and change it. By contrast, the GNU General Public
-License is intended to guarantee your freedom to share and change free
-software--to make sure the software is free for all its users. This
-General Public License applies to most of the Free Software
-Foundation's software and to any other program whose authors commit to
-using it. (Some other Free Software Foundation software is covered by
-the GNU Library General Public License instead.) You can apply it to
-your programs, too.
-
- When we speak of free software, we are referring to freedom, not
-price. Our General Public Licenses are designed to make sure that you
-have the freedom to distribute copies of free software (and charge for
-this service if you wish), that you receive source code or can get it
-if you want it, that you can change the software or use pieces of it
-in new free programs; and that you know you can do these things.
-
- To protect your rights, we need to make restrictions that forbid
-anyone to deny you these rights or to ask you to surrender the rights.
-These restrictions translate to certain responsibilities for you if you
-distribute copies of the software, or if you modify it.
-
- For example, if you distribute copies of such a program, whether
-gratis or for a fee, you must give the recipients all the rights that
-you have. You must make sure that they, too, receive or can get the
-source code. And you must show them these terms so they know their
-rights.
-
- We protect your rights with two steps: (1) copyright the software, and
-(2) offer you this license which gives you legal permission to copy,
-distribute and/or modify the software.
-
- Also, for each author's protection and ours, we want to make certain
-that everyone understands that there is no warranty for this free
-software. If the software is modified by someone else and passed on, we
-want its recipients to know that what they have is not the original, so
-that any problems introduced by others will not reflect on the original
-authors' reputations.
-
- Finally, any free program is threatened constantly by software
-patents. We wish to avoid the danger that redistributors of a free
-program will individually obtain patent licenses, in effect making the
-program proprietary. To prevent this, we have made it clear that any
-patent must be licensed for everyone's free use or not licensed at all.
-
- The precise terms and conditions for copying, distribution and
-modification follow.
-
- GNU GENERAL PUBLIC LICENSE
- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
- 0. This License applies to any program or other work which contains
-a notice placed by the copyright holder saying it may be distributed
-under the terms of this General Public License. The "Program", below,
-refers to any such program or work, and a "work based on the Program"
-means either the Program or any derivative work under copyright law:
-that is to say, a work containing the Program or a portion of it,
-either verbatim or with modifications and/or translated into another
-language. (Hereinafter, translation is included without limitation in
-the term "modification".) Each licensee is addressed as "you".
-
-Activities other than copying, distribution and modification are not
-covered by this License; they are outside its scope. The act of
-running the Program is not restricted, and the output from the Program
-is covered only if its contents constitute a work based on the
-Program (independent of having been made by running the Program).
-Whether that is true depends on what the Program does.
-
- 1. You may copy and distribute verbatim copies of the Program's
-source code as you receive it, in any medium, provided that you
-conspicuously and appropriately publish on each copy an appropriate
-copyright notice and disclaimer of warranty; keep intact all the
-notices that refer to this License and to the absence of any warranty;
-and give any other recipients of the Program a copy of this License
-along with the Program.
-
-You may charge a fee for the physical act of transferring a copy, and
-you may at your option offer warranty protection in exchange for a fee.
-
- 2. You may modify your copy or copies of the Program or any portion
-of it, thus forming a work based on the Program, and copy and
-distribute such modifications or work under the terms of Section 1
-above, provided that you also meet all of these conditions:
-
- a) You must cause the modified files to carry prominent notices
- stating that you changed the files and the date of any change.
-
- b) You must cause any work that you distribute or publish, that in
- whole or in part contains or is derived from the Program or any
- part thereof, to be licensed as a whole at no charge to all third
- parties under the terms of this License.
-
- c) If the modified program normally reads commands interactively
- when run, you must cause it, when started running for such
- interactive use in the most ordinary way, to print or display an
- announcement including an appropriate copyright notice and a
- notice that there is no warranty (or else, saying that you provide
- a warranty) and that users may redistribute the program under
- these conditions, and telling the user how to view a copy of this
- License. (Exception: if the Program itself is interactive but
- does not normally print such an announcement, your work based on
- the Program is not required to print an announcement.)
-
-These requirements apply to the modified work as a whole. If
-identifiable sections of that work are not derived from the Program,
-and can be reasonably considered independent and separate works in
-themselves, then this License, and its terms, do not apply to those
-sections when you distribute them as separate works. But when you
-distribute the same sections as part of a whole which is a work based
-on the Program, the distribution of the whole must be on the terms of
-this License, whose permissions for other licensees extend to the
-entire whole, and thus to each and every part regardless of who wrote it.
-
-Thus, it is not the intent of this section to claim rights or contest
-your rights to work written entirely by you; rather, the intent is to
-exercise the right to control the distribution of derivative or
-collective works based on the Program.
-
-In addition, mere aggregation of another work not based on the Program
-with the Program (or with a work based on the Program) on a volume of
-a storage or distribution medium does not bring the other work under
-the scope of this License.
-
- 3. You may copy and distribute the Program (or a work based on it,
-under Section 2) in object code or executable form under the terms of
-Sections 1 and 2 above provided that you also do one of the following:
-
- a) Accompany it with the complete corresponding machine-readable
- source code, which must be distributed under the terms of Sections
- 1 and 2 above on a medium customarily used for software interchange; or,
-
- b) Accompany it with a written offer, valid for at least three
- years, to give any third party, for a charge no more than your
- cost of physically performing source distribution, a complete
- machine-readable copy of the corresponding source code, to be
- distributed under the terms of Sections 1 and 2 above on a medium
- customarily used for software interchange; or,
-
- c) Accompany it with the information you received as to the offer
- to distribute corresponding source code. (This alternative is
- allowed only for noncommercial distribution and only if you
- received the program in object code or executable form with such
- an offer, in accord with Subsection b above.)
-
-The source code for a work means the preferred form of the work for
-making modifications to it. For an executable work, complete source
-code means all the source code for all modules it contains, plus any
-associated interface definition files, plus the scripts used to
-control compilation and installation of the executable. However, as a
-special exception, the source code distributed need not include
-anything that is normally distributed (in either source or binary
-form) with the major components (compiler, kernel, and so on) of the
-operating system on which the executable runs, unless that component
-itself accompanies the executable.
-
-If distribution of executable or object code is made by offering
-access to copy from a designated place, then offering equivalent
-access to copy the source code from the same place counts as
-distribution of the source code, even though third parties are not
-compelled to copy the source along with the object code.
-
- 4. You may not copy, modify, sublicense, or distribute the Program
-except as expressly provided under this License. Any attempt
-otherwise to copy, modify, sublicense or distribute the Program is
-void, and will automatically terminate your rights under this License.
-However, parties who have received copies, or rights, from you under
-this License will not have their licenses terminated so long as such
-parties remain in full compliance.
-
- 5. You are not required to accept this License, since you have not
-signed it. However, nothing else grants you permission to modify or
-distribute the Program or its derivative works. These actions are
-prohibited by law if you do not accept this License. Therefore, by
-modifying or distributing the Program (or any work based on the
-Program), you indicate your acceptance of this License to do so, and
-all its terms and conditions for copying, distributing or modifying
-the Program or works based on it.
-
- 6. Each time you redistribute the Program (or any work based on the
-Program), the recipient automatically receives a license from the
-original licensor to copy, distribute or modify the Program subject to
-these terms and conditions. You may not impose any further
-restrictions on the recipients' exercise of the rights granted herein.
-You are not responsible for enforcing compliance by third parties to
-this License.
-
- 7. If, as a consequence of a court judgment or allegation of patent
-infringement or for any other reason (not limited to patent issues),
-conditions are imposed on you (whether by court order, agreement or
-otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License. If you cannot
-distribute so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you
-may not distribute the Program at all. For example, if a patent
-license would not permit royalty-free redistribution of the Program by
-all those who receive copies directly or indirectly through you, then
-the only way you could satisfy both it and this License would be to
-refrain entirely from distribution of the Program.
-
-If any portion of this section is held invalid or unenforceable under
-any particular circumstance, the balance of the section is intended to
-apply and the section as a whole is intended to apply in other
-circumstances.
-
-It is not the purpose of this section to induce you to infringe any
-patents or other property right claims or to contest validity of any
-such claims; this section has the sole purpose of protecting the
-integrity of the free software distribution system, which is
-implemented by public license practices. Many people have made
-generous contributions to the wide range of software distributed
-through that system in reliance on consistent application of that
-system; it is up to the author/donor to decide if he or she is willing
-to distribute software through any other system and a licensee cannot
-impose that choice.
-
-This section is intended to make thoroughly clear what is believed to
-be a consequence of the rest of this License.
-
- 8. If the distribution and/or use of the Program is restricted in
-certain countries either by patents or by copyrighted interfaces, the
-original copyright holder who places the Program under this License
-may add an explicit geographical distribution limitation excluding
-those countries, so that distribution is permitted only in or among
-countries not thus excluded. In such case, this License incorporates
-the limitation as if written in the body of this License.
-
- 9. The Free Software Foundation may publish revised and/or new versions
-of the General Public License from time to time. Such new versions will
-be similar in spirit to the present version, but may differ in detail to
-address new problems or concerns.
-
-Each version is given a distinguishing version number. If the Program
-specifies a version number of this License which applies to it and "any
-later version", you have the option of following the terms and conditions
-either of that version or of any later version published by the Free
-Software Foundation. If the Program does not specify a version number of
-this License, you may choose any version ever published by the Free Software
-Foundation.
-
- 10. If you wish to incorporate parts of the Program into other free
-programs whose distribution conditions are different, write to the author
-to ask for permission. For software which is copyrighted by the Free
-Software Foundation, write to the Free Software Foundation; we sometimes
-make exceptions for this. Our decision will be guided by the two goals
-of preserving the free status of all derivatives of our free software and
-of promoting the sharing and reuse of software generally.
-
- NO WARRANTY
-
- 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
-FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
-OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
-PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
-OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
-TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
-PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
-REPAIR OR CORRECTION.
-
- 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
-REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
-INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
-OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
-TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
-YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
-PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGES.
-
- END OF TERMS AND CONDITIONS
-
- Appendix: How to Apply These Terms to Your New Programs
-
- If you develop a new program, and you want it to be of the greatest
-possible use to the public, the best way to achieve this is to make it
-free software which everyone can redistribute and change under these terms.
-
- To do so, attach the following notices to the program. It is safest
-to attach them to the start of each source file to most effectively
-convey the exclusion of warranty; and each file should have at least
-the "copyright" line and a pointer to where the full notice is found.
-
-
- Copyright (C) 19yy
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
-Also add information on how to contact you by electronic and paper mail.
-
-If the program is interactive, make it output a short notice like this
-when it starts in an interactive mode:
-
- Gnomovision version 69, Copyright (C) 19yy name of author
- Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
- This is free software, and you are welcome to redistribute it
- under certain conditions; type `show c' for details.
-
-The hypothetical commands `show w' and `show c' should show the appropriate
-parts of the General Public License. Of course, the commands you use may
-be called something other than `show w' and `show c'; they could even be
-mouse-clicks or menu items--whatever suits your program.
-
-You should also get your employer (if you work as a programmer) or your
-school, if any, to sign a "copyright disclaimer" for the program, if
-necessary. Here is a sample; alter the names:
-
- Yoyodyne, Inc., hereby disclaims all copyright interest in the program
- `Gnomovision' (which makes passes at compilers) written by James Hacker.
-
- , 1 April 1989
- Ty Coon, President of Vice
-
-This General Public License does not permit incorporating your program into
-proprietary programs. If your program is a subroutine library, you may
-consider it more useful to permit linking proprietary applications with the
-library. If this is what you want to do, use the GNU Library General
-Public License instead of this License.
diff --git a/buildtools/windows/source/make/ChangeLog b/buildtools/windows/source/make/ChangeLog
deleted file mode 100644
index 3532eb6dcd1..00000000000
--- a/buildtools/windows/source/make/ChangeLog
+++ /dev/null
@@ -1,3263 +0,0 @@
-Fri May 19 16:36:32 1995 Roland McGrath
-
- * Version 3.74 released.
-
-Wed May 10 17:43:34 1995 Roland McGrath
-
- * Version 3.73.3.
-
-Tue May 9 17:15:23 1995 Roland McGrath
-
- * compatMakefile ($(infodir)/make.info): Make sure $$dir is set in
- install-info cmd.
-
-Wed May 3 15:56:06 1995 Roland McGrath
-
- * file.c (print_file): Grok update_status of 1 for -q.
-
-Thu Apr 27 12:39:35 1995 Roland McGrath
-
- * Version 3.73.2.
-
-Wed Apr 26 17:15:57 1995 Roland McGrath
-
- * file.c (remove_intermediates): Fix inverted test to bail under
- -n for signal case. Bail under -q or -t.
- Skip files with update_status==-1.
-
- * job.c (job_next_command): Skip empty lines.
- (new_job): Don't test the return of job_next_command.
- Just let start_waiting_job handle the case of empty commands.
-
-Wed Apr 19 03:25:54 1995 Roland McGrath
-
- * function.c [__MSDOS__]: Include . From DJ Delorie.
-
- * Version 3.73.1.
-
-Sat Apr 8 14:53:24 1995 Roland McGrath
-
- * remake.c (notice_finished_file): Set FILE->update_status to zero
- if it's -1.
-
-Wed Apr 5 00:20:24 1995 Roland McGrath
-
- * Version 3.73 released.
-
-Tue Mar 28 13:25:46 1995 Roland McGrath
-
- * main.c (main): Fixed braino in assert.
-
- * Version 3.72.13.
-
-Mon Mar 27 05:29:12 1995 Roland McGrath
-
- * main.c: Avoid string in assert expression. Some systems are broken.
-
-Fri Mar 24 00:32:32 1995 Roland McGrath
-
- * main.c (main): Handle 1 and 2 returns from update_goal_chain
- makefile run properly.
-
- * Version 3.72.12.
-
- * main.c (handle_non_switch_argument): New function, broken out of
- decode_switches.
- (decode_switches): Set optind to 0 to reinitialize getopt, not to 1.
- When getopt_long returns EOF, break the loop and handle remaining args
- with a simple second loop.
-
- * remake.c (remake_file): Set update_status to 2 instead of 1 for
- no rule to make. Mention parent (dependent) in error message.
- (update_file_1): Handle FILE->update_status == 2 in -d printout.
- * job.c (start_job_command, reap_children): Set update_status to 2
- instead of 1 for failed commands.
-
-Tue Mar 21 16:23:38 1995 Roland McGrath
-
- * job.c (search_path): Function removed (was already #if 0'd out).
- * configure.in: Remove AC_TYPE_GETGROUPS; nothing needs it any more.
-
-Fri Mar 17 15:57:40 1995 Roland McGrath
-
- * configure.bat: Write @CPPFLAGS@ translation.
-
-Mon Mar 13 00:45:59 1995 Roland McGrath
-
- * read.c (parse_file_seq): Rearranged `l(a b)' -> `l(a) l(b)' loop
- to not skip the elt immediately preceding `l(...'.
-
-Fri Mar 10 13:56:49 1995 Roland McGrath
-
- * Version 3.72.11.
-
- * read.c (find_char_unquote): Make second arg a string of stop
- chars instead of a single stop char. Stop when any char in the
- string is hit. All callers changed.
- (find_semicolon): Pass stop chars "#;" to one find_char_unquote call,
- instead of using two calls. If the match is not a ; but a #,
- return zero.
- * misc.c: Changed find_char_unquote callers here too.
-
- * Version 3.72.10.
-
- * read.c (read_makefile, parse_file_seq): Fix typo __MS_DOS__ ->
- __MSDOS__.
-
- * GNUmakefile (globfiles): Add glob/configure.bat.
- (distfiles): Add configh.dos, configure.bat.
-
-Wed Mar 8 13:10:57 1995 Roland McGrath
-
- Fixes for MS-DOS from DJ Delorie.
- * read.c (read_makefile, parse_file_seq) [__MS_DOS__]: Don't see :
- as separator in "C:\...".
- * configh.dos (STDC_HEADERS): Define only if undefined.
- (HAVE_SYS_PARAM_H): Don't define this.
- (HAVE_STRERROR): Define this.
- * job.c (construct_command_argv_internal) [__MSDOS__]: Fix typos.
-
- * Version 3.72.9.
-
- * main.c (decode_switches): Reset optind to 1 instead of 0.
-
-Tue Mar 7 17:31:06 1995 Roland McGrath
-
- * main.c (decode_switches): If non-option arg is "-", ignore it.
-
-Mon Mar 6 23:57:38 1995 Roland McGrath
-
- * Version 3.72.8.
-
-Wed Feb 22 21:26:36 1995 Roland McGrath
-
- * Version 3.72.7.
-
-Tue Feb 21 22:10:43 1995 Roland McGrath
-
- * main.c (main): Pass missing arg to tmpnam.
-
- * configure.in: Check for strsignal.
- * job.c (child_error): Use strsignal.
- * main.c (main): Don't call signame_init #ifdef HAVE_STRSIGNAL.
-
- * misc.c (strerror): Fix swapped args in sprintf.
-
-Mon Feb 13 11:50:08 1995 Roland McGrath
-
- * configure.in (CFLAGS, LDFLAGS): Don't set these variables.
-
-Fri Feb 10 18:44:12 1995 Roland McGrath
-
- * main.c (print_version): Add 95 to copyright years.
-
- * Version 3.72.6.
-
- * job.c (start_job_command): Remember to call notice_finished_file
- under -n when not recursing. To do this, consolidate that code
- under the empty command case and goto there for the -n case.
-
-Tue Feb 7 13:36:03 1995 Roland McGrath
-
- * make.h [! STDC_HEADERS]: Don't declare qsort. Sun headers
- declare it int.
-
-Mon Feb 6 17:37:01 1995 Roland McGrath
-
- * read.c (read_makefile): For bogus line starting with tab, ignore
- it if blank after removing comments.
-
- * main.c: Cast results of `alloca' to `char *'.
- * expand.c: Likewise.
-
-Sun Feb 5 18:35:46 1995 Roland McGrath
-
- * Version 3.72.5.
-
- * configure.in: Check for mktemp.
- * main.c (main) [! HAVE_MKTEMP]: Use tmpnam instead of mktemp.
-
- * configure.in (make_cv_sysconf_open_max): New check for `sysconf
- (_SC_OPEN_MAX)'.
- * acconfig.h: Added #undef HAVE_SYSCONF_OPEN_MAX.
- * job.c [HAVE_SYSCONF_OPEN_MAX] (getdtablesize): Define as macro
- using sysconf.
-
-Fri Jan 27 04:42:09 1995 Roland McGrath
-
- * remake.c (update_file_1): When !MUST_MAKE, don't set
- FILE->update_status to zero before calling notice_finished_file.
- (notice_finished_file): Touch only when FILE->update_status is zero.
- (remake_file): Set FILE->update_status to zero after not calling
- execute_file_command and deciding to touch instead.
-
-Thu Jan 26 01:29:32 1995 Roland McGrath
-
- * main.c (debug_signal_handler): New function; toggles debug_flag.
- (main): Handle SIGUSR1 with that.
-
-Mon Jan 16 15:46:56 1995 Roland McGrath
-
- * compatMakefile (realclean): Remove Info files.
-
-Sun Jan 15 08:23:09 1995 Roland McGrath
-
- * Version 3.72.4.
-
- * job.c (start_job_command): Save and restore environ around vfork
- call.
- (search_path): Function #if 0'd out.
- (exec_command): Use execvp instead of search_path.
-
- * expand.c (variable_expand): Rewrote computed variable name and
- substitution reference handling to be simpler. First expand the
- entire text between the parens if it contains any $s, then examine
- the result of that for subtitution references and do no further
- expansion while parsing them.
-
- * job.c (construct_command_argv_internal): Handle " quoting too,
- when no backslash, $ or ` characters appear inside the quotes.
-
- * configure.in (union wait check): If WEXITSTATUS and WTERMSIG are
- defined, just use int.
-
-Tue Jan 10 06:27:27 1995 Roland McGrath
-
- * default.c (default_variables) [__hpux]: Remove special
- definition of ARFLAGS. Existence of the `f' flag is not
- consistent across HPUX versions; and one might be using GNU ar
- anyway.
-
- * compatMakefile (clean): Don't remove Info files.
-
- * compatMakefile (check): Remove gratuitous target declaration.
-
-Sat Jan 7 11:38:23 1995 Roland McGrath
-
- * compatMakefile (ETAGS, CTAGS): Don't use -t.
-
- * arscan.c (ar_name_equal) [cray]: Subtract 1 like [__hpux].
-
- * main.c (decode_switches): For --help, print usage to stdout.
-
-Mon Dec 5 12:42:18 1994 Roland McGrath
-
- * Version 3.72.3.
-
- * remake.c (update_file_1): Do set_command_state (FILE,
- cs_not_started) only if old state was deps_running.
-
-Mon Nov 28 14:24:03 1994 Roland McGrath
-
- * job.c (start_waiting_job): Use set_command_state.
-
- * build.template (CPPFLAGS): New variable.
- (prefix, exec_prefix): Set from @...@.
- (compilation loop): Pass $CPPFLAGS to compiler.
-
- * GNUmakefile (build.sh.in): Make it executable.
-
- * GNUmakefile (globfiles): Add configure.in, configure.
-
- * Version 3.72.2.
-
- * configure.in (AC_OUTPUT): Don't write glob/Makefile.
-
- * configure.in (AC_CHECK_SYMBOL): Use AC_DEFINE_UNQUOTED.
-
- * configure.in: Don't check for ranlib.
-
-Tue Nov 22 22:42:40 1994 Roland McGrath
-
- * remake.c (notice_finished_file): Only mark also_make's as
- updated if really ran cmds.
-
-Tue Nov 15 06:32:46 1994 Roland McGrath
-
- * configure.in: Put dnls before random whitespace.
-
-Sun Nov 13 05:02:25 1994 Roland McGrath
-
- * compatMakefile (CPPFLAGS): New variable, set from @CPPFLAGS@.
- (RANLIB): Variable removed.
- (prefix, exec_prefix): Set these from @...@.
- (.c.o): Use $(CPPFLAGS).
- (glob/libglob.a): Don't pass down variables to sub-make.
- glob/Makefile should be configured properly by configure.
- (distclean): Remove config.log and config.cache (autoconf stuff).
-
-Mon Nov 7 13:58:06 1994 Roland McGrath
-
- * acconfig.h: Add #undef HAVE_UNION_WAIT.
- * configure.in: Converted to Autoconf v2.
- * dir.c: Test HAVE_DIRENT_H, HAVE_SYS_DIR_H, HAVE_NDIR_H instead
- of DIRENT, SYSDIR, NDIR.
- * build.sh.in (prefix, exec_prefix): Set these from @...@.
- (CPPFLAGS): New variable, set from @CPPFLAGS@.
- (compiling loop): Pass $CPPFLAGS before $CFLAGS.
- * install.sh: File renamed to install-sh.
-
- * main.c (define_makeflags): When no flags, set WORDS to zero.
-
-Sun Nov 6 18:34:01 1994 Roland McGrath
-
- * Version 3.72.1.
-
- * main.c (define_makeflags): Terminate properly when FLAGSTRING is
- empty.
-
-Fri Nov 4 16:02:51 1994 Roland McGrath
-
- * Version 3.72.
-
-Tue Nov 1 01:18:10 1994 Roland McGrath
-
- * Version 3.71.5.
-
- * job.c (start_job_command): When ARGV is nil, only set
- update_state and call notice_finished_file if job_next_command
- returns zero.
-
- * job.c (start_job_command): Call notice_finished_file for empty
- command line.
-
-Thu Oct 27 02:02:45 1994 Roland McGrath
-
- * file.c (snap_deps): Set COMMANDS_SILENT for .SILENT, not
- COMMANDS_NOERROR.
-
-Wed Oct 26 02:14:10 1994 Roland McGrath
-
- * Version 3.71.4.
-
-Tue Oct 25 22:49:24 1994 Roland McGrath
-
- * file.c (snap_deps): Set command_flags bits in all :: entries.
-
-Mon Oct 24 18:47:50 1994 Roland McGrath
-
- * make.h (posix_pedantic): Declare it.
- * main.c (main): Move checks .IGNORE, .SILENT, .POSIX to
- snap_deps.
- * file.c (snap_deps): Check .IGNORE, .SILENT, .POSIX here instead
- of in main. If .IGNORE has deps, OR COMMANDS_NOERROR into their
- command_flags and don't set -i. Likewise .SILENT.
- * job.c (start_job_command): In FLAGS initialization, OR in
- CHILD->file->command_flags.
- * file.h (struct file): New member `command_flags'.
-
-Sun Oct 16 01:01:51 1994 Roland McGrath
-
- * main.c (switches): Bump flag values for --no-print-directory and
- --warn-undefined-variables, so neither is 1 (which indicates a
- nonoption argument).
-
-Sat Oct 15 23:39:48 1994 Roland McGrath
-
- * main.c (main): Add missing code in .IGNORE test.
-
-Mon Oct 10 04:09:03 1994 Roland McGrath
-
- * variable.c (define_automatic_variables): Define +D and +F.
-
-Sat Oct 1 04:07:48 1994 Roland McGrath
-
- * main.c (main): Define hidden automatic variable with command
- vars, and MAKEOVERRIDES to a reference to that.
- (define_makeflags): If posix_pedantic, write a reference to that
- instead.
-
-Thu Sep 29 00:14:26 1994 Roland McGrath
-
- * main.c (posix_pedantic): New variable.
- (main): Set posix_pedantic if .POSIX is a target.
- Fix .IGNORE and .SILENT checks to require is_target.
-
- * commands.c (set_file_variables): Define new automatic variable
- $+, like $^ but before calling uniquize_deps.
-
- * job.c (reap_children): Call delete_child_targets for non-signal
- error if .DELETE_ON_ERROR is a target.
-
-Tue Sep 27 01:57:14 1994 Roland McGrath
-
- * Version 3.71.3.
-
-Mon Sep 26 18:16:55 1994 Roland McGrath
-
- * job.c (reap_children): Don't change C->file->command_state when
- dying. Test it only after calling start_job_command for a new
- command line. When no more cmds, just set C->file->update_status.
- (start_job_command): When the last line is empty or under -n, set
- C->file->update_status.
- (start_waiting_job): Grok cs_not_started after start_job_command
- as success.
- (new_job): Set C->file->update_status when there are no cmds.
- (job_next_command): When out of lines, don't set
- CHILD->file->update_status or CHILD->file->command_state.
-
- * main.c (quote_as_word): Renamed from shell_quote. Take new arg;
- if nonzero, also double $s.
- (main): Define MAKEOVERRIDES from command_variables here.
- (define_makeflags): Don't use command_variables here; instead write a
- reference $(MAKEOVERRIDES) in MAKEFLAGS. Make vars recursive.
-
- * dir.c [__MSDOS__]: Fixed typo.
-
- * vpath.c (selective_vpath_search): Reset EXISTS when stat fails.
-
-Sat Sep 10 03:01:35 1994 Roland McGrath
-
- * remake.c: Include and use assert instead of printfs
- and abort.
-
- * main.c (decode_switches): Loop until optind hits ARGC, not just
- until getopt_long returns EOF. Initialize C to zero before loop;
- in loop if C is EOF, set optarg from ARGV[optind++], else call
- getopt_long.
- (decode_env_switches): Use variable_expand instead of
- allocated_variable_expand. Allocate a fresh buffer to copy split
- words into; scan characters by hand to break words and
- debackslashify.
- (shell_quote): New function.
- (define_makeflags): Allocate doubled space for switch args, and command
- variable names and values; use shell_quote to quote those things.
-
-Fri Sep 9 01:37:47 1994 Roland McGrath
-
- * Version 3.71.2.
-
- * acconfig.h: Add HAVE_SYS_SIGLIST and HAVE__SYS_SIGLIST.
-
- * main.c (decode_switches): The non-option return from getopt is
- 1, not 0.
- (command_variables): New type and variable.
- (decode_switches, decode_env_switches): After making a variable
- definition, record the struct variable pointer in the
- command_variables chain.
- (define_makeflags): If ALL, write variable definitions for
- command_variables.
-
- * main.c (other_args): Variable removed.
- (goals, lastgoal): New static variables (moved from auto in main).
- (main): Don't process OTHER_ARGS at all.
- Don't set variable MAKEOVERRIDES at all; define MAKE to just
- $(MAKE_COMMAND).
- (init_switches): Prepend a - {return in order} instead of a +
- {require order}.
- (decode_switches): Don't set OTHER_ARGS at all.
- Grok '\0' return from getopt_long as non-option argument; try
- variable definition and (if !ENV) enter goal targets here.
- (decode_env_switches): Use allocated_variable_expand to store value.
- Use find_next_token to simplify word-splitting loop. Don't
- prepend a dash to uninterpreted value. Instead, if split into
- only one word, try variable definition and failing that prepend a
- dash to the word and pass it to decode_switches as a single arg.
-
-Wed Sep 7 03:02:46 1994 Roland McGrath
-
- * remake.c (notice_finished_file): Only recheck modtimes if
- FILE->command_state was cs_running on entry (meaning the commands
- actually just ran).
- (update_file_1): Whenever we set FILE->update_status, call
- notice_finished_file instead of just set_command_state.
- * job.c (start_job_command): Whenever we set
- CHILD->file->update_status, call notice_finished_file instead of
- just set_command_state.
-
-Tue Sep 6 19:13:54 1994 Roland McGrath
-
- * default.c: Add missing ".
-
- * job.c: Changed all assignments of command_state members to calls
- to set_command_state.
- * remake.c: Likewise.
- * file.c (set_command_state): New function.
- * file.h: Declare set_command_state.
-
- * main.c (init_switches): Put a + first in options.
-
-Mon Jul 25 18:07:46 1994 Roland McGrath
-
- Merge MSDOS/GO32 port from DJ Delorie .
- * vpath.c: Changed all uses of ':' to PATH_SEPARATOR_CHAR.
- * main.c (directory_before_chdir): New variable, moved out of main
- (was local).
- (main) [__MSDOS__]: Look for \ or : to delimit last component of
- PROGRAM. Don't frob ARGV[0] before setting MAKE_COMMAND variable.
- (die): Change back to `directory_before_chdir' before dying.
- * make.h (PATH_SEPARATOR_CHAR): New macro; differing defns for
- [__MSDOS__] and not.
- * job.c [__MSDOS__]: Include .
- [__MSDOS__] (dos_pid, dos_status, dos_bname, dos_bename,
- dos_batch_file): New variables.
- (reap_children) [__MSDOS__]: Don't call wait; just examine those vars.
- (unblock_sigs) [__MSDOS__]: Do nothing.
- (start_job_command) [__MSDOS__]: Use spawnvpe instead of vfork & exec.
- (load_too_high) [__MSDOS__]: Always return true.
- (search_path) [__MSDOS__]: Check for : or / in FILE to punt.
- Use PATH_SEPARATOR_CHAR instead of ':'.
- (construct_command_argv_internal) [__MSDOS__]: Wholly different
- values for sh_chars and sh_cmds. Wholly new code to handle shell
- scripts.
- * function.c (expand_function: `shell') [__MSDOS__]: Wholly new
- implementation.
- * dir.c [__MSDOS__] (dosify): New function.
- (dir_contents_file_exists_p) [__MSDOS__]: Call it on FILENAME and
- process the result instead of FILENAME itself.
- (file_impossible_p) [__MSDOS__]: Likewise.
- * default.c [__MSDOS__]: Define GCC_IS_NATIVE.
- (default_suffix_rules) [__MSDOS__]: Use `y_tab.c' instead of `y.tab.c'.
- (default_variables) [GCC_IS_NATIVE]: Set CC and CXX to `gcc', YACC to
- `bison -y', and LEX to `flex'.
- * configure.bat, configh.dos: New files.
- * commands.c (fatal_error_signal) [__MSDOS__]: Just remove
- intermediates and exit.
-
- * commands.c (set_file_variables): Add parens in length
- computation in .SUFFIXES dep loop to quiet compiler warning. From
- Jim Meyering.
-
- * read.c (read_makefile): Free FILENAME if we allocated it. From
- Jim Meyering.
-
-Mon Jul 4 17:47:08 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * misc.c (safe_stat): New function, EINTR-safe wrapper around stat.
- * vpath.c (selective_vpath_search): Use safe_stat in place of stat.
- * read.c (construct_include_path): Use safe_stat in place of stat.
- * job.c (search_path): Use safe_stat in place of stat.
- * dir.c (find_directory): Use safe_stat in place of stat.
- * commands.c (delete_target): Use safe_stat in place of stat.
- * arscan.c (ar_member_touch) [EINTR]: Do EINTR looping around fstat.
- * remake.c (name_mtime): Use safe_stat in place of stat.
- (touch_file) [EINTR]: Do EINTR looping around fstat.
-
-Fri Jun 24 05:40:24 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * read.c (read_makefile): Check for a shell command first, and
- then strip leading tabs before further checking if it's not a
- shell command line.
-
- * make.h [__arm]: Undefine POSIX.
- [!__GNU_LIBRARY__ && !POSIX && !_POSIX_VERSION]: Don't declare system
- functions that return int.
-
- * job.c (construct_command_argv_internal): After swallowing a
- backslash-newline combination, if INSTRING is set goto string_char
- (new label) for normal INSTRING handling code.
-
-Sat Jun 4 01:11:20 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * configure.in: Don't check for sys_siglist and _sys_siglist with
- AC_HAVE_FUNCS. Instead use two AC_COMPILE_CHECKs.
-
-Mon May 23 18:20:38 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.71.1 released.
-
- * make.h [!__GNU_LIBRARY__ && !POSIX]: Also test #ifndef
- _POSIX_VERSION for these declarations.
-
- * misc.c [GETLOADAVG_PRIVILEGED] [POSIX]: Remove bogus #ifndefs
- around #undefs of HAVE_SETREUID and HAVE_SETREGID.
-
-Sat May 21 16:26:38 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.71 released.
-
- * misc.c [GETLOADAVG_PRIVILEGED] [POSIX]: Don't test [HAVE_SETUID]
- and [HAVE_SETGID]. Every system has those, and configure doesn't
- check for them.
-
- * make.h [_POSIX_VERSION]: Don't #define POSIX #ifdef ultrix.
-
- * compatMakefile (loadavg): Depend on and use loadavg.c instead of
- getloadavg.c.
- (loadavg.c): Link or copy it from getloadavg.c.
- (distclean): Remove loadavg.c.
-
-Mon May 16 22:59:04 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.70.4.
-
- * misc.c [GETLOADAVG_PRIVILEGED] [! POSIX]: Undefine HAVE_SETEUID
- and HAVE_SETEGID.
-
- * default.c (default_terminal_rules): In SCCS rules, put
- $(SCCS_OUTPUT_OPTION) before $<. On some systems -G is grokked
- only before the file name.
- * configure.in (SCCS_GET_MINUS_G check): Put -G flag before file name.
-
-Tue May 10 16:27:38 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * job.c (construct_command_argv_internal): Swallow
- backslash-newline combinations inside '' strings too.
-
-Thu May 5 04:15:10 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * read.c (do_define): Call collapse_continuations on each line
- before all else.
-
-Mon Apr 25 19:32:02 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * job.c (construct_command_argv_internal): Notice newline inside
- '' string when RESTP is non-null.
-
-Fri Apr 22 17:33:30 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * Version 3.70.3.
-
- * remake.c (update_goal_chain): Reset FILE to G->file after the
- double-colon loop so it is never null for following code.
-
- * read.c (read_makefile): Fix `override define' parsing to skip
- whitespace after `define' properly.
-
- * compatMakefile (srcdir): Define as @srcdir@; don't reference
- $(VPATH).
- (glob/Makefile): New target.
-
-Thu Apr 21 16:16:55 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * Version 3.70.2.
-
- * misc.c (remove_comments): Use find_char_unquote.
- * make.h (find_char_unquote): Declare it.
- * read.c (find_char_unquote): New function, generalized from
- find_percent.
- (find_percent, find_semicolon, parse_file_seq): Use that.
-
-Wed Apr 20 18:42:39 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * implicit.c (pattern_search): Always allocate new storage for
- FILE->stem. It is not safe to store STEM's address because it
- might be auto storage.
-
- * configure.in: Check for seteuid and setegid.
- * misc.c [HAVE_SETEUID]: Declare seteuid.
- [HAVE_SETEGID]: Declare setegid.
- (make_access, user_access) [HAVE_SETEUID]: Use seteuid.
- [HAVE_SETEGID]: Use setegid.
-
- * remake.c (update_goal_chain): Set STATUS to FILE->update_status,
- to preserve whether it's 2 for error or 1 for -q trigger. When
- STATUS gets nonzero and -q is set, always stop immediately.
- * main.c (main, decode_switches): Die with 2 for errors.
- (main): Accept 2 return from update_goal_chain and die with that.
- * misc.c (fatal, makefile_fatal): Die with 2; 1 is reserved for -q
- answer.
- * job.c (reap_children): Die with 2 for error.
- (start_job_command): Set update_status to 2 for error. Set it to
- 1 when we would run a command and question_flag is set.
-
- * read.c (read_makefile): Don't mark makefiles as precious. Just
- like other targets, they can be left inconsistent and in need of
- remaking by aborted commands.
-
- * read.c (read_makefile): Write no error msg for -include file.
-
-Tue Apr 5 05:22:19 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * commands.c (fatal_error_signal): Don't unblock signals.
-
- * file.h (struct file): Change member `double_colon' from flag to
- `struct file *'.
- * read.c (record_files): Set double_colon pointer instead of flag.
- * main.c (main): When disqualifying makefiles for updating, use
- double_colon pointer to find all entries for a file.
- * file.c (enter_file): If there is already a double-colon entry
- for the file, set NEW->double_colon to that pointer.
- (file_hash_enter): Use FILE->double_colon to find all entries to
- set name.
- * remake.c (update_goal_chain): Do inner loop on double-colon entries.
- (update_file): Use FILE->double_colon pointer to find all entries.
- (f_mtime): Likewise.
- (notice_finished_file): Propagate mtime change to all entries.
-
- * variable.c (try_variable_definition): Return after abort.
-
-Fri Apr 1 18:44:15 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * read.c (read_makefile): Remove unused variable.
- (parse_file_seq): When removing an elt that is just `)', properly
- fix up the previous elt's next pointer.
-
-Mon Mar 28 18:31:49 1994 Roland McGrath (roland@mole.gnu.ai.mit.edu)
-
- * configure.in: Do AC_SET_MAKE.
- * GNUmakefile (Makefile.in): Edit MAKE assignment into @SET_MAKE@.
-
-Fri Mar 4 00:02:32 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * function.c (subst_expand): If BY_WORD or SUFFIX_ONLY is set and
- the search string is the empty string, find a match at the end of
- each word (using end_of_token in place of sindex).
-
- * misc.c (end_of_token): Don't treat backslashes specially; you
- can no longer escape blanks with backslashes in export, unexport,
- and vpath. This was never documented anyway.
-
-Thu Mar 3 23:53:46 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * read.c (read_makefile): Variable name for `define' is not just
- first token; use whole rest of line and strip trailing blanks.
-
-Wed Feb 16 16:03:45 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.70.1.
-
- * read.c (read_makefile): Add -d msg stating args.
-
- * read.c (read_makefile): Use isspace to skip over leading
- whitespace, and explicitly avoid skipping over tabs. Don't want
- to skip just spaces though; formfeeds et al should be skipped.
-
- * default.c (default_variables) [__hpux]: Add f in ARFLAGS.
-
- * arscan.c (ar_name_equal) [__hpux]: Subtract 2 instead of 1 from
- sizeof ar_name for max length to compare.
-
- * misc.c [GETLOADAVG_PRIVILEGED] [POSIX]: Undefine HAVE_SETREUID
- #ifdef HAVE_SETUID; likewise HAVE_SETREGID and HAVE_SETGID.
-
- * main.c (main): Call user_access after setting `program', in case
- it needs to use it in an error message.
-
- * read.c (read_makefile): Ignore an empty line starting with a tab.
-
-Thu Feb 10 21:45:31 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * configure.in (AC_SYS_SIGLIST_DECLARED): Use this instead of
- AC_COMPILE_CHECK that is now its contents.
-
-Fri Feb 4 16:28:54 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * make.h: #undef strerror after #include .
- [! ANSI_STRING]: Declare strerror.
-
-Thu Feb 3 02:21:22 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * misc.c (strerror): #undef any macro before function definition.
-
-Mon Jan 31 19:07:23 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * variable.c (try_variable_definition): Calculate BEG before loop
- to strip blanks by decrementing END. Don't decr END to before BEG.
-
- * read.c (read_makefile): Skip over leading space characters, but
- not tabs, after removing continuations and comments (it used to
- use isspace).
-
-Tue Jan 25 16:45:05 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * variable.c (define_automatic_variables): In $(@D) et al, use
- patsubst to remove trailing slash.
-
- * commands.c (delete_target): New function, broken out of
- delete_child_targets. Check for archive members and give special msg.
- (delete_child_targets): Use delete_target.
-
-Mon Jan 17 17:03:22 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * default.c (default_suffix_rules): Use $(TEXI2DVI_FLAGS) in
- texi2dvi rules. Use $(MAKEINFO_FLAGS) in makeinfo rules.
-
-Tue Jan 11 19:29:55 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * GNUmakefile (tarfiles): Omit make-doc.
- (make-$(version).tar): Include make.info*.
-
-Fri Jan 7 16:27:00 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * compatMakefile (configure, config.h.in): Comment out rules.
-
-Thu Jan 6 18:08:08 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * compatMakefile (binprefix, manprefix): New variables.
- (instname): Variable removed.
- (install): Use $({bin,man}prefix)make in place of $(instname).
- File targets likewised renamed.
-
-Mon Jan 3 17:50:25 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.70 released.
-
-Thu Dec 23 14:46:54 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.69.3.
-
- * read.c (parse_file_seq): Inside multi-word archive ref
- translation loop, check NEW1==0 at end and break out of the loop.
-
- * GNUmakefile (make-$(version).tar): Distribute install.sh.
- * install.sh: New file.
-
- * configure.in (SCCS_GET_MINUS_G check): Put redirection for admin
- cmds outside subshell parens, to avoid "command not found" msgs
- from the shell.
-
-Wed Dec 22 17:00:43 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * configure.in (SCCS_GET_MINUS_G check): Put -G flag last in get cmd.
- Redirect output & error from get to /dev/null.
- Fix reversed sense of test.
-
-Fri Dec 17 15:31:36 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * configure.in (SCCS_GET_MINUS_G check): Use parens instead of
- braces inside if condition command; some shells lose.
-
-Thu Dec 16 15:10:23 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.69.2.
-
- * arscan.c [M_UNIX]: Move #undef M_XENIX for PORTAR stuff.
- (PORTAR) [M_XENIX]: Define to 0 instead of 1.
-
- * main.c (define_makeflags): Only export MAKEFLAGS if !ALL.
-
-Wed Dec 15 17:47:48 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * main.c (main): Cast result of pointer arith to unsigned int
- before passing to define_variable for envars. Matters when
- sizeof(unsigned)!=sizeof(ptrdiff_t).
-
-Tue Dec 14 14:21:16 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * configure.in: Add new check for SCCS_GET_MINUS_G.
- * config.h.in: Add #undef SCCS_GET_MINUS_G.
- * default.c (default_terminal_rules): Use `$(SCCS_OUTPUT_OPTION)' in
- place of `-G $@' in SCCS commands.
- (default_variables) [SCCS_GET_MINUS_G]: Define SCCS_OUTPUT_OPTION
- to "-G$@".
-
- * configure.in (AC_OUTPUT): Put touch stamp-config in second arg
- (so it goes in config.status), rather than afterward.
-
- * ar.c (ar_member_date): Don't call enter_file on the archive file
- if it doesn't exist (by file_exists_p).
-
- * compatMakefile ($(infodir)/make.info): Replace `$$d/foo.info'
- with `$$dir/make.info' in install-info invocation (oops).
-
- * vpath.c (construct_vpath_list): Only set LASTPATH set PATH when
- we do not unlink and free PATH.
-
- * file.c (print_file_data_base): Fix inverted calculation for
- average files per hash bucket.
-
- * read.c (readline): When we see a NUL, give only a warning and
- synthesize a newline to terminate the building line (used to
- fatal). Move fgets call into the loop condition, and after the
- loop test ferror (used to test !feof in the loop).
-
-Fri Dec 3 16:40:31 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * configure.in: Check for strerror in AC_HAVE_FUNCS.
-
-Thu Dec 2 15:37:50 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- Differentiate different flavors of missing makefile error msgs,
- removing gratuitous `fopen: ' and giving caller for included makefiles.
- * misc.c [! HAVE_STRERROR]: Define our own strerror here.
- (perror_with_name, pfatal_with_name): Use strerror instead of
- replicating its functionality.
- * read.c (read_makefile): Return int instead of void.
- (read_all_makefiles, read_makefile): Change callers to notice zero
- return and give error msg.
-
-Thu Nov 11 11:47:36 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.69.1.
-
- * default.c: Put `-G $@' before $< in SCCS cmds.
-
-Wed Nov 10 06:06:14 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * read.c (read_makefile): After trying a variable defn, notice if
- the line begins with a tab, and diagnose an error.
-
-Sun Nov 7 08:07:37 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.69.
-
-Wed Nov 3 06:54:33 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.68.10.
-
- * implicit.c (try_implicit_rule): Look for a normal rule before an
- archive rule.
-
-Fri Oct 29 16:45:28 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * function.c (expand_function: `sort'): Double NWORDS when it
- overflows, instead of adding five.
-
- * compatMakefile (clean): Remove loadavg.
-
-Wed Oct 27 17:58:33 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.68.9.
-
- * file.h (NEW_MTIME): Define new macro.
- * main.c (main): Set time of NEW_FILES to NEW_MTIME, not to
- current time returned from system. Removed variable NOW.
- * remake.c (notice_finished_file): Use NEW_MTIME in place of
- current time here too.
-
-Tue Oct 26 19:45:35 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.68.8.
-
- * remake.c (update_file_1): Don't clear MUST_MAKE when FILE has no
- cmds and !DEPS_CHANGED unless also !NOEXIST.
-
-Mon Oct 25 15:25:21 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * read.c (parse_file_seq): When converting multi-word archive
- refs, ignore a word beginning with a '('.
-
-Fri Oct 22 02:53:38 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * configure.in: Check for sys/timeb.h.
- * make.h [HAVE_SYS_TIMEB_H]: Test this before including it.
-
-Thu Oct 21 16:48:17 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.68.7.
-
- * rule.c (convert_suffix_rule): New local TARGPERCENT. Set it to
- TARGNAME+1 for "(%.o)", to TARGNAME for "%.?". Use it in place of
- TARGNAME to initialize PERCENTS[0].
-
-Mon Oct 18 06:49:35 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * configure.in: Use AC_HAVE_HEADERS(unistd.h) instead of AC_UNISTD_H.
- Remove AC_USG; it is no longer used.
-
- * file.c (print_file): New function, broken out of
- print_file_data_base.
- (print_file_data_base): Call it.
- * rule.c (print_rule): New function, broken out of
- print_rule_data_base.
- (print_rule_data_base): Call it.
-
-Thu Oct 14 14:54:03 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * default.c (install_default_suffix_rules): New function, broken
- out of install_default_implicit_rules.
- (install_default_implicit_rules): Move suffix rule code there.
- * make.h: Declare install_default_suffix_rules.
- * main.c (main): Call install_default_suffix_rules before reading
- makefiles. Move convert_to_pattern call before
- install_default_implicit_rules.
-
- * job.h (struct child): Make `pid' member type `pid_t' instead of
- `int'.
-
- * compatMakefile (RANLIB): New variable, set by configure.
- (glob/libglob.a): Pass RANLIB value down to submake.
-
- Fixes for SCO 3.2 "devsys 4.2" from pss@tfn.com (Peter Salvitti).
- * make.h: Include before for SCO lossage.
- * job.c [! getdtablesize] [! HAVE_GETDTABLESIZE]: If NOFILE is not
- defined but NOFILES_MAX is, define it to be that.
-
-Mon Oct 11 19:47:33 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * GNUmakefile (make-$(version).tar): Depend on acconfig.h, so it
- is distributed.
-
-Sun Oct 3 15:15:33 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * default.c (default_terminal_rules): Add `-G $@' to SCCS get cmds.
-
-Tue Sep 28 14:18:20 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * job.c (construct_command_argv_internal): Add ^ to SH_CHARS; it
- is another symbol for | in some shells.
- * main.c (main): Add it to CMD_DEFS quoting list as well.
-
-Mon Sep 20 18:05:24 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * job.c (construct_command_argv_internal): Remove '=' from
- SH_CHARS. Only punt on '=' if it is unquoted in a word before the
- first word without an unquoted '='.
-
- * main.c (define_makeflags): Set v_export for MAKEFLAGS.
-
-Fri Sep 17 00:37:18 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * remake.c (update_file_1): Use .DEFAULT cmds for phony targets.
-
- * make.h [_AIX && _POSIX_SOURCE]: Define POSIX.
-
- * commands.c (delete_child_targets): Don't delete phony files.
-
- * job.c (start_job_command): Set COMMANDS_RECURSE in FLAGS if we
- see a `+' at the beginning of the command line.
-
-Thu Sep 9 17:57:14 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.68.6.
-
-Wed Sep 8 20:14:21 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * main.c (define_makeflags): Define MAKEFLAGS with o_file, not o_env.
-
-Mon Aug 30 12:31:58 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * expand.c (variable_expand): Fatal on an unterminated reference.
-
-Thu Aug 19 16:27:53 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.68.5.
-
- * variable.c (define_automatic_variables): Define new o_default
- variable `MAKE_VERSION' from version_string and remote_description.
-
- * make.h (version_string, remote_description): Declare these here.
- * main.c: Don't declare version_string.
- (print_version): Don't declare remote_description.
-
-Wed Aug 18 15:01:24 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * read.c (read_makefile): Free space pointed to by CONDITIONALS
- before restoring the old pointer.
-
-Mon Aug 16 17:33:36 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * compatMakefile ($(objs)): Depend on config.h.
-
- * GNUmakefile (build.sh.in): Depend on compatMakefile.
-
- * configure.in: Touch stamp-config after AC_OUTPUT.
-
-Fri Aug 13 16:04:22 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.68.4.
-
-Thu Aug 12 17:18:57 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * make.h: Include instead of "config.h".
-
-Wed Aug 11 02:35:25 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * main.c (main): Make all variables interned from ENVP be v_export.
- * variable.c (try_variable_definition): In v_default case, don't
- check for an o_file variable that `getenv' finds.
-
- * job.c (reap_children): New local variable ANY_LOCAL; set it
- while setting ANY_REMOTE. If !ANY_LOCAL, don't wait for local kids.
-
- * main.c (main): Don't call decode_env_switches on MFLAGS. DOC THIS.
-
- * function.c (expand_function): #if 0 out freeing of ENVP since it
- is environ.
-
-Mon Aug 9 17:37:20 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.68.3.
-
- * remote-stub.c (remote_status): Set errno to ECHILD before return.
- * job.c (reap_children): Scan the chain for remote children and
- never call remote_status if there are none.
-
- * function.c (expand_function: `shell'): #if 0 out calling
- target_environment; just set ENVP to environ instead.
-
- * job.c (reap_children): Check for negative return from
- remote_status and fatal for it.
- When blocking local child wait returns 0, then try a blocking call
- to remote_status.
-
-Tue Aug 3 00:19:00 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * compatMakefile (clean): Delete make.info* and make.dvi here.
- (distclean): Not here.
-
- * dep.h (RM_*): Use #defines instead of enum to avoid lossage from
- compilers that don't like enum values used as ints.
-
-Mon Aug 2 16:46:34 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * compatMakefile (loadavg): Add $(LOADLIBES).
-
-Sun Aug 1 16:01:15 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.68.2.
-
- * compatMakefile (loadavg, check-loadavg): New targets.
- (check): Depend on check-loadavg.
-
- * compatMakefile (glob/libglob.a): Depend on config.h.
-
- * misc.c (log_access): Write to stderr instead of stdout.
-
-Fri Jul 30 00:07:02 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.68.1.
-
-Thu Jul 29 23:26:40 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * configure.in (SYS_SIGLIST_DECLARED): In test program include
- #ifdef HAVE_UNISTD_H.
-
- * compatMakefile (.PHONY): Put after `all' et al.
-
- * configure.in: Add AC_IRIX_SUN.
-
-Wed Jul 28 17:41:12 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.68.
-
-Mon Jul 26 14:36:49 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.67.8.
-
-Sun Jul 25 22:09:08 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.67.7.
-
- * compatMakefile ($(infodir)/make.info): Don't use $(instname).
- Run install-info script if present.
-
-Fri Jul 23 16:03:50 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * make.h [STAT_MACROS_BROKEN]: Test this instead of [uts].
-
- * configure.in: Add AC_STAT_MACROS_BROKEN.
-
-Wed Jul 14 18:48:11 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.67.6.
-
- * read.c (read_makefile): Recognize directive `-include', like
- `include' but sets RM_DONTCARE flag.
-
- * variable.c (target_environment): If FILE is nil, use
- current_variable_set_list in place of FILE->variables.
- * function.c (expand_function: `shell'): Get an environment for
- the child from target_environment instead of using environ.
-
- * dep.h: Declare read_all_makefiles here.
- (RM_*): Define new enum constants.
- * read.c (read_makefile): Second arg is FLAGS instead of TYPE.
- Treat it as a bit mask containing RM_*.
- (read_all_makefiles): For default makefiles, set D->changed to
- RM_DONTCARE instead of 1.
- * main.c: Don't declare read_all_makefiles here.
- (main): Check `changed' member of read_makefiles elts for RM_*
- flags instead of specific integer values.
-
-Mon Jul 12 22:42:17 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * make.h [sequent && i386]: #undef POSIX. From trost@cse.ogi.edu.
-
-Thu Jul 8 19:51:23 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * vpath.c (construct_vpath_list): If ELEM is zero 0, free PATTERN
- as well as VPATH.
- (build_vpath_lists): Empty `vpaths' around construct_vpath_list
- call for $(VPATH). Expand $(strip $(VPATH)), not just $(VPATH).
-
- * rule.c (convert_suffix_rule): Use alloca instead of xmalloc for
- PERCENTS, whose storage is not consumed by create_pattern_rule.
-
- * make.h [__mips && _SYSTYPE_SVR3]: #undef POSIX.
-
-Wed Jun 30 18:11:40 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.67.5.
-
- * rule.c (max_pattern_targets): New variable.
- (count_implicit_rule_limits): Compute its value.
- * rule.h: Declare it.
- * implicit.c (pattern_search): Make TRYRULES max_target_patterns
- times bigger. Move adding new TRYRULES elt inside the inner
- targets loop, so each matching target gets its own elt in MATCHES
- and CHECKED_LASTSLASH.
-
- * file.c (remove_intermediates): If SIG!=0 say `intermediate file'
- instead of just `file' in error msg.
-
-Fri Jun 25 14:55:15 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * job.c (construct_command_argv): Turn off
- --warn-undefined-variables around expansion of SHELL and IFS.
- * read.c (tilde_expand): Likewise for HOME.
- (read_all_makefiles): Likewise for MAKEFILES.
- * vpath.c (build_vpath_lists): Likewise for VPATH.
-
- * main.c (warn_undefined_variables_flag): New flag variable.
- (switches): Add --warn-undefined-variables.
- * make.h (warn_undefined_variables_flag): Declare it.
- * expand.c (warn_undefined): New function.
- (reference_variable): Call it if the variable is undefined.
- (variable_expand): In substitution ref, call warn_undefined if the
- variable is undefined.
-
- * default.c (default_pattern_rules): Add `%.c: %.w %.ch' and
- `%.tex: %.w %.ch' rules.
- (default_suffix_rules: .w.c, .w.tex): Pass three args: $< - $@.
- (default_suffixes): Add `.ch'.
-
-Mon Jun 21 17:55:39 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * default.c (default_suffixes): Replace `.cweb' with `.w'.
- (default_suffix_rules): Rename `.cweb.c' and `.cweb.tex' to `.w.c'
- and `.w.tex'.
-
-Fri Jun 11 14:42:09 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * compatMakefile ($(bindir)/$(instname)): Add missing backslash.
-
-Thu Jun 10 18:14:08 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.67.4.
-
- * read.c (multi_glob): Don't free OLD and OLD->name in the
- FOUND!=0 fork. Use new block-local variable F instead of
- clobbering OLD.
-
- * ar.c (glob_pattern_p): New function, snarfed from glob/glob.c.
- (ar_glob): Call it; return nil immediately if MEMBER_PATTERN
- contains no metacharacters.
-
-Wed Jun 9 16:25:35 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * ar.c (ar_glob{_match,_alphacompare}): New function.
-
- * dep.h [! NO_ARCHIVES]: Declare it.
- * read.c (multi_glob) [! NO_ARCHIVES]: Use it on archive member elts.
-
- * read.c (read_makefile): Pass flag (1) to parse_file_seq, not to
- multi_glob (which doesn't take a 3rd arg).
- * rule.c (install_pattern_rule): Likewise.
- * default.c (set_default_suffixes): Here too.
- * function.c (string_glob): Don't pass gratuitous arg to multi_glob.
-
- * read.c (parse_file_seq) [! NO_ARCHIVES]: Add post-processing
- loop to translate archive refs "lib(a b)" into "lib(a) lib(b)".
-
-Mon Jun 7 19:26:51 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * compatMakefile (installdirs): Actually pass directory names.
- ($(bindir)/$(instname)): Test chgrp&&chmod exit status with `if';
- if it fails, echo a warning msg, but don't make the rule fail.
-
- * read.c (tilde_expand): New function, broken out of tilde_expand.
- (multi_glob): Call it.
- (construct_include_path): Expand ~ in directory names.
- * dep.h: Declare tilde_expand.
- * main.c (enter_command_line_file): Expand ~ at the start of NAME.
- (main): Expand ~ in -C args.
- * read.c (read_makefile): Expand ~ in FILENAME unless TYPE==2.
-
-Fri Jun 4 13:34:47 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * main.c (decode_env_switches): Use xmalloc instead of alloca for ARGS.
-
- * main.c (main): Put result of alloca in temporary variable with
- simple assignment, to make SGI compiler happy.
-
-Thu Jun 3 20:15:46 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.67.3.
-
- * main.c (main): Before re-execing, remove intermediate files, and
- print the data base under -p. Sexier debugging message.
-
- * implicit.c (pattern_search): Allocate an extra copy of the name
- of a winning intermediate file when putting it in FOUND_FILES.
-
-Wed Jun 2 16:38:08 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * read.c (read_makefile): Pass flag (1) to parse_file_seq, not to
- multi_glob (which doesn't take a 3rd arg).
-
- * dir.c (dir_contents_file_exists_p): When reading dirents, ignore
- chars within D_NAMLEN that are NULs.
-
- * main.c (decode_switches): Don't savestring ARGV[0] to put it
- into `other_args'.
- For string switch, don't savestring `optarg'.
- (main): Don't free elts of makefiles->list that are "-".
- Use alloca'd rather than savestring'd storage for elts of
- makefiles->list that are temporary file names.
- * read.c (read_all_makefiles): Don't free *MAKEFILES.
- * file.c (enter_file): Don't strip `./'s.
- * main.c (enter_command_line_file): New function.
- (main): Use it in place of enter_file for command-line goals from
- other_files, and for old_files and new_files.
-
-Mon May 31 18:41:40 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.67.2.
-
- * compatMakefile (.SUFFIXES): Add .info.
- ($(infodir)/$(instname).info): Find make.info* in cwd if there,
- else in $srcdir. Use basename to remove dir name from installed name.
-
-Thu May 27 17:35:02 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * implicit.c (pattern_search): When interning FOUND_FILES, try
- lookup_file first; if found, free the storage for our copy of the name.
-
-Wed May 26 14:31:20 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.67.1.
-
- * main.c (decode_switches): In usage msg, write `--switch=ARG' or
- `--switch[=OPTARG]' rather than `--switch ARG' or `--switch [ARG]'.
-
-Mon May 24 16:17:31 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * rule.c (convert_suffix_rule): New function.
- (convert_to_pattern): Use it instead of doing all the work here
- several times.
- For target suffix `.a', generate both the archive magic rule and
- the normal rule.
-
- * compatMakefile (distclean): Remove stamp-config.
-
-Sat May 22 16:15:18 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.67.
-
- * file.c (remove_intermediates): Don't write extra space after `rm'.
-
- * main.c (struct command_switch.type): Remove `usage_and_exit'.
- (print_usage_flag): New variable.
- (switches: --help): Make type `flag', to set print_usage_flag.
- (init_switches): Remove `usage_and_exit' case.
- (decode_switches): Likewise.
- (decode_switches): Print usage if print_usage_flag is set.
- When printing usage, die with status of BAD.
- (main): Die with 0 if print_version_flag.
-
-Fri May 21 16:09:28 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.66.
-
-Wed May 19 21:30:44 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * compatMakefile (installdirs): New target.
- (install): Depend on it.
-
-Sun May 16 20:15:07 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.65.2.
-
-Fri May 14 16:40:09 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * vpath.c (construct_vpath_list): In removal loop for DIRPATH==0,
- set LASTPATH to PATH, not NEXT.
-
- * dir.c (read_dirstream): Break out of loop after incrementing
- DS->buckets such that it reaches DIRFILE_BUCKETS; avoid trying to
- dereference DS->contents->files[DIRFILE_BUCKETS].
-
- * read.c (read_makefile): Clear no_targets after reading a
- targetful rule line.
-
- * main.c (main): If print_version_flag is set, exit after printing
- the version.
- (switches): Change --version docstring to say it exits.
-
- * make.h [butterfly]: #undef POSIX.
-
-Wed May 12 15:20:21 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * Version 3.65.1.
-
- * arscan.c (ar_scan) [! AIAMAG]: Don't declare LONG_NAME.
- [AIAMAG]: Pass TRUNCATE flag arg to (*FUNCTION), always zero.
-
- * function.c (handle_function): Use fatal instead of
- makefile_fatal when reading_filename is nil.
-
- * configure.in: Add AC_GETGROUPS_T.
- * job.c (search_path): Use GETGROUPS_T in place of gid_t.
-
-Sun May 9 15:41:25 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.65.
-
-Fri May 7 18:34:56 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * function.c (handle_function): Fatal for unmatched paren.
-
-Thu May 6 16:13:41 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.64.3.
-
- * commands.c (handling_fatal_signal): New variable.
- (fatal_error_signal): Set it.
- * job.c (reap_children): Avoid nonreentrant operations if that is set.
- * make.h: Declare handling_fatal_signal.
-
- * expand.c (reference_variable): New function, snippet of code
- broken out of simple-reference case of variable_expand.
- (variable_expand): Use it for simple refs.
- (variable_expand): When checking for a computed variable name,
- notice a colon that comes before the final CLOSEPAREN. Expand
- only up to the colon, and then replace the pending text with a
- copy containing the expanded name and fall through to subst ref
- handling.
- (variable_expand): Don't bother expanding the name if a colon
- appears before the first $.
- (expand_argument): Use alloca instead of savestring.
- (variable_expand): For subst ref, expand both sides of = before
- passing to [pat]subst_expand. Use find_percent instead of lindex
- to check the lhs for a %.
-
-Wed May 5 14:45:52 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.64.2.
-
-Mon May 3 17:00:32 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * arscan.c (ar_name_equal) [AIAMAG]: Abort if TRUNCATED is nonzero.
-
- * read.c (read_makefile): Pass extra arg of 1 to parse_file_seq,
- not to multi_glob.
-
-Thu Apr 29 19:47:33 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.64.1.
-
- * arscan.c (ar_scan): New local flag var LONG_NAME. Set it when
- we read the member name in any of the fashions that allow it to be
- arbitrarily long. Pass its negation to FUNCTION.
- (describe_member): Take TRUNCATED from ar_scan and print it.
- (ar_name_equal): Take new arg TRUNCATED; if nonzero, compare only
- the first sizeof (struct ar_hdr.ar_name) chars.
- (ar_member_pos): Take TRUNCATED from ar_scan, pass to ar_name_equal.
- * ar.c (ar_member_date_1): Likewise.
-
-Wed Apr 28 21:18:22 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * job.c (reap_children): Before calling start_job_command to start
- the next command line, reset C->remote by calling start_remote_job_p.
-
-Mon Apr 26 15:56:15 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * arscan.c (ar_scan): New local var NAMEMAP.
- In loop, rename NAME to NAMEBUF; new var NAME is a pointer; new
- flag IS_NAMEMAP. When extracting the member name, always put a
- null at its end first. If the name is "//" or "/ARFILENAMES", set
- IS_NAMEMAP. If we have already read in NAMEMAP, and NAME looks
- like " /N", get full name from NAMEMAP+N.
- Else if NAME looks like "#1/N", read N chars from the
- elt data to be the full name. At end of loop, if IS_NAMEMAP, read
- the elt's data into alloca'd NAMEMAP.
- (ar_name_equal): #if 0 truncating code.
-
- * make.h: Don't declare vfork at all. It returns int anyway,
- unless declared it; and we conflicted with some systems.
-
- * main.c (define_makeflags): If FLAGSTRING[1] is '-', define
- MAKEFLAGS to all of FLAGSTRING, not &FLAGSTRING[1]. Don't want to
- define it to something like "-no-print-directory".
- Use %g format instead of %f for floating-valued things.
-
-Thu Apr 22 18:40:58 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * GNUmakefile (Makefile.in): Use a substitution ref on nolib-deps
- to change remote-%.dep to remote-stub.dep.
-
-Wed Apr 21 15:17:54 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.64.
-
-Fri Apr 16 14:22:22 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * compatMakefile (install): Remove - prefix from chgrp+chmod.
-
- * Version 3.63.8.
-
-Thu Apr 15 18:24:07 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * acconfig.h: New file; contains "#undef SCCS_GET" for autoheader.
- * configure.in: If /usr/sccs/get exists, define SCCS_GET to that,
- else to "get".
- * default.c (default_variables): Set GET to macro SCCS_GET.
-
- * read.c (parse_file_seq): Take extra arg STRIP; strip `./' only
- if nonzero. I hope this is the last time this argument is added
- or removed.
- (read_makefile): Pass it 1 when parsing include file names.
- Pass it 1 when parsing target file names.
- Pass it 1 when parsing static pattern target pattern names.
- * rule.c (install_pattern_rule): Pass it 1 when parsing rule deps.
- * default.c (set_default_suffixes): Pass it 1 when parsing
- default_suffixes.
- * function.c (string_glob): Pass it 0 here.
-
-Wed Apr 14 11:32:05 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * misc.c (log_access): New function.
- ({init,user,make,child}_access): Call it.
- (child_access): Abort if !access_inited.
-
- * main.c (switches: --no-print-directory): Use 1 instead of -1 for
- single-letter option.
- (init_switches, decode_switches, define_makeflags): An option with
- no single-letter version is no longer indicated by a value of -1;
- instead a value that is !isalnum.
- (init_switches): Don't put such switches into the string, only
- into the long_option table.
-
- * make.h [!NSIG] [!_NSIG]: #define NSIG 32.
-
- * job.c [HAVE_WAITPID]: Remove #undef HAVE_UNION_WAIT. AIX's
- bsdcc defined WIF* to use union wait.
-
- * main.c (struct command_switch): Change member `c' to type int.
- (switches): Make const.
- (decode_switches): Use `const struct command_switch *'.
- (define_makeflags): Likewise.
-
- * default.c (default_suffix_rules): Add `-o $@' to makeinfo rules.
-
-Mon Apr 12 12:30:04 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.63.7.
-
- * configure.in (AC_HAVE_HEADERS): Check for string.h and memory.h.
- Removed AC_MEMORY_H.
- * make.h [USG, NeXT]: Don't test these.
- [HAVE_STRING_H]: Test this to include string.h and define ANSI_STRING.
- [HAVE_MEMORY_H]: Test this instead of NEED_MEMORY_H.
- [! ANSI_STRING]: Put decls of bcopy et al here.
- [sparc]: Don't test this for alloca.h; HAVE_ALLOCA_H is sufficient.
- [HAVE_SIGSETMASK]: Test this rather than USG.
- [__GNU_LIBRARY__ || POSIX]: Don't #include again.
- * main.c (main): Handle SIGCHLD if defined, and SIGCLD if defined.
- It doesn't hurt to do both if they are both defined, and testing
- USG is useless.
- * dir.c: Rationalize directory header conditionals.
- * arscan.c [HAVE_FCNTL_H]: Test this rather than USG || POSIX.
-
- * default.c (default_suffixes): Add `.txinfo'.
- (default_suffix_rules): Add `.txinfo.info' and `.txinfo.dvi' rules.
-
- * variable.c (try_variable_definition): Replace RECURSIVE flag
- with enum FLAVOR, which can be simple, recursive, or append.
- Recognize += as append flavor. Set new variable VALUE in a switch
- on FLAVOR. For append flavor, prepend the variable's old value.
- If the variable was previously defined recursive, set FLAVOR to
- recursive; if it was defined simple, expand the new value before
- appending it to the old value. Pass RECURSIVE flag to
- define_variable iff FLAVOR == recursive.
-
- * variable.c (try_variable_definition): Use alloca and bcopy for
- NAME, instead of savestring. Might as well use stack storage
- since we free it immediately anyway.
-
-Thu Apr 8 18:04:43 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * job.c (start_waiting_jobs): Move decl of JOB outside of loop.
-
- * main.c (define_makeflags): Rename `struct flag' member `switch'
- to `cs', which is not a reserved word.
-
-Wed Apr 7 15:30:51 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * job.c (new_job): Call start_waiting_jobs first thing.
- (start_waiting_job): Changed return type from void to int.
- Return 0 when putting the child on the waiting_jobs chain.
- (start_waiting_jobs): Don't check load and job_slots here.
- Always take a job off the chain and call start_waiting_job on it;
- give up and return when start_waiting_job returns zero.
-
- * main.c (define_makeflags: struct flag): Change member `char c' to
- `struct command_switch *switch'.
- (ADD_FLAG): Set that to CS instead of CS->c.
- If CS->c is -1, increment FLAGSLEN for the long name.
- When writing out FLAGS, handle FLAGS->switch->c == -1 and write
- the long name instead.
-
- * compatMakefile (stamp-config): New target of old config.h rule.
- Touch stamp-config after running config.status.
- (config.h): Just depend on stamp-config, and have empty commands.
-
-Mon Apr 5 20:14:02 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * job.c [HAVE_WAITPID]: #undef HAVE_UNION_WAIT.
-
- * configure.in (AC_HAVE_FUNCS): Check for psignal.
-
-Fri Apr 2 17:15:46 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * main.c (long_option_aliases): Remove "new"; it is already an
- unambiguous prefix of "new-file".
-
-Sun Mar 28 16:57:17 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * Version 3.63.6.
-
-Wed Mar 24 14:26:19 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * vpath.c (selective_vpath_search): When adding the
- name-within-directory at the end of NAME, and we don't add a
- slash, don't copy FILENAME in one char too far into NAME.
-
- * variable.c (define_automatic_variables): Find default_shell's
- length with strlen, not numerology.
-
-Wed Mar 17 20:02:27 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * main.c (define_makeflags): Add the elts of a string option in
- reverse order, so they come out right when reversed again.
-
-Fri Mar 12 15:38:45 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * compatMakefile (make.info): Use `-o make.info'.
-
-Thu Mar 11 14:13:00 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * compatMakefile (REMOTE): Set to @REMOTE@; change comments to
- reflect new use.
- (objs): Replace remote.o with remote-$(REMOTE).o.
- (srcs): Replace remote.c with remote-$(REMOTE).c.
- (remote.o): Rule removed.
-
- * configure.in (REMOTE): Subst this in Makefile et al; default "stub".
- Use AC_WITH to grok --with-customs arg to set REMOTE=cstms.
- * GNUmakefile (build.sh.in): Filter out remote-% from objs list.
- * build.template (REMOTE): New var; set to @REMOTE@.
- (objs): Add remote-${REMOTE}.o.
-
-Wed Mar 10 15:12:24 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * Version 3.63.5.
-
- * implicit.c (pattern_search): Fix "dependent"->"dependency" in
- "Rejecting impossible" -d msg.
-
- * file.c (file_hash_enter): New local vars {OLD,NEW}BUCKET. Store
- mod'd values there; never mod {OLD,NEW}HASH.
-
-Mon Mar 8 13:32:48 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * remake.c [eta10]: Include instead of .
-
- * compatMakefile (VPATH): Set this to @srcdir@.
- (srcdir): Set this to $(VPATH).
-
- * main.c (main): New local var DIRECTORY_BEFORE_CHDIR. Save in it
- a copy of CURRENT_DIRECTORY after the first getcwd. Use it
- instead of CURRENT_DIRECTORY when chdir'ing back before re-execing.
-
- * remake.c (notice_finished_file): Pass missing SEARCH arg to f_mtime.
-
- * read.c (read_makefile): Remove extraneous arg to parse_file_seq.
-
-Mon Feb 22 14:19:38 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * compatMakefile ($(infodir)/$(instname).info): Use , instead of /
- as the sed delimiter char.
-
-Sun Feb 21 14:11:04 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.63.4.
-
- * rule.h (struct rule): Removed `subdir' member.
- * rule.c (new_pattern_rule): No need to clear it.
- (count_implicit_rule_limits): Set the `changed' flag in each dep
- that refers to a nonexistent directory. No longer set rule-global
- `subdir' flag with that information.
- (print_rule_data_base): Don't record info on `subdir' flags.
-
- * implicit.c (pattern_search): Check the DEP->changed flag rather
- than the (now gone) RULE->subdir flag. Also test CHECK_LASTSLASH;
- if it is set, the file might exist even though the DEP->changed
- flag is set.
-
- * rule.c (count_implicit_rule_limits): Pass "", not ".", as file
- name arg to dir_file_exists_p to check for existence of directory.
-
- * implicit.c (pattern_search): Inside dep-finding loop, set
- CHECK_LASTSLASH from the value recorded in CHECKED_LASTSLASH[I],
- rather than computing it anew.
-
- * commands.c (set_file_variables): Must alloca space for PERCENT
- and copy it, to avoid leaving the trailing `)' in the value.
-
- * misc.c (remove_comments): Fixed backslash-checking loop
- condition to allow it to look at the first char on the line.
- P2 >= LINE, not P2 > LINE.
-
- * compatMakefile ($(bindir)/$(instname)): Before moving $@.new to
- $@, rm $@.old and mv $@ to $@.old.
-
- * variable.c (try_variable_definition): Take new args FILENAME and
- LINENO. Fatal if the variable name is empty.
- * read.c (read_makefile): Change callers.
- * main.c (main): Likewise.
-
- * compatMakefile (group): Define to @KMEM_GROUP@, autoconf magic
- that configure will replace with the group owning /dev/kmem.
-
-Mon Feb 8 14:26:43 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * vpath.c (vpath_search): Take second arg MTIME_PTR, pass thru to
- selective_vpath_search.
- (selective_vpath_search): Take second arg MTIME_PTR.
- If the dir cache thinks a file exists, stat it to make sure, and
- put the modtime in *MTIME_PTR.
- * remake.c (library_search): Take second arg MTIME_PTR.
- When we find a match, record its mtime there.
- Pass MTIME_PTR through to vpath_search to do same.
- (f_mtime): Pass &MTIME as new 2nd arg to {vpath,library}_search;
- store it in FILE->last_mtime if set nonzero.
- * implicit.c (pattern_search): Pass nil 2nd arg to vpath_search.
-
- * compatMakefile (remote.o): Prepend `$(srcdir)/' to `remote-*.c',
- so globbing looks somewhere it will find things.
-
- * compatMakefile ($(infodir)/$(instname).info): Install `make.info*'
- not `$(srcdir)/make.info*'; no need to use basename.
-
-Fri Feb 5 12:52:43 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * Version 3.63.3.
-
- * compatMakefile (install): Add missing ;\s.
-
- Make -, @, and + prefixes on a pre-expanded command line affect
- all lines in the expansion, not just the first.
- * commands.h (struct commands): Replace `lines_recurse' member
- with `lines_flags'.
- (COMMANDS_{RECURSE,SILENT,NOERROR}): New macros, bits to set in
- that flag byte.
- * commands.c (chop_commands): Set `lines_flags' instead of
- `lines_recurse'. Record not only + but also @ and - prefixes.
- * remake.c (notice_finished_file): Check the COMMANDS_RECURSE bit
- in FILE->cmds->lines_flags, rather than FILE->cmds->lines_recurse.
- * job.c (start_job_command): Replaced RECURSIVE and NOPRINT local
- var with FLAGS; initialize it to the appropriate `lines_flags' byte.
- Set CHILD->noerror if the COMMANDS_NOERROR bit is set in FLAGS.
- Set the COMMANDS_SILENT bit in FLAGS for a @ prefix.
-
- * remake.c (update_goal_chain): Set G->file to its prev after
- checking for G being finished, since that check needs to examine
- G->file.
-
- * configure.in (union wait check) [HAVE_WAITPID]: Try using
- waitpid with a `union wait' STATUS arg. If waitpid and union wait
- don't work together, we should not use union wait.
-
- * Version 3.63.2.
-
- * remake.c (update_goal_chain): When G->file->updated, move
- G->file to its prev. We aren't finished until G->file is nil.
-
-Thu Feb 4 12:53:04 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * main.c (starting_directory): New global variable.
- (main): Set it to cwd after doing -Cs.
- (log_working_directory): Use it, rather than computing each time.
- * make.h: Declare it.
-
- * compatMakefile (SHELL): Define to /bin/sh for losing Unix makes.
-
- * main.c (decode_env_switches): Allocate (1 + LEN + 1) words for
- ARGV, rather than LEN words plus one byte.
-
-Wed Feb 3 18:13:52 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * compatMakefile ($(bindir)/$(instname)): Put - before
- install_setgid command line, so its failure won't be an error.
- (infodir): New variable.
- (install): Depend on $(infodir)/$(instname).info.
- ($(infodir)/$(instname).info): New target.
-
- * read.c (read_makefile): If FILENAMES is nil when we see a line
- starting with a tab, don't treat it as a command. Just fall
- through, rather than giving an error.
-
- * read.c (read_makefile): If the NO_TARGETS flag is set when we see a
- command line, don't clear it before continuing. We want
- subsequent command lines to be ignored as well.
-
- * job.c (new_job): Before expanding each command line, collapse
- backslash-newline combinations that are inside var or fn references.
-
-Mon Feb 1 16:00:13 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * compatMakefile (exec_prefix): Default to $(prefix), not /usr/local.
-
- * compatMakefile (make.info): Pass -I$(srcdir) to makeinfo.
-
- * job.c [POSIX] (unblock_sigs): Made global.
- [!POSIX] (unblock_sigs): Move defns to job.h.
- * job.h [POSIX] (unblock_sigs): Declare.
-
-Sun Jan 31 19:11:05 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * read.c (read_makefile): In vpath parsing, after finding the
- pattern token, take entire rest of line as the search path, not
- just the next token.
-
- * compatMakefile (remote.o): Depend on remote-*.c.
-
-Thu Jan 28 16:40:29 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * commands.c (set_file_variables): Don't define any F or D versions.
- * variable.c (define_automatic_variables): Define them here as
- recursively-expanded variables that use the dir and notdir funcs.
-
- * variable.c (target_environment): In v_default case, don't export
- o_default or o_automatic variables.
-
- * configure.in (union wait check): Remove ` and ' inside C code;
- they confuse the shell script.
-
-Mon Jan 25 13:10:42 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.63.1.
-
- * vpath.c (construct_vpath_list): When skipping further processing
- of an elt that is ".", don't also skip the code that pushes P past
- the next separator.
-
- * compatMakefile (distclean): Don't remove make-*.
-
- * configure.in (HAVE_UNION_WAIT): Try to use WEXITSTATUS if it's
- defined. If one cannot use WEXITSTATUS with a `union wait'
- argument, we don't want to believe the system has `union wait' at all.
-
- * remake.c (update_file): Do nothing to print "up to date" msgs.
- (update_goal_chain): Do it here instead.
- Use the `changed' flag of each goal's `struct dep' to keep track
- of whether files_remade (now commands_started) changed around a
- call to update_file for that goal.
- When a goal is finished, and its file's update_status is zero (i.e.,
- success or nothing done), test the `changed' flag and give an "up
- to date" msg iff it is clear.
- * make.h (files_remade): Renamed to commands_started.
- * remake.c: Changed defn.
- (update_goal_chain): Changed uses.
- * job.c (start_job_command): Increment commands_started here.
- (reap_children): Not here.
-
- * remake.c (update_goal_chain): Don't do anything with files'
- `prev' members. update_file now completely handles this.
-
- * variable.c (target_environment): Don't expand recursive
- variables if they came from the environment.
-
- * main.c (define_makeflags): For flags with omitted optional args,
- store {"", 0} with ADD_FLAG. When constructing FLAGSTRING, a flag
- so stored cannot have more flags appended to the same word.
-
-Fri Jan 22 14:46:16 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * variable.c (print_variable_set): In vars/bucket calculation,
- don't spuriously multiply by 100.
-
- * Version 3.63.
-
- * job.c [!HAVE_UNION_WAIT] (WTERMSIG, WCOREDUMP, WEXITSTATUS):
- Don't define if already defined.
-
- * remake.c (update_file): Don't keep track of the command_state before
- calling update_file_1. Remove local variable COMMANDS_FINISHED,
- and don't test it to decide to print the "is up to date" msg.
- Testing for files_remade having changed should always be sufficient.
- The old method lost when we are called in the goal chain run on a
- makefile, because the makefile's command_state is already
- `cs_finished' from the makefile chain run.
-
- * misc.c [HAVE_SETRE[GU]ID]: Test these to decl setre[gu]id.
-
- * configure.in: Rewrote wait checking.
- Use AC_HAVE_HEADERS to check for .
- Use AC_HAVE_FUNCS to check for waitpid and wait3.
- Use a compile check to test just for `union wait'.
- * job.c: Rewrote conditionals accordingly.
- [HAVE_WAITPID]: Test this only to define WAIT_NOHANG.
- [HAVE_WAIT3]: Likewise.
- [HAVE_UNION_WAIT]: Test this to define WAIT_T and W*.
-
- * configure.in: Set CFLAGS and LDFLAGS before all checks.
-
- * dir.c: Add static forward decls of {open,read}_dirstream.
-
-Thu Jan 21 17:18:00 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * Version 3.62.31.
-
- * job.c [NGROUPS_MAX && NGROUPS_MAX==0]: #undef NGROUPS_MAX.
-
- * compatMakefile (CFLAGS, LDFLAGS): Set to @CFLAGS@/@LDFLAGS@.
- * build.template (CFLAGS, LDFLAGS): Same here.
- * configure.in: AC_SUBST(CFLAGS) and LDFLAGS.
- Set them to -g if not defined in the environment.
-
- * remake.c (library_search): Use LIBNAME consistently, setting it
- only once, to be the passed name sans `-l'.
- Pass new var FILE to be modified by vpath_search.
-
-Mon Jan 18 14:53:54 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.62.30.
-
- * job.c (start_waiting_jobs): Return when job_slots_used is equal to
- job_slots.
-
- * configure.in: Add AC_CONST for the sake of getopt.
-
- * read.c (read_makefile): Continue after parsing `override'
- directive, rather than falling through to lossage.
- Check for EOL or blank after "override define".
-
- * compatMakefile (.c.o, remote.o): Put $(CFLAGS) after other switches.
-
-Fri Jan 15 12:52:52 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.62.29.
-
- * main.c (define_makeflags): After writing everything into
- FLAGSTRING, only back up two chars if [-1] is a dash, meaning we
- just wrote " -". Always terminate the string at *P.
-
- * remake.c (library_search): When constructing names in std dirs,
- use &(*LIB)[2] for the stem, not LIBNAME (which points at the
- buffer we are writing into!).
-
-Thu Jan 14 13:50:06 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * read.c (read_makefile): Set IN_IGNORED_DEFINE for "override
- define" when IGNORING is true.
-
- * compatMakefile (distclean): Remove config.status and build.sh.
-
-Wed Jan 13 16:01:12 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.62.28.
-
- * misc.c (xmalloc, xrealloc): Cast result of malloc/realloc to
- (char *).
-
- * arscan.c (ar_scan) [AIAMAG]: Cast read arg to (char *).
-
- * variable.c (define_automatic_variables): Override SHELL value for
- origin o_env_override as well as o_env.
-
- * GNUmakefile (build.sh.in): Don't replace %globobjs%. Instead,
- add the names of the glob objects (w/subdir) to %objs%.
- * build.template (globobjs): Removed.
- Take basename of $objs before linking.
-
-Tue Jan 12 12:31:06 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * Version 3.62.27.
-
- * configure.in (AC_OUTPUT): Also edit build.sh.
- * build.template: New file.
- * GNUmakefile (build.sh.in): New rule to create it from build.template.
- (make-$(version).tar.Z): Depend on build.sh.in.
-
- * main.c (die): Call print_data_base if -p.
- (main): Don't call it here.
-
- * compatMakefile (defines): Add @DEFS@. configure should turn this
- into -DHAVE_CONFIG_H.
-
-Mon Jan 11 14:39:23 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * Version 3.62.26.
-
- * misc.c (init_access): Surround with #ifdef GETLOADAVG_PRIVILEGED.
- ({make,user,child}_access) [! GETLOADAVG_PRIVILEGED]: Make no-op.
- * compatMakefile (install_setgid): New var, set by configure.
- (install): Install setgid $(group) only if $(install_setgid) is true.
-
-Fri Jan 8 15:31:55 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * job.c (load_too_high): If getloadavg fails with errno==0, give a
- message saying that load limits are not supported.
-
- * vpath.c (construct_vpath_list): Rewrote path deletion code to
- not try to use PATH's next link after freeing PATH.
-
- * main.c (define_makeflags): Rewritten; now handles string-valued
- option, and has no arbitrary limits.
- (switches): Set `toenv' flag for -I and -v.
-
- * main.c (decode_env_switches): Cast return value of alloca to char *.
-
- * misc.c (child_access) [HAVE_SETREUID, HAVE_SETREGID]: Use
- setre[gu]id in place of set[gu]id.
-
-Wed Jan 6 15:06:12 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * main.c (main): Define MAKEOVERRIDES, MAKE, and MAKE_COMMAND with
- origin o_default.
-
- * make.h [POSIX]: Don't test this to use ANSI_STRING.
- Testing STDC_HEADERS should be sufficient.
-
- * job.h: Declare start_waiting_jobs.
-
- * read.c (read_makefile): Add missing parens in if stmt that find
- conditional directives.
-
- * main.c (main): Declare init_dir.
- * implicit.c (pattern_search): Always use two % specs in a
- DEBUGP2, and always pass two non-nil args.
- Cast field width args to int.
- Add missing parens in !RULE->subdir if stmt.
- * function.c (expand_function, patsubst_expand): Add parens around
- assignments inside `while' stmts.
- * commands.c (print_commands): Cast field width args to int.
-
- * read.c (do_define): Cast return value of alloca to (char *).
-
- * main.c (init_switches): New function, broken out of decode_switches.
- (decode_switches): Take new arg ENV. If set, ignore non-option
- args; print no error msgs; ignore options with clear `env' flags.
- (decode_env_switches): Rewritten to chop envar value into words
- and pass them to decode_switches.
- (switches): Set `env' flag for -I and -v.
-
- * dir.c (init_dir): Cast free to __glob_closedir_hook's type.
-
-Tue Jan 5 14:52:15 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.62.25.
-
- * job.c [HAVE_SYS_WAIT || !USG]: Don't #include and
- . interacts badly with , and
- we don't need these anyway.
-
- * configure.in (AC_HAVE_FUNCS): Check for setre[gu]id.
- * misc.c ({user,make}_access): Test #ifndef HAVE_SETRE[GU]ID, not
- #ifdef POSIX || USG. SunOS 4.1 is supposedly POSIX.1 compliant,
- but its set[gu]id functions aren't; its setre[gu]id functions work.
-
- * misc.c ({user,make,child}_access): Give name of caller in error msgs.
-
- * job.c (load_too_high): Say "cannot enforce load limit" in error msg.
-
- * configure.in: Call AC_PROG_CC.
- * compatMakefile (CC): Define to @CC@ (autoconf magic).
-
- * compatMakefile: Add .NOEXPORT magic target.
-
-Mon Jan 4 17:00:03 1993 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * main.c (print_version): Updated copyright to include 93.
-
-Thu Dec 31 12:26:15 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * make.h [_AIX]: Don't declare alloca.
-
-Tue Dec 29 13:45:13 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * Version 3.62.24.
-
- * compatMakefile (objs): Add signame.o.
- (srcs): Add signame.[ch].
-
- * compatMakefile (srcs): Add config.h.in.
- (remote.o): Add -I. before -I$(srcdir).
-
-Mon Dec 28 15:51:26 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.62.23.
-
- * read.c (readline): Fatal when LEN==0, indicating a line starting
- with a NUL.
- (readline): Take new arg LINENO, for use in error msg.
- (read_makefile, do_define): Pass it.
-
- * compatMakefile (glob/libglob.a): Pass -DHAVE_CONFIG_H in CPPFLAGS.
- (.c.o): Add -I. before -I$(srcdir).
-
-Wed Dec 23 12:12:04 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * read.c (read_makefile): Accept and ignore a rule with no targets.
-
- * compatMakefile (ALLOCA_SRC): New variable.
- (srcs): Include its value.
-
- * read.c (struct conditional): Renamed member `max_ignoring' to
- `allocated'; added new member `seen_else'.
- (conditional_line): Initialize seen_else flag when starting an `if...';
- set it when we see an `else'; fatal if set when we see `else'.
- (read_makefile): Fatal "missing `endif'" if there are any pending
- conditionals, not just if we are still ignoring.
-
-Tue Dec 22 15:36:28 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * compatMakefile (manext): Set to 1, not l.
- ($(mandir)/$(instname).$(manext)): Use $(srcdir) for make.man in cmds.
-
- * file.c (file_hash_enter): Don't call uniquize_deps here.
- * read.c (record_files): Likewise.
- * implicit.c (pattern_search): Likewise.
- * commands.c (set_file_variables): Call it only here.
-
- * default.c (default_variables) [__convex__]: FC=fc.
-
- * variable.c (target_environment): Expand the values of recursively
- expanded variables when putting them into the environment.
- * expand.c (recursively_expand): Made global.
- * make.h (recursively_expand): Declare it.
-
- * remake.c (check_dep): Set FILE->command_state to cs_deps_running
- when a dep's command_state is cs_running or cs_deps_running.
-
- * read.c (read_makefile): Changed error msg for spurious cmds to
- not say "first target".
-
-Sun Dec 20 17:56:09 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
-
- * configure.in: Do AC_CONFIG_HEADER right after AC_INIT.
- * make.h (HAVE_CONFIG_H): #include "config.h", then #define this.
- * compatMakefile (config.h, configure, config.h.in): New rules.
- (defines): Removed @DEFS@.
-
-Thu Dec 17 16:11:40 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * compatMakefile (realclean): Just depend on distclean; no cmds.
- (distclean): Do what realclean did before; also remove Makefile and
- config.h; don't remove configure.
- (info, dvi): New targets; depend on make.{info,dvi}.
- (doc): Removed target.
- (MAKEINFO, TEXI2DVI): New vars.
- (make.info, make.dvi): Use them instead of explicit cmds.
-
-Wed Dec 16 16:25:24 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * configure.in: Added fcntl.h to AC_HAVE_HEADERS. getloadavg cares.
-
-Wed Dec 9 15:21:01 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * main.c (long_option_aliases): Add --new-file alias for -W.
-
- * default.c (default_variables): Change all C++ to CXX and C++FLAGS
- to CXXFLAGS.
-
- * read.c (do_define): Expand the variable name before using it.
-
- * main.c (main): Define variable "MAKE_COMMAND" to argv[0];
- define "MAKE=$(MAKE_COMMAND) $(MAKEOVERRIDES)" always.
-
- * remake.c (library_search): Search for libNAME.a in cwd; look in
- vpath before looking in standard dirs, not after.
- Changed order of std dirs to: /lib, /usr/lib, ${prefix}/lib.
-
-Mon Nov 23 14:57:34 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * default.c (default_pattern_rules, default_terminal_rules): Added
- brackets around initializers.
-
- * variable.c (try_variable_definition): Don't check for LINE[0]=='\t'.
- (try_variable_definition): Expand the name before defining the var.
-
- * job.c (init_siglist): Removed function.
- Removed decl of `sys_siglist'.
- * make.h [! HAVE_SYS_SIGLIST]: #include "signame.h".
- [HAVE_SYS_SIGLIST && !SYS_SIGLIST_DECLARED]: Declare sys_siglist
- only under these conditions.
- * main.c (main): Don't declare init_siglist.
- (main) [! HAVE_SYS_SIGLIST]: Call signame_init instead of init_siglist.
-
-Wed Nov 18 14:52:51 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * read.c (record_files): Don't try to append to FIRSTDEPS if it's
- nil; instead just set it to MOREDEPS.
-
-Mon Nov 16 17:49:17 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * vpath.c (construct_vpath_list): Initialize P to DIRPATH before
- loop that sets MAXELEM.
-
-Fri Nov 13 18:23:18 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.62.22.
-
-Thu Nov 12 15:45:31 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * job.c (start_job_command): Under -n, increment files_remade after
- processing (i.e., printing) all command lines.
-
-Tue Nov 10 15:33:53 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * read.c (record_files): Append new deps if this rule has no
- commands; prepend them to existing deps if this rule has no commands.
-
- * dir.c (open_dirstream): Return nil if DIR->contents->files is nil.
-
- * read.c (parse_file_seq): Removed last arg STRIP. Always strip `./'s.
- (read_makefile): Changed callers.
- * function.c (string_glob): Likewise.
- * rule.c (install_pattern_rule): Likewise.
-
-Mon Nov 9 17:50:16 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * remake.c (files_remade): Made global.
- (notice_finished_file): Don't increment files_remade here; this
- function gets called in many situations where no remaking was in
- fact done.
- * job.c (reap_children): Do it here instead, when we know that
- actual commands have been run for the file.
- * make.h (files_remade): Declare it.
-
-Thu Nov 5 18:26:10 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * vpath.c (construct_vpath_list): Allow blanks as well as colons to
- separate elts in the search path.
-
- * read.c (read_makefile): Don't fatal on extra tokens in `vpath'.
- The search path can contain spaces now.
-
-Tue Nov 3 20:44:32 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * compatMakefile (check): New target; no-op.
-
- * file.c (file_hash_enter): Mod OLDHASH by FILE_BUCKETS after
- testing for OLDHASH==0 but before using the value.
- (rename_file): Don't mod OLDHASH by FILE_BUCKETS before passing it
- to file_hash_enter.
-
- * file.c (rename_file): Notice when OLDFILE->cmds came from
- default.c, and don't try to print ->filename in that case.
-
-Sun Oct 25 01:48:23 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * remake.c (update_file): Don't process F->also_make here.
- (notice_finished_file): Don't process FILE->also_make if no attempt
- to update FILE was actually made.
- Fixed to call f_mtime directly to refresh their modtimes.
-
-Sat Oct 24 22:08:59 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * read.c (find_percent): Don't increment P again after skipping
- an escaped %.
-
- * expand.c (variable_expand): In call to patsubst_expand, don't
- find `%'s ourselves; let that function do it.
-
- * read.c (read_makefile: record_waiting_files): Don't call
- record_files if FILENAMES is nil.
- (read_makefile): All alternatives in the parsing, except for rule
- lines, fall through to the end of the loop. At the end of the
- loop, do record_waiting_files so we notice later spurious cmds.
-
-Fri Oct 23 15:57:37 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * variable.c (define_automatic_variables): Free old value of SHELL
- before replacing it.
-
-Thu Oct 15 18:57:56 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * compatMakefile (.c.o): Add -I$(srcdir)/glob to flags.
-
- * dir.c (open_dirstream): Cast return value to __ptr_t.
-
- * default.c (default_variables: "GET") [_IBMR2]: Use USG defn.
-
- * make.h (MAXPATHLEN): Moved out of #ifndef POSIX.
- (GET_PATH_MAX): Moved from #ifdef POSIX to #ifdef PATH_MAX #else.
- Define as (get_path_max ()).
- [! PATH_MAX] (NEED_GET_PATH_MAX): Define.
- [! PATH_MAX] (get_path_max): Declare fn.
- * misc.c [NEED_GET_PATH_MAX] (get_path_max): New function.
-
-Mon Oct 12 13:34:45 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * Version 3.62.21.
-
- * job.c (sys_siglist): Only declare #ifndef SYS_SIGLIST_DECLARED.
- * make.h [! HAVE_SYS_SIGLIST && HAVE__SYS_SIGLIST]: #define
- SYS_SIGLIST_DECLARED.
-
- * dir.c (file_impossible): When initializing DIR->contents, set
- DIR->contents->dirstream to nil.
-
- * compatMakefile (GLOB): Define new variable.
- (objs): Use it, rather than glob/libglob.a explicitly.
-
- * read.c (parse_file_seq): When stripping "./", handle cases like
- ".///foo" and "./////".
- * file.c (lookup_file, enter_file): Likewise.
-
-Sun Oct 11 17:00:35 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * dir.c (struct dirstream, {open,read}_dirstream): New
- data type and functions to read a directory sequentially.
- (init_dir): New function to hook it into glob.
- * main.c (main): Call init_dir.
-
- * compatMakefile (objs): Added glob/libglob.a.
- * configure.in: Remove code to test for glob.
-
-Fri Oct 9 12:08:30 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * read.c (record_files): Generalized test for NAME pointing
- somewhere into F->name.
-
- * variable.c (define_variable_in_set): Free old value when replacing.
-
- * read.c (do_define): Free the linebuffer before returning.
- (record_files): When clearing .SUFFIXES deps, free their data.
- (multi_glob): Free OLD and its data when replacing it with results
- of glob run.
-
- * commands.c (set_file_variables): Use alloca in place of xmalloc
- for temp space for $^, $?, et al.
-
- * dir.c (struct directory): New member `contents' replaces `files'
- and `dirstream'.
- (struct directory_contents): New type.
- (directories_contents): New hash table.
- (dir_struct_file_exists_p): Take a struct directory_contents.
- (dir_file_exists_p): Pass it the `contents' member of the dir found.
- (dir_struct_file_exists_p): Renamed to dir_contents_file_exists_p;
- made static. Return 0 if DIR is nil (meaning it couldn't be stat'd).
- (dir_file_exists_p, find_directory): Change all callers.
- (file_impossible): Use DIR->contents, initializing it if nil.
- (print_dir_data_base): Use DIR->contents, and print out device and
- inode numbers with each directory.
-
- * Changes for performance win from John Gilmore :
- * dir.c (DIRECTORY_BUCKETS): Increase to 199.
- (DIRFILE_BUCKETS): Decrease to 107.
- (find_directory): Allocate and zero a multiple of
- sizeof (struct dirfile *), not of sizeof (struct dirfile).
- (dir_struct_file_exists_p): New function, nearly all code from
- dir_file_exists_p.
- (dir_file_exists_p): Just call find_directory+dir_struct_file_exists_p.
- * vpath.c (selective_vpath_search): Remove redundant
- dir_file_exists_p call.
-
- * configure.in: Comment out glob check; always use our code.
-
-Fri Oct 2 19:41:20 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * make.h [! HAVE_SYS_SIGLIST && HAVE__SYS_SIGLIST]: #define
- HAVE_SYS_SIGLIST; after doing #define sys_siglist _sys_siglist, we
- do have it.
-
-Wed Sep 30 19:21:01 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * main.c (main): Don't do -w automatically if -s.
-
-Tue Sep 29 21:07:55 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * main.c (printed_version): Move variable inside print_version.
- (print_version): Return immediately if printed_version is set.
- (die): Don't test printed_version here.
- (decode_switches): Under -v, do print_version before giving usage.
- (DESCRIPTION_COLUMN): New macro.
- (decode_switches): Use it when printing the usage message.
- Leave at least two spaces between options and their descriptions.
-
-Fri Sep 25 13:12:42 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * Version 3.62.20.
-
-Wed Sep 16 16:15:22 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * read.c (read_makefile): Save errno value from trying to open
- FILENAME, and restore it before erring; otherwise we get the errno
- value from the last elt of the search path.
-
-Tue Sep 15 15:12:47 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * main.c (long_option_aliases): Add --stop for -S.
-
- * read.c (word1eq): Do strncmp before dereferencing someplace that
- may be out in space.
-
-Wed Sep 9 15:50:41 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * remake.c (notice_finished_file): If all the command lines were
- recursive, don't do the touching.
-
- * job.c (start_job_command): Don't check for + here.
- * commands.c (chop_commands): Do it here instead.
-
- * default.c (default_terminal_rules): Prepend + to cmds for RCS.
-
-Wed Sep 2 17:53:08 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * compatMakefile (objs): Include $(ALLOCA).
-
- * make.h [CRAY]: Move #define signal bsdsignal to before #includes.
-
-Thu Aug 27 17:45:43 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
-
- * read.c (default_include_directories): Add INCLUDEDIR first.
- * compatMakefile (includedir): Define.
- (defines): Add -D for INCLUDEDIR="$(includedir)".
-
- * read.c (read_makefile): Grok multiple files in `include';
- globbing too.
-
- * remake.c (library_search): New function.
- (library_file_mtime): Remove function.
- (f_mtime): Use library_search instead of library_file_mtime.
- * compatMakefile (libdir): Define.
- (defines): Add -D for LIBDIR="$(libdir)".
- * make.texinfo (Libraries/Search): Document change.
-
- * file.c (rename_file): Fix file_hash_enter call with missing arg.
-
-Wed Aug 26 17:10:46 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * Version 3.62.19.
-
- * main.c (main): Set command_state to cs_finished for temp files
- made for stdin makefiles.
-
- * main.c (decode_switches): Don't tell getopt to return non-option
- args in order.
- Ignore an argument of `-'.
-
-Thu Aug 20 13:36:04 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * job.c (start_job_command): If (touch_flag && !RECURSIVE), ignore
- the command line and go to the next.
- (notice_finished_file): Under -t, touch FILE.
- * remake.c (remake_file): Don't touch it here.
-
-Wed Aug 19 16:06:09 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * function.c (pattern_matches): Use temporary for strlen (WORD)
- instead of two function calls.
-
- * compatMakefile (LOAD_AVG): Remove variable and comments.
-
-Tue Aug 18 14:58:58 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * make.texinfo (Running): Node renamed to `make Invocation'.
-
-Fri Aug 14 12:27:10 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * arscan.c (ar_name_equal): Don't compare [MAX-3..MAX] if
- NAMELEN != MEMLEN.
-
-Thu Aug 13 17:50:09 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.62.18.
-
- * main.c: Don't #include ; make.h already does.
-
-Mon Aug 10 17:03:01 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * implicit.c (pattern_search): Fixed copying of suffix when building
- also_make elts.
-
- * function.c (expand_function: `shell'): Make sure BUFFER is
- null-terminated before replacing newlines.
-
- * compatMakefile (mandir): Use man$(manext), not always manl.
-
-Sun Aug 2 01:42:50 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * rule.c (new_pattern_rule): Not static.
- * rule.h: Declare it.
-
- * file.c (file_hash_enter): New function, most code from rename_file.
- (rename_file): Call it.
- * file.h (file_hash_enter): Declare it.
-
- * dep.h: Doc fix.
-
-Thu Jul 30 15:40:48 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * main.c (decode_switches): Handle usage_and_exit when building
- long options vector.
-
- * default.c (default_terminal_rules): Make RCS rules use $(CHECKOUT,v).
- (default_variables): Define CHECKOUT,v (hairy).
-
- * make.h [!HAVE_SYS_SIGLIST && HAVE__SYS_SIGLIST]: #define
- sys_siglist to _sys_siglist.
-
-Sun Jul 26 16:56:32 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * NEWS: Add header and tail copyright info like Emacs NEWS.
-
- * make.h [ANSI_STRING]: Don't #define index, rindex, bcmp, bzero,
- bcopy if already #define'd.
- [STDC_HEADERS] (qsort, abort, exit): Declare here.
- [! __GNU_LIBRARY__ && !POSIX]: Not here.
-
- * make.h [_AIX]: #pragma alloca first thing.
-
- * job.c (start_waiting_job): Set the command_state to cs_running
- when we queue a job on waiting_jobs.
-
-Fri Jul 24 02:16:28 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * variable.c (define_automatic_variables): Use "" instead of nil
- for empty value.
-
-Thu Jul 23 22:31:18 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.62.17.
-
- * main.c (struct command_switch.type): Add alternative usage_and_exit.
- (command_switches): Add -h/--help.
-
-Thu Jul 16 14:27:50 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * GNUmakefile (make-$(version).tar.Z): Include NEWS, not CHANGES.
- * README.template: Mention NEWS.
- * CHANGES: Renamed to NEWS.
-
- * main.c [! STDC_HEADERS] [sun]: Don't declare exit.
-
-Tue Jul 14 18:48:41 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * main.c (main): Set -o files' command_states to cs_finished.
-
- * rule.c (count_implicit_rule_limits): Decrement num_pattern_rules
- when tossing a rule.
-
- * main.c (main): Use alloca only in simple local var assignment,
- for braindead SGI compiler.
-
- * rule.c (print_rule_data_base): Barf if num_pattern_rules is
- inconsistent with the number computed when listing them.
-
-Mon Jul 13 17:51:53 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * commands.c (set_file_variables): For $? and $^ elts that are archive
- member refs, use member name only.
-
-Fri Jul 10 00:05:04 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * variable.h (struct variable.export): Add new alternative v_ifset.
- * variable.c (target_environment): Check for it.
- (define_automatic_variables): Set it for MAKEFILES.
-
-Thu Jul 9 21:24:28 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * compatMakefile (objs): Remove getloadavg.o; $(extras) gets it.
- (remote.o): Use $(srcdir)/remote.c, not $remote.c<.
- (distclean, mostlyclean): New targets.
-
-Tue Jul 7 19:12:49 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.62.16.
-
- * compatMakefile (config.status): Remove rule.
-
- * job.c (start_waiting_job): Free C after using C->file, not before.
-
-Sat Jul 4 20:51:49 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * commands.c, job.c, main.c, make.h, remote-cstms.c: Use #ifdef
- HAVE_* instead of #ifndef *_MISSING.
- * configure.in: Use AC_HAVE_FUNCS instead of AC_MISSING_FUNCS (gone).
-
-Thu Jul 2 18:47:52 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * main.c (main): makelevel>0 or -C implies -w.
-
-Tue Jun 30 20:50:17 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * file.c, job.c, function.c: Don't #include .
- make.h: Do it here instead.
- * arscan.c (ar_member_touch): Don't declare errno.
-
-Thu Jun 25 17:06:55 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * GNUmakefile (make-$(version).tar.Z): Depend on INSTALL, configure.in.
-
- * remake.c (update_file): If commands or deps are running after
- update_file_1 returns, break out of the :: rule (->prev) loop and
- just return.
-
- * job.c (job_next_command): New function; code from start_job.
- (start_job_command): Renamed from start_job. Call job_next_command
- and recurse for empty command lines and -n.
- (start_waiting_job): Call start_job_command, not start_job.
- (new_job): Call job_next_command to prime the child structure, and
- then call start_waiting_job.
- (reap_children): Use job_next_command and start_job_command.
- (start_waiting_job): Call start_remote_job_p here, and store its
- result in C->remote. If zero, check the load average and
- maybe put C on waiting_jobs.
- (start_job_command): Test CHILD->remote rather than calling
- start_remote_job_p. Don't do load avg checking at all here.
-
- * main.c (main): Don't handle SIGILL, SIGIOT, SIGEMT, SIGBUS,
- SIGSEGV, SIGFPE or SIGTRAP.
-
- * compatMakefile (glob/libglob.a): Don't pass srcdir to sub-make.
- configure will set it in glob/Makefile.
-
-Wed Jun 24 19:40:34 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * dir.c [DIRENT] (direct): Don't define to dirent.
- [! DIRENT] (direct): Define to dirent.
- (dir_file_exists_p): Use struct dirent instead of struct direct.
-
- * make.h (getcwd): No space between macro and ( for args!
-
- * job.c (start_job): Don't put the job on waiting_jobs if
- job_slots_used==0.
-
- * make.texinfo (Missing): Shortened title.
-
-Tue Jun 23 18:42:21 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * file.c (remove_intermediates): Print "rm" commands under -n.
-
-Mon Jun 22 16:20:02 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * Version 3.62.15.
-
-Fri Jun 19 16:20:26 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * arscan.c [M_UNIX]: #undef M_XENIX.
-
-Wed Jun 17 17:59:28 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * default.c (default_terminal_rules): Put @ prefix on RCS cmds.
-
-Tue Jun 16 19:24:17 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * compatMakefile (getloadavg.o): Removed special rule.
- (CFLAGS): Don't include $(defines).
- (.c.o): Define suffix rule.
- (glob/libglob.a): Pass CPPFLAGS=$(defines) to submake.
- (GETOPT_SRC, srcs, tagsrcs): Prefix files with $(srcdir)/.
-
- * arscan.c (ar_name_equal): Moved local vars inside #if'd block.
-
- * make.h (max): Removed.
- * expand.c (variable_buffer_output): Don't use it.
-
- * compatMakefile (INSTALL): Define.
- (Makefile): New rule to make from Makefile.in.
- (srcdir): Define.
- (VPATH): Define.
- (getloadavg.o, remote.o): Use autoconf $foo< hack.
-
- * commands.c (fatal_error_signal): Removed return.
-
-Mon Jun 15 17:42:51 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.62.14.
-
- * make.texinfo (Summary): New node.
- (Special Targets): Mention .EXPORT_ALL_VARIABLES here.
-
- * variable.c (max): Moved to make.h.
-
- * compatMakefile (objs, srcs): Added ar & arscan.
-
- * job.c (start_waiting_job): New function, 2nd half of new_job.
- (new_job): Call it.
- (start_waiting_jobs): New function.
- * remake.c (update_goal_chain): Call start_waiting_jobs at the top
- of the main loop.
- * compatMakefile (objs, srcs): Removed load, added getloadavg.
-
-Fri Jun 12 19:33:16 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * job.c (load_too_high): New function. Uses getloadavg.
- (waiting_jobs): New variable.
- (start_job): Don't call wait_to_start_job. Instead, if
- load_too_high returns nonzero, add the child to the
- `waiting_jobs' chain and return without starting the job.
-
-Thu Jun 11 00:05:28 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * expand.c (variable_buffer_output): Made global again.
- * variable.h: And declare it.
-
- * arscan.c (PORTAR): Define for all systems if PORT5AR is not defined.
- (AR_NAMELEN, AR_TRAILING_SLASH): Removed.
- (ar_scan): Don't use it. Don't #ifdef AR_TRAILING_SLASH; just look
- for a slash in the archive at run time.
- (ar_name_equal): Rewrote .o hacking to not use AR_NAMELEN, and to
- cope with trailing-slash and non-trailing-slash archives.
-
- * main.c (main) [! SETVBUF_REVERSED]: Test this instead of USGr3 et al.
- [SETVBUF_REVERSED]: Always allocate a buffer ourselves.
-
- * load.c (load_average) [sgi]: Use sysmp call.
-
- * compatMakefile (INSTALL_DATA, INSTALL_PROGRAM): Define.
- ($(bindir)/$(instname), $(mandir)/make.$(manext)): Use them.
-
- * make.h [HAVE_VFORK_H]: #include .
- (vfork, VFORK_NAME): Don't define.
- * job.c (start_job): Use "vfork" in place of VFORK_NAME.
-
- * make.h [HAVE_LIMITS_H, HAVE_SYS_PARAM_H]: If #define'd, #include
- the each file. Rearranged PATH_MAX hacking.
- * job.c: Rearranged NGROUPS_MAX hacking.
-
- * remake.c (fstat, time): Don't declare.
-
- * compatMakefile (defines): Value is @DEFS@.
- (LOADLIBES): Value is @LIBS@.
- (extras): Value is @LIBOBJS@.
- (ARCHIVES, ARCHIVES_SRC, ALLOCASRC): Removed.
- * arscan.c, ar.c: Surround body with #ifndef NO_ARCHIVES.
-
- * misc.c [! HAVE_UNISTD_H]: Test instead of !POSIX to decl get*id.
-
- * make.h [GETCWD_MISSING]: Test instead of !USG && !POSIX et al.
- (getcwd): Just declare if present. If not, declare as a macro
- using getwd, and declare getwd.
- [PATH_MAX] (GET_PATH_MAX): #define to PATH_MAX.
- * main.c (main, log_working_directory): Use getcwd instead of getwd.
-
- * main.c (main) [SETLINEBUF_MISSING]: Test this instead of USG.
-
- * make.h (SIGHANDLER, SIGNAL): Removed.
- (RETSIGTYPE): Define if not #define'd.
- * main.c (main): Use signal in place of SIGNAL.
-
- * main.c [SYS_SIGLIST_MISSING]: Test instead of USG.
-
- * job.c (search_path) [GETGROUPS_MISSING]: Test instead of USG.
- [HAVE_UNISTD_H]: Test instead of POSIX to not decl getgroups.
-
- * main.c [! HAVE_UNISTD_H]: Test instead of !POSIX to decl chdir.
- [! STDC_HEADERS]: Test instead of !POSIX to decl exit & atof.
-
- * job.c (child_handler), commands.c (fatal_error_signal): Return
- RETSIGTYPE instead of int.
- * main.c (main): Declare fatal_error_signal and child_handler here
- to return RETSIGTYPE; removed top-level decl of former.
-
- * commands.c (fatal_error_signal), job.c (unblock_sigs, start_job),
- main.c [SIGSETMASK_MISSING]: Test this instead of USG.
-
-Wed Jun 10 22:06:13 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * job.c [HAVE_WAITPID]: Test this instead of USG.
- [! HAVE_UNISTD_H]: Test this instead of !POSIX to declare misc fns.
- (GID_T): Don't #define.
- (search_path): Use gid_t instead of GID_T.
- [GETDTABLESIZE_MISSING, SYS_SIGLIST_MISSING, DUP2_MISSING]: Test
- these individually instead of USG for all.
- * make.h (ctime): Don't declare. #include time.h instead.
- [HAVE_UNISTD_H]: #include and #define POSIX #ifdef
- _POSIX_VERSION.
- * dir.c [__GNU_LIBRARY__] (D_NAMLEN): Define to use d_namlen member.
- * make.h [NEED_MEMORY_H]: Only include memory.h #ifdef this.
-
- * arscan.c: Removed #ifdef mess about string.h et al.
- Just #include make.h instead.
- * make.h (fstat, atol): Declare.
-
- * commands.c (fatal_error_signal): Don't use sigmask to check for
- propagated signals; use ||s instead.
- (PROPAGATED_SIGNAL_MASK): Removed.
- (fatal_error_signal) [POSIX]: Use sigprocmask in place of sigsetmask.
-
- * variable.c (variable_buffer, variable_buffer_length,
- initialize_variable_output, variable_output): Moved to expand.c;
- made all static.
- (struct output_state, save_variable_output,
- restore_variable_output): Removed.
- * expand.c (initialize_variable_output): Put a NUL at the beginning
- of the new buffer after allocating it.
- (allocated_variable_expand_for_file): Don't use
- {save,restore}_variable_output. Do it by hand instead, keeping
- state on the stack instead of malloc'ing it.
- (allocated_variable_expand): Removed.
- * variable.h (allocated_variable_expand): Define here as macro.
- (variable_buffer_output, initialize_variable_output,
- save_variable_output, restore_variable_output): Removed decls.
-
- * read.c (conditional_line): For an if cmd, if any elt of the
- conditionals stack is ignoring, just push a new level that ignores
- and return 1; don't evaluate the condition.
-
-Thu Jun 4 21:01:20 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * main.c (main): Put #ifdef's around frobbing SIGSYS and SIGBUS.
-
- * job.c (getdtablesize): Don't declare or #define if already #define'd.
-
-Wed Jun 3 23:42:36 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * file.c (snap_deps): If `.EXPORT_ALL_VARIABLES' is a target, set
- export_all_variables.
- * make.texinfo (Variables/Recursion): Document .EXPORT_ALL_VARIABLES.
-
-Tue Jun 2 21:08:35 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * Version 3.62.13.
-
- * commands.c (set_file_variables): Calculate length for ^D and ?D
- individually, making sure to give them at least enough space for "./".
-
- * make.h [CRAY]: #define signal to bsdsignal.
-
- * default.c (default_variables) [CRAY]: Define PC, SEGLDR,
- CF77PPFLAGS, CF77PP, CFT, CF, and FC.
-
- * arscan.c (AR_HDR_SIZE): Define to sizeof (struct ar_hdr), if it
- wasn't defined by .
-
-Thu May 28 00:56:53 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * Version 3.62.12.
-
-Tue May 26 01:26:30 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * rule.c (new_pattern_rule): Initialize LASTRULE to nil, not
- pattern_rules.
-
-Mon May 25 19:02:15 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * main.c (decode_switches): Initialize all the long_option elt members.
-
-Thu May 21 16:34:24 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
-
- * make.texinfo (Text Functions): Correct filter-out description.
-
-Tue May 19 20:50:01 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * compatMakefile (realclean): Don't remove backup files.
-
- * main.c (decode_switches): Allocate ARGC+1 elts in `other_args'.
-
-Sun May 17 16:38:48 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
-
- * Version 3.62.11.
-
-Thu May 14 16:42:33 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
-
- * job.c (reap_children): Don't die if wait returns EINTR.
-
-Wed May 13 18:28:25 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * job.c (reap_children): Always run the next command for a
- successful target. If we are going to die, we don't want to leave
- the target partially made.
-
-Tue May 12 00:39:19 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
-
- * job.c (construct_command_argv_internal): After loop, if we only
- have one word, check it for being a shell command.
-
- * main.c (decode_switches): Allocate ARGC slots in other_args to
- begin with, so we never need to worry about growing it.
- If we get a non-option arg and POSIXLY_CORRECT is in the
- environment, break out of the loop. After the loop, add all remaining
- args to other_args list.
-
- * main.c (decode_switches): For positive_int and floating switches
- when optarg is nil, use next arg if it looks right (start with a
- digit, or maybe decimal point for floating).
-
- * variable.c (define_automatic_variables): Always set SHELL to
- default if it comes from the environment. Set its export bit.
- * make.texinfo (Environment): Document change.
-
-Mon May 11 00:32:46 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
-
- * Version 3.62.10.
-
- * compatMakefile (tags, TAGS): Use vars for cmds.
- (ETAGS, CTAGS): Define.
-
- * main.c (decode_switches): If a switches elt has a nil long_name,
- make the long option name elt be "".
- Fixed loop to not ignore all the options.
-
- * make.texinfo (Option Summary): Added long options.
-
- * main.c (switches): Changed -m's description to "-b".
- (decode_switches): When printing the usage message, don't print
- switches whose descriptions start with -.
- When constructing the list of names for switch -C, search the
- switches vector for switches whose descriptions are "-C".
-
- * main.c (switches): Call -S --no-keep-going, not --dont-keep-going.
- Call -I --include-dir, not --include-path.
- (long_option_aliases): Added --new == -W, --assume-new == -W,
- --assume-old == -o, --max-load == -l, --dry-run == -n, --recon == -n,
- --makefile == -f.
-
- * main.c (switches): Removed bogus "silent" elt.
- (long_option_aliases): Define new var.
- (decode_switches): Add long_option_aliases onto the end of the long
- options vector created for getopt_long.
- Look through long_option_aliases for extra names to list
- in usage message.
-
-Sat May 9 00:21:05 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * main.c (log_working_directory): Fixed to properly not print the
- leaving message when we haven't printed the entering message.
-
-Fri May 8 21:55:35 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * main.c (struct command_switch): Added elts `long_name',
- `description', and `argdesc'.
- (switches): Added initializers for new members.
- (decode_switches): Rewritten to use getopt_long.
- * compatMakefile (GETOPT, GETOPT_SRC): Define.
- (objs, srcs): Include them.
-
- * job.c (child_died): Renamed to dead_children; made static.
- (child_handler): Increment dead_children instead of setting child_died.
- (reap_children): Decrement dead_children instead of clearing
- child_died. The point of all this is to avoid printing "waiting
- for unfinished jobs" when we don't actually need to block.
- This happened when multiple SIGCHLDs before reap_children was called.
-
- * job.c (reap_children): If ERR is set, so we don't call start_job
- on the child being reaped, instead set its command_state to
- cs_finished.
- (reap_children, child_handler, new_job): I added several
- debugging printf's while fixing this. I left them in if (debug_flag)
- because they may be useful for debugging this stuff again.
-
-Wed May 6 22:02:37 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
-
- * read.c (read_makefile): v_export is not 1.
-
-Mon May 4 17:27:37 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.62.9.
-
- * variable.c (export_all_variables): New variable.
- (target_environment): Export variables whose `export' member is
- v_default if export_all_variables is set and their names are benign.
- * variable.h: Declare export_all_variables.
- * read.c (read_makefile): If export or unexport is given with no
- args, set or clear export_all_variables, respectively.
-
- * variable.c (target_environment): Exclude MAKELEVEL in the loop,
- so it isn't duplicated when we add it at the end.
-
-Sun May 3 17:44:48 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * Version 3.62.8.
-
- * variable.h (struct variable): Added new member `export'.
- * variable.c (define_variable_in_set): Initialize it to v_default.
- (target_environment): Don't check for .NOEXPORT.
- Export variables whose `export' member is v_default and that would
- have been exported under .NOEXPORT, and variables whose `export'
- member is v_export.
- (try_variable_definition): Return the variable defined.
- * variable.h (try_variable_definition): Changed decl.
- * read.c (read_makefile): Recognize `export' and `unexport' directives.
-
-Fri May 1 11:39:38 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
-
- * main.c (main) [POSIX]: Reversed args to sigaddset.
-
-Thu Apr 30 17:33:32 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * job.c [POSIX || !USG] (unblock_sigs): New fn.
- (start_job): Block signals before forking.
- (new_job): Unblock signals after putting the new child on the chain.
- * main.c (main) [POSIX]: Use sigset_t fatal_signal_set instead of
- int fatal_signal_mask.
-
- * load.c [sgi] (LDAV_CVT): Define.
-
-Wed Apr 29 17:15:59 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
-
- * Version 3.62.7.
-
- * load.c (load_average) [sgi]: Clear the high bit of the address
- from the symbol table before looking it up in kmem.
-
- * misc.c (fatal, makefile_fatal): Put *** in fatal error messages.
- (remake_file): No longer needed in message here.
-
- * main.c (die): Call reap_children with BLOCK==1.
-
-Tue Apr 28 20:44:35 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
-
- * rule.c (freerule): Don't set LASTRULE->next if LASTRULE is nil.
-
-Sun Apr 26 15:09:51 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
-
- * rule.c (count_implicit_rule_limits): Initialize LASTRULE to nil,
- not to head of chain. Extract next ptr before we might do
- freerule, and use that for next iteration.
- (freerule): Still do next ptr frobbing if LASTRULE is nil.
-
-Tue Apr 21 03:16:29 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * job.c (child_error): Removed extra %s from error msg format.
-
- * Version 3.62.6.
-
- * job.c (reap_children): Don't start later commands in a sequence
- if ERR is nonzero.
-
- * job.c (new_job): Always call reap_children with BLOCK==0 first thing.
-
- * job.c (reap_children): New function; work that used to be done in
- child_handler.
- (child_died): New global var.
- (child_handler): Now just sets child_died.
- (wait_for_children): Removed.
- (unknown_children_possible, block_signals, unblock_signals,
- push_signals_blocked_p, pop_signals_blocked_p): Removed.
- (child_execute_job): Removed call to unblock_signals.
- (new_job): Removed calls to push_signals_blocked_p and
- pop_signals_blocked_p.
- * job.h: Declare reap_children, not wait_for_children.
- * commands.c (fatal_error_signal), job.c (new_job),
- load.c [LDAV_BASED] (wait_to_start_job), main.c (die),
- remake.c (update_goal_chain), function.c (expand_function: `shell'):
- Changed wait_for_children calls to reap_children.
- Some needed to be loops to wait for all children to die.
- * commands.c (fatal_error_signal), main.c (main,
- log_working_directory), function.c (expand_function): Removed calls
- to push_signals_blocked_p and pop_signals_blocked_p.
- * job.h: Removed decls.
-
- * job.h: Added copyright notice.
-
-Wed Apr 15 02:02:40 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * job.c (child_error): No *** for ignored error.
-
-Tue Apr 14 18:31:21 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * implicit.c (DEBUGP2): Use do ... while (0) instead of if ... else to
- avoid compiler warnings.
-
- * read.c (parse_file_seq): Don't remove ./ when it is followed by a
- blank.
-
-Mon Apr 13 21:56:15 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * make.h (DEBUGPR): Use do ... while (0) instead of if ... else to
- avoid compiler warnings.
-
- * remake.c (notice_finished_file): Run file_mtime on the also_make
- files, so vpath_search can happen.
-
- * GNUmakefile (tests): Use perl test suite from csa@sw.stratus.com.
- (alpha-files): Include test suite tar file.
-
-Fri Apr 3 00:50:13 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * Version 3.62.5.
-
-Wed Apr 1 05:31:18 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * remake.c (update_file, update_file_1): Do check_renamed on elts
- of dep chains when traversing them. Something unrelated might have
- renamed one of the files the dep chain points to.
-
- * file.c (rename_file): If FILE has been renamed, follow its
- `renamed' ptr, so we get to the final real FILE. Using the renamed
- ones loses because they are not in the hash table, so the removal
- code loops infinitely.
-
- * read.c (read_all_makefiles): Clobber null terminator into
- MAKEFILES expansion, so string passed to read_makefile is properly
- terminated.
-
-Mon Mar 30 20:18:02 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * commands.c (set_file_variables): $* for archive member with
- explicit cmds is stem of member, not of whole `lib(member)'.
-
-Thu Mar 26 15:24:38 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
-
- * Version 3.62.4.
-
-Tue Mar 24 05:20:51 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * rule.c (new_pattern_rule): Rules are identical only if all their
- targets match (regardless of order).
-
-Wed Mar 11 13:49:54 1992 Roland McGrath (roland@geech.gnu.ai.mit.edu)
-
- * remake.c (remake_file): Changed error "no way to make" to "no
- rule to make". Fiat Hugh.
-
- * make.texinfo (Last Resort): Describe %:: rules and new .DEFAULT
- behavior.
-
- * remake.c (update_file_1): Only use .DEFAULT cmds if FILE is not a
- target.
-
-Tue Mar 10 18:13:13 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
-
- * remote-stub.c, remote-cstms.c (start_remote_job): Take new arg,
- environment to pass to child.
- * job.c (start_job): Pass it.
-
-Mon Mar 9 19:00:11 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * file.c (enter_file): Also strip ./s here, to get command-line
- target names.
-
- * remote-cstms.c: Add comment telling people to leave me alone.
-
- * compatMakefile (manpage install): Remove target before copying.
-
-Tue Mar 3 18:43:21 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * make.texinfo (Missing): Renamed to "Incompatibilities and ...".
- Added paragraph describing $? incompatibility with Unix and POSIX.2.
-
-Sun Mar 1 15:50:54 1992 Roland McGrath (roland@nutrimat.gnu.ai.mit.edu)
-
- * function.c (expand_function: `shell'): Don't declare fork or pipe.
- Use vfork instead of fork.
-
-Tue Feb 25 22:05:32 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
-
- * make.texinfo (Chained Rules): Clarify .PRECIOUS to save
- intermediate files.
-
- * load.c [sun] (LDAV_CVT): Define to divide by FSCALE.
-
-Sun Feb 16 02:05:16 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
-
- * Version 3.62.3.
-
-Sat Feb 15 17:12:20 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
-
- * compatMakefile (makeinfo): Use emacs batch-texinfo-format fn.
-
-Fri Feb 14 00:11:55 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
-
- * read.c (read_makefile): Correctly handle define & endef in ifdefs.
-
- * read.c (record_files): Pass arg for %s in error msg.
-
- * main.c (main) [__IBMR2, POSIX]: Use correct (a la USGr3) setvbuf
- call.
-
-Wed Feb 12 12:07:39 1992 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
-
- * make.texinfo (Libraries/Search): Say it does /usr/local/lib too.
-
-Sun Feb 9 23:06:24 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * read.c (read_makefile): Check for extraneous `endef' when ignoring.
-
-Thu Feb 6 16:15:48 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * Version 3.62.2.
-
-Tue Feb 4 20:04:46 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * job.c (construct_command_argv_internal): Correctly ignore
- whitespace after backslash-NL.
-
-Fri Jan 31 18:30:05 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * compatMakefile: Ignore errors from chgrp and chmod when installing.
-
-Wed Jan 29 18:13:30 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
-
- * main.c (main): When setting MAKELEVEL in the env to re-exec,
- allocate space so as not to clobber past the end of the old string.
-
- * make.h [HAVE_ALLOCA_H]: Include
- * compatMakefile (defines): Document HAVE_ALLOCA_H.
-
-Mon Jan 20 13:40:05 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
-
- * make.h [VFORK_MISSING]: Use fork instead.
- * compatMakefile (defines): Document same.
-
- * job.c (construct_command_argv_internal): Don't create an empty
- arg if backslash-NL is at beginning of word.
-
-Sun Jan 19 16:26:53 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
-
- * main.c [DGUX]: Call setvbuf as for USGr3.
-
- * job.c (construct_command_argv_internal): Notice correctly that
- backslash-NL is the end of the arg (because it is replaced with a
- space).
-
-Thu Jan 16 18:42:38 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
-
- * job.c (construct_command_argv_internal): If SHELL is nil, set it
- to default_shell before proceeding.
-
- * make.h [sgi]: No alloca.h, after all.
-
-Wed Jan 15 12:30:04 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
-
- * read.c (multi_glob): Cons up the chain of the results of glob
- from back to front, so it comes out in forward order.
-
- * job.c (construct_command_argv_internal): Don't eat char following
- backslash-NL.
-
-Mon Jan 13 19:16:56 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
-
- * Version 3.62.1.
-
- * default.c (default_variables) [ultrix]: GET=get, like USG.
-
- * job.c (construct_command_argv_internal): Remove tabs following
- backslash-NL combos in the input line, so they don't show up when
- that line is printed.
-
- * read.c (read_makefile): Don't collapse_continuations the line on
- input; do it on the copy we do remove_comments on.
- For rule lines, collapse_continuations the line after chopping
- ";cmds" off the end, so we don't eat conts in the cmds.
- Give error for ";cmds" with no rule.
- * job.c (construct_command_argv_internal): Eat backslash-NL combos
- when constructing the line to recurse on for slow, too.
-
-Sat Jan 11 02:20:27 1992 Roland McGrath (roland@albert.gnu.ai.mit.edu)
-
- * file.c (enter_file): Don't strip leading `./'s.
- * read.c (parse_file_seq): Take new arg STRIP; if nonzero, do it here.
- * default.c (set_default_suffixes), function.c (string_glob),
- read.c (read_makefile), rule.c (install_pattern_rule): Change callers.
-
- * default.c (default_variables) [_IBMR2]: FC=xlf
-
- * job.c (construct_command_argv_internal): Turn backslash-NL and
- following whitespace into a single space, rather than just eating
- the backslash.
-
- * make.texinfo (Copying): @include gpl.texinfo, rather than
- duplicating its contents.
-
-Fri Nov 8 20:06:03 1991 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * job.c (construct_command_argv_internal): Make sure not to bother
- processing an empty line.
-
- * Version 3.62.0.
-
- * job.c (construct_command_argv_internal): Always recurse for slow;
- simple case didn't handle finding newlines.
-
-Tue Nov 5 18:51:10 1991 Roland McGrath (roland@wookumz.gnu.ai.mit.edu)
-
- * job.c (construct_command_argv_internal): Set RESTP properly when
- slow; don't \ify past a newline.
-
-Fri Nov 1 19:34:28 1991 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
-
- * make.h [sgi]: #include .
-
-
-
-See ChangeLog.1 for earlier changes.
diff --git a/buildtools/windows/source/make/INSTALL b/buildtools/windows/source/make/INSTALL
deleted file mode 100644
index 95d84c820fb..00000000000
--- a/buildtools/windows/source/make/INSTALL
+++ /dev/null
@@ -1,176 +0,0 @@
-Basic Installation
-==================
-
- These are generic installation instructions.
-
- The `configure' shell script attempts to guess correct values for
-various system-dependent variables used during compilation. It uses
-those values to create a `Makefile' in each directory of the package.
-It may also create one or more `.h' files containing system-dependent
-definitions. Finally, it creates a shell script `config.status' that
-you can run in the future to recreate the current configuration, a file
-`config.cache' that saves the results of its tests to speed up
-reconfiguring, and a file `config.log' containing compiler output
-(useful mainly for debugging `configure').
-
- If you need to do unusual things to compile the package, please try
-to figure out how `configure' could check whether to do them, and mail
-diffs or instructions to the address given in the `README' so they can
-be considered for the next release. If at some point `config.cache'
-contains results you don't want to keep, you may remove or edit it.
-
- The file `configure.in' is used to create `configure' by a program
-called `autoconf'. You only need `configure.in' if you want to change
-it or regenerate `configure' using a newer version of `autoconf'.
-
-The simplest way to compile this package is:
-
- 1. `cd' to the directory containing the package's source code and type
- `./configure' to configure the package for your system. If you're
- using `csh' on an old version of System V, you might need to type
- `sh ./configure' instead to prevent `csh' from trying to execute
- `configure' itself.
-
- Running `configure' takes awhile. While running, it prints some
- messages telling which features it is checking for.
-
- 2. Type `make' to compile the package.
-
- 3. Optionally, type `make check' to run any self-tests that come with
- the package.
-
- 4. Type `make install' to install the programs and any data files and
- documentation.
-
- 5. You can remove the program binaries and object files from the
- source code directory by typing `make clean'. To also remove the
- files that `configure' created (so you can compile the package for
- a different kind of computer), type `make distclean'. There is
- also a `make maintainer-clean' target, but that is intended mainly
- for the package's developers. If you use it, you may have to get
- all sorts of other programs in order to regenerate files that came
- with the distribution.
-
-Compilers and Options
-=====================
-
- Some systems require unusual options for compilation or linking that
-the `configure' script does not know about. You can give `configure'
-initial values for variables by setting them in the environment. Using
-a Bourne-compatible shell, you can do that on the command line like
-this:
- CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
-
-Or on systems that have the `env' program, you can do it like this:
- env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
-
-Compiling For Multiple Architectures
-====================================
-
- You can compile the package for more than one kind of computer at the
-same time, by placing the object files for each architecture in their
-own directory. To do this, you must use a version of `make' that
-supports the `VPATH' variable, such as GNU `make'. `cd' to the
-directory where you want the object files and executables to go and run
-the `configure' script. `configure' automatically checks for the
-source code in the directory that `configure' is in and in `..'.
-
- If you have to use a `make' that does not supports the `VPATH'
-variable, you have to compile the package for one architecture at a time
-in the source code directory. After you have installed the package for
-one architecture, use `make distclean' before reconfiguring for another
-architecture.
-
-Installation Names
-==================
-
- By default, `make install' will install the package's files in
-`/usr/local/bin', `/usr/local/man', etc. You can specify an
-installation prefix other than `/usr/local' by giving `configure' the
-option `--prefix=PATH'.
-
- You can specify separate installation prefixes for
-architecture-specific files and architecture-independent files. If you
-give `configure' the option `--exec-prefix=PATH', the package will use
-PATH as the prefix for installing programs and libraries.
-Documentation and other data files will still use the regular prefix.
-
- If the package supports it, you can cause programs to be installed
-with an extra prefix or suffix on their names by giving `configure' the
-option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
-
-Optional Features
-=================
-
- Some packages pay attention to `--enable-FEATURE' options to
-`configure', where FEATURE indicates an optional part of the package.
-They may also pay attention to `--with-PACKAGE' options, where PACKAGE
-is something like `gnu-as' or `x' (for the X Window System). The
-`README' should mention any `--enable-' and `--with-' options that the
-package recognizes.
-
- For packages that use the X Window System, `configure' can usually
-find the X include and library files automatically, but if it doesn't,
-you can use the `configure' options `--x-includes=DIR' and
-`--x-libraries=DIR' to specify their locations.
-
-Specifying the System Type
-==========================
-
- There may be some features `configure' can not figure out
-automatically, but needs to determine by the type of host the package
-will run on. Usually `configure' can figure that out, but if it prints
-a message saying it can not guess the host type, give it the
-`--host=TYPE' option. TYPE can either be a short name for the system
-type, such as `sun4', or a canonical name with three fields:
- CPU-COMPANY-SYSTEM
-
-See the file `config.sub' for the possible values of each field. If
-`config.sub' isn't included in this package, then this package doesn't
-need to know the host type.
-
- If you are building compiler tools for cross-compiling, you can also
-use the `--target=TYPE' option to select the type of system they will
-produce code for and the `--build=TYPE' option to select the type of
-system on which you are compiling the package.
-
-Sharing Defaults
-================
-
- If you want to set default values for `configure' scripts to share,
-you can create a site shell script called `config.site' that gives
-default values for variables like `CC', `cache_file', and `prefix'.
-`configure' looks for `PREFIX/share/config.site' if it exists, then
-`PREFIX/etc/config.site' if it exists. Or, you can set the
-`CONFIG_SITE' environment variable to the location of the site script.
-A warning: not all `configure' scripts look for a site script.
-
-Operation Controls
-==================
-
- `configure' recognizes the following options to control how it
-operates.
-
-`--cache-file=FILE'
- Use and save the results of the tests in FILE instead of
- `./config.cache'. Set FILE to `/dev/null' to disable caching, for
- debugging `configure'.
-
-`--help'
- Print a summary of the options to `configure', and exit.
-
-`--quiet'
-`--silent'
-`-q'
- Do not print messages saying which checks are being made.
-
-`--srcdir=DIR'
- Look for the package's source code in directory DIR. Usually
- `configure' can determine that directory automatically.
-
-`--version'
- Print the version of Autoconf used to generate the `configure'
- script, and exit.
-
-`configure' also accepts some other, not widely useful, options.
-
diff --git a/buildtools/windows/source/make/Makefile b/buildtools/windows/source/make/Makefile
deleted file mode 100644
index 9c049840c46..00000000000
--- a/buildtools/windows/source/make/Makefile
+++ /dev/null
@@ -1,62 +0,0 @@
-#
-# GNU Makefile for building gmake.exe on WIN32
-# This is the top-level makefile. It only does the optimized build.
-#
-
-CSRCS = ar.c \
- arscan.c \
- commands.c \
- default.c \
- dir.c \
- expand.c \
- file.c \
- function.c \
- getloadavg.c \
- getopt.c \
- getopt1.c \
- implicit.c \
- job.c \
- main.c \
- misc.c \
- read.c \
- remake.c \
- remote-stub.c \
- rule.c \
- signame.c \
- variable.c \
- version.c \
- vpath.c
-
-OBJS = $(CSRCS:.c=.obj) glob/fnmatch.obj glob/glob.obj
-
-CC = cl
-
-CFLAGS = $(CC_SWITCHES) $(INCLUDES) $(DEFINES) $(CC_OUTPUTS)
-
-CC_SWITCHES = -nologo -ML -W3 -O2
-
-INCLUDES = -I. -Iglob
-
-DEFINES = -DWIN32 -DNDEBUG -D_CONSOLE -DNETSCAPE -DHAVE_CONFIG_H
-
-CC_OUTPUTS = -Fpgmake.pch -YX -c
-
-LINK = link
-
-LINK_FLAGS = -nologo -subsystem:console \
- -incremental:no -machine:I386 -out:$@
-
-all: gmake.exe
-
-build_glob:
- cd glob; $(MAKE)
-
-gmake.exe: build_glob $(OBJS)
- $(LINK) $(LINK_FLAGS) $(OBJS)
-
-%.obj: %.c
- $(CC) $(CFLAGS) $<
-
-clean:
- cd glob; $(MAKE) $@
- rm -rf $(OBJS) gmake.pch gmake.exe
diff --git a/buildtools/windows/source/make/Makefile.in b/buildtools/windows/source/make/Makefile.in
deleted file mode 100644
index b77794f744c..00000000000
--- a/buildtools/windows/source/make/Makefile.in
+++ /dev/null
@@ -1,307 +0,0 @@
-# NOTE: If you have no `make' program at all to process this makefile, run
-# `build.sh' instead.
-#
-# Copyright (C) 1988, 89, 91, 92, 93, 94, 1995 Free Software Foundation, Inc.
-# This file is part of GNU Make.
-#
-# GNU Make is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-#
-# GNU Make is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with GNU Make; see the file COPYING. If not, write to
-# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
-
-#
-# Makefile for GNU Make
-#
-
-# Ultrix 2.2 make doesn't expand the value of VPATH.
-VPATH = @srcdir@
-# This must repeat the value, because configure will remove `VPATH = .'.
-srcdir = @srcdir@
-
-CC = @CC@
-
-CFLAGS = @CFLAGS@
-CPPFLAGS = @CPPFLAGS@
-LDFLAGS = @LDFLAGS@
-
-# Define these for your system as follows:
-# -DNO_ARCHIVES To disable `ar' archive support.
-# -DNO_FLOAT To avoid using floating-point numbers.
-# -DENUM_BITFIELDS If the compiler isn't GCC but groks enum foo:2.
-# Some compilers apparently accept this
-# without complaint but produce losing code,
-# so beware.
-# NeXT 1.0a uses an old version of GCC, which required -D__inline=inline.
-# See also `config.h'.
-defines = @DEFS@ -DLIBDIR=\"$(libdir)\" -DINCLUDEDIR=\"$(includedir)\"
-
-# Which flavor of remote job execution support to use.
-# The code is found in `remote-$(REMOTE).c'.
-REMOTE = @REMOTE@
-
-# If you are using the GNU C library, or have the GNU getopt functions in
-# your C library, you can comment these out.
-GETOPT = getopt.o getopt1.o
-GETOPT_SRC = $(srcdir)/getopt.c $(srcdir)/getopt1.c $(srcdir)/getopt.h
-
-# If you are using the GNU C library, or have the GNU glob functions in
-# your C library, you can comment this out. GNU make uses special hooks
-# into the glob functions to be more efficient (by using make's directory
-# cache for globbing), so you must use the GNU functions even if your
-# system's C library has the 1003.2 glob functions already. Also, the glob
-# functions in the AIX and HPUX C libraries are said to be buggy.
-GLOB = glob/libglob.a
-
-# If your system doesn't have alloca, or the one provided is bad, define this.
-ALLOCA = @ALLOCA@
-ALLOCA_SRC = $(srcdir)/alloca.c
-
-# If your system needs extra libraries loaded in, define them here.
-# System V probably need -lPW for alloca. HP-UX 7.0's alloca in
-# libPW.a is broken on HP9000s300 and HP9000s400 machines. Use
-# alloca.c instead on those machines.
-LOADLIBES = @LIBS@
-
-# Any extra object files your system needs.
-extras = @LIBOBJS@
-
-# Common prefix for machine-independent installed files.
-prefix = @prefix@
-# Common prefix for machine-dependent installed files.
-exec_prefix = @exec_prefix@
-
-# Directory to install `make' in.
-bindir = $(exec_prefix)/bin
-# Directory to find libraries in for `-lXXX'.
-libdir = $(exec_prefix)/lib
-# Directory to search by default for included makefiles.
-includedir = $(prefix)/include
-# Directory to install the Info files in.
-infodir = $(prefix)/info
-# Directory to install the man page in.
-mandir = $(prefix)/man/man$(manext)
-# Number to put on the man page filename.
-manext = 1
-# Prefix to put on installed `make' binary file name.
-binprefix =
-# Prefix to put on installed `make' man page file name.
-manprefix = $(binprefix)
-
-# Whether or not make needs to be installed setgid.
-# The value should be either `true' or `false'.
-# On many systems, the getloadavg function (used to implement the `-l'
-# switch) will not work unless make is installed setgid kmem.
-install_setgid = @NEED_SETGID@
-# Install make setgid to this group so it can read /dev/kmem.
-group = @KMEM_GROUP@
-
-# Program to install `make'.
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-# Program to install the man page.
-INSTALL_DATA = @INSTALL_DATA@
-# Generic install program.
-INSTALL = @INSTALL@
-
-# Program to format Texinfo source into Info files.
-MAKEINFO = makeinfo
-# Program to format Texinfo source into DVI files.
-TEXI2DVI = texi2dvi
-
-# Programs to make tags files.
-ETAGS = etags -w
-CTAGS = ctags -w
-
-objs = commands.o job.o dir.o file.o misc.o main.o read.o remake.o \
- rule.o implicit.o default.o variable.o expand.o function.o \
- vpath.o version.o ar.o arscan.o signame.o remote-$(REMOTE).o \
- $(GLOB) $(GETOPT) $(ALLOCA) $(extras)
-srcs = $(srcdir)/commands.c $(srcdir)/job.c $(srcdir)/dir.c \
- $(srcdir)/file.c $(srcdir)/getloadavg.c $(srcdir)/misc.c \
- $(srcdir)/main.c $(srcdir)/read.c $(srcdir)/remake.c \
- $(srcdir)/rule.c $(srcdir)/implicit.c $(srcdir)/default.c \
- $(srcdir)/variable.c $(srcdir)/expand.c $(srcdir)/function.c \
- $(srcdir)/vpath.c $(srcdir)/version.c \
- $(srcdir)/remote-$(REMOTE).c \
- $(srcdir)/ar.c $(srcdir)/arscan.c \
- $(srcdir)/signame.c $(srcdir)/signame.h $(GETOPT_SRC) \
- $(srcdir)/commands.h $(srcdir)/dep.h $(srcdir)/file.h \
- $(srcdir)/job.h $(srcdir)/make.h $(srcdir)/rule.h \
- $(srcdir)/variable.h $(ALLOCA_SRC) $(srcdir)/config.h.in
-
-
-.SUFFIXES:
-.SUFFIXES: .o .c .h .ps .dvi .info .texinfo
-
-all: make
-info: make.info
-dvi: make.dvi
-# Some makes apparently use .PHONY as the default goal if it is before `all'.
-.PHONY: all check info dvi
-
-make.info: make.texinfo
- $(MAKEINFO) -I$(srcdir) $(srcdir)/make.texinfo -o make.info
-
-make.dvi: make.texinfo
- $(TEXI2DVI) $(srcdir)/make.texinfo
-
-make.ps: make.dvi
- dvi2ps make.dvi > make.ps
-
-make: $(objs)
- $(CC) $(LDFLAGS) $(objs) $(LOADLIBES) -o make.new
- mv -f make.new make
-
-# -I. is needed to find config.h in the build directory.
-.c.o:
- $(CC) $(defines) -c -I. -I$(srcdir) -I$(srcdir)/glob \
- $(CPPFLAGS) $(CFLAGS) $< $(OUTPUT_OPTION)
-
-# For some losing Unix makes.
-SHELL = /bin/sh
-@SET_MAKE@
-
-glob/libglob.a: FORCE config.h
- cd glob; $(MAKE) libglob.a
-FORCE:
-
-tagsrcs = $(srcs) $(srcdir)/remote-*.c
-TAGS: $(tagsrcs)
- $(ETAGS) $(tagsrcs)
-tags: $(tagsrcs)
- $(CTAGS) $(tagsrcs)
-
-.PHONY: install installdirs
-install: installdirs \
- $(bindir)/$(binprefix)make $(infodir)/make.info \
- $(mandir)/$(manprefix)make.$(manext)
-
-installdirs:
- $(SHELL) ${srcdir}/mkinstalldirs $(bindir) $(infodir) $(mandir)
-
-$(bindir)/$(binprefix)make: make
- $(INSTALL_PROGRAM) make $@.new
- @if $(install_setgid); then \
- if chgrp $(group) $@.new && chmod g+s $@.new; then \
- echo "chgrp $(group) $@.new && chmod g+s $@.new"; \
- else \
- echo "$@ needs to be owned by group $(group) and setgid;"; \
- echo "otherwise the \`-l' option will probably not work."; \
- echo "You may need special privileges to install $@."; \
- fi; \
- else true; fi
-# Some systems can't deal with renaming onto a running binary.
- -rm -f $@.old
- -mv $@ $@.old
- mv $@.new $@
-
-$(infodir)/make.info: make.info
- if [ -r ./make.info ]; then dir=.; else dir=$(srcdir); fi; \
- for file in $${dir}/make.info*; do \
- name="`basename $$file`"; \
- $(INSTALL_DATA) $$file \
- `echo $@ | sed "s,make.info\$$,$$name,"`; \
- done
-# Run install-info only if it exists.
-# Use `if' instead of just prepending `-' to the
-# line so we notice real errors from install-info.
-# We use `$(SHELL) -c' because some shells do not
-# fail gracefully when there is an unknown command.
- if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
- if [ -r ./make.info ]; then dir=.; else dir=$(srcdir); fi; \
- install-info --infodir=$(infodir) $$dir/make.info; \
- else true; fi
-
-$(mandir)/$(manprefix)make.$(manext): make.man
- $(INSTALL_DATA) $(srcdir)/make.man $@
-
-
-loadavg: loadavg.c config.h
- $(CC) $(defines) -DTEST -I. -I$(srcdir) $(CFLAGS) $(LDFLAGS) \
- loadavg.c $(LOADLIBES) -o $@
-# We copy getloadavg.c into a different file rather than compiling it
-# directly because some compilers clobber getloadavg.o in the process.
-loadavg.c: getloadavg.c
- ln $(srcdir)/getloadavg.c loadavg.c || \
- cp $(srcdir)/getloadavg.c loadavg.c
-check-loadavg: loadavg
- @echo The system uptime program believes the load average to be:
- -uptime
- @echo The GNU load average checking code believes:
- ./loadavg
-check: check-loadavg
-
-
-.PHONY: clean realclean distclean mostlyclean
-clean: glob-clean
- -rm -f make loadavg *.o core make.dvi
-distclean: clean glob-realclean
- -rm -f Makefile config.h config.status build.sh stamp-config
- -rm -f config.log config.cache
- -rm -f TAGS tags
- -rm -f make.?? make.??s make.log make.toc make.*aux
- -rm -f loadavg.c
-realclean: distclean
- -rm -f make.info*
-mostlyclean: clean
-
-.PHONY: glob-clean glob-realclean
-glob-clean glob-realclean:
- cd glob; $(MAKE) $@
-
-Makefile: config.status $(srcdir)/Makefile.in
- $(SHELL) config.status
-glob/Makefile: config.status $(srcdir)/glob/Makefile.in
- $(SHELL) config.status
-config.h: stamp-config ;
-stamp-config: config.status $(srcdir)/config.h.in
- $(SHELL) config.status
- touch stamp-config
-
-#configure: configure.in aclocal.m4
-# cd $(srcdir) && autoconf $(ACFLAGS)
-#config.h.in: configure.in aclocal.m4
-# cd $(srcdir) && autoheader $(ACFLAGS)
-
-# This tells versions [3.59,3.63) of GNU make not to export all variables.
-.NOEXPORT:
-
-# The automatically generated dependencies below may omit config.h
-# because it is included with ``#include '' rather than
-# ``#include "config.h"''. So we add the explicit dependency to make sure.
-$(objs): config.h
-
-# Automatically generated dependencies will be put at the end of the file.
-
-# Automatically generated dependencies.
-commands.o : commands.c make.h dep.h commands.h file.h variable.h job.h
-job.o: job.c make.h commands.h job.h file.h variable.h
-dir.o: dir.c make.h
-file.o: file.c make.h commands.h dep.h file.h variable.h
-misc.o: misc.c make.h dep.h
-main.o: main.c make.h commands.h dep.h file.h variable.h job.h getopt.h
-read.o: read.c make.h commands.h dep.h file.h variable.h glob/glob.h
-remake.o: remake.c make.h commands.h job.h dep.h file.h
-rule.o : rule.c make.h config.h commands.h dep.h file.h variable.h rule.h
-implicit.o : implicit.c make.h rule.h dep.h file.h
-default.o: default.c make.h rule.h dep.h file.h commands.h variable.h
-variable.o : variable.c make.h commands.h variable.h dep.h file.h
-expand.o: expand.c make.h commands.h file.h variable.h
-function.o: function.c make.h variable.h dep.h commands.h job.h
-vpath.o : vpath.c make.h file.h variable.h
-version.o: version.c
-ar.o : ar.c make.h file.h dep.h
-arscan.o: arscan.c make.h
-signame.o: signame.c signame.h
-remote-stub.o : remote-stub.c make.h commands.h
-getopt.o: getopt.c getopt.h
-getopt1.o : getopt1.c getopt.h
-getloadavg.o: getloadavg.c
diff --git a/buildtools/windows/source/make/NEWS b/buildtools/windows/source/make/NEWS
deleted file mode 100644
index 6c97107a97b..00000000000
--- a/buildtools/windows/source/make/NEWS
+++ /dev/null
@@ -1,557 +0,0 @@
-GNU make NEWS -- history of user-visible changes. 26 January 1995
-
-Copyright (C) 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
-See the end for copying conditions.
-
-Please send GNU make bug reports to bug-gnu-utils@prep.ai.mit.edu.
-
-Version 3.73
-
-* Converted to use Autoconf version 2, so `configure' has some new options.
- See INSTALL for details.
-
-* You can now send a SIGUSR1 signal to Make to toggle printing of debugging
- output enable by -d, at any time during the run.
-
-Version 3.72
-
-* DJ Delorie has ported Make to MS-DOS using the GO32 extender.
- He is maintaining the DOS port, not the GNU Make maintainer;
- please direct bugs and questions for DOS to .
- MS-DOS binaries are available for FTP from oak.oakland.edu:pub/msdos/djgpp.
-
-* The `MAKEFLAGS' variable (in the environment or in a makefile) can now
- contain variable definitions itself; these are treated just like
- command-line variable definitions. Make will automatically insert any
- variable definitions from the environment value of `MAKEFLAGS' or from
- the command line, into the `MAKEFLAGS' value exported to children. The
- `MAKEOVERRIDES' variable previously included in the value of `$(MAKE)'
- for sub-makes is now included in `MAKEFLAGS' instead. As before, you can
- reset `MAKEOVERRIDES' in your makefile to avoid putting all the variables
- in the environment when its size is limited.
-
-* If `.DELETE_ON_ERROR' appears as a target, Make will delete the target of
- a rule if it has changed when its commands exit with a nonzero status,
- just as when the commands get a signal.
-
-* The automatic variable `$+' is new. It lists all the dependencies like
- `$^', but preserves duplicates listed in the makefile. This is useful
- for linking rules, where library files sometimes need to be listed twice
- in the link order.
-
-* You can now specify the `.IGNORE' and `.SILENT' special targets with
- dependencies to limit their effects to those files. If a file appears as
- a dependency of `.IGNORE', then errors will be ignored while running the
- commands to update that file. Likewise if a file appears as a dependency
- of `.SILENT', then the commands to update that file will not be printed
- before they are run. (This change was made to conform to POSIX.2.)
-
-Version 3.71
-
-* The automatic variables `$(@D)', `$(%D)', `$(*D)', `$( renames program database file
-# /Fo creates an object file
-# /Fp specifies a precompiled header file name
-# /O2 creates fast code
-# /Od disables optimization
-# /W sets warning levels
-# /YX Automates precompiled header
-# /Zi Generates complete debugging information
-
-CFLAGS_any = /nologo /W3 /YX /I . /I glob /D NETSCAPE /D WIN32 /D _CONSOLE /D HAVE_CONFIG_H
-CFLAGS_debug = $(CFLAGS_any) /MLd /Zi /Od /D _DEBUG /FpWinDebug/make.pch /FoWinDebug/ /FdWinDebug/make.pdb
-CFLAGS_release = $(CFLAGS_any) /ML /O2 /D NDEBUG /FpWinRel/make.pch /FoWinRel/
-
-LDFLAGS_debug = /NOLOGO /SUBSYSTEM:console\
- /INCREMENTAL:no /PDB:WinDebug/make.pdb \
- /OUT:WinDebug/make.exe /DEBUG
-LDFLAGS_release = /NOLOGO /SUBSYSTEM:console\
- /INCREMENTAL:no /OUT:WinRel/make.exe
-
-all: Release Debug
-
-Release:
- nmake /f $(MAKEFILE) LDFLAGS="$(LDFLAGS_release)" CFLAGS="$(CFLAGS_release)" OUTDIR=WinRel WinRel/make.exe
-Debug:
- nmake /f $(MAKEFILE) LDFLAGS="$(LDFLAGS_debug)" CFLAGS="$(CFLAGS_debug)" OUTDIR=WinDebug WinDebug/make.exe
-
-clean:
- rmdir /s /q WinDebug WinRel
-
-$(OUTDIR):
- if not exist .\$@\nul mkdir .\$@
-
-#LIBS = kernel32.lib user32.lib advapi32.lib
-#LIBS = kernel32.lib
-
-OBJS = \
- $(OUTDIR)/ar.obj \
- $(OUTDIR)/arscan.obj \
- $(OUTDIR)/commands.obj \
- $(OUTDIR)/default.obj \
- $(OUTDIR)/dir.obj \
- $(OUTDIR)/expand.obj \
- $(OUTDIR)/file.obj \
- $(OUTDIR)/function.obj \
- $(OUTDIR)/getloadavg.obj \
- $(OUTDIR)/getopt.obj \
- $(OUTDIR)/getopt1.obj \
- $(OUTDIR)/implicit.obj \
- $(OUTDIR)/job.obj \
- $(OUTDIR)/main.obj \
- $(OUTDIR)/misc.obj \
- $(OUTDIR)/read.obj \
- $(OUTDIR)/remake.obj \
- $(OUTDIR)/remote-stub.obj \
- $(OUTDIR)/rule.obj \
- $(OUTDIR)/signame.obj \
- $(OUTDIR)/variable.obj \
- $(OUTDIR)/version.obj \
- $(OUTDIR)/vpath.obj \
- $(OUTDIR)/glob.obj \
- $(OUTDIR)/fnmatch.obj
-
-$(OUTDIR)/make.exe: $(OUTDIR) $(OBJS)
- $(LINK) @<<
- $(LDFLAGS) $(LIBS) $(OBJS)
-<<
-
-.c{$(OUTDIR)}.obj:
- $(CC) $(CFLAGS) /c $<
-
-$(OUTDIR)/ar.obj : ar.c make.h file.h dep.h
-$(OUTDIR)/arscan.obj : arscan.c make.h
-$(OUTDIR)/commands.obj : commands.c
-$(OUTDIR)/default.obj : default.c make.h rule.h dep.h file.h job.h commands.h variable.h
-$(OUTDIR)/dir.obj : dir.c make.h
-$(OUTDIR)/expand.obj : expand.c make.h file.h job.h commands.h variable.h
-$(OUTDIR)/file.obj : file.c make.h dep.h file.h job.h commands.h variable.h
-$(OUTDIR)/function.obj : function.c make.h file.h variable.h dep.h job.h commands.h
-$(OUTDIR)/getloadavg.obj : getloadavg.c
-$(OUTDIR)/getopt.obj : getopt.c
-$(OUTDIR)/getopt1.obj : getopt1.c getopt.h
-$(OUTDIR)/implicit.obj : implicit.c make.h rule.h dep.h file.h
-$(OUTDIR)/job.obj : job.c make.h job.h file.h commands.h variable.h
-$(OUTDIR)/main.obj : main.c make.h dep.h file.h variable.h job.h commands.h getopt.h
-$(OUTDIR)/misc.obj : misc.c make.h dep.h
-$(OUTDIR)/read.obj : read.c make.h dep.h file.h job.h commands.h variable.h glob/glob.h
-$(OUTDIR)/remake.obj : remake.c make.h file.h job.h commands.h dep.h
-$(OUTDIR)/remote-stub.obj : remote-stub.c make.h file.h job.h commands.h
-$(OUTDIR)/rule.obj : rule.c make.h dep.h file.h job.h commands.h variable.h rule.h
-$(OUTDIR)/signame.obj : signame.c signame.h
-$(OUTDIR)/variable.obj : variable.c make.h dep.h file.h job.h commands.h variable.h
-$(OUTDIR)/version.obj : version.c
-$(OUTDIR)/vpath.obj : vpath.c make.h file.h variable.h
-$(OUTDIR)/glob.obj : glob/glob.c
- $(CC) $(CFLAGS) /c glob/glob.c
-$(OUTDIR)/fnmatch.obj : glob/fnmatch.c
- $(CC) $(CFLAGS) /c glob/fnmatch.c
diff --git a/buildtools/windows/source/make/README b/buildtools/windows/source/make/README
deleted file mode 100644
index 43003a33861..00000000000
--- a/buildtools/windows/source/make/README
+++ /dev/null
@@ -1,28 +0,0 @@
-This directory contains the 3.74 test release of GNU Make.
-All bugs reported for previous test releases have been fixed.
-Some bugs surely remain.
-
-For general building and installation instructions, see the file INSTALL.
-If you need to build GNU Make and have no other `make' program to use,
-you can use the shell script `build.sh' instead. To do this, first run
-`configure' as described in INSTALL. Then, instead of typing `make' to
-build the program, type `sh build.sh'. This should compile the program
-in the current directory. Then you will have a Make program that you can
-use for `make install', or whatever else.
-
-It has been reported that the XLC 1.2 compiler on AIX 3.2 is buggy such
-that if you compile make with `cc -O' on AIX 3.2, it will not work correctly.
-It is said that using `cc' without `-O' does work.
-
-One area that is often a problem in configuration and porting is the code
-to check the system's current load average. To make it easier to test and
-debug this code, you can do `make check-loadavg' to see if it works
-properly on your system. (You must run `configure' beforehand, but you
-need not build Make itself to run this test.)
-
-See the file NEWS for what has changed since previous releases.
-
-GNU Make is fully documented in make.texinfo. See the section entitled
-`Problems and Bugs' for information on submitting bug reports.
-
-GNU Make is free software. See the file COPYING for copying conditions.
diff --git a/buildtools/windows/source/make/README.MOZILLA b/buildtools/windows/source/make/README.MOZILLA
deleted file mode 100644
index 3a751d64405..00000000000
--- a/buildtools/windows/source/make/README.MOZILLA
+++ /dev/null
@@ -1,16 +0,0 @@
-This directory contains the source files for the GNU make
-that is used to build some components (e.g., NSPR) on Win32.
-
-This GNU make is based on version 3.74 and was ported to
-Win32 by Netscape engineers. Its default shell is shmsdos.exe,
-a lightweight shell written by Netscape engineers.
-
-To build it, you need Microsoft Visual C++ and nmake. If
-you want to change the build number, which is displayed by
-the '-v' command line option, you can edit the value of the
-macro BUILD_NUMBER in main.c. Then, issue the command:
- nmake /f NMakefile
-The outputs are WinDebug\make.exe and WinRel\make.exe.
-Assuming you want to use the optmized executable file,
-copy WinRel\make.exe to a directory on your Path and
-rename it gmake.exe.
diff --git a/buildtools/windows/source/make/acconfig.h b/buildtools/windows/source/make/acconfig.h
deleted file mode 100644
index 192dc0f828a..00000000000
--- a/buildtools/windows/source/make/acconfig.h
+++ /dev/null
@@ -1,17 +0,0 @@
-/* Define to the name of the SCCS `get' command. */
-#undef SCCS_GET
-
-/* Define this if the SCCS `get' command understands the `-G' option. */
-#undef SCCS_GET_MINUS_G
-
-/* Define this if the C library defines the variable `sys_siglist'. */
-#undef HAVE_SYS_SIGLIST
-
-/* Define this if the C library defines the variable `_sys_siglist'. */
-#undef HAVE__SYS_SIGLIST
-
-/* Define this if you have the `union wait' type in . */
-#undef HAVE_UNION_WAIT
-
-/* Define this if the POSIX.1 call `sysconf (_SC_OPEN_MAX)' works properly. */
-#undef HAVE_SYSCONF_OPEN_MAX
diff --git a/buildtools/windows/source/make/alloca.c b/buildtools/windows/source/make/alloca.c
deleted file mode 100644
index 7020f32c882..00000000000
--- a/buildtools/windows/source/make/alloca.c
+++ /dev/null
@@ -1,492 +0,0 @@
-/* alloca.c -- allocate automatically reclaimed memory
- (Mostly) portable public-domain implementation -- D A Gwyn
-
- This implementation of the PWB library alloca function,
- which is used to allocate space off the run-time stack so
- that it is automatically reclaimed upon procedure exit,
- was inspired by discussions with J. Q. Johnson of Cornell.
- J.Otto Tennant contributed the Cray support.
-
- There are some preprocessor constants that can
- be defined when compiling for your specific system, for
- improved efficiency; however, the defaults should be okay.
-
- The general concept of this implementation is to keep
- track of all alloca-allocated blocks, and reclaim any
- that are found to be deeper in the stack than the current
- invocation. This heuristic does not reclaim storage as
- soon as it becomes invalid, but it will do so eventually.
-
- As a special case, alloca(0) reclaims storage without
- allocating any. It is a good idea to use alloca(0) in
- your main control loop, etc. to force garbage collection. */
-
-#ifdef HAVE_CONFIG_H
-#include
-#endif
-
-#ifdef emacs
-#include "blockinput.h"
-#endif
-
-/* If compiling with GCC 2, this file's not needed. */
-#if !defined (__GNUC__) || __GNUC__ < 2
-
-/* If someone has defined alloca as a macro,
- there must be some other way alloca is supposed to work. */
-#ifndef alloca
-
-#ifdef emacs
-#ifdef static
-/* actually, only want this if static is defined as ""
- -- this is for usg, in which emacs must undefine static
- in order to make unexec workable
- */
-#ifndef STACK_DIRECTION
-you
-lose
--- must know STACK_DIRECTION at compile-time
-#endif /* STACK_DIRECTION undefined */
-#endif /* static */
-#endif /* emacs */
-
-/* If your stack is a linked list of frames, you have to
- provide an "address metric" ADDRESS_FUNCTION macro. */
-
-#if defined (CRAY) && defined (CRAY_STACKSEG_END)
-long i00afunc ();
-#define ADDRESS_FUNCTION(arg) (char *) i00afunc (&(arg))
-#else
-#define ADDRESS_FUNCTION(arg) &(arg)
-#endif
-
-#if __STDC__
-typedef void *pointer;
-#else
-typedef char *pointer;
-#endif
-
-#define NULL 0
-
-/* Different portions of Emacs need to call different versions of
- malloc. The Emacs executable needs alloca to call xmalloc, because
- ordinary malloc isn't protected from input signals. On the other
- hand, the utilities in lib-src need alloca to call malloc; some of
- them are very simple, and don't have an xmalloc routine.
-
- Non-Emacs programs expect this to call use xmalloc.
-
- Callers below should use malloc. */
-
-#ifndef emacs
-#define malloc xmalloc
-#endif
-extern pointer malloc ();
-
-/* Define STACK_DIRECTION if you know the direction of stack
- growth for your system; otherwise it will be automatically
- deduced at run-time.
-
- STACK_DIRECTION > 0 => grows toward higher addresses
- STACK_DIRECTION < 0 => grows toward lower addresses
- STACK_DIRECTION = 0 => direction of growth unknown */
-
-#ifndef STACK_DIRECTION
-#define STACK_DIRECTION 0 /* Direction unknown. */
-#endif
-
-#if STACK_DIRECTION != 0
-
-#define STACK_DIR STACK_DIRECTION /* Known at compile-time. */
-
-#else /* STACK_DIRECTION == 0; need run-time code. */
-
-static int stack_dir; /* 1 or -1 once known. */
-#define STACK_DIR stack_dir
-
-static void
-find_stack_direction ()
-{
- static char *addr = NULL; /* Address of first `dummy', once known. */
- auto char dummy; /* To get stack address. */
-
- if (addr == NULL)
- { /* Initial entry. */
- addr = ADDRESS_FUNCTION (dummy);
-
- find_stack_direction (); /* Recurse once. */
- }
- else
- {
- /* Second entry. */
- if (ADDRESS_FUNCTION (dummy) > addr)
- stack_dir = 1; /* Stack grew upward. */
- else
- stack_dir = -1; /* Stack grew downward. */
- }
-}
-
-#endif /* STACK_DIRECTION == 0 */
-
-/* An "alloca header" is used to:
- (a) chain together all alloca'ed blocks;
- (b) keep track of stack depth.
-
- It is very important that sizeof(header) agree with malloc
- alignment chunk size. The following default should work okay. */
-
-#ifndef ALIGN_SIZE
-#define ALIGN_SIZE sizeof(double)
-#endif
-
-typedef union hdr
-{
- char align[ALIGN_SIZE]; /* To force sizeof(header). */
- struct
- {
- union hdr *next; /* For chaining headers. */
- char *deep; /* For stack depth measure. */
- } h;
-} header;
-
-static header *last_alloca_header = NULL; /* -> last alloca header. */
-
-/* Return a pointer to at least SIZE bytes of storage,
- which will be automatically reclaimed upon exit from
- the procedure that called alloca. Originally, this space
- was supposed to be taken from the current stack frame of the
- caller, but that method cannot be made to work for some
- implementations of C, for example under Gould's UTX/32. */
-
-pointer
-alloca (size)
- unsigned size;
-{
- auto char probe; /* Probes stack depth: */
- register char *depth = ADDRESS_FUNCTION (probe);
-
-#if STACK_DIRECTION == 0
- if (STACK_DIR == 0) /* Unknown growth direction. */
- find_stack_direction ();
-#endif
-
- /* Reclaim garbage, defined as all alloca'd storage that
- was allocated from deeper in the stack than currently. */
-
- {
- register header *hp; /* Traverses linked list. */
-
-#ifdef emacs
- BLOCK_INPUT;
-#endif
-
- for (hp = last_alloca_header; hp != NULL;)
- if ((STACK_DIR > 0 && hp->h.deep > depth)
- || (STACK_DIR < 0 && hp->h.deep < depth))
- {
- register header *np = hp->h.next;
-
- free ((pointer) hp); /* Collect garbage. */
-
- hp = np; /* -> next header. */
- }
- else
- break; /* Rest are not deeper. */
-
- last_alloca_header = hp; /* -> last valid storage. */
-
-#ifdef emacs
- UNBLOCK_INPUT;
-#endif
- }
-
- if (size == 0)
- return NULL; /* No allocation required. */
-
- /* Allocate combined header + user data storage. */
-
- {
- register pointer new = malloc (sizeof (header) + size);
- /* Address of header. */
-
- ((header *) new)->h.next = last_alloca_header;
- ((header *) new)->h.deep = depth;
-
- last_alloca_header = (header *) new;
-
- /* User storage begins just after header. */
-
- return (pointer) ((char *) new + sizeof (header));
- }
-}
-
-#if defined (CRAY) && defined (CRAY_STACKSEG_END)
-
-#ifdef DEBUG_I00AFUNC
-#include
-#endif
-
-#ifndef CRAY_STACK
-#define CRAY_STACK
-#ifndef CRAY2
-/* Stack structures for CRAY-1, CRAY X-MP, and CRAY Y-MP */
-struct stack_control_header
- {
- long shgrow:32; /* Number of times stack has grown. */
- long shaseg:32; /* Size of increments to stack. */
- long shhwm:32; /* High water mark of stack. */
- long shsize:32; /* Current size of stack (all segments). */
- };
-
-/* The stack segment linkage control information occurs at
- the high-address end of a stack segment. (The stack
- grows from low addresses to high addresses.) The initial
- part of the stack segment linkage control information is
- 0200 (octal) words. This provides for register storage
- for the routine which overflows the stack. */
-
-struct stack_segment_linkage
- {
- long ss[0200]; /* 0200 overflow words. */
- long sssize:32; /* Number of words in this segment. */
- long ssbase:32; /* Offset to stack base. */
- long:32;
- long sspseg:32; /* Offset to linkage control of previous
- segment of stack. */
- long:32;
- long sstcpt:32; /* Pointer to task common address block. */
- long sscsnm; /* Private control structure number for
- microtasking. */
- long ssusr1; /* Reserved for user. */
- long ssusr2; /* Reserved for user. */
- long sstpid; /* Process ID for pid based multi-tasking. */
- long ssgvup; /* Pointer to multitasking thread giveup. */
- long sscray[7]; /* Reserved for Cray Research. */
- long ssa0;
- long ssa1;
- long ssa2;
- long ssa3;
- long ssa4;
- long ssa5;
- long ssa6;
- long ssa7;
- long sss0;
- long sss1;
- long sss2;
- long sss3;
- long sss4;
- long sss5;
- long sss6;
- long sss7;
- };
-
-#else /* CRAY2 */
-/* The following structure defines the vector of words
- returned by the STKSTAT library routine. */
-struct stk_stat
- {
- long now; /* Current total stack size. */
- long maxc; /* Amount of contiguous space which would
- be required to satisfy the maximum
- stack demand to date. */
- long high_water; /* Stack high-water mark. */
- long overflows; /* Number of stack overflow ($STKOFEN) calls. */
- long hits; /* Number of internal buffer hits. */
- long extends; /* Number of block extensions. */
- long stko_mallocs; /* Block allocations by $STKOFEN. */
- long underflows; /* Number of stack underflow calls ($STKRETN). */
- long stko_free; /* Number of deallocations by $STKRETN. */
- long stkm_free; /* Number of deallocations by $STKMRET. */
- long segments; /* Current number of stack segments. */
- long maxs; /* Maximum number of stack segments so far. */
- long pad_size; /* Stack pad size. */
- long current_address; /* Current stack segment address. */
- long current_size; /* Current stack segment size. This
- number is actually corrupted by STKSTAT to
- include the fifteen word trailer area. */
- long initial_address; /* Address of initial segment. */
- long initial_size; /* Size of initial segment. */
- };
-
-/* The following structure describes the data structure which trails
- any stack segment. I think that the description in 'asdef' is
- out of date. I only describe the parts that I am sure about. */
-
-struct stk_trailer
- {
- long this_address; /* Address of this block. */
- long this_size; /* Size of this block (does not include
- this trailer). */
- long unknown2;
- long unknown3;
- long link; /* Address of trailer block of previous
- segment. */
- long unknown5;
- long unknown6;
- long unknown7;
- long unknown8;
- long unknown9;
- long unknown10;
- long unknown11;
- long unknown12;
- long unknown13;
- long unknown14;
- };
-
-#endif /* CRAY2 */
-#endif /* not CRAY_STACK */
-
-#ifdef CRAY2
-/* Determine a "stack measure" for an arbitrary ADDRESS.
- I doubt that "lint" will like this much. */
-
-static long
-i00afunc (long *address)
-{
- struct stk_stat status;
- struct stk_trailer *trailer;
- long *block, size;
- long result = 0;
-
- /* We want to iterate through all of the segments. The first
- step is to get the stack status structure. We could do this
- more quickly and more directly, perhaps, by referencing the
- $LM00 common block, but I know that this works. */
-
- STKSTAT (&status);
-
- /* Set up the iteration. */
-
- trailer = (struct stk_trailer *) (status.current_address
- + status.current_size
- - 15);
-
- /* There must be at least one stack segment. Therefore it is
- a fatal error if "trailer" is null. */
-
- if (trailer == 0)
- abort ();
-
- /* Discard segments that do not contain our argument address. */
-
- while (trailer != 0)
- {
- block = (long *) trailer->this_address;
- size = trailer->this_size;
- if (block == 0 || size == 0)
- abort ();
- trailer = (struct stk_trailer *) trailer->link;
- if ((block <= address) && (address < (block + size)))
- break;
- }
-
- /* Set the result to the offset in this segment and add the sizes
- of all predecessor segments. */
-
- result = address - block;
-
- if (trailer == 0)
- {
- return result;
- }
-
- do
- {
- if (trailer->this_size <= 0)
- abort ();
- result += trailer->this_size;
- trailer = (struct stk_trailer *) trailer->link;
- }
- while (trailer != 0);
-
- /* We are done. Note that if you present a bogus address (one
- not in any segment), you will get a different number back, formed
- from subtracting the address of the first block. This is probably
- not what you want. */
-
- return (result);
-}
-
-#else /* not CRAY2 */
-/* Stack address function for a CRAY-1, CRAY X-MP, or CRAY Y-MP.
- Determine the number of the cell within the stack,
- given the address of the cell. The purpose of this
- routine is to linearize, in some sense, stack addresses
- for alloca. */
-
-static long
-i00afunc (long address)
-{
- long stkl = 0;
-
- long size, pseg, this_segment, stack;
- long result = 0;
-
- struct stack_segment_linkage *ssptr;
-
- /* Register B67 contains the address of the end of the
- current stack segment. If you (as a subprogram) store
- your registers on the stack and find that you are past
- the contents of B67, you have overflowed the segment.
-
- B67 also points to the stack segment linkage control
- area, which is what we are really interested in. */
-
- stkl = CRAY_STACKSEG_END ();
- ssptr = (struct stack_segment_linkage *) stkl;
-
- /* If one subtracts 'size' from the end of the segment,
- one has the address of the first word of the segment.
-
- If this is not the first segment, 'pseg' will be
- nonzero. */
-
- pseg = ssptr->sspseg;
- size = ssptr->sssize;
-
- this_segment = stkl - size;
-
- /* It is possible that calling this routine itself caused
- a stack overflow. Discard stack segments which do not
- contain the target address. */
-
- while (!(this_segment <= address && address <= stkl))
- {
-#ifdef DEBUG_I00AFUNC
- fprintf (stderr, "%011o %011o %011o\n", this_segment, address, stkl);
-#endif
- if (pseg == 0)
- break;
- stkl = stkl - pseg;
- ssptr = (struct stack_segment_linkage *) stkl;
- size = ssptr->sssize;
- pseg = ssptr->sspseg;
- this_segment = stkl - size;
- }
-
- result = address - this_segment;
-
- /* If you subtract pseg from the current end of the stack,
- you get the address of the previous stack segment's end.
- This seems a little convoluted to me, but I'll bet you save
- a cycle somewhere. */
-
- while (pseg != 0)
- {
-#ifdef DEBUG_I00AFUNC
- fprintf (stderr, "%011o %011o\n", pseg, size);
-#endif
- stkl = stkl - pseg;
- ssptr = (struct stack_segment_linkage *) stkl;
- size = ssptr->sssize;
- pseg = ssptr->sspseg;
- result += size;
- }
- return (result);
-}
-
-#endif /* not CRAY2 */
-#endif /* CRAY */
-
-#endif /* no alloca */
-#endif /* not GCC version 2 */
diff --git a/buildtools/windows/source/make/ar.c b/buildtools/windows/source/make/ar.c
deleted file mode 100644
index 63fcd34f6f0..00000000000
--- a/buildtools/windows/source/make/ar.c
+++ /dev/null
@@ -1,317 +0,0 @@
-/* Interface to `ar' archives for GNU Make.
-Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993 Free Software Foundation, Inc.
-This file is part of GNU Make.
-
-GNU Make is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
-any later version.
-
-GNU Make is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Make; see the file COPYING. If not, write to
-the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-
-#include "make.h"
-
-#ifndef NO_ARCHIVES
-
-#include "file.h"
-#include "dep.h"
-#include
-
-/* Defined in arscan.c. */
-extern long int ar_scan ();
-extern int ar_member_touch ();
-extern int ar_name_equal ();
-
-
-/* Return nonzero if NAME is an archive-member reference, zero if not.
- An archive-member reference is a name like `lib(member)'.
- If a name like `lib((entry))' is used, a fatal error is signaled at
- the attempt to use this unsupported feature. */
-
-int
-ar_name (name)
- char *name;
-{
- char *p = index (name, '('), *end = name + strlen (name) - 1;
-
- if (p == 0 || p == name || *end != ')')
- return 0;
-
- if (p[1] == '(' && end[-1] == ')')
- fatal ("attempt to use unsupported feature: `%s'", name);
-
- return 1;
-}
-
-
-/* Parse the archive-member reference NAME into the archive and member names.
- Put the malloc'd archive name in *ARNAME_P if ARNAME_P is non-nil;
- put the malloc'd member name in *MEMNAME_P if MEMNAME_P is non-nil. */
-
-void
-ar_parse_name (name, arname_p, memname_p)
- char *name, **arname_p, **memname_p;
-{
- char *p = index (name, '('), *end = name + strlen (name) - 1;
-
- if (arname_p != 0)
- *arname_p = savestring (name, p - name);
-
- if (memname_p != 0)
- *memname_p = savestring (p + 1, end - (p + 1));
-}
-
-static long int ar_member_date_1 ();
-
-/* Return the modtime of NAME. */
-
-time_t
-ar_member_date (name)
- char *name;
-{
- char *arname;
- int arname_used = 0;
- char *memname;
- long int val;
-
- ar_parse_name (name, &arname, &memname);
-
- /* Make sure we know the modtime of the archive itself because we are
- likely to be called just before commands to remake a member are run,
- and they will change the archive itself.
-
- But we must be careful not to enter_file the archive itself if it does
- not exist, because pattern_search assumes that files found in the data
- base exist or can be made. */
- {
- struct file *arfile;
- arfile = lookup_file (arname);
- if (arfile == 0 && file_exists_p (arname))
- {
- arfile = enter_file (arname);
- arname_used = 1;
- }
-
- if (arfile != 0)
- (void) f_mtime (arfile, 0);
- }
-
- val = ar_scan (arname, ar_member_date_1, (long int) memname);
-
- if (!arname_used)
- free (arname);
- free (memname);
-
- return (val <= 0 ? (time_t) -1 : (time_t) val);
-}
-
-/* This function is called by `ar_scan' to find which member to look at. */
-
-/* ARGSUSED */
-static long int
-ar_member_date_1 (desc, mem, truncated,
- hdrpos, datapos, size, date, uid, gid, mode, name)
- int desc;
- char *mem;
- int truncated;
- long int hdrpos, datapos, size, date;
- int uid, gid, mode;
- char *name;
-{
- return ar_name_equal (name, mem, truncated) ? date : 0;
-}
-
-/* Set the archive-member NAME's modtime to now. */
-
-int
-ar_touch (name)
- char *name;
-{
- char *arname, *memname;
- int arname_used = 0;
- register int val;
-
- ar_parse_name (name, &arname, &memname);
-
- /* Make sure we know the modtime of the archive itself before we
- touch the member, since this will change the archive itself. */
- {
- struct file *arfile;
- arfile = lookup_file (arname);
- if (arfile == 0)
- {
- arfile = enter_file (arname);
- arname_used = 1;
- }
-
- (void) f_mtime (arfile, 0);
- }
-
- val = 1;
- switch (ar_member_touch (arname, memname))
- {
- case -1:
- error ("touch: Archive `%s' does not exist", arname);
- break;
- case -2:
- error ("touch: `%s' is not a valid archive", arname);
- break;
- case -3:
- perror_with_name ("touch: ", arname);
- break;
- case 1:
- error ("touch: Member `%s' does not exist in `%s'", memname, arname);
- break;
- case 0:
- val = 0;
- break;
- default:
- error ("touch: Bad return code from ar_member_touch on `%s'", name);
- }
-
- if (!arname_used)
- free (arname);
- free (memname);
-
- return val;
-}
-
-/* State of an `ar_glob' run, passed to `ar_glob_match'. */
-
-struct ar_glob_state
- {
- char *arname;
- char *pattern;
- unsigned int size;
- struct nameseq *chain;
- unsigned int n;
- };
-
-/* This function is called by `ar_scan' to match one archive
- element against the pattern in STATE. */
-
-static long int
-ar_glob_match (desc, mem, truncated,
- hdrpos, datapos, size, date, uid, gid, mode,
- state)
- int desc;
- char *mem;
- int truncated;
- long int hdrpos, datapos, size, date;
- int uid, gid, mode;
- struct ar_glob_state *state;
-{
- if (fnmatch (state->pattern, mem, FNM_PATHNAME|FNM_PERIOD) == 0)
- {
- /* We have a match. Add it to the chain. */
- struct nameseq *new = (struct nameseq *) xmalloc (state->size);
- new->name = concat (state->arname, mem, ")");
- new->next = state->chain;
- state->chain = new;
- ++state->n;
- }
-
- return 0L;
-}
-
-/* Alphabetic sorting function for `qsort'. */
-
-static int
-ar_glob_alphacompare (a, b)
- char **a, **b;
-{
- return strcmp (*a, *b);
-}
-
-/* Return nonzero if PATTERN contains any metacharacters.
- Metacharacters can be quoted with backslashes if QUOTE is nonzero. */
-static int
-glob_pattern_p (pattern, quote)
- const char *pattern;
- const int quote;
-{
- register const char *p;
- int open = 0;
-
- for (p = pattern; *p != '\0'; ++p)
- switch (*p)
- {
- case '?':
- case '*':
- return 1;
-
- case '\\':
- if (quote)
- ++p;
- break;
-
- case '[':
- open = 1;
- break;
-
- case ']':
- if (open)
- return 1;
- break;
- }
-
- return 0;
-}
-
-/* Glob for MEMBER_PATTERN in archive ARNAME.
- Return a malloc'd chain of matching elements (or nil if none). */
-
-struct nameseq *
-ar_glob (arname, member_pattern, size)
- char *arname, *member_pattern;
- unsigned int size;
-{
- struct ar_glob_state state;
- char **names;
- struct nameseq *n;
- unsigned int i;
-
- if (! glob_pattern_p (member_pattern, 1))
- return 0;
-
- /* Scan the archive for matches.
- ar_glob_match will accumulate them in STATE.chain. */
- i = strlen (arname);
- state.arname = (char *) alloca (i + 2);
- bcopy (arname, state.arname, i);
- state.arname[i] = '(';
- state.arname[i + 1] = '\0';
- state.pattern = member_pattern;
- state.size = size;
- state.chain = 0;
- state.n = 0;
- (void) ar_scan (arname, ar_glob_match, (long int) &state);
-
- if (state.chain == 0)
- return 0;
-
- /* Now put the names into a vector for sorting. */
- names = (char **) alloca (state.n * sizeof (char *));
- i = 0;
- for (n = state.chain; n != 0; n = n->next)
- names[i++] = n->name;
-
- /* Sort them alphabetically. */
- qsort ((char *) names, i, sizeof (*names), ar_glob_alphacompare);
-
- /* Put them back into the chain in the sorted order. */
- i = 0;
- for (n = state.chain; n != 0; n = n->next)
- n->name = names[i++];
-
- return state.chain;
-}
-
-#endif /* Not NO_ARCHIVES. */
diff --git a/buildtools/windows/source/make/arscan.c b/buildtools/windows/source/make/arscan.c
deleted file mode 100644
index a3dce83c329..00000000000
--- a/buildtools/windows/source/make/arscan.c
+++ /dev/null
@@ -1,561 +0,0 @@
-/* Library function for scanning an archive file.
- Copyright (C) 1987, 89, 91, 92, 93, 94 Free Software Foundation, Inc.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
-
-#include "make.h"
-
-#ifdef HAVE_FCNTL_H
-#include
-#else
-#include
-#endif
-
-#ifndef NO_ARCHIVES
-
-/* SCO Unix's compiler defines both of these. */
-#ifdef M_UNIX
-#undef M_XENIX
-#endif
-
-/* On the sun386i and in System V rel 3, ar.h defines two different archive
- formats depending upon whether you have defined PORTAR (normal) or PORT5AR
- (System V Release 1). There is no default, one or the other must be defined
- to have a nonzero value. */
-
-#if (!defined (PORTAR) || PORTAR == 0) && (!defined (PORT5AR) || PORT5AR == 0)
-#undef PORTAR
-#ifdef M_XENIX
-/* According to Jim Sievert , for SCO XENIX defining
- PORTAR to 1 gets the wrong archive format, and defining it to 0 gets the
- right one. */
-#define PORTAR 0
-#else
-#define PORTAR 1
-#endif
-#endif
-
-#include
-
-/* Cray's apparently defines this. */
-#ifndef AR_HDR_SIZE
-#define AR_HDR_SIZE (sizeof (struct ar_hdr))
-#endif
-
-/* Takes three arguments ARCHIVE, FUNCTION and ARG.
-
- Open the archive named ARCHIVE, find its members one by one,
- and for each one call FUNCTION with the following arguments:
- archive file descriptor for reading the data,
- member name,
- member name might be truncated flag,
- member header position in file,
- member data position in file,
- member data size,
- member date,
- member uid,
- member gid,
- member protection mode,
- ARG.
-
- The descriptor is poised to read the data of the member
- when FUNCTION is called. It does not matter how much
- data FUNCTION reads.
-
- If FUNCTION returns nonzero, we immediately return
- what FUNCTION returned.
-
- Returns -1 if archive does not exist,
- Returns -2 if archive has invalid format.
- Returns 0 if have scanned successfully. */
-
-long int
-ar_scan (archive, function, arg)
- char *archive;
- long int (*function) ();
- long int arg;
-{
-#ifdef AIAMAG
- FL_HDR fl_header;
-#else
- int long_name = 0;
-#endif
- char *namemap = 0;
- register int desc = open (archive, O_RDONLY, 0);
- if (desc < 0)
- return -1;
-#ifdef SARMAG
- {
- char buf[SARMAG];
- register int nread = read (desc, buf, SARMAG);
- if (nread != SARMAG || bcmp (buf, ARMAG, SARMAG))
- {
- (void) close (desc);
- return -2;
- }
- }
-#else
-#ifdef AIAMAG
- {
- register int nread = read (desc, (char *) &fl_header, FL_HSZ);
- if (nread != FL_HSZ || bcmp (fl_header.fl_magic, AIAMAG, SAIAMAG))
- {
- (void) close (desc);
- return -2;
- }
- }
-#else
- {
-#ifndef M_XENIX
- int buf;
-#else
- unsigned short int buf;
-#endif
- register int nread = read(desc, &buf, sizeof (buf));
- if (nread != sizeof (buf) || buf != ARMAG)
- {
- (void) close (desc);
- return -2;
- }
- }
-#endif
-#endif
-
- /* Now find the members one by one. */
- {
-#ifdef SARMAG
- register long int member_offset = SARMAG;
-#else
-#ifdef AIAMAG
- long int member_offset;
- long int last_member_offset;
-
- sscanf (fl_header.fl_fstmoff, "%12ld", &member_offset);
- sscanf (fl_header.fl_lstmoff, "%12ld", &last_member_offset);
-#else
-#ifndef M_XENIX
- register long int member_offset = sizeof (int);
-#else /* Xenix. */
- register long int member_offset = sizeof (unsigned short int);
-#endif /* Not Xenix. */
-#endif
-#endif
-
- while (1)
- {
- register int nread;
- struct ar_hdr member_header;
-#ifdef AIAMAG
- char name[256];
- int name_len;
- long int dateval;
- int uidval, gidval;
- long int data_offset;
-#else
- char namebuf[sizeof member_header.ar_name + 1];
- char *name;
- int is_namemap; /* Nonzero if this entry maps long names. */
-#endif
- long int eltsize;
- int eltmode;
- long int fnval;
-
- if (lseek (desc, member_offset, 0) < 0)
- {
- (void) close (desc);
- return -2;
- }
-
-#ifdef AIAMAG
-#define AR_MEMHDR (AR_HDR_SIZE - sizeof (member_header._ar_name))
- nread = read (desc, (char *) &member_header, AR_MEMHDR);
-
- if (nread != AR_MEMHDR)
- {
- (void) close (desc);
- return -2;
- }
-
- sscanf (member_header.ar_namlen, "%4d", &name_len);
- nread = read (desc, name, name_len);
-
- if (nread != name_len)
- {
- (void) close (desc);
- return -2;
- }
-
- name[name_len] = 0;
-
- sscanf (member_header.ar_date, "%12ld", &dateval);
- sscanf (member_header.ar_uid, "%12d", &uidval);
- sscanf (member_header.ar_gid, "%12d", &gidval);
- sscanf (member_header.ar_mode, "%12o", &eltmode);
- sscanf (member_header.ar_size, "%12ld", &eltsize);
-
- if ((data_offset = member_offset + AR_MEMHDR + name_len + 2) % 2)
- ++data_offset;
-
- fnval =
- (*function) (desc, name, 0,
- member_offset, data_offset, eltsize,
- dateval, uidval, gidval,
- eltmode, arg);
-
-#else /* Not AIAMAG. */
- nread = read (desc, (char *) &member_header, AR_HDR_SIZE);
- if (nread == 0)
- /* No data left means end of file; that is OK. */
- break;
-
- if (nread != AR_HDR_SIZE
-#ifdef ARFMAG
- || bcmp (member_header.ar_fmag, ARFMAG, 2)
-#endif
- )
- {
- (void) close (desc);
- return -2;
- }
-
- name = namebuf;
- bcopy (member_header.ar_name, name, sizeof member_header.ar_name);
- {
- register char *p = name + sizeof member_header.ar_name;
- do
- *p = '\0';
- while (p > name && *--p == ' ');
-
-#ifndef AIAMAG
- /* If the member name is "//" or "ARFILENAMES/" this may be
- a list of file name mappings. The maximum file name
- length supported by the standard archive format is 14
- characters. This member will actually always be the
- first or second entry in the archive, but we don't check
- that. */
- is_namemap = (!strcmp (name, "//")
- || !strcmp (name, "ARFILENAMES/"));
-#endif /* Not AIAMAG. */
- /* On some systems, there is a slash after each member name. */
- if (*p == '/')
- *p = '\0';
-
-#ifndef AIAMAG
- /* If the member name starts with a space or a slash, this
- is an index into the file name mappings (used by GNU ar).
- Otherwise if the member name looks like #1/NUMBER the
- real member name appears in the element data (used by
- 4.4BSD). */
- if (! is_namemap
- && (name[0] == ' ' || name[0] == '/')
- && namemap != 0)
- {
- name = namemap + atoi (name + 1);
- long_name = 1;
- }
- else if (name[0] == '#'
- && name[1] == '1'
- && name[2] == '/')
- {
- int namesize = atoi (name + 3);
-
- name = (char *) alloca (namesize + 1);
- nread = read (desc, name, namesize);
- if (nread != namesize)
- {
- close (desc);
- return -2;
- }
- name[namesize] = '\0';
-
- long_name = 1;
- }
-#endif /* Not AIAMAG. */
- }
-
-#ifndef M_XENIX
- sscanf (member_header.ar_mode, "%o", &eltmode);
- eltsize = atol (member_header.ar_size);
-#else /* Xenix. */
- eltmode = (unsigned short int) member_header.ar_mode;
- eltsize = member_header.ar_size;
-#endif /* Not Xenix. */
-
- fnval =
- (*function) (desc, name, ! long_name, member_offset,
- member_offset + AR_HDR_SIZE, eltsize,
-#ifndef M_XENIX
- atol (member_header.ar_date),
- atoi (member_header.ar_uid),
- atoi (member_header.ar_gid),
-#else /* Xenix. */
- member_header.ar_date,
- member_header.ar_uid,
- member_header.ar_gid,
-#endif /* Not Xenix. */
- eltmode, arg);
-
-#endif /* AIAMAG. */
-
- if (fnval)
- {
- (void) close (desc);
- return fnval;
- }
-
-#ifdef AIAMAG
- if (member_offset == last_member_offset)
- /* End of the chain. */
- break;
-
- sscanf (member_header.ar_nxtmem, "%12ld", &member_offset);
-
- if (lseek (desc, member_offset, 0) != member_offset)
- {
- (void) close (desc);
- return -2;
- }
-#else
-
- /* If this member maps archive names, we must read it in. The
- name map will always precede any members whose names must
- be mapped. */
- if (is_namemap)
- {
- char *clear;
- char *limit;
-
- namemap = (char *) alloca (eltsize);
- nread = read (desc, namemap, eltsize);
- if (nread != eltsize)
- {
- (void) close (desc);
- return -2;
- }
-
- /* The names are separated by newlines. Some formats have
- a trailing slash. Null terminate the strings for
- convenience. */
- limit = namemap + eltsize;
- for (clear = namemap; clear < limit; clear++)
- {
- if (*clear == '\n')
- {
- *clear = '\0';
- if (clear[-1] == '/')
- clear[-1] = '\0';
- }
- }
-
- is_namemap = 0;
- }
-
- member_offset += AR_HDR_SIZE + eltsize;
- if (member_offset % 2 != 0)
- member_offset++;
-#endif
- }
- }
-
- close (desc);
- return 0;
-}
-
-/* Return nonzero iff NAME matches MEM.
- If TRUNCATED is nonzero, MEM may be truncated to
- sizeof (struct ar_hdr.ar_name) - 1. */
-
-int
-ar_name_equal (name, mem, truncated)
- char *name, *mem;
- int truncated;
-{
- char *p;
-
- p = rindex (name, '/');
- if (p != 0)
- name = p + 1;
-
- /* We no longer use this kludge, since we
- now support long archive member names. */
-
-#if 0 && !defined (AIAMAG) && !defined (APOLLO)
-
- {
- /* `reallylongname.o' matches `reallylongnam.o'.
- If member names have a trailing slash, that's `reallylongna.o'. */
-
- struct ar_hdr h;
- unsigned int max = sizeof (h.ar_name);
- unsigned int namelen, memlen;
-
- if (strncmp (name, mem, max - 3))
- return 0;
-
- namelen = strlen (name);
- memlen = strlen (mem);
-
- if (namelen > memlen && memlen >= max - 1
- && name[namelen - 2] == '.' && name[namelen - 1] == 'o'
- && mem[memlen - 2] == '.' && mem[memlen - 1] == 'o')
- return 1;
-
- if (namelen != memlen)
- return 0;
-
- return (namelen < max - 3 || !strcmp (name + max - 3, mem + max - 3));
- }
-
-#else /* AIX or APOLLO. */
-
- if (truncated)
- {
-#ifdef AIAMAG
- /* TRUNCATED should never be set on this system. */
- abort ();
-#else
- struct ar_hdr hdr;
- return !strncmp (name, mem,
- sizeof (hdr.ar_name) -
-#if !defined (__hpux) && !defined (cray)
- 1
-#else
- 2
-#endif /* !__hpux && !cray */
- );
-#endif
- }
-
- return !strcmp (name, mem);
-
-#endif
-}
-
-/* ARGSUSED */
-static long int
-ar_member_pos (desc, mem, truncated,
- hdrpos, datapos, size, date, uid, gid, mode, name)
- int desc;
- char *mem;
- int truncated;
- long int hdrpos, datapos, size, date;
- int uid, gid, mode;
- char *name;
-{
- if (!ar_name_equal (name, mem, truncated))
- return 0;
- return hdrpos;
-}
-
-/* Set date of member MEMNAME in archive ARNAME to current time.
- Returns 0 if successful,
- -1 if file ARNAME does not exist,
- -2 if not a valid archive,
- -3 if other random system call error (including file read-only),
- 1 if valid but member MEMNAME does not exist. */
-
-int
-ar_member_touch (arname, memname)
- char *arname, *memname;
-{
- register long int pos = ar_scan (arname, ar_member_pos, (long int) memname);
- register int fd;
- struct ar_hdr ar_hdr;
- register int i;
- struct stat statbuf;
-
- if (pos < 0)
- return (int) pos;
- if (!pos)
- return 1;
-
- fd = open (arname, O_RDWR, 0666);
- if (fd < 0)
- return -3;
- /* Read in this member's header */
- if (lseek (fd, pos, 0) < 0)
- goto lose;
- if (AR_HDR_SIZE != read (fd, (char *) &ar_hdr, AR_HDR_SIZE))
- goto lose;
- /* Write back the header, thus touching the archive file. */
- if (lseek (fd, pos, 0) < 0)
- goto lose;
- if (AR_HDR_SIZE != write (fd, (char *) &ar_hdr, AR_HDR_SIZE))
- goto lose;
- /* The file's mtime is the time we we want. */
-#ifdef EINTR
- while (fstat (fd, &statbuf) < 0 && errno == EINTR);
-#else
- fstat (fd, &statbuf);
-#endif
-#if defined(ARFMAG) || defined(AIAMAG)
- /* Advance member's time to that time */
- for (i = 0; i < sizeof ar_hdr.ar_date; i++)
- ar_hdr.ar_date[i] = ' ';
- sprintf (ar_hdr.ar_date, "%ld", (long int) statbuf.st_mtime);
-#ifdef AIAMAG
- ar_hdr.ar_date[strlen(ar_hdr.ar_date)] = ' ';
-#endif
-#else
- ar_hdr.ar_date = statbuf.st_mtime;
-#endif
- /* Write back this member's header */
- if (lseek (fd, pos, 0) < 0)
- goto lose;
- if (AR_HDR_SIZE != write (fd, (char *) &ar_hdr, AR_HDR_SIZE))
- goto lose;
- close (fd);
- return 0;
-
- lose:
- i = errno;
- close (fd);
- errno = i;
- return -3;
-}
-
-#ifdef TEST
-
-long int
-describe_member (desc, name, truncated,
- hdrpos, datapos, size, date, uid, gid, mode)
- int desc;
- char *name;
- int truncated;
- long int hdrpos, datapos, size, date;
- int uid, gid, mode;
-{
- extern char *ctime ();
-
- printf ("Member `%s'%s: %ld bytes at %ld (%ld).\n",
- name, truncated ? " (name might be truncated)" : "",
- size, hdrpos, datapos);
- printf (" Date %s", ctime (&date));
- printf (" uid = %d, gid = %d, mode = 0%o.\n", uid, gid, mode);
-
- return 0;
-}
-
-main (argc, argv)
- int argc;
- char **argv;
-{
- ar_scan (argv[1], describe_member);
- return 0;
-}
-
-#endif /* TEST. */
-
-#endif /* NO_ARCHIVES. */
diff --git a/buildtools/windows/source/make/build.sh.in b/buildtools/windows/source/make/build.sh.in
deleted file mode 100644
index 1667f0e15ac..00000000000
--- a/buildtools/windows/source/make/build.sh.in
+++ /dev/null
@@ -1,69 +0,0 @@
-#!/bin/sh
-# Shell script to build GNU Make in the absence of any `make' program.
-# @configure_input@
-
-# Copyright (C) 1993, 1994 Free Software Foundation, Inc.
-# This file is part of GNU Make.
-#
-# GNU Make is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-#
-# GNU Make is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with GNU Make; see the file COPYING. If not, write to
-# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
-
-# See Makefile.in for comments describing these variables.
-
-srcdir='@srcdir@'
-CC='@CC@'
-CFLAGS='@CFLAGS@'
-CPPFLAGS='@CPPFLAGS@'
-LDFLAGS='@LDFLAGS@'
-defines='@DEFS@ -DLIBDIR="${libdir}" -DINCLUDEDIR="${includedir}"'
-ALLOCA='@ALLOCA@'
-LOADLIBES='@LIBS@'
-extras='@LIBOBJS@'
-REMOTE='@REMOTE@'
-
-# Common prefix for machine-independent installed files.
-prefix='@prefix@'
-# Common prefix for machine-dependent installed files.
-exec_prefix='@exec_prefix@'
-# Directory to find libraries in for `-lXXX'.
-libdir=${exec_prefix}/lib
-# Directory to search by default for included makefiles.
-includedir=${prefix}/include
-
-# Exit as soon as any command fails.
-set -e
-
-# These are all the objects we need to link together.
-objs="commands.o job.o dir.o file.o misc.o main.o read.o remake.o rule.o implicit.o default.o variable.o expand.o function.o vpath.o version.o ar.o arscan.o signame.o getopt.o getopt1.o glob/glob.o glob/fnmatch.o remote-${REMOTE}.o ${extras} ${ALLOCA}"
-
-# Compile the source files into those objects.
-for file in `echo ${objs} | sed 's/\.o/.c/g'`; do
- echo compiling ${file}...
- $CC $defines $CPPFLAGS $CFLAGS \
- -c -I. -I${srcdir} -I${srcdir}/glob ${srcdir}/$file
-done
-
-# The object files were actually all put in the current directory.
-# Remove the source directory names from the list.
-srcobjs="$objs"
-objs=
-for obj in $srcobjs; do
- objs="$objs `basename $obj`"
-done
-
-# Link all the objects together.
-echo linking make...
-$CC $LDFLAGS $objs $LOADLIBES -o make.new
-echo done
-mv -f make.new make
diff --git a/buildtools/windows/source/make/commands.c b/buildtools/windows/source/make/commands.c
deleted file mode 100644
index 7c5614f0f4a..00000000000
--- a/buildtools/windows/source/make/commands.c
+++ /dev/null
@@ -1,521 +0,0 @@
-/* Command processing for GNU Make.
-Copyright (C) 1988, 1989, 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
-This file is part of GNU Make.
-
-GNU Make is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
-any later version.
-
-GNU Make is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Make; see the file COPYING. If not, write to
-the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-
-#include "make.h"
-#include "dep.h"
-#include "commands.h"
-#include "file.h"
-#include "variable.h"
-#include "job.h"
-
-extern int remote_kill ();
-
-#ifndef HAVE_UNISTD_H
-extern int getpid ();
-#endif
-
-/* Set FILE's automatic variables up. */
-
-static void
-set_file_variables (file)
- register struct file *file;
-{
-// register char *p;
- char *at, *percent, *star, *less;
-
-#ifndef NO_ARCHIVES
- /* If the target is an archive member `lib(member)',
- then $@ is `lib' and $% is `member'. */
-
- if (ar_name (file->name))
- {
- unsigned int len;
- p = index (file->name, '(');
- at = (char *) alloca (p - file->name + 1);
- bcopy (file->name, at, p - file->name);
- at[p - file->name] = '\0';
- len = strlen (p + 1);
- percent = (char *) alloca (len);
- bcopy (p + 1, percent, len - 1);
- percent[len - 1] = '\0';
- }
- else
-#endif /* NO_ARCHIVES. */
- {
- at = file->name;
- percent = "";
- }
-
- /* $* is the stem from an implicit or static pattern rule. */
- if (file->stem == 0)
- {
- /* In Unix make, $* is set to the target name with
- any suffix in the .SUFFIXES list stripped off for
- explicit rules. We store this in the `stem' member. */
- register struct dep *d;
- char *name;
- unsigned int len;
-
-#ifndef NO_ARCHIVES
- if (ar_name (file->name))
- {
- name = index (file->name, '(') + 1;
- len = strlen (name) - 1;
- }
- else
-#endif
- {
- name = file->name;
- len = strlen (name);
- }
-
- for (d = enter_file (".SUFFIXES")->deps; d != 0; d = d->next)
- {
- unsigned int slen = strlen (dep_name (d));
- if (len > slen && !strncmp (dep_name (d), name + (len - slen), slen))
- {
- file->stem = savestring (name, len - slen);
- break;
- }
- }
- if (d == 0)
- file->stem = "";
- }
- star = file->stem;
-
- /* $< is the first dependency. */
- less = file->deps != 0 ? dep_name (file->deps) : "";
-
- if (file->cmds == default_file->cmds)
- /* This file got its commands from .DEFAULT.
- In this case $< is the same as $@. */
- less = at;
-
-#define DEFINE_VARIABLE(name, len, value) \
- (void) define_variable_for_file (name, len, value, o_automatic, 0, file)
-
- /* Define the variables. */
-
- DEFINE_VARIABLE ("<", 1, less);
- DEFINE_VARIABLE ("*", 1, star);
- DEFINE_VARIABLE ("@", 1, at);
- DEFINE_VARIABLE ("%", 1, percent);
-
- /* Compute the values for $^, $+, and $?. */
-
- {
- register unsigned int qmark_len, plus_len;
- char *caret_value, *plus_value;
- register char *cp;
- char *qmark_value;
- register char *qp;
- register struct dep *d;
- unsigned int len;
-
- /* Compute first the value for $+, which is supposed to contain
- duplicate dependencies as they were listed in the makefile. */
-
- plus_len = 0;
- for (d = file->deps; d != 0; d = d->next)
- plus_len += strlen (dep_name (d)) + 1;
-
- len = plus_len == 0 ? 1 : plus_len;
- cp = plus_value = (char *) alloca (len);
-
- qmark_len = plus_len; /* Will be this or less. */
- for (d = file->deps; d != 0; d = d->next)
- {
- char *c = dep_name (d);
-
-#ifndef NO_ARCHIVES
- if (ar_name (c))
- {
- c = index (c, '(') + 1;
- len = strlen (c) - 1;
- }
- else
-#endif
- len = strlen (c);
-
- bcopy (c, cp, len);
- cp += len;
- *cp++ = ' ';
-
- if (! d->changed)
- qmark_len -= len + 1; /* Don't space in $? for this one. */
- }
-
- /* Kill the last space and define the variable. */
-
- cp[cp > plus_value ? -1 : 0] = '\0';
- DEFINE_VARIABLE ("+", 1, plus_value);
-
- /* Make sure that no dependencies are repeated. This does not
- really matter for the purpose of updating targets, but it
- might make some names be listed twice for $^ and $?. */
-
- uniquize_deps (file->deps);
-
- /* Compute the values for $^ and $?. */
-
- cp = caret_value = plus_value; /* Reuse the buffer; it's big enough. */
- len = qmark_len == 0 ? 1 : qmark_len;
- qp = qmark_value = (char *) alloca (len);
-
- for (d = file->deps; d != 0; d = d->next)
- {
- char *c = dep_name (d);
-
-#ifndef NO_ARCHIVES
- if (ar_name (c))
- {
- c = index (c, '(') + 1;
- len = strlen (c) - 1;
- }
- else
-#endif
- len = strlen (c);
-
- bcopy (c, cp, len);
- cp += len;
- *cp++ = ' ';
-
- if (d->changed)
- {
- bcopy (c, qp, len);
- qp += len;
- *qp++ = ' ';
- }
- }
-
- /* Kill the last spaces and define the variables. */
-
- cp[cp > caret_value ? -1 : 0] = '\0';
- DEFINE_VARIABLE ("^", 1, caret_value);
-
- qp[qp > qmark_value ? -1 : 0] = '\0';
- DEFINE_VARIABLE ("?", 1, qmark_value);
- }
-
-#undef DEFINE_VARIABLE
-}
-
-/* Chop CMDS up into individual command lines if necessary.
- Also set the `lines_flag' and `any_recurse' members. */
-
-void
-chop_commands (cmds)
- register struct commands *cmds;
-{
- if (cmds != 0 && cmds->command_lines == 0)
- {
- /* Chop CMDS->commands up into lines in CMDS->command_lines.
- Also set the corresponding CMDS->lines_flags elements,
- and the CMDS->any_recurse flag. */
- register char *p;
- unsigned int nlines, idx;
- char **lines;
-
- nlines = 5;
- lines = (char **) xmalloc (5 * sizeof (char *));
- idx = 0;
- p = cmds->commands;
- while (*p != '\0')
- {
- char *end = p;
- find_end:;
- end = index (end, '\n');
- if (end == 0)
- end = p + strlen (p);
- else if (end > p && end[-1] == '\\')
- {
- int backslash = 1;
- register char *b;
- for (b = end - 2; b >= p && *b == '\\'; --b)
- backslash = !backslash;
- if (backslash)
- {
- ++end;
- goto find_end;
- }
- }
-
- if (idx == nlines)
- {
- nlines += 2;
- lines = (char **) xrealloc ((char *) lines,
- nlines * sizeof (char *));
- }
- lines[idx++] = savestring (p, end - p);
- p = end;
- if (*p != '\0')
- ++p;
- }
-
- if (idx != nlines)
- {
- nlines = idx;
- lines = (char **) xrealloc ((char *) lines,
- nlines * sizeof (char *));
- }
-
- cmds->ncommand_lines = nlines;
- cmds->command_lines = lines;
-
- cmds->any_recurse = 0;
- cmds->lines_flags = (char *) xmalloc (nlines);
- for (idx = 0; idx < nlines; ++idx)
- {
- int flags = 0;
-
- for (p = lines[idx];
- isblank (*p) || *p == '-' || *p == '@' || *p == '+';
- ++p)
- switch (*p)
- {
- case '+':
- flags |= COMMANDS_RECURSE;
- break;
- case '@':
- flags |= COMMANDS_SILENT;
- break;
- case '-':
- flags |= COMMANDS_NOERROR;
- break;
- }
- if (!(flags & COMMANDS_RECURSE))
- {
- unsigned int len = strlen (p);
- if (sindex (p, len, "$(MAKE)", 7) != 0
- || sindex (p, len, "${MAKE}", 7) != 0)
- flags |= COMMANDS_RECURSE;
- }
-
- cmds->lines_flags[idx] = flags;
- cmds->any_recurse |= flags & COMMANDS_RECURSE;
- }
- }
-}
-
-/* Execute the commands to remake FILE. If they are currently executing,
- return or have already finished executing, just return. Otherwise,
- fork off a child process to run the first command line in the sequence. */
-
-void
-execute_file_commands (file)
- struct file *file;
-{
- register char *p;
-
- /* Don't go through all the preparations if
- the commands are nothing but whitespace. */
-
- for (p = file->cmds->commands; *p != '\0'; ++p)
- if (!isspace (*p) && *p != '-' && *p != '@')
- break;
- if (*p == '\0')
- {
- /* We are all out of commands.
- If we have gotten this far, all the previous commands
- have run successfully, so we have winning update status. */
- file->update_status = 0;
- notice_finished_file (file);
- return;
- }
-
- /* First set the automatic variables according to this file. */
-
- initialize_file_variables (file);
-
- set_file_variables (file);
-
- /* Start the commands running. */
- new_job (file);
-}
-
-/* This is set while we are inside fatal_error_signal,
- so things can avoid nonreentrant operations. */
-
-int handling_fatal_signal = 0;
-
-/* Handle fatal signals. */
-
-RETSIGTYPE
-fatal_error_signal (sig)
- int sig;
-{
-#if defined(__MSDOS__) || defined(NETSCAPE)
- remove_intermediates (1);
- exit (1);
-#else /* Not MSDOS. */
- handling_fatal_signal = 1;
-
- /* Set the handling for this signal to the default.
- It is blocked now while we run this handler. */
- signal (sig, SIG_DFL);
-
- /* A termination signal won't be sent to the entire
- process group, but it means we want to kill the children. */
-
- if (sig == SIGTERM)
- {
- register struct child *c;
- for (c = children; c != 0; c = c->next)
- if (!c->remote)
- (void) kill (c->pid, SIGTERM);
- }
-
- /* If we got a signal that means the user
- wanted to kill make, remove pending targets. */
-
- if (sig == SIGTERM || sig == SIGINT || sig == SIGHUP || sig == SIGQUIT)
- {
- register struct child *c;
-
- /* Remote children won't automatically get signals sent
- to the process group, so we must send them. */
- for (c = children; c != 0; c = c->next)
- if (c->remote)
- (void) remote_kill (c->pid, sig);
-
- for (c = children; c != 0; c = c->next)
- delete_child_targets (c);
-
- /* Clean up the children. We don't just use the call below because
- we don't want to print the "Waiting for children" message. */
- while (job_slots_used > 0)
- reap_children (1, 0);
- }
- else
- /* Wait for our children to die. */
- while (job_slots_used > 0)
- reap_children (1, 1);
-
- /* Delete any non-precious intermediate files that were made. */
-
- remove_intermediates (1);
-
- if (sig == SIGQUIT)
- /* We don't want to send ourselves SIGQUIT, because it will
- cause a core dump. Just exit instead. */
- exit (1);
-
- /* Signal the same code; this time it will really be fatal. The signal
- will be unblocked when we return and arrive then to kill us. */
- if (kill (getpid (), sig) < 0)
- pfatal_with_name ("kill");
-#endif /* MSDOS. */
-}
-
-/* Delete FILE unless it's precious or not actually a file (phony),
- and it has changed on disk since we last stat'd it. */
-
-static void
-delete_target (file, on_behalf_of)
- struct file *file;
- char *on_behalf_of;
-{
- struct stat st;
-
- if (file->precious || file->phony)
- return;
-
-#ifndef NO_ARCHIVES
- if (ar_name (file->name))
- {
- if (ar_member_date (file->name) != file->last_mtime)
- {
- if (on_behalf_of)
- error ("*** [%s] Archive member `%s' may be bogus; not deleted",
- on_behalf_of, file->name);
- else
- error ("*** Archive member `%s' may be bogus; not deleted",
- file->name);
- }
- return;
- }
-#endif
-
- if (safe_stat (file->name, &st) == 0
- && S_ISREG (st.st_mode)
- && (time_t) st.st_mtime != file->last_mtime)
- {
- if (on_behalf_of)
- error ("*** [%s] Deleting file `%s'", on_behalf_of, file->name);
- else
- error ("*** Deleting file `%s'", file->name);
- if (unlink (file->name) < 0)
- perror_with_name ("unlink: ", file->name);
- }
-}
-
-
-/* Delete all non-precious targets of CHILD unless they were already deleted.
- Set the flag in CHILD to say they've been deleted. */
-
-void
-delete_child_targets (child)
- struct child *child;
-{
- struct dep *d;
-
- if (child->deleted)
- return;
-
- /* Delete the target file if it changed. */
- delete_target (child->file, (char *) 0);
-
- /* Also remove any non-precious targets listed in the `also_make' member. */
- for (d = child->file->also_make; d != 0; d = d->next)
- delete_target (d->file, child->file->name);
-
- child->deleted = 1;
-}
-
-/* Print out the commands in CMDS. */
-
-void
-print_commands (cmds)
- register struct commands *cmds;
-{
- register char *s;
-
- fputs ("# commands to execute", stdout);
-
- if (cmds->filename == 0)
- puts (" (built-in):");
- else
- printf (" (from `%s', line %u):\n", cmds->filename, cmds->lineno);
-
- s = cmds->commands;
- while (*s != '\0')
- {
- char *end;
-
- while (isspace (*s))
- ++s;
-
- end = index (s, '\n');
- if (end == 0)
- end = s + strlen (s);
-
- printf ("\t%.*s\n", (int) (end - s), s);
-
- s = end;
- }
-}
diff --git a/buildtools/windows/source/make/commands.h b/buildtools/windows/source/make/commands.h
deleted file mode 100644
index 31de16ae79e..00000000000
--- a/buildtools/windows/source/make/commands.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/* Definition of data structures describing shell commands for GNU Make.
-Copyright (C) 1988, 1989, 1991, 1993 Free Software Foundation, Inc.
-This file is part of GNU Make.
-
-GNU Make is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
-any later version.
-
-GNU Make is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Make; see the file COPYING. If not, write to
-the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-
-/* Structure that gives the commands to make a file
- and information about where these commands came from. */
-
-struct commands
- {
- char *filename; /* File that contains commands. */
- unsigned int lineno; /* Line number in file. */
- char *commands; /* Commands text. */
- unsigned int ncommand_lines;/* Number of command lines. */
- char **command_lines; /* Commands chopped up into lines. */
- char *lines_flags; /* One set of flag bits for each line. */
- int any_recurse; /* Nonzero if any `lines_recurse' elt has */
- /* the COMMANDS_RECURSE bit set. */
- };
-
-/* Bits in `lines_flags'. */
-#define COMMANDS_RECURSE 1 /* Recurses: + or $(MAKE). */
-#define COMMANDS_SILENT 2 /* Silent: @. */
-#define COMMANDS_NOERROR 4 /* No errors: -. */
-
-extern void execute_file_commands ();
-extern void print_commands ();
-extern void delete_child_targets ();
-extern void chop_commands ();
diff --git a/buildtools/windows/source/make/config.h b/buildtools/windows/source/make/config.h
deleted file mode 100644
index 8c12f31d0c2..00000000000
--- a/buildtools/windows/source/make/config.h
+++ /dev/null
@@ -1,275 +0,0 @@
-/* config.h.in. Generated automatically from configure.in by autoheader. */
-
-/* Define if on AIX 3.
- System headers sometimes define this.
- We just want to avoid a redefinition error message. */
-#ifndef _ALL_SOURCE
-#undef _ALL_SOURCE
-#endif
-
-/* Define if using alloca.c. */
-#undef C_ALLOCA
-
-/* Define to empty if the keyword does not work. */
-#undef const
-
-/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
- This function is required for alloca.c support on those systems. */
-#undef CRAY_STACKSEG_END
-
-/* Define for DGUX with . */
-#undef DGUX
-
-/* Define if the `getloadavg' function needs to be run setuid or setgid. */
-#undef GETLOADAVG_PRIVILEGED
-
-/* Define to `int' if doesn't define. */
-#define gid_t
-
-/* Define if you have alloca, as a function or macro. */
-#undef HAVE_ALLOCA
-
-/* Define if you have and it should be used (not on Ultrix). */
-#undef HAVE_ALLOCA_H
-
-/* Define if you don't have vprintf but do have _doprnt. */
-#undef HAVE_DOPRNT
-
-/* Define if your system has its own `getloadavg' function. */
-#undef HAVE_GETLOADAVG
-
-/* Define if you have the getmntent function. */
-#undef HAVE_GETMNTENT
-
-/* Define if the `long double' type works. */
-#undef HAVE_LONG_DOUBLE
-
-/* Define if you support file names longer than 14 characters. */
-#define HAVE_LONG_FILE_NAMES
-
-/* Define if you have a working `mmap' system call. */
-#undef HAVE_MMAP
-
-/* Define if system calls automatically restart after interruption
- by a signal. */
-#undef HAVE_RESTARTABLE_SYSCALLS
-
-/* Define if your struct stat has st_blksize. */
-#undef HAVE_ST_BLKSIZE
-
-/* Define if your struct stat has st_blocks. */
-#undef HAVE_ST_BLOCKS
-
-/* Define if you have the strcoll function and it is properly defined. */
-#undef HAVE_STRCOLL
-
-/* Define if your struct stat has st_rdev. */
-#undef HAVE_ST_RDEV
-
-/* Define if you have the strftime function. */
-#define HAVE_STRFTIME
-
-/* Define if you have that is POSIX.1 compatible. */
-#undef HAVE_SYS_WAIT_H
-
-/* Define if your struct tm has tm_zone. */
-#undef HAVE_TM_ZONE
-
-/* Define if you don't have tm_zone but do have the external array
- tzname. */
-#define HAVE_TZNAME
-
-/* Define if you have . */
-#undef HAVE_UNISTD_H
-
-/* Define if utime(file, NULL) sets file's timestamp to the present. */
-#define HAVE_UTIME_NULL
-
-/* Define if you have . */
-#undef HAVE_VFORK_H
-
-/* Define if you have the vprintf function. */
-#undef HAVE_VPRINTF
-
-/* Define if you have the wait3 system call. */
-#undef HAVE_WAIT3
-
-/* Define if on MINIX. */
-#undef _MINIX
-
-/* Define if your struct nlist has an n_un member. */
-#undef NLIST_NAME_UNION
-
-/* Define if you have . */
-#undef NLIST_STRUCT
-
-/* Define if your C compiler doesn't accept -c and -o together. */
-#define NO_MINUS_C_MINUS_O
-
-/* Define to `int' if doesn't define. */
-#define pid_t int
-
-/* Define if the system does not provide POSIX.1 features except
- with this defined. */
-#undef _POSIX_1_SOURCE
-
-/* Define if you need to in order for stat and other things to work. */
-#undef _POSIX_SOURCE
-
-/* Define as the return type of signal handlers (int or void). */
-#undef RETSIGTYPE
-
-/* Define if the setvbuf function takes the buffering type as its second
- argument and the buffer pointer as the third, as on System V
- before release 3. */
-#undef SETVBUF_REVERSED
-
-/* If using the C implementation of alloca, define if you know the
- direction of stack growth for your system; otherwise it will be
- automatically deduced at run-time.
- STACK_DIRECTION > 0 => grows toward higher addresses
- STACK_DIRECTION < 0 => grows toward lower addresses
- STACK_DIRECTION = 0 => direction of growth unknown
- */
-#undef STACK_DIRECTION
-
-/* Define if the `S_IS*' macros in do not work properly. */
-#define STAT_MACROS_BROKEN
-
-/* Define if you have the ANSI C header files. */
-#define STDC_HEADERS
-
-/* Define on System V Release 4. */
-#undef SVR4
-
-/* Define if `sys_siglist' is declared by . */
-#undef SYS_SIGLIST_DECLARED
-
-/* Define to `int' if doesn't define. */
-#define uid_t int
-
-/* Define for Encore UMAX. */
-#undef UMAX
-
-/* Define for Encore UMAX 4.3 that has
- instead of . */
-#undef UMAX4_3
-
-/* Define vfork as fork if vfork does not work. */
-#undef vfork
-
-/* Define to the name of the SCCS `get' command. */
-#define SCCS_GET "get"
-
-/* Define this if the SCCS `get' command understands the `-G' option. */
-#undef SCCS_GET_MINUS_G
-
-/* Define this if the C library defines the variable `sys_siglist'. */
-#undef HAVE_SYS_SIGLIST
-
-/* Define this if the C library defines the variable `_sys_siglist'. */
-#undef HAVE__SYS_SIGLIST
-
-/* Define this if you have the `union wait' type in . */
-#undef HAVE_UNION_WAIT
-
-/* Define this if the POSIX.1 call `sysconf (_SC_OPEN_MAX)' works properly. */
-#undef HAVE_SYSCONF_OPEN_MAX
-
-/* Define if you have the dup2 function. */
-#undef HAVE_DUP2
-
-/* Define if you have the getcwd function. */
-#define HAVE_GETCWD
-
-/* Define if you have the getdtablesize function. */
-#undef HAVE_GETDTABLESIZE
-
-/* Define if you have the getgroups function. */
-#undef HAVE_GETGROUPS
-
-/* Define if you have the mktemp function. */
-#undef HAVE_MKTEMP
-
-/* Define if you have the psignal function. */
-#undef HAVE_PSIGNAL
-
-/* Define if you have the setegid function. */
-#undef HAVE_SETEGID
-
-/* Define if you have the seteuid function. */
-#undef HAVE_SETEUID
-
-/* Define if you have the setlinebuf function. */
-#undef HAVE_SETLINEBUF
-
-/* Define if you have the setregid function. */
-#undef HAVE_SETREGID
-
-/* Define if you have the setreuid function. */
-#undef HAVE_SETREUID
-
-/* Define if you have the sigsetmask function. */
-#undef HAVE_SIGSETMASK
-
-/* Define if you have the strerror function. */
-#undef HAVE_STRERROR
-
-/* Define if you have the strsignal function. */
-#undef HAVE_STRSIGNAL
-
-/* Define if you have the wait3 function. */
-#undef HAVE_WAIT3
-
-/* Define if you have the waitpid function. */
-#undef HAVE_WAITPID
-
-/* Define if you have the header file. */
-#undef HAVE_DIRENT_H
-
-/* Define if you have the header file. */
-#define HAVE_FCNTL_H
-
-/* Define if you have the header file. */
-#undef HAVE_LIMITS_H
-
-/* Define if you have the header file. */
-#undef HAVE_MACH_MACH_H
-
-/* Define if you have the header file. */
-#define HAVE_MEMORY_H
-
-/* Define if you have the header file. */
-#undef HAVE_NDIR_H
-
-/* Define if you have the header file. */
-#define HAVE_STRING_H
-
-/* Define if you have the header file. */
-#undef HAVE_SYS_DIR_H
-
-/* Define if you have the header file. */
-#undef HAVE_SYS_NDIR_H
-
-/* Define if you have the header file. */
-#undef HAVE_SYS_PARAM_H
-
-/* Define if you have the header file. */
-#undef HAVE_SYS_TIMEB_H
-
-/* Define if you have the header file. */
-#undef HAVE_SYS_WAIT_H
-
-/* Define if you have the header file. */
-#undef HAVE_UNISTD_H
-
-/* Define if you have the dgc library (-ldgc). */
-#undef HAVE_LIBDGC
-
-/* Define if you have the sun library (-lsun). */
-#undef HAVE_LIBSUN
-
-/* NETSCAPE: Under win32, define default libdir */
-#define LIBDIR "\\msvc20\\lib"
-#define NO_ARCHIVES
-#define HAVE_GLOB_H
diff --git a/buildtools/windows/source/make/config.h.in b/buildtools/windows/source/make/config.h.in
deleted file mode 100644
index 56af1f3a4ac..00000000000
--- a/buildtools/windows/source/make/config.h.in
+++ /dev/null
@@ -1,270 +0,0 @@
-/* config.h.in. Generated automatically from configure.in by autoheader. */
-
-/* Define if on AIX 3.
- System headers sometimes define this.
- We just want to avoid a redefinition error message. */
-#ifndef _ALL_SOURCE
-#undef _ALL_SOURCE
-#endif
-
-/* Define if using alloca.c. */
-#undef C_ALLOCA
-
-/* Define to empty if the keyword does not work. */
-#undef const
-
-/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
- This function is required for alloca.c support on those systems. */
-#undef CRAY_STACKSEG_END
-
-/* Define for DGUX with . */
-#undef DGUX
-
-/* Define if the `getloadavg' function needs to be run setuid or setgid. */
-#undef GETLOADAVG_PRIVILEGED
-
-/* Define to `int' if doesn't define. */
-#undef gid_t
-
-/* Define if you have alloca, as a function or macro. */
-#undef HAVE_ALLOCA
-
-/* Define if you have and it should be used (not on Ultrix). */
-#undef HAVE_ALLOCA_H
-
-/* Define if you don't have vprintf but do have _doprnt. */
-#undef HAVE_DOPRNT
-
-/* Define if your system has its own `getloadavg' function. */
-#undef HAVE_GETLOADAVG
-
-/* Define if you have the getmntent function. */
-#undef HAVE_GETMNTENT
-
-/* Define if the `long double' type works. */
-#undef HAVE_LONG_DOUBLE
-
-/* Define if you support file names longer than 14 characters. */
-#undef HAVE_LONG_FILE_NAMES
-
-/* Define if you have a working `mmap' system call. */
-#undef HAVE_MMAP
-
-/* Define if system calls automatically restart after interruption
- by a signal. */
-#undef HAVE_RESTARTABLE_SYSCALLS
-
-/* Define if your struct stat has st_blksize. */
-#undef HAVE_ST_BLKSIZE
-
-/* Define if your struct stat has st_blocks. */
-#undef HAVE_ST_BLOCKS
-
-/* Define if you have the strcoll function and it is properly defined. */
-#undef HAVE_STRCOLL
-
-/* Define if your struct stat has st_rdev. */
-#undef HAVE_ST_RDEV
-
-/* Define if you have the strftime function. */
-#undef HAVE_STRFTIME
-
-/* Define if you have that is POSIX.1 compatible. */
-#undef HAVE_SYS_WAIT_H
-
-/* Define if your struct tm has tm_zone. */
-#undef HAVE_TM_ZONE
-
-/* Define if you don't have tm_zone but do have the external array
- tzname. */
-#undef HAVE_TZNAME
-
-/* Define if you have . */
-#undef HAVE_UNISTD_H
-
-/* Define if utime(file, NULL) sets file's timestamp to the present. */
-#undef HAVE_UTIME_NULL
-
-/* Define if you have . */
-#undef HAVE_VFORK_H
-
-/* Define if you have the vprintf function. */
-#undef HAVE_VPRINTF
-
-/* Define if you have the wait3 system call. */
-#undef HAVE_WAIT3
-
-/* Define if on MINIX. */
-#undef _MINIX
-
-/* Define if your struct nlist has an n_un member. */
-#undef NLIST_NAME_UNION
-
-/* Define if you have . */
-#undef NLIST_STRUCT
-
-/* Define if your C compiler doesn't accept -c and -o together. */
-#undef NO_MINUS_C_MINUS_O
-
-/* Define to `int' if doesn't define. */
-#undef pid_t
-
-/* Define if the system does not provide POSIX.1 features except
- with this defined. */
-#undef _POSIX_1_SOURCE
-
-/* Define if you need to in order for stat and other things to work. */
-#undef _POSIX_SOURCE
-
-/* Define as the return type of signal handlers (int or void). */
-#undef RETSIGTYPE
-
-/* Define if the setvbuf function takes the buffering type as its second
- argument and the buffer pointer as the third, as on System V
- before release 3. */
-#undef SETVBUF_REVERSED
-
-/* If using the C implementation of alloca, define if you know the
- direction of stack growth for your system; otherwise it will be
- automatically deduced at run-time.
- STACK_DIRECTION > 0 => grows toward higher addresses
- STACK_DIRECTION < 0 => grows toward lower addresses
- STACK_DIRECTION = 0 => direction of growth unknown
- */
-#undef STACK_DIRECTION
-
-/* Define if the `S_IS*' macros in do not work properly. */
-#undef STAT_MACROS_BROKEN
-
-/* Define if you have the ANSI C header files. */
-#undef STDC_HEADERS
-
-/* Define on System V Release 4. */
-#undef SVR4
-
-/* Define if `sys_siglist' is declared by . */
-#undef SYS_SIGLIST_DECLARED
-
-/* Define to `int' if doesn't define. */
-#undef uid_t
-
-/* Define for Encore UMAX. */
-#undef UMAX
-
-/* Define for Encore UMAX 4.3 that has
- instead of . */
-#undef UMAX4_3
-
-/* Define vfork as fork if vfork does not work. */
-#undef vfork
-
-/* Define to the name of the SCCS `get' command. */
-#undef SCCS_GET
-
-/* Define this if the SCCS `get' command understands the `-G' option. */
-#undef SCCS_GET_MINUS_G
-
-/* Define this if the C library defines the variable `sys_siglist'. */
-#undef HAVE_SYS_SIGLIST
-
-/* Define this if the C library defines the variable `_sys_siglist'. */
-#undef HAVE__SYS_SIGLIST
-
-/* Define this if you have the `union wait' type in . */
-#undef HAVE_UNION_WAIT
-
-/* Define this if the POSIX.1 call `sysconf (_SC_OPEN_MAX)' works properly. */
-#undef HAVE_SYSCONF_OPEN_MAX
-
-/* Define if you have the dup2 function. */
-#undef HAVE_DUP2
-
-/* Define if you have the getcwd function. */
-#undef HAVE_GETCWD
-
-/* Define if you have the getdtablesize function. */
-#undef HAVE_GETDTABLESIZE
-
-/* Define if you have the getgroups function. */
-#undef HAVE_GETGROUPS
-
-/* Define if you have the mktemp function. */
-#undef HAVE_MKTEMP
-
-/* Define if you have the psignal function. */
-#undef HAVE_PSIGNAL
-
-/* Define if you have the setegid function. */
-#undef HAVE_SETEGID
-
-/* Define if you have the seteuid function. */
-#undef HAVE_SETEUID
-
-/* Define if you have the setlinebuf function. */
-#undef HAVE_SETLINEBUF
-
-/* Define if you have the setregid function. */
-#undef HAVE_SETREGID
-
-/* Define if you have the setreuid function. */
-#undef HAVE_SETREUID
-
-/* Define if you have the sigsetmask function. */
-#undef HAVE_SIGSETMASK
-
-/* Define if you have the strerror function. */
-#undef HAVE_STRERROR
-
-/* Define if you have the strsignal function. */
-#undef HAVE_STRSIGNAL
-
-/* Define if you have the wait3 function. */
-#undef HAVE_WAIT3
-
-/* Define if you have the waitpid function. */
-#undef HAVE_WAITPID
-
-/* Define if you have the header file. */
-#undef HAVE_DIRENT_H
-
-/* Define if you have the header file. */
-#undef HAVE_FCNTL_H
-
-/* Define if you have the header file. */
-#undef HAVE_LIMITS_H
-
-/* Define if you have the header file. */
-#undef HAVE_MACH_MACH_H
-
-/* Define if you have the header file. */
-#undef HAVE_MEMORY_H
-
-/* Define if you have the header file. */
-#undef HAVE_NDIR_H
-
-/* Define if you have the header file. */
-#undef HAVE_STRING_H
-
-/* Define if you have the header file. */
-#undef HAVE_SYS_DIR_H
-
-/* Define if you have the header file. */
-#undef HAVE_SYS_NDIR_H
-
-/* Define if you have the header file. */
-#undef HAVE_SYS_PARAM_H
-
-/* Define if you have the header file. */
-#undef HAVE_SYS_TIMEB_H
-
-/* Define if you have the header file. */
-#undef HAVE_SYS_WAIT_H
-
-/* Define if you have the header file. */
-#undef HAVE_UNISTD_H
-
-/* Define if you have the dgc library (-ldgc). */
-#undef HAVE_LIBDGC
-
-/* Define if you have the sun library (-lsun). */
-#undef HAVE_LIBSUN
diff --git a/buildtools/windows/source/make/configh.dos b/buildtools/windows/source/make/configh.dos
deleted file mode 100644
index da5681bc93d..00000000000
--- a/buildtools/windows/source/make/configh.dos
+++ /dev/null
@@ -1,136 +0,0 @@
-/* Generated automatically from configure.in by autoheader. DO NOT EDIT! */
-
-
-
-#define INCLUDEDIR "c:/djgpp/include"
-
-#define LIBDIR "c:/djgpp/lib"
-
-
-
-/* Define if you have dirent.h. */
-
-#define DIRENT
-
-
-
-/* Define if you have the strcoll function and it is properly defined. */
-
-#define HAVE_STRCOLL
-
-
-
-/* Define if you have unistd.h. */
-
-#define HAVE_UNISTD_H
-
-
-
-/* Define as the return type of signal handlers (int or void). */
-
-#define RETSIGTYPE void
-
-
-
-/* Define if you have the ANSI C header files. */
-
-#ifndef STDC_HEADERS
-
-#define STDC_HEADERS
-
-#endif
-
-
-
-/* Define if `sys_siglist' is declared by . */
-
-#define SYS_SIGLIST_DECLARED
-
-
-
-/* Define if you have getdtablesize. */
-
-#define HAVE_GETDTABLESIZE
-
-
-
-/* Define if you have dup2. */
-
-#define HAVE_DUP2
-
-
-
-/* Define if you have sys_siglist. */
-
-#undef HAVE_SYS_SIGLIST
-
-
-
-/* Define if you have _sys_siglist. */
-
-#undef HAVE__SYS_SIGLIST
-
-
-
-/* Define if you have psignal. */
-
-#define HAVE_PSIGNAL
-
-
-
-/* Define if you have getcwd. */
-
-#define HAVE_GETCWD
-
-
-
-/* Define if you have sigsetmask. */
-
-#define HAVE_SIGSETMASK
-
-
-
-/* Define if you have setlinebuf. */
-
-#define HAVE_SETLINEBUF
-
-
-
-/* Define if you have the header file. */
-
-#define HAVE_LIMITS_H
-
-
-
-/* Define if you have the header file. */
-
-#undef HAVE_SYS_PARAM_H
-
-
-
-/* Define if you have the header file. */
-
-#define HAVE_FCNTL_H
-
-
-
-/* Define if you have the header file. */
-
-#define HAVE_STRING_H
-
-
-
-/* Define if you have the header file. */
-
-#define HAVE_MEMORY_H
-
-
-
-/* Define if you have the `strerror' function. */
-
-#define HAVE_STRERROR
-
-
-
-#define SCCS_GET "get"
-
diff --git a/buildtools/windows/source/make/configure b/buildtools/windows/source/make/configure
deleted file mode 100644
index ec939c3e779..00000000000
--- a/buildtools/windows/source/make/configure
+++ /dev/null
@@ -1,2991 +0,0 @@
-#! /bin/sh
-
-# From configure.in Id: configure.in,v 1.48 1995/03/21 21:23:26 roland Exp
-# Guess values for system-dependent variables and create Makefiles.
-# Generated automatically using autoconf version 2.3
-# Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
-#
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-
-# Defaults:
-ac_help=
-ac_default_prefix=/usr/local
-# Any additions from configure.in:
-ac_help="$ac_help
-export jobs with the Customs daemon (NOT SUPPORTED)"
-
-# Initialize some variables set by options.
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-build=NONE
-cache_file=./config.cache
-exec_prefix=NONE
-host=NONE
-no_create=
-nonopt=NONE
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-target=NONE
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Initialize some other variables.
-subdirs=
-
-ac_prev=
-for ac_option
-do
-
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval "$ac_prev=\$ac_option"
- ac_prev=
- continue
- fi
-
- case "$ac_option" in
- -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
- *) ac_optarg= ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case "$ac_option" in
-
- -build | --build | --buil | --bui | --bu | --b)
- ac_prev=build ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=* | --b=*)
- build="$ac_optarg" ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file="$ac_optarg" ;;
-
- -disable-* | --disable-*)
- ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
- # Reject names that are not valid shell variable names.
- if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
- { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
- fi
- ac_feature=`echo $ac_feature| sed 's/-/_/g'`
- eval "enable_${ac_feature}=no" ;;
-
- -enable-* | --enable-*)
- ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
- # Reject names that are not valid shell variable names.
- if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
- { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
- fi
- ac_feature=`echo $ac_feature| sed 's/-/_/g'`
- case "$ac_option" in
- *=*) ;;
- *) ac_optarg=yes ;;
- esac
- eval "enable_${ac_feature}='$ac_optarg'" ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix="$ac_optarg" ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he)
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat << EOF
-Usage: configure [options] [host]
-Options: [defaults in brackets after descriptions]
-Configuration:
- --cache-file=FILE cache test results in FILE
- --help print this message
- --no-create do not create output files
- --quiet, --silent do not print \`checking...' messages
- --version print the version of autoconf that created configure
-Directory and file names:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=PREFIX install architecture-dependent files in PREFIX
- [same as prefix]
- --srcdir=DIR find the sources in DIR [configure dir or ..]
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-Host type:
- --build=BUILD configure for building on BUILD [BUILD=HOST]
- --host=HOST configure for HOST [guessed]
- --target=TARGET configure for TARGET [TARGET=HOST]
-Features and packages:
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
- --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
- --x-includes=DIR X include files are in DIR
- --x-libraries=DIR X library files are in DIR
---enable and --with options recognized:$ac_help
-EOF
- exit 0 ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host="$ac_optarg" ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix="$ac_optarg" ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix="$ac_optarg" ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix="$ac_optarg" ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name="$ac_optarg" ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site="$ac_optarg" ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir="$ac_optarg" ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target="$ac_optarg" ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers)
- echo "configure generated by autoconf version 2.3"
- exit 0 ;;
-
- -with-* | --with-*)
- ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
- # Reject names that are not valid shell variable names.
- if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
- { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
- fi
- ac_package=`echo $ac_package| sed 's/-/_/g'`
- case "$ac_option" in
- *=*) ;;
- *) ac_optarg=yes ;;
- esac
- eval "with_${ac_package}='$ac_optarg'" ;;
-
- -without-* | --without-*)
- ac_package=`echo $ac_option|sed -e 's/-*without-//'`
- # Reject names that are not valid shell variable names.
- if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
- { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
- fi
- ac_package=`echo $ac_package| sed 's/-/_/g'`
- eval "with_${ac_package}=no" ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes="$ac_optarg" ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries="$ac_optarg" ;;
-
- -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
- ;;
-
- *)
- if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
- echo "configure: warning: $ac_option: invalid host type" 1>&2
- fi
- if test "x$nonopt" != xNONE; then
- { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
- fi
- nonopt="$ac_option"
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
-fi
-
-trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
-
-# File descriptor usage:
-# 0 standard input
-# 1 file creation
-# 2 errors and warnings
-# 3 some systems may open it to /dev/tty
-# 4 used on the Kubota Titan
-# 6 checking for... messages and results
-# 5 compiler messages saved in config.log
-if test "$silent" = yes; then
- exec 6>/dev/null
-else
- exec 6>&1
-fi
-exec 5>./config.log
-
-echo "\
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-" 1>&5
-
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Also quote any args containing shell metacharacters.
-ac_configure_args=
-for ac_arg
-do
- case "$ac_arg" in
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c) ;;
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
- *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
- ac_configure_args="$ac_configure_args '$ac_arg'" ;;
- *) ac_configure_args="$ac_configure_args $ac_arg" ;;
- esac
-done
-
-# NLS nuisances.
-# Only set LANG and LC_ALL to C if already set.
-# These must not be set unconditionally because not all systems understand
-# e.g. LANG=C (notably SCO).
-if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
-if test "${LANG+set}" = set; then LANG=C; export LANG; fi
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -rf conftest* confdefs.h
-# AIX cpp loses on an empty file, so make sure it contains at least a newline.
-echo > confdefs.h
-
-# A filename unique to this package, relative to the directory that
-# configure is in, which we can look for to find out if srcdir is correct.
-ac_unique_file=vpath.c
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then its parent.
- ac_prog=$0
- ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
- test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
- srcdir=$ac_confdir
- if test ! -r $srcdir/$ac_unique_file; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r $srcdir/$ac_unique_file; then
- if test "$ac_srcdir_defaulted" = yes; then
- { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
- else
- { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
- fi
-fi
-srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
-
-# Prefer explicitly selected file to automatically selected ones.
-if test -z "$CONFIG_SITE"; then
- if test "x$prefix" != xNONE; then
- CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
- else
- CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
- fi
-fi
-for ac_site_file in $CONFIG_SITE; do
- if test -r "$ac_site_file"; then
- echo "loading site script $ac_site_file"
- . "$ac_site_file"
- fi
-done
-
-if test -r "$cache_file"; then
- echo "loading cache $cache_file"
- . $cache_file
-else
- echo "creating cache $cache_file"
- > $cache_file
-fi
-
-ac_ext=c
-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5 2>&5'
-ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5 2>&5'
-
-if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
- # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
- if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
- ac_n= ac_c='
-' ac_t=' '
- else
- ac_n=-n ac_c= ac_t=
- fi
-else
- ac_n= ac_c='\c' ac_t=
-fi
-
-
-ac_aux_dir=
-for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
- if test -f $ac_dir/install-sh; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f $ac_dir/install.sh; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
-fi
-ac_config_guess=$ac_aux_dir/config.guess
-ac_config_sub=$ac_aux_dir/config.sub
-ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
-
-subdirs="glob"
-
-echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
-set dummy ${MAKE-make}; ac_make=$2
-if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftestmake <<\EOF
-all:
- @echo 'ac_maketemp="${MAKE}"'
-EOF
-# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
-eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
-if test -n "$ac_maketemp"; then
- eval ac_cv_prog_make_${ac_make}_set=yes
-else
- eval ac_cv_prog_make_${ac_make}_set=no
-fi
-rm -f conftestmake
-fi
-if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- SET_MAKE=
-else
- echo "$ac_t""no" 1>&6
- SET_MAKE="MAKE=${MAKE-make}"
-fi
-
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
- for ac_dir in $PATH; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- ac_cv_prog_CC="gcc"
- break
- fi
- done
- IFS="$ac_save_ifs"
- test -z "$ac_cv_prog_CC" && ac_cv_prog_CC="cc"
-fi
-fi
-CC="$ac_cv_prog_CC"
-if test -n "$CC"; then
- echo "$ac_t""$CC" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
-if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.c <&5 | egrep yes >/dev/null 2>&1; then
- ac_cv_prog_gcc=yes
-else
- ac_cv_prog_gcc=no
-fi
-fi
-echo "$ac_t""$ac_cv_prog_gcc" 1>&6
-if test $ac_cv_prog_gcc = yes; then
- GCC=yes
- if test "${CFLAGS+set}" != set; then
- echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
-if eval "test \"`echo '$''{'ac_cv_prog_gcc_g'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- echo 'void f(){}' > conftest.c
-if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
- ac_cv_prog_gcc_g=yes
-else
- ac_cv_prog_gcc_g=no
-fi
-rm -f conftest*
-
-fi
- echo "$ac_t""$ac_cv_prog_gcc_g" 1>&6
- if test $ac_cv_prog_gcc_g = yes; then
- CFLAGS="-g -O"
- else
- CFLAGS="-O"
- fi
- fi
-else
- GCC=
- test "${CFLAGS+set}" = set || CFLAGS="-g"
-fi
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# ./install, which can be erroneously created by make from ./install.sh.
-echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
-if test -z "$INSTALL"; then
-if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
- for ac_dir in $PATH; do
- # Account for people who put trailing slashes in PATH elements.
- case "$ac_dir/" in
- /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- for ac_prog in ginstall installbsd scoinst install; do
- if test -f $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.
- # OSF/1 installbsd also uses dspmsg, but is usable.
- :
- else
- ac_cv_path_install="$ac_dir/$ac_prog -c"
- break 2
- fi
- fi
- done
- ;;
- esac
- done
- IFS="$ac_save_ifs"
- # As a last resort, use the slow shell script.
- test -z "$ac_cv_path_install" && ac_cv_path_install="$ac_install_sh"
-fi
- INSTALL="$ac_cv_path_install"
-fi
-echo "$ac_t""$INSTALL" 1>&6
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
-# On Suns, sometimes $CPP names a directory.
-if test -n "$CPP" && test -d "$CPP"; then
- CPP=
-fi
-if test -z "$CPP"; then
-if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- # This must be in double quotes, not single quotes, because CPP may get
- # substituted into the Makefile and "${CC-cc}" will confuse make.
- CPP="${CC-cc} -E"
- # On the NeXT, cc -E runs the code through the compiler's parser,
- # not just through cpp.
- cat > conftest.$ac_ext <
-Syntax Error
-EOF
-eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-ac_err=`grep -v '^ *+' conftest.out`
-if test -z "$ac_err"; then
- :
-else
- echo "$ac_err" >&5
- rm -rf conftest*
- CPP="${CC-cc} -E -traditional-cpp"
- cat > conftest.$ac_ext <
-Syntax Error
-EOF
-eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-ac_err=`grep -v '^ *+' conftest.out`
-if test -z "$ac_err"; then
- :
-else
- echo "$ac_err" >&5
- rm -rf conftest*
- CPP=/lib/cpp
-fi
-rm -f conftest*
-fi
-rm -f conftest*
- ac_cv_prog_CPP="$CPP"
-fi
-fi
-CPP="$ac_cv_prog_CPP"
-echo "$ac_t""$CPP" 1>&6
- echo $ac_n "checking for AIX""... $ac_c" 1>&6
-cat > conftest.$ac_ext <&5 |
- egrep "yes" >/dev/null 2>&1; then
- rm -rf conftest*
- echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF
-#define _ALL_SOURCE 1
-EOF
-
-else
- rm -rf conftest*
- echo "$ac_t""no" 1>&6
-fi
-rm -f conftest*
-
-
-echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
-if test -d /etc/conf/kconfig.d &&
- grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
-then
- echo "$ac_t""yes" 1>&6
- ISC=yes # If later tests want to check for ISC.
- cat >> confdefs.h <<\EOF
-#define _POSIX_SOURCE 1
-EOF
-
- if test "$GCC" = yes; then
- CC="$CC -posix"
- else
- CC="$CC -Xp"
- fi
-else
- echo "$ac_t""no" 1>&6
- ISC=
-fi
-
-ac_safe=`echo "minix/config.h" | tr './\055' '___'`
-echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <
-EOF
-eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-ac_err=`grep -v '^ *+' conftest.out`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- MINIX=yes
-else
- echo "$ac_t""no" 1>&6
-MINIX=
-fi
-
-if test "$MINIX" = yes; then
- cat >> confdefs.h <<\EOF
-#define _POSIX_SOURCE 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define _POSIX_1_SOURCE 2
-EOF
-
- cat >> confdefs.h <<\EOF
-#define _MINIX 1
-EOF
-
-fi
-
-# If we cannot run a trivial program, we must be cross compiling.
-echo $ac_n "checking whether cross-compiling""... $ac_c" 1>&6
-if eval "test \"`echo '$''{'ac_cv_c_cross'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test "$cross_compiling" = yes; then
- ac_cv_c_cross=yes
-else
-cat > conftest.$ac_ext </dev/null; then
- ac_cv_c_cross=no
-else
- ac_cv_c_cross=yes
-fi
-fi
-rm -fr conftest*
-fi
-cross_compiling=$ac_cv_c_cross
-echo "$ac_t""$ac_cv_c_cross" 1>&6
-
-echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
-if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <
-#include
-#include
-#include
-EOF
-eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-ac_err=`grep -v '^ *+' conftest.out`
-if test -z "$ac_err"; then
- rm -rf conftest*
- ac_cv_header_stdc=yes
-else
- echo "$ac_err" >&5
- rm -rf conftest*
- ac_cv_header_stdc=no
-fi
-rm -f conftest*
-
-if test $ac_cv_header_stdc = yes; then
- # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
-cat > conftest.$ac_ext <
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "memchr" >/dev/null 2>&1; then
- :
-else
- rm -rf conftest*
- ac_cv_header_stdc=no
-fi
-rm -f conftest*
-
-fi
-
-if test $ac_cv_header_stdc = yes; then
- # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
-cat > conftest.$ac_ext <
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "free" >/dev/null 2>&1; then
- :
-else
- rm -rf conftest*
- ac_cv_header_stdc=no
-fi
-rm -f conftest*
-
-fi
-
-if test $ac_cv_header_stdc = yes; then
- # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
-if test "$cross_compiling" = yes; then
- ac_cv_header_stdc=no
-else
-cat > conftest.$ac_ext <
-#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
-#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
-#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
-int main () { int i; for (i = 0; i < 256; i++)
-if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
-exit (0); }
-
-EOF
-eval $ac_link
-if test -s conftest && (./conftest; exit) 2>/dev/null; then
- :
-else
- ac_cv_header_stdc=no
-fi
-fi
-rm -fr conftest*
-fi
-fi
-echo "$ac_t""$ac_cv_header_stdc" 1>&6
-if test $ac_cv_header_stdc = yes; then
- cat >> confdefs.h <<\EOF
-#define STDC_HEADERS 1
-EOF
-
-fi
-
-ac_header_dirent=no
-for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h
-do
-ac_safe=`echo "$ac_hdr" | tr './\055' '___'`
-echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
-if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <
-#include <$ac_hdr>
-int main() { return 0; }
-int t() {
-DIR *dirp = 0;
-; return 0; }
-EOF
-if eval $ac_compile; then
- rm -rf conftest*
- eval "ac_cv_header_dirent_$ac_safe=yes"
-else
- rm -rf conftest*
- eval "ac_cv_header_dirent_$ac_safe=no"
-fi
-rm -f conftest*
-
-fi
-if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
- cat >> confdefs.h <&6
-fi
-done
-# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
-if test $ac_header_dirent = dirent.h; then
-echo $ac_n "checking for -ldir""... $ac_c" 1>&6
-if eval "test \"`echo '$''{'ac_cv_lib_dir'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- ac_save_LIBS="$LIBS"
-LIBS="-ldir $LIBS"
-cat > conftest.$ac_ext <&6
- LIBS="$LIBS -ldir"
-else
- echo "$ac_t""no" 1>&6
-fi
-
-else
-echo $ac_n "checking for -lx""... $ac_c" 1>&6
-if eval "test \"`echo '$''{'ac_cv_lib_x'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- ac_save_LIBS="$LIBS"
-LIBS="-lx $LIBS"
-cat > conftest.$ac_ext <&6
- LIBS="$LIBS -lx"
-else
- echo "$ac_t""no" 1>&6
-fi
-
-fi
-
-echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
-if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "uid_t" >/dev/null 2>&1; then
- rm -rf conftest*
- ac_cv_type_uid_t=yes
-else
- rm -rf conftest*
- ac_cv_type_uid_t=no
-fi
-rm -f conftest*
-
-fi
-echo "$ac_t""$ac_cv_type_uid_t" 1>&6
-if test $ac_cv_type_uid_t = no; then
- cat >> confdefs.h <<\EOF
-#define uid_t int
-EOF
-
- cat >> confdefs.h <<\EOF
-#define gid_t int
-EOF
-
-fi
- echo $ac_n "checking for pid_t""... $ac_c" 1>&6
-if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <
-#if STDC_HEADERS
-#include
-#endif
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "pid_t" >/dev/null 2>&1; then
- rm -rf conftest*
- ac_cv_type_pid_t=yes
-else
- rm -rf conftest*
- ac_cv_type_pid_t=no
-fi
-rm -f conftest*
-
-fi
-echo "$ac_t""$ac_cv_type_pid_t" 1>&6
-if test $ac_cv_type_pid_t = no; then
- cat >> confdefs.h <<\EOF
-#define pid_t int
-EOF
-
-fi
-
-echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
-if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <
-#include
-#ifdef signal
-#undef signal
-#endif
-#ifdef __cplusplus
-extern "C"
-#endif
-void (*signal ()) ();
-int main() { return 0; }
-int t() {
-int i;
-; return 0; }
-EOF
-if eval $ac_compile; then
- rm -rf conftest*
- ac_cv_type_signal=void
-else
- rm -rf conftest*
- ac_cv_type_signal=int
-fi
-rm -f conftest*
-
-fi
-echo "$ac_t""$ac_cv_type_signal" 1>&6
-cat >> confdefs.h <&6
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <
-EOF
-eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-ac_err=`grep -v '^ *+' conftest.out`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
- cat >> confdefs.h <&6
-fi
-done
-
-if test "x$CC" != xcc; then
- echo $ac_n "checking whether $CC and cc understand -c and -o together""... $ac_c" 1>&6
-else
- echo $ac_n "checking whether cc understands -c and -o together""... $ac_c" 1>&6
-fi
-set dummy $CC; ac_cc="`echo $2 |
- sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`"
-if eval "test \"`echo '$''{'ac_cv_prog_cc_${ac_cc}_c_o'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- eval ac_cv_prog_cc_${ac_cc}_c_o=no
-echo 'foo(){}' > conftest.c
-# Make sure it works both with $CC and with simple cc.
-# We do the test twice because some compilers refuse to overwrite an
-# existing .o file with -o, though they will create one.
-if ${CC-cc} -c conftest.c -o conftest.o 1>&5 2>&5 &&
- test -f conftest.o && ${CC-cc} -c conftest.c -o conftest.o 1>&5 2>&5
-then
- if test "x$CC" != xcc; then
- # Test first that cc exists at all.
- if cc -c conftest.c 1>&5 2>&5
- then
- if cc -c conftest.c -o conftest2.o 1>&5 2>&5 &&
- test -f conftest2.o && cc -c conftest.c -o conftest2.o 1>&5 2>&5
- then
- eval ac_cv_prog_cc_${ac_cc}_c_o=yes
- fi
- fi
- fi
-fi
-rm -f conftest*
-
-fi
-if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-else
- echo "$ac_t""no" 1>&6
- cat >> confdefs.h <<\EOF
-#define NO_MINUS_C_MINUS_O 1
-EOF
-
-fi
-
-echo $ac_n "checking for working const""... $ac_c" 1>&6
-if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <j = 5;
-}
-{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
- const int foo = 10;
-}
-
-; return 0; }
-EOF
-if eval $ac_compile; then
- rm -rf conftest*
- ac_cv_c_const=yes
-else
- rm -rf conftest*
- ac_cv_c_const=no
-fi
-rm -f conftest*
-
-fi
-echo "$ac_t""$ac_cv_c_const" 1>&6
-if test $ac_cv_c_const = no; then
- cat >> confdefs.h <<\EOF
-#define const
-EOF
-
-fi
- echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&6
-if eval "test \"`echo '$''{'ac_cv_header_stat_broken'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <
-#include
-
-#if defined(S_ISBLK) && defined(S_IFDIR)
-# if S_ISBLK (S_IFDIR)
-You lose.
-# endif
-#endif
-
-#if defined(S_ISBLK) && defined(S_IFCHR)
-# if S_ISBLK (S_IFCHR)
-You lose.
-# endif
-#endif
-
-#if defined(S_ISLNK) && defined(S_IFREG)
-# if S_ISLNK (S_IFREG)
-You lose.
-# endif
-#endif
-
-#if defined(S_ISSOCK) && defined(S_IFREG)
-# if S_ISSOCK (S_IFREG)
-You lose.
-# endif
-#endif
-
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "You lose" >/dev/null 2>&1; then
- rm -rf conftest*
- ac_cv_header_stat_broken=yes
-else
- rm -rf conftest*
- ac_cv_header_stat_broken=no
-fi
-rm -f conftest*
-
-fi
-echo "$ac_t""$ac_cv_header_stat_broken" 1>&6
-if test $ac_cv_header_stat_broken = yes; then
- cat >> confdefs.h <<\EOF
-#define STAT_MACROS_BROKEN 1
-EOF
-
-fi
-
-
-
-
-
-for ac_func in getdtablesize psignal mktemp \
- dup2 getcwd sigsetmask getgroups setlinebuf \
- seteuid setegid setreuid setregid strerror strsignal
-do
-echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <
-/* Override any gcc2 internal prototype to avoid an error. */
-char $ac_func();
-
-int main() { return 0; }
-int t() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
-choke me
-#else
-$ac_func();
-#endif
-
-; return 0; }
-EOF
-if eval $ac_link; then
- rm -rf conftest*
- eval "ac_cv_func_$ac_func=yes"
-else
- rm -rf conftest*
- eval "ac_cv_func_$ac_func=no"
-fi
-rm -f conftest*
-
-fi
-if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- ac_tr_func=HAVE_`echo $ac_func | tr '[a-z]' '[A-Z]'`
- cat >> confdefs.h <&6
-fi
-done
-
-echo $ac_n "checking for sys_siglist""... $ac_c" 1>&6
-if eval "test \"`echo '$''{'ac_cv_check_symbol_sys_siglist'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <> confdefs.h <&6
-echo $ac_n "checking for _sys_siglist""... $ac_c" 1>&6
-if eval "test \"`echo '$''{'ac_cv_check_symbol__sys_siglist'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <> confdefs.h <&6
-# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
-# for constant arguments. Useless!
-echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
-if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <
-int main() { return 0; }
-int t() {
-char *p = alloca(2 * sizeof(int));
-; return 0; }
-EOF
-if eval $ac_link; then
- rm -rf conftest*
- ac_cv_header_alloca_h=yes
-else
- rm -rf conftest*
- ac_cv_header_alloca_h=no
-fi
-rm -f conftest*
-
-fi
-echo "$ac_t""$ac_cv_header_alloca_h" 1>&6
-if test $ac_cv_header_alloca_h = yes; then
- cat >> confdefs.h <<\EOF
-#define HAVE_ALLOCA_H 1
-EOF
-
-fi
-
-echo $ac_n "checking for alloca""... $ac_c" 1>&6
-if eval "test \"`echo '$''{'ac_cv_func_alloca'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <
-# else
-# ifdef _AIX
- #pragma alloca
-# else
-# ifndef alloca /* predefined by HP cc +Olibcalls */
-char *alloca ();
-# endif
-# endif
-# endif
-#endif
-
-int main() { return 0; }
-int t() {
-char *p = (char *) alloca(1);
-; return 0; }
-EOF
-if eval $ac_link; then
- rm -rf conftest*
- ac_cv_func_alloca=yes
-else
- rm -rf conftest*
- ac_cv_func_alloca=no
-fi
-rm -f conftest*
-
-fi
-echo "$ac_t""$ac_cv_func_alloca" 1>&6
-if test $ac_cv_func_alloca = yes; then
- cat >> confdefs.h <<\EOF
-#define HAVE_ALLOCA 1
-EOF
-
-fi
-
-if test $ac_cv_func_alloca = no; then
- # The SVR3 libPW and SVR4 libucb both contain incompatible functions
- # that cause trouble. Some versions do not even contain alloca or
- # contain a buggy version. If you still want to use their alloca,
- # use ar to extract alloca.o from them instead of compiling alloca.c.
- ALLOCA=alloca.o
- cat >> confdefs.h <<\EOF
-#define C_ALLOCA 1
-EOF
-
-
-echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
-if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <&5 |
- egrep "webecray" >/dev/null 2>&1; then
- rm -rf conftest*
- ac_cv_os_cray=yes
-else
- rm -rf conftest*
- ac_cv_os_cray=no
-fi
-rm -f conftest*
-
-fi
-echo "$ac_t""$ac_cv_os_cray" 1>&6
-if test $ac_cv_os_cray = yes; then
-for ac_func in _getb67 GETB67 getb67; do
- echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <
-/* Override any gcc2 internal prototype to avoid an error. */
-char $ac_func();
-
-int main() { return 0; }
-int t() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
-choke me
-#else
-$ac_func();
-#endif
-
-; return 0; }
-EOF
-if eval $ac_link; then
- rm -rf conftest*
- eval "ac_cv_func_$ac_func=yes"
-else
- rm -rf conftest*
- eval "ac_cv_func_$ac_func=no"
-fi
-rm -f conftest*
-
-fi
-if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <&6
-fi
-
-done
-fi
-
-echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
-if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test "$cross_compiling" = yes; then
- ac_cv_c_stack_direction=0
-else
-cat > conftest.$ac_ext < addr) ? 1 : -1;
-}
-main ()
-{
- exit (find_stack_direction() < 0);
-}
-EOF
-eval $ac_link
-if test -s conftest && (./conftest; exit) 2>/dev/null; then
- ac_cv_c_stack_direction=1
-else
- ac_cv_c_stack_direction=-1
-fi
-fi
-rm -fr conftest*
-fi
-echo "$ac_t""$ac_cv_c_stack_direction" 1>&6
-cat >> confdefs.h <&6
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <
-EOF
-eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-ac_err=`grep -v '^ *+' conftest.out`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define HAVE_VFORK_H 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-echo $ac_n "checking for working vfork""... $ac_c" 1>&6
-if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test "$cross_compiling" = yes; then
- ac_cv_func_vfork=no
-else
-cat > conftest.$ac_ext <
-#include
-#include
-#ifdef HAVE_UNISTD_H
-#include
-#endif
-#ifdef HAVE_VFORK_H
-#include
-#endif
-/* On some sparc systems, changes by the child to local and incoming
- argument registers are propagated back to the parent.
- The compiler is told about this with #include ,
- but some compilers (e.g. gcc -O) don't grok .
- Test for this by using a static variable whose address
- is put into a register that is clobbered by the vfork. */
-static
-#ifdef __cplusplus
-sparc_address_test (int arg)
-#else
-sparc_address_test (arg) int arg;
-#endif
-{
- static pid_t child;
- if (!child) {
- child = vfork ();
- if (child < 0)
- perror ("vfork");
- if (!child) {
- arg = getpid();
- write(-1, "", 0);
- _exit (arg);
- }
- }
-}
-main() {
- pid_t parent = getpid ();
- pid_t child;
-
- sparc_address_test ();
-
- child = vfork ();
-
- if (child == 0) {
- /* Here is another test for sparc vfork register problems.
- This test uses lots of local variables, at least
- as many local variables as main has allocated so far
- including compiler temporaries. 4 locals are enough for
- gcc 1.40.3 on a Solaris 4.1.3 sparc, but we use 8 to be safe.
- A buggy compiler should reuse the register of parent
- for one of the local variables, since it will think that
- parent can't possibly be used any more in this routine.
- Assigning to the local variable will thus munge parent
- in the parent process. */
- pid_t
- p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
- p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
- /* Convince the compiler that p..p7 are live; otherwise, it might
- use the same hardware register for all 8 local variables. */
- if (p != p1 || p != p2 || p != p3 || p != p4
- || p != p5 || p != p6 || p != p7)
- _exit(1);
-
- /* On some systems (e.g. IRIX 3.3),
- vfork doesn't separate parent from child file descriptors.
- If the child closes a descriptor before it execs or exits,
- this munges the parent's descriptor as well.
- Test for this by closing stdout in the child. */
- _exit(close(fileno(stdout)) != 0);
- } else {
- int status;
- struct stat st;
-
- while (wait(&status) != child)
- ;
- exit(
- /* Was there some problem with vforking? */
- child < 0
-
- /* Did the child fail? (This shouldn't happen.) */
- || status
-
- /* Did the vfork/compiler bug occur? */
- || parent != getpid()
-
- /* Did the file descriptor bug occur? */
- || fstat(fileno(stdout), &st) != 0
- );
- }
-}
-EOF
-eval $ac_link
-if test -s conftest && (./conftest; exit) 2>/dev/null; then
- ac_cv_func_vfork=yes
-else
- ac_cv_func_vfork=no
-fi
-fi
-rm -fr conftest*
-fi
-echo "$ac_t""$ac_cv_func_vfork" 1>&6
-if test $ac_cv_func_vfork = no; then
- cat >> confdefs.h <<\EOF
-#define vfork fork
-EOF
-
-fi
-
-echo $ac_n "checking whether setvbuf arguments are reversed""... $ac_c" 1>&6
-if eval "test \"`echo '$''{'ac_cv_func_setvbuf_reversed'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test "$cross_compiling" = yes; then
- { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
-else
-cat > conftest.$ac_ext <
-/* If setvbuf has the reversed format, exit 0. */
-main () {
- /* This call has the arguments reversed.
- A reversed system may check and see that the address of main
- is not _IOLBF, _IONBF, or _IOFBF, and return nonzero. */
- if (setvbuf(stdout, _IOLBF, (char *) main, BUFSIZ) != 0)
- exit(1);
- putc('\r', stdout);
- exit(0); /* Non-reversed systems segv here. */
-}
-EOF
-eval $ac_link
-if test -s conftest && (./conftest; exit) 2>/dev/null; then
- ac_cv_func_setvbuf_reversed=yes
-else
- ac_cv_func_setvbuf_reversed=no
-fi
-fi
-rm -fr conftest*
-rm -f core core.* *.core
-fi
-echo "$ac_t""$ac_cv_func_setvbuf_reversed" 1>&6
-if test $ac_cv_func_setvbuf_reversed = yes; then
- cat >> confdefs.h <<\EOF
-#define SETVBUF_REVERSED 1
-EOF
-
-fi
-
-ac_have_func=no # yes means we've found a way to get the load average.
-
-# Some systems with -lutil have (and need) -lkvm as well, some do not.
-# On Solaris, -lkvm requires nlist from -lelf, so check that first
-# to get the right answer into the cache.
-echo $ac_n "checking for -lelf""... $ac_c" 1>&6
-if eval "test \"`echo '$''{'ac_cv_lib_elf'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- ac_save_LIBS="$LIBS"
-LIBS="-lelf $LIBS"
-cat > conftest.$ac_ext <&6
- LIBS="-lelf $LIBS"
-else
- echo "$ac_t""no" 1>&6
-fi
-
-echo $ac_n "checking for -lkvm""... $ac_c" 1>&6
-if eval "test \"`echo '$''{'ac_cv_lib_kvm'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- ac_save_LIBS="$LIBS"
-LIBS="-lkvm $LIBS"
-cat > conftest.$ac_ext <&6
- LIBS="-lkvm $LIBS"
-else
- echo "$ac_t""no" 1>&6
-fi
-
-# Check for the 4.4BSD definition of getloadavg.
-echo $ac_n "checking for -lutil""... $ac_c" 1>&6
-if eval "test \"`echo '$''{'ac_cv_lib_util'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- ac_save_LIBS="$LIBS"
-LIBS="-lutil $LIBS"
-cat > conftest.$ac_ext <&6
- LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-if test $ac_have_func = no; then
- # There is a commonly available library for RS/6000 AIX.
- # Since it is not a standard part of AIX, it might be installed locally.
- ac_save_LIBS="$LIBS" LIBS="-L/usr/local/lib $LIBS"
- echo $ac_n "checking for -lgetloadavg""... $ac_c" 1>&6
-if eval "test \"`echo '$''{'ac_cv_lib_getloadavg'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- ac_save_LIBS="$LIBS"
-LIBS="-lgetloadavg $LIBS"
-cat > conftest.$ac_ext <&6
- LIBS="-lgetloadavg $LIBS"
-else
- echo "$ac_t""no" 1>&6
-LIBS="$ac_save_LIBS"
-fi
-
-fi
-
-# Make sure it is really in the library, if we think we found it.
-for ac_func in getloadavg
-do
-echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <
-/* Override any gcc2 internal prototype to avoid an error. */
-char $ac_func();
-
-int main() { return 0; }
-int t() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
-choke me
-#else
-$ac_func();
-#endif
-
-; return 0; }
-EOF
-if eval $ac_link; then
- rm -rf conftest*
- eval "ac_cv_func_$ac_func=yes"
-else
- rm -rf conftest*
- eval "ac_cv_func_$ac_func=no"
-fi
-rm -f conftest*
-
-fi
-if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-LIBOBJS="$LIBOBJS ${ac_func}.o"
-fi
-
-done
-
-
-if test $ac_cv_func_getloadavg = yes; then
- cat >> confdefs.h <<\EOF
-#define HAVE_GETLOADAVG 1
-EOF
-
- ac_have_func=yes
-else
- # Figure out what our getloadavg.c needs.
- ac_have_func=no
- ac_safe=`echo "sys/dg_sys_info.h" | tr './\055' '___'`
-echo $ac_n "checking for sys/dg_sys_info.h""... $ac_c" 1>&6
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <
-EOF
-eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-ac_err=`grep -v '^ *+' conftest.out`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- ac_have_func=yes; cat >> confdefs.h <<\EOF
-#define DGUX 1
-EOF
-
- echo $ac_n "checking for -ldgc""... $ac_c" 1>&6
-if eval "test \"`echo '$''{'ac_cv_lib_dgc'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- ac_save_LIBS="$LIBS"
-LIBS="-ldgc $LIBS"
-cat > conftest.$ac_ext <&6
- ac_tr_lib=HAVE_LIB`echo dgc | tr '[a-z]' '[A-Z]'`
- cat >> confdefs.h <&6
-fi
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
- # We cannot check for , because Solaris 2 does not use dwarf (it
- # uses stabs), but it is still SVR4. We cannot check for because
- # Irix 4.0.5F has the header but not the library.
- if test $ac_have_func = no && test $ac_cv_lib_elf = yes; then
- ac_have_func=yes; cat >> confdefs.h <<\EOF
-#define SVR4 1
-EOF
-
- fi
-
- if test $ac_have_func = no; then
- ac_safe=`echo "inq_stats/cpustats.h" | tr './\055' '___'`
-echo $ac_n "checking for inq_stats/cpustats.h""... $ac_c" 1>&6
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <
-EOF
-eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-ac_err=`grep -v '^ *+' conftest.out`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- ac_have_func=yes; cat >> confdefs.h <<\EOF
-#define UMAX 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define UMAX4_3 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
- fi
-
- if test $ac_have_func = no; then
- ac_safe=`echo "sys/cpustats.h" | tr './\055' '___'`
-echo $ac_n "checking for sys/cpustats.h""... $ac_c" 1>&6
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <
-EOF
-eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-ac_err=`grep -v '^ *+' conftest.out`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- ac_have_func=yes; cat >> confdefs.h <<\EOF
-#define UMAX 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
- fi
-
- if test $ac_have_func = no; then
- for ac_hdr in mach/mach.h
-do
-ac_safe=`echo "$ac_hdr" | tr './\055' '___'`
-echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <
-EOF
-eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-ac_err=`grep -v '^ *+' conftest.out`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
- cat >> confdefs.h <&6
-fi
-done
-
- fi
-
- ac_safe=`echo "nlist.h" | tr './\055' '___'`
-echo $ac_n "checking for nlist.h""... $ac_c" 1>&6
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <
-EOF
-eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-ac_err=`grep -v '^ *+' conftest.out`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
-#define NLIST_STRUCT 1
-EOF
-
- echo $ac_n "checking for n_un in struct nlist""... $ac_c" 1>&6
- if eval "test \"`echo '$''{'ac_cv_struct_nlist_n_un'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <
-int main() { return 0; }
-int t() {
-struct nlist n; n.n_un.n_name = 0;
-; return 0; }
-EOF
-if eval $ac_compile; then
- rm -rf conftest*
- ac_cv_struct_nlist_n_un=yes
-else
- rm -rf conftest*
- ac_cv_struct_nlist_n_un=no
-fi
-rm -f conftest*
-
-fi
- echo "$ac_t""$ac_cv_struct_nlist_n_un" 1>&6
- if test $ac_cv_struct_nlist_n_un = yes; then
- cat >> confdefs.h <<\EOF
-#define NLIST_NAME_UNION 1
-EOF
-
- fi
-
-else
- echo "$ac_t""no" 1>&6
-fi
-fi # Do not have getloadavg in system libraries.
-
-# Some definitions of getloadavg require that the program be installed setgid.
-echo $ac_n "checking whether getloadavg requires setgid""... $ac_c" 1>&6
-if eval "test \"`echo '$''{'ac_cv_func_getloadavg_setgid'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <&5 |
- egrep "Yowza Am I SETGID yet" >/dev/null 2>&1; then
- rm -rf conftest*
- ac_cv_func_getloadavg_setgid=yes
-else
- rm -rf conftest*
- ac_cv_func_getloadavg_setgid=no
-fi
-rm -f conftest*
-
-fi
-echo "$ac_t""$ac_cv_func_getloadavg_setgid" 1>&6
-if test $ac_cv_func_getloadavg_setgid = yes; then
- NEED_SETGID=true; cat >> confdefs.h <<\EOF
-#define GETLOADAVG_PRIVILEGED 1
-EOF
-
-else
- NEED_SETGID=false
-fi
-
-if test $ac_cv_func_getloadavg_setgid = yes; then
- echo $ac_n "checking group of /dev/kmem""... $ac_c" 1>&6
-if eval "test \"`echo '$''{'ac_cv_group_kmem'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- # On Solaris, /dev/kmem is a symlink. Get info on the real file.
- ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null`
- # If we got an error (system does not support symlinks), try without -L.
- test -z "$ac_ls_output" && ac_ls_output=`ls -lg /dev/kmem`
- ac_cv_group_kmem=`echo $ac_ls_output \
- | sed -ne 's/[ ][ ]*/ /g;
- s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/;
- / /s/.* //;p;'`
-
-fi
- KMEM_GROUP=$ac_cv_group_kmem
- echo "$ac_t""$KMEM_GROUP" 1>&6
-fi
-
-echo $ac_n "checking for strcoll""... $ac_c" 1>&6
-if eval "test \"`echo '$''{'ac_cv_func_strcoll'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test "$cross_compiling" = yes; then
- ac_cv_func_strcoll=no
-else
-cat > conftest.$ac_ext <
-main ()
-{
- exit (strcoll ("abc", "def") >= 0 ||
- strcoll ("ABC", "DEF") >= 0 ||
- strcoll ("123", "456") >= 0);
-}
-EOF
-eval $ac_link
-if test -s conftest && (./conftest; exit) 2>/dev/null; then
- ac_cv_func_strcoll=yes
-else
- ac_cv_func_strcoll=no
-fi
-fi
-rm -fr conftest*
-fi
-echo "$ac_t""$ac_cv_func_strcoll" 1>&6
-if test $ac_cv_func_strcoll = yes; then
- cat >> confdefs.h <<\EOF
-#define HAVE_STRCOLL 1
-EOF
-
-fi
-
-
-if test $ac_cv_func_getdtablesize = no; then
- echo $ac_n "checking for sysconf (_SC_OPEN_MAX)""... $ac_c" 1>&6
- if eval "test \"`echo '$''{'make_cv_sysconf_open_max'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <
-int main() { return 0; }
-int t() {
-int max = sysconf (_SC_OPEN_MAX);
-; return 0; }
-EOF
-if eval $ac_link; then
- rm -rf conftest*
- make_cv_sysconf_open_max=yes
-else
- rm -rf conftest*
- make_cv_sysconf_open_max=no
-fi
-rm -f conftest*
-
-fi
-
- if test $make_cv_sysconf_open_max = yes; then
- cat >> confdefs.h <<\EOF
-#define HAVE_SYSCONF_OPEN_MAX 1
-EOF
-
- fi
- echo "$ac_t""$make_cv_sysconf_open_max" 1>&6
-fi
-
-# Check out the wait reality.
-for ac_hdr in sys/wait.h
-do
-ac_safe=`echo "$ac_hdr" | tr './\055' '___'`
-echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <
-EOF
-eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-ac_err=`grep -v '^ *+' conftest.out`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
- cat >> confdefs.h <&6
-fi
-done
- for ac_func in waitpid wait3
-do
-echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <
-/* Override any gcc2 internal prototype to avoid an error. */
-char $ac_func();
-
-int main() { return 0; }
-int t() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
-choke me
-#else
-$ac_func();
-#endif
-
-; return 0; }
-EOF
-if eval $ac_link; then
- rm -rf conftest*
- eval "ac_cv_func_$ac_func=yes"
-else
- rm -rf conftest*
- eval "ac_cv_func_$ac_func=no"
-fi
-rm -f conftest*
-
-fi
-if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- ac_tr_func=HAVE_`echo $ac_func | tr '[a-z]' '[A-Z]'`
- cat >> confdefs.h <&6
-fi
-done
-
-echo $ac_n "checking for union wait""... $ac_c" 1>&6
-if eval "test \"`echo '$''{'make_cv_union_wait'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <
-#include
-int main() { return 0; }
-int t() {
-union wait status; int pid; pid = wait (&status);
-#ifdef WEXITSTATUS
-/* Some POSIXoid systems have both the new-style macros and the old
- union wait type, and they do not work together. If union wait
- conflicts with WEXITSTATUS et al, we don't want to use it at all. */
-if (WEXITSTATUS (status) != 0) pid = -1;
-#ifdef WTERMSIG
-/* If we have WEXITSTATUS and WTERMSIG, just use them on ints. */
--- blow chunks here --
-#endif
-#endif
-#ifdef HAVE_WAITPID
-/* Make sure union wait works with waitpid. */
-pid = waitpid (-1, &status, 0);
-#endif
-
-; return 0; }
-EOF
-if eval $ac_link; then
- rm -rf conftest*
- make_cv_union_wait=yes
-else
- rm -rf conftest*
- make_cv_union_wait=no
-fi
-rm -f conftest*
-
-fi
-
-if test "$make_cv_union_wait" = yes; then
- cat >> confdefs.h <<\EOF
-#define HAVE_UNION_WAIT 1
-EOF
-
-fi
-echo "$ac_t""$make_cv_union_wait" 1>&6
-
-echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6
-if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <
-#include
-/* NetBSD declares sys_siglist in unistd.h. */
-#ifdef HAVE_UNISTD_H
-#include
-#endif
-int main() { return 0; }
-int t() {
-char *msg = *(sys_siglist + 1);
-; return 0; }
-EOF
-if eval $ac_compile; then
- rm -rf conftest*
- ac_cv_decl_sys_siglist=yes
-else
- rm -rf conftest*
- ac_cv_decl_sys_siglist=no
-fi
-rm -f conftest*
-
-fi
-echo "$ac_t""$ac_cv_decl_sys_siglist" 1>&6
-if test $ac_cv_decl_sys_siglist = yes; then
- cat >> confdefs.h <<\EOF
-#define SYS_SIGLIST_DECLARED 1
-EOF
-
-fi
-
-
-# The presence of the following is not meant to imply
-# that make necessarily works on those systems.
-echo $ac_n "checking for -lsun""... $ac_c" 1>&6
-if eval "test \"`echo '$''{'ac_cv_lib_sun'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- ac_save_LIBS="$LIBS"
-LIBS="-lsun $LIBS"
-cat > conftest.$ac_ext <&6
- ac_tr_lib=HAVE_LIB`echo sun | tr '[a-z]' '[A-Z]'`
- cat >> confdefs.h <&6
-fi
-
-
- REMOTE=stub
-# Check whether --with-customs or --without-customs was given.
-withval="$with_customs"
-if test -n "$withval"; then
- REMOTE=cstms LIBS="$LIBS libcustoms.a"
-fi
-
-
-echo checking for location of SCCS get command
-if test -f /usr/sccs/get; then
- SCCS_GET=/usr/sccs/get
- cat >> confdefs.h <<\EOF
-#define SCCS_GET "/usr/sccs/get"
-EOF
-
-else
- SCCS_GET=get
- cat >> confdefs.h <<\EOF
-#define SCCS_GET "get"
-EOF
-
-fi
-ac_clean_files="$ac_clean_files s.conftest conftoast" # Remove these later.
-if ( /usr/sccs/admin -n s.conftest || admin -n s.conftest ) >/dev/null 2>&1 &&
- test -f s.conftest; then
- # We successfully created an SCCS file.
- echo checking if SCCS get command understands -G
- if $SCCS_GET -Gconftoast s.conftest >/dev/null 2>&1 &&
- test -f conftoast; then
- cat >> confdefs.h <<\EOF
-#define SCCS_GET_MINUS_G 1
-EOF
-
- fi
-fi
-rm -f s.conftest conftoast
-
-trap '' 1 2 15
-cat > confcache <<\EOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs. It is not useful on other systems.
-# If it contains results you don't want to keep, you may remove or edit it.
-#
-# By default, configure uses ./config.cache as the cache file,
-# creating it if it does not exist already. You can give configure
-# the --cache-file=FILE option to use a different cache file; that is
-# what configure does when it calls configure scripts in
-# subdirectories, so they share the cache.
-# Giving --cache-file=/dev/null disables caching, for debugging configure.
-# config.status only pays attention to the cache file if you give it the
-# --recheck option to rerun configure.
-#
-EOF
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(set) 2>&1 |
- sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \
- >> confcache
-if cmp -s $cache_file confcache; then
- :
-else
- if test -w $cache_file; then
- echo "updating cache $cache_file"
- cat confcache > $cache_file
- else
- echo "not updating unwritable cache $cache_file"
- fi
-fi
-rm -f confcache
-
-trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# Any assignment to VPATH causes Sun make to only execute
-# the first set of double-colon rules, so remove it if not needed.
-# If there is a colon in the path, we need to keep it.
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
-fi
-
-trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
-
-DEFS=-DHAVE_CONFIG_H
-
-# Without the "./", some shells look in PATH for config.status.
-: ${CONFIG_STATUS=./config.status}
-
-echo creating $CONFIG_STATUS
-rm -f $CONFIG_STATUS
-cat > $CONFIG_STATUS </dev/null | sed 1q`:
-#
-# $0 $ac_configure_args
-#
-# Compiler output produced by configure, useful for debugging
-# configure, is in ./config.log if it exists.
-
-ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
-for ac_option
-do
- case "\$ac_option" in
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
- exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
- -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
- echo "$CONFIG_STATUS generated by autoconf version 2.3"
- exit 0 ;;
- -help | --help | --hel | --he | --h)
- echo "\$ac_cs_usage"; exit 0 ;;
- *) echo "\$ac_cs_usage"; exit 1 ;;
- esac
-done
-
-ac_given_srcdir=$srcdir
-ac_given_INSTALL="$INSTALL"
-
-trap 'rm -fr `echo "Makefile build.sh config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
-
-# Protect against being on the right side of a sed subst in config.status.
-sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\\\&%]/\\\\&/g;
- s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF
-$ac_vpsub
-$extrasub
-s%@CFLAGS@%$CFLAGS%g
-s%@CPPFLAGS@%$CPPFLAGS%g
-s%@CXXFLAGS@%$CXXFLAGS%g
-s%@DEFS@%$DEFS%g
-s%@LDFLAGS@%$LDFLAGS%g
-s%@LIBS@%$LIBS%g
-s%@exec_prefix@%$exec_prefix%g
-s%@prefix@%$prefix%g
-s%@program_transform_name@%$program_transform_name%g
-s%@subdirs@%$subdirs%g
-s%@SET_MAKE@%$SET_MAKE%g
-s%@CC@%$CC%g
-s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
-s%@INSTALL_DATA@%$INSTALL_DATA%g
-s%@CPP@%$CPP%g
-s%@LIBOBJS@%$LIBOBJS%g
-s%@ALLOCA@%$ALLOCA%g
-s%@NEED_SETGID@%$NEED_SETGID%g
-s%@KMEM_GROUP@%$KMEM_GROUP%g
-s%@REMOTE@%$REMOTE%g
-
-CEOF
-EOF
-cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF
-for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
- # Support "outfile[:infile]", defaulting infile="outfile.in".
- case "$ac_file" in
- *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
- ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
- *) ac_file_in="${ac_file}.in" ;;
- esac
-
- # Adjust relative srcdir, etc. for subdirectories.
-
- # Remove last slash and all that follows it. Not all systems have dirname.
- ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
- if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
- # The file is in a subdirectory.
- test ! -d "$ac_dir" && mkdir "$ac_dir"
- ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
- # A "../" for each directory in $ac_dir_suffix.
- ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
- else
- ac_dir_suffix= ac_dots=
- fi
-
- case "$ac_given_srcdir" in
- .) 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" ;;
- *) # Relative path.
- srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
- top_srcdir="$ac_dots$ac_given_srcdir" ;;
- esac
-
- case "$ac_given_INSTALL" in
- [/$]*) INSTALL="$ac_given_INSTALL" ;;
- *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
- esac
- echo creating "$ac_file"
- rm -f "$ac_file"
- configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
- case "$ac_file" in
- *Makefile*) ac_comsub="1i\\
-# $configure_input" ;;
- *) ac_comsub= ;;
- esac
- sed -e "$ac_comsub
-s%@configure_input@%$configure_input%g
-s%@srcdir@%$srcdir%g
-s%@top_srcdir@%$top_srcdir%g
-s%@INSTALL@%$INSTALL%g
-" -f conftest.subs $ac_given_srcdir/$ac_file_in > $ac_file
-fi; done
-rm -f conftest.subs
-
-# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
-# NAME is the cpp macro being defined and VALUE is the value it is being given.
-#
-# ac_d sets the value in "#define NAME VALUE" lines.
-ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
-ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
-ac_dC='\3'
-ac_dD='%g'
-# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
-ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
-ac_uB='\([ ]\)%\1#\2define\3'
-ac_uC=' '
-ac_uD='\4%g'
-# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
-ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
-ac_eB='$%\1#\2define\3'
-ac_eC=' '
-ac_eD='%g'
-
-CONFIG_HEADERS=${CONFIG_HEADERS-"config.h"}
-for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
- # Support "outfile[:infile]", defaulting infile="outfile.in".
- case "$ac_file" in
- *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
- ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
- *) ac_file_in="${ac_file}.in" ;;
- esac
-
- echo creating $ac_file
-
- rm -f conftest.frag conftest.in conftest.out
- cp $ac_given_srcdir/$ac_file_in conftest.in
-
-EOF
-
-# Transform confdefs.h into a sed script conftest.vals that substitutes
-# the proper values into config.h.in to produce config.h. And first:
-# Protect against being on the right side of a sed subst in config.status.
-# Protect against being in an unquoted here document in config.status.
-rm -f conftest.vals
-cat > conftest.hdr <<\EOF
-s/[\\&%]/\\&/g
-s%[\\$`]%\\&%g
-s%#define \([A-Za-z_][A-Za-z0-9_]*\) \(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
-s%ac_d%ac_u%gp
-s%ac_u%ac_e%gp
-EOF
-sed -n -f conftest.hdr confdefs.h > conftest.vals
-rm -f conftest.hdr
-
-# This sed command replaces #undef with comments. This is necessary, for
-# example, in the case of _POSIX_SOURCE, which is predefined and required
-# on some systems where configure will not decide to define it.
-cat >> conftest.vals <<\EOF
-s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
-EOF
-
-# Break up conftest.vals because some shells have a limit on
-# the size of here documents, and old seds have small limits too.
-# Maximum number of lines to put in a single here document.
-ac_max_here_lines=12
-
-rm -f conftest.tail
-while :
-do
- ac_lines=`grep -c . conftest.vals`
- # grep -c gives empty output for an empty file on some AIX systems.
- if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
- # Write a limited-size here document to conftest.frag.
- echo ' cat > conftest.frag <> $CONFIG_STATUS
- sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
- echo 'CEOF
- sed -f conftest.frag conftest.in > conftest.out
- rm -f conftest.in
- mv conftest.out conftest.in
-' >> $CONFIG_STATUS
- sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
- rm -f conftest.vals
- mv conftest.tail conftest.vals
-done
-rm -f conftest.vals
-
-cat >> $CONFIG_STATUS <<\EOF
- rm -f conftest.frag conftest.h
- echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
- cat conftest.in >> conftest.h
- rm -f conftest.in
- if cmp -s $ac_file conftest.h 2>/dev/null; then
- echo "$ac_file is unchanged"
- rm -f conftest.h
- else
- rm -f $ac_file
- mv conftest.h $ac_file
- fi
-fi; done
-
-
-
-# Makefile uses this timestamp file to know when to remake Makefile,
-# build.sh, and glob/Makefile.
-touch stamp-config
-exit 0
-EOF
-chmod +x $CONFIG_STATUS
-rm -fr confdefs* $ac_clean_files
-test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
-
-if test "$no_recursion" != yes; then
-
- # Remove --cache-file and --srcdir arguments so they do not pile up.
- ac_sub_configure_args=
- ac_prev=
- for ac_arg in $ac_configure_args; do
- if test -n "$ac_prev"; then
- ac_prev=
- continue
- fi
- case "$ac_arg" in
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- ;;
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- ;;
- *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
- esac
- done
-
- for ac_config_dir in glob; do
-
- # Do not complain, so a configure script can configure whichever
- # parts of a large source tree are present.
- if test ! -d $srcdir/$ac_config_dir; then
- continue
- fi
-
- echo configuring in $ac_config_dir
-
- case "$srcdir" in
- .) ;;
- *)
- if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
- else
- { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
- fi
- ;;
- esac
-
- ac_popdir=`pwd`
- cd $ac_config_dir
-
- case "$srcdir" in
- .) # No --srcdir option. We are building in place.
- ac_sub_srcdir=$srcdir ;;
- /*) # Absolute path.
- ac_sub_srcdir=$srcdir/$ac_config_dir ;;
- *) # Relative path.
- ac_sub_srcdir=../$srcdir/$ac_config_dir ;;
- esac
-
- # Check for guested configure; otherwise get Cygnus style configure.
- if test -f $ac_sub_srcdir/configure; then
- ac_sub_configure=$ac_sub_srcdir/configure
- elif test -f $ac_sub_srcdir/configure.in; then
- ac_sub_configure=$ac_configure
- else
- echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
- ac_sub_configure=
- fi
-
- # The recursion is here.
- if test -n "$ac_sub_configure"; then
-
- # Make the cache file name correct relative to the subdirectory.
- # A "../" for each directory in /$ac_config_dir.
- ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
- case "$cache_file" in
- /*) ac_sub_cache_file=$cache_file ;;
- *) # Relative path.
- ac_sub_cache_file="$ac_dots$cache_file" ;;
- esac
- case "$ac_given_INSTALL" in
- [/$]*) INSTALL="$ac_given_INSTALL" ;;
- *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
- esac
-
- echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
- # The eval makes quoting arguments work.
- if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
- then :
- else
- { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
- fi
- fi
-
- cd $ac_popdir
- done
-fi
-
-
diff --git a/buildtools/windows/source/make/configure.bat b/buildtools/windows/source/make/configure.bat
deleted file mode 100755
index 9c3693dcc39..00000000000
--- a/buildtools/windows/source/make/configure.bat
+++ /dev/null
@@ -1,88 +0,0 @@
-@echo off
-
-echo Configuring MAKE for go32
-
-rem This batch file assumes a unix-type "sed" program
-
-
-
-update configh.dos config.h
-
-
-
-echo # Makefile generated by "configure.bat"> Makefile
-
-
-
-if exist config.sed del config.sed
-
-
-
-echo ": try_sl ">> config.sed
-
-echo "/\\$/ { ">> config.sed
-
-echo " N ">> config.sed
-
-echo " s/[ ]*\\\n[ ]*/ / ">> config.sed
-
-echo " b try_sl ">> config.sed
-
-echo "} ">> config.sed
-
-
-
-echo "s/@srcdir@/./ ">> config.sed
-
-echo "s/@CC@/gcc/ ">> config.sed
-
-echo "s/@CFLAGS@/-O2 -g/ ">> config.sed
-
-echo "s/@CPPFLAGS@/-DHAVE_CONFIG_H/ ">> config.sed
-
-echo "s/@LDFLAGS@// ">> config.sed
-
-echo "s/@RANLIB@/ranlib/ ">> config.sed
-
-echo "s/@DEFS@// ">> config.sed
-
-echo "s/@REMOTE@/stub/ ">> config.sed
-
-echo "s/@ALLOCA@// ">> config.sed
-
-echo "s/@LIBS@// ">> config.sed
-
-echo "s/@LIBOBJS@// ">> config.sed
-
-echo "s/@SET_MAKE@// ">> config.sed
-
-echo "s/^Makefile *:/_Makefile:/ ">> config.sed
-
-echo "s/^config.h *:/_config.h:/ ">> config.sed
-
-echo "s/^defines *=.*$/defines =/ ">> config.sed
-
-echo "/mv -f make.new make/d ">> config.sed
-
-
-
-echo "s/cd glob; $(MAKE)/$(MAKE) -C glob/ ">> config.sed
-
-
-
-sed -e "s/^\"//" -e "s/\"$//" -e "s/[ ]*$//" config.sed > config2.sed
-
-sed -f config2.sed Makefile.in >> Makefile
-
-del config.sed
-
-del config2.sed
-
-
-
-cd glob
-
-call configure
-
-cd ..
-
diff --git a/buildtools/windows/source/make/configure.in b/buildtools/windows/source/make/configure.in
deleted file mode 100644
index 2b533e7a7c5..00000000000
--- a/buildtools/windows/source/make/configure.in
+++ /dev/null
@@ -1,131 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-AC_REVISION([$Id: configure.in,v 1.1 1998-04-13 22:35:14 cyeh Exp $])
-AC_PREREQ(2.1)dnl dnl Minimum Autoconf version required.
-AC_INIT(vpath.c)dnl dnl A distinctive file to look for in srcdir.
-AC_CONFIG_HEADER(config.h)
-AC_CONFIG_SUBDIRS(glob) dnl Run configure in glob subdirectory.
-
-AC_PROG_MAKE_SET
-AC_PROG_CC
-AC_PROG_INSTALL
-AC_PROG_CPP dnl Later checks need this.
-AC_AIX
-AC_ISC_POSIX
-AC_MINIX
-AC_HEADER_STDC
-AC_HEADER_DIRENT
-AC_TYPE_UID_T dnl Also does gid_t.
-AC_TYPE_PID_T
-AC_TYPE_SIGNAL
-AC_CHECK_HEADERS(unistd.h limits.h sys/param.h fcntl.h string.h memory.h \
- sys/timeb.h)
-AC_PROG_CC_C_O
-AC_C_CONST dnl getopt needs this.
-AC_HEADER_STAT
-
-AC_SUBST(LIBOBJS)
-
-AC_DEFUN(AC_CHECK_SYMBOL, [dnl
-AC_MSG_CHECKING(for $1)
-AC_CACHE_VAL(ac_cv_check_symbol_$1, [dnl
-AC_TRY_LINK(, [extern char *sys_siglist[]; puts(*sys_siglist);],
- ac_cv_check_symbol_$1=yes, ac_cv_check_symbol_$1=no)])
-if test "$ac_cv_check_symbol_$1" = yes; then
-changequote(,)dnl
- ac_tr_symbol=`echo $1 | tr '[a-z]' '[A-Z]'`
-changequote([,])dnl
- AC_DEFINE_UNQUOTED(HAVE_${ac_tr_symbol})
-fi
-AC_MSG_RESULT($ac_cv_check_symbol_$1)])dnl
-
-AC_CHECK_FUNCS(getdtablesize psignal mktemp \
- dup2 getcwd sigsetmask getgroups setlinebuf \
- seteuid setegid setreuid setregid strerror strsignal)
-AC_CHECK_SYMBOL(sys_siglist)
-AC_CHECK_SYMBOL(_sys_siglist)
-AC_FUNC_ALLOCA
-AC_FUNC_VFORK
-AC_FUNC_SETVBUF_REVERSED
-AC_FUNC_GETLOADAVG
-AC_FUNC_STRCOLL
-
-if test $ac_cv_func_getdtablesize = no; then
- AC_MSG_CHECKING(for sysconf (_SC_OPEN_MAX))
- AC_CACHE_VAL(make_cv_sysconf_open_max, [dnl
- AC_TRY_LINK([#include ], [int max = sysconf (_SC_OPEN_MAX);],
- [make_cv_sysconf_open_max=yes], [make_cv_sysconf_open_max=no])])
- if test $make_cv_sysconf_open_max = yes; then
- AC_DEFINE(HAVE_SYSCONF_OPEN_MAX)
- fi
- AC_MSG_RESULT($make_cv_sysconf_open_max)
-fi
-
-# Check out the wait reality.
-AC_CHECK_HEADERS(sys/wait.h) AC_CHECK_FUNCS(waitpid wait3)
-AC_MSG_CHECKING(for union wait)
-AC_CACHE_VAL(make_cv_union_wait, [dnl
-AC_TRY_LINK([#include
-#include ],
- [union wait status; int pid; pid = wait (&status);
-#ifdef WEXITSTATUS
-/* Some POSIXoid systems have both the new-style macros and the old
- union wait type, and they do not work together. If union wait
- conflicts with WEXITSTATUS et al, we don't want to use it at all. */
-if (WEXITSTATUS (status) != 0) pid = -1;
-#ifdef WTERMSIG
-/* If we have WEXITSTATUS and WTERMSIG, just use them on ints. */
--- blow chunks here --
-#endif
-#endif
-#ifdef HAVE_WAITPID
-/* Make sure union wait works with waitpid. */
-pid = waitpid (-1, &status, 0);
-#endif
-],
- [make_cv_union_wait=yes], [make_cv_union_wait=no])])
-if test "$make_cv_union_wait" = yes; then
- AC_DEFINE(HAVE_UNION_WAIT)
-fi
-AC_MSG_RESULT($make_cv_union_wait)
-
-AC_DECL_SYS_SIGLIST
-
-# The presence of the following is not meant to imply
-# that make necessarily works on those systems.
-AC_CHECK_LIB(sun, getpwnam)
-
-AC_SUBST(REMOTE) REMOTE=stub
-AC_ARG_WITH(customs, [export jobs with the Customs daemon (NOT SUPPORTED)],
-[REMOTE=cstms LIBS="$LIBS libcustoms.a"])
-
-echo checking for location of SCCS get command
-if test -f /usr/sccs/get; then
- SCCS_GET=/usr/sccs/get
- AC_DEFINE(SCCS_GET, "/usr/sccs/get")
-else
- SCCS_GET=get
- AC_DEFINE(SCCS_GET, "get")
-fi
-ac_clean_files="$ac_clean_files s.conftest conftoast" # Remove these later.
-if ( /usr/sccs/admin -n s.conftest || admin -n s.conftest ) >/dev/null 2>&1 &&
- test -f s.conftest; then
- # We successfully created an SCCS file.
- echo checking if SCCS get command understands -G
- if $SCCS_GET -Gconftoast s.conftest >/dev/null 2>&1 &&
- test -f conftoast; then
- AC_DEFINE(SCCS_GET_MINUS_G)
- fi
-fi
-rm -f s.conftest conftoast
-
-AC_OUTPUT(Makefile build.sh, [
-# Makefile uses this timestamp file to know when to remake Makefile,
-# build.sh, and glob/Makefile.
-touch stamp-config])
-
-dnl Local Variables:
-dnl comment-start: "dnl "
-dnl comment-end: ""
-dnl comment-start-skip: "\\bdnl\\b\\s *"
-dnl compile-command: "make configure config.h.in"
-dnl End:
diff --git a/buildtools/windows/source/make/default.c b/buildtools/windows/source/make/default.c
deleted file mode 100644
index 5cdca48c094..00000000000
--- a/buildtools/windows/source/make/default.c
+++ /dev/null
@@ -1,403 +0,0 @@
-/* Data base of default implicit rules for GNU Make.
-Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 1995 Free Software Foundation, Inc.
-This file is part of GNU Make.
-
-GNU Make is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
-any later version.
-
-GNU Make is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Make; see the file COPYING. If not, write to
-the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-
-#include "make.h"
-#include "rule.h"
-#include "dep.h"
-#include "file.h"
-#include "commands.h"
-#include "variable.h"
-
-/* Define GCC_IS_NATIVE if gcc is the native development environment on
- your system (gcc/bison/flex vs cc/yacc/lex). */
-#ifdef __MSDOS__
-#define GCC_IS_NATIVE
-#endif
-
-
-/* This is the default list of suffixes for suffix rules.
- `.s' must come last, so that a `.o' file will be made from
- a `.c' or `.p' or ... file rather than from a .s file. */
-
-static char default_suffixes[]
- = ".out .a .ln .o .c .cc .C .p .f .F .r .y .l .s .S \
-.mod .sym .def .h .info .dvi .tex .texinfo .texi .txinfo \
-.w .ch .web .sh .elc .el";
-
-static struct pspec default_pattern_rules[] =
- {
- { "(%)", "%",
- "$(AR) $(ARFLAGS) $@ $<" },
-
- /* The X.out rules are only in BSD's default set because
- BSD Make has no null-suffix rules, so `foo.out' and
- `foo' are the same thing. */
- { "%.out", "%",
- "@rm -f $@ \n cp $< $@" },
-
- /* Syntax is "ctangle foo.w foo.ch foo.c". */
- { "%.c", "%.w %.ch",
- "$(CTANGLE) $^ $@" },
- { "%.tex", "%.w %.ch",
- "$(CWEAVE) $^ $@" },
-
- { 0, 0, 0 }
- };
-
-static struct pspec default_terminal_rules[] =
- {
- /* RCS. */
- { "%", "%,v",
- "+$(CHECKOUT,v)" },
- { "%", "RCS/%,v",
- "+$(CHECKOUT,v)" },
-
- /* SCCS. */
- { "%", "s.%",
- "$(GET) $(GFLAGS) $(SCCS_OUTPUT_OPTION) $<" },
- { "%", "SCCS/s.%",
- "$(GET) $(GFLAGS) $(SCCS_OUTPUT_OPTION) $<" },
-
- { 0, 0, 0 }
- };
-
-static char *default_suffix_rules[] =
- {
- ".o",
- "$(LINK.o) $^ $(LOADLIBES) $(LDLIBS) -o $@",
- ".s",
- "$(LINK.s) $^ $(LOADLIBES) $(LDLIBS) -o $@",
- ".S",
- "$(LINK.S) $^ $(LOADLIBES) $(LDLIBS) -o $@",
- ".c",
- "$(LINK.c) $^ $(LOADLIBES) $(LDLIBS) -o $@",
- ".cc",
- "$(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@",
- ".C",
- "$(LINK.C) $^ $(LOADLIBES) $(LDLIBS) -o $@",
- ".f",
- "$(LINK.f) $^ $(LOADLIBES) $(LDLIBS) -o $@",
- ".p",
- "$(LINK.p) $^ $(LOADLIBES) $(LDLIBS) -o $@",
- ".F",
- "$(LINK.F) $^ $(LOADLIBES) $(LDLIBS) -o $@",
- ".r",
- "$(LINK.r) $^ $(LOADLIBES) $(LDLIBS) -o $@",
- ".mod",
- "$(COMPILE.mod) -o $@ -e $@ $^",
-
- ".def.sym",
- "$(COMPILE.def) -o $@ $<",
-
- ".sh",
- "cat $< >$@ \n chmod a+x $@",
-
- ".s.o",
-#if !defined(M_XENIX) || defined(__GNUC__)
- "$(COMPILE.s) -o $@ $<",
-#else /* Xenix. */
- "$(COMPILE.s) -o$@ $<",
-#endif /* Not Xenix. */
- ".S.o",
-#if !defined(M_XENIX) || defined(__GNUC__)
- "$(COMPILE.S) -o $@ $<",
-#else /* Xenix. */
- "$(COMPILE.S) -o$@ $<",
-#endif /* Not Xenix. */
- ".c.o",
- "$(COMPILE.c) $< $(OUTPUT_OPTION)",
- ".cc.o",
- "$(COMPILE.cc) $< $(OUTPUT_OPTION)",
- ".C.o",
- "$(COMPILE.C) $< $(OUTPUT_OPTION)",
- ".f.o",
- "$(COMPILE.f) $< $(OUTPUT_OPTION)",
- ".p.o",
- "$(COMPILE.p) $< $(OUTPUT_OPTION)",
- ".F.o",
- "$(COMPILE.F) $< $(OUTPUT_OPTION)",
- ".r.o",
- "$(COMPILE.r) $< $(OUTPUT_OPTION)",
- ".mod.o",
- "$(COMPILE.mod) -o $@ $<",
-
- ".c.ln",
- "$(LINT.c) -C$* $<",
- ".y.ln",
-#ifndef __MSDOS__
- "$(YACC.y) $< \n $(LINT.c) -C$* y.tab.c \n $(RM) y.tab.c",
-#else
- "$(YACC.y) $< \n $(LINT.c) -C$* y_tab.c \n $(RM) y_tab.c",
-#endif
- ".l.ln",
- "@$(RM) $*.c\n $(LEX.l) $< > $*.c\n$(LINT.c) -i $*.c -o $@\n $(RM) $*.c",
-
- ".y.c",
-#ifndef __MSDOS__
- "$(YACC.y) $< \n mv -f y.tab.c $@",
-#else
- "$(YACC.y) $< \n mv -f y_tab.c $@",
-#endif
- ".l.c",
- "@$(RM) $@ \n $(LEX.l) $< > $@",
-
- ".F.f",
- "$(PREPROCESS.F) $< $(OUTPUT_OPTION)",
- ".r.f",
- "$(PREPROCESS.r) $< $(OUTPUT_OPTION)",
-
- /* This might actually make lex.yy.c if there's no %R%
- directive in $*.l, but in that case why were you
- trying to make $*.r anyway? */
- ".l.r",
- "$(LEX.l) $< > $@ \n mv -f lex.yy.r $@",
-
- ".S.s",
- "$(PREPROCESS.S) $< > $@",
-
- ".texinfo.info",
- "$(MAKEINFO) $(MAKEINFO_FLAGS) $< -o $@",
-
- ".texi.info",
- "$(MAKEINFO) $(MAKEINFO_FLAGS) $< -o $@",
-
- ".txinfo.info",
- "$(MAKEINFO) $(MAKEINFO_FLAGS) $< -o $@",
-
- ".tex.dvi",
- "$(TEX) $<",
-
- ".texinfo.dvi",
- "$(TEXI2DVI) $(TEXI2DVI_FLAGS) $<",
-
- ".texi.dvi",
- "$(TEXI2DVI) $(TEXI2DVI_FLAGS) $<",
-
- ".txinfo.dvi",
- "$(TEXI2DVI) $(TEXI2DVI_FLAGS) $<",
-
- ".w.c",
- "$(CTANGLE) $< - $@", /* The `-' says there is no `.ch' file. */
-
- ".web.p",
- "$(TANGLE) $<",
-
- ".w.tex",
- "$(CWEAVE) $< - $@", /* The `-' says there is no `.ch' file. */
-
- ".web.tex",
- "$(WEAVE) $<",
-
- 0, 0,
- };
-
-static char *default_variables[] =
- {
- "AR", "ar",
- "ARFLAGS", "rv",
- "AS", "as",
-#ifdef GCC_IS_NATIVE
- "CC", "gcc",
- "CXX", "gcc",
-#else
- "CC", "cc",
- "CXX", "g++",
-#endif
-
- /* This expands to $(CO) $(COFLAGS) $< $@ if $@ does not exist,
- and to the empty string if $@ does exist. */
- "CHECKOUT,v",
- "$(patsubst $@-noexist,$(CO) $(COFLAGS) $< $@,\
- $(filter-out $@,$(firstword $(wildcard $@) $@-noexist)))",
-
- "CO", "co",
- "CPP", "$(CC) -E",
-#ifdef CRAY
- "CF77PPFLAGS", "-P",
- "CF77PP", "/lib/cpp",
- "CFT", "cft77",
- "CF", "cf77",
- "FC", "$(CF)",
-#else /* Not CRAY. */
-#ifdef _IBMR2
- "FC", "xlf",
-#else
-#ifdef __convex__
- "FC", "fc",
-#else
- "FC", "f77",
-#endif /* __convex__ */
-#endif /* _IBMR2 */
- /* System V uses these, so explicit rules using them should work.
- However, there is no way to make implicit rules use them and FC. */
- "F77", "$(FC)",
- "F77FLAGS", "$(FFLAGS)",
-#endif /* Cray. */
- "GET", SCCS_GET,
- "LD", "ld",
-#ifdef GCC_IS_NATIVE
- "LEX", "flex",
-#else
- "LEX", "lex",
-#endif
- "LINT", "lint",
- "M2C", "m2c",
-#ifdef pyr
- "PC", "pascal",
-#else
-#ifdef CRAY
- "PC", "PASCAL",
- "SEGLDR", "segldr",
-#else
- "PC", "pc",
-#endif /* CRAY. */
-#endif /* pyr. */
-#ifdef GCC_IS_NATIVE
- "YACC", "bison -y",
-#else
- "YACC", "yacc", /* Or "bison -y" */
-#endif
- "MAKEINFO", "makeinfo",
- "TEX", "tex",
- "TEXI2DVI", "texi2dvi",
- "WEAVE", "weave",
- "CWEAVE", "cweave",
- "TANGLE", "tangle",
- "CTANGLE", "ctangle",
-
- "RM", "rm -f",
-
- "LINK.o", "$(CC) $(LDFLAGS) $(TARGET_ARCH)",
- "COMPILE.c", "$(CC) $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c",
- "LINK.c", "$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH)",
- "COMPILE.cc", "$(CXX) $(CXXFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c",
- "COMPILE.C", "$(COMPILE.cc)",
- "LINK.cc", "$(CXX) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH)",
- "LINK.C", "$(LINK.cc)",
- "YACC.y", "$(YACC) $(YFLAGS)",
- "LEX.l", "$(LEX) $(LFLAGS) -t",
- "COMPILE.f", "$(FC) $(FFLAGS) $(TARGET_ARCH) -c",
- "LINK.f", "$(FC) $(FFLAGS) $(LDFLAGS) $(TARGET_ARCH)",
- "COMPILE.F", "$(FC) $(FFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c",
- "LINK.F", "$(FC) $(FFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH)",
- "COMPILE.r", "$(FC) $(FFLAGS) $(RFLAGS) $(TARGET_ARCH) -c",
- "LINK.r", "$(FC) $(FFLAGS) $(RFLAGS) $(LDFLAGS) $(TARGET_ARCH)",
- "COMPILE.def", "$(M2C) $(M2FLAGS) $(DEFFLAGS) $(TARGET_ARCH)",
- "COMPILE.mod", "$(M2C) $(M2FLAGS) $(MODFLAGS) $(TARGET_ARCH)",
- "COMPILE.p", "$(PC) $(PFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c",
- "LINK.p", "$(PC) $(PFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH)",
- "LINK.s", "$(CC) $(ASFLAGS) $(LDFLAGS) $(TARGET_MACH)",
- "COMPILE.s", "$(AS) $(ASFLAGS) $(TARGET_MACH)",
- "LINK.S", "$(CC) $(ASFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_MACH)",
- "COMPILE.S", "$(CC) $(ASFLAGS) $(CPPFLAGS) $(TARGET_MACH) -c",
-#if !defined(M_XENIX) || defined(__GNUC__)
- "PREPROCESS.S", "$(CC) -E $(CPPFLAGS)",
-#else /* Xenix. */
- "PREPROCESS.S", "$(CC) -EP $(CPPFLAGS)",
-#endif /* Not Xenix. */
- "PREPROCESS.F", "$(FC) $(FFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -F",
- "PREPROCESS.r", "$(FC) $(FFLAGS) $(RFLAGS) $(TARGET_ARCH) -F",
- "LINT.c", "$(LINT) $(LINTFLAGS) $(CPPFLAGS) $(TARGET_ARCH)",
-
-#ifndef NO_MINUS_C_MINUS_O
-#if !defined(M_XENIX) || defined(__GNUC__)
- "OUTPUT_OPTION", "-o $@",
-#else /* Xenix. */
- "OUTPUT_OPTION", "-Fo$@",
-#endif /* Not Xenix. */
-#endif
-
-#ifdef SCCS_GET_MINUS_G
- "SCCS_OUTPUT_OPTION", "-G$@",
-#endif
-
- 0, 0
- };
-
-/* Set up the default .SUFFIXES list. */
-
-void
-set_default_suffixes ()
-{
- suffix_file = enter_file (".SUFFIXES");
-
- if (no_builtin_rules_flag)
- (void) define_variable ("SUFFIXES", 8, "", o_default, 0);
- else
- {
- char *p = default_suffixes;
- suffix_file->deps = (struct dep *)
- multi_glob (parse_file_seq (&p, '\0', sizeof (struct dep), 1),
- sizeof (struct dep));
- (void) define_variable ("SUFFIXES", 8, default_suffixes, o_default, 0);
- }
-}
-
-/* Enter the default suffix rules as file rules. This used to be done in
- install_default_implicit_rules, but that loses because we want the
- suffix rules installed before reading makefiles, and thee pattern rules
- installed after. */
-
-void
-install_default_suffix_rules ()
-{
- register char **s;
-
- if (no_builtin_rules_flag)
- return;
-
- for (s = default_suffix_rules; *s != 0; s += 2)
- {
- register struct file *f = enter_file (s[0]);
- /* Don't clobber cmds given in a makefile if there were any. */
- if (f->cmds == 0)
- {
- f->cmds = (struct commands *) xmalloc (sizeof (struct commands));
- f->cmds->filename = 0;
- f->cmds->commands = s[1];
- f->cmds->command_lines = 0;
- }
- }
-}
-
-
-/* Install the default pattern rules. */
-
-void
-install_default_implicit_rules ()
-{
- register struct pspec *p;
-
- if (no_builtin_rules_flag)
- return;
-
- for (p = default_pattern_rules; p->target != 0; ++p)
- install_pattern_rule (p, 0);
-
- for (p = default_terminal_rules; p->target != 0; ++p)
- install_pattern_rule (p, 1);
-}
-
-void
-define_default_variables ()
-{
- register char **s;
-
- for (s = default_variables; *s != 0; s += 2)
- (void) define_variable (s[0], strlen (s[0]), s[1], o_default, 1);
-}
diff --git a/buildtools/windows/source/make/dep.h b/buildtools/windows/source/make/dep.h
deleted file mode 100644
index 244cde243f4..00000000000
--- a/buildtools/windows/source/make/dep.h
+++ /dev/null
@@ -1,66 +0,0 @@
-/* Definitions of dependency data structures for GNU Make.
-Copyright (C) 1988, 1989, 1991, 1992, 1993 Free Software Foundation, Inc.
-This file is part of GNU Make.
-
-GNU Make is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
-any later version.
-
-GNU Make is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Make; see the file COPYING. If not, write to
-the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-
-/* Structure representing one dependency of a file.
- Each struct file's `deps' points to a chain of these,
- chained through the `next'.
-
- Note that the first two words of this match a struct nameseq. */
-
-struct dep
- {
- struct dep *next;
- char *name;
- struct file *file;
- int changed;
- };
-
-
-/* Structure used in chains of names, for parsing and globbing. */
-
-struct nameseq
- {
- struct nameseq *next;
- char *name;
- };
-
-
-extern struct nameseq *multi_glob (), *parse_file_seq ();
-extern char *tilde_expand ();
-
-#ifndef NO_ARCHIVES
-extern struct nameseq *ar_glob ();
-#endif
-
-#ifndef iAPX286
-#define dep_name(d) ((d)->name == 0 ? (d)->file->name : (d)->name)
-#else
-/* Buggy compiler can't hack this. */
-extern char *dep_name ();
-#endif
-
-extern struct dep *read_all_makefiles ();
-
-/* Flag bits for the second argument to `read_makefile'.
- These flags are saved in the `changed' field of each
- `struct dep' in the chain returned by `read_all_makefiles'. */
-#define RM_NO_DEFAULT_GOAL (1 << 0) /* Do not set default goal. */
-#define RM_INCLUDED (1 << 1) /* Search makefile search path. */
-#define RM_DONTCARE (1 << 2) /* No error if it doesn't exist. */
-#define RM_NO_TILDE (1 << 3) /* Don't expand ~ in file name. */
-#define RM_NOFLAG 0
diff --git a/buildtools/windows/source/make/dir.c b/buildtools/windows/source/make/dir.c
deleted file mode 100644
index eac29fd2f87..00000000000
--- a/buildtools/windows/source/make/dir.c
+++ /dev/null
@@ -1,760 +0,0 @@
-/* Directory hashing for GNU Make.
-Copyright (C) 1988, 1989, 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
-This file is part of GNU Make.
-
-GNU Make is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
-any later version.
-
-GNU Make is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Make; see the file COPYING. If not, write to
-the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-
-#include "make.h"
-
-#ifdef NETSCAPE
-#include "windir.h"
-
-DIR *opendir(char *pathp)
-{
- DIR *ret = (DIR *) malloc(sizeof(DIR));
- char path[_MAX_PATH];
- int l;
-
- sprintf(path, "%s", pathp);
- l = strlen(path) - 1;
- path[strlen(pathp)] = '\0';
- if(path[strlen(path) - 1] != '\\')
- strcpy (path + strlen(path), "\\*.*");
- else
- strcat(path, "*.*");
-
- ret->de.d_name = NULL;
- if( (ret->dp = FindFirstFile(path, &ret->fdata)) != INVALID_HANDLE_VALUE)
- return ret;
- free(ret);
- return NULL;
-}
-
-struct dirent *readdir(DIR *ds)
-{
- if(FindNextFile(ds->dp, &ds->fdata) == FALSE)
- return NULL;
- if(ds->de.d_name)
- free(ds->de.d_name);
- ds->de.d_name = strdup(ds->fdata.cFileName);
-
- return &ds->de;
-}
-
-void closedir(DIR *ds)
-{
- FindClose(ds->dp);
- if(ds->de.d_name)
- free(ds->de.d_name);
- free(ds);
-}
-
-
-#endif
-
-
-#if !defined(NETSCAPE) && defined (POSIX) || defined (HAVE_DIRENT_H) || defined (__GNU_LIBRARY__)
-#include
-#ifndef __GNU_LIBRARY__
-#define D_NAMLEN(d) strlen((d)->d_name)
-#else /* GNU C library. */
-#define D_NAMLEN(d) ((d)->d_namlen)
-#endif /* Not GNU C library. */
-#else /* Not POSIX or HAVE_DIRENT_H. */
-#define direct dirent
-#define D_NAMLEN(d) (strlen(d->d_name))
-#ifdef HAVE_SYS_NDIR_H
-#include
-#endif /* HAVE_SYS_NDIR_H */
-#ifdef HAVE_SYS_DIR_H
-#include
-#endif /* HAVE_SYS_DIR_H */
-#ifdef HAVE_NDIR_H
-#include