Makefile.am, configure.ac: fix autoreconf related warnings
* aclocal: warning: couldn't open directory 'm4': No such file or directory * libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac * libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am * configure.ac:9: warning: 'AM_CONFIG_HEADER': this macro is obsolete configure.ac:9: You should use the 'AC_CONFIG_HEADERS' macro instead * configure.ac:22: warning: The macro `AC_PROG_LIBTOOL' is obsolete * configure.ac:86: warning: AC_OUTPUT should be used without arguments Change-Id: I3199e7de0a04b4df89d01277cdb305d33902fcc2
This commit is contained in:
parent
2fb61d0f2a
commit
70aa4abefb
|
@ -20,5 +20,6 @@ debian/autoreconf*
|
|||
debian/tmp
|
||||
debian/*.log
|
||||
debian/*.substvars
|
||||
m4/*.m4
|
||||
|
||||
contrib/libsmpp34.spec
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
SUBDIRS = binaries def_frame def_list
|
||||
|
||||
if HAVE_LIBXML2
|
||||
|
|
20
configure.ac
20
configure.ac
|
@ -6,7 +6,8 @@ AC_INIT(libsmpp34, m4_esyscmd([./git-version-gen .tarball-version]), ultraismo@y
|
|||
|
||||
AC_CONFIG_AUX_DIR(aux_config)
|
||||
AM_INIT_AUTOMAKE([foreign])
|
||||
AM_CONFIG_HEADER([aux_config/config.h])
|
||||
AC_CONFIG_HEADERS([aux_config/config.h])
|
||||
AC_CONFIG_MACRO_DIRS([m4])
|
||||
|
||||
dnl kernel style compile messages
|
||||
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
||||
|
@ -18,8 +19,8 @@ AC_SUBST([RELMAKE])
|
|||
# Checks for programs.
|
||||
AC_PROG_CC
|
||||
AM_PROG_CC_C_O
|
||||
AC_PROG_LIBTOOL
|
||||
AC_PROG_INSTALL
|
||||
LT_INIT
|
||||
|
||||
dnl patching ${archive_cmds} to affect generation of file "libtool" to fix linking with clang
|
||||
AS_CASE(["$LD"],[*clang*],
|
||||
|
@ -82,10 +83,11 @@ fi
|
|||
AC_MSG_RESULT([CFLAGS="$CFLAGS"])
|
||||
AC_MSG_RESULT([CPPFLAGS="$CPPFLAGS"])
|
||||
|
||||
AC_OUTPUT([Makefile
|
||||
def_frame/Makefile
|
||||
def_list/Makefile
|
||||
binaries/Makefile
|
||||
test_apps/Makefile
|
||||
libsmpp34.pc
|
||||
contrib/libsmpp34.spec])
|
||||
AC_CONFIG_FILES([Makefile
|
||||
def_frame/Makefile
|
||||
def_list/Makefile
|
||||
binaries/Makefile
|
||||
test_apps/Makefile
|
||||
libsmpp34.pc
|
||||
contrib/libsmpp34.spec])
|
||||
AC_OUTPUT
|
||||
|
|
Loading…
Reference in New Issue