Skip to content

Commit 243a101

Browse files
Quote the default pkgconfigdir
The second argument to AC_SUBST is placed on the right-hand-side of a shell variable assignment. Without the single quotes, ${libdir} is expanded when that variable assignment is executed, which is earlier than we want.
1 parent 0eaf38b commit 243a101

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ AM_CONDITIONAL([BLACS], [false])
342342
AM_CONDITIONAL([ICB], [test x"$enable_icb" != x"no"])
343343
AM_CONDITIONAL([EIGEN], [test x"$enable_eigen" != x"no"])
344344

345-
m4_ifdef([PKG_INSTALLDIR], [PKG_INSTALLDIR], [AC_SUBST([pkgconfigdir], [${libdir}/pkgconfig])])
345+
m4_ifdef([PKG_INSTALLDIR], [PKG_INSTALLDIR], [AC_SUBST([pkgconfigdir], ['${libdir}/pkgconfig'])])
346346
AC_SUBST([ARPACK_PC_LIBS_PRIVATE], ["$LAPACK_LIBS $BLAS_LIBS"])
347347
AC_SUBST([PARPACK_PC_LIBS_PRIVATE], ["$LAPACK_LIBS $BLAS_LIBS $MPI_Fortran_LIBS"])
348348

0 commit comments

Comments
 (0)