diff options
| author | Thien-Thi Nguyen | 2008-02-02 20:46:40 +0000 |
|---|---|---|
| committer | Thien-Thi Nguyen | 2008-02-02 20:46:40 +0000 |
| commit | 435f8bc50e4868a107f87606c97696c5ae10bc18 (patch) | |
| tree | 3bf3aaeb91a306ff06c022454dc0bb048c8887a3 | |
| parent | 5285e5a626b4ff9800497a3c0f083976cb22ca96 (diff) | |
| download | emacs-435f8bc50e4868a107f87606c97696c5ae10bc18.tar.gz emacs-435f8bc50e4868a107f87606c97696c5ae10bc18.zip | |
Arrange for innards to jive w/ summary for libotf and m17n-flt.
* configure.in: For libotf and m17n-flt checks, set shell vars
HAVE_LIBOTF and HAVE_M17N_FLT instead of pkg_check_libotf and
pkg_check_m17n_flt, respectively, for the sake of the summary output.
* configure: Regenerated.
| -rw-r--r-- | ChangeLog | 8 | ||||
| -rwxr-xr-x | configure | 16 | ||||
| -rw-r--r-- | configure.in | 12 |
3 files changed, 22 insertions, 14 deletions
| @@ -1,3 +1,11 @@ | |||
| 1 | 2008-02-02 Thien-Thi Nguyen <ttn@gnuvola.org> | ||
| 2 | |||
| 3 | * configure.in: For libotf and m17n-flt checks, set shell vars | ||
| 4 | HAVE_LIBOTF and HAVE_M17N_FLT instead of pkg_check_libotf and | ||
| 5 | pkg_check_m17n_flt, respectively, for the sake of the summary output. | ||
| 6 | Reported by Ulrich Mueller. | ||
| 7 | * configure: Regenerated. | ||
| 8 | |||
| 1 | 2008-02-02 Eli Zaretskii <eliz@gnu.org> | 9 | 2008-02-02 Eli Zaretskii <eliz@gnu.org> |
| 2 | 10 | ||
| 3 | * configure.in: If admin/unidata/UnicodeData.txt is present, copy | 11 | * configure.in: If admin/unidata/UnicodeData.txt is present, copy |
| @@ -13042,7 +13042,7 @@ fi | |||
| 13042 | 13042 | ||
| 13043 | 13043 | ||
| 13044 | if test "$PKG_CONFIG" = "no" ; then | 13044 | if test "$PKG_CONFIG" = "no" ; then |
| 13045 | pkg_check_libotf=no | 13045 | HAVE_LIBOTF=no |
| 13046 | else | 13046 | else |
| 13047 | PKG_CONFIG_MIN_VERSION=0.9.0 | 13047 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 13048 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 13048 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| @@ -13085,12 +13085,12 @@ echo "${ECHO_T}no" >&6; } | |||
| 13085 | fi | 13085 | fi |
| 13086 | 13086 | ||
| 13087 | if test $succeeded = yes; then | 13087 | if test $succeeded = yes; then |
| 13088 | pkg_check_libotf=yes | 13088 | HAVE_LIBOTF=yes |
| 13089 | else | 13089 | else |
| 13090 | pkg_check_libotf=no | 13090 | HAVE_LIBOTF=no |
| 13091 | fi | 13091 | fi |
| 13092 | 13092 | ||
| 13093 | if test "$pkg_check_libotf" = "yes"; then | 13093 | if test "$HAVE_LIBOTF" = "yes"; then |
| 13094 | 13094 | ||
| 13095 | cat >>confdefs.h <<\_ACEOF | 13095 | cat >>confdefs.h <<\_ACEOF |
| 13096 | #define HAVE_LIBOTF 1 | 13096 | #define HAVE_LIBOTF 1 |
| @@ -13151,7 +13151,7 @@ fi | |||
| 13151 | 13151 | ||
| 13152 | 13152 | ||
| 13153 | if test "$PKG_CONFIG" = "no" ; then | 13153 | if test "$PKG_CONFIG" = "no" ; then |
| 13154 | pkg_check_m17n_flt=no | 13154 | HAVE_M17N_FLT=no |
| 13155 | else | 13155 | else |
| 13156 | PKG_CONFIG_MIN_VERSION=0.9.0 | 13156 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 13157 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 13157 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| @@ -13194,12 +13194,12 @@ echo "${ECHO_T}no" >&6; } | |||
| 13194 | fi | 13194 | fi |
| 13195 | 13195 | ||
| 13196 | if test $succeeded = yes; then | 13196 | if test $succeeded = yes; then |
| 13197 | pkg_check_m17n_flt=yes | 13197 | HAVE_M17N_FLT=yes |
| 13198 | else | 13198 | else |
| 13199 | pkg_check_m17n_flt=no | 13199 | HAVE_M17N_FLT=no |
| 13200 | fi | 13200 | fi |
| 13201 | 13201 | ||
| 13202 | if test "$pkg_check_m17n_flt" = "yes"; then | 13202 | if test "$HAVE_M17N_FLT" = "yes"; then |
| 13203 | 13203 | ||
| 13204 | cat >>confdefs.h <<\_ACEOF | 13204 | cat >>confdefs.h <<\_ACEOF |
| 13205 | #define HAVE_M17N_FLT 1 | 13205 | #define HAVE_M17N_FLT 1 |
diff --git a/configure.in b/configure.in index c0e5a77dd36..cded82a68d3 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -2083,9 +2083,9 @@ if test "${HAVE_FREETYPE}" = "yes"; then | |||
| 2083 | if test "X${with_pkg_config_prog}" != X; then | 2083 | if test "X${with_pkg_config_prog}" != X; then |
| 2084 | PKG_CONFIG="${with_pkg_config_prog}" | 2084 | PKG_CONFIG="${with_pkg_config_prog}" |
| 2085 | fi | 2085 | fi |
| 2086 | PKG_CHECK_MODULES(LIBOTF, libotf, pkg_check_libotf=yes, | 2086 | PKG_CHECK_MODULES(LIBOTF, libotf, HAVE_LIBOTF=yes, |
| 2087 | pkg_check_libotf=no) | 2087 | HAVE_LIBOTF=no) |
| 2088 | if test "$pkg_check_libotf" = "yes"; then | 2088 | if test "$HAVE_LIBOTF" = "yes"; then |
| 2089 | AC_DEFINE(HAVE_LIBOTF, 1, | 2089 | AC_DEFINE(HAVE_LIBOTF, 1, |
| 2090 | [Define to 1 if you have libotf library.]) | 2090 | [Define to 1 if you have libotf library.]) |
| 2091 | fi | 2091 | fi |
| @@ -2099,9 +2099,9 @@ if test "${with_m17n_flt}" != "no"; then | |||
| 2099 | PKG_CONFIG="${with_pkg_config_prog}" | 2099 | PKG_CONFIG="${with_pkg_config_prog}" |
| 2100 | fi | 2100 | fi |
| 2101 | dnl Checks for libraries. | 2101 | dnl Checks for libraries. |
| 2102 | PKG_CHECK_MODULES(M17N_FLT, m17n-flt, pkg_check_m17n_flt=yes, | 2102 | PKG_CHECK_MODULES(M17N_FLT, m17n-flt, HAVE_M17N_FLT=yes, |
| 2103 | pkg_check_m17n_flt=no) | 2103 | HAVE_M17N_FLT=no) |
| 2104 | if test "$pkg_check_m17n_flt" = "yes"; then | 2104 | if test "$HAVE_M17N_FLT" = "yes"; then |
| 2105 | AC_DEFINE(HAVE_M17N_FLT, 1, | 2105 | AC_DEFINE(HAVE_M17N_FLT, 1, |
| 2106 | [Define to 1 if you have m17n-flt library.]) | 2106 | [Define to 1 if you have m17n-flt library.]) |
| 2107 | fi | 2107 | fi |