diff options
author | Andrey Grozin <grozin@gentoo.org> | 2009-05-16 15:02:05 +0000 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2009-05-16 15:02:05 +0000 |
commit | 2d5f0ca55fb617bd4afd4ce1ab5bc1a8faec7519 (patch) | |
tree | ab93aa8f9d225b253784fcc571e5e817d3cdfdfb /media-gfx/asymptote/files/asymptote-1.72-configure-ac.patch | |
parent | Version bump #269400 by Tim Bastiaenssens. (diff) | |
download | gentoo-2-2d5f0ca55fb617bd4afd4ce1ab5bc1a8faec7519.tar.gz gentoo-2-2d5f0ca55fb617bd4afd4ce1ab5bc1a8faec7519.tar.bz2 gentoo-2-2d5f0ca55fb617bd4afd4ce1ab5bc1a8faec7519.zip |
Version bump
(Portage version: 2.2_rc33/cvs/Linux i686)
Diffstat (limited to 'media-gfx/asymptote/files/asymptote-1.72-configure-ac.patch')
-rw-r--r-- | media-gfx/asymptote/files/asymptote-1.72-configure-ac.patch | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/media-gfx/asymptote/files/asymptote-1.72-configure-ac.patch b/media-gfx/asymptote/files/asymptote-1.72-configure-ac.patch new file mode 100644 index 000000000000..84196db76173 --- /dev/null +++ b/media-gfx/asymptote/files/asymptote-1.72-configure-ac.patch @@ -0,0 +1,69 @@ +Index: asymptote-1.72/configure.ac +=================================================================== +--- asymptote-1.72.orig/configure.ac ++++ asymptote-1.72/configure.ac +@@ -88,10 +88,16 @@ if test "$GXX" = yes ; then + fi + fi + +-AC_CHECK_HEADER(fftw3.h, +- AC_CHECK_LIB([fftw3], fftw_execute,, ++AC_ARG_WITH([fftw], ++ [ --with-fftw use fftw3], ++ [with_fftw=$withval], ++ [with_fftw="no"]) ++if test "$with_fftw" = "yes"; then ++AC_CHECK_HEADER([fftw3.h], ++ AC_CHECK_LIB([fftw3], [fftw_execute],, + AC_MSG_NOTICE([*** Could not find libfftw3: will compile without optional fast Fourier transforms. ***])), + AC_MSG_NOTICE([*** Header file fftw3.h not found: will compile without optional fast Fourier transforms. ***])) ++fi + + GCVERSION=gc-7.1 + +@@ -128,7 +134,7 @@ if test "x$ac_cv_use_gc" != "xno" ; then + fi + CPPFLAGS_SAVE=$CPPFLAGS + CPPFLAGS=$CPPFLAGS" $INCL" +- AC_CHECK_HEADER(gc.h, ++ AC_CHECK_HEADER([gc/gc.h], + AC_CHECK_LIB([gc],[GC_malloc],[ + LIBS=$LIBS"-lgc " + AC_MSG_NOTICE([enabling system $GCNAME])],[ +@@ -195,7 +201,16 @@ AC_CHECK_LIB([ncurses], [setupterm], [AC + AC_CHECK_LIB([m], [sqrt]) + AC_CHECK_LIB([z], [deflate]) + AC_CHECK_LIB([pthread], [pthread_create]) +-AC_CHECK_LIB([sigsegv], [stackoverflow_install_handler]) ++ ++AC_ARG_WITH(sigsegv, ++ [ --with-sigsegv use libsigsegv], ++ [with_sigsegv=$withval], ++ [with_sigsegv="no"]) ++if test "$with_sigsegv" = "yes"; then ++AC_CHECK_HEADER([sigsegv.h], ++ AC_CHECK_LIB([sigsegv], [stackoverflow_install_handler]), ++ AC_MSG_NOTICE([*** Header file sigsegv.h not found ***])) ++fi + + AC_CHECK_LIB([readline], [rl_completion_matches],, + AC_MSG_NOTICE(*** Could not find GNU readline 4.2 or later: will compile without readline support ***)) +@@ -212,11 +227,17 @@ AC_COMPILE_IFELSE(AC_LANG_PROGRAM([#incl + [Define if you have a working <rpc/rpc.h> header file])], + AC_MSG_WARN([*** Broken rpc headers; XDR support disabled ***])) + +-AC_CHECK_HEADER(gsl/gsl_sf.h, ++AC_ARG_WITH(gsl, ++ [ --with-gsl use gsl libraries], ++ [with_gsl=$withval], ++ [with_gsl="no"]) ++if test "$with_gsl" = "yes"; then ++AC_CHECK_HEADER([gsl/gsl_sf.h], + AC_CHECK_LIB([gsl], gsl_sf_Si, [AC_DEFINE(HAVE_LIBGSL, 1, + [Define to 1 if you have the 'gsl' library (-lgsl). ]) LIBS=$LIBS"-lgsl -lgslcblas "], + AC_MSG_NOTICE([*** Could not find libgsl: will compile without optional special functions. ***]),[-lgslcblas]), + AC_MSG_NOTICE([*** Header file gsl_sf.h not found: will compile without optional special functions. ***])) ++fi + + case "$OSTYPE" in + cygwin) AC_CHECK_HEADER(GL/glut.h, |