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 baad7eecf..cb9739412 100755
--- a/configure
+++ b/configure
@@ -9194,8 +9194,9 @@ LIBEDIT_MSG="no"
9194if test "${with_libedit+set}" = set; then : 9194if test "${with_libedit+set}" = set; then :
9195 withval=$with_libedit; if test "x$withval" != "xno" ; then 9195 withval=$with_libedit; if test "x$withval" != "xno" ; then
9196 if test "x$withval" = "xyes" ; then 9196 if test "x$withval" = "xyes" ; then
9197 # Extract the first word of "pkg-config", so it can be a program name with args. 9197 if test -n "$ac_tool_prefix"; then
9198set dummy pkg-config; ac_word=$2 9198 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
9199set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
9199{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9200{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9200$as_echo_n "checking for $ac_word... " >&6; } 9201$as_echo_n "checking for $ac_word... " >&6; }
9201if ${ac_cv_path_PKGCONFIG+:} false; then : 9202if ${ac_cv_path_PKGCONFIG+:} false; then :
@@ -9221,7 +9222,6 @@ done
9221 done 9222 done
9222IFS=$as_save_IFS 9223IFS=$as_save_IFS
9223 9224
9224 test -z "$ac_cv_path_PKGCONFIG" && ac_cv_path_PKGCONFIG="no"
9225 ;; 9225 ;;
9226esac 9226esac
9227fi 9227fi
@@ -9235,6 +9235,63 @@ $as_echo "no" >&6; }
9235fi 9235fi
9236 9236
9237 9237
9238fi
9239if test -z "$ac_cv_path_PKGCONFIG"; then
9240 ac_pt_PKGCONFIG=$PKGCONFIG
9241 # Extract the first word of "pkg-config", so it can be a program name with args.
9242set dummy pkg-config; ac_word=$2
9243{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9244$as_echo_n "checking for $ac_word... " >&6; }
9245if ${ac_cv_path_ac_pt_PKGCONFIG+:} false; then :
9246 $as_echo_n "(cached) " >&6
9247else
9248 case $ac_pt_PKGCONFIG in
9249 [\\/]* | ?:[\\/]*)
9250 ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
9251 ;;
9252 *)
9253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9254for as_dir in $PATH
9255do
9256 IFS=$as_save_IFS
9257 test -z "$as_dir" && as_dir=.
9258 for ac_exec_ext in '' $ac_executable_extensions; do
9259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9260 ac_cv_path_ac_pt_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
9261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9262 break 2
9263 fi
9264done
9265 done
9266IFS=$as_save_IFS
9267
9268 ;;
9269esac
9270fi
9271ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG
9272if test -n "$ac_pt_PKGCONFIG"; then
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
9274$as_echo "$ac_pt_PKGCONFIG" >&6; }
9275else
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9277$as_echo "no" >&6; }
9278fi
9279
9280 if test "x$ac_pt_PKGCONFIG" = x; then
9281 PKGCONFIG="no"
9282 else
9283 case $cross_compiling:$ac_tool_warned in
9284yes:)
9285{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9286$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9287ac_tool_warned=yes ;;
9288esac
9289 PKGCONFIG=$ac_pt_PKGCONFIG
9290 fi
9291else
9292 PKGCONFIG="$ac_cv_path_PKGCONFIG"
9293fi
9294
9238 if test "x$PKGCONFIG" != "xno"; then 9295 if test "x$PKGCONFIG" != "xno"; then
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $PKGCONFIG knows about libedit" >&5 9296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $PKGCONFIG knows about libedit" >&5
9240$as_echo_n "checking if $PKGCONFIG knows about libedit... " >&6; } 9297$as_echo_n "checking if $PKGCONFIG knows about libedit... " >&6; }