Ticket #40044: patch-configure.ac.diff
File patch-configure.ac.diff, 1.7 KB (added by ryandesign (Ryan Carsten Schmidt), 11 years ago) |
---|
-
configure.ac
old new 55 55 # regex grammar 56 56 # check bison is installed and print its version 57 57 # 58 AX_PROG_BISON([ echo -n"bison version is... " && bison --version | head -n 1])58 AX_PROG_BISON([printf "bison version is... " && bison --version | head -n 1]) 59 59 60 60 # libintl.h would be necessary if we used Bison's i18n setup 61 61 #AC_CHECK_HEADERS([libintl.h]) … … 81 81 # Add a trailing slash if we don't have one 82 82 case "$ICU_CONFIG" in 83 83 */) ;; 84 *) ICU_CONFIG +='/';;84 *) ICU_CONFIG="${ICU_CONFIG}/" ;; 85 85 esac 86 86 87 87 # Check that icu-config exists … … 93 93 # FIXME: icu-config from ICU cross-compiled with mingw wants libicuuc.dll, 94 94 # which won't exist if ICU was compiled static only, so we temporarily add 95 95 # --noverify until we figure out what to do about this. 96 ICU_CONFIG +='icu-config --noverify'96 ICU_CONFIG="${ICU_CONFIG}icu-config --noverify" 97 97 98 98 AC_MSG_WARN([Disregard the next few lines where ICU_* are printed.]) 99 99 AC_MSG_WARN([They're all wrong but we fix them up before using them.]) … … 131 131 duff_icu_compile_flags='-ansi -g -O2 -O3 -std=c99 -pthread -mthreads' 132 132 if test x"$CXX" = "xclang++" ; then 133 133 # These cause clang to freak out on Fedora 18 134 duff_icu_compile_flags +=' -Wp,-D_FORTIFY_SOURCE=2'134 duff_icu_compile_flags="$duff_icu_compile_flags -Wp,-D_FORTIFY_SOURCE=2" 135 135 fi 136 136 137 137 LG_REMOVE_FLAGS([ICU_CFLAGS], [$duff_icu_compile_flags]) … … 307 307 AX_APPEND_COMPILE_FLAGS([$ICU_CPPFLAGS $BOOST_CPPFLAGS], [CPPFLAGS]) 308 308 AX_APPEND_COMPILE_FLAGS([$ICU_CXXFLAGS $BOOST_CXXFLAGS], [CXXFLAGS]) 309 309 310 LG_UNIQ_FLAGS([CPPFLAGS])311 LG_UNIQ_FLAGS([CFLAGS])312 LG_UNIQ_FLAGS([CXXFLAGS])313 310 314 311 315 312