]> granicus.if.org Git - php/commitdiff
include checks for cal_misc.h and icalroutines.h
authorChuck Hagenbuch <chagenbu@php.net>
Sun, 19 Nov 2000 02:42:06 +0000 (02:42 +0000)
committerChuck Hagenbuch <chagenbu@php.net>
Sun, 19 Nov 2000 02:42:06 +0000 (02:42 +0000)
ext/mcal/config.m4

index d47656c2a88ee372c3a59081507e87783ffd5174..7e2301505aacc9d3baa871f8cc0c24cabfdb1049 100644 (file)
@@ -27,6 +27,14 @@ if test "$PHP_MCAL" != "no"; 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
+
   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)
   fi