|
|
|
@ -48,6 +48,8 @@ dnl generate the config header
|
|
|
|
|
AM_CONFIG_HEADER(config.h) dnl at the distribution this done
|
|
|
|
|
|
|
|
|
|
dnl Checks for programs.
|
|
|
|
|
AC_PROG_CC
|
|
|
|
|
AC_PROG_CXX
|
|
|
|
|
AC_CHECK_COMPILERS
|
|
|
|
|
AC_ENABLE_SHARED(yes)
|
|
|
|
|
AC_ENABLE_STATIC(no)
|
|
|
|
@ -71,11 +73,11 @@ AC_C_BIGENDIAN
|
|
|
|
|
|
|
|
|
|
AC_CHECK_KDEMAXPATHLEN
|
|
|
|
|
# Make sure that kde includes, etc. are part of the CPPFLAGS ...
|
|
|
|
|
CPPFLAGS="$CPPFLAGS $all_includes -I$kde_includes/kopete"
|
|
|
|
|
CPPFLAGS="$CPPFLAGS $all_includes -I$kde_includes/kopete -I$kde_includes/kde/kopete"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# check for libkopete headers and library
|
|
|
|
|
AC_CHECK_HEADER(kopeteversion.h,,
|
|
|
|
|
KDE_CHECK_HEADER(kopeteversion.h,,
|
|
|
|
|
AC_MSG_ERROR([libkopete header files missing]))
|
|
|
|
|
|
|
|
|
|
#AC_CHECK_LIB([kopete], [_ZN6Kopete7AccountD0Ev],,
|
|
|
|
|