You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by Hiram Chirino <hi...@hiramchirino.com> on 2008/12/05 21:51:49 UTC
Building CPP on FC10
I had to make a small change to an m4 file to build with the auto
tools included in FC10. Seem like FC10 already defined
AC_USE_SYSTEM_EXTENSIONS.
Index: cpp/m4/extensions.m4
===================================================================
--- cpp/m4/extensions.m4 (revision 723808)
+++ cpp/m4/extensions.m4 (working copy)
@@ -16,6 +16,7 @@
# ------------------------
# Enable extensions on systems that normally disable them,
# typically due to standards-conformance issues.
+m4_ifdef([AC_USE_SYSTEM_EXTENSIONS],,[
AC_DEFUN([AC_USE_SYSTEM_EXTENSIONS],
[
AC_BEFORE([$0], [AC_COMPILE_IFELSE])
@@ -49,6 +50,7 @@
AC_DEFINE([_POSIX_PTHREAD_SEMANTICS])
AC_DEFINE([_TANDEM_SOURCE])
])
+])
# gl_USE_SYSTEM_EXTENSIONS
# ------------------------
--
Regards,
Hiram
Blog: http://hiramchirino.com
Open Source SOA
http://open.iona.com
Re: Building CPP on FC10
Posted by Gordon Sim <gs...@redhat.com>.
Andrew Stitcher wrote:
> I've already made this change in my workspace, but I've not committed
> because I didn't have time to check with anything other than F10. So
> please check this change works with f9 and preferably some other distros
> before committing it.
FYI: works on FC5 and RHEL5.
Re: Building CPP on FC10
Posted by Andrew Stitcher <as...@redhat.com>.
I've already made this change in my workspace, but I've not committed
because I didn't have time to check with anything other than F10. So
please check this change works with f9 and preferably some other distros
before committing it.
Andrew
On Sat, 2008-12-06 at 20:57 -0500, Carl Trieloff wrote:
> interesting, will check on FC10 then commit.
>
> BTW, you can yum it on F10 also + the store
>
> Carl.
>
> Hiram Chirino wrote:
> > I had to make a small change to an m4 file to build with the auto
> > tools included in FC10. Seem like FC10 already defined
> > AC_USE_SYSTEM_EXTENSIONS.
> >
> > Index: cpp/m4/extensions.m4
> > ===================================================================
> > --- cpp/m4/extensions.m4 (revision 723808)
> > +++ cpp/m4/extensions.m4 (working copy)
> > @@ -16,6 +16,7 @@
> > # ------------------------
> > # Enable extensions on systems that normally disable them,
> > # typically due to standards-conformance issues.
> > +m4_ifdef([AC_USE_SYSTEM_EXTENSIONS],,[
> > AC_DEFUN([AC_USE_SYSTEM_EXTENSIONS],
> > [
> > AC_BEFORE([$0], [AC_COMPILE_IFELSE])
> > @@ -49,6 +50,7 @@
> > AC_DEFINE([_POSIX_PTHREAD_SEMANTICS])
> > AC_DEFINE([_TANDEM_SOURCE])
> > ])
> > +])
> >
> > # gl_USE_SYSTEM_EXTENSIONS
> > # ------------------------
> >
> >
> >
>
Re: Building CPP on FC10
Posted by Carl Trieloff <cc...@redhat.com>.
interesting, will check on FC10 then commit.
BTW, you can yum it on F10 also + the store
Carl.
Hiram Chirino wrote:
> I had to make a small change to an m4 file to build with the auto
> tools included in FC10. Seem like FC10 already defined
> AC_USE_SYSTEM_EXTENSIONS.
>
> Index: cpp/m4/extensions.m4
> ===================================================================
> --- cpp/m4/extensions.m4 (revision 723808)
> +++ cpp/m4/extensions.m4 (working copy)
> @@ -16,6 +16,7 @@
> # ------------------------
> # Enable extensions on systems that normally disable them,
> # typically due to standards-conformance issues.
> +m4_ifdef([AC_USE_SYSTEM_EXTENSIONS],,[
> AC_DEFUN([AC_USE_SYSTEM_EXTENSIONS],
> [
> AC_BEFORE([$0], [AC_COMPILE_IFELSE])
> @@ -49,6 +50,7 @@
> AC_DEFINE([_POSIX_PTHREAD_SEMANTICS])
> AC_DEFINE([_TANDEM_SOURCE])
> ])
> +])
>
> # gl_USE_SYSTEM_EXTENSIONS
> # ------------------------
>
>
>