You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdegraphics/libkscan/configure.in.in

23 lines
836 B

KDE_FIND_PATH( sane-config, SANE_CONFIG, [ ${prefix}/bin, ${exec_prefix}/bin,
/usr/local/bin, /opt/local/bin,
/usr/bin ] )
if test -n "$SANE_CONFIG"; then
dnl ### version check. Klaas, which version is minimum?
LIBSANE_LIBS="`$SANE_CONFIG --libs`"
LIBSANE_LDFLAGS="`$SANE_CONFIG --ldflags`"
dnl Bah, --cflags is -I lines only (according to the sane-config.in source
dnl and _INCLUDES looks nicer :)
LIBSANE_INCLUDES="`$SANE_CONFIG --cflags`"
AC_DEFINE_UNQUOTED(HAVE_SANE, 1, [Defines if your system has the sane libraries])
else
DO_NOT_COMPILE="$DO_NOT_COMPILE libkscan kooka"
fi
AM_CONDITIONAL(include_kooka, test -n "$SANE_CONFIG")
AC_SUBST(LIBSANE_LIBS)
AC_SUBST(LIBSANE_LDFLAGS)
AC_SUBST(LIBSANE_INCLUDES)