Mercurial > hg > early-roguelike
comparison rogue4/configure.ac @ 287:0b3d1b38998f
Remove version numbers from docdir paths.
Most Unix systems prefer to omit the versions.
author | John "Elwin" Edwards |
---|---|
date | Mon, 16 Oct 2017 19:53:38 -0400 |
parents | c222f9d56776 |
children | fe6b7a1a6dfc |
comparison
equal
deleted
inserted
replaced
286:3b61f1dfcc91 | 287:0b3d1b38998f |
---|---|
1 # -*- Autoconf -*- | 1 # -*- Autoconf -*- |
2 # Process this file with autoconf to produce a configure script. | 2 # Process this file with autoconf to produce a configure script. |
3 | 3 |
4 AC_PREREQ(2.56) | 4 AC_PREREQ(2.56) |
5 AC_INIT([Rogue],[5.2.2], [yendor@rogueforge.net]) | 5 AC_INIT([Rogue],[5.2.2], [yendor@rogueforge.net], [rogue4]) |
6 AC_CONFIG_SRCDIR([armor.c]) | 6 AC_CONFIG_SRCDIR([armor.c]) |
7 AC_CONFIG_HEADERS([config.h]) | 7 AC_CONFIG_HEADERS([config.h]) |
8 AC_CONFIG_FILES([Makefile rogue.6 rogue.me]) | 8 AC_CONFIG_FILES([Makefile rogue.6 rogue.me]) |
9 | 9 |
10 # Checks for programs. | 10 # Checks for programs. |
196 else | 196 else |
197 AC_DEFINE_UNQUOTED([MAXLOAD], [$enable_maxusers], [Define if maxusers feature should be enabled]) | 197 AC_DEFINE_UNQUOTED([MAXLOAD], [$enable_maxusers], [Define if maxusers feature should be enabled]) |
198 AC_MSG_RESULT([$enable_maxusers]) | 198 AC_MSG_RESULT([$enable_maxusers]) |
199 fi | 199 fi |
200 | 200 |
201 AC_MSG_CHECKING([whether to docdir is defined]) | |
202 if test "x$docdir" = "x" ; then | |
203 AC_MSG_RESULT([docdir undefined]) | |
204 docdir=\${datadir}/doc/\${PACKAGE_TARNAME} | |
205 AC_SUBST(docdir) | |
206 else | |
207 AC_MSG_RESULT([docdir defined]) | |
208 fi | |
209 | |
210 AC_OUTPUT | 201 AC_OUTPUT |