… | |
… | |
89 | AC_MSG_ERROR([no, cannot load module $module]) |
89 | AC_MSG_ERROR([no, cannot load module $module]) |
90 | fi |
90 | fi |
91 | done |
91 | done |
92 | |
92 | |
93 | dnl check for some other programs |
93 | dnl check for some other programs |
94 | AC_PATH_PROG(LATEX, latex) |
|
|
95 | AC_PATH_PROG(GZIP, gzip) |
|
|
96 | AC_PATH_PROG(BZIP, bzip2) |
|
|
97 | AC_PATH_PROG(TAR, tar) |
94 | AC_PATH_PROG(TAR, tar) |
98 | AC_PATH_PROG(BASENAME, basename) |
95 | AC_PATH_PROG(BASENAME, basename) |
99 | |
96 | |
100 | AC_PATH_PROG(GPERF, gperf) |
97 | AC_PATH_PROG(GPERF, gperf) |
101 | if test -z "$GPERF"; then |
98 | if test -z "$GPERF"; then |
102 | AC_MSG_ERROR([we need gperf, the GNU perfect hash generator]) |
99 | AC_MSG_ERROR([we need gperf, the GNU perfect hash generator]) |
103 | fi |
100 | fi |
104 | |
|
|
105 | GUNZIP="$GZIP -c" |
|
|
106 | BUNZIP="$BZIP -c" |
|
|
107 | |
|
|
108 | if test -z "$COMPRESS" -a -z "$GZIP" -a -z "$BZIP" ; then |
|
|
109 | echo "Unable to find either compress, bzip2, or gzip - hope you don't plan on compressing"; |
|
|
110 | echo "any files."; |
|
|
111 | fi; |
|
|
112 | |
101 | |
113 | AC_CHECK_LIB(nsl, main) |
102 | AC_CHECK_LIB(nsl, main) |
114 | AC_CHECK_LIB(socket, main) |
103 | AC_CHECK_LIB(socket, main) |
115 | |
104 | |
116 | dnl Checks for libraries. |
105 | dnl Checks for libraries. |
… | |
… | |
148 | AC_SUBST(X11LIBS) |
137 | AC_SUBST(X11LIBS) |
149 | |
138 | |
150 | AC_SUBST(pkgstatedir,$localstatedir/$PACKAGE) |
139 | AC_SUBST(pkgstatedir,$localstatedir/$PACKAGE) |
151 | AC_SUBST(pkgconfdir,$sysconfdir/$PACKAGE) |
140 | AC_SUBST(pkgconfdir,$sysconfdir/$PACKAGE) |
152 | |
141 | |
153 | AC_DEFINE_UNQUOTED(COMPRESS,"${COMPRESS}",[Path to the compress binary]) |
|
|
154 | AC_DEFINE_UNQUOTED(UNCOMPRESS,"${UNCOMPRESS}",[Path to the uncompress binary]) |
|
|
155 | AC_DEFINE_UNQUOTED(GZIP,"${GZIP}",[Path to the gzip binary]) |
|
|
156 | AC_DEFINE_UNQUOTED(GUNZIP,"${GUNZIP}",[Path to the gunzip binary]) |
|
|
157 | AC_DEFINE_UNQUOTED(BZIP,"${BZIP}",[Path to the bzip binary]) |
|
|
158 | AC_DEFINE_UNQUOTED(BUNZIP,"${BUNZIP}",[Path to the bunzip binary]) |
|
|
159 | |
|
|
160 | AC_OUTPUT([Makefile |
142 | AC_OUTPUT([Makefile |
161 | include/Makefile lib/Makefile pod/Makefile random_maps/Makefile socket/Makefile |
143 | include/Makefile lib/Makefile pod/Makefile random_maps/Makefile socket/Makefile |
162 | server/Makefile src/Makefile utils/Makefile ext/Makefile |
144 | server/Makefile src/Makefile utils/Makefile ext/Makefile |
163 | lib/checkarch.pl lib/collect.pl utils/add_throw.perl |
145 | lib/checkarch.pl lib/collect.pl utils/add_throw.perl |
164 | utils/crossloop.tmpl utils/crossloop.pl.tmpl utils/metaserver.pl |
146 | utils/crossloop.tmpl utils/crossloop.pl.tmpl utils/metaserver.pl |