diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 63 |
1 files changed, 60 insertions, 3 deletions
@@ -9194,8 +9194,9 @@ LIBEDIT_MSG="no" | |||
9194 | if test "${with_libedit+set}" = set; then : | 9194 | if 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 |
9198 | set 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. |
9199 | set 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; } |
9201 | if ${ac_cv_path_PKGCONFIG+:} false; then : | 9202 | if ${ac_cv_path_PKGCONFIG+:} false; then : |
@@ -9221,7 +9222,6 @@ done | |||
9221 | done | 9222 | done |
9222 | IFS=$as_save_IFS | 9223 | IFS=$as_save_IFS |
9223 | 9224 | ||
9224 | test -z "$ac_cv_path_PKGCONFIG" && ac_cv_path_PKGCONFIG="no" | ||
9225 | ;; | 9225 | ;; |
9226 | esac | 9226 | esac |
9227 | fi | 9227 | fi |
@@ -9235,6 +9235,63 @@ $as_echo "no" >&6; } | |||
9235 | fi | 9235 | fi |
9236 | 9236 | ||
9237 | 9237 | ||
9238 | fi | ||
9239 | if 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. | ||
9242 | set 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; } | ||
9245 | if ${ac_cv_path_ac_pt_PKGCONFIG+:} false; then : | ||
9246 | $as_echo_n "(cached) " >&6 | ||
9247 | else | ||
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 | ||
9254 | for as_dir in $PATH | ||
9255 | do | ||
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 | ||
9264 | done | ||
9265 | done | ||
9266 | IFS=$as_save_IFS | ||
9267 | |||
9268 | ;; | ||
9269 | esac | ||
9270 | fi | ||
9271 | ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG | ||
9272 | if 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; } | ||
9275 | else | ||
9276 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
9277 | $as_echo "no" >&6; } | ||
9278 | fi | ||
9279 | |||
9280 | if test "x$ac_pt_PKGCONFIG" = x; then | ||
9281 | PKGCONFIG="no" | ||
9282 | else | ||
9283 | case $cross_compiling:$ac_tool_warned in | ||
9284 | yes:) | ||
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;} | ||
9287 | ac_tool_warned=yes ;; | ||
9288 | esac | ||
9289 | PKGCONFIG=$ac_pt_PKGCONFIG | ||
9290 | fi | ||
9291 | else | ||
9292 | PKGCONFIG="$ac_cv_path_PKGCONFIG" | ||
9293 | fi | ||
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; } |