1 | dnl Process this file with autoconf to produce a configure script. |
1 | dnl Process this file with autoconf to produce a configure script. |
2 | |
2 | |
3 | AC_INIT([crossfire], [2.0+], [crossfire@schmorp.de]) |
3 | AC_INIT([cfserver], [2.0], [crossfire@schmorp.de]) |
4 | AC_CONFIG_AUX_DIR(utils) |
4 | AC_CONFIG_AUX_DIR(utils) |
5 | AC_CONFIG_SRCDIR([server/main.C]) |
5 | AC_CONFIG_SRCDIR([server/cfperl.xs]) |
6 | AM_INIT_AUTOMAKE |
6 | AM_INIT_AUTOMAKE |
7 | AM_CONFIG_HEADER(include/autoconf.h) |
7 | AM_CONFIG_HEADER(include/autoconf.h) |
8 | |
8 | |
9 | AM_MAINTAINER_MODE |
9 | AM_MAINTAINER_MODE |
10 | |
10 | |
… | |
… | |
116 | AC_MSG_RESULT(ok) |
116 | AC_MSG_RESULT(ok) |
117 | else |
117 | else |
118 | AC_MSG_ERROR(no) |
118 | AC_MSG_ERROR(no) |
119 | fi |
119 | fi |
120 | |
120 | |
121 | AC_SUBST(x_includes) |
|
|
122 | AC_SUBST(x_libraries) |
|
|
123 | AC_SUBST(no_x) |
|
|
124 | AM_CONDITIONAL(HAVE_X,test "x$no_x" = "x") |
|
|
125 | AC_SUBST(X11LIBS) |
|
|
126 | |
|
|
127 | AC_SUBST(pkgstatedir,$localstatedir/$PACKAGE) |
121 | AC_SUBST(pkgstatedir,$localstatedir/$PACKAGE) |
128 | AC_SUBST(pkgconfdir,$sysconfdir/$PACKAGE) |
122 | AC_SUBST(pkgconfdir,$sysconfdir/$PACKAGE) |
129 | |
123 | |
130 | AC_OUTPUT([Makefile |
124 | AC_OUTPUT([Makefile |
131 | include/Makefile lib/Makefile pod/Makefile random_maps/Makefile socket/Makefile |
125 | include/Makefile lib/Makefile pod/Makefile random_maps/Makefile socket/Makefile |