SERIAL_DIRS =
endif
-# if HAVE_GDBM
-# GDBM_DIRS =
-# else
-# GDBM_DIRS = gdbm
-# endif
-
-if HAVE_ZLIB
-ZLIB_DIRS =
-else
-ZLIB_DIRS = zlib
-endif
-
if HAVE_THREADS
SGTHREAD_DIR = threads
else
compiler.h constants.h sg_inlines.h sg_traits.hxx sg_zlib.h version.h
SUBDIRS = \
- $(ZLIB_DIRS) \
xml \
debug \
misc \
#include <stdio.h>
-
-#ifdef HAVE_ZLIB
-# include <zlib.h>
-#else
-# include <simgear/zlib/zlib.h>
-#endif
+#include <zlib.h>
#include <plib/sg.h>
includedir = @includedir@/math
-if HAVE_ZLIB
-ZLIB_INCL =
-else
-ZLIB_INCL = -I$(top_srcdir)/src/zlib
-endif
-
lib_LIBRARIES = libsgmath.a
include_HEADERS = \
vector.cxx
if OLD_AUTOMAKE
-INCLUDES += -I$(top_srcdir) $(ZLIB_INCL)
+INCLUDES += -I$(top_srcdir)
else
-INCLUDES = -I$(top_srcdir) $(ZLIB_INCL)
+INCLUDES = -I$(top_srcdir)
endif
includedir = @includedir@/misc
-if HAVE_ZLIB
-ZLIB_INCL =
-else
-ZLIB_INCL = -I$(top_srcdir)/src/zlib
-endif
-
lib_LIBRARIES = libsgmisc.a
include_HEADERS = \
props_test_LDADD = libsgmisc.a ../xml/libsgxml.a ../debug/libsgdebug.a
if OLD_AUTOMAKE
-INCLUDES += -I$(top_srcdir) $(ZLIB_INCL)
+INCLUDES += -I$(top_srcdir)
else
-INCLUDES = -I$(top_srcdir) $(ZLIB_INCL)
+INCLUDES = -I$(top_srcdir)
endif
#include <simgear/compiler.h>
-#ifdef HAVE_ZLIB
-# include <zlib.h>
-#else
-# include <simgear/zlib/zlib.h>
-#endif
+#include <zlib.h>
// At least Irix needs this
#ifdef SG_HAVE_NATIVE_SGI_COMPILERS
#define sgclose(F) (fclose((F)))
#else
-#ifdef HAVE_ZLIB
#include <zlib.h>
-#else
- #include <simgear/zlib/zlib.h>
-#endif
#define sgFile gzFile
/* Define if you have the vprintf function. */
#undef HAVE_VPRINTF
-/* Define if you have zlib installed system wide. */
-#undef HAVE_ZLIB
-
/* Define as the return type of signal handlers (int or void). */
#undef RETSIGTYPE
includedir = @includedir@/xml
-if HAVE_ZLIB
-ZLIB_INCL =
-else
-ZLIB_INCL = -I$(top_srcdir)/src/zlib
-endif
-
lib_LIBRARIES = libsgxml.a
include_HEADERS = \
xmltok_impl.h
if OLD_AUTOMAKE
-INCLUDES += -I$(top_srcdir) $(ZLIB_INCL)
+INCLUDES += -I$(top_srcdir)
else
-INCLUDES = -I$(top_srcdir) $(ZLIB_INCL)
+INCLUDES = -I$(top_srcdir)
endif