comparison arogue5/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 6376b514a30b
children 029c1f5c5588
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([ARogue],[5.8.2], [yendor@rogueforge.net]) 5 AC_INIT([ARogue],[5.8.2], [yendor@rogueforge.net], [arogue5])
6 AC_CONFIG_HEADERS([config.h]) 6 AC_CONFIG_HEADERS([config.h])
7 # May not be needed for the documentation 7 # May not be needed for the documentation
8 AC_CONFIG_FILES([Makefile]) 8 AC_CONFIG_FILES([Makefile])
9 9
10 # Checks for programs. 10 # Checks for programs.
167 else 167 else
168 AC_DEFINE_UNQUOTED([MAXLOAD], [$enable_maxusers], [Define if maxusers feature should be enabled]) 168 AC_DEFINE_UNQUOTED([MAXLOAD], [$enable_maxusers], [Define if maxusers feature should be enabled])
169 AC_MSG_RESULT([$enable_maxusers]) 169 AC_MSG_RESULT([$enable_maxusers])
170 fi 170 fi
171 171
172 AC_MSG_CHECKING([whether to docdir is defined])
173 if test "x$docdir" = "x" ; then
174 AC_MSG_RESULT([docdir undefined])
175 docdir=\${datadir}/doc/\${PACKAGE_TARNAME}
176 AC_SUBST(docdir)
177 else
178 AC_MSG_RESULT([docdir defined])
179 fi
180
181 AC_OUTPUT 172 AC_OUTPUT