configure.ac in citadel and webcit now looks
authorArt Cancro <ajc@citadel.org>
Fri, 3 Oct 2008 17:11:37 +0000 (17:11 +0000)
committerArt Cancro <ajc@citadel.org>
Fri, 3 Oct 2008 17:11:37 +0000 (17:11 +0000)
for icalcomponent_as_ical_string_r() instead of icalcomponent_new()
in order to force the detection of a libical with the new API

citadel/configure.ac
webcit/configure.ac

index bac81740bc3d9361446db8874b2c4a0931b9e361..e98fcedb4f1c26de428f14199aa05041466c0cbe 100644 (file)
@@ -718,7 +718,7 @@ AC_CHECK_HEADER(curl/curl.h,
 
 dnl Checks for the libical iCalendar library.
 AC_CHECK_HEADER(libical/ical.h,
-       [AC_CHECK_LIB(ical, icalcomponent_new,
+       [AC_CHECK_LIB(ical, icalcomponent_as_ical_string_r,
                [
                        SERVER_LIBS="-lical $SERVER_LIBS"
                ],
index 7ddfc1323d68bea333da46e0a882e010a9e8f38c..3ac9f2eb048106cc9533a51f0ddafdc2f7915c9c 100644 (file)
@@ -178,7 +178,7 @@ AC_CHECK_HEADER(libcitadel.h,
 
 dnl Checks for the libical iCalendar library.
 AC_CHECK_HEADER(libical/ical.h,
-       [AC_CHECK_LIB(ical, icalcomponent_new,
+       [AC_CHECK_LIB(ical, icalcomponent_as_ical_string_r,
                [
                        LIBS="-lical $LIBS"
                ],