From: Peter Griess Date: Fri, 20 Sep 2013 21:00:49 +0000 (-0500) Subject: Pass 'nostdinc' to AM_INIT_AUTOMAKE(). X-Git-Tag: v0.22.0~850 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1a732b028fb2a55880d0989773550fd4823d4cd2;p=folly.git 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 --- 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])