aboutsummaryrefslogtreecommitdiff
path: root/audio/libaacplus/files/patch-configure.ac
blob: c9eece272255ea0f5fc0fba4417529b79a221a85 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
--- configure.ac.orig  2010-11-11 06:27:45.000000000 +0900
+++ configure.ac       2012-01-26 17:47:39.000000000 +0900
@@ -8,7 +8,7 @@
 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_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 @@
 	    
 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)