File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -611,7 +611,7 @@ cat > $test.c <<EOF
611
611
int main() { return 0; }
612
612
EOF
613
613
if try $CC -c $CFLAGS $test .c; then
614
- sed < zconf.h " /^#ifdef HAVE_UNISTD_H.* may be/s/def HAVE_UNISTD_H\(.*\) may be/ 1\1 was/" > zconf.temp.h
614
+ sed < zconf.h " /^#if HAVE_UNISTD_H-0 .* may be/s/ HAVE_UNISTD_H-0 \(.*\) may be/ 1\1 was/" > zconf.temp.h
615
615
mv zconf.temp.h zconf.h
616
616
echo " Checking for unistd.h... Yes." | tee -a configure.log
617
617
else
@@ -626,7 +626,7 @@ cat > $test.c <<EOF
626
626
int main() { return 0; }
627
627
EOF
628
628
if try $CC -c $CFLAGS $test .c; then
629
- sed < zconf.h " /^#ifdef HAVE_STDARG_H.* may be/s/def HAVE_STDARG_H\(.*\) may be/ 1\1 was/" > zconf.temp.h
629
+ sed < zconf.h " /^#if HAVE_STDARG_H-0 .* may be/s/ HAVE_STDARG_H-0 \(.*\) may be/ 1\1 was/" > zconf.temp.h
630
630
mv zconf.temp.h zconf.h
631
631
echo " Checking for stdarg.h... Yes." | tee -a configure.log
632
632
else
Original file line number Diff line number Diff line change @@ -436,11 +436,11 @@ typedef uLong FAR uLongf;
436
436
typedef unsigned long z_crc_t ;
437
437
#endif
438
438
439
- #ifdef HAVE_UNISTD_H /* may be set to #if 1 by ./configure */
439
+ #if HAVE_UNISTD_H - 0 /* may be set to #if 1 by ./configure */
440
440
# define Z_HAVE_UNISTD_H
441
441
#endif
442
442
443
- #ifdef HAVE_STDARG_H /* may be set to #if 1 by ./configure */
443
+ #if HAVE_STDARG_H - 0 /* may be set to #if 1 by ./configure */
444
444
# define Z_HAVE_STDARG_H
445
445
#endif
446
446
Original file line number Diff line number Diff line change @@ -436,11 +436,11 @@ typedef uLong FAR uLongf;
436
436
typedef unsigned long z_crc_t ;
437
437
#endif
438
438
439
- #ifdef HAVE_UNISTD_H /* may be set to #if 1 by ./configure */
439
+ #if HAVE_UNISTD_H - 0 /* may be set to #if 1 by ./configure */
440
440
# define Z_HAVE_UNISTD_H
441
441
#endif
442
442
443
- #ifdef HAVE_STDARG_H /* may be set to #if 1 by ./configure */
443
+ #if HAVE_STDARG_H - 0 /* may be set to #if 1 by ./configure */
444
444
# define Z_HAVE_STDARG_H
445
445
#endif
446
446
You can’t perform that action at this time.
0 commit comments