]> git.meshlink.io Git - meshlink/commit
Fix a compile error on macOS when using an older version of autoconf.
authorGuus Sliepen <guus@meshlink.io>
Sun, 18 Apr 2021 14:43:17 +0000 (16:43 +0200)
committerGuus Sliepen <guus@meshlink.io>
Sun, 18 Apr 2021 14:43:17 +0000 (16:43 +0200)
commitfc07b9250cf8d9d705aa9723edbefd812f43404f
tree7b2c0298ec12729d9d8e1fadcf581a8a56f2c532
parent1bfd9ff74fb8618fd6accb6716331536a36f032a
Fix a compile error on macOS when using an older version of autoconf.

With autoconf 2.69, the USE_SYSTEM_EXTENSIONS macro did not enable
_DARWIN_C_SOURCE, which could cause a compile error. This is fixed in
autoconf 2.71, but in order to provide some backwards compatibility, we
manually enable _DARWIN_C_SOURCE for now.
configure.ac