autoconf-archive-maintainers | |
[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patch #7596] Autoconf macro to detect comiler flags for building ru
From: |
Maarten Bosmans |
Subject: |
Re: [patch #7596] Autoconf macro to detect comiler flags for building ruby extensions |
Date: |
Sun, 14 Aug 2011 20:50:16 +0200 |
Wouldn't this be a good macro to define using AC_DEFUN_ONCE?
Also, it would be nice to take the effort to add proper caching, for
this macro and also the perl one.
Maarten
2011/8/11 anonymous <address@hidden>:
> URL:
> <http://savannah.gnu.org/patch/?7596>
>
> Summary: Autoconf macro to detect comiler flags for building
> ruby extensions
> Project: GNU Autoconf Archive
> Submitted by: None
> Submitted on: Thu 11 Aug 2011 06:00:01 AM UTC
> Priority: 5 - Normal
> Status: None
> Assigned to: None
> Originator Email: address@hidden
> Open/Closed: Open
> Discussion Lock: Any
>
> _______________________________________________________
>
> Details:
>
> SYNOPSIS
>
> AX_RUBY_EXT
>
> DESCRIPTION
>
> Fetches the linker flags and C compiler flags for compiling and linking
> Ruby binary extensions. The macro substitutes RUBY_VERSION, RUBY_EXT_INC,
> RUBY_EXT_LIB, RUBY_EXT_CPPFLAGS, RUBY_EXT_LDFLAGS and RUBY_EXT_DLEXT
> variables if Ruby executable has been found. It also checks the same
> variables before trying to retrieve them from the Ruby configuration.
>
> * RUBY_VERSION: version of the Ruby interpreter
> * RUBY_EXT_INC: Ruby include directory
> * RUBY_EXT_LIB: Ruby extensions destination directory
> * RUBY_EXT_CPPFLAGS: C preprocessor flags to compile extensions
> * RUBY_EXT_LDFLAGS: linker flags to build extensions
> * RUBY_EXT_DLEXT: extensions suffix for ruby modules (e.g. "so")
>
> Examples:
>
> AX_RUBY_EXT
> if test x"$RUBY" = x; then
> AC_ERROR(["cannot find Ruby"])
> fi
>
> LICENSE
> 2-clause BSD license
>
> AUTHORS
> Stanislav Sedov <address@hidden>
>
>
>
> _______________________________________________________
>
> File Attachments:
>
>
> -------------------------------------------------------
> Date: Thu 11 Aug 2011 06:00:01 AM UTC Name: ax_ruby_ext.m4 Size: 5kB By:
> None
>
> <http://savannah.gnu.org/patch/download.php?file_id=23780>
>
> _______________________________________________________
>
> Reply to this item at:
>
> <http://savannah.gnu.org/patch/?7596>
>
> _______________________________________________
> Message sent via/by Savannah
> http://savannah.gnu.org/
>
>
>