about summary refs log tree commit diff
path: root/sysdeps/arm/configure
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/arm/configure')
-rw-r--r--sysdeps/arm/configure4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/arm/configure b/sysdeps/arm/configure
index fe86006569..238b335f7d 100644
--- a/sysdeps/arm/configure
+++ b/sysdeps/arm/configure
@@ -28,7 +28,7 @@ do
     for ac_prog in grep ggrep; do
     for ac_exec_ext in '' $ac_executable_extensions; do
       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
-      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
+      as_fn_executable_p "$ac_path_GREP" || continue
 # Check for GNU ac_path_GREP and select it if it is found.
   # Check for GNU $ac_path_GREP
 case `"$ac_path_GREP" --version 2>&1` in
@@ -94,7 +94,7 @@ do
     for ac_prog in egrep; do
     for ac_exec_ext in '' $ac_executable_extensions; do
       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
-      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
+      as_fn_executable_p "$ac_path_EGREP" || continue
 # Check for GNU ac_path_EGREP and select it if it is found.
   # Check for GNU $ac_path_EGREP
 case `"$ac_path_EGREP" --version 2>&1` in