diff options
Diffstat (limited to 'graphics/asymptote/configure')
-rwxr-xr-x | graphics/asymptote/configure | 61 |
1 files changed, 48 insertions, 13 deletions
diff --git a/graphics/asymptote/configure b/graphics/asymptote/configure index bc4951f56e..f4395d377f 100755 --- a/graphics/asymptote/configure +++ b/graphics/asymptote/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for Asymptote 2.80. +# Generated by GNU Autoconf 2.69 for Asymptote 2.82. # # Report bugs to <https://github.com/vectorgraphics/asymptote/issues>. # @@ -581,8 +581,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='Asymptote' PACKAGE_TARNAME='asymptote' -PACKAGE_VERSION='2.80' -PACKAGE_STRING='Asymptote 2.80' +PACKAGE_VERSION='2.82' +PACKAGE_STRING='Asymptote 2.82' PACKAGE_BUGREPORT='https://github.com/vectorgraphics/asymptote/issues' PACKAGE_URL='' @@ -734,6 +734,7 @@ enable_curl enable_readline enable_static enable_fftw +enable_eigen enable_gsl enable_gl enable_offscreen @@ -1304,7 +1305,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures Asymptote 2.80 to adapt to many kinds of systems. +\`configure' configures Asymptote 2.82 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1370,7 +1371,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of Asymptote 2.80:";; + short | recursive ) echo "Configuration of Asymptote 2.82:";; esac cat <<\_ACEOF @@ -1391,6 +1392,7 @@ Optional Features: --enable-readline[=yes] enable GNU Readline Library --enable-static[=no] link against static libraries --enable-fftw[=yes] enable FFTW Library + --enable-eigen[=yes] enable Eigen Library --enable-gsl[=yes] enable GNU Scientific Library --enable-gl[=yes] enable OpenGL Library --enable-offscreen[=no] use OSMesa library to implement offscreen rendering @@ -1489,7 +1491,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -Asymptote configure 2.80 +Asymptote configure 2.82 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2075,7 +2077,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by Asymptote $as_me 2.80, which was +It was created by Asymptote $as_me 2.82, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -5900,7 +5902,7 @@ fi fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -ASYGLVERSION=1.01 +ASYGLVERSION=1.02 GCVERSION=8.2.0 ATOMICVERSION=7.6.12 @@ -6064,8 +6066,6 @@ $as_echo "$as_me: *** Enabling GC backtrace debugging; remember to make gc-clean fi -INCL=$INCL" -I/usr/include/tirpc" - if test "$OSTYPE" = "msdos"; then CPPFLAGS=$CPPFLAGS" -D__MSDOS__ -I/usr/include/w32api -I/usr/include -DCALLBACK=__stdcall $INCL" else @@ -6890,6 +6890,8 @@ fi if test "x$enable_readline" != "xno"; then +CPPFLAGS="$CPPFLAGS "`pkg-config --cflags readline` +LDFLAGS="$LDFLAGS "`pkg-config --libs readline` cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -7529,7 +7531,8 @@ fi if test "x$enable_fftw" != "xno"; then - +CPPFLAGS="$CPPFLAGS "`pkg-config --cflags fftw3` +LDFLAGS="$LDFLAGS "`pkg-config --libs fftw3` ac_fn_cxx_check_header_mongrel "$LINENO" "fftw3.h" "ac_cv_header_fftw3_h" "$ac_includes_default" if test "x$ac_cv_header_fftw3_h" = xyes; then : @@ -7649,6 +7652,28 @@ fi fi +# Check whether --enable-eigen was given. +if test "${enable_eigen+set}" = set; then : + enableval=$enable_eigen; +fi + + +if test "x$enable_eigen" != "xno"; then +CPPFLAGS="$CPPFLAGS "`pkg-config --cflags eigen3` +for ac_header in Eigen/Dense +do : + ac_fn_cxx_check_header_mongrel "$LINENO" "Eigen/Dense" "ac_cv_header_Eigen_Dense" "$ac_includes_default" +if test "x$ac_cv_header_Eigen_Dense" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_EIGEN_DENSE 1 +_ACEOF + +fi + +done + +fi + # Checks for header files. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } @@ -7728,6 +7753,14 @@ fi done +case "$OSTYPE" in + darwin*) + ;; + *) + CPPFLAGS="$CPPFLAGS "`pkg-config --cflags libtirpc` + LDFLAGS="$LDFLAGS "`pkg-config --libs libtirpc` + ;; +esac cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -7813,6 +7846,8 @@ fi if test "x$enable_gsl" != "xno"; then + CPPFLAGS="$CPPFLAGS "`pkg-config --cflags gsl` + LDFLAGS="$LDFLAGS "`pkg-config --libs gsl` ac_fn_cxx_check_header_mongrel "$LINENO" "gsl/gsl_sf.h" "ac_cv_header_gsl_gsl_sf_h" "$ac_includes_default" if test "x$ac_cv_header_gsl_gsl_sf_h" = xyes; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gsl_sf_debye_6 in -lgsl" >&5 @@ -9486,7 +9521,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by Asymptote $as_me 2.80, which was +This file was extended by Asymptote $as_me 2.82, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -9548,7 +9583,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -Asymptote config.status 2.80 +Asymptote config.status 2.82 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" |