diff options
Diffstat (limited to 'Build/source/utils/asymptote/configure')
-rwxr-xr-x | Build/source/utils/asymptote/configure | 234 |
1 files changed, 123 insertions, 111 deletions
diff --git a/Build/source/utils/asymptote/configure b/Build/source/utils/asymptote/configure index 5f19635ce27..1d84c76d3e8 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.37. +# Generated by GNU Autoconf 2.69 for Asymptote 2.38. # # 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.37' -PACKAGE_STRING='Asymptote 2.37' +PACKAGE_VERSION='2.38' +PACKAGE_STRING='Asymptote 2.38' PACKAGE_BUGREPORT='http://sourceforge.net/projects/asymptote' PACKAGE_URL='' @@ -720,6 +720,7 @@ enable_texlive_build enable_gc enable_gc_debug enable_gc_full_debug +enable_sigsegv enable_readline enable_gsl enable_fftw @@ -1281,7 +1282,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.37 to adapt to many kinds of systems. +\`configure' configures Asymptote 2.38 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1346,7 +1347,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of Asymptote 2.37:";; + short | recursive ) echo "Configuration of Asymptote 2.38:";; esac cat <<\_ACEOF @@ -1360,6 +1361,7 @@ Optional Features: [=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 --enable-readline[=yes] enable GNU Readline Library --enable-gsl[=yes] enable GNU Scientific Library --enable-fftw[=yes] enable FFTW Library @@ -1459,7 +1461,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -Asymptote configure 2.37 +Asymptote configure 2.38 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2045,7 +2047,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.37, which was +It was created by Asymptote $as_me 2.38, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -5945,94 +5947,6 @@ fi # Checks for libraries. -{ $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 : - $as_echo "#define HAVE_LIBCURSES 1" >>confdefs.h - - 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; } -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 - { $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 : @@ -6594,7 +6508,15 @@ ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ex ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stackoverflow_install_handler in -lsigsegv" >&5 + +# Check whether --enable-sigsegv was given. +if test "${enable_sigsegv+set}" = set; then : + enableval=$enable_sigsegv; +fi + + +if test "x$enable_sigsegv" != "xno"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stackoverflow_install_handler in -lsigsegv" >&5 $as_echo_n "checking for stackoverflow_install_handler in -lsigsegv... " >&6; } if ${ac_cv_lib_sigsegv_stackoverflow_install_handler+:} false; then : $as_echo_n "(cached) " >&6 @@ -6639,6 +6561,8 @@ _ACEOF fi +fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lrt" >&5 $as_echo_n "checking for sched_yield in -lrt... " >&6; } if ${ac_cv_lib_rt_sched_yield+:} false; then : @@ -6765,6 +6689,107 @@ else $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 +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 + +{ $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 : + $as_echo "#define HAVE_LIBCURSES 1" >>confdefs.h + + 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; } +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 # Checks for header files. @@ -6822,19 +6847,6 @@ fi done -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 - for ac_header in fpu_control.h do : ac_fn_cxx_check_header_mongrel "$LINENO" "fpu_control.h" "ac_cv_header_fpu_control_h" "$ac_includes_default" @@ -8509,7 +8521,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.37, which was +This file was extended by Asymptote $as_me 2.38, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -8571,7 +8583,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.37 +Asymptote config.status 2.38 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" |