Skip to content

Commit

Permalink
[autobuild] put ax_prog_cc_for_build.m4 in top directory
Browse files Browse the repository at this point in the history
- "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/
  • Loading branch information
stbuehler committed Oct 29, 2016
1 parent de4946e commit 8e67865
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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."
File renamed without changes.
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 0 additions & 1 deletion doc/scripts/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
EXTRA_DIST= \
ax_prog_cc_for_build.m4 \
create-mime.conf.pl \
rrdtool-graph.sh \
spawn-php.sh

0 comments on commit 8e67865

Please sign in to comment.