- Timestamp:
- Mar 29, 2009, 12:03:53 PM (15 years ago)
- Branches:
- owl
- Children:
- 01dcae5
- Parents:
- 73d8a88
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
configure
rdab82f29 r3674002 661 661 GREP 662 662 EGREP 663 PKG_CONFIG 664 GLIB_CFLAGS 665 GLIB_LIBS 663 666 XSUBPPDIR 664 667 INSTALL_PROGRAM … … 677 680 LIBS 678 681 CPPFLAGS 679 CPP' 682 CPP 683 PKG_CONFIG 684 GLIB_CFLAGS 685 GLIB_LIBS' 680 686 ac_subdirs_all='libfaim' 681 687 … … 1252 1258 you have headers in a nonstandard directory <include dir> 1253 1259 CPP C preprocessor 1260 PKG_CONFIG path to pkg-config utility 1261 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config 1262 GLIB_LIBS linker flags for GLIB, overriding pkg-config 1254 1263 1255 1264 Use these variables to override the choices made by `configure' or to help … … 4675 4684 done 4676 4685 4686 4687 4688 4689 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 4690 if test -n "$ac_tool_prefix"; then 4691 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 4692 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 4693 { echo "$as_me:$LINENO: checking for $ac_word" >&5 4694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 4695 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 4696 echo $ECHO_N "(cached) $ECHO_C" >&6 4697 else 4698 case $PKG_CONFIG in 4699 [\\/]* | ?:[\\/]*) 4700 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 4701 ;; 4702 *) 4703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4704 for as_dir in $PATH 4705 do 4706 IFS=$as_save_IFS 4707 test -z "$as_dir" && as_dir=. 4708 for ac_exec_ext in '' $ac_executable_extensions; do 4709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4710 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4711 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4712 break 2 4713 fi 4714 done 4715 done 4716 IFS=$as_save_IFS 4717 4718 ;; 4719 esac 4720 fi 4721 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 4722 if test -n "$PKG_CONFIG"; then 4723 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 4724 echo "${ECHO_T}$PKG_CONFIG" >&6; } 4725 else 4726 { echo "$as_me:$LINENO: result: no" >&5 4727 echo "${ECHO_T}no" >&6; } 4728 fi 4729 4730 4731 fi 4732 if test -z "$ac_cv_path_PKG_CONFIG"; then 4733 ac_pt_PKG_CONFIG=$PKG_CONFIG 4734 # Extract the first word of "pkg-config", so it can be a program name with args. 4735 set dummy pkg-config; ac_word=$2 4736 { echo "$as_me:$LINENO: checking for $ac_word" >&5 4737 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 4738 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then 4739 echo $ECHO_N "(cached) $ECHO_C" >&6 4740 else 4741 case $ac_pt_PKG_CONFIG in 4742 [\\/]* | ?:[\\/]*) 4743 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 4744 ;; 4745 *) 4746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4747 for as_dir in $PATH 4748 do 4749 IFS=$as_save_IFS 4750 test -z "$as_dir" && as_dir=. 4751 for ac_exec_ext in '' $ac_executable_extensions; do 4752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4753 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4755 break 2 4756 fi 4757 done 4758 done 4759 IFS=$as_save_IFS 4760 4761 ;; 4762 esac 4763 fi 4764 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 4765 if test -n "$ac_pt_PKG_CONFIG"; then 4766 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 4767 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; } 4768 else 4769 { echo "$as_me:$LINENO: result: no" >&5 4770 echo "${ECHO_T}no" >&6; } 4771 fi 4772 4773 if test "x$ac_pt_PKG_CONFIG" = x; then 4774 PKG_CONFIG="" 4775 else 4776 case $cross_compiling:$ac_tool_warned in 4777 yes:) 4778 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 4779 whose name does not start with the host triplet. If you think this 4780 configuration is useful to you, please write to autoconf@gnu.org." >&5 4781 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 4782 whose name does not start with the host triplet. If you think this 4783 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 4784 ac_tool_warned=yes ;; 4785 esac 4786 PKG_CONFIG=$ac_pt_PKG_CONFIG 4787 fi 4788 else 4789 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 4790 fi 4791 4792 fi 4793 if test -n "$PKG_CONFIG"; then 4794 _pkg_min_version=0.9.0 4795 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 4796 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; } 4797 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 4798 { echo "$as_me:$LINENO: result: yes" >&5 4799 echo "${ECHO_T}yes" >&6; } 4800 else 4801 { echo "$as_me:$LINENO: result: no" >&5 4802 echo "${ECHO_T}no" >&6; } 4803 PKG_CONFIG="" 4804 fi 4805 4806 fi 4807 4808 pkg_failed=no 4809 { echo "$as_me:$LINENO: checking for GLIB" >&5 4810 echo $ECHO_N "checking for GLIB... $ECHO_C" >&6; } 4811 4812 if test -n "$PKG_CONFIG"; then 4813 if test -n "$GLIB_CFLAGS"; then 4814 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS" 4815 else 4816 if test -n "$PKG_CONFIG" && \ 4817 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5 4818 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5 4819 ac_status=$? 4820 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4821 (exit $ac_status); }; then 4822 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null` 4823 else 4824 pkg_failed=yes 4825 fi 4826 fi 4827 else 4828 pkg_failed=untried 4829 fi 4830 if test -n "$PKG_CONFIG"; then 4831 if test -n "$GLIB_LIBS"; then 4832 pkg_cv_GLIB_LIBS="$GLIB_LIBS" 4833 else 4834 if test -n "$PKG_CONFIG" && \ 4835 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5 4836 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5 4837 ac_status=$? 4838 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4839 (exit $ac_status); }; then 4840 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null` 4841 else 4842 pkg_failed=yes 4843 fi 4844 fi 4845 else 4846 pkg_failed=untried 4847 fi 4848 4849 4850 4851 if test $pkg_failed = yes; then 4852 4853 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 4854 _pkg_short_errors_supported=yes 4855 else 4856 _pkg_short_errors_supported=no 4857 fi 4858 if test $_pkg_short_errors_supported = yes; then 4859 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0"` 4860 else 4861 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"` 4862 fi 4863 # Put the nasty error message in config.log where it belongs 4864 echo "$GLIB_PKG_ERRORS" >&5 4865 4866 { { echo "$as_me:$LINENO: error: Package requirements (glib-2.0) were not met: 4867 4868 $GLIB_PKG_ERRORS 4869 4870 Consider adjusting the PKG_CONFIG_PATH environment variable if you 4871 installed software in a non-standard prefix. 4872 4873 Alternatively, you may set the environment variables GLIB_CFLAGS 4874 and GLIB_LIBS to avoid the need to call pkg-config. 4875 See the pkg-config man page for more details. 4876 " >&5 4877 echo "$as_me: error: Package requirements (glib-2.0) were not met: 4878 4879 $GLIB_PKG_ERRORS 4880 4881 Consider adjusting the PKG_CONFIG_PATH environment variable if you 4882 installed software in a non-standard prefix. 4883 4884 Alternatively, you may set the environment variables GLIB_CFLAGS 4885 and GLIB_LIBS to avoid the need to call pkg-config. 4886 See the pkg-config man page for more details. 4887 " >&2;} 4888 { (exit 1); exit 1; }; } 4889 elif test $pkg_failed = untried; then 4890 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 4891 is in your PATH or set the PKG_CONFIG environment variable to the full 4892 path to pkg-config. 4893 4894 Alternatively, you may set the environment variables GLIB_CFLAGS 4895 and GLIB_LIBS to avoid the need to call pkg-config. 4896 See the pkg-config man page for more details. 4897 4898 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. 4899 See \`config.log' for more details." >&5 4900 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 4901 is in your PATH or set the PKG_CONFIG environment variable to the full 4902 path to pkg-config. 4903 4904 Alternatively, you may set the environment variables GLIB_CFLAGS 4905 and GLIB_LIBS to avoid the need to call pkg-config. 4906 See the pkg-config man page for more details. 4907 4908 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. 4909 See \`config.log' for more details." >&2;} 4910 { (exit 1); exit 1; }; } 4911 else 4912 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS 4913 GLIB_LIBS=$pkg_cv_GLIB_LIBS 4914 { echo "$as_me:$LINENO: result: yes" >&5 4915 echo "${ECHO_T}yes" >&6; } 4916 : 4917 fi 4918 4919 echo Adding glib-2.0 CFLAGS ${GLIB_CFLAGS} 4920 CFLAGS="${GLIB_CFLAGS} ${CFLAGS}" 4921 echo Adding glib-2.0 LDFLAGS ${GLIB_LIBS} 4922 LDFLAGS="${GLIB_LIBS} ${LDFLAGS}" 4677 4923 4678 4924 FOO=`perl -MExtUtils::Embed -e ccopts` … … 5534 5780 GREP!$GREP$ac_delim 5535 5781 EGREP!$EGREP$ac_delim 5782 PKG_CONFIG!$PKG_CONFIG$ac_delim 5783 GLIB_CFLAGS!$GLIB_CFLAGS$ac_delim 5784 GLIB_LIBS!$GLIB_LIBS$ac_delim 5536 5785 XSUBPPDIR!$XSUBPPDIR$ac_delim 5537 5786 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim … … 5543 5792 _ACEOF 5544 5793 5545 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 5 4; then5794 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 57; then 5546 5795 break 5547 5796 elif $ac_last_try; then
Note: See TracChangeset
for help on using the changeset viewer.