summaryrefslogtreecommitdiffstats
path: root/libk3bdevice/configure.in.in
diff options
context:
space:
mode:
Diffstat (limited to 'libk3bdevice/configure.in.in')
-rw-r--r--libk3bdevice/configure.in.in59
1 files changed, 0 insertions, 59 deletions
diff --git a/libk3bdevice/configure.in.in b/libk3bdevice/configure.in.in
deleted file mode 100644
index 6887494..0000000
--- a/libk3bdevice/configure.in.in
+++ /dev/null
@@ -1,59 +0,0 @@
-dnl FIXME: only make the linux header check on linux systems.
-
-linux_scsi=no
-AC_MSG_CHECKING(for linux scsi headers)
-AC_LANG_SAVE
-AC_LANG_CPLUSPLUS
-AC_TRY_COMPILE([
- #include <linux/version.h>
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,50)
- typedef unsigned char u8;
- #endif
- #include <sys/types.h>
- #include <linux/../scsi/scsi.h> /* cope with silly includes */
- ],
- [],
- [linux_scsi=yes])
-AC_MSG_RESULT($linux_scsi)
-
-case "$host_os" in
-freebsd*|dragonfly*)
- # I'll be damned if lousy coding prevents us from running
- # this application.
- linux_scsi=yes
- ;;
-esac
-
-if test "x$linux_scsi" = "xno" ; then
- DO_NOT_COMPILE="$DO_NOT_COMPILE k3b"
-fi
-AC_LANG_RESTORE
-
-dnl - find the cam_* functions
-AC_CHECK_FUNC(cam_close_device,
- [CAM_LIB=""],
- [AC_CHECK_LIB(cam, cam_close_device, [CAM_LIB=-lcam], [CAM_LIB=""])]
- )
-AC_SUBST(CAM_LIB)
-
-
-
-dnl === check for resmgr - begin ============
-AC_ARG_WITH(
- resmgr,
- AS_HELP_STRING([--without-resmgr], [build K3b without ResMgr support (default=no)]),
- [ac_cv_use_resmgr=$withval],
- [ac_cv_use_resmgr=yes]
-)
-
-if test "$ac_cv_use_resmgr" = "yes"; then
- RESMGR_LIB=""
- KDE_CHECK_HEADERS(resmgr.h, [
- KDE_CHECK_LIB(resmgr,rsm_open_device,[
- RESMGR_LIB="-lresmgr"
- AC_DEFINE(HAVE_RESMGR,1,[defined if you have resmgr libraries and headers])
- ])
- ])
- AC_SUBST(RESMGR_LIB)
-fi
-dnl === check for resmgr - end ============