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  
    5555# regex grammar
    5656# check bison is installed and print its version
    5757#
    58 AX_PROG_BISON([echo -n "bison version is... " && bison --version | head -n 1])
     58AX_PROG_BISON([printf "bison version is... " && bison --version | head -n 1])
    5959
    6060# libintl.h would be necessary if we used Bison's i18n setup
    6161#AC_CHECK_HEADERS([libintl.h])
     
    8181  # Add a trailing slash if we don't have one
    8282  case "$ICU_CONFIG" in
    8383  */) ;;
    84   *) ICU_CONFIG+='/' ;;
     84  *) ICU_CONFIG="${ICU_CONFIG}/" ;;
    8585  esac
    8686
    8787  # Check that icu-config exists
     
    9393# FIXME: icu-config from ICU cross-compiled with mingw wants libicuuc.dll,
    9494# which won't exist if ICU was compiled static only, so we temporarily add
    9595# --noverify until we figure out what to do about this.
    96 ICU_CONFIG+='icu-config --noverify'
     96ICU_CONFIG="${ICU_CONFIG}icu-config --noverify"
    9797
    9898AC_MSG_WARN([Disregard the next few lines where ICU_* are printed.])
    9999AC_MSG_WARN([They're all wrong but we fix them up before using them.])
     
    131131duff_icu_compile_flags='-ansi -g -O2 -O3 -std=c99 -pthread -mthreads'
    132132if test x"$CXX" = "xclang++" ; then
    133133  # 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"
    135135fi
    136136
    137137LG_REMOVE_FLAGS([ICU_CFLAGS],   [$duff_icu_compile_flags])
     
    307307AX_APPEND_COMPILE_FLAGS([$ICU_CPPFLAGS $BOOST_CPPFLAGS], [CPPFLAGS])
    308308AX_APPEND_COMPILE_FLAGS([$ICU_CXXFLAGS $BOOST_CXXFLAGS], [CXXFLAGS])
    309309
    310 LG_UNIQ_FLAGS([CPPFLAGS])
    311 LG_UNIQ_FLAGS([CFLAGS])
    312 LG_UNIQ_FLAGS([CXXFLAGS])
    313310
    314311
    315312