common/autoconf/generated-configure.sh

changeset 512
582c696033f5
parent 511
c81c4a5d8b50
child 513
f59a07f85125
equal deleted inserted replaced
511:c81c4a5d8b50 512:582c696033f5
3066 # definitions. It is replaced with custom functionality when building 3066 # definitions. It is replaced with custom functionality when building
3067 # custom sources. 3067 # custom sources.
3068 #CUSTOM_AUTOCONF_INCLUDE 3068 #CUSTOM_AUTOCONF_INCLUDE
3069 3069
3070 # Do not change or remove the following line, it is needed for consistency checks: 3070 # Do not change or remove the following line, it is needed for consistency checks:
3071 DATE_WHEN_GENERATED=1352916731 3071 DATE_WHEN_GENERATED=1352916966
3072 3072
3073 ############################################################################### 3073 ###############################################################################
3074 # 3074 #
3075 # Initialization / Boot-strapping 3075 # Initialization / Boot-strapping
3076 # 3076 #
33654 # 33654 #
33655 # Can the C/C++ compiler use precompiled headers? 33655 # Can the C/C++ compiler use precompiled headers?
33656 # 33656 #
33657 # Check whether --enable-precompiled-headers was given. 33657 # Check whether --enable-precompiled-headers was given.
33658 if test "${enable_precompiled_headers+set}" = set; then 33658 if test "${enable_precompiled_headers+set}" = set; then
33659 enableval=$enable_precompiled_headers; ENABLE_PRECOMPH=${enable_precompiled-headers} 33659 enableval=$enable_precompiled_headers; ENABLE_PRECOMPH=${enable_precompiled_headers}
33660 else 33660 else
33661 ENABLE_PRECOMPH=yes 33661 ENABLE_PRECOMPH=yes
33662 fi 33662 fi
33663 33663
33664 33664
33671 # Check that the compiler actually supports precomp headers. 33671 # Check that the compiler actually supports precomp headers.
33672 if test "x$GCC" = xyes; then 33672 if test "x$GCC" = xyes; then
33673 { $as_echo "$as_me:$LINENO: checking that precompiled headers work" >&5 33673 { $as_echo "$as_me:$LINENO: checking that precompiled headers work" >&5
33674 $as_echo_n "checking that precompiled headers work... " >&6; } 33674 $as_echo_n "checking that precompiled headers work... " >&6; }
33675 echo "int alfa();" > conftest.h 33675 echo "int alfa();" > conftest.h
33676 $CXX -x c++-header conftest.h -o conftest.hpp.gch 33676 $CXX -x c++-header conftest.h -o conftest.hpp.gch 2>&5 >&5
33677 if test ! -f conftest.hpp.gch; then 33677 if test ! -f conftest.hpp.gch; then
33678 echo Precompiled header is not working!
33679 USE_PRECOMPILED_HEADER=0 33678 USE_PRECOMPILED_HEADER=0
33680 { $as_echo "$as_me:$LINENO: result: no" >&5 33679 { $as_echo "$as_me:$LINENO: result: no" >&5
33681 $as_echo "no" >&6; } 33680 $as_echo "no" >&6; }
33682 else 33681 else
33683 { $as_echo "$as_me:$LINENO: result: yes" >&5 33682 { $as_echo "$as_me:$LINENO: result: yes" >&5
33684 $as_echo "yes" >&6; } 33683 $as_echo "yes" >&6; }
33685 fi 33684 fi
33686 rm -f conftest.h 33685 rm -f conftest.h conftest.hpp.gch
33687 fi 33686 fi
33688 fi 33687 fi
33689 33688
33690 33689
33691 33690

mercurial