diff options
Diffstat (limited to 'graphics/asymptote/configure')
-rwxr-xr-x | graphics/asymptote/configure | 66 |
1 files changed, 54 insertions, 12 deletions
diff --git a/graphics/asymptote/configure b/graphics/asymptote/configure index 30f117417e..c6f69c085f 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.57. +# Generated by GNU Autoconf 2.69 for Asymptote 2.58. # # 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.57' -PACKAGE_STRING='Asymptote 2.57' +PACKAGE_VERSION='2.58' +PACKAGE_STRING='Asymptote 2.58' PACKAGE_BUGREPORT='http://sourceforge.net/projects/asymptote' PACKAGE_URL='' @@ -628,6 +628,7 @@ PTHREAD_CFLAGS PTHREAD_LIBS PTHREAD_CC ax_pthread_config +GLEW OPTIONS INCL GCPPLIB @@ -1286,7 +1287,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.57 to adapt to many kinds of systems. +\`configure' configures Asymptote 2.58 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1351,7 +1352,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of Asymptote 2.57:";; + short | recursive ) echo "Configuration of Asymptote 2.58:";; esac cat <<\_ACEOF @@ -1468,7 +1469,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -Asymptote configure 2.57 +Asymptote configure 2.58 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2054,7 +2055,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.57, which was +It was created by Asymptote $as_me 2.58, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -6032,7 +6033,7 @@ fi INCL=$INCL" -I/usr/include/tirpc" -if test "$OSTYPE" = "cygwin"; then +if test "$OSTYPE" = "msdos"; then CPPFLAGS=$CPPFLAGS" -D__MSDOS__ -I/usr/include/w32api -I/usr/include -DCALLBACK=__stdcall $INCL" else CPPFLAGS=$CPPFLAGS" $INCL" @@ -7599,7 +7600,7 @@ fi fi case "$OSTYPE" in - cygwin) + 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 : @@ -7871,7 +7872,48 @@ if test "x$ac_cv_lib_GL_glDepthMask" = xyes; then : $as_echo "#define HAVE_LIBGL 1" >>confdefs.h - LIBS=$LIBS"-lGL glew.o " + LIBS=$LIBS"-lGL " + GLEW="glew.o " + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glXGetProcAddressARB in -lGLX" >&5 +$as_echo_n "checking for glXGetProcAddressARB in -lGLX... " >&6; } +if ${ac_cv_lib_GLX_glXGetProcAddressARB+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lGLX $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 glXGetProcAddressARB (); +int +main () +{ +return glXGetProcAddressARB (); + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_link "$LINENO"; then : + ac_cv_lib_GLX_glXGetProcAddressARB=yes +else + ac_cv_lib_GLX_glXGetProcAddressARB=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_GLX_glXGetProcAddressARB" >&5 +$as_echo "$ac_cv_lib_GLX_glXGetProcAddressARB" >&6; } +if test "x$ac_cv_lib_GLX_glXGetProcAddressARB" = xyes; then : + GLEW=$GLEW"-lGLX " +fi + else { $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;} @@ -9052,7 +9094,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.57, which was +This file was extended by Asymptote $as_me 2.58, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -9114,7 +9156,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.57 +Asymptote config.status 2.58 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" |