diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:27:26 -0700 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:27:26 -0700 |
commit | 7751bd4c715ea8478113e34b49b5a794a4642e8e (patch) | |
tree | 537ba82b3780f933c2f17028febd6fe3a2332190 /configure | |
parent | e0ff940e1adb68d3575705ebf1546d9f07ad3b4a (diff) | |
download | zlib-7751bd4c715ea8478113e34b49b5a794a4642e8e.tar.gz zlib-7751bd4c715ea8478113e34b49b5a794a4642e8e.tar.bz2 zlib-7751bd4c715ea8478113e34b49b5a794a4642e8e.zip |
zlib 1.2.3.9v1.2.3.9
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -250,14 +250,14 @@ EOF | |||
250 | fi | 250 | fi |
251 | fi | 251 | fi |
252 | 252 | ||
253 | cp -p zconf.in.h zconf.h | 253 | sed "/^#cmakedefine/D" < zconf.h.in > zconf.h |
254 | 254 | ||
255 | cat > $test.c <<EOF | 255 | cat > $test.c <<EOF |
256 | #include <unistd.h> | 256 | #include <unistd.h> |
257 | int main() { return 0; } | 257 | int main() { return 0; } |
258 | EOF | 258 | EOF |
259 | if test "`($CC -c $CFLAGS $test.c) 2>&1`" = ""; then | 259 | if test "`($CC -c $CFLAGS $test.c) 2>&1`" = ""; then |
260 | sed < zconf.h "/#ifdef HAVE_UNISTD_H/s/def HAVE_UNISTD_H/ 1/" > zconf.temp.h | 260 | sed < zconf.h "/^#ifdef HAVE_UNISTD_H.* may be/s/def HAVE_UNISTD_H\(.*\) may be/ 1\1 was/" > zconf.temp.h |
261 | mv zconf.temp.h zconf.h | 261 | mv zconf.temp.h zconf.h |
262 | echo "Checking for unistd.h... Yes." | 262 | echo "Checking for unistd.h... Yes." |
263 | else | 263 | else |
@@ -265,7 +265,7 @@ else | |||
265 | fi | 265 | fi |
266 | 266 | ||
267 | if test $zprefix -eq 1; then | 267 | if test $zprefix -eq 1; then |
268 | sed < zconf.h "/#ifdef Z_PREFIX/s/def Z_PREFIX/ 1/" > zconf.temp.h | 268 | sed < zconf.h "/#ifdef Z_PREFIX.* may be/s/def Z_PREFIX\(.*\) may be/ 1\1 was/" > zconf.temp.h |
269 | mv zconf.temp.h zconf.h | 269 | mv zconf.temp.h zconf.h |
270 | echo "Using z_ prefix on all symbols." | 270 | echo "Using z_ prefix on all symbols." |
271 | fi | 271 | fi |
@@ -316,7 +316,7 @@ EOF | |||
316 | #include <stdio.h> | 316 | #include <stdio.h> |
317 | #include <stdarg.h> | 317 | #include <stdarg.h> |
318 | 318 | ||
319 | int mytest(char *fmt, ...) | 319 | int mytest(const char *fmt, ...) |
320 | { | 320 | { |
321 | int n; | 321 | int n; |
322 | char buf[20]; | 322 | char buf[20]; |