-dnl ----------------------------------------------------------------
-dnl search for gdk_imlib
-dnl ----------------------------------------------------------------
-dnl
-dnl GDK_IMLIB_INCLUDE=
-dnl GDK_IMLIB_LIBRARY=
-dnl GDK_IMLIB_LINK=
-dnl
- if test "$USE_GDK_IMLIB" = 1; then
-dnl AC_MSG_CHECKING(for gdk_imlib includes)
-dnl AC_PATH_FIND_INCLUDES($SEARCH_INCLUDE,gdk_imlib.h)
-dnl if test "$ac_find_includes" != "" ; then
-dnl dnl GDK_IMLIB_INCLUDE="-I$ac_find_includes"
-dnl AC_MSG_RESULT(found $ac_find_includes)
-dnl AC_MSG_CHECKING(for gdk_imlib library)
-dnl AC_PATH_FIND_LIBRARIES($SEARCH_LIB,gdk_imlib)
-dnl if test "$ac_find_libraries" != "" ; then
-dnl AC_INCLUDE_PATH_EXIST($ac_find_includes,$CHECK_INCLUDE)
-dnl AC_LINK_PATH_EXIST($ac_find_libraries,$CHECK_LIB)
-dnl CHECK_LINK="$CHECK_INCLUDE $ac_path_to_link"
-dnl CHECK_INCLUDE="$CHECK_INCLUDE $ac_path_to_include"
-dnl GDK_IMLIB_LIBRARY="$ac_path_to_link"
-dnl GDK_IMLIB_INCLUDE="$ac_path_to_include"
-dnl GDK_IMLIB_LINK="-lgdk_imlib"
-dnl AC_MSG_RESULT(found gdk_imlib at $ac_find_libraries)
-dnl else
-dnl AC_MSG_ERROR(no)
-dnl fi
-dnl else
-dnl AC_MSG_ERROR(no)
-dnl fi
- AC_DEFINE_UNQUOTED(USE_GDK_IMLIB,$USE_GDK_IMLIB)
- fi
-dnl AC_SUBST(GDK_IMLIB_INCLUDE)
-dnl AC_SUBST(GDK_IMLIB_LIBRARY)
-dnl AC_SUBST(GDK_IMLIB_LINK)
-
-dnl ----------------------------------------------------------------
-dnl search for zlib
-dnl ----------------------------------------------------------------
-dnl
-dnl ZLIB_INCLUDE=
-dnl ZLIB_LINK=
-dnl
- if test "$USE_ZLIB" = 1; then
-dnl AC_MSG_CHECKING(for zlib includes)
-dnl AC_PATH_FIND_INCLUDES($SEARCH_INCLUDE,zlib.h)
-dnl if test "$ac_find_includes" != "" ; then
-dnl AC_MSG_RESULT(found $ac_find_includes)
-dnl AC_MSG_CHECKING(for zlib library)
-dnl AC_PATH_FIND_LIBRARIES($SEARCH_LIB,z)
-dnl if test "$ac_find_libraries" != "" ; then
-dnl AC_INCLUDE_PATH_EXIST($ac_find_includes,$CHECK_INCLUDE)
-dnl AC_LINK_PATH_EXIST($ac_find_libraries,$CHECK_LIB)
-dnl CHECK_LINK="$CHECK_INCLUDE $ac_path_to_link"
-dnl CHECK_INCLUDE="$CHECK_INCLUDE $ac_path_to_include"
-dnl ZLIB_INCLUDE="$ac_path_to_include"
-dnl ZLIB_LINK="-lz"
-dnl AC_MSG_RESULT(found zlib at $ac_find_libraries)
-dnl else
-dnl AC_MSG_ERROR(no)
-dnl fi
-dnl else
-dnl AC_MSG_ERROR(no)
-dnl fi
- AC_DEFINE_UNQUOTED(USE_ZLIB,$USE_ZLIB)
- fi
-dnl AC_SUBST(ZLIB_INCLUDE)
-dnl AC_SUBST(ZLIB_LIBRARY)
-dnl AC_SUBST(ZLIB_LINK)
-
-dnl ----------------------------------------------------------------
-dnl search for libpng
-dnl ----------------------------------------------------------------
-dnl
-dnl LIBPNG_INCLUDE=
-dnl LIBPNG_LIBRARY=
-dnl LIBPNG_LINK=
-dnl
- if test "$USE_LIBPNG" = 1; then
-dnl AC_MSG_CHECKING(for libpng includes)
-dnl AC_PATH_FIND_INCLUDES($SEARCH_INCLUDE,png.h)
-dnl if test "$ac_find_includes" != "" ; then
-dnl AC_MSG_RESULT(found $ac_find_includes)
-dnl AC_MSG_CHECKING(for libpng library)
-dnl AC_PATH_FIND_LIBRARIES($SEARCH_LIB,png)
-dnl if test "$ac_find_libraries" != "" ; then
-dnl AC_INCLUDE_PATH_EXIST($ac_find_includes,$CHECK_INCLUDE)
-dnl AC_LINK_PATH_EXIST($ac_find_libraries,$CHECK_LIB)
-dnl CHECK_LINK="$CHECK_INCLUDE $ac_path_to_link"
-dnl CHECK_INCLUDE="$CHECK_INCLUDE $ac_path_to_include"
-dnl LIBPNG_LIBRARY="$ac_path_to_link"
-dnl LIBPNG_INCLUDE="$ac_path_to_include"
-dnl LIBPNG_LINK="-lpng"
-dnl AC_MSG_RESULT(found libpng at $ac_find_libraries)
-dnl else
-dnl AC_MSG_RESULT(no)
-dnl fi
-dnl else
-dnl AC_MSG_ERROR(no)
-dnl fi
- AC_DEFINE_UNQUOTED(USE_LIBPNG,$USE_LIBPNG)
- fi
-dnl AC_SUBST(LIBPNG_INCLUDE)
-dnl AC_SUBST(LIBPNG_LIBRARY)
-dnl AC_SUBST(LIBPNG_LINK)
-
-dnl ----------------------------------------------------------------
-dnl search for Python
-dnl ----------------------------------------------------------------
-
-dnl ----------------------------------------------------------------
-dnl search for ODBC
-dnl ----------------------------------------------------------------
-