Selaa lähdekoodia

Use simgrid.pc when available (starting from simgrid 3.22)

Samuel Thibault 4 vuotta sitten
vanhempi
commit
4e8f6df30b
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      configure.ac

+ 2 - 0
configure.ac

@@ -149,6 +149,8 @@ AC_ARG_WITH(simgrid-lib-dir,
 	], [simgrid_lib_dir=no])
 
 if test x$enable_simgrid = xyes ; then
+	PKG_CHECK_MODULES([SIMGRID], [simgrid])
+
    	if test -n "$SIMGRID_CFLAGS" ; then
 	   	CFLAGS="$SIMGRID_CFLAGS $CFLAGS"
 	   	CXXFLAGS="$SIMGRID_CFLAGS $CXXFLAGS"