diff --git a/src/configure b/src/configure
index 86ac12876b2d572e52adaa0501fd13baaf9aca68..3828180454a896c9dcbe3073b6c7407ab831dbda 100755
--- a/src/configure
+++ b/src/configure
@@ -1467,7 +1467,7 @@ else
   echo "$ac_t""no" 1>&6
 fi
 
-for ac_prog in tr trbsd
+for ac_prog in trbsd tr
 do
 # Extract the first word of "$ac_prog", so it can be a program name with args.
 set dummy $ac_prog; ac_word=$2
diff --git a/src/configure.in b/src/configure.in
index 5d6072d393f9364213ee4b14530dba936bd092b6..ec8d3a00df013bac134d0ce37da7a87375a72ce3 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -310,7 +310,7 @@ AC_PATH_PROG(etags, etags)
 AC_PATH_PROG(xargs, xargs)
 AC_PATH_PROG(ipcs, ipcs)
 AC_PATH_PROG(ipcrm, ipcrm)
-AC_PATH_PROGS(TR, tr trbsd, NOT_FOUND)
+AC_PATH_PROGS(TR, trbsd tr, NOT_FOUND)
 
 dnl Changes to look for YACC.  We have three choices (in order of pref.)
 dnl (1) We specify in YACC and YFLAGS what we want