diff options
author | Stefan Schmidt <stefan@datenfreihafen.org> | 2012-07-02 09:07:32 +0000 |
---|---|---|
committer | Stefan Schmidt <stefan@datenfreihafen.org> | 2012-07-02 09:07:32 +0000 |
commit | 574c620ade8cc5e6901227fabae35c350cba40d5 (patch) | |
tree | 8b559005ac101baff188b5269b71e9c4010c0d88 | |
parent | 6964b15728810aae76f1148e8e17c76c95c661c1 (diff) | |
download | eet-574c620ade8cc5e6901227fabae35c350cba40d5.tar.gz |
eet: Go back to plain header check for zlib as band-aid
Older version of zlib, used in Fedora 10 and Ubuntu 10.04, does not have a pc file. It would be
better to bring this into m4 macro but I fear touching it. Vincent, it would be great if you could
handle this as well.
Without this you get this error:
configure: error: "Cannot find zlib.PC. Make sure your PKG_CONFIG_PATH
environment variable contains include lines for the location of this
file"
SVN revision: 73138
-rw-r--r-- | configure.ac | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 4f91427..ebcf1be 100644 --- a/configure.ac +++ b/configure.ac @@ -389,7 +389,10 @@ AC_MSG_CHECKING([whether to activate signature support in eet]) AC_MSG_RESULT([${have_signature}]) # libjpeg and zlib -EFL_CHECK_LIBS([eet], [libjpeg zlib]) +EFL_CHECK_LIBS([eet], [libjpeg]) +AC_CHECK_HEADER([zlib.h], + [dummy="yes"], + [AC_MSG_ERROR("Cannot find zlib.h. Make sure your CFLAGS environment variable contains include lines for the location of this file")]) # Eina library |