You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by Senaka Fernando <se...@gmail.com> on 2008/05/20 19:24:49 UTC

What purpose does build_aux serve in Qpid C++?

hi all,

Why do we need build_aux is Qpid cpp? This directory contains a number of
GPL files. And, this fact is pointed out in sources such as [1]. The same
behaviour can be achieved by applying the following patch and removing the
build_aux directory.
-----------------------------------------------
Index: bootstrap
===================================================================
--- bootstrap    (revision 658335)
+++ bootstrap    (working copy)
@@ -21,7 +21,7 @@
 EOF


-automake
+automake --add-missing
 autoconf

 if [ "$1" = "-build" -o "$1" = "--build" ] ; then
Index: configure.ac
===================================================================
--- configure.ac    (revision 658335)
+++ configure.ac    (working copy)
@@ -9,7 +9,7 @@
 dnl implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

 AC_INIT([qpidc], [0.2], [qpid-dev@incubator.apache.org])
-AC_CONFIG_AUX_DIR([build-aux])
+#AC_CONFIG_AUX_DIR([build-aux])
 AM_INIT_AUTOMAKE([dist-bzip2 subdir-objects])

 # Minimum Autoconf version required.
-----------------------------------------------
I have done the above and successfully built the source from scratch. I
would like to know the list's openion on this.

[1] http://www.ohloh.net/projects/3648/analyses/latest

Regards,
Senaka

Re: What purpose does build_aux serve in Qpid C++?

Posted by Alan Conway <ac...@redhat.com>.
Senaka Fernando wrote:
> hi all,
> 
> Why do we need build_aux is Qpid cpp? This directory contains a number of
> GPL files. And, this fact is pointed out in sources such as [1]. The same
> behaviour can be achieved by applying the following patch and removing the
> build_aux directory.
> -----------------------------------------------
> Index: bootstrap
> ===================================================================
> --- bootstrap    (revision 658335)
> +++ bootstrap    (working copy)
> @@ -21,7 +21,7 @@
>  EOF
> 
> 
> -automake
> +automake --add-missing
>  autoconf
> 
>  if [ "$1" = "-build" -o "$1" = "--build" ] ; then
> Index: configure.ac
> ===================================================================
> --- configure.ac    (revision 658335)
> +++ configure.ac    (working copy)
> @@ -9,7 +9,7 @@
>  dnl implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
> PURPOSE.
> 
>  AC_INIT([qpidc], [0.2], [qpid-dev@incubator.apache.org])
> -AC_CONFIG_AUX_DIR([build-aux])
> +#AC_CONFIG_AUX_DIR([build-aux])
>  AM_INIT_AUTOMAKE([dist-bzip2 subdir-objects])
> 
>  # Minimum Autoconf version required.
> -----------------------------------------------
> I have done the above and successfully built the source from scratch. I
> would like to know the list's openion on this.
> 
> [1] http://www.ohloh.net/projects/3648/analyses/latest
> 
> Regards,
> Senaka
> 

I don't know what the  original reasoning for comitting build_aux was but if we 
can build without it I'm all in favor.