mirror of
https://github.com/projectatomic/rpmdistro-gitoverlay.git
synced 2026-02-05 06:45:16 +01:00
https://pagure.io/fedora-atomic-host-continuous/issue/16 Fedora started using richdeps in the `BuildRequires`, which finally brought down our hacky tower to do Fedora RPM builds from a CentOS 7 host. Complicating all of this is that mock in Fedora is python3. So we'd have to maintain compatibility with both 2/3 and that sucks. Let's do a hard 3 port for now.
44 lines
966 B
Plaintext
44 lines
966 B
Plaintext
AC_PREREQ([2.63])
|
|
AC_INIT([rpmdistro-gitoverlay], [2016.3], [walters@verbum.org])
|
|
AC_CONFIG_HEADER([config.h])
|
|
AC_CONFIG_MACRO_DIR([m4])
|
|
AC_CONFIG_AUX_DIR([build-aux])
|
|
|
|
AM_INIT_AUTOMAKE([1.11 -Wno-portability foreign no-define tar-ustar no-dist-gzip dist-xz])
|
|
AM_MAINTAINER_MODE([enable])
|
|
AM_SILENT_RULES([yes])
|
|
AC_USE_SYSTEM_EXTENSIONS
|
|
AC_SYS_LARGEFILE
|
|
|
|
AC_PROG_CC
|
|
AM_PROG_CC_C_O
|
|
|
|
changequote(,)dnl
|
|
if test "x$GCC" = "xyes"; then
|
|
WARN_CFLAGS="-Wall -Wstrict-prototypes -Werror=missing-prototypes \
|
|
-Werror=implicit-function-declaration \
|
|
-Werror=pointer-arith -Werror=init-self -Werror=format=2 \
|
|
-Werror=format-security \
|
|
-Werror=missing-include-dirs -Werror=aggregate-return \
|
|
-Werror=declaration-after-statement"
|
|
fi
|
|
changequote([,])dnl
|
|
AC_SUBST(WARN_CFLAGS)
|
|
|
|
# Initialize libtool
|
|
LT_PREREQ([2.2.4])
|
|
LT_INIT([disable-static])
|
|
|
|
PKG_PROG_PKG_CONFIG
|
|
|
|
AM_PATH_PYTHON([3.6])
|
|
|
|
AC_CONFIG_FILES([
|
|
Makefile
|
|
])
|
|
AC_OUTPUT
|
|
|
|
echo "
|
|
$PACKAGE $VERSION
|
|
"
|