Преглед изворни кода

configure.ac: do not use pkg-config to check for FxT when a directory is given to --with-fxt

Nathalie Furmento пре 14 година
родитељ
комит
449d40818e
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3 3
      configure.ac

+ 3 - 3
configure.ac

@@ -814,10 +814,10 @@ if test x$use_fxt = xyes; then
 	if test x$use_fxt_from_system = xno; then
 		CPPFLAGS="${CPPFLAGS} -I$fxtdir/include/ "
 		LDFLAGS="${LDFLAGS} -L$fxtdir/lib/ "
+	else
+	    PKG_CHECK_MODULES([FXT],  [fxt])
 	fi
 
-	PKG_CHECK_MODULES([FXT],  [fxt])
-
 	# if we use monotonic clocks, FxT uses -lrt
 	AC_CHECK_LIB(rt, clock_gettime,,AC_MSG_ERROR([cannot find clock_gettime]))
 fi
@@ -1369,5 +1369,5 @@ AC_MSG_NOTICE([
 	BLAS library:  $blas_lib
 	hwloc:         $have_valid_hwloc
 
-	Tracing enabled: $use_fxt
+	FxT trace enabled: $use_fxt
 ])