Skip to content

Commit 55cc414

Browse files
committed
Use new internal location for generated config
1 parent 6f96634 commit 55cc414

File tree

5 files changed

+10
-5
lines changed

5 files changed

+10
-5
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
* inst/include/RcppArmadillo/Lighter: Header accessing Rcpp/Lighter, idem
77
* inst/include/RcppArmadillo/Lightest: Header accessing Rcpp/Lightest, idem
88

9+
* inst/include/RcppArmadillo/internal/: Regroup internal headers here
10+
* configure.ac: Support new location of generated config
11+
* configure: Idem
12+
* cleanup: Idem
13+
914
2022-10-10 Dirk Eddelbuettel <[email protected]>
1015

1116
* DESCRIPTION (Version): RcppArmadillo 0.11.4.1.0

cleanup

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ rm -f config.log config.status confdefs.h \
1717
vignettes/*~ \
1818
*/*~ *~ \
1919
inst/include/RcppArmadilloLapack.h \
20-
inst/include/RcppArmadillo_impl/RcppArmadilloConfigGenerated.h \
20+
inst/include/RcppArmadillo/internal/RcppArmadilloConfigGenerated.h \
2121
src/Makevars \
2222
vignettes/jss.bst vignettes/pinp.cls
2323

configure

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3407,7 +3407,7 @@ ARMA_HAVE_OPENMP="${arma_have_openmp}"
34073407
34083408
OPENMP_FLAG="${openmp_flag}"
34093409
3410-
ac_config_files="$ac_config_files inst/include/RcppArmadillo_impl/RcppArmadilloConfigGenerated.h src/Makevars"
3410+
ac_config_files="$ac_config_files inst/include/RcppArmadillo/internal/RcppArmadilloConfigGenerated.h src/Makevars"
34113411
34123412
cat >confcache <<\_ACEOF
34133413
# This file is a shell script that caches the results of configure
@@ -4109,7 +4109,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41094109
for ac_config_target in $ac_config_targets
41104110
do
41114111
case $ac_config_target in
4112-
"inst/include/RcppArmadillo_impl/RcppArmadilloConfigGenerated.h") CONFIG_FILES="$CONFIG_FILES inst/include/RcppArmadillo_impl/RcppArmadilloConfigGenerated.h" ;;
4112+
"inst/include/RcppArmadillo/internal/RcppArmadilloConfigGenerated.h") CONFIG_FILES="$CONFIG_FILES inst/include/RcppArmadillo/internal/RcppArmadilloConfigGenerated.h" ;;
41134113
"src/Makevars") CONFIG_FILES="$CONFIG_FILES src/Makevars" ;;
41144114
41154115
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,5 +207,5 @@ fi
207207
AC_SUBST([ARMA_LAPACK],["${arma_lapack}"])
208208
AC_SUBST([ARMA_HAVE_OPENMP], ["${arma_have_openmp}"])
209209
AC_SUBST([OPENMP_FLAG], ["${openmp_flag}"])
210-
AC_CONFIG_FILES([inst/include/RcppArmadillo_impl/RcppArmadilloConfigGenerated.h src/Makevars])
210+
AC_CONFIG_FILES([inst/include/RcppArmadillo/internal/RcppArmadilloConfigGenerated.h src/Makevars])
211211
AC_OUTPUT

inst/include/RcppArmadilloConfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
#else
107107
// on the other OSs we test via LAPACK_LIBS (in configure) which
108108
// updates this include file
109-
#include <RcppArmadillo_impl/RcppArmadilloConfigGenerated.h>
109+
#include <RcppArmadillo/internal/RcppArmadilloConfigGenerated.h>
110110
#endif
111111

112112
// Many client packages do not set the OpenMP compiler flag in their src/Makevars

0 commit comments

Comments
 (0)