freebsd-ports/audio/libaacplus/files/patch-configure.ac
Mathieu Arnold 9fa9eb9ac7 Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-26 16:51:15 +00:00

35 lines
1.1 KiB
Text

--- configure.ac.orig 2010-11-10 21:27:45 UTC
+++ configure.ac
@@ -8,7 +8,7 @@ AM_INIT_AUTOMAKE
AM_CONFIG_HEADER(config.h)
AC_CONFIG_MACRO_DIR([m4])
# Checks for programs.
-AC_PROG_CC
+AC_PROG_CC(clang gcc cc)
AM_PROG_CC_C_O
AC_PROG_CPP
AC_PROG_INSTALL
@@ -16,10 +16,10 @@ AC_PROG_LN_S
AC_PROG_MAKE_SET
AC_LIBTOOL_WIN32_DLL
AM_PROG_LIBTOOL
-AC_PATH_PROG([UNZIP],[unzip])
-if test x"$UNZIP" = x -a ! -f "aacenc.c" ; then
- AC_MSG_ERROR([You need unzip utility to prepare sources.])
-fi
+dnl AC_PATH_PROG([UNZIP],[unzip])
+dnl if test x"$UNZIP" = x -a ! -f "aacenc.c" ; then
+dnl AC_MSG_ERROR([You need unzip utility to prepare sources.])
+dnl fi
AC_PATH_PROG([PATCH],[patch])
if test x"$PATCH" = x -a ! -f "aacenc.c" ; then
AC_MSG_ERROR([You need patch utility to prepare sources.])
@@ -123,7 +123,7 @@ AM_CONDITIONAL([HAVE_PKGCONFIG], [test "
AACPLUS_VERSION="$VERSION"
AACPLUS_CPPFLAGS="-I$aacplus_includedir $FFTW3_CPPFLAGS"
-AACPLUS_CFLAGS+="$FFTW3_CFLAGS"
+AACPLUS_CFLAGS="$AACPLUS_CFLAGS $FFTW3_CFLAGS"
AACPLUS_LIBS="-laacplus -lm ${FFTW3_LIB}"
AC_SUBST(AACPLUS_LIBS)