23765 lines
850 KiB
Diff
Executable File
23765 lines
850 KiB
Diff
Executable File
From bf5e1b92892d8117626b3ded86b03e31ce78f028 Mon Sep 17 00:00:00 2001
|
|
From: Mark A. Grondona <mgrondona@llnl.gov>
|
|
Date: Tue, 8 Jun 2010 16:11:44 -0700
|
|
Subject: [PATCH 4/5] Rerun autotools
|
|
|
|
---
|
|
INSTALL | 370 +++-
|
|
Makefile.in | 277 ++-
|
|
aclocal.m4 | 1244 +++++++++-
|
|
compile | 21 +-
|
|
config.guess | 1030 +++++----
|
|
config.sub | 480 +++-
|
|
configure | 6806 +++++++++++++++++++++++++++++++++++----------------
|
|
contrib/Makefile.in | 171 +-
|
|
depcomp | 220 ++-
|
|
doc/Makefile.in | 343 ++-
|
|
doc/mdate-sh | 141 +-
|
|
doc/texinfo.tex | 4075 ++++++++++++++++++++++++-------
|
|
inputs/Makefile.in | 131 +-
|
|
install-sh | 677 ++++--
|
|
missing | 227 ++-
|
|
mkinstalldirs | 168 ++-
|
|
pub/Makefile.in | 126 +-
|
|
src/Makefile.in | 664 +++---
|
|
ylwrap | 245 ++-
|
|
19 files changed, 12670 insertions(+), 4746 deletions(-)
|
|
|
|
diff --git a/INSTALL b/INSTALL
|
|
index 902a8cf..7d1c323 100644
|
|
--- a/INSTALL
|
|
+++ b/INSTALL
|
|
@@ -1,59 +1,80 @@
|
|
-Basic Installation
|
|
-==================
|
|
+Installation Instructions
|
|
+*************************
|
|
|
|
- Cfengine depends on two packages. You should install up to date
|
|
- versions of these first.
|
|
+Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
|
|
+2006, 2007, 2008, 2009 Free Software Foundation, Inc.
|
|
|
|
- Berkeley Database obtainable from http://www.sleepycat.com
|
|
- OpenSSL obtainable from http://www.openssl.org
|
|
+ Copying and distribution of this file, with or without modification,
|
|
+are permitted in any medium without royalty provided the copyright
|
|
+notice and this notice are preserved. This file is offered as-is,
|
|
+without warranty of any kind.
|
|
|
|
- Some operating systems with package managers will already contain
|
|
- packages for these libraries.
|
|
- If you use MacOS X you need to download and install a copy of
|
|
- BerkeleyDB, as well as a copy of the OpenSSL header files.
|
|
+Basic Installation
|
|
+==================
|
|
|
|
- These are generic installation instructions.
|
|
+ Briefly, the shell commands `./configure; make; make install' should
|
|
+configure, build, and install this package. The following
|
|
+more-detailed instructions are generic; see the `README' file for
|
|
+instructions specific to this package. Some packages provide this
|
|
+`INSTALL' file but do not implement all of the features documented
|
|
+below. The lack of an optional feature in a given package is not
|
|
+necessarily a bug. More recommendations for GNU packages can be found
|
|
+in *note Makefile Conventions: (standards)Makefile Conventions.
|
|
|
|
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').
|
|
+you can run in the future to recreate the current configuration, and a
|
|
+file `config.log' containing compiler output (useful mainly for
|
|
+debugging `configure').
|
|
+
|
|
+ It can also use an optional file (typically called `config.cache'
|
|
+and enabled with `--cache-file=config.cache' or simply `-C') that saves
|
|
+the results of its tests to speed up reconfiguring. Caching is
|
|
+disabled by default to prevent problems with accidental use of stale
|
|
+cache files.
|
|
|
|
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.
|
|
+be considered for the next release. If you are using the cache, and 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 file `configure.ac' (or `configure.in') is used to create
|
|
+`configure' by a program called `autoconf'. You need `configure.ac' if
|
|
+you want to change it or regenerate `configure' using a newer version
|
|
+of `autoconf'.
|
|
|
|
-The simplest way to compile this package is:
|
|
+ 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.
|
|
+ `./configure' to configure the package for your system.
|
|
|
|
- Running `configure' takes awhile. While running, it prints some
|
|
- messages telling which features it is checking for.
|
|
+ Running `configure' might take a while. 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.
|
|
+ the package, generally using the just-built uninstalled binaries.
|
|
|
|
4. Type `make install' to install the programs and any data files and
|
|
- documentation.
|
|
+ documentation. When installing into a prefix owned by root, it is
|
|
+ recommended that the package be configured and built as a regular
|
|
+ user, and only the `make install' phase executed with root
|
|
+ privileges.
|
|
|
|
- 5. You can remove the program binaries and object files from the
|
|
+ 5. Optionally, type `make installcheck' to repeat any self-tests, but
|
|
+ this time using the binaries in their final installed location.
|
|
+ This target does not install anything. Running this target as a
|
|
+ regular user, particularly if the prior `make install' required
|
|
+ root privileges, verifies that the installation completed
|
|
+ correctly.
|
|
+
|
|
+ 6. 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
|
|
@@ -62,26 +83,283 @@ The simplest way to compile this package is:
|
|
all sorts of other programs in order to regenerate files that came
|
|
with the distribution.
|
|
|
|
-OpenSSL Problem
|
|
+ 7. Often, you can also type `make uninstall' to remove the installed
|
|
+ files again. In practice, not all packages have tested that
|
|
+ uninstallation works correctly, even though it is required by the
|
|
+ GNU Coding Standards.
|
|
+
|
|
+ 8. Some packages, particularly those that use Automake, provide `make
|
|
+ distcheck', which can by used by developers to test that all other
|
|
+ targets like `make install' and `make uninstall' work correctly.
|
|
+ This target is generally not run by end users.
|
|
+
|
|
+Compilers and Options
|
|
=====================
|
|
|
|
-If you see error messages of the follwing type when upgrading OpenSSL:
|
|
+ Some systems require unusual options for compilation or linking that
|
|
+the `configure' script does not know about. Run `./configure --help'
|
|
+for details on some of the pertinent environment variables.
|
|
+
|
|
+ You can give `configure' initial values for configuration parameters
|
|
+by setting variables in the command line or in the environment. Here
|
|
+is an example:
|
|
+
|
|
+ ./configure CC=c99 CFLAGS=-g LIBS=-lposix
|
|
+
|
|
+ *Note Defining Variables::, for more details.
|
|
+
|
|
+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 can use 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 `..'. This
|
|
+is known as a "VPATH" build.
|
|
+
|
|
+ With a non-GNU `make', it is safer 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.
|
|
+
|
|
+ On MacOS X 10.5 and later systems, you can create libraries and
|
|
+executables that work on multiple system types--known as "fat" or
|
|
+"universal" binaries--by specifying multiple `-arch' options to the
|
|
+compiler but only a single `-arch' option to the preprocessor. Like
|
|
+this:
|
|
+
|
|
+ ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
|
|
+ CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
|
|
+ CPP="gcc -E" CXXCPP="g++ -E"
|
|
+
|
|
+ This is not guaranteed to produce working output in all cases, you
|
|
+may have to build one architecture at a time and combine the results
|
|
+using the `lipo' tool if you have problems.
|
|
+
|
|
+Installation Names
|
|
+==================
|
|
+
|
|
+ By default, `make install' installs the package's commands under
|
|
+`/usr/local/bin', include files under `/usr/local/include', etc. You
|
|
+can specify an installation prefix other than `/usr/local' by giving
|
|
+`configure' the option `--prefix=PREFIX', where PREFIX must be an
|
|
+absolute file name.
|
|
+
|
|
+ You can specify separate installation prefixes for
|
|
+architecture-specific files and architecture-independent files. If you
|
|
+pass the option `--exec-prefix=PREFIX' to `configure', the package uses
|
|
+PREFIX as the prefix for installing programs and libraries.
|
|
+Documentation and other data files still use the regular prefix.
|
|
+
|
|
+ In addition, if you use an unusual directory layout you can give
|
|
+options like `--bindir=DIR' to specify different values for particular
|
|
+kinds of files. Run `configure --help' for a list of the directories
|
|
+you can set and what kinds of files go in them. In general, the
|
|
+default for these options is expressed in terms of `${prefix}', so that
|
|
+specifying just `--prefix' will affect all of the other directory
|
|
+specifications that were not explicitly provided.
|
|
+
|
|
+ The most portable way to affect installation locations is to pass the
|
|
+correct locations to `configure'; however, many packages provide one or
|
|
+both of the following shortcuts of passing variable assignments to the
|
|
+`make install' command line to change installation locations without
|
|
+having to reconfigure or recompile.
|
|
+
|
|
+ The first method involves providing an override variable for each
|
|
+affected directory. For example, `make install
|
|
+prefix=/alternate/directory' will choose an alternate location for all
|
|
+directory configuration variables that were expressed in terms of
|
|
+`${prefix}'. Any directories that were specified during `configure',
|
|
+but not in terms of `${prefix}', must each be overridden at install
|
|
+time for the entire installation to be relocated. The approach of
|
|
+makefile variable overrides for each directory variable is required by
|
|
+the GNU Coding Standards, and ideally causes no recompilation.
|
|
+However, some platforms have known limitations with the semantics of
|
|
+shared libraries that end up requiring recompilation when using this
|
|
+method, particularly noticeable in packages that use GNU Libtool.
|
|
+
|
|
+ The second method involves providing the `DESTDIR' variable. For
|
|
+example, `make install DESTDIR=/alternate/directory' will prepend
|
|
+`/alternate/directory' before all installation names. The approach of
|
|
+`DESTDIR' overrides is not required by the GNU Coding Standards, and
|
|
+does not work on platforms that have drive letters. On the other hand,
|
|
+it does better at avoiding recompilation issues, and works well even
|
|
+when some directory options were not specified in terms of `${prefix}'
|
|
+at `configure' time.
|
|
+
|
|
+Optional Features
|
|
+=================
|
|
+
|
|
+ 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'.
|
|
+
|
|
+ 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.
|
|
+
|
|
+ Some packages offer the ability to configure how verbose the
|
|
+execution of `make' will be. For these packages, running `./configure
|
|
+--enable-silent-rules' sets the default to minimal output, which can be
|
|
+overridden with `make V=1'; while running `./configure
|
|
+--disable-silent-rules' sets the default to verbose, which can be
|
|
+overridden with `make V=0'.
|
|
+
|
|
+Particular systems
|
|
+==================
|
|
+
|
|
+ On HP-UX, the default C compiler is not ANSI C compatible. If GNU
|
|
+CC is not installed, it is recommended to use the following options in
|
|
+order to use an ANSI C compiler:
|
|
+
|
|
+ ./configure CC="cc -Ae -D_XOPEN_SOURCE=500"
|
|
+
|
|
+and if that doesn't work, install pre-built binaries of GCC for HP-UX.
|
|
+
|
|
+ On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
|
|
+parse its `<wchar.h>' header file. The option `-nodtk' can be used as
|
|
+a workaround. If GNU CC is not installed, it is therefore recommended
|
|
+to try
|
|
+
|
|
+ ./configure CC="cc"
|
|
+
|
|
+and if that doesn't work, try
|
|
+
|
|
+ ./configure CC="cc -nodtk"
|
|
+
|
|
+ On Solaris, don't put `/usr/ucb' early in your `PATH'. This
|
|
+directory contains several dysfunctional programs; working variants of
|
|
+these programs are available in `/usr/bin'. So, if you need `/usr/ucb'
|
|
+in your `PATH', put it _after_ `/usr/bin'.
|
|
+
|
|
+ On Haiku, software installed for all users goes in `/boot/common',
|
|
+not `/usr/local'. It is recommended to use the following options:
|
|
+
|
|
+ ./configure --prefix=/boot/common
|
|
+
|
|
+Specifying the System Type
|
|
+==========================
|
|
+
|
|
+ There may be some features `configure' cannot figure out
|
|
+automatically, but needs to determine by the type of machine the package
|
|
+will run on. Usually, assuming the package is built to be run on the
|
|
+_same_ architectures, `configure' can figure that out, but if it prints
|
|
+a message saying it cannot guess the machine type, give it the
|
|
+`--build=TYPE' option. TYPE can either be a short name for the system
|
|
+type, such as `sun4', or a canonical name which has the form:
|
|
+
|
|
+ CPU-COMPANY-SYSTEM
|
|
+
|
|
+where SYSTEM can have one of these forms:
|
|
+
|
|
+ OS
|
|
+ KERNEL-OS
|
|
+
|
|
+ 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 machine type.
|
|
+
|
|
+ If you are _building_ compiler tools for cross-compiling, you should
|
|
+use the option `--target=TYPE' to select the type of system they will
|
|
+produce code for.
|
|
+
|
|
+ If you want to _use_ a cross compiler, that generates code for a
|
|
+platform different from the build platform, you should specify the
|
|
+"host" platform (i.e., that on which the generated programs will
|
|
+eventually be run) with `--host=TYPE'.
|
|
+
|
|
+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.
|
|
+
|
|
+Defining Variables
|
|
+==================
|
|
+
|
|
+ Variables not defined in a site shell script can be set in the
|
|
+environment passed to `configure'. However, some packages may run
|
|
+configure again during the build, and the customized values of these
|
|
+variables may be lost. In order to avoid this problem, you should set
|
|
+them in the `configure' command line, using `VAR=value'. For example:
|
|
+
|
|
+ ./configure CC=/usr/local2/bin/gcc
|
|
+
|
|
+causes the specified `gcc' to be used as the C compiler (unless it is
|
|
+overridden in the site shell script).
|
|
+
|
|
+Unfortunately, this technique does not work for `CONFIG_SHELL' due to
|
|
+an Autoconf bug. Until the bug is fixed you can use this workaround:
|
|
+
|
|
+ CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
|
|
+
|
|
+`configure' Invocation
|
|
+======================
|
|
+
|
|
+ `configure' recognizes the following options to control how it
|
|
+operates.
|
|
+
|
|
+`--help'
|
|
+`-h'
|
|
+ Print a summary of all of the options to `configure', and exit.
|
|
+
|
|
+`--help=short'
|
|
+`--help=recursive'
|
|
+ Print a summary of the options unique to this package's
|
|
+ `configure', and exit. The `short' variant lists options used
|
|
+ only in the top level, while the `recursive' variant lists options
|
|
+ also present in any nested packages.
|
|
+
|
|
+`--version'
|
|
+`-V'
|
|
+ Print the version of Autoconf used to generate the `configure'
|
|
+ script, and exit.
|
|
+
|
|
+`--cache-file=FILE'
|
|
+ Enable the cache: use and save the results of the tests in FILE,
|
|
+ traditionally `config.cache'. FILE defaults to `/dev/null' to
|
|
+ disable caching.
|
|
+
|
|
+`--config-cache'
|
|
+`-C'
|
|
+ Alias for `--cache-file=config.cache'.
|
|
+
|
|
+`--quiet'
|
|
+`--silent'
|
|
+`-q'
|
|
+ Do not print messages saying which checks are being made. To
|
|
+ suppress all normal output, redirect it to `/dev/null' (any error
|
|
+ messages will still be shown).
|
|
|
|
-dso_dlfcn.c: undefined reference to `dlsym'
|
|
-/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x31d):dso_dlfcn.c: undefined reference to `dlerror'
|
|
-/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x3bf): In function `dlfcn_bind_var':
|
|
-dso_dlfcn.c: undefined reference to `dlsym'
|
|
-/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x43b):dso_dlfcn.c: undefined reference to `dlerror'
|
|
-/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x4a7): In function `dlfcn_unload':
|
|
-dso_dlfcn.c: undefined reference to `dlclose'
|
|
-/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x563): In function `dlfcn_load':
|
|
-dso_dlfcn.c: undefined reference to `dlopen'
|
|
-/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x5c9):dso_dlfcn.c: undefined reference to `dlclose'
|
|
-/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x5fe):dso_dlfcn.c: undefined reference to `dlerror'
|
|
-collect2: ld returned 1 exit status
|
|
-make[2]: *** [cfagent] Error 1
|
|
+`--srcdir=DIR'
|
|
+ Look for the package's source code in directory DIR. Usually
|
|
+ `configure' can determine that directory automatically.
|
|
|
|
+`--prefix=DIR'
|
|
+ Use DIR as the installation prefix. *note Installation Names::
|
|
+ for more details, including other options available for fine-tuning
|
|
+ the installation locations.
|
|
|
|
-Then you should make sure that you rebuilt *with* shared libraries and without static libcrypto.a libraries. Rename or remove /usr/local/ssl/lib/libcrypto.a and recompile. The libdl functions are apparently only available from shared libraries.
|
|
+`--no-create'
|
|
+`-n'
|
|
+ Run the configure checks, but stop before creating any output
|
|
+ files.
|
|
|
|
+`configure' also accepts some other, not widely useful, options. Run
|
|
+`configure --help' for more details.
|
|
|
|
diff --git a/Makefile.in b/Makefile.in
|
|
index 04784e7..3c776f3 100644
|
|
--- a/Makefile.in
|
|
+++ b/Makefile.in
|
|
@@ -1,8 +1,9 @@
|
|
-# Makefile.in generated by automake 1.10.1 from Makefile.am.
|
|
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
|
|
# @configure_input@
|
|
|
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
|
-# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
|
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
|
|
+# Inc.
|
|
# This Makefile.in is free software; the Free Software Foundation
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
# with or without modifications, as long as this notice is preserved.
|
|
@@ -16,8 +17,9 @@
|
|
|
|
VPATH = @srcdir@
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
|
-pkglibdir = $(libdir)/@PACKAGE@
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
|
+pkglibdir = $(libdir)/@PACKAGE@
|
|
+pkglibexecdir = $(libexecdir)/@PACKAGE@
|
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
|
install_sh_DATA = $(install_sh) -c -m 644
|
|
install_sh_PROGRAM = $(install_sh) -c
|
|
@@ -49,6 +51,7 @@ am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
|
CONFIG_HEADER = $(top_builddir)/src/conf.h
|
|
CONFIG_CLEAN_FILES =
|
|
+CONFIG_CLEAN_VPATH_FILES =
|
|
SOURCES =
|
|
DIST_SOURCES =
|
|
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
|
|
@@ -63,22 +66,64 @@ am__vpath_adj = case $$p in \
|
|
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
|
|
*) f=$$p;; \
|
|
esac;
|
|
-am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
|
|
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
|
|
+am__install_max = 40
|
|
+am__nobase_strip_setup = \
|
|
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
|
|
+am__nobase_strip = \
|
|
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
|
|
+am__nobase_list = $(am__nobase_strip_setup); \
|
|
+ for p in $$list; do echo "$$p $$p"; done | \
|
|
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
|
|
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
|
|
+ if (++n[$$2] == $(am__install_max)) \
|
|
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
|
|
+ END { for (dir in files) print dir, files[dir] }'
|
|
+am__base_list = \
|
|
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
|
|
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
|
|
am__installdirs = "$(DESTDIR)$(docdir)"
|
|
-docDATA_INSTALL = $(INSTALL_DATA)
|
|
DATA = $(doc_DATA)
|
|
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
|
|
distclean-recursive maintainer-clean-recursive
|
|
+AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
|
|
+ $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
|
|
+ distdir dist dist-all distcheck
|
|
ETAGS = etags
|
|
CTAGS = ctags
|
|
-DIST_SUBDIRS = pub src contrib inputs doc
|
|
+DIST_SUBDIRS = pub libltdl src contrib inputs doc
|
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
|
distdir = $(PACKAGE)-$(VERSION)
|
|
top_distdir = $(distdir)
|
|
am__remove_distdir = \
|
|
- { test ! -d $(distdir) \
|
|
- || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
|
|
- && rm -fr $(distdir); }; }
|
|
+ { test ! -d "$(distdir)" \
|
|
+ || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
|
|
+ && rm -fr "$(distdir)"; }; }
|
|
+am__relativize = \
|
|
+ dir0=`pwd`; \
|
|
+ sed_first='s,^\([^/]*\)/.*$$,\1,'; \
|
|
+ sed_rest='s,^[^/]*/*,,'; \
|
|
+ sed_last='s,^.*/\([^/]*\)$$,\1,'; \
|
|
+ sed_butlast='s,/*[^/]*$$,,'; \
|
|
+ while test -n "$$dir1"; do \
|
|
+ first=`echo "$$dir1" | sed -e "$$sed_first"`; \
|
|
+ if test "$$first" != "."; then \
|
|
+ if test "$$first" = ".."; then \
|
|
+ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
|
|
+ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
|
|
+ else \
|
|
+ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
|
|
+ if test "$$first2" = "$$first"; then \
|
|
+ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
|
|
+ else \
|
|
+ dir2="../$$dir2"; \
|
|
+ fi; \
|
|
+ dir0="$$dir0"/"$$first"; \
|
|
+ fi; \
|
|
+ fi; \
|
|
+ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
|
|
+ done; \
|
|
+ reldir="$$dir2"
|
|
DIST_ARCHIVES = $(distdir).tar.gz
|
|
GZIP_ENV = --best
|
|
distuninstallcheck_listfiles = find . -type f -print
|
|
@@ -86,6 +131,7 @@ distcleancheck_listfiles = find . -type f -print
|
|
ACLOCAL = @ACLOCAL@
|
|
AMTAR = @AMTAR@
|
|
AR = @AR@
|
|
+ARGZ_H = @ARGZ_H@
|
|
AUTOCONF = @AUTOCONF@
|
|
AUTOHEADER = @AUTOHEADER@
|
|
AUTOMAKE = @AUTOMAKE@
|
|
@@ -116,6 +162,7 @@ GETCONF = @GETCONF@
|
|
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
|
|
GREP = @GREP@
|
|
HOSTNAME = @HOSTNAME@
|
|
+INCLTDL = @INCLTDL@
|
|
INSTALL = @INSTALL@
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
@@ -128,13 +175,25 @@ LDFLAGS = @LDFLAGS@
|
|
LEX = @LEX@
|
|
LEXLIB = @LEXLIB@
|
|
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
|
|
+LIBADD_DL = @LIBADD_DL@
|
|
+LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
|
|
+LIBADD_DLOPEN = @LIBADD_DLOPEN@
|
|
+LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
|
|
+LIBLTDL = @LIBLTDL@
|
|
LIBOBJS = @LIBOBJS@
|
|
LIBS = @LIBS@
|
|
LIBTOOL = @LIBTOOL@
|
|
LIB_SELINUX = @LIB_SELINUX@
|
|
LIPO = @LIPO@
|
|
LN_S = @LN_S@
|
|
+LTDLDEPS = @LTDLDEPS@
|
|
+LTDLINCL = @LTDLINCL@
|
|
+LTDLOPEN = @LTDLOPEN@
|
|
LTLIBOBJS = @LTLIBOBJS@
|
|
+LT_CONFIG_H = @LT_CONFIG_H@
|
|
+LT_DLLOADERS = @LT_DLLOADERS@
|
|
+LT_DLPREOPEN = @LT_DLPREOPEN@
|
|
+MAINT = @MAINT@
|
|
MAKEINFO = @MAKEINFO@
|
|
MKDIR_P = @MKDIR_P@
|
|
NEED_SETGID = @NEED_SETGID@
|
|
@@ -206,6 +265,8 @@ libexecdir = @libexecdir@
|
|
localedir = @localedir@
|
|
localstatedir = @localstatedir@
|
|
lt_ECHO = @lt_ECHO@
|
|
+ltdl_LIBOBJS = @ltdl_LIBOBJS@
|
|
+ltdl_LTLIBOBJS = @ltdl_LTLIBOBJS@
|
|
mandir = @mandir@
|
|
mkdir_p = @mkdir_p@
|
|
oldincludedir = @oldincludedir@
|
|
@@ -216,6 +277,8 @@ psdir = @psdir@
|
|
sbindir = @sbindir@
|
|
sharedstatedir = @sharedstatedir@
|
|
srcdir = @srcdir@
|
|
+subdirs = @subdirs@
|
|
+sys_symbol_underscore = @sys_symbol_underscore@
|
|
sysconfdir = @sysconfdir@
|
|
target = @target@
|
|
target_alias = @target_alias@
|
|
@@ -227,7 +290,8 @@ top_builddir = @top_builddir@
|
|
top_srcdir = @top_srcdir@
|
|
@BUILD_DOC_FALSE@DOC_DIR =
|
|
@BUILD_DOC_TRUE@DOC_DIR = doc
|
|
-SUBDIRS = pub src contrib inputs $(DOC_DIR)
|
|
+ACLOCAL_AMFLAGS = "-I m4"
|
|
+SUBDIRS = pub libltdl src contrib inputs $(DOC_DIR)
|
|
EXTRA_DIST = acconfig.h doc/cfengine.8 COPYING ChangeLog INSTALL NEWS README LICENSE
|
|
doc_DATA = README ChangeLog INSTALL NEWS
|
|
|
|
@@ -262,19 +326,19 @@ all: all-recursive
|
|
.SUFFIXES:
|
|
am--refresh:
|
|
@:
|
|
-$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
|
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
|
|
@for dep in $?; do \
|
|
case '$(am__configure_deps)' in \
|
|
*$$dep*) \
|
|
- echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
|
|
- cd $(srcdir) && $(AUTOMAKE) --gnu \
|
|
+ echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
|
|
+ $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
|
|
&& exit 0; \
|
|
exit 1;; \
|
|
esac; \
|
|
done; \
|
|
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
|
|
- cd $(top_srcdir) && \
|
|
- $(AUTOMAKE) --gnu Makefile
|
|
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
|
|
+ $(am__cd) $(top_srcdir) && \
|
|
+ $(AUTOMAKE) --gnu Makefile
|
|
.PRECIOUS: Makefile
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
@case '$?' in \
|
|
@@ -289,10 +353,11 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
|
$(SHELL) ./config.status --recheck
|
|
|
|
-$(top_srcdir)/configure: $(am__configure_deps)
|
|
- cd $(srcdir) && $(AUTOCONF)
|
|
-$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
|
- cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
|
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
|
|
+ $(am__cd) $(srcdir) && $(AUTOCONF)
|
|
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
|
|
+ $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
|
+$(am__aclocal_m4_deps):
|
|
|
|
mostlyclean-libtool:
|
|
-rm -f *.lo
|
|
@@ -301,24 +366,27 @@ clean-libtool:
|
|
-rm -rf .libs _libs
|
|
|
|
distclean-libtool:
|
|
- -rm -f libtool
|
|
+ -rm -f libtool config.lt
|
|
install-docDATA: $(doc_DATA)
|
|
@$(NORMAL_INSTALL)
|
|
test -z "$(docdir)" || $(MKDIR_P) "$(DESTDIR)$(docdir)"
|
|
- @list='$(doc_DATA)'; for p in $$list; do \
|
|
+ @list='$(doc_DATA)'; test -n "$(docdir)" || list=; \
|
|
+ for p in $$list; do \
|
|
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
|
- f=$(am__strip_dir) \
|
|
- echo " $(docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(docdir)/$$f'"; \
|
|
- $(docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \
|
|
+ echo "$$d$$p"; \
|
|
+ done | $(am__base_list) | \
|
|
+ while read files; do \
|
|
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docdir)'"; \
|
|
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(docdir)" || exit $$?; \
|
|
done
|
|
|
|
uninstall-docDATA:
|
|
@$(NORMAL_UNINSTALL)
|
|
- @list='$(doc_DATA)'; for p in $$list; do \
|
|
- f=$(am__strip_dir) \
|
|
- echo " rm -f '$(DESTDIR)$(docdir)/$$f'"; \
|
|
- rm -f "$(DESTDIR)$(docdir)/$$f"; \
|
|
- done
|
|
+ @list='$(doc_DATA)'; test -n "$(docdir)" || list=; \
|
|
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
|
|
+ test -n "$$files" || exit 0; \
|
|
+ echo " ( cd '$(DESTDIR)$(docdir)' && rm -f" $$files ")"; \
|
|
+ cd "$(DESTDIR)$(docdir)" && rm -f $$files
|
|
|
|
# This directory's subdirectories are mostly independent; you can cd
|
|
# into them and run `make' without going through this Makefile.
|
|
@@ -327,7 +395,7 @@ uninstall-docDATA:
|
|
# (which will cause the Makefiles to be regenerated when you run `make');
|
|
# (2) otherwise, pass the desired values on the `make' command line.
|
|
$(RECURSIVE_TARGETS):
|
|
- @failcom='exit 1'; \
|
|
+ @fail= failcom='exit 1'; \
|
|
for f in x $$MAKEFLAGS; do \
|
|
case $$f in \
|
|
*=* | --[!k]*);; \
|
|
@@ -344,7 +412,7 @@ $(RECURSIVE_TARGETS):
|
|
else \
|
|
local_target="$$target"; \
|
|
fi; \
|
|
- (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
|
+ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
|
|| eval $$failcom; \
|
|
done; \
|
|
if test "$$dot_seen" = "no"; then \
|
|
@@ -352,7 +420,7 @@ $(RECURSIVE_TARGETS):
|
|
fi; test -z "$$fail"
|
|
|
|
$(RECURSIVE_CLEAN_TARGETS):
|
|
- @failcom='exit 1'; \
|
|
+ @fail= failcom='exit 1'; \
|
|
for f in x $$MAKEFLAGS; do \
|
|
case $$f in \
|
|
*=* | --[!k]*);; \
|
|
@@ -378,16 +446,16 @@ $(RECURSIVE_CLEAN_TARGETS):
|
|
else \
|
|
local_target="$$target"; \
|
|
fi; \
|
|
- (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
|
+ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
|
|| eval $$failcom; \
|
|
done && test -z "$$fail"
|
|
tags-recursive:
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
- test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
|
+ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
|
done
|
|
ctags-recursive:
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
- test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
|
|
+ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
|
|
done
|
|
|
|
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
|
@@ -395,14 +463,14 @@ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
|
unique=`for i in $$list; do \
|
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
|
done | \
|
|
- $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
|
|
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
|
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
|
mkid -fID $$unique
|
|
tags: TAGS
|
|
|
|
TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
|
$(TAGS_FILES) $(LISP)
|
|
- tags=; \
|
|
+ set x; \
|
|
here=`pwd`; \
|
|
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
|
|
include_option=--etags-include; \
|
|
@@ -414,7 +482,7 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
if test "$$subdir" = .; then :; else \
|
|
test ! -f $$subdir/TAGS || \
|
|
- tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
|
|
+ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
|
|
fi; \
|
|
done; \
|
|
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
|
@@ -423,36 +491,41 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
|
done | \
|
|
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
|
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
|
- if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
|
|
+ shift; \
|
|
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
|
|
test -n "$$unique" || unique=$$empty_fix; \
|
|
- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
|
- $$tags $$unique; \
|
|
+ if test $$# -gt 0; then \
|
|
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
|
+ "$$@" $$unique; \
|
|
+ else \
|
|
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
|
+ $$unique; \
|
|
+ fi; \
|
|
fi
|
|
ctags: CTAGS
|
|
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
|
$(TAGS_FILES) $(LISP)
|
|
- tags=; \
|
|
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
|
unique=`for i in $$list; do \
|
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
|
done | \
|
|
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
|
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
|
- test -z "$(CTAGS_ARGS)$$tags$$unique" \
|
|
+ test -z "$(CTAGS_ARGS)$$unique" \
|
|
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
|
- $$tags $$unique
|
|
+ $$unique
|
|
|
|
GTAGS:
|
|
here=`$(am__cd) $(top_builddir) && pwd` \
|
|
- && cd $(top_srcdir) \
|
|
- && gtags -i $(GTAGS_ARGS) $$here
|
|
+ && $(am__cd) $(top_srcdir) \
|
|
+ && gtags -i $(GTAGS_ARGS) "$$here"
|
|
|
|
distclean-tags:
|
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
|
|
|
distdir: $(DISTFILES)
|
|
$(am__remove_distdir)
|
|
- test -d $(distdir) || mkdir $(distdir)
|
|
+ test -d "$(distdir)" || mkdir "$(distdir)"
|
|
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
|
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
|
list='$(DISTFILES)'; \
|
|
@@ -468,38 +541,55 @@ distdir: $(DISTFILES)
|
|
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
|
if test -d $$d/$$file; then \
|
|
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
|
+ if test -d "$(distdir)/$$file"; then \
|
|
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
|
+ fi; \
|
|
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
|
- cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
|
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
|
|
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
|
fi; \
|
|
- cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
|
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
|
|
else \
|
|
- test -f $(distdir)/$$file \
|
|
- || cp -p $$d/$$file $(distdir)/$$file \
|
|
+ test -f "$(distdir)/$$file" \
|
|
+ || cp -p $$d/$$file "$(distdir)/$$file" \
|
|
|| exit 1; \
|
|
fi; \
|
|
done
|
|
- list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
|
|
+ @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
|
|
if test "$$subdir" = .; then :; else \
|
|
test -d "$(distdir)/$$subdir" \
|
|
|| $(MKDIR_P) "$(distdir)/$$subdir" \
|
|
|| exit 1; \
|
|
- distdir=`$(am__cd) $(distdir) && pwd`; \
|
|
- top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
|
|
- (cd $$subdir && \
|
|
+ fi; \
|
|
+ done
|
|
+ @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
|
|
+ if test "$$subdir" = .; then :; else \
|
|
+ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
|
|
+ $(am__relativize); \
|
|
+ new_distdir=$$reldir; \
|
|
+ dir1=$$subdir; dir2="$(top_distdir)"; \
|
|
+ $(am__relativize); \
|
|
+ new_top_distdir=$$reldir; \
|
|
+ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
|
|
+ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
|
|
+ ($(am__cd) $$subdir && \
|
|
$(MAKE) $(AM_MAKEFLAGS) \
|
|
- top_distdir="$$top_distdir" \
|
|
- distdir="$$distdir/$$subdir" \
|
|
+ top_distdir="$$new_top_distdir" \
|
|
+ distdir="$$new_distdir" \
|
|
am__remove_distdir=: \
|
|
am__skip_length_check=: \
|
|
+ am__skip_mode_fix=: \
|
|
distdir) \
|
|
|| exit 1; \
|
|
fi; \
|
|
done
|
|
- -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
|
|
+ -test -n "$(am__skip_mode_fix)" \
|
|
+ || find "$(distdir)" -type d ! -perm -755 \
|
|
+ -exec chmod u+rwx,go+rx {} \; -o \
|
|
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
|
|
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
|
|
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
|
|
- || chmod -R a+r $(distdir)
|
|
+ || chmod -R a+r "$(distdir)"
|
|
dist-gzip: distdir
|
|
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
|
$(am__remove_distdir)
|
|
@@ -512,6 +602,10 @@ dist-lzma: distdir
|
|
tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
|
|
$(am__remove_distdir)
|
|
|
|
+dist-xz: distdir
|
|
+ tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
|
|
+ $(am__remove_distdir)
|
|
+
|
|
dist-tarZ: distdir
|
|
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
|
|
$(am__remove_distdir)
|
|
@@ -535,15 +629,17 @@ dist dist-all: distdir
|
|
distcheck: dist
|
|
case '$(DIST_ARCHIVES)' in \
|
|
*.tar.gz*) \
|
|
- GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
|
|
+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
|
|
*.tar.bz2*) \
|
|
- bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
|
|
+ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
|
|
*.tar.lzma*) \
|
|
- unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
|
|
+ lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
|
|
+ *.tar.xz*) \
|
|
+ xz -dc $(distdir).tar.xz | $(am__untar) ;;\
|
|
*.tar.Z*) \
|
|
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
|
|
*.shar.gz*) \
|
|
- GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
|
|
+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
|
|
*.zip*) \
|
|
unzip $(distdir).zip ;;\
|
|
esac
|
|
@@ -551,9 +647,11 @@ distcheck: dist
|
|
mkdir $(distdir)/_build
|
|
mkdir $(distdir)/_inst
|
|
chmod a-w $(distdir)
|
|
+ test -d $(distdir)/_build || exit 0; \
|
|
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
|
|
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
|
|
- && cd $(distdir)/_build \
|
|
+ && am__cwd=`pwd` \
|
|
+ && $(am__cd) $(distdir)/_build \
|
|
&& ../configure --srcdir=.. --prefix="$$dc_install_base" \
|
|
$(DISTCHECK_CONFIGURE_FLAGS) \
|
|
&& $(MAKE) $(AM_MAKEFLAGS) \
|
|
@@ -575,13 +673,15 @@ distcheck: dist
|
|
&& rm -rf "$$dc_destdir" \
|
|
&& $(MAKE) $(AM_MAKEFLAGS) dist \
|
|
&& rm -rf $(DIST_ARCHIVES) \
|
|
- && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
|
|
+ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
|
|
+ && cd "$$am__cwd" \
|
|
+ || exit 1
|
|
$(am__remove_distdir)
|
|
@(echo "$(distdir) archives ready for distribution: "; \
|
|
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
|
|
sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
|
|
distuninstallcheck:
|
|
- @cd $(distuninstallcheck_dir) \
|
|
+ @$(am__cd) '$(distuninstallcheck_dir)' \
|
|
&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
|
|
|| { echo "ERROR: files left after uninstall:" ; \
|
|
if test -n "$(DESTDIR)"; then \
|
|
@@ -628,6 +728,7 @@ clean-generic:
|
|
|
|
distclean-generic:
|
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
|
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
|
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
|
|
|
|
maintainer-clean-generic:
|
|
@@ -650,6 +751,8 @@ dvi-am:
|
|
|
|
html: html-recursive
|
|
|
|
+html-am:
|
|
+
|
|
info: info-recursive
|
|
|
|
info-am:
|
|
@@ -658,18 +761,28 @@ install-data-am: install-docDATA
|
|
|
|
install-dvi: install-dvi-recursive
|
|
|
|
+install-dvi-am:
|
|
+
|
|
install-exec-am:
|
|
|
|
install-html: install-html-recursive
|
|
|
|
+install-html-am:
|
|
+
|
|
install-info: install-info-recursive
|
|
|
|
+install-info-am:
|
|
+
|
|
install-man:
|
|
|
|
install-pdf: install-pdf-recursive
|
|
|
|
+install-pdf-am:
|
|
+
|
|
install-ps: install-ps-recursive
|
|
|
|
+install-ps-am:
|
|
+
|
|
installcheck-am:
|
|
|
|
maintainer-clean: maintainer-clean-recursive
|
|
@@ -692,24 +805,26 @@ ps-am:
|
|
|
|
uninstall-am: uninstall-docDATA
|
|
|
|
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
|
|
- install-strip
|
|
+.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
|
|
+ install-am install-strip tags-recursive
|
|
|
|
.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
|
|
all all-am am--refresh check check-am clean clean-generic \
|
|
clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
|
|
- dist-gzip dist-lzma dist-shar dist-tarZ dist-zip distcheck \
|
|
- distclean distclean-generic distclean-libtool distclean-tags \
|
|
- distcleancheck distdir distuninstallcheck dvi dvi-am html \
|
|
- html-am info info-am install install-am install-data \
|
|
- install-data-am install-docDATA install-dvi install-dvi-am \
|
|
- install-exec install-exec-am install-html install-html-am \
|
|
- install-info install-info-am install-man install-pdf \
|
|
- install-pdf-am install-ps install-ps-am install-strip \
|
|
- installcheck installcheck-am installdirs installdirs-am \
|
|
- maintainer-clean maintainer-clean-generic mostlyclean \
|
|
- mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
|
|
- tags tags-recursive uninstall uninstall-am uninstall-docDATA
|
|
+ dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
|
|
+ distcheck distclean distclean-generic distclean-libtool \
|
|
+ distclean-tags distcleancheck distdir distuninstallcheck dvi \
|
|
+ dvi-am html html-am info info-am install install-am \
|
|
+ install-data install-data-am install-docDATA install-dvi \
|
|
+ install-dvi-am install-exec install-exec-am install-html \
|
|
+ install-html-am install-info install-info-am install-man \
|
|
+ install-pdf install-pdf-am install-ps install-ps-am \
|
|
+ install-strip installcheck installcheck-am installdirs \
|
|
+ installdirs-am maintainer-clean maintainer-clean-generic \
|
|
+ mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
|
|
+ ps ps-am tags tags-recursive uninstall uninstall-am \
|
|
+ uninstall-docDATA
|
|
+
|
|
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
|
diff --git a/aclocal.m4 b/aclocal.m4
|
|
index 344a8b1..cf79383 100644
|
|
--- a/aclocal.m4
|
|
+++ b/aclocal.m4
|
|
@@ -1,7 +1,7 @@
|
|
-# generated automatically by aclocal 1.10.1 -*- Autoconf -*-
|
|
+# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
|
|
|
|
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
|
|
-# 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
|
+# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
|
|
# This file is free software; the Free Software Foundation
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
# with or without modifications, as long as this notice is preserved.
|
|
@@ -13,12 +13,92 @@
|
|
|
|
m4_ifndef([AC_AUTOCONF_VERSION],
|
|
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
|
|
-m4_if(AC_AUTOCONF_VERSION, [2.63],,
|
|
+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],,
|
|
[m4_warning([this file was generated for autoconf 2.63.
|
|
You have another version of autoconf. It may work, but is not guaranteed to.
|
|
If you have problems, you may need to regenerate the build system entirely.
|
|
To do so, use the procedure documented by the package, typically `autoreconf'.])])
|
|
|
|
+# Portability macros for glibc argz. -*- Autoconf -*-
|
|
+#
|
|
+# Copyright (C) 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
|
|
+# Written by Gary V. Vaughan <gary@gnu.org>
|
|
+#
|
|
+# This file is free software; the Free Software Foundation gives
|
|
+# unlimited permission to copy and/or distribute it, with or without
|
|
+# modifications, as long as this notice is preserved.
|
|
+
|
|
+# serial 5 argz.m4
|
|
+
|
|
+AC_DEFUN([gl_FUNC_ARGZ],
|
|
+[gl_PREREQ_ARGZ
|
|
+
|
|
+AC_CHECK_HEADERS([argz.h], [], [], [AC_INCLUDES_DEFAULT])
|
|
+
|
|
+AC_CHECK_TYPES([error_t],
|
|
+ [],
|
|
+ [AC_DEFINE([error_t], [int],
|
|
+ [Define to a type to use for `error_t' if it is not otherwise available.])
|
|
+ AC_DEFINE([__error_t_defined], [1], [Define so that glibc/gnulib argp.h
|
|
+ does not typedef error_t.])],
|
|
+ [#if defined(HAVE_ARGZ_H)
|
|
+# include <argz.h>
|
|
+#endif])
|
|
+
|
|
+ARGZ_H=
|
|
+AC_CHECK_FUNCS([argz_add argz_append argz_count argz_create_sep argz_insert \
|
|
+ argz_next argz_stringify], [], [ARGZ_H=argz.h; AC_LIBOBJ([argz])])
|
|
+
|
|
+dnl if have system argz functions, allow forced use of
|
|
+dnl libltdl-supplied implementation (and default to do so
|
|
+dnl on "known bad" systems). Could use a runtime check, but
|
|
+dnl (a) detecting malloc issues is notoriously unreliable
|
|
+dnl (b) only known system that declares argz functions,
|
|
+dnl provides them, yet they are broken, is cygwin
|
|
+dnl releases prior to 16-Mar-2007 (1.5.24 and earlier)
|
|
+dnl So, it's more straightforward simply to special case
|
|
+dnl this for known bad systems.
|
|
+AS_IF([test -z "$ARGZ_H"],
|
|
+ [AC_CACHE_CHECK(
|
|
+ [if argz actually works],
|
|
+ [lt_cv_sys_argz_works],
|
|
+ [[case $host_os in #(
|
|
+ *cygwin*)
|
|
+ lt_cv_sys_argz_works=no
|
|
+ if test "$cross_compiling" != no; then
|
|
+ lt_cv_sys_argz_works="guessing no"
|
|
+ else
|
|
+ lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
|
|
+ save_IFS=$IFS
|
|
+ IFS=-.
|
|
+ set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
|
|
+ IFS=$save_IFS
|
|
+ lt_os_major=${2-0}
|
|
+ lt_os_minor=${3-0}
|
|
+ lt_os_micro=${4-0}
|
|
+ if test "$lt_os_major" -gt 1 \
|
|
+ || { test "$lt_os_major" -eq 1 \
|
|
+ && { test "$lt_os_minor" -gt 5 \
|
|
+ || { test "$lt_os_minor" -eq 5 \
|
|
+ && test "$lt_os_micro" -gt 24; }; }; }; then
|
|
+ lt_cv_sys_argz_works=yes
|
|
+ fi
|
|
+ fi
|
|
+ ;; #(
|
|
+ *) lt_cv_sys_argz_works=yes ;;
|
|
+ esac]])
|
|
+ AS_IF([test $lt_cv_sys_argz_works = yes],
|
|
+ [AC_DEFINE([HAVE_WORKING_ARGZ], 1,
|
|
+ [This value is set to 1 to indicate that the system argz facility works])],
|
|
+ [ARGZ_H=argz.h
|
|
+ AC_LIBOBJ([argz])])])
|
|
+
|
|
+AC_SUBST([ARGZ_H])
|
|
+])
|
|
+
|
|
+# Prerequisites of lib/argz.c.
|
|
+AC_DEFUN([gl_PREREQ_ARGZ], [:])
|
|
+
|
|
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
|
|
#
|
|
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
|
|
@@ -2485,10 +2565,13 @@ linux* | k*bsd*-gnu)
|
|
# before this can be enabled.
|
|
hardcode_into_libs=yes
|
|
|
|
+ # Add ABI-specific directories to the system library path.
|
|
+ sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
|
|
+
|
|
# Append ld.so.conf contents to the search path
|
|
if test -f /etc/ld.so.conf; then
|
|
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
|
|
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
|
+ sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
|
|
fi
|
|
|
|
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
|
@@ -7361,6 +7444,811 @@ _LT_EOF
|
|
esac
|
|
])
|
|
|
|
+# ltdl.m4 - Configure ltdl for the target system. -*-Autoconf-*-
|
|
+#
|
|
+# Copyright (C) 1999-2006, 2007, 2008 Free Software Foundation, Inc.
|
|
+# Written by Thomas Tanner, 1999
|
|
+#
|
|
+# This file is free software; the Free Software Foundation gives
|
|
+# unlimited permission to copy and/or distribute it, with or without
|
|
+# modifications, as long as this notice is preserved.
|
|
+
|
|
+# serial 17 LTDL_INIT
|
|
+
|
|
+# LT_CONFIG_LTDL_DIR(DIRECTORY, [LTDL-MODE])
|
|
+# ------------------------------------------
|
|
+# DIRECTORY contains the libltdl sources. It is okay to call this
|
|
+# function multiple times, as long as the same DIRECTORY is always given.
|
|
+AC_DEFUN([LT_CONFIG_LTDL_DIR],
|
|
+[AC_BEFORE([$0], [LTDL_INIT])
|
|
+_$0($*)
|
|
+])# LT_CONFIG_LTDL_DIR
|
|
+
|
|
+# We break this out into a separate macro, so that we can call it safely
|
|
+# internally without being caught accidentally by the sed scan in libtoolize.
|
|
+m4_defun([_LT_CONFIG_LTDL_DIR],
|
|
+[dnl remove trailing slashes
|
|
+m4_pushdef([_ARG_DIR], m4_bpatsubst([$1], [/*$]))
|
|
+m4_case(_LTDL_DIR,
|
|
+ [], [dnl only set lt_ltdl_dir if _ARG_DIR is not simply `.'
|
|
+ m4_if(_ARG_DIR, [.],
|
|
+ [],
|
|
+ [m4_define([_LTDL_DIR], _ARG_DIR)
|
|
+ _LT_SHELL_INIT([lt_ltdl_dir=']_ARG_DIR['])])],
|
|
+ [m4_if(_ARG_DIR, _LTDL_DIR,
|
|
+ [],
|
|
+ [m4_fatal([multiple libltdl directories: `]_LTDL_DIR[', `]_ARG_DIR['])])])
|
|
+m4_popdef([_ARG_DIR])
|
|
+])# _LT_CONFIG_LTDL_DIR
|
|
+
|
|
+# Initialise:
|
|
+m4_define([_LTDL_DIR], [])
|
|
+
|
|
+
|
|
+# _LT_BUILD_PREFIX
|
|
+# ----------------
|
|
+# If Autoconf is new enough, expand to `${top_build_prefix}', otherwise
|
|
+# to `${top_builddir}/'.
|
|
+m4_define([_LT_BUILD_PREFIX],
|
|
+[m4_ifdef([AC_AUTOCONF_VERSION],
|
|
+ [m4_if(m4_version_compare(m4_defn([AC_AUTOCONF_VERSION]), [2.62]),
|
|
+ [-1], [m4_ifdef([_AC_HAVE_TOP_BUILD_PREFIX],
|
|
+ [${top_build_prefix}],
|
|
+ [${top_builddir}/])],
|
|
+ [${top_build_prefix}])],
|
|
+ [${top_builddir}/])[]dnl
|
|
+])
|
|
+
|
|
+
|
|
+# LTDL_CONVENIENCE
|
|
+# ----------------
|
|
+# sets LIBLTDL to the link flags for the libltdl convenience library and
|
|
+# LTDLINCL to the include flags for the libltdl header and adds
|
|
+# --enable-ltdl-convenience to the configure arguments. Note that
|
|
+# AC_CONFIG_SUBDIRS is not called here. LIBLTDL will be prefixed with
|
|
+# '${top_build_prefix}' if available, otherwise with '${top_builddir}/',
|
|
+# and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single
|
|
+# quotes!). If your package is not flat and you're not using automake,
|
|
+# define top_build_prefix, top_builddir, and top_srcdir appropriately
|
|
+# in your Makefiles.
|
|
+AC_DEFUN([LTDL_CONVENIENCE],
|
|
+[AC_BEFORE([$0], [LTDL_INIT])dnl
|
|
+dnl Although the argument is deprecated and no longer documented,
|
|
+dnl LTDL_CONVENIENCE used to take a DIRECTORY orgument, if we have one
|
|
+dnl here make sure it is the same as any other declaration of libltdl's
|
|
+dnl location! This also ensures lt_ltdl_dir is set when configure.ac is
|
|
+dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
|
|
+m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
|
|
+_$0()
|
|
+])# LTDL_CONVENIENCE
|
|
+
|
|
+# AC_LIBLTDL_CONVENIENCE accepted a directory argument in older libtools,
|
|
+# now we have LT_CONFIG_LTDL_DIR:
|
|
+AU_DEFUN([AC_LIBLTDL_CONVENIENCE],
|
|
+[_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
|
|
+_LTDL_CONVENIENCE])
|
|
+
|
|
+dnl aclocal-1.4 backwards compatibility:
|
|
+dnl AC_DEFUN([AC_LIBLTDL_CONVENIENCE], [])
|
|
+
|
|
+
|
|
+# _LTDL_CONVENIENCE
|
|
+# -----------------
|
|
+# Code shared by LTDL_CONVENIENCE and LTDL_INIT([convenience]).
|
|
+m4_defun([_LTDL_CONVENIENCE],
|
|
+[case $enable_ltdl_convenience in
|
|
+ no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
|
|
+ "") enable_ltdl_convenience=yes
|
|
+ ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
|
|
+esac
|
|
+LIBLTDL='_LT_BUILD_PREFIX'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
|
|
+LTDLDEPS=$LIBLTDL
|
|
+LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
|
|
+
|
|
+AC_SUBST([LIBLTDL])
|
|
+AC_SUBST([LTDLDEPS])
|
|
+AC_SUBST([LTDLINCL])
|
|
+
|
|
+# For backwards non-gettext consistent compatibility...
|
|
+INCLTDL="$LTDLINCL"
|
|
+AC_SUBST([INCLTDL])
|
|
+])# _LTDL_CONVENIENCE
|
|
+
|
|
+
|
|
+# LTDL_INSTALLABLE
|
|
+# ----------------
|
|
+# sets LIBLTDL to the link flags for the libltdl installable library
|
|
+# and LTDLINCL to the include flags for the libltdl header and adds
|
|
+# --enable-ltdl-install to the configure arguments. Note that
|
|
+# AC_CONFIG_SUBDIRS is not called from here. If an installed libltdl
|
|
+# is not found, LIBLTDL will be prefixed with '${top_build_prefix}' if
|
|
+# available, otherwise with '${top_builddir}/', and LTDLINCL will be
|
|
+# prefixed with '${top_srcdir}/' (note the single quotes!). If your
|
|
+# package is not flat and you're not using automake, define top_build_prefix,
|
|
+# top_builddir, and top_srcdir appropriately in your Makefiles.
|
|
+# In the future, this macro may have to be called after LT_INIT.
|
|
+AC_DEFUN([LTDL_INSTALLABLE],
|
|
+[AC_BEFORE([$0], [LTDL_INIT])dnl
|
|
+dnl Although the argument is deprecated and no longer documented,
|
|
+dnl LTDL_INSTALLABLE used to take a DIRECTORY orgument, if we have one
|
|
+dnl here make sure it is the same as any other declaration of libltdl's
|
|
+dnl location! This also ensures lt_ltdl_dir is set when configure.ac is
|
|
+dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
|
|
+m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
|
|
+_$0()
|
|
+])# LTDL_INSTALLABLE
|
|
+
|
|
+# AC_LIBLTDL_INSTALLABLE accepted a directory argument in older libtools,
|
|
+# now we have LT_CONFIG_LTDL_DIR:
|
|
+AU_DEFUN([AC_LIBLTDL_INSTALLABLE],
|
|
+[_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
|
|
+_LTDL_INSTALLABLE])
|
|
+
|
|
+dnl aclocal-1.4 backwards compatibility:
|
|
+dnl AC_DEFUN([AC_LIBLTDL_INSTALLABLE], [])
|
|
+
|
|
+
|
|
+# _LTDL_INSTALLABLE
|
|
+# -----------------
|
|
+# Code shared by LTDL_INSTALLABLE and LTDL_INIT([installable]).
|
|
+m4_defun([_LTDL_INSTALLABLE],
|
|
+[if test -f $prefix/lib/libltdl.la; then
|
|
+ lt_save_LDFLAGS="$LDFLAGS"
|
|
+ LDFLAGS="-L$prefix/lib $LDFLAGS"
|
|
+ AC_CHECK_LIB([ltdl], [lt_dlinit], [lt_lib_ltdl=yes])
|
|
+ LDFLAGS="$lt_save_LDFLAGS"
|
|
+ if test x"${lt_lib_ltdl-no}" = xyes; then
|
|
+ if test x"$enable_ltdl_install" != xyes; then
|
|
+ # Don't overwrite $prefix/lib/libltdl.la without --enable-ltdl-install
|
|
+ AC_MSG_WARN([not overwriting libltdl at $prefix, force with `--enable-ltdl-install'])
|
|
+ enable_ltdl_install=no
|
|
+ fi
|
|
+ elif test x"$enable_ltdl_install" = xno; then
|
|
+ AC_MSG_WARN([libltdl not installed, but installation disabled])
|
|
+ fi
|
|
+fi
|
|
+
|
|
+# If configure.ac declared an installable ltdl, and the user didn't override
|
|
+# with --disable-ltdl-install, we will install the shipped libltdl.
|
|
+case $enable_ltdl_install in
|
|
+ no) ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
|
|
+ LIBLTDL="-lltdl"
|
|
+ LTDLDEPS=
|
|
+ LTDLINCL=
|
|
+ ;;
|
|
+ *) enable_ltdl_install=yes
|
|
+ ac_configure_args="$ac_configure_args --enable-ltdl-install"
|
|
+ LIBLTDL='_LT_BUILD_PREFIX'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdl.la"
|
|
+ LTDLDEPS=$LIBLTDL
|
|
+ LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
|
|
+ ;;
|
|
+esac
|
|
+
|
|
+AC_SUBST([LIBLTDL])
|
|
+AC_SUBST([LTDLDEPS])
|
|
+AC_SUBST([LTDLINCL])
|
|
+
|
|
+# For backwards non-gettext consistent compatibility...
|
|
+INCLTDL="$LTDLINCL"
|
|
+AC_SUBST([INCLTDL])
|
|
+])# LTDL_INSTALLABLE
|
|
+
|
|
+
|
|
+# _LTDL_MODE_DISPATCH
|
|
+# -------------------
|
|
+m4_define([_LTDL_MODE_DISPATCH],
|
|
+[dnl If _LTDL_DIR is `.', then we are configuring libltdl itself:
|
|
+m4_if(_LTDL_DIR, [],
|
|
+ [],
|
|
+ dnl if _LTDL_MODE was not set already, the default value is `subproject':
|
|
+ [m4_case(m4_default(_LTDL_MODE, [subproject]),
|
|
+ [subproject], [AC_CONFIG_SUBDIRS(_LTDL_DIR)
|
|
+ _LT_SHELL_INIT([lt_dlopen_dir="$lt_ltdl_dir"])],
|
|
+ [nonrecursive], [_LT_SHELL_INIT([lt_dlopen_dir="$lt_ltdl_dir"; lt_libobj_prefix="$lt_ltdl_dir/"])],
|
|
+ [recursive], [],
|
|
+ [m4_fatal([unknown libltdl mode: ]_LTDL_MODE)])])dnl
|
|
+dnl Be careful not to expand twice:
|
|
+m4_define([$0], [])
|
|
+])# _LTDL_MODE_DISPATCH
|
|
+
|
|
+
|
|
+# _LT_LIBOBJ(MODULE_NAME)
|
|
+# -----------------------
|
|
+# Like AC_LIBOBJ, except that MODULE_NAME goes into _LT_LIBOBJS instead
|
|
+# of into LIBOBJS.
|
|
+AC_DEFUN([_LT_LIBOBJ], [
|
|
+ m4_pattern_allow([^_LT_LIBOBJS$])
|
|
+ _LT_LIBOBJS="$_LT_LIBOBJS $1.$ac_objext"
|
|
+])# _LT_LIBOBJS
|
|
+
|
|
+
|
|
+# LTDL_INIT([OPTIONS])
|
|
+# --------------------
|
|
+# Clients of libltdl can use this macro to allow the installer to
|
|
+# choose between a shipped copy of the ltdl sources or a preinstalled
|
|
+# version of the library. If the shipped ltdl sources are not in a
|
|
+# subdirectory named libltdl, the directory name must be given by
|
|
+# LT_CONFIG_LTDL_DIR.
|
|
+AC_DEFUN([LTDL_INIT],
|
|
+[dnl Parse OPTIONS
|
|
+_LT_SET_OPTIONS([$0], [$1])
|
|
+
|
|
+dnl We need to keep our own list of libobjs separate from our parent project,
|
|
+dnl and the easiest way to do that is redefine the AC_LIBOBJs macro while
|
|
+dnl we look for our own LIBOBJs.
|
|
+m4_pushdef([AC_LIBOBJ], m4_defn([_LT_LIBOBJ]))
|
|
+m4_pushdef([AC_LIBSOURCES])
|
|
+
|
|
+dnl If not otherwise defined, default to the 1.5.x compatible subproject mode:
|
|
+m4_if(_LTDL_MODE, [],
|
|
+ [m4_define([_LTDL_MODE], m4_default([$2], [subproject]))
|
|
+ m4_if([-1], [m4_bregexp(_LTDL_MODE, [\(subproject\|\(non\)?recursive\)])],
|
|
+ [m4_fatal([unknown libltdl mode: ]_LTDL_MODE)])])
|
|
+
|
|
+AC_ARG_WITH([included_ltdl],
|
|
+ [AS_HELP_STRING([--with-included-ltdl],
|
|
+ [use the GNU ltdl sources included here])])
|
|
+
|
|
+if test "x$with_included_ltdl" != xyes; then
|
|
+ # We are not being forced to use the included libltdl sources, so
|
|
+ # decide whether there is a useful installed version we can use.
|
|
+ AC_CHECK_HEADER([ltdl.h],
|
|
+ [AC_CHECK_DECL([lt_dlinterface_register],
|
|
+ [AC_CHECK_LIB([ltdl], [lt_dladvise_preload],
|
|
+ [with_included_ltdl=no],
|
|
+ [with_included_ltdl=yes])],
|
|
+ [with_included_ltdl=yes],
|
|
+ [AC_INCLUDES_DEFAULT
|
|
+ #include <ltdl.h>])],
|
|
+ [with_included_ltdl=yes],
|
|
+ [AC_INCLUDES_DEFAULT]
|
|
+ )
|
|
+fi
|
|
+
|
|
+dnl If neither LT_CONFIG_LTDL_DIR, LTDL_CONVENIENCE nor LTDL_INSTALLABLE
|
|
+dnl was called yet, then for old times' sake, we assume libltdl is in an
|
|
+dnl eponymous directory:
|
|
+AC_PROVIDE_IFELSE([LT_CONFIG_LTDL_DIR], [], [_LT_CONFIG_LTDL_DIR([libltdl])])
|
|
+
|
|
+AC_ARG_WITH([ltdl_include],
|
|
+ [AS_HELP_STRING([--with-ltdl-include=DIR],
|
|
+ [use the ltdl headers installed in DIR])])
|
|
+
|
|
+if test -n "$with_ltdl_include"; then
|
|
+ if test -f "$with_ltdl_include/ltdl.h"; then :
|
|
+ else
|
|
+ AC_MSG_ERROR([invalid ltdl include directory: `$with_ltdl_include'])
|
|
+ fi
|
|
+else
|
|
+ with_ltdl_include=no
|
|
+fi
|
|
+
|
|
+AC_ARG_WITH([ltdl_lib],
|
|
+ [AS_HELP_STRING([--with-ltdl-lib=DIR],
|
|
+ [use the libltdl.la installed in DIR])])
|
|
+
|
|
+if test -n "$with_ltdl_lib"; then
|
|
+ if test -f "$with_ltdl_lib/libltdl.la"; then :
|
|
+ else
|
|
+ AC_MSG_ERROR([invalid ltdl library directory: `$with_ltdl_lib'])
|
|
+ fi
|
|
+else
|
|
+ with_ltdl_lib=no
|
|
+fi
|
|
+
|
|
+case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
|
|
+ ,yes,no,no,)
|
|
+ m4_case(m4_default(_LTDL_TYPE, [convenience]),
|
|
+ [convenience], [_LTDL_CONVENIENCE],
|
|
+ [installable], [_LTDL_INSTALLABLE],
|
|
+ [m4_fatal([unknown libltdl build type: ]_LTDL_TYPE)])
|
|
+ ;;
|
|
+ ,no,no,no,)
|
|
+ # If the included ltdl is not to be used, then use the
|
|
+ # preinstalled libltdl we found.
|
|
+ AC_DEFINE([HAVE_LTDL], [1],
|
|
+ [Define this if a modern libltdl is already installed])
|
|
+ LIBLTDL=-lltdl
|
|
+ LTDLDEPS=
|
|
+ LTDLINCL=
|
|
+ ;;
|
|
+ ,no*,no,*)
|
|
+ AC_MSG_ERROR([`--with-ltdl-include' and `--with-ltdl-lib' options must be used together])
|
|
+ ;;
|
|
+ *) with_included_ltdl=no
|
|
+ LIBLTDL="-L$with_ltdl_lib -lltdl"
|
|
+ LTDLDEPS=
|
|
+ LTDLINCL="-I$with_ltdl_include"
|
|
+ ;;
|
|
+esac
|
|
+INCLTDL="$LTDLINCL"
|
|
+
|
|
+# Report our decision...
|
|
+AC_MSG_CHECKING([where to find libltdl headers])
|
|
+AC_MSG_RESULT([$LTDLINCL])
|
|
+AC_MSG_CHECKING([where to find libltdl library])
|
|
+AC_MSG_RESULT([$LIBLTDL])
|
|
+
|
|
+_LTDL_SETUP
|
|
+
|
|
+dnl restore autoconf definition.
|
|
+m4_popdef([AC_LIBOBJ])
|
|
+m4_popdef([AC_LIBSOURCES])
|
|
+
|
|
+AC_CONFIG_COMMANDS_PRE([
|
|
+ _ltdl_libobjs=
|
|
+ _ltdl_ltlibobjs=
|
|
+ if test -n "$_LT_LIBOBJS"; then
|
|
+ # Remove the extension.
|
|
+ _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
|
|
+ for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
|
|
+ _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
|
|
+ _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
|
|
+ done
|
|
+ fi
|
|
+ AC_SUBST([ltdl_LIBOBJS], [$_ltdl_libobjs])
|
|
+ AC_SUBST([ltdl_LTLIBOBJS], [$_ltdl_ltlibobjs])
|
|
+])
|
|
+
|
|
+# Only expand once:
|
|
+m4_define([LTDL_INIT])
|
|
+])# LTDL_INIT
|
|
+
|
|
+# Old names:
|
|
+AU_DEFUN([AC_LIB_LTDL], [LTDL_INIT($@)])
|
|
+AU_DEFUN([AC_WITH_LTDL], [LTDL_INIT($@)])
|
|
+AU_DEFUN([LT_WITH_LTDL], [LTDL_INIT($@)])
|
|
+dnl aclocal-1.4 backwards compatibility:
|
|
+dnl AC_DEFUN([AC_LIB_LTDL], [])
|
|
+dnl AC_DEFUN([AC_WITH_LTDL], [])
|
|
+dnl AC_DEFUN([LT_WITH_LTDL], [])
|
|
+
|
|
+
|
|
+# _LTDL_SETUP
|
|
+# -----------
|
|
+# Perform all the checks necessary for compilation of the ltdl objects
|
|
+# -- including compiler checks and header checks. This is a public
|
|
+# interface mainly for the benefit of libltdl's own configure.ac, most
|
|
+# other users should call LTDL_INIT instead.
|
|
+AC_DEFUN([_LTDL_SETUP],
|
|
+[AC_REQUIRE([AC_PROG_CC])dnl
|
|
+AC_REQUIRE([LT_SYS_MODULE_EXT])dnl
|
|
+AC_REQUIRE([LT_SYS_MODULE_PATH])dnl
|
|
+AC_REQUIRE([LT_SYS_DLSEARCH_PATH])dnl
|
|
+AC_REQUIRE([LT_LIB_DLLOAD])dnl
|
|
+AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl
|
|
+AC_REQUIRE([LT_FUNC_DLSYM_USCORE])dnl
|
|
+AC_REQUIRE([LT_SYS_DLOPEN_DEPLIBS])dnl
|
|
+AC_REQUIRE([gl_FUNC_ARGZ])dnl
|
|
+
|
|
+m4_require([_LT_CHECK_OBJDIR])dnl
|
|
+m4_require([_LT_HEADER_DLFCN])dnl
|
|
+m4_require([_LT_CHECK_DLPREOPEN])dnl
|
|
+m4_require([_LT_DECL_SED])dnl
|
|
+
|
|
+dnl Don't require this, or it will be expanded earlier than the code
|
|
+dnl that sets the variables it relies on:
|
|
+_LT_ENABLE_INSTALL
|
|
+
|
|
+dnl _LTDL_MODE specific code must be called at least once:
|
|
+_LTDL_MODE_DISPATCH
|
|
+
|
|
+# In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
|
|
+# the user used. This is so that ltdl.h can pick up the parent projects
|
|
+# config.h file, The first file in AC_CONFIG_HEADERS must contain the
|
|
+# definitions required by ltdl.c.
|
|
+# FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
|
|
+AC_CONFIG_COMMANDS_PRE([dnl
|
|
+m4_pattern_allow([^LT_CONFIG_H$])dnl
|
|
+m4_ifset([AH_HEADER],
|
|
+ [LT_CONFIG_H=AH_HEADER],
|
|
+ [m4_ifset([AC_LIST_HEADERS],
|
|
+ [LT_CONFIG_H=`echo "AC_LIST_HEADERS" | $SED 's,^[[ ]]*,,;s,[[ :]].*$,,'`],
|
|
+ [])])])
|
|
+AC_SUBST([LT_CONFIG_H])
|
|
+
|
|
+AC_CHECK_HEADERS([unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h],
|
|
+ [], [], [AC_INCLUDES_DEFAULT])
|
|
+
|
|
+AC_CHECK_FUNCS([closedir opendir readdir], [], [AC_LIBOBJ([lt__dirent])])
|
|
+AC_CHECK_FUNCS([strlcat strlcpy], [], [AC_LIBOBJ([lt__strl])])
|
|
+
|
|
+AC_DEFINE_UNQUOTED([LT_LIBEXT],["$libext"],[The archive extension])
|
|
+
|
|
+name=ltdl
|
|
+LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
|
|
+AC_SUBST([LTDLOPEN])
|
|
+])# _LTDL_SETUP
|
|
+
|
|
+
|
|
+# _LT_ENABLE_INSTALL
|
|
+# ------------------
|
|
+m4_define([_LT_ENABLE_INSTALL],
|
|
+[AC_ARG_ENABLE([ltdl-install],
|
|
+ [AS_HELP_STRING([--enable-ltdl-install], [install libltdl])])
|
|
+
|
|
+case ,${enable_ltdl_install},${enable_ltdl_convenience} in
|
|
+ *yes*) ;;
|
|
+ *) enable_ltdl_convenience=yes ;;
|
|
+esac
|
|
+
|
|
+m4_ifdef([AM_CONDITIONAL],
|
|
+[AM_CONDITIONAL(INSTALL_LTDL, test x"${enable_ltdl_install-no}" != xno)
|
|
+ AM_CONDITIONAL(CONVENIENCE_LTDL, test x"${enable_ltdl_convenience-no}" != xno)])
|
|
+])# _LT_ENABLE_INSTALL
|
|
+
|
|
+
|
|
+# LT_SYS_DLOPEN_DEPLIBS
|
|
+# ---------------------
|
|
+AC_DEFUN([LT_SYS_DLOPEN_DEPLIBS],
|
|
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
|
|
+AC_CACHE_CHECK([whether deplibs are loaded by dlopen],
|
|
+ [lt_cv_sys_dlopen_deplibs],
|
|
+ [# PORTME does your system automatically load deplibs for dlopen?
|
|
+ # or its logical equivalent (e.g. shl_load for HP-UX < 11)
|
|
+ # For now, we just catch OSes we know something about -- in the
|
|
+ # future, we'll try test this programmatically.
|
|
+ lt_cv_sys_dlopen_deplibs=unknown
|
|
+ case $host_os in
|
|
+ aix3*|aix4.1.*|aix4.2.*)
|
|
+ # Unknown whether this is true for these versions of AIX, but
|
|
+ # we want this `case' here to explicitly catch those versions.
|
|
+ lt_cv_sys_dlopen_deplibs=unknown
|
|
+ ;;
|
|
+ aix[[4-9]]*)
|
|
+ lt_cv_sys_dlopen_deplibs=yes
|
|
+ ;;
|
|
+ amigaos*)
|
|
+ case $host_cpu in
|
|
+ powerpc)
|
|
+ lt_cv_sys_dlopen_deplibs=no
|
|
+ ;;
|
|
+ esac
|
|
+ ;;
|
|
+ darwin*)
|
|
+ # Assuming the user has installed a libdl from somewhere, this is true
|
|
+ # If you are looking for one http://www.opendarwin.org/projects/dlcompat
|
|
+ lt_cv_sys_dlopen_deplibs=yes
|
|
+ ;;
|
|
+ freebsd* | dragonfly*)
|
|
+ lt_cv_sys_dlopen_deplibs=yes
|
|
+ ;;
|
|
+ gnu* | linux* | k*bsd*-gnu)
|
|
+ # GNU and its variants, using gnu ld.so (Glibc)
|
|
+ lt_cv_sys_dlopen_deplibs=yes
|
|
+ ;;
|
|
+ hpux10*|hpux11*)
|
|
+ lt_cv_sys_dlopen_deplibs=yes
|
|
+ ;;
|
|
+ interix*)
|
|
+ lt_cv_sys_dlopen_deplibs=yes
|
|
+ ;;
|
|
+ irix[[12345]]*|irix6.[[01]]*)
|
|
+ # Catch all versions of IRIX before 6.2, and indicate that we don't
|
|
+ # know how it worked for any of those versions.
|
|
+ lt_cv_sys_dlopen_deplibs=unknown
|
|
+ ;;
|
|
+ irix*)
|
|
+ # The case above catches anything before 6.2, and it's known that
|
|
+ # at 6.2 and later dlopen does load deplibs.
|
|
+ lt_cv_sys_dlopen_deplibs=yes
|
|
+ ;;
|
|
+ netbsd*)
|
|
+ lt_cv_sys_dlopen_deplibs=yes
|
|
+ ;;
|
|
+ openbsd*)
|
|
+ lt_cv_sys_dlopen_deplibs=yes
|
|
+ ;;
|
|
+ osf[[1234]]*)
|
|
+ # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
|
|
+ # it did *not* use an RPATH in a shared library to find objects the
|
|
+ # library depends on, so we explicitly say `no'.
|
|
+ lt_cv_sys_dlopen_deplibs=no
|
|
+ ;;
|
|
+ osf5.0|osf5.0a|osf5.1)
|
|
+ # dlopen *does* load deplibs and with the right loader patch applied
|
|
+ # it even uses RPATH in a shared library to search for shared objects
|
|
+ # that the library depends on, but there's no easy way to know if that
|
|
+ # patch is installed. Since this is the case, all we can really
|
|
+ # say is unknown -- it depends on the patch being installed. If
|
|
+ # it is, this changes to `yes'. Without it, it would be `no'.
|
|
+ lt_cv_sys_dlopen_deplibs=unknown
|
|
+ ;;
|
|
+ osf*)
|
|
+ # the two cases above should catch all versions of osf <= 5.1. Read
|
|
+ # the comments above for what we know about them.
|
|
+ # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
|
|
+ # is used to find them so we can finally say `yes'.
|
|
+ lt_cv_sys_dlopen_deplibs=yes
|
|
+ ;;
|
|
+ qnx*)
|
|
+ lt_cv_sys_dlopen_deplibs=yes
|
|
+ ;;
|
|
+ solaris*)
|
|
+ lt_cv_sys_dlopen_deplibs=yes
|
|
+ ;;
|
|
+ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
|
|
+ libltdl_cv_sys_dlopen_deplibs=yes
|
|
+ ;;
|
|
+ esac
|
|
+ ])
|
|
+if test "$lt_cv_sys_dlopen_deplibs" != yes; then
|
|
+ AC_DEFINE([LTDL_DLOPEN_DEPLIBS], [1],
|
|
+ [Define if the OS needs help to load dependent libraries for dlopen().])
|
|
+fi
|
|
+])# LT_SYS_DLOPEN_DEPLIBS
|
|
+
|
|
+# Old name:
|
|
+AU_ALIAS([AC_LTDL_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS])
|
|
+dnl aclocal-1.4 backwards compatibility:
|
|
+dnl AC_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], [])
|
|
+
|
|
+
|
|
+# LT_SYS_MODULE_EXT
|
|
+# -----------------
|
|
+AC_DEFUN([LT_SYS_MODULE_EXT],
|
|
+[m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
|
|
+AC_CACHE_CHECK([which extension is used for runtime loadable modules],
|
|
+ [libltdl_cv_shlibext],
|
|
+[
|
|
+module=yes
|
|
+eval libltdl_cv_shlibext=$shrext_cmds
|
|
+ ])
|
|
+if test -n "$libltdl_cv_shlibext"; then
|
|
+ m4_pattern_allow([LT_MODULE_EXT])dnl
|
|
+ AC_DEFINE_UNQUOTED([LT_MODULE_EXT], ["$libltdl_cv_shlibext"],
|
|
+ [Define to the extension used for runtime loadable modules, say, ".so".])
|
|
+fi
|
|
+])# LT_SYS_MODULE_EXT
|
|
+
|
|
+# Old name:
|
|
+AU_ALIAS([AC_LTDL_SHLIBEXT], [LT_SYS_MODULE_EXT])
|
|
+dnl aclocal-1.4 backwards compatibility:
|
|
+dnl AC_DEFUN([AC_LTDL_SHLIBEXT], [])
|
|
+
|
|
+
|
|
+# LT_SYS_MODULE_PATH
|
|
+# ------------------
|
|
+AC_DEFUN([LT_SYS_MODULE_PATH],
|
|
+[m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
|
|
+AC_CACHE_CHECK([which variable specifies run-time module search path],
|
|
+ [lt_cv_module_path_var], [lt_cv_module_path_var="$shlibpath_var"])
|
|
+if test -n "$lt_cv_module_path_var"; then
|
|
+ m4_pattern_allow([LT_MODULE_PATH_VAR])dnl
|
|
+ AC_DEFINE_UNQUOTED([LT_MODULE_PATH_VAR], ["$lt_cv_module_path_var"],
|
|
+ [Define to the name of the environment variable that determines the run-time module search path.])
|
|
+fi
|
|
+])# LT_SYS_MODULE_PATH
|
|
+
|
|
+# Old name:
|
|
+AU_ALIAS([AC_LTDL_SHLIBPATH], [LT_SYS_MODULE_PATH])
|
|
+dnl aclocal-1.4 backwards compatibility:
|
|
+dnl AC_DEFUN([AC_LTDL_SHLIBPATH], [])
|
|
+
|
|
+
|
|
+# LT_SYS_DLSEARCH_PATH
|
|
+# --------------------
|
|
+AC_DEFUN([LT_SYS_DLSEARCH_PATH],
|
|
+[m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
|
|
+AC_CACHE_CHECK([for the default library search path],
|
|
+ [lt_cv_sys_dlsearch_path],
|
|
+ [lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"])
|
|
+if test -n "$lt_cv_sys_dlsearch_path"; then
|
|
+ sys_dlsearch_path=
|
|
+ for dir in $lt_cv_sys_dlsearch_path; do
|
|
+ if test -z "$sys_dlsearch_path"; then
|
|
+ sys_dlsearch_path="$dir"
|
|
+ else
|
|
+ sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
|
|
+ fi
|
|
+ done
|
|
+ m4_pattern_allow([LT_DLSEARCH_PATH])dnl
|
|
+ AC_DEFINE_UNQUOTED([LT_DLSEARCH_PATH], ["$sys_dlsearch_path"],
|
|
+ [Define to the system default library search path.])
|
|
+fi
|
|
+])# LT_SYS_DLSEARCH_PATH
|
|
+
|
|
+# Old name:
|
|
+AU_ALIAS([AC_LTDL_SYSSEARCHPATH], [LT_SYS_DLSEARCH_PATH])
|
|
+dnl aclocal-1.4 backwards compatibility:
|
|
+dnl AC_DEFUN([AC_LTDL_SYSSEARCHPATH], [])
|
|
+
|
|
+
|
|
+# _LT_CHECK_DLPREOPEN
|
|
+# -------------------
|
|
+m4_defun([_LT_CHECK_DLPREOPEN],
|
|
+[m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
|
|
+AC_CACHE_CHECK([whether libtool supports -dlopen/-dlpreopen],
|
|
+ [libltdl_cv_preloaded_symbols],
|
|
+ [if test -n "$lt_cv_sys_global_symbol_pipe"; then
|
|
+ libltdl_cv_preloaded_symbols=yes
|
|
+ else
|
|
+ libltdl_cv_preloaded_symbols=no
|
|
+ fi
|
|
+ ])
|
|
+if test x"$libltdl_cv_preloaded_symbols" = xyes; then
|
|
+ AC_DEFINE([HAVE_PRELOADED_SYMBOLS], [1],
|
|
+ [Define if libtool can extract symbol lists from object files.])
|
|
+fi
|
|
+])# _LT_CHECK_DLPREOPEN
|
|
+
|
|
+
|
|
+# LT_LIB_DLLOAD
|
|
+# -------------
|
|
+AC_DEFUN([LT_LIB_DLLOAD],
|
|
+[m4_pattern_allow([^LT_DLLOADERS$])
|
|
+LT_DLLOADERS=
|
|
+AC_SUBST([LT_DLLOADERS])
|
|
+
|
|
+AC_LANG_PUSH([C])
|
|
+
|
|
+LIBADD_DLOPEN=
|
|
+AC_SEARCH_LIBS([dlopen], [dl],
|
|
+ [AC_DEFINE([HAVE_LIBDL], [1],
|
|
+ [Define if you have the libdl library or equivalent.])
|
|
+ if test "$ac_cv_search_dlopen" != "none required" ; then
|
|
+ LIBADD_DLOPEN="-ldl"
|
|
+ fi
|
|
+ libltdl_cv_lib_dl_dlopen="yes"
|
|
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
|
|
+ [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#if HAVE_DLFCN_H
|
|
+# include <dlfcn.h>
|
|
+#endif
|
|
+ ]], [[dlopen(0, 0);]])],
|
|
+ [AC_DEFINE([HAVE_LIBDL], [1],
|
|
+ [Define if you have the libdl library or equivalent.])
|
|
+ libltdl_cv_func_dlopen="yes"
|
|
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
|
|
+ [AC_CHECK_LIB([svld], [dlopen],
|
|
+ [AC_DEFINE([HAVE_LIBDL], [1],
|
|
+ [Define if you have the libdl library or equivalent.])
|
|
+ LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
|
|
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"])])])
|
|
+if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
|
|
+then
|
|
+ lt_save_LIBS="$LIBS"
|
|
+ LIBS="$LIBS $LIBADD_DLOPEN"
|
|
+ AC_CHECK_FUNCS([dlerror])
|
|
+ LIBS="$lt_save_LIBS"
|
|
+fi
|
|
+AC_SUBST([LIBADD_DLOPEN])
|
|
+
|
|
+LIBADD_SHL_LOAD=
|
|
+AC_CHECK_FUNC([shl_load],
|
|
+ [AC_DEFINE([HAVE_SHL_LOAD], [1],
|
|
+ [Define if you have the shl_load function.])
|
|
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"],
|
|
+ [AC_CHECK_LIB([dld], [shl_load],
|
|
+ [AC_DEFINE([HAVE_SHL_LOAD], [1],
|
|
+ [Define if you have the shl_load function.])
|
|
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
|
|
+ LIBADD_SHL_LOAD="-ldld"])])
|
|
+AC_SUBST([LIBADD_SHL_LOAD])
|
|
+
|
|
+case $host_os in
|
|
+darwin[[1567]].*)
|
|
+# We only want this for pre-Mac OS X 10.4.
|
|
+ AC_CHECK_FUNC([_dyld_func_lookup],
|
|
+ [AC_DEFINE([HAVE_DYLD], [1],
|
|
+ [Define if you have the _dyld_func_lookup function.])
|
|
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"])
|
|
+ ;;
|
|
+beos*)
|
|
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
|
|
+ ;;
|
|
+cygwin* | mingw* | os2* | pw32*)
|
|
+ AC_CHECK_DECLS([cygwin_conv_path], [], [], [[#include <sys/cygwin.h>]])
|
|
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
|
|
+ ;;
|
|
+esac
|
|
+
|
|
+AC_CHECK_LIB([dld], [dld_link],
|
|
+ [AC_DEFINE([HAVE_DLD], [1],
|
|
+ [Define if you have the GNU dld library.])
|
|
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"])
|
|
+AC_SUBST([LIBADD_DLD_LINK])
|
|
+
|
|
+m4_pattern_allow([^LT_DLPREOPEN$])
|
|
+LT_DLPREOPEN=
|
|
+if test -n "$LT_DLLOADERS"
|
|
+then
|
|
+ for lt_loader in $LT_DLLOADERS; do
|
|
+ LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
|
|
+ done
|
|
+ AC_DEFINE([HAVE_LIBDLLOADER], [1],
|
|
+ [Define if libdlloader will be built on this platform])
|
|
+fi
|
|
+AC_SUBST([LT_DLPREOPEN])
|
|
+
|
|
+dnl This isn't used anymore, but set it for backwards compatibility
|
|
+LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
|
|
+AC_SUBST([LIBADD_DL])
|
|
+
|
|
+AC_LANG_POP
|
|
+])# LT_LIB_DLLOAD
|
|
+
|
|
+# Old name:
|
|
+AU_ALIAS([AC_LTDL_DLLIB], [LT_LIB_DLLOAD])
|
|
+dnl aclocal-1.4 backwards compatibility:
|
|
+dnl AC_DEFUN([AC_LTDL_DLLIB], [])
|
|
+
|
|
+
|
|
+# LT_SYS_SYMBOL_USCORE
|
|
+# --------------------
|
|
+# does the compiler prefix global symbols with an underscore?
|
|
+AC_DEFUN([LT_SYS_SYMBOL_USCORE],
|
|
+[m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
|
|
+AC_CACHE_CHECK([for _ prefix in compiled symbols],
|
|
+ [lt_cv_sys_symbol_underscore],
|
|
+ [lt_cv_sys_symbol_underscore=no
|
|
+ cat > conftest.$ac_ext <<_LT_EOF
|
|
+void nm_test_func(){}
|
|
+int main(){nm_test_func;return 0;}
|
|
+_LT_EOF
|
|
+ if AC_TRY_EVAL(ac_compile); then
|
|
+ # Now try to grab the symbols.
|
|
+ ac_nlist=conftest.nm
|
|
+ if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) && test -s "$ac_nlist"; then
|
|
+ # See whether the symbols have a leading underscore.
|
|
+ if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
|
|
+ lt_cv_sys_symbol_underscore=yes
|
|
+ else
|
|
+ if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
|
|
+ :
|
|
+ else
|
|
+ echo "configure: cannot find nm_test_func in $ac_nlist" >&AS_MESSAGE_LOG_FD
|
|
+ fi
|
|
+ fi
|
|
+ else
|
|
+ echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
|
|
+ fi
|
|
+ else
|
|
+ echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD
|
|
+ cat conftest.c >&AS_MESSAGE_LOG_FD
|
|
+ fi
|
|
+ rm -rf conftest*
|
|
+ ])
|
|
+ sys_symbol_underscore=$lt_cv_sys_symbol_underscore
|
|
+ AC_SUBST([sys_symbol_underscore])
|
|
+])# LT_SYS_SYMBOL_USCORE
|
|
+
|
|
+# Old name:
|
|
+AU_ALIAS([AC_LTDL_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE])
|
|
+dnl aclocal-1.4 backwards compatibility:
|
|
+dnl AC_DEFUN([AC_LTDL_SYMBOL_USCORE], [])
|
|
+
|
|
+
|
|
+# LT_FUNC_DLSYM_USCORE
|
|
+# --------------------
|
|
+AC_DEFUN([LT_FUNC_DLSYM_USCORE],
|
|
+[AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl
|
|
+if test x"$lt_cv_sys_symbol_underscore" = xyes; then
|
|
+ if test x"$libltdl_cv_func_dlopen" = xyes ||
|
|
+ test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
|
|
+ AC_CACHE_CHECK([whether we have to add an underscore for dlsym],
|
|
+ [libltdl_cv_need_uscore],
|
|
+ [libltdl_cv_need_uscore=unknown
|
|
+ save_LIBS="$LIBS"
|
|
+ LIBS="$LIBS $LIBADD_DLOPEN"
|
|
+ _LT_TRY_DLOPEN_SELF(
|
|
+ [libltdl_cv_need_uscore=no], [libltdl_cv_need_uscore=yes],
|
|
+ [], [libltdl_cv_need_uscore=cross])
|
|
+ LIBS="$save_LIBS"
|
|
+ ])
|
|
+ fi
|
|
+fi
|
|
+
|
|
+if test x"$libltdl_cv_need_uscore" = xyes; then
|
|
+ AC_DEFINE([NEED_USCORE], [1],
|
|
+ [Define if dlsym() requires a leading underscore in symbol names.])
|
|
+fi
|
|
+])# LT_FUNC_DLSYM_USCORE
|
|
+
|
|
+# Old name:
|
|
+AU_ALIAS([AC_LTDL_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE])
|
|
+dnl aclocal-1.4 backwards compatibility:
|
|
+dnl AC_DEFUN([AC_LTDL_DLSYM_USCORE], [])
|
|
+
|
|
# Helper functions for option handling. -*- Autoconf -*-
|
|
#
|
|
# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
|
|
@@ -7859,15 +8747,15 @@ m4_define([lt_dict_filter],
|
|
|
|
# Generated from ltversion.in.
|
|
|
|
-# serial 3012 ltversion.m4
|
|
+# serial 3017 ltversion.m4
|
|
# This file is part of GNU Libtool
|
|
|
|
-m4_define([LT_PACKAGE_VERSION], [2.2.6])
|
|
-m4_define([LT_PACKAGE_REVISION], [1.3012])
|
|
+m4_define([LT_PACKAGE_VERSION], [2.2.6b])
|
|
+m4_define([LT_PACKAGE_REVISION], [1.3017])
|
|
|
|
AC_DEFUN([LTVERSION_VERSION],
|
|
-[macro_version='2.2.6'
|
|
-macro_revision='1.3012'
|
|
+[macro_version='2.2.6b'
|
|
+macro_revision='1.3017'
|
|
_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
|
|
_LT_DECL(, macro_revision, 0)
|
|
])
|
|
@@ -7965,7 +8853,7 @@ m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
|
|
m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])])
|
|
m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
|
|
|
|
-# Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc.
|
|
+# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
|
#
|
|
# This file is free software; the Free Software Foundation
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
@@ -7977,10 +8865,10 @@ m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
|
|
# generated from the m4 files accompanying Automake X.Y.
|
|
# (This private macro should not be called outside this file.)
|
|
AC_DEFUN([AM_AUTOMAKE_VERSION],
|
|
-[am__api_version='1.10'
|
|
+[am__api_version='1.11'
|
|
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
|
|
dnl require some minimum version. Point them to the right macro.
|
|
-m4_if([$1], [1.10.1], [],
|
|
+m4_if([$1], [1.11.1], [],
|
|
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
|
|
])
|
|
|
|
@@ -7994,12 +8882,12 @@ m4_define([_AM_AUTOCONF_VERSION], [])
|
|
# AM_SET_CURRENT_AUTOMAKE_VERSION
|
|
# -------------------------------
|
|
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
|
|
-# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
|
|
+# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
|
|
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
|
|
-[AM_AUTOMAKE_VERSION([1.10.1])dnl
|
|
+[AM_AUTOMAKE_VERSION([1.11.1])dnl
|
|
m4_ifndef([AC_AUTOCONF_VERSION],
|
|
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
|
|
-_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])
|
|
+_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
|
|
|
|
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
|
|
|
|
@@ -8056,14 +8944,14 @@ am_aux_dir=`cd $ac_aux_dir && pwd`
|
|
|
|
# AM_CONDITIONAL -*- Autoconf -*-
|
|
|
|
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
|
|
+# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
|
|
# Free Software Foundation, Inc.
|
|
#
|
|
# This file is free software; the Free Software Foundation
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
# with or without modifications, as long as this notice is preserved.
|
|
|
|
-# serial 8
|
|
+# serial 9
|
|
|
|
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
|
|
# -------------------------------------
|
|
@@ -8076,6 +8964,7 @@ AC_SUBST([$1_TRUE])dnl
|
|
AC_SUBST([$1_FALSE])dnl
|
|
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
|
|
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
|
|
+m4_define([_AM_COND_VALUE_$1], [$2])dnl
|
|
if $2; then
|
|
$1_TRUE=
|
|
$1_FALSE='#'
|
|
@@ -8089,14 +8978,14 @@ AC_CONFIG_COMMANDS_PRE(
|
|
Usually this means the macro was only invoked conditionally.]])
|
|
fi])])
|
|
|
|
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
|
|
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
|
|
# Free Software Foundation, Inc.
|
|
#
|
|
# This file is free software; the Free Software Foundation
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
# with or without modifications, as long as this notice is preserved.
|
|
|
|
-# serial 9
|
|
+# serial 10
|
|
|
|
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
|
|
# written in clear, in which case automake, when reading aclocal.m4,
|
|
@@ -8153,6 +9042,16 @@ AC_CACHE_CHECK([dependency style of $depcc],
|
|
if test "$am_compiler_list" = ""; then
|
|
am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
|
|
fi
|
|
+ am__universal=false
|
|
+ m4_case([$1], [CC],
|
|
+ [case " $depcc " in #(
|
|
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
|
|
+ esac],
|
|
+ [CXX],
|
|
+ [case " $depcc " in #(
|
|
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
|
|
+ esac])
|
|
+
|
|
for depmode in $am_compiler_list; do
|
|
# Setup a source with many dependencies, because some compilers
|
|
# like to wrap large dependency lists on column 80 (with \), and
|
|
@@ -8170,7 +9069,17 @@ AC_CACHE_CHECK([dependency style of $depcc],
|
|
done
|
|
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
|
|
|
|
+ # We check with `-c' and `-o' for the sake of the "dashmstdout"
|
|
+ # mode. It turns out that the SunPro C++ compiler does not properly
|
|
+ # handle `-M -o', and we need to detect this. Also, some Intel
|
|
+ # versions had trouble with output in subdirs
|
|
+ am__obj=sub/conftest.${OBJEXT-o}
|
|
+ am__minus_obj="-o $am__obj"
|
|
case $depmode in
|
|
+ gcc)
|
|
+ # This depmode causes a compiler race in universal mode.
|
|
+ test "$am__universal" = false || continue
|
|
+ ;;
|
|
nosideeffect)
|
|
# after this tag, mechanisms are not by side-effect, so they'll
|
|
# only be used when explicitly requested
|
|
@@ -8180,19 +9089,23 @@ AC_CACHE_CHECK([dependency style of $depcc],
|
|
break
|
|
fi
|
|
;;
|
|
+ msvisualcpp | msvcmsys)
|
|
+ # This compiler won't grok `-c -o', but also, the minuso test has
|
|
+ # not run yet. These depmodes are late enough in the game, and
|
|
+ # so weak that their functioning should not be impacted.
|
|
+ am__obj=conftest.${OBJEXT-o}
|
|
+ am__minus_obj=
|
|
+ ;;
|
|
none) break ;;
|
|
esac
|
|
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
|
|
- # mode. It turns out that the SunPro C++ compiler does not properly
|
|
- # handle `-M -o', and we need to detect this.
|
|
if depmode=$depmode \
|
|
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
|
|
+ source=sub/conftest.c object=$am__obj \
|
|
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
|
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
|
|
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
|
|
>/dev/null 2>conftest.err &&
|
|
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
|
|
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
|
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
|
|
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
|
|
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
|
# icc doesn't choke on unknown options, it will just issue warnings
|
|
# or remarks (even with -Werror). So we grep stderr for any message
|
|
@@ -8249,57 +9162,68 @@ _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
|
|
|
|
# Generate code to set up dependency tracking. -*- Autoconf -*-
|
|
|
|
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
|
|
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
|
|
# Free Software Foundation, Inc.
|
|
#
|
|
# This file is free software; the Free Software Foundation
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
# with or without modifications, as long as this notice is preserved.
|
|
|
|
-#serial 3
|
|
+#serial 5
|
|
|
|
# _AM_OUTPUT_DEPENDENCY_COMMANDS
|
|
# ------------------------------
|
|
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
|
|
-[for mf in $CONFIG_FILES; do
|
|
- # Strip MF so we end up with the name of the file.
|
|
- mf=`echo "$mf" | sed -e 's/:.*$//'`
|
|
- # Check whether this is an Automake generated Makefile or not.
|
|
- # We used to match only the files named `Makefile.in', but
|
|
- # some people rename them; so instead we look at the file content.
|
|
- # Grep'ing the first line is not enough: some people post-process
|
|
- # each Makefile.in and add a new line on top of each file to say so.
|
|
- # Grep'ing the whole file is not good either: AIX grep has a line
|
|
- # limit of 2048, but all sed's we know have understand at least 4000.
|
|
- if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
|
|
- dirpart=`AS_DIRNAME("$mf")`
|
|
- else
|
|
- continue
|
|
- fi
|
|
- # Extract the definition of DEPDIR, am__include, and am__quote
|
|
- # from the Makefile without running `make'.
|
|
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
|
|
- test -z "$DEPDIR" && continue
|
|
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
|
|
- test -z "am__include" && continue
|
|
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
|
|
- # When using ansi2knr, U may be empty or an underscore; expand it
|
|
- U=`sed -n 's/^U = //p' < "$mf"`
|
|
- # Find all dependency output files, they are included files with
|
|
- # $(DEPDIR) in their names. We invoke sed twice because it is the
|
|
- # simplest approach to changing $(DEPDIR) to its actual value in the
|
|
- # expansion.
|
|
- for file in `sed -n "
|
|
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
|
|
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
|
- # Make sure the directory exists.
|
|
- test -f "$dirpart/$file" && continue
|
|
- fdir=`AS_DIRNAME(["$file"])`
|
|
- AS_MKDIR_P([$dirpart/$fdir])
|
|
- # echo "creating $dirpart/$file"
|
|
- echo '# dummy' > "$dirpart/$file"
|
|
+[{
|
|
+ # Autoconf 2.62 quotes --file arguments for eval, but not when files
|
|
+ # are listed without --file. Let's play safe and only enable the eval
|
|
+ # if we detect the quoting.
|
|
+ case $CONFIG_FILES in
|
|
+ *\'*) eval set x "$CONFIG_FILES" ;;
|
|
+ *) set x $CONFIG_FILES ;;
|
|
+ esac
|
|
+ shift
|
|
+ for mf
|
|
+ do
|
|
+ # Strip MF so we end up with the name of the file.
|
|
+ mf=`echo "$mf" | sed -e 's/:.*$//'`
|
|
+ # Check whether this is an Automake generated Makefile or not.
|
|
+ # We used to match only the files named `Makefile.in', but
|
|
+ # some people rename them; so instead we look at the file content.
|
|
+ # Grep'ing the first line is not enough: some people post-process
|
|
+ # each Makefile.in and add a new line on top of each file to say so.
|
|
+ # Grep'ing the whole file is not good either: AIX grep has a line
|
|
+ # limit of 2048, but all sed's we know have understand at least 4000.
|
|
+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
|
|
+ dirpart=`AS_DIRNAME("$mf")`
|
|
+ else
|
|
+ continue
|
|
+ fi
|
|
+ # Extract the definition of DEPDIR, am__include, and am__quote
|
|
+ # from the Makefile without running `make'.
|
|
+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
|
|
+ test -z "$DEPDIR" && continue
|
|
+ am__include=`sed -n 's/^am__include = //p' < "$mf"`
|
|
+ test -z "am__include" && continue
|
|
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
|
|
+ # When using ansi2knr, U may be empty or an underscore; expand it
|
|
+ U=`sed -n 's/^U = //p' < "$mf"`
|
|
+ # Find all dependency output files, they are included files with
|
|
+ # $(DEPDIR) in their names. We invoke sed twice because it is the
|
|
+ # simplest approach to changing $(DEPDIR) to its actual value in the
|
|
+ # expansion.
|
|
+ for file in `sed -n "
|
|
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
|
|
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
|
+ # Make sure the directory exists.
|
|
+ test -f "$dirpart/$file" && continue
|
|
+ fdir=`AS_DIRNAME(["$file"])`
|
|
+ AS_MKDIR_P([$dirpart/$fdir])
|
|
+ # echo "creating $dirpart/$file"
|
|
+ echo '# dummy' > "$dirpart/$file"
|
|
+ done
|
|
done
|
|
-done
|
|
+}
|
|
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
|
|
|
|
|
|
@@ -8331,13 +9255,13 @@ AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
|
|
# Do all the work for Automake. -*- Autoconf -*-
|
|
|
|
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
|
|
-# 2005, 2006, 2008 Free Software Foundation, Inc.
|
|
+# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
|
|
#
|
|
# This file is free software; the Free Software Foundation
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
# with or without modifications, as long as this notice is preserved.
|
|
|
|
-# serial 13
|
|
+# serial 16
|
|
|
|
# This macro actually does too much. Some checks are only needed if
|
|
# your package does certain things. But this isn't really a big deal.
|
|
@@ -8354,7 +9278,7 @@ AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
|
|
# arguments mandatory, and then we can depend on a new Autoconf
|
|
# release and drop the old call support.
|
|
AC_DEFUN([AM_INIT_AUTOMAKE],
|
|
-[AC_PREREQ([2.60])dnl
|
|
+[AC_PREREQ([2.62])dnl
|
|
dnl Autoconf wants to disallow AM_ names. We explicitly allow
|
|
dnl the ones we care about.
|
|
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
|
|
@@ -8405,8 +9329,8 @@ AM_MISSING_PROG(AUTOCONF, autoconf)
|
|
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
|
|
AM_MISSING_PROG(AUTOHEADER, autoheader)
|
|
AM_MISSING_PROG(MAKEINFO, makeinfo)
|
|
-AM_PROG_INSTALL_SH
|
|
-AM_PROG_INSTALL_STRIP
|
|
+AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
|
|
+AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
|
|
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
|
|
# We need awk for the "check" target. The system "awk" is bad on
|
|
# some platforms.
|
|
@@ -8414,24 +9338,37 @@ AC_REQUIRE([AC_PROG_AWK])dnl
|
|
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
|
|
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
|
|
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
|
|
- [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
|
|
- [_AM_PROG_TAR([v7])])])
|
|
+ [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
|
|
+ [_AM_PROG_TAR([v7])])])
|
|
_AM_IF_OPTION([no-dependencies],,
|
|
[AC_PROVIDE_IFELSE([AC_PROG_CC],
|
|
- [_AM_DEPENDENCIES(CC)],
|
|
- [define([AC_PROG_CC],
|
|
- defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
|
|
+ [_AM_DEPENDENCIES(CC)],
|
|
+ [define([AC_PROG_CC],
|
|
+ defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
|
|
AC_PROVIDE_IFELSE([AC_PROG_CXX],
|
|
- [_AM_DEPENDENCIES(CXX)],
|
|
- [define([AC_PROG_CXX],
|
|
- defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
|
|
+ [_AM_DEPENDENCIES(CXX)],
|
|
+ [define([AC_PROG_CXX],
|
|
+ defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
|
|
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
|
|
- [_AM_DEPENDENCIES(OBJC)],
|
|
- [define([AC_PROG_OBJC],
|
|
- defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
|
|
+ [_AM_DEPENDENCIES(OBJC)],
|
|
+ [define([AC_PROG_OBJC],
|
|
+ defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
|
|
])
|
|
+_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
|
|
+dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
|
|
+dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
|
|
+dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
|
|
+AC_CONFIG_COMMANDS_PRE(dnl
|
|
+[m4_provide_if([_AM_COMPILER_EXEEXT],
|
|
+ [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
|
|
])
|
|
|
|
+dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
|
|
+dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
|
|
+dnl mangled by Autoconf and run in a shell conditional statement.
|
|
+m4_define([_AC_COMPILER_EXEEXT],
|
|
+m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
|
|
+
|
|
|
|
# When config.status generates a header, we must update the stamp-h file.
|
|
# This file resides in the same directory as the config header
|
|
@@ -8454,7 +9391,7 @@ for _am_header in $config_headers :; do
|
|
done
|
|
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
|
|
|
|
-# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
|
|
+# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
|
|
#
|
|
# This file is free software; the Free Software Foundation
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
@@ -8465,7 +9402,14 @@ echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_co
|
|
# Define $install_sh.
|
|
AC_DEFUN([AM_PROG_INSTALL_SH],
|
|
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
|
-install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
|
|
+if test x"${install_sh}" != xset; then
|
|
+ case $am_aux_dir in
|
|
+ *\ * | *\ *)
|
|
+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
|
|
+ *)
|
|
+ install_sh="\${SHELL} $am_aux_dir/install-sh"
|
|
+ esac
|
|
+fi
|
|
AC_SUBST(install_sh)])
|
|
|
|
# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
|
|
@@ -8510,15 +9454,55 @@ if test "$LEX" = :; then
|
|
LEX=${am_missing_run}flex
|
|
fi])
|
|
|
|
+# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
|
|
+# From Jim Meyering
|
|
+
|
|
+# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
|
|
+# Free Software Foundation, Inc.
|
|
+#
|
|
+# This file is free software; the Free Software Foundation
|
|
+# gives unlimited permission to copy and/or distribute it,
|
|
+# with or without modifications, as long as this notice is preserved.
|
|
+
|
|
+# serial 5
|
|
+
|
|
+# AM_MAINTAINER_MODE([DEFAULT-MODE])
|
|
+# ----------------------------------
|
|
+# Control maintainer-specific portions of Makefiles.
|
|
+# Default is to disable them, unless `enable' is passed literally.
|
|
+# For symmetry, `disable' may be passed as well. Anyway, the user
|
|
+# can override the default with the --enable/--disable switch.
|
|
+AC_DEFUN([AM_MAINTAINER_MODE],
|
|
+[m4_case(m4_default([$1], [disable]),
|
|
+ [enable], [m4_define([am_maintainer_other], [disable])],
|
|
+ [disable], [m4_define([am_maintainer_other], [enable])],
|
|
+ [m4_define([am_maintainer_other], [enable])
|
|
+ m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
|
|
+AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
|
|
+ dnl maintainer-mode's default is 'disable' unless 'enable' is passed
|
|
+ AC_ARG_ENABLE([maintainer-mode],
|
|
+[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
|
|
+ (and sometimes confusing) to the casual installer],
|
|
+ [USE_MAINTAINER_MODE=$enableval],
|
|
+ [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
|
|
+ AC_MSG_RESULT([$USE_MAINTAINER_MODE])
|
|
+ AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
|
|
+ MAINT=$MAINTAINER_MODE_TRUE
|
|
+ AC_SUBST([MAINT])dnl
|
|
+]
|
|
+)
|
|
+
|
|
+AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
|
|
+
|
|
# Check to see how 'make' treats includes. -*- Autoconf -*-
|
|
|
|
-# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
|
|
+# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
|
|
#
|
|
# This file is free software; the Free Software Foundation
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
# with or without modifications, as long as this notice is preserved.
|
|
|
|
-# serial 3
|
|
+# serial 4
|
|
|
|
# AM_MAKE_INCLUDE()
|
|
# -----------------
|
|
@@ -8527,7 +9511,7 @@ AC_DEFUN([AM_MAKE_INCLUDE],
|
|
[am_make=${MAKE-make}
|
|
cat > confinc << 'END'
|
|
am__doit:
|
|
- @echo done
|
|
+ @echo this is the am__doit target
|
|
.PHONY: am__doit
|
|
END
|
|
# If we don't find an include directive, just comment out the code.
|
|
@@ -8537,24 +9521,24 @@ am__quote=
|
|
_am_result=none
|
|
# First try GNU make style include.
|
|
echo "include confinc" > confmf
|
|
-# We grep out `Entering directory' and `Leaving directory'
|
|
-# messages which can occur if `w' ends up in MAKEFLAGS.
|
|
-# In particular we don't look at `^make:' because GNU make might
|
|
-# be invoked under some other name (usually "gmake"), in which
|
|
-# case it prints its new name instead of `make'.
|
|
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
|
|
- am__include=include
|
|
- am__quote=
|
|
- _am_result=GNU
|
|
-fi
|
|
+# Ignore all kinds of additional output from `make'.
|
|
+case `$am_make -s -f confmf 2> /dev/null` in #(
|
|
+*the\ am__doit\ target*)
|
|
+ am__include=include
|
|
+ am__quote=
|
|
+ _am_result=GNU
|
|
+ ;;
|
|
+esac
|
|
# Now try BSD make style include.
|
|
if test "$am__include" = "#"; then
|
|
echo '.include "confinc"' > confmf
|
|
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
|
|
- am__include=.include
|
|
- am__quote="\""
|
|
- _am_result=BSD
|
|
- fi
|
|
+ case `$am_make -s -f confmf 2> /dev/null` in #(
|
|
+ *the\ am__doit\ target*)
|
|
+ am__include=.include
|
|
+ am__quote="\""
|
|
+ _am_result=BSD
|
|
+ ;;
|
|
+ esac
|
|
fi
|
|
AC_SUBST([am__include])
|
|
AC_SUBST([am__quote])
|
|
@@ -8562,14 +9546,14 @@ AC_MSG_RESULT([$_am_result])
|
|
rm -f confinc confmf
|
|
])
|
|
|
|
-# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005
|
|
+# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005, 2008
|
|
# Free Software Foundation, Inc.
|
|
#
|
|
# This file is free software; the Free Software Foundation
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
# with or without modifications, as long as this notice is preserved.
|
|
|
|
-# serial 5
|
|
+# serial 6
|
|
|
|
# AM_PROG_CC_C_O
|
|
# --------------
|
|
@@ -8581,8 +9565,9 @@ AC_REQUIRE_AUX_FILE([compile])dnl
|
|
# FIXME: we rely on the cache variable name because
|
|
# there is no other way.
|
|
set dummy $CC
|
|
-ac_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
|
|
-if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
|
|
+am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
|
|
+eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
|
|
+if test "$am_t" != yes; then
|
|
# Losing compiler, so override with the script.
|
|
# FIXME: It is wrong to rewrite CC.
|
|
# But if we don't then we get into trouble of one sort or another.
|
|
@@ -8598,14 +9583,14 @@ m4_define([AC_PROG_CC],
|
|
|
|
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
|
|
|
|
-# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
|
|
+# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
|
|
# Free Software Foundation, Inc.
|
|
#
|
|
# This file is free software; the Free Software Foundation
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
# with or without modifications, as long as this notice is preserved.
|
|
|
|
-# serial 5
|
|
+# serial 6
|
|
|
|
# AM_MISSING_PROG(NAME, PROGRAM)
|
|
# ------------------------------
|
|
@@ -8622,7 +9607,14 @@ AC_SUBST($1)])
|
|
AC_DEFUN([AM_MISSING_HAS_RUN],
|
|
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
|
AC_REQUIRE_AUX_FILE([missing])dnl
|
|
-test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
|
|
+if test x"${MISSING+set}" != xset; then
|
|
+ case $am_aux_dir in
|
|
+ *\ * | *\ *)
|
|
+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
|
|
+ *)
|
|
+ MISSING="\${SHELL} $am_aux_dir/missing" ;;
|
|
+ esac
|
|
+fi
|
|
# Use eval to expand $SHELL
|
|
if eval "$MISSING --run true"; then
|
|
am_missing_run="$MISSING --run "
|
|
@@ -8660,13 +9652,13 @@ esac
|
|
|
|
# Helper functions for option handling. -*- Autoconf -*-
|
|
|
|
-# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
|
|
+# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
|
|
#
|
|
# This file is free software; the Free Software Foundation
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
# with or without modifications, as long as this notice is preserved.
|
|
|
|
-# serial 3
|
|
+# serial 4
|
|
|
|
# _AM_MANGLE_OPTION(NAME)
|
|
# -----------------------
|
|
@@ -8683,7 +9675,7 @@ AC_DEFUN([_AM_SET_OPTION],
|
|
# ----------------------------------
|
|
# OPTIONS is a space-separated list of Automake options.
|
|
AC_DEFUN([_AM_SET_OPTIONS],
|
|
-[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
|
|
+[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
|
|
|
|
# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
|
|
# -------------------------------------------
|
|
@@ -8693,14 +9685,14 @@ AC_DEFUN([_AM_IF_OPTION],
|
|
|
|
# Check to make sure that the build environment is sane. -*- Autoconf -*-
|
|
|
|
-# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
|
|
+# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
|
|
# Free Software Foundation, Inc.
|
|
#
|
|
# This file is free software; the Free Software Foundation
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
# with or without modifications, as long as this notice is preserved.
|
|
|
|
-# serial 4
|
|
+# serial 5
|
|
|
|
# AM_SANITY_CHECK
|
|
# ---------------
|
|
@@ -8709,16 +9701,29 @@ AC_DEFUN([AM_SANITY_CHECK],
|
|
# Just in case
|
|
sleep 1
|
|
echo timestamp > conftest.file
|
|
+# Reject unsafe characters in $srcdir or the absolute working directory
|
|
+# name. Accept space and tab only in the latter.
|
|
+am_lf='
|
|
+'
|
|
+case `pwd` in
|
|
+ *[[\\\"\#\$\&\'\`$am_lf]]*)
|
|
+ AC_MSG_ERROR([unsafe absolute working directory name]);;
|
|
+esac
|
|
+case $srcdir in
|
|
+ *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
|
|
+ AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
|
|
+esac
|
|
+
|
|
# Do `set' in a subshell so we don't clobber the current shell's
|
|
# arguments. Must try -L first in case configure is actually a
|
|
# symlink; some systems play weird games with the mod time of symlinks
|
|
# (eg FreeBSD returns the mod time of the symlink's containing
|
|
# directory).
|
|
if (
|
|
- set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
|
|
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
|
|
if test "$[*]" = "X"; then
|
|
# -L didn't work.
|
|
- set X `ls -t $srcdir/configure conftest.file`
|
|
+ set X `ls -t "$srcdir/configure" conftest.file`
|
|
fi
|
|
rm -f conftest.file
|
|
if test "$[*]" != "X $srcdir/configure conftest.file" \
|
|
@@ -8771,18 +9776,25 @@ fi
|
|
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
|
AC_SUBST([INSTALL_STRIP_PROGRAM])])
|
|
|
|
-# Copyright (C) 2006 Free Software Foundation, Inc.
|
|
+# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
|
|
#
|
|
# This file is free software; the Free Software Foundation
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
# with or without modifications, as long as this notice is preserved.
|
|
|
|
+# serial 2
|
|
+
|
|
# _AM_SUBST_NOTMAKE(VARIABLE)
|
|
# ---------------------------
|
|
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
|
|
# This macro is traced by Automake.
|
|
AC_DEFUN([_AM_SUBST_NOTMAKE])
|
|
|
|
+# AM_SUBST_NOTMAKE(VARIABLE)
|
|
+# ---------------------------
|
|
+# Public sister of _AM_SUBST_NOTMAKE.
|
|
+AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
|
|
+
|
|
# Check how to create a tarball. -*- Autoconf -*-
|
|
|
|
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
|
|
diff --git a/compile b/compile
|
|
index 1b1d232..c0096a7 100755
|
|
--- a/compile
|
|
+++ b/compile
|
|
@@ -1,9 +1,10 @@
|
|
#! /bin/sh
|
|
# Wrapper for compilers which do not understand `-c -o'.
|
|
|
|
-scriptversion=2005-05-14.22
|
|
+scriptversion=2009-10-06.20; # UTC
|
|
|
|
-# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
|
|
+# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009 Free Software
|
|
+# Foundation, Inc.
|
|
# Written by Tom Tromey <tromey@cygnus.com>.
|
|
#
|
|
# This program is free software; you can redistribute it and/or modify
|
|
@@ -17,8 +18,7 @@ scriptversion=2005-05-14.22
|
|
# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
# As a special exception to the GNU General Public License, if you
|
|
# distribute this file as part of a program that contains a
|
|
@@ -103,13 +103,13 @@ if test -z "$ofile" || test -z "$cfile"; then
|
|
fi
|
|
|
|
# Name of file we expect compiler to create.
|
|
-cofile=`echo "$cfile" | sed -e 's|^.*/||' -e 's/\.c$/.o/'`
|
|
+cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
|
|
|
|
# Create the lock directory.
|
|
-# Note: use `[/.-]' here to ensure that we don't use the same name
|
|
+# Note: use `[/\\:.-]' here to ensure that we don't use the same name
|
|
# that we are using for the .o file. Also, base the name on the expected
|
|
# object file name, since that is what matters with a parallel build.
|
|
-lockdir=`echo "$cofile" | sed -e 's|[/.-]|_|g'`.d
|
|
+lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d
|
|
while true; do
|
|
if mkdir "$lockdir" >/dev/null 2>&1; then
|
|
break
|
|
@@ -124,9 +124,9 @@ trap "rmdir '$lockdir'; exit 1" 1 2 15
|
|
ret=$?
|
|
|
|
if test -f "$cofile"; then
|
|
- mv "$cofile" "$ofile"
|
|
+ test "$cofile" = "$ofile" || mv "$cofile" "$ofile"
|
|
elif test -f "${cofile}bj"; then
|
|
- mv "${cofile}bj" "$ofile"
|
|
+ test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile"
|
|
fi
|
|
|
|
rmdir "$lockdir"
|
|
@@ -138,5 +138,6 @@ exit $ret
|
|
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
|
# time-stamp-start: "scriptversion="
|
|
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
|
-# time-stamp-end: "$"
|
|
+# time-stamp-time-zone: "UTC"
|
|
+# time-stamp-end: "; # UTC"
|
|
# End:
|
|
diff --git a/config.guess b/config.guess
|
|
index f4f7772..dc84c68 100755
|
|
--- a/config.guess
|
|
+++ b/config.guess
|
|
@@ -1,9 +1,10 @@
|
|
#! /bin/sh
|
|
# Attempt to guess a canonical system name.
|
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
|
-# 2000, 2001, 2002 Free Software Foundation, Inc.
|
|
+# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
|
|
+# Free Software Foundation, Inc.
|
|
|
|
-timestamp='2002-03-04'
|
|
+timestamp='2009-11-20'
|
|
|
|
# This file is free software; you can redistribute it and/or modify it
|
|
# under the terms of the GNU General Public License as published by
|
|
@@ -17,23 +18,25 @@ timestamp='2002-03-04'
|
|
#
|
|
# 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
|
|
+# 02110-1301, USA.
|
|
#
|
|
# As a special exception to the GNU General Public License, if you
|
|
# distribute this file as part of a program that contains a
|
|
# configuration script generated by Autoconf, you may include it under
|
|
# the same distribution terms that you use for the rest of that program.
|
|
|
|
-# Originally written by Per Bothner <per@bothner.com>.
|
|
-# Please send patches to <config-patches@gnu.org>. Submit a context
|
|
-# diff and a properly formatted ChangeLog entry.
|
|
+
|
|
+# Originally written by Per Bothner. Please send patches (context
|
|
+# diff format) to <config-patches@gnu.org> and include a ChangeLog
|
|
+# entry.
|
|
#
|
|
# This script attempts to guess a canonical system name similar to
|
|
# config.sub. If it succeeds, it prints the system name on stdout, and
|
|
# exits with 0. Otherwise, it exits with 1.
|
|
#
|
|
-# The plan is that this can be called by configure scripts if you
|
|
-# don't specify an explicit build system type.
|
|
+# You can get the latest version of this script from:
|
|
+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
|
|
|
|
me=`echo "$0" | sed -e 's,.*/,,'`
|
|
|
|
@@ -53,8 +56,8 @@ version="\
|
|
GNU config.guess ($timestamp)
|
|
|
|
Originally written by Per Bothner.
|
|
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
|
-Free Software Foundation, Inc.
|
|
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
|
|
+2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
|
|
|
This is free software; see the source for copying conditions. There is NO
|
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
|
@@ -66,11 +69,11 @@ Try \`$me --help' for more information."
|
|
while test $# -gt 0 ; do
|
|
case $1 in
|
|
--time-stamp | --time* | -t )
|
|
- echo "$timestamp" ; exit 0 ;;
|
|
+ echo "$timestamp" ; exit ;;
|
|
--version | -v )
|
|
- echo "$version" ; exit 0 ;;
|
|
+ echo "$version" ; exit ;;
|
|
--help | --h* | -h )
|
|
- echo "$usage"; exit 0 ;;
|
|
+ echo "$usage"; exit ;;
|
|
-- ) # Stop option processing
|
|
shift; break ;;
|
|
- ) # Use stdin as input.
|
|
@@ -88,30 +91,42 @@ if test $# != 0; then
|
|
exit 1
|
|
fi
|
|
|
|
+trap 'exit 1' 1 2 15
|
|
|
|
-dummy=dummy-$$
|
|
-trap 'rm -f $dummy.c $dummy.o $dummy.rel $dummy; exit 1' 1 2 15
|
|
+# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
|
|
+# compiler to aid in system detection is discouraged as it requires
|
|
+# temporary files to be created and, as you can see below, it is a
|
|
+# headache to deal with in a portable fashion.
|
|
|
|
-# CC_FOR_BUILD -- compiler used by this script.
|
|
# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
|
|
# use `HOST_CC' if defined, but it is deprecated.
|
|
|
|
-set_cc_for_build='case $CC_FOR_BUILD,$HOST_CC,$CC in
|
|
- ,,) echo "int dummy(){}" > $dummy.c ;
|
|
- for c in cc gcc c89 ; do
|
|
- ($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1 ;
|
|
- if test $? = 0 ; then
|
|
+# Portable tmp directory creation inspired by the Autoconf team.
|
|
+
|
|
+set_cc_for_build='
|
|
+trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
|
|
+trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
|
|
+: ${TMPDIR=/tmp} ;
|
|
+ { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
|
|
+ { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
|
|
+ { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
|
|
+ { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
|
|
+dummy=$tmp/dummy ;
|
|
+tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
|
|
+case $CC_FOR_BUILD,$HOST_CC,$CC in
|
|
+ ,,) echo "int x;" > $dummy.c ;
|
|
+ for c in cc gcc c89 c99 ; do
|
|
+ if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
|
|
CC_FOR_BUILD="$c"; break ;
|
|
fi ;
|
|
done ;
|
|
- rm -f $dummy.c $dummy.o $dummy.rel ;
|
|
if test x"$CC_FOR_BUILD" = x ; then
|
|
CC_FOR_BUILD=no_compiler_found ;
|
|
fi
|
|
;;
|
|
,,*) CC_FOR_BUILD=$CC ;;
|
|
,*,*) CC_FOR_BUILD=$HOST_CC ;;
|
|
-esac'
|
|
+esac ; set_cc_for_build= ;'
|
|
|
|
# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
|
|
# (ghazi@noc.rutgers.edu 1994-08-24)
|
|
@@ -142,9 +157,11 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
|
UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
|
|
/usr/sbin/$sysctl 2>/dev/null || echo unknown)`
|
|
case "${UNAME_MACHINE_ARCH}" in
|
|
+ armeb) machine=armeb-unknown ;;
|
|
arm*) machine=arm-unknown ;;
|
|
sh3el) machine=shl-unknown ;;
|
|
sh3eb) machine=sh-unknown ;;
|
|
+ sh5el) machine=sh5le-unknown ;;
|
|
*) machine=${UNAME_MACHINE_ARCH}-unknown ;;
|
|
esac
|
|
# The Operating System including object format, if it has switched
|
|
@@ -153,7 +170,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
|
arm*|i386|m68k|ns32k|sh3*|sparc|vax)
|
|
eval $set_cc_for_build
|
|
if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
|
|
- | grep __ELF__ >/dev/null
|
|
+ | grep -q __ELF__
|
|
then
|
|
# Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
|
|
# Return netbsd for either. FIX?
|
|
@@ -167,141 +184,128 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
|
;;
|
|
esac
|
|
# The OS release
|
|
- release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
|
|
+ # Debian GNU/NetBSD machines have a different userland, and
|
|
+ # thus, need a distinct triplet. However, they do not need
|
|
+ # kernel version information, so it can be replaced with a
|
|
+ # suitable tag, in the style of linux-gnu.
|
|
+ case "${UNAME_VERSION}" in
|
|
+ Debian*)
|
|
+ release='-gnu'
|
|
+ ;;
|
|
+ *)
|
|
+ release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
|
|
+ ;;
|
|
+ esac
|
|
# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
|
|
# contains redundant information, the shorter form:
|
|
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
|
|
echo "${machine}-${os}${release}"
|
|
- exit 0 ;;
|
|
- amiga:OpenBSD:*:*)
|
|
- echo m68k-unknown-openbsd${UNAME_RELEASE}
|
|
- exit 0 ;;
|
|
- arc:OpenBSD:*:*)
|
|
- echo mipsel-unknown-openbsd${UNAME_RELEASE}
|
|
- exit 0 ;;
|
|
- hp300:OpenBSD:*:*)
|
|
- echo m68k-unknown-openbsd${UNAME_RELEASE}
|
|
- exit 0 ;;
|
|
- mac68k:OpenBSD:*:*)
|
|
- echo m68k-unknown-openbsd${UNAME_RELEASE}
|
|
- exit 0 ;;
|
|
- macppc:OpenBSD:*:*)
|
|
- echo powerpc-unknown-openbsd${UNAME_RELEASE}
|
|
- exit 0 ;;
|
|
- mvme68k:OpenBSD:*:*)
|
|
- echo m68k-unknown-openbsd${UNAME_RELEASE}
|
|
- exit 0 ;;
|
|
- mvme88k:OpenBSD:*:*)
|
|
- echo m88k-unknown-openbsd${UNAME_RELEASE}
|
|
- exit 0 ;;
|
|
- mvmeppc:OpenBSD:*:*)
|
|
- echo powerpc-unknown-openbsd${UNAME_RELEASE}
|
|
- exit 0 ;;
|
|
- pmax:OpenBSD:*:*)
|
|
- echo mipsel-unknown-openbsd${UNAME_RELEASE}
|
|
- exit 0 ;;
|
|
- sgi:OpenBSD:*:*)
|
|
- echo mipseb-unknown-openbsd${UNAME_RELEASE}
|
|
- exit 0 ;;
|
|
- sun3:OpenBSD:*:*)
|
|
- echo m68k-unknown-openbsd${UNAME_RELEASE}
|
|
- exit 0 ;;
|
|
- wgrisc:OpenBSD:*:*)
|
|
- echo mipsel-unknown-openbsd${UNAME_RELEASE}
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
*:OpenBSD:*:*)
|
|
- echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
|
|
- exit 0 ;;
|
|
+ UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
|
|
+ echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
|
|
+ exit ;;
|
|
+ *:ekkoBSD:*:*)
|
|
+ echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
|
|
+ exit ;;
|
|
+ *:SolidBSD:*:*)
|
|
+ echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
|
|
+ exit ;;
|
|
+ macppc:MirBSD:*:*)
|
|
+ echo powerpc-unknown-mirbsd${UNAME_RELEASE}
|
|
+ exit ;;
|
|
+ *:MirBSD:*:*)
|
|
+ echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
|
|
+ exit ;;
|
|
alpha:OSF1:*:*)
|
|
- if test $UNAME_RELEASE = "V4.0"; then
|
|
+ case $UNAME_RELEASE in
|
|
+ *4.0)
|
|
UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
|
|
- fi
|
|
+ ;;
|
|
+ *5.*)
|
|
+ UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
|
|
+ ;;
|
|
+ esac
|
|
+ # According to Compaq, /usr/sbin/psrinfo has been available on
|
|
+ # OSF/1 and Tru64 systems produced since 1995. I hope that
|
|
+ # covers most systems running today. This code pipes the CPU
|
|
+ # types through head -n 1, so we only detect the type of CPU 0.
|
|
+ ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
|
|
+ case "$ALPHA_CPU_TYPE" in
|
|
+ "EV4 (21064)")
|
|
+ UNAME_MACHINE="alpha" ;;
|
|
+ "EV4.5 (21064)")
|
|
+ UNAME_MACHINE="alpha" ;;
|
|
+ "LCA4 (21066/21068)")
|
|
+ UNAME_MACHINE="alpha" ;;
|
|
+ "EV5 (21164)")
|
|
+ UNAME_MACHINE="alphaev5" ;;
|
|
+ "EV5.6 (21164A)")
|
|
+ UNAME_MACHINE="alphaev56" ;;
|
|
+ "EV5.6 (21164PC)")
|
|
+ UNAME_MACHINE="alphapca56" ;;
|
|
+ "EV5.7 (21164PC)")
|
|
+ UNAME_MACHINE="alphapca57" ;;
|
|
+ "EV6 (21264)")
|
|
+ UNAME_MACHINE="alphaev6" ;;
|
|
+ "EV6.7 (21264A)")
|
|
+ UNAME_MACHINE="alphaev67" ;;
|
|
+ "EV6.8CB (21264C)")
|
|
+ UNAME_MACHINE="alphaev68" ;;
|
|
+ "EV6.8AL (21264B)")
|
|
+ UNAME_MACHINE="alphaev68" ;;
|
|
+ "EV6.8CX (21264D)")
|
|
+ UNAME_MACHINE="alphaev68" ;;
|
|
+ "EV6.9A (21264/EV69A)")
|
|
+ UNAME_MACHINE="alphaev69" ;;
|
|
+ "EV7 (21364)")
|
|
+ UNAME_MACHINE="alphaev7" ;;
|
|
+ "EV7.9 (21364A)")
|
|
+ UNAME_MACHINE="alphaev79" ;;
|
|
+ esac
|
|
+ # A Pn.n version is a patched version.
|
|
# A Vn.n version is a released version.
|
|
# A Tn.n version is a released field test version.
|
|
# A Xn.n version is an unreleased experimental baselevel.
|
|
# 1.2 uses "1.2" for uname -r.
|
|
- cat <<EOF >$dummy.s
|
|
- .data
|
|
-\$Lformat:
|
|
- .byte 37,100,45,37,120,10,0 # "%d-%x\n"
|
|
-
|
|
- .text
|
|
- .globl main
|
|
- .align 4
|
|
- .ent main
|
|
-main:
|
|
- .frame \$30,16,\$26,0
|
|
- ldgp \$29,0(\$27)
|
|
- .prologue 1
|
|
- .long 0x47e03d80 # implver \$0
|
|
- lda \$2,-1
|
|
- .long 0x47e20c21 # amask \$2,\$1
|
|
- lda \$16,\$Lformat
|
|
- mov \$0,\$17
|
|
- not \$1,\$18
|
|
- jsr \$26,printf
|
|
- ldgp \$29,0(\$26)
|
|
- mov 0,\$16
|
|
- jsr \$26,exit
|
|
- .end main
|
|
-EOF
|
|
- eval $set_cc_for_build
|
|
- $CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
|
|
- if test "$?" = 0 ; then
|
|
- case `./$dummy` in
|
|
- 0-0)
|
|
- UNAME_MACHINE="alpha"
|
|
- ;;
|
|
- 1-0)
|
|
- UNAME_MACHINE="alphaev5"
|
|
- ;;
|
|
- 1-1)
|
|
- UNAME_MACHINE="alphaev56"
|
|
- ;;
|
|
- 1-101)
|
|
- UNAME_MACHINE="alphapca56"
|
|
- ;;
|
|
- 2-303)
|
|
- UNAME_MACHINE="alphaev6"
|
|
- ;;
|
|
- 2-307)
|
|
- UNAME_MACHINE="alphaev67"
|
|
- ;;
|
|
- 2-1307)
|
|
- UNAME_MACHINE="alphaev68"
|
|
- ;;
|
|
- esac
|
|
- fi
|
|
- rm -f $dummy.s $dummy
|
|
- echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
|
|
- exit 0 ;;
|
|
+ echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
|
|
+ exit ;;
|
|
Alpha\ *:Windows_NT*:*)
|
|
# How do we know it's Interix rather than the generic POSIX subsystem?
|
|
# Should we change UNAME_MACHINE based on the output of uname instead
|
|
# of the specific Alpha model?
|
|
echo alpha-pc-interix
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
21064:Windows_NT:50:3)
|
|
echo alpha-dec-winnt3.5
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
Amiga*:UNIX_System_V:4.0:*)
|
|
echo m68k-unknown-sysv4
|
|
- exit 0;;
|
|
+ exit ;;
|
|
*:[Aa]miga[Oo][Ss]:*:*)
|
|
echo ${UNAME_MACHINE}-unknown-amigaos
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
*:[Mm]orph[Oo][Ss]:*:*)
|
|
echo ${UNAME_MACHINE}-unknown-morphos
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
*:OS/390:*:*)
|
|
echo i370-ibm-openedition
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
+ *:z/VM:*:*)
|
|
+ echo s390-ibm-zvmoe
|
|
+ exit ;;
|
|
+ *:OS400:*:*)
|
|
+ echo powerpc-ibm-os400
|
|
+ exit ;;
|
|
arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
|
|
echo arm-acorn-riscix${UNAME_RELEASE}
|
|
- exit 0;;
|
|
+ exit ;;
|
|
+ arm:riscos:*:*|arm:RISCOS:*:*)
|
|
+ echo arm-unknown-riscos
|
|
+ exit ;;
|
|
SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
|
|
echo hppa1.1-hitachi-hiuxmpp
|
|
- exit 0;;
|
|
+ exit ;;
|
|
Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
|
|
# akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
|
|
if test "`(/bin/universe) 2>/dev/null`" = att ; then
|
|
@@ -309,25 +313,51 @@ EOF
|
|
else
|
|
echo pyramid-pyramid-bsd
|
|
fi
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
NILE*:*:*:dcosx)
|
|
echo pyramid-pyramid-svr4
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
+ DRS?6000:unix:4.0:6*)
|
|
+ echo sparc-icl-nx6
|
|
+ exit ;;
|
|
+ DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
|
|
+ case `/usr/bin/uname -p` in
|
|
+ sparc) echo sparc-icl-nx7; exit ;;
|
|
+ esac ;;
|
|
+ s390x:SunOS:*:*)
|
|
+ echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
|
+ exit ;;
|
|
sun4H:SunOS:5.*:*)
|
|
echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
|
|
echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
|
- exit 0 ;;
|
|
- i86pc:SunOS:5.*:*)
|
|
- echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
+ i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
|
|
+ echo i386-pc-auroraux${UNAME_RELEASE}
|
|
+ exit ;;
|
|
+ i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
|
|
+ eval $set_cc_for_build
|
|
+ SUN_ARCH="i386"
|
|
+ # If there is a compiler, see if it is configured for 64-bit objects.
|
|
+ # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
|
|
+ # This test works for both compilers.
|
|
+ if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
|
|
+ if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
|
|
+ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
|
|
+ grep IS_64BIT_ARCH >/dev/null
|
|
+ then
|
|
+ SUN_ARCH="x86_64"
|
|
+ fi
|
|
+ fi
|
|
+ echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
|
+ exit ;;
|
|
sun4*:SunOS:6*:*)
|
|
# According to config.sub, this is the proper way to canonicalize
|
|
# SunOS6. Hard to guess exactly what SunOS6 will be like, but
|
|
# it's likely to be more like Solaris than SunOS4.
|
|
echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
sun4*:SunOS:*:*)
|
|
case "`/usr/bin/arch -k`" in
|
|
Series*|S4*)
|
|
@@ -336,10 +366,10 @@ EOF
|
|
esac
|
|
# Japanese Language versions have a version number like `4.1.3-JL'.
|
|
echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
sun3*:SunOS:*:*)
|
|
echo m68k-sun-sunos${UNAME_RELEASE}
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
sun*:*:4.2BSD:*)
|
|
UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
|
|
test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
|
|
@@ -351,10 +381,10 @@ EOF
|
|
echo sparc-sun-sunos${UNAME_RELEASE}
|
|
;;
|
|
esac
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
aushp:SunOS:*:*)
|
|
echo sparc-auspex-sunos${UNAME_RELEASE}
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
# The situation for MiNT is a little confusing. The machine name
|
|
# can be virtually everything (everything which is not
|
|
# "atarist" or "atariste" at least should have a processor
|
|
@@ -365,37 +395,40 @@ EOF
|
|
# be no problem.
|
|
atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
|
|
echo m68k-atari-mint${UNAME_RELEASE}
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
|
|
echo m68k-atari-mint${UNAME_RELEASE}
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
*falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
|
|
echo m68k-atari-mint${UNAME_RELEASE}
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
|
|
echo m68k-milan-mint${UNAME_RELEASE}
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
|
|
echo m68k-hades-mint${UNAME_RELEASE}
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
*:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
|
|
echo m68k-unknown-mint${UNAME_RELEASE}
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
+ m68k:machten:*:*)
|
|
+ echo m68k-apple-machten${UNAME_RELEASE}
|
|
+ exit ;;
|
|
powerpc:machten:*:*)
|
|
echo powerpc-apple-machten${UNAME_RELEASE}
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
RISC*:Mach:*:*)
|
|
echo mips-dec-mach_bsd4.3
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
RISC*:ULTRIX:*:*)
|
|
echo mips-dec-ultrix${UNAME_RELEASE}
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
VAX*:ULTRIX*:*:*)
|
|
echo vax-dec-ultrix${UNAME_RELEASE}
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
2020:CLIX:*:* | 2430:CLIX:*:*)
|
|
echo clipper-intergraph-clix${UNAME_RELEASE}
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
mips:*:*:UMIPS | mips:*:*:RISCos)
|
|
eval $set_cc_for_build
|
|
sed 's/^ //' << EOF >$dummy.c
|
|
@@ -419,27 +452,33 @@ EOF
|
|
exit (-1);
|
|
}
|
|
EOF
|
|
- $CC_FOR_BUILD $dummy.c -o $dummy \
|
|
- && ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
|
|
- && rm -f $dummy.c $dummy && exit 0
|
|
- rm -f $dummy.c $dummy
|
|
+ $CC_FOR_BUILD -o $dummy $dummy.c &&
|
|
+ dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
|
|
+ SYSTEM_NAME=`$dummy $dummyarg` &&
|
|
+ { echo "$SYSTEM_NAME"; exit; }
|
|
echo mips-mips-riscos${UNAME_RELEASE}
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
Motorola:PowerMAX_OS:*:*)
|
|
echo powerpc-motorola-powermax
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
+ Motorola:*:4.3:PL8-*)
|
|
+ echo powerpc-harris-powermax
|
|
+ exit ;;
|
|
+ Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
|
|
+ echo powerpc-harris-powermax
|
|
+ exit ;;
|
|
Night_Hawk:Power_UNIX:*:*)
|
|
echo powerpc-harris-powerunix
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
m88k:CX/UX:7*:*)
|
|
echo m88k-harris-cxux7
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
m88k:*:4*:R4*)
|
|
echo m88k-motorola-sysv4
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
m88k:*:3*:R3*)
|
|
echo m88k-motorola-sysv3
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
AViiON:dgux:*:*)
|
|
# DG/UX returns AViiON for all architectures
|
|
UNAME_PROCESSOR=`/usr/bin/uname -p`
|
|
@@ -455,29 +494,29 @@ EOF
|
|
else
|
|
echo i586-dg-dgux${UNAME_RELEASE}
|
|
fi
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
M88*:DolphinOS:*:*) # DolphinOS (SVR3)
|
|
echo m88k-dolphin-sysv3
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
M88*:*:R3*:*)
|
|
# Delta 88k system running SVR3
|
|
echo m88k-motorola-sysv3
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
|
|
echo m88k-tektronix-sysv3
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
|
|
echo m68k-tektronix-bsd
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
*:IRIX*:*:*)
|
|
echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
|
|
- echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
|
|
- exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX '
|
|
+ echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
|
|
+ exit ;; # Note that: echo "'`uname -s`'" gives 'AIX '
|
|
i*86:AIX:*:*)
|
|
echo i386-ibm-aix
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
ia64:AIX:*:*)
|
|
if [ -x /usr/bin/oslevel ] ; then
|
|
IBM_REV=`/usr/bin/oslevel`
|
|
@@ -485,7 +524,7 @@ EOF
|
|
IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
|
|
fi
|
|
echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
*:AIX:2:3)
|
|
if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
|
|
eval $set_cc_for_build
|
|
@@ -500,16 +539,19 @@ EOF
|
|
exit(0);
|
|
}
|
|
EOF
|
|
- $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
|
|
- rm -f $dummy.c $dummy
|
|
- echo rs6000-ibm-aix3.2.5
|
|
+ if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
|
|
+ then
|
|
+ echo "$SYSTEM_NAME"
|
|
+ else
|
|
+ echo rs6000-ibm-aix3.2.5
|
|
+ fi
|
|
elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
|
|
echo rs6000-ibm-aix3.2.4
|
|
else
|
|
echo rs6000-ibm-aix3.2
|
|
fi
|
|
- exit 0 ;;
|
|
- *:AIX:*:[45])
|
|
+ exit ;;
|
|
+ *:AIX:*:[456])
|
|
IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
|
|
if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
|
|
IBM_ARCH=rs6000
|
|
@@ -522,28 +564,28 @@ EOF
|
|
IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
|
|
fi
|
|
echo ${IBM_ARCH}-ibm-aix${IBM_REV}
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
*:AIX:*:*)
|
|
echo rs6000-ibm-aix
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
ibmrt:4.4BSD:*|romp-ibm:BSD:*)
|
|
echo romp-ibm-bsd4.4
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
|
|
echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
|
|
- exit 0 ;; # report: romp-ibm BSD 4.3
|
|
+ exit ;; # report: romp-ibm BSD 4.3
|
|
*:BOSX:*:*)
|
|
echo rs6000-bull-bosx
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
DPX/2?00:B.O.S.:*:*)
|
|
echo m68k-bull-sysv3
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
9000/[34]??:4.3bsd:1.*:*)
|
|
echo m68k-hp-bsd
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
|
|
echo m68k-hp-bsd4.4
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
9000/[34678]??:HP-UX:*:*)
|
|
HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
|
|
case "${UNAME_MACHINE}" in
|
|
@@ -599,17 +641,37 @@ EOF
|
|
exit (0);
|
|
}
|
|
EOF
|
|
- (CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null) && HP_ARCH=`./$dummy`
|
|
- if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi
|
|
- rm -f $dummy.c $dummy
|
|
+ (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
|
|
+ test -z "$HP_ARCH" && HP_ARCH=hppa
|
|
fi ;;
|
|
esac
|
|
+ if [ ${HP_ARCH} = "hppa2.0w" ]
|
|
+ then
|
|
+ eval $set_cc_for_build
|
|
+
|
|
+ # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
|
|
+ # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
|
|
+ # generating 64-bit code. GNU and HP use different nomenclature:
|
|
+ #
|
|
+ # $ CC_FOR_BUILD=cc ./config.guess
|
|
+ # => hppa2.0w-hp-hpux11.23
|
|
+ # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
|
|
+ # => hppa64-hp-hpux11.23
|
|
+
|
|
+ if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
|
|
+ grep -q __LP64__
|
|
+ then
|
|
+ HP_ARCH="hppa2.0w"
|
|
+ else
|
|
+ HP_ARCH="hppa64"
|
|
+ fi
|
|
+ fi
|
|
echo ${HP_ARCH}-hp-hpux${HPUX_REV}
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
ia64:HP-UX:*:*)
|
|
HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
|
|
echo ia64-hp-hpux${HPUX_REV}
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
3050*:HI-UX:*:*)
|
|
eval $set_cc_for_build
|
|
sed 's/^ //' << EOF >$dummy.c
|
|
@@ -637,174 +699,248 @@ EOF
|
|
exit (0);
|
|
}
|
|
EOF
|
|
- $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
|
|
- rm -f $dummy.c $dummy
|
|
+ $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
|
|
+ { echo "$SYSTEM_NAME"; exit; }
|
|
echo unknown-hitachi-hiuxwe2
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
|
|
echo hppa1.1-hp-bsd
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
9000/8??:4.3bsd:*:*)
|
|
echo hppa1.0-hp-bsd
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
*9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
|
|
echo hppa1.0-hp-mpeix
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
|
|
echo hppa1.1-hp-osf
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
hp8??:OSF1:*:*)
|
|
echo hppa1.0-hp-osf
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
i*86:OSF1:*:*)
|
|
if [ -x /usr/sbin/sysversion ] ; then
|
|
echo ${UNAME_MACHINE}-unknown-osf1mk
|
|
else
|
|
echo ${UNAME_MACHINE}-unknown-osf1
|
|
fi
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
parisc*:Lites*:*:*)
|
|
echo hppa1.1-hp-lites
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
|
|
echo c1-convex-bsd
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
|
|
if getsysinfo -f scalar_acc
|
|
then echo c32-convex-bsd
|
|
else echo c2-convex-bsd
|
|
fi
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
|
|
echo c34-convex-bsd
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
|
|
echo c38-convex-bsd
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
|
|
echo c4-convex-bsd
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
CRAY*Y-MP:*:*:*)
|
|
echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
CRAY*[A-Z]90:*:*:*)
|
|
echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
|
|
| sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
|
|
-e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
|
|
-e 's/\.[^.]*$/.X/'
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
CRAY*TS:*:*:*)
|
|
echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
|
|
- exit 0 ;;
|
|
- CRAY*T3D:*:*:*)
|
|
- echo alpha-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
CRAY*T3E:*:*:*)
|
|
echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
CRAY*SV1:*:*:*)
|
|
echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
+ *:UNICOS/mp:*:*)
|
|
+ echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
|
|
+ exit ;;
|
|
F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
|
|
FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
|
|
FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
|
|
FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
|
|
echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
+ 5000:UNIX_System_V:4.*:*)
|
|
+ FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
|
|
+ FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
|
|
+ echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
|
|
+ exit ;;
|
|
i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
|
|
echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
sparc*:BSD/OS:*:*)
|
|
echo sparc-unknown-bsdi${UNAME_RELEASE}
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
*:BSD/OS:*:*)
|
|
echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
*:FreeBSD:*:*)
|
|
- echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
|
|
- exit 0 ;;
|
|
+ case ${UNAME_MACHINE} in
|
|
+ pc98)
|
|
+ echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
|
|
+ amd64)
|
|
+ echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
|
|
+ *)
|
|
+ echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
|
|
+ esac
|
|
+ exit ;;
|
|
i*:CYGWIN*:*)
|
|
echo ${UNAME_MACHINE}-pc-cygwin
|
|
- exit 0 ;;
|
|
- i*:MINGW*:*)
|
|
+ exit ;;
|
|
+ *:MINGW*:*)
|
|
echo ${UNAME_MACHINE}-pc-mingw32
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
+ i*:windows32*:*)
|
|
+ # uname -m includes "-pc" on this system.
|
|
+ echo ${UNAME_MACHINE}-mingw32
|
|
+ exit ;;
|
|
i*:PW*:*)
|
|
echo ${UNAME_MACHINE}-pc-pw32
|
|
- exit 0 ;;
|
|
- x86:Interix*:3*)
|
|
- echo i386-pc-interix3
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
+ *:Interix*:*)
|
|
+ case ${UNAME_MACHINE} in
|
|
+ x86)
|
|
+ echo i586-pc-interix${UNAME_RELEASE}
|
|
+ exit ;;
|
|
+ authenticamd | genuineintel | EM64T)
|
|
+ echo x86_64-unknown-interix${UNAME_RELEASE}
|
|
+ exit ;;
|
|
+ IA64)
|
|
+ echo ia64-unknown-interix${UNAME_RELEASE}
|
|
+ exit ;;
|
|
+ esac ;;
|
|
+ [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
|
|
+ echo i${UNAME_MACHINE}-pc-mks
|
|
+ exit ;;
|
|
+ 8664:Windows_NT:*)
|
|
+ echo x86_64-pc-mks
|
|
+ exit ;;
|
|
i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
|
|
# How do we know it's Interix rather than the generic POSIX subsystem?
|
|
# It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
|
|
# UNAME_MACHINE based on the output of uname instead of i386?
|
|
- echo i386-pc-interix
|
|
- exit 0 ;;
|
|
+ echo i586-pc-interix
|
|
+ exit ;;
|
|
i*:UWIN*:*)
|
|
echo ${UNAME_MACHINE}-pc-uwin
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
+ amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
|
|
+ echo x86_64-unknown-cygwin
|
|
+ exit ;;
|
|
p*:CYGWIN*:*)
|
|
echo powerpcle-unknown-cygwin
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
prep*:SunOS:5.*:*)
|
|
echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
*:GNU:*:*)
|
|
+ # the GNU system
|
|
echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
+ *:GNU/*:*:*)
|
|
+ # other systems with GNU libc and userland
|
|
+ echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
|
|
+ exit ;;
|
|
i*86:Minix:*:*)
|
|
echo ${UNAME_MACHINE}-pc-minix
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
+ alpha:Linux:*:*)
|
|
+ case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
|
|
+ EV5) UNAME_MACHINE=alphaev5 ;;
|
|
+ EV56) UNAME_MACHINE=alphaev56 ;;
|
|
+ PCA56) UNAME_MACHINE=alphapca56 ;;
|
|
+ PCA57) UNAME_MACHINE=alphapca56 ;;
|
|
+ EV6) UNAME_MACHINE=alphaev6 ;;
|
|
+ EV67) UNAME_MACHINE=alphaev67 ;;
|
|
+ EV68*) UNAME_MACHINE=alphaev68 ;;
|
|
+ esac
|
|
+ objdump --private-headers /bin/sh | grep -q ld.so.1
|
|
+ if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
|
|
+ echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
|
|
+ exit ;;
|
|
arm*:Linux:*:*)
|
|
+ eval $set_cc_for_build
|
|
+ if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
|
|
+ | grep -q __ARM_EABI__
|
|
+ then
|
|
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
+ else
|
|
+ echo ${UNAME_MACHINE}-unknown-linux-gnueabi
|
|
+ fi
|
|
+ exit ;;
|
|
+ avr32*:Linux:*:*)
|
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
+ cris:Linux:*:*)
|
|
+ echo cris-axis-linux-gnu
|
|
+ exit ;;
|
|
+ crisv32:Linux:*:*)
|
|
+ echo crisv32-axis-linux-gnu
|
|
+ exit ;;
|
|
+ frv:Linux:*:*)
|
|
+ echo frv-unknown-linux-gnu
|
|
+ exit ;;
|
|
+ i*86:Linux:*:*)
|
|
+ LIBC=gnu
|
|
+ eval $set_cc_for_build
|
|
+ sed 's/^ //' << EOF >$dummy.c
|
|
+ #ifdef __dietlibc__
|
|
+ LIBC=dietlibc
|
|
+ #endif
|
|
+EOF
|
|
+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
|
|
+ echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
|
|
+ exit ;;
|
|
ia64:Linux:*:*)
|
|
- echo ${UNAME_MACHINE}-unknown-linux
|
|
- exit 0 ;;
|
|
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
+ exit ;;
|
|
+ m32r*:Linux:*:*)
|
|
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
+ exit ;;
|
|
m68*:Linux:*:*)
|
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
- exit 0 ;;
|
|
- mips:Linux:*:*)
|
|
+ exit ;;
|
|
+ mips:Linux:*:* | mips64:Linux:*:*)
|
|
eval $set_cc_for_build
|
|
sed 's/^ //' << EOF >$dummy.c
|
|
#undef CPU
|
|
- #undef mips
|
|
- #undef mipsel
|
|
- #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
|
|
- CPU=mipsel
|
|
+ #undef ${UNAME_MACHINE}
|
|
+ #undef ${UNAME_MACHINE}el
|
|
+ #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
|
|
+ CPU=${UNAME_MACHINE}el
|
|
#else
|
|
- #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
|
|
- CPU=mips
|
|
+ #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
|
|
+ CPU=${UNAME_MACHINE}
|
|
#else
|
|
CPU=
|
|
#endif
|
|
- #endif
|
|
+ #endif
|
|
EOF
|
|
- eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
|
|
- rm -f $dummy.c
|
|
- test x"${CPU}" != x && echo "${CPU}-pc-linux-gnu" && exit 0
|
|
+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
|
|
+ test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
|
|
;;
|
|
- ppc:Linux:*:*)
|
|
- echo powerpc-unknown-linux-gnu
|
|
- exit 0 ;;
|
|
- ppc64:Linux:*:*)
|
|
- echo powerpc64-unknown-linux-gnu
|
|
- exit 0 ;;
|
|
- alpha:Linux:*:*)
|
|
- case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
|
|
- EV5) UNAME_MACHINE=alphaev5 ;;
|
|
- EV56) UNAME_MACHINE=alphaev56 ;;
|
|
- PCA56) UNAME_MACHINE=alphapca56 ;;
|
|
- PCA57) UNAME_MACHINE=alphapca56 ;;
|
|
- EV6) UNAME_MACHINE=alphaev6 ;;
|
|
- EV67) UNAME_MACHINE=alphaev67 ;;
|
|
- EV68*) UNAME_MACHINE=alphaev68 ;;
|
|
- esac
|
|
- objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
|
|
- if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
|
|
- echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
|
|
- exit 0 ;;
|
|
+ or32:Linux:*:*)
|
|
+ echo or32-unknown-linux-gnu
|
|
+ exit ;;
|
|
+ padre:Linux:*:*)
|
|
+ echo sparc-unknown-linux-gnu
|
|
+ exit ;;
|
|
+ parisc64:Linux:*:* | hppa64:Linux:*:*)
|
|
+ echo hppa64-unknown-linux-gnu
|
|
+ exit ;;
|
|
parisc:Linux:*:* | hppa:Linux:*:*)
|
|
# Look for CPU level
|
|
case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
|
|
@@ -812,82 +948,40 @@ EOF
|
|
PA8*) echo hppa2.0-unknown-linux-gnu ;;
|
|
*) echo hppa-unknown-linux-gnu ;;
|
|
esac
|
|
- exit 0 ;;
|
|
- parisc64:Linux:*:* | hppa64:Linux:*:*)
|
|
- echo hppa64-unknown-linux-gnu
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
+ ppc64:Linux:*:*)
|
|
+ echo powerpc64-unknown-linux-gnu
|
|
+ exit ;;
|
|
+ ppc:Linux:*:*)
|
|
+ echo powerpc-unknown-linux-gnu
|
|
+ exit ;;
|
|
s390:Linux:*:* | s390x:Linux:*:*)
|
|
echo ${UNAME_MACHINE}-ibm-linux
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
+ sh64*:Linux:*:*)
|
|
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
+ exit ;;
|
|
sh*:Linux:*:*)
|
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
sparc:Linux:*:* | sparc64:Linux:*:*)
|
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
+ vax:Linux:*:*)
|
|
+ echo ${UNAME_MACHINE}-dec-linux-gnu
|
|
+ exit ;;
|
|
x86_64:Linux:*:*)
|
|
echo x86_64-unknown-linux-gnu
|
|
- exit 0 ;;
|
|
- i*86:Linux:*:*)
|
|
- # The BFD linker knows what the default object file format is, so
|
|
- # first see if it will tell us. cd to the root directory to prevent
|
|
- # problems with other programs or directories called `ld' in the path.
|
|
- # Set LC_ALL=C to ensure ld outputs messages in English.
|
|
- ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
|
|
- | sed -ne '/supported targets:/!d
|
|
- s/[ ][ ]*/ /g
|
|
- s/.*supported targets: *//
|
|
- s/ .*//
|
|
- p'`
|
|
- case "$ld_supported_targets" in
|
|
- elf32-i386)
|
|
- TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
|
|
- ;;
|
|
- a.out-i386-linux)
|
|
- echo "${UNAME_MACHINE}-pc-linux-gnuaout"
|
|
- exit 0 ;;
|
|
- coff-i386)
|
|
- echo "${UNAME_MACHINE}-pc-linux-gnucoff"
|
|
- exit 0 ;;
|
|
- "")
|
|
- # Either a pre-BFD a.out linker (linux-gnuoldld) or
|
|
- # one that does not give us useful --help.
|
|
- echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
|
|
- exit 0 ;;
|
|
- esac
|
|
- # Determine whether the default compiler is a.out or elf
|
|
- eval $set_cc_for_build
|
|
- sed 's/^ //' << EOF >$dummy.c
|
|
- #include <features.h>
|
|
- #ifdef __ELF__
|
|
- # ifdef __GLIBC__
|
|
- # if __GLIBC__ >= 2
|
|
- LIBC=gnu
|
|
- # else
|
|
- LIBC=gnulibc1
|
|
- # endif
|
|
- # else
|
|
- LIBC=gnulibc1
|
|
- # endif
|
|
- #else
|
|
- #ifdef __INTEL_COMPILER
|
|
- LIBC=gnu
|
|
- #else
|
|
- LIBC=gnuaout
|
|
- #endif
|
|
- #endif
|
|
-EOF
|
|
- eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
|
|
- rm -f $dummy.c
|
|
- test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0
|
|
- test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
|
|
- ;;
|
|
+ exit ;;
|
|
+ xtensa*:Linux:*:*)
|
|
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
+ exit ;;
|
|
i*86:DYNIX/ptx:4*:*)
|
|
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
|
|
# earlier versions are messed up and put the nodename in both
|
|
# sysname and nodename.
|
|
echo i386-sequent-sysv4
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
i*86:UNIX_SV:4.2MP:2.*)
|
|
# Unixware is an offshoot of SVR4, but it has its own version
|
|
# number series starting with 2...
|
|
@@ -895,7 +989,27 @@ EOF
|
|
# I just have to hope. -- rms.
|
|
# Use sysv4.2uw... so that sysv4* matches it.
|
|
echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
+ i*86:OS/2:*:*)
|
|
+ # If we were able to find `uname', then EMX Unix compatibility
|
|
+ # is probably installed.
|
|
+ echo ${UNAME_MACHINE}-pc-os2-emx
|
|
+ exit ;;
|
|
+ i*86:XTS-300:*:STOP)
|
|
+ echo ${UNAME_MACHINE}-unknown-stop
|
|
+ exit ;;
|
|
+ i*86:atheos:*:*)
|
|
+ echo ${UNAME_MACHINE}-unknown-atheos
|
|
+ exit ;;
|
|
+ i*86:syllable:*:*)
|
|
+ echo ${UNAME_MACHINE}-pc-syllable
|
|
+ exit ;;
|
|
+ i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
|
|
+ echo i386-unknown-lynxos${UNAME_RELEASE}
|
|
+ exit ;;
|
|
+ i*86:*DOS:*:*)
|
|
+ echo ${UNAME_MACHINE}-pc-msdosdjgpp
|
|
+ exit ;;
|
|
i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
|
|
UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
|
|
if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
|
|
@@ -903,99 +1017,113 @@ EOF
|
|
else
|
|
echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
|
|
fi
|
|
- exit 0 ;;
|
|
- i*86:*:5:[78]*)
|
|
+ exit ;;
|
|
+ i*86:*:5:[678]*)
|
|
+ # UnixWare 7.x, OpenUNIX and OpenServer 6.
|
|
case `/bin/uname -X | grep "^Machine"` in
|
|
*486*) UNAME_MACHINE=i486 ;;
|
|
*Pentium) UNAME_MACHINE=i586 ;;
|
|
*Pent*|*Celeron) UNAME_MACHINE=i686 ;;
|
|
esac
|
|
echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
i*86:*:3.2:*)
|
|
if test -f /usr/options/cb.name; then
|
|
UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
|
|
echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
|
|
elif /bin/uname -X 2>/dev/null >/dev/null ; then
|
|
- UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')`
|
|
- (/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486
|
|
- (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \
|
|
+ UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
|
|
+ (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
|
|
+ (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
|
|
&& UNAME_MACHINE=i586
|
|
- (/bin/uname -X|egrep '^Machine.*Pent ?II' >/dev/null) \
|
|
+ (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
|
|
&& UNAME_MACHINE=i686
|
|
- (/bin/uname -X|egrep '^Machine.*Pentium Pro' >/dev/null) \
|
|
+ (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
|
|
&& UNAME_MACHINE=i686
|
|
echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
|
|
else
|
|
echo ${UNAME_MACHINE}-pc-sysv32
|
|
fi
|
|
- exit 0 ;;
|
|
- i*86:*DOS:*:*)
|
|
- echo ${UNAME_MACHINE}-pc-msdosdjgpp
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
pc:*:*:*)
|
|
# Left here for compatibility:
|
|
# uname -m prints for DJGPP always 'pc', but it prints nothing about
|
|
- # the processor, so we play safe by assuming i386.
|
|
- echo i386-pc-msdosdjgpp
|
|
- exit 0 ;;
|
|
+ # the processor, so we play safe by assuming i586.
|
|
+ # Note: whatever this is, it MUST be the same as what config.sub
|
|
+ # prints for the "djgpp" host, or else GDB configury will decide that
|
|
+ # this is a cross-build.
|
|
+ echo i586-pc-msdosdjgpp
|
|
+ exit ;;
|
|
Intel:Mach:3*:*)
|
|
echo i386-pc-mach3
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
paragon:*:*:*)
|
|
echo i860-intel-osf1
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
i860:*:4.*:*) # i860-SVR4
|
|
if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
|
|
echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
|
|
else # Add other i860-SVR4 vendors below as they are discovered.
|
|
echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
|
|
fi
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
mini*:CTIX:SYS*5:*)
|
|
# "miniframe"
|
|
echo m68010-convergent-sysv
|
|
- exit 0 ;;
|
|
- M68*:*:R3V[567]*:*)
|
|
- test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
|
|
- 3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0)
|
|
+ exit ;;
|
|
+ mc68k:UNIX:SYSTEM5:3.51m)
|
|
+ echo m68k-convergent-sysv
|
|
+ exit ;;
|
|
+ M680?0:D-NIX:5.3:*)
|
|
+ echo m68k-diab-dnix
|
|
+ exit ;;
|
|
+ M68*:*:R3V[5678]*:*)
|
|
+ test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
|
|
+ 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
|
|
OS_REL=''
|
|
test -r /etc/.relid \
|
|
&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
|
|
/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
|
|
- && echo i486-ncr-sysv4.3${OS_REL} && exit 0
|
|
+ && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
|
|
/bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
|
|
- && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;;
|
|
+ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
|
|
3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
|
|
/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
|
|
- && echo i486-ncr-sysv4 && exit 0 ;;
|
|
+ && { echo i486-ncr-sysv4; exit; } ;;
|
|
+ NCR*:*:4.2:* | MPRAS*:*:4.2:*)
|
|
+ OS_REL='.3'
|
|
+ test -r /etc/.relid \
|
|
+ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
|
|
+ /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
|
|
+ && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
|
|
+ /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
|
|
+ && { echo i586-ncr-sysv4.3${OS_REL}; exit; }
|
|
+ /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
|
|
+ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
|
|
m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
|
|
echo m68k-unknown-lynxos${UNAME_RELEASE}
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
mc68030:UNIX_System_V:4.*:*)
|
|
echo m68k-atari-sysv4
|
|
- exit 0 ;;
|
|
- i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
|
|
- echo i386-unknown-lynxos${UNAME_RELEASE}
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
TSUNAMI:LynxOS:2.*:*)
|
|
echo sparc-unknown-lynxos${UNAME_RELEASE}
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
rs6000:LynxOS:2.*:*)
|
|
echo rs6000-unknown-lynxos${UNAME_RELEASE}
|
|
- exit 0 ;;
|
|
- PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
|
|
+ exit ;;
|
|
+ PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
|
|
echo powerpc-unknown-lynxos${UNAME_RELEASE}
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
SM[BE]S:UNIX_SV:*:*)
|
|
echo mips-dde-sysv${UNAME_RELEASE}
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
RM*:ReliantUNIX-*:*:*)
|
|
echo mips-sni-sysv4
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
RM*:SINIX-*:*:*)
|
|
echo mips-sni-sysv4
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
*:SINIX-*:*:*)
|
|
if uname -p 2>/dev/null >/dev/null ; then
|
|
UNAME_MACHINE=`(uname -p) 2>/dev/null`
|
|
@@ -1003,84 +1131,120 @@ EOF
|
|
else
|
|
echo ns32k-sni-sysv
|
|
fi
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
|
|
# says <Richard.M.Bartel@ccMail.Census.GOV>
|
|
echo i586-unisys-sysv4
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
*:UNIX_System_V:4*:FTX*)
|
|
# From Gerald Hewes <hewes@openmarket.com>.
|
|
# How about differentiating between stratus architectures? -djm
|
|
echo hppa1.1-stratus-sysv4
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
*:*:*:FTX*)
|
|
# From seanf@swdc.stratus.com.
|
|
echo i860-stratus-sysv4
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
+ i*86:VOS:*:*)
|
|
+ # From Paul.Green@stratus.com.
|
|
+ echo ${UNAME_MACHINE}-stratus-vos
|
|
+ exit ;;
|
|
*:VOS:*:*)
|
|
# From Paul.Green@stratus.com.
|
|
echo hppa1.1-stratus-vos
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
mc68*:A/UX:*:*)
|
|
echo m68k-apple-aux${UNAME_RELEASE}
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
news*:NEWS-OS:6*:*)
|
|
echo mips-sony-newsos6
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
|
|
if [ -d /usr/nec ]; then
|
|
echo mips-nec-sysv${UNAME_RELEASE}
|
|
else
|
|
echo mips-unknown-sysv${UNAME_RELEASE}
|
|
fi
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
|
|
echo powerpc-be-beos
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
|
|
echo powerpc-apple-beos
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
|
|
echo i586-pc-beos
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
+ BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
|
|
+ echo i586-pc-haiku
|
|
+ exit ;;
|
|
SX-4:SUPER-UX:*:*)
|
|
echo sx4-nec-superux${UNAME_RELEASE}
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
SX-5:SUPER-UX:*:*)
|
|
echo sx5-nec-superux${UNAME_RELEASE}
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
+ SX-6:SUPER-UX:*:*)
|
|
+ echo sx6-nec-superux${UNAME_RELEASE}
|
|
+ exit ;;
|
|
+ SX-7:SUPER-UX:*:*)
|
|
+ echo sx7-nec-superux${UNAME_RELEASE}
|
|
+ exit ;;
|
|
+ SX-8:SUPER-UX:*:*)
|
|
+ echo sx8-nec-superux${UNAME_RELEASE}
|
|
+ exit ;;
|
|
+ SX-8R:SUPER-UX:*:*)
|
|
+ echo sx8r-nec-superux${UNAME_RELEASE}
|
|
+ exit ;;
|
|
Power*:Rhapsody:*:*)
|
|
echo powerpc-apple-rhapsody${UNAME_RELEASE}
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
*:Rhapsody:*:*)
|
|
echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
*:Darwin:*:*)
|
|
- echo `uname -p`-apple-darwin${UNAME_RELEASE}
|
|
- exit 0 ;;
|
|
+ UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
|
|
+ case $UNAME_PROCESSOR in
|
|
+ i386)
|
|
+ eval $set_cc_for_build
|
|
+ if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
|
|
+ if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
|
|
+ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
|
|
+ grep IS_64BIT_ARCH >/dev/null
|
|
+ then
|
|
+ UNAME_PROCESSOR="x86_64"
|
|
+ fi
|
|
+ fi ;;
|
|
+ unknown) UNAME_PROCESSOR=powerpc ;;
|
|
+ esac
|
|
+ echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
|
|
+ exit ;;
|
|
*:procnto*:*:* | *:QNX:[0123456789]*:*)
|
|
- if test "${UNAME_MACHINE}" = "x86pc"; then
|
|
+ UNAME_PROCESSOR=`uname -p`
|
|
+ if test "$UNAME_PROCESSOR" = "x86"; then
|
|
+ UNAME_PROCESSOR=i386
|
|
UNAME_MACHINE=pc
|
|
- echo i386-${UNAME_MACHINE}-nto-qnx
|
|
- else
|
|
- echo `uname -p`-${UNAME_MACHINE}-nto-qnx
|
|
fi
|
|
- exit 0 ;;
|
|
+ echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
|
|
+ exit ;;
|
|
*:QNX:*:4*)
|
|
echo i386-pc-qnx
|
|
- exit 0 ;;
|
|
- NSR-[GKLNPTVW]:NONSTOP_KERNEL:*:*)
|
|
+ exit ;;
|
|
+ NSE-?:NONSTOP_KERNEL:*:*)
|
|
+ echo nse-tandem-nsk${UNAME_RELEASE}
|
|
+ exit ;;
|
|
+ NSR-?:NONSTOP_KERNEL:*:*)
|
|
echo nsr-tandem-nsk${UNAME_RELEASE}
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
*:NonStop-UX:*:*)
|
|
echo mips-compaq-nonstopux
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
BS2000:POSIX*:*:*)
|
|
echo bs2000-siemens-sysv
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
DS/*:UNIX_System_V:*:*)
|
|
echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
*:Plan9:*:*)
|
|
# "uname -m" is not consistent, so use $cputype instead. 386
|
|
# is converted to i386 for consistency with other x86
|
|
@@ -1091,36 +1255,50 @@ EOF
|
|
UNAME_MACHINE="$cputype"
|
|
fi
|
|
echo ${UNAME_MACHINE}-unknown-plan9
|
|
- exit 0 ;;
|
|
- i*86:OS/2:*:*)
|
|
- # If we were able to find `uname', then EMX Unix compatibility
|
|
- # is probably installed.
|
|
- echo ${UNAME_MACHINE}-pc-os2-emx
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
*:TOPS-10:*:*)
|
|
echo pdp10-unknown-tops10
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
*:TENEX:*:*)
|
|
echo pdp10-unknown-tenex
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
|
|
echo pdp10-dec-tops20
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
|
|
echo pdp10-xkl-tops20
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
*:TOPS-20:*:*)
|
|
echo pdp10-unknown-tops20
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
*:ITS:*:*)
|
|
echo pdp10-unknown-its
|
|
- exit 0 ;;
|
|
- i*86:XTS-300:*:STOP)
|
|
- echo ${UNAME_MACHINE}-unknown-stop
|
|
- exit 0 ;;
|
|
- i*86:atheos:*:*)
|
|
- echo ${UNAME_MACHINE}-unknown-atheos
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
+ SEI:*:*:SEIUX)
|
|
+ echo mips-sei-seiux${UNAME_RELEASE}
|
|
+ exit ;;
|
|
+ *:DragonFly:*:*)
|
|
+ echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
|
|
+ exit ;;
|
|
+ *:*VMS:*:*)
|
|
+ UNAME_MACHINE=`(uname -p) 2>/dev/null`
|
|
+ case "${UNAME_MACHINE}" in
|
|
+ A*) echo alpha-dec-vms ; exit ;;
|
|
+ I*) echo ia64-dec-vms ; exit ;;
|
|
+ V*) echo vax-dec-vms ; exit ;;
|
|
+ esac ;;
|
|
+ *:XENIX:*:SysV)
|
|
+ echo i386-pc-xenix
|
|
+ exit ;;
|
|
+ i*86:skyos:*:*)
|
|
+ echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
|
|
+ exit ;;
|
|
+ i*86:rdos:*:*)
|
|
+ echo ${UNAME_MACHINE}-pc-rdos
|
|
+ exit ;;
|
|
+ i*86:AROS:*:*)
|
|
+ echo ${UNAME_MACHINE}-pc-aros
|
|
+ exit ;;
|
|
esac
|
|
|
|
#echo '(No uname command or uname output not recognized.)' 1>&2
|
|
@@ -1152,7 +1330,7 @@ main ()
|
|
#endif
|
|
|
|
#if defined (__arm) && defined (__acorn) && defined (__unix)
|
|
- printf ("arm-acorn-riscix"); exit (0);
|
|
+ printf ("arm-acorn-riscix\n"); exit (0);
|
|
#endif
|
|
|
|
#if defined (hp300) && !defined (hpux)
|
|
@@ -1241,12 +1419,12 @@ main ()
|
|
}
|
|
EOF
|
|
|
|
-$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm -f $dummy.c $dummy && exit 0
|
|
-rm -f $dummy.c $dummy
|
|
+$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
|
|
+ { echo "$SYSTEM_NAME"; exit; }
|
|
|
|
# Apollos put the system type in the environment.
|
|
|
|
-test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; }
|
|
+test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
|
|
|
|
# Convex versions that predate uname can use getsysinfo(1)
|
|
|
|
@@ -1255,22 +1433,22 @@ then
|
|
case `getsysinfo -f cpu_type` in
|
|
c1*)
|
|
echo c1-convex-bsd
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
c2*)
|
|
if getsysinfo -f scalar_acc
|
|
then echo c32-convex-bsd
|
|
else echo c2-convex-bsd
|
|
fi
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
c34*)
|
|
echo c34-convex-bsd
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
c38*)
|
|
echo c38-convex-bsd
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
c4*)
|
|
echo c4-convex-bsd
|
|
- exit 0 ;;
|
|
+ exit ;;
|
|
esac
|
|
fi
|
|
|
|
@@ -1281,7 +1459,9 @@ This script, last modified $timestamp, has failed to recognize
|
|
the operating system you are using. It is advised that you
|
|
download the most up to date version of the config scripts from
|
|
|
|
- ftp://ftp.gnu.org/pub/gnu/config/
|
|
+ http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
|
|
+and
|
|
+ http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
|
|
|
|
If the version you run ($0) is already up to date, please
|
|
send the following data and any information you think might be
|
|
diff --git a/config.sub b/config.sub
|
|
index f365797..2a55a50 100755
|
|
--- a/config.sub
|
|
+++ b/config.sub
|
|
@@ -1,9 +1,10 @@
|
|
#! /bin/sh
|
|
# Configuration validation subroutine script.
|
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
|
-# 2000, 2001, 2002 Free Software Foundation, Inc.
|
|
+# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
|
|
+# Free Software Foundation, Inc.
|
|
|
|
-timestamp='2002-03-07'
|
|
+timestamp='2009-11-20'
|
|
|
|
# This file is (in principle) common to ALL GNU software.
|
|
# The presence of a machine in this file suggests that SOME GNU software
|
|
@@ -21,22 +22,26 @@ timestamp='2002-03-07'
|
|
#
|
|
# 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., 59 Temple Place - Suite 330,
|
|
-# Boston, MA 02111-1307, USA.
|
|
-
|
|
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
|
|
+# 02110-1301, USA.
|
|
+#
|
|
# As a special exception to the GNU General Public License, if you
|
|
# distribute this file as part of a program that contains a
|
|
# configuration script generated by Autoconf, you may include it under
|
|
# the same distribution terms that you use for the rest of that program.
|
|
|
|
+
|
|
# Please send patches to <config-patches@gnu.org>. Submit a context
|
|
-# diff and a properly formatted ChangeLog entry.
|
|
+# diff and a properly formatted GNU ChangeLog entry.
|
|
#
|
|
# Configuration subroutine to validate and canonicalize a configuration type.
|
|
# Supply the specified configuration type as an argument.
|
|
# If it is invalid, we print an error message on stderr and exit with code 1.
|
|
# Otherwise, we print the canonical config type on stdout and succeed.
|
|
|
|
+# You can get the latest version of this script from:
|
|
+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
|
|
+
|
|
# This file is supposed to be the same for all GNU packages
|
|
# and recognize all the CPU types, system types and aliases
|
|
# that are meaningful with *any* GNU software.
|
|
@@ -70,8 +75,8 @@ Report bugs and patches to <config-patches@gnu.org>."
|
|
version="\
|
|
GNU config.sub ($timestamp)
|
|
|
|
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
|
-Free Software Foundation, Inc.
|
|
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
|
|
+2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
|
|
|
This is free software; see the source for copying conditions. There is NO
|
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
|
@@ -83,11 +88,11 @@ Try \`$me --help' for more information."
|
|
while test $# -gt 0 ; do
|
|
case $1 in
|
|
--time-stamp | --time* | -t )
|
|
- echo "$timestamp" ; exit 0 ;;
|
|
+ echo "$timestamp" ; exit ;;
|
|
--version | -v )
|
|
- echo "$version" ; exit 0 ;;
|
|
+ echo "$version" ; exit ;;
|
|
--help | --h* | -h )
|
|
- echo "$usage"; exit 0 ;;
|
|
+ echo "$usage"; exit ;;
|
|
-- ) # Stop option processing
|
|
shift; break ;;
|
|
- ) # Use stdin as input.
|
|
@@ -99,7 +104,7 @@ while test $# -gt 0 ; do
|
|
*local*)
|
|
# First pass through any local machine types.
|
|
echo $1
|
|
- exit 0;;
|
|
+ exit ;;
|
|
|
|
* )
|
|
break ;;
|
|
@@ -118,7 +123,10 @@ esac
|
|
# Here we must recognize all the valid KERNEL-OS combinations.
|
|
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
|
|
case $maybe_os in
|
|
- nto-qnx* | linux-gnu* | storm-chaos* | os2-emx* | windows32-* | rtmk-nova*)
|
|
+ nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
|
|
+ uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
|
|
+ kopensolaris*-gnu* | \
|
|
+ storm-chaos* | os2-emx* | rtmk-nova*)
|
|
os=-$maybe_os
|
|
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
|
|
;;
|
|
@@ -144,10 +152,13 @@ case $os in
|
|
-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
|
|
-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
|
|
-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
|
|
- -apple | -axis)
|
|
+ -apple | -axis | -knuth | -cray | -microblaze)
|
|
os=
|
|
basic_machine=$1
|
|
;;
|
|
+ -bluegene*)
|
|
+ os=-cnk
|
|
+ ;;
|
|
-sim | -cisco | -oki | -wec | -winbond)
|
|
os=
|
|
basic_machine=$1
|
|
@@ -169,6 +180,10 @@ case $os in
|
|
-hiux*)
|
|
os=-hiuxwe2
|
|
;;
|
|
+ -sco6)
|
|
+ os=-sco5v6
|
|
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
|
+ ;;
|
|
-sco5)
|
|
os=-sco3.2v5
|
|
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
|
@@ -185,6 +200,10 @@ case $os in
|
|
# Don't forget version if it is 3.2v4 or newer.
|
|
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
|
;;
|
|
+ -sco5v6*)
|
|
+ # Don't forget version if it is 3.2v4 or newer.
|
|
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
|
+ ;;
|
|
-sco*)
|
|
os=-sco3.2v2
|
|
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
|
@@ -228,41 +247,71 @@ case $basic_machine in
|
|
| a29k \
|
|
| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
|
|
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
|
|
- | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
|
|
+ | am33_2.0 \
|
|
+ | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
|
|
+ | bfin \
|
|
| c4x | clipper \
|
|
- | d10v | d30v | dsp16xx \
|
|
- | fr30 \
|
|
+ | d10v | d30v | dlx | dsp16xx \
|
|
+ | fido | fr30 | frv \
|
|
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
|
|
| i370 | i860 | i960 | ia64 \
|
|
- | m32r | m68000 | m68k | m88k | mcore \
|
|
- | mips | mips16 | mips64 | mips64el | mips64orion | mips64orionel \
|
|
- | mips64vr4100 | mips64vr4100el | mips64vr4300 \
|
|
- | mips64vr4300el | mips64vr5000 | mips64vr5000el \
|
|
- | mipsbe | mipseb | mipsel | mipsle | mipstx39 | mipstx39el \
|
|
- | mipsisa32 | mipsisa64 \
|
|
+ | ip2k | iq2000 \
|
|
+ | lm32 \
|
|
+ | m32c | m32r | m32rle | m68000 | m68k | m88k \
|
|
+ | maxq | mb | microblaze | mcore | mep | metag \
|
|
+ | mips | mipsbe | mipseb | mipsel | mipsle \
|
|
+ | mips16 \
|
|
+ | mips64 | mips64el \
|
|
+ | mips64octeon | mips64octeonel \
|
|
+ | mips64orion | mips64orionel \
|
|
+ | mips64r5900 | mips64r5900el \
|
|
+ | mips64vr | mips64vrel \
|
|
+ | mips64vr4100 | mips64vr4100el \
|
|
+ | mips64vr4300 | mips64vr4300el \
|
|
+ | mips64vr5000 | mips64vr5000el \
|
|
+ | mips64vr5900 | mips64vr5900el \
|
|
+ | mipsisa32 | mipsisa32el \
|
|
+ | mipsisa32r2 | mipsisa32r2el \
|
|
+ | mipsisa64 | mipsisa64el \
|
|
+ | mipsisa64r2 | mipsisa64r2el \
|
|
+ | mipsisa64sb1 | mipsisa64sb1el \
|
|
+ | mipsisa64sr71k | mipsisa64sr71kel \
|
|
+ | mipstx39 | mipstx39el \
|
|
| mn10200 | mn10300 \
|
|
+ | moxie \
|
|
+ | mt \
|
|
+ | msp430 \
|
|
+ | nios | nios2 \
|
|
| ns16k | ns32k \
|
|
- | openrisc | or32 \
|
|
+ | or32 \
|
|
| pdp10 | pdp11 | pj | pjl \
|
|
| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
|
|
| pyramid \
|
|
- | sh | sh[34] | sh[34]eb | shbe | shle | sh64 \
|
|
- | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
|
|
- | strongarm \
|
|
- | tahoe | thumb | tic80 | tron \
|
|
+ | rx \
|
|
+ | score \
|
|
+ | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
|
|
+ | sh64 | sh64le \
|
|
+ | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
|
|
+ | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
|
|
+ | spu | strongarm \
|
|
+ | tahoe | thumb | tic4x | tic80 | tron \
|
|
+ | ubicom32 \
|
|
| v850 | v850e \
|
|
| we32k \
|
|
- | x86 | xscale | xstormy16 | xtensa \
|
|
- | z8k)
|
|
+ | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
|
|
+ | z8k | z80)
|
|
basic_machine=$basic_machine-unknown
|
|
;;
|
|
- m6811 | m68hc11 | m6812 | m68hc12)
|
|
+ m6811 | m68hc11 | m6812 | m68hc12 | picochip)
|
|
# Motorola 68HC11/12.
|
|
basic_machine=$basic_machine-unknown
|
|
os=-none
|
|
;;
|
|
m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
|
|
;;
|
|
+ ms1)
|
|
+ basic_machine=mt-unknown
|
|
+ ;;
|
|
|
|
# We use `pc' rather than `unknown'
|
|
# because (1) that's what they normally are, and
|
|
@@ -281,40 +330,69 @@ case $basic_machine in
|
|
| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
|
|
| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
|
|
| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
|
|
- | arm-* | armbe-* | armle-* | armv*-* \
|
|
- | avr-* \
|
|
- | bs2000-* \
|
|
- | c[123]* | c30-* | [cjt]90-* | c54x-* \
|
|
- | clipper-* | cydra-* \
|
|
- | d10v-* | d30v-* \
|
|
+ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
|
|
+ | avr-* | avr32-* \
|
|
+ | bfin-* | bs2000-* \
|
|
+ | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
|
|
+ | clipper-* | craynv-* | cydra-* \
|
|
+ | d10v-* | d30v-* | dlx-* \
|
|
| elxsi-* \
|
|
- | f30[01]-* | f700-* | fr30-* | fx80-* \
|
|
+ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
|
|
| h8300-* | h8500-* \
|
|
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
|
|
| i*86-* | i860-* | i960-* | ia64-* \
|
|
- | m32r-* \
|
|
+ | ip2k-* | iq2000-* \
|
|
+ | lm32-* \
|
|
+ | m32c-* | m32r-* | m32rle-* \
|
|
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
|
|
- | m88110-* | m88k-* | mcore-* \
|
|
- | mips-* | mips16-* | mips64-* | mips64el-* | mips64orion-* \
|
|
- | mips64orionel-* | mips64vr4100-* | mips64vr4100el-* \
|
|
- | mips64vr4300-* | mips64vr4300el-* | mipsbe-* | mipseb-* \
|
|
- | mipsle-* | mipsel-* | mipstx39-* | mipstx39el-* \
|
|
+ | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
|
|
+ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
|
|
+ | mips16-* \
|
|
+ | mips64-* | mips64el-* \
|
|
+ | mips64octeon-* | mips64octeonel-* \
|
|
+ | mips64orion-* | mips64orionel-* \
|
|
+ | mips64r5900-* | mips64r5900el-* \
|
|
+ | mips64vr-* | mips64vrel-* \
|
|
+ | mips64vr4100-* | mips64vr4100el-* \
|
|
+ | mips64vr4300-* | mips64vr4300el-* \
|
|
+ | mips64vr5000-* | mips64vr5000el-* \
|
|
+ | mips64vr5900-* | mips64vr5900el-* \
|
|
+ | mipsisa32-* | mipsisa32el-* \
|
|
+ | mipsisa32r2-* | mipsisa32r2el-* \
|
|
+ | mipsisa64-* | mipsisa64el-* \
|
|
+ | mipsisa64r2-* | mipsisa64r2el-* \
|
|
+ | mipsisa64sb1-* | mipsisa64sb1el-* \
|
|
+ | mipsisa64sr71k-* | mipsisa64sr71kel-* \
|
|
+ | mipstx39-* | mipstx39el-* \
|
|
+ | mmix-* \
|
|
+ | mt-* \
|
|
+ | msp430-* \
|
|
+ | nios-* | nios2-* \
|
|
| none-* | np1-* | ns16k-* | ns32k-* \
|
|
| orion-* \
|
|
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
|
|
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
|
|
| pyramid-* \
|
|
- | romp-* | rs6000-* \
|
|
- | sh-* | sh[34]-* | sh[34]eb-* | shbe-* | shle-* | sh64-* \
|
|
- | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
|
|
- | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
|
|
- | tahoe-* | thumb-* | tic30-* | tic54x-* | tic80-* | tron-* \
|
|
+ | romp-* | rs6000-* | rx-* \
|
|
+ | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
|
|
+ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
|
|
+ | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
|
|
+ | sparclite-* \
|
|
+ | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
|
|
+ | tahoe-* | thumb-* \
|
|
+ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
|
|
+ | tron-* \
|
|
+ | ubicom32-* \
|
|
| v850-* | v850e-* | vax-* \
|
|
| we32k-* \
|
|
- | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
|
|
- | xtensa-* \
|
|
+ | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
|
|
+ | xstormy16-* | xtensa*-* \
|
|
| ymp-* \
|
|
- | z8k-*)
|
|
+ | z8k-* | z80-*)
|
|
+ ;;
|
|
+ # Recognize the basic CPU types without company name, with glob match.
|
|
+ xtensa*)
|
|
+ basic_machine=$basic_machine-unknown
|
|
;;
|
|
# Recognize the various machine names and aliases which stand
|
|
# for a CPU type and a company and sometimes even an OS.
|
|
@@ -332,6 +410,9 @@ case $basic_machine in
|
|
basic_machine=a29k-amd
|
|
os=-udi
|
|
;;
|
|
+ abacus)
|
|
+ basic_machine=abacus-unknown
|
|
+ ;;
|
|
adobe68k)
|
|
basic_machine=m68010-adobe
|
|
os=-scout
|
|
@@ -346,6 +427,12 @@ case $basic_machine in
|
|
basic_machine=a29k-none
|
|
os=-bsd
|
|
;;
|
|
+ amd64)
|
|
+ basic_machine=x86_64-pc
|
|
+ ;;
|
|
+ amd64-*)
|
|
+ basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
+ ;;
|
|
amdahl)
|
|
basic_machine=580-amdahl
|
|
os=-sysv
|
|
@@ -369,6 +456,10 @@ case $basic_machine in
|
|
basic_machine=m68k-apollo
|
|
os=-bsd
|
|
;;
|
|
+ aros)
|
|
+ basic_machine=i386-pc
|
|
+ os=-aros
|
|
+ ;;
|
|
aux)
|
|
basic_machine=m68k-apple
|
|
os=-aux
|
|
@@ -377,10 +468,26 @@ case $basic_machine in
|
|
basic_machine=ns32k-sequent
|
|
os=-dynix
|
|
;;
|
|
+ blackfin)
|
|
+ basic_machine=bfin-unknown
|
|
+ os=-linux
|
|
+ ;;
|
|
+ blackfin-*)
|
|
+ basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
+ os=-linux
|
|
+ ;;
|
|
+ bluegene*)
|
|
+ basic_machine=powerpc-ibm
|
|
+ os=-cnk
|
|
+ ;;
|
|
c90)
|
|
basic_machine=c90-cray
|
|
os=-unicos
|
|
;;
|
|
+ cegcc)
|
|
+ basic_machine=arm-unknown
|
|
+ os=-cegcc
|
|
+ ;;
|
|
convex-c1)
|
|
basic_machine=c1-convex
|
|
os=-bsd
|
|
@@ -405,12 +512,27 @@ case $basic_machine in
|
|
basic_machine=j90-cray
|
|
os=-unicos
|
|
;;
|
|
+ craynv)
|
|
+ basic_machine=craynv-cray
|
|
+ os=-unicosmp
|
|
+ ;;
|
|
+ cr16)
|
|
+ basic_machine=cr16-unknown
|
|
+ os=-elf
|
|
+ ;;
|
|
crds | unos)
|
|
basic_machine=m68k-crds
|
|
;;
|
|
+ crisv32 | crisv32-* | etraxfs*)
|
|
+ basic_machine=crisv32-axis
|
|
+ ;;
|
|
cris | cris-* | etrax*)
|
|
basic_machine=cris-axis
|
|
;;
|
|
+ crx)
|
|
+ basic_machine=crx-unknown
|
|
+ os=-elf
|
|
+ ;;
|
|
da30 | da30-*)
|
|
basic_machine=m68k-da30
|
|
;;
|
|
@@ -433,6 +555,14 @@ case $basic_machine in
|
|
basic_machine=m88k-motorola
|
|
os=-sysv3
|
|
;;
|
|
+ dicos)
|
|
+ basic_machine=i686-pc
|
|
+ os=-dicos
|
|
+ ;;
|
|
+ djgpp)
|
|
+ basic_machine=i586-pc
|
|
+ os=-msdosdjgpp
|
|
+ ;;
|
|
dpx20 | dpx20-*)
|
|
basic_machine=rs6000-bull
|
|
os=-bosx
|
|
@@ -583,6 +713,14 @@ case $basic_machine in
|
|
basic_machine=m68k-isi
|
|
os=-sysv
|
|
;;
|
|
+ m68knommu)
|
|
+ basic_machine=m68k-unknown
|
|
+ os=-linux
|
|
+ ;;
|
|
+ m68knommu-*)
|
|
+ basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
+ os=-linux
|
|
+ ;;
|
|
m88k-omron*)
|
|
basic_machine=m88k-omron
|
|
;;
|
|
@@ -594,10 +732,17 @@ case $basic_machine in
|
|
basic_machine=ns32k-utek
|
|
os=-sysv
|
|
;;
|
|
+ microblaze)
|
|
+ basic_machine=microblaze-xilinx
|
|
+ ;;
|
|
mingw32)
|
|
basic_machine=i386-pc
|
|
os=-mingw32
|
|
;;
|
|
+ mingw32ce)
|
|
+ basic_machine=arm-unknown
|
|
+ os=-mingw32ce
|
|
+ ;;
|
|
miniframe)
|
|
basic_machine=m68000-convergent
|
|
;;
|
|
@@ -611,10 +756,6 @@ case $basic_machine in
|
|
mips3*)
|
|
basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
|
|
;;
|
|
- mmix*)
|
|
- basic_machine=mmix-knuth
|
|
- os=-mmixware
|
|
- ;;
|
|
monitor)
|
|
basic_machine=m68k-rom68k
|
|
os=-coff
|
|
@@ -627,6 +768,9 @@ case $basic_machine in
|
|
basic_machine=i386-pc
|
|
os=-msdos
|
|
;;
|
|
+ ms1-*)
|
|
+ basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
|
|
+ ;;
|
|
mvs)
|
|
basic_machine=i370-ibm
|
|
os=-mvs
|
|
@@ -702,9 +846,12 @@ case $basic_machine in
|
|
basic_machine=hppa1.1-oki
|
|
os=-proelf
|
|
;;
|
|
- or32 | or32-*)
|
|
+ openrisc | openrisc-*)
|
|
basic_machine=or32-unknown
|
|
- os=-coff
|
|
+ ;;
|
|
+ os400)
|
|
+ basic_machine=powerpc-ibm
|
|
+ os=-os400
|
|
;;
|
|
OSE68000 | ose68000)
|
|
basic_machine=m68000-ericsson
|
|
@@ -722,55 +869,75 @@ case $basic_machine in
|
|
basic_machine=i860-intel
|
|
os=-osf
|
|
;;
|
|
+ parisc)
|
|
+ basic_machine=hppa-unknown
|
|
+ os=-linux
|
|
+ ;;
|
|
+ parisc-*)
|
|
+ basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
+ os=-linux
|
|
+ ;;
|
|
pbd)
|
|
basic_machine=sparc-tti
|
|
;;
|
|
pbb)
|
|
basic_machine=m68k-tti
|
|
;;
|
|
- pc532 | pc532-*)
|
|
+ pc532 | pc532-*)
|
|
basic_machine=ns32k-pc532
|
|
;;
|
|
+ pc98)
|
|
+ basic_machine=i386-pc
|
|
+ ;;
|
|
+ pc98-*)
|
|
+ basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
+ ;;
|
|
pentium | p5 | k5 | k6 | nexgen | viac3)
|
|
basic_machine=i586-pc
|
|
;;
|
|
- pentiumpro | p6 | 6x86 | athlon)
|
|
+ pentiumpro | p6 | 6x86 | athlon | athlon_*)
|
|
basic_machine=i686-pc
|
|
;;
|
|
- pentiumii | pentium2)
|
|
+ pentiumii | pentium2 | pentiumiii | pentium3)
|
|
basic_machine=i686-pc
|
|
;;
|
|
+ pentium4)
|
|
+ basic_machine=i786-pc
|
|
+ ;;
|
|
pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
|
|
basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
;;
|
|
pentiumpro-* | p6-* | 6x86-* | athlon-*)
|
|
basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
;;
|
|
- pentiumii-* | pentium2-*)
|
|
+ pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
|
|
basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
;;
|
|
+ pentium4-*)
|
|
+ basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
+ ;;
|
|
pn)
|
|
basic_machine=pn-gould
|
|
;;
|
|
power) basic_machine=power-ibm
|
|
;;
|
|
ppc) basic_machine=powerpc-unknown
|
|
- ;;
|
|
+ ;;
|
|
ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
;;
|
|
ppcle | powerpclittle | ppc-le | powerpc-little)
|
|
basic_machine=powerpcle-unknown
|
|
- ;;
|
|
+ ;;
|
|
ppcle-* | powerpclittle-*)
|
|
basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
;;
|
|
ppc64) basic_machine=powerpc64-unknown
|
|
- ;;
|
|
+ ;;
|
|
ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
;;
|
|
ppc64le | powerpc64little | ppc64-le | powerpc64-little)
|
|
basic_machine=powerpc64le-unknown
|
|
- ;;
|
|
+ ;;
|
|
ppc64le-* | powerpc64little-*)
|
|
basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
;;
|
|
@@ -781,6 +948,10 @@ case $basic_machine in
|
|
basic_machine=i586-unknown
|
|
os=-pw32
|
|
;;
|
|
+ rdos)
|
|
+ basic_machine=i386-pc
|
|
+ os=-rdos
|
|
+ ;;
|
|
rom68k)
|
|
basic_machine=m68k-rom68k
|
|
os=-coff
|
|
@@ -801,6 +972,20 @@ case $basic_machine in
|
|
basic_machine=a29k-amd
|
|
os=-udi
|
|
;;
|
|
+ sb1)
|
|
+ basic_machine=mipsisa64sb1-unknown
|
|
+ ;;
|
|
+ sb1el)
|
|
+ basic_machine=mipsisa64sb1el-unknown
|
|
+ ;;
|
|
+ sde)
|
|
+ basic_machine=mipsisa32-sde
|
|
+ os=-elf
|
|
+ ;;
|
|
+ sei)
|
|
+ basic_machine=mips-sei
|
|
+ os=-seiux
|
|
+ ;;
|
|
sequent)
|
|
basic_machine=i386-sequent
|
|
;;
|
|
@@ -808,6 +993,12 @@ case $basic_machine in
|
|
basic_machine=sh-hitachi
|
|
os=-hms
|
|
;;
|
|
+ sh5el)
|
|
+ basic_machine=sh5le-unknown
|
|
+ ;;
|
|
+ sh64)
|
|
+ basic_machine=sh64-unknown
|
|
+ ;;
|
|
sparclite-wrs | simso-wrs)
|
|
basic_machine=sparclite-wrs
|
|
os=-vxworks
|
|
@@ -866,7 +1057,7 @@ case $basic_machine in
|
|
sun386 | sun386i | roadrunner)
|
|
basic_machine=i386-sun
|
|
;;
|
|
- sv1)
|
|
+ sv1)
|
|
basic_machine=sv1-cray
|
|
os=-unicos
|
|
;;
|
|
@@ -874,10 +1065,6 @@ case $basic_machine in
|
|
basic_machine=i386-sequent
|
|
os=-dynix
|
|
;;
|
|
- t3d)
|
|
- basic_machine=alpha-cray
|
|
- os=-unicos
|
|
- ;;
|
|
t3e)
|
|
basic_machine=alphaev5-cray
|
|
os=-unicos
|
|
@@ -890,6 +1077,18 @@ case $basic_machine in
|
|
basic_machine=tic54x-unknown
|
|
os=-coff
|
|
;;
|
|
+ tic55x | c55x*)
|
|
+ basic_machine=tic55x-unknown
|
|
+ os=-coff
|
|
+ ;;
|
|
+ tic6x | c6x*)
|
|
+ basic_machine=tic6x-unknown
|
|
+ os=-coff
|
|
+ ;;
|
|
+ tile*)
|
|
+ basic_machine=tile-unknown
|
|
+ os=-linux-gnu
|
|
+ ;;
|
|
tx39)
|
|
basic_machine=mipstx39-unknown
|
|
;;
|
|
@@ -903,6 +1102,10 @@ case $basic_machine in
|
|
tower | tower-32)
|
|
basic_machine=m68k-ncr
|
|
;;
|
|
+ tpf)
|
|
+ basic_machine=s390x-ibm
|
|
+ os=-tpf
|
|
+ ;;
|
|
udi29k)
|
|
basic_machine=a29k-amd
|
|
os=-udi
|
|
@@ -924,8 +1127,8 @@ case $basic_machine in
|
|
os=-vms
|
|
;;
|
|
vpp*|vx|vx-*)
|
|
- basic_machine=f301-fujitsu
|
|
- ;;
|
|
+ basic_machine=f301-fujitsu
|
|
+ ;;
|
|
vxworks960)
|
|
basic_machine=i960-wrs
|
|
os=-vxworks
|
|
@@ -946,11 +1149,11 @@ case $basic_machine in
|
|
basic_machine=hppa1.1-winbond
|
|
os=-proelf
|
|
;;
|
|
- windows32)
|
|
- basic_machine=i386-pc
|
|
- os=-windows32-msvcrt
|
|
+ xbox)
|
|
+ basic_machine=i686-pc
|
|
+ os=-mingw32
|
|
;;
|
|
- xps | xps100)
|
|
+ xps | xps100)
|
|
basic_machine=xps100-honeywell
|
|
;;
|
|
ymp)
|
|
@@ -961,6 +1164,10 @@ case $basic_machine in
|
|
basic_machine=z8k-unknown
|
|
os=-sim
|
|
;;
|
|
+ z80-*-coff)
|
|
+ basic_machine=z80-unknown
|
|
+ os=-sim
|
|
+ ;;
|
|
none)
|
|
basic_machine=none-none
|
|
os=-none
|
|
@@ -980,6 +1187,9 @@ case $basic_machine in
|
|
romp)
|
|
basic_machine=romp-ibm
|
|
;;
|
|
+ mmix)
|
|
+ basic_machine=mmix-knuth
|
|
+ ;;
|
|
rs6000)
|
|
basic_machine=rs6000-ibm
|
|
;;
|
|
@@ -996,16 +1206,13 @@ case $basic_machine in
|
|
we32k)
|
|
basic_machine=we32k-att
|
|
;;
|
|
- sh3 | sh4 | sh3eb | sh4eb)
|
|
+ sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
|
|
basic_machine=sh-unknown
|
|
;;
|
|
- sh64)
|
|
- basic_machine=sh64-unknown
|
|
- ;;
|
|
- sparc | sparcv9 | sparcv9b)
|
|
+ sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
|
|
basic_machine=sparc-sun
|
|
;;
|
|
- cydra)
|
|
+ cydra)
|
|
basic_machine=cydra-cydrome
|
|
;;
|
|
orion)
|
|
@@ -1020,10 +1227,6 @@ case $basic_machine in
|
|
pmac | pmac-mpw)
|
|
basic_machine=powerpc-apple
|
|
;;
|
|
- c4x*)
|
|
- basic_machine=c4x-none
|
|
- os=-coff
|
|
- ;;
|
|
*-unknown)
|
|
# Make sure to match an already-canonicalized machine name.
|
|
;;
|
|
@@ -1053,6 +1256,9 @@ case $os in
|
|
# First match some system type aliases
|
|
# that might get confused with valid system types.
|
|
# -solaris* is a basic system type, with this one exception.
|
|
+ -auroraux)
|
|
+ os=-auroraux
|
|
+ ;;
|
|
-solaris1 | -solaris1.*)
|
|
os=`echo $os | sed -e 's|solaris1|sunos4|'`
|
|
;;
|
|
@@ -1073,24 +1279,30 @@ case $os in
|
|
# Each alternative MUST END IN A *, to match a version number.
|
|
# -sysv* is not here because it comes later, after sysvr4.
|
|
-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
|
|
- | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
|
|
- | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
|
|
+ | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
|
|
+ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
|
|
+ | -sym* | -kopensolaris* \
|
|
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
|
|
- | -aos* \
|
|
+ | -aos* | -aros* \
|
|
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
|
|
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
|
|
- | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
|
|
- | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
|
|
+ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
|
|
+ | -openbsd* | -solidbsd* \
|
|
+ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
|
|
+ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
|
|
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
|
|
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
|
|
- | -chorusos* | -chorusrdb* \
|
|
+ | -chorusos* | -chorusrdb* | -cegcc* \
|
|
| -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
|
|
- | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
|
|
- | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \
|
|
+ | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
|
|
+ | -uxpv* | -beos* | -mpeix* | -udk* \
|
|
+ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
|
|
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
|
|
| -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
|
|
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
|
|
- | -morphos* | -superux* | -rtmk* | -rtmk-nova*)
|
|
+ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
|
|
+ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
|
|
+ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
|
|
# Remember, each alternative MUST END IN *, to match a version number.
|
|
;;
|
|
-qnx*)
|
|
@@ -1102,16 +1314,21 @@ case $os in
|
|
;;
|
|
esac
|
|
;;
|
|
+ -nto-qnx*)
|
|
+ ;;
|
|
-nto*)
|
|
- os=-nto-qnx
|
|
+ os=`echo $os | sed -e 's|nto|nto-qnx|'`
|
|
;;
|
|
-sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
|
|
- | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
|
|
+ | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
|
|
| -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
|
|
;;
|
|
-mac*)
|
|
os=`echo $os | sed -e 's|mac|macos|'`
|
|
;;
|
|
+ -linux-dietlibc)
|
|
+ os=-linux-dietlibc
|
|
+ ;;
|
|
-linux*)
|
|
os=`echo $os | sed -e 's|linux|linux-gnu|'`
|
|
;;
|
|
@@ -1124,6 +1341,9 @@ case $os in
|
|
-opened*)
|
|
os=-openedition
|
|
;;
|
|
+ -os400*)
|
|
+ os=-os400
|
|
+ ;;
|
|
-wince*)
|
|
os=-wince
|
|
;;
|
|
@@ -1145,6 +1365,9 @@ case $os in
|
|
-atheos*)
|
|
os=-atheos
|
|
;;
|
|
+ -syllable*)
|
|
+ os=-syllable
|
|
+ ;;
|
|
-386bsd)
|
|
os=-bsd
|
|
;;
|
|
@@ -1155,7 +1378,7 @@ case $os in
|
|
os=-rtmk-nova
|
|
;;
|
|
-ns2 )
|
|
- os=-nextstep2
|
|
+ os=-nextstep2
|
|
;;
|
|
-nsk*)
|
|
os=-nsk
|
|
@@ -1167,6 +1390,9 @@ case $os in
|
|
-sinix*)
|
|
os=-sysv4
|
|
;;
|
|
+ -tpf*)
|
|
+ os=-tpf
|
|
+ ;;
|
|
-triton*)
|
|
os=-sysv3
|
|
;;
|
|
@@ -1194,8 +1420,20 @@ case $os in
|
|
-xenix)
|
|
os=-xenix
|
|
;;
|
|
- -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
|
|
- os=-mint
|
|
+ -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
|
|
+ os=-mint
|
|
+ ;;
|
|
+ -aros*)
|
|
+ os=-aros
|
|
+ ;;
|
|
+ -kaos*)
|
|
+ os=-kaos
|
|
+ ;;
|
|
+ -zvmoe)
|
|
+ os=-zvmoe
|
|
+ ;;
|
|
+ -dicos*)
|
|
+ os=-dicos
|
|
;;
|
|
-none)
|
|
;;
|
|
@@ -1219,6 +1457,12 @@ else
|
|
# system, and we'll never get to this point.
|
|
|
|
case $basic_machine in
|
|
+ score-*)
|
|
+ os=-elf
|
|
+ ;;
|
|
+ spu-*)
|
|
+ os=-elf
|
|
+ ;;
|
|
*-acorn)
|
|
os=-riscix1.2
|
|
;;
|
|
@@ -1228,11 +1472,14 @@ case $basic_machine in
|
|
arm*-semi)
|
|
os=-aout
|
|
;;
|
|
+ c4x-* | tic4x-*)
|
|
+ os=-coff
|
|
+ ;;
|
|
# This must come before the *-dec entry.
|
|
pdp10-*)
|
|
os=-tops20
|
|
;;
|
|
- pdp11-*)
|
|
+ pdp11-*)
|
|
os=-none
|
|
;;
|
|
*-dec | vax-*)
|
|
@@ -1253,6 +1500,9 @@ case $basic_machine in
|
|
m68*-cisco)
|
|
os=-aout
|
|
;;
|
|
+ mep-*)
|
|
+ os=-elf
|
|
+ ;;
|
|
mips*-cisco)
|
|
os=-elf
|
|
;;
|
|
@@ -1271,9 +1521,15 @@ case $basic_machine in
|
|
*-be)
|
|
os=-beos
|
|
;;
|
|
+ *-haiku)
|
|
+ os=-haiku
|
|
+ ;;
|
|
*-ibm)
|
|
os=-aix
|
|
;;
|
|
+ *-knuth)
|
|
+ os=-mmixware
|
|
+ ;;
|
|
*-wec)
|
|
os=-proelf
|
|
;;
|
|
@@ -1325,19 +1581,19 @@ case $basic_machine in
|
|
*-next)
|
|
os=-nextstep3
|
|
;;
|
|
- *-gould)
|
|
+ *-gould)
|
|
os=-sysv
|
|
;;
|
|
- *-highlevel)
|
|
+ *-highlevel)
|
|
os=-bsd
|
|
;;
|
|
*-encore)
|
|
os=-bsd
|
|
;;
|
|
- *-sgi)
|
|
+ *-sgi)
|
|
os=-irix
|
|
;;
|
|
- *-siemens)
|
|
+ *-siemens)
|
|
os=-sysv4
|
|
;;
|
|
*-masscomp)
|
|
@@ -1376,7 +1632,7 @@ case $basic_machine in
|
|
-sunos*)
|
|
vendor=sun
|
|
;;
|
|
- -aix*)
|
|
+ -cnk*|-aix*)
|
|
vendor=ibm
|
|
;;
|
|
-beos*)
|
|
@@ -1406,10 +1662,16 @@ case $basic_machine in
|
|
-mvs* | -opened*)
|
|
vendor=ibm
|
|
;;
|
|
+ -os400*)
|
|
+ vendor=ibm
|
|
+ ;;
|
|
-ptx*)
|
|
vendor=sequent
|
|
;;
|
|
- -vxsim* | -vxworks*)
|
|
+ -tpf*)
|
|
+ vendor=ibm
|
|
+ ;;
|
|
+ -vxsim* | -vxworks* | -windiss*)
|
|
vendor=wrs
|
|
;;
|
|
-aux*)
|
|
@@ -1433,7 +1695,7 @@ case $basic_machine in
|
|
esac
|
|
|
|
echo $basic_machine$os
|
|
-exit 0
|
|
+exit
|
|
|
|
# Local variables:
|
|
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
|
diff --git a/configure b/configure
|
|
index 70f97ff..a3fe2a4 100755
|
|
--- a/configure
|
|
+++ b/configure
|
|
@@ -720,6 +720,10 @@ fi
|
|
|
|
|
|
|
|
+lt_ltdl_dir='libltdl'
|
|
+
|
|
+lt_dlopen_dir="$lt_ltdl_dir"
|
|
+
|
|
exec 7<&0 </dev/null 6>&1
|
|
|
|
# Name of the host.
|
|
@@ -784,8 +788,13 @@ ac_includes_default="\
|
|
# include <unistd.h>
|
|
#endif"
|
|
|
|
+enable_option_checking=no
|
|
ac_config_libobj_dir=pub
|
|
-ac_subst_vars='LTLIBOBJS
|
|
+ac_subst_vars='ltdl_LTLIBOBJS
|
|
+ltdl_LIBOBJS
|
|
+am__EXEEXT_FALSE
|
|
+am__EXEEXT_TRUE
|
|
+LTLIBOBJS
|
|
BUILD_DOC_FALSE
|
|
BUILD_DOC_TRUE
|
|
HOSTNAME
|
|
@@ -808,6 +817,34 @@ GETLOADAVG_LIBS
|
|
KMEM_GROUP
|
|
NEED_SETGID
|
|
LIBOBJS
|
|
+YFLAGS
|
|
+YACC
|
|
+LEXLIB
|
|
+LEX_OUTPUT_ROOT
|
|
+LEX
|
|
+PTHREAD_CPPFLAGS
|
|
+PTHREAD_CFLAGS
|
|
+PTHREAD_LIBS
|
|
+PTHREAD_CC
|
|
+LTDLOPEN
|
|
+LT_CONFIG_H
|
|
+subdirs
|
|
+CONVENIENCE_LTDL_FALSE
|
|
+CONVENIENCE_LTDL_TRUE
|
|
+INSTALL_LTDL_FALSE
|
|
+INSTALL_LTDL_TRUE
|
|
+ARGZ_H
|
|
+sys_symbol_underscore
|
|
+LIBADD_DL
|
|
+LT_DLPREOPEN
|
|
+LIBADD_DLD_LINK
|
|
+LIBADD_SHL_LOAD
|
|
+LIBADD_DLOPEN
|
|
+LT_DLLOADERS
|
|
+INCLTDL
|
|
+LTDLINCL
|
|
+LTDLDEPS
|
|
+LIBLTDL
|
|
CPP
|
|
OTOOL64
|
|
OTOOL
|
|
@@ -815,6 +852,7 @@ LIPO
|
|
NMEDIT
|
|
DSYMUTIL
|
|
lt_ECHO
|
|
+RANLIB
|
|
AR
|
|
OBJDUMP
|
|
LN_S
|
|
@@ -826,17 +864,6 @@ FGREP
|
|
EGREP
|
|
GREP
|
|
SED
|
|
-LIBTOOL
|
|
-RANLIB
|
|
-YFLAGS
|
|
-YACC
|
|
-LEXLIB
|
|
-LEX_OUTPUT_ROOT
|
|
-LEX
|
|
-PTHREAD_CPPFLAGS
|
|
-PTHREAD_CFLAGS
|
|
-PTHREAD_LIBS
|
|
-PTHREAD_CC
|
|
am__fastdepCC_FALSE
|
|
am__fastdepCC_TRUE
|
|
CCDEPMODE
|
|
@@ -853,6 +880,10 @@ CPPFLAGS
|
|
LDFLAGS
|
|
CFLAGS
|
|
CC
|
|
+LIBTOOL
|
|
+MAINT
|
|
+MAINTAINER_MODE_FALSE
|
|
+MAINTAINER_MODE_TRUE
|
|
am__untar
|
|
am__tar
|
|
AMTAR
|
|
@@ -928,13 +959,18 @@ SHELL'
|
|
ac_subst_files=''
|
|
ac_user_opts='
|
|
enable_option_checking
|
|
-enable_dependency_tracking
|
|
+enable_maintainer_mode
|
|
enable_shared
|
|
enable_static
|
|
with_pic
|
|
enable_fast_install
|
|
+enable_dependency_tracking
|
|
with_gnu_ld
|
|
enable_libtool_lock
|
|
+with_included_ltdl
|
|
+with_ltdl_include
|
|
+with_ltdl_lib
|
|
+enable_ltdl_install
|
|
with_berkeleydb
|
|
with_openssl
|
|
with_pcre
|
|
@@ -951,10 +987,10 @@ CFLAGS
|
|
LDFLAGS
|
|
LIBS
|
|
CPPFLAGS
|
|
+CPP
|
|
YACC
|
|
-YFLAGS
|
|
-CPP'
|
|
-
|
|
+YFLAGS'
|
|
+ac_subdirs_all='libltdl'
|
|
|
|
# Initialize some variables set by options.
|
|
ac_init_help=
|
|
@@ -1583,13 +1619,16 @@ Optional Features:
|
|
--disable-option-checking ignore unrecognized --enable/--with options
|
|
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
|
- --disable-dependency-tracking speeds up one-time build
|
|
- --enable-dependency-tracking do not reject slow dependency extractors
|
|
- --enable-shared[=PKGS] build shared libraries [default=no]
|
|
+ --enable-maintainer-mode enable make rules and dependencies not useful
|
|
+ (and sometimes confusing) to the casual installer
|
|
+ --enable-shared[=PKGS] build shared libraries [default=yes]
|
|
--enable-static[=PKGS] build static libraries [default=yes]
|
|
--enable-fast-install[=PKGS]
|
|
optimize for fast installation [default=yes]
|
|
+ --disable-dependency-tracking speeds up one-time build
|
|
+ --enable-dependency-tracking do not reject slow dependency extractors
|
|
--disable-libtool-lock avoid locking (might break parallel builds)
|
|
+ --enable-ltdl-install install libltdl
|
|
--enable-DCE support for DCE and ACLs
|
|
--enable-selinux Enable use of the SELINUX libraries
|
|
|
|
@@ -1599,6 +1638,9 @@ Optional Packages:
|
|
--with-pic try to use only PIC/non-PIC objects [default=use
|
|
both]
|
|
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
|
|
+ --with-included-ltdl use the GNU ltdl sources included here
|
|
+ --with-ltdl-include=DIR use the ltdl headers installed in DIR
|
|
+ --with-ltdl-lib=DIR use the libltdl.la installed in DIR
|
|
--with-berkeleydb=PATH directory where BerkeleyDB exists
|
|
--with-openssl=PATH directory where OpenSSL exists
|
|
--with-pcre[=PATH] directory where Perl compatible regex exists (optionally in PATH)
|
|
@@ -1613,12 +1655,12 @@ Some influential environment variables:
|
|
LIBS libraries to pass to the linker, e.g. -l<library>
|
|
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
|
|
you have headers in a nonstandard directory <include dir>
|
|
+ CPP C preprocessor
|
|
YACC The `Yet Another C Compiler' implementation to use. Defaults to
|
|
the first program found out of: `bison -y', `byacc', `yacc'.
|
|
YFLAGS The list of arguments that will be passed by default to $YACC.
|
|
This script will default YFLAGS to the empty string to avoid a
|
|
default value of `-d' given by some make applications.
|
|
- CPP C preprocessor
|
|
|
|
Use these variables to override the choices made by `configure' or to help
|
|
it to find libraries and programs with nonstandard names/locations.
|
|
@@ -2218,7 +2260,7 @@ test -n "$target_alias" &&
|
|
program_prefix=${target_alias}-
|
|
|
|
|
|
-am__api_version='1.10'
|
|
+am__api_version='1.11'
|
|
|
|
# Find a good install program. We prefer a C program (faster),
|
|
# so one script is as good as another. But avoid the broken or
|
|
@@ -2318,16 +2360,33 @@ $as_echo_n "checking whether build environment is sane... " >&6; }
|
|
# Just in case
|
|
sleep 1
|
|
echo timestamp > conftest.file
|
|
+# Reject unsafe characters in $srcdir or the absolute working directory
|
|
+# name. Accept space and tab only in the latter.
|
|
+am_lf='
|
|
+'
|
|
+case `pwd` in
|
|
+ *[\\\"\#\$\&\'\`$am_lf]*)
|
|
+ { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
|
|
+$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
|
|
+ { (exit 1); exit 1; }; };;
|
|
+esac
|
|
+case $srcdir in
|
|
+ *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
|
|
+ { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
|
|
+$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
|
|
+ { (exit 1); exit 1; }; };;
|
|
+esac
|
|
+
|
|
# Do `set' in a subshell so we don't clobber the current shell's
|
|
# arguments. Must try -L first in case configure is actually a
|
|
# symlink; some systems play weird games with the mod time of symlinks
|
|
# (eg FreeBSD returns the mod time of the symlink's containing
|
|
# directory).
|
|
if (
|
|
- set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
|
|
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
|
|
if test "$*" = "X"; then
|
|
# -L didn't work.
|
|
- set X `ls -t $srcdir/configure conftest.file`
|
|
+ set X `ls -t "$srcdir/configure" conftest.file`
|
|
fi
|
|
rm -f conftest.file
|
|
if test "$*" != "X $srcdir/configure conftest.file" \
|
|
@@ -2371,7 +2430,14 @@ program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
|
|
# expand $ac_aux_dir to an absolute path
|
|
am_aux_dir=`cd $ac_aux_dir && pwd`
|
|
|
|
-test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
|
|
+if test x"${MISSING+set}" != xset; then
|
|
+ case $am_aux_dir in
|
|
+ *\ * | *\ *)
|
|
+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
|
|
+ *)
|
|
+ MISSING="\${SHELL} $am_aux_dir/missing" ;;
|
|
+ esac
|
|
+fi
|
|
# Use eval to expand $SHELL
|
|
if eval "$MISSING --run true"; then
|
|
am_missing_run="$MISSING --run "
|
|
@@ -2381,6 +2447,115 @@ else
|
|
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
|
|
fi
|
|
|
|
+if test x"${install_sh}" != xset; then
|
|
+ case $am_aux_dir in
|
|
+ *\ * | *\ *)
|
|
+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
|
|
+ *)
|
|
+ install_sh="\${SHELL} $am_aux_dir/install-sh"
|
|
+ esac
|
|
+fi
|
|
+
|
|
+# Installed binaries are usually stripped using `strip' when the user
|
|
+# run `make install-strip'. However `strip' might not be the right
|
|
+# tool to use in cross-compilation environments, therefore Automake
|
|
+# will honor the `STRIP' environment variable to overrule this program.
|
|
+if test "$cross_compiling" != no; then
|
|
+ if test -n "$ac_tool_prefix"; then
|
|
+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
|
+set dummy ${ac_tool_prefix}strip; ac_word=$2
|
|
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
+$as_echo_n "checking for $ac_word... " >&6; }
|
|
+if test "${ac_cv_prog_STRIP+set}" = set; then
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+ if test -n "$STRIP"; then
|
|
+ ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
|
+else
|
|
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
+for as_dir in $PATH
|
|
+do
|
|
+ IFS=$as_save_IFS
|
|
+ test -z "$as_dir" && as_dir=.
|
|
+ for ac_exec_ext in '' $ac_executable_extensions; do
|
|
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
|
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
+ break 2
|
|
+ fi
|
|
+done
|
|
+done
|
|
+IFS=$as_save_IFS
|
|
+
|
|
+fi
|
|
+fi
|
|
+STRIP=$ac_cv_prog_STRIP
|
|
+if test -n "$STRIP"; then
|
|
+ { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
|
|
+$as_echo "$STRIP" >&6; }
|
|
+else
|
|
+ { $as_echo "$as_me:$LINENO: result: no" >&5
|
|
+$as_echo "no" >&6; }
|
|
+fi
|
|
+
|
|
+
|
|
+fi
|
|
+if test -z "$ac_cv_prog_STRIP"; then
|
|
+ ac_ct_STRIP=$STRIP
|
|
+ # Extract the first word of "strip", so it can be a program name with args.
|
|
+set dummy strip; ac_word=$2
|
|
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
+$as_echo_n "checking for $ac_word... " >&6; }
|
|
+if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+ if test -n "$ac_ct_STRIP"; then
|
|
+ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
|
|
+else
|
|
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
+for as_dir in $PATH
|
|
+do
|
|
+ IFS=$as_save_IFS
|
|
+ test -z "$as_dir" && as_dir=.
|
|
+ for ac_exec_ext in '' $ac_executable_extensions; do
|
|
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ ac_cv_prog_ac_ct_STRIP="strip"
|
|
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
+ break 2
|
|
+ fi
|
|
+done
|
|
+done
|
|
+IFS=$as_save_IFS
|
|
+
|
|
+fi
|
|
+fi
|
|
+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
|
+if test -n "$ac_ct_STRIP"; then
|
|
+ { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
|
|
+$as_echo "$ac_ct_STRIP" >&6; }
|
|
+else
|
|
+ { $as_echo "$as_me:$LINENO: result: no" >&5
|
|
+$as_echo "no" >&6; }
|
|
+fi
|
|
+
|
|
+ if test "x$ac_ct_STRIP" = x; then
|
|
+ STRIP=":"
|
|
+ else
|
|
+ case $cross_compiling:$ac_tool_warned in
|
|
+yes:)
|
|
+{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
+ac_tool_warned=yes ;;
|
|
+esac
|
|
+ STRIP=$ac_ct_STRIP
|
|
+ fi
|
|
+else
|
|
+ STRIP="$ac_cv_prog_STRIP"
|
|
+fi
|
|
+
|
|
+fi
|
|
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
|
+
|
|
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
|
|
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
|
|
if test -z "$MKDIR_P"; then
|
|
@@ -2563,149 +2738,69 @@ AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
|
|
|
|
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
|
|
|
|
-install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
|
|
+# We need awk for the "check" target. The system "awk" is bad on
|
|
+# some platforms.
|
|
+# Always define AMTAR for backward compatibility.
|
|
|
|
-# Installed binaries are usually stripped using `strip' when the user
|
|
-# run `make install-strip'. However `strip' might not be the right
|
|
-# tool to use in cross-compilation environments, therefore Automake
|
|
-# will honor the `STRIP' environment variable to overrule this program.
|
|
-if test "$cross_compiling" != no; then
|
|
- if test -n "$ac_tool_prefix"; then
|
|
- # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
|
-set dummy ${ac_tool_prefix}strip; ac_word=$2
|
|
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
-$as_echo_n "checking for $ac_word... " >&6; }
|
|
-if test "${ac_cv_prog_STRIP+set}" = set; then
|
|
- $as_echo_n "(cached) " >&6
|
|
-else
|
|
- if test -n "$STRIP"; then
|
|
- ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
|
-else
|
|
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
-for as_dir in $PATH
|
|
-do
|
|
- IFS=$as_save_IFS
|
|
- test -z "$as_dir" && as_dir=.
|
|
- for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
- ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
|
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
- break 2
|
|
- fi
|
|
-done
|
|
-done
|
|
-IFS=$as_save_IFS
|
|
+AMTAR=${AMTAR-"${am_missing_run}tar"}
|
|
|
|
-fi
|
|
-fi
|
|
-STRIP=$ac_cv_prog_STRIP
|
|
-if test -n "$STRIP"; then
|
|
- { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
|
|
-$as_echo "$STRIP" >&6; }
|
|
-else
|
|
- { $as_echo "$as_me:$LINENO: result: no" >&5
|
|
-$as_echo "no" >&6; }
|
|
-fi
|
|
+am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
|
|
|
|
|
|
-fi
|
|
-if test -z "$ac_cv_prog_STRIP"; then
|
|
- ac_ct_STRIP=$STRIP
|
|
- # Extract the first word of "strip", so it can be a program name with args.
|
|
-set dummy strip; ac_word=$2
|
|
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
-$as_echo_n "checking for $ac_word... " >&6; }
|
|
-if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
|
|
- $as_echo_n "(cached) " >&6
|
|
-else
|
|
- if test -n "$ac_ct_STRIP"; then
|
|
- ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
|
|
-else
|
|
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
-for as_dir in $PATH
|
|
-do
|
|
- IFS=$as_save_IFS
|
|
- test -z "$as_dir" && as_dir=.
|
|
- for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
- ac_cv_prog_ac_ct_STRIP="strip"
|
|
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
- break 2
|
|
- fi
|
|
-done
|
|
-done
|
|
-IFS=$as_save_IFS
|
|
|
|
-fi
|
|
-fi
|
|
-ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
|
-if test -n "$ac_ct_STRIP"; then
|
|
- { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
|
|
-$as_echo "$ac_ct_STRIP" >&6; }
|
|
+
|
|
+
|
|
+{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
|
|
+$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
|
|
+ # Check whether --enable-maintainer-mode was given.
|
|
+if test "${enable_maintainer_mode+set}" = set; then
|
|
+ enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
|
|
else
|
|
- { $as_echo "$as_me:$LINENO: result: no" >&5
|
|
-$as_echo "no" >&6; }
|
|
+ USE_MAINTAINER_MODE=no
|
|
fi
|
|
|
|
- if test "x$ac_ct_STRIP" = x; then
|
|
- STRIP=":"
|
|
- else
|
|
- case $cross_compiling:$ac_tool_warned in
|
|
-yes:)
|
|
-{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
-ac_tool_warned=yes ;;
|
|
-esac
|
|
- STRIP=$ac_ct_STRIP
|
|
- fi
|
|
+ { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
|
|
+$as_echo "$USE_MAINTAINER_MODE" >&6; }
|
|
+ if test $USE_MAINTAINER_MODE = yes; then
|
|
+ MAINTAINER_MODE_TRUE=
|
|
+ MAINTAINER_MODE_FALSE='#'
|
|
else
|
|
- STRIP="$ac_cv_prog_STRIP"
|
|
+ MAINTAINER_MODE_TRUE='#'
|
|
+ MAINTAINER_MODE_FALSE=
|
|
fi
|
|
|
|
-fi
|
|
-INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
|
+ MAINT=$MAINTAINER_MODE_TRUE
|
|
+
|
|
+
|
|
+
|
|
+ac_config_headers="$ac_config_headers src/conf.h"
|
|
+
|
|
+
|
|
+
|
|
+case `pwd` in
|
|
+ *\ * | *\ *)
|
|
+ { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
|
|
+$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
|
|
+esac
|
|
+
|
|
+
|
|
+
|
|
+macro_version='2.2.6b'
|
|
+macro_revision='1.3017'
|
|
|
|
-# We need awk for the "check" target. The system "awk" is bad on
|
|
-# some platforms.
|
|
-# Always define AMTAR for backward compatibility.
|
|
|
|
-AMTAR=${AMTAR-"${am_missing_run}tar"}
|
|
|
|
-am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
|
|
|
|
|
|
|
|
|
|
|
|
-ac_config_headers="$ac_config_headers src/conf.h"
|
|
|
|
|
|
-#
|
|
-# Add to the default list of places in LDFLAGS to compensate for
|
|
-# ... the configure default value of LIBS on some systems
|
|
-#
|
|
-for x in /usr/lib64 /usr/local/gnu/lib /usr/local/gnulib /opt/dce/lib /sw/lib
|
|
-do
|
|
- if test -d "$x"; then
|
|
- y=`expr " $LDFLAGS " : ".* -L$x "`
|
|
- if test $y -eq 0; then
|
|
- LDFLAGS="$LDFLAGS -L$x"
|
|
- fi
|
|
- fi
|
|
-done
|
|
|
|
-#
|
|
-# Add to the default list of places in CPPFLAGS to match LDFLAGS above
|
|
-#
|
|
-for x in /usr/local/gnu/include /opt/dce/include /sw/include
|
|
-do
|
|
- if test -d "$x"; then
|
|
- y=`expr " $CPPFLAGS " : ".* -I$x "`
|
|
- if test $y -eq 0; then
|
|
- CPPFLAGS="$CPPFLAGS -I$x"
|
|
- fi
|
|
- fi
|
|
-done
|
|
+
|
|
+
|
|
+ltmain="$ac_aux_dir/ltmain.sh"
|
|
|
|
DEPDIR="${am__leading_dot}deps"
|
|
|
|
@@ -2715,7 +2810,7 @@ ac_config_commands="$ac_config_commands depfiles"
|
|
am_make=${MAKE-make}
|
|
cat > confinc << 'END'
|
|
am__doit:
|
|
- @echo done
|
|
+ @echo this is the am__doit target
|
|
.PHONY: am__doit
|
|
END
|
|
# If we don't find an include directive, just comment out the code.
|
|
@@ -2726,24 +2821,24 @@ am__quote=
|
|
_am_result=none
|
|
# First try GNU make style include.
|
|
echo "include confinc" > confmf
|
|
-# We grep out `Entering directory' and `Leaving directory'
|
|
-# messages which can occur if `w' ends up in MAKEFLAGS.
|
|
-# In particular we don't look at `^make:' because GNU make might
|
|
-# be invoked under some other name (usually "gmake"), in which
|
|
-# case it prints its new name instead of `make'.
|
|
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
|
|
- am__include=include
|
|
- am__quote=
|
|
- _am_result=GNU
|
|
-fi
|
|
+# Ignore all kinds of additional output from `make'.
|
|
+case `$am_make -s -f confmf 2> /dev/null` in #(
|
|
+*the\ am__doit\ target*)
|
|
+ am__include=include
|
|
+ am__quote=
|
|
+ _am_result=GNU
|
|
+ ;;
|
|
+esac
|
|
# Now try BSD make style include.
|
|
if test "$am__include" = "#"; then
|
|
echo '.include "confinc"' > confmf
|
|
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
|
|
- am__include=.include
|
|
- am__quote="\""
|
|
- _am_result=BSD
|
|
- fi
|
|
+ case `$am_make -s -f confmf 2> /dev/null` in #(
|
|
+ *the\ am__doit\ target*)
|
|
+ am__include=.include
|
|
+ am__quote="\""
|
|
+ _am_result=BSD
|
|
+ ;;
|
|
+ esac
|
|
fi
|
|
|
|
|
|
@@ -3732,6 +3827,11 @@ else
|
|
if test "$am_compiler_list" = ""; then
|
|
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
|
|
fi
|
|
+ am__universal=false
|
|
+ case " $depcc " in #(
|
|
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
|
|
+ esac
|
|
+
|
|
for depmode in $am_compiler_list; do
|
|
# Setup a source with many dependencies, because some compilers
|
|
# like to wrap large dependency lists on column 80 (with \), and
|
|
@@ -3749,1256 +3849,17 @@ else
|
|
done
|
|
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
|
|
|
|
- case $depmode in
|
|
- nosideeffect)
|
|
- # after this tag, mechanisms are not by side-effect, so they'll
|
|
- # only be used when explicitly requested
|
|
- if test "x$enable_dependency_tracking" = xyes; then
|
|
- continue
|
|
- else
|
|
- break
|
|
- fi
|
|
- ;;
|
|
- none) break ;;
|
|
- esac
|
|
# We check with `-c' and `-o' for the sake of the "dashmstdout"
|
|
# mode. It turns out that the SunPro C++ compiler does not properly
|
|
- # handle `-M -o', and we need to detect this.
|
|
- if depmode=$depmode \
|
|
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
|
|
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
|
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
|
|
- >/dev/null 2>conftest.err &&
|
|
- grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
|
|
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
|
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
|
|
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
|
- # icc doesn't choke on unknown options, it will just issue warnings
|
|
- # or remarks (even with -Werror). So we grep stderr for any message
|
|
- # that says an option was ignored or not supported.
|
|
- # When given -MP, icc 7.0 and 7.1 complain thusly:
|
|
- # icc: Command line warning: ignoring option '-M'; no argument required
|
|
- # The diagnosis changed in icc 8.0:
|
|
- # icc: Command line remark: option '-MP' not supported
|
|
- if (grep 'ignoring option' conftest.err ||
|
|
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
|
|
- am_cv_CC_dependencies_compiler_type=$depmode
|
|
- break
|
|
- fi
|
|
- fi
|
|
- done
|
|
-
|
|
- cd ..
|
|
- rm -rf conftest.dir
|
|
-else
|
|
- am_cv_CC_dependencies_compiler_type=none
|
|
-fi
|
|
-
|
|
-fi
|
|
-{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
|
|
-$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
|
|
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
|
|
-
|
|
- if
|
|
- test "x$enable_dependency_tracking" != xno \
|
|
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
|
|
- am__fastdepCC_TRUE=
|
|
- am__fastdepCC_FALSE='#'
|
|
-else
|
|
- am__fastdepCC_TRUE='#'
|
|
- am__fastdepCC_FALSE=
|
|
-fi
|
|
-
|
|
-
|
|
-
|
|
-
|
|
-
|
|
-
|
|
-ac_ext=c
|
|
-ac_cpp='$CPP $CPPFLAGS'
|
|
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
-
|
|
-acx_pthread_ok=no
|
|
-
|
|
-# We used to check for pthread.h first, but this fails if pthread.h
|
|
-# requires special compiler flags (e.g. on True64 or Sequent).
|
|
-# It gets checked for in the link test anyway.
|
|
-
|
|
-# First of all, check if the user has set any of the PTHREAD_LIBS,
|
|
-# etcetera environment variables, and if threads linking works using
|
|
-# them:
|
|
-if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS$PTHREAD_CPPFLAGS" != x; then
|
|
- save_CFLAGS="$CFLAGS"
|
|
- CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
|
|
- save_CPPFLAGS="$CPPFLAGS"
|
|
- CPPFLAGS="$CPPFLAGS $PTHREAD_CPPFLAGS"
|
|
- save_LIBS="$LIBS"
|
|
- LIBS="$PTHREAD_LIBS $LIBS"
|
|
- { $as_echo "$as_me:$LINENO: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
|
|
-$as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
|
|
- cat >conftest.$ac_ext <<_ACEOF
|
|
-/* confdefs.h. */
|
|
-_ACEOF
|
|
-cat confdefs.h >>conftest.$ac_ext
|
|
-cat >>conftest.$ac_ext <<_ACEOF
|
|
-/* end confdefs.h. */
|
|
-
|
|
-/* Override any GCC internal prototype to avoid an error.
|
|
- Use char because int might match the return type of a GCC
|
|
- builtin and then its argument prototype would still apply. */
|
|
-#ifdef __cplusplus
|
|
-extern "C"
|
|
-#endif
|
|
-char pthread_join ();
|
|
-int
|
|
-main ()
|
|
-{
|
|
-return pthread_join ();
|
|
- ;
|
|
- return 0;
|
|
-}
|
|
-_ACEOF
|
|
-rm -f conftest.$ac_objext conftest$ac_exeext
|
|
-if { (ac_try="$ac_link"
|
|
-case "(($ac_try" in
|
|
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
- *) ac_try_echo=$ac_try;;
|
|
-esac
|
|
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
-$as_echo "$ac_try_echo") >&5
|
|
- (eval "$ac_link") 2>conftest.er1
|
|
- ac_status=$?
|
|
- grep -v '^ *+' conftest.er1 >conftest.err
|
|
- rm -f conftest.er1
|
|
- cat conftest.err >&5
|
|
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
- (exit $ac_status); } && {
|
|
- test -z "$ac_c_werror_flag" ||
|
|
- test ! -s conftest.err
|
|
- } && test -s conftest$ac_exeext && {
|
|
- test "$cross_compiling" = yes ||
|
|
- $as_test_x conftest$ac_exeext
|
|
- }; then
|
|
- acx_pthread_ok=yes
|
|
-else
|
|
- $as_echo "$as_me: failed program was:" >&5
|
|
-sed 's/^/| /' conftest.$ac_ext >&5
|
|
-
|
|
-
|
|
-fi
|
|
-
|
|
-rm -rf conftest.dSYM
|
|
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
- conftest$ac_exeext conftest.$ac_ext
|
|
- { $as_echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
|
|
-$as_echo "$acx_pthread_ok" >&6; }
|
|
- if test x"$acx_pthread_ok" = xno; then
|
|
- PTHREAD_LIBS=""
|
|
- PTHREAD_CFLAGS=""
|
|
- fi
|
|
- LIBS="$save_LIBS"
|
|
- CFLAGS="$save_CFLAGS"
|
|
- CPPFLAGS="$save_CPPFLAGS"
|
|
-fi
|
|
-
|
|
-# We must check for the threads library under a number of different
|
|
-# names; the ordering is very important because some systems
|
|
-# (e.g. DEC) have both -lpthread and -lpthreads, where one of the
|
|
-# libraries is broken (non-POSIX).
|
|
-
|
|
-# Create a list of thread flags to try. Items starting with a "-" are
|
|
-# C compiler flags, and other items are library names, except for "none"
|
|
-# which indicates that we try without any flags at all.
|
|
-
|
|
-acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt"
|
|
-
|
|
-# The ordering *is* (sometimes) important. Some notes on the
|
|
-# individual items follow:
|
|
-
|
|
-# pthreads: AIX (must check this before -lpthread)
|
|
-# none: in case threads are in libc; should be tried before -Kthread and
|
|
-# other compiler flags to prevent continual compiler warnings
|
|
-# -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
|
|
-# -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
|
|
-# lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
|
|
-# -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
|
|
-# -pthreads: Solaris/gcc
|
|
-# -mthreads: Mingw32/gcc, Lynx/gcc
|
|
-# -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
|
|
-# doesn't hurt to check since this sometimes defines pthreads too;
|
|
-# also defines -D_REENTRANT)
|
|
-# pthread: Linux, etcetera
|
|
-# --thread-safe: KAI C++
|
|
-
|
|
-case "${host_cpu}-${host_os}" in
|
|
- *solaris*)
|
|
-
|
|
- # On Solaris (at least, for some versions), libc contains stubbed
|
|
- # (non-functional) versions of the pthreads routines, so link-based
|
|
- # tests will erroneously succeed. (We need to link with -pthread or
|
|
- # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
|
|
- # a function called by this macro, so we could check for that, but
|
|
- # who knows whether they'll stub that too in a future libc.) So,
|
|
- # we'll just look for -pthreads and -lpthread first:
|
|
-
|
|
- acx_pthread_flags="-pthread -pthreads pthread -mt $acx_pthread_flags"
|
|
- ;;
|
|
-esac
|
|
-
|
|
-if test x"$acx_pthread_ok" = xno; then
|
|
-for flag in $acx_pthread_flags; do
|
|
-
|
|
- case $flag in
|
|
- none)
|
|
- { $as_echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
|
|
-$as_echo_n "checking whether pthreads work without any flags... " >&6; }
|
|
- ;;
|
|
-
|
|
- -*)
|
|
- { $as_echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
|
|
-$as_echo_n "checking whether pthreads work with $flag... " >&6; }
|
|
- PTHREAD_CFLAGS="$flag"
|
|
- PTHREAD_CPPFLAGS="$flag"
|
|
- ;;
|
|
-
|
|
- *)
|
|
- { $as_echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
|
|
-$as_echo_n "checking for the pthreads library -l$flag... " >&6; }
|
|
- PTHREAD_LIBS="-l$flag"
|
|
- ;;
|
|
- esac
|
|
-
|
|
- save_LIBS="$LIBS"
|
|
- save_CFLAGS="$CFLAGS"
|
|
- save_CPPFLAGS="$CPPFLAGS"
|
|
- LIBS="$PTHREAD_LIBS $LIBS"
|
|
- CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
|
|
- CPPFLAGS="$CFLAGS $PTHREAD_CPPFLAGS"
|
|
-
|
|
- # Check for various functions. We must include pthread.h,
|
|
- # since some functions may be macros. (On the Sequent, we
|
|
- # need a special flag -Kthread to make this header compile.)
|
|
- # We check for pthread_join because it is in -lpthread on IRIX
|
|
- # while pthread_create is in libc. We check for pthread_attr_init
|
|
- # due to DEC craziness with -lpthreads. We check for
|
|
- # pthread_cleanup_push because it is one of the few pthread
|
|
- # functions on Solaris that doesn't have a non-functional libc stub.
|
|
- # We try pthread_create on general principles.
|
|
- cat >conftest.$ac_ext <<_ACEOF
|
|
-/* confdefs.h. */
|
|
-_ACEOF
|
|
-cat confdefs.h >>conftest.$ac_ext
|
|
-cat >>conftest.$ac_ext <<_ACEOF
|
|
-/* end confdefs.h. */
|
|
-#include <pthread.h>
|
|
-int
|
|
-main ()
|
|
-{
|
|
-pthread_t th; pthread_join(th, 0);
|
|
- pthread_attr_init(0); pthread_cleanup_push(0, 0);
|
|
- pthread_create(0,0,0,0); pthread_cleanup_pop(0);
|
|
- ;
|
|
- return 0;
|
|
-}
|
|
-_ACEOF
|
|
-rm -f conftest.$ac_objext conftest$ac_exeext
|
|
-if { (ac_try="$ac_link"
|
|
-case "(($ac_try" in
|
|
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
- *) ac_try_echo=$ac_try;;
|
|
-esac
|
|
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
-$as_echo "$ac_try_echo") >&5
|
|
- (eval "$ac_link") 2>conftest.er1
|
|
- ac_status=$?
|
|
- grep -v '^ *+' conftest.er1 >conftest.err
|
|
- rm -f conftest.er1
|
|
- cat conftest.err >&5
|
|
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
- (exit $ac_status); } && {
|
|
- test -z "$ac_c_werror_flag" ||
|
|
- test ! -s conftest.err
|
|
- } && test -s conftest$ac_exeext && {
|
|
- test "$cross_compiling" = yes ||
|
|
- $as_test_x conftest$ac_exeext
|
|
- }; then
|
|
- acx_pthread_ok=yes
|
|
-else
|
|
- $as_echo "$as_me: failed program was:" >&5
|
|
-sed 's/^/| /' conftest.$ac_ext >&5
|
|
-
|
|
-
|
|
-fi
|
|
-
|
|
-rm -rf conftest.dSYM
|
|
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
- conftest$ac_exeext conftest.$ac_ext
|
|
-
|
|
- LIBS="$save_LIBS"
|
|
- CFLAGS="$save_CFLAGS"
|
|
- CPPFLAGS="$save_CPPFLAGS"
|
|
-
|
|
- { $as_echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
|
|
-$as_echo "$acx_pthread_ok" >&6; }
|
|
- if test "x$acx_pthread_ok" = xyes; then
|
|
- break;
|
|
- fi
|
|
-
|
|
- PTHREAD_LIBS=""
|
|
- PTHREAD_CFLAGS=""
|
|
- PTHREAD_CPPFLAGS=""
|
|
-done
|
|
-fi
|
|
-
|
|
-# Various other checks:
|
|
-if test "x$acx_pthread_ok" = xyes; then
|
|
- save_LIBS="$LIBS"
|
|
- LIBS="$PTHREAD_LIBS $LIBS"
|
|
- save_CFLAGS="$CFLAGS"
|
|
- CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
|
|
- save_CPPFLAGS="$CPPFLAGS"
|
|
- CPPFLAGS="$CFLAGS $PTHREAD_CPPFLAGS"
|
|
-
|
|
- # Detect AIX lossage: threads are created detached by default
|
|
- # and the JOINABLE attribute has a nonstandard name (UNDETACHED).
|
|
- { $as_echo "$as_me:$LINENO: checking for joinable pthread attribute" >&5
|
|
-$as_echo_n "checking for joinable pthread attribute... " >&6; }
|
|
- cat >conftest.$ac_ext <<_ACEOF
|
|
-/* confdefs.h. */
|
|
-_ACEOF
|
|
-cat confdefs.h >>conftest.$ac_ext
|
|
-cat >>conftest.$ac_ext <<_ACEOF
|
|
-/* end confdefs.h. */
|
|
-#include <pthread.h>
|
|
-int
|
|
-main ()
|
|
-{
|
|
-int attr=PTHREAD_CREATE_JOINABLE;
|
|
- ;
|
|
- return 0;
|
|
-}
|
|
-_ACEOF
|
|
-rm -f conftest.$ac_objext conftest$ac_exeext
|
|
-if { (ac_try="$ac_link"
|
|
-case "(($ac_try" in
|
|
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
- *) ac_try_echo=$ac_try;;
|
|
-esac
|
|
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
-$as_echo "$ac_try_echo") >&5
|
|
- (eval "$ac_link") 2>conftest.er1
|
|
- ac_status=$?
|
|
- grep -v '^ *+' conftest.er1 >conftest.err
|
|
- rm -f conftest.er1
|
|
- cat conftest.err >&5
|
|
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
- (exit $ac_status); } && {
|
|
- test -z "$ac_c_werror_flag" ||
|
|
- test ! -s conftest.err
|
|
- } && test -s conftest$ac_exeext && {
|
|
- test "$cross_compiling" = yes ||
|
|
- $as_test_x conftest$ac_exeext
|
|
- }; then
|
|
- ok=PTHREAD_CREATE_JOINABLE
|
|
-else
|
|
- $as_echo "$as_me: failed program was:" >&5
|
|
-sed 's/^/| /' conftest.$ac_ext >&5
|
|
-
|
|
- ok=unknown
|
|
-fi
|
|
-
|
|
-rm -rf conftest.dSYM
|
|
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
- conftest$ac_exeext conftest.$ac_ext
|
|
- if test x"$ok" = xunknown; then
|
|
- cat >conftest.$ac_ext <<_ACEOF
|
|
-/* confdefs.h. */
|
|
-_ACEOF
|
|
-cat confdefs.h >>conftest.$ac_ext
|
|
-cat >>conftest.$ac_ext <<_ACEOF
|
|
-/* end confdefs.h. */
|
|
-#include <pthread.h>
|
|
-int
|
|
-main ()
|
|
-{
|
|
-int attr=PTHREAD_CREATE_UNDETACHED;
|
|
- ;
|
|
- return 0;
|
|
-}
|
|
-_ACEOF
|
|
-rm -f conftest.$ac_objext conftest$ac_exeext
|
|
-if { (ac_try="$ac_link"
|
|
-case "(($ac_try" in
|
|
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
- *) ac_try_echo=$ac_try;;
|
|
-esac
|
|
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
-$as_echo "$ac_try_echo") >&5
|
|
- (eval "$ac_link") 2>conftest.er1
|
|
- ac_status=$?
|
|
- grep -v '^ *+' conftest.er1 >conftest.err
|
|
- rm -f conftest.er1
|
|
- cat conftest.err >&5
|
|
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
- (exit $ac_status); } && {
|
|
- test -z "$ac_c_werror_flag" ||
|
|
- test ! -s conftest.err
|
|
- } && test -s conftest$ac_exeext && {
|
|
- test "$cross_compiling" = yes ||
|
|
- $as_test_x conftest$ac_exeext
|
|
- }; then
|
|
- ok=PTHREAD_CREATE_UNDETACHED
|
|
-else
|
|
- $as_echo "$as_me: failed program was:" >&5
|
|
-sed 's/^/| /' conftest.$ac_ext >&5
|
|
-
|
|
- ok=unknown
|
|
-fi
|
|
-
|
|
-rm -rf conftest.dSYM
|
|
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
- conftest$ac_exeext conftest.$ac_ext
|
|
- fi
|
|
- if test x"$ok" != xPTHREAD_CREATE_JOINABLE; then
|
|
-
|
|
-cat >>confdefs.h <<\_ACEOF
|
|
-#define PTHREAD_CREATE_JOINABLE $ok
|
|
-_ACEOF
|
|
-
|
|
- fi
|
|
- { $as_echo "$as_me:$LINENO: result: ${ok}" >&5
|
|
-$as_echo "${ok}" >&6; }
|
|
- if test x"$ok" = xunknown; then
|
|
- { $as_echo "$as_me:$LINENO: WARNING: we do not know how to create joinable pthreads" >&5
|
|
-$as_echo "$as_me: WARNING: we do not know how to create joinable pthreads" >&2;}
|
|
- fi
|
|
-
|
|
- { $as_echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
|
|
-$as_echo_n "checking if more special flags are required for pthreads... " >&6; }
|
|
- flag=no
|
|
- case "${host_cpu}-${host_os}" in
|
|
- *-aix* | *-freebsd*) flag="-D_THREAD_SAFE";;
|
|
- # -D_REENTRANT is actually implied by -pthread in Tru64 5.1,
|
|
- # at least.
|
|
- *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
|
|
- esac
|
|
- { $as_echo "$as_me:$LINENO: result: ${flag}" >&5
|
|
-$as_echo "${flag}" >&6; }
|
|
- if test "x$flag" != xno; then
|
|
- PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
|
|
- PTHREAD_CPPFLAGS="$flag $PTHREAD_CPPFLAGS"
|
|
- fi
|
|
-
|
|
- LIBS="$save_LIBS"
|
|
- CFLAGS="$save_CFLAGS"
|
|
- CPPFLAGS="$save_CPPFLAGS"
|
|
-
|
|
- # More AIX lossage: must compile with cc_r
|
|
- # Extract the first word of "cc_r", so it can be a program name with args.
|
|
-set dummy cc_r; ac_word=$2
|
|
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
-$as_echo_n "checking for $ac_word... " >&6; }
|
|
-if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then
|
|
- $as_echo_n "(cached) " >&6
|
|
-else
|
|
- if test -n "$PTHREAD_CC"; then
|
|
- ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
|
|
-else
|
|
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
-for as_dir in $PATH
|
|
-do
|
|
- IFS=$as_save_IFS
|
|
- test -z "$as_dir" && as_dir=.
|
|
- for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
- ac_cv_prog_PTHREAD_CC="cc_r"
|
|
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
- break 2
|
|
- fi
|
|
-done
|
|
-done
|
|
-IFS=$as_save_IFS
|
|
-
|
|
- test -z "$ac_cv_prog_PTHREAD_CC" && ac_cv_prog_PTHREAD_CC="${CC}"
|
|
-fi
|
|
-fi
|
|
-PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
|
|
-if test -n "$PTHREAD_CC"; then
|
|
- { $as_echo "$as_me:$LINENO: result: $PTHREAD_CC" >&5
|
|
-$as_echo "$PTHREAD_CC" >&6; }
|
|
-else
|
|
- { $as_echo "$as_me:$LINENO: result: no" >&5
|
|
-$as_echo "no" >&6; }
|
|
-fi
|
|
-
|
|
-
|
|
-else
|
|
- PTHREAD_CC="$CC"
|
|
-fi
|
|
-
|
|
-
|
|
-
|
|
-
|
|
-
|
|
-
|
|
-# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
|
|
-if test x"$acx_pthread_ok" = xyes; then
|
|
-
|
|
-cat >>confdefs.h <<\_ACEOF
|
|
-#define HAVE_PTHREAD 1
|
|
-_ACEOF
|
|
-
|
|
- :
|
|
-else
|
|
- acx_pthread_ok=no
|
|
-
|
|
-fi
|
|
-ac_ext=c
|
|
-ac_cpp='$CPP $CPPFLAGS'
|
|
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
-
|
|
-
|
|
-CC=$PTHREAD_CC
|
|
-CFLAGS="$PTHREAD_CFLAGS $CFLAGS"
|
|
-CPPFLAGS="$PTHREAD_CPPFLAGS $CPPFLAGS"
|
|
-LDFLAGS="$PTHREAD_LDFLAGS $LDFLAGS"
|
|
-
|
|
-
|
|
-ac_ext=c
|
|
-ac_cpp='$CPP $CPPFLAGS'
|
|
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
-if test -n "$ac_tool_prefix"; then
|
|
- # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
|
-set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
|
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
-$as_echo_n "checking for $ac_word... " >&6; }
|
|
-if test "${ac_cv_prog_CC+set}" = set; then
|
|
- $as_echo_n "(cached) " >&6
|
|
-else
|
|
- if test -n "$CC"; then
|
|
- ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
-else
|
|
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
-for as_dir in $PATH
|
|
-do
|
|
- IFS=$as_save_IFS
|
|
- test -z "$as_dir" && as_dir=.
|
|
- for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
- ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
|
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
- break 2
|
|
- fi
|
|
-done
|
|
-done
|
|
-IFS=$as_save_IFS
|
|
-
|
|
-fi
|
|
-fi
|
|
-CC=$ac_cv_prog_CC
|
|
-if test -n "$CC"; then
|
|
- { $as_echo "$as_me:$LINENO: result: $CC" >&5
|
|
-$as_echo "$CC" >&6; }
|
|
-else
|
|
- { $as_echo "$as_me:$LINENO: result: no" >&5
|
|
-$as_echo "no" >&6; }
|
|
-fi
|
|
-
|
|
-
|
|
-fi
|
|
-if test -z "$ac_cv_prog_CC"; then
|
|
- ac_ct_CC=$CC
|
|
- # Extract the first word of "gcc", so it can be a program name with args.
|
|
-set dummy gcc; ac_word=$2
|
|
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
-$as_echo_n "checking for $ac_word... " >&6; }
|
|
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
|
- $as_echo_n "(cached) " >&6
|
|
-else
|
|
- if test -n "$ac_ct_CC"; then
|
|
- ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
|
-else
|
|
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
-for as_dir in $PATH
|
|
-do
|
|
- IFS=$as_save_IFS
|
|
- test -z "$as_dir" && as_dir=.
|
|
- for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
- ac_cv_prog_ac_ct_CC="gcc"
|
|
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
- break 2
|
|
- fi
|
|
-done
|
|
-done
|
|
-IFS=$as_save_IFS
|
|
-
|
|
-fi
|
|
-fi
|
|
-ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
|
-if test -n "$ac_ct_CC"; then
|
|
- { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
|
-$as_echo "$ac_ct_CC" >&6; }
|
|
-else
|
|
- { $as_echo "$as_me:$LINENO: result: no" >&5
|
|
-$as_echo "no" >&6; }
|
|
-fi
|
|
-
|
|
- if test "x$ac_ct_CC" = x; then
|
|
- CC=""
|
|
- else
|
|
- case $cross_compiling:$ac_tool_warned in
|
|
-yes:)
|
|
-{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
-ac_tool_warned=yes ;;
|
|
-esac
|
|
- CC=$ac_ct_CC
|
|
- fi
|
|
-else
|
|
- CC="$ac_cv_prog_CC"
|
|
-fi
|
|
-
|
|
-if test -z "$CC"; then
|
|
- if test -n "$ac_tool_prefix"; then
|
|
- # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
|
-set dummy ${ac_tool_prefix}cc; ac_word=$2
|
|
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
-$as_echo_n "checking for $ac_word... " >&6; }
|
|
-if test "${ac_cv_prog_CC+set}" = set; then
|
|
- $as_echo_n "(cached) " >&6
|
|
-else
|
|
- if test -n "$CC"; then
|
|
- ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
-else
|
|
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
-for as_dir in $PATH
|
|
-do
|
|
- IFS=$as_save_IFS
|
|
- test -z "$as_dir" && as_dir=.
|
|
- for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
- ac_cv_prog_CC="${ac_tool_prefix}cc"
|
|
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
- break 2
|
|
- fi
|
|
-done
|
|
-done
|
|
-IFS=$as_save_IFS
|
|
-
|
|
-fi
|
|
-fi
|
|
-CC=$ac_cv_prog_CC
|
|
-if test -n "$CC"; then
|
|
- { $as_echo "$as_me:$LINENO: result: $CC" >&5
|
|
-$as_echo "$CC" >&6; }
|
|
-else
|
|
- { $as_echo "$as_me:$LINENO: result: no" >&5
|
|
-$as_echo "no" >&6; }
|
|
-fi
|
|
-
|
|
-
|
|
- fi
|
|
-fi
|
|
-if test -z "$CC"; then
|
|
- # Extract the first word of "cc", so it can be a program name with args.
|
|
-set dummy cc; ac_word=$2
|
|
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
-$as_echo_n "checking for $ac_word... " >&6; }
|
|
-if test "${ac_cv_prog_CC+set}" = set; then
|
|
- $as_echo_n "(cached) " >&6
|
|
-else
|
|
- if test -n "$CC"; then
|
|
- ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
-else
|
|
- ac_prog_rejected=no
|
|
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
-for as_dir in $PATH
|
|
-do
|
|
- IFS=$as_save_IFS
|
|
- test -z "$as_dir" && as_dir=.
|
|
- for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
|
- ac_prog_rejected=yes
|
|
- continue
|
|
- fi
|
|
- ac_cv_prog_CC="cc"
|
|
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
- break 2
|
|
- fi
|
|
-done
|
|
-done
|
|
-IFS=$as_save_IFS
|
|
-
|
|
-if test $ac_prog_rejected = yes; then
|
|
- # We found a bogon in the path, so make sure we never use it.
|
|
- set dummy $ac_cv_prog_CC
|
|
- shift
|
|
- if test $# != 0; then
|
|
- # We chose a different compiler from the bogus one.
|
|
- # However, it has the same basename, so the bogon will be chosen
|
|
- # first if we set CC to just the basename; use the full file name.
|
|
- shift
|
|
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
|
|
- fi
|
|
-fi
|
|
-fi
|
|
-fi
|
|
-CC=$ac_cv_prog_CC
|
|
-if test -n "$CC"; then
|
|
- { $as_echo "$as_me:$LINENO: result: $CC" >&5
|
|
-$as_echo "$CC" >&6; }
|
|
-else
|
|
- { $as_echo "$as_me:$LINENO: result: no" >&5
|
|
-$as_echo "no" >&6; }
|
|
-fi
|
|
-
|
|
-
|
|
-fi
|
|
-if test -z "$CC"; then
|
|
- if test -n "$ac_tool_prefix"; then
|
|
- for ac_prog in cl.exe
|
|
- do
|
|
- # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
|
-set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
|
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
-$as_echo_n "checking for $ac_word... " >&6; }
|
|
-if test "${ac_cv_prog_CC+set}" = set; then
|
|
- $as_echo_n "(cached) " >&6
|
|
-else
|
|
- if test -n "$CC"; then
|
|
- ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
-else
|
|
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
-for as_dir in $PATH
|
|
-do
|
|
- IFS=$as_save_IFS
|
|
- test -z "$as_dir" && as_dir=.
|
|
- for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
- ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
|
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
- break 2
|
|
- fi
|
|
-done
|
|
-done
|
|
-IFS=$as_save_IFS
|
|
-
|
|
-fi
|
|
-fi
|
|
-CC=$ac_cv_prog_CC
|
|
-if test -n "$CC"; then
|
|
- { $as_echo "$as_me:$LINENO: result: $CC" >&5
|
|
-$as_echo "$CC" >&6; }
|
|
-else
|
|
- { $as_echo "$as_me:$LINENO: result: no" >&5
|
|
-$as_echo "no" >&6; }
|
|
-fi
|
|
-
|
|
-
|
|
- test -n "$CC" && break
|
|
- done
|
|
-fi
|
|
-if test -z "$CC"; then
|
|
- ac_ct_CC=$CC
|
|
- for ac_prog in cl.exe
|
|
-do
|
|
- # Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
-set dummy $ac_prog; ac_word=$2
|
|
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
-$as_echo_n "checking for $ac_word... " >&6; }
|
|
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
|
- $as_echo_n "(cached) " >&6
|
|
-else
|
|
- if test -n "$ac_ct_CC"; then
|
|
- ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
|
-else
|
|
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
-for as_dir in $PATH
|
|
-do
|
|
- IFS=$as_save_IFS
|
|
- test -z "$as_dir" && as_dir=.
|
|
- for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
- ac_cv_prog_ac_ct_CC="$ac_prog"
|
|
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
- break 2
|
|
- fi
|
|
-done
|
|
-done
|
|
-IFS=$as_save_IFS
|
|
-
|
|
-fi
|
|
-fi
|
|
-ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
|
-if test -n "$ac_ct_CC"; then
|
|
- { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
|
-$as_echo "$ac_ct_CC" >&6; }
|
|
-else
|
|
- { $as_echo "$as_me:$LINENO: result: no" >&5
|
|
-$as_echo "no" >&6; }
|
|
-fi
|
|
-
|
|
-
|
|
- test -n "$ac_ct_CC" && break
|
|
-done
|
|
-
|
|
- if test "x$ac_ct_CC" = x; then
|
|
- CC=""
|
|
- else
|
|
- case $cross_compiling:$ac_tool_warned in
|
|
-yes:)
|
|
-{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
-ac_tool_warned=yes ;;
|
|
-esac
|
|
- CC=$ac_ct_CC
|
|
- fi
|
|
-fi
|
|
-
|
|
-fi
|
|
-
|
|
-
|
|
-test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
|
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
-{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
|
|
-See \`config.log' for more details." >&5
|
|
-$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
|
|
-See \`config.log' for more details." >&2;}
|
|
- { (exit 1); exit 1; }; }; }
|
|
-
|
|
-# Provide some information about the compiler.
|
|
-$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
|
|
-set X $ac_compile
|
|
-ac_compiler=$2
|
|
-{ (ac_try="$ac_compiler --version >&5"
|
|
-case "(($ac_try" in
|
|
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
- *) ac_try_echo=$ac_try;;
|
|
-esac
|
|
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
-$as_echo "$ac_try_echo") >&5
|
|
- (eval "$ac_compiler --version >&5") 2>&5
|
|
- ac_status=$?
|
|
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
- (exit $ac_status); }
|
|
-{ (ac_try="$ac_compiler -v >&5"
|
|
-case "(($ac_try" in
|
|
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
- *) ac_try_echo=$ac_try;;
|
|
-esac
|
|
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
-$as_echo "$ac_try_echo") >&5
|
|
- (eval "$ac_compiler -v >&5") 2>&5
|
|
- ac_status=$?
|
|
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
- (exit $ac_status); }
|
|
-{ (ac_try="$ac_compiler -V >&5"
|
|
-case "(($ac_try" in
|
|
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
- *) ac_try_echo=$ac_try;;
|
|
-esac
|
|
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
-$as_echo "$ac_try_echo") >&5
|
|
- (eval "$ac_compiler -V >&5") 2>&5
|
|
- ac_status=$?
|
|
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
- (exit $ac_status); }
|
|
-
|
|
-{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
|
|
-$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
|
|
-if test "${ac_cv_c_compiler_gnu+set}" = set; then
|
|
- $as_echo_n "(cached) " >&6
|
|
-else
|
|
- cat >conftest.$ac_ext <<_ACEOF
|
|
-/* confdefs.h. */
|
|
-_ACEOF
|
|
-cat confdefs.h >>conftest.$ac_ext
|
|
-cat >>conftest.$ac_ext <<_ACEOF
|
|
-/* end confdefs.h. */
|
|
-
|
|
-int
|
|
-main ()
|
|
-{
|
|
-#ifndef __GNUC__
|
|
- choke me
|
|
-#endif
|
|
-
|
|
- ;
|
|
- return 0;
|
|
-}
|
|
-_ACEOF
|
|
-rm -f conftest.$ac_objext
|
|
-if { (ac_try="$ac_compile"
|
|
-case "(($ac_try" in
|
|
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
- *) ac_try_echo=$ac_try;;
|
|
-esac
|
|
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
-$as_echo "$ac_try_echo") >&5
|
|
- (eval "$ac_compile") 2>conftest.er1
|
|
- ac_status=$?
|
|
- grep -v '^ *+' conftest.er1 >conftest.err
|
|
- rm -f conftest.er1
|
|
- cat conftest.err >&5
|
|
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
- (exit $ac_status); } && {
|
|
- test -z "$ac_c_werror_flag" ||
|
|
- test ! -s conftest.err
|
|
- } && test -s conftest.$ac_objext; then
|
|
- ac_compiler_gnu=yes
|
|
-else
|
|
- $as_echo "$as_me: failed program was:" >&5
|
|
-sed 's/^/| /' conftest.$ac_ext >&5
|
|
-
|
|
- ac_compiler_gnu=no
|
|
-fi
|
|
-
|
|
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
-ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
|
-
|
|
-fi
|
|
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
|
|
-$as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
|
-if test $ac_compiler_gnu = yes; then
|
|
- GCC=yes
|
|
-else
|
|
- GCC=
|
|
-fi
|
|
-ac_test_CFLAGS=${CFLAGS+set}
|
|
-ac_save_CFLAGS=$CFLAGS
|
|
-{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
|
|
-$as_echo_n "checking whether $CC accepts -g... " >&6; }
|
|
-if test "${ac_cv_prog_cc_g+set}" = set; then
|
|
- $as_echo_n "(cached) " >&6
|
|
-else
|
|
- ac_save_c_werror_flag=$ac_c_werror_flag
|
|
- ac_c_werror_flag=yes
|
|
- ac_cv_prog_cc_g=no
|
|
- CFLAGS="-g"
|
|
- cat >conftest.$ac_ext <<_ACEOF
|
|
-/* confdefs.h. */
|
|
-_ACEOF
|
|
-cat confdefs.h >>conftest.$ac_ext
|
|
-cat >>conftest.$ac_ext <<_ACEOF
|
|
-/* end confdefs.h. */
|
|
-
|
|
-int
|
|
-main ()
|
|
-{
|
|
-
|
|
- ;
|
|
- return 0;
|
|
-}
|
|
-_ACEOF
|
|
-rm -f conftest.$ac_objext
|
|
-if { (ac_try="$ac_compile"
|
|
-case "(($ac_try" in
|
|
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
- *) ac_try_echo=$ac_try;;
|
|
-esac
|
|
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
-$as_echo "$ac_try_echo") >&5
|
|
- (eval "$ac_compile") 2>conftest.er1
|
|
- ac_status=$?
|
|
- grep -v '^ *+' conftest.er1 >conftest.err
|
|
- rm -f conftest.er1
|
|
- cat conftest.err >&5
|
|
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
- (exit $ac_status); } && {
|
|
- test -z "$ac_c_werror_flag" ||
|
|
- test ! -s conftest.err
|
|
- } && test -s conftest.$ac_objext; then
|
|
- ac_cv_prog_cc_g=yes
|
|
-else
|
|
- $as_echo "$as_me: failed program was:" >&5
|
|
-sed 's/^/| /' conftest.$ac_ext >&5
|
|
-
|
|
- CFLAGS=""
|
|
- cat >conftest.$ac_ext <<_ACEOF
|
|
-/* confdefs.h. */
|
|
-_ACEOF
|
|
-cat confdefs.h >>conftest.$ac_ext
|
|
-cat >>conftest.$ac_ext <<_ACEOF
|
|
-/* end confdefs.h. */
|
|
-
|
|
-int
|
|
-main ()
|
|
-{
|
|
-
|
|
- ;
|
|
- return 0;
|
|
-}
|
|
-_ACEOF
|
|
-rm -f conftest.$ac_objext
|
|
-if { (ac_try="$ac_compile"
|
|
-case "(($ac_try" in
|
|
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
- *) ac_try_echo=$ac_try;;
|
|
-esac
|
|
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
-$as_echo "$ac_try_echo") >&5
|
|
- (eval "$ac_compile") 2>conftest.er1
|
|
- ac_status=$?
|
|
- grep -v '^ *+' conftest.er1 >conftest.err
|
|
- rm -f conftest.er1
|
|
- cat conftest.err >&5
|
|
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
- (exit $ac_status); } && {
|
|
- test -z "$ac_c_werror_flag" ||
|
|
- test ! -s conftest.err
|
|
- } && test -s conftest.$ac_objext; then
|
|
- :
|
|
-else
|
|
- $as_echo "$as_me: failed program was:" >&5
|
|
-sed 's/^/| /' conftest.$ac_ext >&5
|
|
-
|
|
- ac_c_werror_flag=$ac_save_c_werror_flag
|
|
- CFLAGS="-g"
|
|
- cat >conftest.$ac_ext <<_ACEOF
|
|
-/* confdefs.h. */
|
|
-_ACEOF
|
|
-cat confdefs.h >>conftest.$ac_ext
|
|
-cat >>conftest.$ac_ext <<_ACEOF
|
|
-/* end confdefs.h. */
|
|
-
|
|
-int
|
|
-main ()
|
|
-{
|
|
-
|
|
- ;
|
|
- return 0;
|
|
-}
|
|
-_ACEOF
|
|
-rm -f conftest.$ac_objext
|
|
-if { (ac_try="$ac_compile"
|
|
-case "(($ac_try" in
|
|
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
- *) ac_try_echo=$ac_try;;
|
|
-esac
|
|
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
-$as_echo "$ac_try_echo") >&5
|
|
- (eval "$ac_compile") 2>conftest.er1
|
|
- ac_status=$?
|
|
- grep -v '^ *+' conftest.er1 >conftest.err
|
|
- rm -f conftest.er1
|
|
- cat conftest.err >&5
|
|
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
- (exit $ac_status); } && {
|
|
- test -z "$ac_c_werror_flag" ||
|
|
- test ! -s conftest.err
|
|
- } && test -s conftest.$ac_objext; then
|
|
- ac_cv_prog_cc_g=yes
|
|
-else
|
|
- $as_echo "$as_me: failed program was:" >&5
|
|
-sed 's/^/| /' conftest.$ac_ext >&5
|
|
-
|
|
-
|
|
-fi
|
|
-
|
|
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
-fi
|
|
-
|
|
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
-fi
|
|
-
|
|
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
- ac_c_werror_flag=$ac_save_c_werror_flag
|
|
-fi
|
|
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
|
|
-$as_echo "$ac_cv_prog_cc_g" >&6; }
|
|
-if test "$ac_test_CFLAGS" = set; then
|
|
- CFLAGS=$ac_save_CFLAGS
|
|
-elif test $ac_cv_prog_cc_g = yes; then
|
|
- if test "$GCC" = yes; then
|
|
- CFLAGS="-g -O2"
|
|
- else
|
|
- CFLAGS="-g"
|
|
- fi
|
|
-else
|
|
- if test "$GCC" = yes; then
|
|
- CFLAGS="-O2"
|
|
- else
|
|
- CFLAGS=
|
|
- fi
|
|
-fi
|
|
-{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
|
|
-$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
|
-if test "${ac_cv_prog_cc_c89+set}" = set; then
|
|
- $as_echo_n "(cached) " >&6
|
|
-else
|
|
- ac_cv_prog_cc_c89=no
|
|
-ac_save_CC=$CC
|
|
-cat >conftest.$ac_ext <<_ACEOF
|
|
-/* confdefs.h. */
|
|
-_ACEOF
|
|
-cat confdefs.h >>conftest.$ac_ext
|
|
-cat >>conftest.$ac_ext <<_ACEOF
|
|
-/* end confdefs.h. */
|
|
-#include <stdarg.h>
|
|
-#include <stdio.h>
|
|
-#include <sys/types.h>
|
|
-#include <sys/stat.h>
|
|
-/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
|
-struct buf { int x; };
|
|
-FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
|
-static char *e (p, i)
|
|
- char **p;
|
|
- int i;
|
|
-{
|
|
- return p[i];
|
|
-}
|
|
-static char *f (char * (*g) (char **, int), char **p, ...)
|
|
-{
|
|
- char *s;
|
|
- va_list v;
|
|
- va_start (v,p);
|
|
- s = g (p, va_arg (v,int));
|
|
- va_end (v);
|
|
- return s;
|
|
-}
|
|
-
|
|
-/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
|
- function prototypes and stuff, but not '\xHH' hex character constants.
|
|
- These don't provoke an error unfortunately, instead are silently treated
|
|
- as 'x'. The following induces an error, until -std is added to get
|
|
- proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
|
- array size at least. It's necessary to write '\x00'==0 to get something
|
|
- that's true only with -std. */
|
|
-int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
|
-
|
|
-/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
|
- inside strings and character constants. */
|
|
-#define FOO(x) 'x'
|
|
-int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
|
-
|
|
-int test (int i, double x);
|
|
-struct s1 {int (*f) (int a);};
|
|
-struct s2 {int (*f) (double a);};
|
|
-int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
|
-int argc;
|
|
-char **argv;
|
|
-int
|
|
-main ()
|
|
-{
|
|
-return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
|
- ;
|
|
- return 0;
|
|
-}
|
|
-_ACEOF
|
|
-for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
|
|
- -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
|
-do
|
|
- CC="$ac_save_CC $ac_arg"
|
|
- rm -f conftest.$ac_objext
|
|
-if { (ac_try="$ac_compile"
|
|
-case "(($ac_try" in
|
|
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
- *) ac_try_echo=$ac_try;;
|
|
-esac
|
|
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
-$as_echo "$ac_try_echo") >&5
|
|
- (eval "$ac_compile") 2>conftest.er1
|
|
- ac_status=$?
|
|
- grep -v '^ *+' conftest.er1 >conftest.err
|
|
- rm -f conftest.er1
|
|
- cat conftest.err >&5
|
|
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
- (exit $ac_status); } && {
|
|
- test -z "$ac_c_werror_flag" ||
|
|
- test ! -s conftest.err
|
|
- } && test -s conftest.$ac_objext; then
|
|
- ac_cv_prog_cc_c89=$ac_arg
|
|
-else
|
|
- $as_echo "$as_me: failed program was:" >&5
|
|
-sed 's/^/| /' conftest.$ac_ext >&5
|
|
-
|
|
-
|
|
-fi
|
|
-
|
|
-rm -f core conftest.err conftest.$ac_objext
|
|
- test "x$ac_cv_prog_cc_c89" != "xno" && break
|
|
-done
|
|
-rm -f conftest.$ac_ext
|
|
-CC=$ac_save_CC
|
|
-
|
|
-fi
|
|
-# AC_CACHE_VAL
|
|
-case "x$ac_cv_prog_cc_c89" in
|
|
- x)
|
|
- { $as_echo "$as_me:$LINENO: result: none needed" >&5
|
|
-$as_echo "none needed" >&6; } ;;
|
|
- xno)
|
|
- { $as_echo "$as_me:$LINENO: result: unsupported" >&5
|
|
-$as_echo "unsupported" >&6; } ;;
|
|
- *)
|
|
- CC="$CC $ac_cv_prog_cc_c89"
|
|
- { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
|
|
-$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
|
-esac
|
|
-
|
|
-
|
|
-ac_ext=c
|
|
-ac_cpp='$CPP $CPPFLAGS'
|
|
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
-
|
|
-depcc="$CC" am_compiler_list=
|
|
-
|
|
-{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
|
|
-$as_echo_n "checking dependency style of $depcc... " >&6; }
|
|
-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
|
|
- $as_echo_n "(cached) " >&6
|
|
-else
|
|
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
|
- # We make a subdir and do the tests there. Otherwise we can end up
|
|
- # making bogus files that we don't know about and never remove. For
|
|
- # instance it was reported that on HP-UX the gcc test will end up
|
|
- # making a dummy file named `D' -- because `-MD' means `put the output
|
|
- # in D'.
|
|
- mkdir conftest.dir
|
|
- # Copy depcomp to subdir because otherwise we won't find it if we're
|
|
- # using a relative directory.
|
|
- cp "$am_depcomp" conftest.dir
|
|
- cd conftest.dir
|
|
- # We will build objects and dependencies in a subdirectory because
|
|
- # it helps to detect inapplicable dependency modes. For instance
|
|
- # both Tru64's cc and ICC support -MD to output dependencies as a
|
|
- # side effect of compilation, but ICC will put the dependencies in
|
|
- # the current directory while Tru64 will put them in the object
|
|
- # directory.
|
|
- mkdir sub
|
|
-
|
|
- am_cv_CC_dependencies_compiler_type=none
|
|
- if test "$am_compiler_list" = ""; then
|
|
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
|
|
- fi
|
|
- for depmode in $am_compiler_list; do
|
|
- # Setup a source with many dependencies, because some compilers
|
|
- # like to wrap large dependency lists on column 80 (with \), and
|
|
- # we should not choose a depcomp mode which is confused by this.
|
|
- #
|
|
- # We need to recreate these files for each test, as the compiler may
|
|
- # overwrite some of them when testing with obscure command lines.
|
|
- # This happens at least with the AIX C compiler.
|
|
- : > sub/conftest.c
|
|
- for i in 1 2 3 4 5 6; do
|
|
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
|
|
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
|
|
- # Solaris 8's {/usr,}/bin/sh.
|
|
- touch sub/conftst$i.h
|
|
- done
|
|
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
|
|
-
|
|
+ # handle `-M -o', and we need to detect this. Also, some Intel
|
|
+ # versions had trouble with output in subdirs
|
|
+ am__obj=sub/conftest.${OBJEXT-o}
|
|
+ am__minus_obj="-o $am__obj"
|
|
case $depmode in
|
|
+ gcc)
|
|
+ # This depmode causes a compiler race in universal mode.
|
|
+ test "$am__universal" = false || continue
|
|
+ ;;
|
|
nosideeffect)
|
|
# after this tag, mechanisms are not by side-effect, so they'll
|
|
# only be used when explicitly requested
|
|
@@ -5008,19 +3869,23 @@ else
|
|
break
|
|
fi
|
|
;;
|
|
+ msvisualcpp | msvcmsys)
|
|
+ # This compiler won't grok `-c -o', but also, the minuso test has
|
|
+ # not run yet. These depmodes are late enough in the game, and
|
|
+ # so weak that their functioning should not be impacted.
|
|
+ am__obj=conftest.${OBJEXT-o}
|
|
+ am__minus_obj=
|
|
+ ;;
|
|
none) break ;;
|
|
esac
|
|
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
|
|
- # mode. It turns out that the SunPro C++ compiler does not properly
|
|
- # handle `-M -o', and we need to detect this.
|
|
if depmode=$depmode \
|
|
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
|
|
+ source=sub/conftest.c object=$am__obj \
|
|
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
|
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
|
|
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
|
|
>/dev/null 2>conftest.err &&
|
|
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
|
|
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
|
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
|
|
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
|
|
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
|
# icc doesn't choke on unknown options, it will just issue warnings
|
|
# or remarks (even with -Werror). So we grep stderr for any message
|
|
@@ -5059,638 +3924,6 @@ else
|
|
fi
|
|
|
|
|
|
-for ac_prog in flex lex
|
|
-do
|
|
- # Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
-set dummy $ac_prog; ac_word=$2
|
|
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
-$as_echo_n "checking for $ac_word... " >&6; }
|
|
-if test "${ac_cv_prog_LEX+set}" = set; then
|
|
- $as_echo_n "(cached) " >&6
|
|
-else
|
|
- if test -n "$LEX"; then
|
|
- ac_cv_prog_LEX="$LEX" # Let the user override the test.
|
|
-else
|
|
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
-for as_dir in $PATH
|
|
-do
|
|
- IFS=$as_save_IFS
|
|
- test -z "$as_dir" && as_dir=.
|
|
- for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
- ac_cv_prog_LEX="$ac_prog"
|
|
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
- break 2
|
|
- fi
|
|
-done
|
|
-done
|
|
-IFS=$as_save_IFS
|
|
-
|
|
-fi
|
|
-fi
|
|
-LEX=$ac_cv_prog_LEX
|
|
-if test -n "$LEX"; then
|
|
- { $as_echo "$as_me:$LINENO: result: $LEX" >&5
|
|
-$as_echo "$LEX" >&6; }
|
|
-else
|
|
- { $as_echo "$as_me:$LINENO: result: no" >&5
|
|
-$as_echo "no" >&6; }
|
|
-fi
|
|
-
|
|
-
|
|
- test -n "$LEX" && break
|
|
-done
|
|
-test -n "$LEX" || LEX=":"
|
|
-
|
|
-if test "x$LEX" != "x:"; then
|
|
- cat >conftest.l <<_ACEOF
|
|
-%%
|
|
-a { ECHO; }
|
|
-b { REJECT; }
|
|
-c { yymore (); }
|
|
-d { yyless (1); }
|
|
-e { yyless (input () != 0); }
|
|
-f { unput (yytext[0]); }
|
|
-. { BEGIN INITIAL; }
|
|
-%%
|
|
-#ifdef YYTEXT_POINTER
|
|
-extern char *yytext;
|
|
-#endif
|
|
-int
|
|
-main (void)
|
|
-{
|
|
- return ! yylex () + ! yywrap ();
|
|
-}
|
|
-_ACEOF
|
|
-{ (ac_try="$LEX conftest.l"
|
|
-case "(($ac_try" in
|
|
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
- *) ac_try_echo=$ac_try;;
|
|
-esac
|
|
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
-$as_echo "$ac_try_echo") >&5
|
|
- (eval "$LEX conftest.l") 2>&5
|
|
- ac_status=$?
|
|
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
- (exit $ac_status); }
|
|
-{ $as_echo "$as_me:$LINENO: checking lex output file root" >&5
|
|
-$as_echo_n "checking lex output file root... " >&6; }
|
|
-if test "${ac_cv_prog_lex_root+set}" = set; then
|
|
- $as_echo_n "(cached) " >&6
|
|
-else
|
|
-
|
|
-if test -f lex.yy.c; then
|
|
- ac_cv_prog_lex_root=lex.yy
|
|
-elif test -f lexyy.c; then
|
|
- ac_cv_prog_lex_root=lexyy
|
|
-else
|
|
- { { $as_echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
|
|
-$as_echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
|
|
- { (exit 1); exit 1; }; }
|
|
-fi
|
|
-fi
|
|
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
|
|
-$as_echo "$ac_cv_prog_lex_root" >&6; }
|
|
-LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
|
|
-
|
|
-if test -z "${LEXLIB+set}"; then
|
|
- { $as_echo "$as_me:$LINENO: checking lex library" >&5
|
|
-$as_echo_n "checking lex library... " >&6; }
|
|
-if test "${ac_cv_lib_lex+set}" = set; then
|
|
- $as_echo_n "(cached) " >&6
|
|
-else
|
|
-
|
|
- ac_save_LIBS=$LIBS
|
|
- ac_cv_lib_lex='none needed'
|
|
- for ac_lib in '' -lfl -ll; do
|
|
- LIBS="$ac_lib $ac_save_LIBS"
|
|
- cat >conftest.$ac_ext <<_ACEOF
|
|
-`cat $LEX_OUTPUT_ROOT.c`
|
|
-_ACEOF
|
|
-rm -f conftest.$ac_objext conftest$ac_exeext
|
|
-if { (ac_try="$ac_link"
|
|
-case "(($ac_try" in
|
|
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
- *) ac_try_echo=$ac_try;;
|
|
-esac
|
|
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
-$as_echo "$ac_try_echo") >&5
|
|
- (eval "$ac_link") 2>conftest.er1
|
|
- ac_status=$?
|
|
- grep -v '^ *+' conftest.er1 >conftest.err
|
|
- rm -f conftest.er1
|
|
- cat conftest.err >&5
|
|
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
- (exit $ac_status); } && {
|
|
- test -z "$ac_c_werror_flag" ||
|
|
- test ! -s conftest.err
|
|
- } && test -s conftest$ac_exeext && {
|
|
- test "$cross_compiling" = yes ||
|
|
- $as_test_x conftest$ac_exeext
|
|
- }; then
|
|
- ac_cv_lib_lex=$ac_lib
|
|
-else
|
|
- $as_echo "$as_me: failed program was:" >&5
|
|
-sed 's/^/| /' conftest.$ac_ext >&5
|
|
-
|
|
-
|
|
-fi
|
|
-
|
|
-rm -rf conftest.dSYM
|
|
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
- conftest$ac_exeext conftest.$ac_ext
|
|
- test "$ac_cv_lib_lex" != 'none needed' && break
|
|
- done
|
|
- LIBS=$ac_save_LIBS
|
|
-
|
|
-fi
|
|
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
|
|
-$as_echo "$ac_cv_lib_lex" >&6; }
|
|
- test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
|
|
-fi
|
|
-
|
|
-
|
|
-{ $as_echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
|
|
-$as_echo_n "checking whether yytext is a pointer... " >&6; }
|
|
-if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
|
|
- $as_echo_n "(cached) " >&6
|
|
-else
|
|
- # POSIX says lex can declare yytext either as a pointer or an array; the
|
|
-# default is implementation-dependent. Figure out which it is, since
|
|
-# not all implementations provide the %pointer and %array declarations.
|
|
-ac_cv_prog_lex_yytext_pointer=no
|
|
-ac_save_LIBS=$LIBS
|
|
-LIBS="$LEXLIB $ac_save_LIBS"
|
|
-cat >conftest.$ac_ext <<_ACEOF
|
|
-#define YYTEXT_POINTER 1
|
|
-`cat $LEX_OUTPUT_ROOT.c`
|
|
-_ACEOF
|
|
-rm -f conftest.$ac_objext conftest$ac_exeext
|
|
-if { (ac_try="$ac_link"
|
|
-case "(($ac_try" in
|
|
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
- *) ac_try_echo=$ac_try;;
|
|
-esac
|
|
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
-$as_echo "$ac_try_echo") >&5
|
|
- (eval "$ac_link") 2>conftest.er1
|
|
- ac_status=$?
|
|
- grep -v '^ *+' conftest.er1 >conftest.err
|
|
- rm -f conftest.er1
|
|
- cat conftest.err >&5
|
|
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
- (exit $ac_status); } && {
|
|
- test -z "$ac_c_werror_flag" ||
|
|
- test ! -s conftest.err
|
|
- } && test -s conftest$ac_exeext && {
|
|
- test "$cross_compiling" = yes ||
|
|
- $as_test_x conftest$ac_exeext
|
|
- }; then
|
|
- ac_cv_prog_lex_yytext_pointer=yes
|
|
-else
|
|
- $as_echo "$as_me: failed program was:" >&5
|
|
-sed 's/^/| /' conftest.$ac_ext >&5
|
|
-
|
|
-
|
|
-fi
|
|
-
|
|
-rm -rf conftest.dSYM
|
|
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
- conftest$ac_exeext conftest.$ac_ext
|
|
-LIBS=$ac_save_LIBS
|
|
-
|
|
-fi
|
|
-{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
|
|
-$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
|
|
-if test $ac_cv_prog_lex_yytext_pointer = yes; then
|
|
-
|
|
-cat >>confdefs.h <<\_ACEOF
|
|
-#define YYTEXT_POINTER 1
|
|
-_ACEOF
|
|
-
|
|
-fi
|
|
-rm -f conftest.l $LEX_OUTPUT_ROOT.c
|
|
-
|
|
-fi
|
|
-if test "$LEX" = :; then
|
|
- LEX=${am_missing_run}flex
|
|
-fi
|
|
-for ac_prog in 'bison -y' byacc
|
|
-do
|
|
- # Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
-set dummy $ac_prog; ac_word=$2
|
|
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
-$as_echo_n "checking for $ac_word... " >&6; }
|
|
-if test "${ac_cv_prog_YACC+set}" = set; then
|
|
- $as_echo_n "(cached) " >&6
|
|
-else
|
|
- if test -n "$YACC"; then
|
|
- ac_cv_prog_YACC="$YACC" # Let the user override the test.
|
|
-else
|
|
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
-for as_dir in $PATH
|
|
-do
|
|
- IFS=$as_save_IFS
|
|
- test -z "$as_dir" && as_dir=.
|
|
- for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
- ac_cv_prog_YACC="$ac_prog"
|
|
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
- break 2
|
|
- fi
|
|
-done
|
|
-done
|
|
-IFS=$as_save_IFS
|
|
-
|
|
-fi
|
|
-fi
|
|
-YACC=$ac_cv_prog_YACC
|
|
-if test -n "$YACC"; then
|
|
- { $as_echo "$as_me:$LINENO: result: $YACC" >&5
|
|
-$as_echo "$YACC" >&6; }
|
|
-else
|
|
- { $as_echo "$as_me:$LINENO: result: no" >&5
|
|
-$as_echo "no" >&6; }
|
|
-fi
|
|
-
|
|
-
|
|
- test -n "$YACC" && break
|
|
-done
|
|
-test -n "$YACC" || YACC="yacc"
|
|
-
|
|
-if test -n "$ac_tool_prefix"; then
|
|
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
|
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
|
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
-$as_echo_n "checking for $ac_word... " >&6; }
|
|
-if test "${ac_cv_prog_RANLIB+set}" = set; then
|
|
- $as_echo_n "(cached) " >&6
|
|
-else
|
|
- if test -n "$RANLIB"; then
|
|
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
|
|
-else
|
|
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
-for as_dir in $PATH
|
|
-do
|
|
- IFS=$as_save_IFS
|
|
- test -z "$as_dir" && as_dir=.
|
|
- for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
|
|
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
- break 2
|
|
- fi
|
|
-done
|
|
-done
|
|
-IFS=$as_save_IFS
|
|
-
|
|
-fi
|
|
-fi
|
|
-RANLIB=$ac_cv_prog_RANLIB
|
|
-if test -n "$RANLIB"; then
|
|
- { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
|
|
-$as_echo "$RANLIB" >&6; }
|
|
-else
|
|
- { $as_echo "$as_me:$LINENO: result: no" >&5
|
|
-$as_echo "no" >&6; }
|
|
-fi
|
|
-
|
|
-
|
|
-fi
|
|
-if test -z "$ac_cv_prog_RANLIB"; then
|
|
- ac_ct_RANLIB=$RANLIB
|
|
- # Extract the first word of "ranlib", so it can be a program name with args.
|
|
-set dummy ranlib; ac_word=$2
|
|
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
-$as_echo_n "checking for $ac_word... " >&6; }
|
|
-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
|
|
- $as_echo_n "(cached) " >&6
|
|
-else
|
|
- if test -n "$ac_ct_RANLIB"; then
|
|
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
|
|
-else
|
|
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
-for as_dir in $PATH
|
|
-do
|
|
- IFS=$as_save_IFS
|
|
- test -z "$as_dir" && as_dir=.
|
|
- for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
- ac_cv_prog_ac_ct_RANLIB="ranlib"
|
|
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
- break 2
|
|
- fi
|
|
-done
|
|
-done
|
|
-IFS=$as_save_IFS
|
|
-
|
|
-fi
|
|
-fi
|
|
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
|
|
-if test -n "$ac_ct_RANLIB"; then
|
|
- { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
|
|
-$as_echo "$ac_ct_RANLIB" >&6; }
|
|
-else
|
|
- { $as_echo "$as_me:$LINENO: result: no" >&5
|
|
-$as_echo "no" >&6; }
|
|
-fi
|
|
-
|
|
- if test "x$ac_ct_RANLIB" = x; then
|
|
- RANLIB=":"
|
|
- else
|
|
- case $cross_compiling:$ac_tool_warned in
|
|
-yes:)
|
|
-{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
-ac_tool_warned=yes ;;
|
|
-esac
|
|
- RANLIB=$ac_ct_RANLIB
|
|
- fi
|
|
-else
|
|
- RANLIB="$ac_cv_prog_RANLIB"
|
|
-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
|
|
-# AmigaOS /C/install, which installs bootblocks on floppy discs
|
|
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
|
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
|
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
|
-# OS/2's system install, which has a completely different semantic
|
|
-# ./install, which can be erroneously created by make from ./install.sh.
|
|
-# Reject install programs that cannot install multiple files.
|
|
-{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
|
|
-$as_echo_n "checking for a BSD-compatible install... " >&6; }
|
|
-if test -z "$INSTALL"; then
|
|
-if test "${ac_cv_path_install+set}" = set; then
|
|
- $as_echo_n "(cached) " >&6
|
|
-else
|
|
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
-for as_dir in $PATH
|
|
-do
|
|
- IFS=$as_save_IFS
|
|
- test -z "$as_dir" && as_dir=.
|
|
- # Account for people who put trailing slashes in PATH elements.
|
|
-case $as_dir/ in
|
|
- ./ | .// | /cC/* | \
|
|
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
|
- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
|
|
- /usr/ucb/* ) ;;
|
|
- *)
|
|
- # OSF1 and SCO ODT 3.0 have their own names for install.
|
|
- # Don't use installbsd from OSF since it installs stuff as root
|
|
- # by default.
|
|
- for ac_prog in ginstall scoinst install; do
|
|
- for ac_exec_ext in '' $ac_executable_extensions; do
|
|
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
|
|
- if test $ac_prog = install &&
|
|
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
|
- # AIX install. It has an incompatible calling convention.
|
|
- :
|
|
- elif test $ac_prog = install &&
|
|
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
|
- # program-specific install script used by HP pwplus--don't use.
|
|
- :
|
|
- else
|
|
- rm -rf conftest.one conftest.two conftest.dir
|
|
- echo one > conftest.one
|
|
- echo two > conftest.two
|
|
- mkdir conftest.dir
|
|
- if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
|
|
- test -s conftest.one && test -s conftest.two &&
|
|
- test -s conftest.dir/conftest.one &&
|
|
- test -s conftest.dir/conftest.two
|
|
- then
|
|
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
|
- break 3
|
|
- fi
|
|
- fi
|
|
- fi
|
|
- done
|
|
- done
|
|
- ;;
|
|
-esac
|
|
-
|
|
-done
|
|
-IFS=$as_save_IFS
|
|
-
|
|
-rm -rf conftest.one conftest.two conftest.dir
|
|
-
|
|
-fi
|
|
- if test "${ac_cv_path_install+set}" = set; then
|
|
- INSTALL=$ac_cv_path_install
|
|
- else
|
|
- # As a last resort, use the slow shell script. Don't cache a
|
|
- # value for INSTALL within a source directory, because that will
|
|
- # break other packages using the cache if that directory is
|
|
- # removed, or if the value is a relative name.
|
|
- INSTALL=$ac_install_sh
|
|
- fi
|
|
-fi
|
|
-{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
|
|
-$as_echo "$INSTALL" >&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_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
|
-
|
|
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
|
-
|
|
-if test "x$CC" != xcc; then
|
|
- { $as_echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
|
|
-$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
|
|
-else
|
|
- { $as_echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
|
|
-$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
|
|
-fi
|
|
-set dummy $CC; ac_cc=`$as_echo "$2" |
|
|
- sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
|
|
-if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
- $as_echo_n "(cached) " >&6
|
|
-else
|
|
- cat >conftest.$ac_ext <<_ACEOF
|
|
-/* confdefs.h. */
|
|
-_ACEOF
|
|
-cat confdefs.h >>conftest.$ac_ext
|
|
-cat >>conftest.$ac_ext <<_ACEOF
|
|
-/* end confdefs.h. */
|
|
-
|
|
-int
|
|
-main ()
|
|
-{
|
|
-
|
|
- ;
|
|
- return 0;
|
|
-}
|
|
-_ACEOF
|
|
-# 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.
|
|
-ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
|
|
-rm -f conftest2.*
|
|
-if { (case "(($ac_try" in
|
|
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
- *) ac_try_echo=$ac_try;;
|
|
-esac
|
|
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
-$as_echo "$ac_try_echo") >&5
|
|
- (eval "$ac_try") 2>&5
|
|
- ac_status=$?
|
|
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
- (exit $ac_status); } &&
|
|
- test -f conftest2.$ac_objext && { (case "(($ac_try" in
|
|
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
- *) ac_try_echo=$ac_try;;
|
|
-esac
|
|
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
-$as_echo "$ac_try_echo") >&5
|
|
- (eval "$ac_try") 2>&5
|
|
- ac_status=$?
|
|
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
- (exit $ac_status); };
|
|
-then
|
|
- eval ac_cv_prog_cc_${ac_cc}_c_o=yes
|
|
- if test "x$CC" != xcc; then
|
|
- # Test first that cc exists at all.
|
|
- if { ac_try='cc -c conftest.$ac_ext >&5'
|
|
- { (case "(($ac_try" in
|
|
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
- *) ac_try_echo=$ac_try;;
|
|
-esac
|
|
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
-$as_echo "$ac_try_echo") >&5
|
|
- (eval "$ac_try") 2>&5
|
|
- ac_status=$?
|
|
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
- (exit $ac_status); }; }; then
|
|
- ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
|
|
- rm -f conftest2.*
|
|
- if { (case "(($ac_try" in
|
|
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
- *) ac_try_echo=$ac_try;;
|
|
-esac
|
|
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
-$as_echo "$ac_try_echo") >&5
|
|
- (eval "$ac_try") 2>&5
|
|
- ac_status=$?
|
|
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
- (exit $ac_status); } &&
|
|
- test -f conftest2.$ac_objext && { (case "(($ac_try" in
|
|
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
- *) ac_try_echo=$ac_try;;
|
|
-esac
|
|
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
-$as_echo "$ac_try_echo") >&5
|
|
- (eval "$ac_try") 2>&5
|
|
- ac_status=$?
|
|
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
- (exit $ac_status); };
|
|
- then
|
|
- # cc works too.
|
|
- :
|
|
- else
|
|
- # cc exists but doesn't like -o.
|
|
- eval ac_cv_prog_cc_${ac_cc}_c_o=no
|
|
- fi
|
|
- fi
|
|
- fi
|
|
-else
|
|
- eval ac_cv_prog_cc_${ac_cc}_c_o=no
|
|
-fi
|
|
-rm -f core conftest*
|
|
-
|
|
-fi
|
|
-if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
|
|
- { $as_echo "$as_me:$LINENO: result: yes" >&5
|
|
-$as_echo "yes" >&6; }
|
|
-else
|
|
- { $as_echo "$as_me:$LINENO: result: no" >&5
|
|
-$as_echo "no" >&6; }
|
|
-
|
|
-cat >>confdefs.h <<\_ACEOF
|
|
-#define NO_MINUS_C_MINUS_O 1
|
|
-_ACEOF
|
|
-
|
|
-fi
|
|
-
|
|
-# FIXME: we rely on the cache variable name because
|
|
-# there is no other way.
|
|
-set dummy $CC
|
|
-ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
|
|
-if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
|
|
- # Losing compiler, so override with the script.
|
|
- # FIXME: It is wrong to rewrite CC.
|
|
- # But if we don't then we get into trouble of one sort or another.
|
|
- # A longer-term fix would be to have automake use am__CC in this case,
|
|
- # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
|
|
- CC="$am_aux_dir/compile $CC"
|
|
-fi
|
|
-
|
|
-
|
|
-
|
|
-# Check whether --enable-shared was given.
|
|
-if test "${enable_shared+set}" = set; then
|
|
- enableval=$enable_shared; p=${PACKAGE-default}
|
|
- case $enableval in
|
|
- yes) enable_shared=yes ;;
|
|
- no) enable_shared=no ;;
|
|
- *)
|
|
- enable_shared=no
|
|
- # Look at the argument we got. We use all the common list separators.
|
|
- lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
|
|
- for pkg in $enableval; do
|
|
- IFS="$lt_save_ifs"
|
|
- if test "X$pkg" = "X$p"; then
|
|
- enable_shared=yes
|
|
- fi
|
|
- done
|
|
- IFS="$lt_save_ifs"
|
|
- ;;
|
|
- esac
|
|
-else
|
|
- enable_shared=no
|
|
-fi
|
|
-
|
|
-
|
|
-
|
|
-
|
|
-
|
|
-
|
|
-
|
|
-
|
|
-
|
|
-case `pwd` in
|
|
- *\ * | *\ *)
|
|
- { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
|
|
-$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
|
|
-esac
|
|
-
|
|
-
|
|
-
|
|
-macro_version='2.2.6'
|
|
-macro_revision='1.3012'
|
|
-
|
|
-
|
|
-
|
|
-
|
|
-
|
|
-
|
|
-
|
|
-
|
|
-
|
|
-
|
|
-
|
|
-
|
|
-
|
|
-ltmain="$ac_aux_dir/ltmain.sh"
|
|
-
|
|
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
|
|
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
|
|
if test "${ac_cv_path_SED+set}" = set; then
|
|
@@ -6285,13 +4518,13 @@ if test "${lt_cv_nm_interface+set}" = set; then
|
|
else
|
|
lt_cv_nm_interface="BSD nm"
|
|
echo "int some_variable = 0;" > conftest.$ac_ext
|
|
- (eval echo "\"\$as_me:6288: $ac_compile\"" >&5)
|
|
+ (eval echo "\"\$as_me:4521: $ac_compile\"" >&5)
|
|
(eval "$ac_compile" 2>conftest.err)
|
|
cat conftest.err >&5
|
|
- (eval echo "\"\$as_me:6291: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
|
|
+ (eval echo "\"\$as_me:4524: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
|
|
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
|
|
cat conftest.err >&5
|
|
- (eval echo "\"\$as_me:6294: output\"" >&5)
|
|
+ (eval echo "\"\$as_me:4527: output\"" >&5)
|
|
cat conftest.out >&5
|
|
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
|
|
lt_cv_nm_interface="MS dumpbin"
|
|
@@ -7465,6 +5698,7 @@ fi
|
|
|
|
|
|
|
|
+
|
|
# Check whether --enable-libtool-lock was given.
|
|
if test "${enable_libtool_lock+set}" = set; then
|
|
enableval=$enable_libtool_lock;
|
|
@@ -7496,7 +5730,7 @@ ia64-*-hpux*)
|
|
;;
|
|
*-*-irix6*)
|
|
# Find out which ABI we are using.
|
|
- echo '#line 7499 "configure"' > conftest.$ac_ext
|
|
+ echo '#line 5733 "configure"' > conftest.$ac_ext
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
(eval $ac_compile) 2>&5
|
|
ac_status=$?
|
|
@@ -8863,6 +7097,36 @@ done
|
|
enable_win32_dll=no
|
|
|
|
|
|
+ # Check whether --enable-shared was given.
|
|
+if test "${enable_shared+set}" = set; then
|
|
+ enableval=$enable_shared; p=${PACKAGE-default}
|
|
+ case $enableval in
|
|
+ yes) enable_shared=yes ;;
|
|
+ no) enable_shared=no ;;
|
|
+ *)
|
|
+ enable_shared=no
|
|
+ # Look at the argument we got. We use all the common list separators.
|
|
+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
|
|
+ for pkg in $enableval; do
|
|
+ IFS="$lt_save_ifs"
|
|
+ if test "X$pkg" = "X$p"; then
|
|
+ enable_shared=yes
|
|
+ fi
|
|
+ done
|
|
+ IFS="$lt_save_ifs"
|
|
+ ;;
|
|
+ esac
|
|
+else
|
|
+ enable_shared=yes
|
|
+fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
|
|
# Check whether --enable-static was given.
|
|
if test "${enable_static+set}" = set; then
|
|
@@ -9319,11 +7583,11 @@ else
|
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
|
-e 's:$: $lt_compiler_flag:'`
|
|
- (eval echo "\"\$as_me:9322: $lt_compile\"" >&5)
|
|
+ (eval echo "\"\$as_me:7586: $lt_compile\"" >&5)
|
|
(eval "$lt_compile" 2>conftest.err)
|
|
ac_status=$?
|
|
cat conftest.err >&5
|
|
- echo "$as_me:9326: \$? = $ac_status" >&5
|
|
+ echo "$as_me:7590: \$? = $ac_status" >&5
|
|
if (exit $ac_status) && test -s "$ac_outfile"; then
|
|
# The compiler can only warn and ignore the option if not recognized
|
|
# So say no if there are warnings other than the usual output.
|
|
@@ -9658,11 +7922,11 @@ else
|
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
|
-e 's:$: $lt_compiler_flag:'`
|
|
- (eval echo "\"\$as_me:9661: $lt_compile\"" >&5)
|
|
+ (eval echo "\"\$as_me:7925: $lt_compile\"" >&5)
|
|
(eval "$lt_compile" 2>conftest.err)
|
|
ac_status=$?
|
|
cat conftest.err >&5
|
|
- echo "$as_me:9665: \$? = $ac_status" >&5
|
|
+ echo "$as_me:7929: \$? = $ac_status" >&5
|
|
if (exit $ac_status) && test -s "$ac_outfile"; then
|
|
# The compiler can only warn and ignore the option if not recognized
|
|
# So say no if there are warnings other than the usual output.
|
|
@@ -9763,11 +8027,11 @@ else
|
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
|
-e 's:$: $lt_compiler_flag:'`
|
|
- (eval echo "\"\$as_me:9766: $lt_compile\"" >&5)
|
|
+ (eval echo "\"\$as_me:8030: $lt_compile\"" >&5)
|
|
(eval "$lt_compile" 2>out/conftest.err)
|
|
ac_status=$?
|
|
cat out/conftest.err >&5
|
|
- echo "$as_me:9770: \$? = $ac_status" >&5
|
|
+ echo "$as_me:8034: \$? = $ac_status" >&5
|
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
|
then
|
|
# The compiler can only warn and ignore the option if not recognized
|
|
@@ -9818,11 +8082,11 @@ else
|
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
|
-e 's:$: $lt_compiler_flag:'`
|
|
- (eval echo "\"\$as_me:9821: $lt_compile\"" >&5)
|
|
+ (eval echo "\"\$as_me:8085: $lt_compile\"" >&5)
|
|
(eval "$lt_compile" 2>out/conftest.err)
|
|
ac_status=$?
|
|
cat out/conftest.err >&5
|
|
- echo "$as_me:9825: \$? = $ac_status" >&5
|
|
+ echo "$as_me:8089: \$? = $ac_status" >&5
|
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
|
then
|
|
# The compiler can only warn and ignore the option if not recognized
|
|
@@ -11670,10 +9934,13 @@ rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
# before this can be enabled.
|
|
hardcode_into_libs=yes
|
|
|
|
+ # Add ABI-specific directories to the system library path.
|
|
+ sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
|
|
+
|
|
# Append ld.so.conf contents to the search path
|
|
if test -f /etc/ld.so.conf; then
|
|
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
|
|
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
|
+ sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
|
|
fi
|
|
|
|
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
|
@@ -12618,7 +10885,7 @@ else
|
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
|
lt_status=$lt_dlunknown
|
|
cat > conftest.$ac_ext <<_LT_EOF
|
|
-#line 12621 "configure"
|
|
+#line 10888 "configure"
|
|
#include "confdefs.h"
|
|
|
|
#if HAVE_DLFCN_H
|
|
@@ -12714,7 +10981,7 @@ else
|
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
|
lt_status=$lt_dlunknown
|
|
cat > conftest.$ac_ext <<_LT_EOF
|
|
-#line 12717 "configure"
|
|
+#line 10984 "configure"
|
|
#include "confdefs.h"
|
|
|
|
#if HAVE_DLFCN_H
|
|
@@ -12942,6 +11209,4095 @@ CC="$lt_save_CC"
|
|
|
|
|
|
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+{ $as_echo "$as_me:$LINENO: checking which extension is used for runtime loadable modules" >&5
|
|
+$as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
|
|
+if test "${libltdl_cv_shlibext+set}" = set; then
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+module=yes
|
|
+eval libltdl_cv_shlibext=$shrext_cmds
|
|
+
|
|
+fi
|
|
+{ $as_echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5
|
|
+$as_echo "$libltdl_cv_shlibext" >&6; }
|
|
+if test -n "$libltdl_cv_shlibext"; then
|
|
+
|
|
+cat >>confdefs.h <<_ACEOF
|
|
+#define LT_MODULE_EXT "$libltdl_cv_shlibext"
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+
|
|
+{ $as_echo "$as_me:$LINENO: checking which variable specifies run-time module search path" >&5
|
|
+$as_echo_n "checking which variable specifies run-time module search path... " >&6; }
|
|
+if test "${lt_cv_module_path_var+set}" = set; then
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+ lt_cv_module_path_var="$shlibpath_var"
|
|
+fi
|
|
+{ $as_echo "$as_me:$LINENO: result: $lt_cv_module_path_var" >&5
|
|
+$as_echo "$lt_cv_module_path_var" >&6; }
|
|
+if test -n "$lt_cv_module_path_var"; then
|
|
+
|
|
+cat >>confdefs.h <<_ACEOF
|
|
+#define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+
|
|
+{ $as_echo "$as_me:$LINENO: checking for the default library search path" >&5
|
|
+$as_echo_n "checking for the default library search path... " >&6; }
|
|
+if test "${lt_cv_sys_dlsearch_path+set}" = set; then
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+ lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
|
|
+fi
|
|
+{ $as_echo "$as_me:$LINENO: result: $lt_cv_sys_dlsearch_path" >&5
|
|
+$as_echo "$lt_cv_sys_dlsearch_path" >&6; }
|
|
+if test -n "$lt_cv_sys_dlsearch_path"; then
|
|
+ sys_dlsearch_path=
|
|
+ for dir in $lt_cv_sys_dlsearch_path; do
|
|
+ if test -z "$sys_dlsearch_path"; then
|
|
+ sys_dlsearch_path="$dir"
|
|
+ else
|
|
+ sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
|
|
+ fi
|
|
+ done
|
|
+
|
|
+cat >>confdefs.h <<_ACEOF
|
|
+#define LT_DLSEARCH_PATH "$sys_dlsearch_path"
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+
|
|
+
|
|
+LT_DLLOADERS=
|
|
+
|
|
+
|
|
+ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+LIBADD_DLOPEN=
|
|
+{ $as_echo "$as_me:$LINENO: checking for library containing dlopen" >&5
|
|
+$as_echo_n "checking for library containing dlopen... " >&6; }
|
|
+if test "${ac_cv_search_dlopen+set}" = set; then
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+ ac_func_search_save_LIBS=$LIBS
|
|
+cat >conftest.$ac_ext <<_ACEOF
|
|
+/* confdefs.h. */
|
|
+_ACEOF
|
|
+cat confdefs.h >>conftest.$ac_ext
|
|
+cat >>conftest.$ac_ext <<_ACEOF
|
|
+/* end confdefs.h. */
|
|
+
|
|
+/* Override any GCC internal prototype to avoid an error.
|
|
+ Use char because int might match the return type of a GCC
|
|
+ builtin and then its argument prototype would still apply. */
|
|
+#ifdef __cplusplus
|
|
+extern "C"
|
|
+#endif
|
|
+char dlopen ();
|
|
+int
|
|
+main ()
|
|
+{
|
|
+return dlopen ();
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+for ac_lib in '' dl; do
|
|
+ if test -z "$ac_lib"; then
|
|
+ ac_res="none required"
|
|
+ else
|
|
+ ac_res=-l$ac_lib
|
|
+ LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
|
+ fi
|
|
+ rm -f conftest.$ac_objext conftest$ac_exeext
|
|
+if { (ac_try="$ac_link"
|
|
+case "(($ac_try" in
|
|
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
+ *) ac_try_echo=$ac_try;;
|
|
+esac
|
|
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
+$as_echo "$ac_try_echo") >&5
|
|
+ (eval "$ac_link") 2>conftest.er1
|
|
+ ac_status=$?
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
+ rm -f conftest.er1
|
|
+ cat conftest.err >&5
|
|
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
+ (exit $ac_status); } && {
|
|
+ test -z "$ac_c_werror_flag" ||
|
|
+ test ! -s conftest.err
|
|
+ } && test -s conftest$ac_exeext && {
|
|
+ test "$cross_compiling" = yes ||
|
|
+ $as_test_x conftest$ac_exeext
|
|
+ }; then
|
|
+ ac_cv_search_dlopen=$ac_res
|
|
+else
|
|
+ $as_echo "$as_me: failed program was:" >&5
|
|
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+rm -rf conftest.dSYM
|
|
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
+ conftest$ac_exeext
|
|
+ if test "${ac_cv_search_dlopen+set}" = set; then
|
|
+ break
|
|
+fi
|
|
+done
|
|
+if test "${ac_cv_search_dlopen+set}" = set; then
|
|
+ :
|
|
+else
|
|
+ ac_cv_search_dlopen=no
|
|
+fi
|
|
+rm conftest.$ac_ext
|
|
+LIBS=$ac_func_search_save_LIBS
|
|
+fi
|
|
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
|
|
+$as_echo "$ac_cv_search_dlopen" >&6; }
|
|
+ac_res=$ac_cv_search_dlopen
|
|
+if test "$ac_res" != no; then
|
|
+ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
|
+
|
|
+cat >>confdefs.h <<\_ACEOF
|
|
+#define HAVE_LIBDL 1
|
|
+_ACEOF
|
|
+
|
|
+ if test "$ac_cv_search_dlopen" != "none required" ; then
|
|
+ LIBADD_DLOPEN="-ldl"
|
|
+ fi
|
|
+ libltdl_cv_lib_dl_dlopen="yes"
|
|
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
|
|
+else
|
|
+ cat >conftest.$ac_ext <<_ACEOF
|
|
+/* confdefs.h. */
|
|
+_ACEOF
|
|
+cat confdefs.h >>conftest.$ac_ext
|
|
+cat >>conftest.$ac_ext <<_ACEOF
|
|
+/* end confdefs.h. */
|
|
+#if HAVE_DLFCN_H
|
|
+# include <dlfcn.h>
|
|
+#endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+dlopen(0, 0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+rm -f conftest.$ac_objext conftest$ac_exeext
|
|
+if { (ac_try="$ac_link"
|
|
+case "(($ac_try" in
|
|
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
+ *) ac_try_echo=$ac_try;;
|
|
+esac
|
|
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
+$as_echo "$ac_try_echo") >&5
|
|
+ (eval "$ac_link") 2>conftest.er1
|
|
+ ac_status=$?
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
+ rm -f conftest.er1
|
|
+ cat conftest.err >&5
|
|
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
+ (exit $ac_status); } && {
|
|
+ test -z "$ac_c_werror_flag" ||
|
|
+ test ! -s conftest.err
|
|
+ } && test -s conftest$ac_exeext && {
|
|
+ test "$cross_compiling" = yes ||
|
|
+ $as_test_x conftest$ac_exeext
|
|
+ }; then
|
|
+
|
|
+cat >>confdefs.h <<\_ACEOF
|
|
+#define HAVE_LIBDL 1
|
|
+_ACEOF
|
|
+
|
|
+ libltdl_cv_func_dlopen="yes"
|
|
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
|
|
+else
|
|
+ $as_echo "$as_me: failed program was:" >&5
|
|
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
+
|
|
+ { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
|
|
+$as_echo_n "checking for dlopen in -lsvld... " >&6; }
|
|
+if test "${ac_cv_lib_svld_dlopen+set}" = set; then
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+ ac_check_lib_save_LIBS=$LIBS
|
|
+LIBS="-lsvld $LIBS"
|
|
+cat >conftest.$ac_ext <<_ACEOF
|
|
+/* confdefs.h. */
|
|
+_ACEOF
|
|
+cat confdefs.h >>conftest.$ac_ext
|
|
+cat >>conftest.$ac_ext <<_ACEOF
|
|
+/* end confdefs.h. */
|
|
+
|
|
+/* Override any GCC internal prototype to avoid an error.
|
|
+ Use char because int might match the return type of a GCC
|
|
+ builtin and then its argument prototype would still apply. */
|
|
+#ifdef __cplusplus
|
|
+extern "C"
|
|
+#endif
|
|
+char dlopen ();
|
|
+int
|
|
+main ()
|
|
+{
|
|
+return dlopen ();
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+rm -f conftest.$ac_objext conftest$ac_exeext
|
|
+if { (ac_try="$ac_link"
|
|
+case "(($ac_try" in
|
|
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
+ *) ac_try_echo=$ac_try;;
|
|
+esac
|
|
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
+$as_echo "$ac_try_echo") >&5
|
|
+ (eval "$ac_link") 2>conftest.er1
|
|
+ ac_status=$?
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
+ rm -f conftest.er1
|
|
+ cat conftest.err >&5
|
|
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
+ (exit $ac_status); } && {
|
|
+ test -z "$ac_c_werror_flag" ||
|
|
+ test ! -s conftest.err
|
|
+ } && test -s conftest$ac_exeext && {
|
|
+ test "$cross_compiling" = yes ||
|
|
+ $as_test_x conftest$ac_exeext
|
|
+ }; then
|
|
+ ac_cv_lib_svld_dlopen=yes
|
|
+else
|
|
+ $as_echo "$as_me: failed program was:" >&5
|
|
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
+
|
|
+ ac_cv_lib_svld_dlopen=no
|
|
+fi
|
|
+
|
|
+rm -rf conftest.dSYM
|
|
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
+ conftest$ac_exeext conftest.$ac_ext
|
|
+LIBS=$ac_check_lib_save_LIBS
|
|
+fi
|
|
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
|
|
+$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
|
|
+if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
|
|
+
|
|
+cat >>confdefs.h <<\_ACEOF
|
|
+#define HAVE_LIBDL 1
|
|
+_ACEOF
|
|
+
|
|
+ LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
|
|
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
|
|
+fi
|
|
+
|
|
+fi
|
|
+
|
|
+rm -rf conftest.dSYM
|
|
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
+ conftest$ac_exeext conftest.$ac_ext
|
|
+fi
|
|
+
|
|
+if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
|
|
+then
|
|
+ lt_save_LIBS="$LIBS"
|
|
+ LIBS="$LIBS $LIBADD_DLOPEN"
|
|
+
|
|
+for ac_func in dlerror
|
|
+do
|
|
+as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
+{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
|
|
+$as_echo_n "checking for $ac_func... " >&6; }
|
|
+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+ cat >conftest.$ac_ext <<_ACEOF
|
|
+/* confdefs.h. */
|
|
+_ACEOF
|
|
+cat confdefs.h >>conftest.$ac_ext
|
|
+cat >>conftest.$ac_ext <<_ACEOF
|
|
+/* end confdefs.h. */
|
|
+/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
|
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
+#define $ac_func innocuous_$ac_func
|
|
+
|
|
+/* System header to define __stub macros and hopefully few prototypes,
|
|
+ which can conflict with char $ac_func (); below.
|
|
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
+ <limits.h> exists even on freestanding compilers. */
|
|
+
|
|
+#ifdef __STDC__
|
|
+# include <limits.h>
|
|
+#else
|
|
+# include <assert.h>
|
|
+#endif
|
|
+
|
|
+#undef $ac_func
|
|
+
|
|
+/* Override any GCC internal prototype to avoid an error.
|
|
+ Use char because int might match the return type of a GCC
|
|
+ builtin and then its argument prototype would still apply. */
|
|
+#ifdef __cplusplus
|
|
+extern "C"
|
|
+#endif
|
|
+char $ac_func ();
|
|
+/* 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
|
|
+#endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+return $ac_func ();
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+rm -f conftest.$ac_objext conftest$ac_exeext
|
|
+if { (ac_try="$ac_link"
|
|
+case "(($ac_try" in
|
|
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
+ *) ac_try_echo=$ac_try;;
|
|
+esac
|
|
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
+$as_echo "$ac_try_echo") >&5
|
|
+ (eval "$ac_link") 2>conftest.er1
|
|
+ ac_status=$?
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
+ rm -f conftest.er1
|
|
+ cat conftest.err >&5
|
|
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
+ (exit $ac_status); } && {
|
|
+ test -z "$ac_c_werror_flag" ||
|
|
+ test ! -s conftest.err
|
|
+ } && test -s conftest$ac_exeext && {
|
|
+ test "$cross_compiling" = yes ||
|
|
+ $as_test_x conftest$ac_exeext
|
|
+ }; then
|
|
+ eval "$as_ac_var=yes"
|
|
+else
|
|
+ $as_echo "$as_me: failed program was:" >&5
|
|
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
+
|
|
+ eval "$as_ac_var=no"
|
|
+fi
|
|
+
|
|
+rm -rf conftest.dSYM
|
|
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
+ conftest$ac_exeext conftest.$ac_ext
|
|
+fi
|
|
+ac_res=`eval 'as_val=${'$as_ac_var'}
|
|
+ $as_echo "$as_val"'`
|
|
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
+$as_echo "$ac_res" >&6; }
|
|
+as_val=`eval 'as_val=${'$as_ac_var'}
|
|
+ $as_echo "$as_val"'`
|
|
+ if test "x$as_val" = x""yes; then
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+ LIBS="$lt_save_LIBS"
|
|
+fi
|
|
+
|
|
+
|
|
+LIBADD_SHL_LOAD=
|
|
+{ $as_echo "$as_me:$LINENO: checking for shl_load" >&5
|
|
+$as_echo_n "checking for shl_load... " >&6; }
|
|
+if test "${ac_cv_func_shl_load+set}" = set; then
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+ cat >conftest.$ac_ext <<_ACEOF
|
|
+/* confdefs.h. */
|
|
+_ACEOF
|
|
+cat confdefs.h >>conftest.$ac_ext
|
|
+cat >>conftest.$ac_ext <<_ACEOF
|
|
+/* end confdefs.h. */
|
|
+/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
|
|
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
+#define shl_load innocuous_shl_load
|
|
+
|
|
+/* System header to define __stub macros and hopefully few prototypes,
|
|
+ which can conflict with char shl_load (); below.
|
|
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
+ <limits.h> exists even on freestanding compilers. */
|
|
+
|
|
+#ifdef __STDC__
|
|
+# include <limits.h>
|
|
+#else
|
|
+# include <assert.h>
|
|
+#endif
|
|
+
|
|
+#undef shl_load
|
|
+
|
|
+/* Override any GCC internal prototype to avoid an error.
|
|
+ Use char because int might match the return type of a GCC
|
|
+ builtin and then its argument prototype would still apply. */
|
|
+#ifdef __cplusplus
|
|
+extern "C"
|
|
+#endif
|
|
+char shl_load ();
|
|
+/* 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_shl_load || defined __stub___shl_load
|
|
+choke me
|
|
+#endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+return shl_load ();
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+rm -f conftest.$ac_objext conftest$ac_exeext
|
|
+if { (ac_try="$ac_link"
|
|
+case "(($ac_try" in
|
|
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
+ *) ac_try_echo=$ac_try;;
|
|
+esac
|
|
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
+$as_echo "$ac_try_echo") >&5
|
|
+ (eval "$ac_link") 2>conftest.er1
|
|
+ ac_status=$?
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
+ rm -f conftest.er1
|
|
+ cat conftest.err >&5
|
|
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
+ (exit $ac_status); } && {
|
|
+ test -z "$ac_c_werror_flag" ||
|
|
+ test ! -s conftest.err
|
|
+ } && test -s conftest$ac_exeext && {
|
|
+ test "$cross_compiling" = yes ||
|
|
+ $as_test_x conftest$ac_exeext
|
|
+ }; then
|
|
+ ac_cv_func_shl_load=yes
|
|
+else
|
|
+ $as_echo "$as_me: failed program was:" >&5
|
|
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
+
|
|
+ ac_cv_func_shl_load=no
|
|
+fi
|
|
+
|
|
+rm -rf conftest.dSYM
|
|
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
+ conftest$ac_exeext conftest.$ac_ext
|
|
+fi
|
|
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
|
|
+$as_echo "$ac_cv_func_shl_load" >&6; }
|
|
+if test "x$ac_cv_func_shl_load" = x""yes; then
|
|
+
|
|
+cat >>confdefs.h <<\_ACEOF
|
|
+#define HAVE_SHL_LOAD 1
|
|
+_ACEOF
|
|
+
|
|
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
|
|
+else
|
|
+ { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
|
|
+$as_echo_n "checking for shl_load in -ldld... " >&6; }
|
|
+if test "${ac_cv_lib_dld_shl_load+set}" = set; then
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+ ac_check_lib_save_LIBS=$LIBS
|
|
+LIBS="-ldld $LIBS"
|
|
+cat >conftest.$ac_ext <<_ACEOF
|
|
+/* confdefs.h. */
|
|
+_ACEOF
|
|
+cat confdefs.h >>conftest.$ac_ext
|
|
+cat >>conftest.$ac_ext <<_ACEOF
|
|
+/* end confdefs.h. */
|
|
+
|
|
+/* Override any GCC internal prototype to avoid an error.
|
|
+ Use char because int might match the return type of a GCC
|
|
+ builtin and then its argument prototype would still apply. */
|
|
+#ifdef __cplusplus
|
|
+extern "C"
|
|
+#endif
|
|
+char shl_load ();
|
|
+int
|
|
+main ()
|
|
+{
|
|
+return shl_load ();
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+rm -f conftest.$ac_objext conftest$ac_exeext
|
|
+if { (ac_try="$ac_link"
|
|
+case "(($ac_try" in
|
|
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
+ *) ac_try_echo=$ac_try;;
|
|
+esac
|
|
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
+$as_echo "$ac_try_echo") >&5
|
|
+ (eval "$ac_link") 2>conftest.er1
|
|
+ ac_status=$?
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
+ rm -f conftest.er1
|
|
+ cat conftest.err >&5
|
|
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
+ (exit $ac_status); } && {
|
|
+ test -z "$ac_c_werror_flag" ||
|
|
+ test ! -s conftest.err
|
|
+ } && test -s conftest$ac_exeext && {
|
|
+ test "$cross_compiling" = yes ||
|
|
+ $as_test_x conftest$ac_exeext
|
|
+ }; then
|
|
+ ac_cv_lib_dld_shl_load=yes
|
|
+else
|
|
+ $as_echo "$as_me: failed program was:" >&5
|
|
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
+
|
|
+ ac_cv_lib_dld_shl_load=no
|
|
+fi
|
|
+
|
|
+rm -rf conftest.dSYM
|
|
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
+ conftest$ac_exeext conftest.$ac_ext
|
|
+LIBS=$ac_check_lib_save_LIBS
|
|
+fi
|
|
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
|
|
+$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
|
|
+if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
|
|
+
|
|
+cat >>confdefs.h <<\_ACEOF
|
|
+#define HAVE_SHL_LOAD 1
|
|
+_ACEOF
|
|
+
|
|
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
|
|
+ LIBADD_SHL_LOAD="-ldld"
|
|
+fi
|
|
+
|
|
+fi
|
|
+
|
|
+
|
|
+
|
|
+case $host_os in
|
|
+darwin[1567].*)
|
|
+# We only want this for pre-Mac OS X 10.4.
|
|
+ { $as_echo "$as_me:$LINENO: checking for _dyld_func_lookup" >&5
|
|
+$as_echo_n "checking for _dyld_func_lookup... " >&6; }
|
|
+if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+ cat >conftest.$ac_ext <<_ACEOF
|
|
+/* confdefs.h. */
|
|
+_ACEOF
|
|
+cat confdefs.h >>conftest.$ac_ext
|
|
+cat >>conftest.$ac_ext <<_ACEOF
|
|
+/* end confdefs.h. */
|
|
+/* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
|
|
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
+#define _dyld_func_lookup innocuous__dyld_func_lookup
|
|
+
|
|
+/* System header to define __stub macros and hopefully few prototypes,
|
|
+ which can conflict with char _dyld_func_lookup (); below.
|
|
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
+ <limits.h> exists even on freestanding compilers. */
|
|
+
|
|
+#ifdef __STDC__
|
|
+# include <limits.h>
|
|
+#else
|
|
+# include <assert.h>
|
|
+#endif
|
|
+
|
|
+#undef _dyld_func_lookup
|
|
+
|
|
+/* Override any GCC internal prototype to avoid an error.
|
|
+ Use char because int might match the return type of a GCC
|
|
+ builtin and then its argument prototype would still apply. */
|
|
+#ifdef __cplusplus
|
|
+extern "C"
|
|
+#endif
|
|
+char _dyld_func_lookup ();
|
|
+/* 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__dyld_func_lookup || defined __stub____dyld_func_lookup
|
|
+choke me
|
|
+#endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+return _dyld_func_lookup ();
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+rm -f conftest.$ac_objext conftest$ac_exeext
|
|
+if { (ac_try="$ac_link"
|
|
+case "(($ac_try" in
|
|
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
+ *) ac_try_echo=$ac_try;;
|
|
+esac
|
|
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
+$as_echo "$ac_try_echo") >&5
|
|
+ (eval "$ac_link") 2>conftest.er1
|
|
+ ac_status=$?
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
+ rm -f conftest.er1
|
|
+ cat conftest.err >&5
|
|
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
+ (exit $ac_status); } && {
|
|
+ test -z "$ac_c_werror_flag" ||
|
|
+ test ! -s conftest.err
|
|
+ } && test -s conftest$ac_exeext && {
|
|
+ test "$cross_compiling" = yes ||
|
|
+ $as_test_x conftest$ac_exeext
|
|
+ }; then
|
|
+ ac_cv_func__dyld_func_lookup=yes
|
|
+else
|
|
+ $as_echo "$as_me: failed program was:" >&5
|
|
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
+
|
|
+ ac_cv_func__dyld_func_lookup=no
|
|
+fi
|
|
+
|
|
+rm -rf conftest.dSYM
|
|
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
+ conftest$ac_exeext conftest.$ac_ext
|
|
+fi
|
|
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_func__dyld_func_lookup" >&5
|
|
+$as_echo "$ac_cv_func__dyld_func_lookup" >&6; }
|
|
+if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then
|
|
+
|
|
+cat >>confdefs.h <<\_ACEOF
|
|
+#define HAVE_DYLD 1
|
|
+_ACEOF
|
|
+
|
|
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
|
|
+fi
|
|
+
|
|
+ ;;
|
|
+beos*)
|
|
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
|
|
+ ;;
|
|
+cygwin* | mingw* | os2* | pw32*)
|
|
+ { $as_echo "$as_me:$LINENO: checking whether cygwin_conv_path is declared" >&5
|
|
+$as_echo_n "checking whether cygwin_conv_path is declared... " >&6; }
|
|
+if test "${ac_cv_have_decl_cygwin_conv_path+set}" = set; then
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+ cat >conftest.$ac_ext <<_ACEOF
|
|
+/* confdefs.h. */
|
|
+_ACEOF
|
|
+cat confdefs.h >>conftest.$ac_ext
|
|
+cat >>conftest.$ac_ext <<_ACEOF
|
|
+/* end confdefs.h. */
|
|
+#include <sys/cygwin.h>
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+#ifndef cygwin_conv_path
|
|
+ (void) cygwin_conv_path;
|
|
+#endif
|
|
+
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+rm -f conftest.$ac_objext
|
|
+if { (ac_try="$ac_compile"
|
|
+case "(($ac_try" in
|
|
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
+ *) ac_try_echo=$ac_try;;
|
|
+esac
|
|
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
+$as_echo "$ac_try_echo") >&5
|
|
+ (eval "$ac_compile") 2>conftest.er1
|
|
+ ac_status=$?
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
+ rm -f conftest.er1
|
|
+ cat conftest.err >&5
|
|
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
+ (exit $ac_status); } && {
|
|
+ test -z "$ac_c_werror_flag" ||
|
|
+ test ! -s conftest.err
|
|
+ } && test -s conftest.$ac_objext; then
|
|
+ ac_cv_have_decl_cygwin_conv_path=yes
|
|
+else
|
|
+ $as_echo "$as_me: failed program was:" >&5
|
|
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
+
|
|
+ ac_cv_have_decl_cygwin_conv_path=no
|
|
+fi
|
|
+
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+fi
|
|
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_cygwin_conv_path" >&5
|
|
+$as_echo "$ac_cv_have_decl_cygwin_conv_path" >&6; }
|
|
+if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then
|
|
+
|
|
+cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_DECL_CYGWIN_CONV_PATH 1
|
|
+_ACEOF
|
|
+
|
|
+
|
|
+else
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_DECL_CYGWIN_CONV_PATH 0
|
|
+_ACEOF
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+
|
|
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
|
|
+ ;;
|
|
+esac
|
|
+
|
|
+{ $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
|
|
+$as_echo_n "checking for dld_link in -ldld... " >&6; }
|
|
+if test "${ac_cv_lib_dld_dld_link+set}" = set; then
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+ ac_check_lib_save_LIBS=$LIBS
|
|
+LIBS="-ldld $LIBS"
|
|
+cat >conftest.$ac_ext <<_ACEOF
|
|
+/* confdefs.h. */
|
|
+_ACEOF
|
|
+cat confdefs.h >>conftest.$ac_ext
|
|
+cat >>conftest.$ac_ext <<_ACEOF
|
|
+/* end confdefs.h. */
|
|
+
|
|
+/* Override any GCC internal prototype to avoid an error.
|
|
+ Use char because int might match the return type of a GCC
|
|
+ builtin and then its argument prototype would still apply. */
|
|
+#ifdef __cplusplus
|
|
+extern "C"
|
|
+#endif
|
|
+char dld_link ();
|
|
+int
|
|
+main ()
|
|
+{
|
|
+return dld_link ();
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+rm -f conftest.$ac_objext conftest$ac_exeext
|
|
+if { (ac_try="$ac_link"
|
|
+case "(($ac_try" in
|
|
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
+ *) ac_try_echo=$ac_try;;
|
|
+esac
|
|
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
+$as_echo "$ac_try_echo") >&5
|
|
+ (eval "$ac_link") 2>conftest.er1
|
|
+ ac_status=$?
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
+ rm -f conftest.er1
|
|
+ cat conftest.err >&5
|
|
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
+ (exit $ac_status); } && {
|
|
+ test -z "$ac_c_werror_flag" ||
|
|
+ test ! -s conftest.err
|
|
+ } && test -s conftest$ac_exeext && {
|
|
+ test "$cross_compiling" = yes ||
|
|
+ $as_test_x conftest$ac_exeext
|
|
+ }; then
|
|
+ ac_cv_lib_dld_dld_link=yes
|
|
+else
|
|
+ $as_echo "$as_me: failed program was:" >&5
|
|
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
+
|
|
+ ac_cv_lib_dld_dld_link=no
|
|
+fi
|
|
+
|
|
+rm -rf conftest.dSYM
|
|
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
+ conftest$ac_exeext conftest.$ac_ext
|
|
+LIBS=$ac_check_lib_save_LIBS
|
|
+fi
|
|
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
|
|
+$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
|
|
+if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
|
|
+
|
|
+cat >>confdefs.h <<\_ACEOF
|
|
+#define HAVE_DLD 1
|
|
+_ACEOF
|
|
+
|
|
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
|
|
+fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+LT_DLPREOPEN=
|
|
+if test -n "$LT_DLLOADERS"
|
|
+then
|
|
+ for lt_loader in $LT_DLLOADERS; do
|
|
+ LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
|
|
+ done
|
|
+
|
|
+cat >>confdefs.h <<\_ACEOF
|
|
+#define HAVE_LIBDLLOADER 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+
|
|
+
|
|
+LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
|
|
+
|
|
+
|
|
+ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+{ $as_echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
|
|
+$as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
|
|
+if test "${lt_cv_sys_symbol_underscore+set}" = set; then
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+ lt_cv_sys_symbol_underscore=no
|
|
+ cat > conftest.$ac_ext <<_LT_EOF
|
|
+void nm_test_func(){}
|
|
+int main(){nm_test_func;return 0;}
|
|
+_LT_EOF
|
|
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
+ (eval $ac_compile) 2>&5
|
|
+ ac_status=$?
|
|
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
+ (exit $ac_status); }; then
|
|
+ # Now try to grab the symbols.
|
|
+ ac_nlist=conftest.nm
|
|
+ if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\"") >&5
|
|
+ (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
|
|
+ ac_status=$?
|
|
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
+ (exit $ac_status); } && test -s "$ac_nlist"; then
|
|
+ # See whether the symbols have a leading underscore.
|
|
+ if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
|
|
+ lt_cv_sys_symbol_underscore=yes
|
|
+ else
|
|
+ if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
|
|
+ :
|
|
+ else
|
|
+ echo "configure: cannot find nm_test_func in $ac_nlist" >&5
|
|
+ fi
|
|
+ fi
|
|
+ else
|
|
+ echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
|
|
+ fi
|
|
+ else
|
|
+ echo "configure: failed program was:" >&5
|
|
+ cat conftest.c >&5
|
|
+ fi
|
|
+ rm -rf conftest*
|
|
+
|
|
+fi
|
|
+{ $as_echo "$as_me:$LINENO: result: $lt_cv_sys_symbol_underscore" >&5
|
|
+$as_echo "$lt_cv_sys_symbol_underscore" >&6; }
|
|
+ sys_symbol_underscore=$lt_cv_sys_symbol_underscore
|
|
+
|
|
+
|
|
+if test x"$lt_cv_sys_symbol_underscore" = xyes; then
|
|
+ if test x"$libltdl_cv_func_dlopen" = xyes ||
|
|
+ test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
|
|
+ { $as_echo "$as_me:$LINENO: checking whether we have to add an underscore for dlsym" >&5
|
|
+$as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
|
|
+if test "${libltdl_cv_need_uscore+set}" = set; then
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+ libltdl_cv_need_uscore=unknown
|
|
+ save_LIBS="$LIBS"
|
|
+ LIBS="$LIBS $LIBADD_DLOPEN"
|
|
+ if test "$cross_compiling" = yes; then :
|
|
+ libltdl_cv_need_uscore=cross
|
|
+else
|
|
+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
|
+ lt_status=$lt_dlunknown
|
|
+ cat > conftest.$ac_ext <<_LT_EOF
|
|
+#line 12143 "configure"
|
|
+#include "confdefs.h"
|
|
+
|
|
+#if HAVE_DLFCN_H
|
|
+#include <dlfcn.h>
|
|
+#endif
|
|
+
|
|
+#include <stdio.h>
|
|
+
|
|
+#ifdef RTLD_GLOBAL
|
|
+# define LT_DLGLOBAL RTLD_GLOBAL
|
|
+#else
|
|
+# ifdef DL_GLOBAL
|
|
+# define LT_DLGLOBAL DL_GLOBAL
|
|
+# else
|
|
+# define LT_DLGLOBAL 0
|
|
+# endif
|
|
+#endif
|
|
+
|
|
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
|
|
+ find out it does not work in some platform. */
|
|
+#ifndef LT_DLLAZY_OR_NOW
|
|
+# ifdef RTLD_LAZY
|
|
+# define LT_DLLAZY_OR_NOW RTLD_LAZY
|
|
+# else
|
|
+# ifdef DL_LAZY
|
|
+# define LT_DLLAZY_OR_NOW DL_LAZY
|
|
+# else
|
|
+# ifdef RTLD_NOW
|
|
+# define LT_DLLAZY_OR_NOW RTLD_NOW
|
|
+# else
|
|
+# ifdef DL_NOW
|
|
+# define LT_DLLAZY_OR_NOW DL_NOW
|
|
+# else
|
|
+# define LT_DLLAZY_OR_NOW 0
|
|
+# endif
|
|
+# endif
|
|
+# endif
|
|
+# endif
|
|
+#endif
|
|
+
|
|
+void fnord() { int i=42;}
|
|
+int main ()
|
|
+{
|
|
+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
|
|
+ int status = $lt_dlunknown;
|
|
+
|
|
+ if (self)
|
|
+ {
|
|
+ if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
|
|
+ else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
|
|
+ /* dlclose (self); */
|
|
+ }
|
|
+ else
|
|
+ puts (dlerror ());
|
|
+
|
|
+ return status;
|
|
+}
|
|
+_LT_EOF
|
|
+ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
+ (eval $ac_link) 2>&5
|
|
+ ac_status=$?
|
|
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
+ (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
|
|
+ (./conftest; exit; ) >&5 2>/dev/null
|
|
+ lt_status=$?
|
|
+ case x$lt_status in
|
|
+ x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
|
|
+ x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
|
|
+ x$lt_dlunknown|x*) ;;
|
|
+ esac
|
|
+ else :
|
|
+ # compilation failed
|
|
+
|
|
+ fi
|
|
+fi
|
|
+rm -fr conftest*
|
|
+
|
|
+ LIBS="$save_LIBS"
|
|
+
|
|
+fi
|
|
+{ $as_echo "$as_me:$LINENO: result: $libltdl_cv_need_uscore" >&5
|
|
+$as_echo "$libltdl_cv_need_uscore" >&6; }
|
|
+ fi
|
|
+fi
|
|
+
|
|
+if test x"$libltdl_cv_need_uscore" = xyes; then
|
|
+
|
|
+cat >>confdefs.h <<\_ACEOF
|
|
+#define NEED_USCORE 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+
|
|
+{ $as_echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen" >&5
|
|
+$as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
|
|
+if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+ # PORTME does your system automatically load deplibs for dlopen?
|
|
+ # or its logical equivalent (e.g. shl_load for HP-UX < 11)
|
|
+ # For now, we just catch OSes we know something about -- in the
|
|
+ # future, we'll try test this programmatically.
|
|
+ lt_cv_sys_dlopen_deplibs=unknown
|
|
+ case $host_os in
|
|
+ aix3*|aix4.1.*|aix4.2.*)
|
|
+ # Unknown whether this is true for these versions of AIX, but
|
|
+ # we want this `case' here to explicitly catch those versions.
|
|
+ lt_cv_sys_dlopen_deplibs=unknown
|
|
+ ;;
|
|
+ aix[4-9]*)
|
|
+ lt_cv_sys_dlopen_deplibs=yes
|
|
+ ;;
|
|
+ amigaos*)
|
|
+ case $host_cpu in
|
|
+ powerpc)
|
|
+ lt_cv_sys_dlopen_deplibs=no
|
|
+ ;;
|
|
+ esac
|
|
+ ;;
|
|
+ darwin*)
|
|
+ # Assuming the user has installed a libdl from somewhere, this is true
|
|
+ # If you are looking for one http://www.opendarwin.org/projects/dlcompat
|
|
+ lt_cv_sys_dlopen_deplibs=yes
|
|
+ ;;
|
|
+ freebsd* | dragonfly*)
|
|
+ lt_cv_sys_dlopen_deplibs=yes
|
|
+ ;;
|
|
+ gnu* | linux* | k*bsd*-gnu)
|
|
+ # GNU and its variants, using gnu ld.so (Glibc)
|
|
+ lt_cv_sys_dlopen_deplibs=yes
|
|
+ ;;
|
|
+ hpux10*|hpux11*)
|
|
+ lt_cv_sys_dlopen_deplibs=yes
|
|
+ ;;
|
|
+ interix*)
|
|
+ lt_cv_sys_dlopen_deplibs=yes
|
|
+ ;;
|
|
+ irix[12345]*|irix6.[01]*)
|
|
+ # Catch all versions of IRIX before 6.2, and indicate that we don't
|
|
+ # know how it worked for any of those versions.
|
|
+ lt_cv_sys_dlopen_deplibs=unknown
|
|
+ ;;
|
|
+ irix*)
|
|
+ # The case above catches anything before 6.2, and it's known that
|
|
+ # at 6.2 and later dlopen does load deplibs.
|
|
+ lt_cv_sys_dlopen_deplibs=yes
|
|
+ ;;
|
|
+ netbsd*)
|
|
+ lt_cv_sys_dlopen_deplibs=yes
|
|
+ ;;
|
|
+ openbsd*)
|
|
+ lt_cv_sys_dlopen_deplibs=yes
|
|
+ ;;
|
|
+ osf[1234]*)
|
|
+ # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
|
|
+ # it did *not* use an RPATH in a shared library to find objects the
|
|
+ # library depends on, so we explicitly say `no'.
|
|
+ lt_cv_sys_dlopen_deplibs=no
|
|
+ ;;
|
|
+ osf5.0|osf5.0a|osf5.1)
|
|
+ # dlopen *does* load deplibs and with the right loader patch applied
|
|
+ # it even uses RPATH in a shared library to search for shared objects
|
|
+ # that the library depends on, but there's no easy way to know if that
|
|
+ # patch is installed. Since this is the case, all we can really
|
|
+ # say is unknown -- it depends on the patch being installed. If
|
|
+ # it is, this changes to `yes'. Without it, it would be `no'.
|
|
+ lt_cv_sys_dlopen_deplibs=unknown
|
|
+ ;;
|
|
+ osf*)
|
|
+ # the two cases above should catch all versions of osf <= 5.1. Read
|
|
+ # the comments above for what we know about them.
|
|
+ # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
|
|
+ # is used to find them so we can finally say `yes'.
|
|
+ lt_cv_sys_dlopen_deplibs=yes
|
|
+ ;;
|
|
+ qnx*)
|
|
+ lt_cv_sys_dlopen_deplibs=yes
|
|
+ ;;
|
|
+ solaris*)
|
|
+ lt_cv_sys_dlopen_deplibs=yes
|
|
+ ;;
|
|
+ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
|
|
+ libltdl_cv_sys_dlopen_deplibs=yes
|
|
+ ;;
|
|
+ esac
|
|
+
|
|
+fi
|
|
+{ $as_echo "$as_me:$LINENO: result: $lt_cv_sys_dlopen_deplibs" >&5
|
|
+$as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
|
|
+if test "$lt_cv_sys_dlopen_deplibs" != yes; then
|
|
+
|
|
+cat >>confdefs.h <<\_ACEOF
|
|
+#define LTDL_DLOPEN_DEPLIBS 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+
|
|
+:
|
|
+
|
|
+
|
|
+for ac_header in argz.h
|
|
+do
|
|
+as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
+{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
+$as_echo_n "checking for $ac_header... " >&6; }
|
|
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+ cat >conftest.$ac_ext <<_ACEOF
|
|
+/* confdefs.h. */
|
|
+_ACEOF
|
|
+cat confdefs.h >>conftest.$ac_ext
|
|
+cat >>conftest.$ac_ext <<_ACEOF
|
|
+/* end confdefs.h. */
|
|
+$ac_includes_default
|
|
+
|
|
+#include <$ac_header>
|
|
+_ACEOF
|
|
+rm -f conftest.$ac_objext
|
|
+if { (ac_try="$ac_compile"
|
|
+case "(($ac_try" in
|
|
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
+ *) ac_try_echo=$ac_try;;
|
|
+esac
|
|
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
+$as_echo "$ac_try_echo") >&5
|
|
+ (eval "$ac_compile") 2>conftest.er1
|
|
+ ac_status=$?
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
+ rm -f conftest.er1
|
|
+ cat conftest.err >&5
|
|
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
+ (exit $ac_status); } && {
|
|
+ test -z "$ac_c_werror_flag" ||
|
|
+ test ! -s conftest.err
|
|
+ } && test -s conftest.$ac_objext; then
|
|
+ eval "$as_ac_Header=yes"
|
|
+else
|
|
+ $as_echo "$as_me: failed program was:" >&5
|
|
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
+
|
|
+ eval "$as_ac_Header=no"
|
|
+fi
|
|
+
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+fi
|
|
+ac_res=`eval 'as_val=${'$as_ac_Header'}
|
|
+ $as_echo "$as_val"'`
|
|
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
+$as_echo "$ac_res" >&6; }
|
|
+as_val=`eval 'as_val=${'$as_ac_Header'}
|
|
+ $as_echo "$as_val"'`
|
|
+ if test "x$as_val" = x""yes; then
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+
|
|
+done
|
|
+
|
|
+
|
|
+{ $as_echo "$as_me:$LINENO: checking for error_t" >&5
|
|
+$as_echo_n "checking for error_t... " >&6; }
|
|
+if test "${ac_cv_type_error_t+set}" = set; then
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+ ac_cv_type_error_t=no
|
|
+cat >conftest.$ac_ext <<_ACEOF
|
|
+/* confdefs.h. */
|
|
+_ACEOF
|
|
+cat confdefs.h >>conftest.$ac_ext
|
|
+cat >>conftest.$ac_ext <<_ACEOF
|
|
+/* end confdefs.h. */
|
|
+#if defined(HAVE_ARGZ_H)
|
|
+# include <argz.h>
|
|
+#endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+if (sizeof (error_t))
|
|
+ return 0;
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+rm -f conftest.$ac_objext
|
|
+if { (ac_try="$ac_compile"
|
|
+case "(($ac_try" in
|
|
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
+ *) ac_try_echo=$ac_try;;
|
|
+esac
|
|
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
+$as_echo "$ac_try_echo") >&5
|
|
+ (eval "$ac_compile") 2>conftest.er1
|
|
+ ac_status=$?
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
+ rm -f conftest.er1
|
|
+ cat conftest.err >&5
|
|
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
+ (exit $ac_status); } && {
|
|
+ test -z "$ac_c_werror_flag" ||
|
|
+ test ! -s conftest.err
|
|
+ } && test -s conftest.$ac_objext; then
|
|
+ cat >conftest.$ac_ext <<_ACEOF
|
|
+/* confdefs.h. */
|
|
+_ACEOF
|
|
+cat confdefs.h >>conftest.$ac_ext
|
|
+cat >>conftest.$ac_ext <<_ACEOF
|
|
+/* end confdefs.h. */
|
|
+#if defined(HAVE_ARGZ_H)
|
|
+# include <argz.h>
|
|
+#endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+if (sizeof ((error_t)))
|
|
+ return 0;
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+rm -f conftest.$ac_objext
|
|
+if { (ac_try="$ac_compile"
|
|
+case "(($ac_try" in
|
|
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
+ *) ac_try_echo=$ac_try;;
|
|
+esac
|
|
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
+$as_echo "$ac_try_echo") >&5
|
|
+ (eval "$ac_compile") 2>conftest.er1
|
|
+ ac_status=$?
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
+ rm -f conftest.er1
|
|
+ cat conftest.err >&5
|
|
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
+ (exit $ac_status); } && {
|
|
+ test -z "$ac_c_werror_flag" ||
|
|
+ test ! -s conftest.err
|
|
+ } && test -s conftest.$ac_objext; then
|
|
+ :
|
|
+else
|
|
+ $as_echo "$as_me: failed program was:" >&5
|
|
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
+
|
|
+ ac_cv_type_error_t=yes
|
|
+fi
|
|
+
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+else
|
|
+ $as_echo "$as_me: failed program was:" >&5
|
|
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+fi
|
|
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_error_t" >&5
|
|
+$as_echo "$ac_cv_type_error_t" >&6; }
|
|
+if test "x$ac_cv_type_error_t" = x""yes; then
|
|
+
|
|
+cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_ERROR_T 1
|
|
+_ACEOF
|
|
+
|
|
+
|
|
+else
|
|
+
|
|
+cat >>confdefs.h <<\_ACEOF
|
|
+#define error_t int
|
|
+_ACEOF
|
|
+
|
|
+
|
|
+cat >>confdefs.h <<\_ACEOF
|
|
+#define __error_t_defined 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+
|
|
+
|
|
+ARGZ_H=
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
|
|
+ argz_next argz_stringify
|
|
+do
|
|
+as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
+{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
|
|
+$as_echo_n "checking for $ac_func... " >&6; }
|
|
+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+ cat >conftest.$ac_ext <<_ACEOF
|
|
+/* confdefs.h. */
|
|
+_ACEOF
|
|
+cat confdefs.h >>conftest.$ac_ext
|
|
+cat >>conftest.$ac_ext <<_ACEOF
|
|
+/* end confdefs.h. */
|
|
+/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
|
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
+#define $ac_func innocuous_$ac_func
|
|
+
|
|
+/* System header to define __stub macros and hopefully few prototypes,
|
|
+ which can conflict with char $ac_func (); below.
|
|
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
+ <limits.h> exists even on freestanding compilers. */
|
|
+
|
|
+#ifdef __STDC__
|
|
+# include <limits.h>
|
|
+#else
|
|
+# include <assert.h>
|
|
+#endif
|
|
+
|
|
+#undef $ac_func
|
|
+
|
|
+/* Override any GCC internal prototype to avoid an error.
|
|
+ Use char because int might match the return type of a GCC
|
|
+ builtin and then its argument prototype would still apply. */
|
|
+#ifdef __cplusplus
|
|
+extern "C"
|
|
+#endif
|
|
+char $ac_func ();
|
|
+/* 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
|
|
+#endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+return $ac_func ();
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+rm -f conftest.$ac_objext conftest$ac_exeext
|
|
+if { (ac_try="$ac_link"
|
|
+case "(($ac_try" in
|
|
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
+ *) ac_try_echo=$ac_try;;
|
|
+esac
|
|
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
+$as_echo "$ac_try_echo") >&5
|
|
+ (eval "$ac_link") 2>conftest.er1
|
|
+ ac_status=$?
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
+ rm -f conftest.er1
|
|
+ cat conftest.err >&5
|
|
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
+ (exit $ac_status); } && {
|
|
+ test -z "$ac_c_werror_flag" ||
|
|
+ test ! -s conftest.err
|
|
+ } && test -s conftest$ac_exeext && {
|
|
+ test "$cross_compiling" = yes ||
|
|
+ $as_test_x conftest$ac_exeext
|
|
+ }; then
|
|
+ eval "$as_ac_var=yes"
|
|
+else
|
|
+ $as_echo "$as_me: failed program was:" >&5
|
|
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
+
|
|
+ eval "$as_ac_var=no"
|
|
+fi
|
|
+
|
|
+rm -rf conftest.dSYM
|
|
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
+ conftest$ac_exeext conftest.$ac_ext
|
|
+fi
|
|
+ac_res=`eval 'as_val=${'$as_ac_var'}
|
|
+ $as_echo "$as_val"'`
|
|
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
+$as_echo "$ac_res" >&6; }
|
|
+as_val=`eval 'as_val=${'$as_ac_var'}
|
|
+ $as_echo "$as_val"'`
|
|
+ if test "x$as_val" = x""yes; then
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
|
+_ACEOF
|
|
+
|
|
+else
|
|
+ ARGZ_H=argz.h;
|
|
+
|
|
+ _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+
|
|
+if test -z "$ARGZ_H"; then
|
|
+ { $as_echo "$as_me:$LINENO: checking if argz actually works" >&5
|
|
+$as_echo_n "checking if argz actually works... " >&6; }
|
|
+if test "${lt_cv_sys_argz_works+set}" = set; then
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+ case $host_os in #(
|
|
+ *cygwin*)
|
|
+ lt_cv_sys_argz_works=no
|
|
+ if test "$cross_compiling" != no; then
|
|
+ lt_cv_sys_argz_works="guessing no"
|
|
+ else
|
|
+ lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
|
|
+ save_IFS=$IFS
|
|
+ IFS=-.
|
|
+ set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
|
|
+ IFS=$save_IFS
|
|
+ lt_os_major=${2-0}
|
|
+ lt_os_minor=${3-0}
|
|
+ lt_os_micro=${4-0}
|
|
+ if test "$lt_os_major" -gt 1 \
|
|
+ || { test "$lt_os_major" -eq 1 \
|
|
+ && { test "$lt_os_minor" -gt 5 \
|
|
+ || { test "$lt_os_minor" -eq 5 \
|
|
+ && test "$lt_os_micro" -gt 24; }; }; }; then
|
|
+ lt_cv_sys_argz_works=yes
|
|
+ fi
|
|
+ fi
|
|
+ ;; #(
|
|
+ *) lt_cv_sys_argz_works=yes ;;
|
|
+ esac
|
|
+fi
|
|
+{ $as_echo "$as_me:$LINENO: result: $lt_cv_sys_argz_works" >&5
|
|
+$as_echo "$lt_cv_sys_argz_works" >&6; }
|
|
+ if test $lt_cv_sys_argz_works = yes; then
|
|
+
|
|
+cat >>confdefs.h <<\_ACEOF
|
|
+#define HAVE_WORKING_ARGZ 1
|
|
+_ACEOF
|
|
+
|
|
+else
|
|
+ ARGZ_H=argz.h
|
|
+
|
|
+
|
|
+ _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
|
|
+
|
|
+fi
|
|
+
|
|
+fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+{ $as_echo "$as_me:$LINENO: checking whether libtool supports -dlopen/-dlpreopen" >&5
|
|
+$as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
|
|
+if test "${libltdl_cv_preloaded_symbols+set}" = set; then
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+ if test -n "$lt_cv_sys_global_symbol_pipe"; then
|
|
+ libltdl_cv_preloaded_symbols=yes
|
|
+ else
|
|
+ libltdl_cv_preloaded_symbols=no
|
|
+ fi
|
|
+
|
|
+fi
|
|
+{ $as_echo "$as_me:$LINENO: result: $libltdl_cv_preloaded_symbols" >&5
|
|
+$as_echo "$libltdl_cv_preloaded_symbols" >&6; }
|
|
+if test x"$libltdl_cv_preloaded_symbols" = xyes; then
|
|
+
|
|
+cat >>confdefs.h <<\_ACEOF
|
|
+#define HAVE_PRELOADED_SYMBOLS 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+
|
|
+
|
|
+
|
|
+# Set options
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+# Check whether --with-included_ltdl was given.
|
|
+if test "${with_included_ltdl+set}" = set; then
|
|
+ withval=$with_included_ltdl;
|
|
+fi
|
|
+
|
|
+
|
|
+if test "x$with_included_ltdl" != xyes; then
|
|
+ # We are not being forced to use the included libltdl sources, so
|
|
+ # decide whether there is a useful installed version we can use.
|
|
+ { $as_echo "$as_me:$LINENO: checking for ltdl.h" >&5
|
|
+$as_echo_n "checking for ltdl.h... " >&6; }
|
|
+if test "${ac_cv_header_ltdl_h+set}" = set; then
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+ cat >conftest.$ac_ext <<_ACEOF
|
|
+/* confdefs.h. */
|
|
+_ACEOF
|
|
+cat confdefs.h >>conftest.$ac_ext
|
|
+cat >>conftest.$ac_ext <<_ACEOF
|
|
+/* end confdefs.h. */
|
|
+$ac_includes_default
|
|
+
|
|
+
|
|
+#include <ltdl.h>
|
|
+_ACEOF
|
|
+rm -f conftest.$ac_objext
|
|
+if { (ac_try="$ac_compile"
|
|
+case "(($ac_try" in
|
|
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
+ *) ac_try_echo=$ac_try;;
|
|
+esac
|
|
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
+$as_echo "$ac_try_echo") >&5
|
|
+ (eval "$ac_compile") 2>conftest.er1
|
|
+ ac_status=$?
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
+ rm -f conftest.er1
|
|
+ cat conftest.err >&5
|
|
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
+ (exit $ac_status); } && {
|
|
+ test -z "$ac_c_werror_flag" ||
|
|
+ test ! -s conftest.err
|
|
+ } && test -s conftest.$ac_objext; then
|
|
+ ac_cv_header_ltdl_h=yes
|
|
+else
|
|
+ $as_echo "$as_me: failed program was:" >&5
|
|
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
+
|
|
+ ac_cv_header_ltdl_h=no
|
|
+fi
|
|
+
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+fi
|
|
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_ltdl_h" >&5
|
|
+$as_echo "$ac_cv_header_ltdl_h" >&6; }
|
|
+if test "x$ac_cv_header_ltdl_h" = x""yes; then
|
|
+ { $as_echo "$as_me:$LINENO: checking whether lt_dlinterface_register is declared" >&5
|
|
+$as_echo_n "checking whether lt_dlinterface_register is declared... " >&6; }
|
|
+if test "${ac_cv_have_decl_lt_dlinterface_register+set}" = set; then
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+ cat >conftest.$ac_ext <<_ACEOF
|
|
+/* confdefs.h. */
|
|
+_ACEOF
|
|
+cat confdefs.h >>conftest.$ac_ext
|
|
+cat >>conftest.$ac_ext <<_ACEOF
|
|
+/* end confdefs.h. */
|
|
+$ac_includes_default
|
|
+ #include <ltdl.h>
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+#ifndef lt_dlinterface_register
|
|
+ (void) lt_dlinterface_register;
|
|
+#endif
|
|
+
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+rm -f conftest.$ac_objext
|
|
+if { (ac_try="$ac_compile"
|
|
+case "(($ac_try" in
|
|
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
+ *) ac_try_echo=$ac_try;;
|
|
+esac
|
|
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
+$as_echo "$ac_try_echo") >&5
|
|
+ (eval "$ac_compile") 2>conftest.er1
|
|
+ ac_status=$?
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
+ rm -f conftest.er1
|
|
+ cat conftest.err >&5
|
|
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
+ (exit $ac_status); } && {
|
|
+ test -z "$ac_c_werror_flag" ||
|
|
+ test ! -s conftest.err
|
|
+ } && test -s conftest.$ac_objext; then
|
|
+ ac_cv_have_decl_lt_dlinterface_register=yes
|
|
+else
|
|
+ $as_echo "$as_me: failed program was:" >&5
|
|
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
+
|
|
+ ac_cv_have_decl_lt_dlinterface_register=no
|
|
+fi
|
|
+
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+fi
|
|
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_lt_dlinterface_register" >&5
|
|
+$as_echo "$ac_cv_have_decl_lt_dlinterface_register" >&6; }
|
|
+if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then
|
|
+ { $as_echo "$as_me:$LINENO: checking for lt_dladvise_preload in -lltdl" >&5
|
|
+$as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
|
|
+if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+ ac_check_lib_save_LIBS=$LIBS
|
|
+LIBS="-lltdl $LIBS"
|
|
+cat >conftest.$ac_ext <<_ACEOF
|
|
+/* confdefs.h. */
|
|
+_ACEOF
|
|
+cat confdefs.h >>conftest.$ac_ext
|
|
+cat >>conftest.$ac_ext <<_ACEOF
|
|
+/* end confdefs.h. */
|
|
+
|
|
+/* Override any GCC internal prototype to avoid an error.
|
|
+ Use char because int might match the return type of a GCC
|
|
+ builtin and then its argument prototype would still apply. */
|
|
+#ifdef __cplusplus
|
|
+extern "C"
|
|
+#endif
|
|
+char lt_dladvise_preload ();
|
|
+int
|
|
+main ()
|
|
+{
|
|
+return lt_dladvise_preload ();
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+rm -f conftest.$ac_objext conftest$ac_exeext
|
|
+if { (ac_try="$ac_link"
|
|
+case "(($ac_try" in
|
|
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
+ *) ac_try_echo=$ac_try;;
|
|
+esac
|
|
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
+$as_echo "$ac_try_echo") >&5
|
|
+ (eval "$ac_link") 2>conftest.er1
|
|
+ ac_status=$?
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
+ rm -f conftest.er1
|
|
+ cat conftest.err >&5
|
|
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
+ (exit $ac_status); } && {
|
|
+ test -z "$ac_c_werror_flag" ||
|
|
+ test ! -s conftest.err
|
|
+ } && test -s conftest$ac_exeext && {
|
|
+ test "$cross_compiling" = yes ||
|
|
+ $as_test_x conftest$ac_exeext
|
|
+ }; then
|
|
+ ac_cv_lib_ltdl_lt_dladvise_preload=yes
|
|
+else
|
|
+ $as_echo "$as_me: failed program was:" >&5
|
|
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
+
|
|
+ ac_cv_lib_ltdl_lt_dladvise_preload=no
|
|
+fi
|
|
+
|
|
+rm -rf conftest.dSYM
|
|
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
+ conftest$ac_exeext conftest.$ac_ext
|
|
+LIBS=$ac_check_lib_save_LIBS
|
|
+fi
|
|
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
|
|
+$as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
|
|
+if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then
|
|
+ with_included_ltdl=no
|
|
+else
|
|
+ with_included_ltdl=yes
|
|
+fi
|
|
+
|
|
+else
|
|
+ with_included_ltdl=yes
|
|
+fi
|
|
+
|
|
+else
|
|
+ with_included_ltdl=yes
|
|
+fi
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+# Check whether --with-ltdl_include was given.
|
|
+if test "${with_ltdl_include+set}" = set; then
|
|
+ withval=$with_ltdl_include;
|
|
+fi
|
|
+
|
|
+
|
|
+if test -n "$with_ltdl_include"; then
|
|
+ if test -f "$with_ltdl_include/ltdl.h"; then :
|
|
+ else
|
|
+ { { $as_echo "$as_me:$LINENO: error: invalid ltdl include directory: \`$with_ltdl_include'" >&5
|
|
+$as_echo "$as_me: error: invalid ltdl include directory: \`$with_ltdl_include'" >&2;}
|
|
+ { (exit 1); exit 1; }; }
|
|
+ fi
|
|
+else
|
|
+ with_ltdl_include=no
|
|
+fi
|
|
+
|
|
+
|
|
+# Check whether --with-ltdl_lib was given.
|
|
+if test "${with_ltdl_lib+set}" = set; then
|
|
+ withval=$with_ltdl_lib;
|
|
+fi
|
|
+
|
|
+
|
|
+if test -n "$with_ltdl_lib"; then
|
|
+ if test -f "$with_ltdl_lib/libltdl.la"; then :
|
|
+ else
|
|
+ { { $as_echo "$as_me:$LINENO: error: invalid ltdl library directory: \`$with_ltdl_lib'" >&5
|
|
+$as_echo "$as_me: error: invalid ltdl library directory: \`$with_ltdl_lib'" >&2;}
|
|
+ { (exit 1); exit 1; }; }
|
|
+ fi
|
|
+else
|
|
+ with_ltdl_lib=no
|
|
+fi
|
|
+
|
|
+case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
|
|
+ ,yes,no,no,)
|
|
+ case $enable_ltdl_convenience in
|
|
+ no) { { $as_echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5
|
|
+$as_echo "$as_me: error: this package needs a convenience libltdl" >&2;}
|
|
+ { (exit 1); exit 1; }; } ;;
|
|
+ "") enable_ltdl_convenience=yes
|
|
+ ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
|
|
+esac
|
|
+LIBLTDL='${top_build_prefix}'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
|
|
+LTDLDEPS=$LIBLTDL
|
|
+LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+# For backwards non-gettext consistent compatibility...
|
|
+INCLTDL="$LTDLINCL"
|
|
+
|
|
+
|
|
+ ;;
|
|
+ ,no,no,no,)
|
|
+ # If the included ltdl is not to be used, then use the
|
|
+ # preinstalled libltdl we found.
|
|
+
|
|
+cat >>confdefs.h <<\_ACEOF
|
|
+#define HAVE_LTDL 1
|
|
+_ACEOF
|
|
+
|
|
+ LIBLTDL=-lltdl
|
|
+ LTDLDEPS=
|
|
+ LTDLINCL=
|
|
+ ;;
|
|
+ ,no*,no,*)
|
|
+ { { $as_echo "$as_me:$LINENO: error: \`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" >&5
|
|
+$as_echo "$as_me: error: \`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" >&2;}
|
|
+ { (exit 1); exit 1; }; }
|
|
+ ;;
|
|
+ *) with_included_ltdl=no
|
|
+ LIBLTDL="-L$with_ltdl_lib -lltdl"
|
|
+ LTDLDEPS=
|
|
+ LTDLINCL="-I$with_ltdl_include"
|
|
+ ;;
|
|
+esac
|
|
+INCLTDL="$LTDLINCL"
|
|
+
|
|
+# Report our decision...
|
|
+{ $as_echo "$as_me:$LINENO: checking where to find libltdl headers" >&5
|
|
+$as_echo_n "checking where to find libltdl headers... " >&6; }
|
|
+{ $as_echo "$as_me:$LINENO: result: $LTDLINCL" >&5
|
|
+$as_echo "$LTDLINCL" >&6; }
|
|
+{ $as_echo "$as_me:$LINENO: checking where to find libltdl library" >&5
|
|
+$as_echo_n "checking where to find libltdl library... " >&6; }
|
|
+{ $as_echo "$as_me:$LINENO: result: $LIBLTDL" >&5
|
|
+$as_echo "$LIBLTDL" >&6; }
|
|
+
|
|
+
|
|
+
|
|
+# Check whether --enable-ltdl-install was given.
|
|
+if test "${enable_ltdl_install+set}" = set; then
|
|
+ enableval=$enable_ltdl_install;
|
|
+fi
|
|
+
|
|
+
|
|
+case ,${enable_ltdl_install},${enable_ltdl_convenience} in
|
|
+ *yes*) ;;
|
|
+ *) enable_ltdl_convenience=yes ;;
|
|
+esac
|
|
+
|
|
+ if test x"${enable_ltdl_install-no}" != xno; then
|
|
+ INSTALL_LTDL_TRUE=
|
|
+ INSTALL_LTDL_FALSE='#'
|
|
+else
|
|
+ INSTALL_LTDL_TRUE='#'
|
|
+ INSTALL_LTDL_FALSE=
|
|
+fi
|
|
+
|
|
+ if test x"${enable_ltdl_convenience-no}" != xno; then
|
|
+ CONVENIENCE_LTDL_TRUE=
|
|
+ CONVENIENCE_LTDL_FALSE='#'
|
|
+else
|
|
+ CONVENIENCE_LTDL_TRUE='#'
|
|
+ CONVENIENCE_LTDL_FALSE=
|
|
+fi
|
|
+
|
|
+
|
|
+
|
|
+ subdirs="$subdirs libltdl"
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+# In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
|
|
+# the user used. This is so that ltdl.h can pick up the parent projects
|
|
+# config.h file, The first file in AC_CONFIG_HEADERS must contain the
|
|
+# definitions required by ltdl.c.
|
|
+# FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
|
|
+do
|
|
+as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
+{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
+$as_echo_n "checking for $ac_header... " >&6; }
|
|
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+ cat >conftest.$ac_ext <<_ACEOF
|
|
+/* confdefs.h. */
|
|
+_ACEOF
|
|
+cat confdefs.h >>conftest.$ac_ext
|
|
+cat >>conftest.$ac_ext <<_ACEOF
|
|
+/* end confdefs.h. */
|
|
+$ac_includes_default
|
|
+
|
|
+#include <$ac_header>
|
|
+_ACEOF
|
|
+rm -f conftest.$ac_objext
|
|
+if { (ac_try="$ac_compile"
|
|
+case "(($ac_try" in
|
|
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
+ *) ac_try_echo=$ac_try;;
|
|
+esac
|
|
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
+$as_echo "$ac_try_echo") >&5
|
|
+ (eval "$ac_compile") 2>conftest.er1
|
|
+ ac_status=$?
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
+ rm -f conftest.er1
|
|
+ cat conftest.err >&5
|
|
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
+ (exit $ac_status); } && {
|
|
+ test -z "$ac_c_werror_flag" ||
|
|
+ test ! -s conftest.err
|
|
+ } && test -s conftest.$ac_objext; then
|
|
+ eval "$as_ac_Header=yes"
|
|
+else
|
|
+ $as_echo "$as_me: failed program was:" >&5
|
|
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
+
|
|
+ eval "$as_ac_Header=no"
|
|
+fi
|
|
+
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+fi
|
|
+ac_res=`eval 'as_val=${'$as_ac_Header'}
|
|
+ $as_echo "$as_val"'`
|
|
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
+$as_echo "$ac_res" >&6; }
|
|
+as_val=`eval 'as_val=${'$as_ac_Header'}
|
|
+ $as_echo "$as_val"'`
|
|
+ if test "x$as_val" = x""yes; then
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+
|
|
+done
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+for ac_func in closedir opendir readdir
|
|
+do
|
|
+as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
+{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
|
|
+$as_echo_n "checking for $ac_func... " >&6; }
|
|
+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+ cat >conftest.$ac_ext <<_ACEOF
|
|
+/* confdefs.h. */
|
|
+_ACEOF
|
|
+cat confdefs.h >>conftest.$ac_ext
|
|
+cat >>conftest.$ac_ext <<_ACEOF
|
|
+/* end confdefs.h. */
|
|
+/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
|
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
+#define $ac_func innocuous_$ac_func
|
|
+
|
|
+/* System header to define __stub macros and hopefully few prototypes,
|
|
+ which can conflict with char $ac_func (); below.
|
|
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
+ <limits.h> exists even on freestanding compilers. */
|
|
+
|
|
+#ifdef __STDC__
|
|
+# include <limits.h>
|
|
+#else
|
|
+# include <assert.h>
|
|
+#endif
|
|
+
|
|
+#undef $ac_func
|
|
+
|
|
+/* Override any GCC internal prototype to avoid an error.
|
|
+ Use char because int might match the return type of a GCC
|
|
+ builtin and then its argument prototype would still apply. */
|
|
+#ifdef __cplusplus
|
|
+extern "C"
|
|
+#endif
|
|
+char $ac_func ();
|
|
+/* 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
|
|
+#endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+return $ac_func ();
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+rm -f conftest.$ac_objext conftest$ac_exeext
|
|
+if { (ac_try="$ac_link"
|
|
+case "(($ac_try" in
|
|
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
+ *) ac_try_echo=$ac_try;;
|
|
+esac
|
|
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
+$as_echo "$ac_try_echo") >&5
|
|
+ (eval "$ac_link") 2>conftest.er1
|
|
+ ac_status=$?
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
+ rm -f conftest.er1
|
|
+ cat conftest.err >&5
|
|
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
+ (exit $ac_status); } && {
|
|
+ test -z "$ac_c_werror_flag" ||
|
|
+ test ! -s conftest.err
|
|
+ } && test -s conftest$ac_exeext && {
|
|
+ test "$cross_compiling" = yes ||
|
|
+ $as_test_x conftest$ac_exeext
|
|
+ }; then
|
|
+ eval "$as_ac_var=yes"
|
|
+else
|
|
+ $as_echo "$as_me: failed program was:" >&5
|
|
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
+
|
|
+ eval "$as_ac_var=no"
|
|
+fi
|
|
+
|
|
+rm -rf conftest.dSYM
|
|
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
+ conftest$ac_exeext conftest.$ac_ext
|
|
+fi
|
|
+ac_res=`eval 'as_val=${'$as_ac_var'}
|
|
+ $as_echo "$as_val"'`
|
|
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
+$as_echo "$ac_res" >&6; }
|
|
+as_val=`eval 'as_val=${'$as_ac_var'}
|
|
+ $as_echo "$as_val"'`
|
|
+ if test "x$as_val" = x""yes; then
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
|
+_ACEOF
|
|
+
|
|
+else
|
|
+
|
|
+
|
|
+ _LT_LIBOBJS="$_LT_LIBOBJS lt__dirent.$ac_objext"
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+
|
|
+
|
|
+for ac_func in strlcat strlcpy
|
|
+do
|
|
+as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
+{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
|
|
+$as_echo_n "checking for $ac_func... " >&6; }
|
|
+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+ cat >conftest.$ac_ext <<_ACEOF
|
|
+/* confdefs.h. */
|
|
+_ACEOF
|
|
+cat confdefs.h >>conftest.$ac_ext
|
|
+cat >>conftest.$ac_ext <<_ACEOF
|
|
+/* end confdefs.h. */
|
|
+/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
|
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
+#define $ac_func innocuous_$ac_func
|
|
+
|
|
+/* System header to define __stub macros and hopefully few prototypes,
|
|
+ which can conflict with char $ac_func (); below.
|
|
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
+ <limits.h> exists even on freestanding compilers. */
|
|
+
|
|
+#ifdef __STDC__
|
|
+# include <limits.h>
|
|
+#else
|
|
+# include <assert.h>
|
|
+#endif
|
|
+
|
|
+#undef $ac_func
|
|
+
|
|
+/* Override any GCC internal prototype to avoid an error.
|
|
+ Use char because int might match the return type of a GCC
|
|
+ builtin and then its argument prototype would still apply. */
|
|
+#ifdef __cplusplus
|
|
+extern "C"
|
|
+#endif
|
|
+char $ac_func ();
|
|
+/* 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
|
|
+#endif
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+return $ac_func ();
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+rm -f conftest.$ac_objext conftest$ac_exeext
|
|
+if { (ac_try="$ac_link"
|
|
+case "(($ac_try" in
|
|
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
+ *) ac_try_echo=$ac_try;;
|
|
+esac
|
|
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
+$as_echo "$ac_try_echo") >&5
|
|
+ (eval "$ac_link") 2>conftest.er1
|
|
+ ac_status=$?
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
+ rm -f conftest.er1
|
|
+ cat conftest.err >&5
|
|
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
+ (exit $ac_status); } && {
|
|
+ test -z "$ac_c_werror_flag" ||
|
|
+ test ! -s conftest.err
|
|
+ } && test -s conftest$ac_exeext && {
|
|
+ test "$cross_compiling" = yes ||
|
|
+ $as_test_x conftest$ac_exeext
|
|
+ }; then
|
|
+ eval "$as_ac_var=yes"
|
|
+else
|
|
+ $as_echo "$as_me: failed program was:" >&5
|
|
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
+
|
|
+ eval "$as_ac_var=no"
|
|
+fi
|
|
+
|
|
+rm -rf conftest.dSYM
|
|
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
+ conftest$ac_exeext conftest.$ac_ext
|
|
+fi
|
|
+ac_res=`eval 'as_val=${'$as_ac_var'}
|
|
+ $as_echo "$as_val"'`
|
|
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
+$as_echo "$ac_res" >&6; }
|
|
+as_val=`eval 'as_val=${'$as_ac_var'}
|
|
+ $as_echo "$as_val"'`
|
|
+ if test "x$as_val" = x""yes; then
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
|
+_ACEOF
|
|
+
|
|
+else
|
|
+
|
|
+
|
|
+ _LT_LIBOBJS="$_LT_LIBOBJS lt__strl.$ac_objext"
|
|
+
|
|
+fi
|
|
+done
|
|
+
|
|
+
|
|
+
|
|
+cat >>confdefs.h <<_ACEOF
|
|
+#define LT_LIBEXT "$libext"
|
|
+_ACEOF
|
|
+
|
|
+
|
|
+name=ltdl
|
|
+LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+# Only expand once:
|
|
+
|
|
+
|
|
+enable_dlopen=yes
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+case $enable_ltdl_convenience in
|
|
+ no) { { $as_echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5
|
|
+$as_echo "$as_me: error: this package needs a convenience libltdl" >&2;}
|
|
+ { (exit 1); exit 1; }; } ;;
|
|
+ "") enable_ltdl_convenience=yes
|
|
+ ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
|
|
+esac
|
|
+LIBLTDL='${top_build_prefix}'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
|
|
+LTDLDEPS=$LIBLTDL
|
|
+LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+# For backwards non-gettext consistent compatibility...
|
|
+INCLTDL="$LTDLINCL"
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+#
|
|
+# Add to the default list of places in LDFLAGS to compensate for
|
|
+# ... the configure default value of LIBS on some systems
|
|
+#
|
|
+for x in /usr/lib64 /usr/local/gnu/lib /usr/local/gnulib /opt/dce/lib /sw/lib
|
|
+do
|
|
+ if test -d "$x"; then
|
|
+ y=`expr " $LDFLAGS " : ".* -L$x "`
|
|
+ if test $y -eq 0; then
|
|
+ LDFLAGS="$LDFLAGS -L$x"
|
|
+ fi
|
|
+ fi
|
|
+done
|
|
+
|
|
+#
|
|
+# Add to the default list of places in CPPFLAGS to match LDFLAGS above
|
|
+#
|
|
+for x in /usr/local/gnu/include /opt/dce/include /sw/include
|
|
+do
|
|
+ if test -d "$x"; then
|
|
+ y=`expr " $CPPFLAGS " : ".* -I$x "`
|
|
+ if test $y -eq 0; then
|
|
+ CPPFLAGS="$CPPFLAGS -I$x"
|
|
+ fi
|
|
+ fi
|
|
+done
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+acx_pthread_ok=no
|
|
+
|
|
+# We used to check for pthread.h first, but this fails if pthread.h
|
|
+# requires special compiler flags (e.g. on True64 or Sequent).
|
|
+# It gets checked for in the link test anyway.
|
|
+
|
|
+# First of all, check if the user has set any of the PTHREAD_LIBS,
|
|
+# etcetera environment variables, and if threads linking works using
|
|
+# them:
|
|
+if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS$PTHREAD_CPPFLAGS" != x; then
|
|
+ save_CFLAGS="$CFLAGS"
|
|
+ CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
|
|
+ save_CPPFLAGS="$CPPFLAGS"
|
|
+ CPPFLAGS="$CPPFLAGS $PTHREAD_CPPFLAGS"
|
|
+ save_LIBS="$LIBS"
|
|
+ LIBS="$PTHREAD_LIBS $LIBS"
|
|
+ { $as_echo "$as_me:$LINENO: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
|
|
+$as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
|
|
+ cat >conftest.$ac_ext <<_ACEOF
|
|
+/* confdefs.h. */
|
|
+_ACEOF
|
|
+cat confdefs.h >>conftest.$ac_ext
|
|
+cat >>conftest.$ac_ext <<_ACEOF
|
|
+/* end confdefs.h. */
|
|
+
|
|
+/* Override any GCC internal prototype to avoid an error.
|
|
+ Use char because int might match the return type of a GCC
|
|
+ builtin and then its argument prototype would still apply. */
|
|
+#ifdef __cplusplus
|
|
+extern "C"
|
|
+#endif
|
|
+char pthread_join ();
|
|
+int
|
|
+main ()
|
|
+{
|
|
+return pthread_join ();
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+rm -f conftest.$ac_objext conftest$ac_exeext
|
|
+if { (ac_try="$ac_link"
|
|
+case "(($ac_try" in
|
|
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
+ *) ac_try_echo=$ac_try;;
|
|
+esac
|
|
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
+$as_echo "$ac_try_echo") >&5
|
|
+ (eval "$ac_link") 2>conftest.er1
|
|
+ ac_status=$?
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
+ rm -f conftest.er1
|
|
+ cat conftest.err >&5
|
|
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
+ (exit $ac_status); } && {
|
|
+ test -z "$ac_c_werror_flag" ||
|
|
+ test ! -s conftest.err
|
|
+ } && test -s conftest$ac_exeext && {
|
|
+ test "$cross_compiling" = yes ||
|
|
+ $as_test_x conftest$ac_exeext
|
|
+ }; then
|
|
+ acx_pthread_ok=yes
|
|
+else
|
|
+ $as_echo "$as_me: failed program was:" >&5
|
|
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+rm -rf conftest.dSYM
|
|
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
+ conftest$ac_exeext conftest.$ac_ext
|
|
+ { $as_echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
|
|
+$as_echo "$acx_pthread_ok" >&6; }
|
|
+ if test x"$acx_pthread_ok" = xno; then
|
|
+ PTHREAD_LIBS=""
|
|
+ PTHREAD_CFLAGS=""
|
|
+ fi
|
|
+ LIBS="$save_LIBS"
|
|
+ CFLAGS="$save_CFLAGS"
|
|
+ CPPFLAGS="$save_CPPFLAGS"
|
|
+fi
|
|
+
|
|
+# We must check for the threads library under a number of different
|
|
+# names; the ordering is very important because some systems
|
|
+# (e.g. DEC) have both -lpthread and -lpthreads, where one of the
|
|
+# libraries is broken (non-POSIX).
|
|
+
|
|
+# Create a list of thread flags to try. Items starting with a "-" are
|
|
+# C compiler flags, and other items are library names, except for "none"
|
|
+# which indicates that we try without any flags at all.
|
|
+
|
|
+acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt"
|
|
+
|
|
+# The ordering *is* (sometimes) important. Some notes on the
|
|
+# individual items follow:
|
|
+
|
|
+# pthreads: AIX (must check this before -lpthread)
|
|
+# none: in case threads are in libc; should be tried before -Kthread and
|
|
+# other compiler flags to prevent continual compiler warnings
|
|
+# -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
|
|
+# -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
|
|
+# lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
|
|
+# -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
|
|
+# -pthreads: Solaris/gcc
|
|
+# -mthreads: Mingw32/gcc, Lynx/gcc
|
|
+# -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
|
|
+# doesn't hurt to check since this sometimes defines pthreads too;
|
|
+# also defines -D_REENTRANT)
|
|
+# pthread: Linux, etcetera
|
|
+# --thread-safe: KAI C++
|
|
+
|
|
+case "${host_cpu}-${host_os}" in
|
|
+ *solaris*)
|
|
+
|
|
+ # On Solaris (at least, for some versions), libc contains stubbed
|
|
+ # (non-functional) versions of the pthreads routines, so link-based
|
|
+ # tests will erroneously succeed. (We need to link with -pthread or
|
|
+ # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
|
|
+ # a function called by this macro, so we could check for that, but
|
|
+ # who knows whether they'll stub that too in a future libc.) So,
|
|
+ # we'll just look for -pthreads and -lpthread first:
|
|
+
|
|
+ acx_pthread_flags="-pthread -pthreads pthread -mt $acx_pthread_flags"
|
|
+ ;;
|
|
+esac
|
|
+
|
|
+if test x"$acx_pthread_ok" = xno; then
|
|
+for flag in $acx_pthread_flags; do
|
|
+
|
|
+ case $flag in
|
|
+ none)
|
|
+ { $as_echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
|
|
+$as_echo_n "checking whether pthreads work without any flags... " >&6; }
|
|
+ ;;
|
|
+
|
|
+ -*)
|
|
+ { $as_echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
|
|
+$as_echo_n "checking whether pthreads work with $flag... " >&6; }
|
|
+ PTHREAD_CFLAGS="$flag"
|
|
+ PTHREAD_CPPFLAGS="$flag"
|
|
+ ;;
|
|
+
|
|
+ *)
|
|
+ { $as_echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
|
|
+$as_echo_n "checking for the pthreads library -l$flag... " >&6; }
|
|
+ PTHREAD_LIBS="-l$flag"
|
|
+ ;;
|
|
+ esac
|
|
+
|
|
+ save_LIBS="$LIBS"
|
|
+ save_CFLAGS="$CFLAGS"
|
|
+ save_CPPFLAGS="$CPPFLAGS"
|
|
+ LIBS="$PTHREAD_LIBS $LIBS"
|
|
+ CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
|
|
+ CPPFLAGS="$CFLAGS $PTHREAD_CPPFLAGS"
|
|
+
|
|
+ # Check for various functions. We must include pthread.h,
|
|
+ # since some functions may be macros. (On the Sequent, we
|
|
+ # need a special flag -Kthread to make this header compile.)
|
|
+ # We check for pthread_join because it is in -lpthread on IRIX
|
|
+ # while pthread_create is in libc. We check for pthread_attr_init
|
|
+ # due to DEC craziness with -lpthreads. We check for
|
|
+ # pthread_cleanup_push because it is one of the few pthread
|
|
+ # functions on Solaris that doesn't have a non-functional libc stub.
|
|
+ # We try pthread_create on general principles.
|
|
+ cat >conftest.$ac_ext <<_ACEOF
|
|
+/* confdefs.h. */
|
|
+_ACEOF
|
|
+cat confdefs.h >>conftest.$ac_ext
|
|
+cat >>conftest.$ac_ext <<_ACEOF
|
|
+/* end confdefs.h. */
|
|
+#include <pthread.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+pthread_t th; pthread_join(th, 0);
|
|
+ pthread_attr_init(0); pthread_cleanup_push(0, 0);
|
|
+ pthread_create(0,0,0,0); pthread_cleanup_pop(0);
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+rm -f conftest.$ac_objext conftest$ac_exeext
|
|
+if { (ac_try="$ac_link"
|
|
+case "(($ac_try" in
|
|
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
+ *) ac_try_echo=$ac_try;;
|
|
+esac
|
|
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
+$as_echo "$ac_try_echo") >&5
|
|
+ (eval "$ac_link") 2>conftest.er1
|
|
+ ac_status=$?
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
+ rm -f conftest.er1
|
|
+ cat conftest.err >&5
|
|
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
+ (exit $ac_status); } && {
|
|
+ test -z "$ac_c_werror_flag" ||
|
|
+ test ! -s conftest.err
|
|
+ } && test -s conftest$ac_exeext && {
|
|
+ test "$cross_compiling" = yes ||
|
|
+ $as_test_x conftest$ac_exeext
|
|
+ }; then
|
|
+ acx_pthread_ok=yes
|
|
+else
|
|
+ $as_echo "$as_me: failed program was:" >&5
|
|
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+rm -rf conftest.dSYM
|
|
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
+ conftest$ac_exeext conftest.$ac_ext
|
|
+
|
|
+ LIBS="$save_LIBS"
|
|
+ CFLAGS="$save_CFLAGS"
|
|
+ CPPFLAGS="$save_CPPFLAGS"
|
|
+
|
|
+ { $as_echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
|
|
+$as_echo "$acx_pthread_ok" >&6; }
|
|
+ if test "x$acx_pthread_ok" = xyes; then
|
|
+ break;
|
|
+ fi
|
|
+
|
|
+ PTHREAD_LIBS=""
|
|
+ PTHREAD_CFLAGS=""
|
|
+ PTHREAD_CPPFLAGS=""
|
|
+done
|
|
+fi
|
|
+
|
|
+# Various other checks:
|
|
+if test "x$acx_pthread_ok" = xyes; then
|
|
+ save_LIBS="$LIBS"
|
|
+ LIBS="$PTHREAD_LIBS $LIBS"
|
|
+ save_CFLAGS="$CFLAGS"
|
|
+ CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
|
|
+ save_CPPFLAGS="$CPPFLAGS"
|
|
+ CPPFLAGS="$CFLAGS $PTHREAD_CPPFLAGS"
|
|
+
|
|
+ # Detect AIX lossage: threads are created detached by default
|
|
+ # and the JOINABLE attribute has a nonstandard name (UNDETACHED).
|
|
+ { $as_echo "$as_me:$LINENO: checking for joinable pthread attribute" >&5
|
|
+$as_echo_n "checking for joinable pthread attribute... " >&6; }
|
|
+ cat >conftest.$ac_ext <<_ACEOF
|
|
+/* confdefs.h. */
|
|
+_ACEOF
|
|
+cat confdefs.h >>conftest.$ac_ext
|
|
+cat >>conftest.$ac_ext <<_ACEOF
|
|
+/* end confdefs.h. */
|
|
+#include <pthread.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+int attr=PTHREAD_CREATE_JOINABLE;
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+rm -f conftest.$ac_objext conftest$ac_exeext
|
|
+if { (ac_try="$ac_link"
|
|
+case "(($ac_try" in
|
|
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
+ *) ac_try_echo=$ac_try;;
|
|
+esac
|
|
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
+$as_echo "$ac_try_echo") >&5
|
|
+ (eval "$ac_link") 2>conftest.er1
|
|
+ ac_status=$?
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
+ rm -f conftest.er1
|
|
+ cat conftest.err >&5
|
|
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
+ (exit $ac_status); } && {
|
|
+ test -z "$ac_c_werror_flag" ||
|
|
+ test ! -s conftest.err
|
|
+ } && test -s conftest$ac_exeext && {
|
|
+ test "$cross_compiling" = yes ||
|
|
+ $as_test_x conftest$ac_exeext
|
|
+ }; then
|
|
+ ok=PTHREAD_CREATE_JOINABLE
|
|
+else
|
|
+ $as_echo "$as_me: failed program was:" >&5
|
|
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
+
|
|
+ ok=unknown
|
|
+fi
|
|
+
|
|
+rm -rf conftest.dSYM
|
|
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
+ conftest$ac_exeext conftest.$ac_ext
|
|
+ if test x"$ok" = xunknown; then
|
|
+ cat >conftest.$ac_ext <<_ACEOF
|
|
+/* confdefs.h. */
|
|
+_ACEOF
|
|
+cat confdefs.h >>conftest.$ac_ext
|
|
+cat >>conftest.$ac_ext <<_ACEOF
|
|
+/* end confdefs.h. */
|
|
+#include <pthread.h>
|
|
+int
|
|
+main ()
|
|
+{
|
|
+int attr=PTHREAD_CREATE_UNDETACHED;
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+rm -f conftest.$ac_objext conftest$ac_exeext
|
|
+if { (ac_try="$ac_link"
|
|
+case "(($ac_try" in
|
|
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
+ *) ac_try_echo=$ac_try;;
|
|
+esac
|
|
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
+$as_echo "$ac_try_echo") >&5
|
|
+ (eval "$ac_link") 2>conftest.er1
|
|
+ ac_status=$?
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
+ rm -f conftest.er1
|
|
+ cat conftest.err >&5
|
|
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
+ (exit $ac_status); } && {
|
|
+ test -z "$ac_c_werror_flag" ||
|
|
+ test ! -s conftest.err
|
|
+ } && test -s conftest$ac_exeext && {
|
|
+ test "$cross_compiling" = yes ||
|
|
+ $as_test_x conftest$ac_exeext
|
|
+ }; then
|
|
+ ok=PTHREAD_CREATE_UNDETACHED
|
|
+else
|
|
+ $as_echo "$as_me: failed program was:" >&5
|
|
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
+
|
|
+ ok=unknown
|
|
+fi
|
|
+
|
|
+rm -rf conftest.dSYM
|
|
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
+ conftest$ac_exeext conftest.$ac_ext
|
|
+ fi
|
|
+ if test x"$ok" != xPTHREAD_CREATE_JOINABLE; then
|
|
+
|
|
+cat >>confdefs.h <<\_ACEOF
|
|
+#define PTHREAD_CREATE_JOINABLE $ok
|
|
+_ACEOF
|
|
+
|
|
+ fi
|
|
+ { $as_echo "$as_me:$LINENO: result: ${ok}" >&5
|
|
+$as_echo "${ok}" >&6; }
|
|
+ if test x"$ok" = xunknown; then
|
|
+ { $as_echo "$as_me:$LINENO: WARNING: we do not know how to create joinable pthreads" >&5
|
|
+$as_echo "$as_me: WARNING: we do not know how to create joinable pthreads" >&2;}
|
|
+ fi
|
|
+
|
|
+ { $as_echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
|
|
+$as_echo_n "checking if more special flags are required for pthreads... " >&6; }
|
|
+ flag=no
|
|
+ case "${host_cpu}-${host_os}" in
|
|
+ *-aix* | *-freebsd*) flag="-D_THREAD_SAFE";;
|
|
+ # -D_REENTRANT is actually implied by -pthread in Tru64 5.1,
|
|
+ # at least.
|
|
+ *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
|
|
+ esac
|
|
+ { $as_echo "$as_me:$LINENO: result: ${flag}" >&5
|
|
+$as_echo "${flag}" >&6; }
|
|
+ if test "x$flag" != xno; then
|
|
+ PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
|
|
+ PTHREAD_CPPFLAGS="$flag $PTHREAD_CPPFLAGS"
|
|
+ fi
|
|
+
|
|
+ LIBS="$save_LIBS"
|
|
+ CFLAGS="$save_CFLAGS"
|
|
+ CPPFLAGS="$save_CPPFLAGS"
|
|
+
|
|
+ # More AIX lossage: must compile with cc_r
|
|
+ # Extract the first word of "cc_r", so it can be a program name with args.
|
|
+set dummy cc_r; ac_word=$2
|
|
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
+$as_echo_n "checking for $ac_word... " >&6; }
|
|
+if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+ if test -n "$PTHREAD_CC"; then
|
|
+ ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
|
|
+else
|
|
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
+for as_dir in $PATH
|
|
+do
|
|
+ IFS=$as_save_IFS
|
|
+ test -z "$as_dir" && as_dir=.
|
|
+ for ac_exec_ext in '' $ac_executable_extensions; do
|
|
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ ac_cv_prog_PTHREAD_CC="cc_r"
|
|
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
+ break 2
|
|
+ fi
|
|
+done
|
|
+done
|
|
+IFS=$as_save_IFS
|
|
+
|
|
+ test -z "$ac_cv_prog_PTHREAD_CC" && ac_cv_prog_PTHREAD_CC="${CC}"
|
|
+fi
|
|
+fi
|
|
+PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
|
|
+if test -n "$PTHREAD_CC"; then
|
|
+ { $as_echo "$as_me:$LINENO: result: $PTHREAD_CC" >&5
|
|
+$as_echo "$PTHREAD_CC" >&6; }
|
|
+else
|
|
+ { $as_echo "$as_me:$LINENO: result: no" >&5
|
|
+$as_echo "no" >&6; }
|
|
+fi
|
|
+
|
|
+
|
|
+else
|
|
+ PTHREAD_CC="$CC"
|
|
+fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
|
|
+if test x"$acx_pthread_ok" = xyes; then
|
|
+
|
|
+cat >>confdefs.h <<\_ACEOF
|
|
+#define HAVE_PTHREAD 1
|
|
+_ACEOF
|
|
+
|
|
+ :
|
|
+else
|
|
+ acx_pthread_ok=no
|
|
+
|
|
+fi
|
|
+ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+
|
|
+CC=$PTHREAD_CC
|
|
+CFLAGS="$PTHREAD_CFLAGS $CFLAGS"
|
|
+CPPFLAGS="$PTHREAD_CPPFLAGS $CPPFLAGS"
|
|
+LDFLAGS="$PTHREAD_LDFLAGS $LDFLAGS"
|
|
+
|
|
+
|
|
+ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+if test -n "$ac_tool_prefix"; then
|
|
+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
|
+set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
|
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
+$as_echo_n "checking for $ac_word... " >&6; }
|
|
+if test "${ac_cv_prog_CC+set}" = set; then
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+ if test -n "$CC"; then
|
|
+ ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
+else
|
|
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
+for as_dir in $PATH
|
|
+do
|
|
+ IFS=$as_save_IFS
|
|
+ test -z "$as_dir" && as_dir=.
|
|
+ for ac_exec_ext in '' $ac_executable_extensions; do
|
|
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
|
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
+ break 2
|
|
+ fi
|
|
+done
|
|
+done
|
|
+IFS=$as_save_IFS
|
|
+
|
|
+fi
|
|
+fi
|
|
+CC=$ac_cv_prog_CC
|
|
+if test -n "$CC"; then
|
|
+ { $as_echo "$as_me:$LINENO: result: $CC" >&5
|
|
+$as_echo "$CC" >&6; }
|
|
+else
|
|
+ { $as_echo "$as_me:$LINENO: result: no" >&5
|
|
+$as_echo "no" >&6; }
|
|
+fi
|
|
+
|
|
+
|
|
+fi
|
|
+if test -z "$ac_cv_prog_CC"; then
|
|
+ ac_ct_CC=$CC
|
|
+ # Extract the first word of "gcc", so it can be a program name with args.
|
|
+set dummy gcc; ac_word=$2
|
|
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
+$as_echo_n "checking for $ac_word... " >&6; }
|
|
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+ if test -n "$ac_ct_CC"; then
|
|
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
|
+else
|
|
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
+for as_dir in $PATH
|
|
+do
|
|
+ IFS=$as_save_IFS
|
|
+ test -z "$as_dir" && as_dir=.
|
|
+ for ac_exec_ext in '' $ac_executable_extensions; do
|
|
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ ac_cv_prog_ac_ct_CC="gcc"
|
|
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
+ break 2
|
|
+ fi
|
|
+done
|
|
+done
|
|
+IFS=$as_save_IFS
|
|
+
|
|
+fi
|
|
+fi
|
|
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
|
+if test -n "$ac_ct_CC"; then
|
|
+ { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
|
+$as_echo "$ac_ct_CC" >&6; }
|
|
+else
|
|
+ { $as_echo "$as_me:$LINENO: result: no" >&5
|
|
+$as_echo "no" >&6; }
|
|
+fi
|
|
+
|
|
+ if test "x$ac_ct_CC" = x; then
|
|
+ CC=""
|
|
+ else
|
|
+ case $cross_compiling:$ac_tool_warned in
|
|
+yes:)
|
|
+{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
+ac_tool_warned=yes ;;
|
|
+esac
|
|
+ CC=$ac_ct_CC
|
|
+ fi
|
|
+else
|
|
+ CC="$ac_cv_prog_CC"
|
|
+fi
|
|
+
|
|
+if test -z "$CC"; then
|
|
+ if test -n "$ac_tool_prefix"; then
|
|
+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
|
+set dummy ${ac_tool_prefix}cc; ac_word=$2
|
|
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
+$as_echo_n "checking for $ac_word... " >&6; }
|
|
+if test "${ac_cv_prog_CC+set}" = set; then
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+ if test -n "$CC"; then
|
|
+ ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
+else
|
|
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
+for as_dir in $PATH
|
|
+do
|
|
+ IFS=$as_save_IFS
|
|
+ test -z "$as_dir" && as_dir=.
|
|
+ for ac_exec_ext in '' $ac_executable_extensions; do
|
|
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ ac_cv_prog_CC="${ac_tool_prefix}cc"
|
|
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
+ break 2
|
|
+ fi
|
|
+done
|
|
+done
|
|
+IFS=$as_save_IFS
|
|
+
|
|
+fi
|
|
+fi
|
|
+CC=$ac_cv_prog_CC
|
|
+if test -n "$CC"; then
|
|
+ { $as_echo "$as_me:$LINENO: result: $CC" >&5
|
|
+$as_echo "$CC" >&6; }
|
|
+else
|
|
+ { $as_echo "$as_me:$LINENO: result: no" >&5
|
|
+$as_echo "no" >&6; }
|
|
+fi
|
|
+
|
|
+
|
|
+ fi
|
|
+fi
|
|
+if test -z "$CC"; then
|
|
+ # Extract the first word of "cc", so it can be a program name with args.
|
|
+set dummy cc; ac_word=$2
|
|
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
+$as_echo_n "checking for $ac_word... " >&6; }
|
|
+if test "${ac_cv_prog_CC+set}" = set; then
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+ if test -n "$CC"; then
|
|
+ ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
+else
|
|
+ ac_prog_rejected=no
|
|
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
+for as_dir in $PATH
|
|
+do
|
|
+ IFS=$as_save_IFS
|
|
+ test -z "$as_dir" && as_dir=.
|
|
+ for ac_exec_ext in '' $ac_executable_extensions; do
|
|
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
|
+ ac_prog_rejected=yes
|
|
+ continue
|
|
+ fi
|
|
+ ac_cv_prog_CC="cc"
|
|
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
+ break 2
|
|
+ fi
|
|
+done
|
|
+done
|
|
+IFS=$as_save_IFS
|
|
+
|
|
+if test $ac_prog_rejected = yes; then
|
|
+ # We found a bogon in the path, so make sure we never use it.
|
|
+ set dummy $ac_cv_prog_CC
|
|
+ shift
|
|
+ if test $# != 0; then
|
|
+ # We chose a different compiler from the bogus one.
|
|
+ # However, it has the same basename, so the bogon will be chosen
|
|
+ # first if we set CC to just the basename; use the full file name.
|
|
+ shift
|
|
+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
|
|
+ fi
|
|
+fi
|
|
+fi
|
|
+fi
|
|
+CC=$ac_cv_prog_CC
|
|
+if test -n "$CC"; then
|
|
+ { $as_echo "$as_me:$LINENO: result: $CC" >&5
|
|
+$as_echo "$CC" >&6; }
|
|
+else
|
|
+ { $as_echo "$as_me:$LINENO: result: no" >&5
|
|
+$as_echo "no" >&6; }
|
|
+fi
|
|
+
|
|
+
|
|
+fi
|
|
+if test -z "$CC"; then
|
|
+ if test -n "$ac_tool_prefix"; then
|
|
+ for ac_prog in cl.exe
|
|
+ do
|
|
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
|
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
|
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
+$as_echo_n "checking for $ac_word... " >&6; }
|
|
+if test "${ac_cv_prog_CC+set}" = set; then
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+ if test -n "$CC"; then
|
|
+ ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
+else
|
|
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
+for as_dir in $PATH
|
|
+do
|
|
+ IFS=$as_save_IFS
|
|
+ test -z "$as_dir" && as_dir=.
|
|
+ for ac_exec_ext in '' $ac_executable_extensions; do
|
|
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
|
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
+ break 2
|
|
+ fi
|
|
+done
|
|
+done
|
|
+IFS=$as_save_IFS
|
|
+
|
|
+fi
|
|
+fi
|
|
+CC=$ac_cv_prog_CC
|
|
+if test -n "$CC"; then
|
|
+ { $as_echo "$as_me:$LINENO: result: $CC" >&5
|
|
+$as_echo "$CC" >&6; }
|
|
+else
|
|
+ { $as_echo "$as_me:$LINENO: result: no" >&5
|
|
+$as_echo "no" >&6; }
|
|
+fi
|
|
+
|
|
+
|
|
+ test -n "$CC" && break
|
|
+ done
|
|
+fi
|
|
+if test -z "$CC"; then
|
|
+ ac_ct_CC=$CC
|
|
+ for ac_prog in cl.exe
|
|
+do
|
|
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
+set dummy $ac_prog; ac_word=$2
|
|
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
+$as_echo_n "checking for $ac_word... " >&6; }
|
|
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+ if test -n "$ac_ct_CC"; then
|
|
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
|
+else
|
|
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
+for as_dir in $PATH
|
|
+do
|
|
+ IFS=$as_save_IFS
|
|
+ test -z "$as_dir" && as_dir=.
|
|
+ for ac_exec_ext in '' $ac_executable_extensions; do
|
|
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ ac_cv_prog_ac_ct_CC="$ac_prog"
|
|
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
+ break 2
|
|
+ fi
|
|
+done
|
|
+done
|
|
+IFS=$as_save_IFS
|
|
+
|
|
+fi
|
|
+fi
|
|
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
|
+if test -n "$ac_ct_CC"; then
|
|
+ { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
|
+$as_echo "$ac_ct_CC" >&6; }
|
|
+else
|
|
+ { $as_echo "$as_me:$LINENO: result: no" >&5
|
|
+$as_echo "no" >&6; }
|
|
+fi
|
|
+
|
|
+
|
|
+ test -n "$ac_ct_CC" && break
|
|
+done
|
|
+
|
|
+ if test "x$ac_ct_CC" = x; then
|
|
+ CC=""
|
|
+ else
|
|
+ case $cross_compiling:$ac_tool_warned in
|
|
+yes:)
|
|
+{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
+ac_tool_warned=yes ;;
|
|
+esac
|
|
+ CC=$ac_ct_CC
|
|
+ fi
|
|
+fi
|
|
+
|
|
+fi
|
|
+
|
|
+
|
|
+test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
|
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
+{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
|
|
+See \`config.log' for more details." >&5
|
|
+$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
|
|
+See \`config.log' for more details." >&2;}
|
|
+ { (exit 1); exit 1; }; }; }
|
|
+
|
|
+# Provide some information about the compiler.
|
|
+$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
|
|
+set X $ac_compile
|
|
+ac_compiler=$2
|
|
+{ (ac_try="$ac_compiler --version >&5"
|
|
+case "(($ac_try" in
|
|
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
+ *) ac_try_echo=$ac_try;;
|
|
+esac
|
|
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
+$as_echo "$ac_try_echo") >&5
|
|
+ (eval "$ac_compiler --version >&5") 2>&5
|
|
+ ac_status=$?
|
|
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
+ (exit $ac_status); }
|
|
+{ (ac_try="$ac_compiler -v >&5"
|
|
+case "(($ac_try" in
|
|
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
+ *) ac_try_echo=$ac_try;;
|
|
+esac
|
|
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
+$as_echo "$ac_try_echo") >&5
|
|
+ (eval "$ac_compiler -v >&5") 2>&5
|
|
+ ac_status=$?
|
|
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
+ (exit $ac_status); }
|
|
+{ (ac_try="$ac_compiler -V >&5"
|
|
+case "(($ac_try" in
|
|
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
+ *) ac_try_echo=$ac_try;;
|
|
+esac
|
|
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
+$as_echo "$ac_try_echo") >&5
|
|
+ (eval "$ac_compiler -V >&5") 2>&5
|
|
+ ac_status=$?
|
|
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
+ (exit $ac_status); }
|
|
+
|
|
+{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
|
|
+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
|
|
+if test "${ac_cv_c_compiler_gnu+set}" = set; then
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+ cat >conftest.$ac_ext <<_ACEOF
|
|
+/* confdefs.h. */
|
|
+_ACEOF
|
|
+cat confdefs.h >>conftest.$ac_ext
|
|
+cat >>conftest.$ac_ext <<_ACEOF
|
|
+/* end confdefs.h. */
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+#ifndef __GNUC__
|
|
+ choke me
|
|
+#endif
|
|
+
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+rm -f conftest.$ac_objext
|
|
+if { (ac_try="$ac_compile"
|
|
+case "(($ac_try" in
|
|
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
+ *) ac_try_echo=$ac_try;;
|
|
+esac
|
|
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
+$as_echo "$ac_try_echo") >&5
|
|
+ (eval "$ac_compile") 2>conftest.er1
|
|
+ ac_status=$?
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
+ rm -f conftest.er1
|
|
+ cat conftest.err >&5
|
|
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
+ (exit $ac_status); } && {
|
|
+ test -z "$ac_c_werror_flag" ||
|
|
+ test ! -s conftest.err
|
|
+ } && test -s conftest.$ac_objext; then
|
|
+ ac_compiler_gnu=yes
|
|
+else
|
|
+ $as_echo "$as_me: failed program was:" >&5
|
|
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
+
|
|
+ ac_compiler_gnu=no
|
|
+fi
|
|
+
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
|
+
|
|
+fi
|
|
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
|
|
+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
|
+if test $ac_compiler_gnu = yes; then
|
|
+ GCC=yes
|
|
+else
|
|
+ GCC=
|
|
+fi
|
|
+ac_test_CFLAGS=${CFLAGS+set}
|
|
+ac_save_CFLAGS=$CFLAGS
|
|
+{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
|
|
+$as_echo_n "checking whether $CC accepts -g... " >&6; }
|
|
+if test "${ac_cv_prog_cc_g+set}" = set; then
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+ ac_save_c_werror_flag=$ac_c_werror_flag
|
|
+ ac_c_werror_flag=yes
|
|
+ ac_cv_prog_cc_g=no
|
|
+ CFLAGS="-g"
|
|
+ cat >conftest.$ac_ext <<_ACEOF
|
|
+/* confdefs.h. */
|
|
+_ACEOF
|
|
+cat confdefs.h >>conftest.$ac_ext
|
|
+cat >>conftest.$ac_ext <<_ACEOF
|
|
+/* end confdefs.h. */
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+rm -f conftest.$ac_objext
|
|
+if { (ac_try="$ac_compile"
|
|
+case "(($ac_try" in
|
|
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
+ *) ac_try_echo=$ac_try;;
|
|
+esac
|
|
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
+$as_echo "$ac_try_echo") >&5
|
|
+ (eval "$ac_compile") 2>conftest.er1
|
|
+ ac_status=$?
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
+ rm -f conftest.er1
|
|
+ cat conftest.err >&5
|
|
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
+ (exit $ac_status); } && {
|
|
+ test -z "$ac_c_werror_flag" ||
|
|
+ test ! -s conftest.err
|
|
+ } && test -s conftest.$ac_objext; then
|
|
+ ac_cv_prog_cc_g=yes
|
|
+else
|
|
+ $as_echo "$as_me: failed program was:" >&5
|
|
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
+
|
|
+ CFLAGS=""
|
|
+ cat >conftest.$ac_ext <<_ACEOF
|
|
+/* confdefs.h. */
|
|
+_ACEOF
|
|
+cat confdefs.h >>conftest.$ac_ext
|
|
+cat >>conftest.$ac_ext <<_ACEOF
|
|
+/* end confdefs.h. */
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+rm -f conftest.$ac_objext
|
|
+if { (ac_try="$ac_compile"
|
|
+case "(($ac_try" in
|
|
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
+ *) ac_try_echo=$ac_try;;
|
|
+esac
|
|
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
+$as_echo "$ac_try_echo") >&5
|
|
+ (eval "$ac_compile") 2>conftest.er1
|
|
+ ac_status=$?
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
+ rm -f conftest.er1
|
|
+ cat conftest.err >&5
|
|
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
+ (exit $ac_status); } && {
|
|
+ test -z "$ac_c_werror_flag" ||
|
|
+ test ! -s conftest.err
|
|
+ } && test -s conftest.$ac_objext; then
|
|
+ :
|
|
+else
|
|
+ $as_echo "$as_me: failed program was:" >&5
|
|
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
+
|
|
+ ac_c_werror_flag=$ac_save_c_werror_flag
|
|
+ CFLAGS="-g"
|
|
+ cat >conftest.$ac_ext <<_ACEOF
|
|
+/* confdefs.h. */
|
|
+_ACEOF
|
|
+cat confdefs.h >>conftest.$ac_ext
|
|
+cat >>conftest.$ac_ext <<_ACEOF
|
|
+/* end confdefs.h. */
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+rm -f conftest.$ac_objext
|
|
+if { (ac_try="$ac_compile"
|
|
+case "(($ac_try" in
|
|
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
+ *) ac_try_echo=$ac_try;;
|
|
+esac
|
|
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
+$as_echo "$ac_try_echo") >&5
|
|
+ (eval "$ac_compile") 2>conftest.er1
|
|
+ ac_status=$?
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
+ rm -f conftest.er1
|
|
+ cat conftest.err >&5
|
|
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
+ (exit $ac_status); } && {
|
|
+ test -z "$ac_c_werror_flag" ||
|
|
+ test ! -s conftest.err
|
|
+ } && test -s conftest.$ac_objext; then
|
|
+ ac_cv_prog_cc_g=yes
|
|
+else
|
|
+ $as_echo "$as_me: failed program was:" >&5
|
|
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+fi
|
|
+
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+fi
|
|
+
|
|
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
+ ac_c_werror_flag=$ac_save_c_werror_flag
|
|
+fi
|
|
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
|
|
+$as_echo "$ac_cv_prog_cc_g" >&6; }
|
|
+if test "$ac_test_CFLAGS" = set; then
|
|
+ CFLAGS=$ac_save_CFLAGS
|
|
+elif test $ac_cv_prog_cc_g = yes; then
|
|
+ if test "$GCC" = yes; then
|
|
+ CFLAGS="-g -O2"
|
|
+ else
|
|
+ CFLAGS="-g"
|
|
+ fi
|
|
+else
|
|
+ if test "$GCC" = yes; then
|
|
+ CFLAGS="-O2"
|
|
+ else
|
|
+ CFLAGS=
|
|
+ fi
|
|
+fi
|
|
+{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
|
|
+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
|
+if test "${ac_cv_prog_cc_c89+set}" = set; then
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+ ac_cv_prog_cc_c89=no
|
|
+ac_save_CC=$CC
|
|
+cat >conftest.$ac_ext <<_ACEOF
|
|
+/* confdefs.h. */
|
|
+_ACEOF
|
|
+cat confdefs.h >>conftest.$ac_ext
|
|
+cat >>conftest.$ac_ext <<_ACEOF
|
|
+/* end confdefs.h. */
|
|
+#include <stdarg.h>
|
|
+#include <stdio.h>
|
|
+#include <sys/types.h>
|
|
+#include <sys/stat.h>
|
|
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
|
+struct buf { int x; };
|
|
+FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
|
+static char *e (p, i)
|
|
+ char **p;
|
|
+ int i;
|
|
+{
|
|
+ return p[i];
|
|
+}
|
|
+static char *f (char * (*g) (char **, int), char **p, ...)
|
|
+{
|
|
+ char *s;
|
|
+ va_list v;
|
|
+ va_start (v,p);
|
|
+ s = g (p, va_arg (v,int));
|
|
+ va_end (v);
|
|
+ return s;
|
|
+}
|
|
+
|
|
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
|
+ function prototypes and stuff, but not '\xHH' hex character constants.
|
|
+ These don't provoke an error unfortunately, instead are silently treated
|
|
+ as 'x'. The following induces an error, until -std is added to get
|
|
+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
|
+ array size at least. It's necessary to write '\x00'==0 to get something
|
|
+ that's true only with -std. */
|
|
+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
|
+
|
|
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
|
+ inside strings and character constants. */
|
|
+#define FOO(x) 'x'
|
|
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
|
+
|
|
+int test (int i, double x);
|
|
+struct s1 {int (*f) (int a);};
|
|
+struct s2 {int (*f) (double a);};
|
|
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
|
+int argc;
|
|
+char **argv;
|
|
+int
|
|
+main ()
|
|
+{
|
|
+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
|
|
+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
|
+do
|
|
+ CC="$ac_save_CC $ac_arg"
|
|
+ rm -f conftest.$ac_objext
|
|
+if { (ac_try="$ac_compile"
|
|
+case "(($ac_try" in
|
|
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
+ *) ac_try_echo=$ac_try;;
|
|
+esac
|
|
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
+$as_echo "$ac_try_echo") >&5
|
|
+ (eval "$ac_compile") 2>conftest.er1
|
|
+ ac_status=$?
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
+ rm -f conftest.er1
|
|
+ cat conftest.err >&5
|
|
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
+ (exit $ac_status); } && {
|
|
+ test -z "$ac_c_werror_flag" ||
|
|
+ test ! -s conftest.err
|
|
+ } && test -s conftest.$ac_objext; then
|
|
+ ac_cv_prog_cc_c89=$ac_arg
|
|
+else
|
|
+ $as_echo "$as_me: failed program was:" >&5
|
|
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+rm -f core conftest.err conftest.$ac_objext
|
|
+ test "x$ac_cv_prog_cc_c89" != "xno" && break
|
|
+done
|
|
+rm -f conftest.$ac_ext
|
|
+CC=$ac_save_CC
|
|
+
|
|
+fi
|
|
+# AC_CACHE_VAL
|
|
+case "x$ac_cv_prog_cc_c89" in
|
|
+ x)
|
|
+ { $as_echo "$as_me:$LINENO: result: none needed" >&5
|
|
+$as_echo "none needed" >&6; } ;;
|
|
+ xno)
|
|
+ { $as_echo "$as_me:$LINENO: result: unsupported" >&5
|
|
+$as_echo "unsupported" >&6; } ;;
|
|
+ *)
|
|
+ CC="$CC $ac_cv_prog_cc_c89"
|
|
+ { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
|
|
+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
|
+esac
|
|
+
|
|
+
|
|
+ac_ext=c
|
|
+ac_cpp='$CPP $CPPFLAGS'
|
|
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
+
|
|
+depcc="$CC" am_compiler_list=
|
|
+
|
|
+{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
|
|
+$as_echo_n "checking dependency style of $depcc... " >&6; }
|
|
+if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
|
+ # We make a subdir and do the tests there. Otherwise we can end up
|
|
+ # making bogus files that we don't know about and never remove. For
|
|
+ # instance it was reported that on HP-UX the gcc test will end up
|
|
+ # making a dummy file named `D' -- because `-MD' means `put the output
|
|
+ # in D'.
|
|
+ mkdir conftest.dir
|
|
+ # Copy depcomp to subdir because otherwise we won't find it if we're
|
|
+ # using a relative directory.
|
|
+ cp "$am_depcomp" conftest.dir
|
|
+ cd conftest.dir
|
|
+ # We will build objects and dependencies in a subdirectory because
|
|
+ # it helps to detect inapplicable dependency modes. For instance
|
|
+ # both Tru64's cc and ICC support -MD to output dependencies as a
|
|
+ # side effect of compilation, but ICC will put the dependencies in
|
|
+ # the current directory while Tru64 will put them in the object
|
|
+ # directory.
|
|
+ mkdir sub
|
|
+
|
|
+ am_cv_CC_dependencies_compiler_type=none
|
|
+ if test "$am_compiler_list" = ""; then
|
|
+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
|
|
+ fi
|
|
+ am__universal=false
|
|
+ case " $depcc " in #(
|
|
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
|
|
+ esac
|
|
+
|
|
+ for depmode in $am_compiler_list; do
|
|
+ # Setup a source with many dependencies, because some compilers
|
|
+ # like to wrap large dependency lists on column 80 (with \), and
|
|
+ # we should not choose a depcomp mode which is confused by this.
|
|
+ #
|
|
+ # We need to recreate these files for each test, as the compiler may
|
|
+ # overwrite some of them when testing with obscure command lines.
|
|
+ # This happens at least with the AIX C compiler.
|
|
+ : > sub/conftest.c
|
|
+ for i in 1 2 3 4 5 6; do
|
|
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
|
|
+ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
|
|
+ # Solaris 8's {/usr,}/bin/sh.
|
|
+ touch sub/conftst$i.h
|
|
+ done
|
|
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
|
|
+
|
|
+ # We check with `-c' and `-o' for the sake of the "dashmstdout"
|
|
+ # mode. It turns out that the SunPro C++ compiler does not properly
|
|
+ # handle `-M -o', and we need to detect this. Also, some Intel
|
|
+ # versions had trouble with output in subdirs
|
|
+ am__obj=sub/conftest.${OBJEXT-o}
|
|
+ am__minus_obj="-o $am__obj"
|
|
+ case $depmode in
|
|
+ gcc)
|
|
+ # This depmode causes a compiler race in universal mode.
|
|
+ test "$am__universal" = false || continue
|
|
+ ;;
|
|
+ nosideeffect)
|
|
+ # after this tag, mechanisms are not by side-effect, so they'll
|
|
+ # only be used when explicitly requested
|
|
+ if test "x$enable_dependency_tracking" = xyes; then
|
|
+ continue
|
|
+ else
|
|
+ break
|
|
+ fi
|
|
+ ;;
|
|
+ msvisualcpp | msvcmsys)
|
|
+ # This compiler won't grok `-c -o', but also, the minuso test has
|
|
+ # not run yet. These depmodes are late enough in the game, and
|
|
+ # so weak that their functioning should not be impacted.
|
|
+ am__obj=conftest.${OBJEXT-o}
|
|
+ am__minus_obj=
|
|
+ ;;
|
|
+ none) break ;;
|
|
+ esac
|
|
+ if depmode=$depmode \
|
|
+ source=sub/conftest.c object=$am__obj \
|
|
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
|
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
|
|
+ >/dev/null 2>conftest.err &&
|
|
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
|
|
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
|
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
|
|
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
|
+ # icc doesn't choke on unknown options, it will just issue warnings
|
|
+ # or remarks (even with -Werror). So we grep stderr for any message
|
|
+ # that says an option was ignored or not supported.
|
|
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
|
|
+ # icc: Command line warning: ignoring option '-M'; no argument required
|
|
+ # The diagnosis changed in icc 8.0:
|
|
+ # icc: Command line remark: option '-MP' not supported
|
|
+ if (grep 'ignoring option' conftest.err ||
|
|
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
|
|
+ am_cv_CC_dependencies_compiler_type=$depmode
|
|
+ break
|
|
+ fi
|
|
+ fi
|
|
+ done
|
|
+
|
|
+ cd ..
|
|
+ rm -rf conftest.dir
|
|
+else
|
|
+ am_cv_CC_dependencies_compiler_type=none
|
|
+fi
|
|
+
|
|
+fi
|
|
+{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
|
|
+$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
|
|
+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
|
|
+
|
|
+ if
|
|
+ test "x$enable_dependency_tracking" != xno \
|
|
+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
|
|
+ am__fastdepCC_TRUE=
|
|
+ am__fastdepCC_FALSE='#'
|
|
+else
|
|
+ am__fastdepCC_TRUE='#'
|
|
+ am__fastdepCC_FALSE=
|
|
+fi
|
|
+
|
|
+
|
|
+for ac_prog in flex lex
|
|
+do
|
|
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
+set dummy $ac_prog; ac_word=$2
|
|
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
+$as_echo_n "checking for $ac_word... " >&6; }
|
|
+if test "${ac_cv_prog_LEX+set}" = set; then
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+ if test -n "$LEX"; then
|
|
+ ac_cv_prog_LEX="$LEX" # Let the user override the test.
|
|
+else
|
|
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
+for as_dir in $PATH
|
|
+do
|
|
+ IFS=$as_save_IFS
|
|
+ test -z "$as_dir" && as_dir=.
|
|
+ for ac_exec_ext in '' $ac_executable_extensions; do
|
|
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ ac_cv_prog_LEX="$ac_prog"
|
|
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
+ break 2
|
|
+ fi
|
|
+done
|
|
+done
|
|
+IFS=$as_save_IFS
|
|
+
|
|
+fi
|
|
+fi
|
|
+LEX=$ac_cv_prog_LEX
|
|
+if test -n "$LEX"; then
|
|
+ { $as_echo "$as_me:$LINENO: result: $LEX" >&5
|
|
+$as_echo "$LEX" >&6; }
|
|
+else
|
|
+ { $as_echo "$as_me:$LINENO: result: no" >&5
|
|
+$as_echo "no" >&6; }
|
|
+fi
|
|
+
|
|
+
|
|
+ test -n "$LEX" && break
|
|
+done
|
|
+test -n "$LEX" || LEX=":"
|
|
+
|
|
+if test "x$LEX" != "x:"; then
|
|
+ cat >conftest.l <<_ACEOF
|
|
+%%
|
|
+a { ECHO; }
|
|
+b { REJECT; }
|
|
+c { yymore (); }
|
|
+d { yyless (1); }
|
|
+e { yyless (input () != 0); }
|
|
+f { unput (yytext[0]); }
|
|
+. { BEGIN INITIAL; }
|
|
+%%
|
|
+#ifdef YYTEXT_POINTER
|
|
+extern char *yytext;
|
|
+#endif
|
|
+int
|
|
+main (void)
|
|
+{
|
|
+ return ! yylex () + ! yywrap ();
|
|
+}
|
|
+_ACEOF
|
|
+{ (ac_try="$LEX conftest.l"
|
|
+case "(($ac_try" in
|
|
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
+ *) ac_try_echo=$ac_try;;
|
|
+esac
|
|
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
+$as_echo "$ac_try_echo") >&5
|
|
+ (eval "$LEX conftest.l") 2>&5
|
|
+ ac_status=$?
|
|
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
+ (exit $ac_status); }
|
|
+{ $as_echo "$as_me:$LINENO: checking lex output file root" >&5
|
|
+$as_echo_n "checking lex output file root... " >&6; }
|
|
+if test "${ac_cv_prog_lex_root+set}" = set; then
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+if test -f lex.yy.c; then
|
|
+ ac_cv_prog_lex_root=lex.yy
|
|
+elif test -f lexyy.c; then
|
|
+ ac_cv_prog_lex_root=lexyy
|
|
+else
|
|
+ { { $as_echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
|
|
+$as_echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
|
|
+ { (exit 1); exit 1; }; }
|
|
+fi
|
|
+fi
|
|
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
|
|
+$as_echo "$ac_cv_prog_lex_root" >&6; }
|
|
+LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
|
|
+
|
|
+if test -z "${LEXLIB+set}"; then
|
|
+ { $as_echo "$as_me:$LINENO: checking lex library" >&5
|
|
+$as_echo_n "checking lex library... " >&6; }
|
|
+if test "${ac_cv_lib_lex+set}" = set; then
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+
|
|
+ ac_save_LIBS=$LIBS
|
|
+ ac_cv_lib_lex='none needed'
|
|
+ for ac_lib in '' -lfl -ll; do
|
|
+ LIBS="$ac_lib $ac_save_LIBS"
|
|
+ cat >conftest.$ac_ext <<_ACEOF
|
|
+`cat $LEX_OUTPUT_ROOT.c`
|
|
+_ACEOF
|
|
+rm -f conftest.$ac_objext conftest$ac_exeext
|
|
+if { (ac_try="$ac_link"
|
|
+case "(($ac_try" in
|
|
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
+ *) ac_try_echo=$ac_try;;
|
|
+esac
|
|
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
+$as_echo "$ac_try_echo") >&5
|
|
+ (eval "$ac_link") 2>conftest.er1
|
|
+ ac_status=$?
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
+ rm -f conftest.er1
|
|
+ cat conftest.err >&5
|
|
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
+ (exit $ac_status); } && {
|
|
+ test -z "$ac_c_werror_flag" ||
|
|
+ test ! -s conftest.err
|
|
+ } && test -s conftest$ac_exeext && {
|
|
+ test "$cross_compiling" = yes ||
|
|
+ $as_test_x conftest$ac_exeext
|
|
+ }; then
|
|
+ ac_cv_lib_lex=$ac_lib
|
|
+else
|
|
+ $as_echo "$as_me: failed program was:" >&5
|
|
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+rm -rf conftest.dSYM
|
|
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
+ conftest$ac_exeext conftest.$ac_ext
|
|
+ test "$ac_cv_lib_lex" != 'none needed' && break
|
|
+ done
|
|
+ LIBS=$ac_save_LIBS
|
|
+
|
|
+fi
|
|
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
|
|
+$as_echo "$ac_cv_lib_lex" >&6; }
|
|
+ test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
|
|
+fi
|
|
+
|
|
+
|
|
+{ $as_echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
|
|
+$as_echo_n "checking whether yytext is a pointer... " >&6; }
|
|
+if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+ # POSIX says lex can declare yytext either as a pointer or an array; the
|
|
+# default is implementation-dependent. Figure out which it is, since
|
|
+# not all implementations provide the %pointer and %array declarations.
|
|
+ac_cv_prog_lex_yytext_pointer=no
|
|
+ac_save_LIBS=$LIBS
|
|
+LIBS="$LEXLIB $ac_save_LIBS"
|
|
+cat >conftest.$ac_ext <<_ACEOF
|
|
+#define YYTEXT_POINTER 1
|
|
+`cat $LEX_OUTPUT_ROOT.c`
|
|
+_ACEOF
|
|
+rm -f conftest.$ac_objext conftest$ac_exeext
|
|
+if { (ac_try="$ac_link"
|
|
+case "(($ac_try" in
|
|
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
+ *) ac_try_echo=$ac_try;;
|
|
+esac
|
|
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
+$as_echo "$ac_try_echo") >&5
|
|
+ (eval "$ac_link") 2>conftest.er1
|
|
+ ac_status=$?
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
+ rm -f conftest.er1
|
|
+ cat conftest.err >&5
|
|
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
+ (exit $ac_status); } && {
|
|
+ test -z "$ac_c_werror_flag" ||
|
|
+ test ! -s conftest.err
|
|
+ } && test -s conftest$ac_exeext && {
|
|
+ test "$cross_compiling" = yes ||
|
|
+ $as_test_x conftest$ac_exeext
|
|
+ }; then
|
|
+ ac_cv_prog_lex_yytext_pointer=yes
|
|
+else
|
|
+ $as_echo "$as_me: failed program was:" >&5
|
|
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
+
|
|
+
|
|
+fi
|
|
+
|
|
+rm -rf conftest.dSYM
|
|
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
+ conftest$ac_exeext conftest.$ac_ext
|
|
+LIBS=$ac_save_LIBS
|
|
+
|
|
+fi
|
|
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
|
|
+$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
|
|
+if test $ac_cv_prog_lex_yytext_pointer = yes; then
|
|
+
|
|
+cat >>confdefs.h <<\_ACEOF
|
|
+#define YYTEXT_POINTER 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+rm -f conftest.l $LEX_OUTPUT_ROOT.c
|
|
+
|
|
+fi
|
|
+if test "$LEX" = :; then
|
|
+ LEX=${am_missing_run}flex
|
|
+fi
|
|
+for ac_prog in 'bison -y' byacc
|
|
+do
|
|
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
+set dummy $ac_prog; ac_word=$2
|
|
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
+$as_echo_n "checking for $ac_word... " >&6; }
|
|
+if test "${ac_cv_prog_YACC+set}" = set; then
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+ if test -n "$YACC"; then
|
|
+ ac_cv_prog_YACC="$YACC" # Let the user override the test.
|
|
+else
|
|
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
+for as_dir in $PATH
|
|
+do
|
|
+ IFS=$as_save_IFS
|
|
+ test -z "$as_dir" && as_dir=.
|
|
+ for ac_exec_ext in '' $ac_executable_extensions; do
|
|
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ ac_cv_prog_YACC="$ac_prog"
|
|
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
+ break 2
|
|
+ fi
|
|
+done
|
|
+done
|
|
+IFS=$as_save_IFS
|
|
+
|
|
+fi
|
|
+fi
|
|
+YACC=$ac_cv_prog_YACC
|
|
+if test -n "$YACC"; then
|
|
+ { $as_echo "$as_me:$LINENO: result: $YACC" >&5
|
|
+$as_echo "$YACC" >&6; }
|
|
+else
|
|
+ { $as_echo "$as_me:$LINENO: result: no" >&5
|
|
+$as_echo "no" >&6; }
|
|
+fi
|
|
+
|
|
+
|
|
+ test -n "$YACC" && break
|
|
+done
|
|
+test -n "$YACC" || YACC="yacc"
|
|
+
|
|
+if test -n "$ac_tool_prefix"; then
|
|
+ # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
|
+set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
|
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
+$as_echo_n "checking for $ac_word... " >&6; }
|
|
+if test "${ac_cv_prog_RANLIB+set}" = set; then
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+ if test -n "$RANLIB"; then
|
|
+ ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
|
|
+else
|
|
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
+for as_dir in $PATH
|
|
+do
|
|
+ IFS=$as_save_IFS
|
|
+ test -z "$as_dir" && as_dir=.
|
|
+ for ac_exec_ext in '' $ac_executable_extensions; do
|
|
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
|
|
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
+ break 2
|
|
+ fi
|
|
+done
|
|
+done
|
|
+IFS=$as_save_IFS
|
|
+
|
|
+fi
|
|
+fi
|
|
+RANLIB=$ac_cv_prog_RANLIB
|
|
+if test -n "$RANLIB"; then
|
|
+ { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
|
|
+$as_echo "$RANLIB" >&6; }
|
|
+else
|
|
+ { $as_echo "$as_me:$LINENO: result: no" >&5
|
|
+$as_echo "no" >&6; }
|
|
+fi
|
|
+
|
|
+
|
|
+fi
|
|
+if test -z "$ac_cv_prog_RANLIB"; then
|
|
+ ac_ct_RANLIB=$RANLIB
|
|
+ # Extract the first word of "ranlib", so it can be a program name with args.
|
|
+set dummy ranlib; ac_word=$2
|
|
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
+$as_echo_n "checking for $ac_word... " >&6; }
|
|
+if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+ if test -n "$ac_ct_RANLIB"; then
|
|
+ ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
|
|
+else
|
|
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
+for as_dir in $PATH
|
|
+do
|
|
+ IFS=$as_save_IFS
|
|
+ test -z "$as_dir" && as_dir=.
|
|
+ for ac_exec_ext in '' $ac_executable_extensions; do
|
|
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
+ ac_cv_prog_ac_ct_RANLIB="ranlib"
|
|
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
+ break 2
|
|
+ fi
|
|
+done
|
|
+done
|
|
+IFS=$as_save_IFS
|
|
+
|
|
+fi
|
|
+fi
|
|
+ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
|
|
+if test -n "$ac_ct_RANLIB"; then
|
|
+ { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
|
|
+$as_echo "$ac_ct_RANLIB" >&6; }
|
|
+else
|
|
+ { $as_echo "$as_me:$LINENO: result: no" >&5
|
|
+$as_echo "no" >&6; }
|
|
+fi
|
|
+
|
|
+ if test "x$ac_ct_RANLIB" = x; then
|
|
+ RANLIB=":"
|
|
+ else
|
|
+ case $cross_compiling:$ac_tool_warned in
|
|
+yes:)
|
|
+{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
+ac_tool_warned=yes ;;
|
|
+esac
|
|
+ RANLIB=$ac_ct_RANLIB
|
|
+ fi
|
|
+else
|
|
+ RANLIB="$ac_cv_prog_RANLIB"
|
|
+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
|
|
+# AmigaOS /C/install, which installs bootblocks on floppy discs
|
|
+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
|
+# AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
|
+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
|
+# OS/2's system install, which has a completely different semantic
|
|
+# ./install, which can be erroneously created by make from ./install.sh.
|
|
+# Reject install programs that cannot install multiple files.
|
|
+{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
|
|
+$as_echo_n "checking for a BSD-compatible install... " >&6; }
|
|
+if test -z "$INSTALL"; then
|
|
+if test "${ac_cv_path_install+set}" = set; then
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
+for as_dir in $PATH
|
|
+do
|
|
+ IFS=$as_save_IFS
|
|
+ test -z "$as_dir" && as_dir=.
|
|
+ # Account for people who put trailing slashes in PATH elements.
|
|
+case $as_dir/ in
|
|
+ ./ | .// | /cC/* | \
|
|
+ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
|
+ ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
|
|
+ /usr/ucb/* ) ;;
|
|
+ *)
|
|
+ # OSF1 and SCO ODT 3.0 have their own names for install.
|
|
+ # Don't use installbsd from OSF since it installs stuff as root
|
|
+ # by default.
|
|
+ for ac_prog in ginstall scoinst install; do
|
|
+ for ac_exec_ext in '' $ac_executable_extensions; do
|
|
+ if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
|
|
+ if test $ac_prog = install &&
|
|
+ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
|
+ # AIX install. It has an incompatible calling convention.
|
|
+ :
|
|
+ elif test $ac_prog = install &&
|
|
+ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
|
+ # program-specific install script used by HP pwplus--don't use.
|
|
+ :
|
|
+ else
|
|
+ rm -rf conftest.one conftest.two conftest.dir
|
|
+ echo one > conftest.one
|
|
+ echo two > conftest.two
|
|
+ mkdir conftest.dir
|
|
+ if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
|
|
+ test -s conftest.one && test -s conftest.two &&
|
|
+ test -s conftest.dir/conftest.one &&
|
|
+ test -s conftest.dir/conftest.two
|
|
+ then
|
|
+ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
|
+ break 3
|
|
+ fi
|
|
+ fi
|
|
+ fi
|
|
+ done
|
|
+ done
|
|
+ ;;
|
|
+esac
|
|
+
|
|
+done
|
|
+IFS=$as_save_IFS
|
|
+
|
|
+rm -rf conftest.one conftest.two conftest.dir
|
|
+
|
|
+fi
|
|
+ if test "${ac_cv_path_install+set}" = set; then
|
|
+ INSTALL=$ac_cv_path_install
|
|
+ else
|
|
+ # As a last resort, use the slow shell script. Don't cache a
|
|
+ # value for INSTALL within a source directory, because that will
|
|
+ # break other packages using the cache if that directory is
|
|
+ # removed, or if the value is a relative name.
|
|
+ INSTALL=$ac_install_sh
|
|
+ fi
|
|
+fi
|
|
+{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
|
|
+$as_echo "$INSTALL" >&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_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
|
+
|
|
+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
|
+
|
|
+if test "x$CC" != xcc; then
|
|
+ { $as_echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
|
|
+$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
|
|
+else
|
|
+ { $as_echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
|
|
+$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
|
|
+fi
|
|
+set dummy $CC; ac_cc=`$as_echo "$2" |
|
|
+ sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
|
|
+if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
+ $as_echo_n "(cached) " >&6
|
|
+else
|
|
+ cat >conftest.$ac_ext <<_ACEOF
|
|
+/* confdefs.h. */
|
|
+_ACEOF
|
|
+cat confdefs.h >>conftest.$ac_ext
|
|
+cat >>conftest.$ac_ext <<_ACEOF
|
|
+/* end confdefs.h. */
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+# 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.
|
|
+ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
|
|
+rm -f conftest2.*
|
|
+if { (case "(($ac_try" in
|
|
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
+ *) ac_try_echo=$ac_try;;
|
|
+esac
|
|
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
+$as_echo "$ac_try_echo") >&5
|
|
+ (eval "$ac_try") 2>&5
|
|
+ ac_status=$?
|
|
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
+ (exit $ac_status); } &&
|
|
+ test -f conftest2.$ac_objext && { (case "(($ac_try" in
|
|
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
+ *) ac_try_echo=$ac_try;;
|
|
+esac
|
|
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
+$as_echo "$ac_try_echo") >&5
|
|
+ (eval "$ac_try") 2>&5
|
|
+ ac_status=$?
|
|
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
+ (exit $ac_status); };
|
|
+then
|
|
+ eval ac_cv_prog_cc_${ac_cc}_c_o=yes
|
|
+ if test "x$CC" != xcc; then
|
|
+ # Test first that cc exists at all.
|
|
+ if { ac_try='cc -c conftest.$ac_ext >&5'
|
|
+ { (case "(($ac_try" in
|
|
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
+ *) ac_try_echo=$ac_try;;
|
|
+esac
|
|
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
+$as_echo "$ac_try_echo") >&5
|
|
+ (eval "$ac_try") 2>&5
|
|
+ ac_status=$?
|
|
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
+ (exit $ac_status); }; }; then
|
|
+ ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
|
|
+ rm -f conftest2.*
|
|
+ if { (case "(($ac_try" in
|
|
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
+ *) ac_try_echo=$ac_try;;
|
|
+esac
|
|
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
+$as_echo "$ac_try_echo") >&5
|
|
+ (eval "$ac_try") 2>&5
|
|
+ ac_status=$?
|
|
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
+ (exit $ac_status); } &&
|
|
+ test -f conftest2.$ac_objext && { (case "(($ac_try" in
|
|
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
+ *) ac_try_echo=$ac_try;;
|
|
+esac
|
|
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
+$as_echo "$ac_try_echo") >&5
|
|
+ (eval "$ac_try") 2>&5
|
|
+ ac_status=$?
|
|
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
+ (exit $ac_status); };
|
|
+ then
|
|
+ # cc works too.
|
|
+ :
|
|
+ else
|
|
+ # cc exists but doesn't like -o.
|
|
+ eval ac_cv_prog_cc_${ac_cc}_c_o=no
|
|
+ fi
|
|
+ fi
|
|
+ fi
|
|
+else
|
|
+ eval ac_cv_prog_cc_${ac_cc}_c_o=no
|
|
+fi
|
|
+rm -f core conftest*
|
|
+
|
|
+fi
|
|
+if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
|
|
+ { $as_echo "$as_me:$LINENO: result: yes" >&5
|
|
+$as_echo "yes" >&6; }
|
|
+else
|
|
+ { $as_echo "$as_me:$LINENO: result: no" >&5
|
|
+$as_echo "no" >&6; }
|
|
+
|
|
+cat >>confdefs.h <<\_ACEOF
|
|
+#define NO_MINUS_C_MINUS_O 1
|
|
+_ACEOF
|
|
+
|
|
+fi
|
|
+
|
|
+# FIXME: we rely on the cache variable name because
|
|
+# there is no other way.
|
|
+set dummy $CC
|
|
+am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
|
|
+eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
|
|
+if test "$am_t" != yes; then
|
|
+ # Losing compiler, so override with the script.
|
|
+ # FIXME: It is wrong to rewrite CC.
|
|
+ # But if we don't then we get into trouble of one sort or another.
|
|
+ # A longer-term fix would be to have automake use am__CC in this case,
|
|
+ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
|
|
+ CC="$am_aux_dir/compile $CC"
|
|
+fi
|
|
+
|
|
+
|
|
+
|
|
+# Check whether --enable-shared was given.
|
|
+if test "${enable_shared+set}" = set; then
|
|
+ enableval=$enable_shared; p=${PACKAGE-default}
|
|
+ case $enableval in
|
|
+ yes) enable_shared=yes ;;
|
|
+ no) enable_shared=no ;;
|
|
+ *)
|
|
+ enable_shared=no
|
|
+ # Look at the argument we got. We use all the common list separators.
|
|
+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
|
|
+ for pkg in $enableval; do
|
|
+ IFS="$lt_save_ifs"
|
|
+ if test "X$pkg" = "X$p"; then
|
|
+ enable_shared=yes
|
|
+ fi
|
|
+ done
|
|
+ IFS="$lt_save_ifs"
|
|
+ ;;
|
|
+ esac
|
|
+else
|
|
+ enable_shared=no
|
|
+fi
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
+
|
|
ac_have_func=no # yes means we've found a way to get the load average.
|
|
|
|
# Make sure getloadavg.c is where it belongs, at configure-time.
|
|
@@ -23945,6 +26301,21 @@ LIBOBJS=$ac_libobjs
|
|
LTLIBOBJS=$ac_ltlibobjs
|
|
|
|
|
|
+ if test -n "$EXEEXT"; then
|
|
+ am__EXEEXT_TRUE=
|
|
+ am__EXEEXT_FALSE='#'
|
|
+else
|
|
+ am__EXEEXT_TRUE='#'
|
|
+ am__EXEEXT_FALSE=
|
|
+fi
|
|
+
|
|
+if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
|
|
+ { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
|
|
+Usually this means the macro was only invoked conditionally." >&5
|
|
+$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
|
|
+Usually this means the macro was only invoked conditionally." >&2;}
|
|
+ { (exit 1); exit 1; }; }
|
|
+fi
|
|
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
|
|
{ { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
|
|
Usually this means the macro was only invoked conditionally." >&5
|
|
@@ -23959,6 +26330,37 @@ $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
|
|
Usually this means the macro was only invoked conditionally." >&2;}
|
|
{ (exit 1); exit 1; }; }
|
|
fi
|
|
+if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
|
|
+ { { $as_echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
|
|
+Usually this means the macro was only invoked conditionally." >&5
|
|
+$as_echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined.
|
|
+Usually this means the macro was only invoked conditionally." >&2;}
|
|
+ { (exit 1); exit 1; }; }
|
|
+fi
|
|
+if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
|
|
+ { { $as_echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
|
|
+Usually this means the macro was only invoked conditionally." >&5
|
|
+$as_echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined.
|
|
+Usually this means the macro was only invoked conditionally." >&2;}
|
|
+ { (exit 1); exit 1; }; }
|
|
+fi
|
|
+LT_CONFIG_H=src/conf.h
|
|
+
|
|
+ _ltdl_libobjs=
|
|
+ _ltdl_ltlibobjs=
|
|
+ if test -n "$_LT_LIBOBJS"; then
|
|
+ # Remove the extension.
|
|
+ _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
|
|
+ for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
|
|
+ _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
|
|
+ _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
|
|
+ done
|
|
+ fi
|
|
+ ltdl_LIBOBJS=$_ltdl_libobjs
|
|
+
|
|
+ ltdl_LTLIBOBJS=$_ltdl_ltlibobjs
|
|
+
|
|
+
|
|
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
|
|
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
|
|
Usually this means the macro was only invoked conditionally." >&5
|
|
@@ -24481,9 +26883,9 @@ AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
|
|
sed_quote_subst='$sed_quote_subst'
|
|
double_quote_subst='$double_quote_subst'
|
|
delay_variable_subst='$delay_variable_subst'
|
|
-enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
|
|
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
|
|
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
|
|
+enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
|
|
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
|
|
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
|
|
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
|
|
@@ -25400,18 +27802,28 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
|
|
|
|
|
|
case $ac_file$ac_mode in
|
|
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
|
|
- # Strip MF so we end up with the name of the file.
|
|
- mf=`echo "$mf" | sed -e 's/:.*$//'`
|
|
- # Check whether this is an Automake generated Makefile or not.
|
|
- # We used to match only the files named `Makefile.in', but
|
|
- # some people rename them; so instead we look at the file content.
|
|
- # Grep'ing the first line is not enough: some people post-process
|
|
- # each Makefile.in and add a new line on top of each file to say so.
|
|
- # Grep'ing the whole file is not good either: AIX grep has a line
|
|
- # limit of 2048, but all sed's we know have understand at least 4000.
|
|
- if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
|
|
- dirpart=`$as_dirname -- "$mf" ||
|
|
+ "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
|
|
+ # Autoconf 2.62 quotes --file arguments for eval, but not when files
|
|
+ # are listed without --file. Let's play safe and only enable the eval
|
|
+ # if we detect the quoting.
|
|
+ case $CONFIG_FILES in
|
|
+ *\'*) eval set x "$CONFIG_FILES" ;;
|
|
+ *) set x $CONFIG_FILES ;;
|
|
+ esac
|
|
+ shift
|
|
+ for mf
|
|
+ do
|
|
+ # Strip MF so we end up with the name of the file.
|
|
+ mf=`echo "$mf" | sed -e 's/:.*$//'`
|
|
+ # Check whether this is an Automake generated Makefile or not.
|
|
+ # We used to match only the files named `Makefile.in', but
|
|
+ # some people rename them; so instead we look at the file content.
|
|
+ # Grep'ing the first line is not enough: some people post-process
|
|
+ # each Makefile.in and add a new line on top of each file to say so.
|
|
+ # Grep'ing the whole file is not good either: AIX grep has a line
|
|
+ # limit of 2048, but all sed's we know have understand at least 4000.
|
|
+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
|
|
+ dirpart=`$as_dirname -- "$mf" ||
|
|
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
X"$mf" : 'X\(//\)[^/]' \| \
|
|
X"$mf" : 'X\(//\)$' \| \
|
|
@@ -25434,28 +27846,28 @@ $as_echo X"$mf" |
|
|
q
|
|
}
|
|
s/.*/./; q'`
|
|
- else
|
|
- continue
|
|
- fi
|
|
- # Extract the definition of DEPDIR, am__include, and am__quote
|
|
- # from the Makefile without running `make'.
|
|
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
|
|
- test -z "$DEPDIR" && continue
|
|
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
|
|
- test -z "am__include" && continue
|
|
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
|
|
- # When using ansi2knr, U may be empty or an underscore; expand it
|
|
- U=`sed -n 's/^U = //p' < "$mf"`
|
|
- # Find all dependency output files, they are included files with
|
|
- # $(DEPDIR) in their names. We invoke sed twice because it is the
|
|
- # simplest approach to changing $(DEPDIR) to its actual value in the
|
|
- # expansion.
|
|
- for file in `sed -n "
|
|
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
|
|
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
|
- # Make sure the directory exists.
|
|
- test -f "$dirpart/$file" && continue
|
|
- fdir=`$as_dirname -- "$file" ||
|
|
+ else
|
|
+ continue
|
|
+ fi
|
|
+ # Extract the definition of DEPDIR, am__include, and am__quote
|
|
+ # from the Makefile without running `make'.
|
|
+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
|
|
+ test -z "$DEPDIR" && continue
|
|
+ am__include=`sed -n 's/^am__include = //p' < "$mf"`
|
|
+ test -z "am__include" && continue
|
|
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
|
|
+ # When using ansi2knr, U may be empty or an underscore; expand it
|
|
+ U=`sed -n 's/^U = //p' < "$mf"`
|
|
+ # Find all dependency output files, they are included files with
|
|
+ # $(DEPDIR) in their names. We invoke sed twice because it is the
|
|
+ # simplest approach to changing $(DEPDIR) to its actual value in the
|
|
+ # expansion.
|
|
+ for file in `sed -n "
|
|
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
|
|
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
|
+ # Make sure the directory exists.
|
|
+ test -f "$dirpart/$file" && continue
|
|
+ fdir=`$as_dirname -- "$file" ||
|
|
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
X"$file" : 'X\(//\)[^/]' \| \
|
|
X"$file" : 'X\(//\)$' \| \
|
|
@@ -25478,7 +27890,7 @@ $as_echo X"$file" |
|
|
q
|
|
}
|
|
s/.*/./; q'`
|
|
- { as_dir=$dirpart/$fdir
|
|
+ { as_dir=$dirpart/$fdir
|
|
case $as_dir in #(
|
|
-*) as_dir=./$as_dir;;
|
|
esac
|
|
@@ -25519,10 +27931,11 @@ $as_echo X"$as_dir" |
|
|
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
|
|
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
|
|
{ (exit 1); exit 1; }; }; }
|
|
- # echo "creating $dirpart/$file"
|
|
- echo '# dummy' > "$dirpart/$file"
|
|
+ # echo "creating $dirpart/$file"
|
|
+ echo '# dummy' > "$dirpart/$file"
|
|
+ done
|
|
done
|
|
-done
|
|
+}
|
|
;;
|
|
"libtool":C)
|
|
|
|
@@ -25577,13 +27990,13 @@ available_tags=""
|
|
|
|
# ### BEGIN LIBTOOL CONFIG
|
|
|
|
-# Whether or not to build shared libraries.
|
|
-build_libtool_libs=$enable_shared
|
|
-
|
|
# Which release of libtool.m4 was used?
|
|
macro_version=$macro_version
|
|
macro_revision=$macro_revision
|
|
|
|
+# Whether or not to build shared libraries.
|
|
+build_libtool_libs=$enable_shared
|
|
+
|
|
# Whether or not to build static libraries.
|
|
build_old_libs=$enable_static
|
|
|
|
@@ -26195,6 +28608,193 @@ if test "$no_create" != yes; then
|
|
# would make configure fail if this is the last instruction.
|
|
$ac_cs_success || { (exit 1); exit 1; }
|
|
fi
|
|
+
|
|
+#
|
|
+# CONFIG_SUBDIRS section.
|
|
+#
|
|
+if test "$no_recursion" != yes; then
|
|
+
|
|
+ # Remove --cache-file, --srcdir, and --disable-option-checking arguments
|
|
+ # so they do not pile up.
|
|
+ ac_sub_configure_args=
|
|
+ ac_prev=
|
|
+ eval "set x $ac_configure_args"
|
|
+ shift
|
|
+ for ac_arg
|
|
+ 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=*)
|
|
+ ;;
|
|
+ --config-cache | -C)
|
|
+ ;;
|
|
+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
|
+ ac_prev=srcdir ;;
|
|
+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
|
+ ;;
|
|
+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
|
+ ac_prev=prefix ;;
|
|
+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
|
+ ;;
|
|
+ --disable-option-checking)
|
|
+ ;;
|
|
+ *)
|
|
+ case $ac_arg in
|
|
+ *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
+ esac
|
|
+ ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
|
|
+ esac
|
|
+ done
|
|
+
|
|
+ # Always prepend --prefix to ensure using the same prefix
|
|
+ # in subdir configurations.
|
|
+ ac_arg="--prefix=$prefix"
|
|
+ case $ac_arg in
|
|
+ *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
+ esac
|
|
+ ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
|
|
+
|
|
+ # Pass --silent
|
|
+ if test "$silent" = yes; then
|
|
+ ac_sub_configure_args="--silent $ac_sub_configure_args"
|
|
+ fi
|
|
+
|
|
+ # Always prepend --disable-option-checking to silence warnings, since
|
|
+ # different subdirs can have different --enable and --with options.
|
|
+ ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
|
|
+
|
|
+ ac_popdir=`pwd`
|
|
+ for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
|
|
+
|
|
+ # Do not complain, so a configure script can configure whichever
|
|
+ # parts of a large source tree are present.
|
|
+ test -d "$srcdir/$ac_dir" || continue
|
|
+
|
|
+ ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
|
|
+ $as_echo "$as_me:$LINENO: $ac_msg" >&5
|
|
+ $as_echo "$ac_msg" >&6
|
|
+ { as_dir="$ac_dir"
|
|
+ case $as_dir in #(
|
|
+ -*) as_dir=./$as_dir;;
|
|
+ esac
|
|
+ test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
|
|
+ as_dirs=
|
|
+ while :; do
|
|
+ case $as_dir in #(
|
|
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
|
+ *) as_qdir=$as_dir;;
|
|
+ esac
|
|
+ as_dirs="'$as_qdir' $as_dirs"
|
|
+ as_dir=`$as_dirname -- "$as_dir" ||
|
|
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
+ X"$as_dir" : 'X\(//\)[^/]' \| \
|
|
+ X"$as_dir" : 'X\(//\)$' \| \
|
|
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
|
+$as_echo X"$as_dir" |
|
|
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
+ s//\1/
|
|
+ q
|
|
+ }
|
|
+ /^X\(\/\/\)[^/].*/{
|
|
+ s//\1/
|
|
+ q
|
|
+ }
|
|
+ /^X\(\/\/\)$/{
|
|
+ s//\1/
|
|
+ q
|
|
+ }
|
|
+ /^X\(\/\).*/{
|
|
+ s//\1/
|
|
+ q
|
|
+ }
|
|
+ s/.*/./; q'`
|
|
+ test -d "$as_dir" && break
|
|
+ done
|
|
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
|
|
+ } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
|
|
+$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
|
|
+ { (exit 1); exit 1; }; }; }
|
|
+ ac_builddir=.
|
|
+
|
|
+case "$ac_dir" in
|
|
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
|
+*)
|
|
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
|
+ # A ".." for each directory in $ac_dir_suffix.
|
|
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
|
+ case $ac_top_builddir_sub in
|
|
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
|
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
|
+ esac ;;
|
|
+esac
|
|
+ac_abs_top_builddir=$ac_pwd
|
|
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
|
+# for backward compatibility:
|
|
+ac_top_builddir=$ac_top_build_prefix
|
|
+
|
|
+case $srcdir in
|
|
+ .) # We are building in place.
|
|
+ ac_srcdir=.
|
|
+ ac_top_srcdir=$ac_top_builddir_sub
|
|
+ ac_abs_top_srcdir=$ac_pwd ;;
|
|
+ [\\/]* | ?:[\\/]* ) # Absolute name.
|
|
+ ac_srcdir=$srcdir$ac_dir_suffix;
|
|
+ ac_top_srcdir=$srcdir
|
|
+ ac_abs_top_srcdir=$srcdir ;;
|
|
+ *) # Relative name.
|
|
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
|
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
|
|
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
|
+esac
|
|
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
|
+
|
|
+
|
|
+ cd "$ac_dir"
|
|
+
|
|
+ # Check for guested configure; otherwise get Cygnus style configure.
|
|
+ if test -f "$ac_srcdir/configure.gnu"; then
|
|
+ ac_sub_configure=$ac_srcdir/configure.gnu
|
|
+ elif test -f "$ac_srcdir/configure"; then
|
|
+ ac_sub_configure=$ac_srcdir/configure
|
|
+ elif test -f "$ac_srcdir/configure.in"; then
|
|
+ # This should be Cygnus configure.
|
|
+ ac_sub_configure=$ac_aux_dir/configure
|
|
+ else
|
|
+ { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
|
|
+$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&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.
|
|
+ case $cache_file in
|
|
+ [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
|
|
+ *) # Relative name.
|
|
+ ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
|
|
+ esac
|
|
+
|
|
+ { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
|
|
+$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
|
|
+ # The eval makes quoting arguments work.
|
|
+ eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
|
|
+ --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
|
|
+ { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
|
|
+$as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
|
|
+ { (exit 1); exit 1; }; }
|
|
+ fi
|
|
+
|
|
+ cd "$ac_popdir"
|
|
+ done
|
|
+fi
|
|
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
|
|
{ $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
|
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
|
diff --git a/contrib/Makefile.in b/contrib/Makefile.in
|
|
index 9361ba4..7c53bc7 100644
|
|
--- a/contrib/Makefile.in
|
|
+++ b/contrib/Makefile.in
|
|
@@ -1,8 +1,9 @@
|
|
-# Makefile.in generated by automake 1.10.1 from Makefile.am.
|
|
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
|
|
# @configure_input@
|
|
|
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
|
-# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
|
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
|
|
+# Inc.
|
|
# This Makefile.in is free software; the Free Software Foundation
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
# with or without modifications, as long as this notice is preserved.
|
|
@@ -16,8 +17,9 @@
|
|
|
|
VPATH = @srcdir@
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
|
-pkglibdir = $(libdir)/@PACKAGE@
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
|
+pkglibdir = $(libdir)/@PACKAGE@
|
|
+pkglibexecdir = $(libexecdir)/@PACKAGE@
|
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
|
install_sh_DATA = $(install_sh) -c -m 644
|
|
install_sh_PROGRAM = $(install_sh) -c
|
|
@@ -43,9 +45,29 @@ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
|
CONFIG_HEADER = $(top_builddir)/src/conf.h
|
|
CONFIG_CLEAN_FILES =
|
|
+CONFIG_CLEAN_VPATH_FILES =
|
|
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
|
|
+am__vpath_adj = case $$p in \
|
|
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
|
|
+ *) f=$$p;; \
|
|
+ esac;
|
|
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
|
|
+am__install_max = 40
|
|
+am__nobase_strip_setup = \
|
|
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
|
|
+am__nobase_strip = \
|
|
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
|
|
+am__nobase_list = $(am__nobase_strip_setup); \
|
|
+ for p in $$list; do echo "$$p $$p"; done | \
|
|
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
|
|
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
|
|
+ if (++n[$$2] == $(am__install_max)) \
|
|
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
|
|
+ END { for (dir in files) print dir, files[dir] }'
|
|
+am__base_list = \
|
|
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
|
|
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
|
|
am__installdirs = "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(sbindir)"
|
|
-pkgdataSCRIPT_INSTALL = $(INSTALL_SCRIPT)
|
|
-sbinSCRIPT_INSTALL = $(INSTALL_SCRIPT)
|
|
SCRIPTS = $(pkgdata_SCRIPTS) $(sbin_SCRIPTS)
|
|
SOURCES =
|
|
DIST_SOURCES =
|
|
@@ -53,6 +75,7 @@ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
|
ACLOCAL = @ACLOCAL@
|
|
AMTAR = @AMTAR@
|
|
AR = @AR@
|
|
+ARGZ_H = @ARGZ_H@
|
|
AUTOCONF = @AUTOCONF@
|
|
AUTOHEADER = @AUTOHEADER@
|
|
AUTOMAKE = @AUTOMAKE@
|
|
@@ -83,6 +106,7 @@ GETCONF = @GETCONF@
|
|
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
|
|
GREP = @GREP@
|
|
HOSTNAME = @HOSTNAME@
|
|
+INCLTDL = @INCLTDL@
|
|
INSTALL = @INSTALL@
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
@@ -95,13 +119,25 @@ LDFLAGS = @LDFLAGS@
|
|
LEX = @LEX@
|
|
LEXLIB = @LEXLIB@
|
|
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
|
|
+LIBADD_DL = @LIBADD_DL@
|
|
+LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
|
|
+LIBADD_DLOPEN = @LIBADD_DLOPEN@
|
|
+LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
|
|
+LIBLTDL = @LIBLTDL@
|
|
LIBOBJS = @LIBOBJS@
|
|
LIBS = @LIBS@
|
|
LIBTOOL = @LIBTOOL@
|
|
LIB_SELINUX = @LIB_SELINUX@
|
|
LIPO = @LIPO@
|
|
LN_S = @LN_S@
|
|
+LTDLDEPS = @LTDLDEPS@
|
|
+LTDLINCL = @LTDLINCL@
|
|
+LTDLOPEN = @LTDLOPEN@
|
|
LTLIBOBJS = @LTLIBOBJS@
|
|
+LT_CONFIG_H = @LT_CONFIG_H@
|
|
+LT_DLLOADERS = @LT_DLLOADERS@
|
|
+LT_DLPREOPEN = @LT_DLPREOPEN@
|
|
+MAINT = @MAINT@
|
|
MAKEINFO = @MAKEINFO@
|
|
MKDIR_P = @MKDIR_P@
|
|
NEED_SETGID = @NEED_SETGID@
|
|
@@ -173,6 +209,8 @@ libexecdir = @libexecdir@
|
|
localedir = @localedir@
|
|
localstatedir = @localstatedir@
|
|
lt_ECHO = @lt_ECHO@
|
|
+ltdl_LIBOBJS = @ltdl_LIBOBJS@
|
|
+ltdl_LTLIBOBJS = @ltdl_LTLIBOBJS@
|
|
mandir = @mandir@
|
|
mkdir_p = @mkdir_p@
|
|
oldincludedir = @oldincludedir@
|
|
@@ -183,6 +221,8 @@ psdir = @psdir@
|
|
sbindir = @sbindir@
|
|
sharedstatedir = @sharedstatedir@
|
|
srcdir = @srcdir@
|
|
+subdirs = @subdirs@
|
|
+sys_symbol_underscore = @sys_symbol_underscore@
|
|
sysconfdir = @sysconfdir@
|
|
target = @target@
|
|
target_alias = @target_alias@
|
|
@@ -224,18 +264,18 @@ MAINTAINERCLEANFILES = Makefile.in
|
|
all: all-am
|
|
|
|
.SUFFIXES:
|
|
-$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
|
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
|
|
@for dep in $?; do \
|
|
case '$(am__configure_deps)' in \
|
|
*$$dep*) \
|
|
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
|
|
- && exit 0; \
|
|
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
|
|
+ && { if test -f $@; then exit 0; else break; fi; }; \
|
|
exit 1;; \
|
|
esac; \
|
|
done; \
|
|
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu contrib/Makefile'; \
|
|
- cd $(top_srcdir) && \
|
|
- $(AUTOMAKE) --gnu contrib/Makefile
|
|
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu contrib/Makefile'; \
|
|
+ $(am__cd) $(top_srcdir) && \
|
|
+ $(AUTOMAKE) --gnu contrib/Makefile
|
|
.PRECIOUS: Makefile
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
@case '$?' in \
|
|
@@ -249,48 +289,79 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
|
|
|
-$(top_srcdir)/configure: $(am__configure_deps)
|
|
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
|
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
|
-$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
|
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
|
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
|
+$(am__aclocal_m4_deps):
|
|
install-pkgdataSCRIPTS: $(pkgdata_SCRIPTS)
|
|
@$(NORMAL_INSTALL)
|
|
test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)"
|
|
- @list='$(pkgdata_SCRIPTS)'; for p in $$list; do \
|
|
+ @list='$(pkgdata_SCRIPTS)'; test -n "$(pkgdatadir)" || list=; \
|
|
+ for p in $$list; do \
|
|
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
|
- if test -f $$d$$p; then \
|
|
- f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
|
|
- echo " $(pkgdataSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgdatadir)/$$f'"; \
|
|
- $(pkgdataSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgdatadir)/$$f"; \
|
|
- else :; fi; \
|
|
- done
|
|
+ if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
|
|
+ done | \
|
|
+ sed -e 'p;s,.*/,,;n' \
|
|
+ -e 'h;s|.*|.|' \
|
|
+ -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
|
|
+ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
|
|
+ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
|
|
+ if ($$2 == $$4) { files[d] = files[d] " " $$1; \
|
|
+ if (++n[d] == $(am__install_max)) { \
|
|
+ print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
|
|
+ else { print "f", d "/" $$4, $$1 } } \
|
|
+ END { for (d in files) print "f", d, files[d] }' | \
|
|
+ while read type dir files; do \
|
|
+ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
|
|
+ test -z "$$files" || { \
|
|
+ echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(pkgdatadir)$$dir'"; \
|
|
+ $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(pkgdatadir)$$dir" || exit $$?; \
|
|
+ } \
|
|
+ ; done
|
|
|
|
uninstall-pkgdataSCRIPTS:
|
|
@$(NORMAL_UNINSTALL)
|
|
- @list='$(pkgdata_SCRIPTS)'; for p in $$list; do \
|
|
- f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
|
|
- echo " rm -f '$(DESTDIR)$(pkgdatadir)/$$f'"; \
|
|
- rm -f "$(DESTDIR)$(pkgdatadir)/$$f"; \
|
|
- done
|
|
+ @list='$(pkgdata_SCRIPTS)'; test -n "$(pkgdatadir)" || exit 0; \
|
|
+ files=`for p in $$list; do echo "$$p"; done | \
|
|
+ sed -e 's,.*/,,;$(transform)'`; \
|
|
+ test -n "$$list" || exit 0; \
|
|
+ echo " ( cd '$(DESTDIR)$(pkgdatadir)' && rm -f" $$files ")"; \
|
|
+ cd "$(DESTDIR)$(pkgdatadir)" && rm -f $$files
|
|
install-sbinSCRIPTS: $(sbin_SCRIPTS)
|
|
@$(NORMAL_INSTALL)
|
|
test -z "$(sbindir)" || $(MKDIR_P) "$(DESTDIR)$(sbindir)"
|
|
- @list='$(sbin_SCRIPTS)'; for p in $$list; do \
|
|
+ @list='$(sbin_SCRIPTS)'; test -n "$(sbindir)" || list=; \
|
|
+ for p in $$list; do \
|
|
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
|
- if test -f $$d$$p; then \
|
|
- f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
|
|
- echo " $(sbinSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(sbindir)/$$f'"; \
|
|
- $(sbinSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(sbindir)/$$f"; \
|
|
- else :; fi; \
|
|
- done
|
|
+ if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
|
|
+ done | \
|
|
+ sed -e 'p;s,.*/,,;n' \
|
|
+ -e 'h;s|.*|.|' \
|
|
+ -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
|
|
+ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
|
|
+ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
|
|
+ if ($$2 == $$4) { files[d] = files[d] " " $$1; \
|
|
+ if (++n[d] == $(am__install_max)) { \
|
|
+ print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
|
|
+ else { print "f", d "/" $$4, $$1 } } \
|
|
+ END { for (d in files) print "f", d, files[d] }' | \
|
|
+ while read type dir files; do \
|
|
+ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
|
|
+ test -z "$$files" || { \
|
|
+ echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(sbindir)$$dir'"; \
|
|
+ $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(sbindir)$$dir" || exit $$?; \
|
|
+ } \
|
|
+ ; done
|
|
|
|
uninstall-sbinSCRIPTS:
|
|
@$(NORMAL_UNINSTALL)
|
|
- @list='$(sbin_SCRIPTS)'; for p in $$list; do \
|
|
- f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
|
|
- echo " rm -f '$(DESTDIR)$(sbindir)/$$f'"; \
|
|
- rm -f "$(DESTDIR)$(sbindir)/$$f"; \
|
|
- done
|
|
+ @list='$(sbin_SCRIPTS)'; test -n "$(sbindir)" || exit 0; \
|
|
+ files=`for p in $$list; do echo "$$p"; done | \
|
|
+ sed -e 's,.*/,,;$(transform)'`; \
|
|
+ test -n "$$list" || exit 0; \
|
|
+ echo " ( cd '$(DESTDIR)$(sbindir)' && rm -f" $$files ")"; \
|
|
+ cd "$(DESTDIR)$(sbindir)" && rm -f $$files
|
|
|
|
mostlyclean-libtool:
|
|
-rm -f *.lo
|
|
@@ -320,13 +391,17 @@ distdir: $(DISTFILES)
|
|
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
|
if test -d $$d/$$file; then \
|
|
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
|
+ if test -d "$(distdir)/$$file"; then \
|
|
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
|
+ fi; \
|
|
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
|
- cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
|
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
|
|
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
|
fi; \
|
|
- cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
|
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
|
|
else \
|
|
- test -f $(distdir)/$$file \
|
|
- || cp -p $$d/$$file $(distdir)/$$file \
|
|
+ test -f "$(distdir)/$$file" \
|
|
+ || cp -p $$d/$$file "$(distdir)/$$file" \
|
|
|| exit 1; \
|
|
fi; \
|
|
done
|
|
@@ -359,6 +434,7 @@ clean-generic:
|
|
|
|
distclean-generic:
|
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
|
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
|
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
|
|
|
|
maintainer-clean-generic:
|
|
@@ -379,6 +455,8 @@ dvi-am:
|
|
|
|
html: html-am
|
|
|
|
+html-am:
|
|
+
|
|
info: info-am
|
|
|
|
info-am:
|
|
@@ -387,18 +465,28 @@ install-data-am: install-pkgdataSCRIPTS
|
|
|
|
install-dvi: install-dvi-am
|
|
|
|
+install-dvi-am:
|
|
+
|
|
install-exec-am: install-sbinSCRIPTS
|
|
|
|
install-html: install-html-am
|
|
|
|
+install-html-am:
|
|
+
|
|
install-info: install-info-am
|
|
|
|
+install-info-am:
|
|
+
|
|
install-man:
|
|
|
|
install-pdf: install-pdf-am
|
|
|
|
+install-pdf-am:
|
|
+
|
|
install-ps: install-ps-am
|
|
|
|
+install-ps-am:
|
|
+
|
|
installcheck-am:
|
|
|
|
maintainer-clean: maintainer-clean-am
|
|
@@ -434,6 +522,7 @@ uninstall-am: uninstall-pkgdataSCRIPTS uninstall-sbinSCRIPTS
|
|
ps ps-am uninstall uninstall-am uninstall-pkgdataSCRIPTS \
|
|
uninstall-sbinSCRIPTS
|
|
|
|
+
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
|
.NOEXPORT:
|
|
diff --git a/depcomp b/depcomp
|
|
index 11e2d3b..df8eea7 100755
|
|
--- a/depcomp
|
|
+++ b/depcomp
|
|
@@ -1,9 +1,10 @@
|
|
#! /bin/sh
|
|
# depcomp - compile a program generating dependencies as side-effects
|
|
|
|
-scriptversion=2004-05-31.23
|
|
+scriptversion=2009-04-28.21; # UTC
|
|
|
|
-# Copyright (C) 1999, 2000, 2003, 2004 Free Software Foundation, Inc.
|
|
+# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 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
|
|
@@ -16,9 +17,7 @@ scriptversion=2004-05-31.23
|
|
# 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., 59 Temple Place - Suite 330, Boston, MA
|
|
-# 02111-1307, USA.
|
|
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
# As a special exception to the GNU General Public License, if you
|
|
# distribute this file as part of a program that contains a
|
|
@@ -50,11 +49,11 @@ Environment variables:
|
|
|
|
Report bugs to <bug-automake@gnu.org>.
|
|
EOF
|
|
- exit 0
|
|
+ exit $?
|
|
;;
|
|
-v | --v*)
|
|
echo "depcomp $scriptversion"
|
|
- exit 0
|
|
+ exit $?
|
|
;;
|
|
esac
|
|
|
|
@@ -86,12 +85,34 @@ if test "$depmode" = dashXmstdout; then
|
|
depmode=dashmstdout
|
|
fi
|
|
|
|
+cygpath_u="cygpath -u -f -"
|
|
+if test "$depmode" = msvcmsys; then
|
|
+ # This is just like msvisualcpp but w/o cygpath translation.
|
|
+ # Just convert the backslash-escaped backslashes to single forward
|
|
+ # slashes to satisfy depend.m4
|
|
+ cygpath_u="sed s,\\\\\\\\,/,g"
|
|
+ depmode=msvisualcpp
|
|
+fi
|
|
+
|
|
case "$depmode" in
|
|
gcc3)
|
|
## gcc 3 implements dependency tracking that does exactly what
|
|
## we want. Yay! Note: for some reason libtool 1.4 doesn't like
|
|
## it if -MD -MP comes after the -MF stuff. Hmm.
|
|
- "$@" -MT "$object" -MD -MP -MF "$tmpdepfile"
|
|
+## Unfortunately, FreeBSD c89 acceptance of flags depends upon
|
|
+## the command line argument order; so add the flags where they
|
|
+## appear in depend2.am. Note that the slowdown incurred here
|
|
+## affects only configure: in makefiles, %FASTDEP% shortcuts this.
|
|
+ for arg
|
|
+ do
|
|
+ case $arg in
|
|
+ -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;;
|
|
+ *) set fnord "$@" "$arg" ;;
|
|
+ esac
|
|
+ shift # fnord
|
|
+ shift # $arg
|
|
+ done
|
|
+ "$@"
|
|
stat=$?
|
|
if test $stat -eq 0; then :
|
|
else
|
|
@@ -178,14 +199,14 @@ sgi)
|
|
' < "$tmpdepfile" \
|
|
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
|
|
tr '
|
|
-' ' ' >> $depfile
|
|
- echo >> $depfile
|
|
+' ' ' >> "$depfile"
|
|
+ echo >> "$depfile"
|
|
|
|
# The second pass generates a dummy entry for each header file.
|
|
tr ' ' '
|
|
' < "$tmpdepfile" \
|
|
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
|
|
- >> $depfile
|
|
+ >> "$depfile"
|
|
else
|
|
# The sourcefile does not contain any dependencies, so just
|
|
# store a dummy comment line, to avoid errors with the Makefile
|
|
@@ -201,34 +222,39 @@ aix)
|
|
# current directory. Also, the AIX compiler puts `$object:' at the
|
|
# start of each line; $object doesn't have directory information.
|
|
# Version 6 uses the directory in both cases.
|
|
- stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'`
|
|
- tmpdepfile="$stripped.u"
|
|
+ dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
|
|
+ test "x$dir" = "x$object" && dir=
|
|
+ base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
|
|
if test "$libtool" = yes; then
|
|
+ tmpdepfile1=$dir$base.u
|
|
+ tmpdepfile2=$base.u
|
|
+ tmpdepfile3=$dir.libs/$base.u
|
|
"$@" -Wc,-M
|
|
else
|
|
+ tmpdepfile1=$dir$base.u
|
|
+ tmpdepfile2=$dir$base.u
|
|
+ tmpdepfile3=$dir$base.u
|
|
"$@" -M
|
|
fi
|
|
stat=$?
|
|
|
|
- if test -f "$tmpdepfile"; then :
|
|
- else
|
|
- stripped=`echo "$stripped" | sed 's,^.*/,,'`
|
|
- tmpdepfile="$stripped.u"
|
|
- fi
|
|
-
|
|
if test $stat -eq 0; then :
|
|
else
|
|
- rm -f "$tmpdepfile"
|
|
+ rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
|
|
exit $stat
|
|
fi
|
|
|
|
+ for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
|
|
+ do
|
|
+ test -f "$tmpdepfile" && break
|
|
+ done
|
|
if test -f "$tmpdepfile"; then
|
|
- outname="$stripped.o"
|
|
# Each line is of the form `foo.o: dependent.h'.
|
|
# Do two passes, one to just change these to
|
|
# `$object: dependent.h' and one to simply `dependent.h:'.
|
|
- sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
|
|
- sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
|
|
+ sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
|
|
+ # That's a tab and a space in the [].
|
|
+ sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
|
|
else
|
|
# The sourcefile does not contain any dependencies, so just
|
|
# store a dummy comment line, to avoid errors with the Makefile
|
|
@@ -276,6 +302,51 @@ icc)
|
|
rm -f "$tmpdepfile"
|
|
;;
|
|
|
|
+hp2)
|
|
+ # The "hp" stanza above does not work with aCC (C++) and HP's ia64
|
|
+ # compilers, which have integrated preprocessors. The correct option
|
|
+ # to use with these is +Maked; it writes dependencies to a file named
|
|
+ # 'foo.d', which lands next to the object file, wherever that
|
|
+ # happens to be.
|
|
+ # Much of this is similar to the tru64 case; see comments there.
|
|
+ dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
|
|
+ test "x$dir" = "x$object" && dir=
|
|
+ base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
|
|
+ if test "$libtool" = yes; then
|
|
+ tmpdepfile1=$dir$base.d
|
|
+ tmpdepfile2=$dir.libs/$base.d
|
|
+ "$@" -Wc,+Maked
|
|
+ else
|
|
+ tmpdepfile1=$dir$base.d
|
|
+ tmpdepfile2=$dir$base.d
|
|
+ "$@" +Maked
|
|
+ fi
|
|
+ stat=$?
|
|
+ if test $stat -eq 0; then :
|
|
+ else
|
|
+ rm -f "$tmpdepfile1" "$tmpdepfile2"
|
|
+ exit $stat
|
|
+ fi
|
|
+
|
|
+ for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2"
|
|
+ do
|
|
+ test -f "$tmpdepfile" && break
|
|
+ done
|
|
+ if test -f "$tmpdepfile"; then
|
|
+ sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile"
|
|
+ # Add `dependent.h:' lines.
|
|
+ sed -ne '2,${
|
|
+ s/^ *//
|
|
+ s/ \\*$//
|
|
+ s/$/:/
|
|
+ p
|
|
+ }' "$tmpdepfile" >> "$depfile"
|
|
+ else
|
|
+ echo "#dummy" > "$depfile"
|
|
+ fi
|
|
+ rm -f "$tmpdepfile" "$tmpdepfile2"
|
|
+ ;;
|
|
+
|
|
tru64)
|
|
# The Tru64 compiler uses -MD to generate dependencies as a side
|
|
# effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
|
|
@@ -287,36 +358,43 @@ tru64)
|
|
base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
|
|
|
|
if test "$libtool" = yes; then
|
|
- # Dependencies are output in .lo.d with libtool 1.4.
|
|
- # With libtool 1.5 they are output both in $dir.libs/$base.o.d
|
|
- # and in $dir.libs/$base.o.d and $dir$base.o.d. We process the
|
|
- # latter, because the former will be cleaned when $dir.libs is
|
|
- # erased.
|
|
- tmpdepfile1="$dir.libs/$base.lo.d"
|
|
- tmpdepfile2="$dir$base.o.d"
|
|
- tmpdepfile3="$dir.libs/$base.d"
|
|
+ # With Tru64 cc, shared objects can also be used to make a
|
|
+ # static library. This mechanism is used in libtool 1.4 series to
|
|
+ # handle both shared and static libraries in a single compilation.
|
|
+ # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d.
|
|
+ #
|
|
+ # With libtool 1.5 this exception was removed, and libtool now
|
|
+ # generates 2 separate objects for the 2 libraries. These two
|
|
+ # compilations output dependencies in $dir.libs/$base.o.d and
|
|
+ # in $dir$base.o.d. We have to check for both files, because
|
|
+ # one of the two compilations can be disabled. We should prefer
|
|
+ # $dir$base.o.d over $dir.libs/$base.o.d because the latter is
|
|
+ # automatically cleaned when .libs/ is deleted, while ignoring
|
|
+ # the former would cause a distcleancheck panic.
|
|
+ tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4
|
|
+ tmpdepfile2=$dir$base.o.d # libtool 1.5
|
|
+ tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5
|
|
+ tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504
|
|
"$@" -Wc,-MD
|
|
else
|
|
- tmpdepfile1="$dir$base.o.d"
|
|
- tmpdepfile2="$dir$base.d"
|
|
- tmpdepfile3="$dir$base.d"
|
|
+ tmpdepfile1=$dir$base.o.d
|
|
+ tmpdepfile2=$dir$base.d
|
|
+ tmpdepfile3=$dir$base.d
|
|
+ tmpdepfile4=$dir$base.d
|
|
"$@" -MD
|
|
fi
|
|
|
|
stat=$?
|
|
if test $stat -eq 0; then :
|
|
else
|
|
- rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
|
|
+ rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
|
|
exit $stat
|
|
fi
|
|
|
|
- if test -f "$tmpdepfile1"; then
|
|
- tmpdepfile="$tmpdepfile1"
|
|
- elif test -f "$tmpdepfile2"; then
|
|
- tmpdepfile="$tmpdepfile2"
|
|
- else
|
|
- tmpdepfile="$tmpdepfile3"
|
|
- fi
|
|
+ for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
|
|
+ do
|
|
+ test -f "$tmpdepfile" && break
|
|
+ done
|
|
if test -f "$tmpdepfile"; then
|
|
sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
|
|
# That's a tab and a space in the [].
|
|
@@ -338,7 +416,7 @@ dashmstdout)
|
|
|
|
# Remove the call to Libtool.
|
|
if test "$libtool" = yes; then
|
|
- while test $1 != '--mode=compile'; do
|
|
+ while test "X$1" != 'X--mode=compile'; do
|
|
shift
|
|
done
|
|
shift
|
|
@@ -389,32 +467,39 @@ makedepend)
|
|
"$@" || exit $?
|
|
# Remove any Libtool call
|
|
if test "$libtool" = yes; then
|
|
- while test $1 != '--mode=compile'; do
|
|
+ while test "X$1" != 'X--mode=compile'; do
|
|
shift
|
|
done
|
|
shift
|
|
fi
|
|
# X makedepend
|
|
shift
|
|
- cleared=no
|
|
- for arg in "$@"; do
|
|
+ cleared=no eat=no
|
|
+ for arg
|
|
+ do
|
|
case $cleared in
|
|
no)
|
|
set ""; shift
|
|
cleared=yes ;;
|
|
esac
|
|
+ if test $eat = yes; then
|
|
+ eat=no
|
|
+ continue
|
|
+ fi
|
|
case "$arg" in
|
|
-D*|-I*)
|
|
set fnord "$@" "$arg"; shift ;;
|
|
# Strip any option that makedepend may not understand. Remove
|
|
# the object too, otherwise makedepend will parse it as a source file.
|
|
+ -arch)
|
|
+ eat=yes ;;
|
|
-*|$object)
|
|
;;
|
|
*)
|
|
set fnord "$@" "$arg"; shift ;;
|
|
esac
|
|
done
|
|
- obj_suffix="`echo $object | sed 's/^.*\././'`"
|
|
+ obj_suffix=`echo "$object" | sed 's/^.*\././'`
|
|
touch "$tmpdepfile"
|
|
${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
|
|
rm -f "$depfile"
|
|
@@ -434,7 +519,7 @@ cpp)
|
|
|
|
# Remove the call to Libtool.
|
|
if test "$libtool" = yes; then
|
|
- while test $1 != '--mode=compile'; do
|
|
+ while test "X$1" != 'X--mode=compile'; do
|
|
shift
|
|
done
|
|
shift
|
|
@@ -460,7 +545,8 @@ cpp)
|
|
done
|
|
|
|
"$@" -E |
|
|
- sed -n '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
|
|
+ sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
|
|
+ -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
|
|
sed '$ s: \\$::' > "$tmpdepfile"
|
|
rm -f "$depfile"
|
|
echo "$object : \\" > "$depfile"
|
|
@@ -471,13 +557,27 @@ cpp)
|
|
|
|
msvisualcpp)
|
|
# Important note: in order to support this mode, a compiler *must*
|
|
- # always write the preprocessed file to stdout, regardless of -o,
|
|
- # because we must use -o when running libtool.
|
|
+ # always write the preprocessed file to stdout.
|
|
"$@" || exit $?
|
|
+
|
|
+ # Remove the call to Libtool.
|
|
+ if test "$libtool" = yes; then
|
|
+ while test "X$1" != 'X--mode=compile'; do
|
|
+ shift
|
|
+ done
|
|
+ shift
|
|
+ fi
|
|
+
|
|
IFS=" "
|
|
for arg
|
|
do
|
|
case "$arg" in
|
|
+ -o)
|
|
+ shift
|
|
+ ;;
|
|
+ $object)
|
|
+ shift
|
|
+ ;;
|
|
"-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
|
|
set fnord "$@"
|
|
shift
|
|
@@ -490,16 +590,23 @@ msvisualcpp)
|
|
;;
|
|
esac
|
|
done
|
|
- "$@" -E |
|
|
- sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
|
|
+ "$@" -E 2>/dev/null |
|
|
+ sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile"
|
|
rm -f "$depfile"
|
|
echo "$object : \\" > "$depfile"
|
|
- . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
|
|
+ sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
|
|
echo " " >> "$depfile"
|
|
- . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
|
|
+ sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile"
|
|
rm -f "$tmpdepfile"
|
|
;;
|
|
|
|
+msvcmsys)
|
|
+ # This case exists only to let depend.m4 do its work. It works by
|
|
+ # looking at the text of this script. This case will never be run,
|
|
+ # since it is checked for above.
|
|
+ exit 1
|
|
+ ;;
|
|
+
|
|
none)
|
|
exec "$@"
|
|
;;
|
|
@@ -518,5 +625,6 @@ exit 0
|
|
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
|
# time-stamp-start: "scriptversion="
|
|
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
|
-# time-stamp-end: "$"
|
|
+# time-stamp-time-zone: "UTC"
|
|
+# time-stamp-end: "; # UTC"
|
|
# End:
|
|
diff --git a/doc/Makefile.in b/doc/Makefile.in
|
|
index 9d80826..9986a58 100644
|
|
--- a/doc/Makefile.in
|
|
+++ b/doc/Makefile.in
|
|
@@ -1,8 +1,9 @@
|
|
-# Makefile.in generated by automake 1.10.1 from Makefile.am.
|
|
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
|
|
# @configure_input@
|
|
|
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
|
-# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
|
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
|
|
+# Inc.
|
|
# This Makefile.in is free software; the Free Software Foundation
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
# with or without modifications, as long as this notice is preserved.
|
|
@@ -16,8 +17,9 @@
|
|
|
|
VPATH = @srcdir@
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
|
-pkglibdir = $(libdir)/@PACKAGE@
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
|
+pkglibdir = $(libdir)/@PACKAGE@
|
|
+pkglibexecdir = $(libexecdir)/@PACKAGE@
|
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
|
install_sh_DATA = $(install_sh) -c -m 644
|
|
install_sh_PROGRAM = $(install_sh) -c
|
|
@@ -45,6 +47,7 @@ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
|
CONFIG_HEADER = $(top_builddir)/src/conf.h
|
|
CONFIG_CLEAN_FILES =
|
|
+CONFIG_CLEAN_VPATH_FILES =
|
|
SOURCES =
|
|
DIST_SOURCES =
|
|
INFO_DEPS = cfengine-Reference.info cfengine-Tutorial.info
|
|
@@ -63,17 +66,31 @@ am__vpath_adj = case $$p in \
|
|
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
|
|
*) f=$$p;; \
|
|
esac;
|
|
-am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
|
|
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
|
|
+am__install_max = 40
|
|
+am__nobase_strip_setup = \
|
|
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
|
|
+am__nobase_strip = \
|
|
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
|
|
+am__nobase_list = $(am__nobase_strip_setup); \
|
|
+ for p in $$list; do echo "$$p $$p"; done | \
|
|
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
|
|
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
|
|
+ if (++n[$$2] == $(am__install_max)) \
|
|
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
|
|
+ END { for (dir in files) print dir, files[dir] }'
|
|
+am__base_list = \
|
|
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
|
|
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
|
|
man8dir = $(mandir)/man8
|
|
NROFF = nroff
|
|
MANS = $(man_MANS)
|
|
-docDATA_INSTALL = $(INSTALL_DATA)
|
|
-htmlDATA_INSTALL = $(INSTALL_DATA)
|
|
DATA = $(doc_DATA) $(html_DATA)
|
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
|
ACLOCAL = @ACLOCAL@
|
|
AMTAR = @AMTAR@
|
|
AR = @AR@
|
|
+ARGZ_H = @ARGZ_H@
|
|
AUTOCONF = @AUTOCONF@
|
|
AUTOHEADER = @AUTOHEADER@
|
|
AUTOMAKE = @AUTOMAKE@
|
|
@@ -104,6 +121,7 @@ GETCONF = @GETCONF@
|
|
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
|
|
GREP = @GREP@
|
|
HOSTNAME = @HOSTNAME@
|
|
+INCLTDL = @INCLTDL@
|
|
INSTALL = @INSTALL@
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
@@ -116,13 +134,25 @@ LDFLAGS = @LDFLAGS@
|
|
LEX = @LEX@
|
|
LEXLIB = @LEXLIB@
|
|
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
|
|
+LIBADD_DL = @LIBADD_DL@
|
|
+LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
|
|
+LIBADD_DLOPEN = @LIBADD_DLOPEN@
|
|
+LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
|
|
+LIBLTDL = @LIBLTDL@
|
|
LIBOBJS = @LIBOBJS@
|
|
LIBS = @LIBS@
|
|
LIBTOOL = @LIBTOOL@
|
|
LIB_SELINUX = @LIB_SELINUX@
|
|
LIPO = @LIPO@
|
|
LN_S = @LN_S@
|
|
+LTDLDEPS = @LTDLDEPS@
|
|
+LTDLINCL = @LTDLINCL@
|
|
+LTDLOPEN = @LTDLOPEN@
|
|
LTLIBOBJS = @LTLIBOBJS@
|
|
+LT_CONFIG_H = @LT_CONFIG_H@
|
|
+LT_DLLOADERS = @LT_DLLOADERS@
|
|
+LT_DLPREOPEN = @LT_DLPREOPEN@
|
|
+MAINT = @MAINT@
|
|
MAKEINFO = @MAKEINFO@
|
|
MKDIR_P = @MKDIR_P@
|
|
NEED_SETGID = @NEED_SETGID@
|
|
@@ -194,6 +224,8 @@ libexecdir = @libexecdir@
|
|
localedir = @localedir@
|
|
localstatedir = @localstatedir@
|
|
lt_ECHO = @lt_ECHO@
|
|
+ltdl_LIBOBJS = @ltdl_LIBOBJS@
|
|
+ltdl_LTLIBOBJS = @ltdl_LTLIBOBJS@
|
|
mandir = @mandir@
|
|
mkdir_p = @mkdir_p@
|
|
oldincludedir = @oldincludedir@
|
|
@@ -204,6 +236,8 @@ psdir = @psdir@
|
|
sbindir = @sbindir@
|
|
sharedstatedir = @sharedstatedir@
|
|
srcdir = @srcdir@
|
|
+subdirs = @subdirs@
|
|
+sys_symbol_underscore = @sys_symbol_underscore@
|
|
sysconfdir = @sysconfdir@
|
|
target = @target@
|
|
target_alias = @target_alias@
|
|
@@ -263,18 +297,18 @@ all: all-am
|
|
|
|
.SUFFIXES:
|
|
.SUFFIXES: html latex pdf ps dvi .dvi .ps
|
|
-$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
|
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
|
|
@for dep in $?; do \
|
|
case '$(am__configure_deps)' in \
|
|
*$$dep*) \
|
|
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
|
|
- && exit 0; \
|
|
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
|
|
+ && { if test -f $@; then exit 0; else break; fi; }; \
|
|
exit 1;; \
|
|
esac; \
|
|
done; \
|
|
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \
|
|
- cd $(top_srcdir) && \
|
|
- $(AUTOMAKE) --gnu doc/Makefile
|
|
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \
|
|
+ $(am__cd) $(top_srcdir) && \
|
|
+ $(AUTOMAKE) --gnu doc/Makefile
|
|
.PRECIOUS: Makefile
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
@case '$?' in \
|
|
@@ -288,10 +322,11 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
|
|
|
-$(top_srcdir)/configure: $(am__configure_deps)
|
|
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
|
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
|
-$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
|
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
|
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
|
+$(am__aclocal_m4_deps):
|
|
|
|
mostlyclean-libtool:
|
|
-rm -f *.lo
|
|
@@ -340,7 +375,7 @@ cfengine-Reference.html: cfengine-Reference.texinfo $(srcdir)/version1.texi
|
|
rm -rf $(@:.html=); else rm -Rf $(@:.html=.htp) $@; fi; \
|
|
exit 1; \
|
|
fi
|
|
-$(srcdir)/version1.texi: $(srcdir)/stamp-vti
|
|
+$(srcdir)/version1.texi: @MAINTAINER_MODE_TRUE@ $(srcdir)/stamp-vti
|
|
$(srcdir)/stamp-vti: cfengine-Reference.texinfo $(top_srcdir)/configure
|
|
@(dir=.; test -f ./cfengine-Reference.texinfo || dir=$(srcdir); \
|
|
set `$(SHELL) $(srcdir)/mdate-sh $$dir/cfengine-Reference.texinfo`; \
|
|
@@ -358,7 +393,7 @@ mostlyclean-vti:
|
|
-rm -f vti.tmp
|
|
|
|
maintainer-clean-vti:
|
|
- -rm -f $(srcdir)/stamp-vti $(srcdir)/version1.texi
|
|
+@MAINTAINER_MODE_TRUE@ -rm -f $(srcdir)/stamp-vti $(srcdir)/version1.texi
|
|
|
|
cfengine-Tutorial.info: cfengine-Tutorial.texinfo $(srcdir)/version2.texi
|
|
restore=: && backupdir="$(am__leading_dot)am$$$$" && \
|
|
@@ -401,7 +436,7 @@ cfengine-Tutorial.html: cfengine-Tutorial.texinfo $(srcdir)/version2.texi
|
|
rm -rf $(@:.html=); else rm -Rf $(@:.html=.htp) $@; fi; \
|
|
exit 1; \
|
|
fi
|
|
-$(srcdir)/version2.texi: $(srcdir)/stamp-1
|
|
+$(srcdir)/version2.texi: @MAINTAINER_MODE_TRUE@ $(srcdir)/stamp-1
|
|
$(srcdir)/stamp-1: cfengine-Tutorial.texinfo $(top_srcdir)/configure
|
|
@(dir=.; test -f ./cfengine-Tutorial.texinfo || dir=$(srcdir); \
|
|
set `$(SHELL) $(srcdir)/mdate-sh $$dir/cfengine-Tutorial.texinfo`; \
|
|
@@ -419,23 +454,25 @@ mostlyclean-1:
|
|
-rm -f 1.tmp
|
|
|
|
maintainer-clean-1:
|
|
- -rm -f $(srcdir)/stamp-1 $(srcdir)/version2.texi
|
|
+@MAINTAINER_MODE_TRUE@ -rm -f $(srcdir)/stamp-1 $(srcdir)/version2.texi
|
|
.dvi.ps:
|
|
TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
|
|
$(DVIPS) -o $@ $<
|
|
|
|
uninstall-dvi-am:
|
|
@$(NORMAL_UNINSTALL)
|
|
- @list='$(DVIS)'; for p in $$list; do \
|
|
- f=$(am__strip_dir) \
|
|
+ @list='$(DVIS)'; test -n "$(dvidir)" || list=; \
|
|
+ for p in $$list; do \
|
|
+ $(am__strip_dir) \
|
|
echo " rm -f '$(DESTDIR)$(dvidir)/$$f'"; \
|
|
rm -f "$(DESTDIR)$(dvidir)/$$f"; \
|
|
done
|
|
|
|
uninstall-html-am:
|
|
@$(NORMAL_UNINSTALL)
|
|
- @list='$(HTMLS)'; for p in $$list; do \
|
|
- f=$(am__strip_dir) \
|
|
+ @list='$(HTMLS)'; test -n "$(htmldir)" || list=; \
|
|
+ for p in $$list; do \
|
|
+ $(am__strip_dir) \
|
|
echo " rm -rf '$(DESTDIR)$(htmldir)/$$f'"; \
|
|
rm -rf "$(DESTDIR)$(htmldir)/$$f"; \
|
|
done
|
|
@@ -449,7 +486,8 @@ uninstall-info-am:
|
|
for file in $$list; do \
|
|
relfile=`echo "$$file" | sed 's|^.*/||'`; \
|
|
echo " install-info --info-dir='$(DESTDIR)$(infodir)' --remove '$(DESTDIR)$(infodir)/$$relfile'"; \
|
|
- install-info --info-dir="$(DESTDIR)$(infodir)" --remove "$(DESTDIR)$(infodir)/$$relfile"; \
|
|
+ if install-info --info-dir="$(DESTDIR)$(infodir)" --remove "$(DESTDIR)$(infodir)/$$relfile"; \
|
|
+ then :; else test ! -f "$(DESTDIR)$(infodir)/$$relfile" || exit 1; fi; \
|
|
done; \
|
|
else :; fi
|
|
@$(NORMAL_UNINSTALL)
|
|
@@ -465,16 +503,18 @@ uninstall-info-am:
|
|
|
|
uninstall-pdf-am:
|
|
@$(NORMAL_UNINSTALL)
|
|
- @list='$(PDFS)'; for p in $$list; do \
|
|
- f=$(am__strip_dir) \
|
|
+ @list='$(PDFS)'; test -n "$(pdfdir)" || list=; \
|
|
+ for p in $$list; do \
|
|
+ $(am__strip_dir) \
|
|
echo " rm -f '$(DESTDIR)$(pdfdir)/$$f'"; \
|
|
rm -f "$(DESTDIR)$(pdfdir)/$$f"; \
|
|
done
|
|
|
|
uninstall-ps-am:
|
|
@$(NORMAL_UNINSTALL)
|
|
- @list='$(PSS)'; for p in $$list; do \
|
|
- f=$(am__strip_dir) \
|
|
+ @list='$(PSS)'; test -n "$(psdir)" || list=; \
|
|
+ for p in $$list; do \
|
|
+ $(am__strip_dir) \
|
|
echo " rm -f '$(DESTDIR)$(psdir)/$$f'"; \
|
|
rm -f "$(DESTDIR)$(psdir)/$$f"; \
|
|
done
|
|
@@ -491,8 +531,8 @@ dist-info: $(INFO_DEPS)
|
|
for file in $$d/$$base $$d/$$base-[0-9] $$d/$$base-[0-9][0-9] $$d/$$base_i[0-9] $$d/$$base_i[0-9][0-9]; do \
|
|
if test -f $$file; then \
|
|
relfile=`expr "$$file" : "$$d/\(.*\)"`; \
|
|
- test -f $(distdir)/$$relfile || \
|
|
- cp -p $$file $(distdir)/$$relfile; \
|
|
+ test -f "$(distdir)/$$relfile" || \
|
|
+ cp -p $$file "$(distdir)/$$relfile"; \
|
|
else :; fi; \
|
|
done; \
|
|
done
|
|
@@ -506,9 +546,7 @@ mostlyclean-aminfo:
|
|
cfengine-Reference.pgs cfengine-Reference.tmp \
|
|
cfengine-Reference.toc cfengine-Reference.tp \
|
|
cfengine-Reference.tps cfengine-Reference.vr \
|
|
- cfengine-Reference.vrs cfengine-Reference.dvi \
|
|
- cfengine-Reference.pdf cfengine-Reference.ps \
|
|
- cfengine-Reference.html cfengine-Tutorial.aux \
|
|
+ cfengine-Reference.vrs cfengine-Tutorial.aux \
|
|
cfengine-Tutorial.cp cfengine-Tutorial.cps \
|
|
cfengine-Tutorial.fn cfengine-Tutorial.fns \
|
|
cfengine-Tutorial.ky cfengine-Tutorial.kys \
|
|
@@ -517,7 +555,15 @@ mostlyclean-aminfo:
|
|
cfengine-Tutorial.pgs cfengine-Tutorial.tmp \
|
|
cfengine-Tutorial.toc cfengine-Tutorial.tp \
|
|
cfengine-Tutorial.tps cfengine-Tutorial.vr \
|
|
- cfengine-Tutorial.vrs cfengine-Tutorial.dvi \
|
|
+ cfengine-Tutorial.vrs
|
|
+
|
|
+clean-aminfo:
|
|
+ -test -z "cfengine-Reference.dvi cfengine-Reference.pdf cfengine-Reference.ps \
|
|
+ cfengine-Reference.html cfengine-Tutorial.dvi \
|
|
+ cfengine-Tutorial.pdf cfengine-Tutorial.ps \
|
|
+ cfengine-Tutorial.html" \
|
|
+ || rm -rf cfengine-Reference.dvi cfengine-Reference.pdf cfengine-Reference.ps \
|
|
+ cfengine-Reference.html cfengine-Tutorial.dvi \
|
|
cfengine-Tutorial.pdf cfengine-Tutorial.ps \
|
|
cfengine-Tutorial.html
|
|
|
|
@@ -527,85 +573,84 @@ maintainer-clean-aminfo:
|
|
echo " rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]"; \
|
|
rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]; \
|
|
done
|
|
-install-man8: $(man8_MANS) $(man_MANS)
|
|
+install-man8: $(man_MANS)
|
|
@$(NORMAL_INSTALL)
|
|
test -z "$(man8dir)" || $(MKDIR_P) "$(DESTDIR)$(man8dir)"
|
|
- @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
|
|
- l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
|
- for i in $$l2; do \
|
|
- case "$$i" in \
|
|
- *.8*) list="$$list $$i" ;; \
|
|
- esac; \
|
|
+ @list=''; test -n "$(man8dir)" || exit 0; \
|
|
+ { for i in $$list; do echo "$$i"; done; \
|
|
+ l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
|
|
+ sed -n '/\.8[a-z]*$$/p'; \
|
|
+ } | while read p; do \
|
|
+ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
|
|
+ echo "$$d$$p"; echo "$$p"; \
|
|
+ done | \
|
|
+ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
|
|
+ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
|
|
+ sed 'N;N;s,\n, ,g' | { \
|
|
+ list=; while read file base inst; do \
|
|
+ if test "$$base" = "$$inst"; then list="$$list $$file"; else \
|
|
+ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
|
|
+ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst" || exit $$?; \
|
|
+ fi; \
|
|
done; \
|
|
- for i in $$list; do \
|
|
- if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
|
|
- else file=$$i; fi; \
|
|
- ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
|
- case "$$ext" in \
|
|
- 8*) ;; \
|
|
- *) ext='8' ;; \
|
|
- esac; \
|
|
- inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
|
- inst=`echo $$inst | sed -e 's/^.*\///'`; \
|
|
- inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
|
- echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
|
|
- $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst"; \
|
|
- done
|
|
+ for i in $$list; do echo "$$i"; done | $(am__base_list) | \
|
|
+ while read files; do \
|
|
+ test -z "$$files" || { \
|
|
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man8dir)'"; \
|
|
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man8dir)" || exit $$?; }; \
|
|
+ done; }
|
|
+
|
|
uninstall-man8:
|
|
@$(NORMAL_UNINSTALL)
|
|
- @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
|
|
- l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
|
- for i in $$l2; do \
|
|
- case "$$i" in \
|
|
- *.8*) list="$$list $$i" ;; \
|
|
- esac; \
|
|
- done; \
|
|
- for i in $$list; do \
|
|
- ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
|
- case "$$ext" in \
|
|
- 8*) ;; \
|
|
- *) ext='8' ;; \
|
|
- esac; \
|
|
- inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
|
- inst=`echo $$inst | sed -e 's/^.*\///'`; \
|
|
- inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
|
- echo " rm -f '$(DESTDIR)$(man8dir)/$$inst'"; \
|
|
- rm -f "$(DESTDIR)$(man8dir)/$$inst"; \
|
|
- done
|
|
+ @list=''; test -n "$(man8dir)" || exit 0; \
|
|
+ files=`{ for i in $$list; do echo "$$i"; done; \
|
|
+ l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
|
|
+ sed -n '/\.8[a-z]*$$/p'; \
|
|
+ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
|
|
+ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
|
|
+ test -z "$$files" || { \
|
|
+ echo " ( cd '$(DESTDIR)$(man8dir)' && rm -f" $$files ")"; \
|
|
+ cd "$(DESTDIR)$(man8dir)" && rm -f $$files; }
|
|
install-docDATA: $(doc_DATA)
|
|
@$(NORMAL_INSTALL)
|
|
test -z "$(docdir)" || $(MKDIR_P) "$(DESTDIR)$(docdir)"
|
|
- @list='$(doc_DATA)'; for p in $$list; do \
|
|
+ @list='$(doc_DATA)'; test -n "$(docdir)" || list=; \
|
|
+ for p in $$list; do \
|
|
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
|
- f=$(am__strip_dir) \
|
|
- echo " $(docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(docdir)/$$f'"; \
|
|
- $(docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \
|
|
+ echo "$$d$$p"; \
|
|
+ done | $(am__base_list) | \
|
|
+ while read files; do \
|
|
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docdir)'"; \
|
|
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(docdir)" || exit $$?; \
|
|
done
|
|
|
|
uninstall-docDATA:
|
|
@$(NORMAL_UNINSTALL)
|
|
- @list='$(doc_DATA)'; for p in $$list; do \
|
|
- f=$(am__strip_dir) \
|
|
- echo " rm -f '$(DESTDIR)$(docdir)/$$f'"; \
|
|
- rm -f "$(DESTDIR)$(docdir)/$$f"; \
|
|
- done
|
|
+ @list='$(doc_DATA)'; test -n "$(docdir)" || list=; \
|
|
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
|
|
+ test -n "$$files" || exit 0; \
|
|
+ echo " ( cd '$(DESTDIR)$(docdir)' && rm -f" $$files ")"; \
|
|
+ cd "$(DESTDIR)$(docdir)" && rm -f $$files
|
|
install-htmlDATA: $(html_DATA)
|
|
@$(NORMAL_INSTALL)
|
|
test -z "$(htmldir)" || $(MKDIR_P) "$(DESTDIR)$(htmldir)"
|
|
- @list='$(html_DATA)'; for p in $$list; do \
|
|
+ @list='$(html_DATA)'; test -n "$(htmldir)" || list=; \
|
|
+ for p in $$list; do \
|
|
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
|
- f=$(am__strip_dir) \
|
|
- echo " $(htmlDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \
|
|
- $(htmlDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \
|
|
+ echo "$$d$$p"; \
|
|
+ done | $(am__base_list) | \
|
|
+ while read files; do \
|
|
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(htmldir)'"; \
|
|
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(htmldir)" || exit $$?; \
|
|
done
|
|
|
|
uninstall-htmlDATA:
|
|
@$(NORMAL_UNINSTALL)
|
|
- @list='$(html_DATA)'; for p in $$list; do \
|
|
- f=$(am__strip_dir) \
|
|
- echo " rm -f '$(DESTDIR)$(htmldir)/$$f'"; \
|
|
- rm -f "$(DESTDIR)$(htmldir)/$$f"; \
|
|
- done
|
|
+ @list='$(html_DATA)'; test -n "$(htmldir)" || list=; \
|
|
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
|
|
+ test -n "$$files" || exit 0; \
|
|
+ echo " ( cd '$(DESTDIR)$(htmldir)' && rm -f" $$files ")"; \
|
|
+ cd "$(DESTDIR)$(htmldir)" && rm -f $$files
|
|
tags: TAGS
|
|
TAGS:
|
|
|
|
@@ -614,6 +659,19 @@ CTAGS:
|
|
|
|
|
|
distdir: $(DISTFILES)
|
|
+ @list='$(MANS)'; if test -n "$$list"; then \
|
|
+ list=`for p in $$list; do \
|
|
+ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
|
|
+ if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
|
|
+ if test -n "$$list" && \
|
|
+ grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
|
|
+ echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
|
|
+ grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \
|
|
+ echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \
|
|
+ echo " typically \`make maintainer-clean' will remove them" >&2; \
|
|
+ exit 1; \
|
|
+ else :; fi; \
|
|
+ else :; fi
|
|
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
|
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
|
list='$(DISTFILES)'; \
|
|
@@ -629,13 +687,17 @@ distdir: $(DISTFILES)
|
|
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
|
if test -d $$d/$$file; then \
|
|
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
|
+ if test -d "$(distdir)/$$file"; then \
|
|
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
|
+ fi; \
|
|
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
|
- cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
|
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
|
|
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
|
fi; \
|
|
- cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
|
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
|
|
else \
|
|
- test -f $(distdir)/$$file \
|
|
- || cp -p $$d/$$file $(distdir)/$$file \
|
|
+ test -f "$(distdir)/$$file" \
|
|
+ || cp -p $$d/$$file "$(distdir)/$$file" \
|
|
|| exit 1; \
|
|
fi; \
|
|
done
|
|
@@ -671,6 +733,7 @@ clean-generic:
|
|
|
|
distclean-generic:
|
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
|
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
|
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
|
|
|
|
maintainer-clean-generic:
|
|
@@ -679,7 +742,7 @@ maintainer-clean-generic:
|
|
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
|
|
clean: clean-am
|
|
|
|
-clean-am: clean-generic clean-libtool mostlyclean-am
|
|
+clean-am: clean-aminfo clean-generic clean-libtool mostlyclean-am
|
|
|
|
distclean: distclean-am
|
|
-rm -f Makefile
|
|
@@ -705,11 +768,14 @@ install-dvi: install-dvi-am
|
|
install-dvi-am: $(DVIS)
|
|
@$(NORMAL_INSTALL)
|
|
test -z "$(dvidir)" || $(MKDIR_P) "$(DESTDIR)$(dvidir)"
|
|
- @list='$(DVIS)'; for p in $$list; do \
|
|
+ @list='$(DVIS)'; test -n "$(dvidir)" || list=; \
|
|
+ for p in $$list; do \
|
|
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
|
- f=$(am__strip_dir) \
|
|
- echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(dvidir)/$$f'"; \
|
|
- $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(dvidir)/$$f"; \
|
|
+ echo "$$d$$p"; \
|
|
+ done | $(am__base_list) | \
|
|
+ while read files; do \
|
|
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(dvidir)'"; \
|
|
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(dvidir)" || exit $$?; \
|
|
done
|
|
install-exec-am:
|
|
|
|
@@ -718,26 +784,31 @@ install-html: install-html-am
|
|
install-html-am: $(HTMLS)
|
|
@$(NORMAL_INSTALL)
|
|
test -z "$(htmldir)" || $(MKDIR_P) "$(DESTDIR)$(htmldir)"
|
|
- @list='$(HTMLS)'; for p in $$list; do \
|
|
+ @list='$(HTMLS)'; list2=; test -n "$(htmldir)" || list=; \
|
|
+ for p in $$list; do \
|
|
if test -f "$$p" || test -d "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
|
- f=$(am__strip_dir) \
|
|
+ $(am__strip_dir) \
|
|
if test -d "$$d$$p"; then \
|
|
echo " $(MKDIR_P) '$(DESTDIR)$(htmldir)/$$f'"; \
|
|
$(MKDIR_P) "$(DESTDIR)$(htmldir)/$$f" || exit 1; \
|
|
echo " $(INSTALL_DATA) '$$d$$p'/* '$(DESTDIR)$(htmldir)/$$f'"; \
|
|
- $(INSTALL_DATA) "$$d$$p"/* "$(DESTDIR)$(htmldir)/$$f"; \
|
|
+ $(INSTALL_DATA) "$$d$$p"/* "$(DESTDIR)$(htmldir)/$$f" || exit $$?; \
|
|
else \
|
|
- echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \
|
|
- $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \
|
|
+ list2="$$list2 $$d$$p"; \
|
|
fi; \
|
|
- done
|
|
+ done; \
|
|
+ test -z "$$list2" || { echo "$$list2" | $(am__base_list) | \
|
|
+ while read files; do \
|
|
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(htmldir)'"; \
|
|
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(htmldir)" || exit $$?; \
|
|
+ done; }
|
|
install-info: install-info-am
|
|
|
|
install-info-am: $(INFO_DEPS)
|
|
@$(NORMAL_INSTALL)
|
|
test -z "$(infodir)" || $(MKDIR_P) "$(DESTDIR)$(infodir)"
|
|
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
|
|
- list='$(INFO_DEPS)'; \
|
|
+ list='$(INFO_DEPS)'; test -n "$(infodir)" || list=; \
|
|
for file in $$list; do \
|
|
case $$file in \
|
|
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
|
|
@@ -745,18 +816,19 @@ install-info-am: $(INFO_DEPS)
|
|
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
|
file_i=`echo "$$file" | sed 's|\.info$$||;s|$$|.i|'`; \
|
|
for ifile in $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9] \
|
|
- $$d/$$file_i[0-9] $$d/$$file_i[0-9][0-9] ; do \
|
|
+ $$d/$$file_i[0-9] $$d/$$file_i[0-9][0-9] ; do \
|
|
if test -f $$ifile; then \
|
|
- relfile=`echo "$$ifile" | sed 's|^.*/||'`; \
|
|
- echo " $(INSTALL_DATA) '$$ifile' '$(DESTDIR)$(infodir)/$$relfile'"; \
|
|
- $(INSTALL_DATA) "$$ifile" "$(DESTDIR)$(infodir)/$$relfile"; \
|
|
+ echo "$$ifile"; \
|
|
else : ; fi; \
|
|
done; \
|
|
- done
|
|
+ done | $(am__base_list) | \
|
|
+ while read files; do \
|
|
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(infodir)'"; \
|
|
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(infodir)" || exit $$?; done
|
|
@$(POST_INSTALL)
|
|
@if (install-info --version && \
|
|
install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \
|
|
- list='$(INFO_DEPS)'; \
|
|
+ list='$(INFO_DEPS)'; test -n "$(infodir)" || list=; \
|
|
for file in $$list; do \
|
|
relfile=`echo "$$file" | sed 's|^.*/||'`; \
|
|
echo " install-info --info-dir='$(DESTDIR)$(infodir)' '$(DESTDIR)$(infodir)/$$relfile'";\
|
|
@@ -770,23 +842,27 @@ install-pdf: install-pdf-am
|
|
install-pdf-am: $(PDFS)
|
|
@$(NORMAL_INSTALL)
|
|
test -z "$(pdfdir)" || $(MKDIR_P) "$(DESTDIR)$(pdfdir)"
|
|
- @list='$(PDFS)'; for p in $$list; do \
|
|
+ @list='$(PDFS)'; test -n "$(pdfdir)" || list=; \
|
|
+ for p in $$list; do \
|
|
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
|
- f=$(am__strip_dir) \
|
|
- echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(pdfdir)/$$f'"; \
|
|
- $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(pdfdir)/$$f"; \
|
|
- done
|
|
+ echo "$$d$$p"; \
|
|
+ done | $(am__base_list) | \
|
|
+ while read files; do \
|
|
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pdfdir)'"; \
|
|
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(pdfdir)" || exit $$?; done
|
|
install-ps: install-ps-am
|
|
|
|
install-ps-am: $(PSS)
|
|
@$(NORMAL_INSTALL)
|
|
test -z "$(psdir)" || $(MKDIR_P) "$(DESTDIR)$(psdir)"
|
|
- @list='$(PSS)'; for p in $$list; do \
|
|
+ @list='$(PSS)'; test -n "$(psdir)" || list=; \
|
|
+ for p in $$list; do \
|
|
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
|
- f=$(am__strip_dir) \
|
|
- echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(psdir)/$$f'"; \
|
|
- $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(psdir)/$$f"; \
|
|
- done
|
|
+ echo "$$d$$p"; \
|
|
+ done | $(am__base_list) | \
|
|
+ while read files; do \
|
|
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(psdir)'"; \
|
|
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(psdir)" || exit $$?; done
|
|
installcheck-am:
|
|
|
|
maintainer-clean: maintainer-clean-am
|
|
@@ -816,16 +892,16 @@ uninstall-man: uninstall-man8
|
|
|
|
.MAKE: install-am install-strip
|
|
|
|
-.PHONY: all all-am check check-am clean clean-generic clean-libtool \
|
|
- dist-info distclean distclean-generic distclean-libtool \
|
|
- distdir dvi dvi-am html html-am info info-am install \
|
|
- install-am install-data install-data-am install-docDATA \
|
|
- install-dvi install-dvi-am install-exec install-exec-am \
|
|
- install-html install-html-am install-htmlDATA install-info \
|
|
- install-info-am install-man install-man8 install-pdf \
|
|
- install-pdf-am install-ps install-ps-am install-strip \
|
|
- installcheck installcheck-am installdirs maintainer-clean \
|
|
- maintainer-clean-1 maintainer-clean-aminfo \
|
|
+.PHONY: all all-am check check-am clean clean-aminfo clean-generic \
|
|
+ clean-libtool dist-info distclean distclean-generic \
|
|
+ distclean-libtool distdir dvi dvi-am html html-am info info-am \
|
|
+ install install-am install-data install-data-am \
|
|
+ install-docDATA install-dvi install-dvi-am install-exec \
|
|
+ install-exec-am install-html install-html-am install-htmlDATA \
|
|
+ install-info install-info-am install-man install-man8 \
|
|
+ install-pdf install-pdf-am install-ps install-ps-am \
|
|
+ install-strip installcheck installcheck-am installdirs \
|
|
+ maintainer-clean maintainer-clean-1 maintainer-clean-aminfo \
|
|
maintainer-clean-generic maintainer-clean-vti mostlyclean \
|
|
mostlyclean-1 mostlyclean-aminfo mostlyclean-generic \
|
|
mostlyclean-libtool mostlyclean-vti pdf pdf-am ps ps-am \
|
|
@@ -845,6 +921,7 @@ uninstall-man: uninstall-man8
|
|
|
|
%.pdf : %.ps
|
|
${PS2PDF} $<
|
|
+
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
|
.NOEXPORT:
|
|
diff --git a/doc/mdate-sh b/doc/mdate-sh
|
|
index 37171f2..e631b22 100755
|
|
--- a/doc/mdate-sh
|
|
+++ b/doc/mdate-sh
|
|
@@ -1,6 +1,10 @@
|
|
#!/bin/sh
|
|
# Get modification time of a file or directory and pretty-print it.
|
|
-# Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
|
|
+
|
|
+scriptversion=2009-04-28.21; # UTC
|
|
+
|
|
+# Copyright (C) 1995, 1996, 1997, 2003, 2004, 2005, 2007, 2009 Free
|
|
+# Software Foundation, Inc.
|
|
# written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, June 1995
|
|
#
|
|
# This program is free software; you can redistribute it and/or modify
|
|
@@ -14,8 +18,37 @@
|
|
# 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
+
|
|
+# As a special exception to the GNU General Public License, if you
|
|
+# distribute this file as part of a program that contains a
|
|
+# configuration script generated by Autoconf, you may include it under
|
|
+# the same distribution terms that you use for the rest of that program.
|
|
+
|
|
+# This file is maintained in Automake, please report
|
|
+# bugs to <bug-automake@gnu.org> or send patches to
|
|
+# <automake-patches@gnu.org>.
|
|
+
|
|
+case $1 in
|
|
+ '')
|
|
+ echo "$0: No file. Try \`$0 --help' for more information." 1>&2
|
|
+ exit 1;
|
|
+ ;;
|
|
+ -h | --h*)
|
|
+ cat <<\EOF
|
|
+Usage: mdate-sh [--help] [--version] FILE
|
|
+
|
|
+Pretty-print the modification time of FILE.
|
|
+
|
|
+Report bugs to <bug-automake@gnu.org>.
|
|
+EOF
|
|
+ exit $?
|
|
+ ;;
|
|
+ -v | --v*)
|
|
+ echo "mdate-sh $scriptversion"
|
|
+ exit $?
|
|
+ ;;
|
|
+esac
|
|
|
|
# Prevent date giving response in another language.
|
|
LANG=C
|
|
@@ -25,24 +58,50 @@ export LC_ALL
|
|
LC_TIME=C
|
|
export LC_TIME
|
|
|
|
-# Get the extended ls output of the file or directory.
|
|
-# On HPUX /bin/sh, "set" interprets "-rw-r--r--" as options, so the "x" below.
|
|
+# GNU ls changes its time format in response to the TIME_STYLE
|
|
+# variable. Since we cannot assume `unset' works, revert this
|
|
+# variable to its documented default.
|
|
+if test "${TIME_STYLE+set}" = set; then
|
|
+ TIME_STYLE=posix-long-iso
|
|
+ export TIME_STYLE
|
|
+fi
|
|
+
|
|
+save_arg1=$1
|
|
+
|
|
+# Find out how to get the extended ls output of a file or directory.
|
|
if ls -L /dev/null 1>/dev/null 2>&1; then
|
|
- set - x`ls -L -l -d $1`
|
|
+ ls_command='ls -L -l -d'
|
|
else
|
|
- set - x`ls -l -d $1`
|
|
+ ls_command='ls -l -d'
|
|
+fi
|
|
+# Avoid user/group names that might have spaces, when possible.
|
|
+if ls -n /dev/null 1>/dev/null 2>&1; then
|
|
+ ls_command="$ls_command -n"
|
|
fi
|
|
-# The month is at least the fourth argument
|
|
-# (3 shifts here, the next inside the loop).
|
|
-shift
|
|
-shift
|
|
-shift
|
|
|
|
-# Find the month. Next argument is day, followed by the year or time.
|
|
+# A `ls -l' line looks as follows on OS/2.
|
|
+# drwxrwx--- 0 Aug 11 2001 foo
|
|
+# This differs from Unix, which adds ownership information.
|
|
+# drwxrwx--- 2 root root 4096 Aug 11 2001 foo
|
|
+#
|
|
+# To find the date, we split the line on spaces and iterate on words
|
|
+# until we find a month. This cannot work with files whose owner is a
|
|
+# user named `Jan', or `Feb', etc. However, it's unlikely that `/'
|
|
+# will be owned by a user whose name is a month. So we first look at
|
|
+# the extended ls output of the root directory to decide how many
|
|
+# words should be skipped to get the date.
|
|
+
|
|
+# On HPUX /bin/sh, "set" interprets "-rw-r--r--" as options, so the "x" below.
|
|
+set x`$ls_command /`
|
|
+
|
|
+# Find which argument is the month.
|
|
month=
|
|
+command=
|
|
until test $month
|
|
do
|
|
shift
|
|
+ # Add another shift to the command.
|
|
+ command="$command shift;"
|
|
case $1 in
|
|
Jan) month=January; nummonth=1;;
|
|
Feb) month=February; nummonth=2;;
|
|
@@ -59,7 +118,51 @@ do
|
|
esac
|
|
done
|
|
|
|
-day=$2
|
|
+# Get the extended ls output of the file or directory.
|
|
+set dummy x`eval "$ls_command \"\$save_arg1\""`
|
|
+
|
|
+# Remove all preceding arguments
|
|
+eval $command
|
|
+
|
|
+# Because of the dummy argument above, month is in $2.
|
|
+#
|
|
+# On a POSIX system, we should have
|
|
+#
|
|
+# $# = 5
|
|
+# $1 = file size
|
|
+# $2 = month
|
|
+# $3 = day
|
|
+# $4 = year or time
|
|
+# $5 = filename
|
|
+#
|
|
+# On Darwin 7.7.0 and 7.6.0, we have
|
|
+#
|
|
+# $# = 4
|
|
+# $1 = day
|
|
+# $2 = month
|
|
+# $3 = year or time
|
|
+# $4 = filename
|
|
+
|
|
+# Get the month.
|
|
+case $2 in
|
|
+ Jan) month=January; nummonth=1;;
|
|
+ Feb) month=February; nummonth=2;;
|
|
+ Mar) month=March; nummonth=3;;
|
|
+ Apr) month=April; nummonth=4;;
|
|
+ May) month=May; nummonth=5;;
|
|
+ Jun) month=June; nummonth=6;;
|
|
+ Jul) month=July; nummonth=7;;
|
|
+ Aug) month=August; nummonth=8;;
|
|
+ Sep) month=September; nummonth=9;;
|
|
+ Oct) month=October; nummonth=10;;
|
|
+ Nov) month=November; nummonth=11;;
|
|
+ Dec) month=December; nummonth=12;;
|
|
+esac
|
|
+
|
|
+case $3 in
|
|
+ ???*) day=$1;;
|
|
+ *) day=$3; shift;;
|
|
+esac
|
|
|
|
# Here we have to deal with the problem that the ls output gives either
|
|
# the time of day or the year.
|
|
@@ -90,3 +193,13 @@ esac
|
|
|
|
# The result.
|
|
echo $day $month $year
|
|
+
|
|
+# Local Variables:
|
|
+# mode: shell-script
|
|
+# sh-indentation: 2
|
|
+# eval: (add-hook 'write-file-hooks 'time-stamp)
|
|
+# time-stamp-start: "scriptversion="
|
|
+# time-stamp-format: "%:y-%02m-%02d.%02H"
|
|
+# time-stamp-time-zone: "UTC"
|
|
+# time-stamp-end: "; # UTC"
|
|
+# End:
|
|
diff --git a/doc/texinfo.tex b/doc/texinfo.tex
|
|
index d93d432..9140826 100644
|
|
--- a/doc/texinfo.tex
|
|
+++ b/doc/texinfo.tex
|
|
@@ -1,18 +1,18 @@
|
|
% texinfo.tex -- TeX macros to handle Texinfo files.
|
|
-%
|
|
+%
|
|
% Load plain if necessary, i.e., if running under initex.
|
|
\expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
|
|
%
|
|
-\def\texinfoversion{2004-04-07.08}
|
|
+\def\texinfoversion{2009-08-14.15}
|
|
%
|
|
-% Copyright (C) 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995,
|
|
-% 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
|
|
-% Foundation, Inc.
|
|
+% Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995,
|
|
+% 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
|
|
+% 2007, 2008, 2009 Free Software Foundation, Inc.
|
|
%
|
|
-% This texinfo.tex file is free software; you can redistribute it and/or
|
|
+% This texinfo.tex file 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.
|
|
+% published by the Free Software Foundation, either version 3 of the
|
|
+% License, or (at your option) any later version.
|
|
%
|
|
% This texinfo.tex file is distributed in the hope that it will be
|
|
% useful, but WITHOUT ANY WARRANTY; without even the implied warranty
|
|
@@ -20,14 +20,12 @@
|
|
% General Public License for more details.
|
|
%
|
|
% You should have received a copy of the GNU General Public License
|
|
-% along with this texinfo.tex file; see the file COPYING. If not, write
|
|
-% to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
-% Boston, MA 02111-1307, USA.
|
|
+% along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
%
|
|
% As a special exception, when this file is read by TeX when processing
|
|
% a Texinfo source document, you may use the result without
|
|
% restriction. (This has been our intent since Texinfo was invented.)
|
|
-%
|
|
+%
|
|
% Please try the latest version of texinfo.tex before submitting bug
|
|
% reports; you can get the latest version from:
|
|
% http://www.gnu.org/software/texinfo/ (the Texinfo home page), or
|
|
@@ -55,7 +53,7 @@
|
|
% It is possible to adapt texinfo.tex for other languages, to some
|
|
% extent. You can get the existing language-specific files from the
|
|
% full Texinfo distribution.
|
|
-%
|
|
+%
|
|
% The GNU Texinfo home page is http://www.gnu.org/software/texinfo.
|
|
|
|
|
|
@@ -67,7 +65,7 @@
|
|
\everyjob{\message{[Texinfo version \texinfoversion]}%
|
|
\catcode`+=\active \catcode`\_=\active}
|
|
|
|
-\message{Basics,}
|
|
+
|
|
\chardef\other=12
|
|
|
|
% We never want plain's \outer definition of \+ in Texinfo.
|
|
@@ -89,15 +87,20 @@
|
|
\let\ptexhat=^
|
|
\let\ptexi=\i
|
|
\let\ptexindent=\indent
|
|
-\let\ptexnoindent=\noindent
|
|
\let\ptexinsert=\insert
|
|
\let\ptexlbrace=\{
|
|
\let\ptexless=<
|
|
+\let\ptexnewwrite\newwrite
|
|
+\let\ptexnoindent=\noindent
|
|
\let\ptexplus=+
|
|
\let\ptexrbrace=\}
|
|
\let\ptexslash=\/
|
|
\let\ptexstar=\*
|
|
\let\ptext=\t
|
|
+\let\ptextop=\top
|
|
+{\catcode`\'=\active
|
|
+\global\let\ptexquoteright'}% Math-mode def from plain.tex.
|
|
+\let\ptexraggedright=\raggedright
|
|
|
|
% If this character appears in an error message or help string, it
|
|
% starts a new line in the output.
|
|
@@ -152,20 +155,22 @@
|
|
\ifx\putwordDefopt\undefined \gdef\putwordDefopt{User Option}\fi
|
|
\ifx\putwordDeffunc\undefined \gdef\putwordDeffunc{Function}\fi
|
|
|
|
-% In some macros, we cannot use the `\? notation---the left quote is
|
|
-% in some cases the escape char.
|
|
+% Since the category of space is not known, we have to be careful.
|
|
+\chardef\spacecat = 10
|
|
+\def\spaceisspace{\catcode`\ =\spacecat}
|
|
+
|
|
+% sometimes characters are active, so we need control sequences.
|
|
\chardef\colonChar = `\:
|
|
\chardef\commaChar = `\,
|
|
+\chardef\dashChar = `\-
|
|
\chardef\dotChar = `\.
|
|
\chardef\exclamChar= `\!
|
|
+\chardef\lquoteChar= `\`
|
|
\chardef\questChar = `\?
|
|
+\chardef\rquoteChar= `\'
|
|
\chardef\semiChar = `\;
|
|
\chardef\underChar = `\_
|
|
|
|
-\chardef\spaceChar = `\ %
|
|
-\chardef\spacecat = 10
|
|
-\def\spaceisspace{\catcode\spaceChar=\spacecat}
|
|
-
|
|
% Ignore a token.
|
|
%
|
|
\def\gobble#1{}
|
|
@@ -276,6 +281,50 @@
|
|
\newdimen\cornerthick \cornerthick=.3pt
|
|
\newdimen\topandbottommargin \topandbottommargin=.75in
|
|
|
|
+% Output a mark which sets \thischapter, \thissection and \thiscolor.
|
|
+% We dump everything together because we only have one kind of mark.
|
|
+% This works because we only use \botmark / \topmark, not \firstmark.
|
|
+%
|
|
+% A mark contains a subexpression of the \ifcase ... \fi construct.
|
|
+% \get*marks macros below extract the needed part using \ifcase.
|
|
+%
|
|
+% Another complication is to let the user choose whether \thischapter
|
|
+% (\thissection) refers to the chapter (section) in effect at the top
|
|
+% of a page, or that at the bottom of a page. The solution is
|
|
+% described on page 260 of The TeXbook. It involves outputting two
|
|
+% marks for the sectioning macros, one before the section break, and
|
|
+% one after. I won't pretend I can describe this better than DEK...
|
|
+\def\domark{%
|
|
+ \toks0=\expandafter{\lastchapterdefs}%
|
|
+ \toks2=\expandafter{\lastsectiondefs}%
|
|
+ \toks4=\expandafter{\prevchapterdefs}%
|
|
+ \toks6=\expandafter{\prevsectiondefs}%
|
|
+ \toks8=\expandafter{\lastcolordefs}%
|
|
+ \mark{%
|
|
+ \the\toks0 \the\toks2
|
|
+ \noexpand\or \the\toks4 \the\toks6
|
|
+ \noexpand\else \the\toks8
|
|
+ }%
|
|
+}
|
|
+% \topmark doesn't work for the very first chapter (after the title
|
|
+% page or the contents), so we use \firstmark there -- this gets us
|
|
+% the mark with the chapter defs, unless the user sneaks in, e.g.,
|
|
+% @setcolor (or @url, or @link, etc.) between @contents and the very
|
|
+% first @chapter.
|
|
+\def\gettopheadingmarks{%
|
|
+ \ifcase0\topmark\fi
|
|
+ \ifx\thischapter\empty \ifcase0\firstmark\fi \fi
|
|
+}
|
|
+\def\getbottomheadingmarks{\ifcase1\botmark\fi}
|
|
+\def\getcolormarks{\ifcase2\topmark\fi}
|
|
+
|
|
+% Avoid "undefined control sequence" errors.
|
|
+\def\lastchapterdefs{}
|
|
+\def\lastsectiondefs{}
|
|
+\def\prevchapterdefs{}
|
|
+\def\prevsectiondefs{}
|
|
+\def\lastcolordefs{}
|
|
+
|
|
% Main output routine.
|
|
\chardef\PAGE = 255
|
|
\output = {\onepageout{\pagecontents\PAGE}}
|
|
@@ -293,7 +342,9 @@
|
|
%
|
|
% Do this outside of the \shipout so @code etc. will be expanded in
|
|
% the headline as they should be, not taken literally (outputting ''code).
|
|
+ \ifodd\pageno \getoddheadingmarks \else \getevenheadingmarks \fi
|
|
\setbox\headlinebox = \vbox{\let\hsize=\pagewidth \makeheadline}%
|
|
+ \ifodd\pageno \getoddfootingmarks \else \getevenfootingmarks \fi
|
|
\setbox\footlinebox = \vbox{\let\hsize=\pagewidth \makefootline}%
|
|
%
|
|
{%
|
|
@@ -301,10 +352,14 @@
|
|
% take effect in \write's, yet the group defined by the \vbox ends
|
|
% before the \shipout runs.
|
|
%
|
|
- \escapechar = `\\ % use backslash in output files.
|
|
\indexdummies % don't expand commands in the output.
|
|
\normalturnoffactive % \ in index entries must not stay \, e.g., if
|
|
- % the page break happens to be in the middle of an example.
|
|
+ % the page break happens to be in the middle of an example.
|
|
+ % We don't want .vr (or whatever) entries like this:
|
|
+ % \entry{{\tt \indexbackslash }acronym}{32}{\code {\acronym}}
|
|
+ % "\acronym" won't work when it's read back in;
|
|
+ % it needs to be
|
|
+ % {\code {{\tt \backslashcurfont }acronym}
|
|
\shipout\vbox{%
|
|
% Do this early so pdf references go to the beginning of the page.
|
|
\ifpdfmakepagedest \pdfdest name{\the\pageno} xyz\fi
|
|
@@ -332,9 +387,9 @@
|
|
\pagebody{#1}%
|
|
\ifdim\ht\footlinebox > 0pt
|
|
% Only leave this space if the footline is nonempty.
|
|
- % (We lessened \vsize for it in \oddfootingxxx.)
|
|
+ % (We lessened \vsize for it in \oddfootingyyy.)
|
|
% The \baselineskip=24pt in plain's \makefootline has no effect.
|
|
- \vskip 2\baselineskip
|
|
+ \vskip 24pt
|
|
\unvbox\footlinebox
|
|
\fi
|
|
%
|
|
@@ -355,7 +410,7 @@
|
|
\egroup % \vbox from first cropmarks clause
|
|
\fi
|
|
}% end of \shipout\vbox
|
|
- }% end of group with \normalturnoffactive
|
|
+ }% end of group with \indexdummies
|
|
\advancepageno
|
|
\ifnum\outputpenalty>-20000 \else\dosupereject\fi
|
|
}
|
|
@@ -368,7 +423,7 @@
|
|
% marginal hacks, juha@viisa.uucp (Juha Takala)
|
|
\ifvoid\margin\else % marginal info is present
|
|
\rlap{\kern\hsize\vbox to\z@{\kern1pt\box\margin \vss}}\fi
|
|
-\dimen@=\dp#1 \unvbox#1
|
|
+\dimen@=\dp#1\relax \unvbox#1\relax
|
|
\ifvoid\footins\else\vskip\skip\footins\footnoterule \unvbox\footins\fi
|
|
\ifr@ggedbottom \kern-\dimen@ \vfil \fi}
|
|
}
|
|
@@ -390,7 +445,7 @@
|
|
%
|
|
\def\parsearg{\parseargusing{}}
|
|
\def\parseargusing#1#2{%
|
|
- \def\next{#2}%
|
|
+ \def\argtorun{#2}%
|
|
\begingroup
|
|
\obeylines
|
|
\spaceisspace
|
|
@@ -409,7 +464,7 @@
|
|
\def\argremovecomment#1\comment#2\ArgTerm{\argremovec #1\c\ArgTerm}
|
|
\def\argremovec#1\c#2\ArgTerm{\argcheckspaces#1\^^M\ArgTerm}
|
|
|
|
-% Each occurence of `\^^M' or `<space>\^^M' is replaced by a single space.
|
|
+% Each occurrence of `\^^M' or `<space>\^^M' is replaced by a single space.
|
|
%
|
|
% \argremovec might leave us with trailing space, e.g.,
|
|
% @end itemize @c foo
|
|
@@ -421,8 +476,7 @@
|
|
\def\argcheckspacesY#1\^^M#2\^^M#3\ArgTerm{%
|
|
\def\temp{#3}%
|
|
\ifx\temp\empty
|
|
- % We cannot use \next here, as it holds the macro to run;
|
|
- % thus we reuse \temp.
|
|
+ % Do not use \next, perhaps the caller of \parsearg uses it; reuse \temp:
|
|
\let\temp\finishparsearg
|
|
\else
|
|
\let\temp\argcheckspaces
|
|
@@ -434,14 +488,14 @@
|
|
% If a _delimited_ argument is enclosed in braces, they get stripped; so
|
|
% to get _exactly_ the rest of the line, we had to prevent such situation.
|
|
% We prepended an \empty token at the very beginning and we expand it now,
|
|
-% just before passing the control to \next.
|
|
-% (Similarily, we have to think about #3 of \argcheckspacesY above: it is
|
|
+% just before passing the control to \argtorun.
|
|
+% (Similarly, we have to think about #3 of \argcheckspacesY above: it is
|
|
% either the null string, or it ends with \^^M---thus there is no danger
|
|
% that a pair of braces would be stripped.
|
|
%
|
|
% But first, we have to remove the trailing space token.
|
|
%
|
|
-\def\finishparsearg#1 \ArgTerm{\expandafter\next\expandafter{#1}}
|
|
+\def\finishparsearg#1 \ArgTerm{\expandafter\argtorun\expandafter{#1}}
|
|
|
|
% \parseargdef\foo{...}
|
|
% is roughly equivalent to
|
|
@@ -481,23 +535,23 @@
|
|
\def\flushcr{\ifx\par\lisppar \def\next##1{}\else \let\next=\relax \fi \next}
|
|
|
|
% Define the framework for environments in texinfo.tex. It's used like this:
|
|
-%
|
|
+%
|
|
% \envdef\foo{...}
|
|
% \def\Efoo{...}
|
|
-%
|
|
+%
|
|
% It's the responsibility of \envdef to insert \begingroup before the
|
|
% actual body; @end closes the group after calling \Efoo. \envdef also
|
|
% defines \thisenv, so the current environment is known; @end checks
|
|
% whether the environment name matches. The \checkenv macro can also be
|
|
% used to check whether the current environment is the one expected.
|
|
-%
|
|
+%
|
|
% Non-false conditionals (@iftex, @ifset) don't fit into this, so they
|
|
-% are not treated as enviroments; they don't open a group. (The
|
|
+% are not treated as environments; they don't open a group. (The
|
|
% implementation of @end takes care not to call \endgroup in this
|
|
% special case.)
|
|
|
|
|
|
-% At runtime, environments start with this:
|
|
+% At run-time, environments start with this:
|
|
\def\startenvironment#1{\begingroup\def\thisenv{#1}}
|
|
% initialize
|
|
\let\thisenv\empty
|
|
@@ -515,7 +569,7 @@
|
|
\fi
|
|
}
|
|
|
|
-% Evironment mismatch, #1 expected:
|
|
+% Environment mismatch, #1 expected:
|
|
\def\badenverr{%
|
|
\errhelp = \EMsimple
|
|
\errmessage{This command can appear only \inenvironment\temp,
|
|
@@ -565,7 +619,7 @@
|
|
\let\}=\myrbrace
|
|
\begingroup
|
|
% Definitions to produce \{ and \} commands for indices,
|
|
- % and @{ and @} for the aux file.
|
|
+ % and @{ and @} for the aux/toc files.
|
|
\catcode`\{ = \other \catcode`\} = \other
|
|
\catcode`\[ = 1 \catcode`\] = 2
|
|
\catcode`\! = 0 \catcode`\\ = \other
|
|
@@ -599,23 +653,23 @@
|
|
\def\jmacro{j}
|
|
\def\dotless#1{%
|
|
\def\temp{#1}%
|
|
- \ifx\temp\imacro \ptexi
|
|
- \else\ifx\temp\jmacro \j
|
|
+ \ifx\temp\imacro \ifmmode\imath \else\ptexi \fi
|
|
+ \else\ifx\temp\jmacro \ifmmode\jmath \else\j \fi
|
|
\else \errmessage{@dotless can be used only with i or j}%
|
|
\fi\fi
|
|
}
|
|
|
|
% The \TeX{} logo, as in plain, but resetting the spacing so that a
|
|
% period following counts as ending a sentence. (Idea found in latex.)
|
|
-%
|
|
-\edef\TeX{\TeX \spacefactor=3000 }
|
|
+%
|
|
+\edef\TeX{\TeX \spacefactor=1000 }
|
|
|
|
% @LaTeX{} logo. Not quite the same results as the definition in
|
|
% latex.ltx, since we use a different font for the raised A; it's most
|
|
% convenient for us to use an explicitly smaller font, rather than using
|
|
% the \scriptstyle font (since we don't reset \scriptstyle and
|
|
% \scriptscriptstyle).
|
|
-%
|
|
+%
|
|
\def\LaTeX{%
|
|
L\kern-.36em
|
|
{\setbox0=\hbox{T}%
|
|
@@ -646,13 +700,28 @@
|
|
\let\/=\allowbreak
|
|
|
|
% @. is an end-of-sentence period.
|
|
-\def\.{.\spacefactor=3000 }
|
|
+\def\.{.\spacefactor=\endofsentencespacefactor\space}
|
|
|
|
% @! is an end-of-sentence bang.
|
|
-\def\!{!\spacefactor=3000 }
|
|
+\def\!{!\spacefactor=\endofsentencespacefactor\space}
|
|
|
|
% @? is an end-of-sentence query.
|
|
-\def\?{?\spacefactor=3000 }
|
|
+\def\?{?\spacefactor=\endofsentencespacefactor\space}
|
|
+
|
|
+% @frenchspacing on|off says whether to put extra space after punctuation.
|
|
+%
|
|
+\def\onword{on}
|
|
+\def\offword{off}
|
|
+%
|
|
+\parseargdef\frenchspacing{%
|
|
+ \def\temp{#1}%
|
|
+ \ifx\temp\onword \plainfrenchspacing
|
|
+ \else\ifx\temp\offword \plainnonfrenchspacing
|
|
+ \else
|
|
+ \errhelp = \EMsimple
|
|
+ \errmessage{Unknown @frenchspacing option `\temp', must be on/off}%
|
|
+ \fi\fi
|
|
+}
|
|
|
|
% @w prevents a word break. Without the \leavevmode, @w at the
|
|
% beginning of a paragraph, when TeX is still in vertical mode, would
|
|
@@ -851,15 +920,20 @@ where each line of input produces a line of output.}
|
|
\temp
|
|
}
|
|
|
|
-% @include file insert text of that file as input.
|
|
+% @include FILE -- \input text of FILE.
|
|
%
|
|
\def\include{\parseargusing\filenamecatcodes\includezzz}
|
|
\def\includezzz#1{%
|
|
\pushthisfilestack
|
|
\def\thisfile{#1}%
|
|
{%
|
|
- \makevalueexpandable
|
|
- \def\temp{\input #1 }%
|
|
+ \makevalueexpandable % we want to expand any @value in FILE.
|
|
+ \turnoffactive % and allow special characters in the expansion
|
|
+ \indexnofonts % Allow `@@' and other weird things in file names.
|
|
+ \edef\temp{\noexpand\input #1 }%
|
|
+ %
|
|
+ % This trickery is to read FILE outside of a group, in case it makes
|
|
+ % definitions, etc.
|
|
\expandafter
|
|
}\temp
|
|
\popthisfilestack
|
|
@@ -874,6 +948,8 @@ where each line of input produces a line of output.}
|
|
\catcode`>=\other
|
|
\catcode`+=\other
|
|
\catcode`-=\other
|
|
+ \catcode`\`=\other
|
|
+ \catcode`\'=\other
|
|
}
|
|
|
|
\def\pushthisfilestack{%
|
|
@@ -1030,9 +1106,9 @@ where each line of input produces a line of output.}
|
|
% _ active, and distinguish by seeing if the current family is \slfam,
|
|
% which is what @var uses.
|
|
{
|
|
- \catcode\underChar = \active
|
|
+ \catcode`\_ = \active
|
|
\gdef\mathunderscore{%
|
|
- \catcode\underChar=\active
|
|
+ \catcode`\_=\active
|
|
\def_{\ifnum\fam=\slfam \_\else\sb\fi}%
|
|
}
|
|
}
|
|
@@ -1049,6 +1125,16 @@ where each line of input produces a line of output.}
|
|
\mathunderscore
|
|
\let\\ = \mathbackslash
|
|
\mathactive
|
|
+ % make the texinfo accent commands work in math mode
|
|
+ \let\"=\ddot
|
|
+ \let\'=\acute
|
|
+ \let\==\bar
|
|
+ \let\^=\hat
|
|
+ \let\`=\grave
|
|
+ \let\u=\breve
|
|
+ \let\v=\check
|
|
+ \let\~=\tilde
|
|
+ \let\dotaccent=\dot
|
|
$\finishmath
|
|
}
|
|
\def\finishmath#1{#1$\endgroup} % Close the group opened by \tex.
|
|
@@ -1062,28 +1148,41 @@ where each line of input produces a line of output.}
|
|
\catcode`< = \active
|
|
\catcode`> = \active
|
|
\catcode`+ = \active
|
|
+ \catcode`' = \active
|
|
\gdef\mathactive{%
|
|
\let^ = \ptexhat
|
|
\let< = \ptexless
|
|
\let> = \ptexgtr
|
|
\let+ = \ptexplus
|
|
+ \let' = \ptexquoteright
|
|
}
|
|
}
|
|
|
|
-% @bullet and @minus need the same treatment as @math, just above.
|
|
+% Some math mode symbols.
|
|
\def\bullet{$\ptexbullet$}
|
|
-\def\minus{$-$}
|
|
+\def\geq{\ifmmode \ge\else $\ge$\fi}
|
|
+\def\leq{\ifmmode \le\else $\le$\fi}
|
|
+\def\minus{\ifmmode -\else $-$\fi}
|
|
|
|
% @dots{} outputs an ellipsis using the current font.
|
|
-% We do .5em per period so that it has the same spacing in a typewriter
|
|
-% font as three actual period characters.
|
|
+% We do .5em per period so that it has the same spacing in the cm
|
|
+% typewriter fonts as three actual period characters; on the other hand,
|
|
+% in other typewriter fonts three periods are wider than 1.5em. So do
|
|
+% whichever is larger.
|
|
%
|
|
\def\dots{%
|
|
\leavevmode
|
|
- \hbox to 1.5em{%
|
|
- \hskip 0pt plus 0.25fil
|
|
- .\hfil.\hfil.%
|
|
- \hskip 0pt plus 0.5fil
|
|
+ \setbox0=\hbox{...}% get width of three periods
|
|
+ \ifdim\wd0 > 1.5em
|
|
+ \dimen0 = \wd0
|
|
+ \else
|
|
+ \dimen0 = 1.5em
|
|
+ \fi
|
|
+ \hbox to \dimen0{%
|
|
+ \hskip 0pt plus.25fil
|
|
+ .\hskip 0pt plus1fil
|
|
+ .\hskip 0pt plus1fil
|
|
+ .\hskip 0pt plus.5fil
|
|
}%
|
|
}
|
|
|
|
@@ -1091,12 +1190,12 @@ where each line of input produces a line of output.}
|
|
%
|
|
\def\enddots{%
|
|
\dots
|
|
- \spacefactor=3000
|
|
+ \spacefactor=\endofsentencespacefactor
|
|
}
|
|
|
|
% @comma{} is so commas can be inserted into text without messing up
|
|
% Texinfo's parsing.
|
|
-%
|
|
+%
|
|
\let\comma = ,
|
|
|
|
% @refill is a no-op.
|
|
@@ -1175,40 +1274,182 @@ where each line of input produces a line of output.}
|
|
\fi
|
|
\fi
|
|
\fi
|
|
-%
|
|
+
|
|
+% PDF uses PostScript string constants for the names of xref targets,
|
|
+% for display in the outlines, and in other places. Thus, we have to
|
|
+% double any backslashes. Otherwise, a name like "\node" will be
|
|
+% interpreted as a newline (\n), followed by o, d, e. Not good.
|
|
+% http://www.ntg.nl/pipermail/ntg-pdftex/2004-July/000654.html
|
|
+% (and related messages, the final outcome is that it is up to the TeX
|
|
+% user to double the backslashes and otherwise make the string valid, so
|
|
+% that's what we do).
|
|
+
|
|
+% double active backslashes.
|
|
+%
|
|
+{\catcode`\@=0 \catcode`\\=\active
|
|
+ @gdef@activebackslashdouble{%
|
|
+ @catcode`@\=@active
|
|
+ @let\=@doublebackslash}
|
|
+}
|
|
+
|
|
+% To handle parens, we must adopt a different approach, since parens are
|
|
+% not active characters. hyperref.dtx (which has the same problem as
|
|
+% us) handles it with this amazing macro to replace tokens, with minor
|
|
+% changes for Texinfo. It is included here under the GPL by permission
|
|
+% from the author, Heiko Oberdiek.
|
|
+%
|
|
+% #1 is the tokens to replace.
|
|
+% #2 is the replacement.
|
|
+% #3 is the control sequence with the string.
|
|
+%
|
|
+\def\HyPsdSubst#1#2#3{%
|
|
+ \def\HyPsdReplace##1#1##2\END{%
|
|
+ ##1%
|
|
+ \ifx\\##2\\%
|
|
+ \else
|
|
+ #2%
|
|
+ \HyReturnAfterFi{%
|
|
+ \HyPsdReplace##2\END
|
|
+ }%
|
|
+ \fi
|
|
+ }%
|
|
+ \xdef#3{\expandafter\HyPsdReplace#3#1\END}%
|
|
+}
|
|
+\long\def\HyReturnAfterFi#1\fi{\fi#1}
|
|
+
|
|
+% #1 is a control sequence in which to do the replacements.
|
|
+\def\backslashparens#1{%
|
|
+ \xdef#1{#1}% redefine it as its expansion; the definition is simply
|
|
+ % \lastnode when called from \setref -> \pdfmkdest.
|
|
+ \HyPsdSubst{(}{\realbackslash(}{#1}%
|
|
+ \HyPsdSubst{)}{\realbackslash)}{#1}%
|
|
+}
|
|
+
|
|
+\newhelp\nopdfimagehelp{Texinfo supports .png, .jpg, .jpeg, and .pdf images
|
|
+with PDF output, and none of those formats could be found. (.eps cannot
|
|
+be supported due to the design of the PDF format; use regular TeX (DVI
|
|
+output) for that.)}
|
|
+
|
|
\ifpdf
|
|
- \input pdfcolor
|
|
- \pdfcatalog{/PageMode /UseOutlines}%
|
|
+ %
|
|
+ % Color manipulation macros based on pdfcolor.tex,
|
|
+ % except using rgb instead of cmyk; the latter is said to render as a
|
|
+ % very dark gray on-screen and a very dark halftone in print, instead
|
|
+ % of actual black.
|
|
+ \def\rgbDarkRed{0.50 0.09 0.12}
|
|
+ \def\rgbBlack{0 0 0}
|
|
+ %
|
|
+ % k sets the color for filling (usual text, etc.);
|
|
+ % K sets the color for stroking (thin rules, e.g., normal _'s).
|
|
+ \def\pdfsetcolor#1{\pdfliteral{#1 rg #1 RG}}
|
|
+ %
|
|
+ % Set color, and create a mark which defines \thiscolor accordingly,
|
|
+ % so that \makeheadline knows which color to restore.
|
|
+ \def\setcolor#1{%
|
|
+ \xdef\lastcolordefs{\gdef\noexpand\thiscolor{#1}}%
|
|
+ \domark
|
|
+ \pdfsetcolor{#1}%
|
|
+ }
|
|
+ %
|
|
+ \def\maincolor{\rgbBlack}
|
|
+ \pdfsetcolor{\maincolor}
|
|
+ \edef\thiscolor{\maincolor}
|
|
+ \def\lastcolordefs{}
|
|
+ %
|
|
+ \def\makefootline{%
|
|
+ \baselineskip24pt
|
|
+ \line{\pdfsetcolor{\maincolor}\the\footline}%
|
|
+ }
|
|
+ %
|
|
+ \def\makeheadline{%
|
|
+ \vbox to 0pt{%
|
|
+ \vskip-22.5pt
|
|
+ \line{%
|
|
+ \vbox to8.5pt{}%
|
|
+ % Extract \thiscolor definition from the marks.
|
|
+ \getcolormarks
|
|
+ % Typeset the headline with \maincolor, then restore the color.
|
|
+ \pdfsetcolor{\maincolor}\the\headline\pdfsetcolor{\thiscolor}%
|
|
+ }%
|
|
+ \vss
|
|
+ }%
|
|
+ \nointerlineskip
|
|
+ }
|
|
+ %
|
|
+ %
|
|
+ \pdfcatalog{/PageMode /UseOutlines}
|
|
+ %
|
|
+ % #1 is image name, #2 width (might be empty/whitespace), #3 height (ditto).
|
|
\def\dopdfimage#1#2#3{%
|
|
- \def\imagewidth{#2}%
|
|
- \def\imageheight{#3}%
|
|
- % without \immediate, pdftex seg faults when the same image is
|
|
+ \def\imagewidth{#2}\setbox0 = \hbox{\ignorespaces #2}%
|
|
+ \def\imageheight{#3}\setbox2 = \hbox{\ignorespaces #3}%
|
|
+ %
|
|
+ % pdftex (and the PDF format) support .png, .jpg, .pdf (among
|
|
+ % others). Let's try in that order.
|
|
+ \let\pdfimgext=\empty
|
|
+ \begingroup
|
|
+ \openin 1 #1.png \ifeof 1
|
|
+ \openin 1 #1.jpg \ifeof 1
|
|
+ \openin 1 #1.jpeg \ifeof 1
|
|
+ \openin 1 #1.JPG \ifeof 1
|
|
+ \openin 1 #1.pdf \ifeof 1
|
|
+ \openin 1 #1.PDF \ifeof 1
|
|
+ \errhelp = \nopdfimagehelp
|
|
+ \errmessage{Could not find image file #1 for pdf}%
|
|
+ \else \gdef\pdfimgext{PDF}%
|
|
+ \fi
|
|
+ \else \gdef\pdfimgext{pdf}%
|
|
+ \fi
|
|
+ \else \gdef\pdfimgext{JPG}%
|
|
+ \fi
|
|
+ \else \gdef\pdfimgext{jpeg}%
|
|
+ \fi
|
|
+ \else \gdef\pdfimgext{jpg}%
|
|
+ \fi
|
|
+ \else \gdef\pdfimgext{png}%
|
|
+ \fi
|
|
+ \closein 1
|
|
+ \endgroup
|
|
+ %
|
|
+ % without \immediate, ancient pdftex seg faults when the same image is
|
|
% included twice. (Version 3.14159-pre-1.0-unofficial-20010704.)
|
|
\ifnum\pdftexversion < 14
|
|
\immediate\pdfimage
|
|
\else
|
|
\immediate\pdfximage
|
|
\fi
|
|
- \ifx\empty\imagewidth\else width \imagewidth \fi
|
|
- \ifx\empty\imageheight\else height \imageheight \fi
|
|
+ \ifdim \wd0 >0pt width \imagewidth \fi
|
|
+ \ifdim \wd2 >0pt height \imageheight \fi
|
|
\ifnum\pdftexversion<13
|
|
- #1.pdf%
|
|
+ #1.\pdfimgext
|
|
\else
|
|
- {#1.pdf}%
|
|
+ {#1.\pdfimgext}%
|
|
\fi
|
|
\ifnum\pdftexversion < 14 \else
|
|
\pdfrefximage \pdflastximage
|
|
\fi}
|
|
+ %
|
|
\def\pdfmkdest#1{{%
|
|
- % We have to set dummies so commands such as @code in a section title
|
|
- % aren't expanded.
|
|
- \atdummies
|
|
- \normalturnoffactive
|
|
- \pdfdest name{#1} xyz%
|
|
+ % We have to set dummies so commands such as @code, and characters
|
|
+ % such as \, aren't expanded when present in a section title.
|
|
+ \indexnofonts
|
|
+ \turnoffactive
|
|
+ \activebackslashdouble
|
|
+ \makevalueexpandable
|
|
+ \def\pdfdestname{#1}%
|
|
+ \backslashparens\pdfdestname
|
|
+ \safewhatsit{\pdfdest name{\pdfdestname} xyz}%
|
|
}}
|
|
+ %
|
|
+ % used to mark target names; must be expandable.
|
|
\def\pdfmkpgn#1{#1}
|
|
- \let\linkcolor = \Blue % was Cyan, but that seems light?
|
|
- \def\endlink{\Black\pdfendlink}
|
|
+ %
|
|
+ % by default, use a color that is dark enough to print on paper as
|
|
+ % nearly black, but still distinguishable for online viewing.
|
|
+ \def\urlcolor{\rgbDarkRed}
|
|
+ \def\linkcolor{\rgbDarkRed}
|
|
+ \def\endlink{\setcolor{\maincolor}\pdfendlink}
|
|
+ %
|
|
% Adding outlines to PDF; macros for calculating structure of outlines
|
|
% come from Petr Olsak
|
|
\def\expnumber#1{\expandafter\ifx\csname#1\endcsname\relax 0%
|
|
@@ -1217,20 +1458,31 @@ where each line of input produces a line of output.}
|
|
\advance\tempnum by 1
|
|
\expandafter\xdef\csname#1\endcsname{\the\tempnum}}
|
|
%
|
|
- % #1 is the section text. #2 is the pdf expression for the number
|
|
- % of subentries (or empty, for subsubsections). #3 is the node
|
|
- % text, which might be empty if this toc entry had no
|
|
- % corresponding node. #4 is the page number.
|
|
- %
|
|
+ % #1 is the section text, which is what will be displayed in the
|
|
+ % outline by the pdf viewer. #2 is the pdf expression for the number
|
|
+ % of subentries (or empty, for subsubsections). #3 is the node text,
|
|
+ % which might be empty if this toc entry had no corresponding node.
|
|
+ % #4 is the page number
|
|
+ %
|
|
\def\dopdfoutline#1#2#3#4{%
|
|
% Generate a link to the node text if that exists; else, use the
|
|
% page number. We could generate a destination for the section
|
|
% text in the case where a section has no node, but it doesn't
|
|
- % seem worthwhile, since most documents are normally structured.
|
|
+ % seem worth the trouble, since most documents are normally structured.
|
|
\def\pdfoutlinedest{#3}%
|
|
- \ifx\pdfoutlinedest\empty \def\pdfoutlinedest{#4}\fi
|
|
+ \ifx\pdfoutlinedest\empty
|
|
+ \def\pdfoutlinedest{#4}%
|
|
+ \else
|
|
+ % Doubled backslashes in the name.
|
|
+ {\activebackslashdouble \xdef\pdfoutlinedest{#3}%
|
|
+ \backslashparens\pdfoutlinedest}%
|
|
+ \fi
|
|
%
|
|
- \pdfoutline goto name{\pdfmkpgn{\pdfoutlinedest}}#2{#1}%
|
|
+ % Also double the backslashes in the display string.
|
|
+ {\activebackslashdouble \xdef\pdfoutlinetext{#1}%
|
|
+ \backslashparens\pdfoutlinetext}%
|
|
+ %
|
|
+ \pdfoutline goto name{\pdfmkpgn{\pdfoutlinedest}}#2{\pdfoutlinetext}%
|
|
}
|
|
%
|
|
\def\pdfmakeoutlines{%
|
|
@@ -1242,13 +1494,13 @@ where each line of input produces a line of output.}
|
|
% Read toc silently, to get counts of subentries for \pdfoutline.
|
|
\def\numchapentry##1##2##3##4{%
|
|
\def\thischapnum{##2}%
|
|
- \let\thissecnum\empty
|
|
- \let\thissubsecnum\empty
|
|
+ \def\thissecnum{0}%
|
|
+ \def\thissubsecnum{0}%
|
|
}%
|
|
\def\numsecentry##1##2##3##4{%
|
|
\advancenumber{chap\thischapnum}%
|
|
\def\thissecnum{##2}%
|
|
- \let\thissubsecnum\empty
|
|
+ \def\thissubsecnum{0}%
|
|
}%
|
|
\def\numsubsecentry##1##2##3##4{%
|
|
\advancenumber{sec\thissecnum}%
|
|
@@ -1257,9 +1509,9 @@ where each line of input produces a line of output.}
|
|
\def\numsubsubsecentry##1##2##3##4{%
|
|
\advancenumber{subsec\thissubsecnum}%
|
|
}%
|
|
- \let\thischapnum\empty
|
|
- \let\thissecnum\empty
|
|
- \let\thissubsecnum\empty
|
|
+ \def\thischapnum{0}%
|
|
+ \def\thissecnum{0}%
|
|
+ \def\thissubsecnum{0}%
|
|
%
|
|
% use \def rather than \let here because we redefine \chapentry et
|
|
% al. a second time, below.
|
|
@@ -1271,12 +1523,12 @@ where each line of input produces a line of output.}
|
|
\def\unnsecentry{\numsecentry}%
|
|
\def\unnsubsecentry{\numsubsecentry}%
|
|
\def\unnsubsubsecentry{\numsubsubsecentry}%
|
|
- \input \jobname.toc
|
|
+ \readdatafile{toc}%
|
|
%
|
|
% Read toc second time, this time actually producing the outlines.
|
|
% The `-' means take the \expnumber as the absolute number of
|
|
% subentries, which we calculated on our first read of the .toc above.
|
|
- %
|
|
+ %
|
|
% We use the node names as the destinations.
|
|
\def\numchapentry##1##2##3##4{%
|
|
\dopdfoutline{##1}{count-\expnumber{chap##2}}{##3}{##4}}%
|
|
@@ -1292,46 +1544,17 @@ where each line of input produces a line of output.}
|
|
% since the encoding is unknown. For example, the eogonek from
|
|
% Latin 2 (0xea) gets translated to a | character. Info from
|
|
% Staszek Wawrykiewicz, 19 Jan 2004 04:09:24 +0100.
|
|
- %
|
|
+ %
|
|
% xx to do this right, we have to translate 8-bit characters to
|
|
% their "best" equivalent, based on the @documentencoding. Right
|
|
% now, I guess we'll just let the pdf reader have its way.
|
|
\indexnofonts
|
|
- \turnoffactive
|
|
- \input \jobname.toc
|
|
+ \setupdatafile
|
|
+ \catcode`\\=\active \otherbackslash
|
|
+ \input \tocreadfilename
|
|
\endgroup
|
|
}
|
|
%
|
|
- \def\makelinks #1,{%
|
|
- \def\params{#1}\def\E{END}%
|
|
- \ifx\params\E
|
|
- \let\nextmakelinks=\relax
|
|
- \else
|
|
- \let\nextmakelinks=\makelinks
|
|
- \ifnum\lnkcount>0,\fi
|
|
- \picknum{#1}%
|
|
- \startlink attr{/Border [0 0 0]}
|
|
- goto name{\pdfmkpgn{\the\pgn}}%
|
|
- \linkcolor #1%
|
|
- \advance\lnkcount by 1%
|
|
- \endlink
|
|
- \fi
|
|
- \nextmakelinks
|
|
- }
|
|
- \def\picknum#1{\expandafter\pn#1}
|
|
- \def\pn#1{%
|
|
- \def\p{#1}%
|
|
- \ifx\p\lbrace
|
|
- \let\nextpn=\ppn
|
|
- \else
|
|
- \let\nextpn=\ppnn
|
|
- \def\first{#1}
|
|
- \fi
|
|
- \nextpn
|
|
- }
|
|
- \def\ppn#1{\pgn=#1\gobble}
|
|
- \def\ppnn{\pgn=\first}
|
|
- \def\pdfmklnk#1{\lnkcount=0\makelinks #1,END,}
|
|
\def\skipspaces#1{\def\PP{#1}\def\D{|}%
|
|
\ifx\PP\D\let\nextsp\relax
|
|
\else\let\nextsp\skipspaces
|
|
@@ -1346,11 +1569,23 @@ where each line of input produces a line of output.}
|
|
\else
|
|
\let \startlink \pdfstartlink
|
|
\fi
|
|
+ % make a live url in pdf output.
|
|
\def\pdfurl#1{%
|
|
\begingroup
|
|
- \normalturnoffactive\def\@{@}%
|
|
+ % it seems we really need yet another set of dummies; have not
|
|
+ % tried to figure out what each command should do in the context
|
|
+ % of @url. for now, just make @/ a no-op, that's the only one
|
|
+ % people have actually reported a problem with.
|
|
+ %
|
|
+ \normalturnoffactive
|
|
+ \def\@{@}%
|
|
+ \let\/=\empty
|
|
\makevalueexpandable
|
|
- \leavevmode\Red
|
|
+ % do we want to go so far as to use \indexnofonts instead of just
|
|
+ % special-casing \var here?
|
|
+ \def\var##1{##1}%
|
|
+ %
|
|
+ \leavevmode\setcolor{\urlcolor}%
|
|
\startlink attr{/Border [0 0 0]}%
|
|
user{/Subtype /Link /A << /S /URI /URI (#1) >>}%
|
|
\endgroup}
|
|
@@ -1377,13 +1612,15 @@ where each line of input produces a line of output.}
|
|
{\noexpand\pdflink{\the\toksC}}\toksC={}\global\countA=0}
|
|
\def\pdflink#1{%
|
|
\startlink attr{/Border [0 0 0]} goto name{\pdfmkpgn{#1}}
|
|
- \linkcolor #1\endlink}
|
|
+ \setcolor{\linkcolor}#1\endlink}
|
|
\def\done{\edef\st{\global\noexpand\toksA={\the\toksB}}\st}
|
|
\else
|
|
+ % non-pdf mode
|
|
\let\pdfmkdest = \gobble
|
|
\let\pdfurl = \gobble
|
|
\let\endlink = \relax
|
|
- \let\linkcolor = \relax
|
|
+ \let\setcolor = \gobble
|
|
+ \let\pdfsetcolor = \gobble
|
|
\let\pdfmakeoutlines = \relax
|
|
\fi % \ifx\pdfoutput
|
|
|
|
@@ -1393,22 +1630,26 @@ where each line of input produces a line of output.}
|
|
% Change the current font style to #1, remembering it in \curfontstyle.
|
|
% For now, we do not accumulate font styles: @b{@i{foo}} prints foo in
|
|
% italics, not bold italics.
|
|
-%
|
|
+%
|
|
\def\setfontstyle#1{%
|
|
\def\curfontstyle{#1}% not as a control sequence, because we are \edef'd.
|
|
\csname ten#1\endcsname % change the current font
|
|
}
|
|
|
|
% Select #1 fonts with the current style.
|
|
-%
|
|
+%
|
|
\def\selectfonts#1{\csname #1fonts\endcsname \csname\curfontstyle\endcsname}
|
|
|
|
\def\rm{\fam=0 \setfontstyle{rm}}
|
|
\def\it{\fam=\itfam \setfontstyle{it}}
|
|
\def\sl{\fam=\slfam \setfontstyle{sl}}
|
|
-\def\bf{\fam=\bffam \setfontstyle{bf}}
|
|
+\def\bf{\fam=\bffam \setfontstyle{bf}}\def\bfstylename{bf}
|
|
\def\tt{\fam=\ttfam \setfontstyle{tt}}
|
|
|
|
+% Unfortunately, we have to override this for titles and the like, since
|
|
+% in those cases "rm" is bold. Sigh.
|
|
+\def\rmisbold{\rm\def\curfontstyle{bf}}
|
|
+
|
|
% Texinfo sort of supports the sans serif font style, which plain TeX does not.
|
|
% So we set up a \sf.
|
|
\newfam\sffam
|
|
@@ -1418,6 +1659,7 @@ where each line of input produces a line of output.}
|
|
% We don't need math for this font style.
|
|
\def\ttsl{\setfontstyle{ttsl}}
|
|
|
|
+
|
|
% Default leading.
|
|
\newdimen\textleading \textleading = 13.2pt
|
|
|
|
@@ -1429,8 +1671,12 @@ where each line of input produces a line of output.}
|
|
\def\strutheightpercent{.70833}
|
|
\def\strutdepthpercent {.29167}
|
|
%
|
|
+% can get a sort of poor man's double spacing by redefining this.
|
|
+\def\baselinefactor{1}
|
|
+%
|
|
\def\setleading#1{%
|
|
- \normalbaselineskip = #1\relax
|
|
+ \dimen0 = #1\relax
|
|
+ \normalbaselineskip = \baselinefactor\dimen0
|
|
\normallineskip = \lineskipfactor\normalbaselineskip
|
|
\normalbaselines
|
|
\setbox\strutbox =\hbox{%
|
|
@@ -1439,10 +1685,279 @@ where each line of input produces a line of output.}
|
|
}%
|
|
}
|
|
|
|
+% PDF CMaps. See also LaTeX's t1.cmap.
|
|
+%
|
|
+% do nothing with this by default.
|
|
+\expandafter\let\csname cmapOT1\endcsname\gobble
|
|
+\expandafter\let\csname cmapOT1IT\endcsname\gobble
|
|
+\expandafter\let\csname cmapOT1TT\endcsname\gobble
|
|
+
|
|
+% if we are producing pdf, and we have \pdffontattr, then define cmaps.
|
|
+% (\pdffontattr was introduced many years ago, but people still run
|
|
+% older pdftex's; it's easy to conditionalize, so we do.)
|
|
+\ifpdf \ifx\pdffontattr\undefined \else
|
|
+ \begingroup
|
|
+ \catcode`\^^M=\active \def^^M{^^J}% Output line endings as the ^^J char.
|
|
+ \catcode`\%=12 \immediate\pdfobj stream {%!PS-Adobe-3.0 Resource-CMap
|
|
+%%DocumentNeededResources: ProcSet (CIDInit)
|
|
+%%IncludeResource: ProcSet (CIDInit)
|
|
+%%BeginResource: CMap (TeX-OT1-0)
|
|
+%%Title: (TeX-OT1-0 TeX OT1 0)
|
|
+%%Version: 1.000
|
|
+%%EndComments
|
|
+/CIDInit /ProcSet findresource begin
|
|
+12 dict begin
|
|
+begincmap
|
|
+/CIDSystemInfo
|
|
+<< /Registry (TeX)
|
|
+/Ordering (OT1)
|
|
+/Supplement 0
|
|
+>> def
|
|
+/CMapName /TeX-OT1-0 def
|
|
+/CMapType 2 def
|
|
+1 begincodespacerange
|
|
+<00> <7F>
|
|
+endcodespacerange
|
|
+8 beginbfrange
|
|
+<00> <01> <0393>
|
|
+<09> <0A> <03A8>
|
|
+<23> <26> <0023>
|
|
+<28> <3B> <0028>
|
|
+<3F> <5B> <003F>
|
|
+<5D> <5E> <005D>
|
|
+<61> <7A> <0061>
|
|
+<7B> <7C> <2013>
|
|
+endbfrange
|
|
+40 beginbfchar
|
|
+<02> <0398>
|
|
+<03> <039B>
|
|
+<04> <039E>
|
|
+<05> <03A0>
|
|
+<06> <03A3>
|
|
+<07> <03D2>
|
|
+<08> <03A6>
|
|
+<0B> <00660066>
|
|
+<0C> <00660069>
|
|
+<0D> <0066006C>
|
|
+<0E> <006600660069>
|
|
+<0F> <00660066006C>
|
|
+<10> <0131>
|
|
+<11> <0237>
|
|
+<12> <0060>
|
|
+<13> <00B4>
|
|
+<14> <02C7>
|
|
+<15> <02D8>
|
|
+<16> <00AF>
|
|
+<17> <02DA>
|
|
+<18> <00B8>
|
|
+<19> <00DF>
|
|
+<1A> <00E6>
|
|
+<1B> <0153>
|
|
+<1C> <00F8>
|
|
+<1D> <00C6>
|
|
+<1E> <0152>
|
|
+<1F> <00D8>
|
|
+<21> <0021>
|
|
+<22> <201D>
|
|
+<27> <2019>
|
|
+<3C> <00A1>
|
|
+<3D> <003D>
|
|
+<3E> <00BF>
|
|
+<5C> <201C>
|
|
+<5F> <02D9>
|
|
+<60> <2018>
|
|
+<7D> <02DD>
|
|
+<7E> <007E>
|
|
+<7F> <00A8>
|
|
+endbfchar
|
|
+endcmap
|
|
+CMapName currentdict /CMap defineresource pop
|
|
+end
|
|
+end
|
|
+%%EndResource
|
|
+%%EOF
|
|
+ }\endgroup
|
|
+ \expandafter\edef\csname cmapOT1\endcsname#1{%
|
|
+ \pdffontattr#1{/ToUnicode \the\pdflastobj\space 0 R}%
|
|
+ }%
|
|
+%
|
|
+% \cmapOT1IT
|
|
+ \begingroup
|
|
+ \catcode`\^^M=\active \def^^M{^^J}% Output line endings as the ^^J char.
|
|
+ \catcode`\%=12 \immediate\pdfobj stream {%!PS-Adobe-3.0 Resource-CMap
|
|
+%%DocumentNeededResources: ProcSet (CIDInit)
|
|
+%%IncludeResource: ProcSet (CIDInit)
|
|
+%%BeginResource: CMap (TeX-OT1IT-0)
|
|
+%%Title: (TeX-OT1IT-0 TeX OT1IT 0)
|
|
+%%Version: 1.000
|
|
+%%EndComments
|
|
+/CIDInit /ProcSet findresource begin
|
|
+12 dict begin
|
|
+begincmap
|
|
+/CIDSystemInfo
|
|
+<< /Registry (TeX)
|
|
+/Ordering (OT1IT)
|
|
+/Supplement 0
|
|
+>> def
|
|
+/CMapName /TeX-OT1IT-0 def
|
|
+/CMapType 2 def
|
|
+1 begincodespacerange
|
|
+<00> <7F>
|
|
+endcodespacerange
|
|
+8 beginbfrange
|
|
+<00> <01> <0393>
|
|
+<09> <0A> <03A8>
|
|
+<25> <26> <0025>
|
|
+<28> <3B> <0028>
|
|
+<3F> <5B> <003F>
|
|
+<5D> <5E> <005D>
|
|
+<61> <7A> <0061>
|
|
+<7B> <7C> <2013>
|
|
+endbfrange
|
|
+42 beginbfchar
|
|
+<02> <0398>
|
|
+<03> <039B>
|
|
+<04> <039E>
|
|
+<05> <03A0>
|
|
+<06> <03A3>
|
|
+<07> <03D2>
|
|
+<08> <03A6>
|
|
+<0B> <00660066>
|
|
+<0C> <00660069>
|
|
+<0D> <0066006C>
|
|
+<0E> <006600660069>
|
|
+<0F> <00660066006C>
|
|
+<10> <0131>
|
|
+<11> <0237>
|
|
+<12> <0060>
|
|
+<13> <00B4>
|
|
+<14> <02C7>
|
|
+<15> <02D8>
|
|
+<16> <00AF>
|
|
+<17> <02DA>
|
|
+<18> <00B8>
|
|
+<19> <00DF>
|
|
+<1A> <00E6>
|
|
+<1B> <0153>
|
|
+<1C> <00F8>
|
|
+<1D> <00C6>
|
|
+<1E> <0152>
|
|
+<1F> <00D8>
|
|
+<21> <0021>
|
|
+<22> <201D>
|
|
+<23> <0023>
|
|
+<24> <00A3>
|
|
+<27> <2019>
|
|
+<3C> <00A1>
|
|
+<3D> <003D>
|
|
+<3E> <00BF>
|
|
+<5C> <201C>
|
|
+<5F> <02D9>
|
|
+<60> <2018>
|
|
+<7D> <02DD>
|
|
+<7E> <007E>
|
|
+<7F> <00A8>
|
|
+endbfchar
|
|
+endcmap
|
|
+CMapName currentdict /CMap defineresource pop
|
|
+end
|
|
+end
|
|
+%%EndResource
|
|
+%%EOF
|
|
+ }\endgroup
|
|
+ \expandafter\edef\csname cmapOT1IT\endcsname#1{%
|
|
+ \pdffontattr#1{/ToUnicode \the\pdflastobj\space 0 R}%
|
|
+ }%
|
|
+%
|
|
+% \cmapOT1TT
|
|
+ \begingroup
|
|
+ \catcode`\^^M=\active \def^^M{^^J}% Output line endings as the ^^J char.
|
|
+ \catcode`\%=12 \immediate\pdfobj stream {%!PS-Adobe-3.0 Resource-CMap
|
|
+%%DocumentNeededResources: ProcSet (CIDInit)
|
|
+%%IncludeResource: ProcSet (CIDInit)
|
|
+%%BeginResource: CMap (TeX-OT1TT-0)
|
|
+%%Title: (TeX-OT1TT-0 TeX OT1TT 0)
|
|
+%%Version: 1.000
|
|
+%%EndComments
|
|
+/CIDInit /ProcSet findresource begin
|
|
+12 dict begin
|
|
+begincmap
|
|
+/CIDSystemInfo
|
|
+<< /Registry (TeX)
|
|
+/Ordering (OT1TT)
|
|
+/Supplement 0
|
|
+>> def
|
|
+/CMapName /TeX-OT1TT-0 def
|
|
+/CMapType 2 def
|
|
+1 begincodespacerange
|
|
+<00> <7F>
|
|
+endcodespacerange
|
|
+5 beginbfrange
|
|
+<00> <01> <0393>
|
|
+<09> <0A> <03A8>
|
|
+<21> <26> <0021>
|
|
+<28> <5F> <0028>
|
|
+<61> <7E> <0061>
|
|
+endbfrange
|
|
+32 beginbfchar
|
|
+<02> <0398>
|
|
+<03> <039B>
|
|
+<04> <039E>
|
|
+<05> <03A0>
|
|
+<06> <03A3>
|
|
+<07> <03D2>
|
|
+<08> <03A6>
|
|
+<0B> <2191>
|
|
+<0C> <2193>
|
|
+<0D> <0027>
|
|
+<0E> <00A1>
|
|
+<0F> <00BF>
|
|
+<10> <0131>
|
|
+<11> <0237>
|
|
+<12> <0060>
|
|
+<13> <00B4>
|
|
+<14> <02C7>
|
|
+<15> <02D8>
|
|
+<16> <00AF>
|
|
+<17> <02DA>
|
|
+<18> <00B8>
|
|
+<19> <00DF>
|
|
+<1A> <00E6>
|
|
+<1B> <0153>
|
|
+<1C> <00F8>
|
|
+<1D> <00C6>
|
|
+<1E> <0152>
|
|
+<1F> <00D8>
|
|
+<20> <2423>
|
|
+<27> <2019>
|
|
+<60> <2018>
|
|
+<7F> <00A8>
|
|
+endbfchar
|
|
+endcmap
|
|
+CMapName currentdict /CMap defineresource pop
|
|
+end
|
|
+end
|
|
+%%EndResource
|
|
+%%EOF
|
|
+ }\endgroup
|
|
+ \expandafter\edef\csname cmapOT1TT\endcsname#1{%
|
|
+ \pdffontattr#1{/ToUnicode \the\pdflastobj\space 0 R}%
|
|
+ }%
|
|
+\fi\fi
|
|
+
|
|
+
|
|
% Set the font macro #1 to the font named #2, adding on the
|
|
% specified font prefix (normally `cm').
|
|
-% #3 is the font's design size, #4 is a scale factor
|
|
-\def\setfont#1#2#3#4{\font#1=\fontprefix#2#3 scaled #4}
|
|
+% #3 is the font's design size, #4 is a scale factor, #5 is the CMap
|
|
+% encoding (currently only OT1, OT1IT and OT1TT are allowed, pass
|
|
+% empty to omit).
|
|
+\def\setfont#1#2#3#4#5{%
|
|
+ \font#1=\fontprefix#2#3 scaled #4
|
|
+ \csname cmap#5\endcsname#1%
|
|
+}
|
|
+% This is what gets called when #5 of \setfont is empty.
|
|
+\let\cmap\gobble
|
|
+% emacs-page end of cmaps
|
|
|
|
% Use cm as the default font prefix.
|
|
% To specify the font prefix, you must define \fontprefix
|
|
@@ -1467,118 +1982,293 @@ where each line of input produces a line of output.}
|
|
\def\scshape{csc}
|
|
\def\scbshape{csc}
|
|
|
|
+% Definitions for a main text size of 11pt. This is the default in
|
|
+% Texinfo.
|
|
+%
|
|
+\def\definetextfontsizexi{%
|
|
% Text fonts (11.2pt, magstep1).
|
|
-\newcount\mainmagstep
|
|
-\ifx\bigger\relax
|
|
- % not really supported.
|
|
- \mainmagstep=\magstep1
|
|
- \setfont\textrm\rmshape{12}{1000}
|
|
- \setfont\texttt\ttshape{12}{1000}
|
|
-\else
|
|
- \mainmagstep=\magstephalf
|
|
- \setfont\textrm\rmshape{10}{\mainmagstep}
|
|
- \setfont\texttt\ttshape{10}{\mainmagstep}
|
|
-\fi
|
|
-\setfont\textbf\bfshape{10}{\mainmagstep}
|
|
-\setfont\textit\itshape{10}{\mainmagstep}
|
|
-\setfont\textsl\slshape{10}{\mainmagstep}
|
|
-\setfont\textsf\sfshape{10}{\mainmagstep}
|
|
-\setfont\textsc\scshape{10}{\mainmagstep}
|
|
-\setfont\textttsl\ttslshape{10}{\mainmagstep}
|
|
+\def\textnominalsize{11pt}
|
|
+\edef\mainmagstep{\magstephalf}
|
|
+\setfont\textrm\rmshape{10}{\mainmagstep}{OT1}
|
|
+\setfont\texttt\ttshape{10}{\mainmagstep}{OT1TT}
|
|
+\setfont\textbf\bfshape{10}{\mainmagstep}{OT1}
|
|
+\setfont\textit\itshape{10}{\mainmagstep}{OT1IT}
|
|
+\setfont\textsl\slshape{10}{\mainmagstep}{OT1}
|
|
+\setfont\textsf\sfshape{10}{\mainmagstep}{OT1}
|
|
+\setfont\textsc\scshape{10}{\mainmagstep}{OT1}
|
|
+\setfont\textttsl\ttslshape{10}{\mainmagstep}{OT1TT}
|
|
\font\texti=cmmi10 scaled \mainmagstep
|
|
\font\textsy=cmsy10 scaled \mainmagstep
|
|
+\def\textecsize{1095}
|
|
|
|
% A few fonts for @defun names and args.
|
|
-\setfont\defbf\bfshape{10}{\magstep1}
|
|
-\setfont\deftt\ttshape{10}{\magstep1}
|
|
-\setfont\defttsl\ttslshape{10}{\magstep1}
|
|
+\setfont\defbf\bfshape{10}{\magstep1}{OT1}
|
|
+\setfont\deftt\ttshape{10}{\magstep1}{OT1TT}
|
|
+\setfont\defttsl\ttslshape{10}{\magstep1}{OT1TT}
|
|
\def\df{\let\tentt=\deftt \let\tenbf = \defbf \let\tenttsl=\defttsl \bf}
|
|
|
|
% Fonts for indices, footnotes, small examples (9pt).
|
|
-\setfont\smallrm\rmshape{9}{1000}
|
|
-\setfont\smalltt\ttshape{9}{1000}
|
|
-\setfont\smallbf\bfshape{10}{900}
|
|
-\setfont\smallit\itshape{9}{1000}
|
|
-\setfont\smallsl\slshape{9}{1000}
|
|
-\setfont\smallsf\sfshape{9}{1000}
|
|
-\setfont\smallsc\scshape{10}{900}
|
|
-\setfont\smallttsl\ttslshape{10}{900}
|
|
+\def\smallnominalsize{9pt}
|
|
+\setfont\smallrm\rmshape{9}{1000}{OT1}
|
|
+\setfont\smalltt\ttshape{9}{1000}{OT1TT}
|
|
+\setfont\smallbf\bfshape{10}{900}{OT1}
|
|
+\setfont\smallit\itshape{9}{1000}{OT1IT}
|
|
+\setfont\smallsl\slshape{9}{1000}{OT1}
|
|
+\setfont\smallsf\sfshape{9}{1000}{OT1}
|
|
+\setfont\smallsc\scshape{10}{900}{OT1}
|
|
+\setfont\smallttsl\ttslshape{10}{900}{OT1TT}
|
|
\font\smalli=cmmi9
|
|
\font\smallsy=cmsy9
|
|
+\def\smallecsize{0900}
|
|
|
|
% Fonts for small examples (8pt).
|
|
-\setfont\smallerrm\rmshape{8}{1000}
|
|
-\setfont\smallertt\ttshape{8}{1000}
|
|
-\setfont\smallerbf\bfshape{10}{800}
|
|
-\setfont\smallerit\itshape{8}{1000}
|
|
-\setfont\smallersl\slshape{8}{1000}
|
|
-\setfont\smallersf\sfshape{8}{1000}
|
|
-\setfont\smallersc\scshape{10}{800}
|
|
-\setfont\smallerttsl\ttslshape{10}{800}
|
|
+\def\smallernominalsize{8pt}
|
|
+\setfont\smallerrm\rmshape{8}{1000}{OT1}
|
|
+\setfont\smallertt\ttshape{8}{1000}{OT1TT}
|
|
+\setfont\smallerbf\bfshape{10}{800}{OT1}
|
|
+\setfont\smallerit\itshape{8}{1000}{OT1IT}
|
|
+\setfont\smallersl\slshape{8}{1000}{OT1}
|
|
+\setfont\smallersf\sfshape{8}{1000}{OT1}
|
|
+\setfont\smallersc\scshape{10}{800}{OT1}
|
|
+\setfont\smallerttsl\ttslshape{10}{800}{OT1TT}
|
|
\font\smalleri=cmmi8
|
|
\font\smallersy=cmsy8
|
|
+\def\smallerecsize{0800}
|
|
|
|
% Fonts for title page (20.4pt):
|
|
-\setfont\titlerm\rmbshape{12}{\magstep3}
|
|
-\setfont\titleit\itbshape{10}{\magstep4}
|
|
-\setfont\titlesl\slbshape{10}{\magstep4}
|
|
-\setfont\titlett\ttbshape{12}{\magstep3}
|
|
-\setfont\titlettsl\ttslshape{10}{\magstep4}
|
|
-\setfont\titlesf\sfbshape{17}{\magstep1}
|
|
+\def\titlenominalsize{20pt}
|
|
+\setfont\titlerm\rmbshape{12}{\magstep3}{OT1}
|
|
+\setfont\titleit\itbshape{10}{\magstep4}{OT1IT}
|
|
+\setfont\titlesl\slbshape{10}{\magstep4}{OT1}
|
|
+\setfont\titlett\ttbshape{12}{\magstep3}{OT1TT}
|
|
+\setfont\titlettsl\ttslshape{10}{\magstep4}{OT1TT}
|
|
+\setfont\titlesf\sfbshape{17}{\magstep1}{OT1}
|
|
\let\titlebf=\titlerm
|
|
-\setfont\titlesc\scbshape{10}{\magstep4}
|
|
+\setfont\titlesc\scbshape{10}{\magstep4}{OT1}
|
|
\font\titlei=cmmi12 scaled \magstep3
|
|
\font\titlesy=cmsy10 scaled \magstep4
|
|
-\def\authorrm{\secrm}
|
|
-\def\authortt{\sectt}
|
|
+\def\titleecsize{2074}
|
|
|
|
% Chapter (and unnumbered) fonts (17.28pt).
|
|
-\setfont\chaprm\rmbshape{12}{\magstep2}
|
|
-\setfont\chapit\itbshape{10}{\magstep3}
|
|
-\setfont\chapsl\slbshape{10}{\magstep3}
|
|
-\setfont\chaptt\ttbshape{12}{\magstep2}
|
|
-\setfont\chapttsl\ttslshape{10}{\magstep3}
|
|
-\setfont\chapsf\sfbshape{17}{1000}
|
|
+\def\chapnominalsize{17pt}
|
|
+\setfont\chaprm\rmbshape{12}{\magstep2}{OT1}
|
|
+\setfont\chapit\itbshape{10}{\magstep3}{OT1IT}
|
|
+\setfont\chapsl\slbshape{10}{\magstep3}{OT1}
|
|
+\setfont\chaptt\ttbshape{12}{\magstep2}{OT1TT}
|
|
+\setfont\chapttsl\ttslshape{10}{\magstep3}{OT1TT}
|
|
+\setfont\chapsf\sfbshape{17}{1000}{OT1}
|
|
\let\chapbf=\chaprm
|
|
-\setfont\chapsc\scbshape{10}{\magstep3}
|
|
+\setfont\chapsc\scbshape{10}{\magstep3}{OT1}
|
|
\font\chapi=cmmi12 scaled \magstep2
|
|
\font\chapsy=cmsy10 scaled \magstep3
|
|
+\def\chapecsize{1728}
|
|
|
|
% Section fonts (14.4pt).
|
|
-\setfont\secrm\rmbshape{12}{\magstep1}
|
|
-\setfont\secit\itbshape{10}{\magstep2}
|
|
-\setfont\secsl\slbshape{10}{\magstep2}
|
|
-\setfont\sectt\ttbshape{12}{\magstep1}
|
|
-\setfont\secttsl\ttslshape{10}{\magstep2}
|
|
-\setfont\secsf\sfbshape{12}{\magstep1}
|
|
+\def\secnominalsize{14pt}
|
|
+\setfont\secrm\rmbshape{12}{\magstep1}{OT1}
|
|
+\setfont\secit\itbshape{10}{\magstep2}{OT1IT}
|
|
+\setfont\secsl\slbshape{10}{\magstep2}{OT1}
|
|
+\setfont\sectt\ttbshape{12}{\magstep1}{OT1TT}
|
|
+\setfont\secttsl\ttslshape{10}{\magstep2}{OT1TT}
|
|
+\setfont\secsf\sfbshape{12}{\magstep1}{OT1}
|
|
\let\secbf\secrm
|
|
-\setfont\secsc\scbshape{10}{\magstep2}
|
|
+\setfont\secsc\scbshape{10}{\magstep2}{OT1}
|
|
\font\seci=cmmi12 scaled \magstep1
|
|
\font\secsy=cmsy10 scaled \magstep2
|
|
+\def\sececsize{1440}
|
|
|
|
% Subsection fonts (13.15pt).
|
|
-\setfont\ssecrm\rmbshape{12}{\magstephalf}
|
|
-\setfont\ssecit\itbshape{10}{1315}
|
|
-\setfont\ssecsl\slbshape{10}{1315}
|
|
-\setfont\ssectt\ttbshape{12}{\magstephalf}
|
|
-\setfont\ssecttsl\ttslshape{10}{1315}
|
|
-\setfont\ssecsf\sfbshape{12}{\magstephalf}
|
|
+\def\ssecnominalsize{13pt}
|
|
+\setfont\ssecrm\rmbshape{12}{\magstephalf}{OT1}
|
|
+\setfont\ssecit\itbshape{10}{1315}{OT1IT}
|
|
+\setfont\ssecsl\slbshape{10}{1315}{OT1}
|
|
+\setfont\ssectt\ttbshape{12}{\magstephalf}{OT1TT}
|
|
+\setfont\ssecttsl\ttslshape{10}{1315}{OT1TT}
|
|
+\setfont\ssecsf\sfbshape{12}{\magstephalf}{OT1}
|
|
\let\ssecbf\ssecrm
|
|
-\setfont\ssecsc\scbshape{10}{1315}
|
|
+\setfont\ssecsc\scbshape{10}{1315}{OT1}
|
|
\font\sseci=cmmi12 scaled \magstephalf
|
|
\font\ssecsy=cmsy10 scaled 1315
|
|
+\def\ssececsize{1200}
|
|
|
|
% Reduced fonts for @acro in text (10pt).
|
|
-\setfont\reducedrm\rmshape{10}{1000}
|
|
-\setfont\reducedtt\ttshape{10}{1000}
|
|
-\setfont\reducedbf\bfshape{10}{1000}
|
|
-\setfont\reducedit\itshape{10}{1000}
|
|
-\setfont\reducedsl\slshape{10}{1000}
|
|
-\setfont\reducedsf\sfshape{10}{1000}
|
|
-\setfont\reducedsc\scshape{10}{1000}
|
|
-\setfont\reducedttsl\ttslshape{10}{1000}
|
|
+\def\reducednominalsize{10pt}
|
|
+\setfont\reducedrm\rmshape{10}{1000}{OT1}
|
|
+\setfont\reducedtt\ttshape{10}{1000}{OT1TT}
|
|
+\setfont\reducedbf\bfshape{10}{1000}{OT1}
|
|
+\setfont\reducedit\itshape{10}{1000}{OT1IT}
|
|
+\setfont\reducedsl\slshape{10}{1000}{OT1}
|
|
+\setfont\reducedsf\sfshape{10}{1000}{OT1}
|
|
+\setfont\reducedsc\scshape{10}{1000}{OT1}
|
|
+\setfont\reducedttsl\ttslshape{10}{1000}{OT1TT}
|
|
\font\reducedi=cmmi10
|
|
\font\reducedsy=cmsy10
|
|
+\def\reducedecsize{1000}
|
|
+
|
|
+% reset the current fonts
|
|
+\textfonts
|
|
+\rm
|
|
+} % end of 11pt text font size definitions
|
|
+
|
|
+
|
|
+% Definitions to make the main text be 10pt Computer Modern, with
|
|
+% section, chapter, etc., sizes following suit. This is for the GNU
|
|
+% Press printing of the Emacs 22 manual. Maybe other manuals in the
|
|
+% future. Used with @smallbook, which sets the leading to 12pt.
|
|
+%
|
|
+\def\definetextfontsizex{%
|
|
+% Text fonts (10pt).
|
|
+\def\textnominalsize{10pt}
|
|
+\edef\mainmagstep{1000}
|
|
+\setfont\textrm\rmshape{10}{\mainmagstep}{OT1}
|
|
+\setfont\texttt\ttshape{10}{\mainmagstep}{OT1TT}
|
|
+\setfont\textbf\bfshape{10}{\mainmagstep}{OT1}
|
|
+\setfont\textit\itshape{10}{\mainmagstep}{OT1IT}
|
|
+\setfont\textsl\slshape{10}{\mainmagstep}{OT1}
|
|
+\setfont\textsf\sfshape{10}{\mainmagstep}{OT1}
|
|
+\setfont\textsc\scshape{10}{\mainmagstep}{OT1}
|
|
+\setfont\textttsl\ttslshape{10}{\mainmagstep}{OT1TT}
|
|
+\font\texti=cmmi10 scaled \mainmagstep
|
|
+\font\textsy=cmsy10 scaled \mainmagstep
|
|
+\def\textecsize{1000}
|
|
+
|
|
+% A few fonts for @defun names and args.
|
|
+\setfont\defbf\bfshape{10}{\magstephalf}{OT1}
|
|
+\setfont\deftt\ttshape{10}{\magstephalf}{OT1TT}
|
|
+\setfont\defttsl\ttslshape{10}{\magstephalf}{OT1TT}
|
|
+\def\df{\let\tentt=\deftt \let\tenbf = \defbf \let\tenttsl=\defttsl \bf}
|
|
+
|
|
+% Fonts for indices, footnotes, small examples (9pt).
|
|
+\def\smallnominalsize{9pt}
|
|
+\setfont\smallrm\rmshape{9}{1000}{OT1}
|
|
+\setfont\smalltt\ttshape{9}{1000}{OT1TT}
|
|
+\setfont\smallbf\bfshape{10}{900}{OT1}
|
|
+\setfont\smallit\itshape{9}{1000}{OT1IT}
|
|
+\setfont\smallsl\slshape{9}{1000}{OT1}
|
|
+\setfont\smallsf\sfshape{9}{1000}{OT1}
|
|
+\setfont\smallsc\scshape{10}{900}{OT1}
|
|
+\setfont\smallttsl\ttslshape{10}{900}{OT1TT}
|
|
+\font\smalli=cmmi9
|
|
+\font\smallsy=cmsy9
|
|
+\def\smallecsize{0900}
|
|
+
|
|
+% Fonts for small examples (8pt).
|
|
+\def\smallernominalsize{8pt}
|
|
+\setfont\smallerrm\rmshape{8}{1000}{OT1}
|
|
+\setfont\smallertt\ttshape{8}{1000}{OT1TT}
|
|
+\setfont\smallerbf\bfshape{10}{800}{OT1}
|
|
+\setfont\smallerit\itshape{8}{1000}{OT1IT}
|
|
+\setfont\smallersl\slshape{8}{1000}{OT1}
|
|
+\setfont\smallersf\sfshape{8}{1000}{OT1}
|
|
+\setfont\smallersc\scshape{10}{800}{OT1}
|
|
+\setfont\smallerttsl\ttslshape{10}{800}{OT1TT}
|
|
+\font\smalleri=cmmi8
|
|
+\font\smallersy=cmsy8
|
|
+\def\smallerecsize{0800}
|
|
+
|
|
+% Fonts for title page (20.4pt):
|
|
+\def\titlenominalsize{20pt}
|
|
+\setfont\titlerm\rmbshape{12}{\magstep3}{OT1}
|
|
+\setfont\titleit\itbshape{10}{\magstep4}{OT1IT}
|
|
+\setfont\titlesl\slbshape{10}{\magstep4}{OT1}
|
|
+\setfont\titlett\ttbshape{12}{\magstep3}{OT1TT}
|
|
+\setfont\titlettsl\ttslshape{10}{\magstep4}{OT1TT}
|
|
+\setfont\titlesf\sfbshape{17}{\magstep1}{OT1}
|
|
+\let\titlebf=\titlerm
|
|
+\setfont\titlesc\scbshape{10}{\magstep4}{OT1}
|
|
+\font\titlei=cmmi12 scaled \magstep3
|
|
+\font\titlesy=cmsy10 scaled \magstep4
|
|
+\def\titleecsize{2074}
|
|
+
|
|
+% Chapter fonts (14.4pt).
|
|
+\def\chapnominalsize{14pt}
|
|
+\setfont\chaprm\rmbshape{12}{\magstep1}{OT1}
|
|
+\setfont\chapit\itbshape{10}{\magstep2}{OT1IT}
|
|
+\setfont\chapsl\slbshape{10}{\magstep2}{OT1}
|
|
+\setfont\chaptt\ttbshape{12}{\magstep1}{OT1TT}
|
|
+\setfont\chapttsl\ttslshape{10}{\magstep2}{OT1TT}
|
|
+\setfont\chapsf\sfbshape{12}{\magstep1}{OT1}
|
|
+\let\chapbf\chaprm
|
|
+\setfont\chapsc\scbshape{10}{\magstep2}{OT1}
|
|
+\font\chapi=cmmi12 scaled \magstep1
|
|
+\font\chapsy=cmsy10 scaled \magstep2
|
|
+\def\chapecsize{1440}
|
|
+
|
|
+% Section fonts (12pt).
|
|
+\def\secnominalsize{12pt}
|
|
+\setfont\secrm\rmbshape{12}{1000}{OT1}
|
|
+\setfont\secit\itbshape{10}{\magstep1}{OT1IT}
|
|
+\setfont\secsl\slbshape{10}{\magstep1}{OT1}
|
|
+\setfont\sectt\ttbshape{12}{1000}{OT1TT}
|
|
+\setfont\secttsl\ttslshape{10}{\magstep1}{OT1TT}
|
|
+\setfont\secsf\sfbshape{12}{1000}{OT1}
|
|
+\let\secbf\secrm
|
|
+\setfont\secsc\scbshape{10}{\magstep1}{OT1}
|
|
+\font\seci=cmmi12
|
|
+\font\secsy=cmsy10 scaled \magstep1
|
|
+\def\sececsize{1200}
|
|
+
|
|
+% Subsection fonts (10pt).
|
|
+\def\ssecnominalsize{10pt}
|
|
+\setfont\ssecrm\rmbshape{10}{1000}{OT1}
|
|
+\setfont\ssecit\itbshape{10}{1000}{OT1IT}
|
|
+\setfont\ssecsl\slbshape{10}{1000}{OT1}
|
|
+\setfont\ssectt\ttbshape{10}{1000}{OT1TT}
|
|
+\setfont\ssecttsl\ttslshape{10}{1000}{OT1TT}
|
|
+\setfont\ssecsf\sfbshape{10}{1000}{OT1}
|
|
+\let\ssecbf\ssecrm
|
|
+\setfont\ssecsc\scbshape{10}{1000}{OT1}
|
|
+\font\sseci=cmmi10
|
|
+\font\ssecsy=cmsy10
|
|
+\def\ssececsize{1000}
|
|
+
|
|
+% Reduced fonts for @acro in text (9pt).
|
|
+\def\reducednominalsize{9pt}
|
|
+\setfont\reducedrm\rmshape{9}{1000}{OT1}
|
|
+\setfont\reducedtt\ttshape{9}{1000}{OT1TT}
|
|
+\setfont\reducedbf\bfshape{10}{900}{OT1}
|
|
+\setfont\reducedit\itshape{9}{1000}{OT1IT}
|
|
+\setfont\reducedsl\slshape{9}{1000}{OT1}
|
|
+\setfont\reducedsf\sfshape{9}{1000}{OT1}
|
|
+\setfont\reducedsc\scshape{10}{900}{OT1}
|
|
+\setfont\reducedttsl\ttslshape{10}{900}{OT1TT}
|
|
+\font\reducedi=cmmi9
|
|
+\font\reducedsy=cmsy9
|
|
+\def\reducedecsize{0900}
|
|
+
|
|
+% reduce space between paragraphs
|
|
+\divide\parskip by 2
|
|
+
|
|
+% reset the current fonts
|
|
+\textfonts
|
|
+\rm
|
|
+} % end of 10pt text font size definitions
|
|
+
|
|
+
|
|
+% We provide the user-level command
|
|
+% @fonttextsize 10
|
|
+% (or 11) to redefine the text font size. pt is assumed.
|
|
+%
|
|
+\def\xword{10}
|
|
+\def\xiword{11}
|
|
+%
|
|
+\parseargdef\fonttextsize{%
|
|
+ \def\textsizearg{#1}%
|
|
+ \wlog{doing @fonttextsize \textsizearg}%
|
|
+ %
|
|
+ % Set \globaldefs so that documents can use this inside @tex, since
|
|
+ % makeinfo 4.8 does not support it, but we need it nonetheless.
|
|
+ %
|
|
+ \begingroup \globaldefs=1
|
|
+ \ifx\textsizearg\xword \definetextfontsizex
|
|
+ \else \ifx\textsizearg\xiword \definetextfontsizexi
|
|
+ \else
|
|
+ \errhelp=\EMsimple
|
|
+ \errmessage{@fonttextsize only supports `10' or `11', not `\textsizearg'}
|
|
+ \fi\fi
|
|
+ \endgroup
|
|
+}
|
|
+
|
|
|
|
% In order for the font changes to affect most math symbols and letters,
|
|
% we have to define the \textfont of the standard families. Since
|
|
@@ -1596,18 +2286,19 @@ where each line of input produces a line of output.}
|
|
% of just \STYLE. We do this because \STYLE needs to also set the
|
|
% current \fam for math mode. Our \STYLE (e.g., \rm) commands hardwire
|
|
% \tenSTYLE to set the current font.
|
|
-%
|
|
+%
|
|
% Each font-changing command also sets the names \lsize (one size lower)
|
|
% and \lllsize (three sizes lower). These relative commands are used in
|
|
% the LaTeX logo and acronyms.
|
|
-%
|
|
+%
|
|
% This all needs generalizing, badly.
|
|
-%
|
|
+%
|
|
\def\textfonts{%
|
|
\let\tenrm=\textrm \let\tenit=\textit \let\tensl=\textsl
|
|
\let\tenbf=\textbf \let\tentt=\texttt \let\smallcaps=\textsc
|
|
\let\tensf=\textsf \let\teni=\texti \let\tensy=\textsy
|
|
\let\tenttsl=\textttsl
|
|
+ \def\curfontsize{text}%
|
|
\def\lsize{reduced}\def\lllsize{smaller}%
|
|
\resetmathfonts \setleading{\textleading}}
|
|
\def\titlefonts{%
|
|
@@ -1615,13 +2306,16 @@ where each line of input produces a line of output.}
|
|
\let\tenbf=\titlebf \let\tentt=\titlett \let\smallcaps=\titlesc
|
|
\let\tensf=\titlesf \let\teni=\titlei \let\tensy=\titlesy
|
|
\let\tenttsl=\titlettsl
|
|
+ \def\curfontsize{title}%
|
|
\def\lsize{chap}\def\lllsize{subsec}%
|
|
\resetmathfonts \setleading{25pt}}
|
|
-\def\titlefont#1{{\titlefonts\rm #1}}
|
|
+\def\titlefont#1{{\titlefonts\rmisbold #1}}
|
|
\def\chapfonts{%
|
|
\let\tenrm=\chaprm \let\tenit=\chapit \let\tensl=\chapsl
|
|
\let\tenbf=\chapbf \let\tentt=\chaptt \let\smallcaps=\chapsc
|
|
- \let\tensf=\chapsf \let\teni=\chapi \let\tensy=\chapsy \let\tenttsl=\chapttsl
|
|
+ \let\tensf=\chapsf \let\teni=\chapi \let\tensy=\chapsy
|
|
+ \let\tenttsl=\chapttsl
|
|
+ \def\curfontsize{chap}%
|
|
\def\lsize{sec}\def\lllsize{text}%
|
|
\resetmathfonts \setleading{19pt}}
|
|
\def\secfonts{%
|
|
@@ -1629,6 +2323,7 @@ where each line of input produces a line of output.}
|
|
\let\tenbf=\secbf \let\tentt=\sectt \let\smallcaps=\secsc
|
|
\let\tensf=\secsf \let\teni=\seci \let\tensy=\secsy
|
|
\let\tenttsl=\secttsl
|
|
+ \def\curfontsize{sec}%
|
|
\def\lsize{subsec}\def\lllsize{reduced}%
|
|
\resetmathfonts \setleading{16pt}}
|
|
\def\subsecfonts{%
|
|
@@ -1636,6 +2331,7 @@ where each line of input produces a line of output.}
|
|
\let\tenbf=\ssecbf \let\tentt=\ssectt \let\smallcaps=\ssecsc
|
|
\let\tensf=\ssecsf \let\teni=\sseci \let\tensy=\ssecsy
|
|
\let\tenttsl=\ssecttsl
|
|
+ \def\curfontsize{ssec}%
|
|
\def\lsize{text}\def\lllsize{small}%
|
|
\resetmathfonts \setleading{15pt}}
|
|
\let\subsubsecfonts = \subsecfonts
|
|
@@ -1644,6 +2340,7 @@ where each line of input produces a line of output.}
|
|
\let\tenbf=\reducedbf \let\tentt=\reducedtt \let\reducedcaps=\reducedsc
|
|
\let\tensf=\reducedsf \let\teni=\reducedi \let\tensy=\reducedsy
|
|
\let\tenttsl=\reducedttsl
|
|
+ \def\curfontsize{reduced}%
|
|
\def\lsize{small}\def\lllsize{smaller}%
|
|
\resetmathfonts \setleading{10.5pt}}
|
|
\def\smallfonts{%
|
|
@@ -1651,6 +2348,7 @@ where each line of input produces a line of output.}
|
|
\let\tenbf=\smallbf \let\tentt=\smalltt \let\smallcaps=\smallsc
|
|
\let\tensf=\smallsf \let\teni=\smalli \let\tensy=\smallsy
|
|
\let\tenttsl=\smallttsl
|
|
+ \def\curfontsize{small}%
|
|
\def\lsize{smaller}\def\lllsize{smaller}%
|
|
\resetmathfonts \setleading{10.5pt}}
|
|
\def\smallerfonts{%
|
|
@@ -1658,9 +2356,20 @@ where each line of input produces a line of output.}
|
|
\let\tenbf=\smallerbf \let\tentt=\smallertt \let\smallcaps=\smallersc
|
|
\let\tensf=\smallersf \let\teni=\smalleri \let\tensy=\smallersy
|
|
\let\tenttsl=\smallerttsl
|
|
+ \def\curfontsize{smaller}%
|
|
\def\lsize{smaller}\def\lllsize{smaller}%
|
|
\resetmathfonts \setleading{9.5pt}}
|
|
|
|
+% Fonts for short table of contents.
|
|
+\setfont\shortcontrm\rmshape{12}{1000}{OT1}
|
|
+\setfont\shortcontbf\bfshape{10}{\magstep1}{OT1} % no cmb12
|
|
+\setfont\shortcontsl\slshape{12}{1000}{OT1}
|
|
+\setfont\shortconttt\ttshape{12}{1000}{OT1TT}
|
|
+
|
|
+% Define these just so they can be easily changed for other fonts.
|
|
+\def\angleleft{$\langle$}
|
|
+\def\angleright{$\rangle$}
|
|
+
|
|
% Set the fonts to use with the @small... environments.
|
|
\let\smallexamplefonts = \smallfonts
|
|
|
|
@@ -1674,28 +2383,128 @@ where each line of input produces a line of output.}
|
|
%
|
|
% By the way, for comparison, here's what fits with @example (10pt):
|
|
% 8.5x11=71 smallbook=60 a4=75 a5=58
|
|
-%
|
|
-% I wish the USA used A4 paper.
|
|
% --karl, 24jan03.
|
|
|
|
-
|
|
% Set up the default fonts, so we can use them for creating boxes.
|
|
%
|
|
-\textfonts \rm
|
|
+\definetextfontsizexi
|
|
|
|
-% Define these so they can be easily changed for other fonts.
|
|
-\def\angleleft{$\langle$}
|
|
-\def\angleright{$\rangle$}
|
|
+
|
|
+\message{markup,}
|
|
+
|
|
+% Check if we are currently using a typewriter font. Since all the
|
|
+% Computer Modern typewriter fonts have zero interword stretch (and
|
|
+% shrink), and it is reasonable to expect all typewriter fonts to have
|
|
+% this property, we can check that font parameter.
|
|
+%
|
|
+\def\ifmonospace{\ifdim\fontdimen3\font=0pt }
|
|
+
|
|
+% Markup style infrastructure. \defmarkupstylesetup\INITMACRO will
|
|
+% define and register \INITMACRO to be called on markup style changes.
|
|
+% \INITMACRO can check \currentmarkupstyle for the innermost
|
|
+% style and the set of \ifmarkupSTYLE switches for all styles
|
|
+% currently in effect.
|
|
+\newif\ifmarkupvar
|
|
+\newif\ifmarkupsamp
|
|
+\newif\ifmarkupkey
|
|
+%\newif\ifmarkupfile % @file == @samp.
|
|
+%\newif\ifmarkupoption % @option == @samp.
|
|
+\newif\ifmarkupcode
|
|
+\newif\ifmarkupkbd
|
|
+%\newif\ifmarkupenv % @env == @code.
|
|
+%\newif\ifmarkupcommand % @command == @code.
|
|
+\newif\ifmarkuptex % @tex (and part of @math, for now).
|
|
+\newif\ifmarkupexample
|
|
+\newif\ifmarkupverb
|
|
+\newif\ifmarkupverbatim
|
|
+
|
|
+\let\currentmarkupstyle\empty
|
|
+
|
|
+\def\setupmarkupstyle#1{%
|
|
+ \csname markup#1true\endcsname
|
|
+ \def\currentmarkupstyle{#1}%
|
|
+ \markupstylesetup
|
|
+}
|
|
+
|
|
+\let\markupstylesetup\empty
|
|
+
|
|
+\def\defmarkupstylesetup#1{%
|
|
+ \expandafter\def\expandafter\markupstylesetup
|
|
+ \expandafter{\markupstylesetup #1}%
|
|
+ \def#1%
|
|
+}
|
|
+
|
|
+% Markup style setup for left and right quotes.
|
|
+\defmarkupstylesetup\markupsetuplq{%
|
|
+ \expandafter\let\expandafter \temp \csname markupsetuplq\currentmarkupstyle\endcsname
|
|
+ \ifx\temp\relax \markupsetuplqdefault \else \temp \fi
|
|
+}
|
|
+
|
|
+\defmarkupstylesetup\markupsetuprq{%
|
|
+ \expandafter\let\expandafter \temp \csname markupsetuprq\currentmarkupstyle\endcsname
|
|
+ \ifx\temp\relax \markupsetuprqdefault \else \temp \fi
|
|
+}
|
|
+
|
|
+{
|
|
+\catcode`\'=\active
|
|
+\catcode`\`=\active
|
|
+
|
|
+\gdef\markupsetuplqdefault{\let`\lq}
|
|
+\gdef\markupsetuprqdefault{\let'\rq}
|
|
+
|
|
+\gdef\markupsetcodequoteleft{\let`\codequoteleft}
|
|
+\gdef\markupsetcodequoteright{\let'\codequoteright}
|
|
+
|
|
+\gdef\markupsetnoligaturesquoteleft{\let`\noligaturesquoteleft}
|
|
+}
|
|
+
|
|
+\let\markupsetuplqcode \markupsetcodequoteleft
|
|
+\let\markupsetuprqcode \markupsetcodequoteright
|
|
+\let\markupsetuplqexample \markupsetcodequoteleft
|
|
+\let\markupsetuprqexample \markupsetcodequoteright
|
|
+\let\markupsetuplqverb \markupsetcodequoteleft
|
|
+\let\markupsetuprqverb \markupsetcodequoteright
|
|
+\let\markupsetuplqverbatim \markupsetcodequoteleft
|
|
+\let\markupsetuprqverbatim \markupsetcodequoteright
|
|
+
|
|
+\let\markupsetuplqsamp \markupsetnoligaturesquoteleft
|
|
+\let\markupsetuplqkbd \markupsetnoligaturesquoteleft
|
|
+
|
|
+% Allow an option to not replace quotes with a regular directed right
|
|
+% quote/apostrophe (char 0x27), but instead use the undirected quote
|
|
+% from cmtt (char 0x0d). The undirected quote is ugly, so don't make it
|
|
+% the default, but it works for pasting with more pdf viewers (at least
|
|
+% evince), the lilypond developers report. xpdf does work with the
|
|
+% regular 0x27.
|
|
+%
|
|
+\def\codequoteright{%
|
|
+ \expandafter\ifx\csname SETtxicodequoteundirected\endcsname\relax
|
|
+ \expandafter\ifx\csname SETcodequoteundirected\endcsname\relax
|
|
+ '%
|
|
+ \else \char'15 \fi
|
|
+ \else \char'15 \fi
|
|
+}
|
|
+%
|
|
+% and a similar option for the left quote char vs. a grave accent.
|
|
+% Modern fonts display ASCII 0x60 as a grave accent, so some people like
|
|
+% the code environments to do likewise.
|
|
+%
|
|
+\def\codequoteleft{%
|
|
+ \expandafter\ifx\csname SETtxicodequotebacktick\endcsname\relax
|
|
+ \expandafter\ifx\csname SETcodequotebacktick\endcsname\relax
|
|
+ % [Knuth] pp. 380,381,391
|
|
+ % \relax disables Spanish ligatures ?` and !` of \tt font.
|
|
+ \relax`%
|
|
+ \else \char'22 \fi
|
|
+ \else \char'22 \fi
|
|
+}
|
|
+
|
|
+% [Knuth] pp. 380,381,391, disable Spanish ligatures ?` and !` of \tt font.
|
|
+\def\noligaturesquoteleft{\relax\lq}
|
|
|
|
% Count depth in font-changes, for error checks
|
|
\newcount\fontdepth \fontdepth=0
|
|
|
|
-% Fonts for short table of contents.
|
|
-\setfont\shortcontrm\rmshape{12}{1000}
|
|
-\setfont\shortcontbf\bfshape{10}{\magstep1} % no cmb12
|
|
-\setfont\shortcontsl\slshape{12}{1000}
|
|
-\setfont\shortconttt\ttshape{12}{1000}
|
|
-
|
|
%% Add scribe-like font environments, plus @l for inline lisp (usually sans
|
|
%% serif) and @ii for TeX italic
|
|
|
|
@@ -1710,18 +2519,28 @@ where each line of input produces a line of output.}
|
|
% @var is set to this for defun arguments.
|
|
\def\ttslanted#1{{\ttsl #1}\futurelet\next\smartitalicx}
|
|
|
|
-% like \smartslanted except unconditionally use \sl. We never want
|
|
+% @cite is like \smartslanted except unconditionally use \sl. We never want
|
|
% ttsl for book titles, do we?
|
|
\def\cite#1{{\sl #1}\futurelet\next\smartitalicx}
|
|
|
|
\let\i=\smartitalic
|
|
-\let\var=\smartslanted
|
|
+\let\slanted=\smartslanted
|
|
+\def\var#1{{\setupmarkupstyle{var}\smartslanted{#1}}}
|
|
\let\dfn=\smartslanted
|
|
\let\emph=\smartitalic
|
|
|
|
+% Explicit font changes: @r, @sc, undocumented @ii.
|
|
+\def\r#1{{\rm #1}} % roman font
|
|
+\def\sc#1{{\smallcaps#1}} % smallcaps font
|
|
+\def\ii#1{{\it #1}} % italic font
|
|
+
|
|
+% @b, explicit bold. Also @strong.
|
|
\def\b#1{{\bf #1}}
|
|
\let\strong=\b
|
|
|
|
+% @sansserif, explicit sans.
|
|
+\def\sansserif#1{{\sf #1}}
|
|
+
|
|
% We can't just use \exhyphenpenalty, because that only has effect at
|
|
% the end of a paragraph. Restore normal hyphenation at the end of the
|
|
% group within which \nohyphenation is presumably called.
|
|
@@ -1734,27 +2553,48 @@ where each line of input produces a line of output.}
|
|
% sometimes \x has an active definition that messes things up.
|
|
%
|
|
\catcode`@=11
|
|
- \def\frenchspacing{%
|
|
+ \def\plainfrenchspacing{%
|
|
\sfcode\dotChar =\@m \sfcode\questChar=\@m \sfcode\exclamChar=\@m
|
|
\sfcode\colonChar=\@m \sfcode\semiChar =\@m \sfcode\commaChar =\@m
|
|
+ \def\endofsentencespacefactor{1000}% for @. and friends
|
|
+ }
|
|
+ \def\plainnonfrenchspacing{%
|
|
+ \sfcode`\.3000\sfcode`\?3000\sfcode`\!3000
|
|
+ \sfcode`\:2000\sfcode`\;1500\sfcode`\,1250
|
|
+ \def\endofsentencespacefactor{3000}% for @. and friends
|
|
}
|
|
\catcode`@=\other
|
|
+\def\endofsentencespacefactor{3000}% default
|
|
|
|
+% @t, explicit typewriter.
|
|
\def\t#1{%
|
|
- {\tt \rawbackslash \frenchspacing #1}%
|
|
+ {\tt \rawbackslash \plainfrenchspacing #1}%
|
|
\null
|
|
}
|
|
-\def\samp#1{`\tclose{#1}'\null}
|
|
-\setfont\keyrm\rmshape{8}{1000}
|
|
-\font\keysy=cmsy9
|
|
-\def\key#1{{\keyrm\textfont2=\keysy \leavevmode\hbox{%
|
|
- \raise0.4pt\hbox{\angleleft}\kern-.08em\vtop{%
|
|
- \vbox{\hrule\kern-0.4pt
|
|
- \hbox{\raise0.4pt\hbox{\vphantom{\angleleft}}#1}}%
|
|
- \kern-0.4pt\hrule}%
|
|
- \kern-.06em\raise0.4pt\hbox{\angleright}}}}
|
|
-% The old definition, with no lozenge:
|
|
-%\def\key #1{{\ttsl \nohyphenation \uppercase{#1}}\null}
|
|
+
|
|
+% @samp.
|
|
+\def\samp#1{{\setupmarkupstyle{samp}\lq\tclose{#1}\rq\null}}
|
|
+
|
|
+% definition of @key that produces a lozenge. Doesn't adjust to text size.
|
|
+%\setfont\keyrm\rmshape{8}{1000}{OT1}
|
|
+%\font\keysy=cmsy9
|
|
+%\def\key#1{{\keyrm\textfont2=\keysy \leavevmode\hbox{%
|
|
+% \raise0.4pt\hbox{\angleleft}\kern-.08em\vtop{%
|
|
+% \vbox{\hrule\kern-0.4pt
|
|
+% \hbox{\raise0.4pt\hbox{\vphantom{\angleleft}}#1}}%
|
|
+% \kern-0.4pt\hrule}%
|
|
+% \kern-.06em\raise0.4pt\hbox{\angleright}}}}
|
|
+
|
|
+% definition of @key with no lozenge. If the current font is already
|
|
+% monospace, don't change it; that way, we respect @kbdinputstyle. But
|
|
+% if it isn't monospace, then use \tt.
|
|
+%
|
|
+\def\key#1{{\setupmarkupstyle{key}%
|
|
+ \nohyphenation
|
|
+ \ifmonospace\else\tt\fi
|
|
+ #1}\null}
|
|
+
|
|
+% ctrl is no longer a Texinfo command.
|
|
\def\ctrl #1{{\tt \rawbackslash \hat}#1}
|
|
|
|
% @file, @option are the same as @samp.
|
|
@@ -1778,7 +2618,7 @@ where each line of input produces a line of output.}
|
|
\nohyphenation
|
|
%
|
|
\rawbackslash
|
|
- \frenchspacing
|
|
+ \plainfrenchspacing
|
|
#1%
|
|
}%
|
|
\null
|
|
@@ -1794,12 +2634,21 @@ where each line of input produces a line of output.}
|
|
% and arrange explicitly to hyphenate at a dash.
|
|
% -- rms.
|
|
{
|
|
- \catcode`\-=\active
|
|
- \catcode`\_=\active
|
|
+ \catcode`\-=\active \catcode`\_=\active
|
|
+ \catcode`\'=\active \catcode`\`=\active
|
|
+ \global\let'=\rq \global\let`=\lq % default definitions
|
|
%
|
|
\global\def\code{\begingroup
|
|
- \catcode`\-=\active \let-\codedash
|
|
- \catcode`\_=\active \let_\codeunder
|
|
+ \setupmarkupstyle{code}%
|
|
+ % The following should really be moved into \setupmarkupstyle handlers.
|
|
+ \catcode\dashChar=\active \catcode\underChar=\active
|
|
+ \ifallowcodebreaks
|
|
+ \let-\codedash
|
|
+ \let_\codeunder
|
|
+ \else
|
|
+ \let-\realdash
|
|
+ \let_\realunder
|
|
+ \fi
|
|
\codex
|
|
}
|
|
}
|
|
@@ -1819,43 +2668,73 @@ where each line of input produces a line of output.}
|
|
}
|
|
\def\codex #1{\tclose{#1}\endgroup}
|
|
|
|
+% An additional complication: the above will allow breaks after, e.g.,
|
|
+% each of the four underscores in __typeof__. This is undesirable in
|
|
+% some manuals, especially if they don't have long identifiers in
|
|
+% general. @allowcodebreaks provides a way to control this.
|
|
+%
|
|
+\newif\ifallowcodebreaks \allowcodebreakstrue
|
|
+
|
|
+\def\keywordtrue{true}
|
|
+\def\keywordfalse{false}
|
|
+
|
|
+\parseargdef\allowcodebreaks{%
|
|
+ \def\txiarg{#1}%
|
|
+ \ifx\txiarg\keywordtrue
|
|
+ \allowcodebreakstrue
|
|
+ \else\ifx\txiarg\keywordfalse
|
|
+ \allowcodebreaksfalse
|
|
+ \else
|
|
+ \errhelp = \EMsimple
|
|
+ \errmessage{Unknown @allowcodebreaks option `\txiarg'}%
|
|
+ \fi\fi
|
|
+}
|
|
+
|
|
% @kbd is like @code, except that if the argument is just one @key command,
|
|
% then @kbd has no effect.
|
|
+\def\kbd#1{{\setupmarkupstyle{kbd}\def\look{#1}\expandafter\kbdfoo\look??\par}}
|
|
|
|
% @kbdinputstyle -- arg is `distinct' (@kbd uses slanted tty font always),
|
|
% `example' (@kbd uses ttsl only inside of @example and friends),
|
|
% or `code' (@kbd uses normal tty font always).
|
|
\parseargdef\kbdinputstyle{%
|
|
- \def\arg{#1}%
|
|
- \ifx\arg\worddistinct
|
|
+ \def\txiarg{#1}%
|
|
+ \ifx\txiarg\worddistinct
|
|
\gdef\kbdexamplefont{\ttsl}\gdef\kbdfont{\ttsl}%
|
|
- \else\ifx\arg\wordexample
|
|
+ \else\ifx\txiarg\wordexample
|
|
\gdef\kbdexamplefont{\ttsl}\gdef\kbdfont{\tt}%
|
|
- \else\ifx\arg\wordcode
|
|
+ \else\ifx\txiarg\wordcode
|
|
\gdef\kbdexamplefont{\tt}\gdef\kbdfont{\tt}%
|
|
\else
|
|
\errhelp = \EMsimple
|
|
- \errmessage{Unknown @kbdinputstyle option `\arg'}%
|
|
+ \errmessage{Unknown @kbdinputstyle option `\txiarg'}%
|
|
\fi\fi\fi
|
|
}
|
|
\def\worddistinct{distinct}
|
|
\def\wordexample{example}
|
|
\def\wordcode{code}
|
|
|
|
-% Default is `distinct.'
|
|
+% Default is `distinct'.
|
|
\kbdinputstyle distinct
|
|
|
|
\def\xkey{\key}
|
|
\def\kbdfoo#1#2#3\par{\def\one{#1}\def\three{#3}\def\threex{??}%
|
|
\ifx\one\xkey\ifx\threex\three \key{#2}%
|
|
-\else{\tclose{\kbdfont\look}}\fi
|
|
-\else{\tclose{\kbdfont\look}}\fi}
|
|
+\else{\tclose{\kbdfont\setupmarkupstyle{kbd}\look}}\fi
|
|
+\else{\tclose{\kbdfont\setupmarkupstyle{kbd}\look}}\fi}
|
|
|
|
% For @indicateurl, @env, @command quotes seem unnecessary, so use \code.
|
|
\let\indicateurl=\code
|
|
\let\env=\code
|
|
\let\command=\code
|
|
|
|
+% @clicksequence{File @click{} Open ...}
|
|
+\def\clicksequence#1{\begingroup #1\endgroup}
|
|
+
|
|
+% @clickstyle @arrow (by default)
|
|
+\parseargdef\clickstyle{\def\click{#1}}
|
|
+\def\click{\arrow}
|
|
+
|
|
% @uref (abbreviation for `urlref') takes an optional (comma-separated)
|
|
% second argument specifying the text to display and an optional third
|
|
% arg as text to display instead of (rather than in addition to) the url
|
|
@@ -1885,7 +2764,7 @@ where each line of input produces a line of output.}
|
|
\endgroup}
|
|
|
|
% @url synonym for @uref, since that's how everyone uses it.
|
|
-%
|
|
+%
|
|
\let\url=\uref
|
|
|
|
% rms does not like angle brackets --karl, 17may97.
|
|
@@ -1905,30 +2784,20 @@ where each line of input produces a line of output.}
|
|
\let\email=\uref
|
|
\fi
|
|
|
|
-% Check if we are currently using a typewriter font. Since all the
|
|
-% Computer Modern typewriter fonts have zero interword stretch (and
|
|
-% shrink), and it is reasonable to expect all typewriter fonts to have
|
|
-% this property, we can check that font parameter.
|
|
-%
|
|
-\def\ifmonospace{\ifdim\fontdimen3\font=0pt }
|
|
-
|
|
% Typeset a dimension, e.g., `in' or `pt'. The only reason for the
|
|
% argument is to make the input look right: @dmn{pt} instead of @dmn{}pt.
|
|
%
|
|
\def\dmn#1{\thinspace #1}
|
|
|
|
-\def\kbd#1{\def\look{#1}\expandafter\kbdfoo\look??\par}
|
|
-
|
|
% @l was never documented to mean ``switch to the Lisp font'',
|
|
% and it is not used as such in any manual I can find. We need it for
|
|
% Polish suppressed-l. --karl, 22sep96.
|
|
%\def\l#1{{\li #1}\null}
|
|
|
|
-% Explicit font changes: @r, @sc, undocumented @ii.
|
|
-\def\r#1{{\rm #1}} % roman font
|
|
-\def\sc#1{{\smallcaps#1}} % smallcaps font
|
|
-\def\ii#1{{\it #1}} % italic font
|
|
-
|
|
+% @acronym for "FBI", "NATO", and the like.
|
|
+% We print this one point size smaller, since it's intended for
|
|
+% all-uppercase.
|
|
+%
|
|
\def\acronym#1{\doacronym #1,,\finish}
|
|
\def\doacronym#1,#2,#3\finish{%
|
|
{\selectfonts\lsize #1}%
|
|
@@ -1938,10 +2807,172 @@ where each line of input produces a line of output.}
|
|
\fi
|
|
}
|
|
|
|
-% @pounds{} is a sterling sign, which is in the CM italic font.
|
|
-%
|
|
+% @abbr for "Comput. J." and the like.
|
|
+% No font change, but don't do end-of-sentence spacing.
|
|
+%
|
|
+\def\abbr#1{\doabbr #1,,\finish}
|
|
+\def\doabbr#1,#2,#3\finish{%
|
|
+ {\plainfrenchspacing #1}%
|
|
+ \def\temp{#2}%
|
|
+ \ifx\temp\empty \else
|
|
+ \space ({\unsepspaces \ignorespaces \temp \unskip})%
|
|
+ \fi
|
|
+}
|
|
+
|
|
+
|
|
+\message{glyphs,}
|
|
+
|
|
+% @point{}, @result{}, @expansion{}, @print{}, @equiv{}.
|
|
+%
|
|
+% Since these characters are used in examples, they should be an even number of
|
|
+% \tt widths. Each \tt character is 1en, so two makes it 1em.
|
|
+%
|
|
+\def\point{$\star$}
|
|
+\def\arrow{\leavevmode\raise.05ex\hbox to 1em{\hfil$\rightarrow$\hfil}}
|
|
+\def\result{\leavevmode\raise.05ex\hbox to 1em{\hfil$\Rightarrow$\hfil}}
|
|
+\def\expansion{\leavevmode\hbox to 1em{\hfil$\mapsto$\hfil}}
|
|
+\def\print{\leavevmode\lower.1ex\hbox to 1em{\hfil$\dashv$\hfil}}
|
|
+\def\equiv{\leavevmode\hbox to 1em{\hfil$\ptexequiv$\hfil}}
|
|
+
|
|
+% The @error{} command.
|
|
+% Adapted from the TeXbook's \boxit.
|
|
+%
|
|
+\newbox\errorbox
|
|
+%
|
|
+{\tentt \global\dimen0 = 3em}% Width of the box.
|
|
+\dimen2 = .55pt % Thickness of rules
|
|
+% The text. (`r' is open on the right, `e' somewhat less so on the left.)
|
|
+\setbox0 = \hbox{\kern-.75pt \reducedsf error\kern-1.5pt}
|
|
+%
|
|
+\setbox\errorbox=\hbox to \dimen0{\hfil
|
|
+ \hsize = \dimen0 \advance\hsize by -5.8pt % Space to left+right.
|
|
+ \advance\hsize by -2\dimen2 % Rules.
|
|
+ \vbox{%
|
|
+ \hrule height\dimen2
|
|
+ \hbox{\vrule width\dimen2 \kern3pt % Space to left of text.
|
|
+ \vtop{\kern2.4pt \box0 \kern2.4pt}% Space above/below.
|
|
+ \kern3pt\vrule width\dimen2}% Space to right.
|
|
+ \hrule height\dimen2}
|
|
+ \hfil}
|
|
+%
|
|
+\def\error{\leavevmode\lower.7ex\copy\errorbox}
|
|
+
|
|
+% @pounds{} is a sterling sign, which Knuth put in the CM italic font.
|
|
+%
|
|
\def\pounds{{\it\$}}
|
|
|
|
+% @euro{} comes from a separate font, depending on the current style.
|
|
+% We use the free feym* fonts from the eurosym package by Henrik
|
|
+% Theiling, which support regular, slanted, bold and bold slanted (and
|
|
+% "outlined" (blackboard board, sort of) versions, which we don't need).
|
|
+% It is available from http://www.ctan.org/tex-archive/fonts/eurosym.
|
|
+%
|
|
+% Although only regular is the truly official Euro symbol, we ignore
|
|
+% that. The Euro is designed to be slightly taller than the regular
|
|
+% font height.
|
|
+%
|
|
+% feymr - regular
|
|
+% feymo - slanted
|
|
+% feybr - bold
|
|
+% feybo - bold slanted
|
|
+%
|
|
+% There is no good (free) typewriter version, to my knowledge.
|
|
+% A feymr10 euro is ~7.3pt wide, while a normal cmtt10 char is ~5.25pt wide.
|
|
+% Hmm.
|
|
+%
|
|
+% Also doesn't work in math. Do we need to do math with euro symbols?
|
|
+% Hope not.
|
|
+%
|
|
+%
|
|
+\def\euro{{\eurofont e}}
|
|
+\def\eurofont{%
|
|
+ % We set the font at each command, rather than predefining it in
|
|
+ % \textfonts and the other font-switching commands, so that
|
|
+ % installations which never need the symbol don't have to have the
|
|
+ % font installed.
|
|
+ %
|
|
+ % There is only one designed size (nominal 10pt), so we always scale
|
|
+ % that to the current nominal size.
|
|
+ %
|
|
+ % By the way, simply using "at 1em" works for cmr10 and the like, but
|
|
+ % does not work for cmbx10 and other extended/shrunken fonts.
|
|
+ %
|
|
+ \def\eurosize{\csname\curfontsize nominalsize\endcsname}%
|
|
+ %
|
|
+ \ifx\curfontstyle\bfstylename
|
|
+ % bold:
|
|
+ \font\thiseurofont = \ifusingit{feybo10}{feybr10} at \eurosize
|
|
+ \else
|
|
+ % regular:
|
|
+ \font\thiseurofont = \ifusingit{feymo10}{feymr10} at \eurosize
|
|
+ \fi
|
|
+ \thiseurofont
|
|
+}
|
|
+
|
|
+% Glyphs from the EC fonts. We don't use \let for the aliases, because
|
|
+% sometimes we redefine the original macro, and the alias should reflect
|
|
+% the redefinition.
|
|
+%
|
|
+% Use LaTeX names for the Icelandic letters.
|
|
+\def\DH{{\ecfont \char"D0}} % Eth
|
|
+\def\dh{{\ecfont \char"F0}} % eth
|
|
+\def\TH{{\ecfont \char"DE}} % Thorn
|
|
+\def\th{{\ecfont \char"FE}} % thorn
|
|
+%
|
|
+\def\guillemetleft{{\ecfont \char"13}}
|
|
+\def\guillemotleft{\guillemetleft}
|
|
+\def\guillemetright{{\ecfont \char"14}}
|
|
+\def\guillemotright{\guillemetright}
|
|
+\def\guilsinglleft{{\ecfont \char"0E}}
|
|
+\def\guilsinglright{{\ecfont \char"0F}}
|
|
+\def\quotedblbase{{\ecfont \char"12}}
|
|
+\def\quotesinglbase{{\ecfont \char"0D}}
|
|
+%
|
|
+% This positioning is not perfect (see the ogonek LaTeX package), but
|
|
+% we have the precomposed glyphs for the most common cases. We put the
|
|
+% tests to use those glyphs in the single \ogonek macro so we have fewer
|
|
+% dummy definitions to worry about for index entries, etc.
|
|
+%
|
|
+% ogonek is also used with other letters in Lithuanian (IOU), but using
|
|
+% the precomposed glyphs for those is not so easy since they aren't in
|
|
+% the same EC font.
|
|
+\def\ogonek#1{{%
|
|
+ \def\temp{#1}%
|
|
+ \ifx\temp\macrocharA\Aogonek
|
|
+ \else\ifx\temp\macrochara\aogonek
|
|
+ \else\ifx\temp\macrocharE\Eogonek
|
|
+ \else\ifx\temp\macrochare\eogonek
|
|
+ \else
|
|
+ \ecfont \setbox0=\hbox{#1}%
|
|
+ \ifdim\ht0=1ex\accent"0C #1%
|
|
+ \else\ooalign{\unhbox0\crcr\hidewidth\char"0C \hidewidth}%
|
|
+ \fi
|
|
+ \fi\fi\fi\fi
|
|
+ }%
|
|
+}
|
|
+\def\Aogonek{{\ecfont \char"81}}\def\macrocharA{A}
|
|
+\def\aogonek{{\ecfont \char"A1}}\def\macrochara{a}
|
|
+\def\Eogonek{{\ecfont \char"86}}\def\macrocharE{E}
|
|
+\def\eogonek{{\ecfont \char"A6}}\def\macrochare{e}
|
|
+%
|
|
+% Use the ec* fonts (cm-super in outline format) for non-CM glyphs.
|
|
+\def\ecfont{%
|
|
+ % We can't distinguish serif/sans and italic/slanted, but this
|
|
+ % is used for crude hacks anyway (like adding French and German
|
|
+ % quotes to documents typeset with CM, where we lose kerning), so
|
|
+ % hopefully nobody will notice/care.
|
|
+ \edef\ecsize{\csname\curfontsize ecsize\endcsname}%
|
|
+ \edef\nominalsize{\csname\curfontsize nominalsize\endcsname}%
|
|
+ \ifx\curfontstyle\bfstylename
|
|
+ % bold:
|
|
+ \font\thisecfont = ecb\ifusingit{i}{x}\ecsize \space at \nominalsize
|
|
+ \else
|
|
+ % regular:
|
|
+ \font\thisecfont = ec\ifusingit{ti}{rm}\ecsize \space at \nominalsize
|
|
+ \fi
|
|
+ \thisecfont
|
|
+}
|
|
+
|
|
% @registeredsymbol - R in a circle. The font for the R should really
|
|
% be smaller yet, but lllsize is the best we can do for now.
|
|
% Adapted from the plain.tex definition of \copyright.
|
|
@@ -1952,6 +2983,24 @@ where each line of input produces a line of output.}
|
|
}$%
|
|
}
|
|
|
|
+% @textdegree - the normal degrees sign.
|
|
+%
|
|
+\def\textdegree{$^\circ$}
|
|
+
|
|
+% Laurent Siebenmann reports \Orb undefined with:
|
|
+% Textures 1.7.7 (preloaded format=plain 93.10.14) (68K) 16 APR 2004 02:38
|
|
+% so we'll define it if necessary.
|
|
+%
|
|
+\ifx\Orb\undefined
|
|
+\def\Orb{\mathhexbox20D}
|
|
+\fi
|
|
+
|
|
+% Quotes.
|
|
+\chardef\quotedblleft="5C
|
|
+\chardef\quotedblright=`\"
|
|
+\chardef\quoteleft=`\`
|
|
+\chardef\quoteright=`\'
|
|
+
|
|
|
|
\message{page headings,}
|
|
|
|
@@ -2036,12 +3085,9 @@ where each line of input produces a line of output.}
|
|
\let\subtitlerm=\tenrm
|
|
\def\subtitlefont{\subtitlerm \normalbaselineskip = 13pt \normalbaselines}
|
|
|
|
-\def\authorfont{\authorrm \normalbaselineskip = 16pt \normalbaselines
|
|
- \let\tt=\authortt}
|
|
-
|
|
\parseargdef\title{%
|
|
\checkenv\titlepage
|
|
- \leftline{\titlefonts\rm #1}
|
|
+ \leftline{\titlefonts\rmisbold #1}
|
|
% print a rule at the page bottom also.
|
|
\finishedtitlepagefalse
|
|
\vskip4pt \hrule height 4pt width \hsize \vskip4pt
|
|
@@ -2054,7 +3100,7 @@ where each line of input produces a line of output.}
|
|
|
|
% @author should come last, but may come many times.
|
|
% It can also be used inside @quotation.
|
|
-%
|
|
+%
|
|
\parseargdef\author{%
|
|
\def\temp{\quotation}%
|
|
\ifx\thisenv\temp
|
|
@@ -2062,7 +3108,7 @@ where each line of input produces a line of output.}
|
|
\else
|
|
\checkenv\titlepage
|
|
\ifseenauthor\else \vskip 0pt plus 1filll \seenauthortrue \fi
|
|
- {\authorfont \leftline{#1}}%
|
|
+ {\secfonts\rmisbold \leftline{#1}}%
|
|
\fi
|
|
}
|
|
|
|
@@ -2115,12 +3161,39 @@ where each line of input produces a line of output.}
|
|
%
|
|
% Leave some space for the footline. Hopefully ok to assume
|
|
% @evenfooting will not be used by itself.
|
|
- \global\advance\pageheight by -\baselineskip
|
|
- \global\advance\vsize by -\baselineskip
|
|
+ \global\advance\pageheight by -12pt
|
|
+ \global\advance\vsize by -12pt
|
|
}
|
|
|
|
\parseargdef\everyfooting{\oddfootingxxx{#1}\evenfootingxxx{#1}}
|
|
|
|
+% @evenheadingmarks top \thischapter <- chapter at the top of a page
|
|
+% @evenheadingmarks bottom \thischapter <- chapter at the bottom of a page
|
|
+%
|
|
+% The same set of arguments for:
|
|
+%
|
|
+% @oddheadingmarks
|
|
+% @evenfootingmarks
|
|
+% @oddfootingmarks
|
|
+% @everyheadingmarks
|
|
+% @everyfootingmarks
|
|
+
|
|
+\def\evenheadingmarks{\headingmarks{even}{heading}}
|
|
+\def\oddheadingmarks{\headingmarks{odd}{heading}}
|
|
+\def\evenfootingmarks{\headingmarks{even}{footing}}
|
|
+\def\oddfootingmarks{\headingmarks{odd}{footing}}
|
|
+\def\everyheadingmarks#1 {\headingmarks{even}{heading}{#1}
|
|
+ \headingmarks{odd}{heading}{#1} }
|
|
+\def\everyfootingmarks#1 {\headingmarks{even}{footing}{#1}
|
|
+ \headingmarks{odd}{footing}{#1} }
|
|
+% #1 = even/odd, #2 = heading/footing, #3 = top/bottom.
|
|
+\def\headingmarks#1#2#3 {%
|
|
+ \expandafter\let\expandafter\temp \csname get#3headingmarks\endcsname
|
|
+ \global\expandafter\let\csname get#1#2marks\endcsname \temp
|
|
+}
|
|
+
|
|
+\everyheadingmarks bottom
|
|
+\everyfootingmarks bottom
|
|
|
|
% @headings double turns headings on for double-sided printing.
|
|
% @headings single turns headings on for single-sided printing.
|
|
@@ -2257,17 +3330,13 @@ where each line of input produces a line of output.}
|
|
% \parskip glue -- logically it's part of the @item we just started.
|
|
\nobreak \vskip-\parskip
|
|
%
|
|
- % Stop a page break at the \parskip glue coming up. (Unfortunately
|
|
- % we can't prevent a possible page break at the following
|
|
- % \baselineskip glue.) However, if what follows is an environment
|
|
- % such as @example, there will be no \parskip glue; then
|
|
- % the negative vskip we just would cause the example and the item to
|
|
- % crash together. So we use this bizarre value of 10001 as a signal
|
|
- % to \aboveenvbreak to insert \parskip glue after all.
|
|
- % (Possibly there are other commands that could be followed by
|
|
- % @example which need the same treatment, but not section titles; or
|
|
- % maybe section titles are the only special case and they should be
|
|
- % penalty 10001...)
|
|
+ % Stop a page break at the \parskip glue coming up. However, if
|
|
+ % what follows is an environment such as @example, there will be no
|
|
+ % \parskip glue; then the negative vskip we just inserted would
|
|
+ % cause the example and the item to crash together. So we use this
|
|
+ % bizarre value of 10001 as a signal to \aboveenvbreak to insert
|
|
+ % \parskip glue after all. Section titles are handled this way also.
|
|
+ %
|
|
\penalty 10001
|
|
\endgroup
|
|
\itemxneedsnegativevskipfalse
|
|
@@ -2293,15 +3362,26 @@ where each line of input produces a line of output.}
|
|
% @table, @ftable, @vtable.
|
|
\envdef\table{%
|
|
\let\itemindex\gobble
|
|
- \tablex
|
|
+ \tablecheck{table}%
|
|
}
|
|
\envdef\ftable{%
|
|
\def\itemindex ##1{\doind {fn}{\code{##1}}}%
|
|
- \tablex
|
|
+ \tablecheck{ftable}%
|
|
}
|
|
\envdef\vtable{%
|
|
\def\itemindex ##1{\doind {vr}{\code{##1}}}%
|
|
- \tablex
|
|
+ \tablecheck{vtable}%
|
|
+}
|
|
+\def\tablecheck#1{%
|
|
+ \ifnum \the\catcode`\^^M=\active
|
|
+ \endgroup
|
|
+ \errmessage{This command won't work in this context; perhaps the problem is
|
|
+ that we are \inenvironment\thisenv}%
|
|
+ \def\next{\doignore{#1}}%
|
|
+ \else
|
|
+ \let\next\tablex
|
|
+ \fi
|
|
+ \next
|
|
}
|
|
\def\tablex#1{%
|
|
\def\itemindicate{#1}%
|
|
@@ -2350,9 +3430,18 @@ where each line of input produces a line of output.}
|
|
\parindent=0pt
|
|
\parskip=\smallskipamount
|
|
\ifdim\parskip=0pt \parskip=2pt \fi
|
|
+ %
|
|
+ % Try typesetting the item mark that if the document erroneously says
|
|
+ % something like @itemize @samp (intending @table), there's an error
|
|
+ % right away at the @itemize. It's not the best error message in the
|
|
+ % world, but it's better than leaving it to the @item. This means if
|
|
+ % the user wants an empty mark, they have to say @w{} not just @w.
|
|
\def\itemcontents{#1}%
|
|
+ \setbox0 = \hbox{\itemcontents}%
|
|
+ %
|
|
% @itemize with no arg is equivalent to @itemize @bullet.
|
|
\ifx\itemcontents\empty\def\itemcontents{\bullet}\fi
|
|
+ %
|
|
\let\item=\itemizeitem
|
|
}
|
|
|
|
@@ -2373,6 +3462,7 @@ where each line of input produces a line of output.}
|
|
\ifnum\lastpenalty<10000 \parskip=0in \fi
|
|
\noindent
|
|
\hbox to 0pt{\hss \itemcontents \kern\itemmargin}%
|
|
+ %
|
|
\vadjust{\penalty 1200}}% not good to break after first line of item.
|
|
\flushcr
|
|
}
|
|
@@ -2554,7 +3644,7 @@ where each line of input produces a line of output.}
|
|
|
|
% #1 is the @columnfraction, usually a decimal number like .5, but might
|
|
% be just 1. We just use it, whatever it is.
|
|
-%
|
|
+%
|
|
\def\pickupwholefraction#1 {%
|
|
\global\advance\colcount by 1
|
|
\expandafter\xdef\csname col\the\colcount\endcsname{#1\hsize}%
|
|
@@ -2594,12 +3684,19 @@ where each line of input produces a line of output.}
|
|
%
|
|
% @headitem starts a heading row, which we typeset in bold.
|
|
% Assignments have to be global since we are inside the implicit group
|
|
-% of an alignment entry. Note that \everycr resets \everytab.
|
|
-\def\headitem{\checkenv\multitable \crcr \global\everytab={\bf}\the\everytab}%
|
|
+% of an alignment entry. \everycr resets \everytab so we don't have to
|
|
+% undo it ourselves.
|
|
+\def\headitemfont{\b}% for people to use in the template row; not changeable
|
|
+\def\headitem{%
|
|
+ \checkenv\multitable
|
|
+ \crcr
|
|
+ \global\everytab={\bf}% can't use \headitemfont since the parsing differs
|
|
+ \the\everytab % for the first item
|
|
+}%
|
|
%
|
|
% A \tab used to include \hskip1sp. But then the space in a template
|
|
% line is not enough. That is bad. So let's go back to just `&' until
|
|
-% we encounter the problem it was intended to solve again.
|
|
+% we again encounter the problem the 1sp was intended to solve.
|
|
% --karl, nathan@acm.org, 20apr99.
|
|
\def\tab{\checkenv\multitable &\the\everytab}%
|
|
|
|
@@ -2612,7 +3709,10 @@ where each line of input produces a line of output.}
|
|
\startsavinginserts
|
|
%
|
|
% @item within a multitable starts a normal row.
|
|
- \let\item\crcr
|
|
+ % We use \def instead of \let so that if one of the multitable entries
|
|
+ % contains an @itemize, we don't choke on the \item (seen as \crcr aka
|
|
+ % \endtemplate) expanding \doitemize.
|
|
+ \def\item{\crcr}%
|
|
%
|
|
\tolerance=9500
|
|
\hbadness=9500
|
|
@@ -2697,19 +3797,17 @@ where each line of input produces a line of output.}
|
|
\global\setpercentfalse
|
|
}
|
|
|
|
-\def\setmultitablespacing{% test to see if user has set \multitablelinespace.
|
|
-% If so, do nothing. If not, give it an appropriate dimension based on
|
|
-% current baselineskip.
|
|
+\def\setmultitablespacing{%
|
|
+ \def\multistrut{\strut}% just use the standard line spacing
|
|
+ %
|
|
+ % Compute \multitablelinespace (if not defined by user) for use in
|
|
+ % \multitableparskip calculation. We used define \multistrut based on
|
|
+ % this, but (ironically) that caused the spacing to be off.
|
|
+ % See bug-texinfo report from Werner Lemberg, 31 Oct 2004 12:52:20 +0100.
|
|
\ifdim\multitablelinespace=0pt
|
|
\setbox0=\vbox{X}\global\multitablelinespace=\the\baselineskip
|
|
\global\advance\multitablelinespace by-\ht0
|
|
-%% strut to put in table in case some entry doesn't have descenders,
|
|
-%% to keep lines equally spaced
|
|
-\let\multistrut = \strut
|
|
-\else
|
|
-%% FIXME: what is \box0 supposed to be?
|
|
-\gdef\multistrut{\vrule height\multitablelinespace depth\dp0
|
|
-width0pt\relax} \fi
|
|
+\fi
|
|
%% Test to see if parskip is larger than space between lines of
|
|
%% table. If not, do nothing.
|
|
%% If so, set to same dimension as multitablelinespace.
|
|
@@ -2767,6 +3865,7 @@ width0pt\relax} \fi
|
|
|
|
\def\doignore#1{\begingroup
|
|
% Scan in ``verbatim'' mode:
|
|
+ \obeylines
|
|
\catcode`\@ = \other
|
|
\catcode`\{ = \other
|
|
\catcode`\} = \other
|
|
@@ -2778,25 +3877,25 @@ width0pt\relax} \fi
|
|
\doignorecount = 0
|
|
%
|
|
% Swallow text until we reach the matching `@end #1'.
|
|
- \dodoignore {#1}%
|
|
+ \dodoignore{#1}%
|
|
}
|
|
|
|
{ \catcode`_=11 % We want to use \_STOP_ which cannot appear in texinfo source.
|
|
\obeylines %
|
|
%
|
|
\gdef\dodoignore#1{%
|
|
- % #1 contains the string `ifinfo'.
|
|
+ % #1 contains the command name as a string, e.g., `ifinfo'.
|
|
+ %
|
|
+ % Define a command to find the next `@end #1'.
|
|
+ \long\def\doignoretext##1^^M@end #1{%
|
|
+ \doignoretextyyy##1^^M@#1\_STOP_}%
|
|
%
|
|
- % Define a command to find the next `@end #1', which must be on a line
|
|
- % by itself.
|
|
- \long\def\doignoretext##1^^M@end #1{\doignoretextyyy##1^^M@#1\_STOP_}%
|
|
% And this command to find another #1 command, at the beginning of a
|
|
% line. (Otherwise, we would consider a line `@c @ifset', for
|
|
% example, to count as an @ifset for nesting.)
|
|
\long\def\doignoretextyyy##1^^M@#1##2\_STOP_{\doignoreyyy{##2}\_STOP_}%
|
|
%
|
|
% And now expand that command.
|
|
- \obeylines %
|
|
\doignoretext ^^M%
|
|
}%
|
|
}
|
|
@@ -2814,7 +3913,7 @@ width0pt\relax} \fi
|
|
}
|
|
|
|
% We have to swallow the remaining "\_STOP_".
|
|
-%
|
|
+%
|
|
\def\doignoretextzzz#1{%
|
|
\ifnum\doignorecount = 0 % We have just found the outermost @end.
|
|
\let\next\enddoignore
|
|
@@ -2826,7 +3925,12 @@ width0pt\relax} \fi
|
|
}
|
|
|
|
% Finish off ignored text.
|
|
-\def\enddoignore{\endgroup\ignorespaces}
|
|
+{ \obeylines%
|
|
+ % Ignore anything after the last `@end #1'; this matters in verbatim
|
|
+ % environments, where otherwise the newline after an ignored conditional
|
|
+ % would result in a blank line in the output.
|
|
+ \gdef\enddoignore#1^^M{\endgroup\ignorespaces}%
|
|
+}
|
|
|
|
|
|
% @set VAR sets the variable VAR to an empty value.
|
|
@@ -2939,9 +4043,8 @@ width0pt\relax} \fi
|
|
% Index generation facilities
|
|
|
|
% Define \newwrite to be identical to plain tex's \newwrite
|
|
-% except not \outer, so it can be used within \newindex.
|
|
-{\catcode`\@=11
|
|
-\gdef\newwrite{\alloc@7\write\chardef\sixt@@n}}
|
|
+% except not \outer, so it can be used within macros and \if's.
|
|
+\edef\newwrite{\makecsname{ptexnewwrite}}
|
|
|
|
% \newindex {foo} defines an index named foo.
|
|
% It automatically defines \fooindex such that
|
|
@@ -2992,11 +4095,11 @@ width0pt\relax} \fi
|
|
\def\dosynindex#1#2#3{%
|
|
% Only do \closeout if we haven't already done it, else we'll end up
|
|
% closing the target index.
|
|
- \expandafter \ifx\csname donesynindex#2\endcsname \undefined
|
|
+ \expandafter \ifx\csname donesynindex#2\endcsname \relax
|
|
% The \closeout helps reduce unnecessary open files; the limit on the
|
|
% Acorn RISC OS is a mere 16 files.
|
|
\expandafter\closeout\csname#2indfile\endcsname
|
|
- \expandafter\let\csname\donesynindex#2\endcsname = 1
|
|
+ \expandafter\let\csname donesynindex#2\endcsname = 1
|
|
\fi
|
|
% redefine \fooindfile:
|
|
\expandafter\let\expandafter\temp\expandafter=\csname#3indfile\endcsname
|
|
@@ -3027,41 +4130,50 @@ width0pt\relax} \fi
|
|
% we have to laboriously prevent expansion for those that we don't.
|
|
%
|
|
\def\indexdummies{%
|
|
+ \escapechar = `\\ % use backslash in output files.
|
|
\def\@{@}% change to @@ when we switch to @ as escape char in index files.
|
|
\def\ {\realbackslash\space }%
|
|
+ %
|
|
% Need these in case \tex is in effect and \{ is a \delimiter again.
|
|
% But can't use \lbracecmd and \rbracecmd because texindex assumes
|
|
% braces and backslashes are used only as delimiters.
|
|
\let\{ = \mylbrace
|
|
\let\} = \myrbrace
|
|
%
|
|
- % \definedummyword defines \#1 as \realbackslash #1\space, thus
|
|
- % effectively preventing its expansion. This is used only for control
|
|
- % words, not control letters, because the \space would be incorrect
|
|
- % for control characters, but is needed to separate the control word
|
|
- % from whatever follows.
|
|
+ % I don't entirely understand this, but when an index entry is
|
|
+ % generated from a macro call, the \endinput which \scanmacro inserts
|
|
+ % causes processing to be prematurely terminated. This is,
|
|
+ % apparently, because \indexsorttmp is fully expanded, and \endinput
|
|
+ % is an expandable command. The redefinition below makes \endinput
|
|
+ % disappear altogether for that purpose -- although logging shows that
|
|
+ % processing continues to some further point. On the other hand, it
|
|
+ % seems \endinput does not hurt in the printed index arg, since that
|
|
+ % is still getting written without apparent harm.
|
|
%
|
|
- % For control letters, we have \definedummyletter, which omits the
|
|
- % space.
|
|
+ % Sample source (mac-idx3.tex, reported by Graham Percival to
|
|
+ % help-texinfo, 22may06):
|
|
+ % @macro funindex {WORD}
|
|
+ % @findex xyz
|
|
+ % @end macro
|
|
+ % ...
|
|
+ % @funindex commtest
|
|
%
|
|
- % These can be used both for control words that take an argument and
|
|
- % those that do not. If it is followed by {arg} in the input, then
|
|
- % that will dutifully get written to the index (or wherever).
|
|
+ % The above is not enough to reproduce the bug, but it gives the flavor.
|
|
%
|
|
- \def\definedummyword##1{%
|
|
- \expandafter\def\csname ##1\endcsname{\realbackslash ##1\space}%
|
|
- }%
|
|
- \def\definedummyletter##1{%
|
|
- \expandafter\def\csname ##1\endcsname{\realbackslash ##1}%
|
|
- }%
|
|
+ % Sample whatsit resulting:
|
|
+ % .@write3{\entry{xyz}{@folio }{@code {xyz@endinput }}}
|
|
+ %
|
|
+ % So:
|
|
+ \let\endinput = \empty
|
|
%
|
|
% Do the redefinitions.
|
|
\commondummies
|
|
}
|
|
|
|
-% For the aux file, @ is the escape character. So we want to redefine
|
|
-% everything using @ instead of \realbackslash. When everything uses
|
|
-% @, this will be simpler.
|
|
+% For the aux and toc files, @ is the escape character. So we want to
|
|
+% redefine everything using @ as the escape character (instead of
|
|
+% \realbackslash, still used for index files). When everything uses @,
|
|
+% this will be simpler.
|
|
%
|
|
\def\atdummies{%
|
|
\def\@{@@}%
|
|
@@ -3069,144 +4181,169 @@ width0pt\relax} \fi
|
|
\let\{ = \lbraceatcmd
|
|
\let\} = \rbraceatcmd
|
|
%
|
|
- % (See comments in \indexdummies.)
|
|
- \def\definedummyword##1{%
|
|
- \expandafter\def\csname ##1\endcsname{@##1\space}%
|
|
- }%
|
|
- \def\definedummyletter##1{%
|
|
- \expandafter\def\csname ##1\endcsname{@##1}%
|
|
- }%
|
|
- %
|
|
% Do the redefinitions.
|
|
\commondummies
|
|
+ \otherbackslash
|
|
}
|
|
|
|
-% Called from \indexdummies and \atdummies. \definedummyword and
|
|
-% \definedummyletter must be defined first.
|
|
+% Called from \indexdummies and \atdummies.
|
|
%
|
|
\def\commondummies{%
|
|
%
|
|
- \normalturnoffactive
|
|
+ % \definedummyword defines \#1 as \string\#1\space, thus effectively
|
|
+ % preventing its expansion. This is used only for control% words,
|
|
+ % not control letters, because the \space would be incorrect for
|
|
+ % control characters, but is needed to separate the control word
|
|
+ % from whatever follows.
|
|
+ %
|
|
+ % For control letters, we have \definedummyletter, which omits the
|
|
+ % space.
|
|
+ %
|
|
+ % These can be used both for control words that take an argument and
|
|
+ % those that do not. If it is followed by {arg} in the input, then
|
|
+ % that will dutifully get written to the index (or wherever).
|
|
+ %
|
|
+ \def\definedummyword ##1{\def##1{\string##1\space}}%
|
|
+ \def\definedummyletter##1{\def##1{\string##1}}%
|
|
+ \let\definedummyaccent\definedummyletter
|
|
%
|
|
\commondummiesnofonts
|
|
%
|
|
- \definedummyletter{_}%
|
|
+ \definedummyletter\_%
|
|
%
|
|
% Non-English letters.
|
|
- \definedummyword{AA}%
|
|
- \definedummyword{AE}%
|
|
- \definedummyword{L}%
|
|
- \definedummyword{OE}%
|
|
- \definedummyword{O}%
|
|
- \definedummyword{aa}%
|
|
- \definedummyword{ae}%
|
|
- \definedummyword{l}%
|
|
- \definedummyword{oe}%
|
|
- \definedummyword{o}%
|
|
- \definedummyword{ss}%
|
|
- \definedummyword{exclamdown}%
|
|
- \definedummyword{questiondown}%
|
|
- \definedummyword{ordf}%
|
|
- \definedummyword{ordm}%
|
|
+ \definedummyword\AA
|
|
+ \definedummyword\AE
|
|
+ \definedummyword\DH
|
|
+ \definedummyword\L
|
|
+ \definedummyword\O
|
|
+ \definedummyword\OE
|
|
+ \definedummyword\TH
|
|
+ \definedummyword\aa
|
|
+ \definedummyword\ae
|
|
+ \definedummyword\dh
|
|
+ \definedummyword\exclamdown
|
|
+ \definedummyword\l
|
|
+ \definedummyword\o
|
|
+ \definedummyword\oe
|
|
+ \definedummyword\ordf
|
|
+ \definedummyword\ordm
|
|
+ \definedummyword\questiondown
|
|
+ \definedummyword\ss
|
|
+ \definedummyword\th
|
|
%
|
|
% Although these internal commands shouldn't show up, sometimes they do.
|
|
- \definedummyword{bf}%
|
|
- \definedummyword{gtr}%
|
|
- \definedummyword{hat}%
|
|
- \definedummyword{less}%
|
|
- \definedummyword{sf}%
|
|
- \definedummyword{sl}%
|
|
- \definedummyword{tclose}%
|
|
- \definedummyword{tt}%
|
|
- %
|
|
- \definedummyword{LaTeX}%
|
|
- \definedummyword{TeX}%
|
|
+ \definedummyword\bf
|
|
+ \definedummyword\gtr
|
|
+ \definedummyword\hat
|
|
+ \definedummyword\less
|
|
+ \definedummyword\sf
|
|
+ \definedummyword\sl
|
|
+ \definedummyword\tclose
|
|
+ \definedummyword\tt
|
|
+ %
|
|
+ \definedummyword\LaTeX
|
|
+ \definedummyword\TeX
|
|
%
|
|
% Assorted special characters.
|
|
- \definedummyword{bullet}%
|
|
- \definedummyword{copyright}%
|
|
- \definedummyword{registeredsymbol}%
|
|
- \definedummyword{dots}%
|
|
- \definedummyword{enddots}%
|
|
- \definedummyword{equiv}%
|
|
- \definedummyword{error}%
|
|
- \definedummyword{expansion}%
|
|
- \definedummyword{minus}%
|
|
- \definedummyword{pounds}%
|
|
- \definedummyword{point}%
|
|
- \definedummyword{print}%
|
|
- \definedummyword{result}%
|
|
+ \definedummyword\bullet
|
|
+ \definedummyword\comma
|
|
+ \definedummyword\copyright
|
|
+ \definedummyword\registeredsymbol
|
|
+ \definedummyword\dots
|
|
+ \definedummyword\enddots
|
|
+ \definedummyword\equiv
|
|
+ \definedummyword\error
|
|
+ \definedummyword\euro
|
|
+ \definedummyword\guillemetleft
|
|
+ \definedummyword\guillemetright
|
|
+ \definedummyword\guilsinglleft
|
|
+ \definedummyword\guilsinglright
|
|
+ \definedummyword\expansion
|
|
+ \definedummyword\minus
|
|
+ \definedummyword\ogonek
|
|
+ \definedummyword\pounds
|
|
+ \definedummyword\point
|
|
+ \definedummyword\print
|
|
+ \definedummyword\quotedblbase
|
|
+ \definedummyword\quotedblleft
|
|
+ \definedummyword\quotedblright
|
|
+ \definedummyword\quoteleft
|
|
+ \definedummyword\quoteright
|
|
+ \definedummyword\quotesinglbase
|
|
+ \definedummyword\result
|
|
+ \definedummyword\textdegree
|
|
+ %
|
|
+ % We want to disable all macros so that they are not expanded by \write.
|
|
+ \macrolist
|
|
+ %
|
|
+ \normalturnoffactive
|
|
%
|
|
% Handle some cases of @value -- where it does not contain any
|
|
% (non-fully-expandable) commands.
|
|
\makevalueexpandable
|
|
- %
|
|
- % Normal spaces, not active ones.
|
|
- \unsepspaces
|
|
- %
|
|
- % No macro expansion.
|
|
- \turnoffmacros
|
|
}
|
|
|
|
% \commondummiesnofonts: common to \commondummies and \indexnofonts.
|
|
%
|
|
-% Better have this without active chars.
|
|
-{
|
|
- \catcode`\~=\other
|
|
- \gdef\commondummiesnofonts{%
|
|
- % Control letters and accents.
|
|
- \definedummyletter{!}%
|
|
- \definedummyletter{"}%
|
|
- \definedummyletter{'}%
|
|
- \definedummyletter{*}%
|
|
- \definedummyletter{,}%
|
|
- \definedummyletter{.}%
|
|
- \definedummyletter{/}%
|
|
- \definedummyletter{:}%
|
|
- \definedummyletter{=}%
|
|
- \definedummyletter{?}%
|
|
- \definedummyletter{^}%
|
|
- \definedummyletter{`}%
|
|
- \definedummyletter{~}%
|
|
- \definedummyword{u}%
|
|
- \definedummyword{v}%
|
|
- \definedummyword{H}%
|
|
- \definedummyword{dotaccent}%
|
|
- \definedummyword{ringaccent}%
|
|
- \definedummyword{tieaccent}%
|
|
- \definedummyword{ubaraccent}%
|
|
- \definedummyword{udotaccent}%
|
|
- \definedummyword{dotless}%
|
|
- %
|
|
- % Texinfo font commands.
|
|
- \definedummyword{b}%
|
|
- \definedummyword{i}%
|
|
- \definedummyword{r}%
|
|
- \definedummyword{sc}%
|
|
- \definedummyword{t}%
|
|
- %
|
|
- % Commands that take arguments.
|
|
- \definedummyword{acronym}%
|
|
- \definedummyword{cite}%
|
|
- \definedummyword{code}%
|
|
- \definedummyword{command}%
|
|
- \definedummyword{dfn}%
|
|
- \definedummyword{emph}%
|
|
- \definedummyword{env}%
|
|
- \definedummyword{file}%
|
|
- \definedummyword{kbd}%
|
|
- \definedummyword{key}%
|
|
- \definedummyword{math}%
|
|
- \definedummyword{option}%
|
|
- \definedummyword{samp}%
|
|
- \definedummyword{strong}%
|
|
- \definedummyword{tie}%
|
|
- \definedummyword{uref}%
|
|
- \definedummyword{url}%
|
|
- \definedummyword{var}%
|
|
- \definedummyword{verb}%
|
|
- \definedummyword{w}%
|
|
- }
|
|
+\def\commondummiesnofonts{%
|
|
+ % Control letters and accents.
|
|
+ \definedummyletter\!%
|
|
+ \definedummyaccent\"%
|
|
+ \definedummyaccent\'%
|
|
+ \definedummyletter\*%
|
|
+ \definedummyaccent\,%
|
|
+ \definedummyletter\.%
|
|
+ \definedummyletter\/%
|
|
+ \definedummyletter\:%
|
|
+ \definedummyaccent\=%
|
|
+ \definedummyletter\?%
|
|
+ \definedummyaccent\^%
|
|
+ \definedummyaccent\`%
|
|
+ \definedummyaccent\~%
|
|
+ \definedummyword\u
|
|
+ \definedummyword\v
|
|
+ \definedummyword\H
|
|
+ \definedummyword\dotaccent
|
|
+ \definedummyword\ogonek
|
|
+ \definedummyword\ringaccent
|
|
+ \definedummyword\tieaccent
|
|
+ \definedummyword\ubaraccent
|
|
+ \definedummyword\udotaccent
|
|
+ \definedummyword\dotless
|
|
+ %
|
|
+ % Texinfo font commands.
|
|
+ \definedummyword\b
|
|
+ \definedummyword\i
|
|
+ \definedummyword\r
|
|
+ \definedummyword\sc
|
|
+ \definedummyword\t
|
|
+ %
|
|
+ % Commands that take arguments.
|
|
+ \definedummyword\acronym
|
|
+ \definedummyword\cite
|
|
+ \definedummyword\code
|
|
+ \definedummyword\command
|
|
+ \definedummyword\dfn
|
|
+ \definedummyword\email
|
|
+ \definedummyword\emph
|
|
+ \definedummyword\env
|
|
+ \definedummyword\file
|
|
+ \definedummyword\kbd
|
|
+ \definedummyword\key
|
|
+ \definedummyword\math
|
|
+ \definedummyword\option
|
|
+ \definedummyword\pxref
|
|
+ \definedummyword\ref
|
|
+ \definedummyword\samp
|
|
+ \definedummyword\strong
|
|
+ \definedummyword\tie
|
|
+ \definedummyword\uref
|
|
+ \definedummyword\url
|
|
+ \definedummyword\var
|
|
+ \definedummyword\verb
|
|
+ \definedummyword\w
|
|
+ \definedummyword\xref
|
|
}
|
|
|
|
% \indexnofonts is used when outputting the strings to sort the index
|
|
@@ -3215,13 +4352,12 @@ width0pt\relax} \fi
|
|
% would be for a given command (usually its argument).
|
|
%
|
|
\def\indexnofonts{%
|
|
- \def\definedummyword##1{%
|
|
- \expandafter\let\csname ##1\endcsname\asis
|
|
- }%
|
|
- % We can just ignore the accent commands and other control letters.
|
|
- \def\definedummyletter##1{%
|
|
- \expandafter\def\csname ##1\endcsname{}%
|
|
- }%
|
|
+ % Accent commands should become @asis.
|
|
+ \def\definedummyaccent##1{\let##1\asis}%
|
|
+ % We can just ignore other control letters.
|
|
+ \def\definedummyletter##1{\let##1\empty}%
|
|
+ % Hopefully, all control words can become @asis.
|
|
+ \let\definedummyword\definedummyaccent
|
|
%
|
|
\commondummiesnofonts
|
|
%
|
|
@@ -3238,19 +4374,23 @@ width0pt\relax} \fi
|
|
% Non-English letters.
|
|
\def\AA{AA}%
|
|
\def\AE{AE}%
|
|
+ \def\DH{DZZ}%
|
|
\def\L{L}%
|
|
\def\OE{OE}%
|
|
\def\O{O}%
|
|
+ \def\TH{ZZZ}%
|
|
\def\aa{aa}%
|
|
\def\ae{ae}%
|
|
+ \def\dh{dzz}%
|
|
+ \def\exclamdown{!}%
|
|
\def\l{l}%
|
|
\def\oe{oe}%
|
|
- \def\o{o}%
|
|
- \def\ss{ss}%
|
|
- \def\exclamdown{!}%
|
|
- \def\questiondown{?}%
|
|
\def\ordf{a}%
|
|
\def\ordm{o}%
|
|
+ \def\o{o}%
|
|
+ \def\questiondown{?}%
|
|
+ \def\ss{ss}%
|
|
+ \def\th{zzz}%
|
|
%
|
|
\def\LaTeX{LaTeX}%
|
|
\def\TeX{TeX}%
|
|
@@ -3258,18 +4398,43 @@ width0pt\relax} \fi
|
|
% Assorted special characters.
|
|
% (The following {} will end up in the sort string, but that's ok.)
|
|
\def\bullet{bullet}%
|
|
+ \def\comma{,}%
|
|
\def\copyright{copyright}%
|
|
- \def\registeredsymbol{R}%
|
|
\def\dots{...}%
|
|
\def\enddots{...}%
|
|
\def\equiv{==}%
|
|
\def\error{error}%
|
|
+ \def\euro{euro}%
|
|
\def\expansion{==>}%
|
|
+ \def\guillemetleft{<<}%
|
|
+ \def\guillemetright{>>}%
|
|
+ \def\guilsinglleft{<}%
|
|
+ \def\guilsinglright{>}%
|
|
\def\minus{-}%
|
|
- \def\pounds{pounds}%
|
|
\def\point{.}%
|
|
+ \def\pounds{pounds}%
|
|
\def\print{-|}%
|
|
+ \def\quotedblbase{"}%
|
|
+ \def\quotedblleft{"}%
|
|
+ \def\quotedblright{"}%
|
|
+ \def\quoteleft{`}%
|
|
+ \def\quoteright{'}%
|
|
+ \def\quotesinglbase{,}%
|
|
+ \def\registeredsymbol{R}%
|
|
\def\result{=>}%
|
|
+ \def\textdegree{o}%
|
|
+ %
|
|
+ % We need to get rid of all macros, leaving only the arguments (if present).
|
|
+ % Of course this is not nearly correct, but it is the best we can do for now.
|
|
+ % makeinfo does not expand macros in the argument to @deffn, which ends up
|
|
+ % writing an index entry, and texindex isn't prepared for an index sort entry
|
|
+ % that starts with \.
|
|
+ %
|
|
+ % Since macro invocations are followed by braces, we can just redefine them
|
|
+ % to take a single TeX argument. The case of a macro invocation that
|
|
+ % goes to end-of-line is not handled.
|
|
+ %
|
|
+ \macrolist
|
|
}
|
|
|
|
\let\indexbackslash=0 %overridden during \printindex.
|
|
@@ -3297,11 +4462,7 @@ width0pt\relax} \fi
|
|
%
|
|
\edef\writeto{\csname#1indfile\endcsname}%
|
|
%
|
|
- \ifvmode
|
|
- \dosubindsanitize
|
|
- \else
|
|
- \dosubindwrite
|
|
- \fi
|
|
+ \safewhatsit\dosubindwrite
|
|
}%
|
|
\fi
|
|
}
|
|
@@ -3316,7 +4477,6 @@ width0pt\relax} \fi
|
|
%
|
|
% Remember, we are within a group.
|
|
\indexdummies % Must do this here, since \bf, etc expand at this stage
|
|
- \escapechar=`\\
|
|
\def\backslashcurfont{\indexbackslash}% \indexbackslash isn't defined now
|
|
% so it will be output as is; and it will print as backslash.
|
|
%
|
|
@@ -3339,13 +4499,13 @@ width0pt\relax} \fi
|
|
\temp
|
|
}
|
|
|
|
-% Take care of unwanted page breaks:
|
|
+% Take care of unwanted page breaks/skips around a whatsit:
|
|
%
|
|
% If a skip is the last thing on the list now, preserve it
|
|
% by backing up by \lastskip, doing the \write, then inserting
|
|
% the skip again. Otherwise, the whatsit generated by the
|
|
-% \write will make \lastskip zero. The result is that sequences
|
|
-% like this:
|
|
+% \write or \pdfdest will make \lastskip zero. The result is that
|
|
+% sequences like this:
|
|
% @end defun
|
|
% @tindex whatever
|
|
% @defun ...
|
|
@@ -3369,44 +4529,52 @@ width0pt\relax} \fi
|
|
%
|
|
\edef\zeroskipmacro{\expandafter\the\csname z@skip\endcsname}
|
|
%
|
|
+\newskip\whatsitskip
|
|
+\newcount\whatsitpenalty
|
|
+%
|
|
% ..., ready, GO:
|
|
%
|
|
-\def\dosubindsanitize{%
|
|
+\def\safewhatsit#1{%
|
|
+\ifhmode
|
|
+ #1%
|
|
+\else
|
|
% \lastskip and \lastpenalty cannot both be nonzero simultaneously.
|
|
- \skip0 = \lastskip
|
|
+ \whatsitskip = \lastskip
|
|
\edef\lastskipmacro{\the\lastskip}%
|
|
- \count255 = \lastpenalty
|
|
+ \whatsitpenalty = \lastpenalty
|
|
%
|
|
% If \lastskip is nonzero, that means the last item was a
|
|
% skip. And since a skip is discardable, that means this
|
|
- % -\skip0 glue we're inserting is preceded by a
|
|
+ % -\whatsitskip glue we're inserting is preceded by a
|
|
% non-discardable item, therefore it is not a potential
|
|
% breakpoint, therefore no \nobreak needed.
|
|
\ifx\lastskipmacro\zeroskipmacro
|
|
\else
|
|
- \vskip-\skip0
|
|
+ \vskip-\whatsitskip
|
|
\fi
|
|
%
|
|
- \dosubindwrite
|
|
+ #1%
|
|
%
|
|
\ifx\lastskipmacro\zeroskipmacro
|
|
- % if \lastskip was zero, perhaps the last item was a
|
|
- % penalty, and perhaps it was >=10000, e.g., a \nobreak.
|
|
- % In that case, we want to re-insert the penalty; since we
|
|
- % just inserted a non-discardable item, any following glue
|
|
- % (such as a \parskip) would be a breakpoint. For example:
|
|
+ % If \lastskip was zero, perhaps the last item was a penalty, and
|
|
+ % perhaps it was >=10000, e.g., a \nobreak. In that case, we want
|
|
+ % to re-insert the same penalty (values >10000 are used for various
|
|
+ % signals); since we just inserted a non-discardable item, any
|
|
+ % following glue (such as a \parskip) would be a breakpoint. For example:
|
|
+ %
|
|
% @deffn deffn-whatever
|
|
% @vindex index-whatever
|
|
% Description.
|
|
% would allow a break between the index-whatever whatsit
|
|
% and the "Description." paragraph.
|
|
- \ifnum\count255>9999 \nobreak \fi
|
|
+ \ifnum\whatsitpenalty>9999 \penalty\whatsitpenalty \fi
|
|
\else
|
|
% On the other hand, if we had a nonzero \lastskip,
|
|
% this make-up glue would be preceded by a non-discardable item
|
|
% (the whatsit from the \write), so we must insert a \nobreak.
|
|
- \nobreak\vskip\skip0
|
|
+ \nobreak\vskip\whatsitskip
|
|
\fi
|
|
+\fi
|
|
}
|
|
|
|
% The index entry written in the file actually looks like
|
|
@@ -3449,6 +4617,7 @@ width0pt\relax} \fi
|
|
%
|
|
\smallfonts \rm
|
|
\tolerance = 9500
|
|
+ \plainfrenchspacing
|
|
\everypar = {}% don't want the \kern\-parindent from indentation suppression.
|
|
%
|
|
% See if the index file exists and is nonempty.
|
|
@@ -3498,7 +4667,10 @@ width0pt\relax} \fi
|
|
\removelastskip
|
|
%
|
|
% We like breaks before the index initials, so insert a bonus.
|
|
- \penalty -300
|
|
+ \nobreak
|
|
+ \vskip 0pt plus 3\baselineskip
|
|
+ \penalty 0
|
|
+ \vskip 0pt plus -3\baselineskip
|
|
%
|
|
% Typeset the initial. Making this add up to a whole number of
|
|
% baselineskips increases the chance of the dots lining up from column
|
|
@@ -3508,10 +4680,9 @@ width0pt\relax} \fi
|
|
% No shrink because it confuses \balancecolumns.
|
|
\vskip 1.67\baselineskip plus .5\baselineskip
|
|
\leftline{\secbf #1}%
|
|
- \vskip .33\baselineskip plus .1\baselineskip
|
|
- %
|
|
% Do our best not to break after the initial.
|
|
\nobreak
|
|
+ \vskip .33\baselineskip plus .1\baselineskip
|
|
}}
|
|
|
|
% \entry typesets a paragraph consisting of the text (#1), dot leaders, and
|
|
@@ -3520,10 +4691,10 @@ width0pt\relax} \fi
|
|
%
|
|
% A straightforward implementation would start like this:
|
|
% \def\entry#1#2{...
|
|
-% But this frozes the catcodes in the argument, and can cause problems to
|
|
+% But this freezes the catcodes in the argument, and can cause problems to
|
|
% @code, which sets - active. This problem was fixed by a kludge---
|
|
% ``-'' was active throughout whole index, but this isn't really right.
|
|
-%
|
|
+%
|
|
% The right solution is to prevent \entry from swallowing the whole text.
|
|
% --kasal, 21nov03
|
|
\def\entry{%
|
|
@@ -3576,11 +4747,8 @@ width0pt\relax} \fi
|
|
% The following is kludged to not output a line of dots in the index if
|
|
% there are no page numbers. The next person who breaks this will be
|
|
% cursed by a Unix daemon.
|
|
- \def\tempa{{\rm }}%
|
|
- \def\tempb{#1}%
|
|
- \edef\tempc{\tempa}%
|
|
- \edef\tempd{\tempb}%
|
|
- \ifx\tempc\tempd
|
|
+ \setbox\boxA = \hbox{#1}%
|
|
+ \ifdim\wd\boxA = 0pt
|
|
\ %
|
|
\else
|
|
%
|
|
@@ -3604,9 +4772,9 @@ width0pt\relax} \fi
|
|
\endgroup
|
|
}
|
|
|
|
-% Like \dotfill except takes at least 1 em.
|
|
+% Like plain.tex's \dotfill, except uses up at least 1 em.
|
|
\def\indexdotfill{\cleaders
|
|
- \hbox{$\mathsurround=0pt \mkern1.5mu ${\it .}$ \mkern1.5mu$}\hskip 1em plus 1fill}
|
|
+ \hbox{$\mathsurround=0pt \mkern1.5mu.\mkern1.5mu$}\hskip 1em plus 1fill}
|
|
|
|
\def\primary #1{\line{#1\hfil}}
|
|
|
|
@@ -3716,6 +4884,34 @@ width0pt\relax} \fi
|
|
%
|
|
% All done with double columns.
|
|
\def\enddoublecolumns{%
|
|
+ % The following penalty ensures that the page builder is exercised
|
|
+ % _before_ we change the output routine. This is necessary in the
|
|
+ % following situation:
|
|
+ %
|
|
+ % The last section of the index consists only of a single entry.
|
|
+ % Before this section, \pagetotal is less than \pagegoal, so no
|
|
+ % break occurs before the last section starts. However, the last
|
|
+ % section, consisting of \initial and the single \entry, does not
|
|
+ % fit on the page and has to be broken off. Without the following
|
|
+ % penalty the page builder will not be exercised until \eject
|
|
+ % below, and by that time we'll already have changed the output
|
|
+ % routine to the \balancecolumns version, so the next-to-last
|
|
+ % double-column page will be processed with \balancecolumns, which
|
|
+ % is wrong: The two columns will go to the main vertical list, with
|
|
+ % the broken-off section in the recent contributions. As soon as
|
|
+ % the output routine finishes, TeX starts reconsidering the page
|
|
+ % break. The two columns and the broken-off section both fit on the
|
|
+ % page, because the two columns now take up only half of the page
|
|
+ % goal. When TeX sees \eject from below which follows the final
|
|
+ % section, it invokes the new output routine that we've set after
|
|
+ % \balancecolumns below; \onepageout will try to fit the two columns
|
|
+ % and the final section into the vbox of \pageheight (see
|
|
+ % \pagebody), causing an overfull box.
|
|
+ %
|
|
+ % Note that glue won't work here, because glue does not exercise the
|
|
+ % page builder, unlike penalties (see The TeXbook, pp. 280-281).
|
|
+ \penalty0
|
|
+ %
|
|
\output = {%
|
|
% Split the last of the double-column material. Leave it on the
|
|
% current page, no automatic page break.
|
|
@@ -3789,7 +4985,7 @@ width0pt\relax} \fi
|
|
% We do the following ugly conditional instead of the above simple
|
|
% construct for the sake of pdftex, which needs the actual
|
|
% letter in the expansion, not just typeset.
|
|
-%
|
|
+%
|
|
\def\appendixletter{%
|
|
\ifnum\appendixno=`A A%
|
|
\else\ifnum\appendixno=`B B%
|
|
@@ -3825,11 +5021,15 @@ width0pt\relax} \fi
|
|
\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi
|
|
\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi}
|
|
|
|
-% Each @chapter defines this as the name of the chapter.
|
|
-% page headings and footings can use it. @section does likewise.
|
|
-% However, they are not reliable, because we don't use marks.
|
|
+% Each @chapter defines these (using marks) as the number+name, number
|
|
+% and name of the chapter. Page headings and footings can use
|
|
+% these. @section does likewise.
|
|
\def\thischapter{}
|
|
+\def\thischapternum{}
|
|
+\def\thischaptername{}
|
|
\def\thissection{}
|
|
+\def\thissectionnum{}
|
|
+\def\thissectionname{}
|
|
|
|
\newcount\absseclevel % used to calculate proper heading level
|
|
\newcount\secbase\secbase=0 % @raisesections/@lowersections modify this count
|
|
@@ -3926,11 +5126,11 @@ width0pt\relax} \fi
|
|
|
|
% @chapter, @appendix, @unnumbered. Increment top-level counter, reset
|
|
% all lower-level sectioning counters to zero.
|
|
-%
|
|
+%
|
|
% Also set \chaplevelprefix, which we prepend to @float sequence numbers
|
|
% (e.g., figures), q.v. By default (before any chapter), that is empty.
|
|
\let\chaplevelprefix = \empty
|
|
-%
|
|
+%
|
|
\outer\parseargdef\chapter{\numhead0{#1}} % normally numhead0 calls chapterzzz
|
|
\def\chapterzzz#1{%
|
|
% section resetting is \global in case the chapter is in a group, such
|
|
@@ -3942,7 +5142,9 @@ width0pt\relax} \fi
|
|
\gdef\chaplevelprefix{\the\chapno.}%
|
|
\resetallfloatnos
|
|
%
|
|
- \message{\putwordChapter\space \the\chapno}%
|
|
+ % \putwordChapter can contain complex things in translations.
|
|
+ \toks0=\expandafter{\putwordChapter}%
|
|
+ \message{\the\toks0 \space \the\chapno}%
|
|
%
|
|
% Write the actual heading.
|
|
\chapmacro{#1}{Ynumbered}{\the\chapno}%
|
|
@@ -3953,15 +5155,17 @@ width0pt\relax} \fi
|
|
\global\let\subsubsection = \numberedsubsubsec
|
|
}
|
|
|
|
-\outer\parseargdef\appendix{\apphead0{#1}} % normally apphead0 calls appendixzzz
|
|
+\outer\parseargdef\appendix{\apphead0{#1}} % normally calls appendixzzz
|
|
+%
|
|
\def\appendixzzz#1{%
|
|
\global\secno=0 \global\subsecno=0 \global\subsubsecno=0
|
|
\global\advance\appendixno by 1
|
|
\gdef\chaplevelprefix{\appendixletter.}%
|
|
\resetallfloatnos
|
|
%
|
|
- \def\appendixnum{\putwordAppendix\space \appendixletter}%
|
|
- \message{\appendixnum}%
|
|
+ % \putwordAppendix can contain complex things in translations.
|
|
+ \toks0=\expandafter{\putwordAppendix}%
|
|
+ \message{\the\toks0 \space \appendixletter}%
|
|
%
|
|
\chapmacro{#1}{Yappendix}{\appendixletter}%
|
|
%
|
|
@@ -4093,7 +5297,6 @@ width0pt\relax} \fi
|
|
% 3) Likewise, headings look best if no \parindent is used, and
|
|
% if justification is not attempted. Hence \raggedright.
|
|
|
|
-
|
|
\def\majorheading{%
|
|
{\advance\chapheadingskip by 10pt \chapbreak }%
|
|
\parsearg\chapheadingzzz
|
|
@@ -4102,8 +5305,8 @@ width0pt\relax} \fi
|
|
\def\chapheading{\chapbreak \parsearg\chapheadingzzz}
|
|
\def\chapheadingzzz#1{%
|
|
{\chapfonts \vbox{\hyphenpenalty=10000\tolerance=5000
|
|
- \parindent=0pt\raggedright
|
|
- \rm #1\hfill}}%
|
|
+ \parindent=0pt\ptexraggedright
|
|
+ \rmisbold #1\hfill}}%
|
|
\bigskip \par\penalty 200\relax
|
|
\suppressfirstparagraphindent
|
|
}
|
|
@@ -4130,7 +5333,20 @@ width0pt\relax} \fi
|
|
|
|
\def\chapbreak{\dobreak \chapheadingskip {-4000}}
|
|
\def\chappager{\par\vfill\supereject}
|
|
-\def\chapoddpage{\chappager \ifodd\pageno \else \hbox to 0pt{} \chappager\fi}
|
|
+% Because \domark is called before \chapoddpage, the filler page will
|
|
+% get the headings for the next chapter, which is wrong. But we don't
|
|
+% care -- we just disable all headings on the filler page.
|
|
+\def\chapoddpage{%
|
|
+ \chappager
|
|
+ \ifodd\pageno \else
|
|
+ \begingroup
|
|
+ \evenheadline={\hfil}\evenfootline={\hfil}%
|
|
+ \oddheadline={\hfil}\oddfootline={\hfil}%
|
|
+ \hbox to 0pt{}%
|
|
+ \chappager
|
|
+ \endgroup
|
|
+ \fi
|
|
+}
|
|
|
|
\def\setchapternewpage #1 {\csname CHAPPAG#1\endcsname}
|
|
|
|
@@ -4154,51 +5370,88 @@ width0pt\relax} \fi
|
|
\CHAPPAGon
|
|
|
|
% Chapter opening.
|
|
-%
|
|
+%
|
|
% #1 is the text, #2 is the section type (Ynumbered, Ynothing,
|
|
% Yappendix, Yomitfromtoc), #3 the chapter number.
|
|
-%
|
|
+%
|
|
% To test against our argument.
|
|
\def\Ynothingkeyword{Ynothing}
|
|
\def\Yomitfromtockeyword{Yomitfromtoc}
|
|
\def\Yappendixkeyword{Yappendix}
|
|
%
|
|
\def\chapmacro#1#2#3{%
|
|
+ % Insert the first mark before the heading break (see notes for \domark).
|
|
+ \let\prevchapterdefs=\lastchapterdefs
|
|
+ \let\prevsectiondefs=\lastsectiondefs
|
|
+ \gdef\lastsectiondefs{\gdef\thissectionname{}\gdef\thissectionnum{}%
|
|
+ \gdef\thissection{}}%
|
|
+ %
|
|
+ \def\temptype{#2}%
|
|
+ \ifx\temptype\Ynothingkeyword
|
|
+ \gdef\lastchapterdefs{\gdef\thischaptername{#1}\gdef\thischapternum{}%
|
|
+ \gdef\thischapter{\thischaptername}}%
|
|
+ \else\ifx\temptype\Yomitfromtockeyword
|
|
+ \gdef\lastchapterdefs{\gdef\thischaptername{#1}\gdef\thischapternum{}%
|
|
+ \gdef\thischapter{}}%
|
|
+ \else\ifx\temptype\Yappendixkeyword
|
|
+ \toks0={#1}%
|
|
+ \xdef\lastchapterdefs{%
|
|
+ \gdef\noexpand\thischaptername{\the\toks0}%
|
|
+ \gdef\noexpand\thischapternum{\appendixletter}%
|
|
+ % \noexpand\putwordAppendix avoids expanding indigestible
|
|
+ % commands in some of the translations.
|
|
+ \gdef\noexpand\thischapter{\noexpand\putwordAppendix{}
|
|
+ \noexpand\thischapternum:
|
|
+ \noexpand\thischaptername}%
|
|
+ }%
|
|
+ \else
|
|
+ \toks0={#1}%
|
|
+ \xdef\lastchapterdefs{%
|
|
+ \gdef\noexpand\thischaptername{\the\toks0}%
|
|
+ \gdef\noexpand\thischapternum{\the\chapno}%
|
|
+ % \noexpand\putwordChapter avoids expanding indigestible
|
|
+ % commands in some of the translations.
|
|
+ \gdef\noexpand\thischapter{\noexpand\putwordChapter{}
|
|
+ \noexpand\thischapternum:
|
|
+ \noexpand\thischaptername}%
|
|
+ }%
|
|
+ \fi\fi\fi
|
|
+ %
|
|
+ % Output the mark. Pass it through \safewhatsit, to take care of
|
|
+ % the preceding space.
|
|
+ \safewhatsit\domark
|
|
+ %
|
|
+ % Insert the chapter heading break.
|
|
\pchapsepmacro
|
|
+ %
|
|
+ % Now the second mark, after the heading break. No break points
|
|
+ % between here and the heading.
|
|
+ \let\prevchapterdefs=\lastchapterdefs
|
|
+ \let\prevsectiondefs=\lastsectiondefs
|
|
+ \domark
|
|
+ %
|
|
{%
|
|
- \chapfonts \rm
|
|
+ \chapfonts \rmisbold
|
|
%
|
|
- % Have to define \thissection before calling \donoderef, because the
|
|
+ % Have to define \lastsection before calling \donoderef, because the
|
|
% xref code eventually uses it. On the other hand, it has to be called
|
|
% after \pchapsepmacro, or the headline will change too soon.
|
|
- \gdef\thissection{#1}%
|
|
- \gdef\thischaptername{#1}%
|
|
+ \gdef\lastsection{#1}%
|
|
%
|
|
% Only insert the separating space if we have a chapter/appendix
|
|
% number, and don't print the unnumbered ``number''.
|
|
- \def\temptype{#2}%
|
|
\ifx\temptype\Ynothingkeyword
|
|
\setbox0 = \hbox{}%
|
|
\def\toctype{unnchap}%
|
|
- \def\thischapter{#1}%
|
|
\else\ifx\temptype\Yomitfromtockeyword
|
|
\setbox0 = \hbox{}% contents like unnumbered, but no toc entry
|
|
\def\toctype{omit}%
|
|
- \xdef\thischapter{}%
|
|
\else\ifx\temptype\Yappendixkeyword
|
|
\setbox0 = \hbox{\putwordAppendix{} #3\enspace}%
|
|
\def\toctype{app}%
|
|
- % We don't substitute the actual chapter name into \thischapter
|
|
- % because we don't want its macros evaluated now. And we don't
|
|
- % use \thissection because that changes with each section.
|
|
- %
|
|
- \xdef\thischapter{\putwordAppendix{} \appendixletter:
|
|
- \noexpand\thischaptername}%
|
|
\else
|
|
\setbox0 = \hbox{#3\enspace}%
|
|
\def\toctype{numchap}%
|
|
- \xdef\thischapter{\putwordChapter{} \the\chapno:
|
|
- \noexpand\thischaptername}%
|
|
\fi\fi\fi
|
|
%
|
|
% Write the toc entry for this chapter. Must come before the
|
|
@@ -4214,7 +5467,8 @@ width0pt\relax} \fi
|
|
\donoderef{#2}%
|
|
%
|
|
% Typeset the actual heading.
|
|
- \vbox{\hyphenpenalty=10000 \tolerance=5000 \parindent=0pt \raggedright
|
|
+ \nobreak % Avoid page breaks at the interline glue.
|
|
+ \vbox{\hyphenpenalty=10000 \tolerance=5000 \parindent=0pt \ptexraggedright
|
|
\hangindent=\wd0 \centerparametersmaybe
|
|
\unhbox0 #1\par}%
|
|
}%
|
|
@@ -4233,13 +5487,13 @@ width0pt\relax} \fi
|
|
|
|
% I don't think this chapter style is supported any more, so I'm not
|
|
% updating it with the new noderef stuff. We'll see. --karl, 11aug03.
|
|
-%
|
|
+%
|
|
\def\setchapterstyle #1 {\csname CHAPF#1\endcsname}
|
|
%
|
|
\def\unnchfopen #1{%
|
|
\chapoddpage {\chapfonts \vbox{\hyphenpenalty=10000\tolerance=5000
|
|
- \parindent=0pt\raggedright
|
|
- \rm #1\hfill}}\bigskip \par\nobreak
|
|
+ \parindent=0pt\ptexraggedright
|
|
+ \rmisbold #1\hfill}}\bigskip \par\nobreak
|
|
}
|
|
\def\chfopen #1#2{\chapoddpage {\chapfonts
|
|
\vbox to 3in{\vfil \hbox to\hsize{\hfil #2} \hbox to\hsize{\hfil #1} \vfil}}%
|
|
@@ -4248,7 +5502,7 @@ width0pt\relax} \fi
|
|
\def\centerchfopen #1{%
|
|
\chapoddpage {\chapfonts \vbox{\hyphenpenalty=10000\tolerance=5000
|
|
\parindent=0pt
|
|
- \hfill {\rm #1}\hfill}}\bigskip \par\nobreak
|
|
+ \hfill {\rmisbold #1}\hfill}}\bigskip \par\nobreak
|
|
}
|
|
\def\CHAPFopen{%
|
|
\global\let\chapmacro=\chfopen
|
|
@@ -4257,7 +5511,7 @@ width0pt\relax} \fi
|
|
|
|
% Section titles. These macros combine the section number parts and
|
|
% call the generic \sectionheading to do the printing.
|
|
-%
|
|
+%
|
|
\newskip\secheadingskip
|
|
\def\secheadingbreak{\dobreak \secheadingskip{-1000}}
|
|
|
|
@@ -4271,52 +5525,113 @@ width0pt\relax} \fi
|
|
|
|
|
|
% Print any size, any type, section title.
|
|
-%
|
|
+%
|
|
% #1 is the text, #2 is the section level (sec/subsec/subsubsec), #3 is
|
|
% the section type for xrefs (Ynumbered, Ynothing, Yappendix), #4 is the
|
|
% section number.
|
|
-%
|
|
+%
|
|
+\def\seckeyword{sec}
|
|
+%
|
|
\def\sectionheading#1#2#3#4{%
|
|
{%
|
|
% Switch to the right set of fonts.
|
|
- \csname #2fonts\endcsname \rm
|
|
+ \csname #2fonts\endcsname \rmisbold
|
|
+ %
|
|
+ \def\sectionlevel{#2}%
|
|
+ \def\temptype{#3}%
|
|
+ %
|
|
+ % Insert first mark before the heading break (see notes for \domark).
|
|
+ \let\prevsectiondefs=\lastsectiondefs
|
|
+ \ifx\temptype\Ynothingkeyword
|
|
+ \ifx\sectionlevel\seckeyword
|
|
+ \gdef\lastsectiondefs{\gdef\thissectionname{#1}\gdef\thissectionnum{}%
|
|
+ \gdef\thissection{\thissectionname}}%
|
|
+ \fi
|
|
+ \else\ifx\temptype\Yomitfromtockeyword
|
|
+ % Don't redefine \thissection.
|
|
+ \else\ifx\temptype\Yappendixkeyword
|
|
+ \ifx\sectionlevel\seckeyword
|
|
+ \toks0={#1}%
|
|
+ \xdef\lastsectiondefs{%
|
|
+ \gdef\noexpand\thissectionname{\the\toks0}%
|
|
+ \gdef\noexpand\thissectionnum{#4}%
|
|
+ % \noexpand\putwordSection avoids expanding indigestible
|
|
+ % commands in some of the translations.
|
|
+ \gdef\noexpand\thissection{\noexpand\putwordSection{}
|
|
+ \noexpand\thissectionnum:
|
|
+ \noexpand\thissectionname}%
|
|
+ }%
|
|
+ \fi
|
|
+ \else
|
|
+ \ifx\sectionlevel\seckeyword
|
|
+ \toks0={#1}%
|
|
+ \xdef\lastsectiondefs{%
|
|
+ \gdef\noexpand\thissectionname{\the\toks0}%
|
|
+ \gdef\noexpand\thissectionnum{#4}%
|
|
+ % \noexpand\putwordSection avoids expanding indigestible
|
|
+ % commands in some of the translations.
|
|
+ \gdef\noexpand\thissection{\noexpand\putwordSection{}
|
|
+ \noexpand\thissectionnum:
|
|
+ \noexpand\thissectionname}%
|
|
+ }%
|
|
+ \fi
|
|
+ \fi\fi\fi
|
|
+ %
|
|
+ % Go into vertical mode. Usually we'll already be there, but we
|
|
+ % don't want the following whatsit to end up in a preceding paragraph
|
|
+ % if the document didn't happen to have a blank line.
|
|
+ \par
|
|
+ %
|
|
+ % Output the mark. Pass it through \safewhatsit, to take care of
|
|
+ % the preceding space.
|
|
+ \safewhatsit\domark
|
|
%
|
|
% Insert space above the heading.
|
|
\csname #2headingbreak\endcsname
|
|
%
|
|
- % Only insert the space after the number if we have a section number.
|
|
- \def\sectionlevel{#2}%
|
|
- \def\temptype{#3}%
|
|
+ % Now the second mark, after the heading break. No break points
|
|
+ % between here and the heading.
|
|
+ \let\prevsectiondefs=\lastsectiondefs
|
|
+ \domark
|
|
%
|
|
+ % Only insert the space after the number if we have a section number.
|
|
\ifx\temptype\Ynothingkeyword
|
|
\setbox0 = \hbox{}%
|
|
\def\toctype{unn}%
|
|
- \gdef\thissection{#1}%
|
|
+ \gdef\lastsection{#1}%
|
|
\else\ifx\temptype\Yomitfromtockeyword
|
|
% for @headings -- no section number, don't include in toc,
|
|
- % and don't redefine \thissection.
|
|
+ % and don't redefine \lastsection.
|
|
\setbox0 = \hbox{}%
|
|
\def\toctype{omit}%
|
|
\let\sectionlevel=\empty
|
|
\else\ifx\temptype\Yappendixkeyword
|
|
\setbox0 = \hbox{#4\enspace}%
|
|
\def\toctype{app}%
|
|
- \gdef\thissection{#1}%
|
|
+ \gdef\lastsection{#1}%
|
|
\else
|
|
\setbox0 = \hbox{#4\enspace}%
|
|
\def\toctype{num}%
|
|
- \gdef\thissection{#1}%
|
|
+ \gdef\lastsection{#1}%
|
|
\fi\fi\fi
|
|
%
|
|
- % Write the toc entry (before \donoderef). See comments in \chfplain.
|
|
+ % Write the toc entry (before \donoderef). See comments in \chapmacro.
|
|
\writetocentry{\toctype\sectionlevel}{#1}{#4}%
|
|
%
|
|
% Write the node reference (= pdf destination for pdftex).
|
|
- % Again, see comments in \chfplain.
|
|
+ % Again, see comments in \chapmacro.
|
|
\donoderef{#3}%
|
|
%
|
|
+ % Interline glue will be inserted when the vbox is completed.
|
|
+ % That glue will be a valid breakpoint for the page, since it'll be
|
|
+ % preceded by a whatsit (usually from the \donoderef, or from the
|
|
+ % \writetocentry if there was no node). We don't want to allow that
|
|
+ % break, since then the whatsits could end up on page n while the
|
|
+ % section is on page n+1, thus toc/etc. are wrong. Debian bug 276000.
|
|
+ \nobreak
|
|
+ %
|
|
% Output the actual section heading.
|
|
- \vbox{\hyphenpenalty=10000 \tolerance=5000 \parindent=0pt \raggedright
|
|
+ \vbox{\hyphenpenalty=10000 \tolerance=5000 \parindent=0pt \ptexraggedright
|
|
\hangindent=\wd0 % zero if no section number
|
|
\unhbox0 #1}%
|
|
}%
|
|
@@ -4333,13 +5648,13 @@ width0pt\relax} \fi
|
|
% discardable item.)
|
|
\vskip-\parskip
|
|
%
|
|
- % This \nobreak is purely so the last item on the list is a \penalty
|
|
- % of 10000. This is so other code, for instance \parsebodycommon, can
|
|
- % check for and avoid allowing breakpoints. Otherwise, it would
|
|
- % insert a valid breakpoint between:
|
|
+ % This is purely so the last item on the list is a known \penalty >
|
|
+ % 10000. This is so \startdefun can avoid allowing breakpoints after
|
|
+ % section headings. Otherwise, it would insert a valid breakpoint between:
|
|
+ %
|
|
% @section sec-whatever
|
|
% @deffn def-whatever
|
|
- \nobreak
|
|
+ \penalty 10001
|
|
}
|
|
|
|
|
|
@@ -4348,14 +5663,14 @@ width0pt\relax} \fi
|
|
\newwrite\tocfile
|
|
|
|
% Write an entry to the toc file, opening it if necessary.
|
|
-% Called from @chapter, etc.
|
|
-%
|
|
+% Called from @chapter, etc.
|
|
+%
|
|
% Example usage: \writetocentry{sec}{Section Name}{\the\chapno.\the\secno}
|
|
% We append the current node name (if any) and page number as additional
|
|
% arguments for the \{chap,sec,...}entry macros which will eventually
|
|
% read this. The node name is used in the pdf outlines as the
|
|
% destination to jump to.
|
|
-%
|
|
+%
|
|
% We open the .toc file for writing here instead of at @setfilename (or
|
|
% any other fixed time) so that @contents can be anywhere in the document.
|
|
% But if #1 is `omit', then we don't do anything. This is used for the
|
|
@@ -4373,11 +5688,11 @@ width0pt\relax} \fi
|
|
\fi
|
|
%
|
|
\iflinks
|
|
- \toks0 = {#2}%
|
|
- \toks2 = \expandafter{\lastnode}%
|
|
- \edef\temp{\write\tocfile{\realbackslash #1entry{\the\toks0}{#3}%
|
|
- {\the\toks2}{\noexpand\folio}}}%
|
|
- \temp
|
|
+ {\atdummies
|
|
+ \edef\temp{%
|
|
+ \write\tocfile{@#1entry{#2}{#3}{\lastnode}{\noexpand\folio}}}%
|
|
+ \temp
|
|
+ }%
|
|
\fi
|
|
\fi
|
|
%
|
|
@@ -4390,6 +5705,31 @@ width0pt\relax} \fi
|
|
\ifpdf \global\pdfmakepagedesttrue \fi
|
|
}
|
|
|
|
+
|
|
+% These characters do not print properly in the Computer Modern roman
|
|
+% fonts, so we must take special care. This is more or less redundant
|
|
+% with the Texinfo input format setup at the end of this file.
|
|
+%
|
|
+\def\activecatcodes{%
|
|
+ \catcode`\"=\active
|
|
+ \catcode`\$=\active
|
|
+ \catcode`\<=\active
|
|
+ \catcode`\>=\active
|
|
+ \catcode`\\=\active
|
|
+ \catcode`\^=\active
|
|
+ \catcode`\_=\active
|
|
+ \catcode`\|=\active
|
|
+ \catcode`\~=\active
|
|
+}
|
|
+
|
|
+
|
|
+% Read the toc file, which is essentially Texinfo input.
|
|
+\def\readtocfile{%
|
|
+ \setupdatafile
|
|
+ \activecatcodes
|
|
+ \input \tocreadfilename
|
|
+}
|
|
+
|
|
\newskip\contentsrightmargin \contentsrightmargin=1in
|
|
\newcount\savepageno
|
|
\newcount\lastnegativepageno \lastnegativepageno = -1
|
|
@@ -4406,29 +5746,29 @@ width0pt\relax} \fi
|
|
%
|
|
% Don't need to put `Contents' or `Short Contents' in the headline.
|
|
% It is abundantly clear what they are.
|
|
- \def\thischapter{}%
|
|
\chapmacro{#1}{Yomitfromtoc}{}%
|
|
%
|
|
\savepageno = \pageno
|
|
\begingroup % Set up to handle contents files properly.
|
|
- \catcode`\\=0 \catcode`\{=1 \catcode`\}=2 \catcode`\@=11
|
|
- % We can't do this, because then an actual ^ in a section
|
|
- % title fails, e.g., @chapter ^ -- exponentiation. --karl, 9jul97.
|
|
- %\catcode`\^=7 % to see ^^e4 as \"a etc. juha@piuha.ydi.vtt.fi
|
|
- \raggedbottom % Worry more about breakpoints than the bottom.
|
|
+ \raggedbottom % Worry more about breakpoints than the bottom.
|
|
\advance\hsize by -\contentsrightmargin % Don't use the full line length.
|
|
%
|
|
% Roman numerals for page numbers.
|
|
\ifnum \pageno>0 \global\pageno = \lastnegativepageno \fi
|
|
}
|
|
|
|
+% redefined for the two-volume lispref. We always output on
|
|
+% \jobname.toc even if this is redefined.
|
|
+%
|
|
+\def\tocreadfilename{\jobname.toc}
|
|
|
|
% Normal (long) toc.
|
|
+%
|
|
\def\contents{%
|
|
\startcontents{\putwordTOC}%
|
|
- \openin 1 \jobname.toc
|
|
+ \openin 1 \tocreadfilename\space
|
|
\ifeof 1 \else
|
|
- \input \jobname.toc
|
|
+ \readtocfile
|
|
\fi
|
|
\vfill \eject
|
|
\contentsalignmacro % in case @setchapternewpage odd is in effect
|
|
@@ -4464,9 +5804,9 @@ width0pt\relax} \fi
|
|
\let\numsubsubsecentry = \numsecentry
|
|
\let\appsubsubsecentry = \numsecentry
|
|
\let\unnsubsubsecentry = \numsecentry
|
|
- \openin 1 \jobname.toc
|
|
+ \openin 1 \tocreadfilename\space
|
|
\ifeof 1 \else
|
|
- \input \jobname.toc
|
|
+ \readtocfile
|
|
\fi
|
|
\closein 1
|
|
\vfill \eject
|
|
@@ -4486,7 +5826,7 @@ width0pt\relax} \fi
|
|
% But use \hss just in case.
|
|
% (This space doesn't include the extra space that gets added after
|
|
% the label; that gets put in by \shortchapentry above.)
|
|
- %
|
|
+ %
|
|
% We'd like to right-justify chapter numbers, but that looks strange
|
|
% with appendix letters. And right-justifying numbers and
|
|
% left-justifying letters looks strange when there is less than 10
|
|
@@ -4511,7 +5851,7 @@ width0pt\relax} \fi
|
|
|
|
% Appendices, in the main contents.
|
|
% Need the word Appendix, and a fixed-size box.
|
|
-%
|
|
+%
|
|
\def\appendixbox#1{%
|
|
% We use M since it's probably the widest letter.
|
|
\setbox0 = \hbox{\putwordAppendix{} M}%
|
|
@@ -4589,45 +5929,12 @@ width0pt\relax} \fi
|
|
\message{environments,}
|
|
% @foo ... @end foo.
|
|
|
|
-% @point{}, @result{}, @expansion{}, @print{}, @equiv{}.
|
|
-%
|
|
-% Since these characters are used in examples, it should be an even number of
|
|
-% \tt widths. Each \tt character is 1en, so two makes it 1em.
|
|
-%
|
|
-\def\point{$\star$}
|
|
-\def\result{\leavevmode\raise.15ex\hbox to 1em{\hfil$\Rightarrow$\hfil}}
|
|
-\def\expansion{\leavevmode\raise.1ex\hbox to 1em{\hfil$\mapsto$\hfil}}
|
|
-\def\print{\leavevmode\lower.1ex\hbox to 1em{\hfil$\dashv$\hfil}}
|
|
-\def\equiv{\leavevmode\lower.1ex\hbox to 1em{\hfil$\ptexequiv$\hfil}}
|
|
-
|
|
-% The @error{} command.
|
|
-% Adapted from the TeXbook's \boxit.
|
|
-%
|
|
-\newbox\errorbox
|
|
-%
|
|
-{\tentt \global\dimen0 = 3em}% Width of the box.
|
|
-\dimen2 = .55pt % Thickness of rules
|
|
-% The text. (`r' is open on the right, `e' somewhat less so on the left.)
|
|
-\setbox0 = \hbox{\kern-.75pt \tensf error\kern-1.5pt}
|
|
-%
|
|
-\setbox\errorbox=\hbox to \dimen0{\hfil
|
|
- \hsize = \dimen0 \advance\hsize by -5.8pt % Space to left+right.
|
|
- \advance\hsize by -2\dimen2 % Rules.
|
|
- \vbox{%
|
|
- \hrule height\dimen2
|
|
- \hbox{\vrule width\dimen2 \kern3pt % Space to left of text.
|
|
- \vtop{\kern2.4pt \box0 \kern2.4pt}% Space above/below.
|
|
- \kern3pt\vrule width\dimen2}% Space to right.
|
|
- \hrule height\dimen2}
|
|
- \hfil}
|
|
-%
|
|
-\def\error{\leavevmode\lower.7ex\copy\errorbox}
|
|
-
|
|
% @tex ... @end tex escapes into raw Tex temporarily.
|
|
% One exception: @ is still an escape character, so that @end tex works.
|
|
% But \@ or @@ will get a plain tex @ character.
|
|
|
|
\envdef\tex{%
|
|
+ \setupmarkupstyle{tex}%
|
|
\catcode `\\=0 \catcode `\{=1 \catcode `\}=2
|
|
\catcode `\$=3 \catcode `\&=4 \catcode `\#=6
|
|
\catcode `\^=7 \catcode `\_=8 \catcode `\~=\active \let~=\tie
|
|
@@ -4637,6 +5944,8 @@ width0pt\relax} \fi
|
|
\catcode `\|=\other
|
|
\catcode `\<=\other
|
|
\catcode `\>=\other
|
|
+ \catcode`\`=\other
|
|
+ \catcode`\'=\other
|
|
\escapechar=`\\
|
|
%
|
|
\let\b=\ptexb
|
|
@@ -4656,6 +5965,8 @@ width0pt\relax} \fi
|
|
\let\/=\ptexslash
|
|
\let\*=\ptexstar
|
|
\let\t=\ptext
|
|
+ \expandafter \let\csname top\endcsname=\ptextop % outer
|
|
+ \let\frenchspacing=\plainfrenchspacing
|
|
%
|
|
\def\endldots{\mathinner{\ldots\ldots\ldots\ldots}}%
|
|
\def\enddots{\relax\ifmmode\endldots\else$\mathsurround=0pt \endldots\,$\fi}%
|
|
@@ -4684,7 +5995,8 @@ width0pt\relax} \fi
|
|
% start of the next paragraph will insert \parskip.
|
|
%
|
|
\def\aboveenvbreak{{%
|
|
- % =10000 instead of <10000 because of a special case in \itemzzz, q.v.
|
|
+ % =10000 instead of <10000 because of a special case in \itemzzz and
|
|
+ % \sectionheading, q.v.
|
|
\ifnum \lastpenalty=10000 \else
|
|
\advance\envskipamount by \parskip
|
|
\endgraf
|
|
@@ -4700,7 +6012,8 @@ width0pt\relax} \fi
|
|
|
|
\let\afterenvbreak = \aboveenvbreak
|
|
|
|
-% \nonarrowing is a flag. If "set", @lisp etc don't narrow margins.
|
|
+% \nonarrowing is a flag. If "set", @lisp etc don't narrow margins; it will
|
|
+% also clear it, so that its embedded environments do the narrowing again.
|
|
\let\nonarrowing=\relax
|
|
|
|
% @cartouche ... @end cartouche: draw rectangle w/rounded corners around
|
|
@@ -4737,7 +6050,7 @@ width0pt\relax} \fi
|
|
% each corner char, and rule thickness
|
|
\normbskip=\baselineskip \normpskip=\parskip \normlskip=\lineskip
|
|
% Flag to tell @lisp, etc., not to narrow margin.
|
|
- \let\nonarrowing=\comment
|
|
+ \let\nonarrowing = t%
|
|
\vbox\bgroup
|
|
\baselineskip=0pt\parskip=0pt\lineskip=0pt
|
|
\carttop
|
|
@@ -4768,6 +6081,7 @@ width0pt\relax} \fi
|
|
|
|
% This macro is called at the beginning of all the @example variants,
|
|
% inside a group.
|
|
+\newdimen\nonfillparindent
|
|
\def\nonfillstart{%
|
|
\aboveenvbreak
|
|
\hfuzz = 12pt % Don't be fussy
|
|
@@ -4775,17 +6089,40 @@ width0pt\relax} \fi
|
|
\let\par = \lisppar % don't ignore blank lines
|
|
\obeylines % each line of input is a line of output
|
|
\parskip = 0pt
|
|
+ % Turn off paragraph indentation but redefine \indent to emulate
|
|
+ % the normal \indent.
|
|
+ \nonfillparindent=\parindent
|
|
\parindent = 0pt
|
|
+ \let\indent\nonfillindent
|
|
+ %
|
|
\emergencystretch = 0pt % don't try to avoid overfull boxes
|
|
- % @cartouche defines \nonarrowing to inhibit narrowing
|
|
- % at next level down.
|
|
\ifx\nonarrowing\relax
|
|
\advance \leftskip by \lispnarrowing
|
|
\exdentamount=\lispnarrowing
|
|
+ \else
|
|
+ \let\nonarrowing = \relax
|
|
\fi
|
|
\let\exdent=\nofillexdent
|
|
}
|
|
|
|
+\begingroup
|
|
+\obeyspaces
|
|
+% We want to swallow spaces (but not other tokens) after the fake
|
|
+% @indent in our nonfill-environments, where spaces are normally
|
|
+% active and set to @tie, resulting in them not being ignored after
|
|
+% @indent.
|
|
+\gdef\nonfillindent{\futurelet\temp\nonfillindentcheck}%
|
|
+\gdef\nonfillindentcheck{%
|
|
+\ifx\temp %
|
|
+\expandafter\nonfillindentgobble%
|
|
+\else%
|
|
+\leavevmode\nonfillindentbox%
|
|
+\fi%
|
|
+}%
|
|
+\endgroup
|
|
+\def\nonfillindentgobble#1{\nonfillindent}
|
|
+\def\nonfillindentbox{\hbox to \nonfillparindent{\hss}}
|
|
+
|
|
% If you want all examples etc. small: @set dispenvsize small.
|
|
% If you want even small examples the full size: @set dispenvsize nosmall.
|
|
% This affects the following displayed environments:
|
|
@@ -4796,12 +6133,18 @@ width0pt\relax} \fi
|
|
\let\SETdispenvsize\relax
|
|
\def\setnormaldispenv{%
|
|
\ifx\SETdispenvsize\smallword
|
|
+ % end paragraph for sake of leading, in case document has no blank
|
|
+ % line. This is redundant with what happens in \aboveenvbreak, but
|
|
+ % we need to do it before changing the fonts, and it's inconvenient
|
|
+ % to change the fonts afterward.
|
|
+ \ifnum \lastpenalty=10000 \else \endgraf \fi
|
|
\smallexamplefonts \rm
|
|
\fi
|
|
}
|
|
\def\setsmalldispenv{%
|
|
\ifx\SETdispenvsize\nosmallword
|
|
\else
|
|
+ \ifnum \lastpenalty=10000 \else \endgraf \fi
|
|
\smallexamplefonts \rm
|
|
\fi
|
|
}
|
|
@@ -4828,11 +6171,10 @@ width0pt\relax} \fi
|
|
%
|
|
\maketwodispenvs {lisp}{example}{%
|
|
\nonfillstart
|
|
- \tt
|
|
+ \tt\setupmarkupstyle{example}%
|
|
\let\kbdfont = \kbdexamplefont % Allow @kbd to do something special.
|
|
\gobble % eat return
|
|
}
|
|
-
|
|
% @display/@smalldisplay: same as @lisp except keep current font.
|
|
%
|
|
\makedispenv {display}{%
|
|
@@ -4867,12 +6209,36 @@ width0pt\relax} \fi
|
|
\let\Eflushright = \afterenvbreak
|
|
|
|
|
|
+% @raggedright does more-or-less normal line breaking but no right
|
|
+% justification. From plain.tex.
|
|
+\envdef\raggedright{%
|
|
+ \rightskip0pt plus2em \spaceskip.3333em \xspaceskip.5em\relax
|
|
+}
|
|
+\let\Eraggedright\par
|
|
+
|
|
+\envdef\raggedleft{%
|
|
+ \parindent=0pt \leftskip0pt plus2em
|
|
+ \spaceskip.3333em \xspaceskip.5em \parfillskip=0pt
|
|
+ \hbadness=10000 % Last line will usually be underfull, so turn off
|
|
+ % badness reporting.
|
|
+}
|
|
+\let\Eraggedleft\par
|
|
+
|
|
+\envdef\raggedcenter{%
|
|
+ \parindent=0pt \rightskip0pt plus1em \leftskip0pt plus1em
|
|
+ \spaceskip.3333em \xspaceskip.5em \parfillskip=0pt
|
|
+ \hbadness=10000 % Last line will usually be underfull, so turn off
|
|
+ % badness reporting.
|
|
+}
|
|
+\let\Eraggedcenter\par
|
|
+
|
|
+
|
|
% @quotation does normal linebreaking (hence we can't use \nonfillstart)
|
|
% and narrows the margins. We keep \parskip nonzero in general, since
|
|
% we're doing normal filling. So, when using \aboveenvbreak and
|
|
% \afterenvbreak, temporarily make \parskip 0.
|
|
%
|
|
-\envdef\quotation{%
|
|
+\def\quotationstart{%
|
|
{\parskip=0pt \aboveenvbreak}% because \aboveenvbreak inserts \parskip
|
|
\parindent=0pt
|
|
%
|
|
@@ -4881,14 +6247,26 @@ width0pt\relax} \fi
|
|
\advance\leftskip by \lispnarrowing
|
|
\advance\rightskip by \lispnarrowing
|
|
\exdentamount = \lispnarrowing
|
|
+ \else
|
|
\let\nonarrowing = \relax
|
|
\fi
|
|
\parsearg\quotationlabel
|
|
}
|
|
|
|
+\envdef\quotation{%
|
|
+ \setnormaldispenv
|
|
+ \quotationstart
|
|
+}
|
|
+
|
|
+\envdef\smallquotation{%
|
|
+ \setsmalldispenv
|
|
+ \quotationstart
|
|
+}
|
|
+\let\Esmallquotation = \Equotation
|
|
+
|
|
% We have retained a nonzero parskip for the environment, since we're
|
|
% doing normal filling.
|
|
-%
|
|
+%
|
|
\def\Equotation{%
|
|
\par
|
|
\ifx\quotationauthor\undefined\else
|
|
@@ -4921,18 +6299,16 @@ width0pt\relax} \fi
|
|
\do\ \do\\\do\{\do\}\do\$\do\&%
|
|
\do\#\do\^\do\^^K\do\_\do\^^A\do\%\do\~%
|
|
\do\<\do\>\do\|\do\@\do+\do\"%
|
|
+ % Don't do the quotes -- if we do, @set txicodequoteundirected and
|
|
+ % @set txicodequotebacktick will not have effect on @verb and
|
|
+ % @verbatim, and ?` and !` ligatures won't get disabled.
|
|
+ %\do\`\do\'%
|
|
}
|
|
%
|
|
% [Knuth] p. 380
|
|
\def\uncatcodespecials{%
|
|
\def\do##1{\catcode`##1=\other}\dospecials}
|
|
%
|
|
-% [Knuth] pp. 380,381,391
|
|
-% Disable Spanish ligatures ?` and !` of \tt font
|
|
-\begingroup
|
|
- \catcode`\`=\active\gdef`{\relax\lq}
|
|
-\endgroup
|
|
-%
|
|
% Setup for the @verb command.
|
|
%
|
|
% Eight spaces for a tab
|
|
@@ -4944,7 +6320,7 @@ width0pt\relax} \fi
|
|
\def\setupverb{%
|
|
\tt % easiest (and conventionally used) font for verbatim
|
|
\def\par{\leavevmode\endgraf}%
|
|
- \catcode`\`=\active
|
|
+ \setupmarkupstyle{verb}%
|
|
\tabeightspaces
|
|
% Respect line breaks,
|
|
% print special symbols as themselves, and
|
|
@@ -4959,6 +6335,7 @@ width0pt\relax} \fi
|
|
\newdimen\tabw \setbox0=\hbox{\tt\space} \tabw=8\wd0 % tab amount
|
|
%
|
|
\def\starttabbox{\setbox0=\hbox\bgroup}
|
|
+%
|
|
\begingroup
|
|
\catcode`\^^I=\active
|
|
\gdef\tabexpand{%
|
|
@@ -4972,14 +6349,16 @@ width0pt\relax} \fi
|
|
}%
|
|
}
|
|
\endgroup
|
|
+
|
|
+% start the verbatim environment.
|
|
\def\setupverbatim{%
|
|
+ \let\nonarrowing = t%
|
|
\nonfillstart
|
|
- \advance\leftskip by -\defbodyindent
|
|
% Easiest (and conventionally used) font for verbatim
|
|
\tt
|
|
\def\par{\leavevmode\egroup\box0\endgraf}%
|
|
- \catcode`\`=\active
|
|
\tabexpand
|
|
+ \setupmarkupstyle{verbatim}%
|
|
% Respect line breaks,
|
|
% print special symbols as themselves, and
|
|
% make each space count
|
|
@@ -5039,14 +6418,14 @@ width0pt\relax} \fi
|
|
{%
|
|
\makevalueexpandable
|
|
\setupverbatim
|
|
+ \indexnofonts % Allow `@@' and other weird things in file names.
|
|
\input #1
|
|
\afterenvbreak
|
|
}%
|
|
}
|
|
|
|
% @copying ... @end copying.
|
|
-% Save the text away for @insertcopying later. Many commands won't be
|
|
-% allowed in this context, but that's ok.
|
|
+% Save the text away for @insertcopying later.
|
|
%
|
|
% We save the uninterpreted tokens, rather than creating a box.
|
|
% Saving the text in a box would be much easier, but then all the
|
|
@@ -5055,84 +6434,45 @@ width0pt\relax} \fi
|
|
% file; b) letting users define the frontmatter in as flexible order as
|
|
% possible is very desirable.
|
|
%
|
|
-\def\copying{\begingroup
|
|
- % Define a command to swallow text until we reach `@end copying'.
|
|
- % \ is the escape char in this texinfo.tex file, so it is the
|
|
- % delimiter for the command; @ will be the escape char when we read
|
|
- % it, but that doesn't matter.
|
|
- \long\def\docopying##1\end copying{\gdef\copyingtext{##1}\enddocopying}%
|
|
- %
|
|
- % We must preserve ^^M's in the input file; see \insertcopying below.
|
|
- \catcode`\^^M = \active
|
|
- \docopying
|
|
-}
|
|
-
|
|
-% What we do to finish off the copying text.
|
|
-%
|
|
-\def\enddocopying{\endgroup\ignorespaces}
|
|
-
|
|
-% @insertcopying. Here we must play games with ^^M's. On the one hand,
|
|
-% we need them to delimit commands such as `@end quotation', so they
|
|
-% must be active. On the other hand, we certainly don't want every
|
|
-% end-of-line to be a \par, as would happen with the normal active
|
|
-% definition of ^^M. On the third hand, two ^^M's in a row should still
|
|
-% generate a \par.
|
|
-%
|
|
-% Our approach is to make ^^M insert a space and a penalty1 normally;
|
|
-% then it can also check if \lastpenalty=1. If it does, then manually
|
|
-% do \par.
|
|
-%
|
|
-% This messes up the normal definitions of @c[omment], so we redefine
|
|
-% it. Similarly for @ignore. (These commands are used in the gcc
|
|
-% manual for man page generation.)
|
|
-%
|
|
-% Seems pretty fragile, most line-oriented commands will presumably
|
|
-% fail, but for the limited use of getting the copying text (which
|
|
-% should be quite simple) inserted, we can hope it's ok.
|
|
-%
|
|
-{\catcode`\^^M=\active %
|
|
-\gdef\insertcopying{\begingroup %
|
|
- \parindent = 0pt % looks wrong on title page
|
|
- \def^^M{%
|
|
- \ifnum \lastpenalty=1 %
|
|
- \par %
|
|
- \else %
|
|
- \space \penalty 1 %
|
|
- \fi %
|
|
- }%
|
|
- %
|
|
- % Fix @c[omment] for catcode 13 ^^M's.
|
|
- \def\c##1^^M{\ignorespaces}%
|
|
- \let\comment = \c %
|
|
- %
|
|
- % Don't bother jumping through all the hoops that \doignore does, it
|
|
- % would be very hard since the catcodes are already set.
|
|
- \long\def\ignore##1\end ignore{\ignorespaces}%
|
|
- %
|
|
- \copyingtext %
|
|
-\endgroup}%
|
|
+\def\copying{\checkenv{}\begingroup\scanargctxt\docopying}
|
|
+\def\docopying#1@end copying{\endgroup\def\copyingtext{#1}}
|
|
+%
|
|
+\def\insertcopying{%
|
|
+ \begingroup
|
|
+ \parindent = 0pt % paragraph indentation looks wrong on title page
|
|
+ \scanexp\copyingtext
|
|
+ \endgroup
|
|
}
|
|
|
|
+
|
|
\message{defuns,}
|
|
% @defun etc.
|
|
|
|
\newskip\defbodyindent \defbodyindent=.4in
|
|
\newskip\defargsindent \defargsindent=50pt
|
|
\newskip\deflastargmargin \deflastargmargin=18pt
|
|
+\newcount\defunpenalty
|
|
|
|
% Start the processing of @deffn:
|
|
\def\startdefun{%
|
|
\ifnum\lastpenalty<10000
|
|
\medbreak
|
|
+ \defunpenalty=10003 % Will keep this @deffn together with the
|
|
+ % following @def command, see below.
|
|
\else
|
|
% If there are two @def commands in a row, we'll have a \nobreak,
|
|
% which is there to keep the function description together with its
|
|
% header. But if there's nothing but headers, we need to allow a
|
|
- % break somewhere. Check for penalty 10002 (inserted by
|
|
- % \defargscommonending) instead of 10000, since the sectioning
|
|
- % commands insert a \penalty10000, and we don't want to allow a break
|
|
- % between a section heading and a defun.
|
|
- \ifnum\lastpenalty=10002 \penalty2000 \fi
|
|
+ % break somewhere. Check specifically for penalty 10002, inserted
|
|
+ % by \printdefunline, instead of 10000, since the sectioning
|
|
+ % commands also insert a nobreak penalty, and we don't want to allow
|
|
+ % a break between a section heading and a defun.
|
|
+ %
|
|
+ % As a minor refinement, we avoid "club" headers by signalling
|
|
+ % with penalty of 10003 after the very first @deffn in the
|
|
+ % sequence (see above), and penalty of 10002 after any following
|
|
+ % @def command.
|
|
+ \ifnum\lastpenalty=10002 \penalty2000 \else \defunpenalty=10002 \fi
|
|
%
|
|
% Similarly, after a section heading, do not allow a break.
|
|
% But do insert the glue.
|
|
@@ -5150,7 +6490,7 @@ width0pt\relax} \fi
|
|
%
|
|
% As above, allow line break if we have multiple x headers in a row.
|
|
% It's not a great place, though.
|
|
- \ifnum\lastpenalty=10002 \penalty3000 \fi
|
|
+ \ifnum\lastpenalty=10002 \penalty3000 \else \defunpenalty=10002 \fi
|
|
%
|
|
% And now, it's time to reuse the body of the original defun:
|
|
\expandafter\gobbledefun#1%
|
|
@@ -5168,7 +6508,7 @@ width0pt\relax} \fi
|
|
\advance\rightskip by 0pt plus 1fil
|
|
\endgraf
|
|
\nobreak\vskip -\parskip
|
|
- \penalty 10002 % signal to \startdefun and \dodefunx
|
|
+ \penalty\defunpenalty % signal to \startdefun and \dodefunx
|
|
% Some of the @defun-type tags do not enable magic parentheses,
|
|
% rendering the following check redundant. But we don't optimize.
|
|
\checkparencounts
|
|
@@ -5178,7 +6518,7 @@ width0pt\relax} \fi
|
|
\def\Edefun{\endgraf\medbreak}
|
|
|
|
% \makedefun{deffn} creates \deffn, \deffnx and \Edeffn;
|
|
-% the only thing remainnig is to define \deffnheader.
|
|
+% the only thing remaining is to define \deffnheader.
|
|
%
|
|
\def\makedefun#1{%
|
|
\expandafter\let\csname E#1\endcsname = \Edefun
|
|
@@ -5291,7 +6631,7 @@ width0pt\relax} \fi
|
|
% #1 is the category, such as "Function".
|
|
% #2 is the return type, if any.
|
|
% #3 is the function name.
|
|
-%
|
|
+%
|
|
% We are followed by (but not passed) the arguments, if any.
|
|
%
|
|
\def\defname#1#2#3{%
|
|
@@ -5349,15 +6689,15 @@ width0pt\relax} \fi
|
|
% tt for the name. This is because literal text is sometimes needed in
|
|
% the argument list (groff manual), and ttsl and tt are not very
|
|
% distinguishable. Prevent hyphenation at `-' chars.
|
|
-%
|
|
+%
|
|
\def\defunargs#1{%
|
|
- % use sl by default (not ttsl),
|
|
+ % use sl by default (not ttsl),
|
|
% tt for the names.
|
|
\df \sl \hyphenchar\font=0
|
|
%
|
|
% On the other hand, if an argument has two dashes (for instance), we
|
|
% want a way to get ttsl. Let's try @var for that.
|
|
- \let\var=\ttslanted
|
|
+ \def\var##1{{\setupmarkupstyle{var}\ttslanted{##1}}}%
|
|
#1%
|
|
\sl\hyphenchar\font=45
|
|
}
|
|
@@ -5437,12 +6777,14 @@ width0pt\relax} \fi
|
|
\ifnum\parencount=0 \else \badparencount \fi
|
|
\ifnum\brackcount=0 \else \badbrackcount \fi
|
|
}
|
|
+% these should not use \errmessage; the glibc manual, at least, actually
|
|
+% has such constructs (when documenting function pointers).
|
|
\def\badparencount{%
|
|
- \errmessage{Unbalanced parentheses in @def}%
|
|
+ \message{Warning: unbalanced parentheses in @def...}%
|
|
\global\parencount=0
|
|
}
|
|
\def\badbrackcount{%
|
|
- \errmessage{Unbalanced square braces in @def}%
|
|
+ \message{Warning: unbalanced square brackets in @def...}%
|
|
\global\brackcount=0
|
|
}
|
|
|
|
@@ -5455,7 +6797,7 @@ width0pt\relax} \fi
|
|
\ifx\eTeXversion\undefined
|
|
\newwrite\macscribble
|
|
\def\scantokens#1{%
|
|
- \toks0={#1\endinput}%
|
|
+ \toks0={#1}%
|
|
\immediate\openout\macscribble=\jobname.tmp
|
|
\immediate\write\macscribble{\the\toks0}%
|
|
\immediate\closeout\macscribble
|
|
@@ -5468,32 +6810,53 @@ width0pt\relax} \fi
|
|
\newlinechar`\^^M
|
|
\let\xeatspaces\eatspaces
|
|
% Undo catcode changes of \startcontents and \doprintindex
|
|
- \catcode`\@=0 \catcode`\\=\other \escapechar=`\@
|
|
+ % When called from @insertcopying or (short)caption, we need active
|
|
+ % backslash to get it printed correctly. Previously, we had
|
|
+ % \catcode`\\=\other instead. We'll see whether a problem appears
|
|
+ % with macro expansion. --kasal, 19aug04
|
|
+ \catcode`\@=0 \catcode`\\=\active \escapechar=`\@
|
|
% ... and \example
|
|
\spaceisspace
|
|
%
|
|
% Append \endinput to make sure that TeX does not see the ending newline.
|
|
- %
|
|
% I've verified that it is necessary both for e-TeX and for ordinary TeX
|
|
% --kasal, 29nov03
|
|
\scantokens{#1\endinput}%
|
|
\endgroup
|
|
}
|
|
|
|
+\def\scanexp#1{%
|
|
+ \edef\temp{\noexpand\scanmacro{#1}}%
|
|
+ \temp
|
|
+}
|
|
+
|
|
\newcount\paramno % Count of parameters
|
|
\newtoks\macname % Macro name
|
|
\newif\ifrecursive % Is it recursive?
|
|
-\def\macrolist{} % List of all defined macros in the form
|
|
- % \do\macro1\do\macro2...
|
|
+
|
|
+% List of all defined macros in the form
|
|
+% \definedummyword\macro1\definedummyword\macro2...
|
|
+% Currently is also contains all @aliases; the list can be split
|
|
+% if there is a need.
|
|
+\def\macrolist{}
|
|
+
|
|
+% Add the macro to \macrolist
|
|
+\def\addtomacrolist#1{\expandafter \addtomacrolistxxx \csname#1\endcsname}
|
|
+\def\addtomacrolistxxx#1{%
|
|
+ \toks0 = \expandafter{\macrolist\definedummyword#1}%
|
|
+ \xdef\macrolist{\the\toks0}%
|
|
+}
|
|
|
|
% Utility routines.
|
|
-% This does \let #1 = #2, except with \csnames.
|
|
+% This does \let #1 = #2, with \csnames; that is,
|
|
+% \let \csname#1\endcsname = \csname#2\endcsname
|
|
+% (except of course we have to play expansion games).
|
|
+%
|
|
\def\cslet#1#2{%
|
|
-\expandafter\expandafter
|
|
-\expandafter\let
|
|
-\expandafter\expandafter
|
|
-\csname#1\endcsname
|
|
-\csname#2\endcsname}
|
|
+ \expandafter\let
|
|
+ \csname#1\expandafter\endcsname
|
|
+ \csname#2\endcsname
|
|
+}
|
|
|
|
% Trim leading and trailing spaces off a string.
|
|
% Concepts from aro-bend problem 15 (see CTAN).
|
|
@@ -5516,34 +6879,45 @@ width0pt\relax} \fi
|
|
% all characters are catcode 10, 11 or 12, except \ which is active
|
|
% (as in normal texinfo). It is necessary to change the definition of \.
|
|
|
|
+% Non-ASCII encodings make 8-bit characters active, so un-activate
|
|
+% them to avoid their expansion. Must do this non-globally, to
|
|
+% confine the change to the current group.
|
|
+
|
|
% It's necessary to have hard CRs when the macro is executed. This is
|
|
% done by making ^^M (\endlinechar) catcode 12 when reading the macro
|
|
% body, and then making it the \newlinechar in \scanmacro.
|
|
|
|
-\def\macrobodyctxt{%
|
|
- \catcode`\~=\other
|
|
+\def\scanctxt{%
|
|
+ \catcode`\"=\other
|
|
+ \catcode`\+=\other
|
|
+ \catcode`\<=\other
|
|
+ \catcode`\>=\other
|
|
+ \catcode`\@=\other
|
|
\catcode`\^=\other
|
|
\catcode`\_=\other
|
|
\catcode`\|=\other
|
|
- \catcode`\<=\other
|
|
- \catcode`\>=\other
|
|
- \catcode`\+=\other
|
|
+ \catcode`\~=\other
|
|
+ \ifx\declaredencoding\ascii \else \setnonasciicharscatcodenonglobal\other \fi
|
|
+}
|
|
+
|
|
+\def\scanargctxt{%
|
|
+ \scanctxt
|
|
+ \catcode`\\=\other
|
|
+ \catcode`\^^M=\other
|
|
+}
|
|
+
|
|
+\def\macrobodyctxt{%
|
|
+ \scanctxt
|
|
\catcode`\{=\other
|
|
\catcode`\}=\other
|
|
- \catcode`\@=\other
|
|
\catcode`\^^M=\other
|
|
- \usembodybackslash}
|
|
+ \usembodybackslash
|
|
+}
|
|
|
|
\def\macroargctxt{%
|
|
- \catcode`\~=\other
|
|
- \catcode`\^=\other
|
|
- \catcode`\_=\other
|
|
- \catcode`\|=\other
|
|
- \catcode`\<=\other
|
|
- \catcode`\>=\other
|
|
- \catcode`\+=\other
|
|
- \catcode`\@=\other
|
|
- \catcode`\\=\other}
|
|
+ \scanctxt
|
|
+ \catcode`\\=\other
|
|
+}
|
|
|
|
% \mbodybackslash is the definition of \ in @macro bodies.
|
|
% It maps \foo\ => \csname macarg.foo\endcsname => #N
|
|
@@ -5574,10 +6948,7 @@ width0pt\relax} \fi
|
|
\else \errmessage{Macro name \the\macname\space already defined}\fi
|
|
\global\cslet{macsave.\the\macname}{\the\macname}%
|
|
\global\expandafter\let\csname ismacro.\the\macname\endcsname=1%
|
|
- % Add the macroname to \macrolist
|
|
- \toks0 = \expandafter{\macrolist\do}%
|
|
- \xdef\macrolist{\the\toks0
|
|
- \expandafter\noexpand\csname\the\macname\endcsname}%
|
|
+ \addtomacrolist{\the\macname}%
|
|
\fi
|
|
\begingroup \macrobodyctxt
|
|
\ifrecursive \expandafter\parsermacbody
|
|
@@ -5591,7 +6962,7 @@ width0pt\relax} \fi
|
|
% Remove the macro name from \macrolist:
|
|
\begingroup
|
|
\expandafter\let\csname#1\endcsname \relax
|
|
- \let\do\unmacrodo
|
|
+ \let\definedummyword\unmacrodo
|
|
\xdef\macrolist{\macrolist}%
|
|
\endgroup
|
|
\else
|
|
@@ -5603,10 +6974,10 @@ width0pt\relax} \fi
|
|
% macro definitions that have been changed to \relax.
|
|
%
|
|
\def\unmacrodo#1{%
|
|
- \ifx#1\relax
|
|
+ \ifx #1\relax
|
|
% remove this
|
|
\else
|
|
- \noexpand\do \noexpand #1%
|
|
+ \noexpand\definedummyword \noexpand#1%
|
|
\fi
|
|
}
|
|
|
|
@@ -5719,16 +7090,11 @@ width0pt\relax} \fi
|
|
% {. If so it reads up to the closing }, if not, it reads the whole
|
|
% line. Whatever was read is then fed to the next control sequence
|
|
% as an argument (by \parsebrace or \parsearg)
|
|
-\def\braceorline#1{\let\next=#1\futurelet\nchar\braceorlinexxx}
|
|
+\def\braceorline#1{\let\macnamexxx=#1\futurelet\nchar\braceorlinexxx}
|
|
\def\braceorlinexxx{%
|
|
\ifx\nchar\bgroup\else
|
|
\expandafter\parsearg
|
|
- \fi \next}
|
|
-
|
|
-% We mant to disable all macros during \shipout so that they are not
|
|
-% expanded by \write.
|
|
-\def\turnoffmacros{\begingroup \def\do##1{\let\noexpand##1=\relax}%
|
|
- \edef\next{\macrolist}\expandafter\endgroup\next}
|
|
+ \fi \macnamexxx}
|
|
|
|
|
|
% @alias.
|
|
@@ -5739,6 +7105,7 @@ width0pt\relax} \fi
|
|
\def\aliasyyy #1=#2\relax{%
|
|
{%
|
|
\expandafter\let\obeyedspace=\empty
|
|
+ \addtomacrolist{#1}%
|
|
\xdef\next{\global\let\makecsname{#1}=\makecsname{#2}}%
|
|
}%
|
|
\next
|
|
@@ -5748,7 +7115,6 @@ width0pt\relax} \fi
|
|
\message{cross references,}
|
|
|
|
\newwrite\auxfile
|
|
-
|
|
\newif\ifhavexrefs % True if xref values are known.
|
|
\newif\ifwarnedxrefs % True if we warned once that they aren't known.
|
|
|
|
@@ -5762,7 +7128,7 @@ width0pt\relax} \fi
|
|
% might or might not have spaces before the first comma, like:
|
|
% @node foo , bar , ...
|
|
% We don't want such trailing spaces in the node name.
|
|
-%
|
|
+%
|
|
\parseargdef\node{\checkenv{}\donode #1 ,\finishnodeparse}
|
|
%
|
|
% also remove a trailing comma, in case of something like this:
|
|
@@ -5775,7 +7141,7 @@ width0pt\relax} \fi
|
|
|
|
% Write a cross-reference definition for the current node. #1 is the
|
|
% type (Ynumbered, Yappendix, Ynothing).
|
|
-%
|
|
+%
|
|
\def\donoderef#1{%
|
|
\ifx\lastnode\empty\else
|
|
\setref{\lastnode}{#1}%
|
|
@@ -5793,31 +7159,29 @@ width0pt\relax} \fi
|
|
|
|
% \setref{NAME}{SNT} defines a cross-reference point NAME (a node or an
|
|
% anchor), which consists of three parts:
|
|
-% 1) NAME-title - the current sectioning name taken from \thissection,
|
|
+% 1) NAME-title - the current sectioning name taken from \lastsection,
|
|
% or the anchor name.
|
|
% 2) NAME-snt - section number and type, passed as the SNT arg, or
|
|
% empty for anchors.
|
|
% 3) NAME-pg - the page number.
|
|
-%
|
|
+%
|
|
% This is called from \donoderef, \anchor, and \dofloat. In the case of
|
|
% floats, there is an additional part, which is not written here:
|
|
% 4) NAME-lof - the text as it should appear in a @listoffloats.
|
|
-%
|
|
+%
|
|
\def\setref#1#2{%
|
|
\pdfmkdest{#1}%
|
|
\iflinks
|
|
{%
|
|
\atdummies % preserve commands, but don't expand them
|
|
- \turnoffactive
|
|
- \otherbackslash
|
|
\edef\writexrdef##1##2{%
|
|
\write\auxfile{@xrdef{#1-% #1 of \setref, expanded by the \edef
|
|
##1}{##2}}% these are parameters of \writexrdef
|
|
}%
|
|
- \toks0 = \expandafter{\thissection}%
|
|
+ \toks0 = \expandafter{\lastsection}%
|
|
\immediate \writexrdef{title}{\the\toks0 }%
|
|
\immediate \writexrdef{snt}{\csname #2\endcsname}% \Ynumbered etc.
|
|
- \writexrdef{pg}{\folio}% will be written later, during \shipout
|
|
+ \safewhatsit{\writexrdef{pg}{\folio}}% will be written later, during \shipout
|
|
}%
|
|
\fi
|
|
}
|
|
@@ -5861,18 +7225,25 @@ width0pt\relax} \fi
|
|
%
|
|
% Make link in pdf output.
|
|
\ifpdf
|
|
- \leavevmode
|
|
- \getfilename{#4}%
|
|
- {\turnoffactive \otherbackslash
|
|
+ {\indexnofonts
|
|
+ \turnoffactive
|
|
+ % This expands tokens, so do it after making catcode changes, so _
|
|
+ % etc. don't get their TeX definitions.
|
|
+ \getfilename{#4}%
|
|
+ %
|
|
+ % See comments at \activebackslashdouble.
|
|
+ {\activebackslashdouble \xdef\pdfxrefdest{#1}%
|
|
+ \backslashparens\pdfxrefdest}%
|
|
+ %
|
|
+ \leavevmode
|
|
+ \startlink attr{/Border [0 0 0]}%
|
|
\ifnum\filenamelength>0
|
|
- \startlink attr{/Border [0 0 0]}%
|
|
- goto file{\the\filename.pdf} name{#1}%
|
|
+ goto file{\the\filename.pdf} name{\pdfxrefdest}%
|
|
\else
|
|
- \startlink attr{/Border [0 0 0]}%
|
|
- goto name{\pdfmkpgn{#1}}%
|
|
+ goto name{\pdfmkpgn{\pdfxrefdest}}%
|
|
\fi
|
|
}%
|
|
- \linkcolor
|
|
+ \setcolor{\linkcolor}%
|
|
\fi
|
|
%
|
|
% Float references are printed completely differently: "Figure 1.2"
|
|
@@ -5883,7 +7254,6 @@ width0pt\relax} \fi
|
|
% include an _ in the xref name, etc.
|
|
\indexnofonts
|
|
\turnoffactive
|
|
- \otherbackslash
|
|
\expandafter\global\expandafter\let\expandafter\Xthisreftitle
|
|
\csname XR#1-title\endcsname
|
|
}%
|
|
@@ -5891,19 +7261,19 @@ width0pt\relax} \fi
|
|
% If the user specified the print name (third arg) to the ref,
|
|
% print it instead of our usual "Figure 1.2".
|
|
\ifdim\wd0 = 0pt
|
|
- \refx{#1-snt}%
|
|
+ \refx{#1-snt}{}%
|
|
\else
|
|
\printedrefname
|
|
\fi
|
|
%
|
|
% if the user also gave the printed manual name (fifth arg), append
|
|
- % "in MANUALNAME".
|
|
+ % "in MANUALNAME".
|
|
\ifdim \wd1 > 0pt
|
|
\space \putwordin{} \cite{\printedmanual}%
|
|
\fi
|
|
\else
|
|
% node/anchor (non-float) references.
|
|
- %
|
|
+ %
|
|
% If we use \unhbox0 and \unhbox1 to print the node names, TeX does not
|
|
% insert empty discretionaries after hyphens, which means that it will
|
|
% not find a line break at a hyphen in a node names. Since some manuals
|
|
@@ -5911,14 +7281,14 @@ width0pt\relax} \fi
|
|
% is a loss. Therefore, we give the text of the node name again, so it
|
|
% is as if TeX is seeing it for the first time.
|
|
\ifdim \wd1 > 0pt
|
|
- \putwordsection{} ``\printedrefname'' \putwordin{} \cite{\printedmanual}%
|
|
+ \putwordSection{} ``\printedrefname'' \putwordin{} \cite{\printedmanual}%
|
|
\else
|
|
% _ (for example) has to be the character _ for the purposes of the
|
|
% control sequence corresponding to the node, but it has to expand
|
|
% into the usual \leavevmode...\vrule stuff for purposes of
|
|
% printing. So we \turnoffactive for the \refx-snt, back on for the
|
|
% printing, back off for the \refx-pg.
|
|
- {\turnoffactive \otherbackslash
|
|
+ {\turnoffactive
|
|
% Only output a following space if the -snt ref is nonempty; for
|
|
% @unnumbered and @anchor, it won't be.
|
|
\setbox2 = \hbox{\ignorespaces \refx{#1-snt}{}}%
|
|
@@ -5931,7 +7301,7 @@ width0pt\relax} \fi
|
|
,\space
|
|
%
|
|
% output the `page 3'.
|
|
- \turnoffactive \otherbackslash \putwordpage\tie\refx{#1-pg}{}%
|
|
+ \turnoffactive \putwordpage\tie\refx{#1-pg}{}%
|
|
\fi
|
|
\fi
|
|
\endlink
|
|
@@ -6007,14 +7377,22 @@ width0pt\relax} \fi
|
|
% collisions). But if this is a float type, we have more work to do.
|
|
%
|
|
\def\xrdef#1#2{%
|
|
- \expandafter\gdef\csname XR#1\endcsname{#2}% remember this xref value.
|
|
+ {% The node name might contain 8-bit characters, which in our current
|
|
+ % implementation are changed to commands like @'e. Don't let these
|
|
+ % mess up the control sequence name.
|
|
+ \indexnofonts
|
|
+ \turnoffactive
|
|
+ \xdef\safexrefname{#1}%
|
|
+ }%
|
|
+ %
|
|
+ \expandafter\gdef\csname XR\safexrefname\endcsname{#2}% remember this xref
|
|
%
|
|
% Was that xref control sequence that we just defined for a float?
|
|
- \expandafter\iffloat\csname XR#1\endcsname
|
|
+ \expandafter\iffloat\csname XR\safexrefname\endcsname
|
|
% it was a float, and we have the (safe) float type in \iffloattype.
|
|
\expandafter\let\expandafter\floatlist
|
|
\csname floatlist\iffloattype\endcsname
|
|
- %
|
|
+ %
|
|
% Is this the first time we've seen this float type?
|
|
\expandafter\ifx\floatlist\relax
|
|
\toks0 = {\do}% yes, so just \do
|
|
@@ -6025,22 +7403,23 @@ width0pt\relax} \fi
|
|
%
|
|
% Remember this xref in the control sequence \floatlistFLOATTYPE,
|
|
% for later use in \listoffloats.
|
|
- \expandafter\xdef\csname floatlist\iffloattype\endcsname{\the\toks0{#1}}%
|
|
+ \expandafter\xdef\csname floatlist\iffloattype\endcsname{\the\toks0
|
|
+ {\safexrefname}}%
|
|
\fi
|
|
}
|
|
|
|
% Read the last existing aux file, if any. No error if none exists.
|
|
-%
|
|
+%
|
|
\def\tryauxfile{%
|
|
\openin 1 \jobname.aux
|
|
\ifeof 1 \else
|
|
- \readauxfile
|
|
+ \readdatafile{aux}%
|
|
\global\havexrefstrue
|
|
\fi
|
|
\closein 1
|
|
}
|
|
|
|
-\def\readauxfile{\begingroup
|
|
+\def\setupdatafile{%
|
|
\catcode`\^^@=\other
|
|
\catcode`\^^A=\other
|
|
\catcode`\^^B=\other
|
|
@@ -6109,11 +7488,11 @@ width0pt\relax} \fi
|
|
%
|
|
% Make the characters 128-255 be printing characters.
|
|
{%
|
|
- \count 1=128
|
|
+ \count1=128
|
|
\def\loop{%
|
|
- \catcode\count 1=\other
|
|
- \advance\count 1 by 1
|
|
- \ifnum \count 1<256 \loop \fi
|
|
+ \catcode\count1=\other
|
|
+ \advance\count1 by 1
|
|
+ \ifnum \count1<256 \loop \fi
|
|
}%
|
|
}%
|
|
%
|
|
@@ -6121,8 +7500,12 @@ width0pt\relax} \fi
|
|
\catcode`\{=1
|
|
\catcode`\}=2
|
|
\catcode`\@=0
|
|
- %
|
|
- \input \jobname.aux
|
|
+}
|
|
+
|
|
+\def\readdatafile#1{%
|
|
+\begingroup
|
|
+ \setupdatafile
|
|
+ \input\jobname.#1
|
|
\endgroup}
|
|
|
|
|
|
@@ -6208,7 +7591,7 @@ width0pt\relax} \fi
|
|
% In case a @footnote appears in a vbox, save the footnote text and create
|
|
% the real \insert just after the vbox finished. Otherwise, the insertion
|
|
% would be lost.
|
|
-% Similarily, if a @footnote appears inside an alignment, save the footnote
|
|
+% Similarly, if a @footnote appears inside an alignment, save the footnote
|
|
% text to a box and make the \insert when a row of the table is finished.
|
|
% And the same can be done for other insert classes. --kasal, 16nov03.
|
|
|
|
@@ -6312,15 +7695,19 @@ width0pt\relax} \fi
|
|
% If the image is by itself, center it.
|
|
\ifvmode
|
|
\imagevmodetrue
|
|
- \nobreak\bigskip
|
|
+ \nobreak\medskip
|
|
% Usually we'll have text after the image which will insert
|
|
% \parskip glue, so insert it here too to equalize the space
|
|
% above and below.
|
|
\nobreak\vskip\parskip
|
|
\nobreak
|
|
- \line\bgroup\hss
|
|
\fi
|
|
%
|
|
+ % Leave vertical mode so that indentation from an enclosing
|
|
+ % environment such as @quotation is respected. On the other hand, if
|
|
+ % it's at the top level, we don't want the normal paragraph indentation.
|
|
+ \noindent
|
|
+ %
|
|
% Output the image.
|
|
\ifpdf
|
|
\dopdfimage{#1}{#2}{#3}%
|
|
@@ -6331,26 +7718,29 @@ width0pt\relax} \fi
|
|
\epsfbox{#1.eps}%
|
|
\fi
|
|
%
|
|
- \ifimagevmode \hss \egroup \bigbreak \fi % space after the image
|
|
+ \ifimagevmode \medskip \fi % space after the standalone image
|
|
\endgroup}
|
|
|
|
|
|
-% @float FLOATTYPE,LOC ... @end float for displayed figures, tables, etc.
|
|
-% We don't actually implement floating yet, we just plop the float "here".
|
|
-% But it seemed the best name for the future.
|
|
-%
|
|
-\envparseargdef\float{\dofloat #1,,,\finish}
|
|
+% @float FLOATTYPE,LABEL,LOC ... @end float for displayed figures, tables,
|
|
+% etc. We don't actually implement floating yet, we always include the
|
|
+% float "here". But it seemed the best name for the future.
|
|
+%
|
|
+\envparseargdef\float{\eatcommaspace\eatcommaspace\dofloat#1, , ,\finish}
|
|
+
|
|
+% There may be a space before second and/or third parameter; delete it.
|
|
+\def\eatcommaspace#1, {#1,}
|
|
|
|
% #1 is the optional FLOATTYPE, the text label for this float, typically
|
|
% "Figure", "Table", "Example", etc. Can't contain commas. If omitted,
|
|
% this float will not be numbered and cannot be referred to.
|
|
-%
|
|
+%
|
|
% #2 is the optional xref label. Also must be present for the float to
|
|
% be referable.
|
|
-%
|
|
+%
|
|
% #3 is the optional positioning argument; for now, it is ignored. It
|
|
% will somehow specify the positions allowed to float to (here, top, bottom).
|
|
-%
|
|
+%
|
|
% We keep a separate counter for each FLOATTYPE, which we reset at each
|
|
% chapter-level command.
|
|
\let\resetallfloatnos=\empty
|
|
@@ -6360,6 +7750,10 @@ width0pt\relax} \fi
|
|
\let\thisshortcaption=\empty
|
|
%
|
|
% don't lose footnotes inside @float.
|
|
+ %
|
|
+ % BEWARE: when the floats start float, we have to issue warning whenever an
|
|
+ % insert appears inside a float which could possibly float. --kasal, 26may04
|
|
+ %
|
|
\startsavinginserts
|
|
%
|
|
% We can't be used inside a paragraph.
|
|
@@ -6386,18 +7780,18 @@ width0pt\relax} \fi
|
|
\ifx\floatlabel\empty \else
|
|
% We want each FLOATTYPE to be numbered separately (Figure 1,
|
|
% Table 1, Figure 2, ...). (And if no label, no number.)
|
|
- %
|
|
+ %
|
|
\expandafter\getfloatno\csname\safefloattype floatno\endcsname
|
|
\global\advance\floatno by 1
|
|
%
|
|
{%
|
|
- % This magic value for \thissection is output by \setref as the
|
|
+ % This magic value for \lastsection is output by \setref as the
|
|
% XREFLABEL-title value. \xrefX uses it to distinguish float
|
|
% labels (which have a completely different output format) from
|
|
% node and anchor labels. And \xrdef uses it to construct the
|
|
% lists of floats.
|
|
- %
|
|
- \edef\thissection{\floatmagic=\safefloattype}%
|
|
+ %
|
|
+ \edef\lastsection{\floatmagic=\safefloattype}%
|
|
\setref{\floatlabel}{Yfloat}%
|
|
}%
|
|
\fi
|
|
@@ -6444,7 +7838,7 @@ width0pt\relax} \fi
|
|
\fi
|
|
%
|
|
% caption text.
|
|
- \appendtomacro\captionline\thiscaption
|
|
+ \appendtomacro\captionline{\scanexp\thiscaption}%
|
|
\fi
|
|
%
|
|
% If we have anything to print, print it, with space before.
|
|
@@ -6452,6 +7846,9 @@ width0pt\relax} \fi
|
|
\ifx\captionline\empty \else
|
|
\vskip.5\parskip
|
|
\captionline
|
|
+ %
|
|
+ % Space below caption.
|
|
+ \vskip\parskip
|
|
\fi
|
|
%
|
|
% If have an xref label, write the list of floats info. Do this
|
|
@@ -6461,38 +7858,47 @@ width0pt\relax} \fi
|
|
% \floatlabel-lof. Besides \floatident, we include the short
|
|
% caption if specified, else the full caption if specified, else nothing.
|
|
{%
|
|
- \atdummies \turnoffactive \otherbackslash
|
|
- \immediate\write\auxfile{@xrdef{\floatlabel-lof}{%
|
|
- \floatident
|
|
- \ifx\thisshortcaption\empty
|
|
- \ifx\thiscaption\empty \else : \thiscaption \fi
|
|
- \else
|
|
- : \thisshortcaption
|
|
- \fi
|
|
- }}%
|
|
+ \atdummies
|
|
+ %
|
|
+ % since we read the caption text in the macro world, where ^^M
|
|
+ % is turned into a normal character, we have to scan it back, so
|
|
+ % we don't write the literal three characters "^^M" into the aux file.
|
|
+ \scanexp{%
|
|
+ \xdef\noexpand\gtemp{%
|
|
+ \ifx\thisshortcaption\empty
|
|
+ \thiscaption
|
|
+ \else
|
|
+ \thisshortcaption
|
|
+ \fi
|
|
+ }%
|
|
+ }%
|
|
+ \immediate\write\auxfile{@xrdef{\floatlabel-lof}{\floatident
|
|
+ \ifx\gtemp\empty \else : \gtemp \fi}}%
|
|
}%
|
|
\fi
|
|
- %
|
|
- % Space below caption, if we printed anything.
|
|
- \ifx\printedsomething\empty \else \vskip\parskip \fi
|
|
\egroup % end of \vtop
|
|
+ %
|
|
+ % place the captured inserts
|
|
+ %
|
|
+ % BEWARE: when the floats start floating, we have to issue warning
|
|
+ % whenever an insert appears inside a float which could possibly
|
|
+ % float. --kasal, 26may04
|
|
+ %
|
|
\checkinserts
|
|
}
|
|
|
|
% Append the tokens #2 to the definition of macro #1, not expanding either.
|
|
-%
|
|
-\newtoks\appendtomacroAtoks
|
|
-\newtoks\appendtomacroBtoks
|
|
+%
|
|
\def\appendtomacro#1#2{%
|
|
- \appendtomacroAtoks = \expandafter{#1}%
|
|
- \appendtomacroBtoks = {#2}%
|
|
- \edef#1{\the\appendtomacroAtoks \the\appendtomacroBtoks}%
|
|
+ \expandafter\def\expandafter#1\expandafter{#1#2}%
|
|
}
|
|
|
|
-% @caption, @shortcaption are easy.
|
|
-%
|
|
-\long\def\caption#1{\checkenv\float \def\thiscaption{#1}}
|
|
-\def\shortcaption#1{\checkenv\float \def\thisshortcaption{#1}}
|
|
+% @caption, @shortcaption
|
|
+%
|
|
+\def\caption{\docaption\thiscaption}
|
|
+\def\shortcaption{\docaption\thisshortcaption}
|
|
+\def\docaption{\checkenv\float \bgroup\scanargctxt\defcaption}
|
|
+\def\defcaption#1#2{\egroup \def#1{#2}}
|
|
|
|
% The parameter is the control sequence identifying the counter we are
|
|
% going to use. Create it if it doesn't exist and assign it to \floatno.
|
|
@@ -6511,7 +7917,7 @@ width0pt\relax} \fi
|
|
% \setref calls this to get the XREFLABEL-snt value. We want an @xref
|
|
% to the FLOATLABEL to expand to "Figure 3.1". We call \setref when we
|
|
% first read the @float command.
|
|
-%
|
|
+%
|
|
\def\Yfloat{\floattype@tie \chaplevelprefix\the\floatno}%
|
|
|
|
% Magic string used for the XREFLABEL-title value, so \xrefX can
|
|
@@ -6520,13 +7926,13 @@ width0pt\relax} \fi
|
|
|
|
% #1 is the control sequence we are passed; we expand into a conditional
|
|
% which is true if #1 represents a float ref. That is, the magic
|
|
-% \thissection value which we \setref above.
|
|
-%
|
|
+% \lastsection value which we \setref above.
|
|
+%
|
|
\def\iffloat#1{\expandafter\doiffloat#1==\finish}
|
|
%
|
|
% #1 is (maybe) the \floatmagic string. If so, #2 will be the
|
|
% (safe) float type for this float. We set \iffloattype to #2.
|
|
-%
|
|
+%
|
|
\def\doiffloat#1=#2=#3\finish{%
|
|
\def\temp{#1}%
|
|
\def\iffloattype{#2}%
|
|
@@ -6534,7 +7940,7 @@ width0pt\relax} \fi
|
|
}
|
|
|
|
% @listoffloats FLOATTYPE - print a list of floats like a table of contents.
|
|
-%
|
|
+%
|
|
\parseargdef\listoffloats{%
|
|
\def\floattype{#1}% floattype
|
|
{%
|
|
@@ -6564,10 +7970,10 @@ width0pt\relax} \fi
|
|
% xref label, in the form LABEL-title, which is how we save it in the
|
|
% aux file. We strip off the -title and look up \XRLABEL-lof, which
|
|
% has the text we're supposed to typeset here.
|
|
-%
|
|
+%
|
|
% Figures without xref labels will not be included in the list (since
|
|
% they won't appear in the aux file).
|
|
-%
|
|
+%
|
|
\def\listoffloatsdo#1{\listoffloatsdoentry#1\finish}
|
|
\def\listoffloatsdoentry#1-title\finish{{%
|
|
% Can't fully expand XR#1-lof because it can contain anything. Just
|
|
@@ -6581,39 +7987,909 @@ width0pt\relax} \fi
|
|
\writeentry
|
|
}}
|
|
|
|
+
|
|
\message{localization,}
|
|
-% and i18n.
|
|
|
|
-% @documentlanguage is usually given very early, just after
|
|
-% @setfilename. If done too late, it may not override everything
|
|
-% properly. Single argument is the language abbreviation.
|
|
-% It would be nice if we could set up a hyphenation file here.
|
|
+% For single-language documents, @documentlanguage is usually given very
|
|
+% early, just after @documentencoding. Single argument is the language
|
|
+% (de) or locale (de_DE) abbreviation.
|
|
%
|
|
-\parseargdef\documentlanguage{%
|
|
+{
|
|
+ \catcode`\_ = \active
|
|
+ \globaldefs=1
|
|
+\parseargdef\documentlanguage{\begingroup
|
|
+ \let_=\normalunderscore % normal _ character for filenames
|
|
\tex % read txi-??.tex file in plain TeX.
|
|
- % Read the file if it exists.
|
|
+ % Read the file by the name they passed if it exists.
|
|
\openin 1 txi-#1.tex
|
|
\ifeof 1
|
|
- \errhelp = \nolanghelp
|
|
- \errmessage{Cannot read language file txi-#1.tex}%
|
|
+ \documentlanguagetrywithoutunderscore{#1_\finish}%
|
|
\else
|
|
+ \globaldefs = 1 % everything in the txi-LL files needs to persist
|
|
\input txi-#1.tex
|
|
\fi
|
|
\closein 1
|
|
- \endgroup
|
|
+ \endgroup % end raw TeX
|
|
+\endgroup}
|
|
+%
|
|
+% If they passed de_DE, and txi-de_DE.tex doesn't exist,
|
|
+% try txi-de.tex.
|
|
+%
|
|
+\gdef\documentlanguagetrywithoutunderscore#1_#2\finish{%
|
|
+ \openin 1 txi-#1.tex
|
|
+ \ifeof 1
|
|
+ \errhelp = \nolanghelp
|
|
+ \errmessage{Cannot read language file txi-#1.tex}%
|
|
+ \else
|
|
+ \globaldefs = 1 % everything in the txi-LL files needs to persist
|
|
+ \input txi-#1.tex
|
|
+ \fi
|
|
+ \closein 1
|
|
}
|
|
+}% end of special _ catcode
|
|
+%
|
|
\newhelp\nolanghelp{The given language definition file cannot be found or
|
|
-is empty. Maybe you need to install it? In the current directory
|
|
-should work if nowhere else does.}
|
|
+is empty. Maybe you need to install it? Putting it in the current
|
|
+directory should work if nowhere else does.}
|
|
|
|
+% This macro is called from txi-??.tex files; the first argument is the
|
|
+% \language name to set (without the "\lang@" prefix), the second and
|
|
+% third args are \{left,right}hyphenmin.
|
|
+%
|
|
+% The language names to pass are determined when the format is built.
|
|
+% See the etex.log file created at that time, e.g.,
|
|
+% /usr/local/texlive/2008/texmf-var/web2c/pdftex/etex.log.
|
|
+%
|
|
+% With TeX Live 2008, etex now includes hyphenation patterns for all
|
|
+% available languages. This means we can support hyphenation in
|
|
+% Texinfo, at least to some extent. (This still doesn't solve the
|
|
+% accented characters problem.)
|
|
+%
|
|
+\catcode`@=11
|
|
+\def\txisetlanguage#1#2#3{%
|
|
+ % do not set the language if the name is undefined in the current TeX.
|
|
+ \expandafter\ifx\csname lang@#1\endcsname \relax
|
|
+ \message{no patterns for #1}%
|
|
+ \else
|
|
+ \global\language = \csname lang@#1\endcsname
|
|
+ \fi
|
|
+ % but there is no harm in adjusting the hyphenmin values regardless.
|
|
+ \global\lefthyphenmin = #2\relax
|
|
+ \global\righthyphenmin = #3\relax
|
|
+}
|
|
|
|
-% @documentencoding should change something in TeX eventually, most
|
|
-% likely, but for now just recognize it.
|
|
-\let\documentencoding = \comment
|
|
+% Helpers for encodings.
|
|
+% Set the catcode of characters 128 through 255 to the specified number.
|
|
+%
|
|
+\def\setnonasciicharscatcode#1{%
|
|
+ \count255=128
|
|
+ \loop\ifnum\count255<256
|
|
+ \global\catcode\count255=#1\relax
|
|
+ \advance\count255 by 1
|
|
+ \repeat
|
|
+}
|
|
|
|
+\def\setnonasciicharscatcodenonglobal#1{%
|
|
+ \count255=128
|
|
+ \loop\ifnum\count255<256
|
|
+ \catcode\count255=#1\relax
|
|
+ \advance\count255 by 1
|
|
+ \repeat
|
|
+}
|
|
|
|
-% Page size parameters.
|
|
+% @documentencoding sets the definition of non-ASCII characters
|
|
+% according to the specified encoding.
|
|
%
|
|
+\parseargdef\documentencoding{%
|
|
+ % Encoding being declared for the document.
|
|
+ \def\declaredencoding{\csname #1.enc\endcsname}%
|
|
+ %
|
|
+ % Supported encodings: names converted to tokens in order to be able
|
|
+ % to compare them with \ifx.
|
|
+ \def\ascii{\csname US-ASCII.enc\endcsname}%
|
|
+ \def\latnine{\csname ISO-8859-15.enc\endcsname}%
|
|
+ \def\latone{\csname ISO-8859-1.enc\endcsname}%
|
|
+ \def\lattwo{\csname ISO-8859-2.enc\endcsname}%
|
|
+ \def\utfeight{\csname UTF-8.enc\endcsname}%
|
|
+ %
|
|
+ \ifx \declaredencoding \ascii
|
|
+ \asciichardefs
|
|
+ %
|
|
+ \else \ifx \declaredencoding \lattwo
|
|
+ \setnonasciicharscatcode\active
|
|
+ \lattwochardefs
|
|
+ %
|
|
+ \else \ifx \declaredencoding \latone
|
|
+ \setnonasciicharscatcode\active
|
|
+ \latonechardefs
|
|
+ %
|
|
+ \else \ifx \declaredencoding \latnine
|
|
+ \setnonasciicharscatcode\active
|
|
+ \latninechardefs
|
|
+ %
|
|
+ \else \ifx \declaredencoding \utfeight
|
|
+ \setnonasciicharscatcode\active
|
|
+ \utfeightchardefs
|
|
+ %
|
|
+ \else
|
|
+ \message{Unknown document encoding #1, ignoring.}%
|
|
+ %
|
|
+ \fi % utfeight
|
|
+ \fi % latnine
|
|
+ \fi % latone
|
|
+ \fi % lattwo
|
|
+ \fi % ascii
|
|
+}
|
|
+
|
|
+% A message to be logged when using a character that isn't available
|
|
+% the default font encoding (OT1).
|
|
+%
|
|
+\def\missingcharmsg#1{\message{Character missing in OT1 encoding: #1.}}
|
|
+
|
|
+% Take account of \c (plain) vs. \, (Texinfo) difference.
|
|
+\def\cedilla#1{\ifx\c\ptexc\c{#1}\else\,{#1}\fi}
|
|
+
|
|
+% First, make active non-ASCII characters in order for them to be
|
|
+% correctly categorized when TeX reads the replacement text of
|
|
+% macros containing the character definitions.
|
|
+\setnonasciicharscatcode\active
|
|
+%
|
|
+% Latin1 (ISO-8859-1) character definitions.
|
|
+\def\latonechardefs{%
|
|
+ \gdef^^a0{~}
|
|
+ \gdef^^a1{\exclamdown}
|
|
+ \gdef^^a2{\missingcharmsg{CENT SIGN}}
|
|
+ \gdef^^a3{{\pounds}}
|
|
+ \gdef^^a4{\missingcharmsg{CURRENCY SIGN}}
|
|
+ \gdef^^a5{\missingcharmsg{YEN SIGN}}
|
|
+ \gdef^^a6{\missingcharmsg{BROKEN BAR}}
|
|
+ \gdef^^a7{\S}
|
|
+ \gdef^^a8{\"{}}
|
|
+ \gdef^^a9{\copyright}
|
|
+ \gdef^^aa{\ordf}
|
|
+ \gdef^^ab{\guillemetleft}
|
|
+ \gdef^^ac{$\lnot$}
|
|
+ \gdef^^ad{\-}
|
|
+ \gdef^^ae{\registeredsymbol}
|
|
+ \gdef^^af{\={}}
|
|
+ %
|
|
+ \gdef^^b0{\textdegree}
|
|
+ \gdef^^b1{$\pm$}
|
|
+ \gdef^^b2{$^2$}
|
|
+ \gdef^^b3{$^3$}
|
|
+ \gdef^^b4{\'{}}
|
|
+ \gdef^^b5{$\mu$}
|
|
+ \gdef^^b6{\P}
|
|
+ %
|
|
+ \gdef^^b7{$^.$}
|
|
+ \gdef^^b8{\cedilla\ }
|
|
+ \gdef^^b9{$^1$}
|
|
+ \gdef^^ba{\ordm}
|
|
+ %
|
|
+ \gdef^^bb{\guilletright}
|
|
+ \gdef^^bc{$1\over4$}
|
|
+ \gdef^^bd{$1\over2$}
|
|
+ \gdef^^be{$3\over4$}
|
|
+ \gdef^^bf{\questiondown}
|
|
+ %
|
|
+ \gdef^^c0{\`A}
|
|
+ \gdef^^c1{\'A}
|
|
+ \gdef^^c2{\^A}
|
|
+ \gdef^^c3{\~A}
|
|
+ \gdef^^c4{\"A}
|
|
+ \gdef^^c5{\ringaccent A}
|
|
+ \gdef^^c6{\AE}
|
|
+ \gdef^^c7{\cedilla C}
|
|
+ \gdef^^c8{\`E}
|
|
+ \gdef^^c9{\'E}
|
|
+ \gdef^^ca{\^E}
|
|
+ \gdef^^cb{\"E}
|
|
+ \gdef^^cc{\`I}
|
|
+ \gdef^^cd{\'I}
|
|
+ \gdef^^ce{\^I}
|
|
+ \gdef^^cf{\"I}
|
|
+ %
|
|
+ \gdef^^d0{\DH}
|
|
+ \gdef^^d1{\~N}
|
|
+ \gdef^^d2{\`O}
|
|
+ \gdef^^d3{\'O}
|
|
+ \gdef^^d4{\^O}
|
|
+ \gdef^^d5{\~O}
|
|
+ \gdef^^d6{\"O}
|
|
+ \gdef^^d7{$\times$}
|
|
+ \gdef^^d8{\O}
|
|
+ \gdef^^d9{\`U}
|
|
+ \gdef^^da{\'U}
|
|
+ \gdef^^db{\^U}
|
|
+ \gdef^^dc{\"U}
|
|
+ \gdef^^dd{\'Y}
|
|
+ \gdef^^de{\TH}
|
|
+ \gdef^^df{\ss}
|
|
+ %
|
|
+ \gdef^^e0{\`a}
|
|
+ \gdef^^e1{\'a}
|
|
+ \gdef^^e2{\^a}
|
|
+ \gdef^^e3{\~a}
|
|
+ \gdef^^e4{\"a}
|
|
+ \gdef^^e5{\ringaccent a}
|
|
+ \gdef^^e6{\ae}
|
|
+ \gdef^^e7{\cedilla c}
|
|
+ \gdef^^e8{\`e}
|
|
+ \gdef^^e9{\'e}
|
|
+ \gdef^^ea{\^e}
|
|
+ \gdef^^eb{\"e}
|
|
+ \gdef^^ec{\`{\dotless i}}
|
|
+ \gdef^^ed{\'{\dotless i}}
|
|
+ \gdef^^ee{\^{\dotless i}}
|
|
+ \gdef^^ef{\"{\dotless i}}
|
|
+ %
|
|
+ \gdef^^f0{\dh}
|
|
+ \gdef^^f1{\~n}
|
|
+ \gdef^^f2{\`o}
|
|
+ \gdef^^f3{\'o}
|
|
+ \gdef^^f4{\^o}
|
|
+ \gdef^^f5{\~o}
|
|
+ \gdef^^f6{\"o}
|
|
+ \gdef^^f7{$\div$}
|
|
+ \gdef^^f8{\o}
|
|
+ \gdef^^f9{\`u}
|
|
+ \gdef^^fa{\'u}
|
|
+ \gdef^^fb{\^u}
|
|
+ \gdef^^fc{\"u}
|
|
+ \gdef^^fd{\'y}
|
|
+ \gdef^^fe{\th}
|
|
+ \gdef^^ff{\"y}
|
|
+}
|
|
+
|
|
+% Latin9 (ISO-8859-15) encoding character definitions.
|
|
+\def\latninechardefs{%
|
|
+ % Encoding is almost identical to Latin1.
|
|
+ \latonechardefs
|
|
+ %
|
|
+ \gdef^^a4{\euro}
|
|
+ \gdef^^a6{\v S}
|
|
+ \gdef^^a8{\v s}
|
|
+ \gdef^^b4{\v Z}
|
|
+ \gdef^^b8{\v z}
|
|
+ \gdef^^bc{\OE}
|
|
+ \gdef^^bd{\oe}
|
|
+ \gdef^^be{\"Y}
|
|
+}
|
|
+
|
|
+% Latin2 (ISO-8859-2) character definitions.
|
|
+\def\lattwochardefs{%
|
|
+ \gdef^^a0{~}
|
|
+ \gdef^^a1{\ogonek{A}}
|
|
+ \gdef^^a2{\u{}}
|
|
+ \gdef^^a3{\L}
|
|
+ \gdef^^a4{\missingcharmsg{CURRENCY SIGN}}
|
|
+ \gdef^^a5{\v L}
|
|
+ \gdef^^a6{\'S}
|
|
+ \gdef^^a7{\S}
|
|
+ \gdef^^a8{\"{}}
|
|
+ \gdef^^a9{\v S}
|
|
+ \gdef^^aa{\cedilla S}
|
|
+ \gdef^^ab{\v T}
|
|
+ \gdef^^ac{\'Z}
|
|
+ \gdef^^ad{\-}
|
|
+ \gdef^^ae{\v Z}
|
|
+ \gdef^^af{\dotaccent Z}
|
|
+ %
|
|
+ \gdef^^b0{\textdegree}
|
|
+ \gdef^^b1{\ogonek{a}}
|
|
+ \gdef^^b2{\ogonek{ }}
|
|
+ \gdef^^b3{\l}
|
|
+ \gdef^^b4{\'{}}
|
|
+ \gdef^^b5{\v l}
|
|
+ \gdef^^b6{\'s}
|
|
+ \gdef^^b7{\v{}}
|
|
+ \gdef^^b8{\cedilla\ }
|
|
+ \gdef^^b9{\v s}
|
|
+ \gdef^^ba{\cedilla s}
|
|
+ \gdef^^bb{\v t}
|
|
+ \gdef^^bc{\'z}
|
|
+ \gdef^^bd{\H{}}
|
|
+ \gdef^^be{\v z}
|
|
+ \gdef^^bf{\dotaccent z}
|
|
+ %
|
|
+ \gdef^^c0{\'R}
|
|
+ \gdef^^c1{\'A}
|
|
+ \gdef^^c2{\^A}
|
|
+ \gdef^^c3{\u A}
|
|
+ \gdef^^c4{\"A}
|
|
+ \gdef^^c5{\'L}
|
|
+ \gdef^^c6{\'C}
|
|
+ \gdef^^c7{\cedilla C}
|
|
+ \gdef^^c8{\v C}
|
|
+ \gdef^^c9{\'E}
|
|
+ \gdef^^ca{\ogonek{E}}
|
|
+ \gdef^^cb{\"E}
|
|
+ \gdef^^cc{\v E}
|
|
+ \gdef^^cd{\'I}
|
|
+ \gdef^^ce{\^I}
|
|
+ \gdef^^cf{\v D}
|
|
+ %
|
|
+ \gdef^^d0{\DH}
|
|
+ \gdef^^d1{\'N}
|
|
+ \gdef^^d2{\v N}
|
|
+ \gdef^^d3{\'O}
|
|
+ \gdef^^d4{\^O}
|
|
+ \gdef^^d5{\H O}
|
|
+ \gdef^^d6{\"O}
|
|
+ \gdef^^d7{$\times$}
|
|
+ \gdef^^d8{\v R}
|
|
+ \gdef^^d9{\ringaccent U}
|
|
+ \gdef^^da{\'U}
|
|
+ \gdef^^db{\H U}
|
|
+ \gdef^^dc{\"U}
|
|
+ \gdef^^dd{\'Y}
|
|
+ \gdef^^de{\cedilla T}
|
|
+ \gdef^^df{\ss}
|
|
+ %
|
|
+ \gdef^^e0{\'r}
|
|
+ \gdef^^e1{\'a}
|
|
+ \gdef^^e2{\^a}
|
|
+ \gdef^^e3{\u a}
|
|
+ \gdef^^e4{\"a}
|
|
+ \gdef^^e5{\'l}
|
|
+ \gdef^^e6{\'c}
|
|
+ \gdef^^e7{\cedilla c}
|
|
+ \gdef^^e8{\v c}
|
|
+ \gdef^^e9{\'e}
|
|
+ \gdef^^ea{\ogonek{e}}
|
|
+ \gdef^^eb{\"e}
|
|
+ \gdef^^ec{\v e}
|
|
+ \gdef^^ed{\'\i}
|
|
+ \gdef^^ee{\^\i}
|
|
+ \gdef^^ef{\v d}
|
|
+ %
|
|
+ \gdef^^f0{\dh}
|
|
+ \gdef^^f1{\'n}
|
|
+ \gdef^^f2{\v n}
|
|
+ \gdef^^f3{\'o}
|
|
+ \gdef^^f4{\^o}
|
|
+ \gdef^^f5{\H o}
|
|
+ \gdef^^f6{\"o}
|
|
+ \gdef^^f7{$\div$}
|
|
+ \gdef^^f8{\v r}
|
|
+ \gdef^^f9{\ringaccent u}
|
|
+ \gdef^^fa{\'u}
|
|
+ \gdef^^fb{\H u}
|
|
+ \gdef^^fc{\"u}
|
|
+ \gdef^^fd{\'y}
|
|
+ \gdef^^fe{\cedilla t}
|
|
+ \gdef^^ff{\dotaccent{}}
|
|
+}
|
|
+
|
|
+% UTF-8 character definitions.
|
|
+%
|
|
+% This code to support UTF-8 is based on LaTeX's utf8.def, with some
|
|
+% changes for Texinfo conventions. It is included here under the GPL by
|
|
+% permission from Frank Mittelbach and the LaTeX team.
|
|
+%
|
|
+\newcount\countUTFx
|
|
+\newcount\countUTFy
|
|
+\newcount\countUTFz
|
|
+
|
|
+\gdef\UTFviiiTwoOctets#1#2{\expandafter
|
|
+ \UTFviiiDefined\csname u8:#1\string #2\endcsname}
|
|
+%
|
|
+\gdef\UTFviiiThreeOctets#1#2#3{\expandafter
|
|
+ \UTFviiiDefined\csname u8:#1\string #2\string #3\endcsname}
|
|
+%
|
|
+\gdef\UTFviiiFourOctets#1#2#3#4{\expandafter
|
|
+ \UTFviiiDefined\csname u8:#1\string #2\string #3\string #4\endcsname}
|
|
+
|
|
+\gdef\UTFviiiDefined#1{%
|
|
+ \ifx #1\relax
|
|
+ \message{\linenumber Unicode char \string #1 not defined for Texinfo}%
|
|
+ \else
|
|
+ \expandafter #1%
|
|
+ \fi
|
|
+}
|
|
+
|
|
+\begingroup
|
|
+ \catcode`\~13
|
|
+ \catcode`\"12
|
|
+
|
|
+ \def\UTFviiiLoop{%
|
|
+ \global\catcode\countUTFx\active
|
|
+ \uccode`\~\countUTFx
|
|
+ \uppercase\expandafter{\UTFviiiTmp}%
|
|
+ \advance\countUTFx by 1
|
|
+ \ifnum\countUTFx < \countUTFy
|
|
+ \expandafter\UTFviiiLoop
|
|
+ \fi}
|
|
+
|
|
+ \countUTFx = "C2
|
|
+ \countUTFy = "E0
|
|
+ \def\UTFviiiTmp{%
|
|
+ \xdef~{\noexpand\UTFviiiTwoOctets\string~}}
|
|
+ \UTFviiiLoop
|
|
+
|
|
+ \countUTFx = "E0
|
|
+ \countUTFy = "F0
|
|
+ \def\UTFviiiTmp{%
|
|
+ \xdef~{\noexpand\UTFviiiThreeOctets\string~}}
|
|
+ \UTFviiiLoop
|
|
+
|
|
+ \countUTFx = "F0
|
|
+ \countUTFy = "F4
|
|
+ \def\UTFviiiTmp{%
|
|
+ \xdef~{\noexpand\UTFviiiFourOctets\string~}}
|
|
+ \UTFviiiLoop
|
|
+\endgroup
|
|
+
|
|
+\begingroup
|
|
+ \catcode`\"=12
|
|
+ \catcode`\<=12
|
|
+ \catcode`\.=12
|
|
+ \catcode`\,=12
|
|
+ \catcode`\;=12
|
|
+ \catcode`\!=12
|
|
+ \catcode`\~=13
|
|
+
|
|
+ \gdef\DeclareUnicodeCharacter#1#2{%
|
|
+ \countUTFz = "#1\relax
|
|
+ \wlog{\space\space defining Unicode char U+#1 (decimal \the\countUTFz)}%
|
|
+ \begingroup
|
|
+ \parseXMLCharref
|
|
+ \def\UTFviiiTwoOctets##1##2{%
|
|
+ \csname u8:##1\string ##2\endcsname}%
|
|
+ \def\UTFviiiThreeOctets##1##2##3{%
|
|
+ \csname u8:##1\string ##2\string ##3\endcsname}%
|
|
+ \def\UTFviiiFourOctets##1##2##3##4{%
|
|
+ \csname u8:##1\string ##2\string ##3\string ##4\endcsname}%
|
|
+ \expandafter\expandafter\expandafter\expandafter
|
|
+ \expandafter\expandafter\expandafter
|
|
+ \gdef\UTFviiiTmp{#2}%
|
|
+ \endgroup}
|
|
+
|
|
+ \gdef\parseXMLCharref{%
|
|
+ \ifnum\countUTFz < "A0\relax
|
|
+ \errhelp = \EMsimple
|
|
+ \errmessage{Cannot define Unicode char value < 00A0}%
|
|
+ \else\ifnum\countUTFz < "800\relax
|
|
+ \parseUTFviiiA,%
|
|
+ \parseUTFviiiB C\UTFviiiTwoOctets.,%
|
|
+ \else\ifnum\countUTFz < "10000\relax
|
|
+ \parseUTFviiiA;%
|
|
+ \parseUTFviiiA,%
|
|
+ \parseUTFviiiB E\UTFviiiThreeOctets.{,;}%
|
|
+ \else
|
|
+ \parseUTFviiiA;%
|
|
+ \parseUTFviiiA,%
|
|
+ \parseUTFviiiA!%
|
|
+ \parseUTFviiiB F\UTFviiiFourOctets.{!,;}%
|
|
+ \fi\fi\fi
|
|
+ }
|
|
+
|
|
+ \gdef\parseUTFviiiA#1{%
|
|
+ \countUTFx = \countUTFz
|
|
+ \divide\countUTFz by 64
|
|
+ \countUTFy = \countUTFz
|
|
+ \multiply\countUTFz by 64
|
|
+ \advance\countUTFx by -\countUTFz
|
|
+ \advance\countUTFx by 128
|
|
+ \uccode `#1\countUTFx
|
|
+ \countUTFz = \countUTFy}
|
|
+
|
|
+ \gdef\parseUTFviiiB#1#2#3#4{%
|
|
+ \advance\countUTFz by "#10\relax
|
|
+ \uccode `#3\countUTFz
|
|
+ \uppercase{\gdef\UTFviiiTmp{#2#3#4}}}
|
|
+\endgroup
|
|
+
|
|
+\def\utfeightchardefs{%
|
|
+ \DeclareUnicodeCharacter{00A0}{\tie}
|
|
+ \DeclareUnicodeCharacter{00A1}{\exclamdown}
|
|
+ \DeclareUnicodeCharacter{00A3}{\pounds}
|
|
+ \DeclareUnicodeCharacter{00A8}{\"{ }}
|
|
+ \DeclareUnicodeCharacter{00A9}{\copyright}
|
|
+ \DeclareUnicodeCharacter{00AA}{\ordf}
|
|
+ \DeclareUnicodeCharacter{00AB}{\guillemetleft}
|
|
+ \DeclareUnicodeCharacter{00AD}{\-}
|
|
+ \DeclareUnicodeCharacter{00AE}{\registeredsymbol}
|
|
+ \DeclareUnicodeCharacter{00AF}{\={ }}
|
|
+
|
|
+ \DeclareUnicodeCharacter{00B0}{\ringaccent{ }}
|
|
+ \DeclareUnicodeCharacter{00B4}{\'{ }}
|
|
+ \DeclareUnicodeCharacter{00B8}{\cedilla{ }}
|
|
+ \DeclareUnicodeCharacter{00BA}{\ordm}
|
|
+ \DeclareUnicodeCharacter{00BB}{\guillemetright}
|
|
+ \DeclareUnicodeCharacter{00BF}{\questiondown}
|
|
+
|
|
+ \DeclareUnicodeCharacter{00C0}{\`A}
|
|
+ \DeclareUnicodeCharacter{00C1}{\'A}
|
|
+ \DeclareUnicodeCharacter{00C2}{\^A}
|
|
+ \DeclareUnicodeCharacter{00C3}{\~A}
|
|
+ \DeclareUnicodeCharacter{00C4}{\"A}
|
|
+ \DeclareUnicodeCharacter{00C5}{\AA}
|
|
+ \DeclareUnicodeCharacter{00C6}{\AE}
|
|
+ \DeclareUnicodeCharacter{00C7}{\cedilla{C}}
|
|
+ \DeclareUnicodeCharacter{00C8}{\`E}
|
|
+ \DeclareUnicodeCharacter{00C9}{\'E}
|
|
+ \DeclareUnicodeCharacter{00CA}{\^E}
|
|
+ \DeclareUnicodeCharacter{00CB}{\"E}
|
|
+ \DeclareUnicodeCharacter{00CC}{\`I}
|
|
+ \DeclareUnicodeCharacter{00CD}{\'I}
|
|
+ \DeclareUnicodeCharacter{00CE}{\^I}
|
|
+ \DeclareUnicodeCharacter{00CF}{\"I}
|
|
+
|
|
+ \DeclareUnicodeCharacter{00D0}{\DH}
|
|
+ \DeclareUnicodeCharacter{00D1}{\~N}
|
|
+ \DeclareUnicodeCharacter{00D2}{\`O}
|
|
+ \DeclareUnicodeCharacter{00D3}{\'O}
|
|
+ \DeclareUnicodeCharacter{00D4}{\^O}
|
|
+ \DeclareUnicodeCharacter{00D5}{\~O}
|
|
+ \DeclareUnicodeCharacter{00D6}{\"O}
|
|
+ \DeclareUnicodeCharacter{00D8}{\O}
|
|
+ \DeclareUnicodeCharacter{00D9}{\`U}
|
|
+ \DeclareUnicodeCharacter{00DA}{\'U}
|
|
+ \DeclareUnicodeCharacter{00DB}{\^U}
|
|
+ \DeclareUnicodeCharacter{00DC}{\"U}
|
|
+ \DeclareUnicodeCharacter{00DD}{\'Y}
|
|
+ \DeclareUnicodeCharacter{00DE}{\TH}
|
|
+ \DeclareUnicodeCharacter{00DF}{\ss}
|
|
+
|
|
+ \DeclareUnicodeCharacter{00E0}{\`a}
|
|
+ \DeclareUnicodeCharacter{00E1}{\'a}
|
|
+ \DeclareUnicodeCharacter{00E2}{\^a}
|
|
+ \DeclareUnicodeCharacter{00E3}{\~a}
|
|
+ \DeclareUnicodeCharacter{00E4}{\"a}
|
|
+ \DeclareUnicodeCharacter{00E5}{\aa}
|
|
+ \DeclareUnicodeCharacter{00E6}{\ae}
|
|
+ \DeclareUnicodeCharacter{00E7}{\cedilla{c}}
|
|
+ \DeclareUnicodeCharacter{00E8}{\`e}
|
|
+ \DeclareUnicodeCharacter{00E9}{\'e}
|
|
+ \DeclareUnicodeCharacter{00EA}{\^e}
|
|
+ \DeclareUnicodeCharacter{00EB}{\"e}
|
|
+ \DeclareUnicodeCharacter{00EC}{\`{\dotless{i}}}
|
|
+ \DeclareUnicodeCharacter{00ED}{\'{\dotless{i}}}
|
|
+ \DeclareUnicodeCharacter{00EE}{\^{\dotless{i}}}
|
|
+ \DeclareUnicodeCharacter{00EF}{\"{\dotless{i}}}
|
|
+
|
|
+ \DeclareUnicodeCharacter{00F0}{\dh}
|
|
+ \DeclareUnicodeCharacter{00F1}{\~n}
|
|
+ \DeclareUnicodeCharacter{00F2}{\`o}
|
|
+ \DeclareUnicodeCharacter{00F3}{\'o}
|
|
+ \DeclareUnicodeCharacter{00F4}{\^o}
|
|
+ \DeclareUnicodeCharacter{00F5}{\~o}
|
|
+ \DeclareUnicodeCharacter{00F6}{\"o}
|
|
+ \DeclareUnicodeCharacter{00F8}{\o}
|
|
+ \DeclareUnicodeCharacter{00F9}{\`u}
|
|
+ \DeclareUnicodeCharacter{00FA}{\'u}
|
|
+ \DeclareUnicodeCharacter{00FB}{\^u}
|
|
+ \DeclareUnicodeCharacter{00FC}{\"u}
|
|
+ \DeclareUnicodeCharacter{00FD}{\'y}
|
|
+ \DeclareUnicodeCharacter{00FE}{\th}
|
|
+ \DeclareUnicodeCharacter{00FF}{\"y}
|
|
+
|
|
+ \DeclareUnicodeCharacter{0100}{\=A}
|
|
+ \DeclareUnicodeCharacter{0101}{\=a}
|
|
+ \DeclareUnicodeCharacter{0102}{\u{A}}
|
|
+ \DeclareUnicodeCharacter{0103}{\u{a}}
|
|
+ \DeclareUnicodeCharacter{0104}{\ogonek{A}}
|
|
+ \DeclareUnicodeCharacter{0105}{\ogonek{a}}
|
|
+ \DeclareUnicodeCharacter{0106}{\'C}
|
|
+ \DeclareUnicodeCharacter{0107}{\'c}
|
|
+ \DeclareUnicodeCharacter{0108}{\^C}
|
|
+ \DeclareUnicodeCharacter{0109}{\^c}
|
|
+ \DeclareUnicodeCharacter{0118}{\ogonek{E}}
|
|
+ \DeclareUnicodeCharacter{0119}{\ogonek{e}}
|
|
+ \DeclareUnicodeCharacter{010A}{\dotaccent{C}}
|
|
+ \DeclareUnicodeCharacter{010B}{\dotaccent{c}}
|
|
+ \DeclareUnicodeCharacter{010C}{\v{C}}
|
|
+ \DeclareUnicodeCharacter{010D}{\v{c}}
|
|
+ \DeclareUnicodeCharacter{010E}{\v{D}}
|
|
+
|
|
+ \DeclareUnicodeCharacter{0112}{\=E}
|
|
+ \DeclareUnicodeCharacter{0113}{\=e}
|
|
+ \DeclareUnicodeCharacter{0114}{\u{E}}
|
|
+ \DeclareUnicodeCharacter{0115}{\u{e}}
|
|
+ \DeclareUnicodeCharacter{0116}{\dotaccent{E}}
|
|
+ \DeclareUnicodeCharacter{0117}{\dotaccent{e}}
|
|
+ \DeclareUnicodeCharacter{011A}{\v{E}}
|
|
+ \DeclareUnicodeCharacter{011B}{\v{e}}
|
|
+ \DeclareUnicodeCharacter{011C}{\^G}
|
|
+ \DeclareUnicodeCharacter{011D}{\^g}
|
|
+ \DeclareUnicodeCharacter{011E}{\u{G}}
|
|
+ \DeclareUnicodeCharacter{011F}{\u{g}}
|
|
+
|
|
+ \DeclareUnicodeCharacter{0120}{\dotaccent{G}}
|
|
+ \DeclareUnicodeCharacter{0121}{\dotaccent{g}}
|
|
+ \DeclareUnicodeCharacter{0124}{\^H}
|
|
+ \DeclareUnicodeCharacter{0125}{\^h}
|
|
+ \DeclareUnicodeCharacter{0128}{\~I}
|
|
+ \DeclareUnicodeCharacter{0129}{\~{\dotless{i}}}
|
|
+ \DeclareUnicodeCharacter{012A}{\=I}
|
|
+ \DeclareUnicodeCharacter{012B}{\={\dotless{i}}}
|
|
+ \DeclareUnicodeCharacter{012C}{\u{I}}
|
|
+ \DeclareUnicodeCharacter{012D}{\u{\dotless{i}}}
|
|
+
|
|
+ \DeclareUnicodeCharacter{0130}{\dotaccent{I}}
|
|
+ \DeclareUnicodeCharacter{0131}{\dotless{i}}
|
|
+ \DeclareUnicodeCharacter{0132}{IJ}
|
|
+ \DeclareUnicodeCharacter{0133}{ij}
|
|
+ \DeclareUnicodeCharacter{0134}{\^J}
|
|
+ \DeclareUnicodeCharacter{0135}{\^{\dotless{j}}}
|
|
+ \DeclareUnicodeCharacter{0139}{\'L}
|
|
+ \DeclareUnicodeCharacter{013A}{\'l}
|
|
+
|
|
+ \DeclareUnicodeCharacter{0141}{\L}
|
|
+ \DeclareUnicodeCharacter{0142}{\l}
|
|
+ \DeclareUnicodeCharacter{0143}{\'N}
|
|
+ \DeclareUnicodeCharacter{0144}{\'n}
|
|
+ \DeclareUnicodeCharacter{0147}{\v{N}}
|
|
+ \DeclareUnicodeCharacter{0148}{\v{n}}
|
|
+ \DeclareUnicodeCharacter{014C}{\=O}
|
|
+ \DeclareUnicodeCharacter{014D}{\=o}
|
|
+ \DeclareUnicodeCharacter{014E}{\u{O}}
|
|
+ \DeclareUnicodeCharacter{014F}{\u{o}}
|
|
+
|
|
+ \DeclareUnicodeCharacter{0150}{\H{O}}
|
|
+ \DeclareUnicodeCharacter{0151}{\H{o}}
|
|
+ \DeclareUnicodeCharacter{0152}{\OE}
|
|
+ \DeclareUnicodeCharacter{0153}{\oe}
|
|
+ \DeclareUnicodeCharacter{0154}{\'R}
|
|
+ \DeclareUnicodeCharacter{0155}{\'r}
|
|
+ \DeclareUnicodeCharacter{0158}{\v{R}}
|
|
+ \DeclareUnicodeCharacter{0159}{\v{r}}
|
|
+ \DeclareUnicodeCharacter{015A}{\'S}
|
|
+ \DeclareUnicodeCharacter{015B}{\'s}
|
|
+ \DeclareUnicodeCharacter{015C}{\^S}
|
|
+ \DeclareUnicodeCharacter{015D}{\^s}
|
|
+ \DeclareUnicodeCharacter{015E}{\cedilla{S}}
|
|
+ \DeclareUnicodeCharacter{015F}{\cedilla{s}}
|
|
+
|
|
+ \DeclareUnicodeCharacter{0160}{\v{S}}
|
|
+ \DeclareUnicodeCharacter{0161}{\v{s}}
|
|
+ \DeclareUnicodeCharacter{0162}{\cedilla{t}}
|
|
+ \DeclareUnicodeCharacter{0163}{\cedilla{T}}
|
|
+ \DeclareUnicodeCharacter{0164}{\v{T}}
|
|
+
|
|
+ \DeclareUnicodeCharacter{0168}{\~U}
|
|
+ \DeclareUnicodeCharacter{0169}{\~u}
|
|
+ \DeclareUnicodeCharacter{016A}{\=U}
|
|
+ \DeclareUnicodeCharacter{016B}{\=u}
|
|
+ \DeclareUnicodeCharacter{016C}{\u{U}}
|
|
+ \DeclareUnicodeCharacter{016D}{\u{u}}
|
|
+ \DeclareUnicodeCharacter{016E}{\ringaccent{U}}
|
|
+ \DeclareUnicodeCharacter{016F}{\ringaccent{u}}
|
|
+
|
|
+ \DeclareUnicodeCharacter{0170}{\H{U}}
|
|
+ \DeclareUnicodeCharacter{0171}{\H{u}}
|
|
+ \DeclareUnicodeCharacter{0174}{\^W}
|
|
+ \DeclareUnicodeCharacter{0175}{\^w}
|
|
+ \DeclareUnicodeCharacter{0176}{\^Y}
|
|
+ \DeclareUnicodeCharacter{0177}{\^y}
|
|
+ \DeclareUnicodeCharacter{0178}{\"Y}
|
|
+ \DeclareUnicodeCharacter{0179}{\'Z}
|
|
+ \DeclareUnicodeCharacter{017A}{\'z}
|
|
+ \DeclareUnicodeCharacter{017B}{\dotaccent{Z}}
|
|
+ \DeclareUnicodeCharacter{017C}{\dotaccent{z}}
|
|
+ \DeclareUnicodeCharacter{017D}{\v{Z}}
|
|
+ \DeclareUnicodeCharacter{017E}{\v{z}}
|
|
+
|
|
+ \DeclareUnicodeCharacter{01C4}{D\v{Z}}
|
|
+ \DeclareUnicodeCharacter{01C5}{D\v{z}}
|
|
+ \DeclareUnicodeCharacter{01C6}{d\v{z}}
|
|
+ \DeclareUnicodeCharacter{01C7}{LJ}
|
|
+ \DeclareUnicodeCharacter{01C8}{Lj}
|
|
+ \DeclareUnicodeCharacter{01C9}{lj}
|
|
+ \DeclareUnicodeCharacter{01CA}{NJ}
|
|
+ \DeclareUnicodeCharacter{01CB}{Nj}
|
|
+ \DeclareUnicodeCharacter{01CC}{nj}
|
|
+ \DeclareUnicodeCharacter{01CD}{\v{A}}
|
|
+ \DeclareUnicodeCharacter{01CE}{\v{a}}
|
|
+ \DeclareUnicodeCharacter{01CF}{\v{I}}
|
|
+
|
|
+ \DeclareUnicodeCharacter{01D0}{\v{\dotless{i}}}
|
|
+ \DeclareUnicodeCharacter{01D1}{\v{O}}
|
|
+ \DeclareUnicodeCharacter{01D2}{\v{o}}
|
|
+ \DeclareUnicodeCharacter{01D3}{\v{U}}
|
|
+ \DeclareUnicodeCharacter{01D4}{\v{u}}
|
|
+
|
|
+ \DeclareUnicodeCharacter{01E2}{\={\AE}}
|
|
+ \DeclareUnicodeCharacter{01E3}{\={\ae}}
|
|
+ \DeclareUnicodeCharacter{01E6}{\v{G}}
|
|
+ \DeclareUnicodeCharacter{01E7}{\v{g}}
|
|
+ \DeclareUnicodeCharacter{01E8}{\v{K}}
|
|
+ \DeclareUnicodeCharacter{01E9}{\v{k}}
|
|
+
|
|
+ \DeclareUnicodeCharacter{01F0}{\v{\dotless{j}}}
|
|
+ \DeclareUnicodeCharacter{01F1}{DZ}
|
|
+ \DeclareUnicodeCharacter{01F2}{Dz}
|
|
+ \DeclareUnicodeCharacter{01F3}{dz}
|
|
+ \DeclareUnicodeCharacter{01F4}{\'G}
|
|
+ \DeclareUnicodeCharacter{01F5}{\'g}
|
|
+ \DeclareUnicodeCharacter{01F8}{\`N}
|
|
+ \DeclareUnicodeCharacter{01F9}{\`n}
|
|
+ \DeclareUnicodeCharacter{01FC}{\'{\AE}}
|
|
+ \DeclareUnicodeCharacter{01FD}{\'{\ae}}
|
|
+ \DeclareUnicodeCharacter{01FE}{\'{\O}}
|
|
+ \DeclareUnicodeCharacter{01FF}{\'{\o}}
|
|
+
|
|
+ \DeclareUnicodeCharacter{021E}{\v{H}}
|
|
+ \DeclareUnicodeCharacter{021F}{\v{h}}
|
|
+
|
|
+ \DeclareUnicodeCharacter{0226}{\dotaccent{A}}
|
|
+ \DeclareUnicodeCharacter{0227}{\dotaccent{a}}
|
|
+ \DeclareUnicodeCharacter{0228}{\cedilla{E}}
|
|
+ \DeclareUnicodeCharacter{0229}{\cedilla{e}}
|
|
+ \DeclareUnicodeCharacter{022E}{\dotaccent{O}}
|
|
+ \DeclareUnicodeCharacter{022F}{\dotaccent{o}}
|
|
+
|
|
+ \DeclareUnicodeCharacter{0232}{\=Y}
|
|
+ \DeclareUnicodeCharacter{0233}{\=y}
|
|
+ \DeclareUnicodeCharacter{0237}{\dotless{j}}
|
|
+
|
|
+ \DeclareUnicodeCharacter{02DB}{\ogonek{ }}
|
|
+
|
|
+ \DeclareUnicodeCharacter{1E02}{\dotaccent{B}}
|
|
+ \DeclareUnicodeCharacter{1E03}{\dotaccent{b}}
|
|
+ \DeclareUnicodeCharacter{1E04}{\udotaccent{B}}
|
|
+ \DeclareUnicodeCharacter{1E05}{\udotaccent{b}}
|
|
+ \DeclareUnicodeCharacter{1E06}{\ubaraccent{B}}
|
|
+ \DeclareUnicodeCharacter{1E07}{\ubaraccent{b}}
|
|
+ \DeclareUnicodeCharacter{1E0A}{\dotaccent{D}}
|
|
+ \DeclareUnicodeCharacter{1E0B}{\dotaccent{d}}
|
|
+ \DeclareUnicodeCharacter{1E0C}{\udotaccent{D}}
|
|
+ \DeclareUnicodeCharacter{1E0D}{\udotaccent{d}}
|
|
+ \DeclareUnicodeCharacter{1E0E}{\ubaraccent{D}}
|
|
+ \DeclareUnicodeCharacter{1E0F}{\ubaraccent{d}}
|
|
+
|
|
+ \DeclareUnicodeCharacter{1E1E}{\dotaccent{F}}
|
|
+ \DeclareUnicodeCharacter{1E1F}{\dotaccent{f}}
|
|
+
|
|
+ \DeclareUnicodeCharacter{1E20}{\=G}
|
|
+ \DeclareUnicodeCharacter{1E21}{\=g}
|
|
+ \DeclareUnicodeCharacter{1E22}{\dotaccent{H}}
|
|
+ \DeclareUnicodeCharacter{1E23}{\dotaccent{h}}
|
|
+ \DeclareUnicodeCharacter{1E24}{\udotaccent{H}}
|
|
+ \DeclareUnicodeCharacter{1E25}{\udotaccent{h}}
|
|
+ \DeclareUnicodeCharacter{1E26}{\"H}
|
|
+ \DeclareUnicodeCharacter{1E27}{\"h}
|
|
+
|
|
+ \DeclareUnicodeCharacter{1E30}{\'K}
|
|
+ \DeclareUnicodeCharacter{1E31}{\'k}
|
|
+ \DeclareUnicodeCharacter{1E32}{\udotaccent{K}}
|
|
+ \DeclareUnicodeCharacter{1E33}{\udotaccent{k}}
|
|
+ \DeclareUnicodeCharacter{1E34}{\ubaraccent{K}}
|
|
+ \DeclareUnicodeCharacter{1E35}{\ubaraccent{k}}
|
|
+ \DeclareUnicodeCharacter{1E36}{\udotaccent{L}}
|
|
+ \DeclareUnicodeCharacter{1E37}{\udotaccent{l}}
|
|
+ \DeclareUnicodeCharacter{1E3A}{\ubaraccent{L}}
|
|
+ \DeclareUnicodeCharacter{1E3B}{\ubaraccent{l}}
|
|
+ \DeclareUnicodeCharacter{1E3E}{\'M}
|
|
+ \DeclareUnicodeCharacter{1E3F}{\'m}
|
|
+
|
|
+ \DeclareUnicodeCharacter{1E40}{\dotaccent{M}}
|
|
+ \DeclareUnicodeCharacter{1E41}{\dotaccent{m}}
|
|
+ \DeclareUnicodeCharacter{1E42}{\udotaccent{M}}
|
|
+ \DeclareUnicodeCharacter{1E43}{\udotaccent{m}}
|
|
+ \DeclareUnicodeCharacter{1E44}{\dotaccent{N}}
|
|
+ \DeclareUnicodeCharacter{1E45}{\dotaccent{n}}
|
|
+ \DeclareUnicodeCharacter{1E46}{\udotaccent{N}}
|
|
+ \DeclareUnicodeCharacter{1E47}{\udotaccent{n}}
|
|
+ \DeclareUnicodeCharacter{1E48}{\ubaraccent{N}}
|
|
+ \DeclareUnicodeCharacter{1E49}{\ubaraccent{n}}
|
|
+
|
|
+ \DeclareUnicodeCharacter{1E54}{\'P}
|
|
+ \DeclareUnicodeCharacter{1E55}{\'p}
|
|
+ \DeclareUnicodeCharacter{1E56}{\dotaccent{P}}
|
|
+ \DeclareUnicodeCharacter{1E57}{\dotaccent{p}}
|
|
+ \DeclareUnicodeCharacter{1E58}{\dotaccent{R}}
|
|
+ \DeclareUnicodeCharacter{1E59}{\dotaccent{r}}
|
|
+ \DeclareUnicodeCharacter{1E5A}{\udotaccent{R}}
|
|
+ \DeclareUnicodeCharacter{1E5B}{\udotaccent{r}}
|
|
+ \DeclareUnicodeCharacter{1E5E}{\ubaraccent{R}}
|
|
+ \DeclareUnicodeCharacter{1E5F}{\ubaraccent{r}}
|
|
+
|
|
+ \DeclareUnicodeCharacter{1E60}{\dotaccent{S}}
|
|
+ \DeclareUnicodeCharacter{1E61}{\dotaccent{s}}
|
|
+ \DeclareUnicodeCharacter{1E62}{\udotaccent{S}}
|
|
+ \DeclareUnicodeCharacter{1E63}{\udotaccent{s}}
|
|
+ \DeclareUnicodeCharacter{1E6A}{\dotaccent{T}}
|
|
+ \DeclareUnicodeCharacter{1E6B}{\dotaccent{t}}
|
|
+ \DeclareUnicodeCharacter{1E6C}{\udotaccent{T}}
|
|
+ \DeclareUnicodeCharacter{1E6D}{\udotaccent{t}}
|
|
+ \DeclareUnicodeCharacter{1E6E}{\ubaraccent{T}}
|
|
+ \DeclareUnicodeCharacter{1E6F}{\ubaraccent{t}}
|
|
+
|
|
+ \DeclareUnicodeCharacter{1E7C}{\~V}
|
|
+ \DeclareUnicodeCharacter{1E7D}{\~v}
|
|
+ \DeclareUnicodeCharacter{1E7E}{\udotaccent{V}}
|
|
+ \DeclareUnicodeCharacter{1E7F}{\udotaccent{v}}
|
|
+
|
|
+ \DeclareUnicodeCharacter{1E80}{\`W}
|
|
+ \DeclareUnicodeCharacter{1E81}{\`w}
|
|
+ \DeclareUnicodeCharacter{1E82}{\'W}
|
|
+ \DeclareUnicodeCharacter{1E83}{\'w}
|
|
+ \DeclareUnicodeCharacter{1E84}{\"W}
|
|
+ \DeclareUnicodeCharacter{1E85}{\"w}
|
|
+ \DeclareUnicodeCharacter{1E86}{\dotaccent{W}}
|
|
+ \DeclareUnicodeCharacter{1E87}{\dotaccent{w}}
|
|
+ \DeclareUnicodeCharacter{1E88}{\udotaccent{W}}
|
|
+ \DeclareUnicodeCharacter{1E89}{\udotaccent{w}}
|
|
+ \DeclareUnicodeCharacter{1E8A}{\dotaccent{X}}
|
|
+ \DeclareUnicodeCharacter{1E8B}{\dotaccent{x}}
|
|
+ \DeclareUnicodeCharacter{1E8C}{\"X}
|
|
+ \DeclareUnicodeCharacter{1E8D}{\"x}
|
|
+ \DeclareUnicodeCharacter{1E8E}{\dotaccent{Y}}
|
|
+ \DeclareUnicodeCharacter{1E8F}{\dotaccent{y}}
|
|
+
|
|
+ \DeclareUnicodeCharacter{1E90}{\^Z}
|
|
+ \DeclareUnicodeCharacter{1E91}{\^z}
|
|
+ \DeclareUnicodeCharacter{1E92}{\udotaccent{Z}}
|
|
+ \DeclareUnicodeCharacter{1E93}{\udotaccent{z}}
|
|
+ \DeclareUnicodeCharacter{1E94}{\ubaraccent{Z}}
|
|
+ \DeclareUnicodeCharacter{1E95}{\ubaraccent{z}}
|
|
+ \DeclareUnicodeCharacter{1E96}{\ubaraccent{h}}
|
|
+ \DeclareUnicodeCharacter{1E97}{\"t}
|
|
+ \DeclareUnicodeCharacter{1E98}{\ringaccent{w}}
|
|
+ \DeclareUnicodeCharacter{1E99}{\ringaccent{y}}
|
|
+
|
|
+ \DeclareUnicodeCharacter{1EA0}{\udotaccent{A}}
|
|
+ \DeclareUnicodeCharacter{1EA1}{\udotaccent{a}}
|
|
+
|
|
+ \DeclareUnicodeCharacter{1EB8}{\udotaccent{E}}
|
|
+ \DeclareUnicodeCharacter{1EB9}{\udotaccent{e}}
|
|
+ \DeclareUnicodeCharacter{1EBC}{\~E}
|
|
+ \DeclareUnicodeCharacter{1EBD}{\~e}
|
|
+
|
|
+ \DeclareUnicodeCharacter{1ECA}{\udotaccent{I}}
|
|
+ \DeclareUnicodeCharacter{1ECB}{\udotaccent{i}}
|
|
+ \DeclareUnicodeCharacter{1ECC}{\udotaccent{O}}
|
|
+ \DeclareUnicodeCharacter{1ECD}{\udotaccent{o}}
|
|
+
|
|
+ \DeclareUnicodeCharacter{1EE4}{\udotaccent{U}}
|
|
+ \DeclareUnicodeCharacter{1EE5}{\udotaccent{u}}
|
|
+
|
|
+ \DeclareUnicodeCharacter{1EF2}{\`Y}
|
|
+ \DeclareUnicodeCharacter{1EF3}{\`y}
|
|
+ \DeclareUnicodeCharacter{1EF4}{\udotaccent{Y}}
|
|
+
|
|
+ \DeclareUnicodeCharacter{1EF8}{\~Y}
|
|
+ \DeclareUnicodeCharacter{1EF9}{\~y}
|
|
+
|
|
+ \DeclareUnicodeCharacter{2013}{--}
|
|
+ \DeclareUnicodeCharacter{2014}{---}
|
|
+ \DeclareUnicodeCharacter{2018}{\quoteleft}
|
|
+ \DeclareUnicodeCharacter{2019}{\quoteright}
|
|
+ \DeclareUnicodeCharacter{201A}{\quotesinglbase}
|
|
+ \DeclareUnicodeCharacter{201C}{\quotedblleft}
|
|
+ \DeclareUnicodeCharacter{201D}{\quotedblright}
|
|
+ \DeclareUnicodeCharacter{201E}{\quotedblbase}
|
|
+ \DeclareUnicodeCharacter{2022}{\bullet}
|
|
+ \DeclareUnicodeCharacter{2026}{\dots}
|
|
+ \DeclareUnicodeCharacter{2039}{\guilsinglleft}
|
|
+ \DeclareUnicodeCharacter{203A}{\guilsinglright}
|
|
+ \DeclareUnicodeCharacter{20AC}{\euro}
|
|
+
|
|
+ \DeclareUnicodeCharacter{2192}{\expansion}
|
|
+ \DeclareUnicodeCharacter{21D2}{\result}
|
|
+
|
|
+ \DeclareUnicodeCharacter{2212}{\minus}
|
|
+ \DeclareUnicodeCharacter{2217}{\point}
|
|
+ \DeclareUnicodeCharacter{2261}{\equiv}
|
|
+}% end of \utfeightchardefs
|
|
+
|
|
+
|
|
+% US-ASCII character definitions.
|
|
+\def\asciichardefs{% nothing need be done
|
|
+ \relax
|
|
+}
|
|
+
|
|
+% Make non-ASCII characters printable again for compatibility with
|
|
+% existing Texinfo documents that may use them, even without declaring a
|
|
+% document encoding.
|
|
+%
|
|
+\setnonasciicharscatcode \other
|
|
+
|
|
+
|
|
+\message{formatting,}
|
|
+
|
|
\newdimen\defaultparindent \defaultparindent = 15pt
|
|
|
|
\chapheadingskip = 15pt plus 4pt minus 2pt
|
|
@@ -6626,7 +8902,7 @@ should work if nowhere else does.}
|
|
% Don't be so finicky about underfull hboxes, either.
|
|
\hbadness = 2000
|
|
|
|
-% Following George Bush, just get rid of widows and orphans.
|
|
+% Following George Bush, get rid of widows and orphans.
|
|
\widowpenalty=10000
|
|
\clubpenalty=10000
|
|
|
|
@@ -6644,9 +8920,9 @@ should work if nowhere else does.}
|
|
\fi
|
|
}
|
|
|
|
-% Parameters in order: 1) textheight; 2) textwidth; 3) voffset;
|
|
-% 4) hoffset; 5) binding offset; 6) topskip; 7) physical page height; 8)
|
|
-% physical page width.
|
|
+% Parameters in order: 1) textheight; 2) textwidth;
|
|
+% 3) voffset; 4) hoffset; 5) binding offset; 6) topskip;
|
|
+% 7) physical page height; 8) physical page width.
|
|
%
|
|
% We also call \setleading{\textleading}, so the caller should define
|
|
% \textleading. The caller should also set \parskip.
|
|
@@ -6673,6 +8949,10 @@ should work if nowhere else does.}
|
|
\ifpdf
|
|
\pdfpageheight #7\relax
|
|
\pdfpagewidth #8\relax
|
|
+ % if we don't reset these, they will remain at "1 true in" of
|
|
+ % whatever layout pdftex was dumped with.
|
|
+ \pdfhorigin = 1 true in
|
|
+ \pdfvorigin = 1 true in
|
|
\fi
|
|
%
|
|
\setleading{\textleading}
|
|
@@ -6687,19 +8967,19 @@ should work if nowhere else does.}
|
|
\textleading = 13.2pt
|
|
%
|
|
% If page is nothing but text, make it come out even.
|
|
- \internalpagesizes{46\baselineskip}{6in}%
|
|
+ \internalpagesizes{607.2pt}{6in}% that's 46 lines
|
|
{\voffset}{.25in}%
|
|
{\bindingoffset}{36pt}%
|
|
{11in}{8.5in}%
|
|
}}
|
|
|
|
-% Use @smallbook to reset parameters for 7x9.5 (or so) format.
|
|
+% Use @smallbook to reset parameters for 7x9.25 trim size.
|
|
\def\smallbook{{\globaldefs = 1
|
|
\parskip = 2pt plus 1pt
|
|
\textleading = 12pt
|
|
%
|
|
\internalpagesizes{7.5in}{5in}%
|
|
- {\voffset}{.25in}%
|
|
+ {-.2in}{0in}%
|
|
{\bindingoffset}{16pt}%
|
|
{9.25in}{7in}%
|
|
%
|
|
@@ -6710,6 +8990,24 @@ should work if nowhere else does.}
|
|
\defbodyindent = .5cm
|
|
}}
|
|
|
|
+% Use @smallerbook to reset parameters for 6x9 trim size.
|
|
+% (Just testing, parameters still in flux.)
|
|
+\def\smallerbook{{\globaldefs = 1
|
|
+ \parskip = 1.5pt plus 1pt
|
|
+ \textleading = 12pt
|
|
+ %
|
|
+ \internalpagesizes{7.4in}{4.8in}%
|
|
+ {-.2in}{-.4in}%
|
|
+ {0pt}{14pt}%
|
|
+ {9in}{6in}%
|
|
+ %
|
|
+ \lispnarrowing = 0.25in
|
|
+ \tolerance = 700
|
|
+ \hfuzz = 1pt
|
|
+ \contentsrightmargin = 0pt
|
|
+ \defbodyindent = .4cm
|
|
+}}
|
|
+
|
|
% Use @afourpaper to print on European A4 paper.
|
|
\def\afourpaper{{\globaldefs = 1
|
|
\parskip = 3pt plus 2pt minus 1pt
|
|
@@ -6725,7 +9023,7 @@ should work if nowhere else does.}
|
|
% \global\normaloffset = -6mm
|
|
% \global\bindingoffset = 10mm
|
|
% @end tex
|
|
- \internalpagesizes{51\baselineskip}{160mm}
|
|
+ \internalpagesizes{673.2pt}{160mm}% that's 51 lines
|
|
{\voffset}{\hoffset}%
|
|
{\bindingoffset}{44pt}%
|
|
{297mm}{210mm}%
|
|
@@ -6790,7 +9088,7 @@ should work if nowhere else does.}
|
|
\parskip = 3pt plus 2pt minus 1pt
|
|
\setleading{\textleading}%
|
|
%
|
|
- \dimen0 = #1
|
|
+ \dimen0 = #1\relax
|
|
\advance\dimen0 by \voffset
|
|
%
|
|
\dimen2 = \hsize
|
|
@@ -6809,6 +9107,9 @@ should work if nowhere else does.}
|
|
|
|
\message{and turning on texinfo input format.}
|
|
|
|
+% DEL is a comment character, in case @c does not suffice.
|
|
+\catcode`\^^? = 14
|
|
+
|
|
% Define macros to output various characters with catcode for normal text.
|
|
\catcode`\"=\other
|
|
\catcode`\~=\other
|
|
@@ -6862,6 +9163,7 @@ should work if nowhere else does.}
|
|
|
|
\catcode`\_=\active
|
|
\def_{\ifusingtt\normalunderscore\_}
|
|
+\let\realunder=_
|
|
% Subroutine for the previous macro.
|
|
\def\_{\leavevmode \kern.07em \vbox{\hrule width.3em height.1ex}\kern .07em }
|
|
|
|
@@ -6884,6 +9186,13 @@ should work if nowhere else does.}
|
|
% \otherifyactive is called near the end of this file.
|
|
\def\otherifyactive{\catcode`+=\other \catcode`\_=\other}
|
|
|
|
+% Used sometimes to turn off (effectively) the active characters even after
|
|
+% parsing them.
|
|
+\def\turnoffactive{%
|
|
+ \normalturnoffactive
|
|
+ \otherbackslash
|
|
+}
|
|
+
|
|
\catcode`\@=0
|
|
|
|
% \backslashcurfont outputs one backslash character in current font,
|
|
@@ -6891,27 +9200,29 @@ should work if nowhere else does.}
|
|
\global\chardef\backslashcurfont=`\\
|
|
\global\let\rawbackslashxx=\backslashcurfont % let existing .??s files work
|
|
|
|
+% \realbackslash is an actual character `\' with catcode other, and
|
|
+% \doublebackslash is two of them (for the pdf outlines).
|
|
+{\catcode`\\=\other @gdef@realbackslash{\} @gdef@doublebackslash{\\}}
|
|
+
|
|
+% In texinfo, backslash is an active character; it prints the backslash
|
|
+% in fixed width font.
|
|
+\catcode`\\=\active
|
|
+@def@normalbackslash{{@tt@backslashcurfont}}
|
|
+% On startup, @fixbackslash assigns:
|
|
+% @let \ = @normalbackslash
|
|
+
|
|
% \rawbackslash defines an active \ to do \backslashcurfont.
|
|
% \otherbackslash defines an active \ to be a literal `\' character with
|
|
% catcode other.
|
|
-{\catcode`\\=\active
|
|
- @gdef@rawbackslash{@let\=@backslashcurfont}
|
|
- @gdef@otherbackslash{@let\=@realbackslash}
|
|
-}
|
|
-
|
|
-% \realbackslash is an actual character `\' with catcode other.
|
|
-{\catcode`\\=\other @gdef@realbackslash{\}}
|
|
-
|
|
-% \normalbackslash outputs one backslash in fixed width font.
|
|
-\def\normalbackslash{{\tt\backslashcurfont}}
|
|
-
|
|
-\catcode`\\=\active
|
|
+@gdef@rawbackslash{@let\=@backslashcurfont}
|
|
+@gdef@otherbackslash{@let\=@realbackslash}
|
|
|
|
-% Used sometimes to turn off (effectively) the active characters
|
|
-% even after parsing them.
|
|
-@def@turnoffactive{%
|
|
+% Same as @turnoffactive except outputs \ as {\tt\char`\\} instead of
|
|
+% the literal character `\'.
|
|
+%
|
|
+@def@normalturnoffactive{%
|
|
+ @let\=@normalbackslash
|
|
@let"=@normaldoublequote
|
|
- @let\=@realbackslash
|
|
@let~=@normaltilde
|
|
@let^=@normalcaret
|
|
@let_=@normalunderscore
|
|
@@ -6920,15 +9231,11 @@ should work if nowhere else does.}
|
|
@let>=@normalgreater
|
|
@let+=@normalplus
|
|
@let$=@normaldollar %$ font-lock fix
|
|
+ @markupsetuplqdefault
|
|
+ @markupsetuprqdefault
|
|
@unsepspaces
|
|
}
|
|
|
|
-% Same as @turnoffactive except outputs \ as {\tt\char`\\} instead of
|
|
-% the literal character `\'. (Thus, \ is not expandable when this is in
|
|
-% effect.)
|
|
-%
|
|
-@def@normalturnoffactive{@turnoffactive @let\=@normalbackslash}
|
|
-
|
|
% Make _ and + \other characters, temporarily.
|
|
% This is canceled by @fixbackslash.
|
|
@otherifyactive
|
|
@@ -6941,9 +9248,9 @@ should work if nowhere else does.}
|
|
@global@let\ = @eatinput
|
|
|
|
% On the other hand, perhaps the file did not have a `\input texinfo'. Then
|
|
-% the first `\{ in the file would cause an error. This macro tries to fix
|
|
+% the first `\' in the file would cause an error. This macro tries to fix
|
|
% that, assuming it is called before the first `\' could plausibly occur.
|
|
-% Also back turn on active characters that might appear in the input
|
|
+% Also turn back on active characters that might appear in the input
|
|
% file name, in case not using a pre-dumped format.
|
|
%
|
|
@gdef@fixbackslash{%
|
|
@@ -6960,6 +9267,14 @@ should work if nowhere else does.}
|
|
@catcode`@# = @other
|
|
@catcode`@% = @other
|
|
|
|
+@c Finally, make ` and ' active, so that txicodequoteundirected and
|
|
+@c txicodequotebacktick work right in, e.g., @w{@code{`foo'}}. If we
|
|
+@c don't make ` and ' active, @code will not get them as active chars.
|
|
+@c Do this last of all since we use ` in the previous @catcode assignments.
|
|
+@catcode`@'=@active
|
|
+@catcode`@`=@active
|
|
+@markupsetuplqdefault
|
|
+@markupsetuprqdefault
|
|
|
|
@c Local variables:
|
|
@c eval: (add-hook 'write-file-hooks 'time-stamp)
|
|
diff --git a/inputs/Makefile.in b/inputs/Makefile.in
|
|
index 1fb6b8f..c307fd8 100644
|
|
--- a/inputs/Makefile.in
|
|
+++ b/inputs/Makefile.in
|
|
@@ -1,8 +1,9 @@
|
|
-# Makefile.in generated by automake 1.10.1 from Makefile.am.
|
|
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
|
|
# @configure_input@
|
|
|
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
|
-# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
|
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
|
|
+# Inc.
|
|
# This Makefile.in is free software; the Free Software Foundation
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
# with or without modifications, as long as this notice is preserved.
|
|
@@ -16,8 +17,9 @@
|
|
|
|
VPATH = @srcdir@
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
|
-pkglibdir = $(libdir)/@PACKAGE@
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
|
+pkglibdir = $(libdir)/@PACKAGE@
|
|
+pkglibexecdir = $(libexecdir)/@PACKAGE@
|
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
|
install_sh_DATA = $(install_sh) -c -m 644
|
|
install_sh_PROGRAM = $(install_sh) -c
|
|
@@ -43,8 +45,29 @@ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
|
CONFIG_HEADER = $(top_builddir)/src/conf.h
|
|
CONFIG_CLEAN_FILES =
|
|
+CONFIG_CLEAN_VPATH_FILES =
|
|
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
|
|
+am__vpath_adj = case $$p in \
|
|
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
|
|
+ *) f=$$p;; \
|
|
+ esac;
|
|
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
|
|
+am__install_max = 40
|
|
+am__nobase_strip_setup = \
|
|
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
|
|
+am__nobase_strip = \
|
|
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
|
|
+am__nobase_list = $(am__nobase_strip_setup); \
|
|
+ for p in $$list; do echo "$$p $$p"; done | \
|
|
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
|
|
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
|
|
+ if (++n[$$2] == $(am__install_max)) \
|
|
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
|
|
+ END { for (dir in files) print dir, files[dir] }'
|
|
+am__base_list = \
|
|
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
|
|
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
|
|
am__installdirs = "$(DESTDIR)$(pkgdatadir)"
|
|
-pkgdataSCRIPT_INSTALL = $(INSTALL_SCRIPT)
|
|
SCRIPTS = $(pkgdata_SCRIPTS)
|
|
SOURCES =
|
|
DIST_SOURCES =
|
|
@@ -52,6 +75,7 @@ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
|
ACLOCAL = @ACLOCAL@
|
|
AMTAR = @AMTAR@
|
|
AR = @AR@
|
|
+ARGZ_H = @ARGZ_H@
|
|
AUTOCONF = @AUTOCONF@
|
|
AUTOHEADER = @AUTOHEADER@
|
|
AUTOMAKE = @AUTOMAKE@
|
|
@@ -82,6 +106,7 @@ GETCONF = @GETCONF@
|
|
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
|
|
GREP = @GREP@
|
|
HOSTNAME = @HOSTNAME@
|
|
+INCLTDL = @INCLTDL@
|
|
INSTALL = @INSTALL@
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
@@ -94,13 +119,25 @@ LDFLAGS = @LDFLAGS@
|
|
LEX = @LEX@
|
|
LEXLIB = @LEXLIB@
|
|
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
|
|
+LIBADD_DL = @LIBADD_DL@
|
|
+LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
|
|
+LIBADD_DLOPEN = @LIBADD_DLOPEN@
|
|
+LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
|
|
+LIBLTDL = @LIBLTDL@
|
|
LIBOBJS = @LIBOBJS@
|
|
LIBS = @LIBS@
|
|
LIBTOOL = @LIBTOOL@
|
|
LIB_SELINUX = @LIB_SELINUX@
|
|
LIPO = @LIPO@
|
|
LN_S = @LN_S@
|
|
+LTDLDEPS = @LTDLDEPS@
|
|
+LTDLINCL = @LTDLINCL@
|
|
+LTDLOPEN = @LTDLOPEN@
|
|
LTLIBOBJS = @LTLIBOBJS@
|
|
+LT_CONFIG_H = @LT_CONFIG_H@
|
|
+LT_DLLOADERS = @LT_DLLOADERS@
|
|
+LT_DLPREOPEN = @LT_DLPREOPEN@
|
|
+MAINT = @MAINT@
|
|
MAKEINFO = @MAKEINFO@
|
|
MKDIR_P = @MKDIR_P@
|
|
NEED_SETGID = @NEED_SETGID@
|
|
@@ -172,6 +209,8 @@ libexecdir = @libexecdir@
|
|
localedir = @localedir@
|
|
localstatedir = @localstatedir@
|
|
lt_ECHO = @lt_ECHO@
|
|
+ltdl_LIBOBJS = @ltdl_LIBOBJS@
|
|
+ltdl_LTLIBOBJS = @ltdl_LTLIBOBJS@
|
|
mandir = @mandir@
|
|
mkdir_p = @mkdir_p@
|
|
oldincludedir = @oldincludedir@
|
|
@@ -182,6 +221,8 @@ psdir = @psdir@
|
|
sbindir = @sbindir@
|
|
sharedstatedir = @sharedstatedir@
|
|
srcdir = @srcdir@
|
|
+subdirs = @subdirs@
|
|
+sys_symbol_underscore = @sys_symbol_underscore@
|
|
sysconfdir = @sysconfdir@
|
|
target = @target@
|
|
target_alias = @target_alias@
|
|
@@ -240,18 +281,18 @@ MAINTAINERCLEANFILES = Makefile.in
|
|
all: all-am
|
|
|
|
.SUFFIXES:
|
|
-$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
|
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
|
|
@for dep in $?; do \
|
|
case '$(am__configure_deps)' in \
|
|
*$$dep*) \
|
|
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
|
|
- && exit 0; \
|
|
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
|
|
+ && { if test -f $@; then exit 0; else break; fi; }; \
|
|
exit 1;; \
|
|
esac; \
|
|
done; \
|
|
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu inputs/Makefile'; \
|
|
- cd $(top_srcdir) && \
|
|
- $(AUTOMAKE) --gnu inputs/Makefile
|
|
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu inputs/Makefile'; \
|
|
+ $(am__cd) $(top_srcdir) && \
|
|
+ $(AUTOMAKE) --gnu inputs/Makefile
|
|
.PRECIOUS: Makefile
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
@case '$?' in \
|
|
@@ -265,29 +306,45 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
|
|
|
-$(top_srcdir)/configure: $(am__configure_deps)
|
|
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
|
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
|
-$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
|
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
|
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
|
+$(am__aclocal_m4_deps):
|
|
install-pkgdataSCRIPTS: $(pkgdata_SCRIPTS)
|
|
@$(NORMAL_INSTALL)
|
|
test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)"
|
|
- @list='$(pkgdata_SCRIPTS)'; for p in $$list; do \
|
|
+ @list='$(pkgdata_SCRIPTS)'; test -n "$(pkgdatadir)" || list=; \
|
|
+ for p in $$list; do \
|
|
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
|
- if test -f $$d$$p; then \
|
|
- f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
|
|
- echo " $(pkgdataSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgdatadir)/$$f'"; \
|
|
- $(pkgdataSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgdatadir)/$$f"; \
|
|
- else :; fi; \
|
|
- done
|
|
+ if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
|
|
+ done | \
|
|
+ sed -e 'p;s,.*/,,;n' \
|
|
+ -e 'h;s|.*|.|' \
|
|
+ -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
|
|
+ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
|
|
+ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
|
|
+ if ($$2 == $$4) { files[d] = files[d] " " $$1; \
|
|
+ if (++n[d] == $(am__install_max)) { \
|
|
+ print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
|
|
+ else { print "f", d "/" $$4, $$1 } } \
|
|
+ END { for (d in files) print "f", d, files[d] }' | \
|
|
+ while read type dir files; do \
|
|
+ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
|
|
+ test -z "$$files" || { \
|
|
+ echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(pkgdatadir)$$dir'"; \
|
|
+ $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(pkgdatadir)$$dir" || exit $$?; \
|
|
+ } \
|
|
+ ; done
|
|
|
|
uninstall-pkgdataSCRIPTS:
|
|
@$(NORMAL_UNINSTALL)
|
|
- @list='$(pkgdata_SCRIPTS)'; for p in $$list; do \
|
|
- f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
|
|
- echo " rm -f '$(DESTDIR)$(pkgdatadir)/$$f'"; \
|
|
- rm -f "$(DESTDIR)$(pkgdatadir)/$$f"; \
|
|
- done
|
|
+ @list='$(pkgdata_SCRIPTS)'; test -n "$(pkgdatadir)" || exit 0; \
|
|
+ files=`for p in $$list; do echo "$$p"; done | \
|
|
+ sed -e 's,.*/,,;$(transform)'`; \
|
|
+ test -n "$$list" || exit 0; \
|
|
+ echo " ( cd '$(DESTDIR)$(pkgdatadir)' && rm -f" $$files ")"; \
|
|
+ cd "$(DESTDIR)$(pkgdatadir)" && rm -f $$files
|
|
|
|
mostlyclean-libtool:
|
|
-rm -f *.lo
|
|
@@ -317,13 +374,17 @@ distdir: $(DISTFILES)
|
|
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
|
if test -d $$d/$$file; then \
|
|
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
|
+ if test -d "$(distdir)/$$file"; then \
|
|
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
|
+ fi; \
|
|
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
|
- cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
|
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
|
|
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
|
fi; \
|
|
- cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
|
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
|
|
else \
|
|
- test -f $(distdir)/$$file \
|
|
- || cp -p $$d/$$file $(distdir)/$$file \
|
|
+ test -f "$(distdir)/$$file" \
|
|
+ || cp -p $$d/$$file "$(distdir)/$$file" \
|
|
|| exit 1; \
|
|
fi; \
|
|
done
|
|
@@ -356,6 +417,7 @@ clean-generic:
|
|
|
|
distclean-generic:
|
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
|
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
|
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
|
|
|
|
maintainer-clean-generic:
|
|
@@ -376,6 +438,8 @@ dvi-am:
|
|
|
|
html: html-am
|
|
|
|
+html-am:
|
|
+
|
|
info: info-am
|
|
|
|
info-am:
|
|
@@ -384,18 +448,28 @@ install-data-am: install-pkgdataSCRIPTS
|
|
|
|
install-dvi: install-dvi-am
|
|
|
|
+install-dvi-am:
|
|
+
|
|
install-exec-am:
|
|
|
|
install-html: install-html-am
|
|
|
|
+install-html-am:
|
|
+
|
|
install-info: install-info-am
|
|
|
|
+install-info-am:
|
|
+
|
|
install-man:
|
|
|
|
install-pdf: install-pdf-am
|
|
|
|
+install-pdf-am:
|
|
+
|
|
install-ps: install-ps-am
|
|
|
|
+install-ps-am:
|
|
+
|
|
installcheck-am:
|
|
|
|
maintainer-clean: maintainer-clean-am
|
|
@@ -430,6 +504,7 @@ uninstall-am: uninstall-pkgdataSCRIPTS
|
|
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
|
|
uninstall uninstall-am uninstall-pkgdataSCRIPTS
|
|
|
|
+
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
|
.NOEXPORT:
|
|
diff --git a/install-sh b/install-sh
|
|
index 398a88e..6781b98 100755
|
|
--- a/install-sh
|
|
+++ b/install-sh
|
|
@@ -1,251 +1,520 @@
|
|
#!/bin/sh
|
|
-#
|
|
# install - install a program, script, or datafile
|
|
-# This comes from X11R5 (mit/util/scripts/install.sh).
|
|
+
|
|
+scriptversion=2009-04-28.21; # UTC
|
|
+
|
|
+# This originates from X11R5 (mit/util/scripts/install.sh), which was
|
|
+# later released in X11R6 (xc/config/util/install.sh) with the
|
|
+# following copyright and license.
|
|
+#
|
|
+# Copyright (C) 1994 X Consortium
|
|
+#
|
|
+# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
+# of this software and associated documentation files (the "Software"), to
|
|
+# deal in the Software without restriction, including without limitation the
|
|
+# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
+# sell copies of the Software, and to permit persons to whom the Software is
|
|
+# furnished to do so, subject to the following conditions:
|
|
+#
|
|
+# The above copyright notice and this permission notice shall be included in
|
|
+# all copies or substantial portions of the Software.
|
|
+#
|
|
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
+# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
|
+# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
|
|
+# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
#
|
|
-# Copyright 1991 by the Massachusetts Institute of Technology
|
|
+# Except as contained in this notice, the name of the X Consortium shall not
|
|
+# be used in advertising or otherwise to promote the sale, use or other deal-
|
|
+# ings in this Software without prior written authorization from the X Consor-
|
|
+# tium.
|
|
#
|
|
-# Permission to use, copy, modify, distribute, and sell this software and its
|
|
-# documentation for any purpose is hereby granted without fee, provided that
|
|
-# the above copyright notice appear in all copies and that both that
|
|
-# copyright notice and this permission notice appear in supporting
|
|
-# documentation, and that the name of M.I.T. not be used in advertising or
|
|
-# publicity pertaining to distribution of the software without specific,
|
|
-# written prior permission. M.I.T. makes no representations about the
|
|
-# suitability of this software for any purpose. It is provided "as is"
|
|
-# without express or implied warranty.
|
|
+#
|
|
+# FSF changes to this file are in the public domain.
|
|
#
|
|
# Calling this script install-sh is preferred over install.sh, to prevent
|
|
# `make' implicit rules from creating a file called install from it
|
|
# when there is no Makefile.
|
|
#
|
|
# This script is compatible with the BSD install script, but was written
|
|
-# from scratch. It can only install one file at a time, a restriction
|
|
-# shared with many OS's install programs.
|
|
+# from scratch.
|
|
|
|
+nl='
|
|
+'
|
|
+IFS=" "" $nl"
|
|
|
|
# set DOITPROG to echo to test this script
|
|
|
|
# Don't use :- since 4.3BSD and earlier shells don't like it.
|
|
-doit="${DOITPROG-}"
|
|
-
|
|
-
|
|
-# put in absolute paths if you don't have them in your path; or use env. vars.
|
|
-
|
|
-mvprog="${MVPROG-mv}"
|
|
-cpprog="${CPPROG-cp}"
|
|
-chmodprog="${CHMODPROG-chmod}"
|
|
-chownprog="${CHOWNPROG-chown}"
|
|
-chgrpprog="${CHGRPPROG-chgrp}"
|
|
-stripprog="${STRIPPROG-strip}"
|
|
-rmprog="${RMPROG-rm}"
|
|
-mkdirprog="${MKDIRPROG-mkdir}"
|
|
-
|
|
-transformbasename=""
|
|
-transform_arg=""
|
|
-instcmd="$mvprog"
|
|
-chmodcmd="$chmodprog 0755"
|
|
-chowncmd=""
|
|
-chgrpcmd=""
|
|
-stripcmd=""
|
|
-rmcmd="$rmprog -f"
|
|
-mvcmd="$mvprog"
|
|
-src=""
|
|
-dst=""
|
|
-dir_arg=""
|
|
-
|
|
-while [ x"$1" != x ]; do
|
|
- case $1 in
|
|
- -c) instcmd="$cpprog"
|
|
- shift
|
|
- continue;;
|
|
-
|
|
- -d) dir_arg=true
|
|
- shift
|
|
- continue;;
|
|
-
|
|
- -m) chmodcmd="$chmodprog $2"
|
|
- shift
|
|
- shift
|
|
- continue;;
|
|
-
|
|
- -o) chowncmd="$chownprog $2"
|
|
- shift
|
|
- shift
|
|
- continue;;
|
|
-
|
|
- -g) chgrpcmd="$chgrpprog $2"
|
|
- shift
|
|
- shift
|
|
- continue;;
|
|
-
|
|
- -s) stripcmd="$stripprog"
|
|
- shift
|
|
- continue;;
|
|
-
|
|
- -t=*) transformarg=`echo $1 | sed 's/-t=//'`
|
|
- shift
|
|
- continue;;
|
|
-
|
|
- -b=*) transformbasename=`echo $1 | sed 's/-b=//'`
|
|
- shift
|
|
- continue;;
|
|
-
|
|
- *) if [ x"$src" = x ]
|
|
- then
|
|
- src=$1
|
|
- else
|
|
- # this colon is to work around a 386BSD /bin/sh bug
|
|
- :
|
|
- dst=$1
|
|
- fi
|
|
- shift
|
|
- continue;;
|
|
- esac
|
|
-done
|
|
-
|
|
-if [ x"$src" = x ]
|
|
-then
|
|
- echo "install: no input file specified"
|
|
- exit 1
|
|
+doit=${DOITPROG-}
|
|
+if test -z "$doit"; then
|
|
+ doit_exec=exec
|
|
else
|
|
- :
|
|
+ doit_exec=$doit
|
|
fi
|
|
|
|
-if [ x"$dir_arg" != x ]; then
|
|
- dst=$src
|
|
- src=""
|
|
-
|
|
- if [ -d $dst ]; then
|
|
- instcmd=:
|
|
- chmodcmd=""
|
|
- else
|
|
- instcmd=$mkdirprog
|
|
- fi
|
|
-else
|
|
+# Put in absolute file names if you don't have them in your path;
|
|
+# or use environment vars.
|
|
+
|
|
+chgrpprog=${CHGRPPROG-chgrp}
|
|
+chmodprog=${CHMODPROG-chmod}
|
|
+chownprog=${CHOWNPROG-chown}
|
|
+cmpprog=${CMPPROG-cmp}
|
|
+cpprog=${CPPROG-cp}
|
|
+mkdirprog=${MKDIRPROG-mkdir}
|
|
+mvprog=${MVPROG-mv}
|
|
+rmprog=${RMPROG-rm}
|
|
+stripprog=${STRIPPROG-strip}
|
|
+
|
|
+posix_glob='?'
|
|
+initialize_posix_glob='
|
|
+ test "$posix_glob" != "?" || {
|
|
+ if (set -f) 2>/dev/null; then
|
|
+ posix_glob=
|
|
+ else
|
|
+ posix_glob=:
|
|
+ fi
|
|
+ }
|
|
+'
|
|
+
|
|
+posix_mkdir=
|
|
+
|
|
+# Desired mode of installed file.
|
|
+mode=0755
|
|
+
|
|
+chgrpcmd=
|
|
+chmodcmd=$chmodprog
|
|
+chowncmd=
|
|
+mvcmd=$mvprog
|
|
+rmcmd="$rmprog -f"
|
|
+stripcmd=
|
|
|
|
-# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
|
|
-# might cause directories to be created, which would be especially bad
|
|
-# if $src (and thus $dsttmp) contains '*'.
|
|
+src=
|
|
+dst=
|
|
+dir_arg=
|
|
+dst_arg=
|
|
|
|
- if [ -f $src -o -d $src ]
|
|
- then
|
|
- :
|
|
- else
|
|
- echo "install: $src does not exist"
|
|
- exit 1
|
|
- fi
|
|
-
|
|
- if [ x"$dst" = x ]
|
|
- then
|
|
- echo "install: no destination specified"
|
|
- exit 1
|
|
- else
|
|
- :
|
|
- fi
|
|
+copy_on_change=false
|
|
+no_target_directory=
|
|
|
|
-# If destination is a directory, append the input filename; if your system
|
|
-# does not like double slashes in filenames, you may need to add some logic
|
|
+usage="\
|
|
+Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
|
|
+ or: $0 [OPTION]... SRCFILES... DIRECTORY
|
|
+ or: $0 [OPTION]... -t DIRECTORY SRCFILES...
|
|
+ or: $0 [OPTION]... -d DIRECTORIES...
|
|
|
|
- if [ -d $dst ]
|
|
- then
|
|
- dst="$dst"/`basename $src`
|
|
- else
|
|
- :
|
|
- fi
|
|
-fi
|
|
+In the 1st form, copy SRCFILE to DSTFILE.
|
|
+In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
|
|
+In the 4th, create DIRECTORIES.
|
|
|
|
-## this sed command emulates the dirname command
|
|
-dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
|
|
+Options:
|
|
+ --help display this help and exit.
|
|
+ --version display version info and exit.
|
|
|
|
-# Make sure that the destination directory exists.
|
|
-# this part is taken from Noah Friedman's mkinstalldirs script
|
|
+ -c (ignored)
|
|
+ -C install only if different (preserve the last data modification time)
|
|
+ -d create directories instead of installing files.
|
|
+ -g GROUP $chgrpprog installed files to GROUP.
|
|
+ -m MODE $chmodprog installed files to MODE.
|
|
+ -o USER $chownprog installed files to USER.
|
|
+ -s $stripprog installed files.
|
|
+ -t DIRECTORY install into DIRECTORY.
|
|
+ -T report an error if DSTFILE is a directory.
|
|
|
|
-# Skip lots of stat calls in the usual case.
|
|
-if [ ! -d "$dstdir" ]; then
|
|
-defaultIFS='
|
|
- '
|
|
-IFS="${IFS-${defaultIFS}}"
|
|
+Environment variables override the default commands:
|
|
+ CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
|
|
+ RMPROG STRIPPROG
|
|
+"
|
|
|
|
-oIFS="${IFS}"
|
|
-# Some sh's can't handle IFS=/ for some reason.
|
|
-IFS='%'
|
|
-set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'`
|
|
-IFS="${oIFS}"
|
|
+while test $# -ne 0; do
|
|
+ case $1 in
|
|
+ -c) ;;
|
|
|
|
-pathcomp=''
|
|
+ -C) copy_on_change=true;;
|
|
|
|
-while [ $# -ne 0 ] ; do
|
|
- pathcomp="${pathcomp}${1}"
|
|
- shift
|
|
+ -d) dir_arg=true;;
|
|
|
|
- if [ ! -d "${pathcomp}" ] ;
|
|
- then
|
|
- $mkdirprog "${pathcomp}"
|
|
- else
|
|
- :
|
|
- fi
|
|
+ -g) chgrpcmd="$chgrpprog $2"
|
|
+ shift;;
|
|
|
|
- pathcomp="${pathcomp}/"
|
|
-done
|
|
-fi
|
|
+ --help) echo "$usage"; exit $?;;
|
|
|
|
-if [ x"$dir_arg" != x ]
|
|
-then
|
|
- $doit $instcmd $dst &&
|
|
+ -m) mode=$2
|
|
+ case $mode in
|
|
+ *' '* | *' '* | *'
|
|
+'* | *'*'* | *'?'* | *'['*)
|
|
+ echo "$0: invalid mode: $mode" >&2
|
|
+ exit 1;;
|
|
+ esac
|
|
+ shift;;
|
|
|
|
- if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else : ; fi &&
|
|
- if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else : ; fi &&
|
|
- if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else : ; fi &&
|
|
- if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else : ; fi
|
|
-else
|
|
+ -o) chowncmd="$chownprog $2"
|
|
+ shift;;
|
|
|
|
-# If we're going to rename the final executable, determine the name now.
|
|
+ -s) stripcmd=$stripprog;;
|
|
|
|
- if [ x"$transformarg" = x ]
|
|
- then
|
|
- dstfile=`basename $dst`
|
|
- else
|
|
- dstfile=`basename $dst $transformbasename |
|
|
- sed $transformarg`$transformbasename
|
|
- fi
|
|
+ -t) dst_arg=$2
|
|
+ shift;;
|
|
|
|
-# don't allow the sed command to completely eliminate the filename
|
|
+ -T) no_target_directory=true;;
|
|
|
|
- if [ x"$dstfile" = x ]
|
|
- then
|
|
- dstfile=`basename $dst`
|
|
- else
|
|
- :
|
|
- fi
|
|
-
|
|
-# Make a temp file name in the proper directory.
|
|
+ --version) echo "$0 $scriptversion"; exit $?;;
|
|
|
|
- dsttmp=$dstdir/#inst.$$#
|
|
+ --) shift
|
|
+ break;;
|
|
|
|
-# Move or copy the file name to the temp name
|
|
+ -*) echo "$0: invalid option: $1" >&2
|
|
+ exit 1;;
|
|
|
|
- $doit $instcmd $src $dsttmp &&
|
|
-
|
|
- trap "rm -f ${dsttmp}" 0 &&
|
|
+ *) break;;
|
|
+ esac
|
|
+ shift
|
|
+done
|
|
|
|
-# and set any options; do chmod last to preserve setuid bits
|
|
+if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
|
|
+ # When -d is used, all remaining arguments are directories to create.
|
|
+ # When -t is used, the destination is already specified.
|
|
+ # Otherwise, the last argument is the destination. Remove it from $@.
|
|
+ for arg
|
|
+ do
|
|
+ if test -n "$dst_arg"; then
|
|
+ # $@ is not empty: it contains at least $arg.
|
|
+ set fnord "$@" "$dst_arg"
|
|
+ shift # fnord
|
|
+ fi
|
|
+ shift # arg
|
|
+ dst_arg=$arg
|
|
+ done
|
|
+fi
|
|
|
|
-# If any of these fail, we abort the whole thing. If we want to
|
|
-# ignore errors from any of these, just make sure not to ignore
|
|
-# errors from the above "$doit $instcmd $src $dsttmp" command.
|
|
+if test $# -eq 0; then
|
|
+ if test -z "$dir_arg"; then
|
|
+ echo "$0: no input file specified." >&2
|
|
+ exit 1
|
|
+ fi
|
|
+ # It's OK to call `install-sh -d' without argument.
|
|
+ # This can happen when creating conditional directories.
|
|
+ exit 0
|
|
+fi
|
|
|
|
- if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else :;fi &&
|
|
- if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else :;fi &&
|
|
- if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else :;fi &&
|
|
- if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else :;fi &&
|
|
+if test -z "$dir_arg"; then
|
|
+ trap '(exit $?); exit' 1 2 13 15
|
|
+
|
|
+ # Set umask so as not to create temps with too-generous modes.
|
|
+ # However, 'strip' requires both read and write access to temps.
|
|
+ case $mode in
|
|
+ # Optimize common cases.
|
|
+ *644) cp_umask=133;;
|
|
+ *755) cp_umask=22;;
|
|
+
|
|
+ *[0-7])
|
|
+ if test -z "$stripcmd"; then
|
|
+ u_plus_rw=
|
|
+ else
|
|
+ u_plus_rw='% 200'
|
|
+ fi
|
|
+ cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
|
|
+ *)
|
|
+ if test -z "$stripcmd"; then
|
|
+ u_plus_rw=
|
|
+ else
|
|
+ u_plus_rw=,u+rw
|
|
+ fi
|
|
+ cp_umask=$mode$u_plus_rw;;
|
|
+ esac
|
|
+fi
|
|
|
|
-# Now rename the file to the real destination.
|
|
+for src
|
|
+do
|
|
+ # Protect names starting with `-'.
|
|
+ case $src in
|
|
+ -*) src=./$src;;
|
|
+ esac
|
|
+
|
|
+ if test -n "$dir_arg"; then
|
|
+ dst=$src
|
|
+ dstdir=$dst
|
|
+ test -d "$dstdir"
|
|
+ dstdir_status=$?
|
|
+ else
|
|
+
|
|
+ # Waiting for this to be detected by the "$cpprog $src $dsttmp" command
|
|
+ # might cause directories to be created, which would be especially bad
|
|
+ # if $src (and thus $dsttmp) contains '*'.
|
|
+ if test ! -f "$src" && test ! -d "$src"; then
|
|
+ echo "$0: $src does not exist." >&2
|
|
+ exit 1
|
|
+ fi
|
|
+
|
|
+ if test -z "$dst_arg"; then
|
|
+ echo "$0: no destination specified." >&2
|
|
+ exit 1
|
|
+ fi
|
|
+
|
|
+ dst=$dst_arg
|
|
+ # Protect names starting with `-'.
|
|
+ case $dst in
|
|
+ -*) dst=./$dst;;
|
|
+ esac
|
|
|
|
- $doit $rmcmd -f $dstdir/$dstfile &&
|
|
- $doit $mvcmd $dsttmp $dstdir/$dstfile
|
|
+ # If destination is a directory, append the input filename; won't work
|
|
+ # if double slashes aren't ignored.
|
|
+ if test -d "$dst"; then
|
|
+ if test -n "$no_target_directory"; then
|
|
+ echo "$0: $dst_arg: Is a directory" >&2
|
|
+ exit 1
|
|
+ fi
|
|
+ dstdir=$dst
|
|
+ dst=$dstdir/`basename "$src"`
|
|
+ dstdir_status=0
|
|
+ else
|
|
+ # Prefer dirname, but fall back on a substitute if dirname fails.
|
|
+ dstdir=`
|
|
+ (dirname "$dst") 2>/dev/null ||
|
|
+ expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
+ X"$dst" : 'X\(//\)[^/]' \| \
|
|
+ X"$dst" : 'X\(//\)$' \| \
|
|
+ X"$dst" : 'X\(/\)' \| . 2>/dev/null ||
|
|
+ echo X"$dst" |
|
|
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
+ s//\1/
|
|
+ q
|
|
+ }
|
|
+ /^X\(\/\/\)[^/].*/{
|
|
+ s//\1/
|
|
+ q
|
|
+ }
|
|
+ /^X\(\/\/\)$/{
|
|
+ s//\1/
|
|
+ q
|
|
+ }
|
|
+ /^X\(\/\).*/{
|
|
+ s//\1/
|
|
+ q
|
|
+ }
|
|
+ s/.*/./; q'
|
|
+ `
|
|
+
|
|
+ test -d "$dstdir"
|
|
+ dstdir_status=$?
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+ obsolete_mkdir_used=false
|
|
+
|
|
+ if test $dstdir_status != 0; then
|
|
+ case $posix_mkdir in
|
|
+ '')
|
|
+ # Create intermediate dirs using mode 755 as modified by the umask.
|
|
+ # This is like FreeBSD 'install' as of 1997-10-28.
|
|
+ umask=`umask`
|
|
+ case $stripcmd.$umask in
|
|
+ # Optimize common cases.
|
|
+ *[2367][2367]) mkdir_umask=$umask;;
|
|
+ .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
|
|
+
|
|
+ *[0-7])
|
|
+ mkdir_umask=`expr $umask + 22 \
|
|
+ - $umask % 100 % 40 + $umask % 20 \
|
|
+ - $umask % 10 % 4 + $umask % 2
|
|
+ `;;
|
|
+ *) mkdir_umask=$umask,go-w;;
|
|
+ esac
|
|
+
|
|
+ # With -d, create the new directory with the user-specified mode.
|
|
+ # Otherwise, rely on $mkdir_umask.
|
|
+ if test -n "$dir_arg"; then
|
|
+ mkdir_mode=-m$mode
|
|
+ else
|
|
+ mkdir_mode=
|
|
+ fi
|
|
|
|
-fi &&
|
|
+ posix_mkdir=false
|
|
+ case $umask in
|
|
+ *[123567][0-7][0-7])
|
|
+ # POSIX mkdir -p sets u+wx bits regardless of umask, which
|
|
+ # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
|
|
+ ;;
|
|
+ *)
|
|
+ tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
|
|
+ trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
|
|
+
|
|
+ if (umask $mkdir_umask &&
|
|
+ exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
|
|
+ then
|
|
+ if test -z "$dir_arg" || {
|
|
+ # Check for POSIX incompatibilities with -m.
|
|
+ # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
|
|
+ # other-writeable bit of parent directory when it shouldn't.
|
|
+ # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
|
|
+ ls_ld_tmpdir=`ls -ld "$tmpdir"`
|
|
+ case $ls_ld_tmpdir in
|
|
+ d????-?r-*) different_mode=700;;
|
|
+ d????-?--*) different_mode=755;;
|
|
+ *) false;;
|
|
+ esac &&
|
|
+ $mkdirprog -m$different_mode -p -- "$tmpdir" && {
|
|
+ ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
|
|
+ test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
|
|
+ }
|
|
+ }
|
|
+ then posix_mkdir=:
|
|
+ fi
|
|
+ rmdir "$tmpdir/d" "$tmpdir"
|
|
+ else
|
|
+ # Remove any dirs left behind by ancient mkdir implementations.
|
|
+ rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
|
|
+ fi
|
|
+ trap '' 0;;
|
|
+ esac;;
|
|
+ esac
|
|
|
|
+ if
|
|
+ $posix_mkdir && (
|
|
+ umask $mkdir_umask &&
|
|
+ $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
|
|
+ )
|
|
+ then :
|
|
+ else
|
|
+
|
|
+ # The umask is ridiculous, or mkdir does not conform to POSIX,
|
|
+ # or it failed possibly due to a race condition. Create the
|
|
+ # directory the slow way, step by step, checking for races as we go.
|
|
+
|
|
+ case $dstdir in
|
|
+ /*) prefix='/';;
|
|
+ -*) prefix='./';;
|
|
+ *) prefix='';;
|
|
+ esac
|
|
+
|
|
+ eval "$initialize_posix_glob"
|
|
+
|
|
+ oIFS=$IFS
|
|
+ IFS=/
|
|
+ $posix_glob set -f
|
|
+ set fnord $dstdir
|
|
+ shift
|
|
+ $posix_glob set +f
|
|
+ IFS=$oIFS
|
|
+
|
|
+ prefixes=
|
|
+
|
|
+ for d
|
|
+ do
|
|
+ test -z "$d" && continue
|
|
+
|
|
+ prefix=$prefix$d
|
|
+ if test -d "$prefix"; then
|
|
+ prefixes=
|
|
+ else
|
|
+ if $posix_mkdir; then
|
|
+ (umask=$mkdir_umask &&
|
|
+ $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
|
|
+ # Don't fail if two instances are running concurrently.
|
|
+ test -d "$prefix" || exit 1
|
|
+ else
|
|
+ case $prefix in
|
|
+ *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
|
|
+ *) qprefix=$prefix;;
|
|
+ esac
|
|
+ prefixes="$prefixes '$qprefix'"
|
|
+ fi
|
|
+ fi
|
|
+ prefix=$prefix/
|
|
+ done
|
|
+
|
|
+ if test -n "$prefixes"; then
|
|
+ # Don't fail if two instances are running concurrently.
|
|
+ (umask $mkdir_umask &&
|
|
+ eval "\$doit_exec \$mkdirprog $prefixes") ||
|
|
+ test -d "$dstdir" || exit 1
|
|
+ obsolete_mkdir_used=true
|
|
+ fi
|
|
+ fi
|
|
+ fi
|
|
+
|
|
+ if test -n "$dir_arg"; then
|
|
+ { test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
|
|
+ { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
|
|
+ { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
|
|
+ test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
|
|
+ else
|
|
+
|
|
+ # Make a couple of temp file names in the proper directory.
|
|
+ dsttmp=$dstdir/_inst.$$_
|
|
+ rmtmp=$dstdir/_rm.$$_
|
|
+
|
|
+ # Trap to clean up those temp files at exit.
|
|
+ trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
|
|
+
|
|
+ # Copy the file name to the temp name.
|
|
+ (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
|
|
+
|
|
+ # and set any options; do chmod last to preserve setuid bits.
|
|
+ #
|
|
+ # If any of these fail, we abort the whole thing. If we want to
|
|
+ # ignore errors from any of these, just make sure not to ignore
|
|
+ # errors from the above "$doit $cpprog $src $dsttmp" command.
|
|
+ #
|
|
+ { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
|
|
+ { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
|
|
+ { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
|
|
+ { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
|
|
+
|
|
+ # If -C, don't bother to copy if it wouldn't change the file.
|
|
+ if $copy_on_change &&
|
|
+ old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
|
|
+ new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
|
|
+
|
|
+ eval "$initialize_posix_glob" &&
|
|
+ $posix_glob set -f &&
|
|
+ set X $old && old=:$2:$4:$5:$6 &&
|
|
+ set X $new && new=:$2:$4:$5:$6 &&
|
|
+ $posix_glob set +f &&
|
|
+
|
|
+ test "$old" = "$new" &&
|
|
+ $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
|
|
+ then
|
|
+ rm -f "$dsttmp"
|
|
+ else
|
|
+ # Rename the file to the real destination.
|
|
+ $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
|
|
+
|
|
+ # The rename failed, perhaps because mv can't rename something else
|
|
+ # to itself, or perhaps because mv is so ancient that it does not
|
|
+ # support -f.
|
|
+ {
|
|
+ # Now remove or move aside any old file at destination location.
|
|
+ # We try this two ways since rm can't unlink itself on some
|
|
+ # systems and the destination file might be busy for other
|
|
+ # reasons. In this case, the final cleanup might fail but the new
|
|
+ # file should still install successfully.
|
|
+ {
|
|
+ test ! -f "$dst" ||
|
|
+ $doit $rmcmd -f "$dst" 2>/dev/null ||
|
|
+ { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
|
|
+ { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
|
|
+ } ||
|
|
+ { echo "$0: cannot unlink or rename $dst" >&2
|
|
+ (exit 1); exit 1
|
|
+ }
|
|
+ } &&
|
|
+
|
|
+ # Now rename the file to the real destination.
|
|
+ $doit $mvcmd "$dsttmp" "$dst"
|
|
+ }
|
|
+ fi || exit 1
|
|
+
|
|
+ trap '' 0
|
|
+ fi
|
|
+done
|
|
|
|
-exit 0
|
|
+# Local variables:
|
|
+# eval: (add-hook 'write-file-hooks 'time-stamp)
|
|
+# time-stamp-start: "scriptversion="
|
|
+# time-stamp-format: "%:y-%02m-%02d.%02H"
|
|
+# time-stamp-time-zone: "UTC"
|
|
+# time-stamp-end: "; # UTC"
|
|
+# End:
|
|
diff --git a/missing b/missing
|
|
index 3aef1fb..28055d2 100755
|
|
--- a/missing
|
|
+++ b/missing
|
|
@@ -1,6 +1,10 @@
|
|
#! /bin/sh
|
|
# Common stub for a few missing GNU programs while installing.
|
|
-# Copyright 1996, 1997, 1999, 2000 Free Software Foundation, Inc.
|
|
+
|
|
+scriptversion=2009-04-28.21; # UTC
|
|
+
|
|
+# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
|
|
+# 2008, 2009 Free Software Foundation, Inc.
|
|
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
@@ -14,9 +18,7 @@
|
|
# 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., 59 Temple Place - Suite 330, Boston, MA
|
|
-# 02111-1307, USA.
|
|
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
# As a special exception to the GNU General Public License, if you
|
|
# distribute this file as part of a program that contains a
|
|
@@ -29,6 +31,8 @@ if test $# -eq 0; then
|
|
fi
|
|
|
|
run=:
|
|
+sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
|
|
+sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
|
|
|
|
# In the cases where this matters, `missing' is being run in the
|
|
# srcdir already.
|
|
@@ -38,18 +42,24 @@ else
|
|
configure_ac=configure.in
|
|
fi
|
|
|
|
-case "$1" in
|
|
+msg="missing on your system"
|
|
+
|
|
+case $1 in
|
|
--run)
|
|
# Try to run requested program, and just exit if it succeeds.
|
|
run=
|
|
shift
|
|
"$@" && exit 0
|
|
+ # Exit code 63 means version mismatch. This often happens
|
|
+ # when the user try to use an ancient version of a tool on
|
|
+ # a file that requires a minimum version. In this case we
|
|
+ # we should proceed has if the program had been absent, or
|
|
+ # if --run hadn't been passed.
|
|
+ if test $? = 63; then
|
|
+ run=:
|
|
+ msg="probably too old"
|
|
+ fi
|
|
;;
|
|
-esac
|
|
-
|
|
-# If it does not exist, or fails to run (possibly an outdated version),
|
|
-# try to emulate it.
|
|
-case "$1" in
|
|
|
|
-h|--h|--he|--hel|--help)
|
|
echo "\
|
|
@@ -67,6 +77,7 @@ Supported PROGRAM values:
|
|
aclocal touch file \`aclocal.m4'
|
|
autoconf touch file \`configure'
|
|
autoheader touch file \`config.h.in'
|
|
+ autom4te touch the output file, or create a stub one
|
|
automake touch all \`Makefile.in' files
|
|
bison create \`y.tab.[ch]', if possible, from existing .[ch]
|
|
flex create \`lex.yy.c', if possible, from existing .c
|
|
@@ -74,11 +85,18 @@ Supported PROGRAM values:
|
|
lex create \`lex.yy.c', if possible, from existing .c
|
|
makeinfo touch the output file
|
|
tar try tar, gnutar, gtar, then tar without non-portable flags
|
|
- yacc create \`y.tab.[ch]', if possible, from existing .[ch]"
|
|
+ yacc create \`y.tab.[ch]', if possible, from existing .[ch]
|
|
+
|
|
+Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
|
|
+\`g' are ignored when checking the name.
|
|
+
|
|
+Send bug reports to <bug-automake@gnu.org>."
|
|
+ exit $?
|
|
;;
|
|
|
|
-v|--v|--ve|--ver|--vers|--versi|--versio|--version)
|
|
- echo "missing 0.3 - GNU automake"
|
|
+ echo "missing $scriptversion (GNU Automake)"
|
|
+ exit $?
|
|
;;
|
|
|
|
-*)
|
|
@@ -87,27 +105,69 @@ Supported PROGRAM values:
|
|
exit 1
|
|
;;
|
|
|
|
- aclocal)
|
|
+esac
|
|
+
|
|
+# normalize program name to check for.
|
|
+program=`echo "$1" | sed '
|
|
+ s/^gnu-//; t
|
|
+ s/^gnu//; t
|
|
+ s/^g//; t'`
|
|
+
|
|
+# Now exit if we have it, but it failed. Also exit now if we
|
|
+# don't have it and --version was passed (most likely to detect
|
|
+# the program). This is about non-GNU programs, so use $1 not
|
|
+# $program.
|
|
+case $1 in
|
|
+ lex*|yacc*)
|
|
+ # Not GNU programs, they don't have --version.
|
|
+ ;;
|
|
+
|
|
+ tar*)
|
|
+ if test -n "$run"; then
|
|
+ echo 1>&2 "ERROR: \`tar' requires --run"
|
|
+ exit 1
|
|
+ elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
|
|
+ exit 1
|
|
+ fi
|
|
+ ;;
|
|
+
|
|
+ *)
|
|
+ if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
|
|
+ # We have it, but it failed.
|
|
+ exit 1
|
|
+ elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
|
|
+ # Could not run --version or --help. This is probably someone
|
|
+ # running `$TOOL --version' or `$TOOL --help' to check whether
|
|
+ # $TOOL exists and not knowing $TOOL uses missing.
|
|
+ exit 1
|
|
+ fi
|
|
+ ;;
|
|
+esac
|
|
+
|
|
+# If it does not exist, or fails to run (possibly an outdated version),
|
|
+# try to emulate it.
|
|
+case $program in
|
|
+ aclocal*)
|
|
echo 1>&2 "\
|
|
-WARNING: \`$1' is missing on your system. You should only need it if
|
|
+WARNING: \`$1' is $msg. You should only need it if
|
|
you modified \`acinclude.m4' or \`${configure_ac}'. You might want
|
|
to install the \`Automake' and \`Perl' packages. Grab them from
|
|
any GNU archive site."
|
|
touch aclocal.m4
|
|
;;
|
|
|
|
- autoconf)
|
|
+ autoconf*)
|
|
echo 1>&2 "\
|
|
-WARNING: \`$1' is missing on your system. You should only need it if
|
|
+WARNING: \`$1' is $msg. You should only need it if
|
|
you modified \`${configure_ac}'. You might want to install the
|
|
\`Autoconf' and \`GNU m4' packages. Grab them from any GNU
|
|
archive site."
|
|
touch configure
|
|
;;
|
|
|
|
- autoheader)
|
|
+ autoheader*)
|
|
echo 1>&2 "\
|
|
-WARNING: \`$1' is missing on your system. You should only need it if
|
|
+WARNING: \`$1' is $msg. You should only need it if
|
|
you modified \`acconfig.h' or \`${configure_ac}'. You might want
|
|
to install the \`Autoconf' and \`GNU m4' packages. Grab them
|
|
from any GNU archive site."
|
|
@@ -115,7 +175,7 @@ WARNING: \`$1' is missing on your system. You should only need it if
|
|
test -z "$files" && files="config.h"
|
|
touch_files=
|
|
for f in $files; do
|
|
- case "$f" in
|
|
+ case $f in
|
|
*:*) touch_files="$touch_files "`echo "$f" |
|
|
sed -e 's/^[^:]*://' -e 's/:.*//'`;;
|
|
*) touch_files="$touch_files $f.in";;
|
|
@@ -124,9 +184,9 @@ WARNING: \`$1' is missing on your system. You should only need it if
|
|
touch $touch_files
|
|
;;
|
|
|
|
- automake)
|
|
+ automake*)
|
|
echo 1>&2 "\
|
|
-WARNING: \`$1' is missing on your system. You should only need it if
|
|
+WARNING: \`$1' is $msg. You should only need it if
|
|
you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
|
|
You might want to install the \`Automake' and \`Perl' packages.
|
|
Grab them from any GNU archive site."
|
|
@@ -135,128 +195,153 @@ WARNING: \`$1' is missing on your system. You should only need it if
|
|
while read f; do touch "$f"; done
|
|
;;
|
|
|
|
- bison|yacc)
|
|
+ autom4te*)
|
|
+ echo 1>&2 "\
|
|
+WARNING: \`$1' is needed, but is $msg.
|
|
+ You might have modified some files without having the
|
|
+ proper tools for further handling them.
|
|
+ You can get \`$1' as part of \`Autoconf' from any GNU
|
|
+ archive site."
|
|
+
|
|
+ file=`echo "$*" | sed -n "$sed_output"`
|
|
+ test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
|
|
+ if test -f "$file"; then
|
|
+ touch $file
|
|
+ else
|
|
+ test -z "$file" || exec >$file
|
|
+ echo "#! /bin/sh"
|
|
+ echo "# Created by GNU Automake missing as a replacement of"
|
|
+ echo "# $ $@"
|
|
+ echo "exit 0"
|
|
+ chmod +x $file
|
|
+ exit 1
|
|
+ fi
|
|
+ ;;
|
|
+
|
|
+ bison*|yacc*)
|
|
echo 1>&2 "\
|
|
-WARNING: \`$1' is missing on your system. You should only need it if
|
|
+WARNING: \`$1' $msg. You should only need it if
|
|
you modified a \`.y' file. You may need the \`Bison' package
|
|
in order for those modifications to take effect. You can get
|
|
\`Bison' from any GNU archive site."
|
|
rm -f y.tab.c y.tab.h
|
|
- if [ $# -ne 1 ]; then
|
|
+ if test $# -ne 1; then
|
|
eval LASTARG="\${$#}"
|
|
- case "$LASTARG" in
|
|
+ case $LASTARG in
|
|
*.y)
|
|
SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
|
|
- if [ -f "$SRCFILE" ]; then
|
|
+ if test -f "$SRCFILE"; then
|
|
cp "$SRCFILE" y.tab.c
|
|
fi
|
|
SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
|
|
- if [ -f "$SRCFILE" ]; then
|
|
+ if test -f "$SRCFILE"; then
|
|
cp "$SRCFILE" y.tab.h
|
|
fi
|
|
;;
|
|
esac
|
|
fi
|
|
- if [ ! -f y.tab.h ]; then
|
|
+ if test ! -f y.tab.h; then
|
|
echo >y.tab.h
|
|
fi
|
|
- if [ ! -f y.tab.c ]; then
|
|
+ if test ! -f y.tab.c; then
|
|
echo 'main() { return 0; }' >y.tab.c
|
|
fi
|
|
;;
|
|
|
|
- lex|flex)
|
|
+ lex*|flex*)
|
|
echo 1>&2 "\
|
|
-WARNING: \`$1' is missing on your system. You should only need it if
|
|
+WARNING: \`$1' is $msg. You should only need it if
|
|
you modified a \`.l' file. You may need the \`Flex' package
|
|
in order for those modifications to take effect. You can get
|
|
\`Flex' from any GNU archive site."
|
|
rm -f lex.yy.c
|
|
- if [ $# -ne 1 ]; then
|
|
+ if test $# -ne 1; then
|
|
eval LASTARG="\${$#}"
|
|
- case "$LASTARG" in
|
|
+ case $LASTARG in
|
|
*.l)
|
|
SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
|
|
- if [ -f "$SRCFILE" ]; then
|
|
+ if test -f "$SRCFILE"; then
|
|
cp "$SRCFILE" lex.yy.c
|
|
fi
|
|
;;
|
|
esac
|
|
fi
|
|
- if [ ! -f lex.yy.c ]; then
|
|
+ if test ! -f lex.yy.c; then
|
|
echo 'main() { return 0; }' >lex.yy.c
|
|
fi
|
|
;;
|
|
|
|
- help2man)
|
|
+ help2man*)
|
|
echo 1>&2 "\
|
|
-WARNING: \`$1' is missing on your system. You should only need it if
|
|
+WARNING: \`$1' is $msg. You should only need it if
|
|
you modified a dependency of a manual page. You may need the
|
|
\`Help2man' package in order for those modifications to take
|
|
effect. You can get \`Help2man' from any GNU archive site."
|
|
|
|
- file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
|
|
- if test -z "$file"; then
|
|
- file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'`
|
|
- fi
|
|
- if [ -f "$file" ]; then
|
|
+ file=`echo "$*" | sed -n "$sed_output"`
|
|
+ test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
|
|
+ if test -f "$file"; then
|
|
touch $file
|
|
else
|
|
test -z "$file" || exec >$file
|
|
echo ".ab help2man is required to generate this page"
|
|
- exit 1
|
|
+ exit $?
|
|
fi
|
|
;;
|
|
|
|
- makeinfo)
|
|
- if test -z "$run" && (makeinfo --version > /dev/null 2>&1); then
|
|
- # We have makeinfo, but it failed.
|
|
- exit 1
|
|
- fi
|
|
-
|
|
+ makeinfo*)
|
|
echo 1>&2 "\
|
|
-WARNING: \`$1' is missing on your system. You should only need it if
|
|
+WARNING: \`$1' is $msg. You should only need it if
|
|
you modified a \`.texi' or \`.texinfo' file, or any other file
|
|
indirectly affecting the aspect of the manual. The spurious
|
|
call might also be the consequence of using a buggy \`make' (AIX,
|
|
DU, IRIX). You might want to install the \`Texinfo' package or
|
|
the \`GNU make' package. Grab either from any GNU archive site."
|
|
- file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
|
|
+ # The file to touch is that specified with -o ...
|
|
+ file=`echo "$*" | sed -n "$sed_output"`
|
|
+ test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
|
|
if test -z "$file"; then
|
|
- file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
|
|
- file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file`
|
|
+ # ... or it is the one specified with @setfilename ...
|
|
+ infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
|
|
+ file=`sed -n '
|
|
+ /^@setfilename/{
|
|
+ s/.* \([^ ]*\) *$/\1/
|
|
+ p
|
|
+ q
|
|
+ }' $infile`
|
|
+ # ... or it is derived from the source name (dir/f.texi becomes f.info)
|
|
+ test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
|
|
fi
|
|
+ # If the file does not exist, the user really needs makeinfo;
|
|
+ # let's fail without touching anything.
|
|
+ test -f $file || exit 1
|
|
touch $file
|
|
;;
|
|
|
|
- tar)
|
|
+ tar*)
|
|
shift
|
|
- if test -n "$run"; then
|
|
- echo 1>&2 "ERROR: \`tar' requires --run"
|
|
- exit 1
|
|
- fi
|
|
|
|
# We have already tried tar in the generic part.
|
|
# Look for gnutar/gtar before invocation to avoid ugly error
|
|
# messages.
|
|
if (gnutar --version > /dev/null 2>&1); then
|
|
- gnutar ${1+"$@"} && exit 0
|
|
+ gnutar "$@" && exit 0
|
|
fi
|
|
if (gtar --version > /dev/null 2>&1); then
|
|
- gtar ${1+"$@"} && exit 0
|
|
+ gtar "$@" && exit 0
|
|
fi
|
|
firstarg="$1"
|
|
if shift; then
|
|
- case "$firstarg" in
|
|
+ case $firstarg in
|
|
*o*)
|
|
firstarg=`echo "$firstarg" | sed s/o//`
|
|
- tar "$firstarg" ${1+"$@"} && exit 0
|
|
+ tar "$firstarg" "$@" && exit 0
|
|
;;
|
|
esac
|
|
- case "$firstarg" in
|
|
+ case $firstarg in
|
|
*h*)
|
|
firstarg=`echo "$firstarg" | sed s/h//`
|
|
- tar "$firstarg" ${1+"$@"} && exit 0
|
|
+ tar "$firstarg" "$@" && exit 0
|
|
;;
|
|
esac
|
|
fi
|
|
@@ -270,10 +355,10 @@ WARNING: I can't seem to be able to run \`tar' with the given arguments.
|
|
|
|
*)
|
|
echo 1>&2 "\
|
|
-WARNING: \`$1' is needed, and you do not seem to have it handy on your
|
|
- system. You might have modified some files without having the
|
|
+WARNING: \`$1' is needed, and is $msg.
|
|
+ You might have modified some files without having the
|
|
proper tools for further handling them. Check the \`README' file,
|
|
- it often tells you about the needed prerequirements for installing
|
|
+ it often tells you about the needed prerequisites for installing
|
|
this package. You may also peek at any GNU archive site, in case
|
|
some other package would contain this missing \`$1' program."
|
|
exit 1
|
|
@@ -281,3 +366,11 @@ WARNING: \`$1' is needed, and you do not seem to have it handy on your
|
|
esac
|
|
|
|
exit 0
|
|
+
|
|
+# Local variables:
|
|
+# eval: (add-hook 'write-file-hooks 'time-stamp)
|
|
+# time-stamp-start: "scriptversion="
|
|
+# time-stamp-format: "%:y-%02m-%02d.%02H"
|
|
+# time-stamp-time-zone: "UTC"
|
|
+# time-stamp-end: "; # UTC"
|
|
+# End:
|
|
diff --git a/mkinstalldirs b/mkinstalldirs
|
|
index 4f58503..4191a45 100755
|
|
--- a/mkinstalldirs
|
|
+++ b/mkinstalldirs
|
|
@@ -1,40 +1,162 @@
|
|
#! /bin/sh
|
|
# mkinstalldirs --- make directory hierarchy
|
|
-# Author: Noah Friedman <friedman@prep.ai.mit.edu>
|
|
-# Created: 1993-05-16
|
|
-# Public domain
|
|
|
|
-# $Id: mkinstalldirs,v 1.13 1999/01/05 03:18:55 bje Exp $
|
|
+scriptversion=2009-04-28.21; # UTC
|
|
+
|
|
+# Original author: Noah Friedman <friedman@prep.ai.mit.edu>
|
|
+# Created: 1993-05-16
|
|
+# Public domain.
|
|
+#
|
|
+# This file is maintained in Automake, please report
|
|
+# bugs to <bug-automake@gnu.org> or send patches to
|
|
+# <automake-patches@gnu.org>.
|
|
|
|
+nl='
|
|
+'
|
|
+IFS=" "" $nl"
|
|
errstatus=0
|
|
+dirmode=
|
|
+
|
|
+usage="\
|
|
+Usage: mkinstalldirs [-h] [--help] [--version] [-m MODE] DIR ...
|
|
+
|
|
+Create each directory DIR (with mode MODE, if specified), including all
|
|
+leading file name components.
|
|
+
|
|
+Report bugs to <bug-automake@gnu.org>."
|
|
+
|
|
+# process command line arguments
|
|
+while test $# -gt 0 ; do
|
|
+ case $1 in
|
|
+ -h | --help | --h*) # -h for help
|
|
+ echo "$usage"
|
|
+ exit $?
|
|
+ ;;
|
|
+ -m) # -m PERM arg
|
|
+ shift
|
|
+ test $# -eq 0 && { echo "$usage" 1>&2; exit 1; }
|
|
+ dirmode=$1
|
|
+ shift
|
|
+ ;;
|
|
+ --version)
|
|
+ echo "$0 $scriptversion"
|
|
+ exit $?
|
|
+ ;;
|
|
+ --) # stop option processing
|
|
+ shift
|
|
+ break
|
|
+ ;;
|
|
+ -*) # unknown option
|
|
+ echo "$usage" 1>&2
|
|
+ exit 1
|
|
+ ;;
|
|
+ *) # first non-opt arg
|
|
+ break
|
|
+ ;;
|
|
+ esac
|
|
+done
|
|
|
|
for file
|
|
do
|
|
- set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
|
|
- shift
|
|
+ if test -d "$file"; then
|
|
+ shift
|
|
+ else
|
|
+ break
|
|
+ fi
|
|
+done
|
|
+
|
|
+case $# in
|
|
+ 0) exit 0 ;;
|
|
+esac
|
|
+
|
|
+# Solaris 8's mkdir -p isn't thread-safe. If you mkdir -p a/b and
|
|
+# mkdir -p a/c at the same time, both will detect that a is missing,
|
|
+# one will create a, then the other will try to create a and die with
|
|
+# a "File exists" error. This is a problem when calling mkinstalldirs
|
|
+# from a parallel make. We use --version in the probe to restrict
|
|
+# ourselves to GNU mkdir, which is thread-safe.
|
|
+case $dirmode in
|
|
+ '')
|
|
+ if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
|
|
+ echo "mkdir -p -- $*"
|
|
+ exec mkdir -p -- "$@"
|
|
+ else
|
|
+ # On NextStep and OpenStep, the `mkdir' command does not
|
|
+ # recognize any option. It will interpret all options as
|
|
+ # directories to create, and then abort because `.' already
|
|
+ # exists.
|
|
+ test -d ./-p && rmdir ./-p
|
|
+ test -d ./--version && rmdir ./--version
|
|
+ fi
|
|
+ ;;
|
|
+ *)
|
|
+ if mkdir -m "$dirmode" -p --version . >/dev/null 2>&1 &&
|
|
+ test ! -d ./--version; then
|
|
+ echo "mkdir -m $dirmode -p -- $*"
|
|
+ exec mkdir -m "$dirmode" -p -- "$@"
|
|
+ else
|
|
+ # Clean up after NextStep and OpenStep mkdir.
|
|
+ for d in ./-m ./-p ./--version "./$dirmode";
|
|
+ do
|
|
+ test -d $d && rmdir $d
|
|
+ done
|
|
+ fi
|
|
+ ;;
|
|
+esac
|
|
+
|
|
+for file
|
|
+do
|
|
+ case $file in
|
|
+ /*) pathcomp=/ ;;
|
|
+ *) pathcomp= ;;
|
|
+ esac
|
|
+ oIFS=$IFS
|
|
+ IFS=/
|
|
+ set fnord $file
|
|
+ shift
|
|
+ IFS=$oIFS
|
|
+
|
|
+ for d
|
|
+ do
|
|
+ test "x$d" = x && continue
|
|
+
|
|
+ pathcomp=$pathcomp$d
|
|
+ case $pathcomp in
|
|
+ -*) pathcomp=./$pathcomp ;;
|
|
+ esac
|
|
|
|
- pathcomp=
|
|
- for d
|
|
- do
|
|
- pathcomp="$pathcomp$d"
|
|
- case "$pathcomp" in
|
|
- -* ) pathcomp=./$pathcomp ;;
|
|
- esac
|
|
+ if test ! -d "$pathcomp"; then
|
|
+ echo "mkdir $pathcomp"
|
|
|
|
- if test ! -d "$pathcomp"; then
|
|
- echo "mkdir $pathcomp"
|
|
+ mkdir "$pathcomp" || lasterr=$?
|
|
|
|
- mkdir "$pathcomp" || lasterr=$?
|
|
+ if test ! -d "$pathcomp"; then
|
|
+ errstatus=$lasterr
|
|
+ else
|
|
+ if test ! -z "$dirmode"; then
|
|
+ echo "chmod $dirmode $pathcomp"
|
|
+ lasterr=
|
|
+ chmod "$dirmode" "$pathcomp" || lasterr=$?
|
|
|
|
- if test ! -d "$pathcomp"; then
|
|
- errstatus=$lasterr
|
|
- fi
|
|
- fi
|
|
+ if test ! -z "$lasterr"; then
|
|
+ errstatus=$lasterr
|
|
+ fi
|
|
+ fi
|
|
+ fi
|
|
+ fi
|
|
|
|
- pathcomp="$pathcomp/"
|
|
- done
|
|
+ pathcomp=$pathcomp/
|
|
+ done
|
|
done
|
|
|
|
exit $errstatus
|
|
|
|
-# mkinstalldirs ends here
|
|
+# Local Variables:
|
|
+# mode: shell-script
|
|
+# sh-indentation: 2
|
|
+# eval: (add-hook 'write-file-hooks 'time-stamp)
|
|
+# time-stamp-start: "scriptversion="
|
|
+# time-stamp-format: "%:y-%02m-%02d.%02H"
|
|
+# time-stamp-time-zone: "UTC"
|
|
+# time-stamp-end: "; # UTC"
|
|
+# End:
|
|
diff --git a/pub/Makefile.in b/pub/Makefile.in
|
|
index 84cc0dc..724a516 100644
|
|
--- a/pub/Makefile.in
|
|
+++ b/pub/Makefile.in
|
|
@@ -1,8 +1,9 @@
|
|
-# Makefile.in generated by automake 1.10.1 from Makefile.am.
|
|
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
|
|
# @configure_input@
|
|
|
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
|
-# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
|
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
|
|
+# Inc.
|
|
# This Makefile.in is free software; the Free Software Foundation
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
# with or without modifications, as long as this notice is preserved.
|
|
@@ -16,8 +17,9 @@
|
|
|
|
VPATH = @srcdir@
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
|
-pkglibdir = $(libdir)/@PACKAGE@
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
|
+pkglibdir = $(libdir)/@PACKAGE@
|
|
+pkglibexecdir = $(libexecdir)/@PACKAGE@
|
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
|
install_sh_DATA = $(install_sh) -c -m 644
|
|
install_sh_PROGRAM = $(install_sh) -c
|
|
@@ -43,6 +45,7 @@ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
|
CONFIG_HEADER = $(top_builddir)/src/conf.h
|
|
CONFIG_CLEAN_FILES =
|
|
+CONFIG_CLEAN_VPATH_FILES =
|
|
LIBRARIES = $(noinst_LIBRARIES)
|
|
ARFLAGS = cru
|
|
libcfpub_a_AR = $(AR) $(ARFLAGS)
|
|
@@ -55,6 +58,7 @@ libcfpub_a_OBJECTS = $(am_libcfpub_a_OBJECTS)
|
|
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/src
|
|
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
|
am__depfiles_maybe = depfiles
|
|
+am__mv = mv -f
|
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
|
@@ -72,6 +76,7 @@ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
|
ACLOCAL = @ACLOCAL@
|
|
AMTAR = @AMTAR@
|
|
AR = @AR@
|
|
+ARGZ_H = @ARGZ_H@
|
|
AUTOCONF = @AUTOCONF@
|
|
AUTOHEADER = @AUTOHEADER@
|
|
AUTOMAKE = @AUTOMAKE@
|
|
@@ -102,6 +107,7 @@ GETCONF = @GETCONF@
|
|
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
|
|
GREP = @GREP@
|
|
HOSTNAME = @HOSTNAME@
|
|
+INCLTDL = @INCLTDL@
|
|
INSTALL = @INSTALL@
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
@@ -114,13 +120,25 @@ LDFLAGS = @LDFLAGS@
|
|
LEX = @LEX@
|
|
LEXLIB = @LEXLIB@
|
|
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
|
|
+LIBADD_DL = @LIBADD_DL@
|
|
+LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
|
|
+LIBADD_DLOPEN = @LIBADD_DLOPEN@
|
|
+LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
|
|
+LIBLTDL = @LIBLTDL@
|
|
LIBOBJS = @LIBOBJS@
|
|
LIBS = @LIBS@
|
|
LIBTOOL = @LIBTOOL@
|
|
LIB_SELINUX = @LIB_SELINUX@
|
|
LIPO = @LIPO@
|
|
LN_S = @LN_S@
|
|
+LTDLDEPS = @LTDLDEPS@
|
|
+LTDLINCL = @LTDLINCL@
|
|
+LTDLOPEN = @LTDLOPEN@
|
|
LTLIBOBJS = @LTLIBOBJS@
|
|
+LT_CONFIG_H = @LT_CONFIG_H@
|
|
+LT_DLLOADERS = @LT_DLLOADERS@
|
|
+LT_DLPREOPEN = @LT_DLPREOPEN@
|
|
+MAINT = @MAINT@
|
|
MAKEINFO = @MAKEINFO@
|
|
MKDIR_P = @MKDIR_P@
|
|
NEED_SETGID = @NEED_SETGID@
|
|
@@ -192,6 +210,8 @@ libexecdir = @libexecdir@
|
|
localedir = @localedir@
|
|
localstatedir = @localstatedir@
|
|
lt_ECHO = @lt_ECHO@
|
|
+ltdl_LIBOBJS = @ltdl_LIBOBJS@
|
|
+ltdl_LTLIBOBJS = @ltdl_LTLIBOBJS@
|
|
mandir = @mandir@
|
|
mkdir_p = @mkdir_p@
|
|
oldincludedir = @oldincludedir@
|
|
@@ -202,6 +222,8 @@ psdir = @psdir@
|
|
sbindir = @sbindir@
|
|
sharedstatedir = @sharedstatedir@
|
|
srcdir = @srcdir@
|
|
+subdirs = @subdirs@
|
|
+sys_symbol_underscore = @sys_symbol_underscore@
|
|
sysconfdir = @sysconfdir@
|
|
target = @target@
|
|
target_alias = @target_alias@
|
|
@@ -258,18 +280,18 @@ all: all-am
|
|
|
|
.SUFFIXES:
|
|
.SUFFIXES: .c .lo .o .obj
|
|
-$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
|
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
|
|
@for dep in $?; do \
|
|
case '$(am__configure_deps)' in \
|
|
*$$dep*) \
|
|
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
|
|
- && exit 0; \
|
|
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
|
|
+ && { if test -f $@; then exit 0; else break; fi; }; \
|
|
exit 1;; \
|
|
esac; \
|
|
done; \
|
|
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu pub/Makefile'; \
|
|
- cd $(top_srcdir) && \
|
|
- $(AUTOMAKE) --gnu pub/Makefile
|
|
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu pub/Makefile'; \
|
|
+ $(am__cd) $(top_srcdir) && \
|
|
+ $(AUTOMAKE) --gnu pub/Makefile
|
|
.PRECIOUS: Makefile
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
@case '$?' in \
|
|
@@ -283,10 +305,11 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
|
|
|
-$(top_srcdir)/configure: $(am__configure_deps)
|
|
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
|
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
|
-$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
|
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
|
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
|
+$(am__aclocal_m4_deps):
|
|
|
|
clean-noinstLIBRARIES:
|
|
-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
|
|
@@ -310,105 +333,105 @@ distclean-compile:
|
|
|
|
.c.o:
|
|
@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
@am__fastdepCC_FALSE@ $(COMPILE) -c $<
|
|
|
|
.c.obj:
|
|
@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
|
|
|
|
.c.lo:
|
|
@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
|
|
|
|
libcfpub_a-getopt.o: getopt.c
|
|
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfpub_a_CFLAGS) $(CFLAGS) -MT libcfpub_a-getopt.o -MD -MP -MF $(DEPDIR)/libcfpub_a-getopt.Tpo -c -o libcfpub_a-getopt.o `test -f 'getopt.c' || echo '$(srcdir)/'`getopt.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfpub_a-getopt.Tpo $(DEPDIR)/libcfpub_a-getopt.Po
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfpub_a-getopt.Tpo $(DEPDIR)/libcfpub_a-getopt.Po
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='getopt.c' object='libcfpub_a-getopt.o' libtool=no @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfpub_a_CFLAGS) $(CFLAGS) -c -o libcfpub_a-getopt.o `test -f 'getopt.c' || echo '$(srcdir)/'`getopt.c
|
|
|
|
libcfpub_a-getopt.obj: getopt.c
|
|
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfpub_a_CFLAGS) $(CFLAGS) -MT libcfpub_a-getopt.obj -MD -MP -MF $(DEPDIR)/libcfpub_a-getopt.Tpo -c -o libcfpub_a-getopt.obj `if test -f 'getopt.c'; then $(CYGPATH_W) 'getopt.c'; else $(CYGPATH_W) '$(srcdir)/getopt.c'; fi`
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfpub_a-getopt.Tpo $(DEPDIR)/libcfpub_a-getopt.Po
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfpub_a-getopt.Tpo $(DEPDIR)/libcfpub_a-getopt.Po
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='getopt.c' object='libcfpub_a-getopt.obj' libtool=no @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfpub_a_CFLAGS) $(CFLAGS) -c -o libcfpub_a-getopt.obj `if test -f 'getopt.c'; then $(CYGPATH_W) 'getopt.c'; else $(CYGPATH_W) '$(srcdir)/getopt.c'; fi`
|
|
|
|
libcfpub_a-getopt1.o: getopt1.c
|
|
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfpub_a_CFLAGS) $(CFLAGS) -MT libcfpub_a-getopt1.o -MD -MP -MF $(DEPDIR)/libcfpub_a-getopt1.Tpo -c -o libcfpub_a-getopt1.o `test -f 'getopt1.c' || echo '$(srcdir)/'`getopt1.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfpub_a-getopt1.Tpo $(DEPDIR)/libcfpub_a-getopt1.Po
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfpub_a-getopt1.Tpo $(DEPDIR)/libcfpub_a-getopt1.Po
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='getopt1.c' object='libcfpub_a-getopt1.o' libtool=no @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfpub_a_CFLAGS) $(CFLAGS) -c -o libcfpub_a-getopt1.o `test -f 'getopt1.c' || echo '$(srcdir)/'`getopt1.c
|
|
|
|
libcfpub_a-getopt1.obj: getopt1.c
|
|
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfpub_a_CFLAGS) $(CFLAGS) -MT libcfpub_a-getopt1.obj -MD -MP -MF $(DEPDIR)/libcfpub_a-getopt1.Tpo -c -o libcfpub_a-getopt1.obj `if test -f 'getopt1.c'; then $(CYGPATH_W) 'getopt1.c'; else $(CYGPATH_W) '$(srcdir)/getopt1.c'; fi`
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfpub_a-getopt1.Tpo $(DEPDIR)/libcfpub_a-getopt1.Po
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfpub_a-getopt1.Tpo $(DEPDIR)/libcfpub_a-getopt1.Po
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='getopt1.c' object='libcfpub_a-getopt1.obj' libtool=no @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfpub_a_CFLAGS) $(CFLAGS) -c -o libcfpub_a-getopt1.obj `if test -f 'getopt1.c'; then $(CYGPATH_W) 'getopt1.c'; else $(CYGPATH_W) '$(srcdir)/getopt1.c'; fi`
|
|
|
|
libcfpub_a-full-write.o: full-write.c
|
|
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfpub_a_CFLAGS) $(CFLAGS) -MT libcfpub_a-full-write.o -MD -MP -MF $(DEPDIR)/libcfpub_a-full-write.Tpo -c -o libcfpub_a-full-write.o `test -f 'full-write.c' || echo '$(srcdir)/'`full-write.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfpub_a-full-write.Tpo $(DEPDIR)/libcfpub_a-full-write.Po
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfpub_a-full-write.Tpo $(DEPDIR)/libcfpub_a-full-write.Po
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='full-write.c' object='libcfpub_a-full-write.o' libtool=no @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfpub_a_CFLAGS) $(CFLAGS) -c -o libcfpub_a-full-write.o `test -f 'full-write.c' || echo '$(srcdir)/'`full-write.c
|
|
|
|
libcfpub_a-full-write.obj: full-write.c
|
|
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfpub_a_CFLAGS) $(CFLAGS) -MT libcfpub_a-full-write.obj -MD -MP -MF $(DEPDIR)/libcfpub_a-full-write.Tpo -c -o libcfpub_a-full-write.obj `if test -f 'full-write.c'; then $(CYGPATH_W) 'full-write.c'; else $(CYGPATH_W) '$(srcdir)/full-write.c'; fi`
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfpub_a-full-write.Tpo $(DEPDIR)/libcfpub_a-full-write.Po
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfpub_a-full-write.Tpo $(DEPDIR)/libcfpub_a-full-write.Po
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='full-write.c' object='libcfpub_a-full-write.obj' libtool=no @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfpub_a_CFLAGS) $(CFLAGS) -c -o libcfpub_a-full-write.obj `if test -f 'full-write.c'; then $(CYGPATH_W) 'full-write.c'; else $(CYGPATH_W) '$(srcdir)/full-write.c'; fi`
|
|
|
|
libcfpub_a-regex.o: regex.c
|
|
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfpub_a_CFLAGS) $(CFLAGS) -MT libcfpub_a-regex.o -MD -MP -MF $(DEPDIR)/libcfpub_a-regex.Tpo -c -o libcfpub_a-regex.o `test -f 'regex.c' || echo '$(srcdir)/'`regex.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfpub_a-regex.Tpo $(DEPDIR)/libcfpub_a-regex.Po
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfpub_a-regex.Tpo $(DEPDIR)/libcfpub_a-regex.Po
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='regex.c' object='libcfpub_a-regex.o' libtool=no @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfpub_a_CFLAGS) $(CFLAGS) -c -o libcfpub_a-regex.o `test -f 'regex.c' || echo '$(srcdir)/'`regex.c
|
|
|
|
libcfpub_a-regex.obj: regex.c
|
|
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfpub_a_CFLAGS) $(CFLAGS) -MT libcfpub_a-regex.obj -MD -MP -MF $(DEPDIR)/libcfpub_a-regex.Tpo -c -o libcfpub_a-regex.obj `if test -f 'regex.c'; then $(CYGPATH_W) 'regex.c'; else $(CYGPATH_W) '$(srcdir)/regex.c'; fi`
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfpub_a-regex.Tpo $(DEPDIR)/libcfpub_a-regex.Po
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfpub_a-regex.Tpo $(DEPDIR)/libcfpub_a-regex.Po
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='regex.c' object='libcfpub_a-regex.obj' libtool=no @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfpub_a_CFLAGS) $(CFLAGS) -c -o libcfpub_a-regex.obj `if test -f 'regex.c'; then $(CYGPATH_W) 'regex.c'; else $(CYGPATH_W) '$(srcdir)/regex.c'; fi`
|
|
|
|
libcfpub_a-getloadavg.o: getloadavg.c
|
|
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfpub_a_CFLAGS) $(CFLAGS) -MT libcfpub_a-getloadavg.o -MD -MP -MF $(DEPDIR)/libcfpub_a-getloadavg.Tpo -c -o libcfpub_a-getloadavg.o `test -f 'getloadavg.c' || echo '$(srcdir)/'`getloadavg.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfpub_a-getloadavg.Tpo $(DEPDIR)/libcfpub_a-getloadavg.Po
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfpub_a-getloadavg.Tpo $(DEPDIR)/libcfpub_a-getloadavg.Po
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='getloadavg.c' object='libcfpub_a-getloadavg.o' libtool=no @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfpub_a_CFLAGS) $(CFLAGS) -c -o libcfpub_a-getloadavg.o `test -f 'getloadavg.c' || echo '$(srcdir)/'`getloadavg.c
|
|
|
|
libcfpub_a-getloadavg.obj: getloadavg.c
|
|
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfpub_a_CFLAGS) $(CFLAGS) -MT libcfpub_a-getloadavg.obj -MD -MP -MF $(DEPDIR)/libcfpub_a-getloadavg.Tpo -c -o libcfpub_a-getloadavg.obj `if test -f 'getloadavg.c'; then $(CYGPATH_W) 'getloadavg.c'; else $(CYGPATH_W) '$(srcdir)/getloadavg.c'; fi`
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfpub_a-getloadavg.Tpo $(DEPDIR)/libcfpub_a-getloadavg.Po
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfpub_a-getloadavg.Tpo $(DEPDIR)/libcfpub_a-getloadavg.Po
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='getloadavg.c' object='libcfpub_a-getloadavg.obj' libtool=no @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfpub_a_CFLAGS) $(CFLAGS) -c -o libcfpub_a-getloadavg.obj `if test -f 'getloadavg.c'; then $(CYGPATH_W) 'getloadavg.c'; else $(CYGPATH_W) '$(srcdir)/getloadavg.c'; fi`
|
|
|
|
libcfpub_a-snprintf.o: snprintf.c
|
|
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfpub_a_CFLAGS) $(CFLAGS) -MT libcfpub_a-snprintf.o -MD -MP -MF $(DEPDIR)/libcfpub_a-snprintf.Tpo -c -o libcfpub_a-snprintf.o `test -f 'snprintf.c' || echo '$(srcdir)/'`snprintf.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfpub_a-snprintf.Tpo $(DEPDIR)/libcfpub_a-snprintf.Po
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfpub_a-snprintf.Tpo $(DEPDIR)/libcfpub_a-snprintf.Po
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='snprintf.c' object='libcfpub_a-snprintf.o' libtool=no @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfpub_a_CFLAGS) $(CFLAGS) -c -o libcfpub_a-snprintf.o `test -f 'snprintf.c' || echo '$(srcdir)/'`snprintf.c
|
|
|
|
libcfpub_a-snprintf.obj: snprintf.c
|
|
@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfpub_a_CFLAGS) $(CFLAGS) -MT libcfpub_a-snprintf.obj -MD -MP -MF $(DEPDIR)/libcfpub_a-snprintf.Tpo -c -o libcfpub_a-snprintf.obj `if test -f 'snprintf.c'; then $(CYGPATH_W) 'snprintf.c'; else $(CYGPATH_W) '$(srcdir)/snprintf.c'; fi`
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfpub_a-snprintf.Tpo $(DEPDIR)/libcfpub_a-snprintf.Po
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfpub_a-snprintf.Tpo $(DEPDIR)/libcfpub_a-snprintf.Po
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='snprintf.c' object='libcfpub_a-snprintf.obj' libtool=no @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfpub_a_CFLAGS) $(CFLAGS) -c -o libcfpub_a-snprintf.obj `if test -f 'snprintf.c'; then $(CYGPATH_W) 'snprintf.c'; else $(CYGPATH_W) '$(srcdir)/snprintf.c'; fi`
|
|
@@ -424,14 +447,14 @@ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
|
unique=`for i in $$list; do \
|
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
|
done | \
|
|
- $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
|
|
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
|
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
|
mkid -fID $$unique
|
|
tags: TAGS
|
|
|
|
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
|
$(TAGS_FILES) $(LISP)
|
|
- tags=; \
|
|
+ set x; \
|
|
here=`pwd`; \
|
|
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
|
unique=`for i in $$list; do \
|
|
@@ -439,29 +462,34 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
|
done | \
|
|
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
|
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
|
- if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
|
|
+ shift; \
|
|
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
|
|
test -n "$$unique" || unique=$$empty_fix; \
|
|
- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
|
- $$tags $$unique; \
|
|
+ if test $$# -gt 0; then \
|
|
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
|
+ "$$@" $$unique; \
|
|
+ else \
|
|
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
|
+ $$unique; \
|
|
+ fi; \
|
|
fi
|
|
ctags: CTAGS
|
|
CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
|
$(TAGS_FILES) $(LISP)
|
|
- tags=; \
|
|
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
|
unique=`for i in $$list; do \
|
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
|
done | \
|
|
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
|
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
|
- test -z "$(CTAGS_ARGS)$$tags$$unique" \
|
|
+ test -z "$(CTAGS_ARGS)$$unique" \
|
|
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
|
- $$tags $$unique
|
|
+ $$unique
|
|
|
|
GTAGS:
|
|
here=`$(am__cd) $(top_builddir) && pwd` \
|
|
- && cd $(top_srcdir) \
|
|
- && gtags -i $(GTAGS_ARGS) $$here
|
|
+ && $(am__cd) $(top_srcdir) \
|
|
+ && gtags -i $(GTAGS_ARGS) "$$here"
|
|
|
|
distclean-tags:
|
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
|
@@ -482,13 +510,17 @@ distdir: $(DISTFILES)
|
|
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
|
if test -d $$d/$$file; then \
|
|
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
|
+ if test -d "$(distdir)/$$file"; then \
|
|
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
|
+ fi; \
|
|
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
|
- cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
|
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
|
|
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
|
fi; \
|
|
- cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
|
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
|
|
else \
|
|
- test -f $(distdir)/$$file \
|
|
- || cp -p $$d/$$file $(distdir)/$$file \
|
|
+ test -f "$(distdir)/$$file" \
|
|
+ || cp -p $$d/$$file "$(distdir)/$$file" \
|
|
|| exit 1; \
|
|
fi; \
|
|
done
|
|
@@ -518,6 +550,7 @@ clean-generic:
|
|
|
|
distclean-generic:
|
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
|
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
|
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
|
|
|
|
maintainer-clean-generic:
|
|
@@ -541,6 +574,8 @@ dvi-am:
|
|
|
|
html: html-am
|
|
|
|
+html-am:
|
|
+
|
|
info: info-am
|
|
|
|
info-am:
|
|
@@ -549,18 +584,28 @@ install-data-am:
|
|
|
|
install-dvi: install-dvi-am
|
|
|
|
+install-dvi-am:
|
|
+
|
|
install-exec-am:
|
|
|
|
install-html: install-html-am
|
|
|
|
+install-html-am:
|
|
+
|
|
install-info: install-info-am
|
|
|
|
+install-info-am:
|
|
+
|
|
install-man:
|
|
|
|
install-pdf: install-pdf-am
|
|
|
|
+install-pdf-am:
|
|
+
|
|
install-ps: install-ps-am
|
|
|
|
+install-ps-am:
|
|
+
|
|
installcheck-am:
|
|
|
|
maintainer-clean: maintainer-clean-am
|
|
@@ -598,6 +643,7 @@ uninstall-am:
|
|
mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
|
|
pdf pdf-am ps ps-am tags uninstall uninstall-am
|
|
|
|
+
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
|
.NOEXPORT:
|
|
diff --git a/src/Makefile.in b/src/Makefile.in
|
|
index 8218703..05424f2 100644
|
|
--- a/src/Makefile.in
|
|
+++ b/src/Makefile.in
|
|
@@ -1,8 +1,9 @@
|
|
-# Makefile.in generated by automake 1.10.1 from Makefile.am.
|
|
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
|
|
# @configure_input@
|
|
|
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
|
-# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
|
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
|
|
+# Inc.
|
|
# This Makefile.in is free software; the Free Software Foundation
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
# with or without modifications, as long as this notice is preserved.
|
|
@@ -18,8 +19,9 @@
|
|
|
|
VPATH = @srcdir@
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
|
-pkglibdir = $(libdir)/@PACKAGE@
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
|
+pkglibdir = $(libdir)/@PACKAGE@
|
|
+pkglibexecdir = $(libexecdir)/@PACKAGE@
|
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
|
install_sh_DATA = $(install_sh) -c -m 644
|
|
install_sh_PROGRAM = $(install_sh) -c
|
|
@@ -51,14 +53,29 @@ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
|
CONFIG_HEADER = conf.h
|
|
CONFIG_CLEAN_FILES = cflex.l
|
|
+CONFIG_CLEAN_VPATH_FILES =
|
|
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
|
|
am__vpath_adj = case $$p in \
|
|
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
|
|
*) f=$$p;; \
|
|
esac;
|
|
-am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
|
|
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
|
|
+am__install_max = 40
|
|
+am__nobase_strip_setup = \
|
|
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
|
|
+am__nobase_strip = \
|
|
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
|
|
+am__nobase_list = $(am__nobase_strip_setup); \
|
|
+ for p in $$list; do echo "$$p $$p"; done | \
|
|
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
|
|
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
|
|
+ if (++n[$$2] == $(am__install_max)) \
|
|
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
|
|
+ END { for (dir in files) print dir, files[dir] }'
|
|
+am__base_list = \
|
|
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
|
|
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
|
|
am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(sbindir)"
|
|
-libLTLIBRARIES_INSTALL = $(INSTALL)
|
|
LTLIBRARIES = $(lib_LTLIBRARIES)
|
|
am__DEPENDENCIES_1 =
|
|
libcfengine_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
|
|
@@ -103,61 +120,71 @@ libcfengine_la_OBJECTS = $(am_libcfengine_la_OBJECTS)
|
|
libcfengine_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
|
|
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(libcfengine_la_CFLAGS) \
|
|
$(CFLAGS) $(libcfengine_la_LDFLAGS) $(LDFLAGS) -o $@
|
|
-sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
|
|
PROGRAMS = $(sbin_PROGRAMS)
|
|
am_cfagent_OBJECTS = cfagent.$(OBJEXT) wrapper.$(OBJEXT) do.$(OBJEXT)
|
|
cfagent_OBJECTS = $(am_cfagent_OBJECTS)
|
|
cfagent_LDADD = $(LDADD)
|
|
cfagent_DEPENDENCIES = libcfengine.la $(am__DEPENDENCIES_1) \
|
|
- $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
|
|
+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
|
|
+ $(am__DEPENDENCIES_1)
|
|
am_cfenvd_OBJECTS = cfenvd.$(OBJEXT) env_monitor.$(OBJEXT)
|
|
cfenvd_OBJECTS = $(am_cfenvd_OBJECTS)
|
|
cfenvd_LDADD = $(LDADD)
|
|
cfenvd_DEPENDENCIES = libcfengine.la $(am__DEPENDENCIES_1) \
|
|
- $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
|
|
+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
|
|
+ $(am__DEPENDENCIES_1)
|
|
am_cfenvgraph_OBJECTS = cfenvgraph.$(OBJEXT)
|
|
cfenvgraph_OBJECTS = $(am_cfenvgraph_OBJECTS)
|
|
cfenvgraph_LDADD = $(LDADD)
|
|
cfenvgraph_DEPENDENCIES = libcfengine.la $(am__DEPENDENCIES_1) \
|
|
- $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
|
|
+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
|
|
+ $(am__DEPENDENCIES_1)
|
|
am_cfetool_OBJECTS = cfetool.$(OBJEXT)
|
|
cfetool_OBJECTS = $(am_cfetool_OBJECTS)
|
|
cfetool_LDADD = $(LDADD)
|
|
cfetool_DEPENDENCIES = libcfengine.la $(am__DEPENDENCIES_1) \
|
|
- $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
|
|
+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
|
|
+ $(am__DEPENDENCIES_1)
|
|
am_cfetoolgraph_OBJECTS = cfetoolgraph.$(OBJEXT)
|
|
cfetoolgraph_OBJECTS = $(am_cfetoolgraph_OBJECTS)
|
|
cfetoolgraph_LDADD = $(LDADD)
|
|
cfetoolgraph_DEPENDENCIES = libcfengine.la $(am__DEPENDENCIES_1) \
|
|
- $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
|
|
+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
|
|
+ $(am__DEPENDENCIES_1)
|
|
am_cfexecd_OBJECTS = cfexecd.$(OBJEXT)
|
|
cfexecd_OBJECTS = $(am_cfexecd_OBJECTS)
|
|
cfexecd_LDADD = $(LDADD)
|
|
cfexecd_DEPENDENCIES = libcfengine.la $(am__DEPENDENCIES_1) \
|
|
- $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
|
|
+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
|
|
+ $(am__DEPENDENCIES_1)
|
|
am_cfkey_OBJECTS = cfkey.$(OBJEXT)
|
|
cfkey_OBJECTS = $(am_cfkey_OBJECTS)
|
|
cfkey_LDADD = $(LDADD)
|
|
cfkey_DEPENDENCIES = libcfengine.la $(am__DEPENDENCIES_1) \
|
|
- $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
|
|
+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
|
|
+ $(am__DEPENDENCIES_1)
|
|
am_cfrun_OBJECTS = cfrun.$(OBJEXT)
|
|
cfrun_OBJECTS = $(am_cfrun_OBJECTS)
|
|
cfrun_LDADD = $(LDADD)
|
|
cfrun_DEPENDENCIES = libcfengine.la $(am__DEPENDENCIES_1) \
|
|
- $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
|
|
+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
|
|
+ $(am__DEPENDENCIES_1)
|
|
am_cfservd_OBJECTS = cfservd.$(OBJEXT)
|
|
cfservd_OBJECTS = $(am_cfservd_OBJECTS)
|
|
cfservd_LDADD = $(LDADD)
|
|
cfservd_DEPENDENCIES = libcfengine.la $(am__DEPENDENCIES_1) \
|
|
- $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
|
|
+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
|
|
+ $(am__DEPENDENCIES_1)
|
|
am_cfshow_OBJECTS = cfshow.$(OBJEXT)
|
|
cfshow_OBJECTS = $(am_cfshow_OBJECTS)
|
|
cfshow_LDADD = $(LDADD)
|
|
cfshow_DEPENDENCIES = libcfengine.la $(am__DEPENDENCIES_1) \
|
|
- $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
|
|
+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
|
|
+ $(am__DEPENDENCIES_1)
|
|
DEFAULT_INCLUDES = -I.@am__isrc@
|
|
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
|
am__depfiles_maybe = depfiles
|
|
+am__mv = mv -f
|
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
|
@@ -167,10 +194,12 @@ CCLD = $(CC)
|
|
LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
|
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
|
|
$(LDFLAGS) -o $@
|
|
+@MAINTAINER_MODE_FALSE@am__skiplex = test -f $@ ||
|
|
LEXCOMPILE = $(LEX) $(LFLAGS) $(AM_LFLAGS)
|
|
LTLEXCOMPILE = $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
|
--mode=compile $(LEX) $(LFLAGS) $(AM_LFLAGS)
|
|
YLWRAP = $(top_srcdir)/ylwrap
|
|
+@MAINTAINER_MODE_FALSE@am__skipyacc = test -f $@ ||
|
|
YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS)
|
|
LTYACCCOMPILE = $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
|
--mode=compile $(YACC) $(YFLAGS) $(AM_YFLAGS)
|
|
@@ -189,6 +218,7 @@ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
|
ACLOCAL = @ACLOCAL@
|
|
AMTAR = @AMTAR@
|
|
AR = @AR@
|
|
+ARGZ_H = @ARGZ_H@
|
|
AUTOCONF = @AUTOCONF@
|
|
AUTOHEADER = @AUTOHEADER@
|
|
AUTOMAKE = @AUTOMAKE@
|
|
@@ -219,6 +249,7 @@ GETCONF = @GETCONF@
|
|
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
|
|
GREP = @GREP@
|
|
HOSTNAME = @HOSTNAME@
|
|
+INCLTDL = @INCLTDL@
|
|
INSTALL = @INSTALL@
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
@@ -231,13 +262,25 @@ LDFLAGS = @LDFLAGS@
|
|
LEX = @LEX@
|
|
LEXLIB = @LEXLIB@
|
|
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
|
|
+LIBADD_DL = @LIBADD_DL@
|
|
+LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
|
|
+LIBADD_DLOPEN = @LIBADD_DLOPEN@
|
|
+LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
|
|
+LIBLTDL = @LIBLTDL@
|
|
LIBOBJS = @LIBOBJS@
|
|
LIBS = @LIBS@
|
|
LIBTOOL = @LIBTOOL@
|
|
LIB_SELINUX = @LIB_SELINUX@
|
|
LIPO = @LIPO@
|
|
LN_S = @LN_S@
|
|
+LTDLDEPS = @LTDLDEPS@
|
|
+LTDLINCL = @LTDLINCL@
|
|
+LTDLOPEN = @LTDLOPEN@
|
|
LTLIBOBJS = @LTLIBOBJS@
|
|
+LT_CONFIG_H = @LT_CONFIG_H@
|
|
+LT_DLLOADERS = @LT_DLLOADERS@
|
|
+LT_DLPREOPEN = @LT_DLPREOPEN@
|
|
+MAINT = @MAINT@
|
|
MAKEINFO = @MAKEINFO@
|
|
MKDIR_P = @MKDIR_P@
|
|
NEED_SETGID = @NEED_SETGID@
|
|
@@ -309,6 +352,8 @@ libexecdir = @libexecdir@
|
|
localedir = @localedir@
|
|
localstatedir = @localstatedir@
|
|
lt_ECHO = @lt_ECHO@
|
|
+ltdl_LIBOBJS = @ltdl_LIBOBJS@
|
|
+ltdl_LTLIBOBJS = @ltdl_LTLIBOBJS@
|
|
mandir = @mandir@
|
|
mkdir_p = @mkdir_p@
|
|
oldincludedir = @oldincludedir@
|
|
@@ -319,6 +364,8 @@ psdir = @psdir@
|
|
sbindir = @sbindir@
|
|
sharedstatedir = @sharedstatedir@
|
|
srcdir = @srcdir@
|
|
+subdirs = @subdirs@
|
|
+sys_symbol_underscore = @sys_symbol_underscore@
|
|
sysconfdir = @sysconfdir@
|
|
target = @target@
|
|
target_alias = @target_alias@
|
|
@@ -328,11 +375,11 @@ target_vendor = @target_vendor@
|
|
top_build_prefix = @top_build_prefix@
|
|
top_builddir = @top_builddir@
|
|
top_srcdir = @top_srcdir@
|
|
-AM_CFLAGS = $(GCC_CFLAG) @CFLAGS@
|
|
+AM_CFLAGS = $(GCC_CFLAG) -DPKGLIBDIR=\"$(pkglibdir)\" @CFLAGS@
|
|
AM_YFLAGS = -d
|
|
-LDADD = libcfengine.la $(BERKELEY_DB_LDFLAGSD) $(BERKELEY_DB_LIB) $(OPENSSL_LIB_LDFLAGS) $(OPENSSL_LIB_LIB)
|
|
+LDADD = libcfengine.la $(BERKELEY_DB_LDFLAGSD) $(BERKELEY_DB_LIB) $(OPENSSL_LIB_LDFLAGS) $(OPENSSL_LIB_LIB) $(LIBLTDL)
|
|
INCLUDES = $(BERKELEY_DB_CFLAGS) $(OPENSSL_LIB_CPPFLAGS)
|
|
-AM_LDFLAGS = $(BERKELEY_DB_LDFLAGS) $(OPENSSL_LIB_LDFLAGS) @LDFLAGS@
|
|
+AM_LDFLAGS = -Wl,--export-dynamic $(BERKELEY_DB_LDFLAGS) $(OPENSSL_LIB_LDFLAGS) @LDFLAGS@
|
|
|
|
#
|
|
# Fix this generically
|
|
@@ -340,7 +387,7 @@ AM_LDFLAGS = $(BERKELEY_DB_LDFLAGS) $(OPENSSL_LIB_LDFLAGS) @LDFLAGS@
|
|
lib_LTLIBRARIES = libcfengine.la
|
|
libcfengine_la_LDFLAGS = -version-info 1:0:0 -no-undefined
|
|
libcfengine_la_LIBADD = $(BERKELEY_DB_LDFLAGSD) $(BERKELEY_DB_LIB) $(OPENSSL_LIB_LDFLAGS) $(OPENSSL_LIB_LIB)
|
|
-libcfengine_la_CFLAGS = $(AM_CFLAGS)
|
|
+libcfengine_la_CFLAGS = $(INCLTDL) $(AM_CFLAGS)
|
|
|
|
# Separate out a library
|
|
libcfengine_la_SOURCES = \
|
|
@@ -493,18 +540,18 @@ all: conf.h
|
|
|
|
.SUFFIXES:
|
|
.SUFFIXES: .c .l .lo .o .obj .y
|
|
-$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
|
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
|
|
@for dep in $?; do \
|
|
case '$(am__configure_deps)' in \
|
|
*$$dep*) \
|
|
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
|
|
- && exit 0; \
|
|
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
|
|
+ && { if test -f $@; then exit 0; else break; fi; }; \
|
|
exit 1;; \
|
|
esac; \
|
|
done; \
|
|
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \
|
|
- cd $(top_srcdir) && \
|
|
- $(AUTOMAKE) --gnu src/Makefile
|
|
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \
|
|
+ $(am__cd) $(top_srcdir) && \
|
|
+ $(AUTOMAKE) --gnu src/Makefile
|
|
.PRECIOUS: Makefile
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
@case '$?' in \
|
|
@@ -518,10 +565,11 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
|
|
|
-$(top_srcdir)/configure: $(am__configure_deps)
|
|
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
|
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
|
-$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
|
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
|
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
|
+$(am__aclocal_m4_deps):
|
|
|
|
conf.h: stamp-h1
|
|
@if test ! -f $@; then \
|
|
@@ -532,8 +580,8 @@ conf.h: stamp-h1
|
|
stamp-h1: $(srcdir)/conf.h.in $(top_builddir)/config.status
|
|
@rm -f stamp-h1
|
|
cd $(top_builddir) && $(SHELL) ./config.status src/conf.h
|
|
-$(srcdir)/conf.h.in: $(am__configure_deps) $(top_srcdir)/acconfig.h
|
|
- cd $(top_srcdir) && $(AUTOHEADER)
|
|
+$(srcdir)/conf.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) $(top_srcdir)/acconfig.h
|
|
+ ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
|
|
rm -f stamp-h1
|
|
touch $@
|
|
|
|
@@ -544,20 +592,24 @@ cflex.l: $(top_builddir)/config.status $(srcdir)/cflex.l.in
|
|
install-libLTLIBRARIES: $(lib_LTLIBRARIES)
|
|
@$(NORMAL_INSTALL)
|
|
test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
|
|
- @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
|
|
+ @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
|
|
+ list2=; for p in $$list; do \
|
|
if test -f $$p; then \
|
|
- f=$(am__strip_dir) \
|
|
- echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
|
|
- $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
|
|
+ list2="$$list2 $$p"; \
|
|
else :; fi; \
|
|
- done
|
|
+ done; \
|
|
+ test -z "$$list2" || { \
|
|
+ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
|
|
+ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
|
|
+ }
|
|
|
|
uninstall-libLTLIBRARIES:
|
|
@$(NORMAL_UNINSTALL)
|
|
- @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
|
|
- p=$(am__strip_dir) \
|
|
- echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
|
|
- $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
|
|
+ @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
|
|
+ for p in $$list; do \
|
|
+ $(am__strip_dir) \
|
|
+ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \
|
|
+ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \
|
|
done
|
|
|
|
clean-libLTLIBRARIES:
|
|
@@ -578,31 +630,46 @@ libcfengine.la: $(libcfengine_la_OBJECTS) $(libcfengine_la_DEPENDENCIES)
|
|
install-sbinPROGRAMS: $(sbin_PROGRAMS)
|
|
@$(NORMAL_INSTALL)
|
|
test -z "$(sbindir)" || $(MKDIR_P) "$(DESTDIR)$(sbindir)"
|
|
- @list='$(sbin_PROGRAMS)'; for p in $$list; do \
|
|
- p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
|
- if test -f $$p \
|
|
- || test -f $$p1 \
|
|
- ; then \
|
|
- f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
|
|
- echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(sbinPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(sbindir)/$$f'"; \
|
|
- $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(sbinPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(sbindir)/$$f" || exit 1; \
|
|
- else :; fi; \
|
|
- done
|
|
+ @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \
|
|
+ for p in $$list; do echo "$$p $$p"; done | \
|
|
+ sed 's/$(EXEEXT)$$//' | \
|
|
+ while read p p1; do if test -f $$p || test -f $$p1; \
|
|
+ then echo "$$p"; echo "$$p"; else :; fi; \
|
|
+ done | \
|
|
+ sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
|
|
+ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
|
|
+ sed 'N;N;N;s,\n, ,g' | \
|
|
+ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
|
|
+ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
|
|
+ if ($$2 == $$4) files[d] = files[d] " " $$1; \
|
|
+ else { print "f", $$3 "/" $$4, $$1; } } \
|
|
+ END { for (d in files) print "f", d, files[d] }' | \
|
|
+ while read type dir files; do \
|
|
+ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
|
|
+ test -z "$$files" || { \
|
|
+ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(sbindir)$$dir'"; \
|
|
+ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(sbindir)$$dir" || exit $$?; \
|
|
+ } \
|
|
+ ; done
|
|
|
|
uninstall-sbinPROGRAMS:
|
|
@$(NORMAL_UNINSTALL)
|
|
- @list='$(sbin_PROGRAMS)'; for p in $$list; do \
|
|
- f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
|
|
- echo " rm -f '$(DESTDIR)$(sbindir)/$$f'"; \
|
|
- rm -f "$(DESTDIR)$(sbindir)/$$f"; \
|
|
- done
|
|
+ @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \
|
|
+ files=`for p in $$list; do echo "$$p"; done | \
|
|
+ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
|
|
+ -e 's/$$/$(EXEEXT)/' `; \
|
|
+ test -n "$$list" || exit 0; \
|
|
+ echo " ( cd '$(DESTDIR)$(sbindir)' && rm -f" $$files ")"; \
|
|
+ cd "$(DESTDIR)$(sbindir)" && rm -f $$files
|
|
|
|
clean-sbinPROGRAMS:
|
|
- @list='$(sbin_PROGRAMS)'; for p in $$list; do \
|
|
- f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
|
- echo " rm -f $$p $$f"; \
|
|
- rm -f $$p $$f ; \
|
|
- done
|
|
+ @list='$(sbin_PROGRAMS)'; test -n "$$list" || exit 0; \
|
|
+ echo " rm -f" $$list; \
|
|
+ rm -f $$list || exit $$?; \
|
|
+ test -n "$(EXEEXT)" || exit 0; \
|
|
+ list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
|
|
+ echo " rm -f" $$list; \
|
|
+ rm -f $$list
|
|
cfagent$(EXEEXT): $(cfagent_OBJECTS) $(cfagent_DEPENDENCIES)
|
|
@rm -f cfagent$(EXEEXT)
|
|
$(LINK) $(cfagent_OBJECTS) $(cfagent_LDADD) $(LIBS)
|
|
@@ -726,514 +793,514 @@ distclean-compile:
|
|
|
|
.c.o:
|
|
@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
@am__fastdepCC_FALSE@ $(COMPILE) -c $<
|
|
|
|
.c.obj:
|
|
@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
|
|
|
|
.c.lo:
|
|
@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
|
|
|
|
libcfengine_la-init.lo: init.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-init.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-init.Tpo -c -o libcfengine_la-init.lo `test -f 'init.c' || echo '$(srcdir)/'`init.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-init.Tpo $(DEPDIR)/libcfengine_la-init.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-init.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-init.Tpo -c -o libcfengine_la-init.lo `test -f 'init.c' || echo '$(srcdir)/'`init.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-init.Tpo $(DEPDIR)/libcfengine_la-init.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='init.c' object='libcfengine_la-init.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-init.lo `test -f 'init.c' || echo '$(srcdir)/'`init.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-init.lo `test -f 'init.c' || echo '$(srcdir)/'`init.c
|
|
|
|
libcfengine_la-modules.lo: modules.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-modules.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-modules.Tpo -c -o libcfengine_la-modules.lo `test -f 'modules.c' || echo '$(srcdir)/'`modules.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-modules.Tpo $(DEPDIR)/libcfengine_la-modules.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-modules.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-modules.Tpo -c -o libcfengine_la-modules.lo `test -f 'modules.c' || echo '$(srcdir)/'`modules.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-modules.Tpo $(DEPDIR)/libcfengine_la-modules.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='modules.c' object='libcfengine_la-modules.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-modules.lo `test -f 'modules.c' || echo '$(srcdir)/'`modules.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-modules.lo `test -f 'modules.c' || echo '$(srcdir)/'`modules.c
|
|
|
|
libcfengine_la-alerts.lo: alerts.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-alerts.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-alerts.Tpo -c -o libcfengine_la-alerts.lo `test -f 'alerts.c' || echo '$(srcdir)/'`alerts.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-alerts.Tpo $(DEPDIR)/libcfengine_la-alerts.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-alerts.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-alerts.Tpo -c -o libcfengine_la-alerts.lo `test -f 'alerts.c' || echo '$(srcdir)/'`alerts.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-alerts.Tpo $(DEPDIR)/libcfengine_la-alerts.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='alerts.c' object='libcfengine_la-alerts.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-alerts.lo `test -f 'alerts.c' || echo '$(srcdir)/'`alerts.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-alerts.lo `test -f 'alerts.c' || echo '$(srcdir)/'`alerts.c
|
|
|
|
libcfengine_la-report.lo: report.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-report.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-report.Tpo -c -o libcfengine_la-report.lo `test -f 'report.c' || echo '$(srcdir)/'`report.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-report.Tpo $(DEPDIR)/libcfengine_la-report.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-report.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-report.Tpo -c -o libcfengine_la-report.lo `test -f 'report.c' || echo '$(srcdir)/'`report.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-report.Tpo $(DEPDIR)/libcfengine_la-report.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='report.c' object='libcfengine_la-report.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-report.lo `test -f 'report.c' || echo '$(srcdir)/'`report.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-report.lo `test -f 'report.c' || echo '$(srcdir)/'`report.c
|
|
|
|
libcfengine_la-client.lo: client.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-client.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-client.Tpo -c -o libcfengine_la-client.lo `test -f 'client.c' || echo '$(srcdir)/'`client.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-client.Tpo $(DEPDIR)/libcfengine_la-client.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-client.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-client.Tpo -c -o libcfengine_la-client.lo `test -f 'client.c' || echo '$(srcdir)/'`client.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-client.Tpo $(DEPDIR)/libcfengine_la-client.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='client.c' object='libcfengine_la-client.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-client.lo `test -f 'client.c' || echo '$(srcdir)/'`client.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-client.lo `test -f 'client.c' || echo '$(srcdir)/'`client.c
|
|
|
|
libcfengine_la-ip.lo: ip.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-ip.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-ip.Tpo -c -o libcfengine_la-ip.lo `test -f 'ip.c' || echo '$(srcdir)/'`ip.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-ip.Tpo $(DEPDIR)/libcfengine_la-ip.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-ip.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-ip.Tpo -c -o libcfengine_la-ip.lo `test -f 'ip.c' || echo '$(srcdir)/'`ip.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-ip.Tpo $(DEPDIR)/libcfengine_la-ip.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ip.c' object='libcfengine_la-ip.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-ip.lo `test -f 'ip.c' || echo '$(srcdir)/'`ip.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-ip.lo `test -f 'ip.c' || echo '$(srcdir)/'`ip.c
|
|
|
|
libcfengine_la-ipname.lo: ipname.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-ipname.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-ipname.Tpo -c -o libcfengine_la-ipname.lo `test -f 'ipname.c' || echo '$(srcdir)/'`ipname.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-ipname.Tpo $(DEPDIR)/libcfengine_la-ipname.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-ipname.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-ipname.Tpo -c -o libcfengine_la-ipname.lo `test -f 'ipname.c' || echo '$(srcdir)/'`ipname.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-ipname.Tpo $(DEPDIR)/libcfengine_la-ipname.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ipname.c' object='libcfengine_la-ipname.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-ipname.lo `test -f 'ipname.c' || echo '$(srcdir)/'`ipname.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-ipname.lo `test -f 'ipname.c' || echo '$(srcdir)/'`ipname.c
|
|
|
|
libcfengine_la-instrument.lo: instrument.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-instrument.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-instrument.Tpo -c -o libcfengine_la-instrument.lo `test -f 'instrument.c' || echo '$(srcdir)/'`instrument.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-instrument.Tpo $(DEPDIR)/libcfengine_la-instrument.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-instrument.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-instrument.Tpo -c -o libcfengine_la-instrument.lo `test -f 'instrument.c' || echo '$(srcdir)/'`instrument.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-instrument.Tpo $(DEPDIR)/libcfengine_la-instrument.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='instrument.c' object='libcfengine_la-instrument.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-instrument.lo `test -f 'instrument.c' || echo '$(srcdir)/'`instrument.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-instrument.lo `test -f 'instrument.c' || echo '$(srcdir)/'`instrument.c
|
|
|
|
libcfengine_la-process.lo: process.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-process.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-process.Tpo -c -o libcfengine_la-process.lo `test -f 'process.c' || echo '$(srcdir)/'`process.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-process.Tpo $(DEPDIR)/libcfengine_la-process.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-process.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-process.Tpo -c -o libcfengine_la-process.lo `test -f 'process.c' || echo '$(srcdir)/'`process.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-process.Tpo $(DEPDIR)/libcfengine_la-process.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='process.c' object='libcfengine_la-process.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-process.lo `test -f 'process.c' || echo '$(srcdir)/'`process.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-process.lo `test -f 'process.c' || echo '$(srcdir)/'`process.c
|
|
|
|
libcfengine_la-timeout.lo: timeout.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-timeout.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-timeout.Tpo -c -o libcfengine_la-timeout.lo `test -f 'timeout.c' || echo '$(srcdir)/'`timeout.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-timeout.Tpo $(DEPDIR)/libcfengine_la-timeout.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-timeout.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-timeout.Tpo -c -o libcfengine_la-timeout.lo `test -f 'timeout.c' || echo '$(srcdir)/'`timeout.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-timeout.Tpo $(DEPDIR)/libcfengine_la-timeout.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='timeout.c' object='libcfengine_la-timeout.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-timeout.lo `test -f 'timeout.c' || echo '$(srcdir)/'`timeout.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-timeout.lo `test -f 'timeout.c' || echo '$(srcdir)/'`timeout.c
|
|
|
|
libcfengine_la-ifconf.lo: ifconf.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-ifconf.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-ifconf.Tpo -c -o libcfengine_la-ifconf.lo `test -f 'ifconf.c' || echo '$(srcdir)/'`ifconf.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-ifconf.Tpo $(DEPDIR)/libcfengine_la-ifconf.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-ifconf.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-ifconf.Tpo -c -o libcfengine_la-ifconf.lo `test -f 'ifconf.c' || echo '$(srcdir)/'`ifconf.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-ifconf.Tpo $(DEPDIR)/libcfengine_la-ifconf.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ifconf.c' object='libcfengine_la-ifconf.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-ifconf.lo `test -f 'ifconf.c' || echo '$(srcdir)/'`ifconf.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-ifconf.lo `test -f 'ifconf.c' || echo '$(srcdir)/'`ifconf.c
|
|
|
|
libcfengine_la-image.lo: image.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-image.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-image.Tpo -c -o libcfengine_la-image.lo `test -f 'image.c' || echo '$(srcdir)/'`image.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-image.Tpo $(DEPDIR)/libcfengine_la-image.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-image.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-image.Tpo -c -o libcfengine_la-image.lo `test -f 'image.c' || echo '$(srcdir)/'`image.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-image.Tpo $(DEPDIR)/libcfengine_la-image.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='image.c' object='libcfengine_la-image.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-image.lo `test -f 'image.c' || echo '$(srcdir)/'`image.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-image.lo `test -f 'image.c' || echo '$(srcdir)/'`image.c
|
|
|
|
libcfengine_la-item.lo: item.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-item.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-item.Tpo -c -o libcfengine_la-item.lo `test -f 'item.c' || echo '$(srcdir)/'`item.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-item.Tpo $(DEPDIR)/libcfengine_la-item.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-item.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-item.Tpo -c -o libcfengine_la-item.lo `test -f 'item.c' || echo '$(srcdir)/'`item.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-item.Tpo $(DEPDIR)/libcfengine_la-item.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='item.c' object='libcfengine_la-item.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-item.lo `test -f 'item.c' || echo '$(srcdir)/'`item.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-item.lo `test -f 'item.c' || echo '$(srcdir)/'`item.c
|
|
|
|
libcfengine_la-item-ext.lo: item-ext.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-item-ext.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-item-ext.Tpo -c -o libcfengine_la-item-ext.lo `test -f 'item-ext.c' || echo '$(srcdir)/'`item-ext.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-item-ext.Tpo $(DEPDIR)/libcfengine_la-item-ext.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-item-ext.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-item-ext.Tpo -c -o libcfengine_la-item-ext.lo `test -f 'item-ext.c' || echo '$(srcdir)/'`item-ext.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-item-ext.Tpo $(DEPDIR)/libcfengine_la-item-ext.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='item-ext.c' object='libcfengine_la-item-ext.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-item-ext.lo `test -f 'item-ext.c' || echo '$(srcdir)/'`item-ext.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-item-ext.lo `test -f 'item-ext.c' || echo '$(srcdir)/'`item-ext.c
|
|
|
|
libcfengine_la-item-file.lo: item-file.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-item-file.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-item-file.Tpo -c -o libcfengine_la-item-file.lo `test -f 'item-file.c' || echo '$(srcdir)/'`item-file.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-item-file.Tpo $(DEPDIR)/libcfengine_la-item-file.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-item-file.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-item-file.Tpo -c -o libcfengine_la-item-file.lo `test -f 'item-file.c' || echo '$(srcdir)/'`item-file.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-item-file.Tpo $(DEPDIR)/libcfengine_la-item-file.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='item-file.c' object='libcfengine_la-item-file.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-item-file.lo `test -f 'item-file.c' || echo '$(srcdir)/'`item-file.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-item-file.lo `test -f 'item-file.c' || echo '$(srcdir)/'`item-file.c
|
|
|
|
libcfengine_la-2Dlist.lo: 2Dlist.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-2Dlist.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-2Dlist.Tpo -c -o libcfengine_la-2Dlist.lo `test -f '2Dlist.c' || echo '$(srcdir)/'`2Dlist.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-2Dlist.Tpo $(DEPDIR)/libcfengine_la-2Dlist.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-2Dlist.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-2Dlist.Tpo -c -o libcfengine_la-2Dlist.lo `test -f '2Dlist.c' || echo '$(srcdir)/'`2Dlist.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-2Dlist.Tpo $(DEPDIR)/libcfengine_la-2Dlist.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='2Dlist.c' object='libcfengine_la-2Dlist.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-2Dlist.lo `test -f '2Dlist.c' || echo '$(srcdir)/'`2Dlist.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-2Dlist.lo `test -f '2Dlist.c' || echo '$(srcdir)/'`2Dlist.c
|
|
|
|
libcfengine_la-globals.lo: globals.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-globals.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-globals.Tpo -c -o libcfengine_la-globals.lo `test -f 'globals.c' || echo '$(srcdir)/'`globals.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-globals.Tpo $(DEPDIR)/libcfengine_la-globals.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-globals.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-globals.Tpo -c -o libcfengine_la-globals.lo `test -f 'globals.c' || echo '$(srcdir)/'`globals.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-globals.Tpo $(DEPDIR)/libcfengine_la-globals.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='globals.c' object='libcfengine_la-globals.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-globals.lo `test -f 'globals.c' || echo '$(srcdir)/'`globals.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-globals.lo `test -f 'globals.c' || echo '$(srcdir)/'`globals.c
|
|
|
|
libcfengine_la-classes.lo: classes.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-classes.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-classes.Tpo -c -o libcfengine_la-classes.lo `test -f 'classes.c' || echo '$(srcdir)/'`classes.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-classes.Tpo $(DEPDIR)/libcfengine_la-classes.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-classes.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-classes.Tpo -c -o libcfengine_la-classes.lo `test -f 'classes.c' || echo '$(srcdir)/'`classes.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-classes.Tpo $(DEPDIR)/libcfengine_la-classes.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='classes.c' object='libcfengine_la-classes.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-classes.lo `test -f 'classes.c' || echo '$(srcdir)/'`classes.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-classes.lo `test -f 'classes.c' || echo '$(srcdir)/'`classes.c
|
|
|
|
libcfengine_la-misc.lo: misc.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-misc.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-misc.Tpo -c -o libcfengine_la-misc.lo `test -f 'misc.c' || echo '$(srcdir)/'`misc.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-misc.Tpo $(DEPDIR)/libcfengine_la-misc.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-misc.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-misc.Tpo -c -o libcfengine_la-misc.lo `test -f 'misc.c' || echo '$(srcdir)/'`misc.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-misc.Tpo $(DEPDIR)/libcfengine_la-misc.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='misc.c' object='libcfengine_la-misc.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-misc.lo `test -f 'misc.c' || echo '$(srcdir)/'`misc.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-misc.lo `test -f 'misc.c' || echo '$(srcdir)/'`misc.c
|
|
|
|
libcfengine_la-parse.lo: parse.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-parse.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-parse.Tpo -c -o libcfengine_la-parse.lo `test -f 'parse.c' || echo '$(srcdir)/'`parse.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-parse.Tpo $(DEPDIR)/libcfengine_la-parse.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-parse.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-parse.Tpo -c -o libcfengine_la-parse.lo `test -f 'parse.c' || echo '$(srcdir)/'`parse.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-parse.Tpo $(DEPDIR)/libcfengine_la-parse.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='parse.c' object='libcfengine_la-parse.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-parse.lo `test -f 'parse.c' || echo '$(srcdir)/'`parse.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-parse.lo `test -f 'parse.c' || echo '$(srcdir)/'`parse.c
|
|
|
|
libcfengine_la-functions.lo: functions.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-functions.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-functions.Tpo -c -o libcfengine_la-functions.lo `test -f 'functions.c' || echo '$(srcdir)/'`functions.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-functions.Tpo $(DEPDIR)/libcfengine_la-functions.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-functions.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-functions.Tpo -c -o libcfengine_la-functions.lo `test -f 'functions.c' || echo '$(srcdir)/'`functions.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-functions.Tpo $(DEPDIR)/libcfengine_la-functions.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='functions.c' object='libcfengine_la-functions.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-functions.lo `test -f 'functions.c' || echo '$(srcdir)/'`functions.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-functions.lo `test -f 'functions.c' || echo '$(srcdir)/'`functions.c
|
|
|
|
libcfengine_la-edittools.lo: edittools.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-edittools.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-edittools.Tpo -c -o libcfengine_la-edittools.lo `test -f 'edittools.c' || echo '$(srcdir)/'`edittools.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-edittools.Tpo $(DEPDIR)/libcfengine_la-edittools.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-edittools.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-edittools.Tpo -c -o libcfengine_la-edittools.lo `test -f 'edittools.c' || echo '$(srcdir)/'`edittools.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-edittools.Tpo $(DEPDIR)/libcfengine_la-edittools.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='edittools.c' object='libcfengine_la-edittools.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-edittools.lo `test -f 'edittools.c' || echo '$(srcdir)/'`edittools.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-edittools.lo `test -f 'edittools.c' || echo '$(srcdir)/'`edittools.c
|
|
|
|
libcfengine_la-patches.lo: patches.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-patches.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-patches.Tpo -c -o libcfengine_la-patches.lo `test -f 'patches.c' || echo '$(srcdir)/'`patches.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-patches.Tpo $(DEPDIR)/libcfengine_la-patches.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-patches.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-patches.Tpo -c -o libcfengine_la-patches.lo `test -f 'patches.c' || echo '$(srcdir)/'`patches.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-patches.Tpo $(DEPDIR)/libcfengine_la-patches.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='patches.c' object='libcfengine_la-patches.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-patches.lo `test -f 'patches.c' || echo '$(srcdir)/'`patches.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-patches.lo `test -f 'patches.c' || echo '$(srcdir)/'`patches.c
|
|
|
|
libcfengine_la-install.lo: install.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-install.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-install.Tpo -c -o libcfengine_la-install.lo `test -f 'install.c' || echo '$(srcdir)/'`install.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-install.Tpo $(DEPDIR)/libcfengine_la-install.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-install.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-install.Tpo -c -o libcfengine_la-install.lo `test -f 'install.c' || echo '$(srcdir)/'`install.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-install.Tpo $(DEPDIR)/libcfengine_la-install.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='install.c' object='libcfengine_la-install.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-install.lo `test -f 'install.c' || echo '$(srcdir)/'`install.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-install.lo `test -f 'install.c' || echo '$(srcdir)/'`install.c
|
|
|
|
libcfengine_la-link.lo: link.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-link.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-link.Tpo -c -o libcfengine_la-link.lo `test -f 'link.c' || echo '$(srcdir)/'`link.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-link.Tpo $(DEPDIR)/libcfengine_la-link.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-link.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-link.Tpo -c -o libcfengine_la-link.lo `test -f 'link.c' || echo '$(srcdir)/'`link.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-link.Tpo $(DEPDIR)/libcfengine_la-link.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='link.c' object='libcfengine_la-link.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-link.lo `test -f 'link.c' || echo '$(srcdir)/'`link.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-link.lo `test -f 'link.c' || echo '$(srcdir)/'`link.c
|
|
|
|
libcfengine_la-tidy.lo: tidy.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-tidy.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-tidy.Tpo -c -o libcfengine_la-tidy.lo `test -f 'tidy.c' || echo '$(srcdir)/'`tidy.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-tidy.Tpo $(DEPDIR)/libcfengine_la-tidy.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-tidy.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-tidy.Tpo -c -o libcfengine_la-tidy.lo `test -f 'tidy.c' || echo '$(srcdir)/'`tidy.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-tidy.Tpo $(DEPDIR)/libcfengine_la-tidy.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tidy.c' object='libcfengine_la-tidy.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-tidy.lo `test -f 'tidy.c' || echo '$(srcdir)/'`tidy.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-tidy.lo `test -f 'tidy.c' || echo '$(srcdir)/'`tidy.c
|
|
|
|
libcfengine_la-filedir.lo: filedir.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-filedir.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-filedir.Tpo -c -o libcfengine_la-filedir.lo `test -f 'filedir.c' || echo '$(srcdir)/'`filedir.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-filedir.Tpo $(DEPDIR)/libcfengine_la-filedir.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-filedir.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-filedir.Tpo -c -o libcfengine_la-filedir.lo `test -f 'filedir.c' || echo '$(srcdir)/'`filedir.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-filedir.Tpo $(DEPDIR)/libcfengine_la-filedir.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filedir.c' object='libcfengine_la-filedir.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-filedir.lo `test -f 'filedir.c' || echo '$(srcdir)/'`filedir.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-filedir.lo `test -f 'filedir.c' || echo '$(srcdir)/'`filedir.c
|
|
|
|
libcfengine_la-eval.lo: eval.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-eval.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-eval.Tpo -c -o libcfengine_la-eval.lo `test -f 'eval.c' || echo '$(srcdir)/'`eval.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-eval.Tpo $(DEPDIR)/libcfengine_la-eval.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-eval.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-eval.Tpo -c -o libcfengine_la-eval.lo `test -f 'eval.c' || echo '$(srcdir)/'`eval.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-eval.Tpo $(DEPDIR)/libcfengine_la-eval.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='eval.c' object='libcfengine_la-eval.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-eval.lo `test -f 'eval.c' || echo '$(srcdir)/'`eval.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-eval.lo `test -f 'eval.c' || echo '$(srcdir)/'`eval.c
|
|
|
|
libcfengine_la-modes.lo: modes.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-modes.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-modes.Tpo -c -o libcfengine_la-modes.lo `test -f 'modes.c' || echo '$(srcdir)/'`modes.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-modes.Tpo $(DEPDIR)/libcfengine_la-modes.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-modes.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-modes.Tpo -c -o libcfengine_la-modes.lo `test -f 'modes.c' || echo '$(srcdir)/'`modes.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-modes.Tpo $(DEPDIR)/libcfengine_la-modes.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='modes.c' object='libcfengine_la-modes.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-modes.lo `test -f 'modes.c' || echo '$(srcdir)/'`modes.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-modes.lo `test -f 'modes.c' || echo '$(srcdir)/'`modes.c
|
|
|
|
libcfengine_la-sockaddr.lo: sockaddr.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-sockaddr.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-sockaddr.Tpo -c -o libcfengine_la-sockaddr.lo `test -f 'sockaddr.c' || echo '$(srcdir)/'`sockaddr.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-sockaddr.Tpo $(DEPDIR)/libcfengine_la-sockaddr.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-sockaddr.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-sockaddr.Tpo -c -o libcfengine_la-sockaddr.lo `test -f 'sockaddr.c' || echo '$(srcdir)/'`sockaddr.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-sockaddr.Tpo $(DEPDIR)/libcfengine_la-sockaddr.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='sockaddr.c' object='libcfengine_la-sockaddr.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-sockaddr.lo `test -f 'sockaddr.c' || echo '$(srcdir)/'`sockaddr.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-sockaddr.lo `test -f 'sockaddr.c' || echo '$(srcdir)/'`sockaddr.c
|
|
|
|
libcfengine_la-chflags.lo: chflags.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-chflags.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-chflags.Tpo -c -o libcfengine_la-chflags.lo `test -f 'chflags.c' || echo '$(srcdir)/'`chflags.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-chflags.Tpo $(DEPDIR)/libcfengine_la-chflags.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-chflags.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-chflags.Tpo -c -o libcfengine_la-chflags.lo `test -f 'chflags.c' || echo '$(srcdir)/'`chflags.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-chflags.Tpo $(DEPDIR)/libcfengine_la-chflags.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='chflags.c' object='libcfengine_la-chflags.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-chflags.lo `test -f 'chflags.c' || echo '$(srcdir)/'`chflags.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-chflags.lo `test -f 'chflags.c' || echo '$(srcdir)/'`chflags.c
|
|
|
|
libcfengine_la-locks.lo: locks.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-locks.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-locks.Tpo -c -o libcfengine_la-locks.lo `test -f 'locks.c' || echo '$(srcdir)/'`locks.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-locks.Tpo $(DEPDIR)/libcfengine_la-locks.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-locks.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-locks.Tpo -c -o libcfengine_la-locks.lo `test -f 'locks.c' || echo '$(srcdir)/'`locks.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-locks.Tpo $(DEPDIR)/libcfengine_la-locks.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='locks.c' object='libcfengine_la-locks.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-locks.lo `test -f 'locks.c' || echo '$(srcdir)/'`locks.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-locks.lo `test -f 'locks.c' || echo '$(srcdir)/'`locks.c
|
|
|
|
libcfengine_la-mount.lo: mount.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-mount.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-mount.Tpo -c -o libcfengine_la-mount.lo `test -f 'mount.c' || echo '$(srcdir)/'`mount.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-mount.Tpo $(DEPDIR)/libcfengine_la-mount.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-mount.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-mount.Tpo -c -o libcfengine_la-mount.lo `test -f 'mount.c' || echo '$(srcdir)/'`mount.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-mount.Tpo $(DEPDIR)/libcfengine_la-mount.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount.c' object='libcfengine_la-mount.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-mount.lo `test -f 'mount.c' || echo '$(srcdir)/'`mount.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-mount.lo `test -f 'mount.c' || echo '$(srcdir)/'`mount.c
|
|
|
|
libcfengine_la-macro.lo: macro.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-macro.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-macro.Tpo -c -o libcfengine_la-macro.lo `test -f 'macro.c' || echo '$(srcdir)/'`macro.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-macro.Tpo $(DEPDIR)/libcfengine_la-macro.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-macro.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-macro.Tpo -c -o libcfengine_la-macro.lo `test -f 'macro.c' || echo '$(srcdir)/'`macro.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-macro.Tpo $(DEPDIR)/libcfengine_la-macro.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='macro.c' object='libcfengine_la-macro.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-macro.lo `test -f 'macro.c' || echo '$(srcdir)/'`macro.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-macro.lo `test -f 'macro.c' || echo '$(srcdir)/'`macro.c
|
|
|
|
libcfengine_la-filenames.lo: filenames.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-filenames.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-filenames.Tpo -c -o libcfengine_la-filenames.lo `test -f 'filenames.c' || echo '$(srcdir)/'`filenames.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-filenames.Tpo $(DEPDIR)/libcfengine_la-filenames.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-filenames.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-filenames.Tpo -c -o libcfengine_la-filenames.lo `test -f 'filenames.c' || echo '$(srcdir)/'`filenames.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-filenames.Tpo $(DEPDIR)/libcfengine_la-filenames.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filenames.c' object='libcfengine_la-filenames.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-filenames.lo `test -f 'filenames.c' || echo '$(srcdir)/'`filenames.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-filenames.lo `test -f 'filenames.c' || echo '$(srcdir)/'`filenames.c
|
|
|
|
libcfengine_la-varstring.lo: varstring.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-varstring.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-varstring.Tpo -c -o libcfengine_la-varstring.lo `test -f 'varstring.c' || echo '$(srcdir)/'`varstring.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-varstring.Tpo $(DEPDIR)/libcfengine_la-varstring.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-varstring.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-varstring.Tpo -c -o libcfengine_la-varstring.lo `test -f 'varstring.c' || echo '$(srcdir)/'`varstring.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-varstring.Tpo $(DEPDIR)/libcfengine_la-varstring.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='varstring.c' object='libcfengine_la-varstring.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-varstring.lo `test -f 'varstring.c' || echo '$(srcdir)/'`varstring.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-varstring.lo `test -f 'varstring.c' || echo '$(srcdir)/'`varstring.c
|
|
|
|
libcfengine_la-wildcard.lo: wildcard.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-wildcard.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-wildcard.Tpo -c -o libcfengine_la-wildcard.lo `test -f 'wildcard.c' || echo '$(srcdir)/'`wildcard.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-wildcard.Tpo $(DEPDIR)/libcfengine_la-wildcard.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-wildcard.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-wildcard.Tpo -c -o libcfengine_la-wildcard.lo `test -f 'wildcard.c' || echo '$(srcdir)/'`wildcard.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-wildcard.Tpo $(DEPDIR)/libcfengine_la-wildcard.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='wildcard.c' object='libcfengine_la-wildcard.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-wildcard.lo `test -f 'wildcard.c' || echo '$(srcdir)/'`wildcard.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-wildcard.lo `test -f 'wildcard.c' || echo '$(srcdir)/'`wildcard.c
|
|
|
|
libcfengine_la-cfparse.lo: cfparse.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-cfparse.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-cfparse.Tpo -c -o libcfengine_la-cfparse.lo `test -f 'cfparse.c' || echo '$(srcdir)/'`cfparse.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-cfparse.Tpo $(DEPDIR)/libcfengine_la-cfparse.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-cfparse.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-cfparse.Tpo -c -o libcfengine_la-cfparse.lo `test -f 'cfparse.c' || echo '$(srcdir)/'`cfparse.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-cfparse.Tpo $(DEPDIR)/libcfengine_la-cfparse.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='cfparse.c' object='libcfengine_la-cfparse.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-cfparse.lo `test -f 'cfparse.c' || echo '$(srcdir)/'`cfparse.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-cfparse.lo `test -f 'cfparse.c' || echo '$(srcdir)/'`cfparse.c
|
|
|
|
libcfengine_la-comparray.lo: comparray.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-comparray.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-comparray.Tpo -c -o libcfengine_la-comparray.lo `test -f 'comparray.c' || echo '$(srcdir)/'`comparray.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-comparray.Tpo $(DEPDIR)/libcfengine_la-comparray.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-comparray.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-comparray.Tpo -c -o libcfengine_la-comparray.lo `test -f 'comparray.c' || echo '$(srcdir)/'`comparray.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-comparray.Tpo $(DEPDIR)/libcfengine_la-comparray.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='comparray.c' object='libcfengine_la-comparray.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-comparray.lo `test -f 'comparray.c' || echo '$(srcdir)/'`comparray.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-comparray.lo `test -f 'comparray.c' || echo '$(srcdir)/'`comparray.c
|
|
|
|
libcfengine_la-read.lo: read.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-read.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-read.Tpo -c -o libcfengine_la-read.lo `test -f 'read.c' || echo '$(srcdir)/'`read.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-read.Tpo $(DEPDIR)/libcfengine_la-read.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-read.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-read.Tpo -c -o libcfengine_la-read.lo `test -f 'read.c' || echo '$(srcdir)/'`read.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-read.Tpo $(DEPDIR)/libcfengine_la-read.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='read.c' object='libcfengine_la-read.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-read.lo `test -f 'read.c' || echo '$(srcdir)/'`read.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-read.lo `test -f 'read.c' || echo '$(srcdir)/'`read.c
|
|
|
|
libcfengine_la-checksums.lo: checksums.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-checksums.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-checksums.Tpo -c -o libcfengine_la-checksums.lo `test -f 'checksums.c' || echo '$(srcdir)/'`checksums.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-checksums.Tpo $(DEPDIR)/libcfengine_la-checksums.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-checksums.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-checksums.Tpo -c -o libcfengine_la-checksums.lo `test -f 'checksums.c' || echo '$(srcdir)/'`checksums.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-checksums.Tpo $(DEPDIR)/libcfengine_la-checksums.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='checksums.c' object='libcfengine_la-checksums.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-checksums.lo `test -f 'checksums.c' || echo '$(srcdir)/'`checksums.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-checksums.lo `test -f 'checksums.c' || echo '$(srcdir)/'`checksums.c
|
|
|
|
libcfengine_la-proto.lo: proto.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-proto.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-proto.Tpo -c -o libcfengine_la-proto.lo `test -f 'proto.c' || echo '$(srcdir)/'`proto.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-proto.Tpo $(DEPDIR)/libcfengine_la-proto.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-proto.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-proto.Tpo -c -o libcfengine_la-proto.lo `test -f 'proto.c' || echo '$(srcdir)/'`proto.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-proto.Tpo $(DEPDIR)/libcfengine_la-proto.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='proto.c' object='libcfengine_la-proto.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-proto.lo `test -f 'proto.c' || echo '$(srcdir)/'`proto.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-proto.lo `test -f 'proto.c' || echo '$(srcdir)/'`proto.c
|
|
|
|
libcfengine_la-filters.lo: filters.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-filters.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-filters.Tpo -c -o libcfengine_la-filters.lo `test -f 'filters.c' || echo '$(srcdir)/'`filters.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-filters.Tpo $(DEPDIR)/libcfengine_la-filters.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-filters.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-filters.Tpo -c -o libcfengine_la-filters.lo `test -f 'filters.c' || echo '$(srcdir)/'`filters.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-filters.Tpo $(DEPDIR)/libcfengine_la-filters.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filters.c' object='libcfengine_la-filters.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-filters.lo `test -f 'filters.c' || echo '$(srcdir)/'`filters.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-filters.lo `test -f 'filters.c' || echo '$(srcdir)/'`filters.c
|
|
|
|
libcfengine_la-copy.lo: copy.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-copy.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-copy.Tpo -c -o libcfengine_la-copy.lo `test -f 'copy.c' || echo '$(srcdir)/'`copy.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-copy.Tpo $(DEPDIR)/libcfengine_la-copy.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-copy.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-copy.Tpo -c -o libcfengine_la-copy.lo `test -f 'copy.c' || echo '$(srcdir)/'`copy.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-copy.Tpo $(DEPDIR)/libcfengine_la-copy.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='copy.c' object='libcfengine_la-copy.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-copy.lo `test -f 'copy.c' || echo '$(srcdir)/'`copy.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-copy.lo `test -f 'copy.c' || echo '$(srcdir)/'`copy.c
|
|
|
|
libcfengine_la-repository.lo: repository.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-repository.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-repository.Tpo -c -o libcfengine_la-repository.lo `test -f 'repository.c' || echo '$(srcdir)/'`repository.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-repository.Tpo $(DEPDIR)/libcfengine_la-repository.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-repository.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-repository.Tpo -c -o libcfengine_la-repository.lo `test -f 'repository.c' || echo '$(srcdir)/'`repository.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-repository.Tpo $(DEPDIR)/libcfengine_la-repository.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='repository.c' object='libcfengine_la-repository.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-repository.lo `test -f 'repository.c' || echo '$(srcdir)/'`repository.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-repository.lo `test -f 'repository.c' || echo '$(srcdir)/'`repository.c
|
|
|
|
libcfengine_la-rotate.lo: rotate.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-rotate.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-rotate.Tpo -c -o libcfengine_la-rotate.lo `test -f 'rotate.c' || echo '$(srcdir)/'`rotate.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-rotate.Tpo $(DEPDIR)/libcfengine_la-rotate.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-rotate.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-rotate.Tpo -c -o libcfengine_la-rotate.lo `test -f 'rotate.c' || echo '$(srcdir)/'`rotate.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-rotate.Tpo $(DEPDIR)/libcfengine_la-rotate.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rotate.c' object='libcfengine_la-rotate.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-rotate.lo `test -f 'rotate.c' || echo '$(srcdir)/'`rotate.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-rotate.lo `test -f 'rotate.c' || echo '$(srcdir)/'`rotate.c
|
|
|
|
libcfengine_la-errors.lo: errors.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-errors.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-errors.Tpo -c -o libcfengine_la-errors.lo `test -f 'errors.c' || echo '$(srcdir)/'`errors.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-errors.Tpo $(DEPDIR)/libcfengine_la-errors.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-errors.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-errors.Tpo -c -o libcfengine_la-errors.lo `test -f 'errors.c' || echo '$(srcdir)/'`errors.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-errors.Tpo $(DEPDIR)/libcfengine_la-errors.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='errors.c' object='libcfengine_la-errors.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-errors.lo `test -f 'errors.c' || echo '$(srcdir)/'`errors.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-errors.lo `test -f 'errors.c' || echo '$(srcdir)/'`errors.c
|
|
|
|
libcfengine_la-cflex.lo: cflex.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-cflex.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-cflex.Tpo -c -o libcfengine_la-cflex.lo `test -f 'cflex.c' || echo '$(srcdir)/'`cflex.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-cflex.Tpo $(DEPDIR)/libcfengine_la-cflex.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-cflex.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-cflex.Tpo -c -o libcfengine_la-cflex.lo `test -f 'cflex.c' || echo '$(srcdir)/'`cflex.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-cflex.Tpo $(DEPDIR)/libcfengine_la-cflex.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='cflex.c' object='libcfengine_la-cflex.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-cflex.lo `test -f 'cflex.c' || echo '$(srcdir)/'`cflex.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-cflex.lo `test -f 'cflex.c' || echo '$(srcdir)/'`cflex.c
|
|
|
|
libcfengine_la-net.lo: net.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-net.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-net.Tpo -c -o libcfengine_la-net.lo `test -f 'net.c' || echo '$(srcdir)/'`net.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-net.Tpo $(DEPDIR)/libcfengine_la-net.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-net.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-net.Tpo -c -o libcfengine_la-net.lo `test -f 'net.c' || echo '$(srcdir)/'`net.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-net.Tpo $(DEPDIR)/libcfengine_la-net.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='net.c' object='libcfengine_la-net.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-net.lo `test -f 'net.c' || echo '$(srcdir)/'`net.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-net.lo `test -f 'net.c' || echo '$(srcdir)/'`net.c
|
|
|
|
libcfengine_la-df.lo: df.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-df.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-df.Tpo -c -o libcfengine_la-df.lo `test -f 'df.c' || echo '$(srcdir)/'`df.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-df.Tpo $(DEPDIR)/libcfengine_la-df.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-df.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-df.Tpo -c -o libcfengine_la-df.lo `test -f 'df.c' || echo '$(srcdir)/'`df.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-df.Tpo $(DEPDIR)/libcfengine_la-df.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='df.c' object='libcfengine_la-df.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-df.lo `test -f 'df.c' || echo '$(srcdir)/'`df.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-df.lo `test -f 'df.c' || echo '$(srcdir)/'`df.c
|
|
|
|
libcfengine_la-log.lo: log.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-log.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-log.Tpo -c -o libcfengine_la-log.lo `test -f 'log.c' || echo '$(srcdir)/'`log.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-log.Tpo $(DEPDIR)/libcfengine_la-log.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-log.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-log.Tpo -c -o libcfengine_la-log.lo `test -f 'log.c' || echo '$(srcdir)/'`log.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-log.Tpo $(DEPDIR)/libcfengine_la-log.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='log.c' object='libcfengine_la-log.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-log.lo `test -f 'log.c' || echo '$(srcdir)/'`log.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-log.lo `test -f 'log.c' || echo '$(srcdir)/'`log.c
|
|
|
|
libcfengine_la-crypto.lo: crypto.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-crypto.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-crypto.Tpo -c -o libcfengine_la-crypto.lo `test -f 'crypto.c' || echo '$(srcdir)/'`crypto.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-crypto.Tpo $(DEPDIR)/libcfengine_la-crypto.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-crypto.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-crypto.Tpo -c -o libcfengine_la-crypto.lo `test -f 'crypto.c' || echo '$(srcdir)/'`crypto.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-crypto.Tpo $(DEPDIR)/libcfengine_la-crypto.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='crypto.c' object='libcfengine_la-crypto.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-crypto.lo `test -f 'crypto.c' || echo '$(srcdir)/'`crypto.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-crypto.lo `test -f 'crypto.c' || echo '$(srcdir)/'`crypto.c
|
|
|
|
libcfengine_la-popen.lo: popen.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-popen.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-popen.Tpo -c -o libcfengine_la-popen.lo `test -f 'popen.c' || echo '$(srcdir)/'`popen.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-popen.Tpo $(DEPDIR)/libcfengine_la-popen.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-popen.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-popen.Tpo -c -o libcfengine_la-popen.lo `test -f 'popen.c' || echo '$(srcdir)/'`popen.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-popen.Tpo $(DEPDIR)/libcfengine_la-popen.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='popen.c' object='libcfengine_la-popen.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-popen.lo `test -f 'popen.c' || echo '$(srcdir)/'`popen.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-popen.lo `test -f 'popen.c' || echo '$(srcdir)/'`popen.c
|
|
|
|
libcfengine_la-popen_def.lo: popen_def.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-popen_def.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-popen_def.Tpo -c -o libcfengine_la-popen_def.lo `test -f 'popen_def.c' || echo '$(srcdir)/'`popen_def.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-popen_def.Tpo $(DEPDIR)/libcfengine_la-popen_def.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-popen_def.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-popen_def.Tpo -c -o libcfengine_la-popen_def.lo `test -f 'popen_def.c' || echo '$(srcdir)/'`popen_def.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-popen_def.Tpo $(DEPDIR)/libcfengine_la-popen_def.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='popen_def.c' object='libcfengine_la-popen_def.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-popen_def.lo `test -f 'popen_def.c' || echo '$(srcdir)/'`popen_def.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-popen_def.lo `test -f 'popen_def.c' || echo '$(srcdir)/'`popen_def.c
|
|
|
|
libcfengine_la-sensible.lo: sensible.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-sensible.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-sensible.Tpo -c -o libcfengine_la-sensible.lo `test -f 'sensible.c' || echo '$(srcdir)/'`sensible.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-sensible.Tpo $(DEPDIR)/libcfengine_la-sensible.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-sensible.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-sensible.Tpo -c -o libcfengine_la-sensible.lo `test -f 'sensible.c' || echo '$(srcdir)/'`sensible.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-sensible.Tpo $(DEPDIR)/libcfengine_la-sensible.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='sensible.c' object='libcfengine_la-sensible.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-sensible.lo `test -f 'sensible.c' || echo '$(srcdir)/'`sensible.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-sensible.lo `test -f 'sensible.c' || echo '$(srcdir)/'`sensible.c
|
|
|
|
libcfengine_la-acl.lo: acl.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-acl.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-acl.Tpo -c -o libcfengine_la-acl.lo `test -f 'acl.c' || echo '$(srcdir)/'`acl.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-acl.Tpo $(DEPDIR)/libcfengine_la-acl.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-acl.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-acl.Tpo -c -o libcfengine_la-acl.lo `test -f 'acl.c' || echo '$(srcdir)/'`acl.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-acl.Tpo $(DEPDIR)/libcfengine_la-acl.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='acl.c' object='libcfengine_la-acl.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-acl.lo `test -f 'acl.c' || echo '$(srcdir)/'`acl.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-acl.lo `test -f 'acl.c' || echo '$(srcdir)/'`acl.c
|
|
|
|
libcfengine_la-dce_acl.lo: dce_acl.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-dce_acl.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-dce_acl.Tpo -c -o libcfengine_la-dce_acl.lo `test -f 'dce_acl.c' || echo '$(srcdir)/'`dce_acl.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-dce_acl.Tpo $(DEPDIR)/libcfengine_la-dce_acl.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-dce_acl.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-dce_acl.Tpo -c -o libcfengine_la-dce_acl.lo `test -f 'dce_acl.c' || echo '$(srcdir)/'`dce_acl.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-dce_acl.Tpo $(DEPDIR)/libcfengine_la-dce_acl.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='dce_acl.c' object='libcfengine_la-dce_acl.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-dce_acl.lo `test -f 'dce_acl.c' || echo '$(srcdir)/'`dce_acl.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-dce_acl.lo `test -f 'dce_acl.c' || echo '$(srcdir)/'`dce_acl.c
|
|
|
|
libcfengine_la-nameinfo.lo: nameinfo.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-nameinfo.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-nameinfo.Tpo -c -o libcfengine_la-nameinfo.lo `test -f 'nameinfo.c' || echo '$(srcdir)/'`nameinfo.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-nameinfo.Tpo $(DEPDIR)/libcfengine_la-nameinfo.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-nameinfo.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-nameinfo.Tpo -c -o libcfengine_la-nameinfo.lo `test -f 'nameinfo.c' || echo '$(srcdir)/'`nameinfo.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-nameinfo.Tpo $(DEPDIR)/libcfengine_la-nameinfo.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nameinfo.c' object='libcfengine_la-nameinfo.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-nameinfo.lo `test -f 'nameinfo.c' || echo '$(srcdir)/'`nameinfo.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-nameinfo.lo `test -f 'nameinfo.c' || echo '$(srcdir)/'`nameinfo.c
|
|
|
|
libcfengine_la-strategies.lo: strategies.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-strategies.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-strategies.Tpo -c -o libcfengine_la-strategies.lo `test -f 'strategies.c' || echo '$(srcdir)/'`strategies.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-strategies.Tpo $(DEPDIR)/libcfengine_la-strategies.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-strategies.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-strategies.Tpo -c -o libcfengine_la-strategies.lo `test -f 'strategies.c' || echo '$(srcdir)/'`strategies.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-strategies.Tpo $(DEPDIR)/libcfengine_la-strategies.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='strategies.c' object='libcfengine_la-strategies.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-strategies.lo `test -f 'strategies.c' || echo '$(srcdir)/'`strategies.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-strategies.lo `test -f 'strategies.c' || echo '$(srcdir)/'`strategies.c
|
|
|
|
libcfengine_la-granules.lo: granules.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-granules.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-granules.Tpo -c -o libcfengine_la-granules.lo `test -f 'granules.c' || echo '$(srcdir)/'`granules.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-granules.Tpo $(DEPDIR)/libcfengine_la-granules.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-granules.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-granules.Tpo -c -o libcfengine_la-granules.lo `test -f 'granules.c' || echo '$(srcdir)/'`granules.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-granules.Tpo $(DEPDIR)/libcfengine_la-granules.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='granules.c' object='libcfengine_la-granules.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-granules.lo `test -f 'granules.c' || echo '$(srcdir)/'`granules.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-granules.lo `test -f 'granules.c' || echo '$(srcdir)/'`granules.c
|
|
|
|
libcfengine_la-methods.lo: methods.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-methods.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-methods.Tpo -c -o libcfengine_la-methods.lo `test -f 'methods.c' || echo '$(srcdir)/'`methods.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-methods.Tpo $(DEPDIR)/libcfengine_la-methods.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-methods.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-methods.Tpo -c -o libcfengine_la-methods.lo `test -f 'methods.c' || echo '$(srcdir)/'`methods.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-methods.Tpo $(DEPDIR)/libcfengine_la-methods.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='methods.c' object='libcfengine_la-methods.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-methods.lo `test -f 'methods.c' || echo '$(srcdir)/'`methods.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-methods.lo `test -f 'methods.c' || echo '$(srcdir)/'`methods.c
|
|
|
|
libcfengine_la-dtypes.lo: dtypes.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-dtypes.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-dtypes.Tpo -c -o libcfengine_la-dtypes.lo `test -f 'dtypes.c' || echo '$(srcdir)/'`dtypes.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-dtypes.Tpo $(DEPDIR)/libcfengine_la-dtypes.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-dtypes.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-dtypes.Tpo -c -o libcfengine_la-dtypes.lo `test -f 'dtypes.c' || echo '$(srcdir)/'`dtypes.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-dtypes.Tpo $(DEPDIR)/libcfengine_la-dtypes.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='dtypes.c' object='libcfengine_la-dtypes.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-dtypes.lo `test -f 'dtypes.c' || echo '$(srcdir)/'`dtypes.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-dtypes.lo `test -f 'dtypes.c' || echo '$(srcdir)/'`dtypes.c
|
|
|
|
libcfengine_la-state.lo: state.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-state.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-state.Tpo -c -o libcfengine_la-state.lo `test -f 'state.c' || echo '$(srcdir)/'`state.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-state.Tpo $(DEPDIR)/libcfengine_la-state.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-state.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-state.Tpo -c -o libcfengine_la-state.lo `test -f 'state.c' || echo '$(srcdir)/'`state.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-state.Tpo $(DEPDIR)/libcfengine_la-state.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='state.c' object='libcfengine_la-state.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-state.lo `test -f 'state.c' || echo '$(srcdir)/'`state.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-state.lo `test -f 'state.c' || echo '$(srcdir)/'`state.c
|
|
|
|
libcfengine_la-checksum_db.lo: checksum_db.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-checksum_db.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-checksum_db.Tpo -c -o libcfengine_la-checksum_db.lo `test -f 'checksum_db.c' || echo '$(srcdir)/'`checksum_db.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-checksum_db.Tpo $(DEPDIR)/libcfengine_la-checksum_db.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-checksum_db.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-checksum_db.Tpo -c -o libcfengine_la-checksum_db.lo `test -f 'checksum_db.c' || echo '$(srcdir)/'`checksum_db.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-checksum_db.Tpo $(DEPDIR)/libcfengine_la-checksum_db.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='checksum_db.c' object='libcfengine_la-checksum_db.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-checksum_db.lo `test -f 'checksum_db.c' || echo '$(srcdir)/'`checksum_db.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-checksum_db.lo `test -f 'checksum_db.c' || echo '$(srcdir)/'`checksum_db.c
|
|
|
|
libcfengine_la-expand-files.lo: expand-files.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-expand-files.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-expand-files.Tpo -c -o libcfengine_la-expand-files.lo `test -f 'expand-files.c' || echo '$(srcdir)/'`expand-files.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-expand-files.Tpo $(DEPDIR)/libcfengine_la-expand-files.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-expand-files.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-expand-files.Tpo -c -o libcfengine_la-expand-files.lo `test -f 'expand-files.c' || echo '$(srcdir)/'`expand-files.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-expand-files.Tpo $(DEPDIR)/libcfengine_la-expand-files.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='expand-files.c' object='libcfengine_la-expand-files.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-expand-files.lo `test -f 'expand-files.c' || echo '$(srcdir)/'`expand-files.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-expand-files.lo `test -f 'expand-files.c' || echo '$(srcdir)/'`expand-files.c
|
|
|
|
libcfengine_la-expand-tidy.lo: expand-tidy.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-expand-tidy.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-expand-tidy.Tpo -c -o libcfengine_la-expand-tidy.lo `test -f 'expand-tidy.c' || echo '$(srcdir)/'`expand-tidy.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-expand-tidy.Tpo $(DEPDIR)/libcfengine_la-expand-tidy.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-expand-tidy.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-expand-tidy.Tpo -c -o libcfengine_la-expand-tidy.lo `test -f 'expand-tidy.c' || echo '$(srcdir)/'`expand-tidy.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-expand-tidy.Tpo $(DEPDIR)/libcfengine_la-expand-tidy.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='expand-tidy.c' object='libcfengine_la-expand-tidy.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-expand-tidy.lo `test -f 'expand-tidy.c' || echo '$(srcdir)/'`expand-tidy.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-expand-tidy.lo `test -f 'expand-tidy.c' || echo '$(srcdir)/'`expand-tidy.c
|
|
|
|
libcfengine_la-expand-image.lo: expand-image.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-expand-image.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-expand-image.Tpo -c -o libcfengine_la-expand-image.lo `test -f 'expand-image.c' || echo '$(srcdir)/'`expand-image.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-expand-image.Tpo $(DEPDIR)/libcfengine_la-expand-image.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-expand-image.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-expand-image.Tpo -c -o libcfengine_la-expand-image.lo `test -f 'expand-image.c' || echo '$(srcdir)/'`expand-image.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-expand-image.Tpo $(DEPDIR)/libcfengine_la-expand-image.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='expand-image.c' object='libcfengine_la-expand-image.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-expand-image.lo `test -f 'expand-image.c' || echo '$(srcdir)/'`expand-image.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-expand-image.lo `test -f 'expand-image.c' || echo '$(srcdir)/'`expand-image.c
|
|
|
|
libcfengine_la-expand-editfiles.lo: expand-editfiles.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-expand-editfiles.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-expand-editfiles.Tpo -c -o libcfengine_la-expand-editfiles.lo `test -f 'expand-editfiles.c' || echo '$(srcdir)/'`expand-editfiles.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-expand-editfiles.Tpo $(DEPDIR)/libcfengine_la-expand-editfiles.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-expand-editfiles.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-expand-editfiles.Tpo -c -o libcfengine_la-expand-editfiles.lo `test -f 'expand-editfiles.c' || echo '$(srcdir)/'`expand-editfiles.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-expand-editfiles.Tpo $(DEPDIR)/libcfengine_la-expand-editfiles.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='expand-editfiles.c' object='libcfengine_la-expand-editfiles.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-expand-editfiles.lo `test -f 'expand-editfiles.c' || echo '$(srcdir)/'`expand-editfiles.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-expand-editfiles.lo `test -f 'expand-editfiles.c' || echo '$(srcdir)/'`expand-editfiles.c
|
|
|
|
libcfengine_la-package.lo: package.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-package.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-package.Tpo -c -o libcfengine_la-package.lo `test -f 'package.c' || echo '$(srcdir)/'`package.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-package.Tpo $(DEPDIR)/libcfengine_la-package.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-package.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-package.Tpo -c -o libcfengine_la-package.lo `test -f 'package.c' || echo '$(srcdir)/'`package.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-package.Tpo $(DEPDIR)/libcfengine_la-package.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='package.c' object='libcfengine_la-package.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-package.lo `test -f 'package.c' || echo '$(srcdir)/'`package.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-package.lo `test -f 'package.c' || echo '$(srcdir)/'`package.c
|
|
|
|
libcfengine_la-scli.lo: scli.c
|
|
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-scli.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-scli.Tpo -c -o libcfengine_la-scli.lo `test -f 'scli.c' || echo '$(srcdir)/'`scli.c
|
|
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcfengine_la-scli.Tpo $(DEPDIR)/libcfengine_la-scli.Plo
|
|
+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -MT libcfengine_la-scli.lo -MD -MP -MF $(DEPDIR)/libcfengine_la-scli.Tpo -c -o libcfengine_la-scli.lo `test -f 'scli.c' || echo '$(srcdir)/'`scli.c
|
|
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libcfengine_la-scli.Tpo $(DEPDIR)/libcfengine_la-scli.Plo
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='scli.c' object='libcfengine_la-scli.lo' libtool=yes @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-scli.lo `test -f 'scli.c' || echo '$(srcdir)/'`scli.c
|
|
+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfengine_la_CFLAGS) $(CFLAGS) -c -o libcfengine_la-scli.lo `test -f 'scli.c' || echo '$(srcdir)/'`scli.c
|
|
|
|
.l.c:
|
|
$(am__skiplex) $(SHELL) $(YLWRAP) $< $(LEX_OUTPUT_ROOT).c $@ -- $(LEXCOMPILE)
|
|
@@ -1252,14 +1319,14 @@ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
|
unique=`for i in $$list; do \
|
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
|
done | \
|
|
- $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
|
|
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
|
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
|
mkid -fID $$unique
|
|
tags: TAGS
|
|
|
|
TAGS: $(HEADERS) $(SOURCES) conf.h.in $(TAGS_DEPENDENCIES) \
|
|
$(TAGS_FILES) $(LISP)
|
|
- tags=; \
|
|
+ set x; \
|
|
here=`pwd`; \
|
|
list='$(SOURCES) $(HEADERS) conf.h.in $(LISP) $(TAGS_FILES)'; \
|
|
unique=`for i in $$list; do \
|
|
@@ -1267,29 +1334,34 @@ TAGS: $(HEADERS) $(SOURCES) conf.h.in $(TAGS_DEPENDENCIES) \
|
|
done | \
|
|
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
|
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
|
- if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
|
|
+ shift; \
|
|
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
|
|
test -n "$$unique" || unique=$$empty_fix; \
|
|
- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
|
- $$tags $$unique; \
|
|
+ if test $$# -gt 0; then \
|
|
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
|
+ "$$@" $$unique; \
|
|
+ else \
|
|
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
|
+ $$unique; \
|
|
+ fi; \
|
|
fi
|
|
ctags: CTAGS
|
|
CTAGS: $(HEADERS) $(SOURCES) conf.h.in $(TAGS_DEPENDENCIES) \
|
|
$(TAGS_FILES) $(LISP)
|
|
- tags=; \
|
|
list='$(SOURCES) $(HEADERS) conf.h.in $(LISP) $(TAGS_FILES)'; \
|
|
unique=`for i in $$list; do \
|
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
|
done | \
|
|
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
|
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
|
- test -z "$(CTAGS_ARGS)$$tags$$unique" \
|
|
+ test -z "$(CTAGS_ARGS)$$unique" \
|
|
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
|
- $$tags $$unique
|
|
+ $$unique
|
|
|
|
GTAGS:
|
|
here=`$(am__cd) $(top_builddir) && pwd` \
|
|
- && cd $(top_srcdir) \
|
|
- && gtags -i $(GTAGS_ARGS) $$here
|
|
+ && $(am__cd) $(top_srcdir) \
|
|
+ && gtags -i $(GTAGS_ARGS) "$$here"
|
|
|
|
distclean-tags:
|
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
|
@@ -1310,13 +1382,17 @@ distdir: $(DISTFILES)
|
|
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
|
if test -d $$d/$$file; then \
|
|
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
|
+ if test -d "$(distdir)/$$file"; then \
|
|
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
|
+ fi; \
|
|
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
|
- cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
|
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
|
|
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
|
fi; \
|
|
- cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
|
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
|
|
else \
|
|
- test -f $(distdir)/$$file \
|
|
- || cp -p $$d/$$file $(distdir)/$$file \
|
|
+ test -f "$(distdir)/$$file" \
|
|
+ || cp -p $$d/$$file "$(distdir)/$$file" \
|
|
|| exit 1; \
|
|
fi; \
|
|
done
|
|
@@ -1349,6 +1425,7 @@ clean-generic:
|
|
|
|
distclean-generic:
|
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
|
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
|
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
|
|
|
|
maintainer-clean-generic:
|
|
@@ -1375,6 +1452,8 @@ dvi-am:
|
|
|
|
html: html-am
|
|
|
|
+html-am:
|
|
+
|
|
info: info-am
|
|
|
|
info-am:
|
|
@@ -1383,18 +1462,28 @@ install-data-am:
|
|
|
|
install-dvi: install-dvi-am
|
|
|
|
+install-dvi-am:
|
|
+
|
|
install-exec-am: install-libLTLIBRARIES install-sbinPROGRAMS
|
|
|
|
install-html: install-html-am
|
|
|
|
+install-html-am:
|
|
+
|
|
install-info: install-info-am
|
|
|
|
+install-info-am:
|
|
+
|
|
install-man:
|
|
|
|
install-pdf: install-pdf-am
|
|
|
|
+install-pdf-am:
|
|
+
|
|
install-ps: install-ps-am
|
|
|
|
+install-ps-am:
|
|
+
|
|
installcheck-am:
|
|
|
|
maintainer-clean: maintainer-clean-am
|
|
@@ -1417,7 +1506,7 @@ ps-am:
|
|
|
|
uninstall-am: uninstall-libLTLIBRARIES uninstall-sbinPROGRAMS
|
|
|
|
-.MAKE: install-am install-strip
|
|
+.MAKE: all install-am install-strip
|
|
|
|
.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
|
|
clean-libLTLIBRARIES clean-libtool clean-sbinPROGRAMS ctags \
|
|
@@ -1434,6 +1523,7 @@ uninstall-am: uninstall-libLTLIBRARIES uninstall-sbinPROGRAMS
|
|
pdf pdf-am ps ps-am tags uninstall uninstall-am \
|
|
uninstall-libLTLIBRARIES uninstall-sbinPROGRAMS
|
|
|
|
+
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
|
.NOEXPORT:
|
|
diff --git a/ylwrap b/ylwrap
|
|
index 5ea68e4..84d5634 100755
|
|
--- a/ylwrap
|
|
+++ b/ylwrap
|
|
@@ -1,6 +1,11 @@
|
|
#! /bin/sh
|
|
# ylwrap - wrapper for lex/yacc invocations.
|
|
-# Copyright 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
|
|
+
|
|
+scriptversion=2009-04-28.21; # UTC
|
|
+
|
|
+# Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005,
|
|
+# 2007, 2009 Free Software Foundation, Inc.
|
|
+#
|
|
# Written by Tom Tromey <tromey@cygnus.com>.
|
|
#
|
|
# This program is free software; you can redistribute it and/or modify
|
|
@@ -14,52 +19,72 @@
|
|
# 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
# As a special exception to the GNU General Public License, if you
|
|
# distribute this file as part of a program that contains a
|
|
# configuration script generated by Autoconf, you may include it under
|
|
# the same distribution terms that you use for the rest of that program.
|
|
|
|
-# Usage:
|
|
-# ylwrap INPUT [OUTPUT DESIRED]... -- PROGRAM [ARGS]...
|
|
-# * INPUT is the input file
|
|
-# * OUTPUT is file PROG generates
|
|
-# * DESIRED is file we actually want
|
|
-# * PROGRAM is program to run
|
|
-# * ARGS are passed to PROG
|
|
-# Any number of OUTPUT,DESIRED pairs may be used.
|
|
+# This file is maintained in Automake, please report
|
|
+# bugs to <bug-automake@gnu.org> or send patches to
|
|
+# <automake-patches@gnu.org>.
|
|
+
|
|
+case "$1" in
|
|
+ '')
|
|
+ echo "$0: No files given. Try \`$0 --help' for more information." 1>&2
|
|
+ exit 1
|
|
+ ;;
|
|
+ --basedir)
|
|
+ basedir=$2
|
|
+ shift 2
|
|
+ ;;
|
|
+ -h|--h*)
|
|
+ cat <<\EOF
|
|
+Usage: ylwrap [--help|--version] INPUT [OUTPUT DESIRED]... -- PROGRAM [ARGS]...
|
|
+
|
|
+Wrapper for lex/yacc invocations, renaming files as desired.
|
|
+
|
|
+ INPUT is the input file
|
|
+ OUTPUT is one file PROG generates
|
|
+ DESIRED is the file we actually want instead of OUTPUT
|
|
+ PROGRAM is program to run
|
|
+ ARGS are passed to PROG
|
|
+
|
|
+Any number of OUTPUT,DESIRED pairs may be used.
|
|
+
|
|
+Report bugs to <bug-automake@gnu.org>.
|
|
+EOF
|
|
+ exit $?
|
|
+ ;;
|
|
+ -v|--v*)
|
|
+ echo "ylwrap $scriptversion"
|
|
+ exit $?
|
|
+ ;;
|
|
+esac
|
|
+
|
|
|
|
# The input.
|
|
input="$1"
|
|
shift
|
|
case "$input" in
|
|
- [\\/]* | ?:[\\/]*)
|
|
+ [\\/]* | ?:[\\/]*)
|
|
# Absolute path; do nothing.
|
|
;;
|
|
- *)
|
|
+ *)
|
|
# Relative path. Make it absolute.
|
|
input="`pwd`/$input"
|
|
;;
|
|
esac
|
|
|
|
-# The directory holding the input.
|
|
-input_dir=`echo "$input" | sed -e 's,\([\\/]\)[^\\/]*$,\1,'`
|
|
-# Quote $INPUT_DIR so we can use it in a regexp.
|
|
-# FIXME: really we should care about more than `.' and `\'.
|
|
-input_rx=`echo "$input_dir" | sed -e 's,\\\\,\\\\\\\\,g' -e 's,\\.,\\\\.,g'`
|
|
-
|
|
-echo "got $input_rx"
|
|
-
|
|
pairlist=
|
|
while test "$#" -ne 0; do
|
|
- if test "$1" = "--"; then
|
|
- shift
|
|
- break
|
|
- fi
|
|
- pairlist="$pairlist $1"
|
|
- shift
|
|
+ if test "$1" = "--"; then
|
|
+ shift
|
|
+ break
|
|
+ fi
|
|
+ pairlist="$pairlist $1"
|
|
+ shift
|
|
done
|
|
|
|
# The program to run.
|
|
@@ -67,77 +92,131 @@ prog="$1"
|
|
shift
|
|
# Make any relative path in $prog absolute.
|
|
case "$prog" in
|
|
- [\\/]* | ?:[\\/]*) ;;
|
|
- *[\\/]*) prog="`pwd`/$prog" ;;
|
|
+ [\\/]* | ?:[\\/]*) ;;
|
|
+ *[\\/]*) prog="`pwd`/$prog" ;;
|
|
esac
|
|
|
|
# FIXME: add hostname here for parallel makes that run commands on
|
|
# other machines. But that might take us over the 14-char limit.
|
|
dirname=ylwrap$$
|
|
-trap "cd `pwd`; rm -rf $dirname > /dev/null 2>&1" 1 2 3 15
|
|
+trap "cd '`pwd`'; rm -rf $dirname > /dev/null 2>&1" 1 2 3 15
|
|
mkdir $dirname || exit 1
|
|
|
|
cd $dirname
|
|
|
|
-$prog ${1+"$@"} "$input"
|
|
-status=$?
|
|
-
|
|
-if test $status -eq 0; then
|
|
- set X $pairlist
|
|
- shift
|
|
- first=yes
|
|
- # Since DOS filename conventions don't allow two dots,
|
|
- # the DOS version of Bison writes out y_tab.c instead of y.tab.c
|
|
- # and y_tab.h instead of y.tab.h. Test to see if this is the case.
|
|
- y_tab_nodot="no"
|
|
- if test -f y_tab.c || test -f y_tab.h; then
|
|
- y_tab_nodot="yes"
|
|
- fi
|
|
-
|
|
- while test "$#" -ne 0; do
|
|
- from="$1"
|
|
- # Handle y_tab.c and y_tab.h output by DOS
|
|
- if test $y_tab_nodot = "yes"; then
|
|
- if test $from = "y.tab.c"; then
|
|
- from="y_tab.c"
|
|
- else
|
|
- if test $from = "y.tab.h"; then
|
|
- from="y_tab.h"
|
|
- fi
|
|
- fi
|
|
- fi
|
|
- if test -f "$from"; then
|
|
- # If $2 is an absolute path name, then just use that,
|
|
- # otherwise prepend `../'.
|
|
- case "$2" in
|
|
- [\\/]* | ?:[\\/]*) target="$2";;
|
|
- *) target="../$2";;
|
|
- esac
|
|
-
|
|
- # Edit out `#line' or `#' directives. We don't want the
|
|
- # resulting debug information to point at an absolute srcdir;
|
|
- # it is better for it to just mention the .y file with no
|
|
- # path.
|
|
- sed -e "/^#/ s,$input_rx,," "$from" > "$target" || status=$?
|
|
+case $# in
|
|
+ 0) "$prog" "$input" ;;
|
|
+ *) "$prog" "$@" "$input" ;;
|
|
+esac
|
|
+ret=$?
|
|
+
|
|
+if test $ret -eq 0; then
|
|
+ set X $pairlist
|
|
+ shift
|
|
+ first=yes
|
|
+ # Since DOS filename conventions don't allow two dots,
|
|
+ # the DOS version of Bison writes out y_tab.c instead of y.tab.c
|
|
+ # and y_tab.h instead of y.tab.h. Test to see if this is the case.
|
|
+ y_tab_nodot="no"
|
|
+ if test -f y_tab.c || test -f y_tab.h; then
|
|
+ y_tab_nodot="yes"
|
|
+ fi
|
|
+
|
|
+ # The directory holding the input.
|
|
+ input_dir=`echo "$input" | sed -e 's,\([\\/]\)[^\\/]*$,\1,'`
|
|
+ # Quote $INPUT_DIR so we can use it in a regexp.
|
|
+ # FIXME: really we should care about more than `.' and `\'.
|
|
+ input_rx=`echo "$input_dir" | sed 's,\\\\,\\\\\\\\,g;s,\\.,\\\\.,g'`
|
|
+
|
|
+ while test "$#" -ne 0; do
|
|
+ from="$1"
|
|
+ # Handle y_tab.c and y_tab.h output by DOS
|
|
+ if test $y_tab_nodot = "yes"; then
|
|
+ if test $from = "y.tab.c"; then
|
|
+ from="y_tab.c"
|
|
else
|
|
- # A missing file is only an error for the first file. This
|
|
- # is a blatant hack to let us support using "yacc -d". If -d
|
|
- # is not specified, we don't want an error when the header
|
|
- # file is "missing".
|
|
- if test $first = yes; then
|
|
- status=1
|
|
- fi
|
|
+ if test $from = "y.tab.h"; then
|
|
+ from="y_tab.h"
|
|
+ fi
|
|
fi
|
|
- shift
|
|
- shift
|
|
- first=no
|
|
- done
|
|
+ fi
|
|
+ if test -f "$from"; then
|
|
+ # If $2 is an absolute path name, then just use that,
|
|
+ # otherwise prepend `../'.
|
|
+ case "$2" in
|
|
+ [\\/]* | ?:[\\/]*) target="$2";;
|
|
+ *) target="../$2";;
|
|
+ esac
|
|
+
|
|
+ # We do not want to overwrite a header file if it hasn't
|
|
+ # changed. This avoid useless recompilations. However the
|
|
+ # parser itself (the first file) should always be updated,
|
|
+ # because it is the destination of the .y.c rule in the
|
|
+ # Makefile. Divert the output of all other files to a temporary
|
|
+ # file so we can compare them to existing versions.
|
|
+ if test $first = no; then
|
|
+ realtarget="$target"
|
|
+ target="tmp-`echo $target | sed s/.*[\\/]//g`"
|
|
+ fi
|
|
+ # Edit out `#line' or `#' directives.
|
|
+ #
|
|
+ # We don't want the resulting debug information to point at
|
|
+ # an absolute srcdir; it is better for it to just mention the
|
|
+ # .y file with no path.
|
|
+ #
|
|
+ # We want to use the real output file name, not yy.lex.c for
|
|
+ # instance.
|
|
+ #
|
|
+ # We want the include guards to be adjusted too.
|
|
+ FROM=`echo "$from" | sed \
|
|
+ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'\
|
|
+ -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'`
|
|
+ TARGET=`echo "$2" | sed \
|
|
+ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'\
|
|
+ -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'`
|
|
+
|
|
+ sed -e "/^#/!b" -e "s,$input_rx,," -e "s,$from,$2," \
|
|
+ -e "s,$FROM,$TARGET," "$from" >"$target" || ret=$?
|
|
+
|
|
+ # Check whether header files must be updated.
|
|
+ if test $first = no; then
|
|
+ if test -f "$realtarget" && cmp -s "$realtarget" "$target"; then
|
|
+ echo "$2" is unchanged
|
|
+ rm -f "$target"
|
|
+ else
|
|
+ echo updating "$2"
|
|
+ mv -f "$target" "$realtarget"
|
|
+ fi
|
|
+ fi
|
|
+ else
|
|
+ # A missing file is only an error for the first file. This
|
|
+ # is a blatant hack to let us support using "yacc -d". If -d
|
|
+ # is not specified, we don't want an error when the header
|
|
+ # file is "missing".
|
|
+ if test $first = yes; then
|
|
+ ret=1
|
|
+ fi
|
|
+ fi
|
|
+ shift
|
|
+ shift
|
|
+ first=no
|
|
+ done
|
|
else
|
|
- status=$?
|
|
+ ret=$?
|
|
fi
|
|
|
|
# Remove the directory.
|
|
cd ..
|
|
rm -rf $dirname
|
|
|
|
-exit $status
|
|
+exit $ret
|
|
+
|
|
+# Local Variables:
|
|
+# mode: shell-script
|
|
+# sh-indentation: 2
|
|
+# eval: (add-hook 'write-file-hooks 'time-stamp)
|
|
+# time-stamp-start: "scriptversion="
|
|
+# time-stamp-format: "%:y-%02m-%02d.%02H"
|
|
+# time-stamp-time-zone: "UTC"
|
|
+# time-stamp-end: "; # UTC"
|
|
+# End:
|
|
--
|
|
1.6.5.2
|
|
|