summary refs log tree commit diff
path: root/sysdeps/nios2/configure
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/nios2/configure')
-rw-r--r--sysdeps/nios2/configure4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/nios2/configure b/sysdeps/nios2/configure
index e820dc2509..14c8a3a014 100644
--- a/sysdeps/nios2/configure
+++ b/sysdeps/nios2/configure
@@ -20,7 +20,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
@@ -86,7 +86,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