comparison srogue/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([SRogue],[9.0], [yendor@rogueforge.net]) 5 AC_INIT([SRogue],[9.0], [yendor@rogueforge.net], [srogue])
6 AC_CONFIG_HEADERS([config.h]) 6 AC_CONFIG_HEADERS([config.h])
7 AC_CONFIG_FILES([Makefile]) 7 AC_CONFIG_FILES([Makefile])
8 8
9 # Checks for programs. 9 # Checks for programs.
10 AC_PROG_CC 10 AC_PROG_CC
131 else 131 else
132 AC_DEFINE([WIZARD], [], [Define to include wizard mode]) 132 AC_DEFINE([WIZARD], [], [Define to include wizard mode])
133 AC_MSG_RESULT([yes]) 133 AC_MSG_RESULT([yes])
134 fi 134 fi
135 135
136 AC_MSG_CHECKING([whether to docdir is defined])
137 if test "x$docdir" = "x" ; then
138 AC_MSG_RESULT([docdir undefined])
139 docdir=\${datadir}/doc/\${PACKAGE_TARNAME}
140 AC_SUBST(docdir)
141 else
142 AC_MSG_RESULT([docdir defined])
143 fi
144
145 AC_OUTPUT 136 AC_OUTPUT