From 23bb4b07bc1b1a4ade0d1004bfccc55d7333a2cc Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 2 Apr 2019 22:05:50 +0000 Subject: asy 2.49 sources git-svn-id: svn://tug.org/texlive/trunk@50715 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/utils/asymptote/configure | 206 +++++++++++++++++++++++++++------ 1 file changed, 170 insertions(+), 36 deletions(-) (limited to 'Build/source/utils/asymptote/configure') diff --git a/Build/source/utils/asymptote/configure b/Build/source/utils/asymptote/configure index ceafb9ada4c..f0f8177398f 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.48. +# Generated by GNU Autoconf 2.69 for Asymptote 2.49. # # Report bugs to . # @@ -580,8 +580,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='Asymptote' PACKAGE_TARNAME='asymptote' -PACKAGE_VERSION='2.48' -PACKAGE_STRING='Asymptote 2.48' +PACKAGE_VERSION='2.49' +PACKAGE_STRING='Asymptote 2.49' PACKAGE_BUGREPORT='http://sourceforge.net/projects/asymptote' PACKAGE_URL='' @@ -1283,7 +1283,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.48 to adapt to many kinds of systems. +\`configure' configures Asymptote 2.49 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1348,7 +1348,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of Asymptote 2.48:";; + short | recursive ) echo "Configuration of Asymptote 2.49:";; esac cat <<\_ACEOF @@ -1358,8 +1358,8 @@ Optional Features: --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-texlive-build automatically determine sysdir from kpsewhich --enable-gc[=system] enable system Boehm garbage collector - [=VERSION] enable local VERSION of Boehm garbage collector - [=PREFIX] use Boehm garbage collector installed in PREFIX + [=VERSION] enable local VERSION of Boehm garbage collector + [=PREFIX] use Boehm garbage collector installed in PREFIX --enable-gc-debug enable (slow) garbage collector debugging --enable-gc-full-debug enable (very slow) garbage collector backtrace --enable-sigsegv[=yes] enable GNU Stack Overflow Handler @@ -1462,7 +1462,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -Asymptote configure 2.48 +Asymptote configure 2.49 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2048,7 +2048,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.48, which was +It was created by Asymptote $as_me 2.49, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -4031,8 +4031,8 @@ test "$Datadir" = '${prefix}/share' && Datadir=$prefix/share # Check whether --with-latex was given. if test "${with_latex+set}" = set; then : withval=$with_latex; if test "x$withval" != "x" ; then - latexdir=$withval - fi + latexdir=$withval + fi else @@ -4130,8 +4130,8 @@ fi # Check whether --with-context was given. if test "${with_context+set}" = set; then : withval=$with_context; if test "x$withval" != "x" ; then - contextdir=$withval - fi + contextdir=$withval + fi else @@ -4244,8 +4244,8 @@ docdir=$Datadir/doc/asymptote # Check whether --with-docdir was given. if test "${with_docdir+set}" = set; then : withval=$with_docdir; if test "x$withval" != "x" ; then - docdir=$withval - fi + docdir=$withval + fi fi @@ -5837,8 +5837,8 @@ fi -GCVERSION=8.0.2 -ATOMICVERSION=7.6.8 +GCVERSION=8.0.4 +ATOMICVERSION=7.6.10 GCFILE=gc-$GCVERSION ac_cv_use_gc="system" @@ -5867,9 +5867,9 @@ fi # Check whether --enable-gc was given. if test "${enable_gc+set}" = set; then : enableval=$enable_gc; - if test "x$enableval" != "xyes" ; then - ac_cv_use_gc=$enableval - fi + if test "x$enableval" != "xyes" ; then + ac_cv_use_gc=$enableval + fi fi @@ -5933,15 +5933,15 @@ fi $as_echo "$ac_cv_lib_gc_GC_malloc" >&6; } if test "x$ac_cv_lib_gc_GC_malloc" = xyes; then : - LIBS=$LIBS"-lgc " - { $as_echo "$as_me:${as_lineno-$LINENO}: enabling system $GCNAME" >&5 + LIBS=$LIBS"-lgc " + { $as_echo "$as_me:${as_lineno-$LINENO}: enabling system $GCNAME" >&5 $as_echo "$as_me: enabling system $GCNAME" >&6;} else GCDIR=$GCFILE INCL="-I. -I\$(GC)/include" - GCLIB="\$(GC)/.libs/libgc.a" - { $as_echo "$as_me:${as_lineno-$LINENO}: $GCNAME library not found" >&5 + GCLIB="\$(GC)/.libs/libgc.a" + { $as_echo "$as_me:${as_lineno-$LINENO}: $GCNAME library not found" >&5 $as_echo "$as_me: $GCNAME library not found" >&6;} fi @@ -6751,7 +6751,7 @@ $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 " + LIBS=$LIBS"-lncurses " else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -lcurses" >&5 $as_echo_n "checking for setupterm in -lcurses... " >&6; } @@ -7101,6 +7101,51 @@ 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 +$as_echo_n "checking for GC_throw_bad_alloc in -lgccpp... " >&6; } +if ${ac_cv_lib_gccpp_GC_throw_bad_alloc+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lgccpp $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 GC_throw_bad_alloc (); +int +main () +{ +return GC_throw_bad_alloc (); + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_link "$LINENO"; then : + ac_cv_lib_gccpp_GC_throw_bad_alloc=yes +else + ac_cv_lib_gccpp_GC_throw_bad_alloc=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_gccpp_GC_throw_bad_alloc" >&5 +$as_echo "$ac_cv_lib_gccpp_GC_throw_bad_alloc" >&6; } +if test "x$ac_cv_lib_gccpp_GC_throw_bad_alloc" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBGCCPP 1 +_ACEOF + + LIBS="-lgccpp $LIBS" + +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 : @@ -7109,12 +7154,12 @@ $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" + 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 : $as_echo "#define HAVE_LIBGLUT 1" >>confdefs.h - LIBS=$LIBS"-lfreeglut " + LIBS=$LIBS"-lfreeglut " else { $as_echo "$as_me:${as_lineno-$LINENO}: *** Could not find libfreeglut: will compile without OpenGL support ***" >&5 $as_echo "$as_me: *** Could not find libfreeglut: will compile without OpenGL support ***" >&6;} @@ -7126,7 +7171,7 @@ 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 " 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;} @@ -7138,7 +7183,7 @@ if test "x$ac_cv_header_GL_glew_h" = xyes; then : $as_echo "#define HAVE_LIBGLEW 1" >>confdefs.h - LIBS="-lGLEW "$LIBS + 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;} @@ -7147,7 +7192,51 @@ fi ;; darwin*) - LIBS=$LIBS"-lgccpp " + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GC_throw_bad_alloc in -lgccpp" >&5 +$as_echo_n "checking for GC_throw_bad_alloc in -lgccpp... " >&6; } +if ${ac_cv_lib_gccpp_GC_throw_bad_alloc+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lgccpp $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 GC_throw_bad_alloc (); +int +main () +{ +return GC_throw_bad_alloc (); + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_link "$LINENO"; then : + ac_cv_lib_gccpp_GC_throw_bad_alloc=yes +else + ac_cv_lib_gccpp_GC_throw_bad_alloc=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_gccpp_GC_throw_bad_alloc" >&5 +$as_echo "$ac_cv_lib_gccpp_GC_throw_bad_alloc" >&6; } +if test "x$ac_cv_lib_gccpp_GC_throw_bad_alloc" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBGCCPP 1 +_ACEOF + + LIBS="-lgccpp $LIBS" + +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 : @@ -7169,7 +7258,7 @@ 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 " 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;} @@ -7181,7 +7270,7 @@ if test "x$ac_cv_header_OpenGL_glew_h" = xyes; then : $as_echo "#define HAVE_LIBGLEW 1" >>confdefs.h - LIBS="-lGLEW "$LIBS + 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;} @@ -7190,6 +7279,51 @@ fi ;; *) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GC_throw_bad_alloc in -lgccpp" >&5 +$as_echo_n "checking for GC_throw_bad_alloc in -lgccpp... " >&6; } +if ${ac_cv_lib_gccpp_GC_throw_bad_alloc+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lgccpp $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 GC_throw_bad_alloc (); +int +main () +{ +return GC_throw_bad_alloc (); + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_link "$LINENO"; then : + ac_cv_lib_gccpp_GC_throw_bad_alloc=yes +else + ac_cv_lib_gccpp_GC_throw_bad_alloc=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_gccpp_GC_throw_bad_alloc" >&5 +$as_echo "$ac_cv_lib_gccpp_GC_throw_bad_alloc" >&6; } +if test "x$ac_cv_lib_gccpp_GC_throw_bad_alloc" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBGCCPP 1 +_ACEOF + + LIBS="-lgccpp $LIBS" + +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 : @@ -7243,7 +7377,7 @@ _ACEOF fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glutMainLoop in -lglut" >&5 + { $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 @@ -8478,7 +8612,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.48, which was +This file was extended by Asymptote $as_me 2.49, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -8540,7 +8674,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.48 +Asymptote config.status 2.49 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" @@ -9279,7 +9413,7 @@ else echo Please put the Boehm garbage collector tar.gz files in the current directory. echo FOR EXAMPLE, USE THE COMMANDS: echo - echo wget http://hboehm.info/gc/gc_source/$GCFILE.tar.gz + echo wget https://github.com/ivmai/bdwgc/releases/download/v$GCVERSION/$GCFILE.tar.gz echo wget http://www.ivmaisoft.com/_bin/atomic_ops/libatomic_ops-$ATOMICVERSION.tar.gz echo -- cgit v1.2.3