comparison rogue3/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],[3.6.4], [yendor@rogueforge.net]) 5 AC_INIT([Rogue],[3.6.4], [yendor@rogueforge.net], [rogue3])
6 AC_CONFIG_HEADERS([config.h]) 6 AC_CONFIG_HEADERS([config.h])
7 AC_CONFIG_FILES([Makefile rogue.6 rogue.r]) 7 AC_CONFIG_FILES([Makefile rogue.6 rogue.r])
8 8
9 # Checks for programs. 9 # Checks for programs.
10 AC_PROG_CC 10 AC_PROG_CC
164 else 164 else
165 AC_DEFINE_UNQUOTED([MAXLOAD], [$enable_maxusers], [Define if maxusers feature should be enabled]) 165 AC_DEFINE_UNQUOTED([MAXLOAD], [$enable_maxusers], [Define if maxusers feature should be enabled])
166 AC_MSG_RESULT([$enable_maxusers]) 166 AC_MSG_RESULT([$enable_maxusers])
167 fi 167 fi
168 168
169 AC_MSG_CHECKING([whether to docdir is defined])
170 if test "x$docdir" = "x" ; then
171 AC_MSG_RESULT([docdir undefined])
172 docdir=\${datadir}/doc/\${PACKAGE_TARNAME}
173 AC_SUBST(docdir)
174 else
175 AC_MSG_RESULT([docdir defined])
176 fi
177
178 AC_OUTPUT 169 AC_OUTPUT