| OLD | NEW |
| 1 # Copyright (c) 1999-2014, International Business Machines Corporation and | 1 # Copyright (c) 1999-2015, International Business Machines Corporation and |
| 2 # others. All Rights Reserved. | 2 # others. All Rights Reserved. |
| 3 # acinclude.m4 for ICU | 3 # acinclude.m4 for ICU |
| 4 # Don't edit aclocal.m4, do edit acinclude.m4 | 4 # Don't edit aclocal.m4, do edit acinclude.m4 |
| 5 # Stephen F. Booth | 5 # Stephen F. Booth |
| 6 | 6 |
| 7 # @TOP@ | 7 # @TOP@ |
| 8 | 8 |
| 9 # ICU_CHECK_MH_FRAG | 9 # ICU_CHECK_MH_FRAG |
| 10 AC_DEFUN([ICU_CHECK_MH_FRAG], [ | 10 AC_DEFUN([ICU_CHECK_MH_FRAG], [ |
| 11 AC_CACHE_CHECK( | 11 AC_CACHE_CHECK( |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 *-*-irix*) icu_cv_host_frag=mh-irix ;; | 81 *-*-irix*) icu_cv_host_frag=mh-irix ;; |
| 82 *-dec-osf*) icu_cv_host_frag=mh-alpha-osf ;; | 82 *-dec-osf*) icu_cv_host_frag=mh-alpha-osf ;; |
| 83 *-*-nto*) icu_cv_host_frag=mh-qnx ;; | 83 *-*-nto*) icu_cv_host_frag=mh-qnx ;; |
| 84 *-ncr-*) icu_cv_host_frag=mh-mpras ;; | 84 *-ncr-*) icu_cv_host_frag=mh-mpras ;; |
| 85 *) icu_cv_host_frag=mh-unknown ;; | 85 *) icu_cv_host_frag=mh-unknown ;; |
| 86 esac | 86 esac |
| 87 ] | 87 ] |
| 88 ) | 88 ) |
| 89 ]) | 89 ]) |
| 90 | 90 |
| 91 # ICU_CONDITIONAL - similar example taken from Automake 1.4 | |
| 92 AC_DEFUN([ICU_CONDITIONAL], | |
| 93 [AC_SUBST($1_TRUE) | |
| 94 if $2; then | |
| 95 $1_TRUE= | |
| 96 else | |
| 97 $1_TRUE='#' | |
| 98 fi]) | |
| 99 | |
| 100 # ICU_PROG_LINK - Make sure that the linker is usable | 91 # ICU_PROG_LINK - Make sure that the linker is usable |
| 101 AC_DEFUN([ICU_PROG_LINK], | 92 AC_DEFUN([ICU_PROG_LINK], |
| 102 [ | 93 [ |
| 103 case "${host}" in | 94 case "${host}" in |
| 104 *-*-cygwin*|*-*-mingw*) | 95 *-*-cygwin*|*-*-mingw*) |
| 105 if test "$GCC" != yes && test -n "`link --version 2>&1 | grep 'GNU coreu
tils'`"; then | 96 if test "$GCC" != yes && test -n "`link --version 2>&1 | grep 'GNU coreu
tils'`"; then |
| 106 AC_MSG_ERROR([link.exe is not a valid linker. Your PATH is incorrect
. | 97 AC_MSG_ERROR([link.exe is not a valid linker. Your PATH is incorrect
. |
| 107 Please follow the directions in ICU's readme.]) | 98 Please follow the directions in ICU's readme.]) |
| 108 fi;; | 99 fi;; |
| 109 *);; | 100 *);; |
| (...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 500 CXXFLAGS="$CXXFLAGS /W4" | 491 CXXFLAGS="$CXXFLAGS /W4" |
| 501 fi ;; | 492 fi ;; |
| 502 *-*-mingw*) | 493 *-*-mingw*) |
| 503 CFLAGS="$CFLAGS -W4" ;; | 494 CFLAGS="$CFLAGS -W4" ;; |
| 504 esac | 495 esac |
| 505 fi | 496 fi |
| 506 fi | 497 fi |
| 507 ]) | 498 ]) |
| 508 | 499 |
| 509 | 500 |
| OLD | NEW |