* configure.in: Check for librx after libm; fundamentals need to
[bpt/guile.git] / configure.in
index 4122e3b..53ae0a6 100644 (file)
@@ -52,11 +52,8 @@ AC_TYPE_GETGROUPS
 AC_TYPE_SIGNAL
 AC_TYPE_MODE_T
 
-AC_CHECK_LIB(rx, main)
-
-# Checks for dynamic linking
-
 AC_CHECK_LIB(m, main)
+AC_CHECK_LIB(rx, main)
 AC_CHECK_FUNC(gethostbyname)
 if test $ac_cv_func_gethostbyname = no; then
     AC_CHECK_LIB(nsl, gethostbyname)
@@ -66,6 +63,8 @@ if test $ac_cv_func_connect = no; then
     AC_CHECK_LIB(socket, connect)
 fi
 
+# Checks for dynamic linking
+
 if test "$enable_dynamic_linking" = "yes"; then
 
 AC_CHECK_LIB(dl,dlopen)