Browse Source

[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/
personal/stbuehler/mod-csrf
Stefan Bühler 5 years ago
parent
commit
8e678653be
  1. 1
      autogen.sh
  2. 0
      ax_prog_cc_for_build.m4
  3. 1
      configure.ac
  4. 1
      doc/scripts/Makefile.am

1
autogen.sh

@ -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."

0
doc/scripts/ax_prog_cc_for_build.m4 → ax_prog_cc_for_build.m4

1
configure.ac

@ -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

1
doc/scripts/Makefile.am

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

Loading…
Cancel
Save