summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2011-06-17 11:15:12 -0400
committerGaetan Nadon <memsize@videotron.ca>2011-06-18 14:33:28 -0400
commita81fab654085239ffcc4981b6bdab9fc18ec3d08 (patch)
treed97180afd3cfa730a27d27842b689b3362b65a26 /configure.ac
parent8e6cc68283518bba2820ff0d919aee9d49e3eb59 (diff)
Use XORG_MANPAGE_SECTIONS rather than cpprules.in to build man pages
As for all other manpages, use sed rather than the C preprocessor from the Imake days. Use SCOMAN Automake variable and groff .if for conditional text We can therefore remove ARCHMANDEFS Remove man page related code from cpprules.in Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 3 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 7432e6c..dbd17de 100644
--- a/configure.ac
+++ b/configure.ac
@@ -166,11 +166,10 @@ fi
AC_SUBST(STARTX_COOKIE_FLAGS)
# Additional substitutions in startx, xinitrc & man pages
-ARCHMANDEFS=""
SHELL_CMD="/bin/sh"
XSERVERNAME="Xorg"
XCONFIGFILE="xorg.conf"
-XCONFIGFILEMAN='${XCONFIGFILE} (__filemansuffix__)'
+XCONFIGFILEMAN='${XCONFIGFILE} (${FILE_MAN_SUFFIX})'
case $host_os in
cygwin*)
XSERVERNAME="XWin"
@@ -186,11 +185,11 @@ case $host_os in
;;
*sco*)
SHELL_CMD="/bin/ksh"
- ARCHMANDEFS="-D__SCOMAN__"
+ SCOMAN=1
;;
esac
AC_SUBST(SHELL_CMD)
-AC_SUBST(ARCHMANDEFS)
+AC_SUBST(SCOMAN)
AC_SUBST(XSERVERNAME)
AC_SUBST(XCONFIGFILE)
AC_SUBST(XCONFIGFILEMAN)