summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure63
1 files changed, 60 insertions, 3 deletions
diff --git a/configure b/configure
index c15fdc3cf..12babe9be 100755
--- a/configure
+++ b/configure
@@ -8739,8 +8739,9 @@ LIBEDIT_MSG="no"
8739if test "${with_libedit+set}" = set; then : 8739if 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
8743set 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.
8744set 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; }
8746if ${ac_cv_path_PKGCONFIG+:} false; then : 8747if ${ac_cv_path_PKGCONFIG+:} false; then :
@@ -8766,7 +8767,6 @@ done
8766 done 8767 done
8767IFS=$as_save_IFS 8768IFS=$as_save_IFS
8768 8769
8769 test -z "$ac_cv_path_PKGCONFIG" && ac_cv_path_PKGCONFIG="no"
8770 ;; 8770 ;;
8771esac 8771esac
8772fi 8772fi
@@ -8780,6 +8780,63 @@ $as_echo "no" >&6; }
8780fi 8780fi
8781 8781
8782 8782
8783fi
8784if 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.
8787set 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; }
8790if ${ac_cv_path_ac_pt_PKGCONFIG+:} false; then :
8791 $as_echo_n "(cached) " >&6
8792else
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
8799for as_dir in $PATH
8800do
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
8809done
8810 done
8811IFS=$as_save_IFS
8812
8813 ;;
8814esac
8815fi
8816ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG
8817if 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; }
8820else
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8822$as_echo "no" >&6; }
8823fi
8824
8825 if test "x$ac_pt_PKGCONFIG" = x; then
8826 PKGCONFIG="no"
8827 else
8828 case $cross_compiling:$ac_tool_warned in
8829yes:)
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;}
8832ac_tool_warned=yes ;;
8833esac
8834 PKGCONFIG=$ac_pt_PKGCONFIG
8835 fi
8836else
8837 PKGCONFIG="$ac_cv_path_PKGCONFIG"
8838fi
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; }