Import of texinfo-4.7, as prepared by texinfo2netbsd.
Changes since 4.6:
4.7 (9 April 2004)
* Language:
. new commands @float, @caption, @shortcaption, @listoffloats for
initial implementation of floating material (figures, tables, etc).
Ironically, they do not yet actually float anywhere.
. new commands @docbook, @ifdocbook, @ifnotdocbook for conditional Docbook.
. new commands @ordf{} and @ordm{} for Spanish feminine/masculine ordinals.
. new commands @deftypecv[x] for class variables in typed OO languages.
. new command @registeredsymbol for the r-in-a-circle symbol.
. new command @headitem to make a heading row in @multitable.
. new command @LaTeX{} for the LaTeX logo.
. new command @comma{} to avoid comma-parsing problems.
. @url is now a synonym for @uref; new command @indicateurl has the
old meaning of just displaying a url as text.
. @quotation now accepts an optional argument for labelling the text
as a `Note', `Tip', etc.
. @defun (et al.) heading lines can now be continued with a lone @.
. @acronym accepts an optional argument for the meaning of the acronym.
* makeinfo:
. New environment variable TEXINFO_OUTPUT_FORMAT determines the output
format at runtime, if no options are specified.
. New option --plaintext, equivalent to --no-headers with Info output.
. All outputs:
- sections are numbered by default.
. Info output:
- punctuation is inserted after @pxref and @ref, if needed to make
cross-references valid.
- line numbers included in index menus, so Info readers can go to
the exact line of an entry, not just a node. Also in plaintext output.
- ^@^H[index^@^H] cookie included in index menus, so Info readers
can handle the ] etc. commands better.
. HTML output:
- new algorithm for cross-references to other manuals, for maximum
portability and stability.
- include node name in <title> with split output.
- @multicolumn fractions become percentages.
- entities used for bullets, quotes, dashes, and others.
- index entries are links to the exact locations.
- <h4> and <h5> used for @sub and @subsubsections again.
- accented dotless i supported.
. XML output: many new tags and structure to preserve more source features.
. Docbook output:
- upgraded DTD to Docbook XML 4.2, no longer using Docbook SGML.
- improved translation in general, for instance:
- line annotations and marked quotations.
* texi2dvi:
. if available, use etex (pdfetex if --pdf) by default.
. if the input file includes thumbpdf.sty (for LaTeX), then run thumbpdf.
. more output if --debug.
* texinfo.tex:
. @defun names are now printed in typewriter (instead of bold), and
within the arguments, @var text is printed in slanted typewriter.
. @tex code is executed inside a TeX group, so that any changes must
be prefixed with \global (or the equivalent) to be effective. (This
change was actually made years ago, but never made it into the NEWS.)
* info:
. new option --where (aka --location, -w) to report where an Info file
would be found, instead of reading it.
. by default, output ANSI terminal escape sequences as-is; new option
--no-raw-escapes overrides this.
. use the newly-generated index line numbers.
* Distribution:
. new script gendocs.sh (not installed), for use by GNU maintainers in
getting their manuals on the GNU web site. Documented in
maintain.texi (http://www.gnu.org/prep/maintain_toc.html).
. Most code uses ANSI C prototypes, to some extent.
. New translation: nb.
. automake 1.8.3, autoconf 2.59, gettext 0.14.1.
2004-07-13 03:26:33 +04:00
|
|
|
# lib-ld.m4 serial 3 (gettext-0.13)
|
2003-07-03 18:58:40 +04:00
|
|
|
dnl Copyright (C) 1996-2003 Free Software Foundation, Inc.
|
2003-01-17 17:54:14 +03:00
|
|
|
dnl This file is free software, distributed under the terms of the GNU
|
|
|
|
dnl General Public License. As a special exception to the GNU General
|
|
|
|
dnl Public License, this file may be distributed as part of a program
|
|
|
|
dnl that contains a configuration script generated by Autoconf, under
|
|
|
|
dnl the same distribution terms as the rest of that program.
|
|
|
|
|
|
|
|
dnl Subroutines of libtool.m4,
|
|
|
|
dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision
|
|
|
|
dnl with libtool.m4.
|
|
|
|
|
|
|
|
dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no.
|
|
|
|
AC_DEFUN([AC_LIB_PROG_LD_GNU],
|
|
|
|
[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld,
|
|
|
|
[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
|
Import of texinfo-4.7, as prepared by texinfo2netbsd.
Changes since 4.6:
4.7 (9 April 2004)
* Language:
. new commands @float, @caption, @shortcaption, @listoffloats for
initial implementation of floating material (figures, tables, etc).
Ironically, they do not yet actually float anywhere.
. new commands @docbook, @ifdocbook, @ifnotdocbook for conditional Docbook.
. new commands @ordf{} and @ordm{} for Spanish feminine/masculine ordinals.
. new commands @deftypecv[x] for class variables in typed OO languages.
. new command @registeredsymbol for the r-in-a-circle symbol.
. new command @headitem to make a heading row in @multitable.
. new command @LaTeX{} for the LaTeX logo.
. new command @comma{} to avoid comma-parsing problems.
. @url is now a synonym for @uref; new command @indicateurl has the
old meaning of just displaying a url as text.
. @quotation now accepts an optional argument for labelling the text
as a `Note', `Tip', etc.
. @defun (et al.) heading lines can now be continued with a lone @.
. @acronym accepts an optional argument for the meaning of the acronym.
* makeinfo:
. New environment variable TEXINFO_OUTPUT_FORMAT determines the output
format at runtime, if no options are specified.
. New option --plaintext, equivalent to --no-headers with Info output.
. All outputs:
- sections are numbered by default.
. Info output:
- punctuation is inserted after @pxref and @ref, if needed to make
cross-references valid.
- line numbers included in index menus, so Info readers can go to
the exact line of an entry, not just a node. Also in plaintext output.
- ^@^H[index^@^H] cookie included in index menus, so Info readers
can handle the ] etc. commands better.
. HTML output:
- new algorithm for cross-references to other manuals, for maximum
portability and stability.
- include node name in <title> with split output.
- @multicolumn fractions become percentages.
- entities used for bullets, quotes, dashes, and others.
- index entries are links to the exact locations.
- <h4> and <h5> used for @sub and @subsubsections again.
- accented dotless i supported.
. XML output: many new tags and structure to preserve more source features.
. Docbook output:
- upgraded DTD to Docbook XML 4.2, no longer using Docbook SGML.
- improved translation in general, for instance:
- line annotations and marked quotations.
* texi2dvi:
. if available, use etex (pdfetex if --pdf) by default.
. if the input file includes thumbpdf.sty (for LaTeX), then run thumbpdf.
. more output if --debug.
* texinfo.tex:
. @defun names are now printed in typewriter (instead of bold), and
within the arguments, @var text is printed in slanted typewriter.
. @tex code is executed inside a TeX group, so that any changes must
be prefixed with \global (or the equivalent) to be effective. (This
change was actually made years ago, but never made it into the NEWS.)
* info:
. new option --where (aka --location, -w) to report where an Info file
would be found, instead of reading it.
. by default, output ANSI terminal escape sequences as-is; new option
--no-raw-escapes overrides this.
. use the newly-generated index line numbers.
* Distribution:
. new script gendocs.sh (not installed), for use by GNU maintainers in
getting their manuals on the GNU web site. Documented in
maintain.texi (http://www.gnu.org/prep/maintain_toc.html).
. Most code uses ANSI C prototypes, to some extent.
. New translation: nb.
. automake 1.8.3, autoconf 2.59, gettext 0.14.1.
2004-07-13 03:26:33 +04:00
|
|
|
case `$LD -v 2>&1 </dev/null` in
|
|
|
|
*GNU* | *'with BFD'*)
|
|
|
|
acl_cv_prog_gnu_ld=yes ;;
|
|
|
|
*)
|
|
|
|
acl_cv_prog_gnu_ld=no ;;
|
|
|
|
esac])
|
2003-01-17 17:54:14 +03:00
|
|
|
with_gnu_ld=$acl_cv_prog_gnu_ld
|
|
|
|
])
|
|
|
|
|
|
|
|
dnl From libtool-1.4. Sets the variable LD.
|
|
|
|
AC_DEFUN([AC_LIB_PROG_LD],
|
|
|
|
[AC_ARG_WITH(gnu-ld,
|
|
|
|
[ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
|
|
|
|
test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
|
|
|
|
AC_REQUIRE([AC_PROG_CC])dnl
|
|
|
|
AC_REQUIRE([AC_CANONICAL_HOST])dnl
|
2003-07-03 18:58:40 +04:00
|
|
|
# Prepare PATH_SEPARATOR.
|
|
|
|
# The user is always right.
|
|
|
|
if test "${PATH_SEPARATOR+set}" != set; then
|
|
|
|
echo "#! /bin/sh" >conf$$.sh
|
|
|
|
echo "exit 0" >>conf$$.sh
|
|
|
|
chmod +x conf$$.sh
|
|
|
|
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
|
|
|
PATH_SEPARATOR=';'
|
|
|
|
else
|
|
|
|
PATH_SEPARATOR=:
|
|
|
|
fi
|
|
|
|
rm -f conf$$.sh
|
|
|
|
fi
|
2003-01-17 17:54:14 +03:00
|
|
|
ac_prog=ld
|
|
|
|
if test "$GCC" = yes; then
|
|
|
|
# Check if gcc -print-prog-name=ld gives a path.
|
|
|
|
AC_MSG_CHECKING([for ld used by GCC])
|
|
|
|
case $host in
|
|
|
|
*-*-mingw*)
|
|
|
|
# gcc leaves a trailing carriage return which upsets mingw
|
|
|
|
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
|
|
|
|
*)
|
|
|
|
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
|
|
|
|
esac
|
|
|
|
case $ac_prog in
|
|
|
|
# Accept absolute paths.
|
|
|
|
[[\\/]* | [A-Za-z]:[\\/]*)]
|
|
|
|
[re_direlt='/[^/][^/]*/\.\./']
|
|
|
|
# Canonicalize the path of ld
|
|
|
|
ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
|
|
|
|
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
|
|
|
|
ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
|
|
|
|
done
|
|
|
|
test -z "$LD" && LD="$ac_prog"
|
|
|
|
;;
|
|
|
|
"")
|
|
|
|
# If it fails, then pretend we aren't using GCC.
|
|
|
|
ac_prog=ld
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
# If it is relative, then search for the first ld in PATH.
|
|
|
|
with_gnu_ld=unknown
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
elif test "$with_gnu_ld" = yes; then
|
|
|
|
AC_MSG_CHECKING([for GNU ld])
|
|
|
|
else
|
|
|
|
AC_MSG_CHECKING([for non-GNU ld])
|
|
|
|
fi
|
|
|
|
AC_CACHE_VAL(acl_cv_path_LD,
|
|
|
|
[if test -z "$LD"; then
|
|
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
|
|
|
|
for ac_dir in $PATH; do
|
|
|
|
test -z "$ac_dir" && ac_dir=.
|
|
|
|
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
|
|
|
|
acl_cv_path_LD="$ac_dir/$ac_prog"
|
|
|
|
# Check to see if the program is GNU ld. I'd rather use --version,
|
|
|
|
# but apparently some GNU ld's only accept -v.
|
|
|
|
# Break only if it was the GNU/non-GNU ld that we prefer.
|
Import of texinfo-4.7, as prepared by texinfo2netbsd.
Changes since 4.6:
4.7 (9 April 2004)
* Language:
. new commands @float, @caption, @shortcaption, @listoffloats for
initial implementation of floating material (figures, tables, etc).
Ironically, they do not yet actually float anywhere.
. new commands @docbook, @ifdocbook, @ifnotdocbook for conditional Docbook.
. new commands @ordf{} and @ordm{} for Spanish feminine/masculine ordinals.
. new commands @deftypecv[x] for class variables in typed OO languages.
. new command @registeredsymbol for the r-in-a-circle symbol.
. new command @headitem to make a heading row in @multitable.
. new command @LaTeX{} for the LaTeX logo.
. new command @comma{} to avoid comma-parsing problems.
. @url is now a synonym for @uref; new command @indicateurl has the
old meaning of just displaying a url as text.
. @quotation now accepts an optional argument for labelling the text
as a `Note', `Tip', etc.
. @defun (et al.) heading lines can now be continued with a lone @.
. @acronym accepts an optional argument for the meaning of the acronym.
* makeinfo:
. New environment variable TEXINFO_OUTPUT_FORMAT determines the output
format at runtime, if no options are specified.
. New option --plaintext, equivalent to --no-headers with Info output.
. All outputs:
- sections are numbered by default.
. Info output:
- punctuation is inserted after @pxref and @ref, if needed to make
cross-references valid.
- line numbers included in index menus, so Info readers can go to
the exact line of an entry, not just a node. Also in plaintext output.
- ^@^H[index^@^H] cookie included in index menus, so Info readers
can handle the ] etc. commands better.
. HTML output:
- new algorithm for cross-references to other manuals, for maximum
portability and stability.
- include node name in <title> with split output.
- @multicolumn fractions become percentages.
- entities used for bullets, quotes, dashes, and others.
- index entries are links to the exact locations.
- <h4> and <h5> used for @sub and @subsubsections again.
- accented dotless i supported.
. XML output: many new tags and structure to preserve more source features.
. Docbook output:
- upgraded DTD to Docbook XML 4.2, no longer using Docbook SGML.
- improved translation in general, for instance:
- line annotations and marked quotations.
* texi2dvi:
. if available, use etex (pdfetex if --pdf) by default.
. if the input file includes thumbpdf.sty (for LaTeX), then run thumbpdf.
. more output if --debug.
* texinfo.tex:
. @defun names are now printed in typewriter (instead of bold), and
within the arguments, @var text is printed in slanted typewriter.
. @tex code is executed inside a TeX group, so that any changes must
be prefixed with \global (or the equivalent) to be effective. (This
change was actually made years ago, but never made it into the NEWS.)
* info:
. new option --where (aka --location, -w) to report where an Info file
would be found, instead of reading it.
. by default, output ANSI terminal escape sequences as-is; new option
--no-raw-escapes overrides this.
. use the newly-generated index line numbers.
* Distribution:
. new script gendocs.sh (not installed), for use by GNU maintainers in
getting their manuals on the GNU web site. Documented in
maintain.texi (http://www.gnu.org/prep/maintain_toc.html).
. Most code uses ANSI C prototypes, to some extent.
. New translation: nb.
. automake 1.8.3, autoconf 2.59, gettext 0.14.1.
2004-07-13 03:26:33 +04:00
|
|
|
case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
|
|
|
|
*GNU* | *'with BFD'*)
|
|
|
|
test "$with_gnu_ld" != no && break ;;
|
|
|
|
*)
|
|
|
|
test "$with_gnu_ld" != yes && break ;;
|
|
|
|
esac
|
2003-01-17 17:54:14 +03:00
|
|
|
fi
|
|
|
|
done
|
|
|
|
IFS="$ac_save_ifs"
|
|
|
|
else
|
|
|
|
acl_cv_path_LD="$LD" # Let the user override the test with a path.
|
|
|
|
fi])
|
|
|
|
LD="$acl_cv_path_LD"
|
|
|
|
if test -n "$LD"; then
|
|
|
|
AC_MSG_RESULT($LD)
|
|
|
|
else
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
fi
|
|
|
|
test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
|
|
|
|
AC_LIB_PROG_LD_GNU
|
|
|
|
])
|