diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 63 |
1 files changed, 60 insertions, 3 deletions
@@ -8739,8 +8739,9 @@ LIBEDIT_MSG="no" | |||
8739 | if test "${with_libedit+set}" = set; then : | 8739 | if test "${with_libedit+set}" = set; then : |
8740 | withval=$with_libedit; if test "x$withval" != "xno" ; then | 8740 | withval=$with_libedit; if test "x$withval" != "xno" ; then |
8741 | if test "x$withval" = "xyes" ; then | 8741 | if test "x$withval" = "xyes" ; then |
8742 | # Extract the first word of "pkg-config", so it can be a program name with args. | 8742 | if test -n "$ac_tool_prefix"; then |
8743 | set dummy pkg-config; ac_word=$2 | 8743 | # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. |
8744 | set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 | ||
8744 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 8745 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
8745 | $as_echo_n "checking for $ac_word... " >&6; } | 8746 | $as_echo_n "checking for $ac_word... " >&6; } |
8746 | if ${ac_cv_path_PKGCONFIG+:} false; then : | 8747 | if ${ac_cv_path_PKGCONFIG+:} false; then : |
@@ -8766,7 +8767,6 @@ done | |||
8766 | done | 8767 | done |
8767 | IFS=$as_save_IFS | 8768 | IFS=$as_save_IFS |
8768 | 8769 | ||
8769 | test -z "$ac_cv_path_PKGCONFIG" && ac_cv_path_PKGCONFIG="no" | ||
8770 | ;; | 8770 | ;; |
8771 | esac | 8771 | esac |
8772 | fi | 8772 | fi |
@@ -8780,6 +8780,63 @@ $as_echo "no" >&6; } | |||
8780 | fi | 8780 | fi |
8781 | 8781 | ||
8782 | 8782 | ||
8783 | fi | ||
8784 | if test -z "$ac_cv_path_PKGCONFIG"; then | ||
8785 | ac_pt_PKGCONFIG=$PKGCONFIG | ||
8786 | # Extract the first word of "pkg-config", so it can be a program name with args. | ||
8787 | set dummy pkg-config; ac_word=$2 | ||
8788 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
8789 | $as_echo_n "checking for $ac_word... " >&6; } | ||
8790 | if ${ac_cv_path_ac_pt_PKGCONFIG+:} false; then : | ||
8791 | $as_echo_n "(cached) " >&6 | ||
8792 | else | ||
8793 | case $ac_pt_PKGCONFIG in | ||
8794 | [\\/]* | ?:[\\/]*) | ||
8795 | ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path. | ||
8796 | ;; | ||
8797 | *) | ||
8798 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
8799 | for as_dir in $PATH | ||
8800 | do | ||
8801 | IFS=$as_save_IFS | ||
8802 | test -z "$as_dir" && as_dir=. | ||
8803 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
8804 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | ||
8805 | ac_cv_path_ac_pt_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext" | ||
8806 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
8807 | break 2 | ||
8808 | fi | ||
8809 | done | ||
8810 | done | ||
8811 | IFS=$as_save_IFS | ||
8812 | |||
8813 | ;; | ||
8814 | esac | ||
8815 | fi | ||
8816 | ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG | ||
8817 | if test -n "$ac_pt_PKGCONFIG"; then | ||
8818 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5 | ||
8819 | $as_echo "$ac_pt_PKGCONFIG" >&6; } | ||
8820 | else | ||
8821 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
8822 | $as_echo "no" >&6; } | ||
8823 | fi | ||
8824 | |||
8825 | if test "x$ac_pt_PKGCONFIG" = x; then | ||
8826 | PKGCONFIG="no" | ||
8827 | else | ||
8828 | case $cross_compiling:$ac_tool_warned in | ||
8829 | yes:) | ||
8830 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | ||
8831 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | ||
8832 | ac_tool_warned=yes ;; | ||
8833 | esac | ||
8834 | PKGCONFIG=$ac_pt_PKGCONFIG | ||
8835 | fi | ||
8836 | else | ||
8837 | PKGCONFIG="$ac_cv_path_PKGCONFIG" | ||
8838 | fi | ||
8839 | |||
8783 | if test "x$PKGCONFIG" != "xno"; then | 8840 | if test "x$PKGCONFIG" != "xno"; then |
8784 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $PKGCONFIG knows about libedit" >&5 | 8841 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $PKGCONFIG knows about libedit" >&5 |
8785 | $as_echo_n "checking if $PKGCONFIG knows about libedit... " >&6; } | 8842 | $as_echo_n "checking if $PKGCONFIG knows about libedit... " >&6; } |