aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schwab2008-10-12 12:47:22 +0000
committerAndreas Schwab2008-10-12 12:47:22 +0000
commit6b0262c1456c973873b7c8dc2e35fc6cee74962a (patch)
tree6da2bb8da6b6eef637c073db0a3248ead271fa27
parent006793d017b24aefc4a4709a91ca92cf9f4a5dc4 (diff)
downloademacs-6b0262c1456c973873b7c8dc2e35fc6cee74962a.tar.gz
emacs-6b0262c1456c973873b7c8dc2e35fc6cee74962a.zip
Only check for m17n-flt if HAVE_LIBOTF.
-rw-r--r--ChangeLog4
-rwxr-xr-xconfigure18
-rw-r--r--configure.in10
3 files changed, 18 insertions, 14 deletions
diff --git a/ChangeLog b/ChangeLog
index bab931331aa..aaa023442fb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
12008-10-12 Andreas Schwab <schwab@suse.de>
2
3 * configure.in: Only check for m17n-flt if HAVE_LIBOTF.
4
12008-08-28 Adrian Robert <Adrian.B.Robert@gmail.com> 52008-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
diff --git a/configure b/configure
index 072df70e6a2..9995b710e08 100755
--- a/configure
+++ b/configure
@@ -13181,7 +13181,8 @@ _ACEOF
13181fi 13181fi
13182 13182
13183HAVE_M17N_FLT=no 13183HAVE_M17N_FLT=no
13184if test "${with_m17n_flt}" != "no"; then 13184if 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
13281cat >>confdefs.h <<\_ACEOF 13282cat >>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
13286fi 13288fi
13287 13289
@@ -18746,13 +18748,11 @@ _ACEOF
18746cat confdefs.h >>conftest.$ac_ext 18748cat confdefs.h >>conftest.$ac_ext
18747cat >>conftest.$ac_ext <<_ACEOF 18749cat >>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>
18751int 18752int
18752main () 18753main ()
18753{ 18754{
18754int (*fp) (FILE *, off_t, int) = fseeko; 18755return 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
18792cat >>conftest.$ac_ext <<_ACEOF 18792cat >>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>
18797int 18796int
18798main () 18797main ()
18799{ 18798{
18800int (*fp) (FILE *, off_t, int) = fseeko; 18799return 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?
1876fi 1876fi
1877 1877
1878HAVE_M17N_FLT=no 1878HAVE_M17N_FLT=no
1879if test "${with_m17n_flt}" != "no"; then 1879if 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
1884fi 1886fi
1885 1887