author | jiho-sf <jiho-sf@users.sourceforge.net> | |
Mon, 30 Apr 2007 20:56:49 +0000 (20:56 +0000) | ||
committer | jiho-sf <jiho-sf@users.sourceforge.net> | |
Mon, 30 Apr 2007 20:56:49 +0000 (20:56 +0000) | ||
commit | 504c66e0a8882dfb48bba04881512da95b89e6fb | |
tree | 23fbd97866c59ffff499b66ac4a3a7ed9b7c232e | tree | snapshot |
parent | 4fc9681334bf42f3b8a3f374e4803f35bf2724e8 | commit | diff |
committed patch 1702352 from John Faith.
"-Wno-pointer-sign" is added to CFLAGS, then AC_COMPILE_IFELSE is run, but g++ instead of gcc is used. For gcc 3.3 (Mac OS 10.3.9) this causes compiler failure "unrecognized option" when building libcroco. This is apparently due to the "AC_LANG(C++)" line before the compile test, so adding "AC_LANG_PUSH(C)" before the compile test and "AC_LANG_POP" after the test seems to set the correct compiler.
"-Wno-pointer-sign" is added to CFLAGS, then AC_COMPILE_IFELSE is run, but g++ instead of gcc is used. For gcc 3.3 (Mac OS 10.3.9) this causes compiler failure "unrecognized option" when building libcroco. This is apparently due to the "AC_LANG(C++)" line before the compile test, so adding "AC_LANG_PUSH(C)" before the compile test and "AC_LANG_POP" after the test seems to set the correct compiler.
configure.ac | diff | blob | history |