Fossil SCM
Determine value for HAVE_UTIME, necessary for VxWorks.
Commit
9d0bc3a83b431196079ec80798ae775eca15ad96
Parent
18ae9fddb815e90…
1 file changed
+1
M
auto.def
+1
| --- auto.def | ||
| +++ auto.def | ||
| @@ -261,10 +261,11 @@ | ||
| 261 | 261 | if {[string match *mingw* [get-define host]]} { |
| 262 | 262 | define-append LIBS -lwsock32 |
| 263 | 263 | } |
| 264 | 264 | } |
| 265 | 265 | cc-check-function-in-lib iconv iconv |
| 266 | +cc-check-functions utime | |
| 266 | 267 | |
| 267 | 268 | # Check for getloadavg(), and if it doesn't exist, define FOSSIL_OMIT_LOAD_AVERAGE |
| 268 | 269 | if {![cc-check-functions getloadavg]} { |
| 269 | 270 | define FOSSIL_OMIT_LOAD_AVERAGE 1 |
| 270 | 271 | msg-result "Load average support unavailable" |
| 271 | 272 |
| --- auto.def | |
| +++ auto.def | |
| @@ -261,10 +261,11 @@ | |
| 261 | if {[string match *mingw* [get-define host]]} { |
| 262 | define-append LIBS -lwsock32 |
| 263 | } |
| 264 | } |
| 265 | cc-check-function-in-lib iconv iconv |
| 266 | |
| 267 | # Check for getloadavg(), and if it doesn't exist, define FOSSIL_OMIT_LOAD_AVERAGE |
| 268 | if {![cc-check-functions getloadavg]} { |
| 269 | define FOSSIL_OMIT_LOAD_AVERAGE 1 |
| 270 | msg-result "Load average support unavailable" |
| 271 |
| --- auto.def | |
| +++ auto.def | |
| @@ -261,10 +261,11 @@ | |
| 261 | if {[string match *mingw* [get-define host]]} { |
| 262 | define-append LIBS -lwsock32 |
| 263 | } |
| 264 | } |
| 265 | cc-check-function-in-lib iconv iconv |
| 266 | cc-check-functions utime |
| 267 | |
| 268 | # Check for getloadavg(), and if it doesn't exist, define FOSSIL_OMIT_LOAD_AVERAGE |
| 269 | if {![cc-check-functions getloadavg]} { |
| 270 | define FOSSIL_OMIT_LOAD_AVERAGE 1 |
| 271 | msg-result "Load average support unavailable" |
| 272 |