[autobuild] put ax_prog_cc_for_build.m4 in top directory

- "autoreconf --force --install" should be enough to get autobuild
  running, manual cp / running ./autogen.sh should not be required
- reorganize files laters, e.g. scripts/{cmake,m4}
- include ax_prog_cc_for_build.m4 manually in configure.ac as it is not
  automatically loaded if it is not in m4/
This commit is contained in:
Stefan Bühler 2016-10-29 18:02:12 +02:00
parent de4946e647
commit 8e678653be
4 changed files with 1 additions and 2 deletions

View File

@ -10,6 +10,5 @@ fi
# old autoreconf/aclocal versions fail hard if m4 doesn't exist
mkdir -p m4
cp doc/scripts/ax_prog_cc_for_build.m4 m4/
autoreconf --force --install
echo "Now type './configure ...' and 'make' to compile."

View File

@ -5,6 +5,7 @@ AC_INIT([lighttpd], [1.4.43], [contact@lighttpd.net])
AC_CONFIG_SRCDIR([src/server.c])
AC_CONFIG_HEADER([config.h])
AC_CONFIG_MACRO_DIR([m4])
m4_include(ax_prog_cc_for_build.m4)
AC_CANONICAL_HOST

View File

@ -1,5 +1,4 @@
EXTRA_DIST= \
ax_prog_cc_for_build.m4 \
create-mime.conf.pl \
rrdtool-graph.sh \
spawn-php.sh