diff options
author | Aaron Marks <nymacro@gmail.com> | 2005-07-08 09:47:06 +0000 |
---|---|---|
committer | Aaron Marks <nymacro@gmail.com> | 2005-07-08 09:47:06 +0000 |
commit | e7d0e1f6bc3a1583cc72b3fe5230a5bcb2e63f1d (patch) | |
tree | 40e206c03c586e77baf8fe018922c59757abded8 /configure.ac | |
parent | ad1fd6ad07e25b7fa4937cb28f9371371fbd83be (diff) | |
download | mana-e7d0e1f6bc3a1583cc72b3fe5230a5bcb2e63f1d.tar.gz mana-e7d0e1f6bc3a1583cc72b3fe5230a5bcb2e63f1d.tar.bz2 mana-e7d0e1f6bc3a1583cc72b3fe5230a5bcb2e63f1d.tar.xz mana-e7d0e1f6bc3a1583cc72b3fe5230a5bcb2e63f1d.zip |
Added basic update system (depends on curl).
Diffstat (limited to 'configure.ac')
-rwxr-xr-x | configure.ac | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 78c2f7f6..0795d769 100755 --- a/configure.ac +++ b/configure.ac @@ -22,6 +22,13 @@ AC_MSG_ERROR([ *** Unable to find Guichan library (guichan.sf.net)])) AC_CHECK_LIB([physfs], [PHYSFS_init], , AC_MSG_ERROR([ *** Unable to find PhysFS library (icculus.org/physfs/)])) +AC_CHECK_LIB([curl], [curl_global_init], , +AC_MSG_ERROR([ *** Unable to find CURL library (http://curl.haxx.se/)])) +CURL_LIBS=" `curl-config --libs`" +CURL_CFLAGS=" `curl-config --cflags` " +AC_SUBST(CURL_LIBS) +AC_SUBST(CURL_CFLAGS) + AC_CHECK_LIB([xml2], [xmlInitParser], , AC_MSG_ERROR([ *** Unable to find libxml2 library (xmlsoft.org)])) @@ -129,7 +136,7 @@ FIND_PATH(sdl-config, LIBSDL_CONFIG, [${prefix}/bin ${exec_prefix}/bin /usr/loca ]) if test -n "$LIBSDL_CONFIG"; then - LIBSDL_LIBS="`$LIBSDL_CONFIG --libs` -lSDL_image -lSDL_mixer" + LIBSDL_LIBS="`$LIBSDL_CONFIG --libs` -lSDL_image -lSDL_mixer -lpthread " LIBSDL_CFLAGS="`$LIBSDL_CONFIG --cflags`" AC_DEFINE_UNQUOTED(HAVE_LIBSDL, 1, [Defines if your system has the LIBSDL library]) |