#MIN_CONFIG

AM_INIT_AUTOMAKE(digikam,0.4)


dnl Check for gPhoto2 configuration
AC_PATH_PROG(GPHOTO_CONFIG,gphoto2-config)
if test -n "${GPHOTO_CONFIG}"; then
  CXXFLAGS="$CXXFLAGS `$GPHOTO_CONFIG --cflags`"
  LIBS="$LIBS `$GPHOTO_CONFIG --libs`"
else
  AC_MSG_ERROR([
***
*** gPhoto2 is required. Available from gPhoto's Sourceforge CVS.
*** Check http://www.gphoto.net/download.html for details
***])
  exit 1
fi


