Mercurial > hg > early-roguelike
comparison urogue/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 | b8919055c2fc |
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([UltraRogue],[1.07], [yendor@rogueforge.net]) | 5 AC_INIT([UltraRogue],[1.07], [yendor@rogueforge.net], [urogue]) |
| 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 |
| 156 else | 156 else |
| 157 AC_DEFINE([WIZARD], [], [Define to include wizard mode]) | 157 AC_DEFINE([WIZARD], [], [Define to include wizard mode]) |
| 158 AC_MSG_RESULT([yes]) | 158 AC_MSG_RESULT([yes]) |
| 159 fi | 159 fi |
| 160 | 160 |
| 161 AC_MSG_CHECKING([whether to docdir is defined]) | |
| 162 if test "x$docdir" = "x" ; then | |
| 163 AC_MSG_RESULT([docdir undefined]) | |
| 164 docdir=\${datadir}/doc/\${PACKAGE_TARNAME} | |
| 165 AC_SUBST(docdir) | |
| 166 else | |
| 167 AC_MSG_RESULT([docdir defined]) | |
| 168 fi | |
| 169 | |
| 170 AC_OUTPUT | 161 AC_OUTPUT |
