aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1994-02-22 23:57:13 +0000
committerKarl Heuer1994-02-22 23:57:13 +0000
commit109ebdd473d797fc7d8ef4127cfc7cf9720fbbd1 (patch)
tree9804a953a55264310f92f93cbf846c1851fa73cd
parente408046f8044db181e2b4515a4cb76cb213801a6 (diff)
downloademacs-109ebdd473d797fc7d8ef4127cfc7cf9720fbbd1.tar.gz
emacs-109ebdd473d797fc7d8ef4127cfc7cf9720fbbd1.zip
New variable docdir to control where the docstring file goes.
-rwxr-xr-xconfigure1.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/configure1.in b/configure1.in
index c7344248263..ce74228d53e 100755
--- a/configure1.in
+++ b/configure1.in
@@ -79,6 +79,7 @@ lisppath='${locallisppath}:${lispdir}'
79etcdir='${datadir}/emacs/${version}/etc' 79etcdir='${datadir}/emacs/${version}/etc'
80lockdir='${statedir}/emacs/lock' 80lockdir='${statedir}/emacs/lock'
81archlibdir='${libdir}/emacs/${version}/${configuration}' 81archlibdir='${libdir}/emacs/${version}/${configuration}'
82docdir='${libdir}/emacs/${version}/etc'
82 83
83# On Sun systems, people sometimes set up the variable CPP 84# On Sun systems, people sometimes set up the variable CPP
84# with a value that is a directory, not an executable at all. 85# with a value that is a directory, not an executable at all.
@@ -296,7 +297,7 @@ Set it to either \`yes' or \`no'."
296 ## Has the user specified one of the path options? 297 ## Has the user specified one of the path options?
297 prefix | exec_prefix | bindir | libdir | etcdir | datadir | \ 298 prefix | exec_prefix | bindir | libdir | etcdir | datadir | \
298 archlibdir | statedir | mandir | infodir | lispdir | lockdir | \ 299 archlibdir | statedir | mandir | infodir | lispdir | lockdir | \
299 lisppath | locallisppath ) 300 lisppath | locallisppath | docdir )
300 ## If the value was omitted, get it from the next argument. 301 ## If the value was omitted, get it from the next argument.
301 if [ "${valomitted}" = "yes" ]; then 302 if [ "${valomitted}" = "yes" ]; then
302 if [ $# = 0 ]; then 303 if [ $# = 0 ]; then
@@ -1413,6 +1414,7 @@ AC_SUBST(lisppath)
1413AC_SUBST(etcdir) 1414AC_SUBST(etcdir)
1414AC_SUBST(lockdir) 1415AC_SUBST(lockdir)
1415AC_SUBST(archlibdir) 1416AC_SUBST(archlibdir)
1417AC_SUBST(docdir)
1416AC_SUBST(c_switch_system) 1418AC_SUBST(c_switch_system)
1417AC_SUBST(c_switch_machine) 1419AC_SUBST(c_switch_machine)
1418AC_SUBST(libsrc_libs) 1420AC_SUBST(libsrc_libs)
@@ -1469,6 +1471,7 @@ if [ "$run_in_place" = "1" ]; then
1469 etcdir='${srcdir}/etc' 1471 etcdir='${srcdir}/etc'
1470 lockdir='${srcdir}/lock' 1472 lockdir='${srcdir}/lock'
1471 archlibdir=`(cd lib-src && pwd)` 1473 archlibdir=`(cd lib-src && pwd)`
1474 docdir=$archlibdir
1472 infodir='${srcdir}/info' 1475 infodir='${srcdir}/info'
1473elif [ "$single_tree" = "1" ]; then 1476elif [ "$single_tree" = "1" ]; then
1474 if [ "$exec_prefix_specified" = "" ]; then 1477 if [ "$exec_prefix_specified" = "" ]; then
@@ -1501,6 +1504,9 @@ elif [ "$single_tree" = "1" ]; then
1501 if [ "$etcdir_specified" = "" ]; then 1504 if [ "$etcdir_specified" = "" ]; then
1502 etcdir='${prefix}/common/data' 1505 etcdir='${prefix}/common/data'
1503 fi 1506 fi
1507 if [ "$docdir_specified" = "" ]; then
1508 docdir='${prefix}/common/data'
1509 fi
1504fi 1510fi
1505 1511
1506#### Report on what we decided to do. 1512#### Report on what we decided to do.