forked from pool/autogen
- Update to 5.18.3 * ATTRIBUTE_FORMAT_ARG is a configured attribute that wraps __attribute__((__format_arg__(n))) procedure declaration attributes. To configure it, the ag_macros.m4 has a new macroo, AG_COMPILE_FORMAT_ARG (which is a compile only test probe). * Auto-edit Guile headers that depend upon configure values most especially: noreturn but check for "ptrdiff_t" in our configure too, so that Guile does not create its own duplicate definition. * Abort from the failing function so that stack traces are useful * The libopts m4 configure code must configure the libopts/Makefile * Happy 2014 New Year * make sure library option handling code does nothing when the library is just trying to get information about an option. * Only apply texi2mdoc when it is needed. * The aoGetsText() emitted i18n helper function needs its argument to have the "format_arg" attribute. * documentation clarifications * properly create generated main procedures from user supplied code. * ChangeLog files have been removed from GIT sources (though still obtainable with tagged checkouts). * LIBGUILE_PATH is not needed and its derivation is wrong on where binaries and libraries have different prefixes. * fixed char casting issue that shows in UTF-8 files * fixed installation error for str2init * fixed failure handling in the usage template * fix broken flag values for auto-supported options * various tweaks to make Coverity happy. * allow the fatal error message functions to be tagged "noreturn" and incorporate sysnoreturn.h technology into AutoGen. OBS-URL: https://build.opensuse.org/request/show/239432 OBS-URL: https://build.opensuse.org/package/show/Base:System/autogen?expand=0&rev=27
36 lines
1.2 KiB
Diff
36 lines
1.2 KiB
Diff
---
|
|
autoopts/Makefile.am | 2 +-
|
|
doc/mk-agen-texi.sh | 6 +++---
|
|
2 files changed, 4 insertions(+), 4 deletions(-)
|
|
|
|
Index: autoopts/Makefile.am
|
|
===================================================================
|
|
--- autoopts/Makefile.am.orig
|
|
+++ autoopts/Makefile.am
|
|
@@ -159,7 +159,7 @@ INST_SH = autoopts-con
|
|
|
|
man_MANS = $(INST_MANS)
|
|
m4data_DATA = autoopts.m4
|
|
-nobase_data_DATA = $(INST_PKGCFG)
|
|
+pkgconfig_DATA = $(INST_PKGCFG)
|
|
lib_LTLIBRARIES = $(INST_LIBS)
|
|
nobase_include_HEADERS = $(INST_HDRS)
|
|
bin_SCRIPTS = $(INST_SH)
|
|
Index: doc/mk-agen-texi.sh
|
|
===================================================================
|
|
--- doc/mk-agen-texi.sh.orig
|
|
+++ doc/mk-agen-texi.sh
|
|
@@ -93,9 +93,9 @@ setup_exports()
|
|
|
|
PATH=${top_builddir}/columns:${PATH}
|
|
timer=`expr ${AG_TIMEOUT} '*' 5`
|
|
- d=`find ${top_builddir}/autoopts -type f -name libopts.a -print`
|
|
- test -f "$d" || die "Cannot locate libopts.a"
|
|
- LIBS="$d ${LIBS}"
|
|
+ d=`find ${top_builddir}/autoopts -type f -name libopts.a -o -name libopts.so | head -n 1`
|
|
+ LIBS="-L$(dirname "$d") -lopts ${LIBS}"
|
|
+ LD_LIBRARY_PATH="$(dirname "$d"):$LD_LIBRARY_PATH"
|
|
|
|
eval `${EGREP} '^AG_[A-Z_]*' ${top_srcdir}/VERSION`
|
|
|