From 1a732b028fb2a55880d0989773550fd4823d4cd2 Mon Sep 17 00:00:00 2001 From: Peter Griess Date: Fri, 20 Sep 2013 16:00:49 -0500 Subject: [PATCH] Pass 'nostdinc' to AM_INIT_AUTOMAKE(). Summary: - On hosts with case-insensitive filesystems, adding folly/ directory to the include path causes String.h to get picked up as . Add 'nostdinc' to the AM_INIT_AUTOMAKE() invocation to remove these standard includes from the set of compile flags. Test Plan: - fbconfig -r folly && fbmake runtests - ./configure && make check on Ubuntu/FC/Mac Reviewed By: delong.j@fb.com FB internal diff: D998505 --- folly/configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/folly/configure.ac b/folly/configure.ac index eb8a175e..cd0489af 100644 --- a/folly/configure.ac +++ b/folly/configure.ac @@ -9,7 +9,7 @@ AC_CONFIG_HEADERS([config.h]) AX_PREFIX_CONFIG_H([folly-config.h], [folly], [config.h]) AC_CONFIG_AUX_DIR([build-aux]) -AM_INIT_AUTOMAKE([foreign dist-bzip2]) +AM_INIT_AUTOMAKE([foreign dist-bzip2 nostdinc]) AC_CONFIG_MACRO_DIR([m4]) -- 2.34.1