diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2020-11-13 11:08:05 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2020-11-13 11:08:05 +0100 |
| commit | d6b0d6e0e7898ab4fba974b9e0dc3e78b6252169 (patch) | |
| tree | 03f316e8dc7f86830d28889ad3d1d86d5f7c6294 | |
| parent | 01eef9f87b72b0c1473672ca17592077b5af1126 (diff) | |
| download | vis-d6b0d6e0e7898ab4fba974b9e0dc3e78b6252169.tar.gz vis-d6b0d6e0e7898ab4fba974b9e0dc3e78b6252169.tar.xz | |
build: use feature test macros for memrchr configure check
Previously these were only used to compile the main project source,
resulting in inconsistencies between the feature detection and actual
usage.
| -rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -619,7 +619,7 @@ int main(int argc, char *argv[]) { } EOF -if $CC $CFLAGS "$tmpc" $LDFLAGS -o "$tmpo" >/dev/null 2>&1; then +if $CC $CFLAGS $CFLAGS_STD "$tmpc" $LDFLAGS -o "$tmpo" >/dev/null 2>&1; then HAVE_MEMRCHR=1 printf "%s\n" "yes" else |
