$(foreach dir,$(DEP_DIRS),-F$(GNUSTEP_BUILD_DIR)/$(dir))
endif
-ifeq ($(findstring _64, $(GNUSTEP_TARGET_CPU)), _64)
-SYSTEM_LIB_DIR += -L/usr/local/lib64 -L/usr/lib64
-else
-SYSTEM_LIB_DIR += -L/usr/local/lib -L/usr/lib
-endif
+SYSTEM_LIB_DIR += $(CONFIGURE_SYSTEM_LIB_DIR)
# TODO: add prebinding address
FHS_INCLUDE_DIR=$(FHS_INSTALL_ROOT)/include/
FHS_BIN_DIR=$(FHS_INSTALL_ROOT)/bin/
-
-ifeq ($(findstring _64, $(GNUSTEP_TARGET_CPU)), _64)
-FHS_LIB_DIR=$(FHS_INSTALL_ROOT)/lib64/
-else
-FHS_LIB_DIR=$(FHS_INSTALL_ROOT)/lib/
-endif
+FHS_LIB_DIR=$(CONFIGURE_FHS_INSTALL_LIBDIR)
NONFHS_LIBDIR="$(GNUSTEP_LIBRARIES)/$(GNUSTEP_TARGET_LDIR)/"
NONFHS_LIBNAME="$(LIBRARY_NAME)$(LIBRARY_NAME_SUFFIX)$(SHARED_LIBEXT)"
$(foreach dir,$(DEP_DIRS),-F$(GNUSTEP_BUILD_DIR)/$(dir))
endif
-ifeq ($(findstring _64, $(GNUSTEP_TARGET_CPU)), _64)
-SYSTEM_LIB_DIR += -L/usr/local/lib64 -L/usr/lib64
-else
-SYSTEM_LIB_DIR += -L/usr/local/lib -L/usr/lib
-endif
+SYSTEM_LIB_DIR += $(CONFIGURE_SYSTEM_LIB_DIR)
# platform specific settings
ifneq ($(FHS_INSTALL_ROOT),)
FHS_INCLUDE_DIR=$(FHS_INSTALL_ROOT)/include/
-FHS_BIN_DIR=$(FHS_INSTALL_ROOT)/bin/
-
-ifeq ($(findstring _64, $(GNUSTEP_TARGET_CPU)), _64)
-FHS_LIB_DIR=$(FHS_INSTALL_ROOT)/lib64/
-else
-FHS_LIB_DIR=$(FHS_INSTALL_ROOT)/lib/
-endif
+FHS_BIN_DIR=$(FHS_INSTALL_ROOT)/bin
+FHS_LIB_DIR=$(CONFIGURE_FHS_INSTALL_LIBDIR)
NONFHS_LIBDIR="$(GNUSTEP_LIBRARIES)/$(GNUSTEP_TARGET_LDIR)/"
NONFHS_LIBNAME="$(LIBRARY_NAME)$(LIBRARY_NAME_SUFFIX)$(SHARED_LIBEXT)"
$(foreach dir,$(DEP_DIRS),-F$(GNUSTEP_BUILD_DIR)/$(dir))
endif
-
-ifeq ($(findstring _64, $(GNUSTEP_TARGET_CPU)), _64)
-SYSTEM_LIB_DIR += -L/usr/local/lib64 -L/usr/lib64
-else
-SYSTEM_LIB_DIR += -L/usr/local/lib -L/usr/lib
-endif
-
+SYSTEM_LIB_DIR += $(CONFIGURE_SYSTEM_LIB_DIR)
ifneq ($(FHS_INSTALL_ROOT),)
-ifeq ($(findstring _64, $(GNUSTEP_TARGET_CPU)), _64)
-FHS_LIB_DIR=$(FHS_INSTALL_ROOT)/lib64/
-else
-FHS_LIB_DIR=$(FHS_INSTALL_ROOT)/lib/
-endif
+FHS_LIB_DIR=$(CONFIGURE_FHS_INSTALL_LIBDIR)
FHS_DB_DIR=$(FHS_LIB_DIR)sope-$(SOPE_MAJOR_VERSION).$(SOPE_MINOR_VERSION)/dbadaptors/
fhs-db-dirs ::
2006-07-04 Helge Hess <helge.hess@opengroupware.org>
+ * fixed some 64bit issues (v4.5.47)
+
* use %p for pointer formats, fixed gcc 4.1 warnings (v4.5.46)
2005-08-16 Helge Hess <helge.hess@opengroupware.org>
endif
-ifeq ($(findstring _64, $(GNUSTEP_TARGET_CPU)), _64)
-SYSTEM_LIB_DIR += -L/usr/local/lib64 -L/usr/lib64
-else
-SYSTEM_LIB_DIR += -L/usr/local/lib -L/usr/lib
-endif
+SYSTEM_LIB_DIR += $(CONFIGURE_SYSTEM_LIB_DIR)
# TODO: not necessary? covered by pg_config?
#ifeq ($(FOUNDATION_LIB),apple)
- (NSString *)_pgStripEndSpaces {
if ([self length] > 0) {
- NSCharacterSet *spaceSet = [NSCharacterSet whitespaceCharacterSet];
- NSMutableString *str = [NSMutableString stringWithCapacity:[self length]];
- IMP charAtIndex;
+ NSCharacterSet *spaceSet;
+ NSMutableString *str;
+ unichar (*charAtIndex)(id, SEL, int);
NSRange range;
- charAtIndex = [self methodForSelector:@selector(characterAtIndex:)];
+ spaceSet = [NSCharacterSet whitespaceCharacterSet];
+ str = [NSMutableString stringWithCapacity:[self length]];
+
+ charAtIndex = (unichar (*)(id, SEL, int))
+ [self methodForSelector:@selector(characterAtIndex:)];
range.length = 0;
for (range.location = ([self length] - 1);
range.location++, range.length++) {
unichar c;
- c = (unichar)(int)charAtIndex(self, @selector(characterAtIndex:),
- range.location);
+ c = charAtIndex(self, @selector(characterAtIndex:), range.location);
if (![spaceSet characterIsMember:c])
break;
}
return AUTORELEASE([self copy]);
}
-@end
+@end /* NSString(PostgreSQL72MiscStrings) */
void __link_NSStringPostgreSQL72() {
// used to force linking of object file
if (isDebuggingEnabled) {
NSLog(@"PostgreSQL72 channel 0x%p opened (connection=%@)",
- (unsigned)self, self->connection);
+ self, self->connection);
}
return YES;
}
}
if (isDebuggingEnabled)
- NSLog(@"PG0x%p SQL: %@", (unsigned)self, _expression);
+ NSLog(@"PG0x%p SQL: %@", self, _expression);
[self _resetEvaluationState];
# version file
-SUBMINOR_VERSION:=46
+SUBMINOR_VERSION:=47
# v4.5.41 requires libGDLAccess v4.5.50
ifneq ($(FHS_INSTALL_ROOT),)
-ifeq ($(findstring _64, $(GNUSTEP_TARGET_CPU)), _64)
-FHS_LIB_DIR=$(FHS_INSTALL_ROOT)/lib64/
-else
-FHS_LIB_DIR=$(FHS_INSTALL_ROOT)/lib/
-endif
-
+FHS_LIB_DIR=$(CONFIGURE_FHS_INSTALL_LIBDIR)
FHS_DB_DIR=$(FHS_LIB_DIR)sope-$(SOPE_MAJOR_VERSION).$(SOPE_MINOR_VERSION)/dbadaptors/
fhs-db-dirs ::
$(foreach dir,$(DEP_DIRS),-F$(GNUSTEP_BUILD_DIR)/$(dir))
endif
-ifeq ($(findstring _64, $(GNUSTEP_TARGET_CPU)), _64)
-SYSTEM_LIB_DIR += -L/usr/local/lib64 -L/usr/lib64
-else
-SYSTEM_LIB_DIR += -L/usr/local/lib -L/usr/lib
-endif
+SYSTEM_LIB_DIR += $(CONFIGURE_SYSTEM_LIB_DIR)
ifneq ($(FHS_INSTALL_ROOT),)
-ifeq ($(findstring _64, $(GNUSTEP_TARGET_CPU)), _64)
-SYSTEM_LIB_DIR += -L/usr/local/lib64
-else
-SYSTEM_LIB_DIR += -L/usr/local/lib
-endif
-
+FHS_LIB_DIR=$(CONFIGURE_FHS_INSTALL_LIBDIR)
FHS_DB_DIR=$(FHS_LIB_DIR)sope-$(SOPE_MAJOR_VERSION).$(SOPE_MINOR_VERSION)/dbadaptors/
fhs-db-dirs ::