From 6ed1136ec504b80944f49eac555c923e414283eb Mon Sep 17 00:00:00 2001 From: Stephane Bortzmeyer Date: Thu, 3 Jun 2004 12:08:33 +0000 Subject: [PATCH] A common file for all configure.ac --- SRC/Makefile.in | 2 +- SRC/configure | 2 ++ SRC/configure-common.ac | 7 +++++++ SRC/configure.ac | 6 +----- 4 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 SRC/configure-common.ac diff --git a/SRC/Makefile.in b/SRC/Makefile.in index ea8d094..15e6934 100644 --- a/SRC/Makefile.in +++ b/SRC/Makefile.in @@ -48,7 +48,7 @@ DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ - $(top_srcdir)/configure.ac + $(top_srcdir)/configure-common.ac $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ diff --git a/SRC/configure b/SRC/configure index 80b37af..0cd1587 100755 --- a/SRC/configure +++ b/SRC/configure @@ -18770,6 +18770,8 @@ fi + + ac_config_headers="$ac_config_headers config.h" diff --git a/SRC/configure-common.ac b/SRC/configure-common.ac new file mode 100644 index 0000000..a51406c --- /dev/null +++ b/SRC/configure-common.ac @@ -0,0 +1,7 @@ +dnl $Id$ +AC_CANONICAL_HOST +AC_PROG_CC(cc gcc) +AC_LIBTOOL_DLOPEN +AC_PROG_LIBTOOL +AM_INIT_AUTOMAKE(echoping, 6.0-BETA) + diff --git a/SRC/configure.ac b/SRC/configure.ac index 66dc0c5..7a04148 100644 --- a/SRC/configure.ac +++ b/SRC/configure.ac @@ -2,11 +2,7 @@ dnl $Id$ dnl Process this file with autoconf to produce a configure script. AC_INIT(echoping.h) -AC_CANONICAL_HOST -AC_PROG_CC(cc gcc) -AC_LIBTOOL_DLOPEN -AC_PROG_LIBTOOL -AM_INIT_AUTOMAKE(echoping, 6.0-BETA) +m4_include(configure-common.ac) AM_CONFIG_HEADER(config.h) dnl User options