[
http://issues.apache.org/jira/browse/AXIS2C-250?page=comments#action_12432763 ]
James Clark commented on AXIS2C-250:
------------------------------------
AC_CONFIG_SUBDIRS is designed to handle precisely this case, where you have
independent projects with their own independent configure scripts. Here's an
excerpt from the docs
`configure' scripts that
control more than one independent package can use `AC_CONFIG_SUBDIRS'
to run `configure' scripts for other packages in subdirectories.
- Macro: AC_CONFIG_SUBDIRS (DIR ...)
Make `AC_OUTPUT' run `configure' in each subdirectory DIR in the
given whitespace-separated list. Each DIR should be a literal,
i.e., please do not use:
if test "$package_foo_enabled" = yes; then
$my_subdirs="$my_subdirs foo"
fi
AC_CONFIG_SUBDIRS($my_subdirs)
because this prevents `./configure --help=recursive' from
displaying the options of the package `foo'. Rather, you should
write:
if test "$package_foo_enabled" = yes; then
AC_CONFIG_SUBDIRS(foo)
fi
If a given DIR is not found, an error is reported: if the
subdirectory is optional, write:
if test -d $srcdir/foo; then
AC_CONFIG_SUBDIRS(foo)
fi
> Use AC_CONFIG_SUBDIRS to improve build experience
> -------------------------------------------------
>
> Key: AXIS2C-250
> URL: http://issues.apache.org/jira/browse/AXIS2C-250
> Project: Axis2-C
> Issue Type: Improvement
> Components: build system (Unix/Linux)
> Affects Versions: Current (Nightly)
> Reporter: James Clark
> Priority: Minor
>
> The current build experience is suboptimal. The standard way to build a
> package in the open source world is
> tar xfz <tar ball>
> cd <dir>
> ./configure
> make
> sudo make install
> This should work for Axis2/C.
> autoconf provides AC_CONFIG_SUBDIRS, which would allow a configure in the
> axis2/c directory to automatically run configure in subdirectories. See the
> "Subdirectories" node of the autoconf docs.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]