@ -25,24 +25,19 @@ if test "$PHP_MCAL" != "no"; then
fi
done
if test ! -f "$MCAL_INCLUDE/mcal.h"; then
AC_MSG_ERROR(Unable to locate your libmcal header files - mcal.h should be in the directory you specify or in the include/ subdirectory below it - default search location is $MCAL_DEFAULT_SEARCH)
fi
if test ! -f "$MCAL_INCLUDE/cal_misc.h"; then
AC_MSG_ERROR(Unable to locate your libmcal header files - cal_misc.h should be in the directory you specify or in the include/ subdirectory below it - default search location is $MCAL_DEFAULT_SEARCH)
fi
if test ! -f "$MCAL_INCLUDE/icalroutines.h"; then
AC_MSG_ERROR(Unable to locate your libmcal header files - icalroutines.h should be in the directory you specify or in the include/ subdirectory below it - default search location is $MCAL_DEFAULT_SEARCH)
fi
for i in mcal cal_misc icalroutines; do
if test ! -f "$MCAL_INCLUDE/$i.h"; then
AC_MSG_ERROR(Unable to locate your libmcal header files - $i.h should be in the directory you specify or in the include/ subdirectory below it - default search location is $MCAL_DEFAULT_SEARCH)
fi
done
if test ! -f "$MCAL_LIBRARY/libmcal.a"; then
AC_MSG_ERROR(Unable to locate your libmcal library files - libmcal.a should be in the directory you specify or in the lib/ subdirectory below it - default search location is $MCAL_DEFAULT_SEARCH)