forked from Imagelibrary/rtems
@@ -12,7 +12,7 @@
|
|||||||
* Even better than compiling with -DZ_PREFIX would be to use configure to set
|
* Even better than compiling with -DZ_PREFIX would be to use configure to set
|
||||||
* this permanently in zconf.h using "./configure --zprefix".
|
* this permanently in zconf.h using "./configure --zprefix".
|
||||||
*/
|
*/
|
||||||
#ifdef Z_PREFIX /* may be set to #if 1 by ./configure */
|
#if 1 /* is set to #if 1 for RTEMS */
|
||||||
|
|
||||||
/* all linked symbols */
|
/* all linked symbols */
|
||||||
# define _dist_code z__dist_code
|
# define _dist_code z__dist_code
|
||||||
@@ -354,7 +354,7 @@ typedef uLong FAR uLongf;
|
|||||||
typedef Byte *voidp;
|
typedef Byte *voidp;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_UNISTD_H /* may be set to #if 1 by ./configure */
|
#if 1 /* is set to #if 1 for RTEMS */
|
||||||
# define Z_HAVE_UNISTD_H
|
# define Z_HAVE_UNISTD_H
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -20,13 +20,5 @@ libz_a_SOURCES += zutil.c zutil.h
|
|||||||
|
|
||||||
include_HEADERS = zlib.h zconf.h
|
include_HEADERS = zlib.h zconf.h
|
||||||
|
|
||||||
zconf.h: $(srcdir)/zconf.h.in
|
|
||||||
sed \
|
|
||||||
-e 's,#ifdef Z_PREFIX.* may be ,#if 1 /* was ,' \
|
|
||||||
-e 's,#ifdef HAVE_UNISTD_H.* may be ,#if 1 /* was ,' \
|
|
||||||
< $(srcdir)/zconf.h.in > zconf.h
|
|
||||||
CLEANFILES = zconf.h
|
|
||||||
EXTRA_DIST = zconf.h.in
|
|
||||||
|
|
||||||
include $(srcdir)/preinstall.am
|
include $(srcdir)/preinstall.am
|
||||||
include $(top_srcdir)/automake/local.am
|
include $(top_srcdir)/automake/local.am
|
||||||
|
|||||||
Reference in New Issue
Block a user