Browse Source

configure.ac: earlier detection of pkg-config

Nathalie Furmento 6 years ago
parent
commit
3e98591b1f
1 changed files with 3 additions and 3 deletions
  1. 3 3
      configure.ac

+ 3 - 3
configure.ac

@@ -92,6 +92,9 @@ AC_PROG_MKDIR_P
 AC_CHECK_PROGS(PROG_STAT,gstat stat)
 AC_CHECK_PROGS(PROG_DATE,gdate date)
 
+dnl locate pkg-config
+PKG_PROG_PKG_CONFIG
+
 if test x$enable_perf_debug = xyes; then
     enable_shared=no
 fi
@@ -1370,9 +1373,6 @@ if test x$enable_cuda = xyes; then
 	LIBS="${SAVED_LIBS}"
 fi
 
-dnl Hey dude, are you around?
-PKG_PROG_PKG_CONFIG
-
 have_magma=no
 if test x$enable_cuda = xyes; then
 	PKG_CHECK_MODULES([MAGMA],  [magma], [