|
1 | 1 | #! /bin/sh |
2 | 2 | # Guess values for system-dependent variables and create Makefiles. |
3 | | -# Generated by GNU Autoconf 2.69 for RcppArmadillo 0.8.499.0.2. |
| 3 | +# Generated by GNU Autoconf 2.69 for RcppArmadillo 0.8.499.1.0. |
4 | 4 | # |
5 | 5 | # |
6 | 6 | # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
@@ -576,8 +576,8 @@ MAKEFLAGS= |
576 | 576 | # Identity of this package. |
577 | 577 | PACKAGE_NAME='RcppArmadillo' |
578 | 578 | PACKAGE_TARNAME='rcpparmadillo' |
579 | | -PACKAGE_VERSION='0.8.499.0.2' |
580 | | -PACKAGE_STRING='RcppArmadillo 0.8.499.0.2' |
| 579 | +PACKAGE_VERSION='0.8.499.1.0' |
| 580 | +PACKAGE_STRING='RcppArmadillo 0.8.499.1.0' |
581 | 581 | PACKAGE_BUGREPORT='' |
582 | 582 | PACKAGE_URL='' |
583 | 583 |
|
@@ -613,7 +613,6 @@ infodir |
613 | 613 | docdir |
614 | 614 | oldincludedir |
615 | 615 | includedir |
616 | | -runstatedir |
617 | 616 | localstatedir |
618 | 617 | sharedstatedir |
619 | 618 | sysconfdir |
@@ -685,7 +684,6 @@ datadir='${datarootdir}' |
685 | 684 | sysconfdir='${prefix}/etc' |
686 | 685 | sharedstatedir='${prefix}/com' |
687 | 686 | localstatedir='${prefix}/var' |
688 | | -runstatedir='${localstatedir}/run' |
689 | 687 | includedir='${prefix}/include' |
690 | 688 | oldincludedir='/usr/include' |
691 | 689 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
|
938 | 936 | | -silent | --silent | --silen | --sile | --sil) |
939 | 937 | silent=yes ;; |
940 | 938 |
|
941 | | - -runstatedir | --runstatedir | --runstatedi | --runstated \ |
942 | | - | --runstate | --runstat | --runsta | --runst | --runs \ |
943 | | - | --run | --ru | --r) |
944 | | - ac_prev=runstatedir ;; |
945 | | - -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ |
946 | | - | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ |
947 | | - | --run=* | --ru=* | --r=*) |
948 | | - runstatedir=$ac_optarg ;; |
949 | | - |
950 | 939 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
951 | 940 | ac_prev=sbindir ;; |
952 | 941 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
|
1084 | 1073 | forac_varinexec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1085 | 1074 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
1086 | 1075 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1087 | | -libdir localedir mandir runstatedir |
| 1076 | +libdir localedir mandir |
1088 | 1077 | do |
1089 | 1078 | eval ac_val=\$$ac_var |
1090 | 1079 | # Remove trailing slashes. |
@@ -1197,7 +1186,7 @@ if test "$ac_init_help" = "long"; then |
1197 | 1186 | # Omit some internal or obsolete options to make the list less imposing. |
1198 | 1187 | # This message is too long to be a string in the A/UX 3.1 sh. |
1199 | 1188 | cat<<_ACEOF |
1200 | | -\`configure' configures RcppArmadillo 0.8.499.0.2 to adapt to many kinds of systems. |
| 1189 | +\`configure' configures RcppArmadillo 0.8.499.1.0 to adapt to many kinds of systems. |
1201 | 1190 |
|
1202 | 1191 | Usage:$0 [OPTION]... [VAR=VALUE]... |
1203 | 1192 |
|
@@ -1237,7 +1226,6 @@ Fine tuning of the installation directories: |
1237 | 1226 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1238 | 1227 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1239 | 1228 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
1240 | | - --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] |
1241 | 1229 | --libdir=DIR object code libraries [EPREFIX/lib] |
1242 | 1230 | --includedir=DIR C header files [PREFIX/include] |
1243 | 1231 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
|
1259 | 1247 |
|
1260 | 1248 | iftest -n"$ac_init_help";then |
1261 | 1249 | case$ac_init_helpin |
1262 | | - short | recursive )echo"Configuration of RcppArmadillo 0.8.499.0.2:";; |
| 1250 | + short | recursive )echo"Configuration of RcppArmadillo 0.8.499.1.0:";; |
1263 | 1251 | esac |
1264 | 1252 | cat<<\_ACEOF |
1265 | 1253 |
|
|
1339 | 1327 | test -n "$ac_init_help" && exit $ac_status |
1340 | 1328 | if $ac_init_version; then |
1341 | 1329 | cat <<\_ACEOF |
1342 | | -RcppArmadillo configure 0.8.499.0.2 |
| 1330 | +RcppArmadillo configure 0.8.499.1.0 |
1343 | 1331 | generated by GNU Autoconf 2.69 |
1344 | 1332 |
|
1345 | 1333 | Copyright (C) 2012 Free Software Foundation, Inc. |
@@ -1431,7 +1419,7 @@ cat >config.log <<_ACEOF |
1431 | 1419 | This file contains any messages produced by compilers while |
1432 | 1420 | running configure, to aid debugging if configure makes a mistake. |
1433 | 1421 |
|
1434 | | -It was created by RcppArmadillo $as_me 0.8.499.0.2, which was |
| 1422 | +It was created by RcppArmadillo $as_me 0.8.499.1.0, which was |
1435 | 1423 | generated by GNU Autoconf 2.69. Invocation command line was |
1436 | 1424 |
|
1437 | 1425 | $ $0 $@ |
@@ -2738,7 +2726,59 @@ $as_echo "$as_me: WARNING: Compiler self-identifies as being compliant with GNUC |
2738 | 2726 | esac |
2739 | 2727 | fi |
2740 | 2728 |
|
| 2729 | +## Check for Apple LLVM |
| 2730 | +
|
| 2731 | +{$as_echo"$as_me:${as_lineno-$LINENO}: checking for macOS">&5 |
| 2732 | +$as_echo_n"checking for macOS...">&6; } |
| 2733 | +RSysinfoName=$("${R_HOME}/bin/Rscript" --vanilla -e'cat(Sys.info()["sysname"])') |
| 2734 | +
|
| 2735 | +iftest x"${RSysinfoName}" == x"Darwin";then |
| 2736 | + {$as_echo"$as_me:${as_lineno-$LINENO}: result: found">&5 |
| 2737 | +$as_echo"found">&6; } |
| 2738 | + {$as_echo"$as_me:${as_lineno-$LINENO}: checking for macOS Apple compiler">&5 |
| 2739 | +$as_echo_n"checking for macOS Apple compiler...">&6; } |
2741 | 2740 |
|
| 2741 | + apple_compiler=$($CXX --version2>&1| grep -i -c -e'apple llvm') |
| 2742 | +
|
| 2743 | +iftest x"${apple_compiler}" == x"1";then |
| 2744 | + {$as_echo"$as_me:${as_lineno-$LINENO}: result: found">&5 |
| 2745 | +$as_echo"found">&6; } |
| 2746 | + {$as_echo"$as_me:${as_lineno-$LINENO}: WARNING: OpenMP unavailable and turned off.">&5 |
| 2747 | +$as_echo"$as_me: WARNING: OpenMP unavailable and turned off.">&2;} |
| 2748 | + can_use_openmp="no" |
| 2749 | +else |
| 2750 | + {$as_echo"$as_me:${as_lineno-$LINENO}: result: not found">&5 |
| 2751 | +$as_echo"not found">&6; } |
| 2752 | +iftest x"${can_use_openmp}" == x"no";then |
| 2753 | + {$as_echo"$as_me:${as_lineno-$LINENO}: checking for clang compiler">&5 |
| 2754 | +$as_echo_n"checking for clang compiler...">&6; } |
| 2755 | + clang_compiler=$($CXX --version2>&1| grep -i -c -e'clang') |
| 2756 | +
|
| 2757 | +iftest x"${clang_compiler}" == x"1";then |
| 2758 | + {$as_echo"$as_me:${as_lineno-$LINENO}: result: found">&5 |
| 2759 | +$as_echo"found">&6; } |
| 2760 | + {$as_echo"$as_me:${as_lineno-$LINENO}: checking for OpenMP compatible version of clang">&5 |
| 2761 | +$as_echo_n"checking for OpenMP compatible version of clang...">&6; } |
| 2762 | + clang_version=$(${CXX} -v2>&1| awk'/^.*clang version/ {print $3}') |
| 2763 | +
|
| 2764 | +case${clang_version}in |
| 2765 | + 4.*|5.*|6.*|7.*|8.*) |
| 2766 | + {$as_echo"$as_me:${as_lineno-$LINENO}: result: found and suitable">&5 |
| 2767 | +$as_echo"found and suitable">&6; } |
| 2768 | + can_use_openmp="yes" |
| 2769 | + ;; |
| 2770 | +*) |
| 2771 | + {$as_echo"$as_me:${as_lineno-$LINENO}: result: not found">&5 |
| 2772 | +$as_echo"not found">&6; } |
| 2773 | + {$as_echo"$as_me:${as_lineno-$LINENO}: WARNING: OpenMP unavailable and turned off.">&5 |
| 2774 | +$as_echo"$as_me: WARNING: OpenMP unavailable and turned off.">&2;} |
| 2775 | + can_use_openmp="no" |
| 2776 | + ;; |
| 2777 | +esac |
| 2778 | +fi |
| 2779 | +fi |
| 2780 | +fi |
| 2781 | +fi |
2742 | 2782 |
|
2743 | 2783 | ## Check for suitable LAPACK_LIBS |
2744 | 2784 | {$as_echo"$as_me:${as_lineno-$LINENO}: checking LAPACK_LIBS">&5 |
@@ -2772,37 +2812,22 @@ openmp_flag="" |
2772 | 2812 | ## Set the fallback, by default it is nope |
2773 | 2813 | arma_have_openmp="#define ARMA_DONT_USE_OPENMP 1" |
2774 | 2814 |
|
2775 | | -## Check for broken systems produced by a corporation based in Cupertino |
2776 | | -{$as_echo"$as_me:${as_lineno-$LINENO}: checking for macOS">&5 |
2777 | | -$as_echo_n"checking for macOS...">&6; } |
2778 | | -RSysinfoName=$("${R_HOME}/bin/Rscript" --vanilla -e'cat(Sys.info()["sysname"])') |
2779 | | -iftest x"${RSysinfoName}" == x"Darwin";then |
2780 | | - {$as_echo"$as_me:${as_lineno-$LINENO}: result: found">&5 |
2781 | | -$as_echo"found">&6; } |
2782 | | - {$as_echo"$as_me:${as_lineno-$LINENO}: WARNING: OpenMP unavailable and turned off.">&5 |
2783 | | -$as_echo"$as_me: WARNING: OpenMP unavailable and turned off.">&2;} |
2784 | | - arma_have_openmp="#define ARMA_DONT_USE_OPENMP 1" |
2785 | | -else |
2786 | | - {$as_echo"$as_me:${as_lineno-$LINENO}: result: not found as on${RSysinfoName}">&5 |
2787 | | -$as_echo"not found as on${RSysinfoName}">&6; } |
2788 | | -## Check for OpenMP if and only if we have a suitable compile |
2789 | | -iftest x"${can_use_openmp}" == x"yes";then |
2790 | | - {$as_echo"$as_me:${as_lineno-$LINENO}: checking for OpenMP">&5 |
| 2815 | +iftest x"${can_use_openmp}" == x"yes";then |
| 2816 | + {$as_echo"$as_me:${as_lineno-$LINENO}: checking for OpenMP">&5 |
2791 | 2817 | $as_echo_n"checking for OpenMP...">&6; } |
2792 | | -## if R has -fopenmp we should be good |
2793 | | -allldflags=$(${R_HOME}/bin/R CMD config --ldflags) |
2794 | | -hasOpenMP=$(echo${allldflags}| grep -- -fopenmp) |
2795 | | -iftest x"${hasOpenMP}" == x"";then |
2796 | | -{$as_echo"$as_me:${as_lineno-$LINENO}: result: missing">&5 |
| 2818 | +## if R has -fopenmp we should be good |
| 2819 | + allldflags=$(${R_HOME}/bin/R CMD config --ldflags) |
| 2820 | + hasOpenMP=$(echo${allldflags}| grep -- -fopenmp) |
| 2821 | +iftest x"${hasOpenMP}" == x"";then |
| 2822 | + {$as_echo"$as_me:${as_lineno-$LINENO}: result: missing">&5 |
2797 | 2823 | $as_echo"missing">&6; } |
2798 | | -arma_have_openmp="#define ARMA_DONT_USE_OPENMP 1" |
2799 | | -else |
2800 | | -{$as_echo"$as_me:${as_lineno-$LINENO}: result: found and suitable">&5 |
| 2824 | + arma_have_openmp="#define ARMA_DONT_USE_OPENMP 1" |
| 2825 | +else |
| 2826 | + {$as_echo"$as_me:${as_lineno-$LINENO}: result: found and suitable">&5 |
2801 | 2827 | $as_echo"found and suitable">&6; } |
2802 | | - arma_have_openmp="#define ARMA_USE_OPENMP 1" |
2803 | | - openmp_flag='$(SHLIB_OPENMP_CXXFLAGS)' |
2804 | | -fi |
2805 | | -fi |
| 2828 | + arma_have_openmp="#define ARMA_USE_OPENMP 1" |
| 2829 | + openmp_flag='$(SHLIB_OPENMP_CXXFLAGS)' |
| 2830 | +fi |
2806 | 2831 | fi |
2807 | 2832 |
|
2808 | 2833 |
|
@@ -3357,7 +3382,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
3357 | 3382 | # report actual input values of CONFIG_FILES etc. instead of their |
3358 | 3383 | # values after options handling. |
3359 | 3384 | ac_log=" |
3360 | | -This file was extended by RcppArmadillo $as_me 0.8.499.0.2, which was |
| 3385 | +This file was extended by RcppArmadillo $as_me 0.8.499.1.0, which was |
3361 | 3386 | generated by GNU Autoconf 2.69. Invocation command line was |
3362 | 3387 |
|
3363 | 3388 | CONFIG_FILES = $CONFIG_FILES |
@@ -3410,7 +3435,7 @@ _ACEOF |
3410 | 3435 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
3411 | 3436 | ac_cs_config="`$as_echo"$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
3412 | 3437 | ac_cs_version="\\ |
3413 | | -RcppArmadillo config.status 0.8.499.0.2 |
| 3438 | +RcppArmadillo config.status 0.8.499.1.0 |
3414 | 3439 | configured by$0, generated by GNU Autoconf 2.69, |
3415 | 3440 | with options\\"\$ac_cs_config\\" |
3416 | 3441 |
|
|