aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc/configure
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2009-04-21 20:13:08 +0000
committerJoseph Myers <joseph@codesourcery.com>2009-04-21 20:13:08 +0000
commit26e251b60395cf60fd81e6e10ab2c487f75f0164 (patch)
tree9b59a331d0a8fdffe7e3d43c3bda04ce156077c8 /gdb/doc/configure
parent32c1c914bc653cb5bd8cb627d244d1142172bb76 (diff)
downloadgdb-26e251b60395cf60fd81e6e10ab2c487f75f0164.zip
gdb-26e251b60395cf60fd81e6e10ab2c487f75f0164.tar.gz
gdb-26e251b60395cf60fd81e6e10ab2c487f75f0164.tar.bz2
gdb:
* configure.ac (--with-datarootdir, --with-docdir, --with-pdfdir, --with-htmldir): New. * configure: Regenerate. gdb/doc: * configure.ac (--with-datarootdir, --with-docdir, --with-pdfdir, --with-htmldir): New. * configure: Regenerate. * Makefile.in (datarootdir, docdir): Define. (gdb.dvi, gdb.pdf): Use same -I options as for building gdb.info instead of $(SET_TEXINPUTS). (gdbint.dvi, gdbint.pdf): Use same -I options as for building gdbint.info instead of $(SET_TEXINPUTS). (gdbint/index.html): Use same -I options as for building gdbint.info. (stabs.dvi, stabs.pdf): Use same -I options as for building stabs.info instead of $(SET_TEXINPUTS). (stabs/index.html): Use same -I options as for building stabs.info. (annotate.dvi, annotate.pdf): Use same -I options as for building annotate.info instead of $(SET_TEXINPUTS). (annotate/index.html): Use same -I options as for building annotate.info.
Diffstat (limited to 'gdb/doc/configure')
-rwxr-xr-xgdb/doc/configure43
1 files changed, 43 insertions, 0 deletions
diff --git a/gdb/doc/configure b/gdb/doc/configure
index dd5c9b0..fdaa1f6 100755
--- a/gdb/doc/configure
+++ b/gdb/doc/configure
@@ -783,6 +783,10 @@ if test -n "$ac_init_help"; then
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
+ --with-datarootdir use datarootdir as the data root directory.
+ --with-docdir install documentation in this directory.
+ --with-pdfdir install pdf in this directory.
+ --with-htmldir install html in this directory.
--with-pkgversion=PKG Use PKG in the version string in place of "GDB"
--with-bugurl=URL Direct users to URL to report a bug
@@ -1441,6 +1445,45 @@ echo "${ECHO_T}no, using $LN_S" >&6
fi
+# Flags needed to enable html installing and building
+
+# Check whether --with-datarootdir or --without-datarootdir was given.
+if test "${with_datarootdir+set}" = set; then
+ withval="$with_datarootdir"
+ datarootdir="\${prefix}/${withval}"
+else
+ datarootdir="\${prefix}/share"
+fi;
+
+
+# Check whether --with-docdir or --without-docdir was given.
+if test "${with_docdir+set}" = set; then
+ withval="$with_docdir"
+ docdir="\${prefix}/${withval}"
+else
+ docdir="\${datarootdir}/doc"
+fi;
+
+
+# Check whether --with-pdfdir or --without-pdfdir was given.
+if test "${with_pdfdir+set}" = set; then
+ withval="$with_pdfdir"
+ pdfdir="\${prefix}/${withval}"
+else
+ pdfdir="\${docdir}"
+fi;
+
+
+# Check whether --with-htmldir or --without-htmldir was given.
+if test "${with_htmldir+set}" = set; then
+ withval="$with_htmldir"
+ htmldir="\${prefix}/${withval}"
+else
+ htmldir="\${docdir}"
+fi;
+
+
+