UnSet("CONFIG_UCW_ENV_VAR_CONFIG");
# Allow use of direct IO on files
-Set("CONFIG_DIRECT_IO");
+Set("CONFIG_UCW_DIRECT_IO");
Set("CONFIG_UCW_FB_DIRECT");
# Use thread-local storage (needs GCC-support, default: auto-detect)
#ifdef CONFIG_DARWIN
return "Direct I/O is not supported on darwin";
#endif
-#ifndef CONFIG_DIRECT_IO
- return "Direct I/O disabled by configure switch -CONFIG_DIRECT_IO";
+#ifndef CONFIG_UCW_DIRECT_IO
+ return "Direct I/O disabled by configure switch -CONFIG_UCW_DIRECT_IO";
#endif
#ifndef CONFIG_UCW_FB_DIRECT
return "Direct I/O disabled by configure switch -CONFIG_UCW_FB_DIRECT";
Append("COPT" => "-I/sw/include");
# Fill in some constants not found in the system header files
Set("SOL_TCP" => 6); # missing in /usr/include/netinet/tcp.h
- if (IsGiven("CONFIG_DIRECT_IO") && IsSet("CONFIG_DIRECT_IO")) {
+ if (IsGiven("CONFIG_UCW_DIRECT_IO") && IsSet("CONFIG_UCW_DIRECT_IO")) {
Fail("Direct I/O is not available on darwin");
} else {
- UnSet("CONFIG_DIRECT_IO");
+ UnSet("CONFIG_UCW_DIRECT_IO");
}
if (!IsSet("CONFIG_POSIX_REGEX") && !IsSet("CONFIG_PCRE")) {
Set("CONFIG_POSIX_REGEX" => 1);
} if Get("CONFIG_INSTALL_API");
# Include direct FB?
- if (!IsSet("CONFIG_UCW_THREADS") || !IsSet("CONFIG_DIRECT_IO")) {
+ if (!IsSet("CONFIG_UCW_THREADS") || !IsSet("CONFIG_UCW_DIRECT_IO")) {
if (IsGiven("CONFIG_UCW_FB_DIRECT") && IsSet("CONFIG_UCW_FB_DIRECT")) {
if (!IsSet("CONFIG_UCW_THREADS")) {
Fail("CONFIG_UCW_FB_DIRECT needs CONFIG_UCW_THREADS");
} else {
- Fail("CONFIG_UCW_FB_DIRECT needs CONFIG_DIRECT_IO");
+ Fail("CONFIG_UCW_FB_DIRECT needs CONFIG_UCW_DIRECT_IO");
}
}
UnSet("CONFIG_UCW_FB_DIRECT");