source: trunk/dports/devel/icu/files/patch-configure.diff @ 106554

Last change on this file since 106554 was 106554, checked in by cal@…, 7 years ago

icu: update to 51.2, revbump port echo depends:icu

File size: 2.3 KB
  • configure

    old new  
    40664066        then
    40674067            # Do not use -ansi. It limits us to C90, and it breaks some platforms.
    40684068            # We use -std=c99 to disable the gnu99 defaults and its associated warnings
    4069             CFLAGS="$CFLAGS -Wall -std=c99 -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings"
     4069            CFLAGS="$CFLAGS -std=c99 -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings"
    40704070        else
    40714071            case "${host}" in
    40724072            *-*-cygwin)
     
    40784078        fi
    40794079        if test "$GXX" = yes
    40804080        then
    4081             CXXFLAGS="$CXXFLAGS -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long"
     4081            CXXFLAGS="$CXXFLAGS -W -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long"
    40824082        else
    40834083            case "${host}" in
    40844084            *-*-cygwin)
     
    60066006  $as_echo_n "(cached) " >&6
    60076007else
    60086008  ac_cv_c_bigendian=unknown
    6009     # See if we're dealing with a universal compiler.
    6010     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    6011 /* end confdefs.h.  */
    6012 #ifndef __APPLE_CC__
    6013                not a universal capable compiler
    6014              #endif
    6015              typedef int dummy;
    6016 
    6017 _ACEOF
    6018 if ac_fn_c_try_compile "$LINENO"; then :
    6019 
    6020         # Check for potential -arch flags.  It is not universal unless
    6021         # there are at least two -arch flags with different values.
    6022         ac_arch=
    6023         ac_prev=
    6024         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
    6025          if test -n "$ac_prev"; then
    6026            case $ac_word in
    6027              i?86 | x86_64 | ppc | ppc64)
    6028                if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
    6029                  ac_arch=$ac_word
    6030                else
    6031                  ac_cv_c_bigendian=universal
    6032                  break
    6033                fi
    6034                ;;
    6035            esac
    6036            ac_prev=
    6037          elif test "x$ac_word" = "x-arch"; then
    6038            ac_prev=arch
    6039          fi
    6040        done
    6041 fi
    6042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    60436009    if test $ac_cv_c_bigendian = unknown; then
    60446010      # See if sys/param.h defines the BYTE_ORDER macro.
    60456011      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     
    62146180;; #(
    62156181   no)
    62166182      ;; #(
    6217    universal)
    6218 
    6219 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
    6220 
    6221      ;; #(
    62226183   *)
    62236184     as_fn_error $? "unknown endianness
    62246185 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
Note: See TracBrowser for help on using the repository browser.