comparison rogue5/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.4.5], [yendor@rogueforge.net]) 5 AC_INIT([Rogue],[5.4.5], [yendor@rogueforge.net], [rogue5])
6 AC_CONFIG_SRCDIR([armor.c]) 6 AC_CONFIG_SRCDIR([armor.c])
7 AC_CONFIG_HEADER([config.h]) 7 AC_CONFIG_HEADER([config.h])
8 AC_CONFIG_FILES([Makefile rogue.6 rogue.me rogue.html]) 8 AC_CONFIG_FILES([Makefile rogue.6 rogue.me rogue.html])
9 9
10 # Checks for programs. 10 # Checks for programs.
272 AC_DEFINE([UCOUNT], [], [define if we should use program's user counting function instead of system's]) 272 AC_DEFINE([UCOUNT], [], [define if we should use program's user counting function instead of system's])
273 AC_DEFINE_UNQUOTED([UTMP], [$enable_ucount], [utmp like file to pass to ucount() when counting online users (unlikely to work)]) 273 AC_DEFINE_UNQUOTED([UTMP], [$enable_ucount], [utmp like file to pass to ucount() when counting online users (unlikely to work)])
274 AC_MSG_RESULT([$enable_ucount]) 274 AC_MSG_RESULT([$enable_ucount])
275 fi 275 fi
276 276
277 AC_MSG_CHECKING([whether to docdir is defined])
278 if test "x$docdir" = "x" ; then
279 AC_MSG_RESULT([docdir undefined])
280 docdir=\${datadir}/doc/\${PACKAGE_TARNAME}
281 AC_SUBST(docdir)
282 else
283 AC_MSG_RESULT([docdir defined])
284 fi
285
286 AC_OUTPUT 277 AC_OUTPUT