1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

only include LDAP headers if we build with LDAP support.

This commit is contained in:
Gunter Knauf 2007-08-14 16:31:20 +00:00
parent 11caaad5f9
commit 327598e7b4
2 changed files with 6 additions and 4 deletions

View File

@ -174,13 +174,14 @@ ifeq ($(LIBARCH),LIBC)
INCLUDES += -I$(SDK_LIBC)/include INCLUDES += -I$(SDK_LIBC)/include
# INCLUDES += -I$(SDK_LIBC)/include/nks # INCLUDES += -I$(SDK_LIBC)/include/nks
# INCLUDES += -I$(SDK_LIBC)/include/winsock # INCLUDES += -I$(SDK_LIBC)/include/winsock
INCLUDES += -I$(SDK_LDAP)/libc/inc
CFLAGS += -D_POSIX_SOURCE CFLAGS += -D_POSIX_SOURCE
else else
INCLUDES += -I$(SDK_CLIB)/include/nlm INCLUDES += -I$(SDK_CLIB)/include/nlm
# INCLUDES += -I$(SDK_CLIB)/include/nlm/obsolete # INCLUDES += -I$(SDK_CLIB)/include/nlm/obsolete
# INCLUDES += -I$(SDK_CLIB)/include # INCLUDES += -I$(SDK_CLIB)/include
INCLUDES += -I$(SDK_LDAP)/clib/inc endif
ifndef DISABLE_LDAP
INCLUDES += -I$(SDK_LDAP)/$(LIBARCH_L)/inc
endif endif
CFLAGS += $(INCLUDES) CFLAGS += $(INCLUDES)

View File

@ -172,12 +172,13 @@ ifeq ($(LIBARCH),LIBC)
INCLUDES += -I$(SDK_LIBC)/include INCLUDES += -I$(SDK_LIBC)/include
# INCLUDES += -I$(SDK_LIBC)/include/nks # INCLUDES += -I$(SDK_LIBC)/include/nks
# INCLUDES += -I$(SDK_LIBC)/include/winsock # INCLUDES += -I$(SDK_LIBC)/include/winsock
# INCLUDES += -I$(SDK_LDAP)/libc/inc
CFLAGS += -D_POSIX_SOURCE CFLAGS += -D_POSIX_SOURCE
else else
INCLUDES += -I$(SDK_CLIB)/include/nlm INCLUDES += -I$(SDK_CLIB)/include/nlm
# INCLUDES += -I$(SDK_CLIB)/include # INCLUDES += -I$(SDK_CLIB)/include
# INCLUDES += -I$(SDK_LDAP)/clib/inc endif
ifndef DISABLE_LDAP
# INCLUDES += -I$(SDK_LDAP)/$(LIBARCH_L)/inc
endif endif
CFLAGS += $(INCLUDES) CFLAGS += $(INCLUDES)