Mercurial > emacs
comparison configure @ 91148:293155ed2cf4
Re-generated.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Sat, 01 Dec 2007 02:44:40 +0000 |
parents | 880960b70474 |
children | 53108e6cea98 |
comparison
equal
deleted
inserted
replaced
91147:6d4d49b30716 | 91148:293155ed2cf4 |
---|---|
699 FONTCONFIG_CFLAGS | 699 FONTCONFIG_CFLAGS |
700 FONTCONFIG_LIBS | 700 FONTCONFIG_LIBS |
701 HAVE_LIBOTF | 701 HAVE_LIBOTF |
702 LIBOTF_CFLAGS | 702 LIBOTF_CFLAGS |
703 LIBOTF_LIBS | 703 LIBOTF_LIBS |
704 M17N_FLT_CFLAGS | |
705 M17N_FLT_LIBS | |
704 ALLOCA | 706 ALLOCA |
705 liblockfile | 707 liblockfile |
706 LIBOBJS | 708 LIBOBJS |
707 NEED_SETGID | 709 NEED_SETGID |
708 KMEM_GROUP | 710 KMEM_GROUP |
13428 | 13430 |
13429 | 13431 |
13430 | 13432 |
13431 | 13433 |
13432 | 13434 |
13435 if test "X${with_pkg_config_prog}" != X; then | |
13436 PKG_CONFIG="${with_pkg_config_prog}" | |
13437 fi | |
13438 | |
13439 succeeded=no | |
13440 | |
13441 if test -z "$PKG_CONFIG"; then | |
13442 # Extract the first word of "pkg-config", so it can be a program name with args. | |
13443 set dummy pkg-config; ac_word=$2 | |
13444 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
13445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | |
13446 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then | |
13447 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
13448 else | |
13449 case $PKG_CONFIG in | |
13450 [\\/]* | ?:[\\/]*) | |
13451 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | |
13452 ;; | |
13453 *) | |
13454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
13455 for as_dir in $PATH | |
13456 do | |
13457 IFS=$as_save_IFS | |
13458 test -z "$as_dir" && as_dir=. | |
13459 for ac_exec_ext in '' $ac_executable_extensions; do | |
13460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
13461 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | |
13462 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
13463 break 2 | |
13464 fi | |
13465 done | |
13466 done | |
13467 IFS=$as_save_IFS | |
13468 | |
13469 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | |
13470 ;; | |
13471 esac | |
13472 fi | |
13473 PKG_CONFIG=$ac_cv_path_PKG_CONFIG | |
13474 if test -n "$PKG_CONFIG"; then | |
13475 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 | |
13476 echo "${ECHO_T}$PKG_CONFIG" >&6; } | |
13477 else | |
13478 { echo "$as_me:$LINENO: result: no" >&5 | |
13479 echo "${ECHO_T}no" >&6; } | |
13480 fi | |
13481 | |
13482 | |
13483 fi | |
13484 | |
13485 if test "$PKG_CONFIG" = "no" ; then | |
13486 pkg_check_m17n_flt=no | |
13487 else | |
13488 PKG_CONFIG_MIN_VERSION=0.9.0 | |
13489 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | |
13490 { echo "$as_me:$LINENO: checking for m17n-flt" >&5 | |
13491 echo $ECHO_N "checking for m17n-flt... $ECHO_C" >&6; } | |
13492 | |
13493 if $PKG_CONFIG --exists "m17n-flt" 2>&5; then | |
13494 { echo "$as_me:$LINENO: result: yes" >&5 | |
13495 echo "${ECHO_T}yes" >&6; } | |
13496 succeeded=yes | |
13497 | |
13498 { echo "$as_me:$LINENO: checking M17N_FLT_CFLAGS" >&5 | |
13499 echo $ECHO_N "checking M17N_FLT_CFLAGS... $ECHO_C" >&6; } | |
13500 M17N_FLT_CFLAGS=`$PKG_CONFIG --cflags "m17n-flt"|sed -e 's,///*,/,g'` | |
13501 { echo "$as_me:$LINENO: result: $M17N_FLT_CFLAGS" >&5 | |
13502 echo "${ECHO_T}$M17N_FLT_CFLAGS" >&6; } | |
13503 | |
13504 { echo "$as_me:$LINENO: checking M17N_FLT_LIBS" >&5 | |
13505 echo $ECHO_N "checking M17N_FLT_LIBS... $ECHO_C" >&6; } | |
13506 M17N_FLT_LIBS=`$PKG_CONFIG --libs "m17n-flt"|sed -e 's,///*,/,g'` | |
13507 { echo "$as_me:$LINENO: result: $M17N_FLT_LIBS" >&5 | |
13508 echo "${ECHO_T}$M17N_FLT_LIBS" >&6; } | |
13509 else | |
13510 { echo "$as_me:$LINENO: result: no" >&5 | |
13511 echo "${ECHO_T}no" >&6; } | |
13512 M17N_FLT_CFLAGS="" | |
13513 M17N_FLT_LIBS="" | |
13514 ## If we have a custom action on failure, don't print errors, but | |
13515 ## do set a variable so people can do so. | |
13516 M17N_FLT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "m17n-flt"` | |
13517 | |
13518 fi | |
13519 | |
13520 | |
13521 | |
13522 else | |
13523 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." | |
13524 echo "*** See http://www.freedesktop.org/software/pkgconfig" | |
13525 fi | |
13526 fi | |
13527 | |
13528 if test $succeeded = yes; then | |
13529 pkg_check_m17n_flt=yes | |
13530 else | |
13531 pkg_check_m17n_flt=no | |
13532 fi | |
13533 | |
13534 if test "$pkg_check_m17n_flt" = "yes"; then | |
13535 | |
13536 cat >>confdefs.h <<\_ACEOF | |
13537 #define HAVE_M17N_FLT 1 | |
13538 _ACEOF | |
13539 | |
13540 | |
13541 | |
13542 C_SWITCH_X_SITE="$C_SWITCH_X_SITE $M17N_FLT_CFLAGS" | |
13543 CFLAGS="$CFLAGS $M17N_FLT_CFLAGS" | |
13544 LIBS="$LIBS $M17N_FLT_LIBS" | |
13545 fi | |
13546 | |
13433 fi | 13547 fi |
13434 | 13548 |
13435 ### Use -lXpm if available, unless `--with-xpm=no'. | 13549 ### Use -lXpm if available, unless `--with-xpm=no'. |
13436 HAVE_XPM=no | 13550 HAVE_XPM=no |
13437 if test "${HAVE_X11}" = "yes"; then | 13551 if test "${HAVE_X11}" = "yes"; then |
18846 /* confdefs.h. */ | 18960 /* confdefs.h. */ |
18847 _ACEOF | 18961 _ACEOF |
18848 cat confdefs.h >>conftest.$ac_ext | 18962 cat confdefs.h >>conftest.$ac_ext |
18849 cat >>conftest.$ac_ext <<_ACEOF | 18963 cat >>conftest.$ac_ext <<_ACEOF |
18850 /* end confdefs.h. */ | 18964 /* end confdefs.h. */ |
18851 #include <stdio.h> | 18965 #include <sys/types.h> /* for off_t */ |
18966 #include <stdio.h> | |
18852 int | 18967 int |
18853 main () | 18968 main () |
18854 { | 18969 { |
18855 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0); | 18970 int (*fp) (FILE *, off_t, int) = fseeko; |
18971 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); | |
18856 ; | 18972 ; |
18857 return 0; | 18973 return 0; |
18858 } | 18974 } |
18859 _ACEOF | 18975 _ACEOF |
18860 rm -f conftest.$ac_objext conftest$ac_exeext | 18976 rm -f conftest.$ac_objext conftest$ac_exeext |
18890 _ACEOF | 19006 _ACEOF |
18891 cat confdefs.h >>conftest.$ac_ext | 19007 cat confdefs.h >>conftest.$ac_ext |
18892 cat >>conftest.$ac_ext <<_ACEOF | 19008 cat >>conftest.$ac_ext <<_ACEOF |
18893 /* end confdefs.h. */ | 19009 /* end confdefs.h. */ |
18894 #define _LARGEFILE_SOURCE 1 | 19010 #define _LARGEFILE_SOURCE 1 |
18895 #include <stdio.h> | 19011 #include <sys/types.h> /* for off_t */ |
19012 #include <stdio.h> | |
18896 int | 19013 int |
18897 main () | 19014 main () |
18898 { | 19015 { |
18899 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0); | 19016 int (*fp) (FILE *, off_t, int) = fseeko; |
19017 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); | |
18900 ; | 19018 ; |
18901 return 0; | 19019 return 0; |
18902 } | 19020 } |
18903 _ACEOF | 19021 _ACEOF |
18904 rm -f conftest.$ac_objext conftest$ac_exeext | 19022 rm -f conftest.$ac_objext conftest$ac_exeext |
24991 FONTCONFIG_CFLAGS!$FONTCONFIG_CFLAGS$ac_delim | 25109 FONTCONFIG_CFLAGS!$FONTCONFIG_CFLAGS$ac_delim |
24992 FONTCONFIG_LIBS!$FONTCONFIG_LIBS$ac_delim | 25110 FONTCONFIG_LIBS!$FONTCONFIG_LIBS$ac_delim |
24993 HAVE_LIBOTF!$HAVE_LIBOTF$ac_delim | 25111 HAVE_LIBOTF!$HAVE_LIBOTF$ac_delim |
24994 LIBOTF_CFLAGS!$LIBOTF_CFLAGS$ac_delim | 25112 LIBOTF_CFLAGS!$LIBOTF_CFLAGS$ac_delim |
24995 LIBOTF_LIBS!$LIBOTF_LIBS$ac_delim | 25113 LIBOTF_LIBS!$LIBOTF_LIBS$ac_delim |
25114 M17N_FLT_CFLAGS!$M17N_FLT_CFLAGS$ac_delim | |
25115 M17N_FLT_LIBS!$M17N_FLT_LIBS$ac_delim | |
24996 ALLOCA!$ALLOCA$ac_delim | 25116 ALLOCA!$ALLOCA$ac_delim |
24997 liblockfile!$liblockfile$ac_delim | 25117 liblockfile!$liblockfile$ac_delim |
24998 LIBOBJS!$LIBOBJS$ac_delim | 25118 LIBOBJS!$LIBOBJS$ac_delim |
24999 NEED_SETGID!$NEED_SETGID$ac_delim | 25119 NEED_SETGID!$NEED_SETGID$ac_delim |
25000 KMEM_GROUP!$KMEM_GROUP$ac_delim | 25120 KMEM_GROUP!$KMEM_GROUP$ac_delim |
25001 GETLOADAVG_LIBS!$GETLOADAVG_LIBS$ac_delim | 25121 GETLOADAVG_LIBS!$GETLOADAVG_LIBS$ac_delim |
25002 GETOPT_H!$GETOPT_H$ac_delim | 25122 GETOPT_H!$GETOPT_H$ac_delim |
25003 GETOPTOBJS!$GETOPTOBJS$ac_delim | 25123 GETOPTOBJS!$GETOPTOBJS$ac_delim |
25004 version!$version$ac_delim | 25124 version!$version$ac_delim |
25005 configuration!$configuration$ac_delim | 25125 configuration!$configuration$ac_delim |
25006 canonical!$canonical$ac_delim | |
25007 srcdir!$srcdir$ac_delim | |
25008 _ACEOF | 25126 _ACEOF |
25009 | 25127 |
25010 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then | 25128 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then |
25011 break | 25129 break |
25012 elif $ac_last_try; then | 25130 elif $ac_last_try; then |
25044 | 25162 |
25045 | 25163 |
25046 ac_delim='%!_!# ' | 25164 ac_delim='%!_!# ' |
25047 for ac_last_try in false false false false false :; do | 25165 for ac_last_try in false false false false false :; do |
25048 cat >conf$$subs.sed <<_ACEOF | 25166 cat >conf$$subs.sed <<_ACEOF |
25167 canonical!$canonical$ac_delim | |
25168 srcdir!$srcdir$ac_delim | |
25049 lispdir!$lispdir$ac_delim | 25169 lispdir!$lispdir$ac_delim |
25050 locallisppath!$locallisppath$ac_delim | 25170 locallisppath!$locallisppath$ac_delim |
25051 lisppath!$lisppath$ac_delim | 25171 lisppath!$lisppath$ac_delim |
25052 x_default_search_path!$x_default_search_path$ac_delim | 25172 x_default_search_path!$x_default_search_path$ac_delim |
25053 etcdir!$etcdir$ac_delim | 25173 etcdir!$etcdir$ac_delim |
25065 opsysfile!$opsysfile$ac_delim | 25185 opsysfile!$opsysfile$ac_delim |
25066 carbon_appdir!$carbon_appdir$ac_delim | 25186 carbon_appdir!$carbon_appdir$ac_delim |
25067 LTLIBOBJS!$LTLIBOBJS$ac_delim | 25187 LTLIBOBJS!$LTLIBOBJS$ac_delim |
25068 _ACEOF | 25188 _ACEOF |
25069 | 25189 |
25070 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 19; then | 25190 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 21; then |
25071 break | 25191 break |
25072 elif $ac_last_try; then | 25192 elif $ac_last_try; then |
25073 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | 25193 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
25074 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | 25194 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
25075 { (exit 1); exit 1; }; } | 25195 { (exit 1); exit 1; }; } |