Sun May 27 12:39:08 CEST 2007 [EMAIL PROTECTED]
* check for gzopen directly in zlib
Without this change, configure will fail on systems having curl and zlib
in different locations. Because curl depends on zlib and is already detected
prior to zlib by the configure file, the AC_CHECK_FUNC check to curl will
succeed. Some combinations of pkgconfig/curl versions do no longer add the
-lz flag in its pkgconfig file, so darcs won't record -lz as a necessary
flag, and the build will fail later.
A different solution to the problem would be to move the whole check for
zlib to *before* the check for curl.
New patches:
[check for gzopen directly in zlib
[EMAIL PROTECTED]
Without this change, configure will fail on systems having curl and zlib
in different locations. Because curl depends on zlib and is already detected
prior to zlib by the configure file, the AC_CHECK_FUNC check to curl will
succeed. Some combinations of pkgconfig/curl versions do no longer add the
-lz flag in its pkgconfig file, so darcs won't record -lz as a necessary
flag, and the build will fail later.
A different solution to the problem would be to move the whole check for
zlib to *before* the check for curl.
] {
hunk ./configure.ac 416
-AC_CHECK_FUNC(gzopen, [],
+AC_CHECK_LIB(z, gzopen, LIBS="$LIBS -lz",
hunk ./configure.ac 418
- AC_CHECK_LIB(z, gzopen, LIBS="$LIBS -lz",
- [
- AC_MSG_ERROR(Cannot find system's zlib library; please set the LDFLAGS environment variable!)
- ])
+ AC_MSG_ERROR(Cannot find system's zlib library; please set the LDFLAGS environment variable!)
hunk ./configure.ac 421
-
}
Context:
[TAG 1.0.9rc3
Tommy Pettersson <[EMAIL PROTECTED]>**20070517090113]
Patch bundle hash:
8f6ac19cfaf527ead518c99b181a61194596d41b
_______________________________________________
darcs-devel mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-devel