Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Human readable build system output #28

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
AUTOMAKE_OPTIONS = foreign
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ISTR having problems putting the foreign option in here vs on the command line on Solarisy systems. If this works out of the box on Illumos I think I'm cool with this, although I suspect that we may need to go back and revert this when someone tries to build on Solaris 10


bin_PROGRAMS = watchman

doc_DATA = README.markdown
Expand Down
2 changes: 1 addition & 1 deletion autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ if test -d config.status ; then
fi
aclocal
autoheader
automake --add-missing --foreign
automake --add-missing
autoconf
13 changes: 13 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
AC_INIT([watchman], [2.9.5], [], [watchman])
AC_CANONICAL_TARGET
AM_INIT_AUTOMAKE([dist-bzip2 subdir-objects])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES(yes)])

CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE"
case $target_os in
Expand Down Expand Up @@ -189,5 +190,17 @@ AC_CONFIG_HEADER([config.h])
AC_CONFIG_FILES([Makefile thirdparty/jansson/jansson_config.h])
AC_OUTPUT

cat << EOF

Your build configuration:

CPPFLAGS = $CPPFLAGS
CFLAGS = $CFLAGS
LDFLAGS = $LDFLAGS
prefix: $prefix
version: $VERSION

EOF

dnl vim:ts=2:sw=2: