Mercurial > emacs
comparison configure @ 98654:015e43fe3098
Only check for m17n-flt if HAVE_LIBOTF.
author | Andreas Schwab <schwab@suse.de> |
---|---|
date | Sun, 12 Oct 2008 12:47:22 +0000 |
parents | 46fbf568b2bd |
children | 09f1342109b9 |
comparison
equal
deleted
inserted
replaced
98653:3553ffaa9490 | 98654:015e43fe3098 |
---|---|
13179 fi | 13179 fi |
13180 fi | 13180 fi |
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 |
13188 # Extract the first word of "pkg-config", so it can be a program name with args. | 13189 # Extract the first word of "pkg-config", so it can be a program name with args. |
13189 set dummy pkg-config; ac_word=$2 | 13190 set dummy pkg-config; ac_word=$2 |
13274 HAVE_M17N_FLT=yes | 13275 HAVE_M17N_FLT=yes |
13275 else | 13276 else |
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 |
13288 | 13290 |
13289 | 13291 |
18744 /* confdefs.h. */ | 18746 /* confdefs.h. */ |
18745 _ACEOF | 18747 _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 } |
18759 _ACEOF | 18759 _ACEOF |
18760 rm -f conftest.$ac_objext conftest$ac_exeext | 18760 rm -f conftest.$ac_objext conftest$ac_exeext |
18790 _ACEOF | 18790 _ACEOF |
18791 cat confdefs.h >>conftest.$ac_ext | 18791 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 } |
18805 _ACEOF | 18803 _ACEOF |
18806 rm -f conftest.$ac_objext conftest$ac_exeext | 18804 rm -f conftest.$ac_objext conftest$ac_exeext |