mirror of
https://github.com/switchbrew/switch-tools.git
synced 2025-06-21 13:32:39 +02:00
27 lines
672 B
Plaintext
27 lines
672 B
Plaintext
# -*- Autoconf -*-
|
|
# Process this file with autoconf to produce a configure script.
|
|
|
|
AC_PREREQ(2.61)
|
|
AC_INIT([switch-tools],[1.0.0],[https://github.com/switchbrew/switch-tools/issues])
|
|
AC_CONFIG_SRCDIR([src/build_pfs0.c])
|
|
|
|
AM_INIT_AUTOMAKE([subdir-objects])
|
|
|
|
AC_CANONICAL_BUILD
|
|
AC_CANONICAL_HOST
|
|
|
|
AC_PROG_CC
|
|
|
|
|
|
PKG_CHECK_MODULES([LZ4],
|
|
[liblz4 >= 1.7.1 liblz4 < 100],
|
|
[have_lz4="yes"],
|
|
[LZ4_LIBS="-llz4"] # If this fails, we will do another test next.
|
|
# We also add set LZ4_LIBS otherwise the
|
|
# linker will not know about the lz4 library
|
|
)
|
|
|
|
AC_SUBST(LZ4_LIBS)
|
|
AC_CONFIG_FILES([Makefile])
|
|
AC_OUTPUT
|