ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/acinclude.m4
(Generate patch)

Comparing deliantra/server/acinclude.m4 (file contents):
Revision 1.1 by root, Fri Feb 3 07:11:14 2006 UTC vs.
Revision 1.2 by pippijn, Sun May 7 08:19:27 2006 UTC

144 144
145 AC_SUBST(PYTHON_LIB) 145 AC_SUBST(PYTHON_LIB)
146 AC_SUBST(PY_LIBS) 146 AC_SUBST(PY_LIBS)
147 AC_SUBST(PY_INCLUDES) 147 AC_SUBST(PY_INCLUDES)
148]) 148])
149
150dnl CF_CHECK_CROSSEDIT(X11LIBS, ACTION-IF-FOUND , ACTION-IF-NOT-FOUND)
151dnl check if a sample X test code can compile
152dnl
153
154AC_DEFUN([CF_CHECK_CROSSEDIT],[
155
156 ac_save_LIBS="$LIBS"
157
158 LIBS="$1 $LIBS"
159 AC_MSG_CHECKING(for crossedit required headers)
160 AC_TRY_LINK([
161#include <Posix.h>
162#include <Xaw.h>
163#include <Ansi.h>
164#include <config.h>
165#include <includes.h>
166#include <debug.h>
167#include <assert.h>
168
169 ], ,
170 AC_MSG_RESULT(yes)
171 [$2],
172 AC_MSG_RESULT(no)
173 [$3])
174 LIBS="$ac_save_LIBS"
175])

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines