Age | Commit message (Collapse) | Author |
|
|
|
The .pc file was previously being installed in ${prefix}/share/pkgconfig
but all other modules install their .pc files to ${prefix}/lib/pkgconfig
|
|
This is motivated primarly by XORG_INSTALL who needs to locate
the docdir when invoked from any module that may not be installed
using same prefix (default or otherwise).
There are other potential use for this file.
|
|
The Makefile installs INSTALL in share/doc/util-macros
An INSTALL_CMD is provided in the new XORG_INSTALL macro
which is added to XORG_DEFAULT_OPTIONS.
Components add INSTALL target to their Makefile similar to ChangeLog
|
|
The Makefile installs INSTALL in share/doc/util-macros
An INSTALL_CMD is provided in the new XORG_INSTALL macro
which is added to XORG_DEFAULT_OPTIONS.
Components add INSTALL target to their Makefile similar to ChangeLog
|
|
Add missing INSTALL file. Use standard GNU file on building tarball
For all X.Org components.
|
|
Using common defaults will reduce errors and maintenance.
Only the very small or inexistent custom section need periodic maintenance
when the structure of the component changes. Do not edit defaults.
For all X.Org components.
|
|
|
|
Update configure.ac using autotools utilities and wiki guidelines
configure.ac: AM_MAINTAINER_MODE missing #24238
This turns off maintainer mode build rules in tarballs.
For all X.Org components.
|
|
CHANGELOG_CMD was written in the wrong directory.
Update cmd to generate in $(top_srcdir)
Tested in regular build with git: dist, distcheck and distclean
Tested in VPATH build with git: dist, distcheck and distclean
Tested above scenario from tarballs with git not available
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
|
|
When checking for warnings in any module using XORG_RELEASE_VERSION
one or more warnings on AC_HELP_STRING appears. The macro has been
replaced with AS_HELP_STRING
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Alan Coopersmith <alan.coopersmith@sun.com>
|
|
Many modules use the same set of m4 macros. Additions to the macros require
updating the configure.ac for each module affected. In the case of e.g.
protos and libs this means updating every single module.
This patch adds a XORG_DEFAULT_OPTIONS meta-macro that uses the other macros
defined. Macros can be added to this meta-macro and modules immediately get
to make use of it - without changes required to configure.ac.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Strict compilation option can be used to get rid of warnings that often are
showing real hidden bug in code. That just waits to cause problems.
CWARNFLAGS has to be added to AM_C(PP)FLAGS to use strict compilation mode
in Makefile.am. Automatic addition to compiler flags would cause some configure
checks fail.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Automake 1.11 supports silent builds with the new AM_SILENT_RULES.
http://sources.redhat.com/automake/automake.html#Options
This loosely qualifies as a CWARNFLAG since it allows all the warnings to be
seen and enables modules to gain support from the feature without any
changes needed to configure.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: James Cloos <cloos@jhcloos.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
|
|
Rather than checking the version of some random gcc which happens to be in
the path to determine which warning flags are supported, we should check the
gcc we are going to use for the build
For example, when cross-compiling, if the host gcc is >= 3.4 but the
cross-compiler gcc is not, this will cause unsupported warning flags to be
used
This seems to work, but I don't know enough autofoolery to be sure this is
right...
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
|
|
Check the needed macros version with m4 so that the proper version is
determined during autoconf. This prevents a faulty configure from being
generated.
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
|
|
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
|
|
The 1.1 or later part is actually important since XORG_MACROS_VERSION
didn't exist before then.
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
|
|
The comment recommending checking XORG_MACROS_VERSION with m4_ifndef was
flawed for two reasons:
* m4_fatal should be used if the macro is not defined. There's no use
generating configure if the macro doesn't exist. Just fail during
autoconf.
* There's no reason to mention the version needed in the message. That
check does not do version verification. That's what the actual macro
is for.
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
|
|
Fixes:
./configure: line 12921: CWARNFLAGS+= -Wold-style-definition -Wdeclaration-after-statement: command not found
|
|
|
|
|
|
Arrange that distcleancheck ignores ChangeLog left over by distclean.
Don't mention ChangeLog under *CLEANFILES, can't be rebuilt from release
tarball; ChangeLog is automatically distributed, no need to mention it.
|
|
Only gcc 3.3 and earlier version don't support them.
Reported and tested by Peter Breitenlohner.
|
|
|
|
|
|
|
|
Patch by Yaakov Selkowitz from xorg mailing list
http://lists.freedesktop.org/archives/xorg/attachments/20081016/04a64242/attachment.asc
|
|
|
|
|
|
append xorgversion.m4 to xorg-macros.m4.in, instead of installing
it as separate file.
Avoid copying some code from xorgversion.m4 to configure.ac.
|
|
|
|
|
|
As AC_CHECK_FILE cannot be used when cross compiling, just assume linuxdoc
is not present.
|
|
|
|
Bugzilla #9368 <https://bugs.freedesktop.org/show_bug.cgi?id=9368>
Patch #8140 <https://bugs.freedesktop.org/attachment.cgi?id=8140>
|
|
|
|
Make ChangeLog hook as safe as possible.
|
|
|
|
Automatically define PACKAGE_VERSION_{MAJOR,MINOR,PATCHLEVEL} when
XORG_RELEASE_VERSION is called.
|
|
|
|
|
|
|
|
|
|
set to no
|
|
|
|
Remove special-casing of man page suffices for GNU-userland systems (Linux,
Hurd, GNU/kFreeBSD). Bump to version 1.1.1.
|
|
|