[PATCH] dist target fixes

John D. Ramsdell ramsdell at mitre.org
Mon Jul 30 17:08:51 UTC 2007


Miloslav Trmac <mitr at redhat.com> writes:

> Use the top-level autogen.sh instead, please.

This worked, and I notice that with the changes to
system-config-audit/autogen.sh you suggested earlier, fewer M4 files
are placed in the distribution.  I also notice quite a few warning
messages.

[ramsdell at goo audit-1.5.6]$ ./autogen.sh 
+ autoreconf -fv --install
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force 
autoreconf: configure.ac: tracing
autoreconf: configure.ac: adding subdirectory system-config-audit to autoreconf
autoreconf: Entering directory `system-config-audit'
autoreconf: running: autopoint --force
Copying file po/Makefile.in.in
autoreconf: running: aclocal --force -I m4
autoreconf: running: libtoolize --copy --force
Putting files in AC_CONFIG_AUX_DIR, `admin'.
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
autoreconf: Leaving directory `system-config-audit'
autoreconf: Leaving directory `.'
+ cd system-config-audit
+ ./autogen.sh
+ autopoint -f
Copying file admin/mkinstalldirs
+ ln -s ../po admin/po
+ intltoolize --force
You should update your 'aclocal.m4' by running aclocal.
Putting files in AC_CONFIG_AUX_DIR, 'admin'.
+ rm admin/po
+ aclocal -I m4
+ autoconf -Wall
configure.ac:23: warning: The macro `AC_FOREACH' is obsolete.
configure.ac:23: You should run autoupdate.
../../lib/autoconf/general.m4:196: AC_FOREACH is expanded from...
aclocal.m4:7301: _AM_SET_OPTIONS is expanded from...
aclocal.m4:6994: AM_INIT_AUTOMAKE is expanded from...
configure.ac:23: the top level
configure.ac:31: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:31: You should run autoupdate.
../../lib/autoconf/general.m4:2414: AC_TRY_LINK is expanded from...
aclocal.m4:22: IT_PROG_INTLTOOL is expanded from...
configure.ac:31: the top level
configure.ac:32: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:32: You should run autoupdate.
../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
../../lib/autoconf/general.m4:1364: AC_ARG_ENABLE is expanded from...
aclocal.m4:2181: AC_ENABLE_STATIC is expanded from...
aclocal.m4:2210: AC_DISABLE_STATIC is expanded from...
configure.ac:32: the top level
configure.ac:33: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:33: You should run autoupdate.
aclocal.m4:2142: AC_ENABLE_SHARED is expanded from...
aclocal.m4:296: AC_LIBTOOL_SETUP is expanded from...
aclocal.m4:276: _AC_PROG_LIBTOOL is expanded from...
aclocal.m4:241: AC_PROG_LIBTOOL is expanded from...
configure.ac:33: the top level
aclocal.m4:2220: AC_ENABLE_FAST_INSTALL is expanded from...
../../lib/autoconf/general.m4:1382: AC_ARG_WITH is expanded from...
aclocal.m4:2361: AC_PROG_LD is expanded from...
configure.ac:33: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:33: You should run autoupdate.
../../lib/m4sugar/m4sh.m4:516: AS_IF is expanded from...
../../lib/autoconf/general.m4:1898: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:1911: AC_CACHE_CHECK is expanded from...
aclocal.m4:685: _LT_AC_LOCK is expanded from...
aclocal.m4:1289: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...
aclocal.m4:2884: _LT_AC_LANG_C_CONFIG is expanded from...
aclocal.m4:2883: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
aclocal.m4:2020: _LT_AC_TAGCONFIG is expanded from...
configure.ac:33: warning: back quotes and double quotes must not be escaped in: $as_me:$LINENO: error: tag name \"$tagname\" already exists
configure.ac:33: warning: back quotes and double quotes must not be escaped in: $as_me: error: tag name \"$tagname\" already exists
configure.ac:33: warning: The macro `AC_LANG_SAVE' is obsolete.
configure.ac:33: You should run autoupdate.
../../lib/autoconf/lang.m4:167: AC_LANG_SAVE is expanded from...
aclocal.m4:4226: _LT_AC_LANG_GCJ_CONFIG is expanded from...
aclocal.m4:4225: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
configure.ac:33: warning: The macro `AC_LANG_RESTORE' is obsolete.
configure.ac:33: You should run autoupdate.
../../lib/autoconf/lang.m4:176: AC_LANG_RESTORE is expanded from...
aclocal.m4:4282: _LT_AC_LANG_RC_CONFIG is expanded from...
aclocal.m4:4281: AC_LIBTOOL_LANG_RC_CONFIG is expanded from...
configure.ac:36: warning: The macro `AC_OUTPUT_COMMANDS' is obsolete.
configure.ac:36: You should run autoupdate.
../../lib/autoconf/status.m4:848: AC_OUTPUT_COMMANDS is expanded from...
m4/po.m4:23: AM_PO_SUBDIRS is expanded from...
m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from...
configure.ac:36: the top level
configure.ac:36: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:36: You should run autoupdate.
m4/gettext.m4:486: gt_INTL_MACOSX is expanded from...
m4/iconv.m4:20: AM_ICONV_LINK is expanded from...
+ autoheader -Wall
+ automake -Wall --add-missing
[ramsdell at goo audit-1.5.6]$ 
...
[ramsdell at goo audit-1.5.6]$ cat ac.diff
--- /home/ramsdell/a.txt	2007-07-30 07:51:13.000000000 -0400
+++ c.txt	2007-07-30 12:59:59.000000000 -0400
@@ -1,7 +1,9 @@
 audit-1.5.6/
