projects
/
notmuch.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
configure: add workaround for systems without zlib.pc
[notmuch.git]
/
compat
/
gen_zlib_pc.c
1
#include <stdio.h>
2
#include <zlib.h>
3
4
static const char *template =
5
"prefix=/usr\n"
6
"exec_prefix=${prefix}\n"
7
"libdir=${exec_prefix}/lib\n"
8
"\n"
9
"Name: zlib\n"
10
"Description: zlib compression library\n"
11
"Version: %s\n"
12
"Libs: -lz\n";
13
14
int main(void)
15
{
16
printf(template, ZLIB_VERSION);
17
return 0;
18
}