From 9475fc45474d9bb57f2f138ad9575fd2593cf2df Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 19 Oct 2010 11:52:39 +0200 Subject: build: do not abuse AM_INIT_AUTOMAKE for autoconf options Also rename the file to its standard designated name. Signed-off-by: Jan Engelhardt --- configure.ac | 18 ++++++++++++++++++ configure.in | 18 ------------------ 2 files changed, 18 insertions(+), 18 deletions(-) create mode 100644 configure.ac delete mode 100644 configure.in diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..5cbbdfd --- /dev/null +++ b/configure.ac @@ -0,0 +1,18 @@ +dnl Process this file with autoconf to create configure. + +AC_INIT([libmnl], [1.0.0-beta0]) +AC_CANONICAL_SYSTEM +AC_CONFIG_MACRO_DIR([m4]) +AM_INIT_AUTOMAKE + +AC_PROG_CC +AC_EXEEXT +AM_PROG_LIBTOOL +AC_SUBST(LIBTOOL_DEPS) + +case $target in +*-*-linux*) ;; +*) AC_MSG_ERROR([Linux only, dude!]);; +esac + +AC_OUTPUT(Makefile src/Makefile include/Makefile include/libmnl/Makefile examples/Makefile examples/genl/Makefile examples/netfilter/Makefile examples/rtnl/Makefile libmnl.pc doxygen.cfg) diff --git a/configure.in b/configure.in deleted file mode 100644 index 8f2287e..0000000 --- a/configure.in +++ /dev/null @@ -1,18 +0,0 @@ -dnl Process this file with autoconf to create configure. - -AC_INIT -AC_CANONICAL_SYSTEM -AC_CONFIG_MACRO_DIR([m4]) -AM_INIT_AUTOMAKE(libmnl, 1.0.0-beta0) - -AC_PROG_CC -AC_EXEEXT -AM_PROG_LIBTOOL -AC_SUBST(LIBTOOL_DEPS) - -case $target in -*-*-linux*) ;; -*) AC_MSG_ERROR([Linux only, dude!]);; -esac - -AC_OUTPUT(Makefile src/Makefile include/Makefile include/libmnl/Makefile examples/Makefile examples/genl/Makefile examples/netfilter/Makefile examples/rtnl/Makefile libmnl.pc doxygen.cfg) -- cgit v1.2.3