Follow up to my post to posts back. I took the time to edit the needed files in the build system to do the two problems I ran into automatically:
./configure.ac needs to be updated to reflect:
Code:
## Check for required libraries.
AC_CHECK_LIB( pthread, pthread_create, [],
[LDFLAGS="-pthread $LDFLAGS"
AC_TRY_LINK([char pthread_create();],
pthread_create();,
[], [AC_MSG_ERROR([Missing pthread])])
])
# dl
AC_CHECK_LIB( dl, dlopen, [],
[LDFLAGS="-ldl $LDFLAGS"
AC_TRY_LINK([char dlopen();],
dlopen();,
[], [AC_MSG_ERROR([Missing libdl])])
])
# Check for zlib
AC_CHECK_LIB( z, compress, [ZLIB=-lz],[AC_MSG_ERROR([Missing zlib])] )
./zone/Makefile.am needs to be updated to reflect:
Code:
questmgr.cpp \
questmgr.h \
QuestParserCollection.cpp \
QuestParserCollection.h \
QGlobals.cpp \
QGlobals.h \
'autoreconf -fi', './configure', 'make'.. etc etc..
-orkim