summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/configure
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-08-10 16:06:35 +0000
committerKarl Berry <karl@freefriends.org>2019-08-10 16:06:35 +0000
commitbbb53f06c6f48d4c675d250829032e09f4065a86 (patch)
tree0583c905a5d67f3e1447456048b2e479311e4e83 /Build/source/utils/asymptote/configure
parentefd1dbbaa1332a9534c25024a0c295f423714851 (diff)
asy 2.52 sources
git-svn-id: svn://tug.org/texlive/trunk@51856 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/configure')
-rwxr-xr-xBuild/source/utils/asymptote/configure711
1 files changed, 553 insertions, 158 deletions
diff --git a/Build/source/utils/asymptote/configure b/Build/source/utils/asymptote/configure
index f45c28771d8..e438e540a72 100755
--- a/Build/source/utils/asymptote/configure
+++ b/Build/source/utils/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.49.
+# Generated by GNU Autoconf 2.69 for Asymptote 2.52.
#
# Report bugs to <http://sourceforge.net/projects/asymptote>.
#
@@ -580,8 +580,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='Asymptote'
PACKAGE_TARNAME='asymptote'
-PACKAGE_VERSION='2.49'
-PACKAGE_STRING='Asymptote 2.49'
+PACKAGE_VERSION='2.52'
+PACKAGE_STRING='Asymptote 2.52'
PACKAGE_BUGREPORT='http://sourceforge.net/projects/asymptote'
PACKAGE_URL=''
@@ -723,8 +723,9 @@ enable_gc_debug
enable_gc_full_debug
enable_sigsegv
enable_readline
-enable_gsl
+enable_static
enable_fftw
+enable_gsl
enable_gl
enable_offscreen
'
@@ -1283,7 +1284,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.49 to adapt to many kinds of systems.
+\`configure' configures Asymptote 2.52 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1348,7 +1349,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of Asymptote 2.49:";;
+ short | recursive ) echo "Configuration of Asymptote 2.52:";;
esac
cat <<\_ACEOF
@@ -1364,8 +1365,9 @@ Optional Features:
--enable-gc-full-debug enable (very slow) garbage collector backtrace
--enable-sigsegv[=yes] enable GNU Stack Overflow Handler
--enable-readline[=yes] enable GNU Readline Library
- --enable-gsl[=yes] enable GNU Scientific Library
+ --enable-static[=no] link against static libraries
--enable-fftw[=yes] enable FFTW Library
+ --enable-gsl[=yes] enable GNU Scientific Library
--enable-gl[=yes] enable OpenGL Library
--enable-offscreen[=no] enable experimental offscreen rendering using OSMesa
library
@@ -1462,7 +1464,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-Asymptote configure 2.49
+Asymptote configure 2.52
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2048,7 +2050,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.49, which was
+It was created by Asymptote $as_me 2.52, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -5676,6 +5678,10 @@ if test "$GXX" = yes ; then
fi
fi
+
+
+
+
ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -6028,9 +6034,9 @@ fi
# Checks for libraries.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
-$as_echo_n "checking for sqrt in -lm... " >&6; }
-if ${ac_cv_lib_m_sqrt+:} false; then :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gamma in -lm" >&5
+$as_echo_n "checking for gamma in -lm... " >&6; }
+if ${ac_cv_lib_m_gamma+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
@@ -6044,27 +6050,27 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
#ifdef __cplusplus
extern "C"
#endif
-char sqrt ();
+char gamma ();
int
main ()
{
-return sqrt ();
+return gamma ();
;
return 0;
}
_ACEOF
if ac_fn_cxx_try_link "$LINENO"; then :
- ac_cv_lib_m_sqrt=yes
+ ac_cv_lib_m_gamma=yes
else
- ac_cv_lib_m_sqrt=no
+ ac_cv_lib_m_gamma=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
-$as_echo "$ac_cv_lib_m_sqrt" >&6; }
-if test "x$ac_cv_lib_m_sqrt" = xyes; then :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_gamma" >&5
+$as_echo "$ac_cv_lib_m_gamma" >&6; }
+if test "x$ac_cv_lib_m_gamma" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_LIBM 1
_ACEOF
@@ -6625,10 +6631,32 @@ if test "${enable_readline+set}" = set; then :
fi
+# Check whether --enable-static was given.
+if test "${enable_static+set}" = set; then :
+ enableval=$enable_static;
+fi
+
+
+LDSTATIC=""
+STATIC=""
+DYNAMIC=""
+if test "x$enable_static" = "xyes"; then
+ LDSTATIC="-static "
+ STATIC="-Wl,-Bstatic "
+ DYNAMIC="-Wl,-Bdynamic "
+fi
+
+
+
+
+
+
+
if test "x$enable_readline" != "xno"; then
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
+
#include <stdio.h>
#include <unistd.h>
#include <readline/readline.h>
@@ -6646,7 +6674,58 @@ abort
}
_ACEOF
if ac_fn_cxx_try_compile "$LINENO"; then :
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for history_list in -lreadline" >&5
+
+LDFLAGS0=$LDFLAGS
+LDFLAGS=$LDFLAGS$LDSTATIC
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for history_list in -lreadline" >&5
+$as_echo_n "checking for history_list in -lreadline... " >&6; }
+if ${ac_cv_lib_readline_history_list+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lreadline $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char history_list ();
+int
+main ()
+{
+return history_list ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_link "$LINENO"; then :
+ ac_cv_lib_readline_history_list=yes
+else
+ ac_cv_lib_readline_history_list=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_history_list" >&5
+$as_echo "$ac_cv_lib_readline_history_list" >&6; }
+if test "x$ac_cv_lib_readline_history_list" = xyes; then :
+
+
+$as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
+
+LIBS=$LIBS$STATIC"-lreadline "$DYNAMIC
+
+else
+ if test "x$enable_static" = "xyes"; then
+
+{ ac_cv_lib_readline_history_list=; unset ac_cv_lib_readline_history_list;}
+LDFLAGS=$LDFLAGS0
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for history_list in -lreadline" >&5
$as_echo_n "checking for history_list in -lreadline... " >&6; }
if ${ac_cv_lib_readline_history_list+:} false; then :
$as_echo_n "(cached) " >&6
@@ -6690,15 +6769,141 @@ _ACEOF
LIBS="-lreadline $LIBS"
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: *** Could not find GNU libreadline 4.3 or later: will compile without readline support ***" >&5
-$as_echo "$as_me: *** Could not find GNU libreadline 4.3 or later: will compile without readline support ***" >&6;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: *** Could not find GNU readline 4.3 or later: will compile without readline support ***" >&5
+$as_echo "$as_me: *** Could not find GNU readline 4.3 or later: will compile without readline support ***" >&6;}
+
fi
+
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: *** Could not find GNU readline 4.3 or later: will compile without readline support ***" >&5
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: *** Could not find GNU readline 4.3 or later: will compile without readline support ***" >&5
$as_echo "$as_me: *** Could not find GNU readline 4.3 or later: will compile without readline support ***" >&6;}
+
+fi
+
+fi
+
+LDFLAGS=$LDFLAGS0
+
+else
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: *** Could not find GNU readline 4.3 or later: will compile without readline support ***" >&5
+$as_echo "$as_me: *** Could not find GNU readline 4.3 or later: will compile without readline support ***" >&6;}
+
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+
+LDFLAGS0=$LDFLAGS
+LDFLAGS=$LDFLAGS$LDSTATIC
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltinfo" >&5
+$as_echo_n "checking for tgetent in -ltinfo... " >&6; }
+if ${ac_cv_lib_tinfo_tgetent+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ltinfo $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char tgetent ();
+int
+main ()
+{
+return tgetent ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_link "$LINENO"; then :
+ ac_cv_lib_tinfo_tgetent=yes
+else
+ ac_cv_lib_tinfo_tgetent=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tinfo_tgetent" >&5
+$as_echo "$ac_cv_lib_tinfo_tgetent" >&6; }
+if test "x$ac_cv_lib_tinfo_tgetent" = xyes; then :
+
+
+$as_echo "#define HAVE_LIBTINFO 1" >>confdefs.h
+
+LIBS=$LIBS$STATIC"-ltinfo "$DYNAMIC
+
+else
+ if test "x$enable_static" = "xyes"; then
+
+{ ac_cv_lib_tinfo_tgetent=; unset ac_cv_lib_tinfo_tgetent;}
+LDFLAGS=$LDFLAGS0
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltinfo" >&5
+$as_echo_n "checking for tgetent in -ltinfo... " >&6; }
+if ${ac_cv_lib_tinfo_tgetent+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ltinfo $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char tgetent ();
+int
+main ()
+{
+return tgetent ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_link "$LINENO"; then :
+ ac_cv_lib_tinfo_tgetent=yes
+else
+ ac_cv_lib_tinfo_tgetent=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tinfo_tgetent" >&5
+$as_echo "$ac_cv_lib_tinfo_tgetent" >&6; }
+if test "x$ac_cv_lib_tinfo_tgetent" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_LIBTINFO 1
+_ACEOF
+
+ LIBS="-ltinfo $LIBS"
+
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: perhaps tgetent is in -lncurses" >&5
+$as_echo "$as_me: perhaps tgetent is in -lncurses" >&6;}
+fi
+
+
+else
+{ $as_echo "$as_me:${as_lineno-$LINENO}: perhaps tgetent is in -lncurses" >&5
+$as_echo "$as_me: perhaps tgetent is in -lncurses" >&6;}
+fi
+
+fi
+
+LDFLAGS=$LDFLAGS0
+
+
for ac_header in ncurses/curses.h ncurses.h curses.h
do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
@@ -6712,6 +6917,9 @@ fi
done
+
+LDFLAGS0=$LDFLAGS
+LDFLAGS=$LDFLAGS$LDSTATIC
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -lncurses" >&5
$as_echo_n "checking for setupterm in -lncurses... " >&6; }
if ${ac_cv_lib_ncurses_setupterm+:} false; then :
@@ -6749,9 +6957,60 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_setupterm" >&5
$as_echo "$ac_cv_lib_ncurses_setupterm" >&6; }
if test "x$ac_cv_lib_ncurses_setupterm" = xyes; then :
- $as_echo "#define HAVE_LIBCURSES 1" >>confdefs.h
- LIBS=$LIBS"-lncurses "
+
+$as_echo "#define HAVE_LIBCURSES 1" >>confdefs.h
+
+LIBS=$LIBS$STATIC"-lncurses "$DYNAMIC
+
+else
+ if test "x$enable_static" = "xyes"; then
+
+{ ac_cv_lib_ncurses_setupterm=; unset ac_cv_lib_ncurses_setupterm;}
+LDFLAGS=$LDFLAGS0
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -lncurses" >&5
+$as_echo_n "checking for setupterm in -lncurses... " >&6; }
+if ${ac_cv_lib_ncurses_setupterm+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lncurses $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char setupterm ();
+int
+main ()
+{
+return setupterm ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_link "$LINENO"; then :
+ ac_cv_lib_ncurses_setupterm=yes
+else
+ ac_cv_lib_ncurses_setupterm=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_setupterm" >&5
+$as_echo "$ac_cv_lib_ncurses_setupterm" >&6; }
+if test "x$ac_cv_lib_ncurses_setupterm" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_LIBNCURSES 1
+_ACEOF
+
+ LIBS="-lncurses $LIBS"
+
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -lcurses" >&5
$as_echo_n "checking for setupterm in -lcurses... " >&6; }
@@ -6800,6 +7059,186 @@ fi
fi
+
+else
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -lcurses" >&5
+$as_echo_n "checking for setupterm in -lcurses... " >&6; }
+if ${ac_cv_lib_curses_setupterm+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lcurses $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char setupterm ();
+int
+main ()
+{
+return setupterm ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_link "$LINENO"; then :
+ ac_cv_lib_curses_setupterm=yes
+else
+ ac_cv_lib_curses_setupterm=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_setupterm" >&5
+$as_echo "$ac_cv_lib_curses_setupterm" >&6; }
+if test "x$ac_cv_lib_curses_setupterm" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_LIBCURSES 1
+_ACEOF
+
+ LIBS="-lcurses $LIBS"
+
+fi
+
+fi
+
+fi
+
+LDFLAGS=$LDFLAGS0
+
+fi
+
+# Check whether --enable-fftw was given.
+if test "${enable_fftw+set}" = set; then :
+ enableval=$enable_fftw;
+fi
+
+
+if test "x$enable_fftw" != "xno"; then
+
+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 :
+
+LDFLAGS0=$LDFLAGS
+LDFLAGS=$LDFLAGS$LDSTATIC
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fftw_execute in -lfftw3" >&5
+$as_echo_n "checking for fftw_execute in -lfftw3... " >&6; }
+if ${ac_cv_lib_fftw3_fftw_execute+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lfftw3 $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char fftw_execute ();
+int
+main ()
+{
+return fftw_execute ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_link "$LINENO"; then :
+ ac_cv_lib_fftw3_fftw_execute=yes
+else
+ ac_cv_lib_fftw3_fftw_execute=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fftw3_fftw_execute" >&5
+$as_echo "$ac_cv_lib_fftw3_fftw_execute" >&6; }
+if test "x$ac_cv_lib_fftw3_fftw_execute" = xyes; then :
+
+
+$as_echo "#define HAVE_LIBFFTW3 1" >>confdefs.h
+
+LIBS=$LIBS$STATIC"-lfftw3 "$DYNAMIC
+
+else
+ if test "x$enable_static" = "xyes"; then
+
+{ ac_cv_lib_fftw3_fftw_execute=; unset ac_cv_lib_fftw3_fftw_execute;}
+LDFLAGS=$LDFLAGS0
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fftw_execute in -lfftw3" >&5
+$as_echo_n "checking for fftw_execute in -lfftw3... " >&6; }
+if ${ac_cv_lib_fftw3_fftw_execute+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lfftw3 $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char fftw_execute ();
+int
+main ()
+{
+return fftw_execute ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_link "$LINENO"; then :
+ ac_cv_lib_fftw3_fftw_execute=yes
+else
+ ac_cv_lib_fftw3_fftw_execute=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fftw3_fftw_execute" >&5
+$as_echo "$ac_cv_lib_fftw3_fftw_execute" >&6; }
+if test "x$ac_cv_lib_fftw3_fftw_execute" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_LIBFFTW3 1
+_ACEOF
+
+ LIBS="-lfftw3 $LIBS"
+
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: *** Could not find libfftw3: will compile without optional fast Fourier transforms. ***" >&5
+$as_echo "$as_me: *** Could not find libfftw3: will compile without optional fast Fourier transforms. ***" >&6;}
+fi
+
+
+else
+{ $as_echo "$as_me:${as_lineno-$LINENO}: *** Could not find libfftw3: will compile without optional fast Fourier transforms. ***" >&5
+$as_echo "$as_me: *** Could not find libfftw3: will compile without optional fast Fourier transforms. ***" >&6;}
+fi
+
+fi
+
+LDFLAGS=$LDFLAGS0
+
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: *** Header file fftw3.h not found: will compile without optional fast Fourier transforms. ***" >&5
+$as_echo "$as_me: *** Header file fftw3.h not found: will compile without optional fast Fourier transforms. ***" >&6;}
+fi
+
+
fi
# Checks for header files.
@@ -7021,22 +7460,54 @@ fi
fi
-# Check whether --enable-fftw was given.
-if test "${enable_fftw+set}" = set; then :
- enableval=$enable_fftw;
+# Check whether --enable-gl was given.
+if test "${enable_gl+set}" = set; then :
+ enableval=$enable_gl;
fi
-if test "x$enable_fftw" != "xno"; then
- 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 :
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fftw_execute in -lfftw3" >&5
-$as_echo_n "checking for fftw_execute in -lfftw3... " >&6; }
-if ${ac_cv_lib_fftw3_fftw_execute+:} false; then :
+# Check whether --enable-offscreen was given.
+if test "${enable_offscreen+set}" = set; then :
+ enableval=$enable_offscreen;
+fi
+
+
+if test "x$enable_gl" != "xno"; then
+ ac_fn_cxx_check_header_mongrel "$LINENO" "glm/glm.hpp" "ac_cv_header_glm_glm_hpp" "$ac_includes_default"
+if test "x$ac_cv_header_glm_glm_hpp" = xyes; then :
+
+$as_echo "#define HAVE_LIBGLM 1" >>confdefs.h
+
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: *** Could not find glm header files: will compile without OpenGL support ***" >&5
+$as_echo "$as_me: *** Could not find glm header files: will compile without OpenGL support ***" >&6;}
+fi
+
+
+ for ac_header in ncurses/curses.h ncurses.h curses.h
+do :
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+ break
+fi
+
+done
+
+ ac_fn_cxx_check_header_mongrel "$LINENO" "OpenEXR/ImathVec.h" "ac_cv_header_OpenEXR_ImathVec_h" "$ac_includes_default"
+if test "x$ac_cv_header_OpenEXR_ImathVec_h" = xyes; then :
+ ac_fn_cxx_check_header_mongrel "$LINENO" "OpenImageIO/imageio.h" "ac_cv_header_OpenImageIO_imageio_h" "$ac_includes_default"
+if test "x$ac_cv_header_OpenImageIO_imageio_h" = xyes; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for open in -lOpenImageIO" >&5
+$as_echo_n "checking for open in -lOpenImageIO... " >&6; }
+if ${ac_cv_lib_OpenImageIO_open+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lfftw3 $LIBS"
+LIBS="-lOpenImageIO $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -7046,59 +7517,42 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
#ifdef __cplusplus
extern "C"
#endif
-char fftw_execute ();
+char open ();
int
main ()
{
-return fftw_execute ();
+return open ();
;
return 0;
}
_ACEOF
if ac_fn_cxx_try_link "$LINENO"; then :
- ac_cv_lib_fftw3_fftw_execute=yes
+ ac_cv_lib_OpenImageIO_open=yes
else
- ac_cv_lib_fftw3_fftw_execute=no
+ ac_cv_lib_OpenImageIO_open=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fftw3_fftw_execute" >&5
-$as_echo "$ac_cv_lib_fftw3_fftw_execute" >&6; }
-if test "x$ac_cv_lib_fftw3_fftw_execute" = xyes; then :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenImageIO_open" >&5
+$as_echo "$ac_cv_lib_OpenImageIO_open" >&6; }
+if test "x$ac_cv_lib_OpenImageIO_open" = xyes; then :
cat >>confdefs.h <<_ACEOF
-#define HAVE_LIBFFTW3 1
+#define HAVE_LIBOPENIMAGEIO 1
_ACEOF
- LIBS="-lfftw3 $LIBS"
+ LIBS="-lOpenImageIO $LIBS"
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: *** Could not find libfftw3: will compile without optional fast Fourier transforms. ***" >&5
-$as_echo "$as_me: *** Could not find libfftw3: will compile without optional fast Fourier transforms. ***" >&6;}
fi
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: *** Header file fftw3.h not found: will compile without optional fast Fourier transforms. ***" >&5
-$as_echo "$as_me: *** Header file fftw3.h not found: will compile without optional fast Fourier transforms. ***" >&6;}
fi
fi
-# Check whether --enable-gl was given.
-if test "${enable_gl+set}" = set; then :
- enableval=$enable_gl;
-fi
-
-
-# Check whether --enable-offscreen was given.
-if test "${enable_offscreen+set}" = set; then :
- enableval=$enable_offscreen;
-fi
-if test "x$enable_gl" != "xno"; then
case "$OSTYPE" in
msdos)
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GC_throw_bad_alloc in -lgccpp" >&5
@@ -7146,14 +7600,6 @@ _ACEOF
fi
- ac_fn_cxx_check_header_mongrel "$LINENO" "glm/glm.hpp" "ac_cv_header_glm_glm_hpp" "$ac_includes_default"
-if test "x$ac_cv_header_glm_glm_hpp" = xyes; then :
-
-$as_echo "#define HAVE_LIBGLM 1" >>confdefs.h
-
-fi
-
-
ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glut.h" "ac_cv_header_GL_glut_h" "$ac_includes_default"
if test "x$ac_cv_header_GL_glut_h" = xyes; then :
@@ -7171,25 +7617,13 @@ if test "x$ac_cv_header_GL_gl_h" = xyes; then :
$as_echo "#define HAVE_LIBGL 1" >>confdefs.h
- LIBS=$LIBS"-lopengl32 "
+ LIBS=$LIBS"-lopengl32 glew.o"
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: *** Could not find libopengl32: will compile without OpenGL support ***" >&5
$as_echo "$as_me: *** Could not find libopengl32: will compile without OpenGL support ***" >&6;}
fi
- ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glew.h" "ac_cv_header_GL_glew_h" "$ac_includes_default"
-if test "x$ac_cv_header_GL_glew_h" = xyes; then :
-
-$as_echo "#define HAVE_LIBGLEW 1" >>confdefs.h
-
- LIBS="-lGLEW "$LIBS
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: *** Could not find libGLEW: will compile without OpenGL support ***" >&5
-$as_echo "$as_me: *** Could not find libGLEW: will compile without OpenGL support ***" >&6;}
-fi
-
-
;;
darwin*)
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GC_throw_bad_alloc in -lgccpp" >&5
@@ -7237,14 +7671,6 @@ _ACEOF
fi
- ac_fn_cxx_check_header_mongrel "$LINENO" "glm/glm.hpp" "ac_cv_header_glm_glm_hpp" "$ac_includes_default"
-if test "x$ac_cv_header_glm_glm_hpp" = xyes; then :
-
-$as_echo "#define HAVE_LIBGLM 1" >>confdefs.h
-
-fi
-
-
ac_fn_cxx_check_header_mongrel "$LINENO" "OpenGL/gl.h" "ac_cv_header_OpenGL_gl_h" "$ac_includes_default"
if test "x$ac_cv_header_OpenGL_gl_h" = xyes; then :
@@ -7258,22 +7684,10 @@ if test "x$ac_cv_header_GLUT_glut_h" = xyes; then :
$as_echo "#define HAVE_LIBGLUT 1" >>confdefs.h
- LIBS=$LIBS"-framework GLUT -framework OpenGL -framework Cocoa "
+ LIBS=$LIBS"-framework GLUT -framework OpenGL -framework Cocoa glew.o "
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: *** Could not find glut: will compile without OpenGLLUT support ***" >&5
-$as_echo "$as_me: *** Could not find glut: will compile without OpenGLLUT support ***" >&6;}
-fi
-
-
- ac_fn_cxx_check_header_mongrel "$LINENO" "OpenGL/glew.h" "ac_cv_header_OpenGL_glew_h" "$ac_includes_default"
-if test "x$ac_cv_header_OpenGL_glew_h" = xyes; then :
-
-$as_echo "#define HAVE_LIBGLEW 1" >>confdefs.h
-
- LIBS="-lGLEW "$LIBS
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: *** Could not find libGLEW: will compile without OpenGL support ***" >&5
-$as_echo "$as_me: *** Could not find libGLEW: will compile without OpenGL support ***" >&6;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: *** Could not find GLUT: will compile without OpenGLLUT support ***" >&5
+$as_echo "$as_me: *** Could not find GLUT: will compile without OpenGLLUT support ***" >&6;}
fi
@@ -7324,21 +7738,13 @@ _ACEOF
fi
- ac_fn_cxx_check_header_mongrel "$LINENO" "glm/glm.hpp" "ac_cv_header_glm_glm_hpp" "$ac_includes_default"
-if test "x$ac_cv_header_glm_glm_hpp" = xyes; then :
-
-$as_echo "#define HAVE_LIBGLM 1" >>confdefs.h
-
-fi
-
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glDepthMask in -lGL" >&5
-$as_echo_n "checking for glDepthMask in -lGL... " >&6; }
-if ${ac_cv_lib_GL_glDepthMask+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glutMainLoop in -lglut" >&5
+$as_echo_n "checking for glutMainLoop in -lglut... " >&6; }
+if ${ac_cv_lib_glut_glutMainLoop+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lGL $LIBS"
+LIBS="-lglut $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -7348,42 +7754,45 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
#ifdef __cplusplus
extern "C"
#endif
-char glDepthMask ();
+char glutMainLoop ();
int
main ()
{
-return glDepthMask ();
+return glutMainLoop ();
;
return 0;
}
_ACEOF
if ac_fn_cxx_try_link "$LINENO"; then :
- ac_cv_lib_GL_glDepthMask=yes
+ ac_cv_lib_glut_glutMainLoop=yes
else
- ac_cv_lib_GL_glDepthMask=no
+ ac_cv_lib_glut_glutMainLoop=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glDepthMask" >&5
-$as_echo "$ac_cv_lib_GL_glDepthMask" >&6; }
-if test "x$ac_cv_lib_GL_glDepthMask" = xyes; then :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_glut_glutMainLoop" >&5
+$as_echo "$ac_cv_lib_glut_glutMainLoop" >&6; }
+if test "x$ac_cv_lib_glut_glutMainLoop" = xyes; then :
cat >>confdefs.h <<_ACEOF
-#define HAVE_LIBGL 1
+#define HAVE_LIBGLUT 1
_ACEOF
- LIBS="-lGL $LIBS"
+ LIBS="-lglut $LIBS"
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: *** Could not find libglut: will compile without GLUT support ***" >&5
+$as_echo "$as_me: *** Could not find libglut: will compile without GLUT support ***" >&6;}
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glutMainLoop in -lglut" >&5
-$as_echo_n "checking for glutMainLoop in -lglut... " >&6; }
-if ${ac_cv_lib_glut_glutMainLoop+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glDepthMask in -lGL" >&5
+$as_echo_n "checking for glDepthMask in -lGL... " >&6; }
+if ${ac_cv_lib_GL_glDepthMask+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lglut $LIBS"
+LIBS="-lGL $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -7393,50 +7802,36 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
#ifdef __cplusplus
extern "C"
#endif
-char glutMainLoop ();
+char glDepthMask ();
int
main ()
{
-return glutMainLoop ();
+return glDepthMask ();
;
return 0;
}
_ACEOF
if ac_fn_cxx_try_link "$LINENO"; then :
- ac_cv_lib_glut_glutMainLoop=yes
+ ac_cv_lib_GL_glDepthMask=yes
else
- ac_cv_lib_glut_glutMainLoop=no
+ ac_cv_lib_GL_glDepthMask=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_glut_glutMainLoop" >&5
-$as_echo "$ac_cv_lib_glut_glutMainLoop" >&6; }
-if test "x$ac_cv_lib_glut_glutMainLoop" = xyes; then :
- cat >>confdefs.h <<_ACEOF
-#define HAVE_LIBGLUT 1
-_ACEOF
-
- LIBS="-lglut $LIBS"
-
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: *** Could not find libglut: will compile without GLUT support ***" >&5
-$as_echo "$as_me: *** Could not find libglut: will compile without GLUT support ***" >&6;}
-fi
-
- ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glew.h" "ac_cv_header_GL_glew_h" "$ac_includes_default"
-if test "x$ac_cv_header_GL_glew_h" = xyes; then :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glDepthMask" >&5
+$as_echo "$ac_cv_lib_GL_glDepthMask" >&6; }
+if test "x$ac_cv_lib_GL_glDepthMask" = xyes; then :
-$as_echo "#define HAVE_LIBGLEW 1" >>confdefs.h
+$as_echo "#define HAVE_LIBGL 1" >>confdefs.h
- LIBS="-lGLEW "$LIBS
+ LIBS=$LIBS"-lGL glew.o "
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: *** Could not find libGLEW: will compile without OpenGL support ***" >&5
-$as_echo "$as_me: *** Could not find libGLEW: will compile without OpenGL support ***" >&6;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: *** Could not find libGL: will compile without OpenGL support ***" >&5
+$as_echo "$as_me: *** Could not find libGL: will compile without OpenGL support ***" >&6;}
fi
-
esac
if test "x$enable_offscreen" = "xyes"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OSMesaCreateContext in -lOSMesa" >&5
@@ -8612,7 +9007,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.49, which was
+This file was extended by Asymptote $as_me 2.52, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -8674,7 +9069,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.49
+Asymptote config.status 2.52
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
@@ -9410,7 +9805,7 @@ if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
else
echo
- echo Please put the Boehm garbage collector tar.gz files in the current directory.
+ echo Please put the Boehm garbage collector tar.gz files in the asymptote directory.
echo FOR EXAMPLE, USE THE COMMANDS:
echo
echo wget https://github.com/ivmai/bdwgc/releases/download/v$GCVERSION/$GCFILE.tar.gz