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.
|
|
|
search_incs="$kde_includes $kde_includes/tde /usr/include /usr/local/include"
|
|
|
|
AC_FIND_FILE(k3bdevice.h, $search_incs, k3b_incdir)
|
|
|
|
|
|
|
|
if [test -r $k3b_incdir/k3bdevice.h] ; then
|
|
|
|
k3b_inc=FOUND
|
|
|
|
fi
|
|
|
|
|
|
|
|
search_libs="$kde_libraries /usr/lib64 /usr/lib /usr/local/lib /lib /lib64"
|
|
|
|
AC_FIND_FILE(libk3bdevice.so, $search_libs, k3b_libdir)
|
|
|
|
|
|
|
|
if [test -r $k3b_libdir/libk3bdevice.so] ; then
|
|
|
|
K3B_LIBS="-lk3bdevice"
|
|
|
|
k3b_lib=FOUND
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [test $k3b_inc = FOUND] && [test $k3b_lib = FOUND] ; then
|
|
|
|
AC_MSG_RESULT(headers $k3b_incdir libraries $k3b_libdir)
|
|
|
|
k3b=FOUND
|
|
|
|
else
|
|
|
|
AC_MSG_RESULT(libk3bdevice searched but not found)
|
|
|
|
AC_MSG_ERROR(libk3bdevice may be missing)
|
|
|
|
fi
|
|
|
|
|
|
|
|
AC_SUBST(K3B_LIBS)
|
|
|
|
|