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
611611int main() { return 0; }
612612EOF
613613if 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
615615 mv zconf.temp.h zconf.h
616616 echo " Checking for unistd.h... Yes." | tee -a configure.log
617617else
@@ -626,7 +626,7 @@ cat > $test.c <<EOF
626626int main() { return 0; }
627627EOF
628628if 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
630630 mv zconf.temp.h zconf.h
631631 echo " Checking for stdarg.h... Yes." | tee -a configure.log
632632else
Original file line number Diff line number Diff line change @@ -436,11 +436,11 @@ typedef uLong FAR uLongf;
436436 typedef unsigned long z_crc_t ;
437437#endif
438438
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 */
440440# define Z_HAVE_UNISTD_H
441441#endif
442442
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 */
444444# define Z_HAVE_STDARG_H
445445#endif
446446
Original file line number Diff line number Diff line change @@ -436,11 +436,11 @@ typedef uLong FAR uLongf;
436436 typedef unsigned long z_crc_t ;
437437#endif
438438
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 */
440440# define Z_HAVE_UNISTD_H
441441#endif
442442
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 */
444444# define Z_HAVE_STDARG_H
445445#endif
446446
You can’t perform that action at this time.
0 commit comments