+audit-1.5.6/aclocal.m4
 audit-1.5.6/audisp/
 audit-1.5.6/audisp/audispd.c
 audit-1.5.6/audisp/Makefile.am
+audit-1.5.6/audisp/Makefile.in
 audit-1.5.6/audit.spec
 audit-1.5.6/auparse/
 audit-1.5.6/auparse/auditd-config.c
@@ -22,6 +24,7 @@
 audit-1.5.6/auparse/interpret.h
 audit-1.5.6/auparse/ipctab.h
 audit-1.5.6/auparse/Makefile.am
+audit-1.5.6/auparse/Makefile.in
 audit-1.5.6/auparse/message.c
 audit-1.5.6/auparse/nvlist.c
 audit-1.5.6/auparse/nvlist.h
@@ -39,24 +42,22 @@
 audit-1.5.6/auparse/test/auparse_test.ref
 audit-1.5.6/auparse/test/Makefile.am
 audit-1.5.6/auparse/test/Makefile.in
-audit-1.5.6/auparse/test/test2.log
-audit-1.5.6/auparse/test/test.log
-audit-1.5.6/auparse/test/tmp
-audit-1.5.6/auparse/test/tmp1
-audit-1.5.6/auparse/test/tmp2
 audit-1.5.6/auparse/typetab.h
 audit-1.5.6/AUTHORS
-audit-1.5.6/autogen.sh
 audit-1.5.6/bindings/
 audit-1.5.6/bindings/Makefile.am
+audit-1.5.6/bindings/Makefile.in
 audit-1.5.6/bindings/python/
 audit-1.5.6/bindings/python/auparse_python.c
 audit-1.5.6/bindings/python/Makefile.am
+audit-1.5.6/bindings/python/Makefile.in
 audit-1.5.6/bindings/python/setup.py
 audit-1.5.6/ChangeLog
 audit-1.5.6/compile
 audit-1.5.6/config.guess
+audit-1.5.6/config.h.in
 audit-1.5.6/config.sub
+audit-1.5.6/configure
 audit-1.5.6/configure.ac
 audit-1.5.6/contrib/
 audit-1.5.6/contrib/avc_snap
@@ -131,6 +132,7 @@
 audit-1.5.6/docs/autrace.8
 audit-1.5.6/docs/get_auditfail_action.3
 audit-1.5.6/docs/Makefile.am
