diff options
| author | Andreas Schwab | 2008-10-12 12:47:22 +0000 |
|---|---|---|
| committer | Andreas Schwab | 2008-10-12 12:47:22 +0000 |
| commit | 6b0262c1456c973873b7c8dc2e35fc6cee74962a (patch) | |
| tree | 6da2bb8da6b6eef637c073db0a3248ead271fa27 | |
| parent | 006793d017b24aefc4a4709a91ca92cf9f4a5dc4 (diff) | |
| download | emacs-6b0262c1456c973873b7c8dc2e35fc6cee74962a.tar.gz emacs-6b0262c1456c973873b7c8dc2e35fc6cee74962a.zip | |
Only check for m17n-flt if HAVE_LIBOTF.
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rwxr-xr-x | configure | 18 | ||||
| -rw-r--r-- | configure.in | 10 |
3 files changed, 18 insertions, 14 deletions
| @@ -1,3 +1,7 @@ | |||
| 1 | 2008-10-12 Andreas Schwab <schwab@suse.de> | ||
| 2 | |||
| 3 | * configure.in: Only check for m17n-flt if HAVE_LIBOTF. | ||
| 4 | |||
| 1 | 2008-08-28 Adrian Robert <Adrian.B.Robert@gmail.com> | 5 | 2008-08-28 Adrian Robert <Adrian.B.Robert@gmail.com> |
| 2 | 6 | ||
| 3 | * configure.in: Report USE_TOOLKIT_SCROLLBARS as such (not mentioning | 7 | * configure.in: Report USE_TOOLKIT_SCROLLBARS as such (not mentioning |
| @@ -13181,7 +13181,8 @@ _ACEOF | |||
| 13181 | fi | 13181 | fi |
| 13182 | 13182 | ||
| 13183 | HAVE_M17N_FLT=no | 13183 | HAVE_M17N_FLT=no |
| 13184 | if test "${with_m17n_flt}" != "no"; then | 13184 | if test "${HAVE_LIBOTF}" = yes; then |
| 13185 | if test "${with_m17n_flt}" != "no"; then | ||
| 13185 | 13186 | ||
| 13186 | succeeded=no | 13187 | succeeded=no |
| 13187 | 13188 | ||
| @@ -13276,12 +13277,13 @@ echo "${ECHO_T}no" >&6; } | |||
| 13276 | HAVE_M17N_FLT=no | 13277 | HAVE_M17N_FLT=no |
| 13277 | fi | 13278 | fi |
| 13278 | 13279 | ||
| 13279 | if test "$HAVE_M17N_FLT" = "yes"; then | 13280 | if test "$HAVE_M17N_FLT" = "yes"; then |
| 13280 | 13281 | ||
| 13281 | cat >>confdefs.h <<\_ACEOF | 13282 | cat >>confdefs.h <<\_ACEOF |
| 13282 | #define HAVE_M17N_FLT 1 | 13283 | #define HAVE_M17N_FLT 1 |
| 13283 | _ACEOF | 13284 | _ACEOF |
| 13284 | 13285 | ||
| 13286 | fi | ||
| 13285 | fi | 13287 | fi |
| 13286 | fi | 13288 | fi |
| 13287 | 13289 | ||
| @@ -18746,13 +18748,11 @@ _ACEOF | |||
| 18746 | cat confdefs.h >>conftest.$ac_ext | 18748 | cat confdefs.h >>conftest.$ac_ext |
| 18747 | cat >>conftest.$ac_ext <<_ACEOF | 18749 | cat >>conftest.$ac_ext <<_ACEOF |
| 18748 | /* end confdefs.h. */ | 18750 | /* end confdefs.h. */ |
| 18749 | #include <sys/types.h> /* for off_t */ | 18751 | #include <stdio.h> |
| 18750 | #include <stdio.h> | ||
| 18751 | int | 18752 | int |
| 18752 | main () | 18753 | main () |
| 18753 | { | 18754 | { |
| 18754 | int (*fp) (FILE *, off_t, int) = fseeko; | 18755 | return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0); |
| 18755 | return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); | ||
| 18756 | ; | 18756 | ; |
| 18757 | return 0; | 18757 | return 0; |
| 18758 | } | 18758 | } |
| @@ -18792,13 +18792,11 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 18792 | cat >>conftest.$ac_ext <<_ACEOF | 18792 | cat >>conftest.$ac_ext <<_ACEOF |
| 18793 | /* end confdefs.h. */ | 18793 | /* end confdefs.h. */ |
| 18794 | #define _LARGEFILE_SOURCE 1 | 18794 | #define _LARGEFILE_SOURCE 1 |
| 18795 | #include <sys/types.h> /* for off_t */ | 18795 | #include <stdio.h> |
| 18796 | #include <stdio.h> | ||
| 18797 | int | 18796 | int |
| 18798 | main () | 18797 | main () |
| 18799 | { | 18798 | { |
| 18800 | int (*fp) (FILE *, off_t, int) = fseeko; | 18799 | return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0); |
| 18801 | return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); | ||
| 18802 | ; | 18800 | ; |
| 18803 | return 0; | 18801 | return 0; |
| 18804 | } | 18802 | } |
diff --git a/configure.in b/configure.in index ead577f5246..0807fb9f02c 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -1876,10 +1876,12 @@ dnl Does the new font backend require it, or can it work without it? | |||
| 1876 | fi | 1876 | fi |
| 1877 | 1877 | ||
| 1878 | HAVE_M17N_FLT=no | 1878 | HAVE_M17N_FLT=no |
| 1879 | if test "${with_m17n_flt}" != "no"; then | 1879 | if test "${HAVE_LIBOTF}" = yes; then |
| 1880 | PKG_CHECK_MODULES(M17N_FLT, m17n-flt, HAVE_M17N_FLT=yes, HAVE_M17N_FLT=no) | 1880 | if test "${with_m17n_flt}" != "no"; then |
| 1881 | if test "$HAVE_M17N_FLT" = "yes"; then | 1881 | PKG_CHECK_MODULES(M17N_FLT, m17n-flt, HAVE_M17N_FLT=yes, HAVE_M17N_FLT=no) |
| 1882 | AC_DEFINE(HAVE_M17N_FLT, 1, [Define to 1 if using libm17n-flt.]) | 1882 | if test "$HAVE_M17N_FLT" = "yes"; then |
| 1883 | AC_DEFINE(HAVE_M17N_FLT, 1, [Define to 1 if using libm17n-flt.]) | ||
| 1884 | fi | ||
| 1883 | fi | 1885 | fi |
| 1884 | fi | 1886 | fi |
| 1885 | 1887 | ||