aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa2007-05-01 05:10:50 +0000
committerKenichi Handa2007-05-01 05:10:50 +0000
commit6ed29d7bd9e059a9bb8c048fb6dbce2799443fbd (patch)
tree061bc34f71539cceb8a362c21a3ddcea76f3b896
parenta40d6d51dbf47c7cf7cb73e04269180c10c6033b (diff)
downloademacs-6ed29d7bd9e059a9bb8c048fb6dbce2799443fbd.tar.gz
emacs-6ed29d7bd9e059a9bb8c048fb6dbce2799443fbd.zip
*** empty log message ***
-rwxr-xr-xconfigure91
1 files changed, 85 insertions, 6 deletions
diff --git a/configure b/configure
index 173d1cdceff..5449808258c 100755
--- a/configure
+++ b/configure
@@ -13114,12 +13114,87 @@ fi
13114 13114
13115 if test "${HAVE_LIBOTF}" = "yes"; then 13115 if test "${HAVE_LIBOTF}" = "yes"; then
13116 13116
13117{ echo "$as_me:$LINENO: checking for OTF_get_features in -lotf" >&5
13118echo $ECHO_N "checking for OTF_get_features in -lotf... $ECHO_C" >&6; }
13119if test "${ac_cv_lib_otf_OTF_get_features+set}" = set; then
13120 echo $ECHO_N "(cached) $ECHO_C" >&6
13121else
13122 ac_check_lib_save_LIBS=$LIBS
13123LIBS="-lotf $LIBS"
13124cat >conftest.$ac_ext <<_ACEOF
13125/* confdefs.h. */
13126_ACEOF
13127cat confdefs.h >>conftest.$ac_ext
13128cat >>conftest.$ac_ext <<_ACEOF
13129/* end confdefs.h. */
13130
13131/* Override any GCC internal prototype to avoid an error.
13132 Use char because int might match the return type of a GCC
13133 builtin and then its argument prototype would still apply. */
13134#ifdef __cplusplus
13135extern "C"
13136#endif
13137char OTF_get_features ();
13138int
13139main ()
13140{
13141return OTF_get_features ();
13142 ;
13143 return 0;
13144}
13145_ACEOF
13146rm -f conftest.$ac_objext conftest$ac_exeext
13147if { (ac_try="$ac_link"
13148case "(($ac_try" in
13149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13150 *) ac_try_echo=$ac_try;;
13151esac
13152eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13153 (eval "$ac_link") 2>conftest.er1
13154 ac_status=$?
13155 grep -v '^ *+' conftest.er1 >conftest.err
13156 rm -f conftest.er1
13157 cat conftest.err >&5
13158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13159 (exit $ac_status); } && {
13160 test -z "$ac_c_werror_flag" ||
13161 test ! -s conftest.err
13162 } && test -s conftest$ac_exeext &&
13163 $as_test_x conftest$ac_exeext; then
13164 ac_cv_lib_otf_OTF_get_features=yes
13165else
13166 echo "$as_me: failed program was:" >&5
13167sed 's/^/| /' conftest.$ac_ext >&5
13168
13169 ac_cv_lib_otf_OTF_get_features=no
13170fi
13171
13172rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13173 conftest$ac_exeext conftest.$ac_ext
13174LIBS=$ac_check_lib_save_LIBS
13175fi
13176{ echo "$as_me:$LINENO: result: $ac_cv_lib_otf_OTF_get_features" >&5
13177echo "${ECHO_T}$ac_cv_lib_otf_OTF_get_features" >&6; }
13178if test $ac_cv_lib_otf_OTF_get_features = yes; then
13179 cat >>confdefs.h <<_ACEOF
13180#define HAVE_LIBOTF 1
13181_ACEOF
13182
13183 LIBS="-lotf $LIBS"
13184
13185else
13186 HAVE_LIBOTF=no
13187fi
13188
13189 if test "${HAVE_LIBOTF}" = "yes"; then
13190
13117cat >>confdefs.h <<\_ACEOF 13191cat >>confdefs.h <<\_ACEOF
13118#define HAVE_LIBOTF 1 13192#define HAVE_LIBOTF 1
13119_ACEOF 13193_ACEOF
13120 13194
13121 LIBOTF_CFLAGS=`libotf-config --cflags` 13195 LIBOTF_CFLAGS=`libotf-config --cflags`
13122 LIBOTF_LIBS=`libotf-config --libs` 13196 LIBOTF_LIBS=`libotf-config --libs`
13197 fi
13123 fi 13198 fi
13124fi 13199fi
13125 13200
@@ -18222,11 +18297,13 @@ _ACEOF
18222cat confdefs.h >>conftest.$ac_ext 18297cat confdefs.h >>conftest.$ac_ext
18223cat >>conftest.$ac_ext <<_ACEOF 18298cat >>conftest.$ac_ext <<_ACEOF
18224/* end confdefs.h. */ 18299/* end confdefs.h. */
18225#include <stdio.h> 18300#include <sys/types.h> /* for off_t */
18301 #include <stdio.h>
18226int 18302int
18227main () 18303main ()
18228{ 18304{
18229return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0); 18305int (*fp) (FILE *, off_t, int) = fseeko;
18306 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
18230 ; 18307 ;
18231 return 0; 18308 return 0;
18232} 18309}
@@ -18266,11 +18343,13 @@ cat confdefs.h >>conftest.$ac_ext
18266cat >>conftest.$ac_ext <<_ACEOF 18343cat >>conftest.$ac_ext <<_ACEOF
18267/* end confdefs.h. */ 18344/* end confdefs.h. */
18268#define _LARGEFILE_SOURCE 1 18345#define _LARGEFILE_SOURCE 1
18269#include <stdio.h> 18346#include <sys/types.h> /* for off_t */
18347 #include <stdio.h>
18270int 18348int
18271main () 18349main ()
18272{ 18350{
18273return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0); 18351int (*fp) (FILE *, off_t, int) = fseeko;
18352 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
18274 ; 18353 ;
18275 return 0; 18354 return 0;
18276} 18355}