mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-22 10:26:20 +00:00
Merge from trunk and from gnulib stdio.
This commit is contained in:
commit
6e5fa6bfce
28
ChangeLog
28
ChangeLog
@ -1,9 +1,29 @@
|
||||
2011-03-17 Paul Eggert <eggert@cs.ucla.edu>
|
||||
2011-03-21 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* Makefile.in (GNULIB_MODULES): Add socklen.
|
||||
* configure.in: Do not check for sys/socket.h, since socklen does that.
|
||||
* m4/socklen.m4: New automatically-generated file, from gnulib.
|
||||
|
||||
2011-03-21 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
fakemail: Remove dependency on ignore-value.
|
||||
* Makefile.in (GNULIB_MODULES): Add stdio.
|
||||
* lib/stdio.in.h, m4/stdio_h.m4: New files, automatically
|
||||
imported from gnulib.
|
||||
* .bzrignore: Add lib/stdio.h.
|
||||
|
||||
2011-03-20 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* autogen/: New directory, to be excluded from releases.
|
||||
* autogen/copy_autogen, autogen/update_autogen: New scripts.
|
||||
* autogen/README: New file.
|
||||
* autogen/aclocal.m4, autogen/config.in, autogen/configure:
|
||||
* autogen/Makefile.in: Add auto-updated generated files.
|
||||
* autogen.sh: No longer a no-op, now it tests for autotools
|
||||
and runs them as necessary.
|
||||
* configure.in: Defaule maintainer-mode to on.
|
||||
* aclocal.m4, configure, lib/Makefile.in: Remove files.
|
||||
|
||||
2011-03-13 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
Update for gnulib.
|
||||
@ -65,7 +85,7 @@
|
||||
|
||||
2011-02-21 Christoph Scholtes <cschol2112@gmail.com>
|
||||
|
||||
* lib/makefile.w32-in: ($(BLD)/md5.$(O)): Added dependency on
|
||||
* lib/makefile.w32-in ($(BLD)/md5.$(O)): Added dependency on
|
||||
$(EMACS_ROOT)/nt/inc/stdint.h.
|
||||
|
||||
2011-02-21 Eli Zaretskii <eliz@gnu.org>
|
||||
@ -104,7 +124,7 @@
|
||||
way to test this so I left it alone.
|
||||
* configure: Regenerate.
|
||||
|
||||
2011-02-20 Christoph Scholtes <cschol2112@gmail.com>
|
||||
2011-02-20 Christoph Scholtes <cschol2112@gmail.com>
|
||||
|
||||
* lib/makefile.w32-in ($(BLD)/md5.$(O)): New recipe, moved from
|
||||
src/makefile.w32-in.
|
||||
@ -967,7 +987,7 @@
|
||||
|
||||
2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
|
||||
|
||||
* configure.in: Add --with-x-toolkit=gtk3. Remove HAVE_GTK_MULTIDISPLAY,
|
||||
* configure.in: Add --with-x-toolkit=gtk3. Remove HAVE_GTK_MULTIDISPLAY,
|
||||
check for gtk_file_chooser_dialog_new, and HAVE_GTK_FILE_BOTH (implied
|
||||
by minimum required Gtk+ 2.6). Add checks for functions introduced
|
||||
in Gtk+ 2.14 or newer (bug#6505).
|
||||
|
27
INSTALL.BZR
27
INSTALL.BZR
@ -4,15 +4,30 @@ See the end of the file for license conditions.
|
||||
|
||||
Building and Installing Emacs from Bazaar
|
||||
|
||||
If this is the first time you go through it, you'll need to configure
|
||||
before bootstrapping:
|
||||
Building Emacs from Bazaar requires some tools that are not needed
|
||||
when building from a release. You will need:
|
||||
|
||||
autoconf - at least the version specified near the start of
|
||||
configure.in (in the AC_PREREQ command).
|
||||
automake - we recommend at least version 1.11.
|
||||
makeinfo - not strictly necessary, but highly recommended, so that
|
||||
you can build the manuals.
|
||||
|
||||
The `autogen.sh' script can help you figure out if you have the
|
||||
necessary tools.
|
||||
|
||||
The first time you build, there are a couple of extra steps.
|
||||
First, generate the `configure' script:
|
||||
|
||||
$ ./autogen.sh
|
||||
|
||||
(or you can just run `autoreconf -I m4').
|
||||
|
||||
You can then configure your build (use `./configure --help' to see
|
||||
options you can set):
|
||||
|
||||
$ ./configure
|
||||
|
||||
(Normally there is no need to run `autoconf' etc. If you do need it,
|
||||
the relevant command is `autoreconf -I m4'. Be aware that this will
|
||||
likely lead to conflicts next time you update from Bazaar.)
|
||||
|
||||
Some of the files that are included in the Emacs tarball, such as
|
||||
byte-compiled Lisp files, are not stored in Bazaar. Therefore, to
|
||||
build from Bazaar you must run "make bootstrap" instead of just "make":
|
||||
|
@ -332,7 +332,8 @@ DOS_gnulib_comp.m4 = gl-comp.m4
|
||||
# as per $(gnulib_srcdir)/DEPENDENCIES.
|
||||
GNULIB_MODULES = \
|
||||
crypto/md5 dtoastr filemode getloadavg getopt-gnu \
|
||||
ignore-value intprops lstat mktime readlink socklen strftime symlink sys_stat
|
||||
ignore-value intprops lstat mktime readlink \
|
||||
socklen stdio strftime symlink sys_stat
|
||||
GNULIB_TOOL_FLAGS = \
|
||||
--import --no-changelog --no-vc-files --makefile-name=gnulib.mk
|
||||
sync-from-gnulib: $(gnulib_srcdir)
|
||||
|
1
aclocal.m4
vendored
1
aclocal.m4
vendored
@ -1005,6 +1005,7 @@ m4_include([m4/stat.m4])
|
||||
m4_include([m4/stdbool.m4])
|
||||
m4_include([m4/stddef_h.m4])
|
||||
m4_include([m4/stdint.m4])
|
||||
m4_include([m4/stdio_h.m4])
|
||||
m4_include([m4/stdlib_h.m4])
|
||||
m4_include([m4/strftime.m4])
|
||||
m4_include([m4/symlink.m4])
|
||||
|
@ -28,11 +28,14 @@ For each step, check for possible errors.
|
||||
refer to a newer release of Emacs. (This is probably needed only
|
||||
when preparing a major Emacs release, or branching for it.)
|
||||
|
||||
5. autoreconf -I m4 --force
|
||||
5. Edit configure.in so that maintainer-mode is off by default.
|
||||
(FIXME - need to find a better way of dealing with this).
|
||||
|
||||
autoreconf -I m4 --force
|
||||
make bootstrap
|
||||
|
||||
6. Commit configure, src/config.in, etc/AUTHORS, all the files changed
|
||||
by M-x set-version, and lisp/cus-edit.el (if modified).
|
||||
6. Commit etc/AUTHORS, all the files changed by M-x set-version, and
|
||||
lisp/cus-edit.el (if modified).
|
||||
Copy lisp/loaddefs.el to lisp/ldefs-boot.el and commit lisp/ldefs-boot.el.
|
||||
For a release, also commit the ChangeLog files in all directories.
|
||||
|
||||
|
208
autogen.sh
208
autogen.sh
@ -1,7 +1,207 @@
|
||||
#!/bin/sh
|
||||
### autogen.sh - tool to help build Emacs from a bzr checkout
|
||||
|
||||
echo "Please read INSTALL.BZR for instructions on how to build Emacs from Bazaar."
|
||||
## Copyright (C) 2011 Free Software Foundation, Inc.
|
||||
|
||||
# Exit with failure, since people may have generic build scripts that
|
||||
# try things like "autogen.sh && ./configure && make".
|
||||
exit 1
|
||||
## Author: Glenn Morris <rgm@gnu.org>
|
||||
|
||||
## This file is part of GNU Emacs.
|
||||
|
||||
## GNU Emacs 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 3 of the License, or
|
||||
## (at your option) any later version.
|
||||
|
||||
## GNU Emacs is distributed in the hope that it will be useful,
|
||||
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
## GNU General Public License for more details.
|
||||
|
||||
## You should have received a copy of the GNU General Public License
|
||||
## along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
### Commentary:
|
||||
|
||||
## The Emacs bzr repository does not include the configure script
|
||||
## (and associated helpers). The first time you fetch Emacs from bzr,
|
||||
## run this script to generate the necessary files.
|
||||
## For more details, see the file INSTALL.BZR.
|
||||
|
||||
### Code:
|
||||
|
||||
## Tools we need:
|
||||
progs="autoconf automake"
|
||||
|
||||
## Minimum versions we need:
|
||||
autoconf_min=`sed -n 's/^ *AC_PREREQ(\([0-9\.]*\)).*/\1/p' configure.in`
|
||||
|
||||
## FIXME how to determine this from the sources?
|
||||
automake_min=1.11
|
||||
|
||||
|
||||
## $1 = program, eg "autoconf".
|
||||
## Echo the version string, eg "2.59".
|
||||
## FIXME does not handle things like "1.4a", but AFAIK those are
|
||||
## all old versions, so it is OK to fail there.
|
||||
## Also note that we do not handle micro versions.
|
||||
get_version ()
|
||||
{
|
||||
$1 --version 2>&1 | sed -n '1 s/.* \([1-9][0-9\.]*\).*/\1/p'
|
||||
}
|
||||
|
||||
## $1 = version string, eg "2.59"
|
||||
## Echo the major version, eg "2".
|
||||
major_version ()
|
||||
{
|
||||
echo $1 | sed -e 's/\([0-9][0-9]*\)\..*/\1/'
|
||||
}
|
||||
|
||||
## $1 = version string, eg "2.59"
|
||||
## Echo the minor version, eg "59".
|
||||
minor_version ()
|
||||
{
|
||||
echo $1 | sed -e 's/[0-9][0-9]*\.\([0-9][0-9]*\).*/\1/'
|
||||
}
|
||||
|
||||
## $1 = program
|
||||
## $2 = minimum version.
|
||||
## Return 0 if program is present with version >= minumum version.
|
||||
## Return 1 if program is missing.
|
||||
## Return 2 if program is present but too old.
|
||||
## Return 3 for unexpected error (eg failed to parse version).
|
||||
check_version ()
|
||||
{
|
||||
have_version=`get_version $1`
|
||||
|
||||
[ x"$have_version" = x ] && return 1
|
||||
|
||||
have_maj=`major_version $have_version`
|
||||
need_maj=`major_version $2`
|
||||
|
||||
[ x"$have_maj" != x ] && [ x"$need_maj" != x ] || return 3
|
||||
|
||||
[ $have_maj -gt $need_maj ] && return 0
|
||||
[ $have_maj -lt $need_maj ] && return 2
|
||||
|
||||
have_min=`minor_version $have_version`
|
||||
need_min=`minor_version $2`
|
||||
|
||||
[ x"$have_min" != x ] && [ x"$need_min" != x ] || return 3
|
||||
|
||||
[ $have_min -ge $need_min ] && return 0
|
||||
return 2
|
||||
}
|
||||
|
||||
|
||||
cat <<EOF
|
||||
Checking whether you have the necessary tools...
|
||||
(Read INSTALL.BZR for more details on building Emacs)
|
||||
|
||||
EOF
|
||||
|
||||
missing=
|
||||
|
||||
for prog in $progs; do
|
||||
|
||||
eval min=\$${prog}_min
|
||||
|
||||
echo "Checking for $prog (need at least version $min)..."
|
||||
|
||||
check_version $prog $min
|
||||
|
||||
retval=$?
|
||||
|
||||
case $retval in
|
||||
0) stat="ok" ;;
|
||||
1) stat="missing" ;;
|
||||
2) stat="too old" ;;
|
||||
*) stat="unable to check" ;;
|
||||
esac
|
||||
|
||||
echo $stat
|
||||
|
||||
if [ $retval -ne 0 ]; then
|
||||
missing="$missing $prog"
|
||||
eval ${prog}_why=\""$stat"\"
|
||||
fi
|
||||
|
||||
done
|
||||
|
||||
|
||||
if [ x"$missing" != x ]; then
|
||||
|
||||
cat <<EOF
|
||||
|
||||
Building Emacs from Bzr requires the following specialized programs:
|
||||
EOF
|
||||
|
||||
for prog in $progs; do
|
||||
eval min=\$${prog}_min
|
||||
|
||||
echo "$prog (minimum version $min)"
|
||||
done
|
||||
|
||||
|
||||
cat <<EOF
|
||||
|
||||
Your system seems to be missing the following tool(s):
|
||||
EOF
|
||||
|
||||
for prog in $missing; do
|
||||
eval why=\$${prog}_why
|
||||
|
||||
echo "$prog ($why)"
|
||||
done
|
||||
|
||||
cat <<EOF
|
||||
|
||||
If you think you have the required tools, please add them to your PATH
|
||||
and re-run this script.
|
||||
|
||||
Otherwise, please try installing them.
|
||||
On systems using rpm and yum, try: "yum install PACKAGE"
|
||||
On systems using dpkg and apt, try: "apt-get install PACKAGE"
|
||||
Then re-run this script.
|
||||
|
||||
If you do not have permission to do this, or if the version provided
|
||||
by your system is too old, it is normally straightforward to build
|
||||
these packages from source. You can find the sources at:
|
||||
|
||||
ftp://ftp.gnu.org/gnu/PACKAGE/
|
||||
|
||||
Download the package (make sure you get at least the minimum version
|
||||
listed above), extract it using tar, then run configure, make,
|
||||
make install. Add the installation directory to your PATH and re-run
|
||||
this script.
|
||||
|
||||
If you know that the required versions are in your PATH, but this
|
||||
script has made an error, then you can simply run
|
||||
|
||||
autoreconf -I m4
|
||||
|
||||
instead of this script.
|
||||
|
||||
If all else fails, you can try using the pre-built versions of the
|
||||
generated files by doing:
|
||||
|
||||
cd autogen && ./copy_autogen
|
||||
|
||||
This is not recommended - see the comments in \`copy_autogen'.
|
||||
|
||||
Please report any problems with this script to bug-gnu-emacs@gnu.org .
|
||||
EOF
|
||||
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Your system has the required tools, running autoreconf..."
|
||||
|
||||
|
||||
## Let autoreconf figure out what, if anything, needs doing.
|
||||
autoreconf -I m4 || exit $?
|
||||
|
||||
echo "You can now run \`./configure'."
|
||||
|
||||
exit 0
|
||||
|
||||
### autogen.sh ends here
|
||||
|
1301
autogen/Makefile.in
Normal file
1301
autogen/Makefile.in
Normal file
File diff suppressed because it is too large
Load Diff
14
autogen/README
Normal file
14
autogen/README
Normal file
@ -0,0 +1,14 @@
|
||||
This directory contains some pre-built generated files.
|
||||
Most people do not need to use these files - instead you should
|
||||
generate them yourself using eg `autogen.sh'.
|
||||
|
||||
File: Destination: Created by:
|
||||
configure ../ autoconf
|
||||
config.in ../src autoheader * also used by MSDOS bzr build
|
||||
aclocal.m4 ../ aclocal
|
||||
Makefile.in ../lib automake
|
||||
|
||||
There are also some scripts:
|
||||
|
||||
copy_autogen - copy pre-built generated files into place
|
||||
update_autogen - regenerate generated files (for maintainers)
|
1015
autogen/aclocal.m4
vendored
Normal file
1015
autogen/aclocal.m4
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1391
autogen/config.in
Normal file
1391
autogen/config.in
Normal file
File diff suppressed because it is too large
Load Diff
21292
autogen/configure
vendored
Executable file
21292
autogen/configure
vendored
Executable file
File diff suppressed because it is too large
Load Diff
20
autogen/copy_autogen
Executable file
20
autogen/copy_autogen
Executable file
@ -0,0 +1,20 @@
|
||||
#!/bin/sh
|
||||
|
||||
## Helper script for those building Emacs from bzr without autoconf etc.
|
||||
## This installs some pre-generated versions of the automatically
|
||||
## generated files. It is highly recommended to install the necessary
|
||||
## tools instead of using this. Note that if eg configure.in
|
||||
## is updated, the next time you run make it will attempt to
|
||||
## regenerate configure and will fail if you do not have the required
|
||||
## tools. You will have to run this script again.
|
||||
|
||||
if test ! -e config.in; then
|
||||
echo "You must run this script from the autogen/ directory."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cp configure aclocal.m4 ../
|
||||
cp config.in ../src/
|
||||
cp Makefile.in ../lib/
|
||||
|
||||
echo "You can now run configure"
|
183
autogen/update_autogen
Executable file
183
autogen/update_autogen
Executable file
@ -0,0 +1,183 @@
|
||||
#!/bin/bash
|
||||
### update_autogen - update the generated files in Emacs autogen/ directory
|
||||
|
||||
## Copyright (C) 2011 Free Software Foundation, Inc.
|
||||
|
||||
## Author: Glenn Morris <rgm@gnu.org>
|
||||
|
||||
## This file is part of GNU Emacs.
|
||||
|
||||
## GNU Emacs 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 3 of the License, or
|
||||
## (at your option) any later version.
|
||||
|
||||
## GNU Emacs is distributed in the hope that it will be useful,
|
||||
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
## GNU General Public License for more details.
|
||||
|
||||
## You should have received a copy of the GNU General Public License
|
||||
## along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
### Commentary:
|
||||
|
||||
## This is a helper script to update the pre-built generated files in
|
||||
## the autogen/ directory. This is suitable for running from cron.
|
||||
## Only Emacs maintainers need use this, so it uses bash features.
|
||||
|
||||
### Code:
|
||||
|
||||
function die () # write error to stderr and exit
|
||||
{
|
||||
[ $# -gt 0 ] && echo "$PN: $@" >&2
|
||||
exit 1
|
||||
}
|
||||
|
||||
PN=${0##*/} # basename of script
|
||||
PD=${0%/*}
|
||||
|
||||
[ "$PD" = "$0" ] && PD=. # if PATH includes PWD
|
||||
|
||||
## This should be the autogen directory.
|
||||
cd $PD
|
||||
cd ../
|
||||
[ -d autogen ] || die "Could not locate autogen directory"
|
||||
|
||||
|
||||
function usage ()
|
||||
{
|
||||
cat 1>&2 <<EOF
|
||||
Usage: ${PN} [-f] [-c] [-q]
|
||||
Update the generated files in the Emacs autogen/ directory.
|
||||
Options:
|
||||
-f: force an update even if the source files are locally modified.
|
||||
-c: if the update succeeds and the generated files are modified,
|
||||
commit them (caution).
|
||||
-q: be quiet; only give error messages, not status messages.
|
||||
EOF
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
||||
## Defaults.
|
||||
|
||||
force=
|
||||
commit=
|
||||
quiet=
|
||||
|
||||
## Parameters.
|
||||
sources="configure.in lib/Makefile.am"
|
||||
genfiles="configure aclocal.m4 src/config.in lib/Makefile.in"
|
||||
|
||||
for g in $genfiles; do
|
||||
basegen="$basegen ${g##*/}"
|
||||
done
|
||||
|
||||
[ "$basegen" ] || die "internal error"
|
||||
|
||||
tempfile=/tmp/$PN.$$
|
||||
|
||||
trap "rm -f $tempfile 2> /dev/null" EXIT
|
||||
|
||||
|
||||
while getopts ":hcfq" option ; do
|
||||
case $option in
|
||||
(h) usage ;;
|
||||
|
||||
(c) commit=1 ;;
|
||||
|
||||
(f) force=1 ;;
|
||||
|
||||
(q) quiet=1 ;;
|
||||
|
||||
(\?) die "Bad option -$OPTARG" ;;
|
||||
|
||||
(:) die "Option -$OPTARG requires an argument" ;;
|
||||
|
||||
(*) die "getopts error" ;;
|
||||
esac
|
||||
done
|
||||
shift $(( --OPTIND ))
|
||||
OPTIND=1
|
||||
|
||||
[ $# -eq 0 ] || die "Wrong number of arguments"
|
||||
|
||||
|
||||
function msg ()
|
||||
{
|
||||
[ "$quiet" ] && return 0
|
||||
echo "$@"
|
||||
} # function msg
|
||||
|
||||
|
||||
msg "Running bzr status..."
|
||||
|
||||
bzr status -S $sources >| $tempfile || die "bzr status error for sources"
|
||||
|
||||
while read stat file; do
|
||||
|
||||
case $stat in
|
||||
M)
|
||||
msg "Locally modified: $file"
|
||||
[ "$force" ] || die "There are local modifications"
|
||||
;;
|
||||
|
||||
*) die "Unexpected status ($stat) for $file" ;;
|
||||
esac
|
||||
done < $tempfile
|
||||
|
||||
|
||||
msg "Running autoreconf..."
|
||||
|
||||
autoreconf -I m4 || die "autoreconf error"
|
||||
|
||||
|
||||
cp $genfiles autogen/
|
||||
|
||||
|
||||
cd autogen
|
||||
|
||||
|
||||
bzr status -S $basegen >| $tempfile || \
|
||||
die "bzr status error for generated files"
|
||||
|
||||
|
||||
modified=
|
||||
|
||||
while read stat file; do
|
||||
|
||||
[ "$stat" != "M" ] && die "Unexpected status ($stat) for generated $file"
|
||||
|
||||
modified="$modified $file"
|
||||
|
||||
done < $tempfile
|
||||
|
||||
|
||||
[ "$modified" ] || {
|
||||
msg "No files were modified"
|
||||
exit 0
|
||||
}
|
||||
|
||||
msg "Modified file(s): $modified"
|
||||
|
||||
[ "$commit" ] || exit 0
|
||||
|
||||
|
||||
msg "Committing..."
|
||||
|
||||
## bzr status output is annoyingly always relative to top-level, not PWD.
|
||||
cd ../
|
||||
|
||||
opt=
|
||||
[ "$quiet" ] || opt=-q
|
||||
|
||||
bzr commit $opt -m "Auto-commit of generated files." $modified || \
|
||||
die "bzr commit error"
|
||||
|
||||
|
||||
msg "Committed files: $modified"
|
||||
|
||||
exit
|
||||
|
||||
### update_autogen ends here
|
248
configure
vendored
248
configure
vendored
@ -681,6 +681,93 @@ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H
|
||||
NEXT_SYS_STAT_H
|
||||
NEXT_AS_FIRST_DIRECTIVE_STDLIB_H
|
||||
NEXT_STDLIB_H
|
||||
NEXT_AS_FIRST_DIRECTIVE_STDIO_H
|
||||
NEXT_STDIO_H
|
||||
REPLACE_VSPRINTF
|
||||
REPLACE_VSNPRINTF
|
||||
REPLACE_VPRINTF
|
||||
REPLACE_VFPRINTF
|
||||
REPLACE_VDPRINTF
|
||||
REPLACE_VASPRINTF
|
||||
REPLACE_TMPFILE
|
||||
REPLACE_STDIO_WRITE_FUNCS
|
||||
REPLACE_SPRINTF
|
||||
REPLACE_SNPRINTF
|
||||
REPLACE_RENAMEAT
|
||||
REPLACE_RENAME
|
||||
REPLACE_REMOVE
|
||||
REPLACE_PRINTF
|
||||
REPLACE_POPEN
|
||||
REPLACE_PERROR
|
||||
REPLACE_OBSTACK_PRINTF
|
||||
REPLACE_GETLINE
|
||||
REPLACE_GETDELIM
|
||||
REPLACE_FTELLO
|
||||
REPLACE_FTELL
|
||||
REPLACE_FSEEKO
|
||||
REPLACE_FSEEK
|
||||
REPLACE_FREOPEN
|
||||
REPLACE_FPURGE
|
||||
REPLACE_FPRINTF
|
||||
REPLACE_FOPEN
|
||||
REPLACE_FFLUSH
|
||||
REPLACE_FCLOSE
|
||||
REPLACE_DPRINTF
|
||||
HAVE_VDPRINTF
|
||||
HAVE_VASPRINTF
|
||||
HAVE_RENAMEAT
|
||||
HAVE_FTELLO
|
||||
HAVE_FSEEKO
|
||||
HAVE_DPRINTF
|
||||
HAVE_DECL_VSNPRINTF
|
||||
HAVE_DECL_SNPRINTF
|
||||
HAVE_DECL_OBSTACK_PRINTF
|
||||
HAVE_DECL_GETLINE
|
||||
HAVE_DECL_GETDELIM
|
||||
HAVE_DECL_FTELLO
|
||||
HAVE_DECL_FSEEKO
|
||||
HAVE_DECL_FPURGE
|
||||
GNULIB_VSPRINTF_POSIX
|
||||
GNULIB_VSNPRINTF
|
||||
GNULIB_VPRINTF_POSIX
|
||||
GNULIB_VPRINTF
|
||||
GNULIB_VFPRINTF_POSIX
|
||||
GNULIB_VFPRINTF
|
||||
GNULIB_VDPRINTF
|
||||
GNULIB_VASPRINTF
|
||||
GNULIB_TMPFILE
|
||||
GNULIB_STDIO_H_SIGPIPE
|
||||
GNULIB_SPRINTF_POSIX
|
||||
GNULIB_SNPRINTF
|
||||
GNULIB_RENAMEAT
|
||||
GNULIB_RENAME
|
||||
GNULIB_REMOVE
|
||||
GNULIB_PUTS
|
||||
GNULIB_PUTCHAR
|
||||
GNULIB_PUTC
|
||||
GNULIB_PRINTF_POSIX
|
||||
GNULIB_PRINTF
|
||||
GNULIB_POPEN
|
||||
GNULIB_PERROR
|
||||
GNULIB_OBSTACK_PRINTF_POSIX
|
||||
GNULIB_OBSTACK_PRINTF
|
||||
GNULIB_GETLINE
|
||||
GNULIB_GETDELIM
|
||||
GNULIB_FWRITE
|
||||
GNULIB_FTELLO
|
||||
GNULIB_FTELL
|
||||
GNULIB_FSEEKO
|
||||
GNULIB_FSEEK
|
||||
GNULIB_FREOPEN
|
||||
GNULIB_FPUTS
|
||||
GNULIB_FPUTC
|
||||
GNULIB_FPURGE
|
||||
GNULIB_FPRINTF_POSIX
|
||||
GNULIB_FPRINTF
|
||||
GNULIB_FOPEN
|
||||
GNULIB_FFLUSH
|
||||
GNULIB_FCLOSE
|
||||
GNULIB_DPRINTF
|
||||
STDINT_H
|
||||
WINT_T_SUFFIX
|
||||
WCHAR_T_SUFFIX
|
||||
@ -3958,7 +4045,7 @@ fi
|
||||
if test "${enable_maintainer_mode+set}" = set; then :
|
||||
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
|
||||
else
|
||||
USE_MAINTAINER_MODE=no
|
||||
USE_MAINTAINER_MODE=yes
|
||||
fi
|
||||
|
||||
if test $USE_MAINTAINER_MODE = yes; then
|
||||
@ -6147,6 +6234,7 @@ $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
|
||||
# Code from module stdbool:
|
||||
# Code from module stddef:
|
||||
# Code from module stdint:
|
||||
# Code from module stdio:
|
||||
# Code from module stdlib:
|
||||
# Code from module strftime:
|
||||
# Code from module symlink:
|
||||
@ -15039,6 +15127,93 @@ $as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h
|
||||
|
||||
|
||||
|
||||
GNULIB_DPRINTF=0;
|
||||
GNULIB_FCLOSE=0;
|
||||
GNULIB_FFLUSH=0;
|
||||
GNULIB_FOPEN=0;
|
||||
GNULIB_FPRINTF=0;
|
||||
GNULIB_FPRINTF_POSIX=0;
|
||||
GNULIB_FPURGE=0;
|
||||
GNULIB_FPUTC=0;
|
||||
GNULIB_FPUTS=0;
|
||||
GNULIB_FREOPEN=0;
|
||||
GNULIB_FSEEK=0;
|
||||
GNULIB_FSEEKO=0;
|
||||
GNULIB_FTELL=0;
|
||||
GNULIB_FTELLO=0;
|
||||
GNULIB_FWRITE=0;
|
||||
GNULIB_GETDELIM=0;
|
||||
GNULIB_GETLINE=0;
|
||||
GNULIB_OBSTACK_PRINTF=0;
|
||||
GNULIB_OBSTACK_PRINTF_POSIX=0;
|
||||
GNULIB_PERROR=0;
|
||||
GNULIB_POPEN=0;
|
||||
GNULIB_PRINTF=0;
|
||||
GNULIB_PRINTF_POSIX=0;
|
||||
GNULIB_PUTC=0;
|
||||
GNULIB_PUTCHAR=0;
|
||||
GNULIB_PUTS=0;
|
||||
GNULIB_REMOVE=0;
|
||||
GNULIB_RENAME=0;
|
||||
GNULIB_RENAMEAT=0;
|
||||
GNULIB_SNPRINTF=0;
|
||||
GNULIB_SPRINTF_POSIX=0;
|
||||
GNULIB_STDIO_H_SIGPIPE=0;
|
||||
GNULIB_TMPFILE=0;
|
||||
GNULIB_VASPRINTF=0;
|
||||
GNULIB_VDPRINTF=0;
|
||||
GNULIB_VFPRINTF=0;
|
||||
GNULIB_VFPRINTF_POSIX=0;
|
||||
GNULIB_VPRINTF=0;
|
||||
GNULIB_VPRINTF_POSIX=0;
|
||||
GNULIB_VSNPRINTF=0;
|
||||
GNULIB_VSPRINTF_POSIX=0;
|
||||
HAVE_DECL_FPURGE=1;
|
||||
HAVE_DECL_FSEEKO=1;
|
||||
HAVE_DECL_FTELLO=1;
|
||||
HAVE_DECL_GETDELIM=1;
|
||||
HAVE_DECL_GETLINE=1;
|
||||
HAVE_DECL_OBSTACK_PRINTF=1;
|
||||
HAVE_DECL_SNPRINTF=1;
|
||||
HAVE_DECL_VSNPRINTF=1;
|
||||
HAVE_DPRINTF=1;
|
||||
HAVE_FSEEKO=1;
|
||||
HAVE_FTELLO=1;
|
||||
HAVE_RENAMEAT=1;
|
||||
HAVE_VASPRINTF=1;
|
||||
HAVE_VDPRINTF=1;
|
||||
REPLACE_DPRINTF=0;
|
||||
REPLACE_FCLOSE=0;
|
||||
REPLACE_FFLUSH=0;
|
||||
REPLACE_FOPEN=0;
|
||||
REPLACE_FPRINTF=0;
|
||||
REPLACE_FPURGE=0;
|
||||
REPLACE_FREOPEN=0;
|
||||
REPLACE_FSEEK=0;
|
||||
REPLACE_FSEEKO=0;
|
||||
REPLACE_FTELL=0;
|
||||
REPLACE_FTELLO=0;
|
||||
REPLACE_GETDELIM=0;
|
||||
REPLACE_GETLINE=0;
|
||||
REPLACE_OBSTACK_PRINTF=0;
|
||||
REPLACE_PERROR=0;
|
||||
REPLACE_POPEN=0;
|
||||
REPLACE_PRINTF=0;
|
||||
REPLACE_REMOVE=0;
|
||||
REPLACE_RENAME=0;
|
||||
REPLACE_RENAMEAT=0;
|
||||
REPLACE_SNPRINTF=0;
|
||||
REPLACE_SPRINTF=0;
|
||||
REPLACE_STDIO_WRITE_FUNCS=0;
|
||||
REPLACE_TMPFILE=0;
|
||||
REPLACE_VASPRINTF=0;
|
||||
REPLACE_VDPRINTF=0;
|
||||
REPLACE_VFPRINTF=0;
|
||||
REPLACE_VPRINTF=0;
|
||||
REPLACE_VSNPRINTF=0;
|
||||
REPLACE_VSPRINTF=0;
|
||||
|
||||
|
||||
ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h>
|
||||
"
|
||||
if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes; then :
|
||||
@ -17366,6 +17541,77 @@ _ACEOF
|
||||
fi
|
||||
|
||||
|
||||
# Code from module stdio:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if test $gl_cv_have_include_next = yes; then
|
||||
gl_cv_next_stdio_h='<'stdio.h'>'
|
||||
else
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdio.h>" >&5
|
||||
$as_echo_n "checking absolute name of <stdio.h>... " >&6; }
|
||||
if ${gl_cv_next_stdio_h+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
#include <stdio.h>
|
||||
|
||||
_ACEOF
|
||||
case "$host_os" in
|
||||
aix*) gl_absname_cpp="$ac_cpp -C" ;;
|
||||
*) gl_absname_cpp="$ac_cpp" ;;
|
||||
esac
|
||||
gl_cv_next_stdio_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
|
||||
sed -n '\#/stdio.h#{
|
||||
s#.*"\(.*/stdio.h\)".*#\1#
|
||||
s#^/[^/]#//&#
|
||||
p
|
||||
q
|
||||
}'`'"'
|
||||
|
||||
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdio_h" >&5
|
||||
$as_echo "$gl_cv_next_stdio_h" >&6; }
|
||||
fi
|
||||
NEXT_STDIO_H=$gl_cv_next_stdio_h
|
||||
|
||||
if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
|
||||
# INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
|
||||
gl_next_as_first_directive='<'stdio.h'>'
|
||||
else
|
||||
# INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
|
||||
gl_next_as_first_directive=$gl_cv_next_stdio_h
|
||||
fi
|
||||
NEXT_AS_FIRST_DIRECTIVE_STDIO_H=$gl_next_as_first_directive
|
||||
|
||||
|
||||
|
||||
|
||||
GNULIB_FPRINTF=1
|
||||
GNULIB_PRINTF=1
|
||||
GNULIB_VFPRINTF=1
|
||||
GNULIB_VPRINTF=1
|
||||
GNULIB_FPUTC=1
|
||||
GNULIB_PUTC=1
|
||||
GNULIB_PUTCHAR=1
|
||||
GNULIB_FPUTS=1
|
||||
GNULIB_PUTS=1
|
||||
GNULIB_FWRITE=1
|
||||
|
||||
|
||||
|
||||
|
||||
# Code from module stdlib:
|
||||
|
||||
|
||||
|
@ -229,7 +229,7 @@ AC_ARG_ENABLE(maintainer-mode,
|
||||
[enable make rules and dependencies not useful (and sometimes
|
||||
confusing) to the casual installer])],
|
||||
USE_MAINTAINER_MODE=$enableval,
|
||||
USE_MAINTAINER_MODE=no)
|
||||
USE_MAINTAINER_MODE=yes)
|
||||
if test $USE_MAINTAINER_MODE = yes; then
|
||||
MAINT=
|
||||
else
|
||||
@ -2256,7 +2256,7 @@ if test "${HAVE_X11}" = "yes"; then
|
||||
dnl if -lfreetype is not specified.
|
||||
dnl The following is needed to set FREETYPE_LIBS.
|
||||
PKG_CHECK_MODULES(FREETYPE, freetype2, HAVE_FREETYPE=yes,
|
||||
HAVE_FREETYPE=no)
|
||||
HAVE_FREETYPE=no)
|
||||
|
||||
test "$HAVE_FREETYPE" = "no" && AC_MSG_ERROR(libxft requires libfreetype)
|
||||
fi
|
||||
|
@ -1,3 +1,11 @@
|
||||
2011-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* strings.texi (String Conversion): Don't mention
|
||||
string-make-(uni|multi)byte (bug#8262).
|
||||
* nonascii.texi (Converting Representations): Fix up range.
|
||||
* keymaps.texi (Key Binding Commands): Update code point, avoid
|
||||
"unibyte character" and remove mention of unibyte bindings.
|
||||
|
||||
2011-03-10 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* modes.texi (Operator Precedence Grammars): Don't use characters
|
||||
|
@ -1705,15 +1705,11 @@ or
|
||||
|
||||
@noindent
|
||||
and your language environment is multibyte Latin-1, these commands
|
||||
actually bind the multibyte character with code 2294, not the unibyte
|
||||
Latin-1 character with code 246 (@kbd{M-v}). In order to use this
|
||||
binding, you need to enter the multibyte Latin-1 character as keyboard
|
||||
input. One way to do this is by using an appropriate input method
|
||||
(@pxref{Input Methods, , Input Methods, emacs, The GNU Emacs Manual}).
|
||||
|
||||
If you want to use a unibyte character in the key binding, you can
|
||||
construct the key sequence string using @code{multibyte-char-to-unibyte}
|
||||
or @code{string-make-unibyte} (@pxref{Converting Representations}).
|
||||
actually bind the multibyte character with code 246, not the byte
|
||||
code 246 (@kbd{M-v}) sent by a Latin-1 terminal. In order to use this
|
||||
binding, you need to teach Emacs how to decode the keyboard by using an
|
||||
appropriate input method (@pxref{Input Methods, , Input Methods, emacs, The GNU
|
||||
Emacs Manual}).
|
||||
|
||||
@deffn Command global-set-key key binding
|
||||
This function sets the binding of @var{key} in the current global map
|
||||
|
@ -167,7 +167,7 @@ acceptable because the buffer's representation is a choice made by the
|
||||
user that cannot be overridden automatically.
|
||||
|
||||
Converting unibyte text to multibyte text leaves @acronym{ASCII}
|
||||
characters unchanged, and converts bytes with codes 128 through 159 to
|
||||
characters unchanged, and converts bytes with codes 128 through 255 to
|
||||
the multibyte representation of raw eight-bit bytes.
|
||||
|
||||
Converting multibyte text to unibyte converts all @acronym{ASCII}
|
||||
|
@ -554,8 +554,8 @@ strings and integers. @code{format} (@pxref{Formatting Strings}) and
|
||||
@code{prin1-to-string} (@pxref{Output Functions}) can also convert
|
||||
Lisp objects into strings. @code{read-from-string} (@pxref{Input
|
||||
Functions}) can ``convert'' a string representation of a Lisp object
|
||||
into an object. The functions @code{string-make-multibyte} and
|
||||
@code{string-make-unibyte} convert the text representation of a string
|
||||
into an object. The functions @code{string-to-multibyte} and
|
||||
@code{string-to-unibyte} convert the text representation of a string
|
||||
(@pxref{Converting Representations}).
|
||||
|
||||
@xref{Documentation}, for functions that produce textual descriptions
|
||||
|
@ -2,6 +2,11 @@
|
||||
|
||||
* calc.texi (Logarithmic Units): Update the function names.
|
||||
|
||||
2011-03-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
|
||||
|
||||
* message.texi (Various Commands): Document format specs in the
|
||||
ellipsis.
|
||||
|
||||
2011-03-15 Antoine Levitt <antoine.levitt@gmail.com>
|
||||
|
||||
* message.texi (Insertion Variables): Document message-cite-style.
|
||||
|
@ -1202,6 +1202,10 @@ The text is killed and replaced with the contents of the variable
|
||||
@code{message-elide-ellipsis}. The default value is to use an ellipsis
|
||||
(@samp{[...]}).
|
||||
|
||||
This is a format-spec string, and you can use @samp{%l} to say how
|
||||
many lines were removed, and @samp{%c} to say how many characters were
|
||||
removed.
|
||||
|
||||
@item C-c M-k
|
||||
@kindex C-c M-k
|
||||
@findex message-kill-address
|
||||
|
@ -24,15 +24,15 @@
|
||||
2011-02-17 Ken Manheimer <ken.manheimer@gmail.com>
|
||||
|
||||
* etc/images/icons/allout-widgets/dark-bg,
|
||||
etc/images/icons/allout-widgets/light-bg,
|
||||
encrypted-locked.{xpm,png}, unlocked-encrypted.{xpm,png}:
|
||||
* etc/images/icons/allout-widgets/light-bg,
|
||||
* encrypted-locked.{xpm,png}, unlocked-encrypted.{xpm,png}:
|
||||
Reorganize icon directories and files to reconcile against windows
|
||||
short-filename clashes.
|
||||
|
||||
2011-02-16 Ken Manheimer <ken.manheimer@gmail.com>
|
||||
|
||||
* etc/images/icons/allout-widgets-dark-bg,
|
||||
etc/images/icons/allout-widgets-light-bg: Icons for new
|
||||
* etc/images/icons/allout-widgets-light-bg: Icons for new
|
||||
allout-widgets.el.
|
||||
|
||||
* etc/images/icons/README: Include coypright and GPL 3 license for
|
||||
|
28
etc/NEWS
28
etc/NEWS
@ -81,6 +81,9 @@ error, its exit status is 1.
|
||||
|
||||
** Completion can cycle, depending on completion-cycle-threshold.
|
||||
|
||||
** `completing-read' can be customized using the new variable
|
||||
`completing-read-function'
|
||||
|
||||
** auto-mode-case-fold is now enabled by default.
|
||||
|
||||
+++
|
||||
@ -185,8 +188,8 @@ If you have code that adds something to kill-emacs-hook, you should
|
||||
consider if it is still appropriate to add it in the noninteractive case.
|
||||
|
||||
** New scrolling commands `scroll-up-command' and `scroll-down-command'
|
||||
(bound to C-v/[next] and M-v/[prior]) does not signal errors at top/bottom
|
||||
of buffer at first key-press (instead moves to top/bottom of buffer)
|
||||
(bound to C-v/[next] and M-v/[prior]) do not signal errors at top/bottom
|
||||
of buffer at first key-press (instead move to top/bottom of buffer)
|
||||
when a new variable `scroll-error-top-bottom' is non-nil.
|
||||
|
||||
** New scrolling commands `scroll-up-line' and `scroll-down-line'
|
||||
@ -365,7 +368,7 @@ Just set shell-dir-cookie-re to an appropriate regexp.
|
||||
** Archive Mode has basic support to browse 7z archives.
|
||||
|
||||
** browse-url has gotten a new variable that is used for mailto: URLs,
|
||||
`browse-url-mailto-function', which defaults to `browse-url-mail'.
|
||||
`browse-url-mailto-function', which defaults to `browse-url-mail'.
|
||||
|
||||
** Directory local variables can apply to file-less buffers, in certain modes
|
||||
(eg dired, vc-dir, log-edit). For example, adding
|
||||
@ -702,15 +705,14 @@ FIXME: This only says what was changed, but not what are the
|
||||
programmer-visible consequences.
|
||||
|
||||
** Passing a nil argument to a minor mode function now turns the mode
|
||||
ON unconditionally.
|
||||
ON unconditionally.
|
||||
|
||||
** During startup, Emacs no longer adds entries for `menu-bar-lines'
|
||||
and `tool-bar-lines' to `default-frame-alist' and
|
||||
`initial-frame-alist'. With these alist entries omitted, `make-frame'
|
||||
checks the value of the variable `menu-bar-mode'/`tool-bar-mode' to
|
||||
determine whether to create a menu-bar or tool-bar, respectively.
|
||||
If the alist entries are added, they override the value of
|
||||
`menu-bar-mode'/`tool-bar-mode'.
|
||||
and `tool-bar-lines' to `default-frame-alist' and `initial-frame-alist'.
|
||||
With these alist entries omitted, `make-frame' checks the value of the
|
||||
variable `menu-bar-mode'/`tool-bar-mode' to determine whether to create
|
||||
a menu-bar or tool-bar, respectively. If the alist entries are added,
|
||||
they override the value of `menu-bar-mode'/`tool-bar-mode'.
|
||||
|
||||
** Regions created by mouse dragging are now normal active regions,
|
||||
similar to the ones created by shift-selection. In previous Emacs
|
||||
@ -830,13 +832,13 @@ displayed with a "spinning bar".
|
||||
|
||||
* Changes in Emacs 24.1 on non-free operating systems
|
||||
|
||||
** New configure.bat option --enable-checking builds emacs with extra
|
||||
** New configure.bat option --enable-checking builds Emacs with extra
|
||||
runtime checks.
|
||||
|
||||
** New configure.bat option --distfiles to specify files to be
|
||||
included in binary distribution
|
||||
included in binary distribution.
|
||||
|
||||
** New make target `dist' to create binary distribution for MS Windows
|
||||
** New make target `dist' to create binary distribution for MS Windows.
|
||||
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
@ -1,3 +1,12 @@
|
||||
2011-03-21 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
fakemail: Remove dependency on ignore-value.
|
||||
This undoes some of the recent fakemail-related changes.
|
||||
It is made possible due to recent changes to gnulib's stdio module.
|
||||
* Makefile.in (fakemail${EXEEXT}): Do not depend on ignore-value.h.
|
||||
* fakemail.c: Do not include ignore-value.h.
|
||||
(put_line): Do not use ignore_value.
|
||||
|
||||
2011-03-03 Drake Wilson <drake@begriffli.ch> (tiny change)
|
||||
|
||||
* emacsclient.c (longopts): Add quiet.
|
||||
|
@ -353,7 +353,7 @@ movemail.o: ${srcdir}/movemail.c ../src/config.h
|
||||
pop.o: ${srcdir}/pop.c ${srcdir}/../lib/min-max.h ../src/config.h
|
||||
$(CC) -c ${CPP_CFLAGS} ${MOVE_FLAGS} ${srcdir}/pop.c
|
||||
|
||||
fakemail${EXEEXT}: ${srcdir}/fakemail.c ${srcdir}/../lib/ignore-value.h ../src/config.h
|
||||
fakemail${EXEEXT}: ${srcdir}/fakemail.c ../src/config.h
|
||||
$(CC) ${ALL_CFLAGS} ${srcdir}/fakemail.c $(LOADLIBES) -o fakemail
|
||||
|
||||
emacsclient${EXEEXT}: ${srcdir}/emacsclient.c ../src/config.h
|
||||
|
@ -62,8 +62,6 @@ main ()
|
||||
|
||||
/* This is to declare cuserid. */
|
||||
#include <unistd.h>
|
||||
|
||||
#include <ignore-value.h>
|
||||
|
||||
/* Type definitions */
|
||||
|
||||
@ -500,7 +498,7 @@ put_line (const char *string)
|
||||
}
|
||||
}
|
||||
/* Output that much, then break the line. */
|
||||
ignore_value (fwrite (s, 1, breakpos - s, rem->handle));
|
||||
fwrite (s, 1, breakpos - s, rem->handle);
|
||||
column = 8;
|
||||
|
||||
/* Skip whitespace and prepare to print more addresses. */
|
||||
|
218
lib/Makefile.in
218
lib/Makefile.in
@ -24,7 +24,7 @@
|
||||
# the same distribution terms as the rest of that program.
|
||||
#
|
||||
# Generated by gnulib-tool.
|
||||
# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=. --makefile-name=gnulib.mk --no-libtool --macro-prefix=gl --no-vc-files crypto/md5 dtoastr filemode getloadavg getopt-gnu ignore-value intprops lstat mktime readlink socklen strftime symlink sys_stat
|
||||
# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=. --makefile-name=gnulib.mk --no-libtool --macro-prefix=gl --no-vc-files crypto/md5 dtoastr filemode getloadavg getopt-gnu ignore-value intprops lstat mktime readlink socklen stdio strftime symlink sys_stat
|
||||
|
||||
VPATH = @srcdir@
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
@ -60,12 +60,12 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
|
||||
$(top_srcdir)/m4/readlink.m4 $(top_srcdir)/m4/socklen.m4 \
|
||||
$(top_srcdir)/m4/st_dm_mode.m4 $(top_srcdir)/m4/stat.m4 \
|
||||
$(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stddef_h.m4 \
|
||||
$(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdlib_h.m4 \
|
||||
$(top_srcdir)/m4/strftime.m4 $(top_srcdir)/m4/symlink.m4 \
|
||||
$(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/time_h.m4 \
|
||||
$(top_srcdir)/m4/time_r.m4 $(top_srcdir)/m4/tm_gmtoff.m4 \
|
||||
$(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/wchar_t.m4 \
|
||||
$(top_srcdir)/configure.in
|
||||
$(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdio_h.m4 \
|
||||
$(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strftime.m4 \
|
||||
$(top_srcdir)/m4/symlink.m4 $(top_srcdir)/m4/sys_stat_h.m4 \
|
||||
$(top_srcdir)/m4/time_h.m4 $(top_srcdir)/m4/time_r.m4 \
|
||||
$(top_srcdir)/m4/tm_gmtoff.m4 $(top_srcdir)/m4/unistd_h.m4 \
|
||||
$(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/configure.in
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
@ -151,6 +151,7 @@ GNULIB_CALLOC_POSIX = @GNULIB_CALLOC_POSIX@
|
||||
GNULIB_CANONICALIZE_FILE_NAME = @GNULIB_CANONICALIZE_FILE_NAME@
|
||||
GNULIB_CHOWN = @GNULIB_CHOWN@
|
||||
GNULIB_CLOSE = @GNULIB_CLOSE@
|
||||
GNULIB_DPRINTF = @GNULIB_DPRINTF@
|
||||
GNULIB_DUP2 = @GNULIB_DUP2@
|
||||
GNULIB_DUP3 = @GNULIB_DUP3@
|
||||
GNULIB_ENVIRON = @GNULIB_ENVIRON@
|
||||
@ -159,15 +160,31 @@ GNULIB_FACCESSAT = @GNULIB_FACCESSAT@
|
||||
GNULIB_FCHDIR = @GNULIB_FCHDIR@
|
||||
GNULIB_FCHMODAT = @GNULIB_FCHMODAT@
|
||||
GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@
|
||||
GNULIB_FCLOSE = @GNULIB_FCLOSE@
|
||||
GNULIB_FFLUSH = @GNULIB_FFLUSH@
|
||||
GNULIB_FOPEN = @GNULIB_FOPEN@
|
||||
GNULIB_FPRINTF = @GNULIB_FPRINTF@
|
||||
GNULIB_FPRINTF_POSIX = @GNULIB_FPRINTF_POSIX@
|
||||
GNULIB_FPURGE = @GNULIB_FPURGE@
|
||||
GNULIB_FPUTC = @GNULIB_FPUTC@
|
||||
GNULIB_FPUTS = @GNULIB_FPUTS@
|
||||
GNULIB_FREOPEN = @GNULIB_FREOPEN@
|
||||
GNULIB_FSEEK = @GNULIB_FSEEK@
|
||||
GNULIB_FSEEKO = @GNULIB_FSEEKO@
|
||||
GNULIB_FSTATAT = @GNULIB_FSTATAT@
|
||||
GNULIB_FSYNC = @GNULIB_FSYNC@
|
||||
GNULIB_FTELL = @GNULIB_FTELL@
|
||||
GNULIB_FTELLO = @GNULIB_FTELLO@
|
||||
GNULIB_FTRUNCATE = @GNULIB_FTRUNCATE@
|
||||
GNULIB_FUTIMENS = @GNULIB_FUTIMENS@
|
||||
GNULIB_FWRITE = @GNULIB_FWRITE@
|
||||
GNULIB_GETCWD = @GNULIB_GETCWD@
|
||||
GNULIB_GETDELIM = @GNULIB_GETDELIM@
|
||||
GNULIB_GETDOMAINNAME = @GNULIB_GETDOMAINNAME@
|
||||
GNULIB_GETDTABLESIZE = @GNULIB_GETDTABLESIZE@
|
||||
GNULIB_GETGROUPS = @GNULIB_GETGROUPS@
|
||||
GNULIB_GETHOSTNAME = @GNULIB_GETHOSTNAME@
|
||||
GNULIB_GETLINE = @GNULIB_GETLINE@
|
||||
GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@
|
||||
GNULIB_GETLOGIN = @GNULIB_GETLOGIN@
|
||||
GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@
|
||||
@ -195,22 +212,37 @@ GNULIB_MKSTEMP = @GNULIB_MKSTEMP@
|
||||
GNULIB_MKSTEMPS = @GNULIB_MKSTEMPS@
|
||||
GNULIB_MKTIME = @GNULIB_MKTIME@
|
||||
GNULIB_NANOSLEEP = @GNULIB_NANOSLEEP@
|
||||
GNULIB_OBSTACK_PRINTF = @GNULIB_OBSTACK_PRINTF@
|
||||
GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@
|
||||
GNULIB_PERROR = @GNULIB_PERROR@
|
||||
GNULIB_PIPE = @GNULIB_PIPE@
|
||||
GNULIB_PIPE2 = @GNULIB_PIPE2@
|
||||
GNULIB_POPEN = @GNULIB_POPEN@
|
||||
GNULIB_PREAD = @GNULIB_PREAD@
|
||||
GNULIB_PRINTF = @GNULIB_PRINTF@
|
||||
GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@
|
||||
GNULIB_PTSNAME = @GNULIB_PTSNAME@
|
||||
GNULIB_PUTC = @GNULIB_PUTC@
|
||||
GNULIB_PUTCHAR = @GNULIB_PUTCHAR@
|
||||
GNULIB_PUTENV = @GNULIB_PUTENV@
|
||||
GNULIB_PUTS = @GNULIB_PUTS@
|
||||
GNULIB_PWRITE = @GNULIB_PWRITE@
|
||||
GNULIB_RANDOM_R = @GNULIB_RANDOM_R@
|
||||
GNULIB_READLINK = @GNULIB_READLINK@
|
||||
GNULIB_READLINKAT = @GNULIB_READLINKAT@
|
||||
GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@
|
||||
GNULIB_REALPATH = @GNULIB_REALPATH@
|
||||
GNULIB_REMOVE = @GNULIB_REMOVE@
|
||||
GNULIB_RENAME = @GNULIB_RENAME@
|
||||
GNULIB_RENAMEAT = @GNULIB_RENAMEAT@
|
||||
GNULIB_RMDIR = @GNULIB_RMDIR@
|
||||
GNULIB_RPMATCH = @GNULIB_RPMATCH@
|
||||
GNULIB_SETENV = @GNULIB_SETENV@
|
||||
GNULIB_SLEEP = @GNULIB_SLEEP@
|
||||
GNULIB_SNPRINTF = @GNULIB_SNPRINTF@
|
||||
GNULIB_SPRINTF_POSIX = @GNULIB_SPRINTF_POSIX@
|
||||
GNULIB_STAT = @GNULIB_STAT@
|
||||
GNULIB_STDIO_H_SIGPIPE = @GNULIB_STDIO_H_SIGPIPE@
|
||||
GNULIB_STRPTIME = @GNULIB_STRPTIME@
|
||||
GNULIB_STRTOD = @GNULIB_STRTOD@
|
||||
GNULIB_STRTOLL = @GNULIB_STRTOLL@
|
||||
@ -220,6 +252,7 @@ GNULIB_SYMLINKAT = @GNULIB_SYMLINKAT@
|
||||
GNULIB_SYSTEM_POSIX = @GNULIB_SYSTEM_POSIX@
|
||||
GNULIB_TIMEGM = @GNULIB_TIMEGM@
|
||||
GNULIB_TIME_R = @GNULIB_TIME_R@
|
||||
GNULIB_TMPFILE = @GNULIB_TMPFILE@
|
||||
GNULIB_TTYNAME_R = @GNULIB_TTYNAME_R@
|
||||
GNULIB_UNISTD_H_GETOPT = @GNULIB_UNISTD_H_GETOPT@
|
||||
GNULIB_UNISTD_H_SIGPIPE = @GNULIB_UNISTD_H_SIGPIPE@
|
||||
@ -229,6 +262,14 @@ GNULIB_UNLOCKPT = @GNULIB_UNLOCKPT@
|
||||
GNULIB_UNSETENV = @GNULIB_UNSETENV@
|
||||
GNULIB_USLEEP = @GNULIB_USLEEP@
|
||||
GNULIB_UTIMENSAT = @GNULIB_UTIMENSAT@
|
||||
GNULIB_VASPRINTF = @GNULIB_VASPRINTF@
|
||||
GNULIB_VDPRINTF = @GNULIB_VDPRINTF@
|
||||
GNULIB_VFPRINTF = @GNULIB_VFPRINTF@
|
||||
GNULIB_VFPRINTF_POSIX = @GNULIB_VFPRINTF_POSIX@
|
||||
GNULIB_VPRINTF = @GNULIB_VPRINTF@
|
||||
GNULIB_VPRINTF_POSIX = @GNULIB_VPRINTF_POSIX@
|
||||
GNULIB_VSNPRINTF = @GNULIB_VSNPRINTF@
|
||||
GNULIB_VSPRINTF_POSIX = @GNULIB_VSPRINTF_POSIX@
|
||||
GNULIB_WCTOMB = @GNULIB_WCTOMB@
|
||||
GNULIB_WRITE = @GNULIB_WRITE@
|
||||
GNULIB__EXIT = @GNULIB__EXIT@
|
||||
@ -244,15 +285,24 @@ HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@
|
||||
HAVE_CHOWN = @HAVE_CHOWN@
|
||||
HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@
|
||||
HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@
|
||||
HAVE_DECL_FPURGE = @HAVE_DECL_FPURGE@
|
||||
HAVE_DECL_FSEEKO = @HAVE_DECL_FSEEKO@
|
||||
HAVE_DECL_FTELLO = @HAVE_DECL_FTELLO@
|
||||
HAVE_DECL_GETDELIM = @HAVE_DECL_GETDELIM@
|
||||
HAVE_DECL_GETDOMAINNAME = @HAVE_DECL_GETDOMAINNAME@
|
||||
HAVE_DECL_GETLINE = @HAVE_DECL_GETLINE@
|
||||
HAVE_DECL_GETLOADAVG = @HAVE_DECL_GETLOADAVG@
|
||||
HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@
|
||||
HAVE_DECL_GETPAGESIZE = @HAVE_DECL_GETPAGESIZE@
|
||||
HAVE_DECL_GETUSERSHELL = @HAVE_DECL_GETUSERSHELL@
|
||||
HAVE_DECL_LOCALTIME_R = @HAVE_DECL_LOCALTIME_R@
|
||||
HAVE_DECL_OBSTACK_PRINTF = @HAVE_DECL_OBSTACK_PRINTF@
|
||||
HAVE_DECL_SETENV = @HAVE_DECL_SETENV@
|
||||
HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@
|
||||
HAVE_DECL_TTYNAME_R = @HAVE_DECL_TTYNAME_R@
|
||||
HAVE_DECL_UNSETENV = @HAVE_DECL_UNSETENV@
|
||||
HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@
|
||||
HAVE_DPRINTF = @HAVE_DPRINTF@
|
||||
HAVE_DUP2 = @HAVE_DUP2@
|
||||
HAVE_DUP3 = @HAVE_DUP3@
|
||||
HAVE_EUIDACCESS = @HAVE_EUIDACCESS@
|
||||
@ -260,8 +310,10 @@ HAVE_FACCESSAT = @HAVE_FACCESSAT@
|
||||
HAVE_FCHDIR = @HAVE_FCHDIR@
|
||||
HAVE_FCHMODAT = @HAVE_FCHMODAT@
|
||||
HAVE_FCHOWNAT = @HAVE_FCHOWNAT@
|
||||
HAVE_FSEEKO = @HAVE_FSEEKO@
|
||||
HAVE_FSTATAT = @HAVE_FSTATAT@
|
||||
HAVE_FSYNC = @HAVE_FSYNC@
|
||||
HAVE_FTELLO = @HAVE_FTELLO@
|
||||
HAVE_FTRUNCATE = @HAVE_FTRUNCATE@
|
||||
HAVE_FUTIMENS = @HAVE_FUTIMENS@
|
||||
HAVE_GETDTABLESIZE = @HAVE_GETDTABLESIZE@
|
||||
@ -302,6 +354,7 @@ HAVE_RANDOM_R = @HAVE_RANDOM_R@
|
||||
HAVE_READLINK = @HAVE_READLINK@
|
||||
HAVE_READLINKAT = @HAVE_READLINKAT@
|
||||
HAVE_REALPATH = @HAVE_REALPATH@
|
||||
HAVE_RENAMEAT = @HAVE_RENAMEAT@
|
||||
HAVE_RPMATCH = @HAVE_RPMATCH@
|
||||
HAVE_SETENV = @HAVE_SETENV@
|
||||
HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@
|
||||
@ -328,6 +381,8 @@ HAVE_UNLOCKPT = @HAVE_UNLOCKPT@
|
||||
HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@
|
||||
HAVE_USLEEP = @HAVE_USLEEP@
|
||||
HAVE_UTIMENSAT = @HAVE_UTIMENSAT@
|
||||
HAVE_VASPRINTF = @HAVE_VASPRINTF@
|
||||
HAVE_VDPRINTF = @HAVE_VDPRINTF@
|
||||
HAVE_WCHAR_H = @HAVE_WCHAR_H@
|
||||
HAVE_WCHAR_T = @HAVE_WCHAR_T@
|
||||
HAVE_XSERVER = @HAVE_XSERVER@
|
||||
@ -398,6 +453,7 @@ M_FILE = @M_FILE@
|
||||
NEXT_AS_FIRST_DIRECTIVE_GETOPT_H = @NEXT_AS_FIRST_DIRECTIVE_GETOPT_H@
|
||||
NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@
|
||||
NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@
|
||||
NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@
|
||||
NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@
|
||||
NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@
|
||||
NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@
|
||||
@ -405,6 +461,7 @@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@
|
||||
NEXT_GETOPT_H = @NEXT_GETOPT_H@
|
||||
NEXT_STDDEF_H = @NEXT_STDDEF_H@
|
||||
NEXT_STDINT_H = @NEXT_STDINT_H@
|
||||
NEXT_STDIO_H = @NEXT_STDIO_H@
|
||||
NEXT_STDLIB_H = @NEXT_STDLIB_H@
|
||||
NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@
|
||||
NEXT_TIME_H = @NEXT_TIME_H@
|
||||
@ -439,15 +496,28 @@ REPLACE_CALLOC = @REPLACE_CALLOC@
|
||||
REPLACE_CANONICALIZE_FILE_NAME = @REPLACE_CANONICALIZE_FILE_NAME@
|
||||
REPLACE_CHOWN = @REPLACE_CHOWN@
|
||||
REPLACE_CLOSE = @REPLACE_CLOSE@
|
||||
REPLACE_DPRINTF = @REPLACE_DPRINTF@
|
||||
REPLACE_DUP = @REPLACE_DUP@
|
||||
REPLACE_DUP2 = @REPLACE_DUP2@
|
||||
REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@
|
||||
REPLACE_FCLOSE = @REPLACE_FCLOSE@
|
||||
REPLACE_FFLUSH = @REPLACE_FFLUSH@
|
||||
REPLACE_FOPEN = @REPLACE_FOPEN@
|
||||
REPLACE_FPRINTF = @REPLACE_FPRINTF@
|
||||
REPLACE_FPURGE = @REPLACE_FPURGE@
|
||||
REPLACE_FREOPEN = @REPLACE_FREOPEN@
|
||||
REPLACE_FSEEK = @REPLACE_FSEEK@
|
||||
REPLACE_FSEEKO = @REPLACE_FSEEKO@
|
||||
REPLACE_FSTAT = @REPLACE_FSTAT@
|
||||
REPLACE_FSTATAT = @REPLACE_FSTATAT@
|
||||
REPLACE_FTELL = @REPLACE_FTELL@
|
||||
REPLACE_FTELLO = @REPLACE_FTELLO@
|
||||
REPLACE_FUTIMENS = @REPLACE_FUTIMENS@
|
||||
REPLACE_GETCWD = @REPLACE_GETCWD@
|
||||
REPLACE_GETDELIM = @REPLACE_GETDELIM@
|
||||
REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@
|
||||
REPLACE_GETGROUPS = @REPLACE_GETGROUPS@
|
||||
REPLACE_GETLINE = @REPLACE_GETLINE@
|
||||
REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@
|
||||
REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@
|
||||
REPLACE_LCHOWN = @REPLACE_LCHOWN@
|
||||
@ -465,25 +535,42 @@ REPLACE_MKSTEMP = @REPLACE_MKSTEMP@
|
||||
REPLACE_MKTIME = @REPLACE_MKTIME@
|
||||
REPLACE_NANOSLEEP = @REPLACE_NANOSLEEP@
|
||||
REPLACE_NULL = @REPLACE_NULL@
|
||||
REPLACE_OBSTACK_PRINTF = @REPLACE_OBSTACK_PRINTF@
|
||||
REPLACE_PERROR = @REPLACE_PERROR@
|
||||
REPLACE_POPEN = @REPLACE_POPEN@
|
||||
REPLACE_PREAD = @REPLACE_PREAD@
|
||||
REPLACE_PRINTF = @REPLACE_PRINTF@
|
||||
REPLACE_PUTENV = @REPLACE_PUTENV@
|
||||
REPLACE_PWRITE = @REPLACE_PWRITE@
|
||||
REPLACE_READLINK = @REPLACE_READLINK@
|
||||
REPLACE_REALLOC = @REPLACE_REALLOC@
|
||||
REPLACE_REALPATH = @REPLACE_REALPATH@
|
||||
REPLACE_REMOVE = @REPLACE_REMOVE@
|
||||
REPLACE_RENAME = @REPLACE_RENAME@
|
||||
REPLACE_RENAMEAT = @REPLACE_RENAMEAT@
|
||||
REPLACE_RMDIR = @REPLACE_RMDIR@
|
||||
REPLACE_SETENV = @REPLACE_SETENV@
|
||||
REPLACE_SLEEP = @REPLACE_SLEEP@
|
||||
REPLACE_SNPRINTF = @REPLACE_SNPRINTF@
|
||||
REPLACE_SPRINTF = @REPLACE_SPRINTF@
|
||||
REPLACE_STAT = @REPLACE_STAT@
|
||||
REPLACE_STDIO_WRITE_FUNCS = @REPLACE_STDIO_WRITE_FUNCS@
|
||||
REPLACE_STRTOD = @REPLACE_STRTOD@
|
||||
REPLACE_SYMLINK = @REPLACE_SYMLINK@
|
||||
REPLACE_TIMEGM = @REPLACE_TIMEGM@
|
||||
REPLACE_TMPFILE = @REPLACE_TMPFILE@
|
||||
REPLACE_TTYNAME_R = @REPLACE_TTYNAME_R@
|
||||
REPLACE_UNLINK = @REPLACE_UNLINK@
|
||||
REPLACE_UNLINKAT = @REPLACE_UNLINKAT@
|
||||
REPLACE_UNSETENV = @REPLACE_UNSETENV@
|
||||
REPLACE_USLEEP = @REPLACE_USLEEP@
|
||||
REPLACE_UTIMENSAT = @REPLACE_UTIMENSAT@
|
||||
REPLACE_VASPRINTF = @REPLACE_VASPRINTF@
|
||||
REPLACE_VDPRINTF = @REPLACE_VDPRINTF@
|
||||
REPLACE_VFPRINTF = @REPLACE_VFPRINTF@
|
||||
REPLACE_VPRINTF = @REPLACE_VPRINTF@
|
||||
REPLACE_VSNPRINTF = @REPLACE_VSNPRINTF@
|
||||
REPLACE_VSPRINTF = @REPLACE_VSPRINTF@
|
||||
REPLACE_WCTOMB = @REPLACE_WCTOMB@
|
||||
REPLACE_WRITE = @REPLACE_WRITE@
|
||||
RSVG_CFLAGS = @RSVG_CFLAGS@
|
||||
@ -602,21 +689,22 @@ x_default_search_path = @x_default_search_path@
|
||||
# present in all Makefile.am that need it. This is ensured by the applicability
|
||||
# 'all' defined above.
|
||||
BUILT_SOURCES = arg-nonnull.h c++defs.h $(GETOPT_H) $(STDBOOL_H) \
|
||||
$(STDDEF_H) $(STDINT_H) stdlib.h sys/stat.h time.h unistd.h \
|
||||
warn-on-use.h
|
||||
$(STDDEF_H) $(STDINT_H) stdio.h stdlib.h sys/stat.h time.h \
|
||||
unistd.h warn-on-use.h
|
||||
EXTRA_DIST = $(top_srcdir)/./arg-nonnull.h $(top_srcdir)/./c++defs.h \
|
||||
md5.c md5.h dosname.h ftoastr.c ftoastr.h filemode.c \
|
||||
filemode.h getloadavg.c getopt.c getopt.in.h getopt1.c \
|
||||
getopt_int.h intprops.h lstat.c mktime-internal.h mktime.c \
|
||||
readlink.c stat.c stdbool.in.h stddef.in.h stdint.in.h \
|
||||
stdlib.in.h strftime.c strftime.h symlink.c sys_stat.in.h \
|
||||
time.in.h time_r.c unistd.in.h $(top_srcdir)/./warn-on-use.h
|
||||
stdio.in.h stdlib.in.h strftime.c strftime.h symlink.c \
|
||||
sys_stat.in.h time.in.h time_r.c unistd.in.h \
|
||||
$(top_srcdir)/./warn-on-use.h
|
||||
MOSTLYCLEANDIRS = sys
|
||||
MOSTLYCLEANFILES = core *.stackdump arg-nonnull.h arg-nonnull.h-t \
|
||||
c++defs.h c++defs.h-t getopt.h getopt.h-t stdbool.h \
|
||||
stdbool.h-t stddef.h stddef.h-t stdint.h stdint.h-t stdlib.h \
|
||||
stdlib.h-t sys/stat.h sys/stat.h-t time.h time.h-t unistd.h \
|
||||
unistd.h-t warn-on-use.h warn-on-use.h-t
|
||||
stdbool.h-t stddef.h stddef.h-t stdint.h stdint.h-t stdio.h \
|
||||
stdio.h-t stdlib.h stdlib.h-t sys/stat.h sys/stat.h-t time.h \
|
||||
time.h-t unistd.h unistd.h-t warn-on-use.h warn-on-use.h-t
|
||||
noinst_LIBRARIES = libgnu.a
|
||||
DEFAULT_INCLUDES = -I. -I../src -I$(top_srcdir)/src
|
||||
libgnu_a_SOURCES = dtoastr.c gettext.h ignore-value.h
|
||||
@ -997,6 +1085,108 @@ stdint.h: stdint.in.h
|
||||
} > $@-t && \
|
||||
mv $@-t $@
|
||||
|
||||
# We need the following in order to create <stdio.h> when the system
|
||||
# doesn't have one that works with the given compiler.
|
||||
stdio.h: stdio.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
|
||||
$(AM_V_GEN)rm -f $@-t $@ && \
|
||||
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
|
||||
sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
|
||||
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
|
||||
-e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
|
||||
-e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
|
||||
-e 's|@''GNULIB_DPRINTF''@|$(GNULIB_DPRINTF)|g' \
|
||||
-e 's|@''GNULIB_FCLOSE''@|$(GNULIB_FCLOSE)|g' \
|
||||
-e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
|
||||
-e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \
|
||||
-e 's|@''GNULIB_FPRINTF''@|$(GNULIB_FPRINTF)|g' \
|
||||
-e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
|
||||
-e 's|@''GNULIB_FPURGE''@|$(GNULIB_FPURGE)|g' \
|
||||
-e 's|@''GNULIB_FPUTC''@|$(GNULIB_FPUTC)|g' \
|
||||
-e 's|@''GNULIB_FPUTS''@|$(GNULIB_FPUTS)|g' \
|
||||
-e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \
|
||||
-e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \
|
||||
-e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \
|
||||
-e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
|
||||
-e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
|
||||
-e 's|@''GNULIB_FWRITE''@|$(GNULIB_FWRITE)|g' \
|
||||
-e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \
|
||||
-e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \
|
||||
-e 's|@''GNULIB_OBSTACK_PRINTF''@|$(GNULIB_OBSTACK_PRINTF)|g' \
|
||||
-e 's|@''GNULIB_OBSTACK_PRINTF_POSIX''@|$(GNULIB_OBSTACK_PRINTF_POSIX)|g' \
|
||||
-e 's|@''GNULIB_PERROR''@|$(GNULIB_PERROR)|g' \
|
||||
-e 's|@''GNULIB_POPEN''@|$(GNULIB_POPEN)|g' \
|
||||
-e 's|@''GNULIB_PRINTF''@|$(GNULIB_PRINTF)|g' \
|
||||
-e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
|
||||
-e 's|@''GNULIB_PUTC''@|$(GNULIB_PUTC)|g' \
|
||||
-e 's|@''GNULIB_PUTCHAR''@|$(GNULIB_PUTCHAR)|g' \
|
||||
-e 's|@''GNULIB_PUTS''@|$(GNULIB_PUTS)|g' \
|
||||
-e 's|@''GNULIB_REMOVE''@|$(GNULIB_REMOVE)|g' \
|
||||
-e 's|@''GNULIB_RENAME''@|$(GNULIB_RENAME)|g' \
|
||||
-e 's|@''GNULIB_RENAMEAT''@|$(GNULIB_RENAMEAT)|g' \
|
||||
-e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
|
||||
-e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
|
||||
-e 's|@''GNULIB_STDIO_H_SIGPIPE''@|$(GNULIB_STDIO_H_SIGPIPE)|g' \
|
||||
-e 's|@''GNULIB_TMPFILE''@|$(GNULIB_TMPFILE)|g' \
|
||||
-e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \
|
||||
-e 's|@''GNULIB_VDPRINTF''@|$(GNULIB_VDPRINTF)|g' \
|
||||
-e 's|@''GNULIB_VFPRINTF''@|$(GNULIB_VFPRINTF)|g' \
|
||||
-e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
|
||||
-e 's|@''GNULIB_VPRINTF''@|$(GNULIB_VPRINTF)|g' \
|
||||
-e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
|
||||
-e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
|
||||
-e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
|
||||
< $(srcdir)/stdio.in.h | \
|
||||
sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
|
||||
-e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
|
||||
-e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
|
||||
-e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
|
||||
-e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
|
||||
-e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
|
||||
-e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
|
||||
-e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
|
||||
-e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
|
||||
-e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
|
||||
-e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
|
||||
-e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
|
||||
-e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
|
||||
-e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
|
||||
-e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
|
||||
-e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
|
||||
-e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
|
||||
-e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
|
||||
-e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
|
||||
-e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
|
||||
-e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
|
||||
-e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
|
||||
-e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
|
||||
-e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
|
||||
-e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
|
||||
-e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
|
||||
-e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
|
||||
-e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
|
||||
-e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
|
||||
-e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
|
||||
-e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
|
||||
-e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
|
||||
-e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
|
||||
-e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
|
||||
-e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
|
||||
-e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
|
||||
-e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
|
||||
-e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
|
||||
-e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
|
||||
-e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
|
||||
-e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
|
||||
-e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
|
||||
-e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
|
||||
-e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
|
||||
-e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
|
||||
-e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
|
||||
-e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
|
||||
-e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
|
||||
} > $@-t && \
|
||||
mv $@-t $@
|
||||
|
||||
# We need the following in order to create <stdlib.h> when the system
|
||||
# doesn't have one that works with the given compiler.
|
||||
stdlib.h: stdlib.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
|
||||
|
113
lib/gnulib.mk
113
lib/gnulib.mk
@ -9,7 +9,7 @@
|
||||
# the same distribution terms as the rest of that program.
|
||||
#
|
||||
# Generated by gnulib-tool.
|
||||
# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=. --makefile-name=gnulib.mk --no-libtool --macro-prefix=gl --no-vc-files crypto/md5 dtoastr filemode getloadavg getopt-gnu ignore-value intprops lstat mktime readlink socklen strftime symlink sys_stat
|
||||
# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=. --makefile-name=gnulib.mk --no-libtool --macro-prefix=gl --no-vc-files crypto/md5 dtoastr filemode getloadavg getopt-gnu ignore-value intprops lstat mktime readlink socklen stdio strftime symlink sys_stat
|
||||
|
||||
|
||||
MOSTLYCLEANFILES += core *.stackdump
|
||||
@ -280,6 +280,117 @@ EXTRA_DIST += stdint.in.h
|
||||
|
||||
## end gnulib module stdint
|
||||
|
||||
## begin gnulib module stdio
|
||||
|
||||
BUILT_SOURCES += stdio.h
|
||||
|
||||
# We need the following in order to create <stdio.h> when the system
|
||||
# doesn't have one that works with the given compiler.
|
||||
stdio.h: stdio.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
|
||||
$(AM_V_GEN)rm -f $@-t $@ && \
|
||||
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
|
||||
sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
|
||||
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
|
||||
-e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
|
||||
-e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
|
||||
-e 's|@''GNULIB_DPRINTF''@|$(GNULIB_DPRINTF)|g' \
|
||||
-e 's|@''GNULIB_FCLOSE''@|$(GNULIB_FCLOSE)|g' \
|
||||
-e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
|
||||
-e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \
|
||||
-e 's|@''GNULIB_FPRINTF''@|$(GNULIB_FPRINTF)|g' \
|
||||
-e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
|
||||
-e 's|@''GNULIB_FPURGE''@|$(GNULIB_FPURGE)|g' \
|
||||
-e 's|@''GNULIB_FPUTC''@|$(GNULIB_FPUTC)|g' \
|
||||
-e 's|@''GNULIB_FPUTS''@|$(GNULIB_FPUTS)|g' \
|
||||
-e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \
|
||||
-e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \
|
||||
-e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \
|
||||
-e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
|
||||
-e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
|
||||
-e 's|@''GNULIB_FWRITE''@|$(GNULIB_FWRITE)|g' \
|
||||
-e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \
|
||||
-e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \
|
||||
-e 's|@''GNULIB_OBSTACK_PRINTF''@|$(GNULIB_OBSTACK_PRINTF)|g' \
|
||||
-e 's|@''GNULIB_OBSTACK_PRINTF_POSIX''@|$(GNULIB_OBSTACK_PRINTF_POSIX)|g' \
|
||||
-e 's|@''GNULIB_PERROR''@|$(GNULIB_PERROR)|g' \
|
||||
-e 's|@''GNULIB_POPEN''@|$(GNULIB_POPEN)|g' \
|
||||
-e 's|@''GNULIB_PRINTF''@|$(GNULIB_PRINTF)|g' \
|
||||
-e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
|
||||
-e 's|@''GNULIB_PUTC''@|$(GNULIB_PUTC)|g' \
|
||||
-e 's|@''GNULIB_PUTCHAR''@|$(GNULIB_PUTCHAR)|g' \
|
||||
-e 's|@''GNULIB_PUTS''@|$(GNULIB_PUTS)|g' \
|
||||
-e 's|@''GNULIB_REMOVE''@|$(GNULIB_REMOVE)|g' \
|
||||
-e 's|@''GNULIB_RENAME''@|$(GNULIB_RENAME)|g' \
|
||||
-e 's|@''GNULIB_RENAMEAT''@|$(GNULIB_RENAMEAT)|g' \
|
||||
-e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
|
||||
-e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
|
||||
-e 's|@''GNULIB_STDIO_H_SIGPIPE''@|$(GNULIB_STDIO_H_SIGPIPE)|g' \
|
||||
-e 's|@''GNULIB_TMPFILE''@|$(GNULIB_TMPFILE)|g' \
|
||||
-e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \
|
||||
-e 's|@''GNULIB_VDPRINTF''@|$(GNULIB_VDPRINTF)|g' \
|
||||
-e 's|@''GNULIB_VFPRINTF''@|$(GNULIB_VFPRINTF)|g' \
|
||||
-e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
|
||||
-e 's|@''GNULIB_VPRINTF''@|$(GNULIB_VPRINTF)|g' \
|
||||
-e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
|
||||
-e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
|
||||
-e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
|
||||
< $(srcdir)/stdio.in.h | \
|
||||
sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
|
||||
-e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
|
||||
-e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
|
||||
-e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
|
||||
-e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
|
||||
-e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
|
||||
-e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
|
||||
-e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
|
||||
-e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
|
||||
-e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
|
||||
-e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
|
||||
-e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
|
||||
-e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
|
||||
-e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
|
||||
-e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
|
||||
-e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
|
||||
-e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
|
||||
-e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
|
||||
-e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
|
||||
-e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
|
||||
-e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
|
||||
-e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
|
||||
-e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
|
||||
-e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
|
||||
-e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
|
||||
-e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
|
||||
-e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
|
||||
-e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
|
||||
-e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
|
||||
-e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
|
||||
-e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
|
||||
-e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
|
||||
-e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
|
||||
-e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
|
||||
-e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
|
||||
-e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
|
||||
-e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
|
||||
-e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
|
||||
-e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
|
||||
-e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
|
||||
-e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
|
||||
-e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
|
||||
-e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
|
||||
-e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
|
||||
-e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
|
||||
-e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
|
||||
-e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
|
||||
-e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
|
||||
} > $@-t && \
|
||||
mv $@-t $@
|
||||
MOSTLYCLEANFILES += stdio.h stdio.h-t
|
||||
|
||||
EXTRA_DIST += stdio.in.h
|
||||
|
||||
## end gnulib module stdio
|
||||
|
||||
## begin gnulib module stdlib
|
||||
|
||||
BUILT_SOURCES += stdlib.h
|
||||
|
1119
lib/stdio.in.h
Normal file
1119
lib/stdio.in.h
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,3 +1,73 @@
|
||||
2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
|
||||
|
||||
* calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
|
||||
units and musical notes.
|
||||
|
||||
2011-03-20 Leo <sdl.web@gmail.com>
|
||||
|
||||
* ido.el (ido-read-internal): Use completing-read-default.
|
||||
(ido-completing-read): Fix compatibility with completing-read.
|
||||
|
||||
2011-03-20 Christian Ohler <ohler@gnu.org>
|
||||
|
||||
* emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
|
||||
(ert-delete-all-tests): Use `called-interactively-p' rather than
|
||||
`interactive-p'.
|
||||
(ert--make-xrefs-region): Respect END.
|
||||
|
||||
2011-03-19 Chong Yidong <cyd@stupidchicken.com>
|
||||
|
||||
* dired-aux.el (dired-create-directory): Signal an error if the
|
||||
directory already exists (Bug#8246).
|
||||
|
||||
* facemenu.el (list-colors-display): Call list-faces-display
|
||||
inside with-help-window.
|
||||
(list-colors-print): Use display property to align the final
|
||||
column, instead of checking window-width.
|
||||
|
||||
2011-03-19 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* emerge.el (emerge-metachars): Separate value for ms-dos and
|
||||
windows-nt systems.
|
||||
(emerge-protect-metachars): Quote correctly for ms-dos and
|
||||
windows-nt systems.
|
||||
|
||||
2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
|
||||
|
||||
* info.el (info-initialize): Replace all uses of `:' with
|
||||
path-separator for compatibility with non-Unix systems.
|
||||
Cache quoting of path-separator. (Bug#8258)
|
||||
|
||||
2011-03-19 Juanma Barranquero <lekktu@gmail.com>
|
||||
|
||||
* avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
|
||||
(mouse-avoidance-threshold, mouse-avoidance-banish-destination)
|
||||
(mouse-avoidance-mode): Fix typos in docstrings.
|
||||
|
||||
2011-03-19 Chong Yidong <cyd@stupidchicken.com>
|
||||
|
||||
* startup.el (package-subdirectory-regexp): Move from package.el.
|
||||
Omit \\` and \\', and let callers add them.
|
||||
|
||||
* emacs-lisp/package.el (package-strip-version)
|
||||
(package-load-all-descriptors): Add \\` and \\' to
|
||||
package-subdirectory-regexp before using it.
|
||||
(package-untar-buffer): New arg DIR; ensure that file untars only
|
||||
into this expected directory. Remove superfluous delete-region.
|
||||
(package-unpack): Caller changed.
|
||||
(package-tar-file-info): Use package-subdirectory-regexp.
|
||||
|
||||
2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
|
||||
diff-mode-shared-map (bug#8284).
|
||||
(diff-mode-shared-map): Re-introduce some bindings that were problematic.
|
||||
|
||||
2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
|
||||
|
||||
* calendar/time-date.el (format-seconds): Use assoc instead of
|
||||
assoc-string, since assoc-string doesn't exist in XEmacs.
|
||||
|
||||
2011-03-17 Juanma Barranquero <lekktu@gmail.com>
|
||||
|
||||
* custom.el (custom-known-themes): Reflow docstring.
|
||||
|
@ -76,7 +76,7 @@
|
||||
|
||||
;;;###autoload
|
||||
(defcustom mouse-avoidance-mode nil
|
||||
"Activate mouse avoidance mode.
|
||||
"Activate Mouse Avoidance mode.
|
||||
See function `mouse-avoidance-mode' for possible values.
|
||||
Setting this variable directly does not take effect;
|
||||
use either \\[customize] or the function `mouse-avoidance-mode'."
|
||||
@ -85,8 +85,7 @@ use either \\[customize] or the function `mouse-avoidance-mode'."
|
||||
(mouse-avoidance-mode (or value 'none)))
|
||||
:initialize 'custom-initialize-default
|
||||
:type '(choice (const :tag "none" nil) (const banish) (const jump)
|
||||
(const animate) (const exile) (const proteus)
|
||||
)
|
||||
(const animate) (const exile) (const proteus))
|
||||
:group 'avoid
|
||||
:require 'avoid
|
||||
:version "20.3")
|
||||
@ -94,7 +93,7 @@ use either \\[customize] or the function `mouse-avoidance-mode'."
|
||||
|
||||
(defcustom mouse-avoidance-nudge-dist 15
|
||||
"Average distance that mouse will be moved when approached by cursor.
|
||||
Only applies in Mouse-Avoidance mode `jump' and its derivatives.
|
||||
Only applies in Mouse Avoidance mode `jump' and its derivatives.
|
||||
For best results make this larger than `mouse-avoidance-threshold'."
|
||||
:type 'integer
|
||||
:group 'avoid)
|
||||
@ -112,7 +111,7 @@ For best results make this larger than `mouse-avoidance-threshold'."
|
||||
(defcustom mouse-avoidance-threshold 5
|
||||
"Mouse-pointer's flight distance.
|
||||
If the cursor gets closer than this, the mouse pointer will move away.
|
||||
Only applies in mouse-avoidance-modes `animate' and `jump'."
|
||||
Only applies in Mouse Avoidance modes `animate' and `jump'."
|
||||
:type 'integer
|
||||
:group 'avoid)
|
||||
|
||||
@ -183,7 +182,7 @@ Acceptable distance is defined by `mouse-avoidance-threshold'."
|
||||
mouse-avoidance-threshold))))))
|
||||
|
||||
(defun mouse-avoidance-banish-destination ()
|
||||
"The position to which Mouse-Avoidance mode `banish' moves the mouse.
|
||||
"The position to which Mouse Avoidance mode `banish' moves the mouse.
|
||||
You can redefine this if you want the mouse banished to a different corner."
|
||||
(let* ((pos (window-edges)))
|
||||
(cons (- (nth 2 pos) 2)
|
||||
@ -333,7 +332,7 @@ redefine this function to suit your own tastes."
|
||||
|
||||
;;;###autoload
|
||||
(defun mouse-avoidance-mode (&optional mode)
|
||||
"Set cursor avoidance mode to MODE.
|
||||
"Set Mouse Avoidance mode to MODE.
|
||||
MODE should be one of the symbols `banish', `exile', `jump', `animate',
|
||||
`cat-and-mouse', `proteus', or `none'.
|
||||
|
||||
@ -353,7 +352,7 @@ Effects of the different modes:
|
||||
|
||||
Whenever the mouse is moved, the frame is also raised.
|
||||
|
||||
\(see `mouse-avoidance-threshold' for definition of \"too close\",
|
||||
\(See `mouse-avoidance-threshold' for definition of \"too close\",
|
||||
and `mouse-avoidance-nudge-dist' and `mouse-avoidance-nudge-var' for
|
||||
definition of \"random distance\".)"
|
||||
(interactive
|
||||
|
@ -960,6 +960,111 @@
|
||||
(require 'calc-units)
|
||||
(call-interactively 'calc-view-units-table))
|
||||
:keys "u V"]
|
||||
(list "Logarithmic Units"
|
||||
["Convert (1:) to dB (power)"
|
||||
(progn
|
||||
(require 'calc-units)
|
||||
(call-interactively 'calc-db))
|
||||
:keys "l d"
|
||||
:active (>= (calc-stack-size) 1)]
|
||||
["Convert (2:) to dB (power) with reference level (1:)"
|
||||
(progn
|
||||
(require 'calc-units)
|
||||
(let ((calc-option-flag t))
|
||||
(call-interactively 'calc-db)))
|
||||
:keys "O l d"
|
||||
:active (>= (calc-stack-size) 2)]
|
||||
["Convert (1:) to Np (power)"
|
||||
(progn
|
||||
(require 'calc-units)
|
||||
(call-interactively 'calc-np))
|
||||
:keys "l n"
|
||||
:active (>= (calc-stack-size) 1)]
|
||||
["Convert (2:) to Np (power) with reference level (1:)"
|
||||
(progn
|
||||
(require 'calc-units)
|
||||
(let ((calc-option-flag t))
|
||||
(call-interactively 'calc-np)))
|
||||
:keys "O l n"
|
||||
:active (>= (calc-stack-size) 2)]
|
||||
["Convert (1:) to power quantity"
|
||||
(progn
|
||||
(require 'calc-units)
|
||||
(call-interactively 'calc-lu-quant))
|
||||
:keys "l q"
|
||||
:active (>= (calc-stack-size) 1)]
|
||||
["Convert (2:) to power quantity with reference level (1:)"
|
||||
(progn
|
||||
(require 'calc-units)
|
||||
(let ((calc-option-flag t))
|
||||
(call-interactively 'calc-lu-quant)))
|
||||
:keys "O l q"
|
||||
:active (>= (calc-stack-size) 2)]
|
||||
"----"
|
||||
["Convert (1:) to dB (field)"
|
||||
(progn
|
||||
(require 'calc-units)
|
||||
(let ((calc-hyperbolic-flag t))
|
||||
(call-interactively 'calc-db)))
|
||||
:keys "H l d"
|
||||
:active (>= (calc-stack-size) 1)]
|
||||
["Convert (2:) to dB (field) with reference level (1:)"
|
||||
(progn
|
||||
(require 'calc-units)
|
||||
(let ((calc-option-flag t)
|
||||
(calc-hyperbolic-flag t))
|
||||
(call-interactively 'calc-db)))
|
||||
:keys "O H l d"
|
||||
:active (>= (calc-stack-size) 2)]
|
||||
["Convert (1:) to Np (field)"
|
||||
(progn
|
||||
(require 'calc-units)
|
||||
(let ((calc-hyperbolic-flag t))
|
||||
(call-interactively 'calc-np)))
|
||||
:keys "H l n"
|
||||
:active (>= (calc-stack-size) 1)]
|
||||
["Convert (2:) to Np (field) with reference level (1:)"
|
||||
(progn
|
||||
(require 'calc-units)
|
||||
(let ((calc-option-flag t)
|
||||
(calc-hyperbolic-flag t))
|
||||
(call-interactively 'calc-np)))
|
||||
:keys "O H l d"
|
||||
:active (>= (calc-stack-size) 2)]
|
||||
["Convert (1:) to field quantity"
|
||||
(progn
|
||||
(require 'calc-units)
|
||||
(let ((calc-hyperbolic-flag t))
|
||||
(call-interactively 'calc-lu-quant)))
|
||||
:keys "H l q"
|
||||
:active (>= (calc-stack-size) 1)]
|
||||
["Convert (2:) to field quantity with reference level (1:)"
|
||||
(progn
|
||||
(require 'calc-units)
|
||||
(let ((calc-option-flag t)
|
||||
(calc-hyperbolic-flag))
|
||||
(call-interactively 'calc-lu-quant)))
|
||||
:keys "O H l q"
|
||||
:active (>= (calc-stack-size) 2)])
|
||||
(list "Musical Notes"
|
||||
["Convert (1:) to scientific pitch notation"
|
||||
(progn
|
||||
(require 'calc-units)
|
||||
(call-interactively 'calc-spn))
|
||||
:keys "l s"
|
||||
:active (>= (calc-stack-size) 1)]
|
||||
["Convert (1:) to midi number"
|
||||
(progn
|
||||
(require 'calc-units)
|
||||
(call-interactively 'calc-midi))
|
||||
:keys "l m"
|
||||
:active (>= (calc-stack-size) 1)]
|
||||
["Convert (1:) to frequency"
|
||||
(progn
|
||||
(require 'calc-units)
|
||||
(call-interactively 'calc-freq))
|
||||
:keys "l f"
|
||||
:active (>= (calc-stack-size) 1)])
|
||||
"----"
|
||||
["Help on Units"
|
||||
(calc-info-goto-node "Units")])
|
||||
|
@ -308,13 +308,9 @@ This function does not work for SECONDS greater than `most-positive-fixnum'."
|
||||
(setq start (match-end 0)
|
||||
spec (match-string 1 string))
|
||||
(unless (string-equal spec "%")
|
||||
;; `assoc-string' is not available in XEmacs. So when compiling
|
||||
;; Gnus (`time-date.el' is part of Gnus) with XEmacs, we get
|
||||
;; a warning here. But `format-seconds' is not used anywhere in
|
||||
;; Gnus so it's not a real problem. --rsteib
|
||||
(or (setq match (assoc-string spec units t))
|
||||
(or (setq match (assoc (downcase spec) units))
|
||||
(error "Bad format specifier: `%s'" spec))
|
||||
(if (assoc-string spec usedunits t)
|
||||
(if (assoc (downcase spec) usedunits)
|
||||
(error "Multiple instances of specifier: `%s'" spec))
|
||||
(if (string-equal (car match) "z")
|
||||
(setq zeroflag t)
|
||||
|
@ -1638,11 +1638,14 @@ Optional arg HOW-TO determiness how to treat the target.
|
||||
|
||||
;;;###autoload
|
||||
(defun dired-create-directory (directory)
|
||||
"Create a directory called DIRECTORY."
|
||||
"Create a directory called DIRECTORY.
|
||||
If DIRECTORY already exists, signal an error."
|
||||
(interactive
|
||||
(list (read-file-name "Create directory: " (dired-current-directory))))
|
||||
(let* ((expanded (directory-file-name (expand-file-name directory)))
|
||||
(try expanded) new)
|
||||
(if (file-exists-p expanded)
|
||||
(error "Cannot create directory %s: file exists" expanded))
|
||||
;; Find the topmost nonexistent parent dir (variable `new')
|
||||
(while (and try (not (file-exists-p try)) (not (equal new try)))
|
||||
(setq new try
|
||||
|
@ -3627,7 +3627,7 @@ Ask means pop up a menu for the user to select one of copy, move or link."
|
||||
;;;;;; dired-run-shell-command dired-do-shell-command dired-do-async-shell-command
|
||||
;;;;;; dired-clean-directory dired-do-print dired-do-touch dired-do-chown
|
||||
;;;;;; dired-do-chgrp dired-do-chmod dired-compare-directories dired-backup-diff
|
||||
;;;;;; dired-diff) "dired-aux" "dired-aux.el" "154cdfbf451aedec60c5012b625ff329")
|
||||
;;;;;; dired-diff) "dired-aux" "dired-aux.el" "2d805d6766bd7970cd446413b4ed4ce0")
|
||||
;;; Generated autoloads from dired-aux.el
|
||||
|
||||
(autoload 'dired-diff "dired-aux" "\
|
||||
@ -3858,6 +3858,7 @@ Not documented
|
||||
|
||||
(autoload 'dired-create-directory "dired-aux" "\
|
||||
Create a directory called DIRECTORY.
|
||||
If DIRECTORY already exists, signal an error.
|
||||
|
||||
\(fn DIRECTORY)" t nil)
|
||||
|
||||
|
@ -1482,9 +1482,8 @@ Returns the stats object."
|
||||
(let ((print-escape-newlines t)
|
||||
(print-level 5)
|
||||
(print-length 10))
|
||||
(let ((begin (point)))
|
||||
(ert--pp-with-indentation-and-newline
|
||||
(ert-test-result-with-condition-condition result))))
|
||||
(ert--pp-with-indentation-and-newline
|
||||
(ert-test-result-with-condition-condition result)))
|
||||
(goto-char (1- (point-max)))
|
||||
(assert (looking-at "\n"))
|
||||
(delete-char 1)
|
||||
@ -1603,7 +1602,7 @@ Nothing more than an interactive interface to `ert-make-test-unbound'."
|
||||
(defun ert-delete-all-tests ()
|
||||
"Make all symbols in `obarray' name no test."
|
||||
(interactive)
|
||||
(when (interactive-p)
|
||||
(when (called-interactively-p 'any)
|
||||
(unless (y-or-n-p "Delete all tests? ")
|
||||
(error "Aborted")))
|
||||
;; We can't use `ert-select-tests' here since that gives us only
|
||||
@ -1793,7 +1792,7 @@ EWOC and STATS are arguments for `ert--results-update-stats-display'."
|
||||
BEGIN and END specify a region in the current buffer."
|
||||
(save-excursion
|
||||
(save-restriction
|
||||
(narrow-to-region begin (point))
|
||||
(narrow-to-region begin end)
|
||||
;; Inhibit optimization in `debugger-make-xrefs' that would
|
||||
;; sometimes insert unrelated backtrace info into our buffer.
|
||||
(let ((debugger-previous-backtrace nil))
|
||||
|
@ -319,12 +319,6 @@ Like `package-alist', but maps package name to a second alist.
|
||||
The inner alist is keyed by version.")
|
||||
(put 'package-obsolete-alist 'risky-local-variable t)
|
||||
|
||||
(defconst package-subdirectory-regexp
|
||||
"\\`\\([^.].*?\\)-\\([0-9]+\\(?:[.][0-9]+\\|\\(?:pre\\|beta\\|alpha\\)[0-9]+\\)*\\)\\'"
|
||||
"Regular expression matching the name of a package subdirectory.
|
||||
The first subexpression is the package name.
|
||||
The second subexpression is the version string.")
|
||||
|
||||
(defun package-version-join (vlist)
|
||||
"Return the version string corresponding to the list VLIST.
|
||||
This is, approximately, the inverse of `version-to-list'.
|
||||
@ -357,7 +351,7 @@ This is, approximately, the inverse of `version-to-list'.
|
||||
(defun package-strip-version (dirname)
|
||||
"Strip the version from a combined package name and version.
|
||||
E.g., if given \"quux-23.0\", will return \"quux\""
|
||||
(if (string-match package-subdirectory-regexp dirname)
|
||||
(if (string-match (concat "\\`" package-subdirectory-regexp "\\'") dirname)
|
||||
(match-string 1 dirname)))
|
||||
|
||||
(defun package-load-descriptor (dir package)
|
||||
@ -382,12 +376,13 @@ In each valid package subdirectory, this function loads the
|
||||
description file containing a call to `define-package', which
|
||||
updates `package-alist' and `package-obsolete-alist'."
|
||||
(let ((all (memq 'all package-load-list))
|
||||
(regexp (concat "\\`" package-subdirectory-regexp "\\'"))
|
||||
name version force)
|
||||
(dolist (dir (cons package-user-dir package-directory-list))
|
||||
(when (file-directory-p dir)
|
||||
(dolist (subdir (directory-files dir))
|
||||
(when (and (file-directory-p (expand-file-name subdir dir))
|
||||
(string-match package-subdirectory-regexp subdir))
|
||||
(string-match regexp subdir))
|
||||
(setq name (intern (match-string 1 subdir))
|
||||
version (match-string 2 subdir)
|
||||
force (assq name package-load-list))
|
||||
@ -579,30 +574,29 @@ EXTRA-PROPERTIES is currently unused."
|
||||
(package-autoload-ensure-default-file generated-autoload-file))
|
||||
(update-directory-autoloads pkg-dir)))
|
||||
|
||||
(defun package-untar-buffer ()
|
||||
(defvar tar-parse-info)
|
||||
(declare-function tar-untar-buffer "tar-mode" ())
|
||||
|
||||
(defun package-untar-buffer (dir)
|
||||
"Untar the current buffer.
|
||||
This uses `tar-untar-buffer' if it is available.
|
||||
Otherwise it uses an external `tar' program.
|
||||
`default-directory' should be set by the caller."
|
||||
This uses `tar-untar-buffer' from Tar mode. All files should
|
||||
untar into a directory named DIR; otherwise, signal an error."
|
||||
(require 'tar-mode)
|
||||
(if (fboundp 'tar-untar-buffer)
|
||||
(progn
|
||||
;; tar-mode messes with narrowing, so we just let it have the
|
||||
;; whole buffer to play with.
|
||||
(delete-region (point-min) (point))
|
||||
(tar-mode)
|
||||
(tar-untar-buffer))
|
||||
;; FIXME: check the result.
|
||||
(call-process-region (point) (point-max) "tar" nil '(nil nil) nil
|
||||
"xf" "-")))
|
||||
(tar-mode)
|
||||
;; Make sure everything extracts into DIR.
|
||||
(let ((regexp (concat "\\`" (regexp-quote dir) "/")))
|
||||
(dolist (tar-data tar-parse-info)
|
||||
(unless (string-match regexp (aref tar-data 2))
|
||||
(error "Package does not untar cleanly into directory %s/" dir))))
|
||||
(tar-untar-buffer))
|
||||
|
||||
(defun package-unpack (name version)
|
||||
(let ((pkg-dir (expand-file-name (concat (symbol-name name) "-" version)
|
||||
package-user-dir)))
|
||||
(let* ((dirname (concat (symbol-name name) "-" version))
|
||||
(pkg-dir (expand-file-name dirname package-user-dir)))
|
||||
(make-directory package-user-dir t)
|
||||
;; FIXME: should we delete PKG-DIR if it exists?
|
||||
(let* ((default-directory (file-name-as-directory package-user-dir)))
|
||||
(package-untar-buffer)
|
||||
(package-untar-buffer dirname)
|
||||
(package-generate-autoloads (symbol-name name) pkg-dir)
|
||||
(let ((load-path (cons pkg-dir load-path)))
|
||||
(byte-recompile-directory pkg-dir 0 t)))))
|
||||
@ -942,7 +936,8 @@ FILE is the name of the tar file to examine.
|
||||
The return result is a vector like `package-buffer-info'."
|
||||
(let ((default-directory (file-name-directory file))
|
||||
(file (file-name-nondirectory file)))
|
||||
(unless (string-match "^\\(.+\\)-\\([0-9.]+\\)\\.tar$" file)
|
||||
(unless (string-match (concat "\\`" package-subdirectory-regexp "\\.tar\\'")
|
||||
file)
|
||||
(error "Invalid package name `%s'" file))
|
||||
(let* ((pkg-name (match-string-no-properties 1 file))
|
||||
(pkg-version (match-string-no-properties 2 file))
|
||||
|
@ -567,18 +567,12 @@ You can change the color sort order by customizing `list-colors-sort'."
|
||||
(with-help-window buffer-name
|
||||
(with-current-buffer standard-output
|
||||
(erase-buffer)
|
||||
(list-colors-print list callback)
|
||||
(set-buffer-modified-p nil)
|
||||
(setq truncate-lines t)))
|
||||
(let ((buf (get-buffer buffer-name))
|
||||
(inhibit-read-only t))
|
||||
;; Display buffer before generating content, to allow
|
||||
;; `list-colors-print' to get the right window-width.
|
||||
(with-selected-window (or (get-buffer-window buf t) (selected-window))
|
||||
(with-current-buffer buf
|
||||
(list-colors-print list callback)
|
||||
(set-buffer-modified-p nil)))
|
||||
(when callback
|
||||
(pop-to-buffer buf)
|
||||
(message "Click on a color to select it."))))
|
||||
(when callback
|
||||
(pop-to-buffer buffer-name)
|
||||
(message "Click on a color to select it.")))
|
||||
|
||||
(defun list-colors-print (list &optional callback)
|
||||
(let ((callback-fn
|
||||
@ -595,30 +589,19 @@ You can change the color sort order by customizing `list-colors-sort'."
|
||||
(let* ((opoint (point))
|
||||
(color-values (color-values (car color)))
|
||||
(light-p (>= (apply 'max color-values)
|
||||
(* (car (color-values "white")) .5)))
|
||||
(max-len (max (- (window-width) 33) 20)))
|
||||
(* (car (color-values "white")) .5))))
|
||||
(insert (car color))
|
||||
(indent-to 22)
|
||||
(put-text-property opoint (point) 'face `(:background ,(car color)))
|
||||
(put-text-property
|
||||
(prog1 (point)
|
||||
(insert " ")
|
||||
(if (cdr color)
|
||||
;; Insert as many color names as possible, fitting max-len.
|
||||
(let ((names (list (car color)))
|
||||
(others (cdr color))
|
||||
(len (length (car color)))
|
||||
newlen)
|
||||
(while (and others
|
||||
(< (setq newlen (+ len 2 (length (car others))))
|
||||
max-len))
|
||||
(setq len newlen)
|
||||
(push (pop others) names))
|
||||
(insert (mapconcat 'identity (nreverse names) ", ")))
|
||||
(insert (car color))))
|
||||
;; Insert all color names.
|
||||
(insert (mapconcat 'identity color ",")))
|
||||
(point)
|
||||
'face (list :foreground (car color)))
|
||||
(indent-to (max (- (window-width) 8) 44))
|
||||
(insert (propertize " " 'display '(space :align-to (- right 9))))
|
||||
(insert " ")
|
||||
(insert (propertize
|
||||
(apply 'format "#%02x%02x%02x"
|
||||
(mapcar (lambda (c) (lsh c -8))
|
||||
|
@ -1,3 +1,33 @@
|
||||
2011-03-18 Julien Danjou <julien@danjou.info>
|
||||
|
||||
* gnus-util.el (gnus-buffer-live-p): Simplify gnus-buffer-live-p.
|
||||
(gnus-buffer-live-p): Check that buffer is not nil.
|
||||
|
||||
2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
|
||||
|
||||
* gnus-art.el: Require mouse, which the build bot seems to say is
|
||||
needed.
|
||||
|
||||
* gravatar.el (gravatar-retrieve-synchronously): Use `url-retrieve' on
|
||||
XEmacs, since it doesn't have url-retrieve-synchronously.
|
||||
|
||||
2011-03-17 Antoine Levitt <antoine.levitt@gmail.com>
|
||||
|
||||
* gnus-group.el (gnus-group-list-ticked): New function.
|
||||
(gnus-group-make-menu-bar): Provide a menu entry for it.
|
||||
(gnus-group-list-map): Provide a binding for it.
|
||||
|
||||
2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
|
||||
|
||||
* shr.el (shr-visit-file): New command.
|
||||
|
||||
* nnimap.el (nnimap-fetch-inbox): Rewrite slightly last patch.
|
||||
|
||||
2011-03-17 Bjørn Mork <bjorn@mork.no>
|
||||
|
||||
* nnimap.el (nnimap-fetch-inbox): Don't download bodies on ver4-capable
|
||||
servers.
|
||||
|
||||
2011-03-16 Julien Danjou <julien@danjou.info>
|
||||
|
||||
* mm-uu.el (mm-uu-dissect-text-parts): Only dissect handle that are
|
||||
|
@ -44,6 +44,7 @@
|
||||
(require 'wid-edit)
|
||||
(require 'mm-uu)
|
||||
(require 'message)
|
||||
(require 'mouse)
|
||||
|
||||
(autoload 'gnus-msg-mail "gnus-msg" nil t)
|
||||
(autoload 'gnus-button-mailto "gnus-msg")
|
||||
|
@ -697,7 +697,8 @@ simple manner.")
|
||||
"M" gnus-group-list-all-matching
|
||||
"l" gnus-group-list-level
|
||||
"c" gnus-group-list-cached
|
||||
"?" gnus-group-list-dormant)
|
||||
"?" gnus-group-list-dormant
|
||||
"!" gnus-group-list-ticked)
|
||||
|
||||
(gnus-define-keys (gnus-group-list-limit-map "/" gnus-group-list-map)
|
||||
"k" gnus-group-list-limit
|
||||
@ -849,7 +850,8 @@ simple manner.")
|
||||
["List all groups matching..." gnus-group-list-all-matching t]
|
||||
["List active file" gnus-group-list-active t]
|
||||
["List groups with cached" gnus-group-list-cached t]
|
||||
["List groups with dormant" gnus-group-list-dormant t])
|
||||
["List groups with dormant" gnus-group-list-dormant t]
|
||||
["List groups with ticked" gnus-group-list-ticked t])
|
||||
("Sort"
|
||||
["Default sort" gnus-group-sort-groups t]
|
||||
["Sort by method" gnus-group-sort-groups-by-method t]
|
||||
@ -4536,6 +4538,28 @@ This command may read the active file."
|
||||
(goto-char (point-min))
|
||||
(gnus-group-position-point))
|
||||
|
||||
(defun gnus-group-list-ticked (level &optional lowest)
|
||||
"List all groups with ticked articles.
|
||||
If the prefix LEVEL is non-nil, it should be a number that says which
|
||||
level to cut off listing groups.
|
||||
If LOWEST, don't list groups with level lower than LOWEST.
|
||||
|
||||
This command may read the active file."
|
||||
(interactive "P")
|
||||
(when level
|
||||
(setq level (prefix-numeric-value level)))
|
||||
(when (or (not level) (>= level gnus-level-zombie))
|
||||
(gnus-cache-open))
|
||||
(funcall gnus-group-prepare-function
|
||||
(or level gnus-level-subscribed)
|
||||
#'(lambda (info)
|
||||
(let ((marks (gnus-info-marks info)))
|
||||
(assq 'tick marks)))
|
||||
lowest
|
||||
'ignore)
|
||||
(goto-char (point-min))
|
||||
(gnus-group-position-point))
|
||||
|
||||
(defun gnus-group-listed-groups ()
|
||||
"Return a list of listed groups."
|
||||
(let (point groups)
|
||||
|
@ -672,11 +672,9 @@ If N, return the Nth ancestor instead."
|
||||
(when (string-match "\\(<[^<]+>\\)[ \t]*\\'" references)
|
||||
(match-string 1 references))))))
|
||||
|
||||
(defun gnus-buffer-live-p (buffer)
|
||||
(defsubst gnus-buffer-live-p (buffer)
|
||||
"Say whether BUFFER is alive or not."
|
||||
(and buffer
|
||||
(get-buffer buffer)
|
||||
(buffer-name (get-buffer buffer))))
|
||||
(and buffer (buffer-live-p (get-buffer buffer))))
|
||||
|
||||
(defun gnus-horizontal-recenter ()
|
||||
"Recenter the current buffer horizontally."
|
||||
|
@ -129,8 +129,10 @@ You can provide a list of argument to pass to CB in CBARGS."
|
||||
"Retrieve MAIL-ADDRESS gravatar and returns it."
|
||||
(let ((url (gravatar-build-url mail-address)))
|
||||
(if (gravatar-cache-expired url)
|
||||
(with-current-buffer (url-retrieve-synchronously url)
|
||||
(when gravatar-automatic-caching
|
||||
(with-current-buffer (if (featurep 'xemacs)
|
||||
(url-retrieve url)
|
||||
(url-retrieve-synchronously url))
|
||||
(when gravatar-automatic-caching
|
||||
(url-store-in-cache (current-buffer)))
|
||||
(let ((data (gravatar-data->image)))
|
||||
(kill-buffer (current-buffer))
|
||||
|
@ -1762,11 +1762,15 @@ textual parts.")
|
||||
(format "(UID %s%s)"
|
||||
(format
|
||||
(if (nnimap-ver4-p)
|
||||
"BODY.PEEK[HEADER] BODY.PEEK"
|
||||
"BODY.PEEK"
|
||||
"RFC822.PEEK"))
|
||||
(if nnimap-split-download-body-default
|
||||
"[]"
|
||||
"[1]")))
|
||||
(cond
|
||||
(nnimap-split-download-body-default
|
||||
"[]")
|
||||
((nnimap-ver4-p)
|
||||
"[HEADER]")
|
||||
(t
|
||||
"[1]"))))
|
||||
t))
|
||||
|
||||
(defun nnimap-split-incoming-mail ()
|
||||
|
@ -113,6 +113,15 @@ cid: URL as the argument.")
|
||||
|
||||
;; Public functions and commands.
|
||||
|
||||
(defun shr-visit-file (file)
|
||||
(interactive "fHTML file name: ")
|
||||
(pop-to-buffer "*html*")
|
||||
(erase-buffer)
|
||||
(shr-insert-document
|
||||
(with-temp-buffer
|
||||
(insert-file-contents file)
|
||||
(libxml-parse-html-region (point-min) (point-max)))))
|
||||
|
||||
;;;###autoload
|
||||
(defun shr-insert-document (dom)
|
||||
(setq shr-content-cache nil)
|
||||
|
@ -1983,7 +1983,7 @@ If INITIAL is non-nil, it specifies the initial input string."
|
||||
(setq ido-exit nil)
|
||||
(setq ido-final-text
|
||||
(catch 'ido
|
||||
(completing-read
|
||||
(completing-read-default
|
||||
(ido-make-prompt item prompt)
|
||||
'(("dummy" . 1)) nil nil ; table predicate require-match
|
||||
(prog1 ido-text-init (setq ido-text-init nil)) ;initial-contents
|
||||
@ -4740,13 +4740,13 @@ See `read-directory-name' for additional parameters."
|
||||
(concat ido-current-directory filename)))))
|
||||
|
||||
;;;###autoload
|
||||
(defun ido-completing-read (prompt choices &optional predicate require-match initial-input hist def)
|
||||
(defun ido-completing-read (prompt choices &optional predicate require-match initial-input hist def inherit-input-method)
|
||||
"Ido replacement for the built-in `completing-read'.
|
||||
Read a string in the minibuffer with ido-style completion.
|
||||
PROMPT is a string to prompt with; normally it ends in a colon and a space.
|
||||
CHOICES is a list of strings which are the possible completions.
|
||||
PREDICATE is currently ignored; it is included to be compatible
|
||||
with `completing-read'.
|
||||
PREDICATE and INHERIT-INPUT-METHOD is currently ignored; it is included
|
||||
to be compatible with `completing-read'.
|
||||
If REQUIRE-MATCH is non-nil, the user is not allowed to exit unless
|
||||
the input is (or completes to) an element of CHOICES or is null.
|
||||
If the input is null, `ido-completing-read' returns DEF, or an empty
|
||||
|
10
lisp/info.el
10
lisp/info.el
@ -594,15 +594,15 @@ in `Info-file-supports-index-cookies-list'."
|
||||
(defun info-initialize ()
|
||||
"Initialize `Info-directory-list', if that hasn't been done yet."
|
||||
(unless Info-directory-list
|
||||
(let ((path (getenv "INFOPATH")))
|
||||
(let ((path (getenv "INFOPATH"))
|
||||
(sep (regexp-quote path-separator)))
|
||||
(setq Info-directory-list
|
||||
(prune-directory-list
|
||||
(if path
|
||||
(if (string-match ":\\'" path)
|
||||
(append (split-string (substring path 0 -1)
|
||||
(regexp-quote path-separator))
|
||||
(if (string-match-p (concat sep "\\'") path)
|
||||
(append (split-string (substring path 0 -1) sep)
|
||||
(Info-default-dirs))
|
||||
(split-string path (regexp-quote path-separator)))
|
||||
(split-string path sep))
|
||||
(Info-default-dirs)))))))
|
||||
|
||||
;;;###autoload
|
||||
|
@ -392,6 +392,15 @@ Warning Warning!!! Pure space overflow !!!Warning Warning
|
||||
:type 'directory
|
||||
:initialize 'custom-initialize-delay)
|
||||
|
||||
(defconst package-subdirectory-regexp
|
||||
"\\([^.].*?\\)-\\([0-9]+\\(?:[.][0-9]+\\|\\(?:pre\\|beta\\|alpha\\)[0-9]+\\)*\\)"
|
||||
"Regular expression matching the name of a package subdirectory.
|
||||
The first subexpression is the package name.
|
||||
The second subexpression is the version string.
|
||||
|
||||
The regexp should not contain a starting \"\\`\" or a trailing
|
||||
\"\\'\"; those are added automatically by callers.")
|
||||
|
||||
(defun normal-top-level-add-subdirs-to-load-path ()
|
||||
"Add all subdirectories of current directory to `load-path'.
|
||||
More precisely, this uses only the subdirectories whose names
|
||||
@ -1194,9 +1203,9 @@ the `--debug-init' option to view a complete error backtrace."
|
||||
(when (file-directory-p dir)
|
||||
(dolist (subdir (directory-files dir))
|
||||
(when (and (file-directory-p (expand-file-name subdir dir))
|
||||
;; package-subdirectory-regexp from package.el
|
||||
(string-match "\\`\\([^.].*?\\)-\\([0-9]+\\(?:[.][0-9]+\\|\\(?:pre\\|beta\\|alpha\\)[0-9]+\\)*\\)\\'"
|
||||
subdir))
|
||||
(string-match
|
||||
(concat "\\`" package-subdirectory-regexp "\\'")
|
||||
subdir))
|
||||
(throw 'package-dir-found t)))))))
|
||||
(package-initialize))
|
||||
|
||||
|
@ -122,8 +122,7 @@ when editing big diffs)."
|
||||
("\C-m" . diff-goto-source)
|
||||
([mouse-2] . diff-goto-source)
|
||||
;; From XEmacs' diff-mode.
|
||||
;; Standard M-w is useful, so don't change M-W.
|
||||
;;("W" . widen)
|
||||
("W" . widen)
|
||||
;;("." . diff-goto-source) ;display-buffer
|
||||
;;("f" . diff-goto-source) ;find-file
|
||||
("o" . diff-goto-source) ;other-window
|
||||
@ -135,17 +134,21 @@ when editing big diffs)."
|
||||
;; Not useful if you have to metafy them.
|
||||
;;(" " . scroll-up)
|
||||
;;("\177" . scroll-down)
|
||||
;; Standard M-a is useful, so don't change M-A.
|
||||
;;("A" . diff-ediff-patch)
|
||||
;; Standard M-r is useful, so don't change M-r or M-R.
|
||||
;;("r" . diff-restrict-view)
|
||||
;;("R" . diff-reverse-direction)
|
||||
)
|
||||
("A" . diff-ediff-patch)
|
||||
("r" . diff-restrict-view)
|
||||
("R" . diff-reverse-direction))
|
||||
"Basic keymap for `diff-mode', bound to various prefix keys."
|
||||
:inherit special-mode-map)
|
||||
|
||||
(easy-mmode-defmap diff-mode-map
|
||||
`(("\e" . ,diff-mode-shared-map)
|
||||
`(("\e" . ,(let ((map (make-sparse-keymap)))
|
||||
;; We want to inherit most bindings from diff-mode-shared-map,
|
||||
;; but not all since they may hide useful M-<foo> global
|
||||
;; bindings when editing.
|
||||
(set-keymap-parent map diff-mode-shared-map)
|
||||
(dolist (key '("A" "r" "R" "g" "q" "W"))
|
||||
(define-key map key nil))
|
||||
map))
|
||||
;; From compilation-minor-mode.
|
||||
("\C-c\C-c" . diff-goto-source)
|
||||
;; By analogy with the global C-x 4 a binding.
|
||||
|
@ -3176,21 +3176,26 @@ See also `auto-save-file-name-p'."
|
||||
|
||||
;; Metacharacters that have to be protected from the shell when executing
|
||||
;; a diff/diff3 command.
|
||||
(defcustom emerge-metachars "[ \t\n!\"#$&'()*;<=>?[\\^`{|~]"
|
||||
"Characters that must be quoted with \\ when used in a shell command line.
|
||||
(defcustom emerge-metachars
|
||||
(if (memq system-type '(ms-dos windows-nt))
|
||||
"[ \t\"<>|?*^&=]"
|
||||
"[ \t\n!\"#$&'()*;<=>?[\\^`{|~]")
|
||||
"Characters that must be quoted when used in a shell command line.
|
||||
More precisely, a [...] regexp to match any one such character."
|
||||
:type 'regexp
|
||||
:group 'emerge)
|
||||
|
||||
;; Quote metacharacters (using \) when executing a diff/diff3 command.
|
||||
(defun emerge-protect-metachars (s)
|
||||
(let ((limit 0))
|
||||
(while (string-match emerge-metachars s limit)
|
||||
(setq s (concat (substring s 0 (match-beginning 0))
|
||||
"\\"
|
||||
(substring s (match-beginning 0))))
|
||||
(setq limit (1+ (match-end 0)))))
|
||||
s)
|
||||
(if (memq system-type '(ms-dos windows-nt))
|
||||
(shell-quote-argument s)
|
||||
(let ((limit 0))
|
||||
(while (string-match emerge-metachars s limit)
|
||||
(setq s (concat (substring s 0 (match-beginning 0))
|
||||
"\\"
|
||||
(substring s (match-beginning 0))))
|
||||
(setq limit (1+ (match-end 0)))))
|
||||
s))
|
||||
|
||||
(provide 'emerge)
|
||||
|
||||
|
@ -50,6 +50,7 @@ AC_DEFUN([gl_EARLY],
|
||||
# Code from module stdbool:
|
||||
# Code from module stddef:
|
||||
# Code from module stdint:
|
||||
# Code from module stdio:
|
||||
# Code from module stdlib:
|
||||
# Code from module strftime:
|
||||
# Code from module symlink:
|
||||
@ -123,6 +124,8 @@ AC_DEFUN([gl_INIT],
|
||||
gl_STDDEF_H
|
||||
# Code from module stdint:
|
||||
gl_STDINT_H
|
||||
# Code from module stdio:
|
||||
gl_STDIO_H
|
||||
# Code from module stdlib:
|
||||
gl_STDLIB_H
|
||||
# Code from module strftime:
|
||||
@ -308,6 +311,7 @@ AC_DEFUN([gl_FILE_LIST], [
|
||||
lib/stdbool.in.h
|
||||
lib/stddef.in.h
|
||||
lib/stdint.in.h
|
||||
lib/stdio.in.h
|
||||
lib/stdlib.in.h
|
||||
lib/strftime.c
|
||||
lib/strftime.h
|
||||
@ -336,6 +340,7 @@ AC_DEFUN([gl_FILE_LIST], [
|
||||
m4/stdbool.m4
|
||||
m4/stddef_h.m4
|
||||
m4/stdint.m4
|
||||
m4/stdio_h.m4
|
||||
m4/stdlib_h.m4
|
||||
m4/strftime.m4
|
||||
m4/symlink.m4
|
||||
|
140
m4/stdio_h.m4
Normal file
140
m4/stdio_h.m4
Normal file
@ -0,0 +1,140 @@
|
||||
# stdio_h.m4 serial 33
|
||||
dnl Copyright (C) 2007-2011 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
dnl with or without modifications, as long as this notice is preserved.
|
||||
|
||||
AC_DEFUN([gl_STDIO_H],
|
||||
[
|
||||
AC_REQUIRE([gl_STDIO_H_DEFAULTS])
|
||||
AC_REQUIRE([AC_C_INLINE])
|
||||
gl_NEXT_HEADERS([stdio.h])
|
||||
dnl No need to create extra modules for these functions. Everyone who uses
|
||||
dnl <stdio.h> likely needs them.
|
||||
GNULIB_FPRINTF=1
|
||||
GNULIB_PRINTF=1
|
||||
GNULIB_VFPRINTF=1
|
||||
GNULIB_VPRINTF=1
|
||||
GNULIB_FPUTC=1
|
||||
GNULIB_PUTC=1
|
||||
GNULIB_PUTCHAR=1
|
||||
GNULIB_FPUTS=1
|
||||
GNULIB_PUTS=1
|
||||
GNULIB_FWRITE=1
|
||||
dnl This ifdef is just an optimization, to avoid performing a configure
|
||||
dnl check whose result is not used. It does not make the test of
|
||||
dnl GNULIB_STDIO_H_SIGPIPE or GNULIB_SIGPIPE redundant.
|
||||
m4_ifdef([gl_SIGNAL_SIGPIPE], [
|
||||
gl_SIGNAL_SIGPIPE
|
||||
if test $gl_cv_header_signal_h_SIGPIPE != yes; then
|
||||
REPLACE_STDIO_WRITE_FUNCS=1
|
||||
AC_LIBOBJ([stdio-write])
|
||||
fi
|
||||
])
|
||||
|
||||
dnl Check for declarations of anything we want to poison if the
|
||||
dnl corresponding gnulib module is not in use, and which is not
|
||||
dnl guaranteed by C89.
|
||||
gl_WARN_ON_USE_PREPARE([[#include <stdio.h>
|
||||
]], [dprintf fpurge fseeko ftello getdelim getline popen renameat
|
||||
snprintf tmpfile vdprintf vsnprintf])
|
||||
])
|
||||
|
||||
AC_DEFUN([gl_STDIO_MODULE_INDICATOR],
|
||||
[
|
||||
dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
|
||||
AC_REQUIRE([gl_STDIO_H_DEFAULTS])
|
||||
gl_MODULE_INDICATOR_SET_VARIABLE([$1])
|
||||
dnl Define it also as a C macro, for the benefit of the unit tests.
|
||||
gl_MODULE_INDICATOR_FOR_TESTS([$1])
|
||||
])
|
||||
|
||||
AC_DEFUN([gl_STDIO_H_DEFAULTS],
|
||||
[
|
||||
GNULIB_DPRINTF=0; AC_SUBST([GNULIB_DPRINTF])
|
||||
GNULIB_FCLOSE=0; AC_SUBST([GNULIB_FCLOSE])
|
||||
GNULIB_FFLUSH=0; AC_SUBST([GNULIB_FFLUSH])
|
||||
GNULIB_FOPEN=0; AC_SUBST([GNULIB_FOPEN])
|
||||
GNULIB_FPRINTF=0; AC_SUBST([GNULIB_FPRINTF])
|
||||
GNULIB_FPRINTF_POSIX=0; AC_SUBST([GNULIB_FPRINTF_POSIX])
|
||||
GNULIB_FPURGE=0; AC_SUBST([GNULIB_FPURGE])
|
||||
GNULIB_FPUTC=0; AC_SUBST([GNULIB_FPUTC])
|
||||
GNULIB_FPUTS=0; AC_SUBST([GNULIB_FPUTS])
|
||||
GNULIB_FREOPEN=0; AC_SUBST([GNULIB_FREOPEN])
|
||||
GNULIB_FSEEK=0; AC_SUBST([GNULIB_FSEEK])
|
||||
GNULIB_FSEEKO=0; AC_SUBST([GNULIB_FSEEKO])
|
||||
GNULIB_FTELL=0; AC_SUBST([GNULIB_FTELL])
|
||||
GNULIB_FTELLO=0; AC_SUBST([GNULIB_FTELLO])
|
||||
GNULIB_FWRITE=0; AC_SUBST([GNULIB_FWRITE])
|
||||
GNULIB_GETDELIM=0; AC_SUBST([GNULIB_GETDELIM])
|
||||
GNULIB_GETLINE=0; AC_SUBST([GNULIB_GETLINE])
|
||||
GNULIB_OBSTACK_PRINTF=0; AC_SUBST([GNULIB_OBSTACK_PRINTF])
|
||||
GNULIB_OBSTACK_PRINTF_POSIX=0; AC_SUBST([GNULIB_OBSTACK_PRINTF_POSIX])
|
||||
GNULIB_PERROR=0; AC_SUBST([GNULIB_PERROR])
|
||||
GNULIB_POPEN=0; AC_SUBST([GNULIB_POPEN])
|
||||
GNULIB_PRINTF=0; AC_SUBST([GNULIB_PRINTF])
|
||||
GNULIB_PRINTF_POSIX=0; AC_SUBST([GNULIB_PRINTF_POSIX])
|
||||
GNULIB_PUTC=0; AC_SUBST([GNULIB_PUTC])
|
||||
GNULIB_PUTCHAR=0; AC_SUBST([GNULIB_PUTCHAR])
|
||||
GNULIB_PUTS=0; AC_SUBST([GNULIB_PUTS])
|
||||
GNULIB_REMOVE=0; AC_SUBST([GNULIB_REMOVE])
|
||||
GNULIB_RENAME=0; AC_SUBST([GNULIB_RENAME])
|
||||
GNULIB_RENAMEAT=0; AC_SUBST([GNULIB_RENAMEAT])
|
||||
GNULIB_SNPRINTF=0; AC_SUBST([GNULIB_SNPRINTF])
|
||||
GNULIB_SPRINTF_POSIX=0; AC_SUBST([GNULIB_SPRINTF_POSIX])
|
||||
GNULIB_STDIO_H_SIGPIPE=0; AC_SUBST([GNULIB_STDIO_H_SIGPIPE])
|
||||
GNULIB_TMPFILE=0; AC_SUBST([GNULIB_TMPFILE])
|
||||
GNULIB_VASPRINTF=0; AC_SUBST([GNULIB_VASPRINTF])
|
||||
GNULIB_VDPRINTF=0; AC_SUBST([GNULIB_VDPRINTF])
|
||||
GNULIB_VFPRINTF=0; AC_SUBST([GNULIB_VFPRINTF])
|
||||
GNULIB_VFPRINTF_POSIX=0; AC_SUBST([GNULIB_VFPRINTF_POSIX])
|
||||
GNULIB_VPRINTF=0; AC_SUBST([GNULIB_VPRINTF])
|
||||
GNULIB_VPRINTF_POSIX=0; AC_SUBST([GNULIB_VPRINTF_POSIX])
|
||||
GNULIB_VSNPRINTF=0; AC_SUBST([GNULIB_VSNPRINTF])
|
||||
GNULIB_VSPRINTF_POSIX=0; AC_SUBST([GNULIB_VSPRINTF_POSIX])
|
||||
dnl Assume proper GNU behavior unless another module says otherwise.
|
||||
HAVE_DECL_FPURGE=1; AC_SUBST([HAVE_DECL_FPURGE])
|
||||
HAVE_DECL_FSEEKO=1; AC_SUBST([HAVE_DECL_FSEEKO])
|
||||
HAVE_DECL_FTELLO=1; AC_SUBST([HAVE_DECL_FTELLO])
|
||||
HAVE_DECL_GETDELIM=1; AC_SUBST([HAVE_DECL_GETDELIM])
|
||||
HAVE_DECL_GETLINE=1; AC_SUBST([HAVE_DECL_GETLINE])
|
||||
HAVE_DECL_OBSTACK_PRINTF=1; AC_SUBST([HAVE_DECL_OBSTACK_PRINTF])
|
||||
HAVE_DECL_SNPRINTF=1; AC_SUBST([HAVE_DECL_SNPRINTF])
|
||||
HAVE_DECL_VSNPRINTF=1; AC_SUBST([HAVE_DECL_VSNPRINTF])
|
||||
HAVE_DPRINTF=1; AC_SUBST([HAVE_DPRINTF])
|
||||
HAVE_FSEEKO=1; AC_SUBST([HAVE_FSEEKO])
|
||||
HAVE_FTELLO=1; AC_SUBST([HAVE_FTELLO])
|
||||
HAVE_RENAMEAT=1; AC_SUBST([HAVE_RENAMEAT])
|
||||
HAVE_VASPRINTF=1; AC_SUBST([HAVE_VASPRINTF])
|
||||
HAVE_VDPRINTF=1; AC_SUBST([HAVE_VDPRINTF])
|
||||
REPLACE_DPRINTF=0; AC_SUBST([REPLACE_DPRINTF])
|
||||
REPLACE_FCLOSE=0; AC_SUBST([REPLACE_FCLOSE])
|
||||
REPLACE_FFLUSH=0; AC_SUBST([REPLACE_FFLUSH])
|
||||
REPLACE_FOPEN=0; AC_SUBST([REPLACE_FOPEN])
|
||||
REPLACE_FPRINTF=0; AC_SUBST([REPLACE_FPRINTF])
|
||||
REPLACE_FPURGE=0; AC_SUBST([REPLACE_FPURGE])
|
||||
REPLACE_FREOPEN=0; AC_SUBST([REPLACE_FREOPEN])
|
||||
REPLACE_FSEEK=0; AC_SUBST([REPLACE_FSEEK])
|
||||
REPLACE_FSEEKO=0; AC_SUBST([REPLACE_FSEEKO])
|
||||
REPLACE_FTELL=0; AC_SUBST([REPLACE_FTELL])
|
||||
REPLACE_FTELLO=0; AC_SUBST([REPLACE_FTELLO])
|
||||
REPLACE_GETDELIM=0; AC_SUBST([REPLACE_GETDELIM])
|
||||
REPLACE_GETLINE=0; AC_SUBST([REPLACE_GETLINE])
|
||||
REPLACE_OBSTACK_PRINTF=0; AC_SUBST([REPLACE_OBSTACK_PRINTF])
|
||||
REPLACE_PERROR=0; AC_SUBST([REPLACE_PERROR])
|
||||
REPLACE_POPEN=0; AC_SUBST([REPLACE_POPEN])
|
||||
REPLACE_PRINTF=0; AC_SUBST([REPLACE_PRINTF])
|
||||
REPLACE_REMOVE=0; AC_SUBST([REPLACE_REMOVE])
|
||||
REPLACE_RENAME=0; AC_SUBST([REPLACE_RENAME])
|
||||
REPLACE_RENAMEAT=0; AC_SUBST([REPLACE_RENAMEAT])
|
||||
REPLACE_SNPRINTF=0; AC_SUBST([REPLACE_SNPRINTF])
|
||||
REPLACE_SPRINTF=0; AC_SUBST([REPLACE_SPRINTF])
|
||||
REPLACE_STDIO_WRITE_FUNCS=0; AC_SUBST([REPLACE_STDIO_WRITE_FUNCS])
|
||||
REPLACE_TMPFILE=0; AC_SUBST([REPLACE_TMPFILE])
|
||||
REPLACE_VASPRINTF=0; AC_SUBST([REPLACE_VASPRINTF])
|
||||
REPLACE_VDPRINTF=0; AC_SUBST([REPLACE_VDPRINTF])
|
||||
REPLACE_VFPRINTF=0; AC_SUBST([REPLACE_VFPRINTF])
|
||||
REPLACE_VPRINTF=0; AC_SUBST([REPLACE_VPRINTF])
|
||||
REPLACE_VSNPRINTF=0; AC_SUBST([REPLACE_VSNPRINTF])
|
||||
REPLACE_VSPRINTF=0; AC_SUBST([REPLACE_VSPRINTF])
|
||||
])
|
@ -2,8 +2,6 @@
|
||||
|
||||
* fileio.c (Fcopy_file): Report error if fchown or fchmod fail.
|
||||
|
||||
2011-03-20 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* emacs.c (Fdaemon_initialized): Do not ignore I/O errors (Bug#8303).
|
||||
|
||||
* process.c (Fmake_network_process): Use socklen_t, not int,
|
||||
@ -24,8 +22,6 @@
|
||||
(FIRST_PROC_DESC, IF_NON_BLOCKING_CONNECT): Remove unused macros.
|
||||
(create_process): Use 'volatile' to avoid vfork clobbering (Bug#8298).
|
||||
|
||||
2011-03-19 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
Make tparam.h and terminfo.c consistent.
|
||||
* cm.c (tputs, tgoto, BC, UP): Remove extern decls. Include
|
||||
tparam.h instead, since it declares them.
|
||||
@ -61,8 +57,6 @@
|
||||
(find_automatic_composition): Mark vars as initialized,
|
||||
with a FIXME (Bug#8290).
|
||||
|
||||
2011-03-18 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
character.h: Rename locals to avoid shadowing.
|
||||
* character.h (PREV_CHAR_BOUNDARY, FETCH_STRING_CHAR_ADVANCE):
|
||||
(FETCH_STRING_CHAR_AS_MULTIBYTE_ADVANCE, FETCH_CHAR_ADVANCE):
|
||||
@ -101,6 +95,31 @@
|
||||
* callproc.c (call_process_cleanup): Now static.
|
||||
(relocate_fd): Rename locals to avoid shadowing.
|
||||
|
||||
2011-03-20 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* config.in: Remove file.
|
||||
|
||||
2011-03-20 Juanma Barranquero <lekktu@gmail.com>
|
||||
|
||||
* minibuf.c (Vcompleting_read_function): Don't declare, global variables
|
||||
are now in src/globals.h.
|
||||
(syms_of_minibuf): Remove spurious & from previous change.
|
||||
|
||||
2011-03-20 Leo <sdl.web@gmail.com>
|
||||
|
||||
* minibuf.c (completing-read-function): New variable.
|
||||
(completing-read-default): Rename from completing-read.
|
||||
(completing-read): Call completing-read-function.
|
||||
|
||||
2011-03-19 Juanma Barranquero <lekktu@gmail.com>
|
||||
|
||||
* xfaces.c (Fx_load_color_file):
|
||||
Read color file from absolute filename (bug#8250).
|
||||
|
||||
2011-03-19 Juanma Barranquero <lekktu@gmail.com>
|
||||
|
||||
* makefile.w32-in: Update dependencies.
|
||||
|
||||
2011-03-17 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* makefile.w32-in ($(BLD)/unexw32.$(O)): Depend on $(SRC)/unexec.h.
|
||||
|
@ -221,7 +221,7 @@ GLOBAL_SOURCES = dosfns.c msdos.c \
|
||||
region-cache.c sound.c atimer.c \
|
||||
doprnt.c intervals.c textprop.c composite.c
|
||||
SOME_MACHINE_OBJECTS = dosfns.o msdos.o \
|
||||
xterm.o xfns.o xmenu.o xselect.o xrdb.o xsmfns.o dbusbind.o
|
||||
xterm.o xfns.o xmenu.o xselect.o xrdb.o xsmfns.o dbusbind.o
|
||||
obj = $(GLOBAL_SOURCES:.c=.o)
|
||||
|
||||
globals.h: gl-stamp
|
||||
@ -386,6 +386,7 @@ $(BLD)/alloc.$(O) : \
|
||||
$(EMACS_ROOT)/nt/inc/unistd.h \
|
||||
$(EMACS_ROOT)/nt/inc/sys/time.h \
|
||||
$(LISP_H) \
|
||||
$(PROCESS_H) \
|
||||
$(SRC)/atimer.h \
|
||||
$(SRC)/blockinput.h \
|
||||
$(SRC)/buffer.h \
|
||||
@ -396,7 +397,6 @@ $(BLD)/alloc.$(O) : \
|
||||
$(SRC)/frame.h \
|
||||
$(SRC)/intervals.h \
|
||||
$(SRC)/keyboard.h \
|
||||
$(PROCESS_H) \
|
||||
$(SRC)/puresize.h \
|
||||
$(SRC)/syssignal.h \
|
||||
$(SRC)/systime.h \
|
||||
@ -484,8 +484,10 @@ $(BLD)/callproc.$(O) : \
|
||||
$(CONFIG_H) \
|
||||
$(EMACS_ROOT)/nt/inc/unistd.h \
|
||||
$(EMACS_ROOT)/nt/inc/sys/file.h \
|
||||
$(EMACS_ROOT)/nt/inc/sys/ioctl.h \
|
||||
$(EMACS_ROOT)/nt/inc/sys/time.h \
|
||||
$(LISP_H) \
|
||||
$(PROCESS_H) \
|
||||
$(SRC)/atimer.h \
|
||||
$(SRC)/blockinput.h \
|
||||
$(SRC)/buffer.h \
|
||||
@ -497,7 +499,6 @@ $(BLD)/callproc.$(O) : \
|
||||
$(SRC)/dispextern.h \
|
||||
$(SRC)/epaths.h \
|
||||
$(SRC)/frame.h \
|
||||
$(PROCESS_H) \
|
||||
$(SRC)/syssignal.h \
|
||||
$(SRC)/systime.h \
|
||||
$(SRC)/systty.h \
|
||||
@ -653,6 +654,7 @@ $(BLD)/dired.$(O) : \
|
||||
$(EMACS_ROOT)/nt/inc/unistd.h \
|
||||
$(EMACS_ROOT)/nt/inc/sys/dir.h \
|
||||
$(EMACS_ROOT)/nt/inc/sys/time.h \
|
||||
$(EMACS_ROOT)/lib/filemode.h \
|
||||
$(LISP_H) \
|
||||
$(SRC)/atimer.h \
|
||||
$(SRC)/blockinput.h \
|
||||
@ -662,7 +664,6 @@ $(BLD)/dired.$(O) : \
|
||||
$(SRC)/coding.h \
|
||||
$(SRC)/commands.h \
|
||||
$(SRC)/composite.h \
|
||||
$(EMACS_ROOT)/lib/filemode.h \
|
||||
$(SRC)/ndir.h \
|
||||
$(SRC)/regex.h \
|
||||
$(SRC)/systime.h
|
||||
@ -673,6 +674,7 @@ $(BLD)/dispnew.$(O) : \
|
||||
$(EMACS_ROOT)/nt/inc/unistd.h \
|
||||
$(EMACS_ROOT)/nt/inc/sys/time.h \
|
||||
$(LISP_H) \
|
||||
$(PROCESS_H) \
|
||||
$(SRC)/atimer.h \
|
||||
$(SRC)/blockinput.h \
|
||||
$(SRC)/buffer.h \
|
||||
@ -687,7 +689,6 @@ $(BLD)/dispnew.$(O) : \
|
||||
$(SRC)/indent.h \
|
||||
$(SRC)/intervals.h \
|
||||
$(SRC)/keyboard.h \
|
||||
$(PROCESS_H) \
|
||||
$(SRC)/syssignal.h \
|
||||
$(SRC)/systime.h \
|
||||
$(SRC)/termchar.h \
|
||||
@ -726,8 +727,8 @@ $(BLD)/editfns.$(O) : \
|
||||
$(EMACS_ROOT)/nt/inc/pwd.h \
|
||||
$(EMACS_ROOT)/nt/inc/unistd.h \
|
||||
$(EMACS_ROOT)/nt/inc/sys/time.h \
|
||||
$(EMACS_ROOT)/lib/strftime.h \
|
||||
$(EMACS_ROOT)/lib/intprops.h \
|
||||
$(EMACS_ROOT)/lib/strftime.h \
|
||||
$(LISP_H) \
|
||||
$(SRC)/atimer.h \
|
||||
$(SRC)/blockinput.h \
|
||||
@ -747,8 +748,10 @@ $(BLD)/emacs.$(O) : \
|
||||
$(CONFIG_H) \
|
||||
$(EMACS_ROOT)/nt/inc/unistd.h \
|
||||
$(EMACS_ROOT)/nt/inc/sys/file.h \
|
||||
$(EMACS_ROOT)/nt/inc/sys/ioctl.h \
|
||||
$(EMACS_ROOT)/nt/inc/sys/time.h \
|
||||
$(LISP_H) \
|
||||
$(PROCESS_H) \
|
||||
$(SRC)/atimer.h \
|
||||
$(SRC)/blockinput.h \
|
||||
$(SRC)/buffer.h \
|
||||
@ -757,15 +760,14 @@ $(BLD)/emacs.$(O) : \
|
||||
$(SRC)/composite.h \
|
||||
$(SRC)/dispextern.h \
|
||||
$(SRC)/frame.h \
|
||||
$(SRC)/gnutls.h \
|
||||
$(SRC)/intervals.h \
|
||||
$(SRC)/keyboard.h \
|
||||
$(SRC)/keymap.h \
|
||||
$(PROCESS_H) \
|
||||
$(SRC)/syssignal.h \
|
||||
$(SRC)/systime.h \
|
||||
$(SRC)/systty.h \
|
||||
$(SRC)/termhooks.h \
|
||||
$(SRC)/unexec.h \
|
||||
$(SRC)/w32.h \
|
||||
$(SRC)/w32gui.h \
|
||||
$(SRC)/w32heap.h \
|
||||
@ -837,6 +839,7 @@ $(BLD)/fns.$(O) : \
|
||||
$(CONFIG_H) \
|
||||
$(EMACS_ROOT)/nt/inc/langinfo.h \
|
||||
$(EMACS_ROOT)/nt/inc/nl_types.h \
|
||||
$(EMACS_ROOT)/nt/inc/stdint.h \
|
||||
$(EMACS_ROOT)/nt/inc/unistd.h \
|
||||
$(EMACS_ROOT)/nt/inc/sys/time.h \
|
||||
$(EMACS_ROOT)/lib/md5.h \
|
||||
@ -1030,6 +1033,7 @@ $(BLD)/keyboard.$(O) : \
|
||||
$(EMACS_ROOT)/nt/inc/sys/ioctl.h \
|
||||
$(EMACS_ROOT)/nt/inc/sys/time.h \
|
||||
$(LISP_H) \
|
||||
$(PROCESS_H) \
|
||||
$(SRC)/atimer.h \
|
||||
$(SRC)/blockinput.h \
|
||||
$(SRC)/buffer.h \
|
||||
@ -1044,7 +1048,6 @@ $(BLD)/keyboard.$(O) : \
|
||||
$(SRC)/keyboard.h \
|
||||
$(SRC)/keymap.h \
|
||||
$(SRC)/macros.h \
|
||||
$(PROCESS_H) \
|
||||
$(SRC)/puresize.h \
|
||||
$(SRC)/syntax.h \
|
||||
$(SRC)/syssignal.h \
|
||||
@ -1182,11 +1185,11 @@ $(BLD)/w32.$(O) : \
|
||||
$(EMACS_ROOT)/nt/inc/sys/socket.h \
|
||||
$(EMACS_ROOT)/nt/inc/sys/time.h \
|
||||
$(LISP_H) \
|
||||
$(PROCESS_H) \
|
||||
$(SRC)/coding.h \
|
||||
$(SRC)/composite.h \
|
||||
$(SRC)/dispextern.h \
|
||||
$(SRC)/ndir.h \
|
||||
$(PROCESS_H) \
|
||||
$(SRC)/systime.h \
|
||||
$(SRC)/w32.h \
|
||||
$(SRC)/w32gui.h \
|
||||
@ -1225,11 +1228,11 @@ $(BLD)/w32proc.$(O) : \
|
||||
$(EMACS_ROOT)/nt/inc/sys/file.h \
|
||||
$(EMACS_ROOT)/nt/inc/sys/time.h \
|
||||
$(LISP_H) \
|
||||
$(PROCESS_H) \
|
||||
$(SRC)/character.h \
|
||||
$(SRC)/coding.h \
|
||||
$(SRC)/composite.h \
|
||||
$(SRC)/dispextern.h \
|
||||
$(PROCESS_H) \
|
||||
$(SRC)/syssignal.h \
|
||||
$(SRC)/systime.h \
|
||||
$(SRC)/syswait.h \
|
||||
@ -1261,6 +1264,7 @@ $(BLD)/print.$(O) : \
|
||||
$(EMACS_ROOT)/lib/ftoastr.h \
|
||||
$(EMACS_ROOT)/lib/intprops.h \
|
||||
$(LISP_H) \
|
||||
$(PROCESS_H) \
|
||||
$(SRC)/atimer.h \
|
||||
$(SRC)/blockinput.h \
|
||||
$(SRC)/buffer.h \
|
||||
@ -1274,7 +1278,6 @@ $(BLD)/print.$(O) : \
|
||||
$(SRC)/frame.h \
|
||||
$(SRC)/intervals.h \
|
||||
$(SRC)/keyboard.h \
|
||||
$(PROCESS_H) \
|
||||
$(SRC)/systime.h \
|
||||
$(SRC)/termchar.h \
|
||||
$(SRC)/termhooks.h \
|
||||
@ -1289,9 +1292,11 @@ $(BLD)/process.$(O) : \
|
||||
$(EMACS_ROOT)/nt/inc/arpa/inet.h \
|
||||
$(EMACS_ROOT)/nt/inc/netinet/in.h \
|
||||
$(EMACS_ROOT)/nt/inc/sys/file.h \
|
||||
$(EMACS_ROOT)/nt/inc/sys/ioctl.h \
|
||||
$(EMACS_ROOT)/nt/inc/sys/socket.h \
|
||||
$(EMACS_ROOT)/nt/inc/sys/time.h \
|
||||
$(LISP_H) \
|
||||
$(PROCESS_H) \
|
||||
$(SRC)/atimer.h \
|
||||
$(SRC)/blockinput.h \
|
||||
$(SRC)/buffer.h \
|
||||
@ -1302,7 +1307,6 @@ $(BLD)/process.$(O) : \
|
||||
$(SRC)/dispextern.h \
|
||||
$(SRC)/frame.h \
|
||||
$(SRC)/keyboard.h \
|
||||
$(PROCESS_H) \
|
||||
$(SRC)/sysselect.h \
|
||||
$(SRC)/syssignal.h \
|
||||
$(SRC)/systime.h \
|
||||
@ -1415,10 +1419,12 @@ $(BLD)/sysdep.$(O) : \
|
||||
$(EMACS_ROOT)/nt/inc/pwd.h \
|
||||
$(EMACS_ROOT)/nt/inc/unistd.h \
|
||||
$(EMACS_ROOT)/nt/inc/sys/file.h \
|
||||
$(EMACS_ROOT)/nt/inc/sys/ioctl.h \
|
||||
$(EMACS_ROOT)/nt/inc/sys/socket.h \
|
||||
$(EMACS_ROOT)/nt/inc/sys/time.h \
|
||||
$(EMACS_ROOT)/lib/ignore-value.h \
|
||||
$(LISP_H) \
|
||||
$(PROCESS_H) \
|
||||
$(SRC)/atimer.h \
|
||||
$(SRC)/blockinput.h \
|
||||
$(SRC)/cm.h \
|
||||
@ -1427,7 +1433,6 @@ $(BLD)/sysdep.$(O) : \
|
||||
$(SRC)/dispextern.h \
|
||||
$(SRC)/frame.h \
|
||||
$(SRC)/keyboard.h \
|
||||
$(PROCESS_H) \
|
||||
$(SRC)/sysselect.h \
|
||||
$(SRC)/syssignal.h \
|
||||
$(SRC)/systime.h \
|
||||
@ -1445,6 +1450,7 @@ $(BLD)/term.$(O) : \
|
||||
$(CONFIG_H) \
|
||||
$(EMACS_ROOT)/nt/inc/unistd.h \
|
||||
$(EMACS_ROOT)/nt/inc/sys/file.h \
|
||||
$(EMACS_ROOT)/nt/inc/sys/ioctl.h \
|
||||
$(EMACS_ROOT)/nt/inc/sys/time.h \
|
||||
$(LISP_H) \
|
||||
$(SRC)/atimer.h \
|
||||
@ -1500,9 +1506,9 @@ $(BLD)/textprop.$(O) : \
|
||||
|
||||
$(BLD)/tparam.$(O) : \
|
||||
$(SRC)/tparam.c \
|
||||
$(SRC)/tparam.h \
|
||||
$(CONFIG_H) \
|
||||
$(LISP_H)
|
||||
$(LISP_H) \
|
||||
$(SRC)/tparam.h
|
||||
|
||||
$(BLD)/undo.$(O) : \
|
||||
$(SRC)/undo.c \
|
||||
@ -1516,8 +1522,8 @@ $(BLD)/undo.$(O) : \
|
||||
|
||||
$(BLD)/unexw32.$(O) : \
|
||||
$(SRC)/unexw32.c \
|
||||
$(SRC)/unexec.h \
|
||||
$(CONFIG_H) \
|
||||
$(SRC)/unexec.h \
|
||||
$(SRC)/w32heap.h
|
||||
|
||||
$(BLD)/vm-limit.$(O) : \
|
||||
@ -1557,6 +1563,7 @@ $(BLD)/xdisp.$(O) : \
|
||||
$(EMACS_ROOT)/nt/inc/unistd.h \
|
||||
$(EMACS_ROOT)/nt/inc/sys/time.h \
|
||||
$(LISP_H) \
|
||||
$(PROCESS_H) \
|
||||
$(SRC)/atimer.h \
|
||||
$(SRC)/blockinput.h \
|
||||
$(SRC)/buffer.h \
|
||||
@ -1576,7 +1583,6 @@ $(BLD)/xdisp.$(O) : \
|
||||
$(SRC)/keyboard.h \
|
||||
$(SRC)/keymap.h \
|
||||
$(SRC)/macros.h \
|
||||
$(PROCESS_H) \
|
||||
$(SRC)/region-cache.h \
|
||||
$(SRC)/systime.h \
|
||||
$(SRC)/termchar.h \
|
||||
@ -1668,8 +1674,10 @@ $(BLD)/w32term.$(O) : \
|
||||
$(SRC)/w32term.c \
|
||||
$(CONFIG_H) \
|
||||
$(EMACS_ROOT)/nt/inc/unistd.h \
|
||||
$(EMACS_ROOT)/nt/inc/sys/ioctl.h \
|
||||
$(EMACS_ROOT)/nt/inc/sys/time.h \
|
||||
$(LISP_H) \
|
||||
$(PROCESS_H) \
|
||||
$(SRC)/atimer.h \
|
||||
$(SRC)/blockinput.h \
|
||||
$(SRC)/buffer.h \
|
||||
@ -1686,7 +1694,6 @@ $(BLD)/w32term.$(O) : \
|
||||
$(SRC)/intervals.h \
|
||||
$(SRC)/keyboard.h \
|
||||
$(SRC)/keymap.h \
|
||||
$(PROCESS_H) \
|
||||
$(SRC)/systime.h \
|
||||
$(SRC)/systty.h \
|
||||
$(SRC)/termchar.h \
|
||||
@ -1709,7 +1716,6 @@ $(BLD)/w32select.$(O) : \
|
||||
$(SRC)/charset.h \
|
||||
$(SRC)/coding.h \
|
||||
$(SRC)/composite.h \
|
||||
$(SRC)/keyboard.h \
|
||||
$(SRC)/systime.h \
|
||||
$(SRC)/w32gui.h \
|
||||
$(SRC)/w32heap.h \
|
||||
|
@ -72,6 +72,7 @@ Lisp_Object Qcompletion_ignore_case;
|
||||
Lisp_Object Qminibuffer_completion_table;
|
||||
Lisp_Object Qminibuffer_completion_predicate;
|
||||
Lisp_Object Qminibuffer_completion_confirm;
|
||||
Lisp_Object Qcompleting_read_default;
|
||||
Lisp_Object Quser_variable_p;
|
||||
|
||||
Lisp_Object Qminibuffer_default;
|
||||
@ -1674,7 +1675,27 @@ If INHERIT-INPUT-METHOD is non-nil, the minibuffer inherits
|
||||
the current input method and the setting of `enable-multibyte-characters'.
|
||||
|
||||
Completion ignores case if the ambient value of
|
||||
`completion-ignore-case' is non-nil. */)
|
||||
`completion-ignore-case' is non-nil.
|
||||
|
||||
See also `completing-read-function'. */)
|
||||
(Lisp_Object prompt, Lisp_Object collection, Lisp_Object predicate, Lisp_Object require_match, Lisp_Object initial_input, Lisp_Object hist, Lisp_Object def, Lisp_Object inherit_input_method)
|
||||
{
|
||||
Lisp_Object args[9];
|
||||
args[0] = Vcompleting_read_function;
|
||||
args[1] = prompt;
|
||||
args[2] = collection;
|
||||
args[3] = predicate;
|
||||
args[4] = require_match;
|
||||
args[5] = initial_input;
|
||||
args[6] = hist;
|
||||
args[7] = def;
|
||||
args[8] = inherit_input_method;
|
||||
return Ffuncall (9, args);
|
||||
}
|
||||
|
||||
DEFUN ("completing-read-default", Fcompleting_read_default, Scompleting_read_default, 2, 8, 0,
|
||||
doc: /* Default method for reading from the minibuffer with completion.
|
||||
See `completing-read' for the meaning of the arguments. */)
|
||||
(Lisp_Object prompt, Lisp_Object collection, Lisp_Object predicate, Lisp_Object require_match, Lisp_Object initial_input, Lisp_Object hist, Lisp_Object def, Lisp_Object inherit_input_method)
|
||||
{
|
||||
Lisp_Object val, histvar, histpos, position;
|
||||
@ -1972,6 +1993,9 @@ syms_of_minibuf (void)
|
||||
minibuf_save_list = Qnil;
|
||||
staticpro (&minibuf_save_list);
|
||||
|
||||
Qcompleting_read_default = intern_c_string ("completing-read-default");
|
||||
staticpro (&Qcompleting_read_default);
|
||||
|
||||
Qcompletion_ignore_case = intern_c_string ("completion-ignore-case");
|
||||
staticpro (&Qcompletion_ignore_case);
|
||||
|
||||
@ -2116,6 +2140,12 @@ If the value is `confirm-after-completion', the user may exit with an
|
||||
doc: /* Non-nil means completing file names. */);
|
||||
Vminibuffer_completing_file_name = Qnil;
|
||||
|
||||
DEFVAR_LISP ("completing-read-function",
|
||||
Vcompleting_read_function,
|
||||
doc: /* The function called by `completing-read' to do the work.
|
||||
It should accept the same arguments as `completing-read'. */);
|
||||
Vcompleting_read_function = Qcompleting_read_default;
|
||||
|
||||
DEFVAR_LISP ("minibuffer-help-form", Vminibuffer_help_form,
|
||||
doc: /* Value that `help-form' takes on inside the minibuffer. */);
|
||||
Vminibuffer_help_form = Qnil;
|
||||
@ -2191,4 +2221,5 @@ properties. */);
|
||||
defsubr (&Stest_completion);
|
||||
defsubr (&Sassoc_string);
|
||||
defsubr (&Scompleting_read);
|
||||
defsubr (&Scompleting_read_default);
|
||||
}
|
||||
|
@ -6297,7 +6297,7 @@ where R,G,B are numbers between 0 and 255 and name is an arbitrary string. */)
|
||||
CHECK_STRING (filename);
|
||||
abspath = Fexpand_file_name (filename, Qnil);
|
||||
|
||||
fp = fopen (SDATA (filename), "rt");
|
||||
fp = fopen (SDATA (abspath), "rt");
|
||||
if (fp)
|
||||
{
|
||||
char buf[512];
|
||||
|
Loading…
Reference in New Issue
Block a user