Fix: check for socket lib before function checks
[babeltrace.git] / configure.ac
index c2307b57b98edfc5819944f0dbf54894261cf6d9..42698e757baa0065db1cf21d4d8a25fe01091a5c 100644 (file)
@@ -84,6 +84,9 @@ fi
 
 AM_PATH_GLIB_2_0(2.22.0, ,AC_MSG_ERROR([glib is required in order to compile BabelTrace - download it from ftp://ftp.gtk.org/pub/gtk]) , gmodule)
 
+# Check what libraries are required on this platform to link sockets programs.
+AX_LIB_SOCKET_NSL
+
 # Checks for typedefs, structures, and compiler characteristics.
 AC_C_INLINE
 AC_TYPE_PID_T
@@ -145,9 +148,6 @@ esac
 
 AM_CONDITIONAL([BABELTRACE_BUILD_WITH_MINGW], [test "x$MINGW32" = "xyes"])
 
-# Check what libraries are required on this platform to link sockets programs.
-AX_LIB_SOCKET_NSL
-
 # Check for uuid in system libs
 AC_CHECK_FUNCS([uuid_generate],
 [
This page took 0.022768 seconds and 4 git commands to generate.