]> git.saurik.com Git - apt.git/blame - buildlib/environment.mak.in
Restored GCC 2.95 compilability
[apt.git] / buildlib / environment.mak.in
CommitLineData
d7bccc73
AL
1# This file contains everything that autoconf guessed for your system.
2# if you want you can edit it, just don't re-run configure.
3
4# C++ compiler options
5CC = @CC@
6f27a7fc 6CPPFLAGS+= @CPPFLAGS@ @DEFS@ -D_REENTRANT
d7bccc73 7CXX = @CXX@
b2e465d6 8CXXFLAGS+= @CXXFLAGS@
f43579d1 9NUM_PROCS = @NUM_PROCS@
a5b7cd82
AL
10GLIBC_VER = @GLIBC_VER@
11LIBSTDCPP_VER = @LIBSTDCPP_VER@
d7bccc73
AL
12
13# Linker stuff
14PICFLAGS+= -fPIC -DPIC
880e9be4 15LFLAGS+= @LDFLAGS@
a9975068 16LEFLAGS+=
abb9b874 17SOCKETLIBS:= @SOCKETLIBS@
b819effd
AL
18AR:=@AR@
19RANLIB:=@RANLIB@
d7bccc73
AL
20
21# Dep generation - this only works for gnu stuff
22INLINEDEPFLAG = -MD
23
24# Debian doc stuff
25DEBIANDOC_HTML = @DEBIANDOC_HTML@
26DEBIANDOC_TEXT = @DEBIANDOC_TEXT@
27
b2e465d6
AL
28# SGML for the man pages
29NSGMLS = @NSGMLS@
30SGMLSPL = @SGMLSPL@
31DOCBOOK2MAN := $(wildcard /usr/lib/perl5/sgmlspl-specs/docbook2man-spec.pl)
8a9ec519 32
d7bccc73 33# Various library checks
e1b74f61 34PTHREADLIB = @PTHREADLIB@
b2e465d6
AL
35PYTHONLIB = @PYTHONLIB@
36PYTHONVER = @PYTHONVER@
37PYTHONPREFIX = @PYTHONPREFIX@
38PYTHONEXECPREFIX = @PYTHONEXECPREFIX@
39PYTHONINCLUDE = @PYTHONINCLUDE@
40DB2LIB = @DB2LIB@
51761e5e 41
101030ab 42# Shim Headerfile control
51761e5e 43HAVE_C9X = @HAVE_C9X@
101030ab 44HAVE_STATVFS = @HAVE_STATVFS@
1cecba4d 45NEED_SOCKLEN_T_DEFINE = @NEED_SOCKLEN_T_DEFINE@
70fbac25
AL
46
47# Shared library things
48HOST_OS = @host_os@
b2e465d6 49ifneq ($(words $(filter linux-gnu gnu%,$(HOST_OS))),0)
70fbac25
AL
50 SONAME_MAGIC=-Wl,-soname -Wl,
51 LFLAGS_SO=
b2e465d6
AL
52else
53 # Do not know how to create shared libraries here.
f58a97d3 54 ONLYSTATICLIBS = yes
70fbac25 55endif
f58a97d3 56