Skip to content

Commit

Permalink
small autoconf cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
lwimmer committed Apr 23, 2017
1 parent c507a73 commit 1c59b6c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
AUTOMAKE_OPTIONS = foreign
SUBDIRS = src
EXTRA_DIST = README.md LICENSE config.example.json autobuild.sh
EXTRA_DIST = README.md LICENSE config.example.json autobuild.sh
7 changes: 4 additions & 3 deletions configure.ac
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.61])
AC_INIT(rmbt-client,
m4_esyscmd_s([git describe --abbrev=9 --dirty --always --tags --long 2> /dev/null || echo unknown]),
[https://github.com/lwimmer/rmbt-client/issues],,
[https://github.com/lwimmer/rmbt-client])
AM_INIT_AUTOMAKE([foreign -Wall -Werror -Wno-portability])
AM_SILENT_RULES([yes])
AM_INIT_AUTOMAKE([foreign std-options -Wall -Werror -Wno-portability])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
AC_CONFIG_SRCDIR([src/rmbt.c])
AC_CONFIG_HEADERS([config.h])

AC_USE_SYSTEM_EXTENSIONS

AC_PROG_CC
AC_PROG_CC([cc gcc clang])

# Checks for libraries.
PKG_CHECK_MODULES([UUID], [uuid], [AC_DEFINE([HAVE_UUID], [1], [Use libuuid])])
Expand Down

0 comments on commit 1c59b6c

Please sign in to comment.