+audit-1.5.6/docs/Makefile.in
 audit-1.5.6/docs/set_aumessage_mode.3
 audit-1.5.6/init.d/
 audit-1.5.6/init.d/audispd.conf
@@ -141,6 +143,7 @@
 audit-1.5.6/init.d/audit.rules
 audit-1.5.6/init.d/libaudit.conf
 audit-1.5.6/init.d/Makefile.am
+audit-1.5.6/init.d/Makefile.in
 audit-1.5.6/INSTALL
 audit-1.5.6/install-sh
 audit-1.5.6/lib/
@@ -157,6 +160,7 @@
 audit-1.5.6/lib/lookup_table.c
 audit-1.5.6/lib/machinetab.h
 audit-1.5.6/lib/Makefile.am
+audit-1.5.6/lib/Makefile.in
 audit-1.5.6/lib/message.c
 audit-1.5.6/lib/msg_typetab.h
 audit-1.5.6/lib/netlink.c
@@ -168,24 +172,8 @@
 audit-1.5.6/lib/x86_64_table.h
 audit-1.5.6/ltmain.sh
 audit-1.5.6/Makefile.am
+audit-1.5.6/Makefile.in
 audit-1.5.6/missing
-audit-1.5.6/new_audispd/
-audit-1.5.6/new_audispd/audispd-builtins.c
-audit-1.5.6/new_audispd/audispd-builtins.h
-audit-1.5.6/new_audispd/audispd.c
-audit-1.5.6/new_audispd/audispd-config.c
-audit-1.5.6/new_audispd/audispd-config.h
-audit-1.5.6/new_audispd/audispd-llist.c
-audit-1.5.6/new_audispd/audispd-llist.h
-audit-1.5.6/new_audispd/audispd-pconfig.c
-audit-1.5.6/new_audispd/audispd-pconfig.h
-audit-1.5.6/new_audispd/configs/
-audit-1.5.6/new_audispd/configs/af_unix.conf
-audit-1.5.6/new_audispd/configs/Makefile.am
-audit-1.5.6/new_audispd/configs/syslog.conf
-audit-1.5.6/new_audispd/Makefile.am
-audit-1.5.6/new_audispd/queue.c
-audit-1.5.6/new_audispd/queue.h
 audit-1.5.6/NEWS
 audit-1.5.6/py-compile
 audit-1.5.6/README
@@ -235,11 +223,23 @@
 audit-1.5.6/src/autrace.c
 audit-1.5.6/src/delete_all.c
 audit-1.5.6/src/Makefile.am
+audit-1.5.6/src/Makefile.in
 audit-1.5.6/src/mt/
+audit-1.5.6/src/mt/audit_logging.c
+audit-1.5.6/src/mt/deprecated.c
+audit-1.5.6/src/mt/libaudit.c
+audit-1.5.6/src/mt/libaudit.h
+audit-1.5.6/src/mt/lookup_table.c
 audit-1.5.6/src/mt/Makefile.am
+audit-1.5.6/src/mt/Makefile.in
+audit-1.5.6/src/mt/message.c
+audit-1.5.6/src/mt/netlink.c
+audit-1.5.6/src/mt/private.h
 audit-1.5.6/swig/
+audit-1.5.6/swig/audit.py
 audit-1.5.6/swig/auditswig.i
 audit-1.5.6/swig/Makefile.am
+audit-1.5.6/swig/Makefile.in
 audit-1.5.6/system-config-audit/
 audit-1.5.6/system-config-audit/ABOUT-NLS
 audit-1.5.6/system-config-audit/aclocal.m4
@@ -261,69 +261,30 @@
 audit-1.5.6/system-config-audit/admin/system-config-audit-server.pam
 audit-1.5.6/system-config-audit/AUTHORS
 audit-1.5.6/system-config-audit/autogen.sh
-audit-1.5.6/system-config-audit/autom4te.cache/
-audit-1.5.6/system-config-audit/autom4te.cache/output.0
-audit-1.5.6/system-config-audit/autom4te.cache/requests
-audit-1.5.6/system-config-audit/autom4te.cache/traces.0
 audit-1.5.6/system-config-audit/ChangeLog
 audit-1.5.6/system-config-audit/configure
 audit-1.5.6/system-config-audit/configure.ac
 audit-1.5.6/system-config-audit/COPYING
 audit-1.5.6/system-config-audit/INSTALL
