projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
also test for .exe progs on win32
[supertux.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index
043aaaa
..
5cd7ac1
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-27,7
+27,7
@@
AC_PROG_CC
AC_PROG_CXX
AC_PROG_INSTALL
AC_PROG_CXX
AC_PROG_INSTALL
-AC_CHECK_PROGS(XGETTEXT,
xgettext
)
+AC_CHECK_PROGS(XGETTEXT,
[xgettext xgettext.exe]
)
if test -n "$XGETTEXT" ; then
AC_MSG_CHECKING([if xgettext supports lisp])
if echo '(gettext "test")' | xgettext -o - -L Lisp - >& /dev/null; then
if test -n "$XGETTEXT" ; then
AC_MSG_CHECKING([if xgettext supports lisp])
if echo '(gettext "test")' | xgettext -o - -L Lisp - >& /dev/null; then
@@
-42,7
+42,7
@@
fi
AC_PROG_LEX
LEX_LIBS=$LEXLIB
AC_SUBST([LEX_LIBS])
AC_PROG_LEX
LEX_LIBS=$LEXLIB
AC_SUBST([LEX_LIBS])
-AC_CHECK_PROGS([BISON],
bison
)
+AC_CHECK_PROGS([BISON],
[bison bison.exe]
)
AC_SUBST([BISON])
dnl Checks for header files.
AC_SUBST([BISON])
dnl Checks for header files.
@@
-137,8
+137,8
@@
NP_FINDLIB([PHYSFS], [physfs], [physfs >= 1.0.0],
[AC_MSG_ERROR([Please install physfs >= 1.0])])
NP_FINDLIB([OPENAL], [OpenAL], [OpenAL],
[AC_MSG_ERROR([Please install physfs >= 1.0])])
NP_FINDLIB([OPENAL], [OpenAL], [OpenAL],
- NP_LANG_PROGRAM([#include <AL/al
ut
.h>],
- [al
utInit(0,
0);]),
+ NP_LANG_PROGRAM([#include <AL/al.h>],
+ [al
cOpenDevice(
0);]),
[], [-lopenal],
[],
[AC_MSG_ERROR([Please intall OpenAL])],
[], [-lopenal],
[],
[AC_MSG_ERROR([Please intall OpenAL])],