monotone

monotone Mtn Source Tree

Root/m4/pch.m4

1# check for precompiled headers option
2AC_DEFUN([AC_PROG_CXX_PCH],
3[AC_ARG_ENABLE(pch,
4 AS_HELP_STRING([--enable-pch],
5 [use precompiled boost headers]))
6 AM_CONDITIONAL(BUILD_PCH, false)
7 if test x"${enable_pch}" = x"yes"
8 then
9AC_MSG_CHECKING(for gcc with precompiled header support)
10gxx_version=`${CXX} -dumpversion`
11case $gxx_version in
124.*)
13AC_MSG_RESULT(found)
14AM_CONDITIONAL(BUILD_PCH, true)
15;;
16*)
17AC_MSG_RESULT(not found)
18;;
19 esac
20 fi])

Archive Download this file

Branches

Tags

Quick Links:     www.monotone.ca    -     Downloads    -     Documentation    -     Wiki    -     Code Forge    -     Build Status