938672
diff -up nut-2.2.2/m4/nut_check_libhal.m4.halpath nut-2.2.2/m4/nut_check_libhal.m4
938672
--- nut-2.2.2/m4/nut_check_libhal.m4.halpath	2008-05-12 08:22:14.000000000 +0200
938672
+++ nut-2.2.2/m4/nut_check_libhal.m4	2008-05-12 08:22:51.000000000 +0200
938672
@@ -63,22 +63,8 @@ if test -z "${nut_have_libhal_seen}"; th
938672
    dnl As per HAL spec, ยง5 Callouts and ยง2 Device Information Files
938672
    dnl - addon install path: $libdir/hal
938672
    AC_MSG_CHECKING(for libhal Callouts path)
938672
-   if (test -d "/usr/lib/hal" || test -d "/usr/lib64/hal")
938672
-   then
938672
-     # For Debian
938672
-     HAL_CALLOUTS_PATH="${libdir}/hal"
938672
-	   AC_MSG_RESULT(${HAL_CALLOUTS_PATH})
938672
-   else # For RedHat
938672
-     if (test -d "/usr/libexec")
938672
-     then
938672
-       HAL_CALLOUTS_PATH="${libexecdir}"
938672
-       AC_MSG_RESULT(${HAL_CALLOUTS_PATH})
938672
-     else
938672
-       # FIXME
938672
-       HAL_CALLOUTS_PATH=""
938672
-	     AC_MSG_RESULT(not found)
938672
-     fi
938672
-   fi
938672
+   HAL_CALLOUTS_PATH="${libexecdir}"
938672
+   AC_MSG_RESULT(${HAL_CALLOUTS_PATH})
938672
 
938672
    dnl - fdi install path: $datarootdir/hal/fdi/information/20thirdparty
938672
    AC_MSG_CHECKING(for libhal Device Information path)