-audit-1.5.6/system-config-audit.lang
 audit-1.5.6/system-config-audit/m4/
-audit-1.5.6/system-config-audit/m4/codeset.m4
 audit-1.5.6/system-config-audit/m4/gettext.m4
-audit-1.5.6/system-config-audit/m4/glibc21.m4
-audit-1.5.6/system-config-audit/m4/glibc2.m4
 audit-1.5.6/system-config-audit/m4/iconv.m4
-audit-1.5.6/system-config-audit/m4/intdiv0.m4
-audit-1.5.6/system-config-audit/m4/intldir.m4
-audit-1.5.6/system-config-audit/m4/intl.m4
-audit-1.5.6/system-config-audit/m4/intmax.m4
-audit-1.5.6/system-config-audit/m4/inttypes_h.m4
-audit-1.5.6/system-config-audit/m4/inttypes.m4
-audit-1.5.6/system-config-audit/m4/inttypes-pri.m4
-audit-1.5.6/system-config-audit/m4/isc-posix.m4
-audit-1.5.6/system-config-audit/m4/lcmessage.m4
 audit-1.5.6/system-config-audit/m4/lib-ld.m4
 audit-1.5.6/system-config-audit/m4/lib-link.m4
 audit-1.5.6/system-config-audit/m4/lib-prefix.m4
-audit-1.5.6/system-config-audit/m4/lock.m4
-audit-1.5.6/system-config-audit/m4/longdouble.m4
-audit-1.5.6/system-config-audit/m4/longlong.m4
 audit-1.5.6/system-config-audit/m4/nls.m4
 audit-1.5.6/system-config-audit/m4/po.m4
-audit-1.5.6/system-config-audit/m4/printf-posix.m4
 audit-1.5.6/system-config-audit/m4/progtest.m4
-audit-1.5.6/system-config-audit/m4/signed.m4
-audit-1.5.6/system-config-audit/m4/size_max.m4
-audit-1.5.6/system-config-audit/m4/stdint_h.m4
-audit-1.5.6/system-config-audit/m4/uintmax_t.m4
-audit-1.5.6/system-config-audit/m4/ulonglong.m4
-audit-1.5.6/system-config-audit/m4/visibility.m4
-audit-1.5.6/system-config-audit/m4/wchar_t.m4
-audit-1.5.6/system-config-audit/m4/wint_t.m4
-audit-1.5.6/system-config-audit/m4/xsize.m4
 audit-1.5.6/system-config-audit/Makefile.am
 audit-1.5.6/system-config-audit/Makefile.in
 audit-1.5.6/system-config-audit/NEWS
 audit-1.5.6/system-config-audit/po/
-audit-1.5.6/system-config-audit/po/boldquot.sed
 audit-1.5.6/system-config-audit/po/ChangeLog
 audit-1.5.6/system-config-audit/po/cs.po
-audit-1.5.6/system-config-audit/po/en at boldquot.header
-audit-1.5.6/system-config-audit/po/en at quot.header
-audit-1.5.6/system-config-audit/po/insert-header.sin
 audit-1.5.6/system-config-audit/po/LINGUAS
 audit-1.5.6/system-config-audit/po/Makefile.in.in
 audit-1.5.6/system-config-audit/po/Makevars
-audit-1.5.6/system-config-audit/po/Makevars.template
 audit-1.5.6/system-config-audit/po/POTFILES.in
-audit-1.5.6/system-config-audit/po/quot.sed
-audit-1.5.6/system-config-audit/po/remove-potcdate.sin
-audit-1.5.6/system-config-audit/po/Rules-quot
-audit-1.5.6/system-config-audit/po/stamp-po
 audit-1.5.6/system-config-audit/README
 audit-1.5.6/system-config-audit/src/
 audit-1.5.6/system-config-audit/src/auditd_config.py




More information about the Linux-audit mailing list